mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 01:40:29 +01:00
c991464229
AnnounceChannel and FiatConverstion switch #1197
1 line
3.0 MiB
1 line
3.0 MiB
(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[179],{429:(Ve,Q,m)=>{"use strict";m.d(Q,{$A:()=>Ae,$W:()=>ue,BL:()=>U,CN:()=>d,CX:()=>S,EG:()=>z,EK:()=>T,El:()=>ie,HI:()=>r,HJ:()=>E,I8:()=>N,JK:()=>wt,Lu:()=>G,Ly:()=>te,Ni:()=>v,Nr:()=>le,OG:()=>V,QJ:()=>Ie,RX:()=>I,Rd:()=>_e,SN:()=>w,Sf:()=>j,TM:()=>l,UH:()=>Ue,UR:()=>k,VD:()=>q,WM:()=>xe,WO:()=>y,Wi:()=>oe,X3:()=>$,YP:()=>se,YX:()=>b,Z8:()=>he,ZH:()=>ht,Zu:()=>Ce,_9:()=>ne,_E:()=>X,aL:()=>Ye,as:()=>g,cQ:()=>i,d7:()=>qt,dh:()=>ke,e9:()=>_t,eF:()=>P,eM:()=>Be,en:()=>Nt,g3:()=>W,g6:()=>Te,i9:()=>nt,kL:()=>A,n7:()=>Ke,oV:()=>h,oo:()=>o,pW:()=>n,pd:()=>u,u0:()=>ct,uT:()=>it,v_:()=>qe,wD:()=>C,xH:()=>D,xS:()=>Y,yl:()=>de,z:()=>fe});var t=m(9653),e=m(7731);const v=(0,t.PH)(e.AB.UPDATE_API_CALL_STATUS_CLN,(0,t.Ky)()),D=(0,t.PH)(e.AB.RESET_CLN_STORE,(0,t.Ky)()),o=(0,t.PH)(e.AB.SET_CHILD_NODE_SETTINGS_CLN,(0,t.Ky)()),C=(0,t.PH)(e.AB.FETCH_PAGE_SETTINGS_CLN),u=(0,t.PH)(e.AB.SET_PAGE_SETTINGS_CLN,(0,t.Ky)()),P=(0,t.PH)(e.AB.SAVE_PAGE_SETTINGS_CLN,(0,t.Ky)()),d=(0,t.PH)(e.AB.FETCH_INFO_CLN,(0,t.Ky)()),S=(0,t.PH)(e.AB.SET_INFO_CLN,(0,t.Ky)()),w=(0,t.PH)(e.AB.FETCH_FEES_CLN),I=(0,t.PH)(e.AB.SET_FEES_CLN,(0,t.Ky)()),E=(0,t.PH)(e.AB.FETCH_FEE_RATES_CLN,(0,t.Ky)()),N=(0,t.PH)(e.AB.SET_FEE_RATES_CLN,(0,t.Ky)()),z=(0,t.PH)(e.AB.FETCH_BALANCE_CLN),G=(0,t.PH)(e.AB.SET_BALANCE_CLN,(0,t.Ky)()),W=(0,t.PH)(e.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),Y=(0,t.PH)(e.AB.SET_LOCAL_REMOTE_BALANCE_CLN,(0,t.Ky)()),X=(0,t.PH)(e.AB.GET_NEW_ADDRESS_CLN,(0,t.Ky)()),ue=((0,t.PH)(e.AB.SET_NEW_ADDRESS_CLN,(0,t.Ky)()),(0,t.PH)(e.AB.FETCH_PEERS_CLN)),he=(0,t.PH)(e.AB.SET_PEERS_CLN,(0,t.Ky)()),ie=(0,t.PH)(e.AB.SAVE_NEW_PEER_CLN,(0,t.Ky)()),$=((0,t.PH)(e.AB.NEWLY_ADDED_PEER_CLN,(0,t.Ky)()),(0,t.PH)(e.AB.ADD_PEER_CLN,(0,t.Ky)())),fe=(0,t.PH)(e.AB.DETACH_PEER_CLN,(0,t.Ky)()),T=(0,t.PH)(e.AB.REMOVE_PEER_CLN,(0,t.Ky)()),i=(0,t.PH)(e.AB.FETCH_PAYMENTS_CLN),r=(0,t.PH)(e.AB.SET_PAYMENTS_CLN,(0,t.Ky)()),h=(0,t.PH)(e.AB.SEND_PAYMENT_CLN,(0,t.Ky)()),l=(0,t.PH)(e.AB.SEND_PAYMENT_STATUS_CLN,(0,t.Ky)()),y=(0,t.PH)(e.AB.GET_QUERY_ROUTES_CLN,(0,t.Ky)()),A=(0,t.PH)(e.AB.SET_QUERY_ROUTES_CLN,(0,t.Ky)()),k=(0,t.PH)(e.AB.FETCH_CHANNELS_CLN),g=(0,t.PH)(e.AB.SET_CHANNELS_CLN,(0,t.Ky)()),n=(0,t.PH)(e.AB.UPDATE_CHANNEL_CLN,(0,t.Ky)()),b=(0,t.PH)(e.AB.SAVE_NEW_CHANNEL_CLN,(0,t.Ky)()),U=(0,t.PH)(e.AB.CLOSE_CHANNEL_CLN,(0,t.Ky)()),V=(0,t.PH)(e.AB.REMOVE_CHANNEL_CLN,(0,t.Ky)()),j=(0,t.PH)(e.AB.PEER_LOOKUP_CLN,(0,t.Ky)()),Ae=(0,t.PH)(e.AB.CHANNEL_LOOKUP_CLN,(0,t.Ky)()),Ke=(0,t.PH)(e.AB.INVOICE_LOOKUP_CLN,(0,t.Ky)()),qe=(0,t.PH)(e.AB.SET_LOOKUP_CLN,(0,t.Ky)()),ct=(0,t.PH)(e.AB.GET_FORWARDING_HISTORY_CLN,(0,t.Ky)()),Ie=(0,t.PH)(e.AB.SET_FORWARDING_HISTORY_CLN,(0,t.Ky)()),xe=(0,t.PH)(e.AB.FETCH_INVOICES_CLN,(0,t.Ky)()),le=(0,t.PH)(e.AB.SET_INVOICES_CLN,(0,t.Ky)()),_e=(0,t.PH)(e.AB.SAVE_NEW_INVOICE_CLN,(0,t.Ky)()),se=(0,t.PH)(e.AB.ADD_INVOICE_CLN,(0,t.Ky)()),Ye=(0,t.PH)(e.AB.UPDATE_INVOICE_CLN,(0,t.Ky)()),Te=(0,t.PH)(e.AB.DELETE_EXPIRED_INVOICE_CLN,(0,t.Ky)()),oe=(0,t.PH)(e.AB.SET_CHANNEL_TRANSACTION_CLN,(0,t.Ky)()),te=((0,t.PH)(e.AB.SET_CHANNEL_TRANSACTION_RES_CLN,(0,t.Ky)()),(0,t.PH)(e.AB.FETCH_UTXOS_CLN)),Ue=(0,t.PH)(e.AB.SET_UTXOS_CLN,(0,t.Ky)()),Be=(0,t.PH)(e.AB.FETCH_OFFER_INVOICE_CLN,(0,t.Ky)()),q=(0,t.PH)(e.AB.SET_OFFER_INVOICE_CLN,(0,t.Ky)()),de=(0,t.PH)(e.AB.FETCH_OFFERS_CLN),Ce=(0,t.PH)(e.AB.SET_OFFERS_CLN,(0,t.Ky)()),ke=(0,t.PH)(e.AB.SAVE_NEW_OFFER_CLN,(0,t.Ky)()),ht=(0,t.PH)(e.AB.ADD_OFFER_CLN,(0,t.Ky)()),nt=(0,t.PH)(e.AB.DISABLE_OFFER_CLN,(0,t.Ky)()),wt=(0,t.PH)(e.AB.UPDATE_OFFER_CLN,(0,t.Ky)()),it=(0,t.PH)(e.AB.FETCH_OFFER_BOOKMARKS_CLN),qt=(0,t.PH)(e.AB.SET_OFFER_BOOKMARKS_CLN,(0,t.Ky)()),_t=(0,t.PH)(e.AB.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,t.Ky)()),ne=(0,t.PH)(e.AB.DELETE_OFFER_BOOKMARK_CLN,(0,t.Ky)()),Nt=(0,t.PH)(e.AB.REMOVE_OFFER_BOOKMARK_CLN,(0,t.Ky)())},4947:(Ve,Q,m)=>{"use strict";m.d(Q,{J:()=>ce});var t=m(493),e=m(7579),v=m(9646),D=m(5577),o=m(2722),C=m(4004),u=m(262),P=m(1786),d=m(5566),S=m(7731),w=m(7861),I=m(429),E=m(9828),N=m(1462),z=m(4650),G=m(529),W=m(9653),Y=m(5986),X=m(62),ee=m(5043),ue=m(9116),he=m(7998),ie=m(6895);class ce{constructor(fe,T,i,r,h,l,y,A,k){this.actions=fe,this.httpClient=T,this.store=i,this.sessionService=r,this.commonService=h,this.logger=l,this.router=y,this.wsService=A,this.location=k,this.CHILD_API_URL=S.T5+"/cln",this.flgInitialized=!1,this.unSubs=[new e.x,new e.x,new e.x],this.infoFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_INFO_CLN),(0,D.z)(g=>(this.flgInitialized=!1,this.store.dispatch((0,w.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,I.Ni)({payload:{action:"FetchInfo",status:S.Bn.INITIATED}})),this.store.dispatch((0,w.ac)({payload:S.m6.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+S.vv.GETINFO_API).pipe((0,o.R)(this.actions.pipe((0,t.l4)(S.pg.SET_SELECTED_NODE))),(0,C.U)(n=>(this.logger.info(n),n.chains&&n.chains.length&&n.chains[0]&&"object"==typeof n.chains[0]&&n.chains[0].hasOwnProperty("chain")&&n?.chains[0].chain&&n?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&n?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,I.Ni)({payload:{action:"FetchInfo",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.GET_NODE_INFO})),this.store.dispatch((0,w.ts)()),setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{type:S.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:S.pg.LOGOUT}):(this.initializeRemainingData(n,g.payload.loadPage),this.store.dispatch((0,I.Ni)({payload:{action:"FetchInfo",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.GET_NODE_INFO})),{type:S.AB.SET_INFO_CLN,payload:n||{}}))),(0,u.K)(n=>{const b=this.commonService.extractErrorCode(n),U="ETIMEDOUT"===b?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(n);return this.router.navigate(["/error"],{state:{errorCode:b,errorMessage:U}}),this.handleErrorWithoutAlert("FetchInfo",S.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:b,error:U}),(0,v.of)({type:S.pg.VOID})})))))),this.fetchFeesCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_FEES_CLN),(0,D.z)(()=>(this.store.dispatch((0,I.Ni)({payload:{action:"FetchFees",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.FEES_API))),(0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Ni)({payload:{action:"FetchFees",status:S.Bn.COMPLETED}})),{type:S.AB.SET_FEES_CLN,payload:g||{}})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchFees",S.m6.NO_SPINNER,"Fetching Fees Failed.",g),(0,v.of)({type:S.pg.VOID}))))),this.fetchFeeRatesCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_FEE_RATES_CLN),(0,D.z)(g=>(this.store.dispatch((0,I.Ni)({payload:{action:"FetchFeeRates"+g.payload,status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.NETWORK_API+"/feeRates/"+g.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"FetchFeeRates"+g.payload,status:S.Bn.COMPLETED}})),{type:S.AB.SET_FEE_RATES_CLN,payload:n||{}})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchFeeRates"+g.payload,S.m6.NO_SPINNER,"Fetching Fee Rates Failed.",n),(0,v.of)({type:S.pg.VOID})))))))),this.fetchBalanceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_BALANCE_CLN),(0,D.z)(()=>(this.store.dispatch((0,I.Ni)({payload:{action:"FetchBalance",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.BALANCE_API))),(0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Ni)({payload:{action:"FetchBalance",status:S.Bn.COMPLETED}})),{type:S.AB.SET_BALANCE_CLN,payload:g||{}})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchBalance",S.m6.NO_SPINNER,"Fetching Balances Failed.",g),(0,v.of)({type:S.pg.VOID}))))),this.fetchLocalRemoteBalanceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),(0,D.z)(()=>(this.store.dispatch((0,I.Ni)({payload:{action:"FetchLocalRemoteBalance",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.CHANNELS_API+"/localRemoteBalance"))),(0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Ni)({payload:{action:"FetchLocalRemoteBalance",status:S.Bn.COMPLETED}})),{type:S.AB.SET_LOCAL_REMOTE_BALANCE_CLN,payload:g||{}})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchLocalRemoteBalance",S.m6.NO_SPINNER,"Fetching Balances Failed.",g),(0,v.of)({type:S.pg.VOID}))))),this.getNewAddressCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.GET_NEW_ADDRESS_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:S.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+S.vv.ON_CHAIN_API+"?type="+g.payload.addressCode).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.uO)({payload:S.m6.GENERATE_NEW_ADDRESS})),{type:S.AB.SET_NEW_ADDRESS_CLN,payload:n&&n.address?n.address:{}})),(0,u.K)(n=>(this.handleErrorWithAlert("GenerateNewAddress",S.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+S.vv.ON_CHAIN_API+"?type="+g.payload.addressId,n),(0,v.of)({type:S.pg.VOID})))))))),this.setNewAddressCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SET_NEW_ADDRESS_CLN),(0,C.U)(g=>(this.logger.info(g.payload),g.payload))),{dispatch:!1}),this.peersFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_PEERS_CLN),(0,D.z)(()=>(this.store.dispatch((0,I.Ni)({payload:{action:"FetchPeers",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.PEERS_API).pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Ni)({payload:{action:"FetchPeers",status:S.Bn.COMPLETED}})),{type:S.AB.SET_PEERS_CLN,payload:g||[]})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchPeers",S.m6.NO_SPINNER,"Fetching Peers Failed.",g),(0,v.of)({type:S.pg.VOID})))))))),this.saveNewPeerCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_NEW_PEER_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:S.m6.CONNECT_PEER})),this.store.dispatch((0,I.Ni)({payload:{action:"SaveNewPeer",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.PEERS_API,{id:g.payload.id}).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"SaveNewPeer",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.CONNECT_PEER})),this.store.dispatch((0,I.Z8)({payload:n||[]})),{type:S.AB.NEWLY_ADDED_PEER_CLN,payload:{peer:n.find(b=>0===g.payload.id.indexOf(b.id?b.id:""))}})),(0,u.K)(n=>(this.handleErrorWithoutAlert("SaveNewPeer",S.m6.CONNECT_PEER,"Peer Connection Failed.",n),(0,v.of)({type:S.pg.VOID})))))))),this.detachPeerCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.DETACH_PEER_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:S.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+S.vv.PEERS_API+"/"+g.payload.id+"?force="+g.payload.force).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.uO)({payload:S.m6.DISCONNECT_PEER})),this.store.dispatch((0,w.jW)({payload:"Peer Disconnected Successfully!"})),{type:S.AB.REMOVE_PEER_CLN,payload:{id:g.payload.id}})),(0,u.K)(n=>(this.handleErrorWithAlert("PeerDisconnect",S.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+S.vv.PEERS_API+"/"+g.payload.id,n),(0,v.of)({type:S.pg.VOID})))))))),this.channelsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_CHANNELS_CLN),(0,D.z)(()=>(this.store.dispatch((0,I.Ni)({payload:{action:"FetchChannels",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.CHANNELS_API+"/listChannels"))),(0,C.U)(g=>{this.logger.info(g),this.store.dispatch((0,I.Ni)({payload:{action:"FetchChannels",status:S.Bn.COMPLETED}}));const n={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return g.forEach(b=>{"CHANNELD_NORMAL"===b.state?b.connected?n.activeChannels.push(b):n.inactiveChannels.push(b):n.pendingChannels.push(b)}),{type:S.AB.SET_CHANNELS_CLN,payload:n}}),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchChannels",S.m6.NO_SPINNER,"Fetching Channels Failed.",g),(0,v.of)({type:S.pg.VOID}))))),this.openNewChannelCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_NEW_CHANNEL_CLN),(0,D.z)(g=>{this.store.dispatch((0,w.ac)({payload:S.m6.OPEN_CHANNEL})),this.store.dispatch((0,I.Ni)({payload:{action:"SaveNewChannel",status:S.Bn.INITIATED}}));const n={id:g.payload.peerId,satoshis:g.payload.satoshis,feeRate:g.payload.feeRate,announce:g.payload.announce};return g.payload.minconf&&(n.minconf=g.payload.minconf),g.payload.utxos&&(n.utxos=g.payload.utxos),g.payload.requestAmount&&(n.request_amt=g.payload.requestAmount),g.payload.compactLease&&(n.compact_lease=g.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+S.vv.CHANNELS_API,n).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,I.Ni)({payload:{action:"SaveNewChannel",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.OPEN_CHANNEL})),this.store.dispatch((0,w.jW)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,I.EG)()),this.store.dispatch((0,I.Ly)()),{type:S.AB.FETCH_CHANNELS_CLN})),(0,u.K)(b=>(this.handleErrorWithoutAlert("SaveNewChannel",S.m6.OPEN_CHANNEL,"Opening Channel Failed.",b),(0,v.of)({type:S.pg.VOID}))))}))),this.updateChannelCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.UPDATE_CHANNEL_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:S.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+S.vv.CHANNELS_API+"/setChannelFee",{id:g.payload.channelId,base:g.payload.baseFeeMsat,ppm:g.payload.feeRate}).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.uO)({payload:S.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,w.jW)("all"===g.payload.channelId?{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:S.AB.FETCH_CHANNELS_CLN})),(0,u.K)(n=>(this.handleErrorWithAlert("UpdateChannel",S.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+S.vv.CHANNELS_API,n),(0,v.of)({type:S.pg.VOID})))))))),this.closeChannelCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.CLOSE_CHANNEL_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:g.payload.force?S.m6.FORCE_CLOSE_CHANNEL:S.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+S.vv.CHANNELS_API+"/"+g.payload.channelId+(g.payload.force?"?force="+g.payload.force:"")).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,w.uO)({payload:g.payload.force?S.m6.FORCE_CLOSE_CHANNEL:S.m6.CLOSE_CHANNEL})),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.g3)()),this.store.dispatch((0,w.jW)({payload:"Channel Closed Successfully!"})),{type:S.AB.REMOVE_CHANNEL_CLN,payload:g.payload})),(0,u.K)(b=>(this.handleErrorWithAlert("CloseChannel",g.payload.force?S.m6.FORCE_CLOSE_CHANNEL:S.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+S.vv.CHANNELS_API,b),(0,v.of)({type:S.pg.VOID})))))))),this.paymentsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_PAYMENTS_CLN),(0,D.z)(()=>(this.store.dispatch((0,I.Ni)({payload:{action:"FetchPayments",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.PAYMENTS_API))),(0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Ni)({payload:{action:"FetchPayments",status:S.Bn.COMPLETED}})),{type:S.AB.SET_PAYMENTS_CLN,payload:g||[]})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchPayments",S.m6.NO_SPINNER,"Fetching Payments Failed.",g),(0,v.of)({type:S.pg.VOID}))))),this.fetchOfferInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_OFFER_INVOICE_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:S.m6.FETCH_INVOICE})),this.store.dispatch((0,I.Ni)({payload:{action:"FetchOfferInvoice",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.OFFERS_API+"/fetchOfferInvoice",g.payload).pipe((0,C.U)(n=>{this.logger.info(n),setTimeout(()=>{this.store.dispatch((0,I.Ni)({payload:{action:"FetchOfferInvoice",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.FETCH_INVOICE})),this.store.dispatch((0,I.VD)({payload:n||{}}))},500)}),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchOfferInvoice",S.m6.FETCH_INVOICE,"Offer Invoice Fetch Failed",n),(0,v.of)({type:S.pg.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SET_OFFER_INVOICE_CLN),(0,C.U)(g=>(this.logger.info(g.payload),g.payload))),{dispatch:!1}),this.sendPaymentCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SEND_PAYMENT_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:g.payload.uiMessage})),this.store.dispatch((0,I.Ni)({payload:{action:"SendPayment",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.PAYMENTS_API,g.payload).pipe((0,C.U)(n=>{this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"SendPayment",status:S.Bn.COMPLETED}}));let b="Payment Sent Successfully!";n.saveToDBError&&(b="Payment Sent Successfully but Offer Saving to Database Failed."),n.saveToDBResponse&&"NA"!==n.saveToDBResponse&&(this.store.dispatch((0,I.e9)({payload:n.saveToDBResponse})),b="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.EG)()),this.store.dispatch((0,I.cQ)()),this.store.dispatch((0,w.uO)({payload:g.payload.uiMessage})),this.store.dispatch((0,w.jW)({payload:b})),this.store.dispatch((0,I.TM)({payload:n.paymentResponse}))},1e3)}),(0,u.K)(n=>(this.logger.error("Error: "+JSON.stringify(n)),g.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",g.payload.uiMessage,"Send Payment Failed.",n):this.handleErrorWithAlert("SendPayment",g.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+S.vv.PAYMENTS_API,n),(0,v.of)({type:S.pg.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.GET_QUERY_ROUTES_CLN),(0,D.z)(g=>(this.store.dispatch((0,I.Ni)({payload:{action:"GetQueryRoutes",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.NETWORK_API+"/getRoute/"+g.payload.destPubkey+"/"+g.payload.amount).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"GetQueryRoutes",status:S.Bn.COMPLETED}})),{type:S.AB.SET_QUERY_ROUTES_CLN,payload:n})),(0,u.K)(n=>(this.store.dispatch((0,I.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",S.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+S.vv.NETWORK_API+"/getRoute/"+g.payload.destPubkey+"/"+g.payload.amount,n),(0,v.of)({type:S.pg.VOID})))))))),this.setQueryRoutesCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SET_QUERY_ROUTES_CLN),(0,C.U)(g=>g.payload)),{dispatch:!1}),this.peerLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.PEER_LOOKUP_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:S.m6.SEARCHING_NODE})),this.store.dispatch((0,I.Ni)({payload:{action:"Lookup",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.NETWORK_API+"/listNode/"+g.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"Lookup",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.SEARCHING_NODE})),{type:S.AB.SET_LOOKUP_CLN,payload:n})),(0,u.K)(n=>(this.handleErrorWithAlert("Lookup",S.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+S.vv.NETWORK_API+"/listNode/"+g.payload,n),(0,v.of)({type:S.pg.VOID})))))))),this.channelLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.CHANNEL_LOOKUP_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:g.payload.uiMessage})),this.store.dispatch((0,I.Ni)({payload:{action:"Lookup",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.NETWORK_API+"/listChannel/"+g.payload.shortChannelID).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"Lookup",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:g.payload.uiMessage})),{type:S.AB.SET_LOOKUP_CLN,payload:n})),(0,u.K)(n=>(g.payload.showError?this.handleErrorWithAlert("Lookup",g.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+S.vv.NETWORK_API+"/listChannel/"+g.payload.shortChannelID,n):this.store.dispatch((0,w.uO)({payload:g.payload.uiMessage})),this.store.dispatch((0,I.v_)({payload:[]})),(0,v.of)({type:S.pg.VOID})))))))),this.invoiceLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.INVOICE_LOOKUP_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:S.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.Ni)({payload:{action:"Lookup",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.INVOICES_API+"?label="+g.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"Lookup",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.SEARCHING_INVOICE})),n.invoices&&n.invoices.length&&n.invoices.length>0&&this.store.dispatch((0,I.aL)({payload:n.invoices[0]})),{type:S.AB.SET_LOOKUP_CLN,payload:n.invoices&&n.invoices.length&&n.invoices.length>0?n.invoices[0]:n})),(0,u.K)(n=>(this.handleErrorWithoutAlert("Lookup",S.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",n),this.store.dispatch((0,w.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,v.of)({type:S.pg.VOID})))))))),this.setLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SET_LOOKUP_CLN),(0,C.U)(g=>(this.logger.info(g.payload),g.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.GET_FORWARDING_HISTORY_CLN),(0,D.z)(g=>{const n=g.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,I.Ni)({payload:{action:"FetchForwardingHistory"+n,status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.CHANNELS_API+"/listForwards?status="+g.payload.status).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,I.Ni)({payload:{action:"FetchForwardingHistory"+n,status:S.Bn.COMPLETED}})),g.payload.status===S.OO.FAILED?this.store.dispatch((0,I.QJ)({payload:{status:S.OO.FAILED,totalForwards:b.length,listForwards:b}})):g.payload.status===S.OO.LOCAL_FAILED?this.store.dispatch((0,I.QJ)({payload:{status:S.OO.LOCAL_FAILED,totalForwards:b.length,listForwards:b}})):g.payload.status===S.OO.SETTLED&&this.store.dispatch((0,I.QJ)({payload:{status:S.OO.SETTLED,totalForwards:b.length,listForwards:b}})),{type:S.pg.VOID})),(0,u.K)(b=>(this.handleErrorWithAlert("FetchForwardingHistory"+n,S.m6.NO_SPINNER,"Get "+g.payload.status+" Forwarding History Failed",this.CHILD_API_URL+S.vv.CHANNELS_API+"/listForwards?status="+g.payload.status,b),(0,v.of)({type:S.pg.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.DELETE_EXPIRED_INVOICE_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:S.m6.DELETE_INVOICE})),this.httpClient.delete(this.CHILD_API_URL+S.vv.INVOICES_API+(g.payload?"?maxexpiry="+g.payload:"")).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,w.uO)({payload:S.m6.DELETE_INVOICE})),this.store.dispatch((0,w.jW)({payload:"Invoices Deleted Successfully!"})),{type:S.AB.FETCH_INVOICES_CLN,payload:{num_max_invoices:1e6,reversed:!0}})),(0,u.K)(b=>(this.handleErrorWithAlert("DeleteInvoices",S.m6.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+S.vv.INVOICES_API,b),(0,v.of)({type:S.pg.VOID})))))))),this.saveNewInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_NEW_INVOICE_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:S.m6.ADD_INVOICE})),this.store.dispatch((0,I.Ni)({payload:{action:"SaveNewInvoice",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.INVOICES_API,{label:g.payload.label,amount:g.payload.amount,description:g.payload.description,expiry:g.payload.expiry,private:g.payload.private}).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"SaveNewInvoice",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.ADD_INVOICE})),n.msatoshi=g.payload.amount,n.label=g.payload.label,n.expires_at=Math.round((new Date).getTime()/1e3+g.payload.expiry),n.description=g.payload.description,n.status="unpaid",setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{invoice:n,newlyAdded:!0,component:d.y}}}))},200),{type:S.AB.ADD_INVOICE_CLN,payload:n})),(0,u.K)(n=>(this.handleErrorWithoutAlert("SaveNewInvoice",S.m6.ADD_INVOICE,"Add Invoice Failed.",n),(0,v.of)({type:S.pg.VOID})))))))),this.saveNewOfferCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_NEW_OFFER_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:S.m6.CREATE_OFFER})),this.store.dispatch((0,I.Ni)({payload:{action:"SaveNewOffer",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.OFFERS_API,{amount:g.payload.amount,description:g.payload.description,vendor:g.payload.vendor}).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"SaveNewOffer",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{offer:n,newlyAdded:!0,component:N.k}}}))},100),{type:S.AB.ADD_OFFER_CLN,payload:n})),(0,u.K)(n=>(this.handleErrorWithoutAlert("SaveNewOffer",S.m6.CREATE_OFFER,"Create Offer Failed.",n),(0,v.of)({type:S.pg.VOID})))))))),this.invoicesFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_INVOICES_CLN),(0,D.z)(g=>(this.store.dispatch((0,I.Ni)({payload:{action:"FetchInvoices",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.INVOICES_API+"?num_max_invoices="+(g.payload.num_max_invoices?g.payload.num_max_invoices:1e6)+"&index_offset="+(g.payload.index_offset?g.payload.index_offset:0)+"&reversed="+(!g.payload.reversed||g.payload.reversed)).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,I.Ni)({payload:{action:"FetchInvoices",status:S.Bn.COMPLETED}})),{type:S.AB.SET_INVOICES_CLN,payload:V})),(0,u.K)(V=>(this.handleErrorWithoutAlert("FetchInvoices",S.m6.NO_SPINNER,"Fetching Invoices Failed.",V),(0,v.of)({type:S.pg.VOID})))))))),this.offersFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_OFFERS_CLN),(0,D.z)(g=>(this.store.dispatch((0,I.Ni)({payload:{action:"FetchOffers",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.OFFERS_API).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"FetchOffers",status:S.Bn.COMPLETED}})),{type:S.AB.SET_OFFERS_CLN,payload:n.offers?n.offers:[]})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchOffers",S.m6.NO_SPINNER,"Fetching Offers Failed.",n),(0,v.of)({type:S.pg.VOID})))))))),this.offersDisableCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.DISABLE_OFFER_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:S.m6.DISABLE_OFFER})),this.store.dispatch((0,I.Ni)({payload:{action:"DisableOffer",status:S.Bn.INITIATED}})),this.httpClient.delete(this.CHILD_API_URL+S.vv.OFFERS_API+"/"+g.payload.offer_id).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"DisableOffer",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.DISABLE_OFFER})),this.store.dispatch((0,w.jW)({payload:"Offer Disabled Successfully!"})),{type:S.AB.UPDATE_OFFER_CLN,payload:{offer:n}})),(0,u.K)(n=>(this.handleErrorWithoutAlert("DisableOffer",S.m6.DISABLE_OFFER,"Disabling Offer Failed.",n),(0,v.of)({type:S.pg.VOID})))))))),this.offerBookmarksFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_OFFER_BOOKMARKS_CLN),(0,D.z)(g=>(this.store.dispatch((0,I.Ni)({payload:{action:"FetchOfferBookmarks",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.OFFERS_API+"/offerbookmarks").pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"FetchOfferBookmarks",status:S.Bn.COMPLETED}})),{type:S.AB.SET_OFFER_BOOKMARKS_CLN,payload:n||[]})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",S.m6.NO_SPINNER,"Fetching Offer Bookmarks Failed.",n),(0,v.of)({type:S.pg.VOID})))))))),this.peidOffersDeleteCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.DELETE_OFFER_BOOKMARK_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:S.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,I.Ni)({payload:{action:"DeleteOfferBookmark",status:S.Bn.INITIATED}})),this.httpClient.delete(this.CHILD_API_URL+S.vv.OFFERS_API+"/offerbookmark/"+g.payload.bolt12).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"DeleteOfferBookmark",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,w.jW)({payload:"Offer Bookmark Deleted Successfully!"})),{type:S.AB.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:g.payload.bolt12}})),(0,u.K)(n=>(this.handleErrorWithAlert("DeleteOfferBookmark",S.m6.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+S.vv.OFFERS_API+"/offerbookmark/"+g.payload.bolt12,n),(0,v.of)({type:S.pg.VOID})))))))),this.SetChannelTransactionCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SET_CHANNEL_TRANSACTION_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:S.m6.SEND_FUNDS})),this.store.dispatch((0,I.Ni)({payload:{action:"SetChannelTransaction",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.ON_CHAIN_API,g.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"SetChannelTransaction",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.SEND_FUNDS})),this.store.dispatch((0,I.EG)()),this.store.dispatch((0,I.Ly)()),{type:S.AB.SET_CHANNEL_TRANSACTION_RES_CLN,payload:n})),(0,u.K)(n=>(this.handleErrorWithoutAlert("SetChannelTransaction",S.m6.SEND_FUNDS,"Sending Fund Failed.",n),(0,v.of)({type:S.pg.VOID})))))))),this.utxosFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_UTXOS_CLN),(0,D.z)(()=>(this.store.dispatch((0,I.Ni)({payload:{action:"FetchUTXOs",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.ON_CHAIN_API+"/utxos"))),(0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Ni)({payload:{action:"FetchUTXOs",status:S.Bn.COMPLETED}})),{type:S.AB.SET_UTXOS_CLN,payload:g.outputs||[]})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchUTXOs",S.m6.NO_SPINNER,"Fetching UTXOs Failed.",g),(0,v.of)({type:S.pg.VOID}))))),this.pageSettingsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_PAGE_SETTINGS_CLN),(0,D.z)(()=>(this.store.dispatch((0,I.Ni)({payload:{action:"FetchPageSettings",status:S.Bn.INITIATED}})),this.httpClient.get(S.vv.PAGE_SETTINGS_API).pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Ni)({payload:{action:"FetchPageSettings",status:S.Bn.COMPLETED}})),{type:S.AB.SET_PAGE_SETTINGS_CLN,payload:g||[]})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchPageSettings",S.m6.NO_SPINNER,"Fetching Page Settings Failed.",g),(0,v.of)({type:S.pg.VOID})))))))),this.savePageSettingsCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_PAGE_SETTINGS_CLN),(0,D.z)(g=>(this.store.dispatch((0,w.ac)({payload:S.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.Ni)({payload:{action:"SavePageSettings",status:S.Bn.INITIATED}})),this.httpClient.post(S.vv.PAGE_SETTINGS_API,g.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"SavePageSettings",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,w.jW)({payload:"Page Layout Updated Successfully!"})),{type:S.AB.SET_PAGE_SETTINGS_CLN,payload:n||[]})),(0,u.K)(n=>(this.handleErrorWithAlert("SavePageSettings",S.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",S.vv.PAGE_SETTINGS_API,n),(0,v.of)({type:S.pg.VOID})))))))),this.store.select(E.yA).pipe((0,o.R)(this.unSubs[0])).subscribe(g=>{g.FetchInfo.status!==S.Bn.COMPLETED&&g.FetchInfo.status!==S.Bn.ERROR||g.FetchFees.status!==S.Bn.COMPLETED&&g.FetchFees.status!==S.Bn.ERROR||g.FetchChannels.status!==S.Bn.COMPLETED&&g.FetchChannels.status!==S.Bn.ERROR||g.FetchBalance.status!==S.Bn.COMPLETED&&g.FetchBalance.status!==S.Bn.ERROR||g.FetchLocalRemoteBalance.status!==S.Bn.COMPLETED&&g.FetchLocalRemoteBalance.status!==S.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,w.uO)({payload:S.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,o.R)(this.unSubs[1])).subscribe(g=>{if(this.logger.info("Received new message from the service: "+JSON.stringify(g)),g)switch(g.event){case S.nM.INVOICE:this.logger.info(g),g&&g.data&&g.data.label&&this.store.dispatch((0,I.aL)({payload:g.data}));break;case S.nM.SEND_PAYMENT:case S.nM.BLOCK_HEIGHT:this.logger.info(g);break;default:this.logger.info("Received Event from WS: "+JSON.stringify(g))}})}initializeRemainingData(fe,T){this.sessionService.setItem("clUnlocked","true");const i={identity_pubkey:fe.id,alias:fe.alias,testnet:"testnet"===fe.network.toLowerCase(),chains:fe.chains,uris:fe.uris,version:fe.version,api_version:fe.api_version,numberOfPendingChannels:fe.num_pending_channels};this.store.dispatch((0,w.ac)({payload:S.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,w._V)({payload:i}));let r=this.location.path();r.includes("/lnd/")?r=r?.replace("/lnd/","/cln/"):r.includes("/ecl/")&&(r=r?.replace("/ecl/","/cln/")),(r.includes("/login")||r.includes("/error")||""===r||"HOME"===T||r.includes("?access-key="))&&(r="/cln/home"),this.router.navigate([r]),this.store.dispatch((0,I.wD)()),this.store.dispatch((0,I.WM)({payload:{num_max_invoices:1e6,index_offset:0,reversed:!0}})),this.store.dispatch((0,I.SN)()),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.EG)()),this.store.dispatch((0,I.g3)()),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.Ly)()),this.store.dispatch((0,I.cQ)())}handleErrorWithoutAlert(fe,T,i,r){if(this.logger.error("ERROR IN: "+fe+"\n"+JSON.stringify(r)),401===r.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.ts)()),this.store.dispatch((0,w.kS)()),this.store.dispatch((0,w.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,w.uO)({payload:T}));const h=this.commonService.extractErrorMessage(r,i);this.store.dispatch((0,I.Ni)({payload:{action:fe,status:S.Bn.ERROR,statusCode:r.status.toString(),message:h}}))}}handleErrorWithAlert(fe,T,i,r,h){if(this.logger.error(h),401===h.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.ts)()),this.store.dispatch((0,w.kS)()),this.store.dispatch((0,w.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,w.uO)({payload:T}));const l=this.commonService.extractErrorMessage(h);this.store.dispatch((0,w.qR)({payload:{data:{type:"ERROR",alertTitle:i,message:{code:h.status,message:l,URL:r},component:P.H}}})),this.store.dispatch((0,I.Ni)({payload:{action:fe,status:S.Bn.ERROR,statusCode:h.status.toString(),message:l,URL:r}}))}}ngOnDestroy(){this.unSubs.forEach(fe=>{fe.next(null),fe.complete()})}}ce.\u0275fac=function(fe){return new(fe||ce)(z.LFG(t.eX),z.LFG(G.eN),z.LFG(W.yh),z.LFG(Y.m),z.LFG(X.v),z.LFG(ee.mQ),z.LFG(ue.F0),z.LFG(he.d),z.LFG(ie.Ye))},ce.\u0275prov=z.Yz7({token:ce,factory:ce.\u0275fac})},9828:(Ve,Q,m)=>{"use strict";m.d(Q,{AS:()=>D,Ao:()=>ie,Bo:()=>Y,EQ:()=>fe,Hz:()=>ce,JG:()=>S,OL:()=>ue,PP:()=>P,Rn:()=>G,T4:()=>N,Wi:()=>d,Wj:()=>W,Y_:()=>$,ZW:()=>z,ey:()=>o,gc:()=>E,hx:()=>I,jK:()=>he,lK:()=>ee,lw:()=>v,xQ:()=>X,yA:()=>u,zm:()=>w});var t=m(9653);const e=(0,t.ZF)("cln"),v=(0,t.P1)(e,i=>i.nodeSettings),D=(0,t.P1)(e,i=>({pageSettings:i.pageSettings,apiCallStatus:i.apisCallStatus.FetchPageSettings})),o=(0,t.P1)(e,i=>i.information),u=((0,t.P1)(e,i=>i.apisCallStatus.FetchInfo),(0,t.P1)(e,i=>i.apisCallStatus)),P=(0,t.P1)(e,i=>({payments:i.payments,apiCallStatus:i.apisCallStatus.FetchPayments})),d=(0,t.P1)(e,i=>({peers:i.peers,apiCallStatus:i.apisCallStatus.FetchPeers})),S=(0,t.P1)(e,i=>({fees:i.fees,apiCallStatus:i.apisCallStatus.FetchFees})),w=(0,t.P1)(e,i=>({feeRatesPerKB:i.feeRatesPerKB,apiCallStatus:i.apisCallStatus.FetchFeeRatesperkb})),I=(0,t.P1)(e,i=>({feeRatesPerKW:i.feeRatesPerKW,apiCallStatus:i.apisCallStatus.FetchFeeRatesperkw})),E=(0,t.P1)(e,i=>({listInvoices:i.invoices,apiCallStatus:i.apisCallStatus.FetchInvoices})),N=(0,t.P1)(e,i=>({utxos:i.utxos,apiCallStatus:i.apisCallStatus.FetchUTXOs})),z=(0,t.P1)(e,i=>({activeChannels:i.activeChannels,pendingChannels:i.pendingChannels,inactiveChannels:i.inactiveChannels,apiCallStatus:i.apisCallStatus.FetchChannels})),G=(0,t.P1)(e,i=>({balance:i.balance,apiCallStatus:i.apisCallStatus.FetchBalance})),W=(0,t.P1)(e,i=>({localRemoteBalance:i.localRemoteBalance,apiCallStatus:i.apisCallStatus.FetchLocalRemoteBalance})),Y=(0,t.P1)(e,i=>({forwardingHistory:i.forwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryS})),X=(0,t.P1)(e,i=>({failedForwardingHistory:i.failedForwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryF})),ee=(0,t.P1)(e,i=>({localFailedForwardingHistory:i.localFailedForwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryL})),ue=(0,t.P1)(e,i=>({information:i.information,nodeSettings:i.nodeSettings,balance:i.balance})),he=(0,t.P1)(e,i=>({information:i.information,balance:i.balance,numPeers:i.peers.length})),ie=(0,t.P1)(e,i=>({information:i.information,balance:i.balance})),ce=(0,t.P1)(e,i=>({information:i.information,nodeSettings:i.nodeSettings,apisCallStatus:[i.apisCallStatus.FetchInfo,i.apisCallStatus.FetchForwardingHistoryS]})),$=(0,t.P1)(e,i=>({offers:i.offers,apiCallStatus:i.apisCallStatus.FetchOffers})),fe=(0,t.P1)(e,i=>({offersBookmarks:i.offersBookmarks,apiCallStatus:i.apisCallStatus.FetchOfferBookmarks}))},5566:(Ve,Q,m)=>{"use strict";m.d(Q,{y:()=>Te});var t=m(7274),e=m(2687),v=m(7579),D=m(2722),o=m(7731),C=m(9828),u=m(4650),P=m(5043),d=m(62),S=m(7009),w=m(9653),I=m(6895),E=m(2216),N=m(1576),z=m(5829),G=m(4859),W=m(3546),Y=m(4850),X=m(1572),ee=m(266),ue=m(658),he=m(5199),ie=m(3390);function ce(oe,be){if(1&oe&&u._UZ(0,"qr-code",33),2&oe){const te=u.oxw();u.Q6J("value",(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12))("size",te.qrWidth)("errorCorrectionLevel","L")}}function $(oe,be){1&oe&&(u.TgZ(0,"span",34),u._uU(1,"N/A"),u.qZA())}const fe=function(oe){return{"mr-0":oe}};function T(oe,be){if(1&oe&&u._UZ(0,"span",35),2&oe){const te=u.oxw();u.Q6J("ngClass",u.VKq(1,fe,te.screenSize===te.screenSizeEnum.XS))}}function i(oe,be){if(1&oe&&u._UZ(0,"span",36),2&oe){const te=u.oxw();u.Q6J("ngClass",u.VKq(1,fe,te.screenSize===te.screenSizeEnum.XS))}}function r(oe,be){if(1&oe&&u._UZ(0,"span",37),2&oe){const te=u.oxw();u.Q6J("ngClass",u.VKq(1,fe,te.screenSize===te.screenSizeEnum.XS))}}function h(oe,be){if(1&oe&&u._UZ(0,"qr-code",33),2&oe){const te=u.oxw();u.Q6J("value",(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12))("size",te.qrWidth)("errorCorrectionLevel","L")}}function l(oe,be){1&oe&&(u.TgZ(0,"span",38),u._uU(1,"QR Code Not Applicable"),u.qZA())}function y(oe,be){1&oe&&u._UZ(0,"mat-divider",39)}function A(oe,be){if(1&oe&&(u.TgZ(0,"div",19)(1,"div",40),u._UZ(2,"fa-icon",41),u.TgZ(3,"span"),u._uU(4),u.qZA()()()),2&oe){const te=u.oxw();u.xp6(2),u.Q6J("icon",te.faExclamationTriangle),u.xp6(2),u.Oqu(null==te.invoice?null:te.invoice.warning_capacity)}}function k(oe,be){1&oe&&(u.ynx(0),u._uU(1," (zero amount) "),u.BQk())}function g(oe,be){1&oe&&u._UZ(0,"span",47)}const n=function(){return[]};function b(oe,be){if(1&oe&&(u.TgZ(0,"div",43)(1,"div",44)(2,"span",45),u._uU(3),u.ALo(4,"number"),u.qZA(),u.YNc(5,g,1,0,"span",46),u.qZA()()),2&oe){const te=u.oxw(2);u.xp6(3),u.hij("",u.lcZ(4,2,(null==te.invoice?null:te.invoice.msatoshi_received)/1e3)," Sats"),u.xp6(2),u.Q6J("ngForOf",u.DdM(4,n).constructor(35))}}function U(oe,be){if(1&oe&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"number"),u.qZA()),2&oe){const te=u.oxw(2);u.xp6(1),u.hij("",u.lcZ(2,1,(null==te.invoice?null:te.invoice.msatoshi_received)/1e3)," Sats")}}function V(oe,be){if(1&oe&&(u.ynx(0),u.YNc(1,b,6,5,"div",42),u.YNc(2,U,3,3,"div",23),u.BQk()),2&oe){const te=u.oxw();u.xp6(1),u.Q6J("ngIf",te.flgInvoicePaid),u.xp6(1),u.Q6J("ngIf",!te.flgInvoicePaid)}}function j(oe,be){1&oe&&(u.TgZ(0,"span"),u._uU(1,"-"),u.qZA())}function Ae(oe,be){1&oe&&u._UZ(0,"mat-spinner",49),2&oe&&u.Q6J("diameter",20)}function Ke(oe,be){if(1&oe&&(u.ynx(0),u.YNc(1,j,2,0,"span",23),u.YNc(2,Ae,1,1,"mat-spinner",48),u.BQk()),2&oe){const te=u.oxw();u.xp6(1),u.Q6J("ngIf","unpaid"!==(null==te.invoice?null:te.invoice.status)||!te.flgVersionCompatible),u.xp6(1),u.Q6J("ngIf","unpaid"===(null==te.invoice?null:te.invoice.status)&&te.flgVersionCompatible)}}function qe(oe,be){if(1&oe&&(u.TgZ(0,"div"),u._UZ(1,"mat-divider",25),u.TgZ(2,"div",19)(3,"div",26)(4,"h4",21),u._uU(5,"Payment Hash"),u.qZA(),u.TgZ(6,"span",24),u._uU(7),u.qZA()()(),u._UZ(8,"mat-divider",25),u.TgZ(9,"div",19)(10,"div",26)(11,"h4",21),u._uU(12,"Label"),u.qZA(),u.TgZ(13,"span",24),u._uU(14),u.qZA()()(),u._UZ(15,"mat-divider",25),u.qZA()),2&oe){const te=u.oxw();u.xp6(7),u.Oqu(null==te.invoice?null:te.invoice.payment_hash),u.xp6(7),u.Oqu(null==te.invoice?null:te.invoice.label)}}function ct(oe,be){1&oe&&(u.TgZ(0,"p"),u._uU(1,"Show Advanced"),u.qZA())}function Ie(oe,be){1&oe&&(u.TgZ(0,"p"),u._uU(1,"Hide Advanced"),u.qZA())}function xe(oe,be){if(1&oe){const te=u.EpF();u.TgZ(0,"button",50),u.NdJ("copied",function(Be){u.CHM(te);const q=u.oxw();return u.KtG(q.onCopyPayment(Be))}),u._uU(1,"Copy Invoice"),u.qZA()}if(2&oe){const te=u.oxw();u.Q6J("payload",(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12))}}function le(oe,be){if(1&oe){const te=u.EpF();u.TgZ(0,"button",51),u.NdJ("click",function(){u.CHM(te);const Be=u.oxw();return u.KtG(Be.onClose())}),u._uU(1,"OK"),u.qZA()}}const _e=function(oe){return{"display-none":oe}},se=function(oe){return{"xs-scroll-y":oe}},Ye=function(oe,be){return{"mt-2":oe,"mt-1":be}};class Te{constructor(be,te,Ue,Be,q,de){this.dialogRef=be,this.data=te,this.logger=Ue,this.commonService=Be,this.snackBar=q,this.store=de,this.faReceipt=e.dLy,this.faExclamationTriangle=e.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=o.cu,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new v.x,new v.x,new v.x,new v.x,new v.x]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===o.cu.XS&&(this.qrWidth=220),this.store.select(C.ey).pipe((0,D.R)(this.unSubs[0])).subscribe(be=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(be.api_version,"0.6.0")}),this.store.select(C.gc).pipe((0,D.R)(this.unSubs[1])).subscribe(be=>{const te=this.invoice.status,Be=(be.listInvoices.invoices||[])?.find(q=>q.payment_hash===this.invoice.payment_hash)||null;Be&&(this.invoice=Be),te!==this.invoice.status&&"paid"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(be)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(be){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+be)}ngOnDestroy(){this.unSubs.forEach(be=>{be.next(null),be.complete()})}}Te.\u0275fac=function(be){return new(be||Te)(u.Y36(t.so),u.Y36(t.WI),u.Y36(P.mQ),u.Y36(d.v),u.Y36(S.ux),u.Y36(w.yh))},Te.\u0275cmp=u.Xpm({type:Te,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(be,te){if(1&be&&(u.TgZ(0,"div",0)(1,"div",1),u.YNc(2,ce,1,3,"qr-code",2),u.YNc(3,$,2,0,"span",3),u.qZA(),u.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),u._UZ(7,"fa-icon",7),u.TgZ(8,"span",8),u._uU(9),u.YNc(10,T,1,3,"span",9),u.YNc(11,i,1,3,"span",10),u.YNc(12,r,1,3,"span",11),u.qZA()(),u.TgZ(13,"button",12),u.NdJ("click",function(){return te.onClose()}),u._uU(14,"X"),u.qZA()(),u.TgZ(15,"mat-card-content",13)(16,"div",14)(17,"div",15),u.YNc(18,h,1,3,"qr-code",2),u.YNc(19,l,2,0,"span",16),u.qZA(),u.YNc(20,y,1,0,"mat-divider",17),u.YNc(21,A,5,2,"div",18),u.TgZ(22,"div",19)(23,"div",20)(24,"h4",21),u._uU(25),u.qZA(),u.TgZ(26,"span",22),u._uU(27),u.ALo(28,"number"),u.YNc(29,k,2,0,"ng-container",23),u.qZA()(),u.TgZ(30,"div",20)(31,"h4",21),u._uU(32,"Amount Received"),u.qZA(),u.TgZ(33,"span",24),u.YNc(34,V,3,2,"ng-container",23),u.YNc(35,Ke,3,2,"ng-container",23),u.qZA()()(),u._UZ(36,"mat-divider",25),u.TgZ(37,"div",19)(38,"div",20)(39,"h4",21),u._uU(40,"Date Expiry"),u.qZA(),u.TgZ(41,"span",22),u._uU(42),u.ALo(43,"date"),u.qZA()(),u.TgZ(44,"div",20)(45,"h4",21),u._uU(46,"Date Settled"),u.qZA(),u.TgZ(47,"span",22),u._uU(48),u.ALo(49,"date"),u.qZA()()(),u._UZ(50,"mat-divider",25),u.TgZ(51,"div",19)(52,"div",26)(53,"h4",21),u._uU(54,"Description"),u.qZA(),u.TgZ(55,"span",22),u._uU(56),u.qZA()()(),u._UZ(57,"mat-divider",25),u.TgZ(58,"div",19)(59,"div",26)(60,"h4",21),u._uU(61),u.qZA(),u.TgZ(62,"span",24),u._uU(63),u.qZA()()(),u.YNc(64,qe,16,2,"div",23),u.TgZ(65,"div",27)(66,"button",28),u.NdJ("click",function(){return te.onShowAdvanced()}),u.YNc(67,ct,2,0,"p",29),u.YNc(68,Ie,2,0,"ng-template",null,30,u.W1O),u.qZA(),u.YNc(70,xe,2,1,"button",31),u.YNc(71,le,2,0,"button",32),u.qZA()()()()()),2&be){const Ue=u.MAs(69);u.xp6(1),u.Q6J("fxLayoutAlign",null!=te.invoice&&te.invoice.bolt11&&""!==(null==te.invoice?null:te.invoice.bolt11)||null!=te.invoice&&te.invoice.bolt12&&""!==(null==te.invoice?null:te.invoice.bolt12)?"center start":"center center")("ngClass",u.VKq(40,_e,te.screenSize===te.screenSizeEnum.XS||te.screenSize===te.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==te.invoice?null:te.invoice.bolt11)&&""!==(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12)&&""!==(null==te.invoice?null:te.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",!(null!=te.invoice&&te.invoice.bolt11||null!=te.invoice&&te.invoice.bolt12)),u.xp6(4),u.Q6J("icon",te.faReceipt),u.xp6(2),u.hij(" ",te.screenSize===te.screenSizeEnum.XS?te.newlyAdded?"Created":"Invoice":te.newlyAdded?"Invoice Created":"Invoice Information"," "),u.xp6(1),u.Q6J("ngIf","paid"===(null==te.invoice?null:te.invoice.status)),u.xp6(1),u.Q6J("ngIf","unpaid"===(null==te.invoice?null:te.invoice.status)),u.xp6(1),u.Q6J("ngIf","expired"===(null==te.invoice?null:te.invoice.status)),u.xp6(3),u.Q6J("ngClass",u.VKq(42,se,te.screenSize===te.screenSizeEnum.XS)),u.xp6(2),u.Q6J("fxLayoutAlign",null!=te.invoice&&te.invoice.bolt11&&""!==(null==te.invoice?null:te.invoice.bolt11)||null!=te.invoice&&te.invoice.bolt12&&""!==(null==te.invoice?null:te.invoice.bolt12)?"center start":"center center")("ngClass",u.VKq(44,_e,te.screenSize!==te.screenSizeEnum.XS&&te.screenSize!==te.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==te.invoice?null:te.invoice.bolt11)&&""!==(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12)&&""!==(null==te.invoice?null:te.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",!(null!=te.invoice&&te.invoice.bolt11||null!=te.invoice&&te.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",te.screenSize===te.screenSizeEnum.XS||te.screenSize===te.screenSizeEnum.SM),u.xp6(1),u.Q6J("ngIf",null==te.invoice?null:te.invoice.warning_capacity),u.xp6(4),u.Oqu(te.screenSize===te.screenSizeEnum.XS?"Amount":"Amount Requested"),u.xp6(2),u.hij(" ",u.lcZ(28,32,(null==te.invoice?null:te.invoice.msatoshi)/1e3||0)," Sats"),u.xp6(2),u.Q6J("ngIf",!(null!=te.invoice&&te.invoice.msatoshi)||"0"===(null==te.invoice?null:te.invoice.msatoshi)),u.xp6(5),u.Q6J("ngIf","paid"===(null==te.invoice?null:te.invoice.status)),u.xp6(1),u.Q6J("ngIf","paid"!==(null==te.invoice?null:te.invoice.status)),u.xp6(7),u.Oqu(u.xi3(43,34,1e3*(null==te.invoice?null:te.invoice.expires_at),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(u.xi3(49,37,1e3*(null==te.invoice?null:te.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),u.xp6(8),u.Oqu((null==te.invoice?null:te.invoice.description)||"-"),u.xp6(5),u.hij("",null!=te.invoice&&te.invoice.bolt12?"Bolt12":null!=te.invoice&&te.invoice.bolt11&&!te.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),u.xp6(2),u.Oqu((null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",te.showAdvanced),u.xp6(1),u.Q6J("ngClass",u.WLB(46,Ye,!te.showAdvanced,te.showAdvanced)),u.xp6(2),u.Q6J("ngIf",!te.showAdvanced)("ngIfElse",Ue),u.xp6(3),u.Q6J("ngIf",(null==te.invoice?null:te.invoice.bolt11)&&""!==(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12)&&""!==(null==te.invoice?null:te.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",!(null!=te.invoice&&te.invoice.bolt11||null!=te.invoice&&te.invoice.bolt12))}},dependencies:[I.mk,I.sg,I.O5,E.BN,N.xw,N.Wh,N.yH,z.oO,G.lW,W.dn,W.dk,Y.d,X.Ou,ee.gM,ue.uU,he.y,ie.h,I.JJ,I.uU]})},1462:(Ve,Q,m)=>{"use strict";m.d(Q,{k:()=>V});var t=m(7274),e=m(2687),v=m(7579),D=m(2722),o=m(7731),C=m(4650),u=m(5043),P=m(62),d=m(7009),S=m(9653),w=m(8104),I=m(6895),E=m(2216),N=m(1576),z=m(5829),G=m(4859),W=m(3546),Y=m(4850),X=m(658),ee=m(5199),ue=m(3390);function he(j,Ae){if(1&j&&C._UZ(0,"qr-code",28),2&j){const Ke=C.oxw();C.Q6J("value",null==Ke.offer?null:Ke.offer.bolt12)("size",Ke.qrWidth)("errorCorrectionLevel","L")}}function ie(j,Ae){1&j&&(C.TgZ(0,"span",29),C._uU(1,"N/A"),C.qZA())}function ce(j,Ae){if(1&j&&C._UZ(0,"qr-code",28),2&j){const Ke=C.oxw();C.Q6J("value",null==Ke.offer?null:Ke.offer.bolt12)("size",Ke.qrWidth)("errorCorrectionLevel","L")}}function $(j,Ae){1&j&&(C.TgZ(0,"span",30),C._uU(1,"QR Code Not Applicable"),C.qZA())}function fe(j,Ae){1&j&&C._UZ(0,"mat-divider",31),2&j&&C.Q6J("inset",!0)}function T(j,Ae){1&j&&C._UZ(0,"mat-divider",19)}function i(j,Ae){if(1&j&&(C.TgZ(0,"div",15)(1,"div",16)(2,"h4",17),C._uU(3,"Used"),C.qZA(),C.TgZ(4,"span",18),C._uU(5),C.qZA()(),C.TgZ(6,"div",16)(7,"h4",17),C._uU(8,"Single Use"),C.qZA(),C.TgZ(9,"span",18),C._uU(10),C.qZA()()()),2&j){const Ke=C.oxw(2);C.xp6(5),C.hij(" ",null!=Ke.offer&&Ke.offer.used?null!=Ke.offer&&Ke.offer.used?"Yes":"No":"N/K"," "),C.xp6(5),C.hij(" ",null!=Ke.offer&&Ke.offer.single_use?null!=Ke.offer&&Ke.offer.single_use?"Yes":"No":"N/K"," ")}}function r(j,Ae){1&j&&C._UZ(0,"mat-divider",19)}function h(j,Ae){if(1&j&&(C.TgZ(0,"div",15)(1,"div",20)(2,"h4",17),C._uU(3,"Vendor"),C.qZA(),C.TgZ(4,"span",34),C._uU(5),C.qZA()()()),2&j){const Ke=C.oxw(2);C.xp6(5),C.Oqu((null==Ke.offerDecoded?null:Ke.offerDecoded.vendor)||(null==Ke.offerDecoded?null:Ke.offerDecoded.issuer))}}function l(j,Ae){if(1&j&&(C.TgZ(0,"div"),C.YNc(1,T,1,0,"mat-divider",32),C.YNc(2,i,11,2,"div",33),C.YNc(3,r,1,0,"mat-divider",32),C.YNc(4,h,6,1,"div",33),C._UZ(5,"mat-divider",19),C.TgZ(6,"div",15)(7,"div",20)(8,"h4",17),C._uU(9,"Offer ID"),C.qZA(),C.TgZ(10,"span",18),C._uU(11),C.qZA()()(),C._UZ(12,"mat-divider",19),C.qZA()),2&j){const Ke=C.oxw();C.xp6(1),C.Q6J("ngIf",(null==Ke.offer?null:Ke.offer.used)||(null==Ke.offer?null:Ke.offer.single_use)),C.xp6(1),C.Q6J("ngIf",(null==Ke.offer?null:Ke.offer.used)||(null==Ke.offer?null:Ke.offer.single_use)),C.xp6(1),C.Q6J("ngIf",(null==Ke.offerDecoded?null:Ke.offerDecoded.vendor)||(null==Ke.offerDecoded?null:Ke.offerDecoded.issuer)),C.xp6(1),C.Q6J("ngIf",(null==Ke.offerDecoded?null:Ke.offerDecoded.vendor)||(null==Ke.offerDecoded?null:Ke.offerDecoded.issuer)),C.xp6(7),C.Oqu(Ke.offerDecoded.offer_id)}}function y(j,Ae){1&j&&(C.TgZ(0,"p"),C._uU(1,"Show Advanced"),C.qZA())}function A(j,Ae){1&j&&(C.TgZ(0,"p"),C._uU(1,"Hide Advanced"),C.qZA())}function k(j,Ae){if(1&j){const Ke=C.EpF();C.TgZ(0,"button",35),C.NdJ("copied",function(ct){C.CHM(Ke);const Ie=C.oxw();return C.KtG(Ie.onCopyOffer(ct))}),C._uU(1,"Copy Offer"),C.qZA()}if(2&j){const Ke=C.oxw();C.Q6J("payload",null==Ke.offer?null:Ke.offer.bolt12)}}function g(j,Ae){if(1&j){const Ke=C.EpF();C.TgZ(0,"button",36),C.NdJ("click",function(){C.CHM(Ke);const ct=C.oxw();return C.KtG(ct.onClose())}),C._uU(1,"OK"),C.qZA()}}const n=function(j){return{"display-none":j}},b=function(j){return{"xs-scroll-y":j}},U=function(j,Ae){return{"mt-2":j,"mt-1":Ae}};class V{constructor(Ae,Ke,qe,ct,Ie,xe,le){this.dialogRef=Ae,this.data=Ke,this.logger=qe,this.commonService=ct,this.snackBar=Ie,this.store=xe,this.dataService=le,this.faReceipt=e.dLy,this.faExclamationTriangle=e.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=o.cu,this.flgOfferPaid=!1,this.unSubs=[new v.x,new v.x,new v.x,new v.x,new v.x]}ngOnInit(){this.offer=this.data.offer,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===o.cu.XS&&(this.qrWidth=220),this.dataService.decodePayment(this.offer.bolt12,!0).pipe((0,D.R)(this.unSubs[1])).subscribe(Ae=>{this.offerDecoded=Ae,this.offerDecoded.offer_id&&!this.offerDecoded.amount_msat?(this.offerDecoded.amount_msat="0msat",this.offerDecoded.amount=0):this.offerDecoded.amount=this.offerDecoded.amount?+this.offerDecoded.amount:this.offerDecoded.amount_msat?+this.offerDecoded.amount_msat?.slice(0,-4):null})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyOffer(Ae){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+Ae)}ngOnDestroy(){this.unSubs.forEach(Ae=>{Ae.next(null),Ae.complete()})}}V.\u0275fac=function(Ae){return new(Ae||V)(C.Y36(t.so),C.Y36(t.WI),C.Y36(u.mQ),C.Y36(P.v),C.Y36(d.ux),C.Y36(S.yh),C.Y36(w.D))},V.\u0275cmp=C.Xpm({type:V,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(Ae,Ke){if(1&Ae&&(C.TgZ(0,"div",0)(1,"div",1),C.YNc(2,he,1,3,"qr-code",2),C.YNc(3,ie,2,0,"span",3),C.qZA(),C.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),C._UZ(7,"fa-icon",7),C.TgZ(8,"span",8),C._uU(9),C.qZA()(),C.TgZ(10,"button",9),C.NdJ("click",function(){return Ke.onClose()}),C._uU(11,"X"),C.qZA()(),C.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),C.YNc(15,ce,1,3,"qr-code",2),C.YNc(16,$,2,0,"span",13),C.qZA(),C.YNc(17,fe,1,1,"mat-divider",14),C.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),C._uU(21,"Amount Requested (Sats)"),C.qZA(),C.TgZ(22,"span",18),C._uU(23),C.ALo(24,"number"),C.qZA()(),C.TgZ(25,"div",16)(26,"h4",17),C._uU(27,"Active"),C.qZA(),C.TgZ(28,"span",18),C._uU(29),C.qZA()()(),C._UZ(30,"mat-divider",19),C.TgZ(31,"div",15)(32,"div",20)(33,"h4",17),C._uU(34,"Description"),C.qZA(),C.TgZ(35,"span",18),C._uU(36),C.qZA()()(),C._UZ(37,"mat-divider",19),C.TgZ(38,"div",15)(39,"div",20)(40,"h4",17),C._uU(41,"Offer Request"),C.qZA(),C.TgZ(42,"span",18),C._uU(43),C.qZA()()(),C.YNc(44,l,13,5,"div",21),C.TgZ(45,"div",22)(46,"button",23),C.NdJ("click",function(){return Ke.onShowAdvanced()}),C.YNc(47,y,2,0,"p",24),C.YNc(48,A,2,0,"ng-template",null,25,C.W1O),C.qZA(),C.YNc(50,k,2,1,"button",26),C.YNc(51,g,2,0,"button",27),C.qZA()()()()()),2&Ae){const qe=C.MAs(49);C.xp6(1),C.Q6J("fxLayoutAlign",null!=Ke.offer&&Ke.offer.bolt12&&""!==(null==Ke.offer?null:Ke.offer.bolt12)?"center start":"center center")("ngClass",C.VKq(24,n,Ke.screenSize===Ke.screenSizeEnum.XS||Ke.screenSize===Ke.screenSizeEnum.SM)),C.xp6(1),C.Q6J("ngIf",(null==Ke.offer?null:Ke.offer.bolt12)&&""!==(null==Ke.offer?null:Ke.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=Ke.offer&&Ke.offer.bolt12)||""===(null==Ke.offer?null:Ke.offer.bolt12)),C.xp6(4),C.Q6J("icon",Ke.faReceipt),C.xp6(2),C.Oqu(Ke.screenSize===Ke.screenSizeEnum.XS?Ke.newlyAdded?"Created":"Offer":Ke.newlyAdded?"Offer Created":"Offer Information"),C.xp6(3),C.Q6J("ngClass",C.VKq(26,b,Ke.screenSize===Ke.screenSizeEnum.XS)),C.xp6(2),C.Q6J("fxLayoutAlign",null!=Ke.offer&&Ke.offer.bolt12&&""!==(null==Ke.offer?null:Ke.offer.bolt12)?"center start":"center center")("ngClass",C.VKq(28,n,Ke.screenSize!==Ke.screenSizeEnum.XS&&Ke.screenSize!==Ke.screenSizeEnum.SM)),C.xp6(1),C.Q6J("ngIf",(null==Ke.offer?null:Ke.offer.bolt12)&&""!==(null==Ke.offer?null:Ke.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=Ke.offer&&Ke.offer.bolt12)||""===(null==Ke.offer?null:Ke.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",Ke.screenSize===Ke.screenSizeEnum.XS||Ke.screenSize===Ke.screenSizeEnum.SM),C.xp6(6),C.hij(" ",null!=Ke.offerDecoded&&Ke.offerDecoded.amount_msat&&0!==(null==Ke.offerDecoded?null:Ke.offerDecoded.amount)?C.lcZ(24,22,(null==Ke.offerDecoded?null:Ke.offerDecoded.amount)/1e3):"Open Offer"," "),C.xp6(6),C.hij(" ",null!=Ke.offer&&Ke.offer.active?null!=Ke.offer&&Ke.offer.active?"Active":"Inactive":"N/K"," "),C.xp6(7),C.hij(" ",null==Ke.offerDecoded?null:Ke.offerDecoded.description," "),C.xp6(7),C.Oqu(null==Ke.offer?null:Ke.offer.bolt12),C.xp6(1),C.Q6J("ngIf",Ke.showAdvanced),C.xp6(1),C.Q6J("ngClass",C.WLB(30,U,!Ke.showAdvanced,Ke.showAdvanced)),C.xp6(2),C.Q6J("ngIf",!Ke.showAdvanced)("ngIfElse",qe),C.xp6(3),C.Q6J("ngIf",(null==Ke.offer?null:Ke.offer.bolt12)&&""!==(null==Ke.offer?null:Ke.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=Ke.offer&&Ke.offer.bolt12)||""===(null==Ke.offer?null:Ke.offer.bolt12))}},dependencies:[I.mk,I.O5,E.BN,N.xw,N.Wh,N.yH,z.oO,G.lW,W.dn,W.dk,Y.d,X.uU,ee.y,ue.h,I.JJ]})},2994:(Ve,Q,m)=>{"use strict";m.d(Q,{$W:()=>ue,BL:()=>y,Bw:()=>Y,CX:()=>S,DJ:()=>oe,EK:()=>T,El:()=>ie,Fd:()=>D,GD:()=>fe,HG:()=>ee,HI:()=>g,Iy:()=>Ke,Lf:()=>Ae,Nr:()=>Ie,OG:()=>A,On:()=>X,QZ:()=>v,RX:()=>I,SN:()=>w,Sf:()=>se,TM:()=>V,TW:()=>z,UR:()=>E,WM:()=>ct,WO:()=>n,YP:()=>le,YX:()=>h,Z$:()=>xe,Z8:()=>he,Zr:()=>o,_E:()=>i,aL:()=>_e,cQ:()=>k,eF:()=>P,eN:()=>N,i:()=>G,iL:()=>W,iz:()=>d,kL:()=>b,mC:()=>j,n7:()=>Ye,oV:()=>U,pW:()=>l,pd:()=>u,ti:()=>be,wD:()=>C});var t=m(9653),e=m(7731);const v=(0,t.PH)(e.lr.UPDATE_API_CALL_STATUS_ECL,(0,t.Ky)()),D=(0,t.PH)(e.lr.RESET_ECL_STORE,(0,t.Ky)()),o=(0,t.PH)(e.lr.SET_CHILD_NODE_SETTINGS_ECL,(0,t.Ky)()),C=(0,t.PH)(e.lr.FETCH_PAGE_SETTINGS_ECL),u=(0,t.PH)(e.lr.SET_PAGE_SETTINGS_ECL,(0,t.Ky)()),P=(0,t.PH)(e.lr.SAVE_PAGE_SETTINGS_ECL,(0,t.Ky)()),d=(0,t.PH)(e.lr.FETCH_INFO_ECL,(0,t.Ky)()),S=(0,t.PH)(e.lr.SET_INFO_ECL,(0,t.Ky)()),w=(0,t.PH)(e.lr.FETCH_FEES_ECL),I=(0,t.PH)(e.lr.SET_FEES_ECL,(0,t.Ky)()),E=(0,t.PH)(e.lr.FETCH_CHANNELS_ECL,(0,t.Ky)()),N=(0,t.PH)(e.lr.SET_ACTIVE_CHANNELS_ECL,(0,t.Ky)()),z=(0,t.PH)(e.lr.SET_PENDING_CHANNELS_ECL,(0,t.Ky)()),G=(0,t.PH)(e.lr.SET_INACTIVE_CHANNELS_ECL,(0,t.Ky)()),W=(0,t.PH)(e.lr.FETCH_ONCHAIN_BALANCE_ECL),Y=(0,t.PH)(e.lr.SET_ONCHAIN_BALANCE_ECL,(0,t.Ky)()),X=(0,t.PH)(e.lr.SET_LIGHTNING_BALANCE_ECL,(0,t.Ky)()),ee=(0,t.PH)(e.lr.SET_CHANNELS_STATUS_ECL,(0,t.Ky)()),ue=(0,t.PH)(e.lr.FETCH_PEERS_ECL),he=(0,t.PH)(e.lr.SET_PEERS_ECL,(0,t.Ky)()),ie=(0,t.PH)(e.lr.SAVE_NEW_PEER_ECL,(0,t.Ky)()),fe=((0,t.PH)(e.lr.NEWLY_ADDED_PEER_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.ADD_PEER_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.DETACH_PEER_ECL,(0,t.Ky)())),T=(0,t.PH)(e.lr.REMOVE_PEER_ECL,(0,t.Ky)()),i=(0,t.PH)(e.lr.GET_NEW_ADDRESS_ECL),h=((0,t.PH)(e.lr.SET_NEW_ADDRESS_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.SAVE_NEW_CHANNEL_ECL,(0,t.Ky)())),l=(0,t.PH)(e.lr.UPDATE_CHANNEL_ECL,(0,t.Ky)()),y=(0,t.PH)(e.lr.CLOSE_CHANNEL_ECL,(0,t.Ky)()),A=(0,t.PH)(e.lr.REMOVE_CHANNEL_ECL,(0,t.Ky)()),k=(0,t.PH)(e.lr.FETCH_PAYMENTS_ECL),g=(0,t.PH)(e.lr.SET_PAYMENTS_ECL,(0,t.Ky)()),n=(0,t.PH)(e.lr.GET_QUERY_ROUTES_ECL,(0,t.Ky)()),b=(0,t.PH)(e.lr.SET_QUERY_ROUTES_ECL,(0,t.Ky)()),U=(0,t.PH)(e.lr.SEND_PAYMENT_ECL,(0,t.Ky)()),V=(0,t.PH)(e.lr.SEND_PAYMENT_STATUS_ECL,(0,t.Ky)()),j=(0,t.PH)(e.lr.FETCH_TRANSACTIONS_ECL),Ae=(0,t.PH)(e.lr.SET_TRANSACTIONS_ECL,(0,t.Ky)()),Ke=(0,t.PH)(e.lr.SEND_ONCHAIN_FUNDS_ECL,(0,t.Ky)()),ct=((0,t.PH)(e.lr.SEND_ONCHAIN_FUNDS_RES_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.FETCH_INVOICES_ECL)),Ie=(0,t.PH)(e.lr.SET_INVOICES_ECL,(0,t.Ky)()),xe=(0,t.PH)(e.lr.CREATE_INVOICE_ECL,(0,t.Ky)()),le=(0,t.PH)(e.lr.ADD_INVOICE_ECL,(0,t.Ky)()),_e=(0,t.PH)(e.lr.UPDATE_INVOICE_ECL,(0,t.Ky)()),se=(0,t.PH)(e.lr.PEER_LOOKUP_ECL,(0,t.Ky)()),Ye=(0,t.PH)(e.lr.INVOICE_LOOKUP_ECL,(0,t.Ky)()),oe=((0,t.PH)(e.lr.SET_LOOKUP_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.UPDATE_CHANNEL_STATE_ECL,(0,t.Ky)())),be=(0,t.PH)(e.lr.UPDATE_RELAYED_PAYMENT_ECL,(0,t.Ky)())},3289:(Ve,Q,m)=>{"use strict";m.d(Q,{o:()=>ie});var t=m(493),e=m(7579),v=m(9646),D=m(5577),o=m(2722),C=m(4004),u=m(262),P=m(1786),d=m(7731),S=m(7861),w=m(7766),I=m(2994),E=m(2501),N=m(4650),z=m(529),G=m(9653),W=m(5986),Y=m(62),X=m(5043),ee=m(9116),ue=m(7998),he=m(6895);class ie{constructor($,fe,T,i,r,h,l,y,A){this.actions=$,this.httpClient=fe,this.store=T,this.sessionService=i,this.commonService=r,this.logger=h,this.router=l,this.wsService=y,this.location=A,this.CHILD_API_URL=d.T5+"/ecl",this.flgInitialized=!1,this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.rawChannelsList=[],this.unSubs=[new e.x,new e.x,new e.x],this.infoFetchECL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_INFO_ECL),(0,D.z)(k=>(this.flgInitialized=!1,this.store.dispatch((0,S.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,S.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,o.R)(this.actions.pipe((0,t.l4)(d.pg.SET_SELECTED_NODE))),(0,C.U)(g=>(this.logger.info(g),this.initializeRemainingData(g,k.payload.loadPage),this.store.dispatch((0,I.QZ)({payload:{action:"FetchInfo",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.GET_NODE_INFO})),{type:d.lr.SET_INFO_ECL,payload:g||{}})),(0,u.K)(g=>{const n=this.commonService.extractErrorCode(g),b=503===n?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(g);return this.router.navigate(["/error"],{state:{errorCode:n,errorMessage:b}}),this.handleErrorWithoutAlert("FetchInfo",d.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:n,error:b}),(0,v.of)({type:d.pg.VOID})})))))),this.fetchFees=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_FEES_ECL),(0,D.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,C.U)(k=>(this.logger.info(k),this.store.dispatch((0,I.QZ)({payload:{action:"FetchFees",status:d.Bn.COMPLETED}})),{type:d.lr.SET_FEES_ECL,payload:k||{}})),(0,u.K)(k=>(this.handleErrorWithoutAlert("FetchFees",d.m6.NO_SPINNER,"Fetching Fees Failed.",k),(0,v.of)({type:d.pg.VOID})))))))),this.fetchPayments=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_PAYMENTS_ECL),(0,D.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,C.U)(k=>(this.logger.info(k),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPayments",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAYMENTS_ECL,payload:k||{}})),(0,u.K)(k=>(this.handleErrorWithoutAlert("FetchPayments",d.m6.NO_SPINNER,"Fetching Payments Failed.",k),(0,v.of)({type:d.pg.VOID})))))))),this.channelsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_CHANNELS_ECL),(0,D.z)(k=>(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,C.U)(g=>(this.logger.info(g),this.rawChannelsList=g,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,I.QZ)({payload:{action:"FetchChannels",status:d.Bn.COMPLETED}})),k.payload&&k.payload.fetchPayments&&this.store.dispatch((0,I.cQ)()),{type:d.pg.VOID})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchChannels",d.m6.NO_SPINNER,"Fetching Channels Failed.",g),(0,v.of)({type:d.pg.VOID})))))))),this.fetchOnchainBalance=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_ONCHAIN_BALANCE_ECL),(0,D.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,C.U)(k=>(this.logger.info(k),this.store.dispatch((0,I.QZ)({payload:{action:"FetchOnchainBalance",status:d.Bn.COMPLETED}})),{type:d.lr.SET_ONCHAIN_BALANCE_ECL,payload:k||{}})),(0,u.K)(k=>(this.handleErrorWithoutAlert("FetchOnchainBalance",d.m6.NO_SPINNER,"Fetching Onchain Balances Failed.",k),(0,v.of)({type:d.pg.VOID}))))),this.peersFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_PEERS_ECL),(0,D.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,C.U)(k=>(this.logger.info(k),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPeers",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PEERS_ECL,payload:k||[]})),(0,u.K)(k=>(this.handleErrorWithoutAlert("FetchPeers",d.m6.NO_SPINNER,"Fetching Peers Failed.",k),(0,v.of)({type:d.pg.VOID})))))))),this.getNewAddress=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.GET_NEW_ADDRESS_ECL),(0,D.z)(()=>(this.store.dispatch((0,S.ac)({payload:d.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API).pipe((0,C.U)(k=>(this.logger.info(k),this.store.dispatch((0,S.uO)({payload:d.m6.GENERATE_NEW_ADDRESS})),{type:d.lr.SET_NEW_ADDRESS_ECL,payload:k})),(0,u.K)(k=>(this.handleErrorWithAlert("GetNewAddress",d.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+d.vv.ON_CHAIN_API,k),(0,v.of)({type:d.pg.VOID})))))))),this.setNewAddress=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SET_NEW_ADDRESS_ECL),(0,C.U)(k=>(this.logger.info(k.payload),k.payload))),{dispatch:!1}),this.saveNewPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SAVE_NEW_PEER_ECL),(0,D.z)(k=>(this.store.dispatch((0,S.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+(k.payload.id.includes("@")?"?uri=":"?nodeId=")+k.payload.id,{}).pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewPeer",status:d.Bn.COMPLETED}})),g=g||[],this.store.dispatch((0,S.uO)({payload:d.m6.CONNECT_PEER})),this.store.dispatch((0,I.Z8)({payload:g})),{type:d.lr.NEWLY_ADDED_PEER_ECL,payload:{peer:g.find(n=>n.nodeId===(k.payload.id.includes("@")?k.payload.id.substring(0,k.payload.id.indexOf("@")):k.payload.id))}})),(0,u.K)(g=>(this.handleErrorWithoutAlert("SaveNewPeer",d.m6.CONNECT_PEER,"Peer Connection Failed.",g),(0,v.of)({type:d.pg.VOID})))))))),this.detachPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.DETACH_PEER_ECL),(0,D.z)(k=>(this.store.dispatch((0,S.ac)({payload:d.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+d.vv.PEERS_API+"/"+k.payload.nodeId).pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,S.uO)({payload:d.m6.DISCONNECT_PEER})),this.store.dispatch((0,S.jW)({payload:"Disconnecting Peer!"})),{type:d.lr.REMOVE_PEER_ECL,payload:{nodeId:k.payload.nodeId}})),(0,u.K)(g=>(this.handleErrorWithAlert("DisconnectPeer",d.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+d.vv.PEERS_API+"/"+k.payload.nodeId,g),(0,v.of)({type:d.pg.VOID})))))))),this.openNewChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SAVE_NEW_CHANNEL_ECL),(0,D.z)(k=>{this.store.dispatch((0,S.ac)({payload:d.m6.OPEN_CHANNEL})),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewChannel",status:d.Bn.INITIATED}}));const g={nodeId:k.payload.nodeId,fundingSatoshis:k.payload.amount,announceChannel:!k.payload.private};return k.payload.feeRate&&k.payload.feeRate>0&&(g.fundingFeerateSatByte=k.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+d.vv.CHANNELS_API,g).pipe((0,C.U)(n=>(this.logger.info(n),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,S.uO)({payload:d.m6.OPEN_CHANNEL})),this.store.dispatch((0,S.jW)({payload:"Channel Added Successfully!"})),{type:d.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,u.K)(n=>(this.handleErrorWithoutAlert("SaveNewChannel",d.m6.OPEN_CHANNEL,"Opening Channel Failed.",n),(0,v.of)({type:d.pg.VOID}))))}))),this.updateChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.UPDATE_CHANNEL_ECL),(0,D.z)(k=>{this.store.dispatch((0,S.ac)({payload:d.m6.UPDATE_CHAN_POLICY}));let g="?feeBaseMsat="+k.payload.baseFeeMsat+"&feeProportionalMillionths="+k.payload.feeRate;return g=k.payload.nodeIds?g+"&nodeIds="+k.payload.nodeIds:k.payload.nodeId?g+"&nodeId="+k.payload.nodeId:k.payload.channelIds?g+"&channelIds="+k.payload.channelIds:g+"&channelId="+k.payload.channelId,this.httpClient.post(this.CHILD_API_URL+d.vv.CHANNELS_API+"/updateRelayFee"+g,{}).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,S.uO)({payload:d.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,S.jW)(k.payload.nodeIds||k.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:d.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,u.K)(n=>(this.handleErrorWithAlert("UpdateChannels",d.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+d.vv.CHANNELS_API,n),(0,v.of)({type:d.pg.VOID}))))}))),this.closeChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.CLOSE_CHANNEL_ECL),(0,D.z)(k=>(this.store.dispatch((0,S.ac)({payload:k.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+d.vv.CHANNELS_API+"?channelId="+k.payload.channelId+"&force="+k.payload.force).pipe((0,C.U)(g=>(this.logger.info(g),setTimeout(()=>{this.store.dispatch((0,S.uO)({payload:k.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL})),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!1}})),this.store.dispatch((0,S.jW)({payload:k.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:d.pg.VOID})),(0,u.K)(g=>(this.handleErrorWithAlert("CloseChannel",k.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,g),(0,v.of)({type:d.pg.VOID})))))))),this.queryRoutesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.GET_QUERY_ROUTES_ECL),(0,D.z)(k=>this.httpClient.get(this.CHILD_API_URL+d.vv.PAYMENTS_API+"/route?nodeId="+k.payload.nodeId+"&amountMsat="+k.payload.amount).pipe((0,C.U)(g=>(this.logger.info(g),{type:d.lr.SET_QUERY_ROUTES_ECL,payload:g})),(0,u.K)(g=>(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="+k.payload.nodeId+"&amountMsat="+k.payload.amount,g),(0,v.of)({type:d.pg.VOID}))))))),this.setQueryRoutes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SET_QUERY_ROUTES_ECL),(0,C.U)(k=>k.payload)),{dispatch:!1}),this.sendPayment=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SEND_PAYMENT_ECL),(0,D.z)(k=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,S.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,k.payload).pipe((0,C.U)(g=>(this.logger.info(g),this.latestPaymentRes=g,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:d.pg.VOID})),(0,u.K)(g=>(this.logger.error("Error: "+JSON.stringify(g)),k.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",d.m6.SEND_PAYMENT,"Send Payment Failed.",g):this.handleErrorWithAlert("SendPayment",d.m6.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+d.vv.PAYMENTS_API,g),(0,v.of)({type:d.pg.VOID})))))))),this.transactionsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_TRANSACTIONS_ECL),(0,D.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,C.U)(k=>(this.logger.info(k),this.store.dispatch((0,I.QZ)({payload:{action:"FetchTransactions",status:d.Bn.COMPLETED}})),{type:d.lr.SET_TRANSACTIONS_ECL,payload:k||[]})),(0,u.K)(k=>(this.handleErrorWithoutAlert("FetchTransactions",d.m6.NO_SPINNER,"Fetching Transactions Failed.",k),(0,v.of)({type:d.pg.VOID}))))),this.SendOnchainFunds=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SEND_ONCHAIN_FUNDS_ECL),(0,D.z)(k=>(this.store.dispatch((0,S.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,k.payload).pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.QZ)({payload:{action:"SendOnchainFunds",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.SEND_FUNDS})),this.store.dispatch((0,I.iL)()),{type:d.lr.SEND_ONCHAIN_FUNDS_RES_ECL,payload:g})),(0,u.K)(g=>(this.handleErrorWithoutAlert("SendOnchainFunds",d.m6.SEND_FUNDS,"Sending Fund Failed.",g),(0,v.of)({type:d.pg.VOID})))))))),this.createInvoice=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.CREATE_INVOICE_ECL),(0,D.z)(k=>(this.store.dispatch((0,S.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,k.payload).pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.QZ)({payload:{action:"CreateInvoice",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.CREATE_INVOICE})),g.timestamp=Math.round((new Date).getTime()/1e3),g.expiresAt=Math.round(g.timestamp+k.payload.expireIn),g.description=k.payload.description,g.status="unpaid",setTimeout(()=>{this.store.dispatch((0,S.qR)({payload:{data:{invoice:g,newlyAdded:!0,component:w.R}}}))},200),{type:d.lr.ADD_INVOICE_ECL,payload:g})),(0,u.K)(g=>(this.handleErrorWithoutAlert("CreateInvoice",d.m6.CREATE_INVOICE,"Create Invoice Failed.",g),(0,v.of)({type:d.pg.VOID})))))))),this.invoicesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_INVOICES_ECL),(0,D.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,C.U)(k=>(this.logger.info(k),this.store.dispatch((0,I.QZ)({payload:{action:"FetchInvoices",status:d.Bn.COMPLETED}})),{type:d.lr.SET_INVOICES_ECL,payload:k})),(0,u.K)(k=>(this.handleErrorWithoutAlert("FetchInvoices",d.m6.NO_SPINNER,"Fetching Invoices Failed.",k),(0,v.of)({type:d.pg.VOID})))))))),this.peerLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.PEER_LOOKUP_ECL),(0,D.z)(k=>(this.store.dispatch((0,S.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/"+k.payload).pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.SEARCHING_NODE})),{type:d.lr.SET_LOOKUP_ECL,payload:g})),(0,u.K)(g=>(this.handleErrorWithAlert("Lookup",d.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+d.vv.NETWORK_API+"/nodes/"+k.payload,g),(0,v.of)({type:d.pg.VOID})))))))),this.invoiceLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.INVOICE_LOOKUP_ECL),(0,D.z)(k=>(this.store.dispatch((0,S.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+"/"+k.payload).pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.aL)({payload:g})),{type:d.lr.SET_LOOKUP_ECL,payload:g})),(0,u.K)(g=>(this.handleErrorWithoutAlert("Lookup",d.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",g),this.store.dispatch((0,S.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,v.of)({type:d.pg.VOID})))))))),this.setLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SET_LOOKUP_ECL),(0,C.U)(k=>(this.logger.info(k.payload),k.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_PAGE_SETTINGS_ECL),(0,D.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.INITIATED}})),this.httpClient.get(d.vv.PAGE_SETTINGS_API).pipe((0,C.U)(k=>(this.logger.info(k),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:k||[]})),(0,u.K)(k=>(this.handleErrorWithoutAlert("FetchPageSettings",d.m6.NO_SPINNER,"Fetching Page Settings Failed.",k),(0,v.of)({type:d.pg.VOID})))))))),this.savePageSettingsCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SAVE_PAGE_SETTINGS_ECL),(0,D.z)(k=>(this.store.dispatch((0,S.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,k.payload).pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.QZ)({payload:{action:"SavePageSettings",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,S.jW)({payload:"Page Layout Updated Successfully!"})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:g||[]})),(0,u.K)(g=>(this.handleErrorWithAlert("SavePageSettings",d.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",d.vv.PAGE_SETTINGS_API,g),(0,v.of)({type:d.pg.VOID})))))))),this.handleSendPaymentStatus=k=>{this.store.dispatch((0,I.QZ)({payload:{action:"SendPayment",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.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,S.jW)({payload:k}))},this.store.select(E.yA).pipe((0,o.R)(this.unSubs[0])).subscribe(k=>{k.FetchInfo.status!==d.Bn.COMPLETED&&k.FetchInfo.status!==d.Bn.ERROR||k.FetchFees.status!==d.Bn.COMPLETED&&k.FetchFees.status!==d.Bn.ERROR||k.FetchOnchainBalance.status!==d.Bn.COMPLETED&&k.FetchOnchainBalance.status!==d.Bn.ERROR||k.FetchChannels.status!==d.Bn.COMPLETED&&k.FetchChannels.status!==d.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,S.uO)({payload:d.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,o.R)(this.unSubs[1])).subscribe(k=>{this.logger.info("Received new message from the service: "+JSON.stringify(k));let g="";if(k)switch(k.type){case d.$v.PAYMENT_SENT:k&&k.id&&this.latestPaymentRes===k.id&&(this.flgReceivedPaymentUpdateFromWS=!0,g="Payment Sent: "+(k.paymentHash?"with payment hash "+k.paymentHash:JSON.stringify(k)),this.handleSendPaymentStatus(g));break;case d.$v.PAYMENT_FAILED:k&&k.id&&this.latestPaymentRes===k.id&&(this.flgReceivedPaymentUpdateFromWS=!0,g="Payment Failed: "+(k.failures&&k.failures.length&&k.failures.length>0&&k.failures[0].t?k.failures[0].t:k.failures&&k.failures.length&&k.failures.length>0&&k.failures[0].e&&k.failures[0].e.failureMessage?k.failures[0].e.failureMessage:JSON.stringify(k)),this.handleSendPaymentStatus(g));break;case d.$v.PAYMENT_RECEIVED:this.store.dispatch((0,I.aL)({payload:k}));break;case d.$v.PAYMENT_RELAYED:delete k.source,k.amountIn=Math.round((k.amountIn||0)/1e3),k.amountOut=Math.round((k.amountOut||0)/1e3),k.timestamp.unix&&(k.timestamp=1e3*k.timestamp.unix),this.store.dispatch((0,I.ti)({payload:k}));break;case d.$v.CHANNEL_STATE_CHANGED:"NORMAL"===k.currentState||"CLOSED"===k.currentState?(this.rawChannelsList=this.rawChannelsList?.map(n=>(n.channelId===k.channelId&&n.nodeId===k.remoteNodeId&&(n.state=k.currentState),n)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,I.DJ)({payload:k}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(k))}})}setChannelsAndStatusAndBalances(){let $=0,fe=0,T=0,i={localBalance:0,remoteBalance:0},r=[];const h=[],l=[],y={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((A,k)=>{A&&("NORMAL"===A.state?($=(A.toLocal||0)+(A.toRemote||0),fe+=A.toLocal||0,T+=A.toRemote||0,A.balancedness=0===$?1:+(1-Math.abs(((A.toLocal||0)-(A.toRemote||0))/$)).toFixed(3),r.push(A),y.active.channels=y.active.channels+1,y.active.capacity=y.active.capacity+(A.toLocal||0)):A.state?.includes("WAIT")||A.state?.includes("CLOSING")||A.state?.includes("SYNCING")?(A.state=A.state?.replace(/_/g," "),h.push(A),y.pending.channels=y.pending.channels+1,y.pending.capacity=y.pending.capacity+(A.toLocal||0)):(A.state=A.state?.replace(/_/g," "),l.push(A),y.inactive.channels=y.inactive.channels+1,y.inactive.capacity=y.inactive.capacity+(A.toLocal||0)))}),i={localBalance:fe,remoteBalance:T},r=this.commonService.sortDescByKey(r,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(r)),this.logger.info("Pending Channels: "+JSON.stringify(h)),this.logger.info("Inactive Channels: "+JSON.stringify(l)),this.logger.info("Lightning Balances: "+JSON.stringify(i)),this.logger.info("Channels Status: "+JSON.stringify(y)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:r,pending:h,inactive:l,balances:i,status:y})),this.store.dispatch((0,I.eN)({payload:r})),this.store.dispatch((0,I.TW)({payload:h})),this.store.dispatch((0,I.i)({payload:l})),this.store.dispatch((0,I.On)({payload:i})),this.store.dispatch((0,I.HG)({payload:y}))}initializeRemainingData($,fe){this.sessionService.setItem("eclUnlocked","true");const T={identity_pubkey:$.nodeId,alias:$.alias,testnet:"testnet"===$.network,chains:$.publicAddresses,uris:$.uris,version:$.version,numberOfPendingChannels:0};this.store.dispatch((0,S.ac)({payload:d.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,S._V)({payload:T}));let i=this.location.path();i.includes("/lnd/")?i=i?.replace("/lnd/","/ecl/"):i.includes("/cln/")&&(i=i?.replace("/cln/","/ecl/")),(i.includes("/login")||i.includes("/error")||""===i||"HOME"===fe||i.includes("?access-key="))&&(i="/ecl/home"),this.router.navigate([i]),this.store.dispatch((0,I.wD)()),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($,fe,T,i){this.logger.error("ERROR IN: "+$+"\n"+JSON.stringify(i)),401===i.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,S.ts)()),this.store.dispatch((0,S.kS)()),this.store.dispatch((0,S.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,S.uO)({payload:fe})),this.store.dispatch((0,I.QZ)({payload:{action:$,status:d.Bn.ERROR,statusCode:i.status.toString(),message:this.commonService.extractErrorMessage(i,T)}})))}handleErrorWithAlert($,fe,T,i,r){if(this.logger.error(r),401===r.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,S.ts)()),this.store.dispatch((0,S.kS)()),this.store.dispatch((0,S.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,S.uO)({payload:fe}));const h=this.commonService.extractErrorMessage(r);this.store.dispatch((0,S.qR)({payload:{data:{type:"ERROR",alertTitle:T,message:{code:r.status,message:h,URL:i},component:P.H}}})),this.store.dispatch((0,I.QZ)({payload:{action:$,status:d.Bn.ERROR,statusCode:r.status.toString(),message:h,URL:i}}))}}ngOnDestroy(){this.unSubs.forEach($=>{$.next(null),$.complete()})}}ie.\u0275fac=function($){return new($||ie)(N.LFG(t.eX),N.LFG(z.eN),N.LFG(G.yh),N.LFG(W.m),N.LFG(Y.v),N.LFG(X.mQ),N.LFG(ee.F0),N.LFG(ue.d),N.LFG(he.Ye))},ie.\u0275prov=N.Yz7({token:ie,factory:ie.\u0275fac})},2501:(Ve,Q,m)=>{"use strict";m.d(Q,{Bo:()=>W,Ef:()=>G,JG:()=>S,LR:()=>v,PP:()=>d,T$:()=>C,Xz:()=>N,dx:()=>z,kY:()=>Y,nF:()=>D,yA:()=>P,yD:()=>o});var t=m(9653);const e=(0,t.ZF)("ecl"),v=(0,t.P1)(e,X=>X.nodeSettings),D=(0,t.P1)(e,X=>({pageSettings:X.pageSettings,apiCallStatus:X.apisCallStatus.FetchPageSettings})),o=(0,t.P1)(e,X=>X.information),C=(0,t.P1)(e,X=>({information:X.information,apiCallStatus:X.apisCallStatus.FetchInfo})),P=((0,t.P1)(e,X=>X.apisCallStatus.FetchInfo),(0,t.P1)(e,X=>X.apisCallStatus)),d=(0,t.P1)(e,X=>({payments:X.payments,apiCallStatus:X.apisCallStatus.FetchPayments})),S=(0,t.P1)(e,X=>({fees:X.fees,apiCallStatus:X.apisCallStatus.FetchFees})),N=((0,t.P1)(e,X=>({activeChannels:X.activeChannels,apiCallStatus:X.apisCallStatus.FetchChannels})),(0,t.P1)(e,X=>({pendingChannels:X.pendingChannels,apiCallStatus:X.apisCallStatus.FetchChannels})),(0,t.P1)(e,X=>({inactiveChannels:X.inactiveChannels,apiCallStatus:X.apisCallStatus.FetchChannels})),(0,t.P1)(e,X=>({activeChannels:X.activeChannels,pendingChannels:X.pendingChannels,inactiveChannels:X.inactiveChannels,lightningBalance:X.lightningBalance,channelsStatus:X.channelsStatus,apiCallStatus:X.apisCallStatus.FetchChannels}))),z=(0,t.P1)(e,X=>({transactions:X.transactions,apiCallStatus:X.apisCallStatus.FetchTransactions})),G=(0,t.P1)(e,X=>({invoices:X.invoices,apiCallStatus:X.apisCallStatus.FetchInvoices})),W=(0,t.P1)(e,X=>({peers:X.peers,apiCallStatus:X.apisCallStatus.FetchPeers})),Y=(0,t.P1)(e,X=>({onchainBalance:X.onchainBalance,apiCallStatus:X.apisCallStatus.FetchOnchainBalance}))},7766:(Ve,Q,m)=>{"use strict";m.d(Q,{R:()=>Ie});var t=m(7274),e=m(2687),v=m(7579),D=m(2722),o=m(7731),C=m(2501),u=m(4650),P=m(5043),d=m(62),S=m(7009),w=m(9653),I=m(6895),E=m(2216),N=m(1576),z=m(5829),G=m(4859),W=m(3546),Y=m(4850),X=m(1572),ee=m(658),ue=m(5199),he=m(3390);function ie(xe,le){if(1&xe&&u._UZ(0,"qr-code",29),2&xe){const _e=u.oxw();u.Q6J("value",null==_e.invoice?null:_e.invoice.serialized)("size",_e.qrWidth)("errorCorrectionLevel","L")}}function ce(xe,le){1&xe&&(u.TgZ(0,"span",30),u._uU(1,"N/A"),u.qZA())}function $(xe,le){if(1&xe&&u._UZ(0,"qr-code",29),2&xe){const _e=u.oxw();u.Q6J("value",null==_e.invoice?null:_e.invoice.serialized)("size",_e.qrWidth)("errorCorrectionLevel","L")}}function fe(xe,le){1&xe&&(u.TgZ(0,"span",31),u._uU(1,"QR Code Not Applicable"),u.qZA())}function T(xe,le){1&xe&&u._UZ(0,"mat-divider",32),2&xe&&u.Q6J("inset",!0)}function i(xe,le){1&xe&&(u.ynx(0),u._uU(1," (zero amount) "),u.BQk())}function r(xe,le){1&xe&&u._UZ(0,"span",38)}const h=function(){return[]};function l(xe,le){if(1&xe&&(u.TgZ(0,"div",34)(1,"div",35)(2,"span",36),u._uU(3),u.ALo(4,"number"),u.qZA(),u.YNc(5,r,1,0,"span",37),u.qZA()()),2&xe){const _e=u.oxw(2);u.xp6(3),u.hij("",u.lcZ(4,2,null==_e.invoice?null:_e.invoice.amountSettled)," Sats"),u.xp6(2),u.Q6J("ngForOf",u.DdM(4,h).constructor(35))}}function y(xe,le){if(1&xe&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"number"),u.qZA()),2&xe){const _e=u.oxw(2);u.xp6(1),u.hij("",u.lcZ(2,1,null==_e.invoice?null:_e.invoice.amountSettled)," Sats")}}function A(xe,le){if(1&xe&&(u.ynx(0),u.YNc(1,l,6,5,"div",33),u.YNc(2,y,3,3,"div",19),u.BQk()),2&xe){const _e=u.oxw();u.xp6(1),u.Q6J("ngIf",_e.flgInvoicePaid),u.xp6(1),u.Q6J("ngIf",!_e.flgInvoicePaid)}}function k(xe,le){1&xe&&(u.TgZ(0,"span"),u._uU(1,"-"),u.qZA())}function g(xe,le){1&xe&&u._UZ(0,"mat-spinner",40),2&xe&&u.Q6J("diameter",20)}function n(xe,le){if(1&xe&&(u.ynx(0),u.YNc(1,k,2,0,"span",19),u.YNc(2,g,1,1,"mat-spinner",39),u.BQk()),2&xe){const _e=u.oxw();u.xp6(1),u.Q6J("ngIf","unpaid"!==(null==_e.invoice?null:_e.invoice.status)||!_e.flgVersionCompatible),u.xp6(1),u.Q6J("ngIf","unpaid"===(null==_e.invoice?null:_e.invoice.status)&&_e.flgVersionCompatible)}}function b(xe,le){if(1&xe&&(u.TgZ(0,"div"),u._UZ(1,"mat-divider",20),u.TgZ(2,"div",15)(3,"div",41)(4,"h4",17),u._uU(5,"Date Expiry"),u.qZA(),u.TgZ(6,"span",18),u._uU(7),u.ALo(8,"date"),u.qZA()(),u.TgZ(9,"div",42)(10,"h4",17),u._uU(11,"Date Settled"),u.qZA(),u.TgZ(12,"span",21),u._uU(13),u.ALo(14,"date"),u.qZA()()(),u._UZ(15,"mat-divider",20),u.TgZ(16,"div",15)(17,"div",22)(18,"h4",17),u._uU(19,"Payment Hash"),u.qZA(),u.TgZ(20,"span",21),u._uU(21),u.qZA()()(),u._UZ(22,"mat-divider",20),u.TgZ(23,"div",15)(24,"div",22)(25,"h4",17),u._uU(26,"Node ID"),u.qZA(),u.TgZ(27,"span",21),u._uU(28),u.qZA()()(),u._UZ(29,"mat-divider",20),u.qZA()),2&xe){const _e=u.oxw();u.xp6(7),u.Oqu(u.xi3(8,4,1e3*(null==_e.invoice?null:_e.invoice.expiresAt),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(u.xi3(14,7,1e3*(null==_e.invoice?null:_e.invoice.receivedAt),"dd/MMM/y HH:mm")),u.xp6(8),u.Oqu(null==_e.invoice?null:_e.invoice.paymentHash),u.xp6(7),u.Oqu(null==_e.invoice?null:_e.invoice.nodeId)}}function U(xe,le){1&xe&&(u.TgZ(0,"p"),u._uU(1,"Show Advanced"),u.qZA())}function V(xe,le){1&xe&&(u.TgZ(0,"p"),u._uU(1,"Hide Advanced"),u.qZA())}function j(xe,le){if(1&xe){const _e=u.EpF();u.TgZ(0,"button",43),u.NdJ("copied",function(Ye){u.CHM(_e);const Te=u.oxw();return u.KtG(Te.onCopyPayment(Ye))}),u._uU(1,"Copy Invoice"),u.qZA()}if(2&xe){const _e=u.oxw();u.Q6J("payload",null==_e.invoice?null:_e.invoice.serialized)}}function Ae(xe,le){if(1&xe){const _e=u.EpF();u.TgZ(0,"button",44),u.NdJ("click",function(){u.CHM(_e);const Ye=u.oxw();return u.KtG(Ye.onClose())}),u._uU(1,"OK"),u.qZA()}}const Ke=function(xe){return{"display-none":xe}},qe=function(xe){return{"xs-scroll-y":xe}},ct=function(xe,le){return{"mt-2":xe,"mt-1":le}};class Ie{constructor(le,_e,se,Ye,Te,oe){this.dialogRef=le,this.data=_e,this.logger=se,this.commonService=Ye,this.snackBar=Te,this.store=oe,this.faReceipt=e.dLy,this.faExclamationTriangle=e.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=o.cu,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new v.x,new v.x,new v.x,new v.x,new v.x]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===o.cu.XS&&(this.qrWidth=220),this.store.select(C.yD).pipe((0,D.R)(this.unSubs[0])).subscribe(le=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(le.version,"0.5.0")}),this.store.select(C.Ef).pipe((0,D.R)(this.unSubs[1])).subscribe(le=>{const _e=this.invoice.status,Ye=(le.invoices&&le.invoices.length>0?le.invoices:[])?.find(Te=>Te.paymentHash===this.invoice.paymentHash)||null;Ye&&(this.invoice=Ye),_e!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(le)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(le){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+le)}ngOnDestroy(){this.unSubs.forEach(le=>{le.next(null),le.complete()})}}Ie.\u0275fac=function(le){return new(le||Ie)(u.Y36(t.so),u.Y36(t.WI),u.Y36(P.mQ),u.Y36(d.v),u.Y36(S.ux),u.Y36(w.yh))},Ie.\u0275cmp=u.Xpm({type:Ie,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,_e){if(1&le&&(u.TgZ(0,"div",0)(1,"div",1),u.YNc(2,ie,1,3,"qr-code",2),u.YNc(3,ce,2,0,"span",3),u.qZA(),u.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),u._UZ(7,"fa-icon",7),u.TgZ(8,"span",8),u._uU(9),u.qZA()(),u.TgZ(10,"button",9),u.NdJ("click",function(){return _e.onClose()}),u._uU(11,"X"),u.qZA()(),u.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),u.YNc(15,$,1,3,"qr-code",2),u.YNc(16,fe,2,0,"span",13),u.qZA(),u.YNc(17,T,1,1,"mat-divider",14),u.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),u._uU(21,"Amount Requested"),u.qZA(),u.TgZ(22,"span",18),u._uU(23),u.ALo(24,"number"),u.YNc(25,i,2,0,"ng-container",19),u.qZA()(),u.TgZ(26,"div",16)(27,"h4",17),u._uU(28,"Amount Settled"),u.qZA(),u.TgZ(29,"span",18),u.YNc(30,A,3,2,"ng-container",19),u.YNc(31,n,3,2,"ng-container",19),u.qZA()()(),u._UZ(32,"mat-divider",20),u.TgZ(33,"div",15)(34,"div",16)(35,"h4",17),u._uU(36,"Date Created"),u.qZA(),u.TgZ(37,"span",21),u._uU(38),u.ALo(39,"date"),u.qZA()(),u.TgZ(40,"div",16)(41,"h4",17),u._uU(42,"Status"),u.qZA(),u.TgZ(43,"span",21),u._uU(44),u.ALo(45,"titlecase"),u.qZA()()(),u._UZ(46,"mat-divider",20),u.TgZ(47,"div",15)(48,"div",22)(49,"h4",17),u._uU(50,"Description"),u.qZA(),u.TgZ(51,"span",18),u._uU(52),u.qZA()()(),u._UZ(53,"mat-divider",20),u.TgZ(54,"div",15)(55,"div",22)(56,"h4",17),u._uU(57,"Invoice"),u.qZA(),u.TgZ(58,"span",21),u._uU(59),u.qZA()()(),u.YNc(60,b,30,10,"div",19),u.TgZ(61,"div",23)(62,"button",24),u.NdJ("click",function(){return _e.onShowAdvanced()}),u.YNc(63,U,2,0,"p",25),u.YNc(64,V,2,0,"ng-template",null,26,u.W1O),u.qZA(),u.YNc(66,j,2,1,"button",27),u.YNc(67,Ae,2,0,"button",28),u.qZA()()()()()),2&le){const se=u.MAs(65);u.xp6(1),u.Q6J("fxLayoutAlign",null!=_e.invoice&&_e.invoice.serialized&&""!==(null==_e.invoice?null:_e.invoice.serialized)?"center start":"center center")("ngClass",u.VKq(33,Ke,_e.screenSize===_e.screenSizeEnum.XS||_e.screenSize===_e.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==_e.invoice?null:_e.invoice.serialized)&&""!==(null==_e.invoice?null:_e.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",!(null!=_e.invoice&&_e.invoice.serialized)||""===(null==_e.invoice?null:_e.invoice.serialized)),u.xp6(4),u.Q6J("icon",_e.faReceipt),u.xp6(2),u.Oqu(_e.screenSize===_e.screenSizeEnum.XS?_e.newlyAdded?"Created":"Invoice":_e.newlyAdded?"Invoice Created":"Invoice Information"),u.xp6(3),u.Q6J("ngClass",u.VKq(35,qe,_e.screenSize===_e.screenSizeEnum.XS)),u.xp6(2),u.Q6J("fxLayoutAlign",null!=_e.invoice&&_e.invoice.serialized&&""!==(null==_e.invoice?null:_e.invoice.serialized)?"center start":"center center")("ngClass",u.VKq(37,Ke,_e.screenSize!==_e.screenSizeEnum.XS&&_e.screenSize!==_e.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==_e.invoice?null:_e.invoice.serialized)&&""!==(null==_e.invoice?null:_e.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",!(null!=_e.invoice&&_e.invoice.serialized)||""===(null==_e.invoice?null:_e.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",_e.screenSize===_e.screenSizeEnum.XS||_e.screenSize===_e.screenSizeEnum.SM),u.xp6(6),u.hij("",u.lcZ(24,26,(null==_e.invoice?null:_e.invoice.amount)||0)," Sats"),u.xp6(2),u.Q6J("ngIf",!(null!=_e.invoice&&_e.invoice.amount)||"0"===(null==_e.invoice?null:_e.invoice.amount)),u.xp6(5),u.Q6J("ngIf",null==_e.invoice?null:_e.invoice.amountSettled),u.xp6(1),u.Q6J("ngIf",!(null!=_e.invoice&&_e.invoice.amountSettled)),u.xp6(7),u.Oqu(u.xi3(39,28,1e3*(null==_e.invoice?null:_e.invoice.timestamp),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(u.lcZ(45,31,null==_e.invoice?null:_e.invoice.status)),u.xp6(8),u.Oqu((null==_e.invoice?null:_e.invoice.description)||"-"),u.xp6(7),u.Oqu((null==_e.invoice?null:_e.invoice.serialized)||"N/A"),u.xp6(1),u.Q6J("ngIf",_e.showAdvanced),u.xp6(1),u.Q6J("ngClass",u.WLB(39,ct,!_e.showAdvanced,_e.showAdvanced)),u.xp6(2),u.Q6J("ngIf",!_e.showAdvanced)("ngIfElse",se),u.xp6(3),u.Q6J("ngIf",(null==_e.invoice?null:_e.invoice.serialized)&&""!==(null==_e.invoice?null:_e.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",!(null!=_e.invoice&&_e.invoice.serialized)||""===(null==_e.invoice?null:_e.invoice.serialized))}},dependencies:[I.mk,I.sg,I.O5,E.BN,N.xw,N.Wh,N.yH,z.oO,G.lW,W.dn,W.dk,Y.d,X.Ou,ee.uU,ue.y,he.h,I.JJ,I.rS,I.uU]})},6523:(Ve,Q,m)=>{"use strict";m.d(Q,{$A:()=>Nt,$W:()=>w,BL:()=>k,B_:()=>Ae,Bl:()=>he,CX:()=>S,Cp:()=>b,EK:()=>G,El:()=>E,Fr:()=>bt,HI:()=>be,JT:()=>o,Jl:()=>ie,Jo:()=>Ht,Lf:()=>se,Ll:()=>D,Ly:()=>Ye,Nr:()=>Ie,OG:()=>g,PC:()=>v,QJ:()=>tt,RX:()=>ue,Rd:()=>W,Rv:()=>ce,SN:()=>ee,Sf:()=>ne,TW:()=>r,UH:()=>Te,UR:()=>fe,Vv:()=>n,WM:()=>ct,WO:()=>Bt,Wi:()=>ke,YP:()=>X,YX:()=>A,Z7:()=>i,Z8:()=>I,Zh:()=>h,_E:()=>de,_L:()=>l,aL:()=>xe,as:()=>T,cQ:()=>oe,dV:()=>Be,eF:()=>P,fu:()=>nt,kL:()=>Lt,ks:()=>$,mC:()=>_e,n7:()=>De,oV:()=>te,pW:()=>y,pd:()=>u,qY:()=>le,sQ:()=>d,tb:()=>j,u0:()=>Pe,vV:()=>Ke,wD:()=>C,xG:()=>_t,y2:()=>it,yZ:()=>He,z:()=>z});var t=m(9653),e=m(7731);const v=(0,t.PH)(e.uR.UPDATE_API_CALL_STATUS_LND,(0,t.Ky)()),D=(0,t.PH)(e.uR.RESET_LND_STORE,(0,t.Ky)()),o=(0,t.PH)(e.uR.SET_CHILD_NODE_SETTINGS_LND,(0,t.Ky)()),C=(0,t.PH)(e.uR.FETCH_PAGE_SETTINGS_LND),u=(0,t.PH)(e.uR.SET_PAGE_SETTINGS_LND,(0,t.Ky)()),P=(0,t.PH)(e.uR.SAVE_PAGE_SETTINGS_LND,(0,t.Ky)()),d=(0,t.PH)(e.uR.FETCH_INFO_LND,(0,t.Ky)()),S=(0,t.PH)(e.uR.SET_INFO_LND,(0,t.Ky)()),w=(0,t.PH)(e.uR.FETCH_PEERS_LND),I=(0,t.PH)(e.uR.SET_PEERS_LND,(0,t.Ky)()),E=(0,t.PH)(e.uR.SAVE_NEW_PEER_LND,(0,t.Ky)()),z=((0,t.PH)(e.uR.NEWLY_ADDED_PEER_LND,(0,t.Ky)()),(0,t.PH)(e.uR.DETACH_PEER_LND,(0,t.Ky)())),G=(0,t.PH)(e.uR.REMOVE_PEER_LND,(0,t.Ky)()),W=(0,t.PH)(e.uR.SAVE_NEW_INVOICE_LND,(0,t.Ky)()),X=((0,t.PH)(e.uR.NEWLY_SAVED_INVOICE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.ADD_INVOICE_LND,(0,t.Ky)())),ee=(0,t.PH)(e.uR.FETCH_FEES_LND),ue=(0,t.PH)(e.uR.SET_FEES_LND,(0,t.Ky)()),he=(0,t.PH)(e.uR.FETCH_BLOCKCHAIN_BALANCE_LND),ie=(0,t.PH)(e.uR.SET_BLOCKCHAIN_BALANCE_LND,(0,t.Ky)()),ce=(0,t.PH)(e.uR.FETCH_NETWORK_LND),$=(0,t.PH)(e.uR.SET_NETWORK_LND,(0,t.Ky)()),fe=(0,t.PH)(e.uR.FETCH_CHANNELS_LND),T=(0,t.PH)(e.uR.SET_CHANNELS_LND,(0,t.Ky)()),i=(0,t.PH)(e.uR.FETCH_PENDING_CHANNELS_LND),r=(0,t.PH)(e.uR.SET_PENDING_CHANNELS_LND,(0,t.Ky)()),h=(0,t.PH)(e.uR.FETCH_CLOSED_CHANNELS_LND),l=(0,t.PH)(e.uR.SET_CLOSED_CHANNELS_LND,(0,t.Ky)()),y=(0,t.PH)(e.uR.UPDATE_CHANNEL_LND,(0,t.Ky)()),A=(0,t.PH)(e.uR.SAVE_NEW_CHANNEL_LND,(0,t.Ky)()),k=(0,t.PH)(e.uR.CLOSE_CHANNEL_LND,(0,t.Ky)()),g=(0,t.PH)(e.uR.REMOVE_CHANNEL_LND,(0,t.Ky)()),n=(0,t.PH)(e.uR.BACKUP_CHANNELS_LND,(0,t.Ky)()),b=(0,t.PH)(e.uR.VERIFY_CHANNEL_LND,(0,t.Ky)()),j=((0,t.PH)(e.uR.BACKUP_CHANNELS_RES_LND,(0,t.Ky)()),(0,t.PH)(e.uR.VERIFY_CHANNEL_RES_LND,(0,t.Ky)()),(0,t.PH)(e.uR.RESTORE_CHANNELS_LIST_LND)),Ae=(0,t.PH)(e.uR.SET_RESTORE_CHANNELS_LIST_LND,(0,t.Ky)()),Ke=(0,t.PH)(e.uR.RESTORE_CHANNELS_LND,(0,t.Ky)()),ct=((0,t.PH)(e.uR.RESTORE_CHANNELS_RES_LND,(0,t.Ky)()),(0,t.PH)(e.uR.FETCH_INVOICES_LND,(0,t.Ky)())),Ie=(0,t.PH)(e.uR.SET_INVOICES_LND,(0,t.Ky)()),xe=(0,t.PH)(e.uR.UPDATE_INVOICE_LND,(0,t.Ky)()),le=(0,t.PH)(e.uR.UPDATE_PAYMENT_LND,(0,t.Ky)()),_e=(0,t.PH)(e.uR.FETCH_TRANSACTIONS_LND),se=(0,t.PH)(e.uR.SET_TRANSACTIONS_LND,(0,t.Ky)()),Ye=(0,t.PH)(e.uR.FETCH_UTXOS_LND),Te=(0,t.PH)(e.uR.SET_UTXOS_LND,(0,t.Ky)()),oe=(0,t.PH)(e.uR.FETCH_PAYMENTS_LND,(0,t.Ky)()),be=(0,t.PH)(e.uR.SET_PAYMENTS_LND,(0,t.Ky)()),te=(0,t.PH)(e.uR.SEND_PAYMENT_LND,(0,t.Ky)()),Be=((0,t.PH)(e.uR.SEND_PAYMENT_STATUS_LND,(0,t.Ky)()),(0,t.PH)(e.uR.FETCH_GRAPH_NODE_LND,(0,t.Ky)())),de=((0,t.PH)(e.uR.SET_GRAPH_NODE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.GET_NEW_ADDRESS_LND,(0,t.Ky)())),ke=((0,t.PH)(e.uR.SET_NEW_ADDRESS_LND,(0,t.Ky)()),(0,t.PH)(e.uR.SET_CHANNEL_TRANSACTION_LND,(0,t.Ky)())),nt=((0,t.PH)(e.uR.SET_CHANNEL_TRANSACTION_RES_LND,(0,t.Ky)()),(0,t.PH)(e.uR.GEN_SEED_LND,(0,t.Ky)())),it=((0,t.PH)(e.uR.GEN_SEED_RESPONSE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.INIT_WALLET_LND,(0,t.Ky)())),_t=((0,t.PH)(e.uR.INIT_WALLET_RESPONSE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.UNLOCK_WALLET_LND,(0,t.Ky)())),ne=(0,t.PH)(e.uR.PEER_LOOKUP_LND,(0,t.Ky)()),Nt=(0,t.PH)(e.uR.CHANNEL_LOOKUP_LND,(0,t.Ky)()),De=(0,t.PH)(e.uR.INVOICE_LOOKUP_LND,(0,t.Ky)()),He=(0,t.PH)(e.uR.PAYMENT_LOOKUP_LND,(0,t.Ky)()),Pe=((0,t.PH)(e.uR.SET_LOOKUP_LND,(0,t.Ky)()),(0,t.PH)(e.uR.GET_FORWARDING_HISTORY_LND,(0,t.Ky)())),tt=(0,t.PH)(e.uR.SET_FORWARDING_HISTORY_LND,(0,t.Ky)()),Bt=(0,t.PH)(e.uR.GET_QUERY_ROUTES_LND,(0,t.Ky)()),Lt=(0,t.PH)(e.uR.SET_QUERY_ROUTES_LND,(0,t.Ky)()),Ht=(0,t.PH)(e.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),bt=(0,t.PH)(e.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,t.Ky)())},711:(Ve,Q,m)=>{"use strict";m.d(Q,{l:()=>$});var t=m(493),e=m(7579),v=m(9646),D=m(5577),o=m(2722),C=m(4004),u=m(262),P=m(1365),d=m(8627),S=m(1786),w=m(7731),I=m(7861),E=m(6523),N=m(6529),z=m(4650),G=m(529),W=m(9653),Y=m(5043),X=m(62),ee=m(5986),ue=m(7274),he=m(9116),ie=m(7998),ce=m(6895);class ${constructor(T,i,r,h,l,y,A,k,g,n){this.actions=T,this.httpClient=i,this.store=r,this.logger=h,this.commonService=l,this.sessionService=y,this.dialog=A,this.router=k,this.wsService=g,this.location=n,this.CHILD_API_URL=w.T5+"/lnd",this.invoicesPageSize=w.IV,this.paymentsPageSize=w.IV,this.flgInitialized=!1,this.unSubs=[new e.x,new e.x],this.infoFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_INFO_LND),(0,D.z)(b=>(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:w.m6.GET_NODE_INFO})),this.store.dispatch((0,E.PC)({payload:{action:"FetchInfo",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.GETINFO_API).pipe((0,o.R)(this.actions.pipe((0,t.l4)(w.pg.SET_SELECTED_NODE))),(0,C.U)(U=>(this.logger.info(U),U.chains&&U.chains.length&&U.chains[0]&&("string"==typeof U.chains[0]&&U.chains[0].toLowerCase().indexOf("bitcoin")<0||"object"==typeof U.chains[0]&&U.chains[0].hasOwnProperty("chain")&&U.chains[0].chain&&U.chains[0].chain.toLowerCase().indexOf("bitcoin")<0)?(this.store.dispatch((0,E.PC)({payload:{action:"FetchInfo",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.qR)({payload:{data:{type:w.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:w.pg.LOGOUT}):U.identity_pubkey?(U.lnImplementation="LND",this.initializeRemainingData(U,b.payload.loadPage),this.store.dispatch((0,E.PC)({payload:{action:"FetchInfo",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),{type:w.uR.SET_INFO_LND,payload:U||{}}):(this.store.dispatch((0,E.PC)({payload:{action:"FetchInfo",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:w.uR.SET_INFO_LND,payload:{}}))),(0,u.K)(U=>{if("string"==typeof U.error.error&&U.error.error.includes("Not Found")||"string"==typeof U.error.error&&U.error.error.includes("wallet locked")||502===U.status&&!U.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",w.m6.GET_NODE_INFO,"Fetching Node Info Failed.",U);else if("string"==typeof U.error.error&&U.error.error.includes("starting up")&&500===U.status)setTimeout(()=>{this.store.dispatch((0,E.sQ)({payload:{loadPage:"HOME"}}))},2e3);else{const V=this.commonService.extractErrorCode(U),j=503===V?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(U);this.router.navigate(["/error"],{state:{errorCode:V,errorMessage:j}}),this.handleErrorWithoutAlert("FetchInfo",w.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:V,error:j})}return(0,v.of)({type:w.pg.VOID})})))))),this.peersFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_PEERS_LND),(0,D.z)(()=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchPeers",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.PEERS_API).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,E.PC)({payload:{action:"FetchPeers",status:w.Bn.COMPLETED}})),{type:w.uR.SET_PEERS_LND,payload:b||[]})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchPeers",w.m6.NO_SPINNER,"Fetching Peers Failed.",b),(0,v.of)({type:w.pg.VOID})))))))),this.saveNewPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SAVE_NEW_PEER_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.CONNECT_PEER})),this.store.dispatch((0,E.PC)({payload:{action:"SaveNewPeer",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.PEERS_API,{pubkey:b.payload.pubkey,host:b.payload.host,perm:b.payload.perm}).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,E.PC)({payload:{action:"SaveNewPeer",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:w.m6.CONNECT_PEER})),this.store.dispatch((0,E.Z8)({payload:U||[]})),{type:w.uR.NEWLY_ADDED_PEER_LND,payload:{peer:U[0]}})),(0,u.K)(U=>(this.handleErrorWithoutAlert("SaveNewPeer",w.m6.CONNECT_PEER,"Peer Connection Failed.",U),(0,v.of)({type:w.pg.VOID})))))))),this.detachPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.DETACH_PEER_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+w.vv.PEERS_API+"/"+b.payload.pubkey).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,I.uO)({payload:w.m6.DISCONNECT_PEER})),this.store.dispatch((0,I.jW)({payload:"Peer Disconnected Successfully."})),{type:w.uR.REMOVE_PEER_LND,payload:{pubkey:b.payload.pubkey}})),(0,u.K)(U=>(this.handleErrorWithAlert("DetachPeer",w.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+w.vv.PEERS_API+"/"+b.payload.pubkey,U),(0,v.of)({type:w.pg.VOID})))))))),this.saveNewInvoice=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SAVE_NEW_INVOICE_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:b.payload.uiMessage})),this.store.dispatch((0,E.PC)({payload:{action:"SaveNewInvoice",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.INVOICES_API,{memo:b.payload.memo,value:b.payload.value,private:b.payload.private,expiry:b.payload.expiry,is_amp:b.payload.is_amp}).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,E.PC)({payload:{action:"SaveNewInvoice",status:w.Bn.COMPLETED}})),this.store.dispatch((0,E.WM)({payload:{num_max_invoices:b.payload.pageSize,reversed:!0}})),b.payload.openModal?(U.memo=b.payload.memo,U.value=b.payload.value,U.expiry=b.payload.expiry,U.private=b.payload.private,U.is_amp=b.payload.is_amp,U.cltv_expiry="144",U.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,I.qR)({payload:{data:{invoice:U,newlyAdded:!0,component:d.v}}}))},200),{type:w.pg.CLOSE_SPINNER,payload:b.payload.uiMessage}):{type:w.uR.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:U.payment_request}})),(0,u.K)(U=>(this.handleErrorWithoutAlert("SaveNewInvoice",b.payload.uiMessage,"Add Invoice Failed.",U),(0,v.of)({type:w.pg.VOID})))))))),this.openNewChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SAVE_NEW_CHANNEL_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.OPEN_CHANNEL})),this.store.dispatch((0,E.PC)({payload:{action:"SaveNewChannel",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_API,{node_pubkey:b.payload.selectedPeerPubkey,local_funding_amount:b.payload.fundingAmount,private:b.payload.private,trans_type:b.payload.transType,trans_type_value:b.payload.transTypeValue,spend_unconfirmed:b.payload.spendUnconfirmed}).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,E.PC)({payload:{action:"SaveNewChannel",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:w.m6.OPEN_CHANNEL})),this.store.dispatch((0,E.Bl)()),this.store.dispatch((0,E.UR)()),this.store.dispatch((0,E.Vv)({payload:{uiMessage:w.m6.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:w.uR.FETCH_PENDING_CHANNELS_LND})),(0,u.K)(U=>(this.handleErrorWithoutAlert("SaveNewChannel",w.m6.OPEN_CHANNEL,"Opening Channel Failed.",U),(0,v.of)({type:w.pg.VOID})))))))),this.updateChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.UPDATE_CHANNEL_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_API+"/chanPolicy",{baseFeeMsat:b.payload.baseFeeMsat,feeRate:b.payload.feeRate,timeLockDelta:b.payload.timeLockDelta,max_htlc_msat:b.payload.maxHtlcMsat,min_htlc_msat:b.payload.minHtlcMsat,chanPoint:b.payload.chanPoint}).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,I.uO)({payload:w.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,I.jW)("all"===b.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:w.uR.FETCH_CHANNELS_LND})),(0,u.K)(U=>(this.handleErrorWithAlert("UpdateChannels",w.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+w.vv.CHANNELS_API+"/chanPolicy",U),(0,v.of)({type:w.pg.VOID})))))))),this.closeChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.CLOSE_CHANNEL_LND),(0,D.z)(b=>{this.store.dispatch((0,I.ac)({payload:b.payload.forcibly?w.m6.FORCE_CLOSE_CHANNEL:w.m6.CLOSE_CHANNEL}));let U=this.CHILD_API_URL+w.vv.CHANNELS_API+"/"+b.payload.channelPoint+"?force="+b.payload.forcibly;return b.payload.targetConf&&(U=U+"&target_conf="+b.payload.targetConf),b.payload.satPerByte&&(U=U+"&sat_per_byte="+b.payload.satPerByte),this.httpClient.delete(U).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,I.uO)({payload:b.payload.forcibly?w.m6.FORCE_CLOSE_CHANNEL:w.m6.CLOSE_CHANNEL})),this.store.dispatch((0,E.UR)()),this.store.dispatch((0,E.Z7)()),this.store.dispatch((0,E.Vv)({payload:{uiMessage:w.m6.NO_SPINNER,channelPoint:"ALL",showMessage:V.message}})),{type:w.pg.VOID})),(0,u.K)(V=>(this.handleErrorWithAlert("CloseChannel",b.payload.forcibly?w.m6.FORCE_CLOSE_CHANNEL:w.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+w.vv.CHANNELS_API+"/"+b.payload.channelPoint+"?force="+b.payload.forcibly,V),(0,v.of)({type:w.pg.VOID}))))}))),this.backupChannels=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.BACKUP_CHANNELS_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:b.payload.uiMessage})),this.store.dispatch((0,E.PC)({payload:{action:"BackupChannels",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/"+b.payload.channelPoint).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,E.PC)({payload:{action:"BackupChannels",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:b.payload.uiMessage})),this.store.dispatch((0,I.jW)({payload:b.payload.showMessage+" "+U.message})),{type:w.uR.BACKUP_CHANNELS_RES_LND,payload:U.message})),(0,u.K)(U=>(this.handleErrorWithAlert("BackupChannels",b.payload.uiMessage,b.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/"+b.payload.channelPoint,U),(0,v.of)({type:w.pg.VOID})))))))),this.verifyChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.VERIFY_CHANNEL_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.VERIFY_CHANNEL})),this.store.dispatch((0,E.PC)({payload:{action:"VerifyChannel",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/verify/"+b.payload.channelPoint,{}).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,E.PC)({payload:{action:"VerifyChannel",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:w.m6.VERIFY_CHANNEL})),this.store.dispatch((0,I.jW)({payload:U.message})),{type:w.uR.VERIFY_CHANNEL_RES_LND,payload:U.message})),(0,u.K)(U=>(this.handleErrorWithAlert("VerifyChannel",w.m6.VERIFY_CHANNEL,"Unable to Verify Channel. Try again later.",this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/verify/"+b.payload.channelPoint,U),(0,v.of)({type:w.pg.VOID})))))))),this.restoreChannels=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.RESTORE_CHANNELS_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.RESTORE_CHANNEL})),this.store.dispatch((0,E.PC)({payload:{action:"RestoreChannels",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/restore/"+b.payload.channelPoint,{}).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,E.PC)({payload:{action:"RestoreChannels",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:w.m6.RESTORE_CHANNEL})),this.store.dispatch((0,I.jW)({payload:U.message})),this.store.dispatch((0,E.B_)({payload:U.list})),{type:w.uR.RESTORE_CHANNELS_RES_LND,payload:U.message})),(0,u.K)(U=>(this.handleErrorWithAlert("RestoreChannels",w.m6.RESTORE_CHANNEL,"Unable to Restore Channel. Try again later.",this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/restore/"+b.payload.channelPoint,U),(0,v.of)({type:w.pg.VOID})))))))),this.fetchFees=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_FEES_LND),(0,D.z)(()=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchFees",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.FEES_API))),(0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,E.PC)({payload:{action:"FetchFees",status:w.Bn.COMPLETED}})),b.forwarding_events_history&&(this.store.dispatch((0,E.QJ)({payload:b.forwarding_events_history})),delete b.forwarding_events_history),{type:w.uR.SET_FEES_LND,payload:b||{}})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchFees",w.m6.NO_SPINNER,"Fetching Fees Failed.",b),(0,v.of)({type:w.pg.VOID}))))),this.balanceBlockchainFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_BLOCKCHAIN_BALANCE_LND),(0,D.z)(()=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchBalance",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.BALANCE_API))),(0,C.U)(b=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchBalance",status:w.Bn.COMPLETED}})),this.logger.info(b),{type:w.uR.SET_BLOCKCHAIN_BALANCE_LND,payload:b||{total_balance:""}})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchBalance",w.m6.NO_SPINNER,"Fetching Blockchain Balance Failed.",b),(0,v.of)({type:w.pg.VOID}))))),this.networkInfoFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_NETWORK_LND),(0,D.z)(()=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchNetwork",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.NETWORK_API+"/info"))),(0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,E.PC)({payload:{action:"FetchNetwork",status:w.Bn.COMPLETED}})),{type:w.uR.SET_NETWORK_LND,payload:b||{}})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchNetwork",w.m6.NO_SPINNER,"Fetching Network Failed.",b),(0,v.of)({type:w.pg.VOID}))))),this.channelsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_CHANNELS_LND),(0,D.z)(()=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchChannels",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.CHANNELS_API).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,E.PC)({payload:{action:"FetchChannels",status:w.Bn.COMPLETED}})),{type:w.uR.SET_CHANNELS_LND,payload:b.channels||[]})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchChannels",w.m6.NO_SPINNER,"Fetching Channels Failed.",b),(0,v.of)({type:w.pg.VOID})))))))),this.channelsPendingFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_PENDING_CHANNELS_LND),(0,D.z)(()=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchPendingChannels",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.CHANNELS_API+"/pending").pipe((0,C.U)(b=>{this.logger.info(b),this.store.dispatch((0,E.PC)({payload:{action:"FetchPendingChannels",status:w.Bn.COMPLETED}}));const U={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 b&&(U.total_limbo_balance=b.total_limbo_balance,b.pending_closing_channels&&(U.closing.num_channels=b.pending_closing_channels.length,U.total_channels=U.total_channels+b.pending_closing_channels.length,b.pending_closing_channels.forEach(V=>{U.closing.limbo_balance=+U.closing.limbo_balance+(V.channel.local_balance?+V.channel.local_balance:0)})),b.pending_force_closing_channels&&(U.force_closing.num_channels=b.pending_force_closing_channels.length,U.total_channels=U.total_channels+b.pending_force_closing_channels.length,b.pending_force_closing_channels.forEach(V=>{U.force_closing.limbo_balance=+U.force_closing.limbo_balance+(V.channel.local_balance?+V.channel.local_balance:0)})),b.pending_open_channels&&(U.open.num_channels=b.pending_open_channels.length,U.total_channels=U.total_channels+b.pending_open_channels.length,b.pending_open_channels.forEach(V=>{U.open.limbo_balance=+U.open.limbo_balance+(V.channel.local_balance?+V.channel.local_balance:0)})),b.waiting_close_channels&&(U.waiting_close.num_channels=b.waiting_close_channels.length,U.total_channels=U.total_channels+b.waiting_close_channels.length,b.waiting_close_channels.forEach(V=>{U.waiting_close.limbo_balance=+U.waiting_close.limbo_balance+(V.channel.local_balance?+V.channel.local_balance:0)}))),{type:w.uR.SET_PENDING_CHANNELS_LND,payload:b?{pendingChannels:b,pendingChannelsSummary:U}:{pendingChannels:{},pendingChannelsSummary:U}}}),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchPendingChannels",w.m6.NO_SPINNER,"Fetching Pending Channels Failed.",b),(0,v.of)({type:w.pg.VOID})))))))),this.channelsClosedFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_CLOSED_CHANNELS_LND),(0,D.z)(()=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchClosedChannels",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.CHANNELS_API+"/closed").pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,E.PC)({payload:{action:"FetchClosedChannels",status:w.Bn.COMPLETED}})),{type:w.uR.SET_CLOSED_CHANNELS_LND,payload:b.channels||[]})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchClosedChannels",w.m6.NO_SPINNER,"Fetching Closed Channels Failed.",b),(0,v.of)({type:w.pg.VOID})))))))),this.invoicesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_INVOICES_LND),(0,D.z)(b=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchInvoices",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.INVOICES_API+"?num_max_invoices="+(b.payload.num_max_invoices?b.payload.num_max_invoices:100)+"&index_offset="+(b.payload.index_offset?b.payload.index_offset:0)+"&reversed="+(!!b.payload.reversed&&b.payload.reversed)).pipe((0,C.U)(Ae=>(this.logger.info(Ae),this.store.dispatch((0,E.PC)({payload:{action:"FetchInvoices",status:w.Bn.COMPLETED}})),b.payload.reversed&&!b.payload.index_offset&&(Ae.total_invoices=+(Ae.last_index_offset||0)),{type:w.uR.SET_INVOICES_LND,payload:Ae})),(0,u.K)(Ae=>(this.handleErrorWithoutAlert("FetchInvoices",w.m6.NO_SPINNER,"Fetching Invoices Failed.",Ae),(0,v.of)({type:w.pg.VOID})))))))),this.transactionsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_TRANSACTIONS_LND),(0,D.z)(()=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchTransactions",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.TRANSACTIONS_API))),(0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,E.PC)({payload:{action:"FetchTransactions",status:w.Bn.COMPLETED}})),{type:w.uR.SET_TRANSACTIONS_LND,payload:b||[]})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchTransactions",w.m6.NO_SPINNER,"Fetching Transactions Failed.",b),(0,v.of)({type:w.pg.VOID}))))),this.utxosFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_UTXOS_LND),(0,P.M)(this.store.select(N.Q5)),(0,D.z)(([b,U])=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchUTXOs",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.WALLET_API+"/getUTXOs?max_confs="+(U&&U.block_height?U.block_height:1e9)))),(0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,E.PC)({payload:{action:"FetchUTXOs",status:w.Bn.COMPLETED}})),{type:w.uR.SET_UTXOS_LND,payload:b||[]})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchUTXOs",w.m6.NO_SPINNER,"Fetching UTXOs Failed.",b),(0,v.of)({type:w.pg.VOID}))))),this.paymentsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_PAYMENTS_LND),(0,D.z)(b=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchPayments",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.PAYMENTS_API+"?max_payments="+(b.payload.max_payments?b.payload.max_payments:100)+"&index_offset="+(b.payload.index_offset?b.payload.index_offset:0)+"&reversed="+(!!b.payload.reversed&&b.payload.reversed)).pipe((0,C.U)(Ae=>(this.logger.info(Ae),this.store.dispatch((0,E.PC)({payload:{action:"FetchPayments",status:w.Bn.COMPLETED}})),{type:w.uR.SET_PAYMENTS_LND,payload:Ae})),(0,u.K)(Ae=>(this.handleErrorWithoutAlert("FetchPayments",w.m6.NO_SPINNER,"Fetching Payments Failed.",Ae),(0,v.of)({type:w.uR.SET_PAYMENTS_LND,payload:{payments:[]}})))))))),this.sendPayment=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SEND_PAYMENT_LND),(0,D.z)(b=>{this.store.dispatch((0,I.ac)({payload:b.payload.uiMessage})),this.store.dispatch((0,E.PC)({payload:{action:"SendPayment",status:w.Bn.INITIATED}}));const U={};return U.paymentReq=b.payload.paymentReq,b.payload.paymentAmount&&(U.paymentAmount=b.payload.paymentAmount),b.payload.outgoingChannel&&(U.outgoingChannel=b.payload.outgoingChannel.chan_id),b.payload.allowSelfPayment&&(U.allowSelfPayment=b.payload.allowSelfPayment),b.payload.lastHopPubkey&&(U.lastHopPubkey=b.payload.lastHopPubkey),b.payload.feeLimitType&&b.payload.feeLimitType!==w.Vc[0].id&&(U.feeLimit={},U.feeLimit[b.payload.feeLimitType]=b.payload.feeLimit),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_API+"/transactions",U).pipe((0,C.U)(V=>{if(this.logger.info(V),this.store.dispatch((0,I.uO)({payload:b.payload.uiMessage})),this.store.dispatch((0,E.PC)({payload:{action:"SendPayment",status:w.Bn.COMPLETED}})),V.payment_error)return b.payload.allowSelfPayment?(this.store.dispatch((0,E.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),{type:w.uR.SEND_PAYMENT_STATUS_LND,payload:V}):(b.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",b.payload.uiMessage,"Send Payment Failed.",V.payment_error):this.handleErrorWithAlert("SendPayment",b.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+w.vv.CHANNELS_API+"/transactions",V.payment_error),{type:w.pg.VOID});if(this.store.dispatch((0,I.uO)({payload:b.payload.uiMessage})),this.store.dispatch((0,E.PC)({payload:{action:"SendPayment",status:w.Bn.COMPLETED}})),this.store.dispatch((0,E.UR)()),this.store.dispatch((0,E.cQ)({payload:{max_payments:this.paymentsPageSize,reversed:!0}})),b.payload.allowSelfPayment)this.store.dispatch((0,E.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}}));else{let j="Payment Sent Successfully.";V.payment_route&&V.payment_route.total_fees_msat&&(j="Payment sent successfully with the total fee "+V.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,I.jW)({payload:j}))}return{type:w.uR.SEND_PAYMENT_STATUS_LND,payload:V}}),(0,u.K)(V=>(this.logger.error("Error: "+JSON.stringify(V)),b.payload.allowSelfPayment?(this.handleErrorWithoutAlert("SendPayment",b.payload.uiMessage,"Send Payment Failed.",V),this.store.dispatch((0,E.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),(0,v.of)({type:w.uR.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(V)}})):(b.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",b.payload.uiMessage,"Send Payment Failed.",V):this.handleErrorWithAlert("SendPayment",b.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+w.vv.CHANNELS_API+"/transactions",V),(0,v.of)({type:w.pg.VOID})))))}))),this.graphNodeFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_GRAPH_NODE_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,E.PC)({payload:{action:"FetchGraphNode",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.NETWORK_API+"/node/"+b.payload.pubkey).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,I.uO)({payload:w.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,E.PC)({payload:{action:"FetchGraphNode",status:w.Bn.COMPLETED}})),{type:w.uR.SET_GRAPH_NODE_LND,payload:U&&U.node?{node:U.node}:{node:null}})),(0,u.K)(U=>(this.handleErrorWithoutAlert("FetchGraphNode",w.m6.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",U),(0,v.of)({type:w.pg.VOID})))))))),this.setGraphNode=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SET_GRAPH_NODE_LND),(0,C.U)(b=>(this.logger.info(b.payload),b.payload))),{dispatch:!1}),this.getNewAddress=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GET_NEW_ADDRESS_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+w.vv.NEW_ADDRESS_API+"?type="+b.payload.addressId).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,I.uO)({payload:w.m6.GENERATE_NEW_ADDRESS})),{type:w.uR.SET_NEW_ADDRESS_LND,payload:U&&U.address?U.address:{}})),(0,u.K)(U=>(this.handleErrorWithAlert("GetNewAddress",w.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+w.vv.NEW_ADDRESS_API+"?type="+b.payload.addressId,U),(0,v.of)({type:w.pg.VOID})))))))),this.setNewAddress=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SET_NEW_ADDRESS_LND),(0,C.U)(b=>(this.logger.info(b.payload),b.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SET_CHANNEL_TRANSACTION_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.SEND_FUNDS})),this.store.dispatch((0,E.PC)({payload:{action:"SetChannelTransaction",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.TRANSACTIONS_API,{amount:b.payload.amount,address:b.payload.address,sendAll:b.payload.sendAll,fees:b.payload.fees,blocks:b.payload.blocks}).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,E.PC)({payload:{action:"SetChannelTransaction",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:w.m6.SEND_FUNDS})),this.store.dispatch((0,E.mC)()),this.store.dispatch((0,E.Bl)()),this.store.dispatch((0,E.UR)()),{type:w.uR.SET_CHANNEL_TRANSACTION_RES_LND,payload:U})),(0,u.K)(U=>(this.handleErrorWithoutAlert("SetChannelTransaction",w.m6.SEND_FUNDS,"Sending Fund Failed.",U),(0,v.of)({type:w.pg.VOID})))))))),this.fetchForwardingHistory=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GET_FORWARDING_HISTORY_LND),(0,D.z)(b=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchForwardingHistory",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.SWITCH_API,{num_max_events:b.payload.num_max_events,index_offset:b.payload.index_offset,end_time:b.payload.end_time,start_time:b.payload.start_time}).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,E.PC)({payload:{action:"FetchForwardingHistory",status:w.Bn.COMPLETED}})),{type:w.uR.SET_FORWARDING_HISTORY_LND,payload:V})),(0,u.K)(V=>(this.handleErrorWithAlert("FetchForwardingHistory",w.m6.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+w.vv.SWITCH_API,V),(0,v.of)({type:w.pg.VOID})))))))),this.queryRoutesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GET_QUERY_ROUTES_LND),(0,D.z)(b=>{let U=this.CHILD_API_URL+w.vv.NETWORK_API+"/routes/"+b.payload.destPubkey+"/"+b.payload.amount;return b.payload.outgoingChanId&&(U=U+"?outgoing_chan_id="+b.payload.outgoingChanId),this.httpClient.get(U).pipe((0,C.U)(V=>(this.logger.info(V),{type:w.uR.SET_QUERY_ROUTES_LND,payload:V})),(0,u.K)(V=>(this.store.dispatch((0,E.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",w.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+w.vv.NETWORK_API,V),(0,v.of)({type:w.pg.VOID}))))}))),this.setQueryRoutes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SET_QUERY_ROUTES_LND),(0,C.U)(b=>b.payload)),{dispatch:!1}),this.genSeed=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GEN_SEED_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+w.vv.WALLET_API+"/genseed/"+b.payload).pipe((0,C.U)(U=>(this.logger.info("Generated GenSeed!"),this.logger.info(U),this.store.dispatch((0,I.uO)({payload:w.m6.GEN_SEED})),{type:w.uR.GEN_SEED_RESPONSE_LND,payload:U.cipher_seed_mnemonic})),(0,u.K)(U=>(this.handleErrorWithAlert("GenSeed",w.m6.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+w.vv.WALLET_API+"/genseed/"+b.payload,U),(0,v.of)({type:w.pg.VOID})))))))),this.updateSelNodeOptions=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.UPDATE_SELECTED_NODE_OPTIONS),(0,D.z)(()=>this.httpClient.get(this.CHILD_API_URL+w.vv.WALLET_API+"/updateSelNodeOptions").pipe((0,C.U)(b=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(b),{type:w.pg.VOID})),(0,u.K)(b=>(this.handleErrorWithAlert("UpdateSelectedNodeOptions",w.m6.NO_SPINNER,"Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",b),(0,v.of)({type:w.pg.VOID}))))))),this.genSeedResponse=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GEN_SEED_RESPONSE_LND),(0,C.U)(b=>b.payload)),{dispatch:!1}),this.initWalletRes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.INIT_WALLET_RESPONSE_LND),(0,C.U)(b=>b.payload)),{dispatch:!1}),this.initWallet=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.INIT_WALLET_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+w.vv.WALLET_API+"/wallet/initwallet",{wallet_password:b.payload.pwd,cipher_seed_mnemonic:b.payload.cipher?b.payload.cipher:"",aezeed_passphrase:b.payload.passphrase?b.payload.passphrase:""}).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,I.uO)({payload:w.m6.INITIALIZE_WALLET})),{type:w.uR.INIT_WALLET_RESPONSE_LND,payload:U})),(0,u.K)(U=>(this.handleErrorWithAlert("InitWallet",w.m6.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+w.vv.WALLET_API+"/initwallet",U),(0,v.of)({type:w.pg.VOID})))))))),this.unlockWallet=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.UNLOCK_WALLET_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+w.vv.WALLET_API+"/wallet/unlockwallet",{wallet_password:b.payload.pwd}).pipe((0,C.U)(U=>(this.logger.info(U),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,I.uO)({payload:w.m6.UNLOCK_WALLET})),this.store.dispatch((0,I.ac)({payload:w.m6.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,I.uO)({payload:w.m6.WAIT_SYNC_NODE})),this.store.dispatch((0,E.sQ)({payload:{loadPage:"HOME"}}))},5e3),{type:w.pg.VOID})),(0,u.K)(U=>(this.handleErrorWithAlert("UnlockWallet",w.m6.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+w.vv.WALLET_API+"/unlockwallet",U),(0,v.of)({type:w.pg.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.PEER_LOOKUP_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.SEARCHING_NODE})),this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.NETWORK_API+"/node/"+b.payload).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,I.uO)({payload:w.m6.SEARCHING_NODE})),this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),{type:w.uR.SET_LOOKUP_LND,payload:U})),(0,u.K)(U=>(this.handleErrorWithAlert("Lookup",w.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+w.vv.NETWORK_API+"/node/"+b.payload,U),(0,v.of)({type:w.pg.VOID})))))))),this.channelLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.CHANNEL_LOOKUP_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:b.payload.uiMessage})),this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.NETWORK_API+"/edge/"+b.payload.channelID).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,I.uO)({payload:b.payload.uiMessage})),this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),{type:w.uR.SET_LOOKUP_LND,payload:U})),(0,u.K)(U=>(this.handleErrorWithAlert("Lookup",b.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+w.vv.NETWORK_API+"/edge/"+b.payload.channelID,U),(0,v.of)({type:w.pg.VOID})))))))),this.invoiceLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.INVOICE_LOOKUP_LND),(0,D.z)(b=>{this.store.dispatch((0,I.ac)({payload:w.m6.SEARCHING_INVOICE})),this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.INITIATED}}));let U=this.CHILD_API_URL+w.vv.INVOICES_API+"/lookup";return U=b.payload.paymentAddress&&""!==b.payload.paymentAddress?U+"?payment_addr="+b.payload.paymentAddress:U+"?payment_hash="+b.payload.paymentHash,this.httpClient.get(U).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,I.uO)({payload:w.m6.SEARCHING_INVOICE})),this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),this.store.dispatch((0,E.aL)({payload:V})),{type:w.uR.SET_LOOKUP_LND,payload:V})),(0,u.K)(V=>(this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",w.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",V),b.payload.openSnackBar&&this.store.dispatch((0,I.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,v.of)({type:w.uR.SET_LOOKUP_LND,payload:{error:V}}))))}))),this.paymentLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.PAYMENT_LOOKUP_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.PAYMENTS_API+"/lookup/"+b.payload).pipe((0,C.U)(U=>(this.logger.info(U),this.store.dispatch((0,I.uO)({payload:w.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),this.store.dispatch((0,E.qY)({payload:U})),{type:w.uR.SET_LOOKUP_LND,payload:U})),(0,u.K)(U=>(this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",w.m6.SEARCHING_PAYMENT,"Payment Lookup Failed",U),(0,v.of)({type:w.uR.SET_LOOKUP_LND,payload:{error:U}})))))))),this.setLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SET_LOOKUP_LND),(0,C.U)(b=>(this.logger.info(b.payload),b.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.RESTORE_CHANNELS_LIST_LND),(0,D.z)(()=>(this.store.dispatch((0,E.PC)({payload:{action:"RestoreChannelsList",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/restore/list").pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,E.PC)({payload:{action:"RestoreChannelsList",status:w.Bn.COMPLETED}})),{type:w.uR.SET_RESTORE_CHANNELS_LIST_LND,payload:b||{all_restore_exists:!1,files:[]}})),(0,u.K)(b=>(this.handleErrorWithAlert("RestoreChannelsList",w.m6.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API,b),(0,v.of)({type:w.pg.VOID})))))))),this.setRestoreChannelList=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SET_RESTORE_CHANNELS_LIST_LND),(0,C.U)(b=>(this.logger.info(b.payload),b.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,D.z)(()=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchLightningTransactions",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.PAYMENTS_API+"/alltransactions").pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,E.PC)({payload:{action:"FetchLightningTransactions",status:w.Bn.COMPLETED}})),{type:w.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:b})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchLightningTransactions",w.m6.NO_SPINNER,"Fetching All Lightning Transaction Failed.",b),(0,v.of)({type:w.pg.VOID})))))))),this.pageSettingsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_PAGE_SETTINGS_LND),(0,D.z)(()=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchPageSettings",status:w.Bn.INITIATED}})),this.httpClient.get(w.vv.PAGE_SETTINGS_API).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,E.PC)({payload:{action:"FetchPageSettings",status:w.Bn.COMPLETED}})),this.invoicesPageSize=(b&&Object.keys(b).length>0?b.find(U=>"transactions"===U.pageId)?.tables.find(U=>"invoices"===U.tableId):w.gK.find(U=>"transactions"===U.pageId)?.tables.find(U=>"invoices"===U.tableId)).recordsPerPage,this.paymentsPageSize=(b&&Object.keys(b).length>0?b.find(U=>"transactions"===U.pageId)?.tables.find(U=>"payments"===U.tableId):w.gK.find(U=>"transactions"===U.pageId)?.tables.find(U=>"payments"===U.tableId)).recordsPerPage,this.store.dispatch((0,E.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),{type:w.uR.SET_PAGE_SETTINGS_LND,payload:b||[]})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchPageSettings",w.m6.NO_SPINNER,"Fetching Page Settings Failed.",b),(0,v.of)({type:w.pg.VOID})))))))),this.savePageSettings=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SAVE_PAGE_SETTINGS_LND),(0,D.z)(b=>(this.store.dispatch((0,I.ac)({payload:w.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,E.PC)({payload:{action:"SavePageSettings",status:w.Bn.INITIATED}})),this.httpClient.post(w.vv.PAGE_SETTINGS_API,b.payload).pipe((0,C.U)(U=>{this.logger.info(U),this.store.dispatch((0,E.PC)({payload:{action:"SavePageSettings",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:w.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.jW)({payload:"Page Layout Updated Successfully!"}));const V=(U.find(Ae=>"transactions"===Ae.pageId)?.tables.find(Ae=>"invoices"===Ae.tableId)||w.gK.find(Ae=>"transactions"===Ae.pageId)?.tables.find(Ae=>"invoices"===Ae.tableId)).recordsPerPage,j=(U.find(Ae=>"transactions"===Ae.pageId)?.tables.find(Ae=>"payments"===Ae.tableId)||w.gK.find(Ae=>"transactions"===Ae.pageId)?.tables.find(Ae=>"payments"===Ae.tableId)).recordsPerPage;return V!==this.invoicesPageSize&&(this.invoicesPageSize=V,this.store.dispatch((0,E.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}}))),j!==this.paymentsPageSize&&(this.paymentsPageSize=j),{type:w.uR.SET_PAGE_SETTINGS_LND,payload:U||[]}}),(0,u.K)(U=>(this.handleErrorWithAlert("SavePageSettings",w.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",w.vv.PAGE_SETTINGS_API,U),(0,v.of)({type:w.pg.VOID})))))))),this.store.select(N.yA).pipe((0,o.R)(this.unSubs[0])).subscribe(b=>{b.FetchInfo.status!==w.Bn.COMPLETED&&b.FetchInfo.status!==w.Bn.ERROR||b.FetchFees.status!==w.Bn.COMPLETED&&b.FetchFees.status!==w.Bn.ERROR||b.FetchBalanceBlockchain.status!==w.Bn.COMPLETED&&b.FetchBalanceBlockchain.status!==w.Bn.ERROR||b.FetchAllChannels.status!==w.Bn.COMPLETED&&b.FetchAllChannels.status!==w.Bn.ERROR||b.FetchPendingChannels.status!==w.Bn.COMPLETED&&b.FetchPendingChannels.status!==w.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,I.uO)({payload:w.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.lndWSMessages.pipe((0,o.R)(this.unSubs[1])).subscribe(b=>{this.logger.info("Received new message from the service: "+JSON.stringify(b)),b&&(b.type===w.g8.INVOICE?(this.logger.info(b),b&&b.result&&b.result.payment_request&&this.store.dispatch((0,E.aL)({payload:b.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(b)))})}initializeRemainingData(T,i){this.sessionService.setItem("lndUnlocked","true");const r={identity_pubkey:T.identity_pubkey,alias:T.alias,testnet:T.testnet,chains:T.chains,uris:T.uris,version:T.version?T.version.split(" ")[0]:""};this.store.dispatch((0,I.ac)({payload:w.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,I._V)({payload:r}));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"===i||h.includes("?access-key="))&&(h="/lnd/home"),this.router.navigate([h]),this.store.dispatch((0,E.wD)()),this.store.dispatch((0,E.Bl)()),this.store.dispatch((0,E.UR)()),this.store.dispatch((0,E.Z7)()),this.store.dispatch((0,E.Zh)()),this.store.dispatch((0,E.$W)()),this.store.dispatch((0,E.Rv)()),this.store.dispatch((0,E.SN)()),this.store.dispatch((0,E.cQ)({payload:{max_payments:1e5,reversed:!0}}))}handleErrorWithoutAlert(T,i,r,h){this.logger.error("ERROR IN: "+T+"\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:i})),this.store.dispatch((0,E.PC)({payload:{action:T,status:w.Bn.ERROR,statusCode:h.status.toString(),message:this.commonService.extractErrorMessage(h,r)}})))}handleErrorWithAlert(T,i,r,h,l){if(this.logger.error(l),401===l.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:i}));const y=this.commonService.extractErrorMessage(l);this.store.dispatch((0,I.qR)({payload:{data:{type:"ERROR",alertTitle:r,message:{code:l.status,message:y,URL:h},component:S.H}}})),this.store.dispatch((0,E.PC)({payload:{action:T,status:w.Bn.ERROR,statusCode:l.status.toString(),message:y,URL:h}}))}}ngOnDestroy(){this.unSubs.forEach(T=>{T.next(null),T.complete()})}}$.\u0275fac=function(T){return new(T||$)(z.LFG(t.eX),z.LFG(G.eN),z.LFG(W.yh),z.LFG(Y.mQ),z.LFG(X.v),z.LFG(ee.m),z.LFG(ue.uw),z.LFG(he.F0),z.LFG(ie.d),z.LFG(ce.Ye))},$.\u0275prov=z.Yz7({token:$,factory:$.\u0275fac})},6529:(Ve,Q,m)=>{"use strict";m.d(Q,{$k:()=>v,Bo:()=>P,Ef:()=>E,JG:()=>S,N7:()=>ue,P2:()=>W,PP:()=>d,Pr:()=>D,Q5:()=>o,T4:()=>ee,Wi:()=>w,ZW:()=>N,_f:()=>ie,bx:()=>ce,dx:()=>I,l5:()=>he,ni:()=>G,qU:()=>Y,yA:()=>u});var t=m(9653);const e=(0,t.ZF)("lnd"),v=(0,t.P1)(e,$=>$.nodeSettings),D=(0,t.P1)(e,$=>({pageSettings:$.pageSettings,apiCallStatus:$.apisCallStatus.FetchPageSettings})),o=(0,t.P1)(e,$=>$.information),u=((0,t.P1)(e,$=>({information:$.information,apiCallStatus:$.apisCallStatus.FetchInfo})),(0,t.P1)(e,$=>$.apisCallStatus)),P=(0,t.P1)(e,$=>({forwardingHistory:$.forwardingHistory,apiCallStatus:$.apisCallStatus.FetchForwardingHistory})),d=(0,t.P1)(e,$=>({listPayments:$.listPayments,apiCallStatus:$.apisCallStatus.FetchPayments})),S=(0,t.P1)(e,$=>({fees:$.fees,apiCallStatus:$.apisCallStatus.FetchFees})),w=(0,t.P1)(e,$=>({peers:$.peers,apiCallStatus:$.apisCallStatus.FetchPeers})),I=(0,t.P1)(e,$=>({transactions:$.transactions,apiCallStatus:$.apisCallStatus.FetchTransactions})),E=(0,t.P1)(e,$=>({listInvoices:$.listInvoices,apiCallStatus:$.apisCallStatus.FetchInvoices})),N=(0,t.P1)(e,$=>({channels:$.channels,channelsSummary:$.channelsSummary,lightningBalance:$.lightningBalance,apiCallStatus:$.apisCallStatus.FetchAllChannels})),G=((0,t.P1)(e,$=>({channelsSummary:$.channelsSummary,pendingChannels:$.pendingChannels,closedChannels:$.closedChannels,apiCallStatus:$.apisCallStatus.FetchAllChannels})),(0,t.P1)(e,$=>({pendingChannels:$.pendingChannels,pendingChannelsSummary:$.pendingChannelsSummary,apiCallStatus:$.apisCallStatus.FetchPendingChannels}))),W=(0,t.P1)(e,$=>({closedChannels:$.closedChannels,apiCallStatus:$.apisCallStatus.FetchClosedChannels})),Y=(0,t.P1)(e,$=>({blockchainBalance:$.blockchainBalance,apiCallStatus:$.apisCallStatus.FetchBalanceBlockchain})),ee=((0,t.P1)(e,$=>({lightningBalance:$.lightningBalance,apiCallStatus:$.apisCallStatus.FetchAllChannels})),(0,t.P1)(e,$=>({utxos:$.utxos,apiCallStatus:$.apisCallStatus.FetchUTXOs}))),ue=(0,t.P1)(e,$=>({networkInfo:$.networkInfo,apiCallStatus:$.apisCallStatus.FetchNetwork})),he=(0,t.P1)(e,$=>({allLightningTransactions:$.allLightningTransactions,apiCallStatus:$.apisCallStatus.FetchLightningTransactions})),ie=(0,t.P1)(e,$=>({channels:$.channels,pendingChannels:$.pendingChannels,closedChannels:$.closedChannels})),ce=(0,t.P1)(e,$=>({information:$.information,nodeSettings:$.nodeSettings,apiCallStatus:$.apisCallStatus.FetchInfo}))},8627:(Ve,Q,m)=>{"use strict";m.d(Q,{v:()=>Ce});var t=m(7274),e=m(2687),v=m(7579),D=m(2722),o=m(7731),C=m(6529),u=m(4650),P=m(5043),d=m(62),S=m(7009),w=m(9653),I=m(6895),E=m(2216),N=m(1576),z=m(5829),G=m(4859),W=m(3546),Y=m(752),X=m(7392),ee=m(4850),ue=m(1572),he=m(266),ie=m(658),ce=m(5199),$=m(3390);const fe=["scrollContainer"];function T(ke,ht){if(1&ke&&u._UZ(0,"qr-code",33),2&ke){const nt=u.oxw();u.Q6J("value",null==nt.invoice?null:nt.invoice.payment_request)("size",nt.qrWidth)("errorCorrectionLevel","L")}}function i(ke,ht){1&ke&&(u.TgZ(0,"span",34),u._uU(1,"N/A"),u.qZA())}function r(ke,ht){if(1&ke&&u._UZ(0,"qr-code",33),2&ke){const nt=u.oxw();u.Q6J("value",null==nt.invoice?null:nt.invoice.payment_request)("size",nt.qrWidth)("errorCorrectionLevel","L")}}function h(ke,ht){1&ke&&(u.TgZ(0,"span",35),u._uU(1,"QR Code Not Applicable"),u.qZA())}function l(ke,ht){1&ke&&u._UZ(0,"mat-divider",22),2&ke&&u.Q6J("inset",!0)}function y(ke,ht){1&ke&&(u.ynx(0),u._uU(1," (zero amount) "),u.BQk())}function A(ke,ht){1&ke&&u._UZ(0,"span",41)}const k=function(){return[]};function g(ke,ht){if(1&ke&&(u.TgZ(0,"div",37)(1,"div",38)(2,"span",39),u._uU(3),u.ALo(4,"number"),u.qZA(),u.YNc(5,A,1,0,"span",40),u.qZA()()),2&ke){const nt=u.oxw(2);u.xp6(3),u.hij("",u.lcZ(4,2,null==nt.invoice?null:nt.invoice.amt_paid_sat)," Sats"),u.xp6(2),u.Q6J("ngForOf",u.DdM(4,k).constructor(35))}}function n(ke,ht){if(1&ke&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"number"),u.qZA()),2&ke){const nt=u.oxw(2);u.xp6(1),u.hij("",u.lcZ(2,1,null==nt.invoice?null:nt.invoice.amt_paid_sat)," Sats")}}function b(ke,ht){if(1&ke&&(u.ynx(0),u.YNc(1,g,6,5,"div",36),u.YNc(2,n,3,3,"div",21),u.BQk()),2&ke){const nt=u.oxw();u.xp6(1),u.Q6J("ngIf",nt.flgInvoicePaid),u.xp6(1),u.Q6J("ngIf",!nt.flgInvoicePaid)}}function U(ke,ht){1&ke&&(u.TgZ(0,"span"),u._uU(1,"-"),u.qZA())}function V(ke,ht){1&ke&&u._UZ(0,"mat-spinner",43),2&ke&&u.Q6J("diameter",20)}function j(ke,ht){if(1&ke&&(u.ynx(0),u.YNc(1,U,2,0,"span",21),u.YNc(2,V,1,1,"mat-spinner",42),u.BQk()),2&ke){const nt=u.oxw();u.xp6(1),u.Q6J("ngIf","OPEN"!==(null==nt.invoice?null:nt.invoice.state)||!nt.flgVersionCompatible),u.xp6(1),u.Q6J("ngIf","OPEN"===(null==nt.invoice?null:nt.invoice.state)&&nt.flgVersionCompatible)}}function Ae(ke,ht){1&ke&&u.GkF(0)}function Ke(ke,ht){if(1&ke&&(u.TgZ(0,"div"),u.YNc(1,Ae,1,0,"ng-container",44),u.qZA()),2&ke){u.oxw();const nt=u.MAs(79);u.xp6(1),u.Q6J("ngTemplateOutlet",nt)}}function qe(ke,ht){if(1&ke){const nt=u.EpF();u.TgZ(0,"div",45)(1,"button",46),u.NdJ("click",function(){u.CHM(nt);const it=u.oxw();return u.KtG(it.onScrollDown())}),u.TgZ(2,"mat-icon",47),u._uU(3,"arrow_downward"),u.qZA()()()}}function ct(ke,ht){1&ke&&(u.TgZ(0,"p"),u._uU(1,"Show Advanced"),u.qZA())}function Ie(ke,ht){1&ke&&(u.TgZ(0,"p"),u._uU(1,"Hide Advanced"),u.qZA())}function xe(ke,ht){if(1&ke){const nt=u.EpF();u.TgZ(0,"button",48),u.NdJ("copied",function(it){u.CHM(nt);const qt=u.oxw();return u.KtG(qt.onCopyPayment(it))}),u._uU(1),u.qZA()}if(2&ke){const nt=u.oxw();u.Q6J("payload",null==nt.invoice?null:nt.invoice.payment_request),u.xp6(1),u.Oqu(nt.screenSize===nt.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function le(ke,ht){if(1&ke){const nt=u.EpF();u.TgZ(0,"button",49),u.NdJ("click",function(){u.CHM(nt);const it=u.oxw();return u.KtG(it.onClose())}),u._uU(1,"OK"),u.qZA()}}const _e=function(ke){return{"mr-0":ke}};function se(ke,ht){if(1&ke&&u._UZ(0,"span",64),2&ke){const nt=u.oxw(4);u.Q6J("ngClass",u.VKq(1,_e,nt.screenSize===nt.screenSizeEnum.XS))}}function Ye(ke,ht){if(1&ke&&u._UZ(0,"span",65),2&ke){const nt=u.oxw(4);u.Q6J("ngClass",u.VKq(1,_e,nt.screenSize===nt.screenSizeEnum.XS))}}function Te(ke,ht){if(1&ke&&u._UZ(0,"span",66),2&ke){const nt=u.oxw(4);u.Q6J("ngClass",u.VKq(1,_e,nt.screenSize===nt.screenSizeEnum.XS))}}function oe(ke,ht){if(1&ke&&(u.TgZ(0,"div",53)(1,"div",58)(2,"span",59),u.YNc(3,se,1,3,"span",60),u.YNc(4,Ye,1,3,"span",61),u.YNc(5,Te,1,3,"span",62),u._uU(6),u.qZA(),u.TgZ(7,"span",63),u._uU(8),u.ALo(9,"number"),u.qZA()(),u._UZ(10,"mat-divider",22),u.qZA()),2&ke){const nt=ht.$implicit,wt=u.oxw(3);u.xp6(3),u.Q6J("ngIf","SETTLED"===nt.state),u.xp6(1),u.Q6J("ngIf","ACCEPTED"===nt.state),u.xp6(1),u.Q6J("ngIf","CANCELED"===nt.state),u.xp6(1),u.hij(" ",nt.chan_id," "),u.xp6(2),u.Oqu(u.xi3(9,6,+nt.amt_msat/1e3||0,wt.getDecimalFormat(nt))),u.xp6(2),u.Q6J("inset",!0)}}function be(ke,ht){if(1&ke){const nt=u.EpF();u.TgZ(0,"div",17)(1,"mat-expansion-panel",51),u.NdJ("opened",function(){u.CHM(nt);const it=u.oxw(2);return u.KtG(it.flgOpened=!0)})("closed",function(){u.CHM(nt);const it=u.oxw(2);return u.KtG(it.onExpansionClosed())}),u.TgZ(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),u._uU(5,"HTLCs"),u.qZA()()(),u.TgZ(6,"div",53)(7,"div",54)(8,"span",55),u._uU(9,"Channel ID"),u.qZA(),u.TgZ(10,"span",56),u._uU(11,"Amount (Sats)"),u.qZA()(),u._UZ(12,"mat-divider",22),u.YNc(13,oe,11,9,"div",57),u.qZA()()()}if(2&ke){const nt=u.oxw(2);u.xp6(12),u.Q6J("inset",!0),u.xp6(1),u.Q6J("ngForOf",null==nt.invoice?null:nt.invoice.htlcs)}}function te(ke,ht){1&ke&&u._UZ(0,"mat-divider",22),2&ke&&u.Q6J("inset",!0)}function Ue(ke,ht){if(1&ke&&(u._UZ(0,"mat-divider",22),u.TgZ(1,"div",17)(2,"div",23)(3,"h4",19),u._uU(4,"Preimage"),u.qZA(),u.TgZ(5,"span",24),u._uU(6),u.qZA()()(),u._UZ(7,"mat-divider",22),u.TgZ(8,"div",17)(9,"div",18)(10,"h4",19),u._uU(11,"State"),u.qZA(),u.TgZ(12,"span",24),u._uU(13),u.qZA()(),u.TgZ(14,"div",18)(15,"h4",19),u._uU(16,"Expiry"),u.qZA(),u.TgZ(17,"span",24),u._uU(18),u.ALo(19,"date"),u.qZA()()(),u._UZ(20,"mat-divider",22),u.TgZ(21,"div",17)(22,"div",18)(23,"h4",19),u._uU(24,"Private Routing Hints"),u.qZA(),u.TgZ(25,"span",24),u._uU(26),u.qZA()(),u.TgZ(27,"div",18)(28,"h4",19),u._uU(29,"AMP Invoice"),u.qZA(),u.TgZ(30,"span",24),u._uU(31),u.qZA()()(),u._UZ(32,"mat-divider",22),u.YNc(33,be,14,2,"div",50),u.YNc(34,te,1,1,"mat-divider",14)),2&ke){const nt=u.oxw();u.Q6J("inset",!0),u.xp6(6),u.Oqu((null==nt.invoice?null:nt.invoice.r_preimage)||"-"),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu(null==nt.invoice?null:nt.invoice.state),u.xp6(5),u.Oqu(u.xi3(19,11,1e3*(+(null==nt.invoice?null:nt.invoice.creation_date)+ +(null==nt.invoice?null:nt.invoice.expiry)),"dd/MMM/y HH:mm")),u.xp6(2),u.Q6J("inset",!0),u.xp6(6),u.Oqu(null!=nt.invoice&&nt.invoice.private?"Yes":"No"),u.xp6(5),u.Oqu(null!=nt.invoice&&nt.invoice.is_amp?"Yes":"No"),u.xp6(1),u.Q6J("inset",!0),u.xp6(1),u.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.htlcs)&&(null==nt.invoice?null:nt.invoice.htlcs.length)>0),u.xp6(1),u.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.htlcs)&&(null==nt.invoice?null:nt.invoice.htlcs.length)>0)}}const Be=function(ke){return{"display-none":ke}},q=function(ke){return{"xs-scroll-y":ke}},de=function(ke){return{"h-50":ke}};class Ce{constructor(ht,nt,wt,it,qt,_t){this.dialogRef=ht,this.data=nt,this.logger=wt,this.commonService=it,this.snackBar=qt,this.store=_t,this.faReceipt=e.dLy,this.showAdvanced=!1,this.newlyAdded=!1,this.invoice=null,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=o.cu,this.flgOpened=!1,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new v.x,new v.x,new v.x,new v.x,new v.x]}set container(ht){ht&&(this.scrollContainer=ht)}ngOnInit(){this.invoice=JSON.parse(JSON.stringify(this.data.invoice)),this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===o.cu.XS&&(this.qrWidth=220),this.store.select(C.Q5).pipe((0,D.R)(this.unSubs[0])).subscribe(nt=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(nt.version,"0.11.0")});const ht=JSON.parse(JSON.stringify(this.invoice));this.store.select(C.Ef).pipe((0,D.R)(this.unSubs[1])).subscribe(nt=>{const wt=this.invoice?.state,qt=(nt.listInvoices.invoices||[]).find(_t=>_t.r_hash===ht.r_hash)||null;qt&&(this.invoice=qt),wt!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(nt)})}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(ht){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+ht)}getDecimalFormat(ht){return ht.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(ht=>{ht.next(null),ht.complete()})}}Ce.\u0275fac=function(ht){return new(ht||Ce)(u.Y36(t.so),u.Y36(t.WI),u.Y36(P.mQ),u.Y36(d.v),u.Y36(S.ux),u.Y36(w.yh))},Ce.\u0275cmp=u.Xpm({type:Ce,selectors:[["rtl-invoice-information"]],viewQuery:function(ht,nt){if(1&ht&&u.Gf(fe,5),2&ht){let wt;u.iGM(wt=u.CRH())&&(nt.container=wt.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(ht,nt){if(1&ht&&(u.TgZ(0,"div",0)(1,"div",1),u.YNc(2,T,1,3,"qr-code",2),u.YNc(3,i,2,0,"span",3),u.qZA(),u.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),u._UZ(7,"fa-icon",7),u.TgZ(8,"span",8),u._uU(9),u.qZA()(),u.TgZ(10,"button",9),u.NdJ("click",function(){return nt.onClose()}),u._uU(11,"X"),u.qZA()(),u.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),u.YNc(15,r,1,3,"qr-code",2),u.YNc(16,h,2,0,"span",13),u.qZA(),u.YNc(17,l,1,1,"mat-divider",14),u.TgZ(18,"div",15,16)(20,"div",17)(21,"div",18)(22,"h4",19),u._uU(23),u.qZA(),u.TgZ(24,"span",20),u._uU(25),u.ALo(26,"number"),u.YNc(27,y,2,0,"ng-container",21),u.qZA()(),u.TgZ(28,"div",18)(29,"h4",19),u._uU(30,"Amount Settled"),u.qZA(),u.TgZ(31,"span",20),u.YNc(32,b,3,2,"ng-container",21),u.YNc(33,j,3,2,"ng-container",21),u.qZA()()(),u._UZ(34,"mat-divider",22),u.TgZ(35,"div",17)(36,"div",18)(37,"h4",19),u._uU(38,"Date Created"),u.qZA(),u.TgZ(39,"span",20),u._uU(40),u.ALo(41,"date"),u.qZA()(),u.TgZ(42,"div",18)(43,"h4",19),u._uU(44,"Date Settled"),u.qZA(),u.TgZ(45,"span",20),u._uU(46),u.ALo(47,"date"),u.qZA()()(),u._UZ(48,"mat-divider",22),u.TgZ(49,"div",17)(50,"div",23)(51,"h4",19),u._uU(52,"Memo"),u.qZA(),u.TgZ(53,"span",20),u._uU(54),u.qZA()()(),u._UZ(55,"mat-divider",22),u.TgZ(56,"div",17)(57,"div",23)(58,"h4",19),u._uU(59,"Payment Request"),u.qZA(),u.TgZ(60,"span",24),u._uU(61),u.qZA()()(),u._UZ(62,"mat-divider",22),u.TgZ(63,"div",17)(64,"div",23)(65,"h4",19),u._uU(66,"Payment Hash"),u.qZA(),u.TgZ(67,"span",24),u._uU(68),u.qZA()()(),u.YNc(69,Ke,2,1,"div",21),u.qZA()()(),u.YNc(70,qe,4,0,"div",25),u.TgZ(71,"div",26)(72,"button",27),u.NdJ("click",function(){return nt.onShowAdvanced()}),u.YNc(73,ct,2,0,"p",28),u.YNc(74,Ie,2,0,"ng-template",null,29,u.W1O),u.qZA(),u.YNc(76,xe,2,2,"button",30),u.YNc(77,le,2,0,"button",31),u.qZA()()(),u.YNc(78,Ue,35,14,"ng-template",null,32,u.W1O)),2&ht){const wt=u.MAs(75);u.xp6(1),u.Q6J("fxLayoutAlign",null!=nt.invoice&&nt.invoice.payment_request&&""!==(null==nt.invoice?null:nt.invoice.payment_request)?"center start":"center center")("ngClass",u.VKq(41,Be,nt.screenSize===nt.screenSizeEnum.XS||nt.screenSize===nt.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.payment_request)&&""!==(null==nt.invoice?null:nt.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",!(null!=nt.invoice&&nt.invoice.payment_request)||""===(null==nt.invoice?null:nt.invoice.payment_request)),u.xp6(4),u.Q6J("icon",nt.faReceipt),u.xp6(2),u.Oqu(nt.screenSize===nt.screenSizeEnum.XS?nt.newlyAdded?"Created":"Invoice":nt.newlyAdded?"Invoice Created":"Invoice Information"),u.xp6(3),u.Q6J("ngClass",u.VKq(43,q,nt.screenSize===nt.screenSizeEnum.XS)),u.xp6(2),u.Q6J("fxLayoutAlign",null!=nt.invoice&&nt.invoice.payment_request&&""!==(null==nt.invoice?null:nt.invoice.payment_request)?"center start":"center center")("ngClass",u.VKq(45,Be,nt.screenSize!==nt.screenSizeEnum.XS&&nt.screenSize!==nt.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.payment_request)&&""!==(null==nt.invoice?null:nt.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",!(null!=nt.invoice&&nt.invoice.payment_request)||""===(null==nt.invoice?null:nt.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",nt.screenSize===nt.screenSizeEnum.XS||nt.screenSize===nt.screenSizeEnum.SM),u.xp6(1),u.Q6J("ngClass",u.VKq(47,de,(null==nt.invoice?null:nt.invoice.htlcs)&&(null==nt.invoice?null:nt.invoice.htlcs.length)>0&&nt.showAdvanced)),u.xp6(5),u.Oqu(nt.screenSize===nt.screenSizeEnum.XS?"Amount":"Amount Requested"),u.xp6(2),u.hij("",u.lcZ(26,33,(null==nt.invoice?null:nt.invoice.value)||0)," Sats"),u.xp6(2),u.Q6J("ngIf",!(null!=nt.invoice&&nt.invoice.value)||"0"===(null==nt.invoice?null:nt.invoice.value)),u.xp6(5),u.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.amt_paid_sat)&&"OPEN"!==(null==nt.invoice?null:nt.invoice.state)),u.xp6(1),u.Q6J("ngIf",!(null!=nt.invoice&&nt.invoice.amt_paid_sat)||"0"===(null==nt.invoice?null:nt.invoice.amt_paid_sat)),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu(u.xi3(41,35,1e3*(null==nt.invoice?null:nt.invoice.creation_date),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(0!=+(null==nt.invoice?null:nt.invoice.settle_date)?u.xi3(47,38,1e3*+(null==nt.invoice?null:nt.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),u.xp6(2),u.Q6J("inset",!0),u.xp6(6),u.Oqu(null==nt.invoice?null:nt.invoice.memo),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu((null==nt.invoice?null:nt.invoice.payment_request)||"N/A"),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu((null==nt.invoice?null:nt.invoice.r_hash)||""),u.xp6(1),u.Q6J("ngIf",nt.showAdvanced),u.xp6(1),u.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.htlcs)&&(null==nt.invoice?null:nt.invoice.htlcs.length)>0&&nt.showAdvanced&&nt.flgOpened),u.xp6(3),u.Q6J("ngIf",!nt.showAdvanced)("ngIfElse",wt),u.xp6(3),u.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.payment_request)&&""!==(null==nt.invoice?null:nt.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",!(null!=nt.invoice&&nt.invoice.payment_request)||""===(null==nt.invoice?null:nt.invoice.payment_request))}},dependencies:[I.mk,I.sg,I.O5,I.tP,E.BN,N.xw,N.Wh,N.yH,z.oO,G.lW,G.nh,W.dn,W.dk,Y.ib,Y.yz,Y.yK,X.Hw,ee.d,ue.Ou,he.gM,ie.uU,ce.y,$.h,I.JJ,I.uU]})},7772:(Ve,Q,m)=>{"use strict";m.d(Q,{J:()=>v,_:()=>e});var t=m(7340);const e=[(0,t.X$)("opacityAnimation",[(0,t.eR)(":enter",[(0,t.oB)({opacity:0}),(0,t.jt)("1000ms ease-in",(0,t.oB)({opacity:1}))]),(0,t.eR)(":leave",[(0,t.jt)("0ms",(0,t.oB)({opacity:0}))])])],v=[(0,t.X$)("fadeIn",[(0,t.eR)("void => *",[]),(0,t.eR)("* => void",[]),(0,t.eR)("* => *",[(0,t.jt)(800,(0,t.F4)([(0,t.oB)({opacity:0,transform:"translateY(100%)"}),(0,t.oB)({opacity:1,transform:"translateY(0%)"})]))])])]},8878:(Ve,Q,m)=>{"use strict";m.d(Q,{g:()=>e});var t=m(7340);const e=(0,t.X$)("routeAnimation",[(0,t.eR)("* => *",[(0,t.IO)(":enter, :leave",(0,t.oB)({position:"fixed",width:"100%"}),{optional:!0}),(0,t.ru)([(0,t.IO)(":enter",[(0,t.oB)({transform:"translateX(100%)"}),(0,t.jt)("1000ms ease-in-out",(0,t.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,t.IO)(":leave",[(0,t.oB)({transform:"translateX(0%)"}),(0,t.jt)("1000ms ease-in-out",(0,t.oB)({transform:"translateX(-100%)"}))],{optional:!0})])])])},113:(Ve,Q,m)=>{"use strict";m.d(Q,{l:()=>e});var t=m(7340);const e=[(0,t.X$)("sliderAnimation",[(0,t.SB)("*",(0,t.oB)({transform:"translateX(0)"})),(0,t.eR)("void => backward",[(0,t.oB)({transform:"translateX(-100%"}),(0,t.jt)("800ms")]),(0,t.eR)("backward => void",[(0,t.jt)("0ms",(0,t.oB)({transform:"translateX(100%)"}))]),(0,t.eR)("void => forward",[(0,t.oB)({transform:"translateX(100%"}),(0,t.jt)("800ms")]),(0,t.eR)("forward => void",[(0,t.jt)("0ms",(0,t.oB)({transform:"translateX(-100%)"}))])])]},1786:(Ve,Q,m)=>{"use strict";m.d(Q,{H:()=>w});var t=m(7274),e=m(4650),v=m(5043),D=m(6895),o=m(1576),C=m(4859),u=m(3546),P=m(4850),d=m(3390);function S(I,E){if(1&I&&(e.TgZ(0,"p",14),e._uU(1),e.qZA()),2&I){const N=e.oxw();e.xp6(1),e.Oqu(N.data.titleMessage)}}class w{constructor(E,N,z){this.dialogRef=E,this.data=N,this.logger=z,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)}}w.\u0275fac=function(E){return new(E||w)(e.Y36(t.so),e.Y36(t.WI),e.Y36(v.mQ))},w.\u0275cmp=e.Xpm({type:w,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(E,N){1&E&&(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 N.onClose()}),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"div",7),e.YNc(10,S,2,1,"p",8),e.TgZ(11,"h4",9),e._uU(12,"Error Code"),e.qZA(),e.TgZ(13,"span"),e._uU(14),e.qZA(),e._UZ(15,"mat-divider",10),e.TgZ(16,"h4",9),e._uU(17,"Error Message"),e.qZA(),e.TgZ(18,"span",11),e._uU(19),e.qZA(),e._UZ(20,"mat-divider",10),e.TgZ(21,"h4",9),e._uU(22,"API URL"),e.qZA(),e.TgZ(23,"span",11),e._uU(24),e.qZA(),e._UZ(25,"mat-divider",10),e.TgZ(26,"div",12)(27,"button",13),e._uU(28,"OK"),e.qZA()()()()()()),2&E&&(e.xp6(5),e.Oqu(N.data.alertTitle||"ERROR"),e.xp6(5),e.Q6J("ngIf",N.data.titleMessage),e.xp6(4),e.Oqu(N.data.message.code),e.xp6(5),e.Oqu(N.errorMessage),e.xp6(5),e.Oqu(N.data.message.URL),e.xp6(3),e.Q6J("mat-dialog-close",!1))},dependencies:[D.O5,o.xw,o.Wh,o.yH,t.ZT,C.lW,u.dn,u.dk,P.d,d.h],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})},2615:(Ve,Q,m)=>{"use strict";m.d(Q,{a:()=>Vi});var t=m(4006),e=m(7579),v=m(2722),D=m(7274),o=m(2687),C=m(7772),u=m(7731),P=m(6529),d=m(4650),S=m(9653),w=m(9107),I=m(6895),E=m(5043),N=m(9116),z=m(62),G=m(1576),W=m(5829),Y=m(4859),X=m(3546),ee=m(752),ue=m(7392),he=m(4144),ie=m(9549),ce=m(3162),$=m(1948),fe=m(455),T=m(266),i=m(8425),r=m(3390),h=m(4850);function l($e,Mt){1&$e&&d.GkF(0)}function y($e,Mt){1&$e&&d.GkF(0)}const A=function($e){return{"h-5":$e}};function k($e,Mt){if(1&$e&&(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,y,1,0,"ng-container",0),d.qZA()),2&$e){const ye=d.oxw(),Ot=d.MAs(4);d.Q6J("expanded",ye.panelExpanded)("ngClass",d.VKq(7,A,!ye.flgShowPanel)),d.xp6(4),d.AsE("Quote for ",ye.termCaption," amount (",d.lcZ(5,5,ye.quote.amount)," Sats)"),d.xp6(2),d.Q6J("ngTemplateOutlet",Ot)}}function g($e,Mt){if(1&$e&&(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&$e){const ye=d.oxw(2);d.xp6(6),d.Oqu(d.lcZ(7,1,null==ye.quote?null:ye.quote.prepay_amt_sat))}}function n($e,Mt){1&$e&&d._UZ(0,"mat-divider",13)}function b($e,Mt){if(1&$e&&(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&$e){const ye=d.oxw(2);d.xp6(7),d.Oqu(null==ye.quote?null:ye.quote.swap_payment_dest)}}function U($e,Mt){if(1&$e&&(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,g,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,n,1,0,"mat-divider",17),d.YNc(37,b,8,1,"div",18),d.qZA()),2&$e){const ye=d.oxw();d.xp6(2),d.Q6J("fxFlex",null!=ye.quote&&ye.quote.prepay_amt_sat?"30":"50"),d.xp6(6),d.Oqu(d.lcZ(9,9,null==ye.quote?null:ye.quote.swap_fee_sat)),d.xp6(2),d.Q6J("fxFlex",null!=ye.quote&&ye.quote.prepay_amt_sat?"35":"50"),d.xp6(2),d.hij(" ",null!=ye.quote&&ye.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=ye.quote&&ye.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),d.xp6(4),d.Oqu(d.lcZ(17,11,null!=ye.quote&&ye.quote.htlc_sweep_fee_sat?ye.quote.htlc_sweep_fee_sat:null!=ye.quote&&ye.quote.htlc_publish_fee_sat?ye.quote.htlc_publish_fee_sat:0)),d.xp6(2),d.Q6J("ngIf",null==ye.quote?null:ye.quote.prepay_amt_sat),d.xp6(9),d.Oqu(d.lcZ(28,13,(null==ye.quote?null:ye.quote.amount)*((null!=ye.quote&&ye.quote.off_chain_swap_routing_fee_percentage?null==ye.quote?null:ye.quote.off_chain_swap_routing_fee_percentage:2)/100))),d.xp6(9),d.Q6J("ngIf",""!==(null==ye.quote?null:ye.quote.swap_payment_dest)),d.xp6(1),d.Q6J("ngIf",""!==(null==ye.quote?null:ye.quote.swap_payment_dest))}}class V{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}}function j($e,Mt){1&$e&&d.GkF(0)}function Ae($e,Mt){if(1&$e&&(d.TgZ(0,"div",3)(1,"span",4),d._uU(2),d.qZA()()),2&$e){const ye=d.oxw();d.xp6(2),d.Oqu(null!=ye.loopStatus&&ye.loopStatus.error?null==ye.loopStatus?null:ye.loopStatus.error:"Unknown Error.")}}function Ke($e,Mt){if(1&$e&&(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&$e){const ye=d.oxw();d.xp6(6),d.Oqu(null==ye.loopStatus?null:ye.loopStatus.id_bytes),d.xp6(7),d.Oqu(null==ye.loopStatus?null:ye.loopStatus.htlc_address)}}V.\u0275fac=function(Mt){return new(Mt||V)},V.\u0275cmp=d.Xpm({type:V,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,ye){if(1&Mt&&(d.YNc(0,l,1,0,"ng-container",0),d.YNc(1,k,7,9,"ng-template",null,1,d.W1O),d.YNc(3,U,38,15,"ng-template",null,2,d.W1O)),2&Mt){const Ot=d.MAs(2),Kt=d.MAs(4);d.Q6J("ngTemplateOutlet",ye.showPanel?Ot:Kt)}},dependencies:[I.mk,I.O5,I.tP,G.xw,G.Wh,G.yH,W.oO,ee.ib,ee.yz,ee.yK,ue.Hw,h.d,T.gM,I.JJ]});class qe{constructor(){}}qe.\u0275fac=function(Mt){return new(Mt||qe)},qe.\u0275cmp=d.Xpm({type:qe,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,ye){if(1&Mt&&(d.YNc(0,j,1,0,"ng-container",0),d.YNc(1,Ae,3,1,"ng-template",null,1,d.W1O),d.YNc(3,Ke,14,2,"ng-template",null,2,d.W1O)),2&Mt){const Ot=d.MAs(2),Kt=d.MAs(4);d.Q6J("ngTemplateOutlet",null!=ye.loopStatus&&ye.loopStatus.error?Ot:Kt)}},dependencies:[I.tP,G.xw,G.Wh,G.yH,h.d]});var ct=m(113);function Ie($e,Mt){1&$e&&d.GkF(0)}const xe=function($e,Mt){return{"small-svg":$e,"large-svg":Mt}};function le($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ye);const mi=d.oxw();return d.KtG(mi.onSwipe(Kt))}),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&$e){const ye=d.oxw();d.Q6J("@sliderAnimation",ye.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,xe,ye.screenSize===ye.screenSizeEnum.XS,ye.screenSize!==ye.screenSizeEnum.XS))}}function _e($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ye);const mi=d.oxw();return d.KtG(mi.onSwipe(Kt))}),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&$e){const ye=d.oxw();d.Q6J("@sliderAnimation",ye.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,xe,ye.screenSize===ye.screenSizeEnum.XS,ye.screenSize!==ye.screenSizeEnum.XS))}}function se($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ye);const mi=d.oxw();return d.KtG(mi.onSwipe(Kt))}),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&$e){const ye=d.oxw();d.Q6J("@sliderAnimation",ye.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,xe,ye.screenSize===ye.screenSizeEnum.XS,ye.screenSize!==ye.screenSizeEnum.XS))}}function Ye($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ye);const mi=d.oxw();return d.KtG(mi.onSwipe(Kt))}),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&$e){const ye=d.oxw();d.Q6J("@sliderAnimation",ye.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,xe,ye.screenSize===ye.screenSizeEnum.XS,ye.screenSize!==ye.screenSizeEnum.XS))}}function Te($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ye);const mi=d.oxw();return d.KtG(mi.onSwipe(Kt))}),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&$e){const ye=d.oxw();d.Q6J("@sliderAnimation",ye.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,xe,ye.screenSize===ye.screenSizeEnum.XS,ye.screenSize!==ye.screenSizeEnum.XS))}}class oe{constructor(Mt){this.commonService=Mt,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=u.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Mt){2===Mt.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Mt.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}function be($e,Mt){1&$e&&d.GkF(0)}oe.\u0275fac=function(Mt){return new(Mt||oe)(d.Y36(z.v))},oe.\u0275cmp=d.Xpm({type:oe,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,ye){if(1&Mt&&(d.YNc(0,Ie,1,0,"ng-container",0),d.YNc(1,le,32,5,"ng-template",null,1,d.W1O),d.YNc(3,_e,66,5,"ng-template",null,2,d.W1O),d.YNc(5,se,93,5,"ng-template",null,3,d.W1O),d.YNc(7,Ye,54,5,"ng-template",null,4,d.W1O),d.YNc(9,Te,51,5,"ng-template",null,5,d.W1O)),2&Mt){const Ot=d.MAs(2),Kt=d.MAs(4),mi=d.MAs(6),Mi=d.MAs(8),Pi=d.MAs(10);d.Q6J("ngTemplateOutlet",1===ye.stepNumber?Ot:2===ye.stepNumber?Kt:3===ye.stepNumber?mi:4===ye.stepNumber?Mi:Pi)}},dependencies:[I.mk,I.tP,G.xw,G.Wh,G.yH,W.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:[ct.l]}});const te=function($e,Mt){return{"small-svg":$e,"large-svg":Mt}};function Ue($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ye);const mi=d.oxw();return d.KtG(mi.onSwipe(Kt))}),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&$e){const ye=d.oxw();d.Q6J("@sliderAnimation",ye.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,te,ye.screenSize===ye.screenSizeEnum.XS,ye.screenSize!==ye.screenSizeEnum.XS))}}function Be($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ye);const mi=d.oxw();return d.KtG(mi.onSwipe(Kt))}),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&$e){const ye=d.oxw();d.Q6J("@sliderAnimation",ye.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,te,ye.screenSize===ye.screenSizeEnum.XS,ye.screenSize!==ye.screenSizeEnum.XS))}}function q($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ye);const mi=d.oxw();return d.KtG(mi.onSwipe(Kt))}),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&$e){const ye=d.oxw();d.Q6J("@sliderAnimation",ye.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,te,ye.screenSize===ye.screenSizeEnum.XS,ye.screenSize!==ye.screenSizeEnum.XS))}}function de($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ye);const mi=d.oxw();return d.KtG(mi.onSwipe(Kt))}),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&$e){const ye=d.oxw();d.Q6J("@sliderAnimation",ye.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,te,ye.screenSize===ye.screenSizeEnum.XS,ye.screenSize!==ye.screenSizeEnum.XS))}}function Ce($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ye);const mi=d.oxw();return d.KtG(mi.onSwipe(Kt))}),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&$e){const ye=d.oxw();d.Q6J("@sliderAnimation",ye.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,te,ye.screenSize===ye.screenSizeEnum.XS,ye.screenSize!==ye.screenSizeEnum.XS))}}class ke{constructor(Mt){this.commonService=Mt,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=u.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Mt){2===Mt.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Mt.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}ke.\u0275fac=function(Mt){return new(Mt||ke)(d.Y36(z.v))},ke.\u0275cmp=d.Xpm({type:ke,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,ye){if(1&Mt&&(d.YNc(0,be,1,0,"ng-container",0),d.YNc(1,Ue,32,5,"ng-template",null,1,d.W1O),d.YNc(3,Be,51,5,"ng-template",null,2,d.W1O),d.YNc(5,q,74,5,"ng-template",null,3,d.W1O),d.YNc(7,de,53,5,"ng-template",null,4,d.W1O),d.YNc(9,Ce,66,5,"ng-template",null,5,d.W1O)),2&Mt){const Ot=d.MAs(2),Kt=d.MAs(4),mi=d.MAs(6),Mi=d.MAs(8),Pi=d.MAs(10);d.Q6J("ngTemplateOutlet",1===ye.stepNumber?Ot:2===ye.stepNumber?Kt:3===ye.stepNumber?mi:4===ye.stepNumber?Mi:Pi)}},dependencies:[I.mk,I.tP,G.xw,G.Wh,G.yH,W.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:[ct.l]}});const ht=["stepper"];function nt($e,Mt){if(1&$e&&(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&$e){const ye=d.oxw(2);d.xp6(4),d.Oqu(d.lcZ(5,2,ye.channel.remote_alias)),d.xp6(5),d.Oqu(ye.channel.chan_id)}}function wt($e,Mt){if(1&$e&&d._uU(0),2&$e){const ye=d.oxw(2);d.Oqu(ye.inputFormLabel)}}function it($e,Mt){1&$e&&(d.TgZ(0,"mat-error"),d._uU(1,"Amount is required."),d.qZA())}function qt($e,Mt){if(1&$e&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&$e){const ye=d.oxw(2);d.xp6(1),d.hij("Amount must be greater than or equal to ",d.lcZ(2,1,ye.minQuote.amount),".")}}function _t($e,Mt){if(1&$e&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&$e){const ye=d.oxw(2);d.xp6(1),d.hij("Amount must be less than or equal to ",d.lcZ(2,1,ye.maxQuote.amount),".")}}function ne($e,Mt){1&$e&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target is required."),d.qZA())}function Nt($e,Mt){1&$e&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target must be a positive number."),d.qZA())}function De($e,Mt){1&$e&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage is required."),d.qZA())}function He($e,Mt){1&$e&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage must be a positive number."),d.qZA())}function Ct($e,Mt){if(1&$e&&(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,De,2,0,"mat-error",25),d.YNc(5,He,2,0,"mat-error",25),d.qZA()),2&$e){const ye=d.oxw(2);d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==ye.inputFormGroup.controls.routingFeePercent.errors?null:ye.inputFormGroup.controls.routingFeePercent.errors.required),d.xp6(1),d.Q6J("ngIf",null==ye.inputFormGroup.controls.routingFeePercent.errors?null:ye.inputFormGroup.controls.routingFeePercent.errors.min)}}function Pe($e,Mt){1&$e&&(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 tt($e,Mt){if(1&$e&&d._uU(0),2&$e){const ye=d.oxw(2);d.Oqu(ye.quoteFormLabel)}}function Bt($e,Mt){1&$e&&(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 Lt($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"button",57),d.NdJ("click",function(){d.CHM(ye);const Kt=d.oxw(2);return d.KtG(Kt.onValidateAmount())}),d._uU(1,"Next"),d.qZA()}}function Ht($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"button",58),d.NdJ("click",function(){d.CHM(ye);const Kt=d.oxw(2);return d.KtG(Kt.onLoop())}),d._uU(1),d.qZA()}if(2&$e){const ye=d.oxw(2);d.xp6(1),d.hij("Initiate ",ye.loopDirectionCaption,"")}}function bt($e,Mt){if(1&$e&&d._uU(0),2&$e){const ye=d.oxw(3);d.Oqu(ye.addressFormLabel)}}function Me($e,Mt){1&$e&&(d.TgZ(0,"mat-error"),d._uU(1,"Address is required."),d.qZA())}function J($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"mat-step",16)(1,"form",17),d.YNc(2,bt,1,1,"ng-template",18),d.TgZ(3,"div",59)(4,"mat-radio-group",60),d.NdJ("change",function(Kt){d.CHM(ye);const mi=d.oxw(2);return d.KtG(mi.onAddressTypeChange(Kt))}),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,Me,2,0,"mat-error",25),d.qZA()(),d.TgZ(14,"div",29)(15,"button",65),d.NdJ("click",function(){d.CHM(ye);const Kt=d.oxw(2);return d.KtG(Kt.onLoop())}),d._uU(16),d.qZA()()()()}if(2&$e){const ye=d.oxw(2);d.Q6J("stepControl",ye.addressFormGroup)("editable",ye.flgEditable),d.xp6(1),d.Q6J("formGroup",ye.addressFormGroup),d.xp6(11),d.Q6J("required","external"===ye.addressFormGroup.controls.addressType.value),d.xp6(1),d.Q6J("ngIf",null==ye.addressFormGroup.controls.address.errors?null:ye.addressFormGroup.controls.address.errors.required),d.xp6(3),d.hij("Initiate ",ye.loopDirectionCaption,"")}}function ve($e,Mt){if(1&$e&&d._uU(0),2&$e){const ye=d.oxw(2);d.hij("",ye.loopDirectionCaption," Status")}}function Re($e,Mt){if(1&$e&&(d.TgZ(0,"mat-icon",66),d._uU(1),d.qZA()),2&$e){const ye=d.oxw(2);d.xp6(1),d.Oqu(ye.loopStatus&&null!=ye.loopStatus&&ye.loopStatus.id_bytes?"check":"close")}}function at($e,Mt){1&$e&&d._UZ(0,"div")}function ni($e,Mt){1&$e&&d._UZ(0,"mat-progress-bar",67)}function Gt($e,Mt){if(1&$e&&(d.TgZ(0,"h4",68),d._uU(1),d.qZA()),2&$e){const ye=d.oxw(2);d.xp6(1),d.Oqu(ye.loopStatus&&ye.loopStatus.error?ye.loopDirectionCaption+" failed.":ye.loopStatus&&ye.loopStatus.id_bytes&&ye.channel?ye.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":ye.loopDirectionCaption+" request placed successfully.")}}function ti($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"button",69),d.NdJ("click",function(){d.CHM(ye);const Kt=d.oxw(2);return d.KtG(Kt.goToLoop())}),d._uU(1,"Check Status"),d.qZA()}}function dt($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"button",70),d.NdJ("click",function(){d.CHM(ye);const Kt=d.oxw(2);return d.KtG(Kt.onRestart())}),d._uU(1,"Start Again"),d.qZA()}}function rt($e,Mt){if(1&$e){const ye=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(ye);const Kt=d.oxw();return d.KtG(Kt.showInfo())}),d._uU(8,"?"),d.qZA(),d.TgZ(9,"button",10),d.NdJ("click",function(){d.CHM(ye);const Kt=d.oxw();return d.KtG(Kt.onClose())}),d._uU(10,"X"),d.qZA()()(),d.TgZ(11,"mat-card-content",11)(12,"div",12),d.YNc(13,nt,11,4,"div",13),d.TgZ(14,"mat-vertical-stepper",14,15),d.NdJ("selectionChange",function(Kt){d.CHM(ye);const mi=d.oxw();return d.KtG(mi.stepSelectionChanged(Kt))}),d.TgZ(16,"mat-step",16)(17,"form",17),d.YNc(18,wt,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,it,2,0,"mat-error",25),d.YNc(34,qt,3,3,"mat-error",25),d.YNc(35,_t,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,ne,2,0,"mat-error",25),d.YNc(41,Nt,2,0,"mat-error",25),d.qZA(),d.YNc(42,Ct,6,3,"mat-form-field",27),d.qZA(),d.YNc(43,Pe,5,0,"div",28),d.TgZ(44,"div",29)(45,"button",30),d.NdJ("click",function(){d.CHM(ye);const Kt=d.oxw();return d.KtG(Kt.onEstimateQuote())}),d._uU(46,"Estimate Quote"),d.qZA()()()(),d.TgZ(47,"mat-step",16)(48,"form",17),d.YNc(49,tt,1,1,"ng-template",18),d._UZ(50,"rtl-loop-quote",31),d.YNc(51,Bt,4,0,"p",32),d.TgZ(52,"div",29),d.YNc(53,Lt,2,0,"button",33),d.YNc(54,Ht,2,1,"button",34),d.qZA()()(),d.YNc(55,J,17,6,"mat-step",35),d.TgZ(56,"mat-step",36)(57,"form",17),d.YNc(58,ve,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,Re,2,1,"mat-icon",40),d.qZA()()(),d.YNc(66,at,1,0,"div",41),d.qZA(),d.YNc(67,ni,1,0,"mat-progress-bar",42),d.qZA(),d.YNc(68,Gt,2,1,"h4",43),d.TgZ(69,"div",29),d.YNc(70,ti,2,0,"button",44),d.YNc(71,dt,2,0,"button",45),d.qZA()()()(),d.TgZ(72,"div",46)(73,"button",47),d._uU(74,"Close"),d.qZA()()()()()()}if(2&$e){const ye=d.oxw(),Ot=d.MAs(2);d.Q6J("@opacityAnimation",void 0),d.xp6(3),d.Q6J("fxFlex",ye.screenSize===ye.screenSizeEnum.XS||ye.screenSize===ye.screenSizeEnum.SM?"83":"91"),d.xp6(2),d.Oqu(ye.channel?"Channel "+ye.loopDirectionCaption:ye.loopDirectionCaption),d.xp6(1),d.Q6J("fxFlex",ye.screenSize===ye.screenSizeEnum.XS||ye.screenSize===ye.screenSizeEnum.SM?"17":"9"),d.xp6(7),d.Q6J("ngIf",ye.channel),d.xp6(1),d.Q6J("linear",!0),d.xp6(2),d.Q6J("stepControl",ye.inputFormGroup)("editable",ye.flgEditable),d.xp6(1),d.Q6J("formGroup",ye.inputFormGroup),d.xp6(3),d.Q6J("quote",ye.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),d.xp6(1),d.Q6J("quote",ye.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),d.xp6(2),d.Q6J("fxFlex",ye.direction===ye.LoopTypeEnum.LOOP_OUT?"35":"48"),d.xp6(3),d.Q6J("step",1e3),d.xp6(2),d.AsE("Range: ",d.lcZ(29,51,ye.minQuote.amount),"-",d.lcZ(30,53,ye.maxQuote.amount),""),d.xp6(5),d.Q6J("ngIf",null==ye.inputFormGroup.controls.amount.errors?null:ye.inputFormGroup.controls.amount.errors.required),d.xp6(1),d.Q6J("ngIf",null==ye.inputFormGroup.controls.amount.errors?null:ye.inputFormGroup.controls.amount.errors.min),d.xp6(1),d.Q6J("ngIf",null==ye.inputFormGroup.controls.amount.errors?null:ye.inputFormGroup.controls.amount.errors.max),d.xp6(1),d.Q6J("fxFlex",ye.direction===ye.LoopTypeEnum.LOOP_OUT?"30":"48"),d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==ye.inputFormGroup.controls.sweepConfTarget.errors?null:ye.inputFormGroup.controls.sweepConfTarget.errors.required),d.xp6(1),d.Q6J("ngIf",null==ye.inputFormGroup.controls.sweepConfTarget.errors?null:ye.inputFormGroup.controls.sweepConfTarget.errors.min),d.xp6(1),d.Q6J("ngIf",ye.direction===ye.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",ye.direction===ye.LoopTypeEnum.LOOP_OUT),d.xp6(4),d.Q6J("stepControl",ye.quoteFormGroup)("editable",ye.flgEditable),d.xp6(1),d.Q6J("formGroup",ye.quoteFormGroup),d.xp6(2),d.Q6J("quote",ye.quote)("showPanel",!1),d.xp6(1),d.Q6J("ngIf",ye.inputFormGroup.controls.amount.value>ye.localBalanceToCompare),d.xp6(2),d.Q6J("ngIf",ye.direction===ye.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",ye.direction===ye.LoopTypeEnum.LOOP_IN),d.xp6(1),d.Q6J("ngIf",ye.direction===ye.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("stepControl",ye.statusFormGroup),d.xp6(1),d.Q6J("formGroup",ye.statusFormGroup),d.xp6(3),d.Q6J("expanded",!!ye.loopStatus),d.xp6(4),d.Oqu(ye.loopStatus?ye.loopStatus.id_bytes?ye.loopDirectionCaption+" request details":ye.loopDirectionCaption+" error details":"Waiting for "+ye.loopDirectionCaption+" request..."),d.xp6(1),d.Q6J("ngIf",ye.loopStatus),d.xp6(1),d.Q6J("ngIf",!ye.loopStatus)("ngIfElse",Ot),d.xp6(1),d.Q6J("ngIf",!ye.loopStatus),d.xp6(1),d.Q6J("ngIf",ye.loopStatus),d.xp6(2),d.Q6J("ngIf",ye.loopStatus&&ye.loopStatus.id_bytes&&ye.channel),d.xp6(1),d.Q6J("ngIf",ye.loopStatus&&(ye.loopStatus.error||!ye.loopStatus.id_bytes)),d.xp6(2),d.Q6J("mat-dialog-close",!1)}}function vt($e,Mt){if(1&$e&&d._UZ(0,"rtl-loop-status",71),2&$e){const ye=d.oxw();d.Q6J("loopStatus",ye.loopStatus)}}function ai($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"rtl-loop-out-info-graphics",88),d.NdJ("stepNumberChange",function(Kt){d.CHM(ye);const mi=d.oxw(2);return d.KtG(mi.stepNumber=Kt)}),d.qZA()}if(2&$e){const ye=d.oxw(2);d.Q6J("animationDirection",ye.animationDirection)("stepNumber",ye.stepNumber)}}function Ut($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"rtl-loop-in-info-graphics",88),d.NdJ("stepNumberChange",function(Kt){d.CHM(ye);const mi=d.oxw(2);return d.KtG(mi.stepNumber=Kt)}),d.qZA()}if(2&$e){const ye=d.oxw(2);d.Q6J("animationDirection",ye.animationDirection)("stepNumber",ye.stepNumber)}}const Vt=function($e,Mt){return{"dot-primary":$e,"dot-primary-lighter":Mt}};function Rt($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"span",89),d.NdJ("click",function(){const mi=d.CHM(ye).$implicit,Mi=d.oxw(2);return d.KtG(Mi.onStepChanged(mi))}),d._UZ(1,"p",90),d.qZA()}if(2&$e){const ye=Mt.$implicit,Ot=d.oxw(2);d.xp6(1),d.Q6J("ngClass",d.WLB(1,Vt,Ot.stepNumber===ye,Ot.stepNumber!==ye))}}function je($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"button",91),d.NdJ("click",function(){d.CHM(ye);const Kt=d.oxw(2);return d.KtG(Kt.onReadMore())}),d._uU(1,"Read More"),d.qZA()}}function Fe($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"button",92),d.NdJ("click",function(){d.CHM(ye);const Kt=d.oxw(2);return d.KtG(Kt.onStepChanged(4))}),d._uU(1,"Back"),d.qZA()}}function We($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"button",93),d.NdJ("click",function(){d.CHM(ye);const Kt=d.oxw(2);return Kt.flgShowInfo=!1,d.KtG(Kt.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function Je($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"button",94),d.NdJ("click",function(){d.CHM(ye);const Kt=d.oxw(2);return Kt.flgShowInfo=!1,d.KtG(Kt.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function Tt($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"button",95),d.NdJ("click",function(){d.CHM(ye);const Kt=d.oxw(2);return d.KtG(Kt.onStepChanged(Kt.stepNumber-1))}),d._uU(1,"Back"),d.qZA()}}function ui($e,Mt){if(1&$e){const ye=d.EpF();d.TgZ(0,"button",96),d.NdJ("click",function(){d.CHM(ye);const Kt=d.oxw(2);return d.KtG(Kt.onStepChanged(Kt.stepNumber+1))}),d._uU(1,"Next"),d.qZA()}}const Ei=function(){return[1,2,3,4,5]};function xi($e,Mt){if(1&$e){const ye=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",76),d.NdJ("click",function(){d.CHM(ye);const Kt=d.oxw();return Kt.flgShowInfo=!1,d.KtG(Kt.stepNumber=1)}),d._uU(7,"X"),d.qZA()()(),d.TgZ(8,"mat-card-content",77),d.YNc(9,ai,1,2,"rtl-loop-out-info-graphics",78),d.YNc(10,Ut,1,2,"rtl-loop-in-info-graphics",78),d.qZA(),d.TgZ(11,"div",79),d.YNc(12,Rt,2,4,"span",80),d.qZA(),d.TgZ(13,"div",81),d.YNc(14,je,2,0,"button",82),d.YNc(15,Fe,2,0,"button",83),d.YNc(16,We,2,0,"button",84),d.YNc(17,Je,2,0,"button",85),d.YNc(18,Tt,2,0,"button",86),d.YNc(19,ui,2,0,"button",87),d.qZA()()()}if(2&$e){const ye=d.oxw();d.Q6J("@opacityAnimation",void 0),d.xp6(9),d.Q6J("ngIf",ye.direction===ye.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",ye.direction===ye.LoopTypeEnum.LOOP_IN),d.xp6(2),d.Q6J("ngForOf",d.DdM(10,Ei)),d.xp6(2),d.Q6J("ngIf",5===ye.stepNumber),d.xp6(1),d.Q6J("ngIf",5===ye.stepNumber),d.xp6(1),d.Q6J("ngIf",5===ye.stepNumber),d.xp6(1),d.Q6J("ngIf",ye.stepNumber<5),d.xp6(1),d.Q6J("ngIf",ye.stepNumber>1&&ye.stepNumber<5),d.xp6(1),d.Q6J("ngIf",ye.stepNumber<5)}}class Vi{constructor(Mt,ye,Ot,Kt,mi,Mi,Pi,Wi,Zt){this.dialogRef=Mt,this.data=ye,this.store=Ot,this.loopService=Kt,this.formBuilder=mi,this.decimalPipe=Mi,this.logger=Pi,this.router=Wi,this.commonService=Zt,this.faInfoCircle=o.sqG,this.LoopTypeEnum=u.$I,this.direction=u.$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=u.cu,this.animationDirection="forward",this.flgEditable=!0,this.localBalanceToCompare=null,this.unSubs=[new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.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||u.$I.LOOP_OUT,this.loopDirectionCaption=this.direction===u.$I.LOOP_IN?"Loop in":"Loop out",this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.minQuote.amount,[t.kI.required,t.kI.min(this.minQuote.amount||0),t.kI.max(this.maxQuote.amount||0)]],sweepConfTarget:[6,[t.kI.required,t.kI.min(1)]],routingFeePercent:[2,[t.kI.required,t.kI.min(0)]],fast:[!1,[t.kI.required]]}),this.inputFormGroup.setErrors({Invalid:!0}),this.quoteFormGroup=this.formBuilder.group({}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[t.kI.required]],address:[{value:"",disabled:!0}]}),this.direction===u.$I.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(P.ZW).pipe((0,v.R)(this.unSubs[6])).subscribe(Mt=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:Mt.lightningBalance&&Mt.lightningBalance.local?+Mt.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,v.R)(this.unSubs[4])).subscribe(Mt=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===u.$I.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,v.R)(this.unSubs[5])).subscribe(Mt=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(Mt){"external"===Mt.value?(this.addressFormGroup.controls.address.setValidators([t.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.value<this.minQuote.amount||this.maxQuote.amount&&this.inputFormGroup.controls.amount.value>this.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2||this.direction===u.$I.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===u.$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===u.$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,v.R)(this.unSubs[0])).subscribe({next:Mt=>{this.loopStatus=Mt,this.loopService.listSwaps(),this.flgEditable=!0},error:Mt=>{this.loopStatus={error:Mt},this.flgEditable=!0,this.logger.error(Mt)}});else{const Mt=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),ye="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",Ot=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,Mt,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),Ot,ye).pipe((0,v.R)(this.unSubs[1])).subscribe({next:Kt=>{this.loopStatus=Kt,this.loopService.listSwaps(),this.flgEditable=!0},error:Kt=>{this.loopStatus={error:Kt},this.flgEditable=!0,this.logger.error(Kt)}})}}onEstimateQuote(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.value<this.minQuote.amount||this.maxQuote.amount&&this.inputFormGroup.controls.amount.value>this.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2)return!0;const Mt=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===u.$I.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,Mt).pipe((0,v.R)(this.unSubs[2])).subscribe(ye=>{this.quote=ye,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,Mt).pipe((0,v.R)(this.unSubs[3])).subscribe(ye=>{this.quote=ye,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(Mt){switch(Mt.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===u.$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===u.$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===u.$I.LOOP_OUT&&1!==Mt.selectedIndex&&Mt.selectedIndex<Mt.previouslySelectedIndex||this.direction===u.$I.LOOP_IN&&Mt.selectedIndex<Mt.previouslySelectedIndex)&&Mt.selectedStep.stepControl.setErrors({Invalid:!0})}goToLoop(){this.dialogRef.close(!0),this.router.navigateByUrl("/services/loop")}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===u.$I.LOOP_IN?window.open("https://blog.lightning.engineering/announcement/2019/06/25/loop-in.html","_blank"):window.open("https://blog.lightning.engineering/technical/posts/2019/04/15/loop-out-in-depth.html","_blank"),this.onClose()}onStepChanged(Mt){this.animationDirection=Mt<this.stepNumber?"backward":"forward",this.stepNumber=Mt}onRestart(){this.stepper.reset(),this.flgEditable=!0,this.inputFormGroup.reset({amount:this.minQuote.amount,sweepConfTarget:6,routingFeePercent:2,fast:!1}),this.quoteFormGroup.reset(),this.statusFormGroup.reset(),this.addressFormGroup.reset({addressType:"local",address:""}),this.addressFormGroup.controls.address.disable()}ngOnDestroy(){this.unSubs.forEach(Mt=>{Mt.next(null),Mt.complete()})}}Vi.\u0275fac=function(Mt){return new(Mt||Vi)(d.Y36(D.so),d.Y36(D.WI),d.Y36(S.yh),d.Y36(w.W),d.Y36(t.QS),d.Y36(I.JJ),d.Y36(E.mQ),d.Y36(N.F0),d.Y36(z.v))},Vi.\u0275cmp=d.Xpm({type:Vi,selectors:[["rtl-loop-modal"]],viewQuery:function(Mt,ye){if(1&Mt&&d.Gf(ht,5),2&Mt){let Ot;d.iGM(Ot=d.CRH())&&(ye.stepper=Ot.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"],["tabindex","19","mat-button","",1,"btn-close-x","p-0",3,"click"],["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"],["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"],["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,ye){1&Mt&&(d.YNc(0,rt,75,55,"div",0),d.YNc(1,vt,1,1,"ng-template",null,1,d.W1O),d.YNc(3,xi,20,11,"div",2)),2&Mt&&(d.Q6J("ngIf",!ye.flgShowInfo),d.xp6(3),d.Q6J("ngIf",ye.flgShowInfo))},dependencies:[I.mk,I.sg,I.O5,t._Y,t.Fj,t.wV,t.JJ,t.JL,t.Q7,t.sg,t.u,G.xw,G.Wh,G.yH,W.oO,D.ZT,Y.lW,X.dn,X.dk,ee.ib,ee.yz,ee.yK,ue.Hw,he.Nt,ie.KE,ie.hX,ie.bx,ie.TO,ie.R9,ce.pW,$.VQ,$.U0,fe.Rr,T.gM,i.C0,i.VY,i.Vq,r.h,V,qe,oe,ke,I.JJ,I.rS],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem}"],data:{animation:[C._]}})},9442:(Ve,Q,m)=>{"use strict";m.d(Q,{w:()=>P});var t=m(2687),e=m(4650),v=m(9116),D=m(2216),o=m(1576),C=m(4859),u=m(3546);class P{constructor(S){this.router=S,this.faTimes=t.NBC}goToHelp(){this.router.navigate(["/help"])}}P.\u0275fac=function(S){return new(S||P)(e.Y36(v.F0))},P.\u0275cmp=e.Xpm({type:P,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(S,w){1&S&&(e.TgZ(0,"div",0),e._UZ(1,"fa-icon",1),e.TgZ(2,"span",2),e._uU(3,"Page Not Found"),e.qZA()(),e.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"div",5)(8,"div",6),e._uU(9,"This page does not exist!"),e.qZA(),e.TgZ(10,"span",7)(11,"button",8),e.NdJ("click",function(){return w.goToHelp()}),e._uU(12,"Go To Help"),e.qZA()()()()()()),2&S&&(e.xp6(1),e.Q6J("icon",w.faTimes))},dependencies:[D.BN,o.xw,o.Wh,o.yH,C.lW,u.a8,u.dn],encapsulation:2})},3390:(Ve,Q,m)=>{"use strict";m.d(Q,{h:()=>e});var t=m(4650);class e{constructor(D){this.el=D}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}}e.\u0275fac=function(D){return new(D||e)(t.Y36(t.SBq))},e.\u0275dir=t.lG2({type:e,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}})},5199:(Ve,Q,m)=>{"use strict";m.d(Q,{y:()=>e});var t=m(4650);class e{constructor(){this.copied=new t.vpe}onClick(D){D.preventDefault(),this.payload&&navigator.clipboard&&navigator.clipboard.writeText(this.payload.toString()).then(()=>{this.copied.emit(this.payload.toString())},o=>{this.copied.emit("Error could not copy text: "+JSON.stringify(o))})}}e.\u0275fac=function(D){return new(D||e)},e.\u0275dir=t.lG2({type:e,selectors:[["","rtlClipboard",""]],hostBindings:function(D,o){1&D&&t.NdJ("click",function(u){return o.onClick(u)})},inputs:{payload:"payload"},outputs:{copied:"copied"}})},9843:(Ve,Q,m)=>{"use strict";m.d(Q,{F:()=>v});var t=m(4006),e=m(4650);class v{validate(o){return this.max?t.kI.max(+this.max)(o):null}}v.\u0275fac=function(o){return new(o||v)},v.\u0275dir=e.lG2({type:v,selectors:[["input","max",""]],inputs:{max:"max"},features:[e._Bn([{provide:t.Cf,useExisting:v,multi:!0}])]})},6534:(Ve,Q,m)=>{"use strict";m.d(Q,{q:()=>v});var t=m(4006),e=m(4650);class v{validate(o){return this.min?t.kI.min(+this.min)(o):null}}v.\u0275fac=function(o){return new(o||v)},v.\u0275dir=e.lG2({type:v,selectors:[["input","min",""]],inputs:{min:"min"},features:[e._Bn([{provide:t.Cf,useExisting:v,multi:!0}])]})},9445:(Ve,Q,m)=>{"use strict";m.d(Q,{D3:()=>o,al:()=>e,h9:()=>v,i1:()=>D});var t=m(4650);class e{transform(u,P){return u?.replace(/^[0]+/g,"")}}e.\u0275fac=function(u){return new(u||e)},e.\u0275pipe=t.Yjl({name:"removeleadingzeros",type:e,pure:!0});class v{transform(u,P){return u?.replace(/(?:^\w|[A-Z]|\b\w)/g,(d,S)=>d.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}}v.\u0275fac=function(u){return new(u||v)},v.\u0275pipe=t.Yjl({name:"camelcase",type:v,pure:!0});class D{transform(u,P,d){return u.replace(/(?:^\w|[A-Z]|\b\w)/g,(S,w)=>" "+S.toUpperCase())}}D.\u0275fac=function(u){return new(u||D)},D.\u0275pipe=t.Yjl({name:"camelCaseWithSpaces",type:D,pure:!0});class o{transform(u,P,d){return u=u?.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "),P&&(u=u.replace(new RegExp(P,"g")," ")),d&&(u=u.replace(new RegExp(d,"g")," ")),u.replace(/(?:^\w|[A-Z]|\b\w)/g,(S,w)=>S.toUpperCase())}}o.\u0275fac=function(u){return new(u||o)},o.\u0275pipe=t.Yjl({name:"camelcaseWithReplace",type:o,pure:!0})},1643:(Ve,Q,m)=>{"use strict";m.d(Q,{QM:()=>C,a1:()=>o,eQ:()=>u,fY:()=>P});var t=m(4004),e=m(4650),v=m(9116),D=m(5986);class o{constructor(S,w){this.router=S,this.sessionService=w}canActivate(S){return!(!this.sessionService.getItem("token")||"settings"!==S.url[0].path&&"auth"!==S.url[0].path&&"true"===this.sessionService.getItem("defaultPassword")&&(this.router.navigate(["/settings/auth"]),1))}}o.\u0275fac=function(S){return new(S||o)(e.LFG(v.F0),e.LFG(D.m))},o.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac});class C{constructor(S){this.sessionService=S}canActivate(){return!!this.sessionService.watchSession().pipe((0,t.U)(S=>S.lndUnlocked))}}C.\u0275fac=function(S){return new(S||C)(e.LFG(D.m))},C.\u0275prov=e.Yz7({token:C,factory:C.\u0275fac});class u{constructor(S){this.sessionService=S}canActivate(){return!!this.sessionService.watchSession().pipe((0,t.U)(S=>S.clUnlocked))}}u.\u0275fac=function(S){return new(S||u)(e.LFG(D.m))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac});class P{constructor(S){this.sessionService=S}canActivate(){return!!this.sessionService.watchSession().pipe((0,t.U)(S=>S.eclUnlocked))}}P.\u0275fac=function(S){return new(S||P)(e.LFG(D.m))},P.\u0275prov=e.Yz7({token:P,factory:P.\u0275fac})},62:(Ve,Q,m)=>{"use strict";m.d(Q,{v:()=>w});var t=m(1135),e=m(9646),v=m(2843),D=m(5698),o=m(4004),C=m(262),u=m(7731),P=m(4650),d=m(8104),S=m(5043);class w{constructor(E,N){this.dataService=E,this.logger=N,this.currencyUnits=[],this.CurrencyUnitEnum=u.NT,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=u.Bn.UN_INITIATED,this.screenSize=u.cu.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new t.X(this.containerSize)}getScreenSize(){return this.screenSize}setScreenSize(E){this.screenSize=E}getContainerSize(){return this.containerSize}setContainerSize(E,N){this.containerSize={width:E,height:N},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(E,N,z,G="asc"){return E.sort("number"===z?"desc"===G?(W,Y)=>+W[N]>+Y[N]?-1:1:(W,Y)=>+W[N]>+Y[N]?1:-1:"desc"===G?(W,Y)=>W[N]>Y[N]?-1:1:(W,Y)=>W[N]>Y[N]?1:-1)}sortDescByKey(E,N){return E.sort((z,G)=>{const W=+z[N],Y=+G[N];return W>Y?-1:W<Y?1:0})}sortAscByKey(E,N){return E.sort((z,G)=>{const W=+z[N],Y=+G[N];return W<Y?-1:W>Y?1:0})}camelCase(E){return E?.replace(/(?:^\w|[A-Z]|\b\w)/g,(N,z)=>N.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(E,N,z){return N&&z&&""!==N&&""!==z&&(E=E?.replace(new RegExp(N,"g"),z)),E.indexOf("!\n")>0||E.indexOf(".\n")>0?E.split("\n")?.reduce((G,W)=>G+W.charAt(0).toUpperCase()+W.substring(1).toLowerCase()+"\n",""):E.indexOf(" ")>0?E.split(" ")?.reduce((G,W)=>G+W.charAt(0).toUpperCase()+W.substring(1).toLowerCase()+" ",""):E.charAt(0).toUpperCase()+E.substring(1).toLowerCase()}convertCurrency(E,N,z,G,W){const Y=(new Date).valueOf();return W&&G&&this.ratesAPIStatus!==u.Bn.INITIATED&&(N===u.NT.OTHER||z===u.NT.OTHER)?this.conversionData.data&&this.conversionData.last_fetched&&Y<this.conversionData.last_fetched+3e5?(0,e.of)(this.convertWithFiat(E,N,G)):(this.ratesAPIStatus=u.Bn.INITIATED,this.dataService.getFiatRates().pipe((0,D.q)(1),(0,o.U)(X=>(this.ratesAPIStatus=u.Bn.COMPLETED,this.conversionData.data=X&&"object"==typeof X?X:X&&"string"==typeof X?JSON.parse(X):{},this.conversionData.last_fetched=Y,this.convertWithFiat(E,N,G))),(0,C.K)(X=>(this.ratesAPIStatus=u.Bn.ERROR,(0,v._)(()=>this.extractErrorMessage(X,"Currency Conversion Error.")))))):(0,e.of)(this.convertWithoutFiat(E,N))}convertWithoutFiat(E,N){const z={};switch(z[u.NT.SATS]=0,z[u.NT.BTC]=0,N){case u.NT.SATS:z[u.NT.SATS]=E,z[u.NT.BTC]=1e-8*E;break;case u.NT.BTC:z[u.NT.SATS]=1e8*E,z[u.NT.BTC]=E}return z}convertWithFiat(E,N,z){const G={unit:z,symbol:this.conversionData.data[z].symbol};switch(G[u.NT.SATS]=0,G[u.NT.BTC]=0,G[u.NT.OTHER]=0,N){case u.NT.SATS:G[u.NT.SATS]=E,G[u.NT.BTC]=1e-8*E,G[u.NT.OTHER]=1e-8*E*this.conversionData.data[z].last;break;case u.NT.BTC:G[u.NT.SATS]=1e8*E,G[u.NT.BTC]=E,G[u.NT.OTHER]=E*this.conversionData.data[z].last;break;case u.NT.OTHER:G[u.NT.SATS]=E/this.conversionData.data[z].last*1e8,G[u.NT.BTC]=E/this.conversionData.data[z].last,G[u.NT.OTHER]=E}return G}convertTime(E,N,z){switch(N){case u.Qk.SECS:switch(z){case u.Qk.MINS:E/=60;break;case u.Qk.HOURS:E/=3600;break;case u.Qk.DAYS:E/=86400}break;case u.Qk.MINS:switch(z){case u.Qk.SECS:E*=60;break;case u.Qk.HOURS:E/=60;break;case u.Qk.DAYS:E/=1440}break;case u.Qk.HOURS:switch(z){case u.Qk.SECS:E*=3600;break;case u.Qk.MINS:E*=60;break;case u.Qk.DAYS:E/=24}break;case u.Qk.DAYS:switch(z){case u.Qk.SECS:E=3600*E*24;break;case u.Qk.MINS:E=60*E*24;break;case u.Qk.HOURS:E*=24}}return E}downloadFile(E,N,z=".json",G=".csv"){let W=new Blob;W=".json"===z?new Blob(["\ufeff"+this.convertToCSV(E)],{type:"text/csv;charset=utf-8;"}):new Blob([E.toString()],{type:"text/plain;charset=utf-8"});const Y=document.createElement("a"),X=URL.createObjectURL(W);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&Y.setAttribute("target","_blank"),Y.setAttribute("href",X),Y.setAttribute("download",N+G),Y.style.visibility="hidden",document.body.appendChild(Y),Y.click(),document.body.removeChild(Y)}convertToCSV(E){const N=[];let z="",G="",W="";return"object"!=typeof E&&(E=JSON.parse(E)),E.forEach((X,ee)=>{for(const ue in X)N.findIndex(he=>he===ue)<0&&N.push(ue)}),W=N.join(",")+"\r\n",E.forEach(X=>{z="",N.forEach(ee=>{X.hasOwnProperty(ee)?Array.isArray(X[ee])?(G="",X[ee].forEach((ue,he)=>{G+="object"==typeof ue?"("+JSON.stringify(ue)?.replace(/\,/g,";")+")":"("+ue+")"}),z+=G+","):z+="object"==typeof X[ee]?JSON.stringify(X[ee])?.replace(/\,/g,";")+",":X[ee]+",":z+=","}),W+=z.slice(0,-1)+"\r\n"}),W}isVersionCompatible(E,N){if(E){const z=E.trim()?.replace("v","").split("-")[0].split(".")||[],G=N.split(".");return+z[0]>+G[0]||+z[0]==+G[0]&&+z[1]>+G[1]||+z[0]==+G[0]&&+z[1]==+G[1]&&+z[2]>=+G[2]}return!1}extractErrorMessage(E,N="Unknown Error."){const z=this.titleCase(E.error&&E.error.text&&"string"==typeof E.error.text&&E.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":E.error&&E.error.error&&E.error.error.error&&E.error.error.error.error&&E.error.error.error.error.error&&"string"==typeof E.error.error.error.error.error?E.error.error.error.error.error:E.error&&E.error.error&&E.error.error.error&&E.error.error.error.error&&"string"==typeof E.error.error.error.error?E.error.error.error.error:E.error&&E.error.error&&E.error.error.error&&"string"==typeof E.error.error.error?E.error.error.error:E.error&&E.error.error&&"string"==typeof E.error.error?E.error.error:E.error&&"string"==typeof E.error?E.error:E.error&&E.error.error&&E.error.error.error&&E.error.error.error.error&&E.error.error.error.error.message&&"string"==typeof E.error.error.error.error.message?E.error.error.error.error.message:E.error&&E.error.error&&E.error.error.error&&E.error.error.error.message&&"string"==typeof E.error.error.error.message?E.error.error.error.message:E.error&&E.error.error&&E.error.error.message&&"string"==typeof E.error.error.message?E.error.error.message:E.error&&E.error.message&&"string"==typeof E.error.message?E.error.message:E.message&&"string"==typeof E.message?E.message:N);return this.logger.info("Error Message: "+z),z}extractErrorCode(E,N=500){const z=E.error&&E.error.error&&E.error.error.message&&E.error.error.message.code?E.error.error.message.code:E.error&&E.error.error&&E.error.error.code?E.error.error.code:E.error&&E.error.code?E.error.code:E.code?E.code:E.status?E.status:N;return this.logger.info("Error Code: "+z),z}extractErrorNumber(E,N=500){const z=E.error&&E.error.error&&E.error.error.errno?E.error.error.errno:E.error&&E.error.errno?E.error.errno:E.errno?E.errno:E.status?E.status:N;return this.logger.info("Error Number: "+z),z}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}}w.\u0275fac=function(E){return new(E||w)(P.LFG(d.D),P.LFG(S.mQ))},w.\u0275prov=P.Yz7({token:w,factory:w.\u0275fac})},7731:(Ve,Q,m)=>{"use strict";m.d(Q,{$I:()=>g,$v:()=>X,AB:()=>_e,At:()=>nt,Bn:()=>Ke,Df:()=>Ye,Dr:()=>z,Er:()=>d,Fq:()=>k,Gi:()=>i,HW:()=>h,H_:()=>Te,IV:()=>I,IX:()=>ct,JX:()=>j,LO:()=>S,NT:()=>T,OJ:()=>ce,OO:()=>te,Pi:()=>Ce,Qk:()=>$,Qw:()=>b,T5:()=>o,TJ:()=>E,Vc:()=>G,Xk:()=>_t,Xr:()=>Ie,Xz:()=>P,Zs:()=>A,_t:()=>N,c3:()=>qt,cu:()=>r,g8:()=>ue,gB:()=>be,gG:()=>ht,gK:()=>wt,gg:()=>U,hG:()=>it,hZ:()=>oe,hc:()=>n,kO:()=>Ae,lr:()=>se,m6:()=>qe,nM:()=>ee,n_:()=>ie,ol:()=>he,op:()=>V,p7:()=>y,pg:()=>xe,pt:()=>v,q4:()=>D,uA:()=>u,uR:()=>le,vn:()=>W,vv:()=>C,wZ:()=>Y,x$:()=>l,zZ:()=>ke});var t=m(4650),e=m(8739);function v(ne){const Nt=new e.ye;return Nt.itemsPerPageLabel=ne+" per page:",Nt}const D="0.13.4-beta",o=(0,t.X6Q)()?"http://localhost:3000/rtl/api":"./api",C={AUTHENTICATE_API:o+"/authenticate",CONF_API:o+"/conf",PAGE_SETTINGS_API:o+"/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"},u=["Sats","BTC"],P={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},d=[{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"}],S=["SECS","MINS","HOURS","DAYS"],I=10,E=[5,10,25,100],N=[{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"}],z=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],G=[{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"}],W=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom (Sats/vByte)"}],Y={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 X=(()=>{return(ne=X||(X={})).PAYMENT_RECEIVED="payment-received",ne.PAYMENT_RELAYED="payment-relayed",ne.PAYMENT_SENT="payment-sent",ne.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",ne.PAYMENT_FAILED="payment-failed",ne.CHANNEL_OPENED="channel-opened",ne.CHANNEL_STATE_CHANGED="channel-state-changed",ne.CHANNEL_CLOSED="channel-closed",X;var ne})(),ee=(()=>{return(ne=ee||(ee={})).INVOICE="invoice",ne.BLOCK_HEIGHT="block-height",ne.SEND_PAYMENT="send-payment",ee;var ne})(),ue=(()=>((ue||(ue={})).INVOICE="invoice",ue))(),he=(()=>{return(ne=he||(he={})).OPERATOR="OPERATOR",ne.MERCHANT="MERCHANT",ne.ALL="ALL",he;var ne})(),ie=(()=>{return(ne=ie||(ie={})).INFORMATION="Information",ne.WARNING="Warning",ne.ERROR="Error",ne.SUCCESS="Success",ne.CONFIRM="Confirm",ie;var ne})(),ce=(()=>{return(ne=ce||(ce={})).JWT="JWT",ne.PASSWORD="PASSWORD",ce;var ne})(),$=(()=>{return(ne=$||($={})).SECS="SECS",ne.MINS="MINS",ne.HOURS="HOURS",ne.DAYS="DAYS",$;var ne})(),T=(()=>{return(ne=T||(T={})).SATS="Sats",ne.BTC="BTC",ne.OTHER="OTHER",T;var ne})(),i=(()=>{return(ne=i||(i={})).ARRAY="ARRAY",ne.NUMBER="NUMBER",ne.STRING="STRING",ne.BOOLEAN="BOOLEAN",ne.PASSWORD="PASSWORD",ne.DATE="DATE",ne.DATE_TIME="DATE_TIME",i;var ne})(),r=(()=>{return(ne=r||(r={})).XS="XS",ne.SM="SM",ne.MD="MD",ne.LG="LG",ne.XL="XL",r;var ne})();const h={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"}},l={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 y=(()=>{return(ne=y||(y={})).WIRE_INVALID_ONION_VERSION="Invalid Onion Version",ne.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",ne.WIRE_INVALID_ONION_KEY="Invalid Onion Key",ne.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",ne.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",ne.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",ne.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",ne.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",ne.WIRE_FEE_INSUFFICIENT="Insufficient Fee",ne.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",ne.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",ne.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",ne.WIRE_CHANNEL_DISABLED="Channel Disabled",ne.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",ne.WIRE_INVALID_REALM="Invalid Realm",ne.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",ne.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",ne.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",ne.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",ne.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",ne.WIRE_MPP_TIMEOUT="MPP Timeout",ne.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",ne.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",y;var ne})(),A=(()=>{return(ne=A||(A={})).CHANNELD_NORMAL="Active",ne.OPENINGD="Opening",ne.CHANNELD_AWAITING_LOCKIN="Pending Open",ne.CHANNELD_SHUTTING_DOWN="Shutting Down",ne.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",ne.CLOSINGD_COMPLETE="Closed",ne.AWAITING_UNILATERAL="Awaiting Unilateral Close",ne.FUNDING_SPEND_SEEN="Funding Spend Seen",ne.ONCHAIN="Onchain",ne.DUALOPEND_OPEN_INIT="Dual Open Initialized",ne.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",A;var ne})(),k=(()=>{return(ne=k||(k={})).INITIATED="Initiated",ne.PREIMAGE_REVEALED="Preimage Revealed",ne.HTLC_PUBLISHED="HTLC Published",ne.SUCCESS="Successful",ne.FAILED="Failed",ne.INVOICE_SETTLED="Invoice Settled",k;var ne})(),g=(()=>{return(ne=g||(g={})).LOOP_OUT="LOOP_OUT",ne.LOOP_IN="LOOP_IN",g;var ne})(),n=(()=>{return(ne=n||(n={})).SWAP_OUT="SWAP_OUT",ne.SWAP_IN="SWAP_IN",n;var ne})(),b=(()=>{return(ne=b||(b={}))["swap.created"]="Swap Created",ne["swap.expired"]="Swap Expired",ne["invoice.set"]="Invoice Set",ne["invoice.paid"]="Invoice Paid",ne["invoice.pending"]="Invoice Pending",ne["invoice.settled"]="Invoice Settled",ne["invoice.failedToPay"]="Invoice Failed To Pay",ne["channel.created"]="Channel Created",ne["transaction.failed"]="Transaction Failed",ne["transaction.mempool"]="Transaction Mempool",ne["transaction.claimed"]="Transaction Claimed",ne["transaction.refunded"]="Transaction Refunded",ne["transaction.confirmed"]="Transaction Confirmed",ne["swap.refunded"]="Swap Refunded",ne["swap.abandoned"]="Swap Abandoned",b;var ne})();const U=[{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}],V=["MONTHLY","YEARLY"];var j=(()=>{return(ne=j||(j={})).LOOP="LOOP",ne.BOLTZ="BOLTZ",ne.OFFERS="OFFERS",ne.PEERSWAP="PEERSWAP",j;var ne})();const Ae=["password","changeme","moneyprintergobrrr"];var Ke=(()=>{return(ne=Ke||(Ke={})).UN_INITIATED="UN_INITIATED",ne.INITIATED="INITIATED",ne.COMPLETED="COMPLETED",ne.ERROR="ERROR",Ke;var ne})();const qe={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_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...",LOG_OUT:"Logging Out..."};var ct=(()=>{return(ne=ct||(ct={})).INVOICE="INVOICE",ne.OFFER="OFFER",ne.KEYSEND="KEYSEND",ct;var ne})(),Ie=(()=>{return(ne=Ie||(Ie={})).FEES="FEES",ne.EVENTS="EVENTS",Ie;var ne})(),xe=(()=>{return(ne=xe||(xe={})).VOID="VOID",ne.SET_API_URL_ECL="SET_API_URL_ECL",ne.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",ne.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",ne.RESET_ROOT_STORE="RESET_ROOT_STORE",ne.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",ne.OPEN_SNACK_BAR="OPEN_SNACKBAR",ne.OPEN_SPINNER="OPEN_SPINNER",ne.CLOSE_SPINNER="CLOSE_SPINNER",ne.OPEN_ALERT="OPEN_ALERT",ne.CLOSE_ALERT="CLOSE_ALERT",ne.OPEN_CONFIRMATION="OPEN_CONFIRMATION",ne.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",ne.SHOW_PUBKEY="SHOW_PUBKEY",ne.FETCH_CONFIG="FETCH_CONFIG",ne.SHOW_CONFIG="SHOW_CONFIG",ne.FETCH_STORE="FETCH_STORE",ne.SET_STORE="SET_STORE",ne.FETCH_RTL_CONFIG="FETCH_RTL_CONFIG",ne.SET_RTL_CONFIG="SET_RTL_CONFIG",ne.SAVE_SSO="SAVE_SSO",ne.SAVE_SETTINGS="SAVE_SETTINGS",ne.TWO_FA_SAVE_SETTINGS="TWO_FA_SAVE_SETTINGS",ne.SET_SELECTED_NODE="SET_SELECTED_NODE",ne.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",ne.UPDATE_SERVICE_SETTINGS="UPDATE_SERVICE_SETTINGS",ne.SET_NODE_DATA="SET_NODE_DATA",ne.IS_AUTHORIZED="IS_AUTHORIZED",ne.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",ne.LOGIN="LOGIN",ne.VERIFY_TWO_FA="VERIFY_TWO_FA",ne.LOGOUT="LOGOUT",ne.RESET_PASSWORD="RESET_PASSWORD",ne.RESET_PASSWORD_RES="RESET_PASSWORD_RES",ne.FETCH_FILE="FETCH_FILE",ne.SHOW_FILE="SHOW_FILE",xe;var ne})(),le=(()=>{return(ne=le||(le={})).RESET_LND_STORE="RESET_LND_STORE",ne.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",ne.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",ne.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",ne.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",ne.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",ne.FETCH_INFO_LND="FETCH_INFO_LND",ne.SET_INFO_LND="SET_INFO_LND",ne.FETCH_PEERS_LND="FETCH_PEERS_LND",ne.SET_PEERS_LND="SET_PEERS_LND",ne.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",ne.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",ne.DETACH_PEER_LND="DETACH_PEER_LND",ne.REMOVE_PEER_LND="REMOVE_PEER_LND",ne.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",ne.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",ne.ADD_INVOICE_LND="ADD_INVOICE_LND",ne.FETCH_FEES_LND="FETCH_FEES_LND",ne.SET_FEES_LND="SET_FEES_LND",ne.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",ne.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",ne.FETCH_NETWORK_LND="FETCH_NETWORK_LND",ne.SET_NETWORK_LND="SET_NETWORK_LND",ne.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",ne.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",ne.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",ne.SET_CHANNELS_LND="SET_CHANNELS_LND",ne.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",ne.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",ne.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",ne.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",ne.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",ne.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",ne.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",ne.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",ne.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",ne.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",ne.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",ne.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",ne.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",ne.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",ne.FETCH_INVOICES_LND="FETCH_INVOICES_LND",ne.SET_INVOICES_LND="SET_INVOICES_LND",ne.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",ne.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",ne.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",ne.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",ne.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",ne.FETCH_UTXOS_LND="FETCH_UTXOS_LND",ne.SET_UTXOS_LND="SET_UTXOS_LND",ne.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",ne.SET_PAYMENTS_LND="SET_PAYMENTS_LND",ne.SEND_PAYMENT_LND="SEND_PAYMENT_LND",ne.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",ne.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",ne.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",ne.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",ne.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",ne.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",ne.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",ne.GEN_SEED_LND="GEN_SEED_LND",ne.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",ne.INIT_WALLET_LND="INIT_WALLET_LND",ne.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",ne.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",ne.PEER_LOOKUP_LND="PEER_LOOKUP_LND",ne.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",ne.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",ne.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",ne.SET_LOOKUP_LND="SET_LOOKUP_LND",ne.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",ne.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",ne.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",ne.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",ne.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",ne.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",le;var ne})(),_e=(()=>{return(ne=_e||(_e={})).RESET_CLN_STORE="RESET_CLN_STORE",ne.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",ne.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",ne.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",ne.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",ne.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",ne.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",ne.SET_INFO_CLN="SET_INFO_CLN",ne.FETCH_FEES_CLN="FETCH_FEES_CLN",ne.SET_FEES_CLN="SET_FEES_CLN",ne.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",ne.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",ne.FETCH_BALANCE_CLN="FETCH_BALANCE_CLN",ne.SET_BALANCE_CLN="SET_BALANCE_CLN",ne.FETCH_LOCAL_REMOTE_BALANCE_CLN="FETCH_LOCAL_REMOTE_BALANCE_CLN",ne.SET_LOCAL_REMOTE_BALANCE_CLN="SET_LOCAL_REMOTE_BALANCE_CLN",ne.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",ne.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",ne.FETCH_UTXOS_CLN="FETCH_UTXOS_CLN",ne.SET_UTXOS_CLN="SET_UTXOS_CLN",ne.FETCH_PEERS_CLN="FETCH_PEERS_CLN",ne.SET_PEERS_CLN="SET_PEERS_CLN",ne.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",ne.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",ne.ADD_PEER_CLN="ADD_PEER_CLN",ne.DETACH_PEER_CLN="DETACH_PEER_CLN",ne.REMOVE_PEER_CLN="REMOVE_PEER_CLN",ne.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",ne.SET_CHANNELS_CLN="SET_CHANNELS_CLN",ne.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",ne.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",ne.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",ne.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",ne.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",ne.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",ne.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",ne.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",ne.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",ne.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",ne.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",ne.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",ne.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",ne.SET_LOOKUP_CLN="SET_LOOKUP_CLN",ne.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",ne.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",ne.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",ne.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",ne.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",ne.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",ne.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",ne.SET_INVOICES_CLN="SET_INVOICES_CLN",ne.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",ne.ADD_INVOICE_CLN="ADD_INVOICE_CLN",ne.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",ne.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",ne.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",ne.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",ne.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",ne.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",ne.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",ne.SET_OFFERS_CLN="SET_OFFERS_CLN",ne.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",ne.ADD_OFFER_CLN="ADD_OFFER_CLN",ne.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",ne.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",ne.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",ne.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",ne.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",ne.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",ne.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",_e;var ne})(),se=(()=>{return(ne=se||(se={})).RESET_ECL_STORE="RESET_ECL_STORE",ne.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",ne.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",ne.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",ne.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",ne.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",ne.FETCH_INFO_ECL="FETCH_INFO_ECL",ne.SET_INFO_ECL="SET_INFO_ECL",ne.FETCH_FEES_ECL="FETCH_FEES_ECL",ne.SET_FEES_ECL="SET_FEES_ECL",ne.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",ne.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",ne.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",ne.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",ne.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",ne.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",ne.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",ne.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",ne.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",ne.FETCH_PEERS_ECL="FETCH_PEERS_ECL",ne.SET_PEERS_ECL="SET_PEERS_ECL",ne.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",ne.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",ne.ADD_PEER_ECL="ADD_PEER_ECL",ne.DETACH_PEER_ECL="DETACH_PEER_ECL",ne.REMOVE_PEER_ECL="REMOVE_PEER_ECL",ne.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",ne.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",ne.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",ne.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",ne.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",ne.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",ne.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",ne.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",ne.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",ne.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",ne.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",ne.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",ne.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",ne.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",ne.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",ne.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",ne.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",ne.SET_INVOICES_ECL="SET_INVOICES_ECL",ne.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",ne.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",ne.ADD_INVOICE_ECL="ADD_INVOICE_ECL",ne.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",ne.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",ne.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",ne.SET_LOOKUP_ECL="SET_LOOKUP_ECL",ne.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",ne.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",se;var ne})();const Ye=[{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"}];var Te=(()=>{return(ne=Te||(Te={})).gossip_queries_ex="Gossip queries including additional information",ne.option_anchor_outputs="Anchor outputs",ne.option_data_loss_protect="Extra channel re-establish fields",ne.var_onion_optin="Variable-length routing onion payloads",ne.option_static_remotekey="Static key for remote output",ne.option_support_large_channel="Create large channels",ne.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",ne.payment_secret="Payment secret field",ne.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",ne.basic_mpp="Basic multi-part payments",ne.gossip_queries="More sophisticated gossip control",ne.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",ne.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",ne.amp="AMP",Te;var ne})(),oe=(()=>{return(ne=oe||(oe={}))["data-loss-protect"]="Extra channel re-establish fields",ne["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",ne["gossip-queries"]="More sophisticated gossip control",ne["tlv-onion"]="Variable-length routing onion payloads",ne["ext-gossip-queries"]="Gossip queries can include additional information",ne["static-remote-key"]="Static key for remote output",ne["payment-addr"]="Payment secret field",ne["multi-path-payments"]="Basic multi-part payments",ne["wumbo-channels"]="Wumbo Channels",ne.anchors="Anchor outputs",ne["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",ne.amp="AMP",oe;var ne})();const be=[{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 te=(()=>{return(ne=te||(te={})).OFFERED="offered",ne.SETTLED="settled",ne.FAILED="failed",ne.LOCAL_FAILED="local_failed",te;var ne})(),Ce=(()=>{return(ne=Ce||(Ce={})).ASCENDING="asc",ne.DESCENDING="desc",Ce;var ne})();const ke=["asc","desc"],ht=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:I,sortBy:"blockheight",sortOrder:Ce.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:I,sortBy:"blockheight",sortOrder:Ce.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:I,sortBy:"msatoshi_to_us",sortOrder:Ce.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:I,sortBy:"state",sortOrder:Ce.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:I,sortBy:"alias",sortOrder:Ce.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:I,sortBy:"channel_opening_fee",sortOrder:Ce.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:I,sortBy:"created_at",sortOrder:Ce.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:I,sortBy:"expires_at",sortOrder:Ce.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:I,sortBy:"offer_id",sortOrder:Ce.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:I,sortBy:"lastUpdatedAt",sortOrder:Ce.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:I,sortBy:"received_time",sortOrder:Ce.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:I,sortBy:"total_fee",sortOrder:Ce.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:I,sortBy:"received_time",sortOrder:Ce.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:I,sortBy:"received_time",sortOrder:Ce.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:I,sortBy:"received_time",sortOrder:Ce.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:I,sortBy:"date",sortOrder:Ce.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:I,sortBy:"msatoshi",sortOrder:Ce.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]},{pageId:"peerswap",tables:[{tableId:"swaps",recordsPerPage:I,sortBy:"created_at",sortOrder:Ce.DESCENDING,columnSelectionSM:["id","state","amount"],columnSelection:["id","alias","short_channel_id","created_at","state","amount"]}]}],nt={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"}]}},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:"vendor"},{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"}]}},peerswap:{swaps:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"short_channel_id"},{column:"created_at"},{column:"state"},{column:"amount"}]}}},wt=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:I,sortBy:"tx_id",sortOrder:Ce.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:I,sortBy:"time_stamp",sortOrder:Ce.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:I,sortBy:"tx_id",sortOrder:Ce.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:I,sortBy:"balancedness",sortOrder:Ce.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:Ce.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:Ce.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:Ce.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:Ce.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:I,sortBy:"close_type",sortOrder:Ce.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:I,sortBy:"incoming",sortOrder:Ce.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:I,sortBy:"alias",sortOrder:Ce.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:I,sortBy:"creation_date",sortOrder:Ce.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:I,sortBy:"creation_date",sortOrder:Ce.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:I,sortBy:"timestamp",sortOrder:Ce.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:I,sortBy:"total_amount",sortOrder:Ce.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:I,sortBy:"remote_alias",sortOrder:Ce.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:I,sortBy:"timestamp",sortOrder:Ce.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:I,sortBy:"date",sortOrder:Ce.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:I,sortBy:"hop_sequence",sortOrder:Ce.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:I,sortBy:"initiation_time",sortOrder:Ce.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:I,sortBy:"status",sortOrder:Ce.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:I,sortBy:"status",sortOrder:Ce.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],it={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"}]}}},qt=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:I,sortBy:"timestamp",sortOrder:Ce.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:I,sortBy:"alias",sortOrder:Ce.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:I,sortBy:"alias",sortOrder:Ce.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:I,sortBy:"alias",sortOrder:Ce.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:I,sortBy:"alias",sortOrder:Ce.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:I,sortBy:"firstPartTimestamp",sortOrder:Ce.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:I,sortBy:"receivedAt",sortOrder:Ce.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:I,sortBy:"timestamp",sortOrder:Ce.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:I,sortBy:"totalFee",sortOrder:Ce.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:I,sortBy:"timestamp",sortOrder:Ce.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:I,sortBy:"date",sortOrder:Ce.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],_t={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:"isFunder",label:"Funder"},{column:"buried"},{column:"feeBaseMsat",label:"Base Fee"},{column:"feeProportionalMillionths",label:"Fee Rate"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"feeRatePerKw",label:"Fee/KW"},{column:"balancedness",label:"Balance Score"}]},pending_channels:{maxColumns:7,allowedColumns:[{column:"state"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isFunder",label:"Funder"},{column:"buried"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"feeRatePerKw",label:"Fee/KW"}]},inactive_channels:{maxColumns:8,allowedColumns:[{column:"state"},{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isFunder",label:"Funder"},{column:"buried"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"feeRatePerKw",label:"Fee/KW"},{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"}]}}}},8104:(Ve,Q,m)=>{"use strict";m.d(Q,{D:()=>ie});var t=m(529),e=m(1135),v=m(7579),D=m(2843),o=m(9646),C=m(590),u=m(5577),P=m(2722),d=m(4004),S=m(262),w=m(1365),I=m(7731),E=m(1786),N=m(7861),z=m(6523),G=m(6529),W=m(9828),Y=m(4650),X=m(9653),ee=m(5043),ue=m(7009),he=m(6895);class ie{constructor($,fe,T,i,r){this.httpClient=$,this.store=fe,this.logger=T,this.snackBar=i,this.titleCasePipe=r,this.APIUrl=I.T5,this.lnImplementation="",this.lnImplementationUpdated=new e.X(null),this.unSubs=[new v.x,new v.x,new v.x,new v.x,new v.x,new v.x,new v.x,new v.x,new v.x,new v.x,new v.x,new v.x,new v.x],this.mapAliases=(h,l)=>(h&&h.length>0?h.forEach((y,A)=>{if(l&&l.length>0)for(let k=0;k<l.length;k++){if(l[k].short_channel_id&&l[k].short_channel_id===y.in_channel&&(y.in_channel_alias=l[k].alias?l[k].alias:y.in_channel,y.out_channel_alias)||l[k].short_channel_id&&l[k].short_channel_id?.toString()===y.out_channel&&(y.out_channel_alias=l[k].alias?l[k].alias:y.out_channel,y.in_channel_alias))return;k===l.length-1&&(y.in_channel_alias||(y.in_channel_alias=y.in_channel?y.in_channel:"-"),y.out_channel_alias||(y.out_channel_alias=y.out_channel?y.out_channel:"-"))}else y.in_channel_alias=y.in_channel?y.in_channel:"-",y.out_channel_alias=y.out_channel?y.out_channel:"-"}):h=[],h)}setLnImplementation($){this.lnImplementation=$.toLowerCase(),this.lnImplementationUpdated.next(this.lnImplementation)}getFiatRates(){return this.httpClient.get(I.vv.CONF_API+"/rates")}decodePayment($,fe){return this.lnImplementationUpdated.pipe((0,C.P)(T=>null!==T),(0,u.z)(T=>{let i=this.APIUrl+"/"+T+I.vv.PAYMENTS_API+"/decode/"+$;return"cln"===T&&(i=this.APIUrl+"/"+T+I.vv.UTILITY_API+"/decode/"+$),this.store.dispatch((0,N.ac)({payload:I.m6.DECODE_PAYMENT})),this.httpClient.get(i).pipe((0,P.R)(this.unSubs[0]),(0,d.U)(r=>(this.store.dispatch((0,N.uO)({payload:I.m6.DECODE_PAYMENT})),r)),(0,S.K)(r=>(fe?this.handleErrorWithoutAlert("Decode Payment",I.m6.DECODE_PAYMENT,r):this.handleErrorWithAlert("decodePaymentData",I.m6.DECODE_PAYMENT,"Decode Payment Failed",i,r),(0,D._)(()=>new Error(this.extractErrorMessage(r))))))}))}decodePayments($){return this.lnImplementationUpdated.pipe((0,C.P)(fe=>null!==fe),(0,u.z)(fe=>{let T="",i="";return"ecl"===fe?(T=this.APIUrl+"/"+fe+I.vv.PAYMENTS_API+"/getsentinfos",i=I.m6.GET_SENT_PAYMENTS):"cln"===fe?(T=this.APIUrl+"/"+fe+I.vv.UTILITY_API,i=I.m6.DECODE_PAYMENTS):(T=this.APIUrl+"/"+fe+I.vv.PAYMENTS_API,i=I.m6.DECODE_PAYMENTS),this.store.dispatch((0,N.ac)({payload:i})),this.httpClient.post(T,{payments:$}).pipe((0,P.R)(this.unSubs[1]),(0,d.U)(r=>(this.store.dispatch((0,N.uO)({payload:i})),r)),(0,S.K)(r=>(this.handleErrorWithAlert("decodePaymentsData",i,i+" Failed",T,r),(0,D._)(()=>new Error(this.extractErrorMessage(r))))))}))}getAliasesFromPubkeys($,fe){return this.lnImplementationUpdated.pipe((0,C.P)(T=>null!==T),(0,u.z)(T=>{if(fe){const i=(new t.LE).set("pubkeys",$);return this.httpClient.get(this.APIUrl+"/"+T+I.vv.NETWORK_API+"/nodes",{params:i})}return this.httpClient.get(this.APIUrl+"/"+T+I.vv.NETWORK_API+"/node/"+$)}))}signMessage($){return this.lnImplementationUpdated.pipe((0,C.P)(fe=>null!==fe),(0,u.z)(fe=>{let T=this.APIUrl+"/"+fe+I.vv.MESSAGE_API+"/sign";return"cln"===fe&&(T=this.APIUrl+"/"+fe+I.vv.UTILITY_API+"/sign"),this.store.dispatch((0,N.ac)({payload:I.m6.SIGN_MESSAGE})),this.httpClient.post(T,{message:$}).pipe((0,P.R)(this.unSubs[2]),(0,d.U)(i=>(this.store.dispatch((0,N.uO)({payload:I.m6.SIGN_MESSAGE})),i)),(0,S.K)(i=>(this.handleErrorWithAlert("signMessageData",I.m6.SIGN_MESSAGE,"Sign Message Failed",T,i),(0,D._)(()=>new Error(this.extractErrorMessage(i))))))}))}verifyMessage($,fe){return this.lnImplementationUpdated.pipe((0,C.P)(T=>null!==T),(0,u.z)(T=>{let i=this.APIUrl+"/"+T+I.vv.MESSAGE_API+"/verify";return"cln"===T&&(i=this.APIUrl+"/"+T+I.vv.UTILITY_API+"/verify"),this.store.dispatch((0,N.ac)({payload:I.m6.VERIFY_MESSAGE})),this.httpClient.post(i,{message:$,signature:fe}).pipe((0,P.R)(this.unSubs[3]),(0,d.U)(r=>(this.store.dispatch((0,N.uO)({payload:I.m6.VERIFY_MESSAGE})),r)),(0,S.K)(r=>(this.handleErrorWithAlert("verifyMessageData",I.m6.VERIFY_MESSAGE,"Verify Message Failed",i,r),(0,D._)(()=>new Error(this.extractErrorMessage(r))))))}))}bumpFee($,fe,T,i){return this.lnImplementationUpdated.pipe((0,C.P)(r=>null!==r),(0,u.z)(r=>{const h={txid:$,outputIndex:fe};return T&&(h.targetConf=T),i&&(h.satPerByte=i),this.store.dispatch((0,N.ac)({payload:I.m6.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+r+I.vv.WALLET_API+"/bumpfee",h).pipe((0,P.R)(this.unSubs[4]),(0,d.U)(l=>(this.store.dispatch((0,N.uO)({payload:I.m6.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),l)),(0,S.K)(l=>(this.handleErrorWithoutAlert("Bump Fee",I.m6.BUMP_FEE,l),(0,D._)(()=>new Error(this.extractErrorMessage(l))))))}))}labelUTXO($,fe,T=!0){return this.lnImplementationUpdated.pipe((0,C.P)(i=>null!==i),(0,u.z)(i=>{const r={txid:$,label:fe,overwrite:T};return this.store.dispatch((0,N.ac)({payload:I.m6.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+i+I.vv.WALLET_API+"/label",r).pipe((0,P.R)(this.unSubs[5]),(0,d.U)(h=>(this.store.dispatch((0,N.uO)({payload:I.m6.LABEL_UTXO})),h)),(0,S.K)(h=>(this.handleErrorWithoutAlert("Lease UTXO",I.m6.LABEL_UTXO,h),(0,D._)(()=>new Error(this.extractErrorMessage(h))))))}))}leaseUTXO($,fe){return this.lnImplementationUpdated.pipe((0,C.P)(T=>null!==T),(0,u.z)(T=>{const i={txid:$,outputIndex:fe};return this.store.dispatch((0,N.ac)({payload:I.m6.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+T+I.vv.WALLET_API+"/lease",i).pipe((0,P.R)(this.unSubs[6]),(0,d.U)(r=>{this.store.dispatch((0,N.uO)({payload:I.m6.LEASE_UTXO})),this.store.dispatch((0,z.mC)()),this.store.dispatch((0,z.Ly)());const h=new Date(1e3*r.expiration),l=Math.round(h.getTime())-60*h.getTimezoneOffset();this.snackBar.open("The UTXO has been leased till "+new Date(l).toString().substring(4,21).replace(" ","/").replace(" ","/").toUpperCase()+".")}),(0,S.K)(r=>(this.handleErrorWithoutAlert("Lease UTXO",I.m6.LEASE_UTXO,r),(0,D._)(()=>new Error(this.extractErrorMessage(r))))))}))}getForwardingHistory($,fe,T,i){if("LND"===$){const r={end_time:T,start_time:fe};return this.store.dispatch((0,N.ac)({payload:I.m6.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+I.vv.SWITCH_API,r).pipe((0,P.R)(this.unSubs[7]),(0,w.M)(this.store.select(G._f)),(0,u.z)(([h,l])=>{if(h.forwarding_events){const y=[...l.channels,...l.closedChannels];h.forwarding_events.forEach(A=>{if(y&&y.length>0)for(let k=0;k<y.length;k++){if(y[k].chan_id?.toString()===A.chan_id_in&&(A.alias_in=y[k].remote_alias?y[k].remote_alias:A.chan_id_in,A.alias_out)||y[k].chan_id?.toString()===A.chan_id_out&&(A.alias_out=y[k].remote_alias?y[k].remote_alias:A.chan_id_out,A.alias_in))return;k===y.length-1&&(A.alias_in||(A.alias_in=A.chan_id_in),A.alias_out||(A.alias_out=A.chan_id_out))}else A.alias_in=A.chan_id_in,A.alias_out=A.chan_id_out})}else h={};return this.store.dispatch((0,N.uO)({payload:I.m6.GET_FORWARDING_HISTORY})),(0,o.of)(h)}),(0,S.K)(h=>(this.handleErrorWithAlert("getForwardingHistoryData",I.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+I.vv.SWITCH_API,h),(0,D._)(()=>new Error(this.extractErrorMessage(h))))))}return"CLN"===$?(this.store.dispatch((0,N.ac)({payload:I.m6.GET_FORWARDING_HISTORY})),this.httpClient.get(this.APIUrl+"/cln"+I.vv.CHANNELS_API+"/listForwards?status="+i).pipe((0,P.R)(this.unSubs[8]),(0,w.M)(this.store.select(W.ZW)),(0,u.z)(([r,h])=>{const l=this.mapAliases(r,[...h.activeChannels,...h.pendingChannels,...h.inactiveChannels]);return this.store.dispatch((0,N.uO)({payload:I.m6.GET_FORWARDING_HISTORY})),(0,o.of)(l)}),(0,S.K)(r=>(this.handleErrorWithAlert("getForwardingHistoryData",I.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+I.vv.CHANNELS_API+"/listForwards?status="+i+"&start="+fe+"&end="+T,r),(0,D._)(()=>new Error(this.extractErrorMessage(r))))))):(0,o.of)({})}listNetworkNodes($=""){return this.lnImplementationUpdated.pipe((0,C.P)(fe=>null!==fe),(0,u.z)(fe=>(this.store.dispatch((0,N.ac)({payload:I.m6.LIST_NETWORK_NODES})),this.httpClient.get(this.APIUrl+"/"+fe+I.vv.NETWORK_API+"/listNodes"+$).pipe((0,P.R)(this.unSubs[9]),(0,u.z)(T=>(this.store.dispatch((0,N.uO)({payload:I.m6.LIST_NETWORK_NODES})),(0,o.of)(T))),(0,S.K)(T=>(this.handleErrorWithoutAlert("List Network Nodes",I.m6.LIST_NETWORK_NODES,T),(0,D._)(()=>this.extractErrorMessage(T))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,C.P)($=>null!==$),(0,u.z)($=>(this.store.dispatch((0,N.ac)({payload:I.m6.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+$+I.vv.UTILITY_API+"/listConfigs").pipe((0,P.R)(this.unSubs[10]),(0,u.z)(fe=>(this.store.dispatch((0,N.uO)({payload:I.m6.GET_LIST_CONFIGS})),(0,o.of)(fe))),(0,S.K)(fe=>(this.handleErrorWithoutAlert("List Configurations",I.m6.GET_LIST_CONFIGS,fe),(0,D._)(()=>this.extractErrorMessage(fe))))))))}getOrUpdateFunderPolicy($,fe,T,i,r,h){return this.lnImplementationUpdated.pipe((0,C.P)(l=>null!==l),(0,u.z)(l=>{const y=$?{policy:$,policy_mod:fe,lease_fee_base_msat:T,lease_fee_basis:i,channel_fee_max_base_msat:r,channel_fee_max_proportional_thousandths:h}:null;return this.store.dispatch((0,N.ac)({payload:I.m6.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+l+I.vv.CHANNELS_API+"/funderUpdate",y).pipe((0,P.R)(this.unSubs[11]),(0,d.U)(A=>(this.store.dispatch((0,N.uO)({payload:I.m6.GET_FUNDER_POLICY})),y&&this.store.dispatch((0,N.jW)({payload:"Funder Policy Updated Successfully with Compact Lease: "+A.compact_lease+"!"})),A)),(0,S.K)(A=>(this.handleErrorWithoutAlert("Funder Policy",I.m6.GET_FUNDER_POLICY,A),(0,D._)(()=>new Error(this.extractErrorMessage(A))))))}))}extractErrorMessage($,fe="Unknown Error."){return this.titleCasePipe.transform($.error.text&&"string"==typeof $.error.text&&$.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":$.error&&$.error.error&&$.error.error.error&&$.error.error.error.error&&$.error.error.error.error.error&&"string"==typeof $.error.error.error.error.error?$.error.error.error.error.error:$.error&&$.error.error&&$.error.error.error&&$.error.error.error.error&&"string"==typeof $.error.error.error.error?$.error.error.error.error:$.error&&$.error.error&&$.error.error.error&&"string"==typeof $.error.error.error?$.error.error.error:$.error&&$.error.error&&"string"==typeof $.error.error?$.error.error:$.error&&"string"==typeof $.error?$.error:$.error&&$.error.error&&$.error.error.error&&$.error.error.error.error&&$.error.error.error.error.message&&"string"==typeof $.error.error.error.error.message?$.error.error.error.error.message:$.error&&$.error.error&&$.error.error.error&&$.error.error.error.message&&"string"==typeof $.error.error.error.message?$.error.error.error.message:$.error&&$.error.error&&$.error.error.message&&"string"==typeof $.error.error.message?$.error.error.message:$.error&&$.error.message&&"string"==typeof $.error.message?$.error.message:$.message&&"string"==typeof $.message?$.message:fe)}handleErrorWithoutAlert($,fe,T){T.error.text&&"string"==typeof T.error.text&&T.error.text.includes('<!DOCTYPE html><html lang="en">')&&(T={status:403,error:{message:"API Route Does Not Exist."}}),this.logger.error("ERROR IN: "+$+"\n"+JSON.stringify(T)),401===T.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,N.ts)()),this.store.dispatch((0,N.kS)()),this.store.dispatch((0,N.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,N.uO)({payload:fe})),this.store.dispatch((0,N.qi)({payload:{action:$,status:I.Bn.ERROR,statusCode:T.status.toString(),message:this.extractErrorMessage(T)}})))}handleErrorWithAlert($,fe,T,i,r){if(this.logger.error(r),401===r.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,N.ts)()),this.store.dispatch((0,N.kS)()),this.store.dispatch((0,N.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,N.uO)({payload:fe}));const h=this.extractErrorMessage(r);this.store.dispatch((0,N.qR)({payload:{data:{type:"ERROR",alertTitle:T,message:{code:r.status?r.status:"Unknown Error",message:h,URL:i},component:E.H}}})),this.store.dispatch((0,N.qi)({payload:{action:$,status:I.Bn.ERROR,statusCode:r.status.toString(),message:h,URL:i}}))}}ngOnDestroy(){this.unSubs.forEach($=>{$.next(null),$.complete()})}}ie.\u0275fac=function($){return new($||ie)(Y.LFG(t.eN),Y.LFG(X.yh),Y.LFG(ee.mQ),Y.LFG(ue.ux),Y.LFG(he.rS))},ie.\u0275prov=Y.Yz7({token:ie,factory:ie.\u0275fac})},5043:(Ve,Q,m)=>{"use strict";m.d(Q,{LG:()=>C,mQ:()=>o});var t=m(4650);const e=(0,t.X6Q)(),v=()=>null;class o{invokeConsoleMethod(P,d){}}o.\u0275fac=function(P){return new(P||o)},o.\u0275prov=t.Yz7({token:o,factory:o.\u0275fac});class C{get info(){return e?console.log.bind(console):v}get warn(){return e?console.warn.bind(console):v}get error(){return e?console.error.bind(console):v}invokeConsoleMethod(P,d){(console[P]||console.log||v).apply(console,[d])}}C.\u0275fac=function(P){return new(P||C)},C.\u0275prov=t.Yz7({token:C,factory:C.\u0275fac})},9107:(Ve,Q,m)=>{"use strict";m.d(Q,{W:()=>G});var t=m(529),e=m(1135),v=m(7579),D=m(9646),o=m(2843),C=m(2722),u=m(262),P=m(4004),d=m(7731),S=m(1786),w=m(7861),I=m(4650),E=m(5043),N=m(9653),z=m(62);class G{constructor(Y,X,ee,ue){this.httpClient=Y,this.logger=X,this.store=ee,this.commonService=ue,this.loopUrl="",this.swaps=[],this.swapsChanged=new e.X([]),this.unSubs=[new v.x,new v.x,new v.x,new v.x,new v.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,w.ac)({payload:d.m6.GET_LOOP_SWAPS})),this.loopUrl=d.T5+d.vv.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,C.R)(this.unSubs[0])).subscribe({next:Y=>{this.store.dispatch((0,w.uO)({payload:d.m6.GET_LOOP_SWAPS})),this.swaps=Y,this.swapsChanged.next(this.swaps)},error:Y=>this.swapsChanged.error(this.handleErrorWithAlert(d.m6.GET_LOOP_SWAPS,this.loopUrl,Y))})}loopOut(Y,X,ee,ue,he,ie,ce,$,fe,T){const i={amount:Y,targetConf:ee,swapRoutingFee:ue,minerFee:he,prepayRoutingFee:ie,prepayAmt:ce,swapFee:$,swapPublicationDeadline:fe,destAddress:T};return""!==X&&(i.chanId=X),this.loopUrl=d.T5+d.vv.LOOP_API+"/out",this.httpClient.post(this.loopUrl,i).pipe((0,u.K)(r=>this.handleErrorWithoutAlert("Loop Out for Channel: "+X,d.m6.NO_SPINNER,r)))}getLoopOutTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,u.K)(Y=>this.handleErrorWithoutAlert("Loop Out Terms",d.m6.NO_SPINNER,Y)))}getLoopOutQuote(Y,X,ee){let ue=new t.LE;return ue=ue.append("targetConf",X.toString()),ue=ue.append("swapPublicationDeadline",ee.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/out/quote/"+Y,this.store.dispatch((0,w.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:ue}).pipe((0,C.R)(this.unSubs[1]),(0,P.U)(he=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_QUOTE})),he)),(0,u.K)(he=>this.handleErrorWithoutAlert("Loop Out Quote",d.m6.GET_QUOTE,he)))}getLoopOutTermsAndQuotes(Y){let X=new t.LE;return X=X.append("targetConf",Y.toString()),X=X.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,w.ac)({payload:d.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:X}).pipe((0,C.R)(this.unSubs[2]),(0,P.U)(ee=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_TERMS_QUOTES})),ee)),(0,u.K)(ee=>(0,D.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,ee))))}loopIn(Y,X,ee,ue,he){const ie={amount:Y,swapFee:X,minerFee:ee,lastHop:ue,externalHtlc:he};return this.loopUrl=d.T5+d.vv.LOOP_API+"/in",this.httpClient.post(this.loopUrl,ie).pipe((0,u.K)(ce=>this.handleErrorWithoutAlert("Loop In",d.m6.NO_SPINNER,ce)))}getLoopInTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,u.K)(Y=>this.handleErrorWithoutAlert("Loop In Terms",d.m6.NO_SPINNER,Y)))}getLoopInQuote(Y,X,ee){let ue=new t.LE;return ue=ue.append("targetConf",X.toString()),ue=ue.append("swapPublicationDeadline",ee.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/in/quote/"+Y,this.store.dispatch((0,w.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:ue}).pipe((0,C.R)(this.unSubs[3]),(0,P.U)(he=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_QUOTE})),he)),(0,u.K)(he=>this.handleErrorWithoutAlert("Loop In Qoute",d.m6.GET_QUOTE,he)))}getLoopInTermsAndQuotes(Y){let X=new t.LE;return X=X.append("targetConf",Y.toString()),X=X.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,w.ac)({payload:d.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:X}).pipe((0,C.R)(this.unSubs[4]),(0,P.U)(ee=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_TERMS_QUOTES})),ee)),(0,u.K)(ee=>(0,D.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,ee))))}getSwap(Y){return this.loopUrl=d.T5+d.vv.LOOP_API+"/swap/"+Y,this.httpClient.get(this.loopUrl).pipe((0,u.K)(X=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+Y,d.m6.NO_SPINNER,X)))}handleErrorWithoutAlert(Y,X,ee){let ue="";return this.logger.error("ERROR IN: "+Y+"\n"+JSON.stringify(ee)),this.store.dispatch((0,w.uO)({payload:X})),401===ee.status?(ue="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.kS)())):503===ee.status?(ue="Unable to Connect to Loop Server.",this.store.dispatch((0,w.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ee.status,message:"Unable to Connect to Loop Server",URL:Y},component:S.H}}}))):ue=this.commonService.extractErrorMessage(ee),(0,o._)(()=>new Error(ue))}handleErrorWithAlert(Y,X,ee){let ue="";if(this.logger.error(ee),this.store.dispatch((0,w.uO)({payload:Y})),401===ee.status)ue="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.kS)());else if(503===ee.status)ue="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ee.status,message:"Unable to Connect to Loop Server",URL:X},component:S.H}}}))},100);else{ue=this.commonService.extractErrorMessage(ee);const he=ee.error&&ee.error.error&&ee.error.error.code?ee.error.error.code:ee.error&&ee.error.code?ee.error.code:ee.code?ee.code:ee.status;setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{type:d.n_.ERROR,alertTitle:"ERROR",message:{code:he,message:ue,URL:X},component:S.H}}}))},100)}return{message:ue}}ngOnDestroy(){this.unSubs.forEach(Y=>{Y.next(null),Y.complete()})}}G.\u0275fac=function(Y){return new(Y||G)(I.LFG(t.eN),I.LFG(E.mQ),I.LFG(N.yh),I.LFG(z.v))},G.\u0275prov=I.Yz7({token:G,factory:G.\u0275fac})},5986:(Ve,Q,m)=>{"use strict";m.d(Q,{m:()=>v});var t=m(7579),e=m(4650);class v{constructor(){this.sessionSub=new t.x}watchSession(){return this.sessionSub.asObservable()}getItem(o){return sessionStorage.getItem(o)}getAllItems(){return sessionStorage}setItem(o,C){sessionStorage.setItem(o,C),this.sessionSub.next(sessionStorage)}removeItem(o){sessionStorage.removeItem(o),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}}v.\u0275fac=function(o){return new(o||v)},v.\u0275prov=e.Yz7({token:v,factory:v.\u0275fac})},7998:(Ve,Q,m)=>{"use strict";m.d(Q,{d:()=>N});var t=m(1135),e=m(7579),v=m(2722),D=m(930),o=m(9751),C=m(727),u=m(4707);const P={url:"",deserializer:z=>JSON.parse(z.data),serializer:z=>JSON.stringify(z)};class S extends e.u{constructor(G,W){if(super(),this._socket=null,G instanceof o.y)this.destination=W,this.source=G;else{const Y=this._config=Object.assign({},P);if(this._output=new e.x,"string"==typeof G)Y.url=G;else for(const X in G)G.hasOwnProperty(X)&&(Y[X]=G[X]);if(!Y.WebSocketCtor&&WebSocket)Y.WebSocketCtor=WebSocket;else if(!Y.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new u.t}}lift(G){const W=new S(this._config,this.destination);return W.operator=G,W.source=this,W}_resetState(){this._socket=null,this.source||(this.destination=new u.t),this._output=new e.x}multiplex(G,W,Y){const X=this;return new o.y(ee=>{try{X.next(G())}catch(he){ee.error(he)}const ue=X.subscribe({next:he=>{try{Y(he)&&ee.next(he)}catch(ie){ee.error(ie)}},error:he=>ee.error(he),complete:()=>ee.complete()});return()=>{try{X.next(W())}catch(he){ee.error(he)}ue.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:G,protocol:W,url:Y,binaryType:X}=this._config,ee=this._output;let ue=null;try{ue=W?new G(Y,W):new G(Y),this._socket=ue,X&&(this._socket.binaryType=X)}catch(ie){return void ee.error(ie)}const he=new C.w0(()=>{this._socket=null,ue&&1===ue.readyState&&ue.close()});ue.onopen=ie=>{const{_socket:ce}=this;if(!ce)return ue.close(),void this._resetState();const{openObserver:$}=this._config;$&&$.next(ie);const fe=this.destination;this.destination=D.Lv.create(T=>{if(1===ue.readyState)try{const{serializer:i}=this._config;ue.send(i(T))}catch(i){this.destination.error(i)}},T=>{const{closingObserver:i}=this._config;i&&i.next(void 0),T&&T.code?ue.close(T.code,T.reason):ee.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:T}=this._config;T&&T.next(void 0),ue.close(),this._resetState()}),fe&&fe instanceof u.t&&he.add(fe.subscribe(this.destination))},ue.onerror=ie=>{this._resetState(),ee.error(ie)},ue.onclose=ie=>{ue===this._socket&&this._resetState();const{closeObserver:ce}=this._config;ce&&ce.next(ie),ie.wasClean?ee.complete():ee.error(ie)},ue.onmessage=ie=>{try{const{deserializer:ce}=this._config;ee.next(ce(ie))}catch(ce){ee.error(ce)}}}_subscribe(G){const{source:W}=this;return W?W.subscribe(G):(this._socket||this._connectSocket(),this._output.subscribe(G),G.add(()=>{const{_socket:Y}=this;0===this._output.observers.length&&(Y&&(1===Y.readyState||0===Y.readyState)&&Y.close(),this._resetState())}),G)}unsubscribe(){const{_socket:G}=this;G&&(1===G.readyState||0===G.readyState)&&G.close(),this._resetState(),super.unsubscribe()}}var w=m(4650),I=m(5043),E=m(5986);class N{constructor(G,W){this.logger=G,this.sessionService=W,this.clWSMessages=new t.X(null),this.eclWSMessages=new t.X(null),this.lndWSMessages=new t.X(null),this.wsUrl="",this.nodeIndex="",this.RETRY_SECONDS=5,this.RECONNECT_TIMEOUT=null,this.unSubs=[new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x]}connectWebSocket(G,W){(!this.socket||this.socket.closed)&&(this.wsUrl=G,this.nodeIndex=W,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new S({url:G,protocol:[this.sessionService.getItem("token")||"",W]}),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,v.R)(this.unSubs[1])).subscribe({next:G=>{if((G="string"==typeof G?JSON.parse(G):G).error)this.handleError(G.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(G)),G.source){case"LND":this.lndWSMessages.next(G);break;case"CLN":this.clWSMessages.next(G);break;case"ECL":this.eclWSMessages.next(G)}},error:G=>this.handleError(G),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(G){this.logger.error(G),this.clWSMessages.error(G),this.eclWSMessages.error(G),this.lndWSMessages.error(G),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()}}N.\u0275fac=function(G){return new(G||N)(w.LFG(I.mQ),w.LFG(E.m))},N.\u0275prov=w.Yz7({token:N,factory:N.\u0275fac})},9470:(Ve,Q,m)=>{"use strict";m.d(Q,{m:()=>aa});var t=m(6895),e=m(9116),v=m(4006),D=m(529),o=m(2216),C=m(4650),u=m(2233),P=m(5829),d=m(1576);m(1281);let Ot=(()=>{class Ft{}return Ft.\u0275fac=function(yt){return new(yt||Ft)},Ft.\u0275mod=C.oAB({type:Ft}),Ft.\u0275inj=C.cJS({imports:[u.IR]}),Ft})(),mi=(()=>{class Ft{constructor(yt,si){(0,t.PM)(si)&&!yt&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(yt,si=[]){return{ngModule:Ft,providers:yt.serverLoaded?[{provide:u.WU,useValue:{...u.g5,...yt}},{provide:u.Bs,useValue:si,multi:!0},{provide:u.wY,useValue:!0}]:[{provide:u.WU,useValue:{...u.g5,...yt}},{provide:u.Bs,useValue:si,multi:!0}]}}}return Ft.\u0275fac=function(yt){return new(yt||Ft)(C.LFG(u.wY),C.LFG(C.Lbi))},Ft.\u0275mod=C.oAB({type:Ft}),Ft.\u0275inj=C.cJS({imports:[d.ae,P.aT,Ot,d.ae,P.aT,Ot]}),Ft})();var Mi=m(2289),Pi=m(3238),Wi=m(7274),Zt=m(7957),oi=m(2673),ge=m(4859);m(4761),m(5017);let fr=(()=>{class Ft{}return Ft.\u0275fac=function(yt){return new(yt||Ft)},Ft.\u0275mod=C.oAB({type:Ft}),Ft.\u0275inj=C.cJS({imports:[Pi.BQ,Pi.si,Pi.BQ]}),Ft})();var Nr=m(3546),Oi=m(6709),Ui=m(9602),Tn=m(752),Qt=m(782),vi=m(7392),gi=m(4144),_i=m(6338),Fi=m(8255),qi=m(8739),yn=m(3162),Qn=m(1572),zn=m(1948),ar=m(4385),On=m(3267),Pn=m(455);m(7579);let Oa=(()=>{class Ft{}return Ft.\u0275fac=function(yt){return new(yt||Ft)},Ft.\u0275mod=C.oAB({type:Ft}),Ft.\u0275inj=C.cJS({imports:[Pi.BQ,t.ez,Pi.si]}),Ft})();var ga=m(7009),Xa=m(6308),hr=m(8425),zr=m(671),_a=m(3848),$a=m(3683),Sa=m(266),us=m(5423),Wr=m(7331),Ea=m(2213),Ua=m(658),Xr=m(6839),fs=m(8184),es=m(3353);class Zn extends fs.Xj{constructor(hi,yt){super(hi,yt)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}}Zn.\u0275fac=function(hi){return new(hi||Zn)(C.Y36(t.K0),C.Y36(es.t4))},Zn.\u0275dir=C.lG2({type:Zn,features:[C.qOj]});var Ga=m(5043),sr=m(7731),qn=m(9445);class Yr extends Pi.LF{constructor(hi,yt){super(hi,yt)}format(hi,yt){if("input"===yt){let si=hi.getDate().toString();return si=+si<10?"0"+si:si,si+"/"+sr.gg[hi.getMonth()].name.toUpperCase()+"/"+hi.getFullYear()}return sr.gg[hi.getMonth()].name.toUpperCase()+" "+hi.getFullYear()}}Yr.\u0275fac=function(hi){return new(hi||Yr)(C.LFG(Pi.Ad,8),C.LFG(es.t4))},Yr.\u0275prov=C.Yz7({token:Yr,factory:Yr.\u0275fac});class aa{}aa.\u0275fac=function(hi){return new(hi||aa)},aa.\u0275mod=C.oAB({type:aa}),aa.\u0275inj=C.cJS({providers:[{provide:Ga.mQ,useClass:Ga.LG},{provide:Xr.op,useValue:{suppressScrollX:!1,suppressScrollY:!1}},{provide:ga.Ve,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:Wi.Bq,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:Pi._A,useClass:Yr},{provide:Pi.sG,useValue:{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"}}}},{provide:fs.Xj,useClass:Zn},t.JJ,t.rS,t.uU,qn.al,qn.h9,qn.D3,qn.i1],imports:[t.ez,v.u5,v.UX,o.uH,mi,Mi.xu,Wi.Is,ge.ot,fr,Nr.QW,Oi.p9,Tn.To,Qt.N6,Ui.FA,Pi.XK,vi.Ps,gi.c,_i.ie,Fi.Tx,yn.Cv,Qn.Cq,zn.Fk,us.dp,Wr.Hi,ar.LD,On.SJ,Pn.rP,Xa.JX,zr.p0,$a.g0,Sa.AV,oi.g,qi.TU,hr.T5,Oa,_a.Nh,ga.ZX,Zt.Bb,Ea.a4,Ua.OF,e.Bz,D.JF,Xr.Xd,v.u5,v.UX,o.uH,mi,Mi.xu,Wi.Is,ge.ot,fr,Nr.QW,Oi.p9,Tn.To,Qt.N6,Ui.FA,Pi.XK,vi.Ps,gi.c,_i.ie,Fi.Tx,yn.Cv,Qn.Cq,zn.Fk,us.dp,Wr.Hi,ar.LD,On.SJ,Pn.rP,Xa.JX,zr.p0,$a.g0,Sa.AV,oi.g,qi.TU,hr.T5,Oa,_a.Nh,ga.ZX,Zt.Bb,Ea.a4,Ua.OF,Xr.Xd]})},7861:(Ve,Q,m)=>{"use strict";m.d(Q,{M6:()=>w,Q2:()=>z,QO:()=>l,Tm:()=>ce,Uy:()=>he,XT:()=>ee,_V:()=>fe,ac:()=>P,c0:()=>r,c1:()=>I,dc:()=>g,ey:()=>X,fk:()=>ie,jS:()=>$,jW:()=>u,kS:()=>i,lC:()=>D,qR:()=>S,qi:()=>o,tj:()=>N,ts:()=>C,tw:()=>W,uO:()=>d,vI:()=>Y,x4:()=>A,yb:()=>E,zQ:()=>ue});var t=m(9653),e=m(7731);(0,t.PH)(e.pg.VOID);const D=(0,t.PH)(e.pg.SET_API_URL_ECL,(0,t.Ky)()),o=(0,t.PH)(e.pg.UPDATE_API_CALL_STATUS_ROOT,(0,t.Ky)()),C=(0,t.PH)(e.pg.CLOSE_ALL_DIALOGS),u=(0,t.PH)(e.pg.OPEN_SNACK_BAR,(0,t.Ky)()),P=(0,t.PH)(e.pg.OPEN_SPINNER,(0,t.Ky)()),d=(0,t.PH)(e.pg.CLOSE_SPINNER,(0,t.Ky)()),S=(0,t.PH)(e.pg.OPEN_ALERT,(0,t.Ky)()),w=(0,t.PH)(e.pg.CLOSE_ALERT,(0,t.Ky)()),I=(0,t.PH)(e.pg.OPEN_CONFIRMATION,(0,t.Ky)()),E=(0,t.PH)(e.pg.CLOSE_CONFIRMATION,(0,t.Ky)()),N=(0,t.PH)(e.pg.SHOW_PUBKEY),z=(0,t.PH)(e.pg.FETCH_CONFIG,(0,t.Ky)()),W=((0,t.PH)(e.pg.SHOW_CONFIG,(0,t.Ky)()),(0,t.PH)(e.pg.UPDATE_SELECTED_NODE_OPTIONS)),Y=(0,t.PH)(e.pg.RESET_ROOT_STORE,(0,t.Ky)()),X=(0,t.PH)(e.pg.FETCH_RTL_CONFIG),ee=(0,t.PH)(e.pg.SET_RTL_CONFIG,(0,t.Ky)()),ue=(0,t.PH)(e.pg.SAVE_SETTINGS,(0,t.Ky)()),he=(0,t.PH)(e.pg.TWO_FA_SAVE_SETTINGS,(0,t.Ky)()),ie=(0,t.PH)(e.pg.SET_SELECTED_NODE,(0,t.Ky)()),ce=(0,t.PH)(e.pg.UPDATE_ROOT_NODE_SETTINGS,(0,t.Ky)()),$=(0,t.PH)(e.pg.UPDATE_SERVICE_SETTINGS,(0,t.Ky)()),fe=(0,t.PH)(e.pg.SET_NODE_DATA,(0,t.Ky)()),i=((0,t.PH)(e.pg.SAVE_SSO,(0,t.Ky)()),(0,t.PH)(e.pg.LOGOUT)),r=(0,t.PH)(e.pg.RESET_PASSWORD,(0,t.Ky)()),l=((0,t.PH)(e.pg.RESET_PASSWORD_RES,(0,t.Ky)()),(0,t.PH)(e.pg.IS_AUTHORIZED,(0,t.Ky)())),A=((0,t.PH)(e.pg.IS_AUTHORIZED_RES,(0,t.Ky)()),(0,t.PH)(e.pg.LOGIN,(0,t.Ky)())),g=((0,t.PH)(e.pg.VERIFY_TWO_FA,(0,t.Ky)()),(0,t.PH)(e.pg.FETCH_FILE,(0,t.Ky)()));(0,t.PH)(e.pg.SHOW_FILE,(0,t.Ky)())},3093:(Ve,Q,m)=>{"use strict";m.d(Q,{V:()=>St});var t=m(4650),e=m(493),v=m(7579),D=m(9646),o=m(9751),C=m(4128),u=m(4004),P=m(5698),d=m(1365),S=m(5577),w=m(262),I=m(2722),E=m(7731),N=m(7274),z=m(1576),G=m(1572);class W{constructor(Xt,zt){this.dialogRef=Xt,this.data=zt}}W.\u0275fac=function(Xt){return new(Xt||W)(t.Y36(N.so),t.Y36(N.WI))},W.\u0275cmp=t.Xpm({type:W,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(Xt,zt){1&Xt&&(t.TgZ(0,"div",0),t._UZ(1,"mat-progress-spinner",1),t.TgZ(2,"h2"),t._uU(3),t.qZA()()),2&Xt&&(t.xp6(3),t.Oqu(zt.data.titleMessage))},dependencies:[z.xw,z.Wh,G.Ou],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]});var Y=m(5043),X=m(7009),ee=m(62),ue=m(6895),he=m(5829),ie=m(4859),ce=m(3546),$=m(7392),fe=m(4850),T=m(658),i=m(6839),r=m(5199),h=m(3390);const l=["scrollContainer"];function y(pt,Xt){if(1&pt&&t._UZ(0,"qr-code",15),2&pt){const zt=t.oxw();t.Q6J("value",zt.showQRField)("size",200)("errorCorrectionLevel","L")}}function A(pt,Xt){1&pt&&t.GkF(0)}const k=function(pt){return{"h-40":pt}};function g(pt,Xt){if(1&pt&&(t.ynx(0),t.TgZ(1,"mat-card-content",16,17),t.YNc(3,A,1,0,"ng-container",18),t.qZA(),t.BQk()),2&pt){const zt=t.oxw(),Li=t.MAs(20);t.xp6(1),t.Q6J("ngClass",t.VKq(2,k,zt.data.scrollable)),t.xp6(2),t.Q6J("ngTemplateOutlet",Li)}}function n(pt,Xt){1&pt&&t.GkF(0)}function b(pt,Xt){if(1&pt&&(t.ynx(0),t.TgZ(1,"mat-card-content",19),t.YNc(2,n,1,0,"ng-container",18),t.qZA(),t.BQk()),2&pt){t.oxw();const zt=t.MAs(20);t.xp6(2),t.Q6J("ngTemplateOutlet",zt)}}function U(pt,Xt){1&pt&&(t.TgZ(0,"mat-icon",23),t._uU(1,"arrow_downward"),t.qZA())}function V(pt,Xt){1&pt&&(t.TgZ(0,"mat-icon",23),t._uU(1,"arrow_upward"),t.qZA())}function j(pt,Xt){if(1&pt){const zt=t.EpF();t.TgZ(0,"div",20)(1,"button",21),t.NdJ("click",function(){t.CHM(zt);const dn=t.oxw();return t.KtG(dn.onScroll())}),t.YNc(2,U,2,0,"mat-icon",22),t.YNc(3,V,2,0,"mat-icon",22),t.qZA()()}if(2&pt){const zt=t.oxw();t.xp6(2),t.Q6J("ngIf","DOWN"===zt.scrollDirection),t.xp6(1),t.Q6J("ngIf","UP"===zt.scrollDirection)}}function Ae(pt,Xt){1&pt&&(t.TgZ(0,"button",24),t._uU(1,"OK"),t.qZA()),2&pt&&t.Q6J("mat-dialog-close",!1)}function Ke(pt,Xt){1&pt&&(t.TgZ(0,"button",25),t._uU(1,"Close"),t.qZA()),2&pt&&t.Q6J("mat-dialog-close",!1)}function qe(pt,Xt){if(1&pt){const zt=t.EpF();t.TgZ(0,"button",26),t.NdJ("copied",function(dn){t.CHM(zt);const on=t.oxw();return t.KtG(on.onCopyField(dn))}),t._uU(1),t.qZA()}if(2&pt){const zt=t.oxw();t.Q6J("payload",zt.showCopyField),t.xp6(1),t.hij("Copy ",zt.showCopyName,"")}}function ct(pt,Xt){1&pt&&(t.TgZ(0,"button",25),t._uU(1,"Close"),t.qZA()),2&pt&&t.Q6J("mat-dialog-close",!1)}function Ie(pt,Xt){if(1&pt){const zt=t.EpF();t.TgZ(0,"button",26),t.NdJ("copied",function(dn){t.CHM(zt);const on=t.oxw();return t.KtG(on.onCopyField(dn))}),t._uU(1),t.qZA()}if(2&pt){const zt=t.oxw();t.Q6J("payload",zt.showQRField),t.xp6(1),t.hij("Copy ",zt.showQRName,"")}}function xe(pt,Xt){if(1&pt&&t._UZ(0,"qr-code",15),2&pt){const zt=t.oxw(2);t.Q6J("value",zt.showQRField)("size",200)("errorCorrectionLevel","L")}}function le(pt,Xt){if(1&pt&&(t.TgZ(0,"p",32),t._uU(1),t.qZA()),2&pt){const zt=t.oxw(2);t.xp6(1),t.Oqu(zt.data.titleMessage)}}function _e(pt,Xt){1&pt&&t._UZ(0,"span",46),2&pt&&t.Q6J("innerHTML",Xt.$implicit,t.oJD)}function se(pt,Xt){if(1&pt&&(t.ynx(0),t.YNc(1,_e,1,1,"span",45),t.BQk()),2&pt){const zt=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngForOf",zt.value)}}function Ye(pt,Xt){if(1&pt&&(t.ynx(0),t._uU(1),t.ALo(2,"date"),t.BQk()),2&pt){const zt=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,1e3*zt.value,"dd/MMM/y HH:mm"))}}function Te(pt,Xt){if(1&pt&&(t.ynx(0),t._uU(1),t.ALo(2,"number"),t.BQk()),2&pt){const zt=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,zt.value,zt.digitsInfo?zt.digitsInfo:"1.0-3"))}}function oe(pt,Xt){if(1&pt&&(t.ynx(0),t._uU(1),t.BQk()),2&pt){const zt=t.oxw(2).$implicit;t.xp6(1),t.Oqu(zt.value?"True":"False")}}function be(pt,Xt){1&pt&&(t.TgZ(0,"mat-icon",51),t._uU(1,"info"),t.qZA())}const te=function(pt){return{"failed-status":pt}};function Ue(pt,Xt){if(1&pt&&(t.TgZ(0,"p",49),t._uU(1),t.YNc(2,be,2,0,"mat-icon",50),t.qZA()),2&pt){const zt=t.oxw(3).$implicit,Li=t.oxw(4);t.Q6J("ngClass",t.VKq(3,te,zt.value===Li.LoopStateEnum.FAILED)),t.xp6(1),t.hij(" ",zt.value," "),t.xp6(1),t.Q6J("ngIf",zt.value===Li.LoopStateEnum.FAILED)}}function Be(pt,Xt){if(1&pt&&t._uU(0),2&pt){const zt=t.oxw(3).$implicit;t.Oqu(zt.value)}}function q(pt,Xt){if(1&pt&&(t.ynx(0),t.YNc(1,Ue,3,5,"p",47),t.YNc(2,Be,1,1,"ng-template",null,48,t.W1O),t.BQk()),2&pt){const zt=t.MAs(3),Li=t.oxw(2).$implicit,dn=t.oxw(4);t.xp6(1),t.Q6J("ngIf","SWAP"===dn.data.openedBy&&"state"===Li.key)("ngIfElse",zt)}}function de(pt,Xt){if(1&pt&&(t.TgZ(0,"span")(1,"span",42),t.YNc(2,se,2,1,"ng-container",43),t.YNc(3,Ye,3,4,"ng-container",43),t.YNc(4,Te,3,4,"ng-container",43),t.YNc(5,oe,2,1,"ng-container",43),t.YNc(6,q,4,2,"ng-container",44),t.qZA()()),2&pt){const zt=t.oxw().$implicit,Li=t.oxw(4);t.xp6(1),t.Q6J("ngSwitch",zt.type),t.xp6(1),t.Q6J("ngSwitchCase",Li.dataTypeEnum.ARRAY),t.xp6(1),t.Q6J("ngSwitchCase",Li.dataTypeEnum.DATE_TIME),t.xp6(1),t.Q6J("ngSwitchCase",Li.dataTypeEnum.NUMBER),t.xp6(1),t.Q6J("ngSwitchCase",Li.dataTypeEnum.BOOLEAN)}}function Ce(pt,Xt){1&pt&&(t.TgZ(0,"span",52),t._uU(1,"\xa0"),t.qZA())}function ke(pt,Xt){if(1&pt&&(t.TgZ(0,"div",37)(1,"h4",38),t._uU(2),t.qZA(),t.YNc(3,de,7,5,"span",39),t.YNc(4,Ce,2,0,"ng-template",null,40,t.W1O),t._UZ(6,"mat-divider",41),t.qZA()),2&pt){const zt=Xt.$implicit,Li=t.MAs(5);t.s9C("fxFlex.gt-md",zt.width),t.xp6(2),t.Oqu(zt.title),t.xp6(1),t.Q6J("ngIf",zt&&(!!zt.value||0===zt.value))("ngIfElse",Li)}}function ht(pt,Xt){if(1&pt&&(t.TgZ(0,"div")(1,"div",35),t.YNc(2,ke,7,4,"div",36),t.qZA()()),2&pt){const zt=Xt.$implicit;t.xp6(2),t.Q6J("ngForOf",zt)}}function nt(pt,Xt){if(1&pt&&(t.TgZ(0,"div",33),t.YNc(1,ht,3,1,"div",34),t.qZA()),2&pt){const zt=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",zt.messageObjs)}}const wt=function(pt){return{"display-none":pt}};function it(pt,Xt){if(1&pt&&(t.TgZ(0,"div",27)(1,"div",28),t.YNc(2,xe,1,3,"qr-code",2),t.qZA(),t.TgZ(3,"div",29),t.YNc(4,le,2,1,"p",30),t.YNc(5,nt,2,1,"div",31),t.qZA()()),2&pt){const zt=t.oxw();t.xp6(1),t.Q6J("ngClass",t.VKq(4,wt,""===zt.showQRField||zt.screenSize!==zt.screenSizeEnum.XS&&zt.screenSize!==zt.screenSizeEnum.SM)),t.xp6(1),t.Q6J("ngIf",""!==zt.showQRField),t.xp6(2),t.Q6J("ngIf",zt.data.titleMessage),t.xp6(1),t.Q6J("ngIf",(null==zt.messageObjs?null:zt.messageObjs.length)>0)}}class qt{constructor(Xt,zt,Li,dn,on,Xn){this.dialogRef=Xt,this.data=zt,this.logger=Li,this.snackBar=dn,this.commonService=on,this.renderer=Xn,this.LoopStateEnum=E.Fq,this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=E.n_,this.dataTypeEnum=E.Gi,this.screenSize="",this.screenSizeEnum=E.cu,this.scrollDirection="DOWN",this.shouldScroll=!0}set container(Xt){Xt&&(this.scrollContainer=Xt,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",zt=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",zt=>{this.scrollDirection="DOWN"})))}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.messageObjs=this.data.message||[],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===E.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(Xt){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+Xt)}onClose(){this.dialogRef.close(!1)}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd()}}qt.\u0275fac=function(Xt){return new(Xt||qt)(t.Y36(N.so),t.Y36(N.WI),t.Y36(Y.mQ),t.Y36(X.ux),t.Y36(ee.v),t.Y36(t.Qsj))},qt.\u0275cmp=t.Xpm({type:qt,selectors:[["rtl-alert-message"]],viewQuery:function(Xt,zt){if(1&Xt&&t.Gf(l,5),2&Xt){let Li;t.iGM(Li=t.CRH())&&(zt.container=Li.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"],["fxFlex","100",1,"foreground-secondary-text"]],template:function(Xt,zt){1&Xt&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,y,1,3,"qr-code",2),t.qZA(),t.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5)(6,"span",6),t._uU(7),t.qZA()(),t.TgZ(8,"button",7),t.NdJ("click",function(){return zt.onClose()}),t._uU(9,"X"),t.qZA()(),t.YNc(10,g,4,4,"ng-container",8),t.YNc(11,b,3,1,"ng-container",8),t.YNc(12,j,4,2,"div",9),t.TgZ(13,"div",10),t.YNc(14,Ae,2,1,"button",11),t.YNc(15,Ke,2,1,"button",12),t.YNc(16,qe,2,2,"button",13),t.YNc(17,ct,2,1,"button",12),t.YNc(18,Ie,2,2,"button",13),t.qZA()()(),t.YNc(19,it,6,6,"ng-template",null,14,t.W1O)),2&Xt&&(t.xp6(1),t.Q6J("ngClass",t.VKq(12,wt,""===zt.showQRField||zt.screenSize===zt.screenSizeEnum.XS||zt.screenSize===zt.screenSizeEnum.SM)),t.xp6(1),t.Q6J("ngIf",""!==zt.showQRField),t.xp6(1),t.Q6J("fxFlex",""===zt.showQRField||zt.screenSize===zt.screenSizeEnum.XS||zt.screenSize===zt.screenSizeEnum.SM?"100":"70"),t.xp6(4),t.Oqu(zt.data.alertTitle||zt.alertTypeEnum[zt.data.type]),t.xp6(3),t.Q6J("ngIf",zt.data.scrollable),t.xp6(1),t.Q6J("ngIf",!zt.data.scrollable),t.xp6(1),t.Q6J("ngIf",zt.data.scrollable&&zt.shouldScroll),t.xp6(2),t.Q6J("ngIf",(!zt.showQRField||""===zt.showQRField)&&""===zt.showCopyName),t.xp6(1),t.Q6J("ngIf",""!==zt.showCopyName),t.xp6(1),t.Q6J("ngIf",""!==zt.showCopyName),t.xp6(1),t.Q6J("ngIf",""!==zt.showQRField),t.xp6(1),t.Q6J("ngIf",""!==zt.showQRField))},dependencies:[ue.mk,ue.sg,ue.O5,ue.tP,ue.RF,ue.n9,ue.ED,z.xw,z.Wh,z.yH,he.oO,N.ZT,ie.lW,ie.nh,ce.dn,ce.dk,$.Hw,fe.d,T.uU,i.$V,r.y,h.h,ue.JJ,ue.uU],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]});var _t=m(2687),ne=m(7861),Nt=m(9653),De=m(4006),He=m(2216),Ct=m(4144),Pe=m(9549),tt=m(6534);function Bt(pt,Xt){if(1&pt&&(t.TgZ(0,"div",18),t._UZ(1,"fa-icon",19),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&pt){const zt=t.oxw();t.xp6(1),t.Q6J("icon",zt.faExclamationTriangle),t.xp6(2),t.Oqu(zt.warningMessage)}}function Lt(pt,Xt){if(1&pt&&(t.TgZ(0,"div",20),t._UZ(1,"fa-icon",19),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&pt){const zt=t.oxw();t.xp6(1),t.Q6J("icon",zt.faInfoCircle),t.xp6(2),t.Oqu(zt.informationMessage)}}function Ht(pt,Xt){if(1&pt&&(t.TgZ(0,"p",21),t._uU(1),t.qZA()),2&pt){const zt=t.oxw();t.xp6(1),t.Oqu(zt.data.titleMessage)}}function bt(pt,Xt){1&pt&&t._UZ(0,"div",36),2&pt&&t.Q6J("innerHTML",Xt.$implicit,t.oJD)}function Me(pt,Xt){if(1&pt&&(t.ynx(0,34),t.YNc(1,bt,1,1,"div",35),t.BQk()),2&pt){const zt=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngForOf",zt.value)}}function J(pt,Xt){if(1&pt&&(t.ynx(0),t._uU(1),t.ALo(2,"date"),t.BQk()),2&pt){const zt=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,1e3*zt.value,"dd/MMM/y HH:mm"))}}function ve(pt,Xt){if(1&pt&&(t.ynx(0),t._uU(1),t.ALo(2,"number"),t.BQk()),2&pt){const zt=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,zt.value,"1.0-3"))}}function Re(pt,Xt){if(1&pt&&(t.ynx(0),t._uU(1),t.BQk()),2&pt){const zt=t.oxw(2).$implicit;t.xp6(1),t.Oqu(!0===zt.value?"True":"False")}}function at(pt,Xt){if(1&pt&&(t.ynx(0),t._uU(1),t.BQk()),2&pt){const zt=t.oxw(2).$implicit;t.xp6(1),t.Oqu(zt.value)}}function ni(pt,Xt){if(1&pt&&(t.TgZ(0,"span")(1,"span",30),t.YNc(2,Me,2,1,"ng-container",31),t.YNc(3,J,3,4,"ng-container",32),t.YNc(4,ve,3,4,"ng-container",32),t.YNc(5,Re,2,1,"ng-container",32),t.YNc(6,at,2,1,"ng-container",33),t.qZA()()),2&pt){const zt=t.oxw().$implicit,Li=t.oxw(3);t.xp6(1),t.Q6J("ngSwitch",zt.type),t.xp6(1),t.Q6J("ngSwitchCase",Li.dataTypeEnum.ARRAY),t.xp6(1),t.Q6J("ngSwitchCase",Li.dataTypeEnum.DATE_TIME),t.xp6(1),t.Q6J("ngSwitchCase",Li.dataTypeEnum.NUMBER),t.xp6(1),t.Q6J("ngSwitchCase",Li.dataTypeEnum.BOOLEAN)}}function Gt(pt,Xt){1&pt&&(t.TgZ(0,"span",37),t._uU(1,"\xa0"),t.qZA())}function ti(pt,Xt){if(1&pt&&(t.TgZ(0,"div",25)(1,"h4",26),t._uU(2),t.qZA(),t.YNc(3,ni,7,5,"span",27),t.YNc(4,Gt,2,0,"ng-template",null,28,t.W1O),t._UZ(6,"mat-divider",29),t.qZA()),2&pt){const zt=Xt.$implicit,Li=t.MAs(5);t.s9C("fxFlex.gt-md",zt.width),t.xp6(2),t.Oqu(zt.title),t.xp6(1),t.Q6J("ngIf",zt&&(!!zt.value||0===zt.value))("ngIfElse",Li)}}function dt(pt,Xt){if(1&pt&&(t.TgZ(0,"div")(1,"div",23),t.YNc(2,ti,7,4,"div",24),t.qZA()()),2&pt){const zt=Xt.$implicit;t.xp6(2),t.Q6J("ngForOf",zt)}}function rt(pt,Xt){if(1&pt&&(t.TgZ(0,"div"),t.YNc(1,dt,3,1,"div",22),t.qZA()),2&pt){const zt=t.oxw();t.xp6(1),t.Q6J("ngForOf",zt.messageObjs)}}function vt(pt,Xt){if(1&pt&&(t.TgZ(0,"p",21),t._uU(1),t.qZA()),2&pt){const zt=t.oxw(2);t.xp6(1),t.Oqu(zt.data.titleMessage)}}function ai(pt,Xt){if(1&pt&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&pt){const zt=t.oxw(2).$implicit;t.xp6(1),t.hij("",zt.placeholder," is required.")}}function Ut(pt,Xt){if(1&pt){const zt=t.EpF();t.TgZ(0,"mat-form-field",41)(1,"mat-label"),t._uU(2),t.qZA(),t.TgZ(3,"input",42),t.NdJ("ngModelChange",function(dn){t.CHM(zt);const on=t.oxw().$implicit;return t.KtG(on.inputValue=dn)}),t.ALo(4,"lowercase"),t.qZA(),t.YNc(5,ai,2,1,"mat-error",11),t.TgZ(6,"mat-hint"),t._uU(7),t.qZA()()}if(2&pt){const zt=t.oxw(),Li=zt.$implicit,dn=zt.index;t.Q6J("fxFlex",Li.width),t.xp6(2),t.Oqu(Li.placeholder),t.xp6(1),t.MGl("name","input",dn,""),t.Q6J("autoFocus",0===dn)("min",Li.min)("step",Li.step)("type",t.lcZ(4,11,Li.inputType))("tabindex",dn+1)("ngModel",Li.inputValue),t.xp6(2),t.Q6J("ngIf",!Li.inputValue),t.xp6(2),t.Oqu(Li.hintFunction?Li.hintFunction(Li.inputValue):Li.hintText)}}function Vt(pt,Xt){if(1&pt&&(t.ynx(0),t.YNc(1,Ut,8,13,"mat-form-field",40),t.BQk()),2&pt){const zt=Xt.$implicit,Li=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!zt.advancedField||Li.showAdvanced)}}function Rt(pt,Xt){if(1&pt&&(t.TgZ(0,"div",38),t.YNc(1,vt,2,1,"p",10),t.TgZ(2,"div",39),t.YNc(3,Vt,2,1,"ng-container",22),t.qZA()()),2&pt){const zt=t.oxw();t.xp6(1),t.Q6J("ngIf",zt.data.titleMessage),t.xp6(2),t.Q6J("ngForOf",zt.getInputs)}}function je(pt,Xt){1&pt&&(t.TgZ(0,"p"),t._uU(1,"Show Advanced"),t.qZA())}function Fe(pt,Xt){1&pt&&(t.TgZ(0,"p"),t._uU(1,"Hide Advanced"),t.qZA())}function We(pt,Xt){if(1&pt){const zt=t.EpF();t.TgZ(0,"button",43),t.NdJ("click",function(){t.CHM(zt);const dn=t.oxw();return t.KtG(dn.onShowAdvanced())}),t.YNc(1,je,2,0,"p",27),t.YNc(2,Fe,2,0,"ng-template",null,44,t.W1O),t.qZA()}if(2&pt){const zt=t.MAs(3),Li=t.oxw();t.xp6(1),t.Q6J("ngIf",!Li.showAdvanced)("ngIfElse",zt)}}function Je(pt,Xt){if(1&pt){const zt=t.EpF();t.TgZ(0,"button",45),t.NdJ("click",function(){t.CHM(zt);const dn=t.oxw();return t.KtG(dn.onClose(dn.getInputs))}),t._uU(1),t.qZA()}if(2&pt){const zt=t.oxw();t.xp6(1),t.Oqu(zt.yesBtnText)}}function Tt(pt,Xt){if(1&pt){const zt=t.EpF();t.TgZ(0,"button",46),t.NdJ("click",function(){t.CHM(zt);const dn=t.oxw();return t.KtG(dn.onClose(!0))}),t._uU(1),t.qZA()}if(2&pt){const zt=t.oxw();t.xp6(1),t.Oqu(zt.yesBtnText)}}class ui{constructor(Xt,zt,Li,dn){this.dialogRef=Xt,this.data=zt,this.logger=Li,this.store=dn,this.faInfoCircle=_t.sqG,this.faExclamationTriangle=_t.eHv,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=E.n_,this.dataTypeEnum=E.Gi,this.getInputs=[{placeholder:"",inputType:E.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===E.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(Xt){if(Xt&&this.getInputs&&this.getInputs.some(zt=>typeof zt.inputValue>"u"))return!0;!this.showAdvanced&&Xt.length&&(Xt=Xt?.reduce((zt,Li)=>(Li.advancedField||zt.push(Li),zt),[])),this.store.dispatch((0,ne.yb)({payload:Xt}))}}ui.\u0275fac=function(Xt){return new(Xt||ui)(t.Y36(N.so),t.Y36(N.WI),t.Y36(Y.mQ),t.Y36(Nt.yh))},ui.\u0275cmp=t.Xpm({type:ui,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(Xt,zt){1&Xt&&(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 zt.onClose(!1)}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7),t.YNc(10,Bt,4,2,"div",8),t.YNc(11,Lt,4,2,"div",9),t.YNc(12,Ht,2,1,"p",10),t.YNc(13,rt,2,1,"div",11),t.YNc(14,Rt,4,2,"div",12),t.TgZ(15,"div",13)(16,"button",14),t.NdJ("click",function(){return zt.onClose(!1)}),t._uU(17),t.qZA(),t.YNc(18,We,4,2,"button",15),t.YNc(19,Je,2,1,"button",16),t.YNc(20,Tt,2,1,"button",17),t.qZA()()()()()),2&Xt&&(t.xp6(5),t.Oqu(zt.data.alertTitle||zt.alertTypeEnum[zt.data.type]),t.xp6(5),t.Q6J("ngIf",zt.warningMessage&&""!==zt.warningMessage),t.xp6(1),t.Q6J("ngIf",zt.informationMessage&&""!==zt.informationMessage),t.xp6(1),t.Q6J("ngIf",zt.data.titleMessage&&!zt.flgShowInput),t.xp6(1),t.Q6J("ngIf",(null==zt.messageObjs?null:zt.messageObjs.length)>0),t.xp6(1),t.Q6J("ngIf",zt.flgShowInput),t.xp6(3),t.Oqu(zt.noBtnText),t.xp6(1),t.Q6J("ngIf",zt.hasAdvanced),t.xp6(1),t.Q6J("ngIf",zt.flgShowInput),t.xp6(1),t.Q6J("ngIf",!zt.flgShowInput))},dependencies:[ue.sg,ue.O5,ue.RF,ue.n9,ue.ED,De._Y,De.Fj,De.JJ,De.JL,De.Q7,De.On,De.F,He.BN,z.xw,z.Wh,z.yH,ie.lW,ce.dn,ce.dk,Ct.Nt,Pe.KE,Pe.hX,Pe.bx,Pe.TO,fe.d,h.h,tt.q,ue.i8,ue.JJ,ue.uU]});var Ei=m(1786),xi=m(4385),Vi=m(3238);function $e(pt,Xt){if(1&pt&&(t.TgZ(0,"mat-option",23),t._uU(1),t.qZA()),2&pt){const zt=Xt.$implicit;t.Q6J("value",zt),t.xp6(1),t.hij(" ",zt.infoName," ")}}function Mt(pt,Xt){if(1&pt){const zt=t.EpF();t.TgZ(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),t.NdJ("valueChange",function(dn){t.CHM(zt);const on=t.oxw();return t.KtG(on.selInfoType=dn)}),t.YNc(3,$e,2,2,"mat-option",22),t.qZA()()()}if(2&pt){const zt=t.oxw();t.xp6(2),t.Q6J("value",zt.selInfoType),t.xp6(1),t.Q6J("ngForOf",zt.infoTypes)}}const ye=function(pt){return{"display-none":pt}};class Ot{constructor(Xt,zt,Li,dn,on){this.dialogRef=Xt,this.data=zt,this.logger=Li,this.snackBar=dn,this.commonService=on,this.faReceipt=_t.dLy,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=E.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((Xt,zt)=>{this.infoTypes.push({infoID:zt+1,infoKey:"node URI "+(zt+1),infoName:"Node URI "+(zt+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(Xt){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+Xt)}}Ot.\u0275fac=function(Xt){return new(Xt||Ot)(t.Y36(N.so),t.Y36(N.WI),t.Y36(Y.mQ),t.Y36(X.ux),t.Y36(ee.v))},Ot.\u0275cmp=t.Xpm({type:Ot,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(Xt,zt){1&Xt&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"qr-code",2),t.qZA(),t.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5),t._UZ(6,"fa-icon",6),t.TgZ(7,"span",7),t._uU(8),t.qZA()(),t.TgZ(9,"button",8),t.NdJ("click",function(){return zt.onClose()}),t._uU(10,"X"),t.qZA()(),t.TgZ(11,"mat-card-content",9)(12,"div",10)(13,"div",11),t._UZ(14,"qr-code",2),t.qZA(),t.YNc(15,Mt,4,2,"div",12),t.TgZ(16,"div",13)(17,"div",14)(18,"h4",15),t._uU(19),t.qZA(),t.TgZ(20,"span",16),t._uU(21),t.qZA()()(),t._UZ(22,"mat-divider",17),t.TgZ(23,"div",18)(24,"button",19),t.NdJ("copied",function(dn){return zt.onCopyPubkey(dn)}),t._uU(25),t.qZA()()()()()()),2&Xt&&(t.xp6(1),t.Q6J("ngClass",t.VKq(15,ye,zt.screenSize===zt.screenSizeEnum.XS||zt.screenSize===zt.screenSizeEnum.SM)),t.xp6(1),t.s9C("value",0===zt.selInfoType.infoID?zt.information.identity_pubkey:zt.information.uris[zt.selInfoType.infoID-1]),t.Q6J("size",zt.qrWidth)("errorCorrectionLevel","L"),t.xp6(4),t.Q6J("icon",zt.faReceipt),t.xp6(2),t.Oqu(zt.selInfoType.infoName),t.xp6(5),t.Q6J("ngClass",t.VKq(17,ye,zt.screenSize!==zt.screenSizeEnum.XS&&zt.screenSize!==zt.screenSizeEnum.SM)),t.xp6(1),t.s9C("value",0===zt.selInfoType.infoID?zt.information.identity_pubkey:zt.information.uris[zt.selInfoType.infoID-1]),t.Q6J("size",zt.qrWidth)("errorCorrectionLevel","L"),t.xp6(1),t.Q6J("ngIf",zt.information.uris&&zt.information.uris.length>0),t.xp6(4),t.Oqu(zt.selInfoType.infoName),t.xp6(2),t.Oqu(0===zt.selInfoType.infoID?zt.information.identity_pubkey:zt.information.uris[zt.selInfoType.infoID-1]),t.xp6(3),t.s9C("payload",0===zt.selInfoType.infoID?zt.information.identity_pubkey:zt.information.uris[zt.selInfoType.infoID-1]),t.xp6(1),t.hij("Copy ",zt.selInfoType.infoKey,""))},dependencies:[ue.mk,ue.sg,ue.O5,He.BN,z.xw,z.Wh,z.yH,he.oO,ie.lW,ce.dn,ce.dk,Pe.KE,fe.d,xi.gD,Vi.ey,T.uU,r.y,h.h]});var Kt=m(6523),mi=m(429),Mi=m(2994),Pi=m(8377),Wi=m(529),Zt=m(7998),oi=m(5986),ge=m(8104),Xe=m(9116);class St{constructor(Xt,zt,Li,dn,on,Xn,Gr,bn,Zr,fr,Nr){this.actions=Xt,this.httpClient=zt,this.store=Li,this.logger=dn,this.wsService=on,this.sessionService=Xn,this.commonService=Gr,this.dataService=bn,this.dialog=Zr,this.snackBar=fr,this.router=Nr,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new v.x,new v.x],this.closeAllDialogs=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.CLOSE_ALL_DIALOGS),(0,u.U)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.OPEN_SNACK_BAR),(0,u.U)(Oi=>{"string"==typeof Oi.payload?this.snackBar.open(Oi.payload):this.snackBar.open(Oi.payload.message,"","ERROR"===Oi.payload.type?{duration:Oi.payload.duration?Oi.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===Oi.payload.type?{duration:Oi.payload.duration?Oi.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:Oi.payload.duration?Oi.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.OPEN_SPINNER),(0,u.U)(Oi=>{Oi.payload!==E.m6.NO_SPINNER&&(this.dialogRef=this.dialog.open(W,{panelClass:"spinner-dialog-panel",data:{titleMessage:Oi.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.CLOSE_SPINNER),(0,u.U)(Oi=>{if(Oi.payload!==E.m6.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===Oi.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(Ui=>{Ui.componentInstance&&Ui.componentInstance.data&&Ui.componentInstance.data.titleMessage&&Ui.componentInstance.data.titleMessage===Oi.payload&&Ui.close()})}catch(Ui){this.logger.error(Ui)}})),{dispatch:!1}),this.openAlert=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.OPEN_ALERT),(0,u.U)(Oi=>{const Ui=JSON.parse(JSON.stringify(Oi.payload));Ui.width||(Ui.width=this.alertWidth),this.dialogRef=this.dialog.open(Oi.payload.data.component?Oi.payload.data.component:qt,Ui)})),{dispatch:!1}),this.closeAlert=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.CLOSE_ALERT),(0,u.U)(Oi=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Oi.payload),Oi.payload))),{dispatch:!1}),this.openConfirm=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.OPEN_CONFIRMATION),(0,u.U)(Oi=>{const Ui=JSON.parse(JSON.stringify(Oi.payload));Ui.width||(Ui.width=this.confirmWidth),this.dialogRef=this.dialog.open(ui,Ui)})),{dispatch:!1}),this.closeConfirm=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.CLOSE_CONFIRMATION),(0,P.q)(1),(0,u.U)(Oi=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Oi.payload),Oi.payload))),{dispatch:!1}),this.showNodePubkey=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SHOW_PUBKEY),(0,d.M)(this.store.select(Pi.R4)),(0,S.z)(([Oi,Ui])=>(this.sessionService.getItem("token")&&Ui.identity_pubkey?this.store.dispatch((0,ne.qR)({payload:{data:{information:Ui,component:Ot}}})):this.snackBar.open("Node Pubkey does not exist."),(0,D.of)({type:E.pg.VOID}))))),this.appConfigFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.FETCH_RTL_CONFIG),(0,S.z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===E.cu.XS||this.screenSize===E.cu.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===E.cu.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="50%",this.confirmWidth="53%"),this.store.dispatch((0,ne.ac)({payload:E.m6.GET_RTL_CONFIG})),this.store.dispatch((0,ne.qi)({payload:{action:"FetchRTLConfig",status:E.Bn.INITIATED}})),this.sessionService.getItem("token")?this.httpClient.get(E.vv.CONF_API+"/rtlconf"):this.httpClient.get(E.vv.CONF_API+"/rtlconfinit"))),(0,u.U)(Oi=>{this.logger.info(Oi),this.store.dispatch((0,ne.uO)({payload:E.m6.GET_RTL_CONFIG})),this.store.dispatch((0,ne.qi)({payload:{action:"FetchRTLConfig",status:E.Bn.COMPLETED}}));let Ui=null;return Oi.nodes.forEach(Tn=>{Tn.settings.currencyUnits=[...E.uA,Tn.settings?.currencyUnit?Tn.settings?.currencyUnit:""],+(Tn.index||-1)===Oi.selectedNodeIndex&&(Ui=Tn)}),Ui?(this.store.dispatch((0,ne.fk)({payload:{uiMessage:E.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:Ui,isInitialSetup:!0}})),{type:E.pg.SET_RTL_CONFIG,payload:Oi}):{type:E.pg.VOID}}),(0,w.K)(Oi=>(this.handleErrorWithAlert("FetchRTLConfig",E.m6.GET_RTL_CONFIG,"Fetch RTL Config Failed!",E.vv.CONF_API,Oi),(0,D.of)({type:E.pg.VOID}))))),this.settingSave=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SAVE_SETTINGS),(0,S.z)(Oi=>{this.store.dispatch((0,ne.ac)({payload:Oi.payload.uiMessage})),this.store.dispatch((0,ne.qi)({payload:{action:"UpdateSettings",status:E.Bn.INITIATED}}));let Ui=new o.y;if(Oi.payload.settings&&Oi.payload.defaultNodeIndex){const Tn=this.httpClient.post(E.vv.CONF_API,{updatedSettings:Oi.payload.settings}),Qt=this.httpClient.post(E.vv.CONF_API+"/updateDefaultNode",{defaultNodeIndex:Oi.payload.defaultNodeIndex});Ui=(0,C.D)([Tn,Qt])}else Oi.payload.settings&&!Oi.payload.defaultNodeIndex?Ui=this.httpClient.post(E.vv.CONF_API,{updatedSettings:Oi.payload.settings}):!Oi.payload.settings&&Oi.payload.defaultNodeIndex&&(Ui=this.httpClient.post(E.vv.CONF_API+"/updateDefaultNode",{defaultNodeIndex:Oi.payload.defaultNodeIndex}));return Ui.pipe((0,u.U)(Tn=>(this.logger.info(Tn),this.store.dispatch((0,ne.qi)({payload:{action:"UpdateSettings",status:E.Bn.COMPLETED}})),this.store.dispatch((0,ne.uO)({payload:Oi.payload.uiMessage})),{type:E.pg.OPEN_SNACK_BAR,payload:Tn.length?Tn[0].message+".":Tn.message+"."})),(0,w.K)(Tn=>(this.handleErrorWithAlert("UpdateSettings",Oi.payload.uiMessage,"Update Settings Failed!",E.vv.CONF_API,Tn.length?Tn[0]:Tn),(0,D.of)({type:E.pg.VOID}))))}))),this.updateServicesettings=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.UPDATE_SERVICE_SETTINGS),(0,S.z)(Oi=>(this.store.dispatch((0,ne.ac)({payload:Oi.payload.uiMessage})),this.store.dispatch((0,ne.qi)({payload:{action:"UpdateServiceSettings",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.CONF_API+"/updateServiceSettings",Oi.payload).pipe((0,u.U)(Ui=>(this.logger.info(Ui),this.store.dispatch((0,ne.qi)({payload:{action:"UpdateServiceSettings",status:E.Bn.COMPLETED}})),this.store.dispatch((0,ne.uO)({payload:Oi.payload.uiMessage})),this.store.dispatch((0,ne.Tm)({payload:Oi.payload})),{type:E.pg.OPEN_SNACK_BAR,payload:Ui.message+"."})),(0,w.K)(Ui=>(this.handleErrorWithAlert("UpdateServiceSettings",Oi.payload.uiMessage,"Update Service Settings Failed!",E.vv.CONF_API,Ui),(0,D.of)({type:E.pg.VOID})))))))),this.twoFASettingSave=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.TWO_FA_SAVE_SETTINGS),(0,S.z)(Oi=>(this.store.dispatch((0,ne.ac)({payload:E.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,ne.qi)({payload:{action:"Update2FASettings",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.CONF_API+"/update2FA",{secret2fa:Oi.payload.secret2fa}))),(0,d.M)(this.store.select(Pi.Yj)),(0,u.U)(([Oi,Ui])=>{this.logger.info(Oi),Ui.enable2FA=!Ui.enable2FA,this.store.dispatch((0,ne.qi)({payload:{action:"Update2FASettings",status:E.Bn.COMPLETED}})),this.store.dispatch((0,ne.uO)({payload:E.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,ne.XT)({payload:Ui}))}),(0,w.K)(Oi=>(this.handleErrorWithAlert("Update2FASettings",E.m6.UPDATE_UI_SETTINGS,"Update 2FA Settings Failed!",E.vv.CONF_API,Oi),(0,D.of)({type:E.pg.VOID})))),{dispatch:!1}),this.configFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.FETCH_CONFIG),(0,S.z)(Oi=>(this.store.dispatch((0,ne.ac)({payload:E.m6.OPEN_CONFIG_FILE})),this.store.dispatch((0,ne.qi)({payload:{action:"fetchConfig",status:E.Bn.INITIATED}})),this.httpClient.get(E.vv.CONF_API+"/config/"+Oi.payload).pipe((0,u.U)(Ui=>(this.store.dispatch((0,ne.qi)({payload:{action:"fetchConfig",status:E.Bn.COMPLETED}})),this.store.dispatch((0,ne.uO)({payload:E.m6.OPEN_CONFIG_FILE})),{type:E.pg.SHOW_CONFIG,payload:Ui})),(0,w.K)(Ui=>(this.handleErrorWithAlert("fetchConfig",E.m6.OPEN_CONFIG_FILE,"Fetch Config Failed!",E.vv.CONF_API+"/config/"+Oi.payload,Ui),(0,D.of)({type:E.pg.VOID})))))))),this.showLnConfig=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SHOW_CONFIG),(0,u.U)(Oi=>Oi.payload)),{dispatch:!1}),this.isAuthorized=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.IS_AUTHORIZED),(0,S.z)(Oi=>(this.store.dispatch((0,ne.qi)({payload:{action:"IsAuthorized",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.AUTHENTICATE_API,{authenticateWith:Oi.payload&&""!==Oi.payload.trim()?E.OJ.PASSWORD:E.OJ.JWT,authenticationValue:Oi.payload&&""!==Oi.payload.trim()?Oi.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,u.U)(Ui=>(this.logger.info(Ui),this.store.dispatch((0,ne.qi)({payload:{action:"IsAuthorized",status:E.Bn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:E.pg.IS_AUTHORIZED_RES,payload:Ui})),(0,w.K)(Ui=>(this.handleErrorWithAlert("IsAuthorized",E.m6.NO_SPINNER,"Authorization Failed",E.vv.AUTHENTICATE_API,Ui),(0,D.of)({type:E.pg.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.IS_AUTHORIZED_RES),(0,u.U)(Oi=>Oi.payload)),{dispatch:!1}),this.authLogin=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.LOGIN),(0,d.M)(this.store.select(Pi.Yj)),(0,S.z)(([Oi,Ui])=>(this.store.dispatch((0,Kt.Ll)({payload:null})),this.store.dispatch((0,mi.xH)({payload:null})),this.store.dispatch((0,Mi.Fd)({payload:null})),this.store.dispatch((0,ne.qi)({payload:{action:"Login",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.AUTHENTICATE_API,{authenticateWith:Oi.payload.password?E.OJ.PASSWORD:E.OJ.JWT,authenticationValue:Oi.payload.password?Oi.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:Oi.payload.twoFAToken?Oi.payload.twoFAToken:""}).pipe((0,u.U)(Tn=>{this.logger.info(Tn),this.store.dispatch((0,ne.qi)({payload:{action:"Login",status:E.Bn.COMPLETED}})),this.setLoggedInDetails(Oi.payload.defaultPassword,Tn)}),(0,w.K)(Tn=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",E.m6.NO_SPINNER,Tn),+Ui.sso.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:Tn.error&&Tn.error.error?Tn.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"]),(0,D.of)({type:E.pg.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.VERIFY_TWO_FA),(0,S.z)(Oi=>(this.store.dispatch((0,ne.ac)({payload:E.m6.VERIFY_TOKEN})),this.store.dispatch((0,ne.qi)({payload:{action:"VerifyToken",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.AUTHENTICATE_API+"/token",{authentication2FA:Oi.payload.token}).pipe((0,u.U)(Ui=>{this.logger.info(Ui),this.store.dispatch((0,ne.uO)({payload:E.m6.VERIFY_TOKEN})),this.store.dispatch((0,ne.qi)({payload:{action:"VerifyToken",status:E.Bn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,Oi.payload.authResponse)}),(0,w.K)(Ui=>(this.handleErrorWithAlert("VerifyToken",E.m6.VERIFY_TOKEN,"Authorization Failed!",E.vv.AUTHENTICATE_API+"/token",Ui),(0,D.of)({type:E.pg.VOID}))))))),{dispatch:!1}),this.logOut=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.LOGOUT),(0,S.z)(Oi=>(this.store.dispatch((0,ne.ac)({payload:E.m6.LOG_OUT})),Oi.sso&&+Oi.sso.rtlSSO?window.location.href=Oi.sso.logoutRedirectLink:this.router.navigate(["./login"]),this.sessionService.clearAll(),this.store.dispatch((0,ne._V)({payload:{}})),this.store.dispatch((0,ne.uO)({payload:E.m6.LOG_OUT})),this.logger.info("Logged out from browser"),this.httpClient.get(E.vv.AUTHENTICATE_API+"/logout").pipe((0,u.U)(Ui=>{this.logger.info(Ui),this.store.dispatch((0,ne.uO)({payload:E.m6.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,e.GW)(()=>this.actions.pipe((0,I.R)(this.unSubs[1]),(0,e.l4)(E.pg.RESET_PASSWORD),(0,S.z)(Oi=>(this.store.dispatch((0,ne.qi)({payload:{action:"ResetPassword",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.AUTHENTICATE_API+"/reset",{currPassword:Oi.payload.currPassword,newPassword:Oi.payload.newPassword}).pipe((0,I.R)(this.unSubs[0]),(0,u.U)(Ui=>(this.logger.info(Ui),this.store.dispatch((0,ne.qi)({payload:{action:"ResetPassword",status:E.Bn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,ne.jW)({payload:"Password Reset Successful!"})),this.SetToken(Ui.token),{type:E.pg.RESET_PASSWORD_RES,payload:Ui.token})),(0,w.K)(Ui=>(this.handleErrorWithAlert("ResetPassword",E.m6.NO_SPINNER,"Password Reset Failed!",E.vv.AUTHENTICATE_API+"/reset",Ui),(0,D.of)({type:E.pg.VOID})))))))),this.setSelectedNode=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SET_SELECTED_NODE),(0,S.z)(Oi=>(this.store.dispatch((0,ne.ac)({payload:Oi.payload.uiMessage})),this.store.dispatch((0,ne.qi)({payload:{action:"UpdateSelNode",status:E.Bn.INITIATED}})),this.httpClient.get(E.vv.CONF_API+"/updateSelNode/"+Oi.payload.currentLnNode?.index+"/"+Oi.payload.prevLnNodeIndex).pipe((0,u.U)(Ui=>(this.logger.info(Ui),this.store.dispatch((0,ne.qi)({payload:{action:"UpdateSelNode",status:E.Bn.COMPLETED}})),this.store.dispatch((0,ne.uO)({payload:Oi.payload.uiMessage})),this.initializeNode(Oi.payload.currentLnNode,Oi.payload.isInitialSetup),{type:E.pg.VOID})),(0,w.K)(Ui=>(this.handleErrorWithAlert("UpdateSelNode",Oi.payload.uiMessage,"Update Selected Node Failed!",E.vv.CONF_API+"/updateSelNode",Ui),(0,D.of)({type:E.pg.VOID})))))))),this.fetchFile=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.FETCH_FILE),(0,S.z)(Oi=>{this.store.dispatch((0,ne.ac)({payload:E.m6.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,ne.qi)({payload:{action:"FetchFile",status:E.Bn.INITIATED}}));const Ui="?channel="+Oi.payload.channelPoint+(Oi.payload.path?"&path="+Oi.payload.path:"");return this.httpClient.get(E.vv.CONF_API+"/file"+Ui).pipe((0,u.U)(Tn=>(this.store.dispatch((0,ne.qi)({payload:{action:"FetchFile",status:E.Bn.COMPLETED}})),this.store.dispatch((0,ne.uO)({payload:E.m6.DOWNLOAD_BACKUP_FILE})),{type:E.pg.SHOW_FILE,payload:Tn})),(0,w.K)(Tn=>(this.handleErrorWithAlert("fetchFile",E.m6.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",E.vv.CONF_API+"/file"+Ui,{status:this.commonService.extractErrorNumber(Tn),error:{error:this.commonService.extractErrorCode(Tn)}}),(0,D.of)({type:E.pg.VOID}))))}))),this.showFile=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SHOW_FILE),(0,u.U)(Oi=>Oi.payload)),{dispatch:!1})}initializeNode(Xt,zt){this.logger.info("Initializing node from RTL Effects.");const Li=zt?"":"HOME",dn={userPersona:Xt.settings.userPersona,channelBackupPath:Xt.settings.channelBackupPath,unannouncedChannels:!!Xt.settings.unannouncedChannels,selCurrencyUnit:Xt.settings.currencyUnit,currencyUnits:E.uA,fiatConversion:Xt.settings.fiatConversion,lnImplementation:Xt.lnImplementation,swapServerUrl:Xt.settings.swapServerUrl,boltzServerUrl:Xt.settings.boltzServerUrl,enableOffers:Xt.settings.enableOffers,enablePeerswap:Xt.settings.enablePeerswap};if(Xt.settings.fiatConversion&&Xt.settings.currencyUnit&&(dn.currencyUnits=[...E.uA,Xt.settings.currencyUnit]),this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clUnlocked"),this.sessionService.removeItem("eclUnlocked"),this.store.dispatch((0,ne.vI)({payload:Xt})),this.store.dispatch((0,Kt.Ll)({payload:dn})),this.store.dispatch((0,mi.xH)({payload:dn})),this.store.dispatch((0,Mi.Fd)({payload:dn})),this.sessionService.getItem("token")){const on=Xt.lnImplementation?Xt.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(on);const Xn=!(0,t.X6Q)()&&window.location.origin?window.location.origin+"/rtl/api":E.T5;switch(this.wsService.connectWebSocket(Xn?.replace(/^http/,"ws")+E.vv.Web_SOCKET_API,Xt.index?Xt.index.toString():"-1"),on){case"CLN":this.store.dispatch((0,mi.CN)({payload:{loadPage:Li}}));break;case"ECL":this.store.dispatch((0,Mi.iz)({payload:{loadPage:Li}}));break;default:this.store.dispatch((0,Kt.sQ)({payload:{loadPage:Li}}))}}}SetToken(Xt){Xt?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",Xt)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(Xt,zt){this.logger.info("Successfully Authorized!"),this.SetToken(zt.token),this.sessionService.setItem("defaultPassword",Xt),Xt?(this.store.dispatch((0,ne.jW)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,ne.ey)())}handleErrorWithoutAlert(Xt,zt,Li){this.logger.error("ERROR IN: "+Xt+"\n"+JSON.stringify(Li)),401===Li.status&&"Login"!==Xt?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,ne.ts)()),this.store.dispatch((0,ne.kS)()),this.store.dispatch((0,ne.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,ne.uO)({payload:zt})),this.store.dispatch((0,ne.qi)({payload:{action:Xt,status:E.Bn.ERROR,statusCode:Li.status?Li.status.toString():"",message:this.commonService.extractErrorMessage(Li)}})))}handleErrorWithAlert(Xt,zt,Li,dn,on){if(this.logger.error(on),0===on.status&&on.statusText&&"Unknown Error"===on.statusText&&(on={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===on.status&&"Login"!==Xt)this.logger.info("Redirecting to Login"),this.store.dispatch((0,ne.ts)()),this.store.dispatch((0,ne.kS)()),this.store.dispatch((0,ne.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,ne.uO)({payload:zt}));const Xn=this.commonService.extractErrorMessage(on);this.store.dispatch((0,ne.qR)({payload:{data:{type:"ERROR",alertTitle:Li,message:{code:on.status?on.status:"Unknown Error",message:Xn,URL:dn},component:Ei.H}}})),this.store.dispatch((0,ne.qi)({payload:{action:Xt,status:E.Bn.ERROR,statusCode:on.status?on.status.toString():"",message:Xn,URL:dn}}))}}ngOnDestroy(){this.unSubs.forEach(Xt=>{Xt.next(null),Xt.complete()})}}St.\u0275fac=function(Xt){return new(Xt||St)(t.LFG(e.eX),t.LFG(Wi.eN),t.LFG(Nt.yh),t.LFG(Y.mQ),t.LFG(Zt.d),t.LFG(oi.m),t.LFG(ee.v),t.LFG(ge.D),t.LFG(N.uw),t.LFG(X.ux),t.LFG(Xe.F0))},St.\u0275prov=t.Yz7({token:St,factory:St.\u0275fac})},8377:(Ve,Q,m)=>{"use strict";m.d(Q,{R4:()=>C,Sr:()=>P,Yj:()=>o,dT:()=>D,gW:()=>d,ul:()=>u});var t=m(9653);const e=(0,t.ZF)("root"),D=((0,t.P1)(e,S=>S.apiURL),(0,t.P1)(e,S=>S.selNode)),o=(0,t.P1)(e,S=>S.appConfig),C=(0,t.P1)(e,S=>S.nodeData),u=(0,t.P1)(e,S=>S.apisCallStatus.Login),P=(0,t.P1)(e,S=>S.apisCallStatus.IsAuthorized),d=(0,t.P1)(e,S=>({nodeDate:S.nodeData,selNode:S.selNode}))},5415:(Ve,Q,m)=>{"use strict";var t=m(1481),e=m(4650),v=m(7340);function o(F){return new e.vHH(3e3,!1)}function Ke(){return typeof window<"u"&&typeof window.document<"u"}function qe(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function ct(F){switch(F.length){case 0:return new v.ZN;case 1:return F[0];default:return new v.ZE(F)}}function Ie(F,M,_,Z,pe=new Map,gt=new Map){const Wt=[],ei=[];let fi=-1,ki=null;if(Z.forEach(tn=>{const Zi=tn.get("offset"),Rn=Zi==fi,Nn=Rn&&ki||new Map;tn.forEach((hn,Dn)=>{let tr=Dn,gr=hn;if("offset"!==Dn)switch(tr=M.normalizePropertyName(tr,Wt),gr){case v.k1:gr=pe.get(Dn);break;case v.l3:gr=gt.get(Dn);break;default:gr=M.normalizeStyleValue(Dn,tr,gr,Wt)}Nn.set(tr,gr)}),Rn||ei.push(Nn),ki=Nn,fi=Zi}),Wt.length)throw function r(F){return new e.vHH(3502,!1)}();return ei}function xe(F,M,_,Z){switch(M){case"start":F.onStart(()=>Z(_&&le(_,"start",F)));break;case"done":F.onDone(()=>Z(_&&le(_,"done",F)));break;case"destroy":F.onDestroy(()=>Z(_&&le(_,"destroy",F)))}}function le(F,M,_){const gt=_e(F.element,F.triggerName,F.fromState,F.toState,M||F.phaseName,_.totalTime??F.totalTime,!!_.disabled),Wt=F._data;return null!=Wt&&(gt._data=Wt),gt}function _e(F,M,_,Z,pe="",gt=0,Wt){return{element:F,triggerName:M,fromState:_,toState:Z,phaseName:pe,totalTime:gt,disabled:!!Wt}}function se(F,M,_){let Z=F.get(M);return Z||F.set(M,Z=_),Z}function Ye(F){const M=F.indexOf(":");return[F.substring(1,M),F.slice(M+1)]}let Te=(F,M)=>!1,oe=(F,M,_)=>[],be=null;function te(F){const M=F.parentNode||F.host;return M===be?null:M}(qe()||typeof Element<"u")&&(Ke()?(be=(()=>document.documentElement)(),Te=(F,M)=>{for(;M;){if(M===F)return!0;M=te(M)}return!1}):Te=(F,M)=>F.contains(M),oe=(F,M,_)=>{if(_)return Array.from(F.querySelectorAll(M));const Z=F.querySelector(M);return Z?[Z]:[]});let q=null,de=!1;const nt=Te,wt=oe;let qt=(()=>{class F{validateStyleProperty(_){return function Ce(F){q||(q=function ht(){return typeof document<"u"?document.body:null}()||{},de=!!q.style&&"WebkitAppearance"in q.style);let M=!0;return q.style&&!function Be(F){return"ebkit"==F.substring(1,6)}(F)&&(M=F in q.style,!M&&de&&(M="Webkit"+F.charAt(0).toUpperCase()+F.slice(1)in q.style)),M}(_)}matchesElement(_,Z){return!1}containsElement(_,Z){return nt(_,Z)}getParentElement(_){return te(_)}query(_,Z,pe){return wt(_,Z,pe)}computeStyle(_,Z,pe){return pe||""}animate(_,Z,pe,gt,Wt,ei=[],fi){return new v.ZN(pe,gt)}}return F.\u0275fac=function(_){return new(_||F)},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac}),F})(),_t=(()=>{class F{}return F.NOOP=new qt,F})();const He="ng-enter",Ct="ng-leave",Pe="ng-trigger",tt=".ng-trigger",Bt="ng-animating",Lt=".ng-animating";function Ht(F){if("number"==typeof F)return F;const M=F.match(/^(-?[\.\d]+)(m?s)/);return!M||M.length<2?0:bt(parseFloat(M[1]),M[2])}function bt(F,M){return"s"===M?1e3*F:F}function Me(F,M,_){return F.hasOwnProperty("duration")?F:function J(F,M,_){let pe,gt=0,Wt="";if("string"==typeof F){const ei=F.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ei)return M.push(o()),{duration:0,delay:0,easing:""};pe=bt(parseFloat(ei[1]),ei[2]);const fi=ei[3];null!=fi&&(gt=bt(parseFloat(fi),ei[4]));const ki=ei[5];ki&&(Wt=ki)}else pe=F;if(!_){let ei=!1,fi=M.length;pe<0&&(M.push(function C(){return new e.vHH(3100,!1)}()),ei=!0),gt<0&&(M.push(function u(){return new e.vHH(3101,!1)}()),ei=!0),ei&&M.splice(fi,0,o())}return{duration:pe,delay:gt,easing:Wt}}(F,M,_)}function ve(F,M={}){return Object.keys(F).forEach(_=>{M[_]=F[_]}),M}function Re(F){const M=new Map;return Object.keys(F).forEach(_=>{M.set(_,F[_])}),M}function Gt(F,M=new Map,_){if(_)for(let[Z,pe]of _)M.set(Z,pe);for(let[Z,pe]of F)M.set(Z,pe);return M}function ti(F,M,_){return _?M+":"+_+";":""}function dt(F){let M="";for(let _=0;_<F.style.length;_++){const Z=F.style.item(_);M+=ti(0,Z,F.style.getPropertyValue(Z))}for(const _ in F.style)F.style.hasOwnProperty(_)&&!_.startsWith("_")&&(M+=ti(0,Tt(_),F.style[_]));F.setAttribute("style",M)}function rt(F,M,_){F.style&&(M.forEach((Z,pe)=>{const gt=Je(pe);_&&!_.has(pe)&&_.set(pe,F.style[gt]),F.style[gt]=Z}),qe()&&dt(F))}function vt(F,M){F.style&&(M.forEach((_,Z)=>{const pe=Je(Z);F.style[pe]=""}),qe()&&dt(F))}function ai(F){return Array.isArray(F)?1==F.length?F[0]:(0,v.vP)(F):F}const Vt=new RegExp("{{\\s*(.+?)\\s*}}","g");function Rt(F){let M=[];if("string"==typeof F){let _;for(;_=Vt.exec(F);)M.push(_[1]);Vt.lastIndex=0}return M}function je(F,M,_){const Z=F.toString(),pe=Z.replace(Vt,(gt,Wt)=>{let ei=M[Wt];return null==ei&&(_.push(function d(F){return new e.vHH(3003,!1)}()),ei=""),ei.toString()});return pe==Z?F:pe}function Fe(F){const M=[];let _=F.next();for(;!_.done;)M.push(_.value),_=F.next();return M}const We=/-+([a-z0-9])/g;function Je(F){return F.replace(We,(...M)=>M[1].toUpperCase())}function Tt(F){return F.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function xi(F,M,_){switch(M.type){case 7:return F.visitTrigger(M,_);case 0:return F.visitState(M,_);case 1:return F.visitTransition(M,_);case 2:return F.visitSequence(M,_);case 3:return F.visitGroup(M,_);case 4:return F.visitAnimate(M,_);case 5:return F.visitKeyframes(M,_);case 6:return F.visitStyle(M,_);case 8:return F.visitReference(M,_);case 9:return F.visitAnimateChild(M,_);case 10:return F.visitAnimateRef(M,_);case 11:return F.visitQuery(M,_);case 12:return F.visitStagger(M,_);default:throw function S(F){return new e.vHH(3004,!1)}()}}function Vi(F,M){return window.getComputedStyle(F)[M]}function Wi(F,M){const _=[];return"string"==typeof F?F.split(/\s*,\s*/).forEach(Z=>function Zt(F,M,_){if(":"==F[0]){const fi=function oi(F,M){switch(F){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(_,Z)=>parseFloat(Z)>parseFloat(_);case":decrement":return(_,Z)=>parseFloat(Z)<parseFloat(_);default:return M.push(function $(F){return new e.vHH(3016,!1)}()),"* => *"}}(F,_);if("function"==typeof fi)return void M.push(fi);F=fi}const Z=F.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==Z||Z.length<4)return _.push(function ce(F){return new e.vHH(3015,!1)}()),M;const pe=Z[1],gt=Z[2],Wt=Z[3];M.push(St(pe,Wt));"<"==gt[0]&&!("*"==pe&&"*"==Wt)&&M.push(St(Wt,pe))}(Z,_,M)):_.push(F),_}const ge=new Set(["true","1"]),Xe=new Set(["false","0"]);function St(F,M){const _=ge.has(F)||Xe.has(F),Z=ge.has(M)||Xe.has(M);return(pe,gt)=>{let Wt="*"==F||F==pe,ei="*"==M||M==gt;return!Wt&&_&&"boolean"==typeof pe&&(Wt=pe?ge.has(F):Xe.has(F)),!ei&&Z&&"boolean"==typeof gt&&(ei=gt?ge.has(M):Xe.has(M)),Wt&&ei}}const Xt=new RegExp("s*:selfs*,?","g");function zt(F,M,_,Z){return new dn(F).build(M,_,Z)}class dn{constructor(M){this._driver=M}build(M,_,Z){const pe=new Gr(_);return this._resetContextStyleTimingState(pe),xi(this,ai(M),pe)}_resetContextStyleTimingState(M){M.currentQuerySelector="",M.collectedStyles=new Map,M.collectedStyles.set("",new Map),M.currentTime=0}visitTrigger(M,_){let Z=_.queryCount=0,pe=_.depCount=0;const gt=[],Wt=[];return"@"==M.name.charAt(0)&&_.errors.push(function I(){return new e.vHH(3006,!1)}()),M.definitions.forEach(ei=>{if(this._resetContextStyleTimingState(_),0==ei.type){const fi=ei,ki=fi.name;ki.toString().split(/\s*,\s*/).forEach(tn=>{fi.name=tn,gt.push(this.visitState(fi,_))}),fi.name=ki}else if(1==ei.type){const fi=this.visitTransition(ei,_);Z+=fi.queryCount,pe+=fi.depCount,Wt.push(fi)}else _.errors.push(function E(){return new e.vHH(3007,!1)}())}),{type:7,name:M.name,states:gt,transitions:Wt,queryCount:Z,depCount:pe,options:null}}visitState(M,_){const Z=this.visitStyle(M.styles,_),pe=M.options&&M.options.params||null;if(Z.containsDynamicStyles){const gt=new Set,Wt=pe||{};Z.styles.forEach(ei=>{ei instanceof Map&&ei.forEach(fi=>{Rt(fi).forEach(ki=>{Wt.hasOwnProperty(ki)||gt.add(ki)})})}),gt.size&&(Fe(gt.values()),_.errors.push(function N(F,M){return new e.vHH(3008,!1)}()))}return{type:0,name:M.name,style:Z,options:pe?{params:pe}:null}}visitTransition(M,_){_.queryCount=0,_.depCount=0;const Z=xi(this,ai(M.animation),_);return{type:1,matchers:Wi(M.expr,_.errors),animation:Z,queryCount:_.queryCount,depCount:_.depCount,options:fr(M.options)}}visitSequence(M,_){return{type:2,steps:M.steps.map(Z=>xi(this,Z,_)),options:fr(M.options)}}visitGroup(M,_){const Z=_.currentTime;let pe=0;const gt=M.steps.map(Wt=>{_.currentTime=Z;const ei=xi(this,Wt,_);return pe=Math.max(pe,_.currentTime),ei});return _.currentTime=pe,{type:3,steps:gt,options:fr(M.options)}}visitAnimate(M,_){const Z=function Zr(F,M){if(F.hasOwnProperty("duration"))return F;if("number"==typeof F)return Nr(Me(F,M).duration,0,"");const _=F;if(_.split(/\s+/).some(gt=>"{"==gt.charAt(0)&&"{"==gt.charAt(1))){const gt=Nr(0,0,"");return gt.dynamic=!0,gt.strValue=_,gt}const pe=Me(_,M);return Nr(pe.duration,pe.delay,pe.easing)}(M.timings,_.errors);_.currentAnimateTimings=Z;let pe,gt=M.styles?M.styles:(0,v.oB)({});if(5==gt.type)pe=this.visitKeyframes(gt,_);else{let Wt=M.styles,ei=!1;if(!Wt){ei=!0;const ki={};Z.easing&&(ki.easing=Z.easing),Wt=(0,v.oB)(ki)}_.currentTime+=Z.duration+Z.delay;const fi=this.visitStyle(Wt,_);fi.isEmptyStep=ei,pe=fi}return _.currentAnimateTimings=null,{type:4,timings:Z,style:pe,options:null}}visitStyle(M,_){const Z=this._makeStyleAst(M,_);return this._validateStyleAst(Z,_),Z}_makeStyleAst(M,_){const Z=[],pe=Array.isArray(M.styles)?M.styles:[M.styles];for(let ei of pe)"string"==typeof ei?ei===v.l3?Z.push(ei):_.errors.push(new e.vHH(3002,!1)):Z.push(Re(ei));let gt=!1,Wt=null;return Z.forEach(ei=>{if(ei instanceof Map&&(ei.has("easing")&&(Wt=ei.get("easing"),ei.delete("easing")),!gt))for(let fi of ei.values())if(fi.toString().indexOf("{{")>=0){gt=!0;break}}),{type:6,styles:Z,easing:Wt,offset:M.offset,containsDynamicStyles:gt,options:null}}_validateStyleAst(M,_){const Z=_.currentAnimateTimings;let pe=_.currentTime,gt=_.currentTime;Z&>>0&&(gt-=Z.duration+Z.delay),M.styles.forEach(Wt=>{"string"!=typeof Wt&&Wt.forEach((ei,fi)=>{const ki=_.collectedStyles.get(_.currentQuerySelector),tn=ki.get(fi);let Zi=!0;tn&&(gt!=pe&>>=tn.startTime&&pe<=tn.endTime&&(_.errors.push(function W(F,M,_,Z,pe){return new e.vHH(3010,!1)}()),Zi=!1),gt=tn.startTime),Zi&&ki.set(fi,{startTime:gt,endTime:pe}),_.options&&function Ut(F,M,_){const Z=M.params||{},pe=Rt(F);pe.length&&pe.forEach(gt=>{Z.hasOwnProperty(gt)||_.push(function P(F){return new e.vHH(3001,!1)}())})}(ei,_.options,_.errors)})})}visitKeyframes(M,_){const Z={type:5,styles:[],options:null};if(!_.currentAnimateTimings)return _.errors.push(function Y(){return new e.vHH(3011,!1)}()),Z;let gt=0;const Wt=[];let ei=!1,fi=!1,ki=0;const tn=M.steps.map(gr=>{const Ra=this._makeStyleAst(gr,_);let Ka=null!=Ra.offset?Ra.offset:function bn(F){if("string"==typeof F)return null;let M=null;if(Array.isArray(F))F.forEach(_=>{if(_ instanceof Map&&_.has("offset")){const Z=_;M=parseFloat(Z.get("offset")),Z.delete("offset")}});else if(F instanceof Map&&F.has("offset")){const _=F;M=parseFloat(_.get("offset")),_.delete("offset")}return M}(Ra.styles),Na=0;return null!=Ka&&(gt++,Na=Ra.offset=Ka),fi=fi||Na<0||Na>1,ei=ei||Na<ki,ki=Na,Wt.push(Na),Ra});fi&&_.errors.push(function X(){return new e.vHH(3012,!1)}()),ei&&_.errors.push(function ee(){return new e.vHH(3200,!1)}());const Zi=M.steps.length;let Rn=0;gt>0&><Zi?_.errors.push(function ue(){return new e.vHH(3202,!1)}()):0==gt&&(Rn=1/(Zi-1));const Nn=Zi-1,hn=_.currentTime,Dn=_.currentAnimateTimings,tr=Dn.duration;return tn.forEach((gr,Ra)=>{const Ka=Rn>0?Ra==Nn?1:Rn*Ra:Wt[Ra],Na=Ka*tr;_.currentTime=hn+Dn.delay+Na,Dn.duration=Na,this._validateStyleAst(gr,_),gr.offset=Ka,Z.styles.push(gr)}),Z}visitReference(M,_){return{type:8,animation:xi(this,ai(M.animation),_),options:fr(M.options)}}visitAnimateChild(M,_){return _.depCount++,{type:9,options:fr(M.options)}}visitAnimateRef(M,_){return{type:10,animation:this.visitReference(M.animation,_),options:fr(M.options)}}visitQuery(M,_){const Z=_.currentQuerySelector,pe=M.options||{};_.queryCount++,_.currentQuery=M;const[gt,Wt]=function on(F){const M=!!F.split(/\s*,\s*/).find(_=>":self"==_);return M&&(F=F.replace(Xt,"")),F=F.replace(/@\*/g,tt).replace(/@\w+/g,_=>tt+"-"+_.slice(1)).replace(/:animating/g,Lt),[F,M]}(M.selector);_.currentQuerySelector=Z.length?Z+" "+gt:gt,se(_.collectedStyles,_.currentQuerySelector,new Map);const ei=xi(this,ai(M.animation),_);return _.currentQuery=null,_.currentQuerySelector=Z,{type:11,selector:gt,limit:pe.limit||0,optional:!!pe.optional,includeSelf:Wt,animation:ei,originalSelector:M.selector,options:fr(M.options)}}visitStagger(M,_){_.currentQuery||_.errors.push(function he(){return new e.vHH(3013,!1)}());const Z="full"===M.timings?{duration:0,delay:0,easing:"full"}:Me(M.timings,_.errors,!0);return{type:12,animation:xi(this,ai(M.animation),_),timings:Z,options:null}}}class Gr{constructor(M){this.errors=M,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 fr(F){return F?(F=ve(F)).params&&(F.params=function Xn(F){return F?ve(F):null}(F.params)):F={},F}function Nr(F,M,_){return{duration:F,delay:M,easing:_}}function Oi(F,M,_,Z,pe,gt,Wt=null,ei=!1){return{type:1,element:F,keyframes:M,preStyleProps:_,postStyleProps:Z,duration:pe,delay:gt,totalTime:pe+gt,easing:Wt,subTimeline:ei}}class Ui{constructor(){this._map=new Map}get(M){return this._map.get(M)||[]}append(M,_){let Z=this._map.get(M);Z||this._map.set(M,Z=[]),Z.push(..._)}has(M){return this._map.has(M)}clear(){this._map.clear()}}const vi=new RegExp(":enter","g"),_i=new RegExp(":leave","g");function Fi(F,M,_,Z,pe,gt=new Map,Wt=new Map,ei,fi,ki=[]){return(new qi).buildKeyframes(F,M,_,Z,pe,gt,Wt,ei,fi,ki)}class qi{buildKeyframes(M,_,Z,pe,gt,Wt,ei,fi,ki,tn=[]){ki=ki||new Ui;const Zi=new Qn(M,_,ki,pe,gt,tn,[]);Zi.options=fi;const Rn=fi.delay?Ht(fi.delay):0;Zi.currentTimeline.delayNextStep(Rn),Zi.currentTimeline.setStyles([Wt],null,Zi.errors,fi),xi(this,Z,Zi);const Nn=Zi.timelines.filter(hn=>hn.containsAnimation());if(Nn.length&&ei.size){let hn;for(let Dn=Nn.length-1;Dn>=0;Dn--){const tr=Nn[Dn];if(tr.element===_){hn=tr;break}}hn&&!hn.allowOnlyTimelineStyles()&&hn.setStyles([ei],null,Zi.errors,fi)}return Nn.length?Nn.map(hn=>hn.buildKeyframes()):[Oi(_,[],[],[],0,Rn,"",!1)]}visitTrigger(M,_){}visitState(M,_){}visitTransition(M,_){}visitAnimateChild(M,_){const Z=_.subInstructions.get(_.element);if(Z){const pe=_.createSubContext(M.options),gt=_.currentTimeline.currentTime,Wt=this._visitSubInstructions(Z,pe,pe.options);gt!=Wt&&_.transformIntoNewTimeline(Wt)}_.previousNode=M}visitAnimateRef(M,_){const Z=_.createSubContext(M.options);Z.transformIntoNewTimeline(),this._applyAnimationRefDelays([M.options,M.animation.options],_,Z),this.visitReference(M.animation,Z),_.transformIntoNewTimeline(Z.currentTimeline.currentTime),_.previousNode=M}_applyAnimationRefDelays(M,_,Z){for(const pe of M){const gt=pe?.delay;if(gt){const Wt="number"==typeof gt?gt:Ht(je(gt,pe?.params??{},_.errors));Z.delayNextStep(Wt)}}}_visitSubInstructions(M,_,Z){let gt=_.currentTimeline.currentTime;const Wt=null!=Z.duration?Ht(Z.duration):null,ei=null!=Z.delay?Ht(Z.delay):null;return 0!==Wt&&M.forEach(fi=>{const ki=_.appendInstructionToTimeline(fi,Wt,ei);gt=Math.max(gt,ki.duration+ki.delay)}),gt}visitReference(M,_){_.updateOptions(M.options,!0),xi(this,M.animation,_),_.previousNode=M}visitSequence(M,_){const Z=_.subContextCount;let pe=_;const gt=M.options;if(gt&&(gt.params||gt.delay)&&(pe=_.createSubContext(gt),pe.transformIntoNewTimeline(),null!=gt.delay)){6==pe.previousNode.type&&(pe.currentTimeline.snapshotCurrentStyles(),pe.previousNode=yn);const Wt=Ht(gt.delay);pe.delayNextStep(Wt)}M.steps.length&&(M.steps.forEach(Wt=>xi(this,Wt,pe)),pe.currentTimeline.applyStylesToKeyframe(),pe.subContextCount>Z&&pe.transformIntoNewTimeline()),_.previousNode=M}visitGroup(M,_){const Z=[];let pe=_.currentTimeline.currentTime;const gt=M.options&&M.options.delay?Ht(M.options.delay):0;M.steps.forEach(Wt=>{const ei=_.createSubContext(M.options);gt&&ei.delayNextStep(gt),xi(this,Wt,ei),pe=Math.max(pe,ei.currentTimeline.currentTime),Z.push(ei.currentTimeline)}),Z.forEach(Wt=>_.currentTimeline.mergeTimelineCollectedStyles(Wt)),_.transformIntoNewTimeline(pe),_.previousNode=M}_visitTiming(M,_){if(M.dynamic){const Z=M.strValue;return Me(_.params?je(Z,_.params,_.errors):Z,_.errors)}return{duration:M.duration,delay:M.delay,easing:M.easing}}visitAnimate(M,_){const Z=_.currentAnimateTimings=this._visitTiming(M.timings,_),pe=_.currentTimeline;Z.delay&&(_.incrementTime(Z.delay),pe.snapshotCurrentStyles());const gt=M.style;5==gt.type?this.visitKeyframes(gt,_):(_.incrementTime(Z.duration),this.visitStyle(gt,_),pe.applyStylesToKeyframe()),_.currentAnimateTimings=null,_.previousNode=M}visitStyle(M,_){const Z=_.currentTimeline,pe=_.currentAnimateTimings;!pe&&Z.hasCurrentStyleProperties()&&Z.forwardFrame();const gt=pe&&pe.easing||M.easing;M.isEmptyStep?Z.applyEmptyStep(gt):Z.setStyles(M.styles,gt,_.errors,_.options),_.previousNode=M}visitKeyframes(M,_){const Z=_.currentAnimateTimings,pe=_.currentTimeline.duration,gt=Z.duration,ei=_.createSubContext().currentTimeline;ei.easing=Z.easing,M.styles.forEach(fi=>{ei.forwardTime((fi.offset||0)*gt),ei.setStyles(fi.styles,fi.easing,_.errors,_.options),ei.applyStylesToKeyframe()}),_.currentTimeline.mergeTimelineCollectedStyles(ei),_.transformIntoNewTimeline(pe+gt),_.previousNode=M}visitQuery(M,_){const Z=_.currentTimeline.currentTime,pe=M.options||{},gt=pe.delay?Ht(pe.delay):0;gt&&(6===_.previousNode.type||0==Z&&_.currentTimeline.hasCurrentStyleProperties())&&(_.currentTimeline.snapshotCurrentStyles(),_.previousNode=yn);let Wt=Z;const ei=_.invokeQuery(M.selector,M.originalSelector,M.limit,M.includeSelf,!!pe.optional,_.errors);_.currentQueryTotal=ei.length;let fi=null;ei.forEach((ki,tn)=>{_.currentQueryIndex=tn;const Zi=_.createSubContext(M.options,ki);gt&&Zi.delayNextStep(gt),ki===_.element&&(fi=Zi.currentTimeline),xi(this,M.animation,Zi),Zi.currentTimeline.applyStylesToKeyframe(),Wt=Math.max(Wt,Zi.currentTimeline.currentTime)}),_.currentQueryIndex=0,_.currentQueryTotal=0,_.transformIntoNewTimeline(Wt),fi&&(_.currentTimeline.mergeTimelineCollectedStyles(fi),_.currentTimeline.snapshotCurrentStyles()),_.previousNode=M}visitStagger(M,_){const Z=_.parentContext,pe=_.currentTimeline,gt=M.timings,Wt=Math.abs(gt.duration),ei=Wt*(_.currentQueryTotal-1);let fi=Wt*_.currentQueryIndex;switch(gt.duration<0?"reverse":gt.easing){case"reverse":fi=ei-fi;break;case"full":fi=Z.currentStaggerTime}const tn=_.currentTimeline;fi&&tn.delayNextStep(fi);const Zi=tn.currentTime;xi(this,M.animation,_),_.previousNode=M,Z.currentStaggerTime=pe.currentTime-Zi+(pe.startTime-Z.currentTimeline.startTime)}}const yn={};class Qn{constructor(M,_,Z,pe,gt,Wt,ei,fi){this._driver=M,this.element=_,this.subInstructions=Z,this._enterClassName=pe,this._leaveClassName=gt,this.errors=Wt,this.timelines=ei,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=yn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=fi||new zn(this._driver,_,0),ei.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(M,_){if(!M)return;const Z=M;let pe=this.options;null!=Z.duration&&(pe.duration=Ht(Z.duration)),null!=Z.delay&&(pe.delay=Ht(Z.delay));const gt=Z.params;if(gt){let Wt=pe.params;Wt||(Wt=this.options.params={}),Object.keys(gt).forEach(ei=>{(!_||!Wt.hasOwnProperty(ei))&&(Wt[ei]=je(gt[ei],Wt,this.errors))})}}_copyOptions(){const M={};if(this.options){const _=this.options.params;if(_){const Z=M.params={};Object.keys(_).forEach(pe=>{Z[pe]=_[pe]})}}return M}createSubContext(M=null,_,Z){const pe=_||this.element,gt=new Qn(this._driver,pe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(pe,Z||0));return gt.previousNode=this.previousNode,gt.currentAnimateTimings=this.currentAnimateTimings,gt.options=this._copyOptions(),gt.updateOptions(M),gt.currentQueryIndex=this.currentQueryIndex,gt.currentQueryTotal=this.currentQueryTotal,gt.parentContext=this,this.subContextCount++,gt}transformIntoNewTimeline(M){return this.previousNode=yn,this.currentTimeline=this.currentTimeline.fork(this.element,M),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(M,_,Z){const pe={duration:_??M.duration,delay:this.currentTimeline.currentTime+(Z??0)+M.delay,easing:""},gt=new ar(this._driver,M.element,M.keyframes,M.preStyleProps,M.postStyleProps,pe,M.stretchStartingKeyframe);return this.timelines.push(gt),pe}incrementTime(M){this.currentTimeline.forwardTime(this.currentTimeline.duration+M)}delayNextStep(M){M>0&&this.currentTimeline.delayNextStep(M)}invokeQuery(M,_,Z,pe,gt,Wt){let ei=[];if(pe&&ei.push(this.element),M.length>0){M=(M=M.replace(vi,"."+this._enterClassName)).replace(_i,"."+this._leaveClassName);let ki=this._driver.query(this.element,M,1!=Z);0!==Z&&(ki=Z<0?ki.slice(ki.length+Z,ki.length):ki.slice(0,Z)),ei.push(...ki)}return!gt&&0==ei.length&&Wt.push(function ie(F){return new e.vHH(3014,!1)}()),ei}}class zn{constructor(M,_,Z,pe){this._driver=M,this.element=_,this.startTime=Z,this._elementTimelineStylesLookup=pe,this.duration=0,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(_),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(_,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(M){const _=1===this._keyframes.size&&this._pendingStyles.size;this.duration||_?(this.forwardTime(this.currentTime+M),_&&this.snapshotCurrentStyles()):this.startTime+=M}fork(M,_){return this.applyStylesToKeyframe(),new zn(this._driver,M,_||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(M){this.applyStylesToKeyframe(),this.duration=M,this._loadKeyframe()}_updateStyle(M,_){this._localTimelineStyles.set(M,_),this._globalTimelineStyles.set(M,_),this._styleSummary.set(M,{time:this.currentTime,value:_})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(M){M&&this._previousKeyframe.set("easing",M);for(let[_,Z]of this._globalTimelineStyles)this._backFill.set(_,Z||v.l3),this._currentKeyframe.set(_,v.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(M,_,Z,pe){_&&this._previousKeyframe.set("easing",_);const gt=pe&&pe.params||{},Wt=function Pn(F,M){const _=new Map;let Z;return F.forEach(pe=>{if("*"===pe){Z=Z||M.keys();for(let gt of Z)_.set(gt,v.l3)}else Gt(pe,_)}),_}(M,this._globalTimelineStyles);for(let[ei,fi]of Wt){const ki=je(fi,gt,Z);this._pendingStyles.set(ei,ki),this._localTimelineStyles.has(ei)||this._backFill.set(ei,this._globalTimelineStyles.get(ei)??v.l3),this._updateStyle(ei,ki)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((M,_)=>{this._currentKeyframe.set(_,M)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((M,_)=>{this._currentKeyframe.has(_)||this._currentKeyframe.set(_,M)}))}snapshotCurrentStyles(){for(let[M,_]of this._localTimelineStyles)this._pendingStyles.set(M,_),this._updateStyle(M,_)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const M=[];for(let _ in this._currentKeyframe)M.push(_);return M}mergeTimelineCollectedStyles(M){M._styleSummary.forEach((_,Z)=>{const pe=this._styleSummary.get(Z);(!pe||_.time>pe.time)&&this._updateStyle(Z,_.value)})}buildKeyframes(){this.applyStylesToKeyframe();const M=new Set,_=new Set,Z=1===this._keyframes.size&&0===this.duration;let pe=[];this._keyframes.forEach((ei,fi)=>{const ki=Gt(ei,new Map,this._backFill);ki.forEach((tn,Zi)=>{tn===v.k1?M.add(Zi):tn===v.l3&&_.add(Zi)}),Z||ki.set("offset",fi/this.duration),pe.push(ki)});const gt=M.size?Fe(M.values()):[],Wt=_.size?Fe(_.values()):[];if(Z){const ei=pe[0],fi=new Map(ei);ei.set("offset",0),fi.set("offset",1),pe=[ei,fi]}return Oi(this.element,pe,gt,Wt,this.duration,this.startTime,this.easing,!1)}}class ar extends zn{constructor(M,_,Z,pe,gt,Wt,ei=!1){super(M,_,Wt.delay),this.keyframes=Z,this.preStyleProps=pe,this.postStyleProps=gt,this._stretchStartingKeyframe=ei,this.timings={duration:Wt.duration,delay:Wt.delay,easing:Wt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let M=this.keyframes,{delay:_,duration:Z,easing:pe}=this.timings;if(this._stretchStartingKeyframe&&_){const gt=[],Wt=Z+_,ei=_/Wt,fi=Gt(M[0]);fi.set("offset",0),gt.push(fi);const ki=Gt(M[0]);ki.set("offset",On(ei)),gt.push(ki);const tn=M.length-1;for(let Zi=1;Zi<=tn;Zi++){let Rn=Gt(M[Zi]);const Nn=Rn.get("offset");Rn.set("offset",On((_+Nn*Z)/Wt)),gt.push(Rn)}Z=Wt,_=0,pe="",M=gt}return Oi(this.element,M,this.preStyleProps,this.postStyleProps,Z,_,pe,!0)}}function On(F,M=3){const _=Math.pow(10,M-1);return Math.round(F*_)/_}class ir{}const Va=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 Fr extends ir{normalizePropertyName(M,_){return Je(M)}normalizeStyleValue(M,_,Z,pe){let gt="";const Wt=Z.toString().trim();if(Va.has(_)&&0!==Z&&"0"!==Z)if("number"==typeof Z)gt="px";else{const ei=Z.match(/^[+-]?[\d\.]+([a-z]*)$/);ei&&0==ei[1].length&&pe.push(function w(F,M){return new e.vHH(3005,!1)}())}return Wt+gt}}function jr(F,M,_,Z,pe,gt,Wt,ei,fi,ki,tn,Zi,Rn){return{type:0,element:F,triggerName:M,isRemovalTransition:pe,fromState:_,fromStyles:gt,toState:Z,toStyles:Wt,timelines:ei,queriedElements:fi,preStyleProps:ki,postStyleProps:tn,totalTime:Zi,errors:Rn}}const cr={};class Ar{constructor(M,_,Z){this._triggerName=M,this.ast=_,this._stateStyles=Z}match(M,_,Z,pe){return function os(F,M,_,Z,pe){return F.some(gt=>gt(M,_,Z,pe))}(this.ast.matchers,M,_,Z,pe)}buildStyles(M,_,Z){let pe=this._stateStyles.get("*");return void 0!==M&&(pe=this._stateStyles.get(M?.toString())||pe),pe?pe.buildStyles(_,Z):new Map}build(M,_,Z,pe,gt,Wt,ei,fi,ki,tn){const Zi=[],Rn=this.ast.options&&this.ast.options.params||cr,hn=this.buildStyles(Z,ei&&ei.params||cr,Zi),Dn=fi&&fi.params||cr,tr=this.buildStyles(pe,Dn,Zi),gr=new Set,Ra=new Map,Ka=new Map,Na="void"===pe,Hc={params:wa(Dn,Rn),delay:this.ast.options?.delay},yo=tn?[]:Fi(M,_,this.ast.animation,gt,Wt,hn,tr,Hc,ki,Zi);let xa=0;if(yo.forEach(no=>{xa=Math.max(no.duration+no.delay,xa)}),Zi.length)return jr(_,this._triggerName,Z,pe,Na,hn,tr,[],[],Ra,Ka,xa,Zi);yo.forEach(no=>{const Uo=no.element,Wh=se(Ra,Uo,new Set);no.preStyleProps.forEach(dc=>Wh.add(dc));const xo=se(Ka,Uo,new Set);no.postStyleProps.forEach(dc=>xo.add(dc)),Uo!==_&&gr.add(Uo)});const zc=Fe(gr.values());return jr(_,this._triggerName,Z,pe,Na,hn,tr,yo,zc,Ra,Ka,xa)}}function wa(F,M){const _=ve(M);for(const Z in F)F.hasOwnProperty(Z)&&null!=F[Z]&&(_[Z]=F[Z]);return _}class Ba{constructor(M,_,Z){this.styles=M,this.defaultParams=_,this.normalizer=Z}buildStyles(M,_){const Z=new Map,pe=ve(this.defaultParams);return Object.keys(M).forEach(gt=>{const Wt=M[gt];null!==Wt&&(pe[gt]=Wt)}),this.styles.styles.forEach(gt=>{"string"!=typeof gt&>.forEach((Wt,ei)=>{Wt&&(Wt=je(Wt,pe,_));const fi=this.normalizer.normalizePropertyName(ei,_);Wt=this.normalizer.normalizeStyleValue(ei,fi,Wt,_),Z.set(ei,Wt)})}),Z}}class Hr{constructor(M,_,Z){this.name=M,this.ast=_,this._normalizer=Z,this.transitionFactories=[],this.states=new Map,_.states.forEach(pe=>{this.states.set(pe.name,new Ba(pe.style,pe.options&&pe.options.params||{},Z))}),Lr(this.states,"true","1"),Lr(this.states,"false","0"),_.transitions.forEach(pe=>{this.transitionFactories.push(new Ar(M,pe,this.states))}),this.fallbackTransition=function ls(F,M,_){return new Ar(F,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Wt,ei)=>!0],options:null,queryCount:0,depCount:0},M)}(M,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(M,_,Z,pe){return this.transitionFactories.find(Wt=>Wt.match(M,_,Z,pe))||null}matchStyles(M,_,Z){return this.fallbackTransition.buildStyles(M,_,Z)}}function Lr(F,M,_){F.has(M)?F.has(_)||F.set(_,F.get(M)):F.has(_)&&F.set(M,F.get(_))}const xs=new Ui;class Ja{constructor(M,_,Z){this.bodyNode=M,this._driver=_,this._normalizer=Z,this._animations=new Map,this._playersById=new Map,this.players=[]}register(M,_){const Z=[],gt=zt(this._driver,_,Z,[]);if(Z.length)throw function h(F){return new e.vHH(3503,!1)}();this._animations.set(M,gt)}_buildPlayer(M,_,Z){const pe=M.element,gt=Ie(0,this._normalizer,0,M.keyframes,_,Z);return this._driver.animate(pe,gt,M.duration,M.delay,M.easing,[],!0)}create(M,_,Z={}){const pe=[],gt=this._animations.get(M);let Wt;const ei=new Map;if(gt?(Wt=Fi(this._driver,_,gt,He,Ct,new Map,new Map,Z,xs,pe),Wt.forEach(tn=>{const Zi=se(ei,tn.element,new Map);tn.postStyleProps.forEach(Rn=>Zi.set(Rn,null))})):(pe.push(function l(){return new e.vHH(3300,!1)}()),Wt=[]),pe.length)throw function y(F){return new e.vHH(3504,!1)}();ei.forEach((tn,Zi)=>{tn.forEach((Rn,Nn)=>{tn.set(Nn,this._driver.computeStyle(Zi,Nn,v.l3))})});const ki=ct(Wt.map(tn=>{const Zi=ei.get(tn.element);return this._buildPlayer(tn,new Map,Zi)}));return this._playersById.set(M,ki),ki.onDestroy(()=>this.destroy(M)),this.players.push(ki),ki}destroy(M){const _=this._getPlayer(M);_.destroy(),this._playersById.delete(M);const Z=this.players.indexOf(_);Z>=0&&this.players.splice(Z,1)}_getPlayer(M){const _=this._playersById.get(M);if(!_)throw function A(F){return new e.vHH(3301,!1)}();return _}listen(M,_,Z,pe){const gt=_e(_,"","","");return xe(this._getPlayer(M),Z,gt,pe),()=>{}}command(M,_,Z,pe){if("register"==Z)return void this.register(M,pe[0]);if("create"==Z)return void this.create(M,_,pe[0]||{});const gt=this._getPlayer(M);switch(Z){case"play":gt.play();break;case"pause":gt.pause();break;case"reset":gt.reset();break;case"restart":gt.restart();break;case"finish":gt.finish();break;case"init":gt.init();break;case"setPosition":gt.setPosition(parseFloat(pe[0]));break;case"destroy":this.destroy(M)}}}const Ns="ng-animate-queued",Ma="ng-animate-disabled",Oa=[],ga={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Xa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},hr="__ng_removed";class zr{constructor(M,_=""){this.namespaceId=_;const Z=M&&M.hasOwnProperty("value");if(this.value=function Ua(F){return F??null}(Z?M.value:M),Z){const gt=ve(M);delete gt.value,this.options=gt}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(M){const _=M.params;if(_){const Z=this.options.params;Object.keys(_).forEach(pe=>{null==Z[pe]&&(Z[pe]=_[pe])})}}}const _a="void",$a=new zr(_a);class Sa{constructor(M,_,Z){this.id=M,this.hostElement=_,this._engine=Z,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+M,sr(_,this._hostClassName)}listen(M,_,Z,pe){if(!this._triggers.has(_))throw function k(F,M){return new e.vHH(3302,!1)}();if(null==Z||0==Z.length)throw function g(F){return new e.vHH(3303,!1)}();if(!function fs(F){return"start"==F||"done"==F}(Z))throw function n(F,M){return new e.vHH(3400,!1)}();const gt=se(this._elementListeners,M,[]),Wt={name:_,phase:Z,callback:pe};gt.push(Wt);const ei=se(this._engine.statesByElement,M,new Map);return ei.has(_)||(sr(M,Pe),sr(M,Pe+"-"+_),ei.set(_,$a)),()=>{this._engine.afterFlush(()=>{const fi=gt.indexOf(Wt);fi>=0&>.splice(fi,1),this._triggers.has(_)||ei.delete(_)})}}register(M,_){return!this._triggers.has(M)&&(this._triggers.set(M,_),!0)}_getTrigger(M){const _=this._triggers.get(M);if(!_)throw function b(F){return new e.vHH(3401,!1)}();return _}trigger(M,_,Z,pe=!0){const gt=this._getTrigger(_),Wt=new Wr(this.id,_,M);let ei=this._engine.statesByElement.get(M);ei||(sr(M,Pe),sr(M,Pe+"-"+_),this._engine.statesByElement.set(M,ei=new Map));let fi=ei.get(_);const ki=new zr(Z,this.id);if(!(Z&&Z.hasOwnProperty("value"))&&fi&&ki.absorbOptions(fi.options),ei.set(_,ki),fi||(fi=$a),ki.value!==_a&&fi.value===ki.value){if(!function aa(F,M){const _=Object.keys(F),Z=Object.keys(M);if(_.length!=Z.length)return!1;for(let pe=0;pe<_.length;pe++){const gt=_[pe];if(!M.hasOwnProperty(gt)||F[gt]!==M[gt])return!1}return!0}(fi.params,ki.params)){const Dn=[],tr=gt.matchStyles(fi.value,fi.params,Dn),gr=gt.matchStyles(ki.value,ki.params,Dn);Dn.length?this._engine.reportError(Dn):this._engine.afterFlush(()=>{vt(M,tr),rt(M,gr)})}return}const Rn=se(this._engine.playersByElement,M,[]);Rn.forEach(Dn=>{Dn.namespaceId==this.id&&Dn.triggerName==_&&Dn.queued&&Dn.destroy()});let Nn=gt.matchTransition(fi.value,ki.value,M,ki.params),hn=!1;if(!Nn){if(!pe)return;Nn=gt.fallbackTransition,hn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:_,transition:Nn,fromState:fi,toState:ki,player:Wt,isFallbackTransition:hn}),hn||(sr(M,Ns),Wt.onStart(()=>{qn(M,Ns)})),Wt.onDone(()=>{let Dn=this.players.indexOf(Wt);Dn>=0&&this.players.splice(Dn,1);const tr=this._engine.playersByElement.get(M);if(tr){let gr=tr.indexOf(Wt);gr>=0&&tr.splice(gr,1)}}),this.players.push(Wt),Rn.push(Wt),Wt}deregister(M){this._triggers.delete(M),this._engine.statesByElement.forEach(_=>_.delete(M)),this._elementListeners.forEach((_,Z)=>{this._elementListeners.set(Z,_.filter(pe=>pe.name!=M))})}clearElementCache(M){this._engine.statesByElement.delete(M),this._elementListeners.delete(M);const _=this._engine.playersByElement.get(M);_&&(_.forEach(Z=>Z.destroy()),this._engine.playersByElement.delete(M))}_signalRemovalForInnerTriggers(M,_){const Z=this._engine.driver.query(M,tt,!0);Z.forEach(pe=>{if(pe[hr])return;const gt=this._engine.fetchNamespacesByElement(pe);gt.size?gt.forEach(Wt=>Wt.triggerLeaveAnimation(pe,_,!1,!0)):this.clearElementCache(pe)}),this._engine.afterFlushAnimationsDone(()=>Z.forEach(pe=>this.clearElementCache(pe)))}triggerLeaveAnimation(M,_,Z,pe){const gt=this._engine.statesByElement.get(M),Wt=new Map;if(gt){const ei=[];if(gt.forEach((fi,ki)=>{if(Wt.set(ki,fi.value),this._triggers.has(ki)){const tn=this.trigger(M,ki,_a,pe);tn&&ei.push(tn)}}),ei.length)return this._engine.markElementAsRemoved(this.id,M,!0,_,Wt),Z&&ct(ei).onDone(()=>this._engine.processLeaveNode(M)),!0}return!1}prepareLeaveAnimationListeners(M){const _=this._elementListeners.get(M),Z=this._engine.statesByElement.get(M);if(_&&Z){const pe=new Set;_.forEach(gt=>{const Wt=gt.name;if(pe.has(Wt))return;pe.add(Wt);const fi=this._triggers.get(Wt).fallbackTransition,ki=Z.get(Wt)||$a,tn=new zr(_a),Zi=new Wr(this.id,Wt,M);this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:Wt,transition:fi,fromState:ki,toState:tn,player:Zi,isFallbackTransition:!0})})}}removeNode(M,_){const Z=this._engine;if(M.childElementCount&&this._signalRemovalForInnerTriggers(M,_),this.triggerLeaveAnimation(M,_,!0))return;let pe=!1;if(Z.totalAnimations){const gt=Z.players.length?Z.playersByQueriedElement.get(M):[];if(gt&>.length)pe=!0;else{let Wt=M;for(;Wt=Wt.parentNode;)if(Z.statesByElement.get(Wt)){pe=!0;break}}}if(this.prepareLeaveAnimationListeners(M),pe)Z.markElementAsRemoved(this.id,M,!1,_);else{const gt=M[hr];(!gt||gt===ga)&&(Z.afterFlush(()=>this.clearElementCache(M)),Z.destroyInnerAnimations(M),Z._onRemovalComplete(M,_))}}insertNode(M,_){sr(M,this._hostClassName)}drainQueuedTransitions(M){const _=[];return this._queue.forEach(Z=>{const pe=Z.player;if(pe.destroyed)return;const gt=Z.element,Wt=this._elementListeners.get(gt);Wt&&Wt.forEach(ei=>{if(ei.name==Z.triggerName){const fi=_e(gt,Z.triggerName,Z.fromState.value,Z.toState.value);fi._data=M,xe(Z.player,ei.phase,fi,ei.callback)}}),pe.markedForDestroy?this._engine.afterFlush(()=>{pe.destroy()}):_.push(Z)}),this._queue=[],_.sort((Z,pe)=>{const gt=Z.transition.ast.depCount,Wt=pe.transition.ast.depCount;return 0==gt||0==Wt?gt-Wt:this._engine.driver.containsElement(Z.element,pe.element)?1:-1})}destroy(M){this.players.forEach(_=>_.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,M)}elementContainsData(M){let _=!1;return this._elementListeners.has(M)&&(_=!0),_=!!this._queue.find(Z=>Z.element===M)||_,_}}class us{constructor(M,_,Z){this.bodyNode=M,this.driver=_,this._normalizer=Z,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=(pe,gt)=>{}}_onRemovalComplete(M,_){this.onRemovalComplete(M,_)}get queuedPlayers(){const M=[];return this._namespaceList.forEach(_=>{_.players.forEach(Z=>{Z.queued&&M.push(Z)})}),M}createNamespace(M,_){const Z=new Sa(M,_,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,_)?this._balanceNamespaceList(Z,_):(this.newHostElements.set(_,Z),this.collectEnterElement(_)),this._namespaceLookup[M]=Z}_balanceNamespaceList(M,_){const Z=this._namespaceList,pe=this.namespacesByHostElement;if(Z.length-1>=0){let Wt=!1,ei=this.driver.getParentElement(_);for(;ei;){const fi=pe.get(ei);if(fi){const ki=Z.indexOf(fi);Z.splice(ki+1,0,M),Wt=!0;break}ei=this.driver.getParentElement(ei)}Wt||Z.unshift(M)}else Z.push(M);return pe.set(_,M),M}register(M,_){let Z=this._namespaceLookup[M];return Z||(Z=this.createNamespace(M,_)),Z}registerTrigger(M,_,Z){let pe=this._namespaceLookup[M];pe&&pe.register(_,Z)&&this.totalAnimations++}destroy(M,_){if(!M)return;const Z=this._fetchNamespace(M);this.afterFlush(()=>{this.namespacesByHostElement.delete(Z.hostElement),delete this._namespaceLookup[M];const pe=this._namespaceList.indexOf(Z);pe>=0&&this._namespaceList.splice(pe,1)}),this.afterFlushAnimationsDone(()=>Z.destroy(_))}_fetchNamespace(M){return this._namespaceLookup[M]}fetchNamespacesByElement(M){const _=new Set,Z=this.statesByElement.get(M);if(Z)for(let pe of Z.values())if(pe.namespaceId){const gt=this._fetchNamespace(pe.namespaceId);gt&&_.add(gt)}return _}trigger(M,_,Z,pe){if(Xr(_)){const gt=this._fetchNamespace(M);if(gt)return gt.trigger(_,Z,pe),!0}return!1}insertNode(M,_,Z,pe){if(!Xr(_))return;const gt=_[hr];if(gt&>.setForRemoval){gt.setForRemoval=!1,gt.setForMove=!0;const Wt=this.collectedLeaveElements.indexOf(_);Wt>=0&&this.collectedLeaveElements.splice(Wt,1)}if(M){const Wt=this._fetchNamespace(M);Wt&&Wt.insertNode(_,Z)}pe&&this.collectEnterElement(_)}collectEnterElement(M){this.collectedEnterElements.push(M)}markElementAsDisabled(M,_){_?this.disabledNodes.has(M)||(this.disabledNodes.add(M),sr(M,Ma)):this.disabledNodes.has(M)&&(this.disabledNodes.delete(M),qn(M,Ma))}removeNode(M,_,Z,pe){if(Xr(_)){const gt=M?this._fetchNamespace(M):null;if(gt?gt.removeNode(_,pe):this.markElementAsRemoved(M,_,!1,pe),Z){const Wt=this.namespacesByHostElement.get(_);Wt&&Wt.id!==M&&Wt.removeNode(_,pe)}}else this._onRemovalComplete(_,pe)}markElementAsRemoved(M,_,Z,pe,gt){this.collectedLeaveElements.push(_),_[hr]={namespaceId:M,setForRemoval:pe,hasAnimation:Z,removedBeforeQueried:!1,previousTriggersValues:gt}}listen(M,_,Z,pe,gt){return Xr(_)?this._fetchNamespace(M).listen(_,Z,pe,gt):()=>{}}_buildInstruction(M,_,Z,pe,gt){return M.transition.build(this.driver,M.element,M.fromState.value,M.toState.value,Z,pe,M.fromState.options,M.toState.options,_,gt)}destroyInnerAnimations(M){let _=this.driver.query(M,tt,!0);_.forEach(Z=>this.destroyActiveAnimationsForElement(Z)),0!=this.playersByQueriedElement.size&&(_=this.driver.query(M,Lt,!0),_.forEach(Z=>this.finishActiveQueriedAnimationOnElement(Z)))}destroyActiveAnimationsForElement(M){const _=this.playersByElement.get(M);_&&_.forEach(Z=>{Z.queued?Z.markedForDestroy=!0:Z.destroy()})}finishActiveQueriedAnimationOnElement(M){const _=this.playersByQueriedElement.get(M);_&&_.forEach(Z=>Z.finish())}whenRenderingDone(){return new Promise(M=>{if(this.players.length)return ct(this.players).onDone(()=>M());M()})}processLeaveNode(M){const _=M[hr];if(_&&_.setForRemoval){if(M[hr]=ga,_.namespaceId){this.destroyInnerAnimations(M);const Z=this._fetchNamespace(_.namespaceId);Z&&Z.clearElementCache(M)}this._onRemovalComplete(M,_.setForRemoval)}M.classList?.contains(Ma)&&this.markElementAsDisabled(M,!1),this.driver.query(M,".ng-animate-disabled",!0).forEach(Z=>{this.markElementAsDisabled(Z,!1)})}flush(M=-1){let _=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Z,pe)=>this._balanceNamespaceList(Z,pe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Z=0;Z<this.collectedEnterElements.length;Z++)sr(this.collectedEnterElements[Z],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const Z=[];try{_=this._flushAnimations(Z,M)}finally{for(let pe=0;pe<Z.length;pe++)Z[pe]()}}else for(let Z=0;Z<this.collectedLeaveElements.length;Z++)this.processLeaveNode(this.collectedLeaveElements[Z]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(Z=>Z()),this._flushFns=[],this._whenQuietFns.length){const Z=this._whenQuietFns;this._whenQuietFns=[],_.length?ct(_).onDone(()=>{Z.forEach(pe=>pe())}):Z.forEach(pe=>pe())}}reportError(M){throw function U(F){return new e.vHH(3402,!1)}()}_flushAnimations(M,_){const Z=new Ui,pe=[],gt=new Map,Wt=[],ei=new Map,fi=new Map,ki=new Map,tn=new Set;this.disabledNodes.forEach(mn=>{tn.add(mn);const Mn=this.driver.query(mn,".ng-animate-queued",!0);for(let In=0;In<Mn.length;In++)tn.add(Mn[In])});const Zi=this.bodyNode,Rn=Array.from(this.statesByElement.keys()),Nn=Ga(Rn,this.collectedEnterElements),hn=new Map;let Dn=0;Nn.forEach((mn,Mn)=>{const In=He+Dn++;hn.set(Mn,In),mn.forEach($n=>sr($n,In))});const tr=[],gr=new Set,Ra=new Set;for(let mn=0;mn<this.collectedLeaveElements.length;mn++){const Mn=this.collectedLeaveElements[mn],In=Mn[hr];In&&In.setForRemoval&&(tr.push(Mn),gr.add(Mn),In.hasAnimation?this.driver.query(Mn,".ng-star-inserted",!0).forEach($n=>gr.add($n)):Ra.add(Mn))}const Ka=new Map,Na=Ga(Rn,Array.from(gr));Na.forEach((mn,Mn)=>{const In=Ct+Dn++;Ka.set(Mn,In),mn.forEach($n=>sr($n,In))}),M.push(()=>{Nn.forEach((mn,Mn)=>{const In=hn.get(Mn);mn.forEach($n=>qn($n,In))}),Na.forEach((mn,Mn)=>{const In=Ka.get(Mn);mn.forEach($n=>qn($n,In))}),tr.forEach(mn=>{this.processLeaveNode(mn)})});const Hc=[],yo=[];for(let mn=this._namespaceList.length-1;mn>=0;mn--)this._namespaceList[mn].drainQueuedTransitions(_).forEach(In=>{const $n=In.player,qr=In.element;if(Hc.push($n),this.collectedEnterElements.length){const Fa=qr[hr];if(Fa&&Fa.setForMove){if(Fa.previousTriggersValues&&Fa.previousTriggersValues.has(In.triggerName)){const Go=Fa.previousTriggersValues.get(In.triggerName),ks=this.statesByElement.get(In.element);if(ks&&ks.has(In.triggerName)){const O1=ks.get(In.triggerName);O1.value=Go,ks.set(In.triggerName,O1)}}return void $n.destroy()}}const Is=!Zi||!this.driver.containsElement(Zi,qr),_s=Ka.get(qr),Co=hn.get(qr),Ur=this._buildInstruction(In,Z,Co,_s,Is);if(Ur.errors&&Ur.errors.length)return void yo.push(Ur);if(Is)return $n.onStart(()=>vt(qr,Ur.fromStyles)),$n.onDestroy(()=>rt(qr,Ur.toStyles)),void pe.push($n);if(In.isFallbackTransition)return $n.onStart(()=>vt(qr,Ur.fromStyles)),$n.onDestroy(()=>rt(qr,Ur.toStyles)),void pe.push($n);const J2=[];Ur.timelines.forEach(Fa=>{Fa.stretchStartingKeyframe=!0,this.disabledNodes.has(Fa.element)||J2.push(Fa)}),Ur.timelines=J2,Z.append(qr,Ur.timelines),Wt.push({instruction:Ur,player:$n,element:qr}),Ur.queriedElements.forEach(Fa=>se(ei,Fa,[]).push($n)),Ur.preStyleProps.forEach((Fa,Go)=>{if(Fa.size){let ks=fi.get(Go);ks||fi.set(Go,ks=new Set),Fa.forEach((O1,S0)=>ks.add(S0))}}),Ur.postStyleProps.forEach((Fa,Go)=>{let ks=ki.get(Go);ks||ki.set(Go,ks=new Set),Fa.forEach((O1,S0)=>ks.add(S0))})});if(yo.length){const mn=[];yo.forEach(Mn=>{mn.push(function j(F,M){return new e.vHH(3505,!1)}())}),Hc.forEach(Mn=>Mn.destroy()),this.reportError(mn)}const xa=new Map,zc=new Map;Wt.forEach(mn=>{const Mn=mn.element;Z.has(Mn)&&(zc.set(Mn,Mn),this._beforeAnimationBuild(mn.player.namespaceId,mn.instruction,xa))}),pe.forEach(mn=>{const Mn=mn.element;this._getPreviousPlayers(Mn,!1,mn.namespaceId,mn.triggerName,null).forEach($n=>{se(xa,Mn,[]).push($n),$n.destroy()})});const no=tr.filter(mn=>Ft(mn,fi,ki)),Uo=new Map;Zn(Uo,this.driver,Ra,ki,v.l3).forEach(mn=>{Ft(mn,fi,ki)&&no.push(mn)});const xo=new Map;Nn.forEach((mn,Mn)=>{Zn(xo,this.driver,new Set(mn),fi,v.k1)}),no.forEach(mn=>{const Mn=Uo.get(mn),In=xo.get(mn);Uo.set(mn,new Map([...Array.from(Mn?.entries()??[]),...Array.from(In?.entries()??[])]))});const dc=[],Yh=[],q2={};Wt.forEach(mn=>{const{element:Mn,player:In,instruction:$n}=mn;if(Z.has(Mn)){if(tn.has(Mn))return In.onDestroy(()=>rt(Mn,$n.toStyles)),In.disabled=!0,In.overrideTotalTime($n.totalTime),void pe.push(In);let qr=q2;if(zc.size>1){let _s=Mn;const Co=[];for(;_s=_s.parentNode;){const Ur=zc.get(_s);if(Ur){qr=Ur;break}Co.push(_s)}Co.forEach(Ur=>zc.set(Ur,qr))}const Is=this._buildAnimation(In.namespaceId,$n,xa,gt,xo,Uo);if(In.setRealPlayer(Is),qr===q2)dc.push(In);else{const _s=this.playersByElement.get(qr);_s&&_s.length&&(In.parentPlayer=ct(_s)),pe.push(In)}}else vt(Mn,$n.fromStyles),In.onDestroy(()=>rt(Mn,$n.toStyles)),Yh.push(In),tn.has(Mn)&&pe.push(In)}),Yh.forEach(mn=>{const Mn=gt.get(mn.element);if(Mn&&Mn.length){const In=ct(Mn);mn.setRealPlayer(In)}}),pe.forEach(mn=>{mn.parentPlayer?mn.syncPlayerEvents(mn.parentPlayer):mn.destroy()});for(let mn=0;mn<tr.length;mn++){const Mn=tr[mn],In=Mn[hr];if(qn(Mn,Ct),In&&In.hasAnimation)continue;let $n=[];if(ei.size){let Is=ei.get(Mn);Is&&Is.length&&$n.push(...Is);let _s=this.driver.query(Mn,Lt,!0);for(let Co=0;Co<_s.length;Co++){let Ur=ei.get(_s[Co]);Ur&&Ur.length&&$n.push(...Ur)}}const qr=$n.filter(Is=>!Is.destroyed);qr.length?Za(this,Mn,qr):this.processLeaveNode(Mn)}return tr.length=0,dc.forEach(mn=>{this.players.push(mn),mn.onDone(()=>{mn.destroy();const Mn=this.players.indexOf(mn);this.players.splice(Mn,1)}),mn.play()}),dc}elementContainsData(M,_){let Z=!1;const pe=_[hr];return pe&&pe.setForRemoval&&(Z=!0),this.playersByElement.has(_)&&(Z=!0),this.playersByQueriedElement.has(_)&&(Z=!0),this.statesByElement.has(_)&&(Z=!0),this._fetchNamespace(M).elementContainsData(_)||Z}afterFlush(M){this._flushFns.push(M)}afterFlushAnimationsDone(M){this._whenQuietFns.push(M)}_getPreviousPlayers(M,_,Z,pe,gt){let Wt=[];if(_){const ei=this.playersByQueriedElement.get(M);ei&&(Wt=ei)}else{const ei=this.playersByElement.get(M);if(ei){const fi=!gt||gt==_a;ei.forEach(ki=>{ki.queued||!fi&&ki.triggerName!=pe||Wt.push(ki)})}}return(Z||pe)&&(Wt=Wt.filter(ei=>!(Z&&Z!=ei.namespaceId||pe&&pe!=ei.triggerName))),Wt}_beforeAnimationBuild(M,_,Z){const gt=_.element,Wt=_.isRemovalTransition?void 0:M,ei=_.isRemovalTransition?void 0:_.triggerName;for(const fi of _.timelines){const ki=fi.element,tn=ki!==gt,Zi=se(Z,ki,[]);this._getPreviousPlayers(ki,tn,Wt,ei,_.toState).forEach(Nn=>{const hn=Nn.getRealPlayer();hn.beforeDestroy&&hn.beforeDestroy(),Nn.destroy(),Zi.push(Nn)})}vt(gt,_.fromStyles)}_buildAnimation(M,_,Z,pe,gt,Wt){const ei=_.triggerName,fi=_.element,ki=[],tn=new Set,Zi=new Set,Rn=_.timelines.map(hn=>{const Dn=hn.element;tn.add(Dn);const tr=Dn[hr];if(tr&&tr.removedBeforeQueried)return new v.ZN(hn.duration,hn.delay);const gr=Dn!==fi,Ra=function Yr(F){const M=[];return lr(F,M),M}((Z.get(Dn)||Oa).map(xa=>xa.getRealPlayer())).filter(xa=>!!xa.element&&xa.element===Dn),Ka=gt.get(Dn),Na=Wt.get(Dn),Hc=Ie(0,this._normalizer,0,hn.keyframes,Ka,Na),yo=this._buildPlayer(hn,Hc,Ra);if(hn.subTimeline&&pe&&Zi.add(Dn),gr){const xa=new Wr(M,ei,Dn);xa.setRealPlayer(yo),ki.push(xa)}return yo});ki.forEach(hn=>{se(this.playersByQueriedElement,hn.element,[]).push(hn),hn.onDone(()=>function Ea(F,M,_){let Z=F.get(M);if(Z){if(Z.length){const pe=Z.indexOf(_);Z.splice(pe,1)}0==Z.length&&F.delete(M)}return Z}(this.playersByQueriedElement,hn.element,hn))}),tn.forEach(hn=>sr(hn,Bt));const Nn=ct(Rn);return Nn.onDestroy(()=>{tn.forEach(hn=>qn(hn,Bt)),rt(fi,_.toStyles)}),Zi.forEach(hn=>{se(pe,hn,[]).push(Nn)}),Nn}_buildPlayer(M,_,Z){return _.length>0?this.driver.animate(M.element,_,M.duration,M.delay,M.easing,Z):new v.ZN(M.duration,M.delay)}}class Wr{constructor(M,_,Z){this.namespaceId=M,this.triggerName=_,this.element=Z,this._player=new v.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(M){this._containsRealPlayer||(this._player=M,this._queuedCallbacks.forEach((_,Z)=>{_.forEach(pe=>xe(M,Z,void 0,pe))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(M.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(M){this.totalTime=M}syncPlayerEvents(M){const _=this._player;_.triggerCallback&&M.onStart(()=>_.triggerCallback("start")),M.onDone(()=>this.finish()),M.onDestroy(()=>this.destroy())}_queueEvent(M,_){se(this._queuedCallbacks,M,[]).push(_)}onDone(M){this.queued&&this._queueEvent("done",M),this._player.onDone(M)}onStart(M){this.queued&&this._queueEvent("start",M),this._player.onStart(M)}onDestroy(M){this.queued&&this._queueEvent("destroy",M),this._player.onDestroy(M)}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(M){this.queued||this._player.setPosition(M)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(M){const _=this._player;_.triggerCallback&&_.triggerCallback(M)}}function Xr(F){return F&&1===F.nodeType}function es(F,M){const _=F.style.display;return F.style.display=M??"none",_}function Zn(F,M,_,Z,pe){const gt=[];_.forEach(fi=>gt.push(es(fi)));const Wt=[];Z.forEach((fi,ki)=>{const tn=new Map;fi.forEach(Zi=>{const Rn=M.computeStyle(ki,Zi,pe);tn.set(Zi,Rn),(!Rn||0==Rn.length)&&(ki[hr]=Xa,Wt.push(ki))}),F.set(ki,tn)});let ei=0;return _.forEach(fi=>es(fi,gt[ei++])),Wt}function Ga(F,M){const _=new Map;if(F.forEach(ei=>_.set(ei,[])),0==M.length)return _;const pe=new Set(M),gt=new Map;function Wt(ei){if(!ei)return 1;let fi=gt.get(ei);if(fi)return fi;const ki=ei.parentNode;return fi=_.has(ki)?ki:pe.has(ki)?1:Wt(ki),gt.set(ei,fi),fi}return M.forEach(ei=>{const fi=Wt(ei);1!==fi&&_.get(fi).push(ei)}),_}function sr(F,M){F.classList?.add(M)}function qn(F,M){F.classList?.remove(M)}function Za(F,M,_){ct(_).onDone(()=>F.processLeaveNode(M))}function lr(F,M){for(let _=0;_<F.length;_++){const Z=F[_];Z instanceof v.ZE?lr(Z.players,M):M.push(Z)}}function Ft(F,M,_){const Z=_.get(F);if(!Z)return!1;let pe=M.get(F);return pe?Z.forEach(gt=>pe.add(gt)):M.set(F,Z),_.delete(F),!0}class hi{constructor(M,_,Z){this.bodyNode=M,this._driver=_,this._normalizer=Z,this._triggerCache={},this.onRemovalComplete=(pe,gt)=>{},this._transitionEngine=new us(M,_,Z),this._timelineEngine=new Ja(M,_,Z),this._transitionEngine.onRemovalComplete=(pe,gt)=>this.onRemovalComplete(pe,gt)}registerTrigger(M,_,Z,pe,gt){const Wt=M+"-"+pe;let ei=this._triggerCache[Wt];if(!ei){const fi=[],tn=zt(this._driver,gt,fi,[]);if(fi.length)throw function i(F,M){return new e.vHH(3404,!1)}();ei=function cs(F,M,_){return new Hr(F,M,_)}(pe,tn,this._normalizer),this._triggerCache[Wt]=ei}this._transitionEngine.registerTrigger(_,pe,ei)}register(M,_){this._transitionEngine.register(M,_)}destroy(M,_){this._transitionEngine.destroy(M,_)}onInsert(M,_,Z,pe){this._transitionEngine.insertNode(M,_,Z,pe)}onRemove(M,_,Z,pe){this._transitionEngine.removeNode(M,_,pe||!1,Z)}disableAnimations(M,_){this._transitionEngine.markElementAsDisabled(M,_)}process(M,_,Z,pe){if("@"==Z.charAt(0)){const[gt,Wt]=Ye(Z);this._timelineEngine.command(gt,_,Wt,pe)}else this._transitionEngine.trigger(M,_,Z,pe)}listen(M,_,Z,pe,gt){if("@"==Z.charAt(0)){const[Wt,ei]=Ye(Z);return this._timelineEngine.listen(Wt,_,ei,gt)}return this._transitionEngine.listen(M,_,Z,pe,gt)}flush(M=-1){this._transitionEngine.flush(M)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let si=(()=>{class F{constructor(_,Z,pe){this._element=_,this._startStyles=Z,this._endStyles=pe,this._state=0;let gt=F.initialStylesByElement.get(_);gt||F.initialStylesByElement.set(_,gt=new Map),this._initialStyles=gt}start(){this._state<1&&(this._startStyles&&rt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(rt(this._element,this._initialStyles),this._endStyles&&(rt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(F.initialStylesByElement.delete(this._element),this._startStyles&&(vt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(vt(this._element,this._endStyles),this._endStyles=null),rt(this._element,this._initialStyles),this._state=3)}}return F.initialStylesByElement=new WeakMap,F})();function zi(F){let M=null;return F.forEach((_,Z)=>{(function $i(F){return"display"===F||"position"===F})(Z)&&(M=M||new Map,M.set(Z,_))}),M}class Un{constructor(M,_,Z,pe){this.element=M,this.keyframes=_,this.options=Z,this._specialStyles=pe,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=Z.duration,this._delay=Z.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(M=>M()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const M=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,M,this.options),this._finalKeyframe=M.length?M[M.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(M){const _=[];return M.forEach(Z=>{_.push(Object.fromEntries(Z))}),_}_triggerWebAnimation(M,_,Z){return M.animate(this._convertKeyframesToObject(_),Z)}onStart(M){this._originalOnStartFns.push(M),this._onStartFns.push(M)}onDone(M){this._originalOnDoneFns.push(M),this._onDoneFns.push(M)}onDestroy(M){this._onDestroyFns.push(M)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(M=>M()),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(M=>M()),this._onDestroyFns=[])}setPosition(M){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=M*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const M=new Map;this.hasStarted()&&this._finalKeyframe.forEach((Z,pe)=>{"offset"!==pe&&M.set(pe,this._finished?Z:Vi(this.element,pe))}),this.currentSnapshot=M}triggerCallback(M){const _="start"===M?this._onStartFns:this._onDoneFns;_.forEach(Z=>Z()),_.length=0}}class vr{validateStyleProperty(M){return!0}validateAnimatableStyleProperty(M){return!0}matchesElement(M,_){return!1}containsElement(M,_){return nt(M,_)}getParentElement(M){return te(M)}query(M,_,Z){return wt(M,_,Z)}computeStyle(M,_,Z){return window.getComputedStyle(M)[_]}animate(M,_,Z,pe,gt,Wt=[]){const fi={duration:Z,delay:pe,fill:0==pe?"both":"forwards"};gt&&(fi.easing=gt);const ki=new Map,tn=Wt.filter(Nn=>Nn instanceof Un);(function ui(F,M){return 0===F||0===M})(Z,pe)&&tn.forEach(Nn=>{Nn.currentSnapshot.forEach((hn,Dn)=>ki.set(Dn,hn))});let Zi=function at(F){return F.length?F[0]instanceof Map?F:F.map(M=>Re(M)):[]}(_).map(Nn=>Gt(Nn));Zi=function Ei(F,M,_){if(_.size&&M.length){let Z=M[0],pe=[];if(_.forEach((gt,Wt)=>{Z.has(Wt)||pe.push(Wt),Z.set(Wt,gt)}),pe.length)for(let gt=1;gt<M.length;gt++){let Wt=M[gt];pe.forEach(ei=>Wt.set(ei,Vi(F,ei)))}}return M}(M,Zi,ki);const Rn=function yt(F,M){let _=null,Z=null;return Array.isArray(M)&&M.length?(_=zi(M[0]),M.length>1&&(Z=zi(M[M.length-1]))):M instanceof Map&&(_=zi(M)),_||Z?new si(F,_,Z):null}(M,Zi);return new Un(M,Zi,fi,Rn)}}var Ji=m(6895);let xn=(()=>{class F extends v._j{constructor(_,Z){super(),this._nextAnimationId=0,this._renderer=_.createRenderer(Z.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(_){const Z=this._nextAnimationId.toString();this._nextAnimationId++;const pe=Array.isArray(_)?(0,v.vP)(_):_;return et(this._renderer,null,Z,"register",[pe]),new $r(Z,this._renderer)}}return F.\u0275fac=function(_){return new(_||F)(e.LFG(e.FYo),e.LFG(Ji.K0))},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac}),F})();class $r extends v.LC{constructor(M,_){super(),this._id=M,this._renderer=_}create(M,_){return new st(this._id,M,_||{},this._renderer)}}class st{constructor(M,_,Z,pe){this.id=M,this.element=_,this._renderer=pe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",Z)}_listen(M,_){return this._renderer.listen(this.element,`@@${this.id}:${M}`,_)}_command(M,..._){return et(this._renderer,this.element,this.id,M,_)}onDone(M){this._listen("done",M)}onStart(M){this._listen("start",M)}onDestroy(M){this._listen("destroy",M)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(M){this._command("setPosition",M)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function et(F,M,_,Z,pe){return F.setProperty(M,`@@${_}:${Z}`,pe)}const It="@.disabled";let Si=(()=>{class F{constructor(_,Z,pe){this.delegate=_,this.engine=Z,this._zone=pe,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),Z.onRemovalComplete=(gt,Wt)=>{const ei=Wt?.parentNode(gt);ei&&Wt.removeChild(ei,gt)}}createRenderer(_,Z){const gt=this.delegate.createRenderer(_,Z);if(!(_&&Z&&Z.data&&Z.data.animation)){let tn=this._rendererCache.get(gt);return tn||(tn=new Yi("",gt,this.engine,()=>this._rendererCache.delete(gt)),this._rendererCache.set(gt,tn)),tn}const Wt=Z.id,ei=Z.id+"-"+this._currentId;this._currentId++,this.engine.register(ei,_);const fi=tn=>{Array.isArray(tn)?tn.forEach(fi):this.engine.registerTrigger(Wt,ei,_,tn.name,tn)};return Z.data.animation.forEach(fi),new or(this,ei,gt,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(_,Z,pe){_>=0&&_<this._microtaskId?this._zone.run(()=>Z(pe)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(gt=>{const[Wt,ei]=gt;Wt(ei)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([Z,pe]))}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()}}return F.\u0275fac=function(_){return new(_||F)(e.LFG(e.FYo),e.LFG(hi),e.LFG(e.R0b))},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac}),F})();class Yi{constructor(M,_,Z,pe){this.namespaceId=M,this.delegate=_,this.engine=Z,this._onDestroy=pe,this.destroyNode=this.delegate.destroyNode?gt=>_.destroyNode(gt):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(M,_){return this.delegate.createElement(M,_)}createComment(M){return this.delegate.createComment(M)}createText(M){return this.delegate.createText(M)}appendChild(M,_){this.delegate.appendChild(M,_),this.engine.onInsert(this.namespaceId,_,M,!1)}insertBefore(M,_,Z,pe=!0){this.delegate.insertBefore(M,_,Z),this.engine.onInsert(this.namespaceId,_,M,pe)}removeChild(M,_,Z){this.engine.onRemove(this.namespaceId,_,this.delegate,Z)}selectRootElement(M,_){return this.delegate.selectRootElement(M,_)}parentNode(M){return this.delegate.parentNode(M)}nextSibling(M){return this.delegate.nextSibling(M)}setAttribute(M,_,Z,pe){this.delegate.setAttribute(M,_,Z,pe)}removeAttribute(M,_,Z){this.delegate.removeAttribute(M,_,Z)}addClass(M,_){this.delegate.addClass(M,_)}removeClass(M,_){this.delegate.removeClass(M,_)}setStyle(M,_,Z,pe){this.delegate.setStyle(M,_,Z,pe)}removeStyle(M,_,Z){this.delegate.removeStyle(M,_,Z)}setProperty(M,_,Z){"@"==_.charAt(0)&&_==It?this.disableAnimations(M,!!Z):this.delegate.setProperty(M,_,Z)}setValue(M,_){this.delegate.setValue(M,_)}listen(M,_,Z){return this.delegate.listen(M,_,Z)}disableAnimations(M,_){this.engine.disableAnimations(M,_)}}class or extends Yi{constructor(M,_,Z,pe,gt){super(_,Z,pe,gt),this.factory=M,this.namespaceId=_}setProperty(M,_,Z){"@"==_.charAt(0)?"."==_.charAt(1)&&_==It?this.disableAnimations(M,Z=void 0===Z||!!Z):this.engine.process(this.namespaceId,M,_.slice(1),Z):this.delegate.setProperty(M,_,Z)}listen(M,_,Z){if("@"==_.charAt(0)){const pe=function Ni(F){switch(F){case"body":return document.body;case"document":return document;case"window":return window;default:return F}}(M);let gt=_.slice(1),Wt="";return"@"!=gt.charAt(0)&&([gt,Wt]=function Vn(F){const M=F.indexOf(".");return[F.substring(0,M),F.slice(M+1)]}(gt)),this.engine.listen(this.namespaceId,pe,gt,Wt,ei=>{this.factory.scheduleListenerCallback(ei._data||-1,Z,ei)})}return this.delegate.listen(M,_,Z)}}const zs=[{provide:v._j,useClass:xn},{provide:ir,useFactory:function Qo(){return new Fr}},{provide:hi,useClass:(()=>{class F extends hi{constructor(_,Z,pe,gt){super(_.body,Z,pe)}ngOnDestroy(){this.flush()}}return F.\u0275fac=function(_){return new(_||F)(e.LFG(Ji.K0),e.LFG(_t),e.LFG(ir),e.LFG(e.z2F))},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac}),F})()},{provide:e.FYo,useFactory:function Vr(F,M,_){return new Si(F,M,_)},deps:[t.se,hi,e.R0b]}],ts=[{provide:_t,useFactory:()=>new vr},{provide:e.QbO,useValue:"BrowserAnimations"},...zs],Ta=[{provide:_t,useClass:qt},{provide:e.QbO,useValue:"NoopAnimations"},...zs];let js=(()=>{class F{static withConfig(_){return{ngModule:F,providers:_.disableAnimations?Ta:ts}}}return F.\u0275fac=function(_){return new(_||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({providers:ts,imports:[t.b2]}),F})();var Kr=m(529),An=m(2289),Ri=m(9653),is=m(493),Cs=m(825),Bi=m(7579),co=m(6451),ws=m(4968),lo=m(457),To=m(4986),Ks=m(2805);function Ms(F=0,M=To.z){return F<0&&(F=0),(0,Ks.H)(F,F,M)}var Qs=m(9646),qs=m(727),gc=m(4482),_c=m(5403),vc=m(8737),qo=m(3269),Ao=m(9672),Cr=m(9300),ns=m(8505),Vs=m(3900),nn=m(2722),Dr=m(8746),ea=m(1884),ur=m(4004);class Do{}let bc=(()=>{class F{constructor(_,Z){this._ngZone=Z,this.timerStart$=new Bi.x,this.idleDetected$=new Bi.x,this.timeout$=new Bi.x,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,_&&this.setConfig(_)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,co.T)((0,ws.R)(window,"mousemove"),(0,ws.R)(window,"resize"),(0,ws.R)(document,"keydown"))),this.idle$=(0,lo.D)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function Lo(F,...M){var _,Z;const pe=null!==(_=(0,qo.yG)(M))&&void 0!==_?_:To.z,gt=null!==(Z=M[0])&&void 0!==Z?Z:null,Wt=M[1]||1/0;return(0,gc.e)((ei,fi)=>{let ki=[],tn=!1;const Zi=hn=>{const{buffer:Dn,subs:tr}=hn;tr.unsubscribe(),(0,vc.P)(ki,hn),fi.next(Dn),tn&&Rn()},Rn=()=>{if(ki){const hn=new qs.w0;fi.add(hn);const tr={buffer:[],subs:hn};ki.push(tr),(0,Ao.f)(hn,pe,()=>Zi(tr),F)}};null!==gt&>>=0?(0,Ao.f)(fi,pe,Rn,gt,!0):tn=!0,Rn();const Nn=(0,_c.x)(fi,hn=>{const Dn=ki.slice();for(const tr of Dn){const{buffer:gr}=tr;gr.push(hn),Wt<=gr.length&&Zi(tr)}},()=>{for(;ki?.length;)fi.next(ki.shift().buffer);Nn?.unsubscribe(),fi.complete(),fi.unsubscribe()},void 0,()=>ki=null);ei.subscribe(Nn)})}(this.idleSensitivityMillisec),(0,Cr.h)(_=>!_.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,ns.b)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,Vs.w)(()=>this._ngZone.runOutsideAngular(()=>Ms(1e3).pipe((0,nn.R)((0,co.T)(this.activityEvents$,(0,Ks.H)(this.idleMillisec).pipe((0,ns.b)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,Dr.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,ea.x)(),(0,Vs.w)(_=>_?this.timer$:(0,Qs.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,Cr.h)(_=>!!_),(0,ns.b)(()=>this.isTimeout=!0),(0,ur.U)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(_){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(_):console.error("Call stopWatching() before set config values")}setConfig(_){_.idle&&(this.idleMillisec=1e3*_.idle),_.ping&&(this.pingMillisec=1e3*_.ping),_.idleSensitivity&&(this.idleSensitivityMillisec=1e3*_.idleSensitivity),_.timeout&&(this.timeout=_.timeout)}setCustomActivityEvents(_){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=_:console.error("Call stopWatching() before set custom activity events")}setupTimer(_){this._ngZone.runOutsideAngular(()=>{this.timer$=(0,Qs.of)(()=>new Date).pipe((0,ur.U)(Z=>Z()),(0,Vs.w)(Z=>Ms(1e3).pipe((0,ur.U)(()=>Math.round(((new Date).valueOf()-Z.valueOf())/1e3)),(0,ns.b)(pe=>{pe>=_&&this.timeout$.next(!0)}))))})}setupPing(_){this.ping$=Ms(_).pipe((0,Cr.h)(()=>!this.isTimeout))}}return F.\u0275fac=function(_){return new(_||F)(e.LFG(Do,8),e.LFG(e.R0b))},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),yc=(()=>{class F{static forRoot(_){return{ngModule:F,providers:[{provide:Do,useValue:_}]}}}return F.\u0275fac=function(_){return new(_||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({imports:[[]]}),F})();var Wn=m(9116),Qi=m(2687),Oe=m(8377),mt=m(2216),Le=m(1576),Et=m(3546),ri=m(3848);const Ne=function(){return{initial:!1}};function ut(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",11),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.activeLink=pe.links[1].link)}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.s9C("routerLink",_.links[1].link),e.Q6J("active",_.activeLink===_.links[1].link)("state",e.DdM(4,Ne)),e.xp6(1),e.Oqu(_.links[1].name)}}function xt(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.activeLink=pe.links[2].link)}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.s9C("routerLink",_.links[2].link),e.Q6J("active",_.activeLink===_.links[2].link),e.xp6(1),e.Oqu(_.links[2].name)}}class Pt{constructor(M,_){this.store=M,this.router=_,this.faUserCog=Qi.gNZ,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){const M=this.links.find(_=>this.router.url.includes(_.link));this.activeLink=M?M.link:this.links[0].link,this.router.events.pipe((0,nn.R)(this.unSubs[0]),(0,Cr.h)(_=>_ instanceof Wn.Av)).subscribe({next:_=>{const Z=this.links.find(pe=>_.urlAfterRedirects.includes(pe.link));this.activeLink=Z?Z.link:this.links[0].link}}),this.store.select(Oe.Yj).pipe((0,nn.R)(this.unSubs[1])).subscribe(_=>{this.appConfig=_}),this.store.select(Oe.dT).pipe((0,nn.R)(this.unSubs[2])).subscribe(_=>{this.showBitcoind=!1,this.selNode=_,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}Pt.\u0275fac=function(M){return new(M||Pt)(e.Y36(Ri.yh),e.Y36(Wn.F0))},Pt.\u0275cmp=e.Xpm({type:Pt,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"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["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"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"]],template:function(M,_){if(1&M&&(e.TgZ(0,"div",0),e._UZ(1,"fa-icon",1),e.TgZ(2,"span",2),e._uU(3,"Settings"),e.qZA()(),e.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5)(8,"div",6),e.NdJ("click",function(){return _.activeLink=_.links[0].link}),e._uU(9),e.qZA(),e.YNc(10,ut,2,5,"div",7),e.YNc(11,xt,2,3,"div",8),e.qZA(),e._UZ(12,"mat-tab-nav-panel",null,9),e.TgZ(14,"div",10),e._UZ(15,"router-outlet"),e.qZA()()()()),2&M){const Z=e.MAs(13);e.xp6(1),e.Q6J("icon",_.faUserCog),e.xp6(6),e.Q6J("tabPanel",Z),e.xp6(1),e.s9C("routerLink",_.links[0].link),e.Q6J("active",_.activeLink===_.links[0].link),e.xp6(1),e.Oqu(_.links[0].name),e.xp6(1),e.Q6J("ngIf",!+_.appConfig.sso.rtlSSO),e.xp6(1),e.Q6J("ngIf",_.showBitcoind)}},dependencies:[Ji.O5,mt.BN,Le.xw,Le.Wh,Le.yH,Et.a8,Et.dn,ri.BU,ri.sW,ri.Nj,Wn.lC,Wn.rH]});var Qe=m(7731),Jt=m(7861),li=m(5043),ii=m(4006),bi=m(4859),Ii=m(9549),ji=m(4385),rn=m(3238),ln=m(6839),Cn=m(3390);function br(F,M){if(1&F&&(e.TgZ(0,"mat-option",17),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.Q6J("value",_.index),e.xp6(1),e.AsE(" ",_.lnNode," (",_.lnImplementation,") ")}}function Ir(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"form",2,3)(2,"div",4),e._UZ(3,"fa-icon",5),e.TgZ(4,"span",6),e._uU(5,"Default Node"),e.qZA()(),e.TgZ(6,"div",7)(7,"div",8),e._UZ(8,"fa-icon",9),e.TgZ(9,"span"),e._uU(10,"The setting will apply after RTL server restarts."),e.qZA()(),e.TgZ(11,"div",10)(12,"mat-form-field",11)(13,"mat-select",12),e.NdJ("ngModelChange",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.appConfig.defaultNodeIndex=pe)}),e.YNc(14,br,2,3,"mat-option",13),e.qZA()()(),e.TgZ(15,"div",14)(16,"div",10)(17,"button",15),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.onResetSettings())}),e._uU(18,"Reset"),e.qZA(),e.TgZ(19,"button",16),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.onUpdateSettings())}),e._uU(20,"Update"),e.qZA()()()()()}if(2&F){const _=e.oxw();e.xp6(3),e.Q6J("icon",_.faWindowRestore),e.xp6(5),e.Q6J("icon",_.faInfoCircle),e.xp6(5),e.Q6J("ngModel",_.appConfig.defaultNodeIndex),e.xp6(1),e.Q6J("ngForOf",_.appConfig.nodes)}}class Br{constructor(M,_){this.logger=M,this.store=_,this.faInfoCircle=Qi.sqG,this.faWindowRestore=Qi.wyP,this.faPlus=Qi.r8p,this.previousDefaultNode=0,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.select(Oe.Yj).pipe((0,nn.R)(this.unSubs[0])).subscribe(M=>{this.appConfig=M,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(M)})}onAddNewNode(){this.logger.warn("ADD NEW NODE")}onUpdateSettings(){this.store.dispatch((0,Jt.zQ)({payload:{uiMessage:Qe.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(M=>{M.next(),M.complete()})}}Br.\u0275fac=function(M){return new(M||Br)(e.Y36(li.mQ),e.Y36(Ri.yh))},Br.\u0275cmp=e.Xpm({type:Br,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(M,_){1&M&&(e.TgZ(0,"div",0),e.YNc(1,Ir,21,4,"form",1),e.qZA()),2&M&&(e.xp6(1),e.Q6J("ngIf",_.appConfig.nodes&&_.appConfig.nodes.length&&_.appConfig.nodes.length>0))},dependencies:[Ji.sg,Ji.O5,ii._Y,ii.JJ,ii.JL,ii.On,ii.F,mt.BN,Le.xw,Le.Wh,Le.yH,bi.lW,Ii.KE,ji.gD,rn.ey,ln.$V,Cn.h]});var ta=m(8012),kr=m(5698),Er=m(7274),va=m(5768),mr=m(3093),rs=m(7009),sa=m(4144),Wa=m(8425),ps=m(658),El=m(5199);const Bs=["stepper"];function a1(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw();e.Oqu(_.passwordFormLabel)}}function ba(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}function Tl(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.Oqu(_.secretFormLabel)}}function xc(F,M){if(1&F&&e._UZ(0,"qr-code",33),2&F){const _=e.oxw(2);e.Q6J("value",_.otpauth)("size",180)("errorCorrectionLevel","L")}}function Cc(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Secret Code is required."),e.qZA())}function Al(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-step",10)(1,"form",22),e.YNc(2,Tl,1,1,"ng-template",23),e.TgZ(3,"div",24),e.YNc(4,xc,1,3,"qr-code",25),e.qZA(),e.TgZ(5,"div",26),e._UZ(6,"fa-icon",27),e.TgZ(7,"span"),e._uU(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),e.qZA()(),e.TgZ(9,"div",28)(10,"mat-form-field",13)(11,"mat-label"),e._uU(12,"Secret Code"),e.qZA(),e._UZ(13,"input",29),e.TgZ(14,"fa-icon",30),e.NdJ("copied",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.onCopySecret(pe))}),e.qZA(),e.YNc(15,Cc,2,0,"mat-error",15),e.qZA()(),e.TgZ(16,"div",31)(17,"button",32),e._uU(18,"Next"),e.qZA()()()()}if(2&F){const _=e.oxw();e.Q6J("stepControl",_.secretFormGroup)("editable",_.flgEditable),e.xp6(1),e.Q6J("formGroup",_.secretFormGroup),e.xp6(3),e.Q6J("ngIf",_.otpauth),e.xp6(2),e.Q6J("icon",_.faInfoCircle),e.xp6(8),e.Q6J("icon",_.faCopy)("payload",null==_.secretFormGroup||null==_.secretFormGroup.controls||null==_.secretFormGroup.controls.secret?null:_.secretFormGroup.controls.secret.value),e.xp6(1),e.Q6J("ngIf",null==_.secretFormGroup||null==_.secretFormGroup.controls||null==_.secretFormGroup.controls.secret||null==_.secretFormGroup.controls.secret.errors?null:_.secretFormGroup.controls.secret.errors.required)}}function Gc(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.Oqu(_.tokenFormLabel)}}function Q1(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is required."),e.qZA())}function q1(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is invalid."),e.qZA())}function s1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",7)(1,"div",28)(2,"mat-form-field",13)(3,"mat-label"),e._uU(4,"Token"),e.qZA(),e._UZ(5,"input",37),e.YNc(6,Q1,2,0,"mat-error",15),e.YNc(7,q1,2,0,"mat-error",15),e.qZA()(),e.TgZ(8,"div",31)(9,"button",38),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw(2);return e.KtG(pe.onVerifyToken())}),e._uU(10),e.qZA()()()}if(2&F){const _=e.oxw(2);e.xp6(6),e.Q6J("ngIf",null==_.tokenFormGroup||null==_.tokenFormGroup.controls||null==_.tokenFormGroup.controls.token||null==_.tokenFormGroup.controls.token.errors?null:_.tokenFormGroup.controls.token.errors.required),e.xp6(1),e.Q6J("ngIf",null==_.tokenFormGroup||null==_.tokenFormGroup.controls||null==_.tokenFormGroup.controls.token||null==_.tokenFormGroup.controls.token.errors?null:_.tokenFormGroup.controls.token.errors.notValid),e.xp6(3),e.Oqu(null!=_.tokenFormGroup&&null!=_.tokenFormGroup.controls&&null!=_.tokenFormGroup.controls.token&&null!=_.tokenFormGroup.controls.token.errors&&_.tokenFormGroup.controls.token.errors.notValid?"Retry":"Verify")}}function Zc(F,M){1&F&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"Success! You are all set."),e.qZA()())}function Ll(F,M){if(1&F&&(e.TgZ(0,"mat-step",34)(1,"form",35),e.YNc(2,Gc,1,1,"ng-template",12),e.YNc(3,s1,11,3,"div",36),e.YNc(4,Zc,3,0,"div",15),e.qZA()()),2&F){const _=e.oxw();e.Q6J("stepControl",_.tokenFormGroup),e.xp6(1),e.Q6J("formGroup",_.tokenFormGroup),e.xp6(2),e.Q6J("ngIf",!_.flgValidated||!_.isTokenValid),e.xp6(1),e.Q6J("ngIf",_.flgValidated&&_.isTokenValid)}}function Us(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.Oqu(_.disableFormLabel)}}function Jo(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",7)(1,"div",39),e._UZ(2,"fa-icon",27),e.TgZ(3,"span"),e._uU(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),e.qZA()(),e.TgZ(5,"div",31)(6,"button",38),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw(2);return e.KtG(pe.onVerifyToken())}),e._uU(7,"Disable"),e.qZA()()()}if(2&F){const _=e.oxw(2);e.xp6(2),e.Q6J("icon",_.faExclamationTriangle)}}function Dl(F,M){1&F&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"Two factor authentication removed from RTL."),e.qZA()())}function Io(F,M){if(1&F&&(e.TgZ(0,"mat-step",34)(1,"form",35),e.YNc(2,Us,1,1,"ng-template",12),e.YNc(3,Jo,8,1,"div",36),e.YNc(4,Dl,3,0,"div",15),e.qZA()()),2&F){const _=e.oxw();e.Q6J("stepControl",_.disableFormGroup),e.xp6(1),e.Q6J("formGroup",_.disableFormGroup),e.xp6(2),e.Q6J("ngIf",!_.flgValidated||!_.isTokenValid),e.xp6(1),e.Q6J("ngIf",_.flgValidated&&_.isTokenValid)}}class ho{constructor(M,_,Z,pe,gt,Wt){this.dialogRef=M,this.data=_,this.store=Z,this.formBuilder=pe,this.rtlEffects=gt,this.snackBar=Wt,this.faExclamationTriangle=Qi.eHv,this.faCopy=Qi.kZ_,this.faInfoCircle=Qi.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:["",[ii.kI.required]],password:["",[ii.kI.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},ii.kI.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",ii.kI.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new Bi.x,new Bi.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},ii.kI.required]})}generateSecret(){const M=va.authenticator.generateSecret();return this.otpauth=va.authenticator.keyuri("","Ride The Lightning (RTL)",M),M}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,Jt.QO)({payload:ta(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,kr.q)(1)).subscribe(M=>{"ERROR"!==M?(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(M){this.snackBar.open("Secret code "+this.secretFormGroup.controls.secret.value+" copied.")}onVerifyToken(){if(this.appConfig?.enable2FA)this.store.dispatch((0,Jt.Uy)({payload:{secret2fa:""}})),this.generateSecret(),this.isTokenValid=!0;else{if(!this.tokenFormGroup.controls.token.value)return!0;if(this.isTokenValid=va.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,Jt.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(M){switch(M.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}M.selectedIndex<M.previouslySelectedIndex&&0===M.selectedIndex&&this.passwordFormGroup.controls.hiddenPassword.setValue("")}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(),M.complete()})}}ho.\u0275fac=function(M){return new(M||ho)(e.Y36(Er.so),e.Y36(Er.WI),e.Y36(Ri.yh),e.Y36(ii.QS),e.Y36(mr.V),e.Y36(rs.ux))},ho.\u0275cmp=e.Xpm({type:ho,selectors:[["rtl-two-factor-auth"]],viewQuery:function(M,_){if(1&M&&e.Gf(Bs,5),2&M){let Z;e.iGM(Z=e.CRH())&&(_.stepper=Z.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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e._uU(5,"Setup Two Factor Authentication"),e.qZA()(),e.TgZ(6,"button",5),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"div",7)(10,"mat-vertical-stepper",8,9),e.NdJ("selectionChange",function(pe){return _.stepSelectionChanged(pe)}),e.TgZ(12,"mat-step",10)(13,"form",11),e.YNc(14,a1,1,1,"ng-template",12),e.TgZ(15,"div",0)(16,"mat-form-field",13)(17,"mat-label"),e._uU(18,"Password"),e.qZA(),e._UZ(19,"input",14),e.YNc(20,ba,2,0,"mat-error",15),e.qZA()(),e.TgZ(21,"div",16)(22,"button",17),e.NdJ("click",function(){return _.onAuthenticate()}),e._uU(23,"Confirm"),e.qZA()()()(),e.YNc(24,Al,19,8,"mat-step",18),e.YNc(25,Ll,5,4,"mat-step",19),e.YNc(26,Io,5,4,"mat-step",19),e.qZA(),e.TgZ(27,"div",20)(28,"button",21),e._uU(29),e.qZA()()()()()()),2&M&&(e.xp6(6),e.Q6J("mat-dialog-close",!1),e.xp6(4),e.Q6J("linear",!0),e.xp6(2),e.Q6J("stepControl",_.passwordFormGroup)("editable",_.flgEditable),e.xp6(1),e.Q6J("formGroup",_.passwordFormGroup),e.xp6(7),e.Q6J("ngIf",null==_.passwordFormGroup||null==_.passwordFormGroup.controls||null==_.passwordFormGroup.controls.password||null==_.passwordFormGroup.controls.password.errors?null:_.passwordFormGroup.controls.password.errors.required),e.xp6(4),e.Q6J("ngIf",!_.showDisableStepper),e.xp6(1),e.Q6J("ngIf",!_.showDisableStepper),e.xp6(1),e.Q6J("ngIf",_.showDisableStepper),e.xp6(2),e.Q6J("mat-dialog-close",!1),e.xp6(1),e.Oqu(_.flgValidated&&_.isTokenValid?"Close":"Cancel"))},dependencies:[Ji.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.sg,ii.u,mt.BN,Le.xw,Le.Wh,Le.yH,Er.ZT,bi.lW,Et.dn,Et.dk,sa.Nt,Ii.KE,Ii.hX,Ii.TO,Ii.R9,Wa.C0,Wa.VY,Wa.Vq,Wa.Ic,ps.uU,El.y,Cn.h]});var gs=m(5986),ko=m(4850);const J1=["authForm"];function Wc(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Current password is required."),e.qZA())}function Il(F,M){if(1&F&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&F){const _=e.oxw(2);e.xp6(1),e.Oqu(_.errorMsg)}}function Yc(F,M){if(1&F&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&F){const _=e.oxw(2);e.xp6(1),e.Oqu(_.errorConfirmMsg)}}function jc(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"form",11,12)(2,"div",13),e._UZ(3,"fa-icon",5),e.TgZ(4,"span",6),e._uU(5,"Password"),e.qZA()(),e.TgZ(6,"mat-form-field")(7,"mat-label"),e._uU(8,"Current Password"),e.qZA(),e.TgZ(9,"input",14),e.NdJ("ngModelChange",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.currPassword=pe)}),e.qZA(),e.YNc(10,Wc,2,0,"mat-error",15),e.qZA(),e.TgZ(11,"mat-form-field")(12,"mat-label"),e._uU(13,"New Password"),e.qZA(),e.TgZ(14,"input",16),e.NdJ("ngModelChange",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.newPassword=pe)}),e.qZA(),e.YNc(15,Il,2,1,"mat-error",15),e.qZA(),e.TgZ(16,"mat-form-field")(17,"mat-label"),e._uU(18,"Confirm New Password"),e.qZA(),e.TgZ(19,"input",17),e.NdJ("ngModelChange",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.confirmPassword=pe)}),e.qZA(),e.YNc(20,Yc,2,1,"mat-error",15),e.qZA(),e.TgZ(21,"div",18)(22,"button",19),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.onResetPassword())}),e._uU(23,"Reset"),e.qZA(),e.TgZ(24,"button",20),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.onChangePassword())}),e._uU(25,"Change Password"),e.qZA()()()}if(2&F){const _=e.oxw();e.xp6(3),e.Q6J("icon",_.faLock),e.xp6(6),e.Q6J("ngModel",_.currPassword),e.xp6(1),e.Q6J("ngIf",!_.currPassword),e.xp6(4),e.Q6J("ngModel",_.newPassword),e.xp6(1),e.Q6J("ngIf",_.matchOldAndNewPasswords()),e.xp6(4),e.Q6J("ngModel",_.confirmPassword),e.xp6(1),e.Q6J("ngIf",_.matchNewPasswords())}}class Gs{constructor(M,_,Z,pe,gt){this.logger=M,this.store=_,this.actions=Z,this.router=pe,this.sessionService=gt,this.faInfoCircle=Qi.sqG,this.faUserLock=Qi.FJU,this.faUserClock=Qi.hnx,this.faLock=Qi.byT,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(Oe.Yj).pipe((0,nn.R)(this.unSubs[0])).subscribe(M=>{this.appConfig=M,this.logger.info(this.appConfig)}),this.store.select(Oe.dT).pipe((0,nn.R)(this.unSubs[1])).subscribe(M=>{this.selNode=M}),this.actions.pipe((0,nn.R)(this.unSubs[2]),(0,Cr.h)(M=>M.type===Qe.pg.RESET_PASSWORD_RES)).subscribe(M=>{if(Qe.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||Qe.kO.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,Jt.c0)({payload:{currPassword:ta(this.currPassword).toString(),newPassword:ta(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let M=!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.",M=!0):Qe.kO.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=Qe.kO?.reduce((_,Z,pe)=>pe<Qe.kO.length-1?_+Z+'" / "':_+Z+'".','Password cannot be "'),M=!0):(this.form.controls.newpassword.setErrors(null),this.errorMsg="",M=!1):(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="New password is required.",M=!0)),M}matchNewPasswords(){let M=!1;return this.form&&this.form.controls&&this.form.controls.confirmpassword&&(this.confirmPassword?""!==this.newPassword&&""!==this.confirmPassword&&this.newPassword!==this.confirmPassword?(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="New and confirm passwords do not match.",M=!0):(this.form.controls.confirmpassword.setErrors(null),this.errorConfirmMsg="",M=!1):(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="Confirm password is required.",M=!0)),M}on2FAuth(){this.store.dispatch((0,Jt.qR)({payload:{data:{appConfig:this.appConfig,component:ho}}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch((0,Jt.fk)({payload:{uiMessage:Qe.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:this.selNode,isInitialSetup:!0}})),this.unSubs.forEach(M=>{M.next(),M.complete()})}}Gs.\u0275fac=function(M){return new(M||Gs)(e.Y36(li.mQ),e.Y36(Ri.yh),e.Y36(is.eX),e.Y36(Wn.F0),e.Y36(gs.m))},Gs.\u0275cmp=e.Xpm({type:Gs,selectors:[["rtl-auth-settings"]],viewQuery:function(M,_){if(1&M&&e.Gf(J1,5),2&M){let Z;e.iGM(Z=e.CRH())&&(_.form=Z.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(M,_){1&M&&(e.TgZ(0,"div",0),e.YNc(1,jc,26,7,"form",1),e._UZ(2,"mat-divider",2),e.TgZ(3,"div",3)(4,"div",4),e._UZ(5,"fa-icon",5),e.TgZ(6,"span",6),e._uU(7,"Two Factor Authentication"),e.qZA()(),e.TgZ(8,"div",7),e._UZ(9,"fa-icon",8),e.TgZ(10,"span"),e._uU(11,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),e.qZA()(),e.TgZ(12,"div",9)(13,"button",10),e.NdJ("click",function(){return _.on2FAuth()}),e._uU(14),e.qZA()()()()),2&M&&(e.xp6(1),e.Q6J("ngIf",null==_.appConfig?null:_.appConfig.allowPasswordUpdate),e.xp6(4),e.Q6J("icon",_.faUserClock),e.xp6(4),e.Q6J("icon",_.faInfoCircle),e.xp6(5),e.Oqu(_.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[Ji.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,mt.BN,Le.xw,Le.Wh,Le.yH,bi.lW,sa.Nt,Ii.KE,Ii.hX,Ii.TO,ko.d,Cn.h]});var Ss=m(6338);function uo(F,M){1&F&&e._UZ(0,"mat-divider",7)}function o1(F,M){if(1&F&&(e.TgZ(0,"div",4)(1,"pre",5),e._uU(2),e.ALo(3,"json"),e.qZA(),e.YNc(4,uo,1,0,"mat-divider",6),e.qZA()),2&F){const _=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,2,_.configData)),e.xp6(2),e.Q6J("ngIf",""!==_.configData)}}function c1(F,M){if(1&F&&(e.TgZ(0,"h2"),e._uU(1),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_)}}function Es(F,M){if(1&F&&(e.TgZ(0,"h4",14),e._uU(1),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_)}}function J0(F,M){1&F&&e._UZ(0,"mat-divider",15),2&F&&e.Q6J("inset",!0)}function wc(F,M){if(1&F&&(e.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),e.YNc(2,c1,2,1,"h2",10),e.qZA(),e.TgZ(3,"mat-card-subtitle",11),e.YNc(4,Es,2,1,"h4",12),e.qZA(),e.YNc(5,J0,1,1,"mat-divider",13),e.qZA()),2&F){const _=M.$implicit;e.xp6(2),e.Q6J("ngIf",_.indexOf("[")>=0),e.xp6(2),e.Q6J("ngIf",_.indexOf("[")<0),e.xp6(1),e.Q6J("ngIf",_.indexOf("[")<0)}}function yr(F,M){if(1&F&&(e.TgZ(0,"div",8)(1,"mat-list"),e.YNc(2,wc,6,3,"mat-list-item",9),e.qZA()()),2&F){const _=e.oxw();e.xp6(2),e.Q6J("ngForOf",_.configData)}}class Kc{constructor(M,_,Z){this.store=M,this.rtlEffects=_,this.router=Z,this.configData="",this.fileFormat="INI",this.faCog=Qi.b7W,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.dispatch((0,Jt.Q2)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,nn.R)(this.unSubs[1])).subscribe(M=>{const _=M.data;this.fileFormat=M.format,this.configData=""===_||!_||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==_&&_&&"JSON"===this.fileFormat?_:"":_.split("\n")})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}function dd(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}Kc.\u0275fac=function(M){return new(M||Kc)(e.Y36(Ri.yh),e.Y36(mr.V),e.Y36(Wn.F0))},Kc.\u0275cmp=e.Xpm({type:Kc,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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,o1,5,4,"div",2),e.YNc(3,yr,3,1,"div",3),e.qZA()()),2&M&&(e.xp6(2),e.Q6J("ngIf",""!==_.configData&&"JSON"===_.fileFormat),e.xp6(1),e.Q6J("ngIf",""!==_.configData&&("INI"===_.fileFormat||"HOCON"===_.fileFormat)))},dependencies:[Ji.sg,Ji.O5,Le.xw,Le.Wh,Le.yH,Et.$j,Ss.i$,Ss.Tg,ko.d,Ji.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});class Qc{constructor(M,_,Z){this.dialogRef=M,this.store=_,this.rtlEffects=Z,this.password="",this.isAuthenticated=!1,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,kr.q)(1)).subscribe(M=>{"ERROR"!==M?(this.isAuthenticated=!0,this.store.dispatch((0,Jt.M6)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,Jt.QO)({payload:ta(this.password)}))}onClose(){this.store.dispatch((0,Jt.M6)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}Qc.\u0275fac=function(M){return new(M||Qc)(e.Y36(Er.so),e.Y36(Ri.yh),e.Y36(mr.V))},Qc.\u0275cmp=e.Xpm({type:Qc,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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e._uU(5,"Authenticate with your RTL Password"),e.qZA()(),e.TgZ(6,"button",5),e.NdJ("click",function(){return _.onClose()}),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"form",7)(10,"mat-form-field")(11,"mat-label"),e._uU(12,"Password"),e.qZA(),e.TgZ(13,"input",8),e.NdJ("ngModelChange",function(pe){return _.password=pe}),e.qZA(),e.YNc(14,dd,2,0,"mat-error",9),e.qZA(),e.TgZ(15,"div",10)(16,"button",11),e.NdJ("click",function(){return _.onAuthenticate()}),e._uU(17,"Confirm"),e.qZA()()()()()()),2&M&&(e.xp6(13),e.Q6J("ngModel",_.password),e.xp6(1),e.Q6J("ngIf",!_.password))},dependencies:[Ji.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,Le.xw,Le.Wh,Le.yH,bi.lW,Et.dn,Et.dk,sa.Nt,Ii.KE,Ii.hX,Ii.TO,Cn.h]});const hd=function(){return{initial:!1}};function X1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",12),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.activeLink=pe.links[2].link)}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.s9C("routerLink",_.links[2].link),e.Q6J("active",_.activeLink===_.links[2].link)("state",e.DdM(4,hd)),e.xp6(1),e.Oqu(_.links[2].name)}}function fo(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.activeLink=pe.links[3].link)}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.s9C("routerLink",_.links[3].link),e.Q6J("active",_.activeLink===_.links[3].link),e.xp6(1),e.Oqu(_.links[3].name)}}function ud(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",13),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.showLnConfigClicked())}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.Q6J("active",_.activeLink===_.links[4].link),e.xp6(1),e.Oqu(_.links[4].name)}}class Ts{constructor(M,_,Z,pe){this.store=M,this.router=_,this.rtlEffects=Z,this.activatedRoute=pe,this.faTools=Qi.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 Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){const M=this.links.find(_=>this.router.url.includes(_.link));this.activeLink=M?M.link:this.links[0].link,this.router.events.pipe((0,nn.R)(this.unSubs[0]),(0,Cr.h)(_=>_ instanceof Wn.Av)).subscribe({next:_=>{const Z=this.links.find(pe=>_.urlAfterRedirects.includes(pe.link));this.activeLink=Z?Z.link:this.links[0].link}}),this.store.select(Oe.Yj).pipe((0,nn.R)(this.unSubs[1])).subscribe(_=>{this.appConfig=_}),this.store.select(Oe.dT).pipe((0,nn.R)(this.unSubs[2])).subscribe(_=>{switch(this.showLnConfig=!1,this.selNode=_,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,Jt.qR)({payload:{maxWidth:"50rem",data:{component:Qc}}})),this.rtlEffects.closeAlert.pipe((0,nn.R)(this.unSubs[3])).subscribe(M=>{M&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))}))}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}function Xo(F,M){1&F&&e._UZ(0,"mat-divider",7)}function Vu(F,M){if(1&F&&(e.TgZ(0,"div",4)(1,"pre",5),e._uU(2),e.ALo(3,"json"),e.qZA(),e.YNc(4,Xo,1,0,"mat-divider",6),e.qZA()),2&F){const _=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,2,_.configData)),e.xp6(2),e.Q6J("ngIf",""!==_.configData)}}function me(F,M){if(1&F&&(e.TgZ(0,"h2"),e._uU(1),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_)}}function we(F,M){if(1&F&&(e.TgZ(0,"h4",14),e._uU(1),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_)}}function re(F,M){1&F&&e._UZ(0,"mat-divider",15),2&F&&e.Q6J("inset",!0)}function ze(F,M){if(1&F&&(e.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),e.YNc(2,me,2,1,"h2",10),e.qZA(),e.TgZ(3,"mat-card-subtitle",11),e.YNc(4,we,2,1,"h4",12),e.qZA(),e.YNc(5,re,1,1,"mat-divider",13),e.qZA()),2&F){const _=M.$implicit;e.xp6(2),e.Q6J("ngIf",_.indexOf("[")>=0),e.xp6(2),e.Q6J("ngIf",_.indexOf("[")<0),e.xp6(1),e.Q6J("ngIf",_.indexOf("[")<0)}}function lt(F,M){if(1&F&&(e.TgZ(0,"div",8)(1,"mat-list"),e.YNc(2,ze,6,3,"mat-list-item",9),e.qZA()()),2&F){const _=e.oxw();e.xp6(2),e.Q6J("ngForOf",_.configData)}}Ts.\u0275fac=function(M){return new(M||Ts)(e.Y36(Ri.yh),e.Y36(Wn.F0),e.Y36(mr.V),e.Y36(Wn.gz))},Ts.\u0275cmp=e.Xpm({type:Ts,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"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["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"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","click"]],template:function(M,_){if(1&M&&(e.TgZ(0,"div",0),e._UZ(1,"fa-icon",1),e.TgZ(2,"span",2),e._uU(3,"Node Config"),e.qZA()(),e.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5)(8,"div",6),e.NdJ("click",function(){return _.activeLink=_.links[0].link}),e._uU(9),e.qZA(),e.TgZ(10,"div",6),e.NdJ("click",function(){return _.activeLink=_.links[1].link}),e._uU(11),e.qZA(),e.YNc(12,X1,2,5,"div",7),e.YNc(13,fo,2,3,"div",8),e.YNc(14,ud,2,2,"div",9),e.qZA(),e._UZ(15,"mat-tab-nav-panel",null,10),e.TgZ(17,"div",11),e._UZ(18,"router-outlet"),e.qZA()()()()),2&M){const Z=e.MAs(16);e.xp6(1),e.Q6J("icon",_.faTools),e.xp6(6),e.Q6J("tabPanel",Z),e.xp6(1),e.s9C("routerLink",_.links[0].link),e.Q6J("active",_.activeLink===_.links[0].link),e.xp6(1),e.Oqu(_.links[0].name),e.xp6(1),e.s9C("routerLink",_.links[1].link),e.Q6J("active",_.activeLink===_.links[1].link),e.xp6(1),e.Oqu(_.links[1].name),e.xp6(1),e.Q6J("ngIf","LND"===(null==_.selNode||null==_.selNode.lnImplementation?null:_.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf","CLN"===(null==_.selNode||null==_.selNode.lnImplementation?null:_.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf",_.showLnConfig)}},dependencies:[Ji.O5,mt.BN,Le.xw,Le.Wh,Le.yH,Et.a8,Et.dn,ri.BU,ri.sW,ri.Nj,Wn.lC,Wn.rH]});class At{constructor(M,_,Z){this.store=M,this.rtlEffects=_,this.router=Z,this.configData="",this.fileFormat="INI",this.faCog=Qi.b7W,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.dispatch((0,Jt.Q2)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,nn.R)(this.unSubs[1])).subscribe(M=>{const _=M.data;this.fileFormat=M.format,this.configData=""===_||!_||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==_&&_&&"JSON"===this.fileFormat?_:"":_.split("\n")})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}At.\u0275fac=function(M){return new(M||At)(e.Y36(Ri.yh),e.Y36(mr.V),e.Y36(Wn.F0))},At.\u0275cmp=e.Xpm({type:At,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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,Vu,5,4,"div",2),e.YNc(3,lt,3,1,"div",3),e.qZA()()),2&M&&(e.xp6(2),e.Q6J("ngIf",""!==_.configData&&"JSON"===_.fileFormat),e.xp6(1),e.Q6J("ngIf",""!==_.configData&&("INI"===_.fileFormat||"HOCON"===_.fileFormat)))},dependencies:[Ji.sg,Ji.O5,Le.xw,Le.Wh,Le.yH,Et.$j,Ss.i$,Ss.Tg,ko.d,Ji.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});var kt=m(2994),ci=m(429),Ti=m(6523),en=m(62),an=m(5829),Ln=m(752),Tr=m(1948),pr=m(455);function Aa(F,M){if(1&F&&(e.TgZ(0,"mat-option",35),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.Q6J("value",_.id),e.xp6(1),e.hij(" ",_.id," ")}}function Ya(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Currency unit is required."),e.qZA())}function wr(F,M){if(1&F&&(e.TgZ(0,"mat-radio-button",36),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.Q6J("value",_)("checked",Z.selNode.settings.userPersona===_),e.xp6(1),e.hij(" ",e.lcZ(2,3,_)," ")}}function oa(F,M){if(1&F&&(e.TgZ(0,"mat-radio-button",37),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.Q6J("value",_),e.xp6(1),e.hij("",_.name," ")}}const qc=function(F){return{skin:!0,"selected-color":F}};function kl(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"span",38)(1,"div",39),e.NdJ("click",function(){const gt=e.CHM(_).$implicit,Wt=e.oxw();return e.KtG(Wt.changeThemeColor(gt.id))}),e.ALo(2,"lowercase"),e.qZA(),e._uU(3),e.qZA()}if(2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Tol(e.lcZ(2,4,_.id)),e.Q6J("ngClass",e.VKq(6,qc,Z.selectedThemeColor===_.id)),e.xp6(2),e.hij(" ",_.name," ")}}class $o{constructor(M,_,Z){this.logger=M,this.commonService=_,this.store=Z,this.faExclamationTriangle=Qi.eHv,this.faMoneyBillAlt=Qi.co4,this.faPaintBrush=Qi.XsY,this.faInfoCircle=Qi.sqG,this.faEyeSlash=Qi.Aq,this.userPersonas=[Qe.ol.OPERATOR,Qe.ol.MERCHANT],this.currencyUnits=Qe.Er,this.themeModes=Qe.wZ.modes,this.themeColors=Qe.wZ.themes,this.selectedThemeMode=Qe.wZ.modes[0],this.selectedThemeColor=Qe.wZ.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=Qe.cu,this.unSubs=[new Bi.x,new Bi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Oe.dT).pipe((0,nn.R)(this.unSubs[0])).subscribe(M=>{this.selNode=M,this.selectedThemeMode=this.themeModes.find(_=>this.selNode.settings.themeMode===_.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(M)})}onCurrencyChange(M){this.selNode.settings.currencyUnits=[...Qe.uA,M.value],this.store.dispatch((0,Ti.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:M.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,ci.oo)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:M.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,kt.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:M.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(M,_){this.selNode.settings[M]=!this.selNode.settings[M]}changeThemeColor(M){this.selectedThemeColor=M,this.selNode.settings.themeColor=M}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,Jt.zQ)({payload:{uiMessage:Qe.m6.UPDATE_NODE_SETTINGS,settings:this.selNode.settings}})),this.store.dispatch((0,Ti.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,ci.oo)({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,kt.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 M=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(_=>_.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,Jt.fk)({payload:{uiMessage:Qe.m6.NO_SPINNER,prevLnNodeIndex:+M,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(),M.complete()})}}$o.\u0275fac=function(M){return new(M||$o)(e.Y36(li.mQ),e.Y36(en.v),e.Y36(Ri.yh))},$o.\u0275cmp=e.Xpm({type:$o,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(M,_){1&M&&(e.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"),e._UZ(7,"fa-icon",5),e.TgZ(8,"span",6),e._uU(9,"Open Unannounced Channels"),e.qZA()()(),e.TgZ(10,"div",7)(11,"div",8),e._UZ(12,"fa-icon",9),e.TgZ(13,"span"),e._uU(14,"Use this control to toggle setting which defaults to opening unannounced channels only."),e.qZA()(),e.TgZ(15,"div",10)(16,"mat-slide-toggle",11),e.NdJ("ngModelChange",function(pe){return _.selNode.settings.unannouncedChannels=pe})("change",function(){return!_.selNode.settings.unannouncedChannels}),e._uU(17,"Open Unannounced Channels"),e.qZA()()()(),e.TgZ(18,"mat-expansion-panel",4)(19,"mat-expansion-panel-header")(20,"mat-panel-title"),e._UZ(21,"fa-icon",5),e.TgZ(22,"span",6),e._uU(23,"Balance Display"),e.qZA()()(),e.TgZ(24,"div",7)(25,"div",12),e._UZ(26,"fa-icon",9),e.TgZ(27,"span"),e._uU(28,"Fiat conversion calls "),e.TgZ(29,"strong")(30,"a",13),e._uU(31,"Blockchain.com"),e.qZA()(),e._uU(32," API to get conversion rates."),e.qZA()(),e.TgZ(33,"div",10)(34,"mat-slide-toggle",14),e.NdJ("ngModelChange",function(pe){return _.selNode.settings.fiatConversion=pe})("change",function(){return!_.selNode.settings.currencyUnit}),e._uU(35,"Enable Fiat Conversion"),e.qZA(),e.TgZ(36,"mat-form-field")(37,"mat-label"),e._uU(38,"Fiat Currency"),e.qZA(),e.TgZ(39,"mat-select",15,16),e.NdJ("ngModelChange",function(pe){return _.selNode.settings.currencyUnit=pe})("selectionChange",function(pe){return _.onCurrencyChange(pe)}),e.YNc(41,Aa,2,2,"mat-option",17),e.qZA(),e.YNc(42,Ya,2,0,"mat-error",18),e.qZA()()()(),e.TgZ(43,"mat-expansion-panel",4)(44,"mat-expansion-panel-header")(45,"mat-panel-title"),e._UZ(46,"fa-icon",5),e.TgZ(47,"span",6),e._uU(48,"Customization"),e.qZA()()(),e.TgZ(49,"div",7)(50,"div",19),e._UZ(51,"fa-icon",9),e.TgZ(52,"span"),e._uU(53,"Dashboard layout will be tailored based on the role selected to better serve its needs."),e.qZA()(),e.TgZ(54,"div",20)(55,"h4"),e._uU(56,"Dashboard Layout"),e.qZA(),e.TgZ(57,"mat-radio-group",21),e.NdJ("ngModelChange",function(pe){return _.selNode.settings.userPersona=pe}),e.YNc(58,wr,3,5,"mat-radio-button",22),e.qZA()(),e._UZ(59,"mat-divider",23),e.TgZ(60,"div",24)(61,"h4"),e._uU(62,"Mode"),e.qZA(),e.TgZ(63,"mat-radio-group",25),e.NdJ("ngModelChange",function(pe){return _.selectedThemeMode=pe})("change",function(){return _.chooseThemeMode()}),e.YNc(64,oa,2,2,"mat-radio-button",26),e.qZA()(),e._UZ(65,"mat-divider",23),e.TgZ(66,"div",27)(67,"div",28)(68,"h4"),e._uU(69,"Themes"),e.qZA(),e.TgZ(70,"div",29),e.YNc(71,kl,4,8,"span",30),e.qZA()()()()()()(),e.TgZ(72,"div",31)(73,"div",32)(74,"button",33),e.NdJ("click",function(){return _.onResetSettings()}),e._uU(75,"Reset"),e.qZA(),e.TgZ(76,"button",34),e.NdJ("click",function(){return _.onUpdateSettings()}),e._uU(77,"Update"),e.qZA()()()()),2&M&&(e.xp6(7),e.Q6J("icon",_.faEyeSlash),e.xp6(5),e.Q6J("icon",_.faInfoCircle),e.xp6(4),e.Q6J("ngModel",_.selNode.settings.unannouncedChannels),e.xp6(5),e.Q6J("icon",_.faMoneyBillAlt),e.xp6(5),e.Q6J("icon",_.faExclamationTriangle),e.xp6(8),e.Q6J("ngModel",_.selNode.settings.fiatConversion),e.xp6(5),e.Q6J("disabled",!_.selNode.settings.fiatConversion)("required",_.selNode.settings.fiatConversion)("ngModel",_.selNode.settings.currencyUnit),e.xp6(2),e.Q6J("ngForOf",_.currencyUnits),e.xp6(1),e.Q6J("ngIf",_.selNode.settings.fiatConversion&&!_.selNode.settings.currencyUnit),e.xp6(4),e.Q6J("icon",_.faPaintBrush),e.xp6(5),e.Q6J("icon",_.faInfoCircle),e.xp6(6),e.Q6J("ngModel",_.selNode.settings.userPersona),e.xp6(1),e.Q6J("ngForOf",_.userPersonas),e.xp6(5),e.Q6J("ngModel",_.selectedThemeMode),e.xp6(1),e.Q6J("ngForOf",_.themeModes),e.xp6(7),e.Q6J("ngForOf",_.themeColors))},dependencies:[Ji.mk,Ji.sg,Ji.O5,ii._Y,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,mt.BN,Le.xw,Le.Wh,Le.yH,an.oO,bi.lW,Ln.pp,Ln.ib,Ln.yz,Ln.yK,Ii.KE,Ii.hX,Ii.TO,ko.d,Tr.VQ,Tr.U0,ji.gD,rn.ey,pr.Rr,ln.$V,Cn.h,Ji.i8,Ji.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}"]});var Jc=m(1365),$1=m(9828),Zs=m(6529),Ol=m(2501),mo=m(7392),Xc=m(266),ec=m(9445);const Mc=function(F){return{error:F}};function tc(F,M){if(1&F&&e.GkF(0,14),2&F){const _=e.oxw(),Z=e.MAs(18);e.Q6J("ngTemplateOutlet",Z)("ngTemplateOutletContext",e.VKq(2,Mc,_.errorMessage))}}function X0(F,M){if(1&F&&(e.TgZ(0,"mat-option",31),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",_," ")}}function fd(F,M){if(1&F&&(e.TgZ(0,"mat-option",31),e._uU(1),e.ALo(2,"camelCaseWithSpaces"),e.ALo(3,"camelcaseWithReplace"),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw(3);e.Q6J("value",_),e.xp6(1),e.hij(" ","ECL"===Z.selNode.lnImplementation?e.lcZ(2,2,_):e.xi3(3,4,_,"_")," ")}}function Sc(F,M){if(1&F&&(e.TgZ(0,"mat-option",31),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ","desc"===_?"Descending":"Ascending"," ")}}function l1(F,M){if(1&F&&(e.TgZ(0,"mat-option",34),e._uU(1),e.ALo(2,"camelCaseWithSpaces"),e.ALo(3,"camelcaseWithReplace"),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw(2).$implicit,pe=e.oxw(2);e.Q6J("value",_.column)("disabled",Z.columnSelection.length<=2&&Z.columnSelection.includes(_.column)),e.xp6(1),e.hij(" ",_.label?_.label:"ECL"===pe.selNode.lnImplementation?e.lcZ(2,3,_.column):e.xi3(3,5,_.column,"_")," ")}}function $0(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-form-field",32)(1,"mat-label"),e._uU(2,"Column selection (Desktop Resolution)"),e.qZA(),e.TgZ(3,"mat-select",33),e.NdJ("ngModelChange",function(pe){e.CHM(_);const gt=e.oxw().$implicit;return e.KtG(gt.columnSelection=pe)})("selectionChange",function(){e.CHM(_);const pe=e.oxw().$implicit,gt=e.oxw(2);return e.KtG(gt.oncolumnSelectionChange(pe))}),e.YNc(4,l1,4,8,"mat-option",28),e.qZA()()}if(2&F){const _=e.oxw().$implicit,Z=e.oxw().$implicit,pe=e.oxw();e.xp6(3),e.hYB("name","",Z.pageId,"",_.tableId,"-columns-selection"),e.Q6J("ngModel",_.columnSelection),e.xp6(1),e.Q6J("ngForOf",pe.nodePageDefs[Z.pageId][_.tableId].allowedColumns)}}function md(F,M){if(1&F&&(e.TgZ(0,"mat-option",34),e._uU(1),e.ALo(2,"camelCaseWithSpaces"),e.ALo(3,"camelcaseWithReplace"),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw().$implicit,pe=e.oxw(2);e.Q6J("value",_.column)("disabled",Z.columnSelectionSM.length<=1&&Z.columnSelectionSM.includes(_.column)||Z.columnSelectionSM.length>=3&&!Z.columnSelectionSM.includes(_.column)),e.xp6(1),e.hij(" ",_.label?_.label:"ECL"===pe.selNode.lnImplementation?e.lcZ(2,3,_.column):e.xi3(3,5,_.column,"_")," ")}}const Bu=function(F){return{"ml-minus-1":F}};function $c(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",17)(1,"div",18)(2,"span",19),e._uU(3),e.ALo(4,"camelcaseWithReplace"),e.qZA(),e.TgZ(5,"mat-form-field",20)(6,"mat-label"),e._uU(7,"Records/Page"),e.qZA(),e.TgZ(8,"mat-select",21),e.NdJ("ngModelChange",function(pe){const Wt=e.CHM(_).$implicit;return e.KtG(Wt.recordsPerPage=pe)}),e.YNc(9,X0,2,2,"mat-option",22),e.qZA()(),e.TgZ(10,"mat-form-field",20)(11,"mat-label"),e._uU(12,"Sort By"),e.qZA(),e.TgZ(13,"mat-select",23),e.NdJ("ngModelChange",function(pe){const Wt=e.CHM(_).$implicit;return e.KtG(Wt.sortBy=pe)}),e.YNc(14,fd,4,7,"mat-option",22),e.qZA()(),e.TgZ(15,"mat-form-field",20)(16,"mat-label"),e._uU(17,"Sort Order"),e.qZA(),e.TgZ(18,"mat-select",24),e.NdJ("ngModelChange",function(pe){const Wt=e.CHM(_).$implicit;return e.KtG(Wt.sortOrder=pe)}),e.YNc(19,Sc,2,2,"mat-option",22),e.qZA()(),e.YNc(20,$0,5,4,"mat-form-field",25),e.TgZ(21,"mat-form-field",26)(22,"mat-label"),e._uU(23,"Column Selection (Mobile Resolution)"),e.qZA(),e.TgZ(24,"mat-select",27),e.NdJ("ngModelChange",function(pe){const Wt=e.CHM(_).$implicit;return e.KtG(Wt.columnSelectionSM=pe)}),e.YNc(25,md,4,8,"mat-option",28),e.qZA()(),e.TgZ(26,"button",29),e.NdJ("click",function(){const gt=e.CHM(_).$implicit,Wt=e.oxw().$implicit,ei=e.oxw();return e.KtG(ei.onTableReset(Wt.pageId,gt))}),e.TgZ(27,"mat-icon",30),e._uU(28,"restore"),e.qZA()()()()}if(2&F){const _=M.$implicit,Z=e.oxw().$implicit,pe=e.oxw();e.xp6(3),e.hij("",e.xi3(4,20,_.tableId,"_"),":"),e.xp6(5),e.hYB("name","",Z.pageId,"",_.tableId,"-page-size-options"),e.Q6J("disabled",pe.nodePageDefs[Z.pageId][_.tableId].disablePageSize)("ngModel",_.recordsPerPage),e.xp6(1),e.Q6J("ngForOf",pe.pageSizeOptions),e.xp6(4),e.hYB("name","",Z.pageId,"",_.tableId,"-sort-by"),e.Q6J("ngModel",_.sortBy),e.xp6(1),e.Q6J("ngForOf",_.columnSelection),e.xp6(4),e.hYB("name","",Z.pageId,"",_.tableId,"-sort-order"),e.Q6J("ngModel",_.sortOrder),e.xp6(1),e.Q6J("ngForOf",pe.sortOrders),e.xp6(1),e.Q6J("ngIf",pe.screenSize!==pe.screenSizeEnum.XS),e.xp6(4),e.hYB("name","",Z.pageId,"",_.tableId,"-columns-selection-sm"),e.Q6J("ngModel",_.columnSelectionSM),e.xp6(1),e.Q6J("ngForOf",pe.nodePageDefs[Z.pageId][_.tableId].allowedColumns),e.xp6(2),e.Q6J("ngClass",e.VKq(23,Bu,pe.screenSize===pe.screenSizeEnum.XS||pe.screenSize===pe.screenSizeEnum.SM))}}function Ec(F,M){if(1&F&&e.GkF(0,14),2&F){const _=e.oxw(2),Z=e.MAs(18);e.Q6J("ngTemplateOutlet",Z)("ngTemplateOutletContext",e.VKq(2,Mc,_.errorMessage))}}const e2=function(F){return{"error-border":F}};function pd(F,M){if(1&F&&(e.TgZ(0,"mat-expansion-panel",15)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),e._uU(3),e.ALo(4,"camelcaseWithReplace"),e.qZA()(),e.YNc(5,$c,29,25,"div",16),e.YNc(6,Ec,1,4,"ng-container",6),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.Q6J("ngClass",e.VKq(7,e2,(null==Z.errorMessage?null:Z.errorMessage.page)===_.pageId)),e.xp6(3),e.Oqu(e.xi3(4,4,_.pageId,"_")),e.xp6(2),e.Q6J("ngForOf",_.tables),e.xp6(1),e.Q6J("ngIf",Z.errorMessage&&(null==Z.errorMessage?null:Z.errorMessage.page)===_.pageId)}}function gd(F,M){if(1&F&&(e.TgZ(0,"mat-panel-title"),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&F){const _=e.oxw().error;e.xp6(1),e.hij("Page ",e.lcZ(2,1,_.page),"")}}function t2(F,M){if(1&F&&(e.TgZ(0,"mat-list-item")(1,"mat-icon",39),e._uU(2,"close"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.qZA()()),2&F){const _=e.oxw().error;e.xp6(4),e.Oqu(_.message)}}function _d(F,M){if(1&F&&(e.TgZ(0,"mat-list-item")(1,"mat-icon",39),e._uU(2,"close"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"titlecase"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(4),e.AsE("Table ",e.lcZ(5,2,_.table)," ",_.message,"")}}const n2=function(F){return{"error-border p-2":F}};function eh(F,M){if(1&F&&(e.TgZ(0,"div",35),e.YNc(1,gd,3,3,"mat-panel-title",36),e.TgZ(2,"mat-list",37),e.YNc(3,t2,5,1,"mat-list-item",36),e.YNc(4,_d,6,4,"mat-list-item",38),e.qZA()()),2&F){const _=M.error,Z=e.oxw();e.Q6J("ngClass",e.VKq(4,n2,"unknown"===Z.errorMessage.page)),e.xp6(1),e.Q6J("ngIf","unknown"===Z.errorMessage.page),e.xp6(2),e.Q6J("ngIf",_.message),e.xp6(1),e.Q6J("ngForOf",_.tables)}}class el{constructor(M,_,Z,pe){this.logger=M,this.commonService=_,this.store=Z,this.actions=pe,this.faPenRuler=Qi.SoD,this.faExclamationTriangle=Qi.eHv,this.screenSize="",this.screenSizeEnum=Qe.cu,this.pageSizeOptions=Qe.TJ,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=Qe.zZ,this.apiCallStatus=null,this.apiCallStatusEnum=Qe.Bn,this.errorMessage=null,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Oe.dT).pipe((0,nn.R)(this.unSubs[0])).subscribe(M=>{switch(this.selNode=M,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],Qe.gG),this.defaultSettings=Object.assign([],Qe.gG),this.nodePageDefs=Qe.At,this.store.select($1.AS).pipe((0,nn.R)(this.unSubs[1]),(0,Jc.M)(this.store.select($1.lw))).subscribe(([_,Z])=>{const pe=JSON.parse(JSON.stringify(_.pageSettings));if(this.errorMessage=null,this.apiCallStatus=_.apiCallStatus,this.apiCallStatus.status===Qe.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=pe,this.initialPageSettings=pe;else{if(!Z?.enableOffers){const gt=pe.find(fi=>"transactions"===fi.pageId),Wt=gt?.tables.findIndex(fi=>"offers"===fi.tableId),ei=gt?.tables.findIndex(fi=>"offer_bookmarks"===fi.tableId);Wt>-1&>?.tables.splice(Wt,1),ei>-1&>?.tables.splice(ei,1)}if(!Z?.enablePeerswap){const gt=pe.findIndex(Wt=>"peerswap"===Wt.pageId);gt>-1&&pe.splice(gt,1)}this.pageSettings=pe,this.initialPageSettings=pe}this.logger.info(pe)}),this.actions.pipe((0,nn.R)(this.unSubs[2]),(0,Cr.h)(_=>_.type===Qe.AB.UPDATE_API_CALL_STATUS_CLN||_.type===Qe.AB.SAVE_PAGE_SETTINGS_CLN)).subscribe(_=>{_.type===Qe.AB.UPDATE_API_CALL_STATUS_CLN&&_.payload.status===Qe.Bn.ERROR&&"SavePageSettings"===_.payload.action&&(this.errorMessage=JSON.parse(_.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],Qe.c3),this.defaultSettings=Object.assign([],Qe.c3),this.nodePageDefs=Qe.Xk,this.store.select(Ol.nF).pipe((0,nn.R)(this.unSubs[1]),(0,Jc.M)(this.store.select(Ol.LR))).subscribe(([_,Z])=>{const pe=JSON.parse(JSON.stringify(_.pageSettings));this.errorMessage=null,this.apiCallStatus=_.apiCallStatus,this.apiCallStatus.status===Qe.Bn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=pe,this.initialPageSettings=pe):(this.pageSettings=pe,this.initialPageSettings=pe),this.logger.info(pe)}),this.actions.pipe((0,nn.R)(this.unSubs[2]),(0,Cr.h)(_=>_.type===Qe.lr.UPDATE_API_CALL_STATUS_ECL||_.type===Qe.lr.SAVE_PAGE_SETTINGS_ECL)).subscribe(_=>{_.type===Qe.lr.UPDATE_API_CALL_STATUS_ECL&&_.payload.status===Qe.Bn.ERROR&&"SavePageSettings"===_.payload.action&&(this.errorMessage=JSON.parse(_.payload.message))});break;default:this.initialPageSettings=Object.assign([],Qe.gK),this.defaultSettings=Object.assign([],Qe.gK),this.nodePageDefs=Qe.hG,this.store.select(Zs.Pr).pipe((0,nn.R)(this.unSubs[1]),(0,Jc.M)(this.store.select(Zs.$k))).subscribe(([_,Z])=>{const pe=JSON.parse(JSON.stringify(_.pageSettings));if(this.errorMessage=null,this.apiCallStatus=_.apiCallStatus,this.apiCallStatus.status===Qe.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=pe,this.initialPageSettings=pe;else{if(!Z?.swapServerUrl||""===Z.swapServerUrl.trim()){const gt=pe.findIndex(Wt=>"loop"===Wt.pageId);gt>-1&&pe.splice(gt,1)}if(!Z?.boltzServerUrl||""===Z.boltzServerUrl.trim()){const gt=pe.findIndex(Wt=>"boltz"===Wt.pageId);gt>-1&&pe.splice(gt,1)}if(!Z?.enablePeerswap){const gt=pe.findIndex(Wt=>"peerswap"===Wt.pageId);gt>-1&&pe.splice(gt,1)}this.pageSettings=pe,this.initialPageSettings=pe}this.logger.info(pe)}),this.actions.pipe((0,nn.R)(this.unSubs[2]),(0,Cr.h)(_=>_.type===Qe.uR.UPDATE_API_CALL_STATUS_LND||_.type===Qe.uR.SAVE_PAGE_SETTINGS_LND)).subscribe(_=>{_.type===Qe.uR.UPDATE_API_CALL_STATUS_LND&&_.payload.status===Qe.Bn.ERROR&&"SavePageSettings"===_.payload.action&&(this.errorMessage=JSON.parse(_.payload.message))})}})}oncolumnSelectionChange(M){M.columnSelection&&(!M.sortBy||!M.columnSelection.includes(M.sortBy))&&(M.sortBy=M.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((M,_)=>M||_.tables.reduce((Z,pe)=>!(pe.recordsPerPage&&pe.sortBy&&pe.sortOrder&&pe.columnSelection&&pe.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,ci.eF)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,kt.eF)({payload:this.pageSettings}));break;default:this.store.dispatch((0,Ti.eF)({payload:this.pageSettings}))}}onTableReset(M,_){const Z=this.pageSettings.findIndex(Wt=>Wt.pageId===M),pe=this.pageSettings[Z].tables.findIndex(Wt=>Wt.tableId===_.tableId),gt=this.defaultSettings.find(Wt=>Wt.pageId===M)?.tables.find(Wt=>Wt.tableId===_.tableId)||this.pageSettings.find(Wt=>Wt.pageId===M)?.tables.find(Wt=>Wt.tableId===_.tableId);this.pageSettings[Z].tables.splice(pe,1,gt)}onResetPageSettings(M){"current"===M?(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(M=>{M.next(),M.complete()})}}function tl(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",10),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.activeLink=pe.links[0].link)}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.s9C("routerLink",_.links[0].link),e.Q6J("active",_.activeLink===_.links[0].link),e.xp6(1),e.Oqu(_.links[0].name)}}el.\u0275fac=function(M){return new(M||el)(e.Y36(li.mQ),e.Y36(en.v),e.Y36(Ri.yh),e.Y36(is.eX))},el.\u0275cmp=e.Xpm({type:el,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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"form",1,2)(3,"div",3),e._UZ(4,"fa-icon",4),e.TgZ(5,"span",5),e._uU(6,"Grid Settings"),e.qZA()(),e.YNc(7,tc,1,4,"ng-container",6),e.TgZ(8,"mat-accordion",7),e.YNc(9,pd,7,9,"mat-expansion-panel",8),e.qZA()(),e.TgZ(10,"div",9)(11,"button",10),e.NdJ("click",function(){return _.onResetPageSettings("current")}),e._uU(12,"Reset"),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){return _.onResetPageSettings("default")}),e._uU(14,"Reset to Default"),e.qZA(),e.TgZ(15,"button",12),e.NdJ("click",function(){return _.onUpdatePageSettings()}),e._uU(16,"Save"),e.qZA()()(),e.YNc(17,eh,5,6,"ng-template",null,13,e.W1O)),2&M&&(e.xp6(4),e.Q6J("icon",_.faPenRuler),e.xp6(3),e.Q6J("ngIf",_.errorMessage&&"unknown"===_.errorMessage.page),e.xp6(2),e.Q6J("ngForOf",_.pageSettings))},dependencies:[Ji.mk,Ji.sg,Ji.O5,Ji.tP,ii._Y,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,mt.BN,Le.xw,Le.Wh,Le.yH,an.oO,bi.lW,bi.RK,Ln.pp,Ln.ib,Ln.yz,Ln.yK,mo.Hw,Ii.KE,Ii.hX,Ss.i$,Ss.Tg,ji.gD,rn.ey,Xc.gM,ln.$V,Ji.rS,ec.D3,ec.i1],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]});const po=function(){return{initial:!1}};function As(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",11),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.activeLink=pe.links[1].link)}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.s9C("routerLink",_.links[1].link),e.Q6J("active",_.activeLink===_.links[1].link)("state",e.DdM(4,po)),e.xp6(1),e.Oqu(_.links[1].name)}}function go(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",10),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.activeLink=pe.links[2].link)}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.s9C("routerLink",_.links[2].link),e.Q6J("active",_.activeLink===_.links[2].link),e.xp6(1),e.Oqu(_.links[2].name)}}class Js{constructor(M,_,Z){this.store=M,this.router=_,this.activatedRoute=Z,this.faLayerGroup=Qi.Krp,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"peerswap",name:"Peerswap"}],this.activeLink="",this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){const M=this.links.find(_=>this.router.url.includes(_.link));this.activeLink=M?M.link:this.links[0].link,this.router.events.pipe((0,nn.R)(this.unSubs[0]),(0,Cr.h)(_=>_ instanceof Wn.Av)).subscribe({next:_=>{const Z=this.links.find(pe=>_.urlAfterRedirects.includes(pe.link));this.activeLink="CLN"===this.selNode.lnImplementation.toUpperCase()?this.links[2].link:Z?Z.link:this.links[0].link}}),this.store.select(Oe.dT).pipe((0,nn.R)(this.unSubs[1])).subscribe(_=>{this.selNode=_,"CLN"===this.selNode.lnImplementation.toUpperCase()&&(this.activeLink=this.links[2].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}Js.\u0275fac=function(M){return new(M||Js)(e.Y36(Ri.yh),e.Y36(Wn.F0),e.Y36(Wn.gz))},Js.\u0275cmp=e.Xpm({type:Js,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"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"]],template:function(M,_){if(1&M&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"fa-icon",2),e.TgZ(3,"span",3),e._uU(4,"Services"),e.qZA()()(),e.TgZ(5,"div",4)(6,"mat-card")(7,"mat-card-content",4)(8,"nav",5),e.YNc(9,tl,2,3,"div",6),e.YNc(10,As,2,5,"div",7),e.YNc(11,go,2,3,"div",6),e.qZA(),e._UZ(12,"mat-tab-nav-panel",null,8),e.TgZ(14,"div",9),e._UZ(15,"router-outlet"),e.qZA()()()()),2&M){const Z=e.MAs(13);e.xp6(2),e.Q6J("icon",_.faLayerGroup),e.xp6(6),e.Q6J("tabPanel",Z),e.xp6(1),e.Q6J("ngIf","LND"===(null==_.selNode||null==_.selNode.lnImplementation?null:_.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf","LND"===(null==_.selNode||null==_.selNode.lnImplementation?null:_.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf","CLN"===(null==_.selNode||null==_.selNode.lnImplementation?null:_.selNode.lnImplementation.toUpperCase()))}},dependencies:[Ji.O5,mt.BN,Le.xw,Le.Wh,Le.yH,Et.a8,Et.dn,ri.BU,ri.sW,ri.Nj,Wn.lC,Wn.rH]});const d1=["form"];function th(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Loop server URL is required."),e.qZA())}function r2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Specify the loop server url with 'https://'."),e.qZA())}function a2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Loop macaroon path is required."),e.qZA())}class Oo{constructor(M,_){this.logger=M,this.store=_,this.faInfoCircle=Qi.sqG,this.enableLoop=!1,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.select(Oe.dT).pipe((0,nn.R)(this.unSubs[0])).subscribe(M=>{this.selNode=M,this.enableLoop=!(!M.settings.swapServerUrl||""===M.settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(M)})}onEnableServiceChanged(M){this.enableLoop=M.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,Jt.jS)({payload:{uiMessage:Qe.m6.UPDATE_LOOP_SETTINGS,service:Qe.JX.LOOP,settings:{enable:this.enableLoop,serverUrl:this.selNode.settings.swapServerUrl,macaroonPath:this.selNode.authentication.swapMacaroonPath}}})),this.store.dispatch((0,Ti.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,ci.oo)({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,kt.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(M=>{M.next(),M.complete()})}}Oo.\u0275fac=function(M){return new(M||Oo)(e.Y36(li.mQ),e.Y36(Ri.yh))},Oo.\u0275cmp=e.Xpm({type:Oo,selectors:[["rtl-loop-service-settings"]],viewQuery:function(M,_){if(1&M&&e.Gf(d1,7),2&M){let Z;e.iGM(Z=e.CRH())&&(_.form=Z.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(M,_){if(1&M&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"fa-icon",2),e.TgZ(3,"span"),e._uU(4,"Please ensure that "),e.TgZ(5,"strong"),e._uU(6,"loopd"),e.qZA(),e._uU(7," is running and accessible to RTL before enabling this service. Click "),e.TgZ(8,"strong")(9,"a",3),e._uU(10,"here"),e.qZA()(),e._uU(11," to learn more about the installation."),e.qZA()(),e.TgZ(12,"form",4,5)(14,"div",6)(15,"mat-slide-toggle",7),e.NdJ("ngModelChange",function(pe){return _.enableLoop=pe})("change",function(pe){return _.onEnableServiceChanged(pe)}),e._uU(16,"Enable Loop Service"),e.qZA(),e.TgZ(17,"mat-form-field",8)(18,"mat-label"),e._uU(19,"Loop Server URL"),e.qZA(),e.TgZ(20,"input",9,10),e.NdJ("ngModelChange",function(pe){return _.selNode.settings.swapServerUrl=pe}),e.qZA(),e.TgZ(22,"mat-hint"),e._uU(23,"Service url for loop server REST APIs, eg. https://127.0.0.1:8081"),e.qZA(),e.YNc(24,th,2,0,"mat-error",11),e.YNc(25,r2,2,0,"mat-error",11),e.qZA(),e.TgZ(26,"mat-form-field")(27,"mat-label"),e._uU(28,"Loop Macaroon Path"),e.qZA(),e.TgZ(29,"input",12),e.NdJ("ngModelChange",function(pe){return _.selNode.authentication.swapMacaroonPath=pe}),e.qZA(),e.TgZ(30,"mat-hint"),e._uU(31,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),e.qZA(),e.YNc(32,a2,2,0,"mat-error",11),e.qZA()()(),e.TgZ(33,"div",13)(34,"button",14),e.NdJ("click",function(){return _.onReset()}),e._uU(35,"Reset"),e.qZA(),e.TgZ(36,"button",15),e.NdJ("click",function(){return _.onUpdateService()}),e._uU(37,"Update"),e.qZA()()()),2&M){const Z=e.MAs(21);e.xp6(2),e.Q6J("icon",_.faInfoCircle),e.xp6(13),e.Q6J("ngModel",_.enableLoop),e.xp6(5),e.Q6J("required",_.enableLoop)("disabled",!_.enableLoop)("ngModel",_.selNode.settings.swapServerUrl),e.xp6(4),e.Q6J("ngIf",!_.selNode.settings.swapServerUrl&&_.enableLoop),e.xp6(1),e.Q6J("ngIf",(null==Z||null==Z.errors?null:Z.errors.invalid)&&_.enableLoop),e.xp6(4),e.Q6J("required",_.enableLoop)("disabled",!_.enableLoop)("ngModel",_.selNode.authentication.swapMacaroonPath),e.xp6(3),e.Q6J("ngIf",!_.selNode.authentication.swapMacaroonPath&&_.enableLoop)}},dependencies:[Ji.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,mt.BN,Le.xw,Le.Wh,Le.yH,bi.lW,sa.Nt,Ii.KE,Ii.hX,Ii.bx,Ii.TO,pr.Rr,ln.$V,Cn.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});const ca=["form"];function s2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Boltz server URL is required."),e.qZA())}function o2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Specify the boltz server url with 'https://'."),e.qZA())}function x4(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Boltz macaroon path is required."),e.qZA())}class il{constructor(M,_){this.logger=M,this.store=_,this.faInfoCircle=Qi.sqG,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.select(Oe.dT).pipe((0,nn.R)(this.unSubs[0])).subscribe(M=>{this.selNode=M,this.enableBoltz=!(!M.settings.boltzServerUrl||""===M.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(M)})}onEnableServiceChanged(M){this.enableBoltz=M.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,Jt.jS)({payload:{uiMessage:Qe.m6.UPDATE_BOLTZ_SETTINGS,service:Qe.JX.BOLTZ,settings:{enable:this.enableBoltz,serverUrl:this.serverUrl,macaroonPath:this.macaroonPath}}})),this.store.dispatch((0,Ti.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,ci.oo)({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,kt.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(M=>{M.next(),M.complete()})}}il.\u0275fac=function(M){return new(M||il)(e.Y36(li.mQ),e.Y36(Ri.yh))},il.\u0275cmp=e.Xpm({type:il,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(M,_){if(1&M&&e.Gf(ca,7),2&M){let Z;e.iGM(Z=e.CRH())&&(_.form=Z.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(M,_){if(1&M&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"fa-icon",2),e.TgZ(3,"span"),e._uU(4,"Please ensure that "),e.TgZ(5,"strong"),e._uU(6,"boltzd"),e.qZA(),e._uU(7," is running and accessible to RTL before enabling this service. Click "),e.TgZ(8,"strong")(9,"a",3),e._uU(10,"here"),e.qZA()(),e._uU(11," to learn more about the installation."),e.qZA()(),e.TgZ(12,"form",4,5)(14,"div",6)(15,"mat-slide-toggle",7),e.NdJ("ngModelChange",function(pe){return _.enableBoltz=pe})("change",function(pe){return _.onEnableServiceChanged(pe)}),e._uU(16,"Enable Boltz Service"),e.qZA(),e.TgZ(17,"mat-form-field",8)(18,"mat-label"),e._uU(19,"Boltz Server URL"),e.qZA(),e.TgZ(20,"input",9,10),e.NdJ("ngModelChange",function(pe){return _.serverUrl=pe}),e.qZA(),e.TgZ(22,"mat-hint"),e._uU(23,"Service url for boltz server REST APIs, eg. https://127.0.0.1:9003"),e.qZA(),e.YNc(24,s2,2,0,"mat-error",11),e.YNc(25,o2,2,0,"mat-error",11),e.qZA(),e.TgZ(26,"mat-form-field")(27,"mat-label"),e._uU(28,"Boltz Macaroon Path"),e.qZA(),e.TgZ(29,"input",12),e.NdJ("ngModelChange",function(pe){return _.macaroonPath=pe}),e.qZA(),e.TgZ(30,"mat-hint"),e._uU(31,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),e.qZA(),e.YNc(32,x4,2,0,"mat-error",11),e.qZA()()(),e.TgZ(33,"div",13)(34,"button",14),e.NdJ("click",function(){return _.onReset()}),e._uU(35,"Reset"),e.qZA(),e.TgZ(36,"button",15),e.NdJ("click",function(){return _.onUpdateService()}),e._uU(37,"Update"),e.qZA()()()),2&M){const Z=e.MAs(21);e.xp6(2),e.Q6J("icon",_.faInfoCircle),e.xp6(13),e.Q6J("ngModel",_.enableBoltz),e.xp6(5),e.Q6J("required",_.enableBoltz)("disabled",!_.enableBoltz)("ngModel",_.serverUrl),e.xp6(4),e.Q6J("ngIf",(!_.serverUrl||""===_.serverUrl.trim())&&_.enableBoltz),e.xp6(1),e.Q6J("ngIf",(null==Z||null==Z.errors?null:Z.errors.invalid)&&_.enableBoltz),e.xp6(4),e.Q6J("required",_.enableBoltz)("disabled",!_.enableBoltz)("ngModel",_.macaroonPath),e.xp6(3),e.Q6J("ngIf",!_.macaroonPath&&_.enableBoltz)}},dependencies:[Ji.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,mt.BN,Le.xw,Le.Wh,Le.yH,bi.lW,sa.Nt,Ii.KE,Ii.hX,Ii.bx,Ii.TO,pr.Rr,ln.$V,Cn.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});class ic{constructor(){}}ic.\u0275fac=function(M){return new(M||ic)},ic.\u0275cmp=e.Xpm({type:ic,selectors:[["rtl-ln-services"]],decls:1,vars:0,template:function(M,_){1&M&&e._UZ(0,"router-outlet")},dependencies:[Wn.lC]});var Uu=m(2615),h1=m(9107),Tc=m(8739),nl=m(6308),er=m(671),Pl=m(3162);function ih(F,M){if(1&F&&(e.TgZ(0,"mat-option",37),e._uU(1),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.Q6J("value",_),e.xp6(1),e.Oqu(Z.getLabel(_))}}function u1(F,M){1&F&&e._UZ(0,"mat-progress-bar",38)}function Ls(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"State"),e.qZA())}function Gu(F,M){if(1&F&&(e.TgZ(0,"td",40),e._uU(1),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Oqu(Z.LoopStateEnum[null==_?null:_.state])}}function nc(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"Initiation Time"),e.qZA())}function f1(F,M){if(1&F&&(e.TgZ(0,"td",40),e._uU(1),e.ALo(2,"date"),e.qZA()),2&F){const _=M.$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,(null==_?null:_.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function Rl(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"Last Update Time"),e.qZA())}function c2(F,M){if(1&F&&(e.TgZ(0,"td",40),e._uU(1),e.ALo(2,"date"),e.qZA()),2&F){const _=M.$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,(null==_?null:_.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function vd(F,M){1&F&&(e.TgZ(0,"th",41),e._uU(1,"Amount (Sats)"),e.qZA())}function rl(F,M){if(1&F&&(e.TgZ(0,"td",40)(1,"span",42),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.amt))}}function nh(F,M){1&F&&(e.TgZ(0,"th",41),e._uU(1,"Cost Server (Sats)"),e.qZA())}function bd(F,M){if(1&F&&(e.TgZ(0,"td",40)(1,"span",42),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.cost_server))}}function Zu(F,M){1&F&&(e.TgZ(0,"th",41),e._uU(1,"Cost Offchain (Sats)"),e.qZA())}function Wu(F,M){if(1&F&&(e.TgZ(0,"td",40)(1,"span",42),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.cost_offchain))}}function Ds(F,M){1&F&&(e.TgZ(0,"th",41),e._uU(1,"Cost Onchain (Sats)"),e.qZA())}function yd(F,M){if(1&F&&(e.TgZ(0,"td",40)(1,"span",42),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(2),e.hij(" ",e.lcZ(3,1,null==_?null:_.cost_onchain)," ")}}function rh(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"HTLC Address"),e.qZA())}const m1=function(F){return{width:F}};function ja(F,M){if(1&F&&(e.TgZ(0,"td",40)(1,"span",43)(2,"span",44),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,m1,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.htlc_address)}}function Ac(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"ID"),e.qZA())}function l2(F,M){if(1&F&&(e.TgZ(0,"td",40)(1,"span",43)(2,"span",44),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,m1,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.id)}}function ah(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"ID (Bytes)"),e.qZA())}function d2(F,M){if(1&F&&(e.TgZ(0,"td",40)(1,"span",43)(2,"span",44),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,m1,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.id_bytes)}}function Po(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"th",45)(1,"div",46)(2,"mat-select",47),e._UZ(3,"mat-select-trigger"),e.TgZ(4,"mat-option",48),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.onDownloadCSV())}),e._uU(5,"Download CSV"),e.qZA()()()()}}function Yu(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"td",49)(1,"button",50),e.NdJ("click",function(pe){const Wt=e.CHM(_).$implicit,ei=e.oxw();return e.KtG(ei.onSwapClick(Wt,pe))}),e._uU(2,"View Info"),e.qZA()()}}function h2(F,M){if(1&F&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&F){const _=e.oxw(2);e.xp6(1),e.Oqu(_.emptyTableMessage)}}function xd(F,M){if(1&F&&(e.TgZ(0,"td",51),e.YNc(1,h2,2,1,"p",52),e.qZA()),2&F){const _=e.oxw();e.xp6(1),e.Q6J("ngIf",!(null!=_.listSwaps&&_.listSwaps.data)||(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)<1)}}const sh=function(F){return{"display-none":F}};function Cd(F,M){if(1&F&&e._UZ(0,"tr",53),2&F){const _=e.oxw();e.Q6J("ngClass",e.VKq(1,sh,(null==_.listSwaps?null:_.listSwaps.data)&&(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)>0))}}function oh(F,M){1&F&&e._UZ(0,"tr",54)}function wd(F,M){1&F&&e._UZ(0,"tr",55)}const p1=function(){return["all"]},u2=function(F){return{"overflow-auto error-border":F,"overflow-auto":!0}},Nl=function(){return["no_swap"]};class Xs{constructor(M,_,Z,pe,gt,Wt){this.logger=M,this.commonService=_,this.store=Z,this.loopService=pe,this.datePipe=gt,this.camelCaseWithReplace=Wt,this.selectedSwapType=Qe.$I.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Qe.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:Qe.IV,sortBy:"initiation_time",sortOrder:Qe.Pi.DESCENDING},this.LoopStateEnum=Qe.Fq,this.faHistory=Qi.qO$,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new er.by([]),this.selFilter="",this.pageSize=Qe.IV,this.pageSizeOptions=Qe.TJ,this.screenSize="",this.screenSizeEnum=Qe.cu,this.unSubs=[new Bi.x,new Bi.x,new Bi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Zs.Pr).pipe((0,nn.R)(this.unSubs[0])).subscribe(M=>{this.tableSetting=M.pageSettings.find(_=>_.pageId===this.PAGE_ID)?.tables.find(_=>_.tableId===this.tableSetting.tableId)||Qe.gK.find(_=>_.pageId===this.PAGE_ID)?.tables.find(_=>_.tableId===this.tableSetting.tableId),this.displayedColumns=this.screenSize===Qe.cu.XS||this.screenSize===Qe.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:Qe.IV,this.swapsData&&this.swapsData.length>0&&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)}ngOnChanges(M){this.swapCaption=this.selectedSwapType===Qe.$I.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}applyFilter(){this.listSwaps.filter=this.selFilter.trim().toLowerCase()}getLabel(M){const _=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(Z=>Z.column===M);return _?_.label?_.label:this.camelCaseWithReplace.transform(_.column,"_"):this.commonService.titleCase(M)}setFilterPredicate(){this.listSwaps.filterPredicate=(M,_)=>{let Z="";switch(this.selFilterBy){case"all":Z=JSON.stringify(M).toLowerCase();break;case"state":Z=M?.state?this.LoopStateEnum[M?.state]:"";break;case"initiation_time":case"last_update_time":Z=this.datePipe.transform(new Date((M[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:Z=typeof M[this.selFilterBy]>"u"?"":"string"==typeof M[this.selFilterBy]?M[this.selFilterBy].toLowerCase():"boolean"==typeof M[this.selFilterBy]?M[this.selFilterBy]?"yes":"no":M[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===Z.indexOf(_):Z.includes(_)}}onSwapClick(M,_){this.loopService.getSwap(M.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,nn.R)(this.unSubs[1])).subscribe(Z=>{this.store.dispatch((0,Jt.qR)({payload:{data:{type:Qe.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:Qe.Fq[Z.state||""],title:"Status",width:50,type:Qe.Gi.STRING},{key:"amt",value:Z.amt,title:"Amount (Sats)",width:50,type:Qe.Gi.NUMBER}],[{key:"initiation_time",value:(Z.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:Qe.Gi.DATE_TIME},{key:"last_update_time",value:(Z.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:Qe.Gi.DATE_TIME}],[{key:"cost_server",value:Z.cost_server,title:"Server Cost (Sats)",width:33,type:Qe.Gi.NUMBER},{key:"cost_offchain",value:Z.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:Qe.Gi.NUMBER},{key:"cost_onchain",value:Z.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:Qe.Gi.NUMBER}],[{key:"id_bytes",value:Z.id_bytes,title:"ID",width:100,type:Qe.Gi.STRING}],[{key:"htlc_address",value:Z.htlc_address,title:"HTLC Address",width:100,type:Qe.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(M){this.listSwaps=new er.by([...M]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(_,Z)=>_[Z]&&isNaN(_[Z])?_[Z].toLocaleLowerCase():_[Z]?+_[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===Qe.$I.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}Xs.\u0275fac=function(M){return new(M||Xs)(e.Y36(li.mQ),e.Y36(en.v),e.Y36(Ri.yh),e.Y36(h1.W),e.Y36(Ji.uU),e.Y36(ec.D3))},Xs.\u0275cmp=e.Xpm({type:Xs,selectors:[["rtl-swaps"]],viewQuery:function(M,_){if(1&M&&(e.Gf(nl.YE,5),e.Gf(Tc.NW,5)),2&M){let Z;e.iGM(Z=e.CRH())&&(_.sort=Z.first),e.iGM(Z=e.CRH())&&(_.paginator=Z.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[e._Bn([{provide:ji.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:Tc.ye,useValue:(0,Qe.pt)("Swaps")}]),e.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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2),e._UZ(3,"fa-icon",3),e.TgZ(4,"span",4),e._uU(5),e.qZA()(),e.TgZ(6,"div",5)(7,"mat-form-field",6)(8,"mat-label"),e._uU(9,"Filter By"),e.qZA(),e.TgZ(10,"mat-select",7),e.NdJ("ngModelChange",function(pe){return _.selFilterBy=pe})("selectionChange",function(){return _.selFilter="",_.applyFilter()}),e.TgZ(11,"perfect-scrollbar"),e.YNc(12,ih,2,2,"mat-option",8),e.qZA()()(),e.TgZ(13,"mat-form-field",6)(14,"mat-label"),e._uU(15,"Filter"),e.qZA(),e.TgZ(16,"input",9),e.NdJ("ngModelChange",function(pe){return _.selFilter=pe})("input",function(){return _.applyFilter()})("keyup",function(){return _.applyFilter()}),e.qZA()()()(),e.TgZ(17,"div",10)(18,"div",11),e.YNc(19,u1,1,0,"mat-progress-bar",12),e.TgZ(20,"table",13,14),e.ynx(22,15),e.YNc(23,Ls,2,0,"th",16),e.YNc(24,Gu,2,1,"td",17),e.BQk(),e.ynx(25,18),e.YNc(26,nc,2,0,"th",16),e.YNc(27,f1,3,4,"td",17),e.BQk(),e.ynx(28,19),e.YNc(29,Rl,2,0,"th",16),e.YNc(30,c2,3,4,"td",17),e.BQk(),e.ynx(31,20),e.YNc(32,vd,2,0,"th",21),e.YNc(33,rl,4,3,"td",17),e.BQk(),e.ynx(34,22),e.YNc(35,nh,2,0,"th",21),e.YNc(36,bd,4,3,"td",17),e.BQk(),e.ynx(37,23),e.YNc(38,Zu,2,0,"th",21),e.YNc(39,Wu,4,3,"td",17),e.BQk(),e.ynx(40,24),e.YNc(41,Ds,2,0,"th",21),e.YNc(42,yd,4,3,"td",17),e.BQk(),e.ynx(43,25),e.YNc(44,rh,2,0,"th",16),e.YNc(45,ja,4,4,"td",17),e.BQk(),e.ynx(46,26),e.YNc(47,Ac,2,0,"th",16),e.YNc(48,l2,4,4,"td",17),e.BQk(),e.ynx(49,27),e.YNc(50,ah,2,0,"th",16),e.YNc(51,d2,4,4,"td",17),e.BQk(),e.ynx(52,28),e.YNc(53,Po,6,0,"th",29),e.YNc(54,Yu,3,0,"td",30),e.BQk(),e.ynx(55,31),e.YNc(56,xd,2,1,"td",32),e.BQk(),e.YNc(57,Cd,1,3,"tr",33),e.YNc(58,oh,1,0,"tr",34),e.YNc(59,wd,1,0,"tr",35),e.qZA(),e._UZ(60,"mat-paginator",36),e.qZA()()()),2&M&&(e.xp6(3),e.Q6J("icon",_.faHistory),e.xp6(2),e.hij("",_.swapCaption," History"),e.xp6(5),e.Q6J("ngModel",_.selFilterBy),e.xp6(2),e.Q6J("ngForOf",e.DdM(16,p1).concat(_.displayedColumns.slice(0,-1))),e.xp6(4),e.Q6J("ngModel",_.selFilter),e.xp6(3),e.Q6J("ngIf",!0===_.flgLoading[0]),e.xp6(1),e.Q6J("matSortActive",_.tableSetting.sortBy)("matSortDirection",_.tableSetting.sortOrder)("dataSource",_.listSwaps)("ngClass",e.VKq(17,u2,"error"===_.flgLoading[0])),e.xp6(37),e.Q6J("matFooterRowDef",e.DdM(19,Nl)),e.xp6(1),e.Q6J("matHeaderRowDef",_.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",_.displayedColumns),e.xp6(1),e.Q6J("pageSize",_.pageSize)("pageSizeOptions",_.pageSizeOptions)("showFirstLastButtons",_.screenSize!==_.screenSizeEnum.XS))},dependencies:[Ji.mk,Ji.sg,Ji.O5,Ji.PC,ii.Fj,ii.JJ,ii.On,mt.BN,Le.xw,Le.Wh,Le.yH,an.oO,an.Zl,bi.lW,sa.Nt,Ii.KE,Ii.hX,Pl.pW,ji.gD,ji.$L,rn.ey,nl.YE,nl.nU,er.BZ,er.fO,er.as,er.w1,er.Dz,er.nj,er.mD,er.Ke,er.ge,er.ev,er.yh,er.XQ,er.Gk,er.Q2,Tc.NW,ln.Vv,ln.$V,Ji.JJ,Ji.uU]});const g1=function(F){return["../",F]};function al(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",11),e.NdJ("click",function(){const gt=e.CHM(_).$implicit,Wt=e.oxw();return e.KtG(Wt.onSelectedIndexChange(gt))}),e._uU(1),e.qZA()}if(2&F){const _=M.$implicit,Z=e.oxw();e.Q6J("active",Z.activeTab.link===_.link)("routerLink",e.VKq(3,g1,_.link)),e.xp6(1),e.Oqu(_.name)}}class Lc{constructor(M,_,Z){this.router=M,this.loopService=_,this.store=Z,this.faInfinity=Qi.vqe,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=Qe.$I,this.selectedSwapType=Qe.$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 Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.loopService.listSwaps();const M=this.links.find(_=>this.router.url.includes(_.link));this.activeTab=M||this.links[0],this.selectedSwapType=M&&"loopin"===M.link?Qe.$I.LOOP_IN:Qe.$I.LOOP_OUT,this.router.events.pipe((0,nn.R)(this.unSubs[0]),(0,Cr.h)(_=>_ instanceof Wn.Av)).subscribe({next:_=>{const Z=this.links.find(pe=>_.urlAfterRedirects.includes(pe.link));this.activeTab=Z||this.links[0],this.selectedSwapType=Z&&"loopin"===Z.link?Qe.$I.LOOP_IN:Qe.$I.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,nn.R)(this.unSubs[1])).subscribe({next:_=>{this.flgLoading[0]=!1,this.storedSwaps=_,this.filteredSwaps=this.storedSwaps?.filter(Z=>Z.type===this.selectedSwapType)},error:_=>{this.flgLoading[0]="error",this.emptyTableMessage=_.message?_.message:"No loop "+(this.selectedSwapType===Qe.$I.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(M){this.selectedSwapType="loopin"===M.link?Qe.$I.LOOP_IN:Qe.$I.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(_=>_.type===this.selectedSwapType)}onLoop(M){M===Qe.$I.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,nn.R)(this.unSubs[2])).subscribe({next:_=>{this.store.dispatch((0,Jt.qR)({payload:{data:{minQuote:_[0],maxQuote:_[1],direction:M,component:Uu.a}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,nn.R)(this.unSubs[3])).subscribe({next:_=>{this.store.dispatch((0,Jt.qR)({payload:{data:{minQuote:_[0],maxQuote:_[1],direction:M,component:Uu.a}}}))}})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}Lc.\u0275fac=function(M){return new(M||Lc)(e.Y36(Wn.F0),e.Y36(h1.W),e.Y36(Ri.yh))},Lc.\u0275cmp=e.Xpm({type:Lc,selectors:[["rtl-loop"]],decls:15,vars:8,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"],["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","1",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(M,_){if(1&M&&(e.TgZ(0,"div",0),e._UZ(1,"fa-icon",1),e.TgZ(2,"span",2),e._uU(3,"Loop"),e.qZA()(),e.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5),e.YNc(8,al,2,5,"div",6),e.qZA(),e._UZ(9,"mat-tab-nav-panel",null,7),e.TgZ(11,"div",8)(12,"button",9),e.NdJ("click",function(){return _.onLoop(_.selectedSwapType)}),e._uU(13),e.qZA()(),e._UZ(14,"rtl-swaps",10),e.qZA()()()),2&M){const Z=e.MAs(10);e.xp6(1),e.Q6J("icon",_.faInfinity),e.xp6(6),e.Q6J("tabPanel",Z),e.xp6(1),e.Q6J("ngForOf",_.links),e.xp6(5),e.hij("Start ",_.activeTab.name,""),e.xp6(1),e.Q6J("selectedSwapType",_.selectedSwapType)("swapsData",_.filteredSwaps)("flgLoading",_.flgLoading)("emptyTableMessage",_.emptyTableMessage)}},dependencies:[Ji.sg,mt.BN,Le.xw,Le.Wh,Le.yH,bi.lW,Et.a8,Et.dn,ri.BU,ri.sW,ri.Nj,Wn.rH,Xs]});var f2=m(7772),$s=m(1135),_1=m(2843),Fl=m(262),m2=m(1786);class _o{constructor(M,_,Z,pe){this.httpClient=M,this.logger=_,this.store=Z,this.commonService=pe,this.swapUrl="",this.swaps={},this.swapsChanged=new $s.X({}),this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,Jt.ac)({payload:Qe.m6.GET_BOLTZ_SWAPS})),this.swapUrl=Qe.T5+Qe.vv.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,nn.R)(this.unSubs[0])).subscribe({next:M=>{this.store.dispatch((0,Jt.uO)({payload:Qe.m6.GET_BOLTZ_SWAPS})),this.swaps=M,this.swapsChanged.next(this.swaps)},error:M=>this.swapsChanged.error(this.handleErrorWithAlert(Qe.m6.GET_BOLTZ_SWAPS,this.swapUrl,M))})}swapInfo(M){return this.swapUrl=Qe.T5+Qe.vv.BOLTZ_API+"/swapInfo/"+M,this.httpClient.get(this.swapUrl).pipe((0,Fl.K)(_=>(0,Qs.of)(this.handleErrorWithAlert(Qe.m6.NO_SPINNER,this.swapUrl,_))))}serviceInfo(){return this.store.dispatch((0,Jt.ac)({payload:Qe.m6.GET_SERVICE_INFO})),this.swapUrl=Qe.T5+Qe.vv.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,nn.R)(this.unSubs[1]),(0,ur.U)(M=>(this.store.dispatch((0,Jt.uO)({payload:Qe.m6.GET_SERVICE_INFO})),M)),(0,Fl.K)(M=>(0,Qs.of)(this.handleErrorWithAlert(Qe.m6.GET_SERVICE_INFO,this.swapUrl,M))))}swapOut(M,_){const Z={amount:M,address:_};return this.swapUrl=Qe.T5+Qe.vv.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,Z).pipe((0,Fl.K)(pe=>this.handleErrorWithoutAlert("Swap Out for Address: "+_,Qe.m6.NO_SPINNER,pe)))}swapIn(M){const _={amount:M};return this.swapUrl=Qe.T5+Qe.vv.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,_).pipe((0,Fl.K)(Z=>this.handleErrorWithoutAlert("Swap In for Amount: "+M,Qe.m6.NO_SPINNER,Z)))}handleErrorWithoutAlert(M,_,Z){let pe="";return this.logger.error("ERROR IN: "+M+"\n"+JSON.stringify(Z)),this.store.dispatch((0,Jt.uO)({payload:_})),401===Z.status?(pe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Jt.kS)())):503===Z.status?(pe="Unable to Connect to Boltz Server.",this.store.dispatch((0,Jt.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:Z.status,message:"Unable to Connect to Boltz Server",URL:M},component:m2.H}}}))):pe=this.commonService.extractErrorMessage(Z),(0,_1._)(()=>new Error(pe))}handleErrorWithAlert(M,_,Z){let pe="";if(401===Z.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Jt.kS)())),this.logger.error(Z),this.store.dispatch((0,Jt.uO)({payload:M})),401===Z.status)pe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Jt.kS)());else if(503===Z.status)pe="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,Jt.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:Z.status,message:"Unable to Connect to Boltz Server",URL:_},component:m2.H}}}))},100);else{pe=this.commonService.extractErrorMessage(Z);const gt=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,Jt.qR)({payload:{data:{type:Qe.n_.ERROR,alertTitle:"ERROR",message:{code:gt,message:pe,URL:_},component:m2.H}}}))},100)}return{message:pe}}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}function ju(F,M){1&F&&e.GkF(0)}function Ku(F,M){if(1&F&&(e.TgZ(0,"div",4)(1,"span",5),e._uU(2),e.qZA()()),2&F){const _=e.oxw();e.xp6(2),e.Oqu(null!=_.swapStatus&&_.swapStatus.error?null==_.swapStatus?null:_.swapStatus.error:"Unknown Error.")}}function Qu(F,M){if(1&F&&(e.TgZ(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),e._uU(4,"ID"),e.qZA(),e.TgZ(5,"span",5),e._uU(6),e.qZA()(),e.TgZ(7,"div",7)(8,"h4",8),e._uU(9,"Routing Fee (mSats)"),e.qZA(),e.TgZ(10,"span",5),e._uU(11),e.ALo(12,"number"),e.qZA()()(),e._UZ(13,"mat-divider",9),e.TgZ(14,"div",6)(15,"div",7)(16,"h4",8),e._uU(17,"Claim Transaction ID"),e.qZA(),e.TgZ(18,"span",5),e._uU(19),e.qZA()(),e.TgZ(20,"div",7)(21,"h4",8),e._uU(22,"Lockup Address"),e.qZA(),e.TgZ(23,"span",5),e._uU(24),e.qZA()()()()),2&F){const _=e.oxw();e.xp6(6),e.Oqu(null==_.swapStatus?null:_.swapStatus.id),e.xp6(5),e.Oqu(e.lcZ(12,4,null==_.swapStatus?null:_.swapStatus.routingFeeMilliSat)),e.xp6(8),e.Oqu(null==_.swapStatus?null:_.swapStatus.claimTransactionId),e.xp6(5),e.Oqu(null==_.swapStatus?null:_.swapStatus.lockupAddress)}}function qu(F,M){if(1&F&&(e.TgZ(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),e._uU(4,"ID"),e.qZA(),e.TgZ(5,"span",5),e._uU(6),e.qZA()(),e.TgZ(7,"div",7)(8,"h4",8),e._uU(9,"Expected Amount (Sats)"),e.qZA(),e.TgZ(10,"span",5),e._uU(11),e.ALo(12,"number"),e.qZA()()(),e._UZ(13,"mat-divider",9),e.TgZ(14,"div",6)(15,"div",10)(16,"h4",8),e._uU(17,"Address"),e.qZA(),e.TgZ(18,"span",5),e._uU(19),e.qZA()()(),e._UZ(20,"mat-divider",9),e.TgZ(21,"div",6)(22,"div",10)(23,"h4",8),e._uU(24,"BIP 21"),e.qZA(),e.TgZ(25,"span",5),e._uU(26),e.qZA()()()()),2&F){const _=e.oxw();e.xp6(6),e.Oqu(null==_.swapStatus?null:_.swapStatus.id),e.xp6(5),e.Oqu(e.lcZ(12,4,null==_.swapStatus?null:_.swapStatus.expectedAmount)),e.xp6(8),e.Oqu(null==_.swapStatus?null:_.swapStatus.address),e.xp6(7),e.Oqu(null==_.swapStatus?null:_.swapStatus.bip21)}}_o.\u0275fac=function(M){return new(M||_o)(e.LFG(Kr.eN),e.LFG(li.mQ),e.LFG(Ri.yh),e.LFG(en.v))},_o.\u0275prov=e.Yz7({token:_o,factory:_o.\u0275fac});class v1{constructor(){this.swapStatus=null,this.direction=Qe.hc.SWAP_OUT,this.swapTypeEnum=Qe.hc}}v1.\u0275fac=function(M){return new(M||v1)},v1.\u0275cmp=e.Xpm({type:v1,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(M,_){if(1&M&&(e.YNc(0,ju,1,0,"ng-container",0),e.YNc(1,Ku,3,1,"ng-template",null,1,e.W1O),e.YNc(3,Qu,25,6,"ng-template",null,2,e.W1O),e.YNc(5,qu,27,6,"ng-template",null,3,e.W1O)),2&M){const Z=e.MAs(2),pe=e.MAs(4),gt=e.MAs(6);e.Q6J("ngTemplateOutlet",null!=_.swapStatus&&_.swapStatus.error?Z:_.direction===_.swapTypeEnum.SWAP_OUT?pe:gt)}},dependencies:[Ji.tP,Le.xw,Le.Wh,Le.yH,ko.d,Ji.JJ]});class sl{constructor(){this.serviceInfo={},this.direction=Qe.hc.SWAP_OUT,this.swapTypeEnum=Qe.hc}}sl.\u0275fac=function(M){return new(M||sl)},sl.\u0275cmp=e.Xpm({type:sl,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(M,_){1&M&&(e.TgZ(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",1),e._uU(4,"Service Information"),e.qZA()()(),e.TgZ(5,"div",2)(6,"div",3)(7,"div",4)(8,"h4",5),e._uU(9,"Minimum Amount (Sats)"),e.qZA(),e.TgZ(10,"span",6),e._uU(11),e.ALo(12,"number"),e.qZA()(),e.TgZ(13,"div",4)(14,"h4",5),e._uU(15,"Maximum Amount (Sats)"),e.qZA(),e.TgZ(16,"span",6),e._uU(17),e.ALo(18,"number"),e.qZA()()(),e._UZ(19,"mat-divider",7),e.TgZ(20,"div",3)(21,"div",4)(22,"h4",5),e._uU(23,"Fee Percentage"),e.qZA(),e.TgZ(24,"span",6),e._uU(25),e.ALo(26,"number"),e.qZA()(),e.TgZ(27,"div",4)(28,"h4",5),e._uU(29,"Miner Fee (Sats)"),e.qZA(),e.TgZ(30,"span",6),e._uU(31),e.ALo(32,"number"),e.qZA()()()()()),2&M&&(e.Q6J("expanded",!0),e.xp6(11),e.Oqu(e.lcZ(12,5,null==_.serviceInfo||null==_.serviceInfo.limits?null:_.serviceInfo.limits.minimal)),e.xp6(6),e.Oqu(e.lcZ(18,7,null==_.serviceInfo||null==_.serviceInfo.limits?null:_.serviceInfo.limits.maximal)),e.xp6(8),e.Oqu(e.lcZ(26,9,null==_.serviceInfo||null==_.serviceInfo.fees?null:_.serviceInfo.fees.percentage)),e.xp6(6),e.Oqu(e.lcZ(32,11,_.direction===_.swapTypeEnum.SWAP_OUT?null==_.serviceInfo||null==_.serviceInfo.fees||null==_.serviceInfo.fees.miner?null:_.serviceInfo.fees.miner.reverse:null==_.serviceInfo||null==_.serviceInfo.fees||null==_.serviceInfo.fees.miner?null:_.serviceInfo.fees.miner.normal)))},dependencies:[Le.xw,Le.Wh,Le.yH,Ln.ib,Ln.yz,Ln.yK,ko.d,Ji.JJ]});var p2=m(113);function Md(F,M){1&F&&e.GkF(0)}const rc=function(F,M){return{"small-svg":F,"large-svg":M}};function Ro(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.onSwipe(pe))}),e.O4$(),e.TgZ(1,"svg",7),e._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),e.qZA(),e.kcU(),e.TgZ(12,"div",18)(13,"mat-card-title"),e._uU(14,"Boltz Submarine Swaps explained."),e.qZA()(),e.TgZ(15,"div",19)(16,"mat-card-subtitle",20),e._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. "),e.qZA()()()}if(2&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,rc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function Ju(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.onSwipe(pe))}),e.O4$(),e.TgZ(1,"svg",21),e._UZ(2,"path",22)(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),e.qZA(),e.kcU(),e.TgZ(9,"div",18)(10,"mat-card-title"),e._uU(11,"Step 1: Deciding to Submarine Swap"),e.qZA()(),e.TgZ(12,"div",19)(13,"mat-card-subtitle",20),e._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. "),e.qZA()()()}if(2&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,rc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function g2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.onSwipe(pe))}),e.O4$(),e.TgZ(1,"svg",29),e._UZ(2,"path",30)(3,"path",31)(4,"path",32)(5,"path",33)(6,"path",34)(7,"circle",35)(8,"rect",36),e.TgZ(9,"defs")(10,"pattern",37),e._UZ(11,"use",38),e.qZA(),e._UZ(12,"image",39),e.qZA()(),e.kcU(),e.TgZ(13,"div",18)(14,"mat-card-title"),e._uU(15,"Step 2: Sending the on-chain funds"),e.qZA()(),e.TgZ(16,"div",19)(17,"mat-card-subtitle",20),e._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. "),e.qZA()()()}if(2&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,rc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function ch(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.onSwipe(pe))}),e.O4$(),e.TgZ(1,"svg",40)(2,"g",41),e._UZ(3,"path",42)(4,"path",43)(5,"path",44)(6,"path",45)(7,"path",46),e.qZA(),e.TgZ(8,"defs")(9,"clipPath",47),e._UZ(10,"rect",48),e.qZA()()(),e.kcU(),e.TgZ(11,"div",18)(12,"mat-card-title"),e._uU(13,"Step 3: Receiving the funds on Lightning"),e.qZA()(),e.TgZ(14,"div",19)(15,"mat-card-subtitle",20),e._uU(16," Boltz pays the Lightning invoice to your node and claims the on-chain funds locked in the previous step. "),e.qZA()()()}if(2&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,rc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function Sd(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.onSwipe(pe))}),e.O4$(),e.TgZ(1,"svg",49),e._UZ(2,"path",50)(3,"path",51)(4,"path",52)(5,"path",53)(6,"path",54),e.qZA(),e.kcU(),e.TgZ(7,"div",18)(8,"mat-card-title"),e._uU(9,"Done!"),e.qZA()(),e.TgZ(10,"div",19)(11,"mat-card-subtitle",20),e._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. "),e.qZA()()()}if(2&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,rc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}class eo{constructor(M){this.commonService=M,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.vpe,this.screenSize="",this.screenSizeEnum=Qe.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(M){2===M.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===M.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}function _2(F,M){1&F&&e.GkF(0)}eo.\u0275fac=function(M){return new(M||eo)(e.Y36(en.v))},eo.\u0275cmp=e.Xpm({type:eo,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(M,_){if(1&M&&(e.YNc(0,Md,1,0,"ng-container",0),e.YNc(1,Ro,18,5,"ng-template",null,1,e.W1O),e.YNc(3,Ju,15,5,"ng-template",null,2,e.W1O),e.YNc(5,g2,19,5,"ng-template",null,3,e.W1O),e.YNc(7,ch,17,5,"ng-template",null,4,e.W1O),e.YNc(9,Sd,13,5,"ng-template",null,5,e.W1O)),2&M){const Z=e.MAs(2),pe=e.MAs(4),gt=e.MAs(6),Wt=e.MAs(8),ei=e.MAs(10);e.Q6J("ngTemplateOutlet",1===_.stepNumber?Z:2===_.stepNumber?pe:3===_.stepNumber?gt:4===_.stepNumber?Wt:ei)}},dependencies:[Ji.mk,Ji.tP,Le.xw,Le.Wh,Le.yH,an.oO,Et.$j,Et.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:[p2.l]}});const ac=function(F,M){return{"small-svg":F,"large-svg":M}};function v2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.onSwipe(pe))}),e.O4$(),e.TgZ(1,"svg",7),e._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),e.qZA(),e.kcU(),e.TgZ(12,"div",18)(13,"mat-card-title"),e._uU(14,"Boltz Reverse Submarine Swap explained."),e.qZA()(),e.TgZ(15,"div",19)(16,"mat-card-subtitle",20),e._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. "),e.qZA()()()}if(2&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,ac,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function Hl(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.onSwipe(pe))}),e.O4$(),e.TgZ(1,"svg",21)(2,"g",22),e._UZ(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),e.qZA(),e._UZ(9,"path",29),e.TgZ(10,"defs")(11,"clipPath",30),e._UZ(12,"rect",31),e.qZA()()(),e.kcU(),e.TgZ(13,"div",18)(14,"mat-card-title"),e._uU(15,"Step 1: Deciding to Reverse Submarine Swap"),e.qZA()(),e.TgZ(16,"div",19)(17,"mat-card-subtitle",20),e._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. "),e.qZA()()()}if(2&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,ac,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function b1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.onSwipe(pe))}),e.O4$(),e.TgZ(1,"svg",32),e._UZ(2,"path",33)(3,"path",34)(4,"path",35)(5,"path",36)(6,"path",37)(7,"circle",38)(8,"rect",39),e.TgZ(9,"defs")(10,"pattern",40),e._UZ(11,"use",41),e.qZA(),e._UZ(12,"image",42),e.qZA()(),e.kcU(),e.TgZ(13,"div",18)(14,"mat-card-title"),e._uU(15,"Step 2: Paying the Lightning Invoice"),e.qZA()(),e.TgZ(16,"div",19)(17,"mat-card-subtitle",20),e._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. "),e.qZA()()()}if(2&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,ac,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function Ed(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.onSwipe(pe))}),e.O4$(),e.TgZ(1,"svg",43)(2,"g",22),e._UZ(3,"path",44)(4,"path",45)(5,"path",46)(6,"path",47)(7,"path",48),e.qZA(),e.TgZ(8,"defs")(9,"clipPath",30),e._UZ(10,"rect",49),e.qZA()()(),e.kcU(),e.TgZ(11,"div",18)(12,"mat-card-title"),e._uU(13,"Step 3: Receiving the funds on-chain"),e.qZA()(),e.TgZ(14,"div",19)(15,"mat-card-subtitle",20),e._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. "),e.qZA()()()}if(2&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,ac,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function ya(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.onSwipe(pe))}),e.O4$(),e.TgZ(1,"svg",50),e._UZ(2,"path",51)(3,"path",52)(4,"path",53)(5,"path",54)(6,"path",55),e.qZA(),e.kcU(),e.TgZ(7,"div",18)(8,"mat-card-title"),e._uU(9,"Done!"),e.qZA()(),e.TgZ(10,"div",19)(11,"mat-card-subtitle",20),e._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. "),e.qZA()()()}if(2&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,ac,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}class ol{constructor(M){this.commonService=M,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.vpe,this.screenSize="",this.screenSizeEnum=Qe.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(M){2===M.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===M.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}ol.\u0275fac=function(M){return new(M||ol)(e.Y36(en.v))},ol.\u0275cmp=e.Xpm({type:ol,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(M,_){if(1&M&&(e.YNc(0,_2,1,0,"ng-container",0),e.YNc(1,v2,18,5,"ng-template",null,1,e.W1O),e.YNc(3,Hl,19,5,"ng-template",null,2,e.W1O),e.YNc(5,b1,19,5,"ng-template",null,3,e.W1O),e.YNc(7,Ed,17,5,"ng-template",null,4,e.W1O),e.YNc(9,ya,13,5,"ng-template",null,5,e.W1O)),2&M){const Z=e.MAs(2),pe=e.MAs(4),gt=e.MAs(6),Wt=e.MAs(8),ei=e.MAs(10);e.Q6J("ngTemplateOutlet",1===_.stepNumber?Z:2===_.stepNumber?pe:3===_.stepNumber?gt:4===_.stepNumber?Wt:ei)}},dependencies:[Ji.mk,Ji.tP,Le.xw,Le.Wh,Le.yH,an.oO,Et.$j,Et.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:[p2.l]}});const b2=["stepper"];function nr(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.Oqu(_.inputFormLabel)}}function Td(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Amount is required."),e.qZA())}function sc(F,M){if(1&F&&(e.TgZ(0,"mat-error"),e._uU(1),e.ALo(2,"number"),e.qZA()),2&F){const _=e.oxw(2);e.xp6(1),e.hij("Amount must be greater than or equal to ",e.lcZ(2,1,null==_.serviceInfo||null==_.serviceInfo.limits?null:_.serviceInfo.limits.minimal),".")}}function No(F,M){if(1&F&&(e.TgZ(0,"mat-error"),e._uU(1),e.ALo(2,"number"),e.qZA()),2&F){const _=e.oxw(2);e.xp6(1),e.hij("Amount must be less than or equal to ",e.lcZ(2,1,null==_.serviceInfo||null==_.serviceInfo.limits?null:_.serviceInfo.limits.maximal),".")}}function Ad(F,M){1&F&&(e.TgZ(0,"button",40),e._uU(1,"Next"),e.qZA())}function y1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",41),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw(2);return e.KtG(pe.onSwap())}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw(2);e.xp6(1),e.hij("Initiate ",_.swapDirectionCaption,"")}}function y2(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(3);e.Oqu(_.addressFormLabel)}}function x2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Address is required."),e.qZA())}function zl(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-step",15)(1,"form",16),e.YNc(2,y2,1,1,"ng-template",17),e.TgZ(3,"div",42)(4,"mat-radio-group",43),e.NdJ("change",function(pe){e.CHM(_);const gt=e.oxw(2);return e.KtG(gt.onAddressTypeChange(pe))}),e.TgZ(5,"mat-radio-button",44),e._uU(6,"Node Local Address"),e.qZA(),e.TgZ(7,"mat-radio-button",45),e._uU(8,"External Address"),e.qZA()(),e.TgZ(9,"mat-form-field",46)(10,"mat-label"),e._uU(11,"Address"),e.qZA(),e._UZ(12,"input",47),e.YNc(13,x2,2,0,"mat-error",24),e.qZA()(),e.TgZ(14,"div",25)(15,"button",48),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw(2);return e.KtG(pe.onSwap())}),e._uU(16),e.qZA()()()()}if(2&F){const _=e.oxw(2);e.Q6J("stepControl",_.addressFormGroup)("editable",_.flgEditable),e.xp6(1),e.Q6J("formGroup",_.addressFormGroup),e.xp6(11),e.Q6J("required","external"===_.addressFormGroup.controls.addressType.value),e.xp6(1),e.Q6J("ngIf",null==_.addressFormGroup.controls.address.errors?null:_.addressFormGroup.controls.address.errors.required),e.xp6(3),e.hij("Initiate ",_.swapDirectionCaption,"")}}function Ld(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.hij("",_.swapDirectionCaption," Status")}}function C2(F,M){if(1&F&&(e.TgZ(0,"mat-icon",49),e._uU(1),e.qZA()),2&F){const _=e.oxw(2);e.xp6(1),e.Oqu(_.swapStatus&&null!=_.swapStatus&&_.swapStatus.id?"check":"close")}}function lh(F,M){1&F&&e._UZ(0,"div")}function dh(F,M){1&F&&e._UZ(0,"mat-progress-bar",50)}function Dd(F,M){if(1&F&&(e.TgZ(0,"h4",51),e._uU(1),e.qZA()),2&F){const _=e.oxw(2);e.xp6(1),e.Oqu(_.swapStatus&&_.swapStatus.error?_.swapDirectionCaption+" failed.":_.swapStatus&&_.swapStatus.id?_.swapDirectionCaption+" request placed successfully. You can check the status of the request on the 'Boltz' menu.":_.swapDirectionCaption+" request placed successfully.")}}function w2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",52),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw(2);return e.KtG(pe.onRestart())}),e._uU(1,"Start Again"),e.qZA()}}function M2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),e._uU(5),e.qZA()(),e.TgZ(6,"div",8)(7,"button",9),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.showInfo())}),e._uU(8,"?"),e.qZA(),e.TgZ(9,"button",10),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.onClose())}),e._uU(10,"X"),e.qZA()()(),e.TgZ(11,"mat-card-content",11)(12,"div",12)(13,"mat-vertical-stepper",13,14),e.NdJ("selectionChange",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.stepSelectionChanged(pe))}),e.TgZ(15,"mat-step",15)(16,"form",16),e.YNc(17,nr,1,1,"ng-template",17),e.TgZ(18,"div",18),e._UZ(19,"rtl-boltz-service-info",19),e.qZA(),e.TgZ(20,"div",20)(21,"mat-form-field",21)(22,"mat-label"),e._uU(23,"Amount"),e.qZA(),e._UZ(24,"input",22),e.TgZ(25,"mat-hint"),e._uU(26),e.ALo(27,"number"),e.ALo(28,"number"),e.qZA(),e.TgZ(29,"span",23),e._uU(30,"Sats"),e.qZA(),e.YNc(31,Td,2,0,"mat-error",24),e.YNc(32,sc,3,3,"mat-error",24),e.YNc(33,No,3,3,"mat-error",24),e.qZA()(),e.TgZ(34,"div",25),e.YNc(35,Ad,2,0,"button",26),e.YNc(36,y1,2,1,"button",27),e.qZA()()(),e.YNc(37,zl,17,6,"mat-step",28),e.TgZ(38,"mat-step",29)(39,"form",16),e.YNc(40,Ld,1,1,"ng-template",17),e.TgZ(41,"div",30)(42,"mat-expansion-panel",31)(43,"mat-expansion-panel-header")(44,"mat-panel-title")(45,"span",32),e._uU(46),e.YNc(47,C2,2,1,"mat-icon",33),e.qZA()()(),e.YNc(48,lh,1,0,"div",34),e.qZA(),e.YNc(49,dh,1,0,"mat-progress-bar",35),e.qZA(),e.YNc(50,Dd,2,1,"h4",36),e.TgZ(51,"div",25),e.YNc(52,w2,2,0,"button",37),e.qZA()()()(),e.TgZ(53,"div",38)(54,"button",39),e._uU(55,"Close"),e.qZA()()()()()()}if(2&F){const _=e.oxw(),Z=e.MAs(2);e.Q6J("@opacityAnimation",void 0),e.xp6(3),e.Q6J("fxFlex",_.screenSize===_.screenSizeEnum.XS||_.screenSize===_.screenSizeEnum.SM?"83":"91"),e.xp6(2),e.Oqu(_.swapDirectionCaption),e.xp6(1),e.Q6J("fxFlex",_.screenSize===_.screenSizeEnum.XS||_.screenSize===_.screenSizeEnum.SM?"17":"9"),e.xp6(7),e.Q6J("linear",!0),e.xp6(2),e.Q6J("stepControl",_.inputFormGroup)("editable",_.flgEditable),e.xp6(1),e.Q6J("formGroup",_.inputFormGroup),e.xp6(3),e.Q6J("serviceInfo",_.serviceInfo)("direction",_.direction),e.xp6(5),e.Q6J("step",1e3),e.xp6(2),e.AsE("Range: ",e.lcZ(27,30,null==_.serviceInfo||null==_.serviceInfo.limits?null:_.serviceInfo.limits.minimal),"-",e.lcZ(28,32,null==_.serviceInfo||null==_.serviceInfo.limits?null:_.serviceInfo.limits.maximal),""),e.xp6(5),e.Q6J("ngIf",null==_.inputFormGroup||null==_.inputFormGroup.controls||null==_.inputFormGroup.controls.amount||null==_.inputFormGroup.controls.amount.errors?null:_.inputFormGroup.controls.amount.errors.required),e.xp6(1),e.Q6J("ngIf",null==_.inputFormGroup||null==_.inputFormGroup.controls||null==_.inputFormGroup.controls.amount||null==_.inputFormGroup.controls.amount.errors?null:_.inputFormGroup.controls.amount.errors.min),e.xp6(1),e.Q6J("ngIf",null==_.inputFormGroup||null==_.inputFormGroup.controls||null==_.inputFormGroup.controls.amount||null==_.inputFormGroup.controls.amount.errors?null:_.inputFormGroup.controls.amount.errors.max),e.xp6(2),e.Q6J("ngIf",_.direction===_.swapTypeEnum.SWAP_OUT),e.xp6(1),e.Q6J("ngIf",_.direction===_.swapTypeEnum.SWAP_IN),e.xp6(1),e.Q6J("ngIf",_.direction===_.swapTypeEnum.SWAP_OUT),e.xp6(1),e.Q6J("stepControl",_.statusFormGroup),e.xp6(1),e.Q6J("formGroup",_.statusFormGroup),e.xp6(3),e.Q6J("expanded",!!_.swapStatus),e.xp6(4),e.Oqu(_.swapStatus?_.swapStatus.id?_.swapDirectionCaption+" request details":_.swapDirectionCaption+" error details":"Waiting for "+_.swapDirectionCaption+" request..."),e.xp6(1),e.Q6J("ngIf",_.swapStatus),e.xp6(1),e.Q6J("ngIf",!_.swapStatus)("ngIfElse",Z),e.xp6(1),e.Q6J("ngIf",!_.swapStatus),e.xp6(1),e.Q6J("ngIf",_.swapStatus),e.xp6(2),e.Q6J("ngIf",_.swapStatus&&(_.swapStatus.error||!_.swapStatus.id)),e.xp6(2),e.Q6J("mat-dialog-close",!1)}}function Vl(F,M){if(1&F&&e._UZ(0,"rtl-boltz-swap-status",53),2&F){const _=e.oxw();e.Q6J("swapStatus",_.swapStatus)("direction",_.direction)}}function x1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"rtl-boltz-swapout-info-graphics",70),e.NdJ("stepNumberChange",function(pe){e.CHM(_);const gt=e.oxw(2);return e.KtG(gt.stepNumber=pe)}),e.qZA()}if(2&F){const _=e.oxw(2);e.Q6J("animationDirection",_.animationDirection)("stepNumber",_.stepNumber)}}function Dc(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"rtl-boltz-swapin-info-graphics",70),e.NdJ("stepNumberChange",function(pe){e.CHM(_);const gt=e.oxw(2);return e.KtG(gt.stepNumber=pe)}),e.qZA()}if(2&F){const _=e.oxw(2);e.Q6J("animationDirection",_.animationDirection)("stepNumber",_.stepNumber)}}const hh=function(F,M){return{"dot-primary":F,"dot-primary-lighter":M}};function Id(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"span",71),e.NdJ("click",function(){const gt=e.CHM(_).$implicit,Wt=e.oxw(2);return e.KtG(Wt.onStepChanged(gt))}),e._UZ(1,"p",72),e.qZA()}if(2&F){const _=M.$implicit,Z=e.oxw(2);e.xp6(1),e.Q6J("ngClass",e.WLB(1,hh,Z.stepNumber===_,Z.stepNumber!==_))}}function Xu(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",73),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw(2);return e.KtG(pe.onReadMore())}),e._uU(1,"Read More"),e.qZA()}}function uh(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",74),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw(2);return e.KtG(pe.onStepChanged(4))}),e._uU(1,"Back"),e.qZA()}}function C1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",75),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw(2);return pe.flgShowInfo=!1,e.KtG(pe.stepNumber=1)}),e._uU(1,"Close"),e.qZA()}}function kd(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",76),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw(2);return pe.flgShowInfo=!1,e.KtG(pe.stepNumber=1)}),e._uU(1,"Close"),e.qZA()}}function Od(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",77),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw(2);return e.KtG(pe.onStepChanged(pe.stepNumber-1))}),e._uU(1,"Back"),e.qZA()}}function Bl(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",78),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw(2);return e.KtG(pe.onStepChanged(pe.stepNumber+1))}),e._uU(1,"Next"),e.qZA()}}const S2=function(){return[1,2,3,4,5]};function E2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",54)(1,"div",18)(2,"mat-card-header",55)(3,"div",56),e._UZ(4,"span",7),e.qZA(),e.TgZ(5,"div",57)(6,"button",58),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return pe.flgShowInfo=!1,e.KtG(pe.stepNumber=1)}),e._uU(7,"X"),e.qZA()()(),e.TgZ(8,"mat-card-content",59),e.YNc(9,x1,1,2,"rtl-boltz-swapout-info-graphics",60),e.YNc(10,Dc,1,2,"rtl-boltz-swapin-info-graphics",60),e.qZA(),e.TgZ(11,"div",61),e.YNc(12,Id,2,4,"span",62),e.qZA(),e.TgZ(13,"div",63),e.YNc(14,Xu,2,0,"button",64),e.YNc(15,uh,2,0,"button",65),e.YNc(16,C1,2,0,"button",66),e.YNc(17,kd,2,0,"button",67),e.YNc(18,Od,2,0,"button",68),e.YNc(19,Bl,2,0,"button",69),e.qZA()()()}if(2&F){const _=e.oxw();e.Q6J("@opacityAnimation",void 0),e.xp6(9),e.Q6J("ngIf",_.direction===_.swapTypeEnum.SWAP_OUT),e.xp6(1),e.Q6J("ngIf",_.direction===_.swapTypeEnum.SWAP_IN),e.xp6(2),e.Q6J("ngForOf",e.DdM(10,S2)),e.xp6(2),e.Q6J("ngIf",5===_.stepNumber),e.xp6(1),e.Q6J("ngIf",5===_.stepNumber),e.xp6(1),e.Q6J("ngIf",5===_.stepNumber),e.xp6(1),e.Q6J("ngIf",_.stepNumber<5),e.xp6(1),e.Q6J("ngIf",_.stepNumber>1&&_.stepNumber<5),e.xp6(1),e.Q6J("ngIf",_.stepNumber<5)}}class cl{constructor(M,_,Z,pe,gt,Wt,ei){this.dialogRef=M,this.data=_,this.boltzService=Z,this.formBuilder=pe,this.decimalPipe=gt,this.logger=Wt,this.commonService=ei,this.faInfoCircle=Qi.sqG,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=Qe.hc,this.direction=Qe.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=Qe.cu,this.animationDirection="forward",this.flgEditable=!0,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||Qe.hc.SWAP_OUT,this.swapDirectionCaption=this.direction===Qe.hc.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[ii.kI.required,ii.kI.min(this.serviceInfo.limits?.minimal||0),ii.kI.max(this.serviceInfo.limits?.maximal||0)]]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[ii.kI.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges()}ngAfterViewInit(){this.direction===Qe.hc.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===Qe.hc.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,nn.R)(this.unSubs[2])).subscribe(M=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(M){"external"===M.value?(this.addressFormGroup.controls.address.setValidators([ii.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===Qe.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===Qe.hc.SWAP_IN?this.boltzService.swapIn(this.inputFormGroup.controls.amount.value).pipe((0,nn.R)(this.unSubs[3])).subscribe({next:M=>{this.swapStatus=M,this.boltzService.listSwaps(),this.flgEditable=!0},error:M=>{this.swapStatus={error:M},this.flgEditable=!0,this.logger.error(M)}}):this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,"external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"").pipe((0,nn.R)(this.unSubs[4])).subscribe({next:_=>{this.swapStatus=_,this.boltzService.listSwaps(),this.flgEditable=!0},error:_=>{this.swapStatus={error:_},this.flgEditable=!0,this.logger.error(_)}})}stepSelectionChanged(M){switch(M.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"}M.selectedIndex<M.previouslySelectedIndex&&M.selectedStep.stepControl.setErrors({Invalid:!0})}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===Qe.hc.SWAP_IN?window.open("https://docs.boltz.exchange/en/latest/lifecycle/#normal-submarine-swaps","_blank"):window.open("https://docs.boltz.exchange/en/latest/lifecycle/#reverse-submarine-swaps","_blank"),this.onClose()}onStepChanged(M){this.animationDirection=M<this.stepNumber?"backward":"forward",this.stepNumber=M}onRestart(){this.stepper.reset(),this.flgEditable=!0,this.inputFormGroup.reset({amount:this.serviceInfo.limits?.minimal}),this.statusFormGroup.reset(),this.addressFormGroup.reset({addressType:"local",address:""}),this.addressFormGroup.controls.address.disable()}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}function T2(F,M){if(1&F&&(e.TgZ(0,"mat-option",42),e._uU(1),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.Q6J("value",_),e.xp6(1),e.Oqu(Z.getLabel(_))}}function Ic(F,M){1&F&&e._UZ(0,"mat-progress-bar",43)}function Pd(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Status"),e.qZA())}function fh(F,M){if(1&F&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Oqu(Z.swapStateEnum[null==_?null:_.status])}}function Rd(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Swap ID"),e.qZA())}function Nd(F,M){if(1&F&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.xp6(1),e.Oqu(null==_?null:_.id)}}function mh(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Claim Address"),e.qZA())}cl.\u0275fac=function(M){return new(M||cl)(e.Y36(Er.so),e.Y36(Er.WI),e.Y36(_o),e.Y36(ii.QS),e.Y36(Ji.JJ),e.Y36(li.mQ),e.Y36(en.v))},cl.\u0275cmp=e.Xpm({type:cl,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(M,_){if(1&M&&e.Gf(b2,5),2&M){let Z;e.iGM(Z=e.CRH())&&(_.stepper=Z.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"],["tabindex","19","mat-button","",1,"btn-close-x","p-0",3,"click"],["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"],["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"],["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(M,_){1&M&&(e.YNc(0,M2,56,34,"div",0),e.YNc(1,Vl,1,2,"ng-template",null,1,e.W1O),e.YNc(3,E2,20,11,"div",2)),2&M&&(e.Q6J("ngIf",!_.flgShowInfo),e.xp6(3),e.Q6J("ngIf",_.flgShowInfo))},dependencies:[Ji.mk,Ji.sg,Ji.O5,ii._Y,ii.Fj,ii.wV,ii.JJ,ii.JL,ii.Q7,ii.sg,ii.u,Le.xw,Le.Wh,Le.yH,an.oO,Er.ZT,bi.lW,Et.dn,Et.dk,Ln.ib,Ln.yz,Ln.yK,mo.Hw,sa.Nt,Ii.KE,Ii.hX,Ii.bx,Ii.TO,Ii.R9,Pl.pW,Tr.VQ,Tr.U0,Wa.C0,Wa.VY,Wa.Vq,Wa.Ic,Cn.h,v1,sl,eo,ol,Ji.JJ],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem}"],data:{animation:[f2._]}});const as=function(F){return{width:F}};function ll(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,as,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.claimAddress)}}function ph(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Lockup Address"),e.qZA())}function Fd(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,as,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.lockupAddress)}}function gh(F,M){1&F&&(e.TgZ(0,"th",48),e._uU(1,"Onchain Amount (Sats)"),e.qZA())}function _h(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",49),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.onchainAmount))}}function vh(F,M){1&F&&(e.TgZ(0,"th",48),e._uU(1,"Expected Amount (Sats)"),e.qZA())}function Hd(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",49),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.expectedAmount))}}function zd(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Error"),e.qZA())}function bh(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,as,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.error)}}function yh(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Private Key"),e.qZA())}function Vd(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,as,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.privateKey)}}function Bd(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Preimage"),e.qZA())}function w1(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,as,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.preimage)}}function vo(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Redeem Script"),e.qZA())}function Ul(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,as,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.redeemScript)}}function Ud(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Invoice"),e.qZA())}function Gd(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,as,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.invoice)}}function M1(F,M){1&F&&(e.TgZ(0,"th",48),e._uU(1,"Timeout Block Height"),e.qZA())}function $u(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",49),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.timeoutBlockHeight))}}function Zd(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Lockup Tx ID"),e.qZA())}function e3(F,M){if(1&F&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.xp6(1),e.Oqu(null==_?null:_.lockupTransactionId)}}function A2(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Claim Tx ID"),e.qZA())}function S1(F,M){if(1&F&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.xp6(1),e.Oqu(null==_?null:_.claimTransactionId)}}function t3(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Refund Tx ID"),e.qZA())}function n3(F,M){if(1&F&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.xp6(1),e.Oqu(null==_?null:_.refundTransactionId)}}function L2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"th",50)(1,"div",51)(2,"mat-select",52),e._UZ(3,"mat-select-trigger"),e.TgZ(4,"mat-option",53),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.onDownloadCSV())}),e._uU(5,"Download CSV"),e.qZA()()()()}}function Wd(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"td",54)(1,"button",55),e.NdJ("click",function(pe){const Wt=e.CHM(_).$implicit,ei=e.oxw();return e.KtG(ei.onSwapClick(Wt,pe))}),e._uU(2,"View Info"),e.qZA()()}}function Yd(F,M){if(1&F&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&F){const _=e.oxw(2);e.xp6(1),e.Oqu(_.emptyTableMessage)}}function jd(F,M){if(1&F&&(e.TgZ(0,"td",56),e.YNc(1,Yd,2,1,"p",57),e.qZA()),2&F){const _=e.oxw();e.xp6(1),e.Q6J("ngIf",!(null!=_.listSwaps&&_.listSwaps.data)||(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)<1)}}const dl=function(F){return{"display-none":F}};function D2(F,M){if(1&F&&e._UZ(0,"tr",58),2&F){const _=e.oxw();e.Q6J("ngClass",e.VKq(1,dl,(null==_.listSwaps?null:_.listSwaps.data)&&(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)>0))}}function E1(F,M){1&F&&e._UZ(0,"tr",59)}function Kd(F,M){1&F&&e._UZ(0,"tr",60)}const I2=function(){return["all"]},Qd=function(F){return{"overflow-auto error-border":F,"overflow-auto":!0}},Qr=function(){return["no_swap"]};class hl{constructor(M,_,Z,pe,gt){this.logger=M,this.commonService=_,this.store=Z,this.boltzService=pe,this.camelCaseWithReplace=gt,this.selectedSwapType=Qe.hc.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Qe.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:Qe.IV,sortBy:"status",sortOrder:Qe.Pi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:Qe.IV,sortBy:"status",sortOrder:Qe.Pi.DESCENDING},this.swapStateEnum=Qe.Qw,this.swapTypeEnum=Qe.hc,this.faHistory=Qi.qO$,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new er.by([]),this.selFilter="",this.pageSize=Qe.IV,this.pageSizeOptions=Qe.TJ,this.screenSize="",this.screenSizeEnum=Qe.cu,this.unSubs=[new Bi.x,new Bi.x,new Bi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Zs.Pr).pipe((0,nn.R)(this.unSubs[0])).subscribe(M=>{this.tableSettingSwapOut=M.pageSettings.find(_=>_.pageId===this.PAGE_ID)?.tables.find(_=>_.tableId===this.tableSettingSwapOut.tableId)||Qe.gK.find(_=>_.pageId===this.PAGE_ID)?.tables.find(_=>_.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=M.pageSettings.find(_=>_.pageId===this.PAGE_ID)?.tables.find(_=>_.tableId===this.tableSettingSwapIn.tableId)||Qe.gK.find(_=>_.pageId===this.PAGE_ID)?.tables.find(_=>_.tableId===this.tableSettingSwapIn.tableId),this.setTableColumns(),this.swapsData&&this.swapsData.length>0&&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)}ngOnChanges(M){M.selectedSwapType&&!M.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===Qe.hc.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}setTableColumns(){this.selectedSwapType===Qe.hc.SWAP_IN?(this.displayedColumns=this.screenSize===Qe.cu.XS||this.screenSize===Qe.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:Qe.IV):(this.displayedColumns=this.screenSize===Qe.cu.XS||this.screenSize===Qe.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:Qe.IV)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(M){const Z=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===Qe.hc.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(pe=>pe.column===M);return Z?Z.label?Z.label:this.camelCaseWithReplace.transform(Z.column,"_"):this.commonService.titleCase(M)}setFilterPredicate(){this.listSwaps.filterPredicate=(M,_)=>{let Z="";switch(this.selFilterBy){case"all":Z=JSON.stringify(M).toLowerCase();break;case"status":Z=M?.status?this.swapStateEnum[M?.status]:"";break;default:Z=typeof M[this.selFilterBy]>"u"?"":"string"==typeof M[this.selFilterBy]?M[this.selFilterBy].toLowerCase():"boolean"==typeof M[this.selFilterBy]?M[this.selFilterBy]?"yes":"no":M[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===Z.indexOf(_):Z.includes(_)}}onSwapClick(M,_){this.boltzService.swapInfo(M.id||"").pipe((0,nn.R)(this.unSubs[1])).subscribe(Z=>{this.store.dispatch((0,Jt.qR)({payload:{data:{type:Qe.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:Qe.Qw[(Z=this.selectedSwapType===Qe.hc.SWAP_IN?Z.swap:Z.reverseSwap).status],title:"Status",width:50,type:Qe.Gi.STRING},{key:"id",value:Z.id,title:"ID",width:50,type:Qe.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:Qe.Gi.NUMBER},{key:"timeoutBlockHeight",value:Z.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:Qe.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:Qe.Gi.STRING}],[{key:"invoice",value:Z.invoice,title:"Invoice",width:100,type:Qe.Gi.STRING}],[{key:"privateKey",value:Z.privateKey,title:"Private Key",width:100,type:Qe.Gi.STRING}],[{key:"preimage",value:Z.preimage,title:"Preimage",width:100,type:Qe.Gi.STRING}],[{key:"redeemScript",value:Z.redeemScript,title:"Redeem Script",width:100,type:Qe.Gi.STRING}],[{key:"lockupTransactionId",value:Z.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:Qe.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:Qe.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(M){this.listSwaps=new er.by(M?[...M]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(_,Z)=>_[Z]&&isNaN(_[Z])?_[Z].toLocaleLowerCase():_[Z]?+_[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===Qe.hc.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}hl.\u0275fac=function(M){return new(M||hl)(e.Y36(li.mQ),e.Y36(en.v),e.Y36(Ri.yh),e.Y36(_o),e.Y36(ec.D3))},hl.\u0275cmp=e.Xpm({type:hl,selectors:[["rtl-boltz-swaps"]],viewQuery:function(M,_){if(1&M&&(e.Gf(nl.YE,5),e.Gf(Tc.NW,5)),2&M){let Z;e.iGM(Z=e.CRH())&&(_.sort=Z.first),e.iGM(Z=e.CRH())&&(_.paginator=Z.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[e._Bn([{provide:ji.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:Tc.ye,useValue:(0,Qe.pt)("Swaps")}]),e.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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2),e._UZ(3,"fa-icon",3),e.TgZ(4,"span",4),e._uU(5),e.qZA()(),e.TgZ(6,"div",5)(7,"mat-form-field",6)(8,"mat-label"),e._uU(9,"Filter By"),e.qZA(),e.TgZ(10,"mat-select",7),e.NdJ("ngModelChange",function(pe){return _.selFilterBy=pe})("selectionChange",function(){return _.selFilter="",_.applyFilter()}),e.TgZ(11,"perfect-scrollbar"),e.YNc(12,T2,2,2,"mat-option",8),e.qZA()()(),e.TgZ(13,"mat-form-field",6)(14,"mat-label"),e._uU(15,"Filter"),e.qZA(),e.TgZ(16,"input",9),e.NdJ("ngModelChange",function(pe){return _.selFilter=pe})("input",function(){return _.applyFilter()})("keyup",function(){return _.applyFilter()}),e.qZA()()()(),e.TgZ(17,"div",10)(18,"div",11),e.YNc(19,Ic,1,0,"mat-progress-bar",12),e.TgZ(20,"table",13,14),e.ynx(22,15),e.YNc(23,Pd,2,0,"th",16),e.YNc(24,fh,2,1,"td",17),e.BQk(),e.ynx(25,18),e.YNc(26,Rd,2,0,"th",16),e.YNc(27,Nd,2,1,"td",17),e.BQk(),e.ynx(28,19),e.YNc(29,mh,2,0,"th",16),e.YNc(30,ll,4,4,"td",17),e.BQk(),e.ynx(31,20),e.YNc(32,ph,2,0,"th",16),e.YNc(33,Fd,4,4,"td",17),e.BQk(),e.ynx(34,21),e.YNc(35,gh,2,0,"th",22),e.YNc(36,_h,4,3,"td",17),e.BQk(),e.ynx(37,23),e.YNc(38,vh,2,0,"th",22),e.YNc(39,Hd,4,3,"td",17),e.BQk(),e.ynx(40,24),e.YNc(41,zd,2,0,"th",16),e.YNc(42,bh,4,4,"td",17),e.BQk(),e.ynx(43,25),e.YNc(44,yh,2,0,"th",16),e.YNc(45,Vd,4,4,"td",17),e.BQk(),e.ynx(46,26),e.YNc(47,Bd,2,0,"th",16),e.YNc(48,w1,4,4,"td",17),e.BQk(),e.ynx(49,27),e.YNc(50,vo,2,0,"th",16),e.YNc(51,Ul,4,4,"td",17),e.BQk(),e.ynx(52,28),e.YNc(53,Ud,2,0,"th",16),e.YNc(54,Gd,4,4,"td",17),e.BQk(),e.ynx(55,29),e.YNc(56,M1,2,0,"th",22),e.YNc(57,$u,4,3,"td",17),e.BQk(),e.ynx(58,30),e.YNc(59,Zd,2,0,"th",16),e.YNc(60,e3,2,1,"td",17),e.BQk(),e.ynx(61,31),e.YNc(62,A2,2,0,"th",16),e.YNc(63,S1,2,1,"td",17),e.BQk(),e.ynx(64,32),e.YNc(65,t3,2,0,"th",16),e.YNc(66,n3,2,1,"td",17),e.BQk(),e.ynx(67,33),e.YNc(68,L2,6,0,"th",34),e.YNc(69,Wd,3,0,"td",35),e.BQk(),e.ynx(70,36),e.YNc(71,jd,2,1,"td",37),e.BQk(),e.YNc(72,D2,1,3,"tr",38),e.YNc(73,E1,1,0,"tr",39),e.YNc(74,Kd,1,0,"tr",40),e.qZA(),e._UZ(75,"mat-paginator",41),e.qZA()()()),2&M&&(e.xp6(3),e.Q6J("icon",_.faHistory),e.xp6(2),e.hij("",_.swapCaption," History"),e.xp6(5),e.Q6J("ngModel",_.selFilterBy),e.xp6(2),e.Q6J("ngForOf",e.DdM(16,I2).concat(_.displayedColumns.slice(0,-1))),e.xp6(4),e.Q6J("ngModel",_.selFilter),e.xp6(3),e.Q6J("ngIf",!0===_.flgLoading[0]),e.xp6(1),e.Q6J("matSortActive",_.selectedSwapType===_.swapTypeEnum.SWAP_IN?_.tableSettingSwapIn.sortBy:_.tableSettingSwapOut.sortBy)("matSortDirection",_.selectedSwapType===_.swapTypeEnum.SWAP_IN?_.tableSettingSwapIn.sortOrder:_.tableSettingSwapOut.sortOrder)("dataSource",_.listSwaps)("ngClass",e.VKq(17,Qd,"error"===_.flgLoading[0])),e.xp6(52),e.Q6J("matFooterRowDef",e.DdM(19,Qr)),e.xp6(1),e.Q6J("matHeaderRowDef",_.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",_.displayedColumns),e.xp6(1),e.Q6J("pageSize",_.pageSize)("pageSizeOptions",_.pageSizeOptions)("showFirstLastButtons",_.screenSize!==_.screenSizeEnum.XS))},dependencies:[Ji.mk,Ji.sg,Ji.O5,Ji.PC,ii.Fj,ii.JJ,ii.On,mt.BN,Le.xw,Le.Wh,Le.yH,an.oO,an.Zl,bi.lW,sa.Nt,Ii.KE,Ii.hX,Pl.pW,ji.gD,ji.$L,rn.ey,nl.YE,nl.nU,er.BZ,er.fO,er.as,er.w1,er.Dz,er.nj,er.mD,er.Ke,er.ge,er.ev,er.yh,er.XQ,er.Gk,er.Q2,Tc.NW,ln.Vv,ln.$V,Ji.JJ]});const qd=function(F){return["../",F]};function Jd(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",16),e.NdJ("click",function(){const gt=e.CHM(_).$implicit,Wt=e.oxw();return e.KtG(Wt.onSelectedIndexChange(gt))}),e._uU(1),e.qZA()}if(2&F){const _=M.$implicit,Z=e.oxw();e.Q6J("active",Z.activeTab.link===_.link)("routerLink",e.VKq(3,qd,_.link)),e.xp6(1),e.Oqu(_.name)}}class ul{constructor(M,_,Z){this.router=M,this.store=_,this.boltzService=Z,this.swapTypeEnum=Qe.hc,this.selectedSwapType=Qe.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 Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.boltzService.listSwaps();const M=this.links.find(_=>this.router.url.includes(_.link));this.activeTab=M||this.links[0],this.selectedSwapType=M&&"swapin"===M.link?Qe.hc.SWAP_IN:Qe.hc.SWAP_OUT,this.router.events.pipe((0,nn.R)(this.unSubs[0]),(0,Cr.h)(_=>_ instanceof Wn.Av)).subscribe({next:_=>{const Z=this.links.find(pe=>_.urlAfterRedirects.includes(pe.link));this.activeTab=Z||this.links[0],this.selectedSwapType=Z&&"swapin"===Z.link?Qe.hc.SWAP_IN:Qe.hc.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,nn.R)(this.unSubs[1])).subscribe({next:_=>{this.swaps=_,this.swapsData=this.selectedSwapType===Qe.hc.SWAP_IN&&_.swaps?_.swaps:this.selectedSwapType===Qe.hc.SWAP_OUT&&_.reverseSwaps?_.reverseSwaps:[],this.flgLoading[0]=!1},error:_=>{this.flgLoading[0]="error",this.emptyTableMessage=_.message?_.message:"No swap "+(this.selectedSwapType===Qe.hc.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(M){"swapin"===M.link?(this.selectedSwapType=Qe.hc.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=Qe.hc.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(M){this.boltzService.serviceInfo().pipe((0,nn.R)(this.unSubs[2])).subscribe({next:_=>{this.store.dispatch((0,Jt.qR)({payload:{data:{serviceInfo:_,direction:M,component:cl}}}))}})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}ul.\u0275fac=function(M){return new(M||ul)(e.Y36(Wn.F0),e.Y36(Ri.yh),e.Y36(_o))},ul.\u0275cmp=e.Xpm({type:ul,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"],["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","1",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(M,_){if(1&M&&(e.TgZ(0,"div",0),e.O4$(),e.TgZ(1,"svg",1)(2,"g",2)(3,"g",3),e._UZ(4,"circle",4)(5,"path",5)(6,"path",6),e.qZA()()(),e.kcU(),e.TgZ(7,"span",7),e._uU(8,"Boltz"),e.qZA()(),e.TgZ(9,"div",8)(10,"mat-card")(11,"mat-card-content",9)(12,"nav",10),e.YNc(13,Jd,2,5,"div",11),e.qZA(),e._UZ(14,"mat-tab-nav-panel",null,12),e.TgZ(16,"div",13)(17,"button",14),e.NdJ("click",function(){return _.onSwap(_.selectedSwapType)}),e._uU(18),e.qZA()(),e._UZ(19,"rtl-boltz-swaps",15),e.qZA()()()),2&M){const Z=e.MAs(15);e.xp6(12),e.Q6J("tabPanel",Z),e.xp6(1),e.Q6J("ngForOf",_.links),e.xp6(5),e.hij("Start ",_.activeTab.name,""),e.xp6(1),e.Q6J("selectedSwapType",_.selectedSwapType)("swapsData",_.swapsData)("flgLoading",_.flgLoading)("emptyTableMessage",_.emptyTableMessage)}},dependencies:[Ji.sg,Le.xw,Le.Wh,Le.yH,bi.lW,Et.a8,Et.dn,ri.BU,ri.sW,ri.Nj,Wn.rH,hl]});class La{constructor(M){this.help=M}}function Gl(F,M){if(1&F&&(e.TgZ(0,"mat-expansion-panel",8)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),e._uU(3),e.qZA()(),e.TgZ(4,"mat-panel-description",9),e._UZ(5,"span",10),e.TgZ(6,"a",11),e._uU(7),e.qZA()()()),2&F){const _=e.oxw().$implicit,Z=e.oxw();e.xp6(3),e.Oqu(_.help.question),e.xp6(2),e.Q6J("innerHTML",_.help.answer,e.oJD),e.xp6(1),e.Q6J("routerLink",Z.flgLoggedIn?_.help.link:"/login"),e.xp6(1),e.Oqu(Z.flgLoggedIn?_.help.linkCaption:"Login to go to the page")}}function kc(F,M){if(1&F&&(e.TgZ(0,"div",6),e.YNc(1,Gl,8,4,"mat-expansion-panel",7),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngIf","ALL"===_.help.lnImplementation||_.help.lnImplementation===Z.selNode.lnImplementation)}}class Oc{constructor(M,_){this.store=M,this.sessionService=_,this.helpTopics=[],this.faQuestion=Qi.Psp,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.store.select(Oe.dT).pipe((0,nn.R)(this.unSubs[0])).subscribe(M=>{this.selNode=M,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,nn.R)(this.unSubs[1])).subscribe(M=>{this.flgLoggedIn=!!M.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new La({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 La({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 La({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 La({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 La({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 La({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 La({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 La({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. Vendor - Vendor 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 La({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 La({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 La({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 La({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 La({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 La({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 La({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 La({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 La({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 La({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(M=>{M.next(null),M.complete()})}}Oc.\u0275fac=function(M){return new(M||Oc)(e.Y36(Ri.yh),e.Y36(gs.m))},Oc.\u0275cmp=e.Xpm({type:Oc,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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"fa-icon",2),e.TgZ(3,"span",3),e._uU(4,"Help"),e.qZA()(),e.TgZ(5,"div",4)(6,"div",0),e.YNc(7,kc,2,1,"div",5),e.qZA()()()),2&M&&(e.xp6(2),e.Q6J("icon",_.faQuestion),e.xp6(5),e.Q6J("ngForOf",_.helpTopics))},dependencies:[Ji.sg,Ji.O5,mt.BN,Le.xw,Le.Wh,Le.yH,Ln.ib,Ln.yz,Ln.yK,Ln.u4,Wn.rH],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]});var Xd=m(9841);function $d(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is required."),e.qZA())}class oc{constructor(M,_){this.dialogRef=M,this.store=_,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,Jt.M6)({payload:{twoFAToken:this.token}}))}}function Mh(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}function k2(F,M){if(1&F&&(e.TgZ(0,"p",20)(1,"mat-icon",21),e._uU(2,"close"),e.qZA(),e._uU(3),e.qZA()),2&F){const _=e.oxw();e.xp6(3),e.hij(" ",_.loginErrorMessage," ")}}oc.\u0275fac=function(M){return new(M||oc)(e.Y36(Er.so),e.Y36(Ri.yh))},oc.\u0275cmp=e.Xpm({type:oc,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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e._uU(5,"Two Factor Token"),e.qZA()(),e.TgZ(6,"button",5),e.NdJ("click",function(){return _.onClose()}),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"form",7,8),e.NdJ("ngSubmit",function(){return _.onVerifyToken()}),e.TgZ(11,"mat-form-field")(12,"mat-label"),e._uU(13,"Token"),e.qZA(),e.TgZ(14,"input",9),e.NdJ("ngModelChange",function(pe){return _.token=pe}),e.qZA(),e.YNc(15,$d,2,0,"mat-error",10),e.qZA(),e.TgZ(16,"div",11)(17,"button",12),e._uU(18,"Verify Token"),e.qZA()()()()()()),2&M&&(e.xp6(14),e.Q6J("ngModel",_.token),e.xp6(1),e.Q6J("ngIf",!_.token))},dependencies:[Ji.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,Le.xw,Le.Wh,Le.yH,bi.lW,Et.dn,Et.dk,sa.Nt,Ii.KE,Ii.hX,Ii.TO,Cn.h]});const fl=function(F){return{"padding-gap-large":F}},e0=function(F,M){return{"font-size-200":F,"font-size-300":M}};class Pc{constructor(M,_,Z,pe){this.logger=M,this.store=_,this.rtlEffects=Z,this.commonService=pe,this.faUnlockAlt=Qi.B$L,this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=Qe.cu,this.loginErrorMessage="",this.apiCallStatusEnum=Qe.Bn,this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,Xd.a)([this.store.select(Oe.ul),this.store.select(Oe.Sr)]).pipe((0,nn.R)(this.unSubs[0])).subscribe(([M,_])=>{this.loginErrorMessage="",M.status===Qe.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof M.message?JSON.stringify(M.message):M.message),this.logger.error(M.message)),_.status===Qe.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof _.message?JSON.stringify(_.message):_.message),this.logger.error(_.message))}),this.store.select(Oe.Yj).pipe((0,nn.R)(this.unSubs[1])).subscribe(M=>{this.appConfig=M,this.logger.info(M)})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.appConfig.enable2FA?(this.store.dispatch((0,Jt.qR)({payload:{maxWidth:"35rem",data:{component:oc}}})),this.rtlEffects.closeAlert.pipe((0,kr.q)(1)).subscribe(M=>{M&&this.store.dispatch((0,Jt.x4)({payload:{password:ta(this.password),defaultPassword:Qe.kO.includes(this.password.toLowerCase()),twoFAToken:M.twoFAToken}}))})):this.store.dispatch((0,Jt.x4)({payload:{password:ta(this.password),defaultPassword:Qe.kO.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}Pc.\u0275fac=function(M){return new(M||Pc)(e.Y36(li.mQ),e.Y36(Ri.yh),e.Y36(mr.V),e.Y36(en.v))},Pc.\u0275cmp=e.Xpm({type:Pc,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"],["src","assets/images/RTL-Horse-BY.svg","alt","RTL Logo",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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-card",2)(3,"div",3)(4,"div",4),e._UZ(5,"img",5),e.qZA(),e.TgZ(6,"div",6)(7,"mat-card-header",7)(8,"mat-card-title",8)(9,"span",9),e._uU(10,"Welcome"),e.qZA()()(),e.TgZ(11,"mat-card-content",10)(12,"form",11,12)(14,"mat-form-field")(15,"mat-label"),e._uU(16,"Password"),e.qZA(),e.TgZ(17,"input",13),e.NdJ("ngModelChange",function(pe){return _.password=pe}),e.qZA(),e.TgZ(18,"button",14),e.NdJ("click",function(){return _.flgShow=!_.flgShow}),e.TgZ(19,"mat-icon"),e._uU(20),e.qZA()(),e.YNc(21,Mh,2,0,"mat-error",15),e.qZA(),e.YNc(22,k2,4,1,"p",16),e.TgZ(23,"div",17)(24,"button",18),e.NdJ("click",function(){return _.resetData()}),e._uU(25,"Clear"),e.qZA(),e.TgZ(26,"button",19),e.NdJ("click",function(){return _.onLogin()}),e._uU(27,"Login"),e.qZA()()()()()()()()()),2&M&&(e.xp6(6),e.Q6J("ngClass",e.VKq(8,fl,_.screenSize===_.screenSizeEnum.XS)),e.xp6(2),e.Q6J("ngClass",e.WLB(10,e0,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS)),e.xp6(9),e.Q6J("type",_.flgShow?"text":"password")("ngModel",_.password),e.xp6(1),e.uIk("aria-label","Hide password"),e.xp6(2),e.Oqu(_.flgShow?"visibility_off":"visibility"),e.xp6(1),e.Q6J("ngIf",!_.password),e.xp6(1),e.Q6J("ngIf",""!==_.loginErrorMessage))},dependencies:[Ji.mk,Ji.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,Le.xw,Le.Wh,Le.yH,an.oO,bi.lW,bi.RK,Et.a8,Et.dn,Et.dk,Et.n5,mo.Hw,sa.Nt,Ii.KE,Ii.hX,Ii.TO,Ii.R9,Cn.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}"]});var a3=m(9442);class Fo{constructor(M,_){this.activatedRoute=M,this.router=_,this.error={errorCode:"",errorMessage:""},this.faTimes=Qi.NBC,this.unsubs=[new Bi.x,new Bi.x]}ngOnInit(){this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.activatedRoute.paramMap.pipe((0,nn.R)(this.unsubs[0])).subscribe(M=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}}Fo.\u0275fac=function(M){return new(M||Fo)(e.Y36(Wn.gz),e.Y36(Wn.F0))},Fo.\u0275cmp=e.Xpm({type:Fo,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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"mat-card",1)(2,"mat-card-header",2)(3,"mat-card-title",3),e._UZ(4,"fa-icon",4),e.TgZ(5,"span",5),e._uU(6),e.qZA()()(),e.TgZ(7,"mat-card-content",6)(8,"div",7),e._uU(9),e.qZA(),e.TgZ(10,"span",8)(11,"button",9),e.NdJ("click",function(){return _.goToHelp()}),e._uU(12,"Go To Help"),e.qZA()()()()()),2&M&&(e.xp6(4),e.Q6J("icon",_.faTimes),e.xp6(2),e.hij("Error ",_.error.errorCode,""),e.xp6(3),e.Oqu(_.error.errorMessage))},dependencies:[mt.BN,Le.xw,Le.Wh,Le.yH,bi.lW,Et.a8,Et.dn,Et.dk,Et.n5],encapsulation:2});var Da=m(1643),Zl=m(8104),t0=m(9843),Wl=m(6534);function Ho(F,M){1&F&&e._UZ(0,"span",16)}function n0(F,M){1&F&&e._UZ(0,"span",17)}function ml(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"form",18,4)(2,"div",19),e._UZ(3,"fa-icon",2),e.TgZ(4,"span"),e._uU(5,"Please ensure that "),e.TgZ(6,"strong"),e._uU(7,"experimental-offers"),e.qZA(),e._uU(8," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),e.TgZ(9,"strong")(10,"a",20),e._uU(11,"here"),e.qZA()(),e._uU(12," to learn more about Core Lightning offers."),e.qZA()(),e.TgZ(13,"h4",21),e._uU(14,"Description"),e.qZA(),e.TgZ(15,"span"),e._uU(16,"Offers is a draft specification (also referred as BOLT12) for Lightning nodes and wallets, with experimental support in Core Lightning."),e.qZA(),e.TgZ(17,"h4",21),e._uU(18,"Links"),e.qZA(),e.TgZ(19,"span")(20,"a",22),e._uU(21,"Core lightning Bolt12"),e.qZA()(),e._UZ(22,"mat-divider",23),e.TgZ(23,"div",24),e._UZ(24,"fa-icon",2),e.TgZ(25,"span"),e._uU(26,"Do not get an Offer tattoo until spec is fully ratified!"),e.qZA()(),e.TgZ(27,"mat-slide-toggle",25),e.NdJ("ngModelChange",function(pe){e.CHM(_);const gt=e.oxw(2);return e.KtG(gt.enableOffers=pe)})("change",function(){e.CHM(_);const pe=e.oxw(2);return e.KtG(pe.onUpdateFeature())}),e._uU(28),e.qZA()()}if(2&F){const _=e.oxw(2);e.xp6(3),e.Q6J("icon",_.faInfoCircle),e.xp6(19),e.Q6J("inset",!0),e.xp6(2),e.Q6J("icon",_.faExclamationTriangle),e.xp6(3),e.Q6J("ngModel",_.enableOffers),e.xp6(1),e.hij("Enable Offers ",_.enableOffers?"(You can find Offers under Lightning -> Transactions -> Offers)":"","")}}function zo(F,M){if(1&F&&(e.TgZ(0,"div")(1,"div",28),e._UZ(2,"fa-icon",2),e.TgZ(3,"span"),e._uU(4,"Please ensure that "),e.TgZ(5,"strong"),e._uU(6,"experimental-dual-fund"),e.qZA(),e._uU(7," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),e.TgZ(8,"strong")(9,"a",29),e._uU(10,"here"),e.qZA()(),e._uU(11," to learn more about Core Lightning Liquidity Ads."),e.qZA()()()),2&F){const _=e.oxw(3);e.xp6(2),e.Q6J("icon",_.faExclamationTriangle)}}function Sh(F,M){if(1&F&&(e.TgZ(0,"mat-option",47),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&F){const _=M.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",e.lcZ(2,2,_.id)," ")}}function T1(F,M){if(1&F&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&F){const _=e.oxw(4);e.xp6(1),e.hij("",_.selPolicyType.placeholder," is required.")}}function Yl(F,M){if(1&F&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&F){const _=e.oxw(4);e.xp6(1),e.AsE("",_.selPolicyType.placeholder," must be greater than or equal to ",_.selPolicyType.min,".")}}function Rc(F,M){if(1&F&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&F){const _=e.oxw(4);e.xp6(1),e.AsE("",_.selPolicyType.placeholder," must be less than or equal to ",_.selPolicyType.max,".")}}function O2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Lease base fee is required."),e.qZA())}function P2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Lease base basis is required."),e.qZA())}function r0(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Max channel routing base fee is required."),e.qZA())}function a0(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Max channel routing fee rate is required."),e.qZA())}const R2=function(F,M){return{"alert-danger":F,"alert-info":M}};function Nc(F,M){if(1&F&&(e.TgZ(0,"h4",48)(1,"span",49),e._uU(2),e.qZA()()),2&F){const _=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.WLB(2,R2,!!_.updateMsg.error,!!_.updateMsg.data)),e.xp6(1),e.hij(" ",_.updateMsg.error&&""!==_.updateMsg.error?"Error: "+_.updateMsg.error||0:_.updateMsg.data&&""!==_.updateMsg.data?_.updateMsg.data:"Successfully Updated the Funding Policy!"," ")}}function s0(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",30)(1,"div",31),e._UZ(2,"fa-icon",2),e.TgZ(3,"span"),e._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."),e.qZA()(),e.TgZ(5,"div",32)(6,"mat-form-field",33)(7,"mat-label"),e._uU(8,"Policy"),e.qZA(),e.TgZ(9,"mat-select",34),e.NdJ("ngModelChange",function(pe){e.CHM(_);const gt=e.oxw(3);return e.KtG(gt.selPolicyType=pe)})("selectionChange",function(){e.CHM(_);const pe=e.oxw(3);return e.KtG(pe.policyMod=null)}),e.YNc(10,Sh,3,4,"mat-option",35),e.qZA()(),e.TgZ(11,"mat-form-field",36)(12,"mat-label"),e._uU(13),e.qZA(),e.TgZ(14,"input",37,38),e.NdJ("ngModelChange",function(pe){e.CHM(_);const gt=e.oxw(3);return e.KtG(gt.policyMod=pe)}),e.qZA(),e.TgZ(16,"mat-hint"),e._uU(17),e.qZA(),e.YNc(18,T1,2,1,"mat-error",26),e.YNc(19,Yl,2,2,"mat-error",26),e.YNc(20,Rc,2,2,"mat-error",26),e.qZA()(),e.TgZ(21,"div",32)(22,"mat-form-field",36)(23,"mat-label"),e._uU(24,"Lease Base Fee (Sats)"),e.qZA(),e.TgZ(25,"input",39),e.NdJ("ngModelChange",function(pe){e.CHM(_);const gt=e.oxw(3);return e.KtG(gt.lease_fee_base_sat=pe)}),e.qZA(),e.YNc(26,O2,2,0,"mat-error",26),e.qZA(),e.TgZ(27,"mat-form-field",36)(28,"mat-label"),e._uU(29,"Lease Base Basis (bps)"),e.qZA(),e.TgZ(30,"input",40),e.NdJ("ngModelChange",function(pe){e.CHM(_);const gt=e.oxw(3);return e.KtG(gt.lease_fee_basis=pe)}),e.qZA(),e.YNc(31,P2,2,0,"mat-error",26),e.qZA()(),e.TgZ(32,"div",32)(33,"mat-form-field",36)(34,"mat-label"),e._uU(35,"Max Channel Routing Base Fee (Sats)"),e.qZA(),e.TgZ(36,"input",41),e.NdJ("ngModelChange",function(pe){e.CHM(_);const gt=e.oxw(3);return e.KtG(gt.channelFeeMaxBaseSat=pe)}),e.qZA(),e.YNc(37,r0,2,0,"mat-error",26),e.qZA(),e.TgZ(38,"mat-form-field",36)(39,"mat-label"),e._uU(40,"Max Channel Routing Fee Rate (ppm)"),e.qZA(),e.TgZ(41,"input",42),e.NdJ("ngModelChange",function(pe){e.CHM(_);const gt=e.oxw(3);return e.KtG(gt.channelFeeMaxProportional=pe)}),e.qZA(),e.YNc(42,a0,2,0,"mat-error",26),e.qZA()(),e.YNc(43,Nc,3,5,"h4",43),e.TgZ(44,"div",44)(45,"button",45),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw(3);return e.KtG(pe.onResetPolicy())}),e._uU(46,"Reset"),e.qZA(),e.TgZ(47,"button",46),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw(3);return e.KtG(pe.onUpdateFundingPolicy())}),e._uU(48,"Update"),e.qZA()()()}if(2&F){const _=e.oxw(3);e.xp6(2),e.Q6J("icon",_.faExclamationTriangle),e.xp6(7),e.Q6J("ngModel",_.selPolicyType),e.xp6(1),e.Q6J("ngForOf",_.policyTypes),e.xp6(3),e.Oqu(_.selPolicyType.placeholder),e.xp6(1),e.Q6J("step","fixed"===_.selPolicyType.id?1e3:10)("min",_.selPolicyType.min)("max",_.selPolicyType.max)("ngModel",_.policyMod),e.xp6(3),e.lnq("",_.selPolicyType.placeholder," should be between ",_.selPolicyType.min," and ",_.selPolicyType.max,""),e.xp6(1),e.Q6J("ngIf",!_.policyMod),e.xp6(1),e.Q6J("ngIf",_.policyMod<_.selPolicyType.min),e.xp6(1),e.Q6J("ngIf",_.policyMod>_.selPolicyType.max),e.xp6(5),e.Q6J("ngModel",_.lease_fee_base_sat),e.xp6(1),e.Q6J("ngIf",!_.lease_fee_base_sat),e.xp6(4),e.Q6J("ngModel",_.lease_fee_basis),e.xp6(1),e.Q6J("ngIf",!_.lease_fee_basis),e.xp6(5),e.Q6J("ngModel",_.channelFeeMaxBaseSat),e.xp6(1),e.Q6J("ngIf",!_.channelFeeMaxBaseSat),e.xp6(4),e.Q6J("ngModel",_.channelFeeMaxProportional),e.xp6(1),e.Q6J("ngIf",!_.channelFeeMaxProportional),e.xp6(1),e.Q6J("ngIf",_.flgUpdateCalled)}}function Eh(F,M){if(1&F&&(e.TgZ(0,"form",18,4),e.YNc(2,zo,12,1,"div",26),e.YNc(3,s0,49,23,"div",27),e.qZA()),2&F){const _=e.oxw(2);e.xp6(2),e.Q6J("ngIf",!_.features[1].enabled),e.xp6(1),e.Q6J("ngIf",_.features[1].enabled)}}function A1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-expansion-panel",9),e.NdJ("opened",function(){const gt=e.CHM(_).index,Wt=e.oxw();return e.KtG(Wt.onPanelExpanded(gt))}),e.TgZ(1,"mat-expansion-panel-header")(2,"mat-panel-title",10)(3,"h4",11),e._uU(4),e.qZA(),e.TgZ(5,"h4",11),e.YNc(6,Ho,1,0,"span",12),e.YNc(7,n0,1,0,"span",13),e._uU(8),e.qZA()()(),e.TgZ(9,"div",14),e.YNc(10,ml,29,5,"form",15),e.YNc(11,Eh,4,2,"form",15),e.qZA()()}if(2&F){const _=M.$implicit,Z=M.index;e.Q6J("expanded",!1),e.xp6(4),e.Oqu(_.name),e.xp6(2),e.Q6J("ngIf",_.enabled),e.xp6(1),e.Q6J("ngIf",!_.enabled),e.xp6(1),e.hij(" ",_.enabled?"Enabled":"Disabled"," "),e.xp6(2),e.Q6J("ngIf",0===Z),e.xp6(1),e.Q6J("ngIf",1===Z)}}class cc{constructor(M,_,Z,pe){this.logger=M,this.store=_,this.dataService=Z,this.commonService=pe,this.faInfoCircle=Qi.sqG,this.faExclamationTriangle=Qi.eHv,this.faCode=Qi.dT$,this.features=[{name:"Offers",enabled:!1},{name:"Channel Funding Policy",enabled:!1}],this.enableOffers=!1,this.fundingPolicy={},this.policyTypes=Qe.gB,this.selPolicyType=Qe.gB[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.dataService.listConfigs().pipe((0,nn.R)(this.unSubs[0])).subscribe({next:M=>{this.logger.info("Received List Configs: "+JSON.stringify(M)),this.features[1].enabled=!!M["experimental-dual-fund"]},error:M=>{this.logger.error("List Configs Error: "+JSON.stringify(M)),this.features[1].enabled=!1}}),this.store.select(Oe.dT).pipe((0,nn.R)(this.unSubs[1])).subscribe(M=>{this.selNode=M,this.enableOffers=this.selNode.settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select($1.Rn).pipe((0,nn.R)(this.unSubs[2])).subscribe(M=>{this.policyTypes[2].max=M.balance.totalBalance||1e3})}onPanelExpanded(M){1===M&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,nn.R)(this.unSubs[3])).subscribe(_=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(_)),this.fundingPolicy=_,this.fundingPolicy.policy&&(this.selPolicyType=Qe.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,Jt.jS)({payload:{uiMessage:Qe.m6.UPDATE_SETTING,service:Qe.JX.OFFERS,settings:{enableOffers:this.enableOffers}}})),this.store.dispatch((0,Ti.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,ci.oo)({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,kt.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,nn.R)(this.unSubs[4])).subscribe({next:M=>{this.logger.info(M),this.fundingPolicy=M,this.updateMsg={data:"Compact Lease: "+M.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:M=>{this.logger.error(M),this.updateMsg={error:this.commonService.extractErrorMessage(M,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.selPolicyType=this.fundingPolicy.policy?Qe.gB.find(M=>M.id===this.fundingPolicy.policy)||this.policyTypes[0]:Qe.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(M=>{M.next(null),M.complete()})}}cc.\u0275fac=function(M){return new(M||cc)(e.Y36(li.mQ),e.Y36(Ri.yh),e.Y36(Zl.D),e.Y36(en.v))},cc.\u0275cmp=e.Xpm({type:cc,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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"fa-icon",2),e.TgZ(3,"span"),e._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."),e.qZA()(),e.TgZ(5,"form",3,4)(7,"div",5),e._UZ(8,"fa-icon",6),e.TgZ(9,"span",7),e._uU(10,"Features"),e.qZA()(),e.TgZ(11,"mat-accordion"),e.YNc(12,A1,12,7,"mat-expansion-panel",8),e.qZA()()()),2&M&&(e.xp6(2),e.Q6J("icon",_.faInfoCircle),e.xp6(6),e.Q6J("icon",_.faCode),e.xp6(4),e.Q6J("ngForOf",_.features))},dependencies:[Ji.mk,Ji.sg,Ji.O5,ii._Y,ii.Fj,ii.wV,ii.JJ,ii.JL,ii.Q7,ii.qQ,ii.Fd,ii.On,ii.F,mt.BN,Le.xw,Le.Wh,Le.yH,an.oO,bi.lW,Ln.pp,Ln.ib,Ln.yz,Ln.yK,sa.Nt,Ii.KE,Ii.hX,Ii.bx,Ii.TO,ko.d,ji.gD,rn.ey,pr.Rr,ln.$V,Cn.h,t0.F,Wl.q,Ji.rS],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});const c0=Wn.Bz.forRoot([{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([m.e(267),m.e(636)]).then(m.bind(m,1636)).then(F=>F.LNDModule),canActivate:[Da.a1]},{path:"cln",loadChildren:()=>Promise.all([m.e(267),m.e(564)]).then(m.bind(m,9564)).then(F=>F.CLNModule),canActivate:[Da.a1]},{path:"ecl",loadChildren:()=>Promise.all([m.e(267),m.e(258)]).then(m.bind(m,7258)).then(F=>F.ECLModule),canActivate:[Da.a1]},{path:"settings",component:Pt,canActivate:[Da.a1],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:Br,canActivate:[Da.a1]},{path:"auth",component:Gs,canActivate:[Da.a1]},{path:"bconfig",component:Kc,canActivate:[Da.a1]}]},{path:"config",component:Ts,canActivate:[Da.a1],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:$o,canActivate:[Da.a1]},{path:"pglayout",component:el,canActivate:[Da.a1]},{path:"services",component:Js,canActivate:[Da.a1],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:Oo,canActivate:[Da.a1]},{path:"boltz",component:il,canActivate:[Da.a1]}]},{path:"experimental",component:cc,canActivate:[Da.a1]},{path:"lnconfig",component:At,canActivate:[Da.a1]}]},{path:"services",component:ic,canActivate:[Da.a1],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:Lc},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:ul}]},{path:"help",component:Oc},{path:"login",component:Pc},{path:"error",component:Fo},{path:"**",component:a3.w}],{scrollPositionRestoration:"enabled"});var l0=m(9470),d0=m(8878),N2=m(1572),F2=m(3267),to=m(3683),L1=m(7851),Pa=m(5423);const bo={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Qi.HLz,link:"/lnd/home",userPersona:Qe.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Qi.nNP,link:"/lnd/onchain",userPersona:Qe.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Qi.BDt,link:"/lnd/connections",userPersona:Qe.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Qi.FVb,link:"/lnd/connections",userPersona:Qe.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:Qi.Ssp,link:"/lnd/transactions",userPersona:Qe.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:Qi.SuH,link:"/lnd/routing",userPersona:Qe.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:Qi.koM,link:"/lnd/reports",userPersona:Qe.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Qi.wn1,link:"/lnd/graph",userPersona:Qe.ol.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:Qi.hkK,link:"/lnd/messages",userPersona:Qe.ol.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:Qi.q7m,link:"/lnd/channelbackup",userPersona:Qe.ol.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:Qi.TmZ,link:"/lnd/network",userPersona:Qe.ol.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:Qi.xf3,link:"/lnd/network",userPersona:Qe.ol.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:Qi.Krp,link:"/services/loop",userPersona:Qe.ol.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:Qi.vqe,link:"/services/loop",userPersona:Qe.ol.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Qe.ol.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:Qi.CgH,link:"/config",userPersona:Qe.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:Qi.Psp,link:"/help",userPersona:Qe.ol.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Qi.HLz,link:"/cln/home",userPersona:Qe.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Qi.nNP,link:"/cln/onchain",userPersona:Qe.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Qi.BDt,link:"/cln/connections",userPersona:Qe.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Qi.FVb,link:"/cln/connections",userPersona:Qe.ol.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:Qi.Acd,link:"/cln/liquidityads",userPersona:Qe.ol.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:Qi.Ssp,link:"/cln/transactions",userPersona:Qe.ol.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:Qi.SuH,link:"/cln/routing",userPersona:Qe.ol.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:Qi.koM,link:"/cln/reports",userPersona:Qe.ol.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Qi.wn1,link:"/cln/graph",userPersona:Qe.ol.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:Qi.hkK,link:"/cln/messages",userPersona:Qe.ol.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:Qi.USL,link:"/cln/rates",userPersona:Qe.ol.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:Qi.xf3,link:"/cln/rates",userPersona:Qe.ol.MERCHANT}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:Qi.CgH,link:"/config",userPersona:Qe.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:Qi.Psp,link:"/help",userPersona:Qe.ol.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Qi.HLz,link:"/ecl/home",userPersona:Qe.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Qi.nNP,link:"/ecl/onchain",userPersona:Qe.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Qi.BDt,link:"/ecl/connections",userPersona:Qe.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Qi.FVb,link:"/ecl/connections",userPersona:Qe.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:Qi.Ssp,link:"/ecl/transactions",userPersona:Qe.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:Qi.SuH,link:"/ecl/routing",userPersona:Qe.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:Qi.koM,link:"/ecl/reports",userPersona:Qe.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Qi.wn1,link:"/ecl/graph",userPersona:Qe.ol.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:Qi.CgH,link:"/config",userPersona:Qe.ol.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:Qi.Psp,link:"/help",userPersona:Qe.ol.ALL}]};function Th(F,M){if(1&F&&(e.TgZ(0,"mat-option",11),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.Q6J("value",_.index),e.xp6(1),e.AsE(" ",_.lnNode," (",_.lnImplementation,") ")}}function s3(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-select",9),e.NdJ("selectionChange",function(pe){e.CHM(_);const gt=e.oxw();return e.KtG(gt.onNodeSelectionChange(pe.value))}),e.TgZ(1,"perfect-scrollbar"),e.YNc(2,Th,2,3,"mat-option",10),e.qZA()()}if(2&F){const _=e.oxw();e.Q6J("value",_.selConfigNodeIndex),e.xp6(2),e.Q6J("ngForOf",_.appConfig.nodes)}}function h0(F,M){if(1&F&&(e.TgZ(0,"span",21),e.GkF(1,22),e.qZA()),2&F){const _=e.oxw().$implicit;e.oxw(2);const Z=e.MAs(11);e.xp6(1),e.Q6J("ngTemplateOutlet","boltzIconBlock"===_.icon?Z:null)}}function H2(F,M){if(1&F&&e._UZ(0,"fa-icon",23),2&F){const _=e.oxw().$implicit;e.Q6J("icon",_.icon)}}function Ah(F,M){if(1&F&&(e.TgZ(0,"mat-icon",24),e._uU(1),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_.icon)}}function D1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-tree-node",15)(1,"div",16),e.NdJ("click",function(){const gt=e.CHM(_).$implicit,Wt=e.oxw(2);return e.KtG(Wt.onChildNavClicked(gt))}),e.TgZ(2,"div",17),e.YNc(3,h0,2,1,"span",18),e.YNc(4,H2,1,1,"fa-icon",19),e.YNc(5,Ah,2,1,"mat-icon",20),e.TgZ(6,"span"),e._uU(7),e.qZA()()()()}if(2&F){const _=M.$implicit;e.s9C("routerLink",_.link),e.xp6(3),e.Q6J("ngIf","SVG"===_.iconType),e.xp6(1),e.Q6J("ngIf","FA"===_.iconType),e.xp6(1),e.Q6J("ngIf",!_.iconType),e.xp6(2),e.Oqu(_.name)}}function z2(F,M){if(1&F&&(e.TgZ(0,"span",32),e.GkF(1,22),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Q6J("ngTemplateOutlet",_.icon)}}function Lh(F,M){if(1&F&&e._UZ(0,"fa-icon",23),2&F){const _=e.oxw().$implicit;e.Q6J("icon",_.icon)}}function V2(F,M){if(1&F&&(e.TgZ(0,"mat-icon",24),e._uU(1),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_.icon)}}function gl(F,M){if(1&F&&(e.TgZ(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),e.YNc(3,z2,2,1,"span",28),e.YNc(4,Lh,1,1,"fa-icon",19),e.YNc(5,V2,2,1,"mat-icon",20),e.TgZ(6,"span"),e._uU(7),e.qZA()(),e.TgZ(8,"button",29)(9,"mat-icon"),e._uU(10),e.qZA()()(),e.TgZ(11,"div",30),e.GkF(12,31),e.qZA()()),2&F){const _=M.$implicit,Z=e.oxw(2);e.xp6(3),e.Q6J("ngIf","SVG"===_.iconType),e.xp6(1),e.Q6J("ngIf","FA"===_.iconType),e.xp6(1),e.Q6J("ngIf",!_.iconType),e.xp6(2),e.Oqu(_.name),e.xp6(1),e.uIk("aria-label","toggle "+_.name),e.xp6(2),e.Oqu(Z.treeControlNested.isExpanded(_)?"arrow_drop_up":"arrow_drop_down"),e.xp6(1),e.ekj("tree-children-invisible",!Z.treeControlNested.isExpanded(_))}}function Dh(F,M){if(1&F&&(e.TgZ(0,"mat-tree",5,12),e.YNc(2,D1,8,5,"mat-tree-node",13),e.YNc(3,gl,13,8,"mat-nested-tree-node",14),e.qZA()),2&F){const _=e.oxw();e.Q6J("dataSource",_.navMenus)("treeControl",_.treeControlNested),e.xp6(3),e.Q6J("matTreeNodeDefWhen",_.hasChild)}}function Ih(F,M){if(1&F&&(e.TgZ(0,"span",21),e.GkF(1,22),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Q6J("ngTemplateOutlet",_.icon)}}function u0(F,M){if(1&F&&e._UZ(0,"fa-icon",35),2&F){const _=e.oxw().$implicit;e.s9C("matTooltip",_.name),e.Q6J("icon",_.icon)}}function kh(F,M){if(1&F&&(e.TgZ(0,"mat-icon",36),e._uU(1),e.qZA()),2&F){const _=e.oxw().$implicit;e.s9C("matTooltip",_.name),e.xp6(1),e.Oqu(_.icon)}}function B2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-tree-node",16),e.NdJ("click",function(){const gt=e.CHM(_).$implicit,Wt=e.oxw();return e.KtG(Wt.onShowData(gt))}),e.YNc(1,Ih,2,1,"span",18),e.YNc(2,u0,1,2,"fa-icon",33),e.YNc(3,kh,2,2,"mat-icon",34),e.TgZ(4,"span"),e._uU(5),e.qZA()()}if(2&F){const _=M.$implicit;e.xp6(1),e.Q6J("ngIf","SVG"===_.iconType),e.xp6(1),e.Q6J("ngIf","FA"===_.iconType),e.xp6(1),e.Q6J("ngIf",!_.iconType),e.xp6(2),e.Oqu(_.name)}}function Oh(F,M){if(1&F&&(e.TgZ(0,"span",32),e.GkF(1,22),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Q6J("ngTemplateOutlet",_.icon)}}function I1(F,M){if(1&F&&e._UZ(0,"fa-icon",35),2&F){const _=e.oxw().$implicit;e.s9C("matTooltip",_.name),e.Q6J("icon",_.icon)}}function _l(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-tree-node",16),e.NdJ("click",function(){const gt=e.CHM(_).$implicit,Wt=e.oxw(2);return e.KtG(Wt.onClick(gt))}),e.YNc(1,Oh,2,1,"span",28),e.YNc(2,I1,1,2,"fa-icon",33),e.TgZ(3,"span"),e._uU(4),e.qZA()()}if(2&F){const _=M.$implicit;e.xp6(1),e.Q6J("ngIf","SVG"===_.iconType),e.xp6(1),e.Q6J("ngIf","FA"===_.iconType),e.xp6(2),e.Oqu(_.name)}}function Vo(F,M){if(1&F&&(e.TgZ(0,"mat-tree",5),e.YNc(1,_l,5,3,"mat-tree-node",6),e.qZA()),2&F){const _=e.oxw();e.Q6J("dataSource",_.navMenusLogout)("treeControl",_.treeControlLogout)}}function Ph(F,M){1&F&&(e.O4$(),e.TgZ(0,"svg",37)(1,"g",38)(2,"g",39),e._UZ(3,"circle",40)(4,"path",41)(5,"path",42),e.qZA()()())}class vl{constructor(M,_,Z,pe,gt,Wt){this.logger=M,this.commonService=_,this.sessionService=Z,this.store=pe,this.actions=gt,this.rtlEffects=Wt,this.ChildNavClicked=new e.vpe,this.faEject=Qi.KOR,this.faEye=Qi.Mdf,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:Qi.KOR}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:Qi.Mdf}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=Qe.ol,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x],this.treeControlNested=new L1.VY(ei=>ei.children),this.treeControlLogout=new L1.VY(ei=>ei.children),this.treeControlShowData=new L1.VY(ei=>ei.children),this.navMenus=new Pa.WX,this.navMenusLogout=new Pa.WX,this.navMenusShowData=new Pa.WX,this.hasChild=(ei,fi)=>!!fi.children&&fi.children.length>0,this.version=Qe.q4,bo.LNDChildren&&200===bo.LNDChildren[bo.LNDChildren.length-1].id&&bo.LNDChildren.pop(),this.navMenus.data=bo.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const M=this.sessionService.getItem("token");this.showLogout=!!M,this.flgLoading=!!M,this.store.select(Oe.Yj).pipe((0,nn.R)(this.unSubs[0])).subscribe(_=>{this.appConfig=_}),this.store.select(Oe.gW).pipe((0,nn.R)(this.unSubs[1])).subscribe(_=>{if(this.information=_.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=_.selNode,this.settings=this.selNode?.settings||null,this.selConfigNodeIndex=+(_.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(_)}),this.sessionService.watchSession().pipe((0,nn.R)(this.unSubs[2])).subscribe(_=>{this.showLogout=!!_.token,this.flgLoading=!!_.token}),this.actions.pipe((0,nn.R)(this.unSubs[3]),(0,Cr.h)(_=>_.type===Qe.pg.LOGOUT)).subscribe(_=>{this.showLogout=!1})}onClick(M){"Logout"===M.name&&(this.store.dispatch((0,Jt.c1)({payload:{data:{type:Qe.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,nn.R)(this.unSubs[4])).subscribe(_=>{_&&(this.showLogout=!1,this.store.dispatch((0,Jt.kS)()))})),this.ChildNavClicked.emit(M)}onChildNavClicked(M){this.ChildNavClicked.emit(M)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){let M=[];M=JSON.parse(JSON.stringify(bo.LNDChildren)),this.navMenus.data=M?.filter(_=>_.children&&_.children.length?(_.children=_.children?.filter(Z=>(Z.userPersona===Qe.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()),_.children.length>0):_.userPersona===Qe.ol.ALL||_.userPersona===this.settings?.userPersona)}loadCLNMenu(){let M=[];M=JSON.parse(JSON.stringify(bo.CLNChildren)),this.navMenus.data=M?.filter(_=>_.children&&_.children.length?(_.children=_.children?.filter(Z=>(Z.userPersona===Qe.ol.ALL||Z.userPersona===this.settings?.userPersona)&&"/services/peerswap"!==Z.link||"/services/peerswap"===Z.link&&this.settings?.enablePeerswap),_.children.length>0):_.userPersona===Qe.ol.ALL||_.userPersona===this.settings?.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(bo.ECLChildren))}onShowData(M){this.store.dispatch((0,Jt.tj)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(M){const _=this.selConfigNodeIndex;this.selConfigNodeIndex=M;const Z=this.appConfig.nodes.find(pe=>+pe.index===M);this.store.dispatch((0,Jt.fk)({payload:{uiMessage:Qe.m6.UPDATE_SELECTED_NODE,prevLnNodeIndex:+_,currentLnNode:Z||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}vl.\u0275fac=function(M){return new(M||vl)(e.Y36(li.mQ),e.Y36(en.v),e.Y36(gs.m),e.Y36(Ri.yh),e.Y36(is.eX),e.Y36(mr.V))},vl.\u0275cmp=e.Xpm({type:vl,selectors:[["rtl-side-navigation"]],viewQuery:function(M,_){if(1&M&&e.Gf(Pa.gi,5),2&M){let Z;e.iGM(Z=e.CRH())&&(_.tree=Z.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"],[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"],["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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,s3,3,2,"mat-select",2),e._UZ(3,"mat-divider",3),e.YNc(4,Dh,4,3,"mat-tree",4),e._UZ(5,"mat-divider",3),e.TgZ(6,"mat-tree",5),e.YNc(7,B2,6,4,"mat-tree-node",6),e.qZA()(),e.TgZ(8,"div",7),e.YNc(9,Vo,2,2,"mat-tree",4),e.qZA()(),e.YNc(10,Ph,6,0,"ng-template",null,8,e.W1O)),2&M&&(e.xp6(2),e.Q6J("ngIf",_.appConfig.nodes.length>1),e.xp6(2),e.Q6J("ngIf",null==_.settings?null:_.settings.lnServerUrl),e.xp6(2),e.Q6J("dataSource",_.navMenusShowData)("treeControl",_.treeControlShowData),e.xp6(3),e.Q6J("ngIf",_.showLogout))},dependencies:[Ji.sg,Ji.O5,Ji.tP,mt.BN,Le.xw,Le.Wh,Le.yH,bi.RK,mo.Hw,ko.d,Pa.GZ,Pa.fQ,Pa.eu,Pa.gi,Pa.uo,Pa.Ar,ji.gD,rn.ey,Xc.gM,Wn.rH,Wn.Od,ln.Vv,ln.$V],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]});var f0=m(8255);function Rh(F,M){if(1&F&&(e.TgZ(0,"p",2),e._UZ(1,"fa-icon",3),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&F){const _=e.oxw();e.xp6(1),e.Q6J("icon",_.faCode),e.xp6(2),e.hij("API Version: ",null==_.information?null:_.information.api_version,"")}}function m0(F,M){if(1&F&&(e.TgZ(0,"p",11),e._UZ(1,"fa-icon",3),e.TgZ(2,"span",12),e._uU(3,"Settings"),e.qZA()()),2&F){const _=e.oxw();e.xp6(1),e.Q6J("icon",_.faUserCog)}}function Nh(F,M){if(1&F&&(e.TgZ(0,"p",13),e._UZ(1,"fa-icon",3),e.TgZ(2,"span",14),e._uU(3,"Help"),e.qZA()()),2&F){const _=e.oxw();e.xp6(1),e.Q6J("icon",_.faQuestion)}}function p0(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"p",15),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.onClick())}),e._UZ(1,"fa-icon",3),e.TgZ(2,"span"),e._uU(3,"Logout"),e.qZA()()}if(2&F){const _=e.oxw();e.xp6(1),e.Q6J("icon",_.faEject)}}class bl{constructor(M,_,Z,pe,gt){this.logger=M,this.sessionService=_,this.store=Z,this.rtlEffects=pe,this.actions=gt,this.faUserCog=Qi.gNZ,this.faCodeBranch=Qi.mh3,this.faCode=Qi.dT$,this.faCog=Qi.b7W,this.faQuestion=Qi.Psp,this.faEject=Qi.KOR,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x],this.version=Qe.q4}ngOnInit(){this.store.select(Oe.R4).pipe((0,nn.R)(this.unSubs[0])).subscribe(M=>{if(this.information=M,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 _=this.information.chains[0];this.informationChain.chain=_.chain,this.informationChain.network=_.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(M)}),this.sessionService.watchSession().pipe((0,nn.R)(this.unSubs[1])).subscribe(M=>{this.showLogout=!!M.token,this.flgLoading=!!M.token}),this.actions.pipe((0,nn.R)(this.unSubs[2]),(0,Cr.h)(M=>M.type===Qe.pg.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,Jt.c1)({payload:{data:{type:Qe.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,nn.R)(this.unSubs[3])).subscribe(M=>{M&&(this.showLogout=!1,this.store.dispatch((0,Jt.kS)()))})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}bl.\u0275fac=function(M){return new(M||bl)(e.Y36(li.mQ),e.Y36(gs.m),e.Y36(Ri.yh),e.Y36(mr.V),e.Y36(is.eX))},bl.\u0275cmp=e.Xpm({type:bl,selectors:[["rtl-top-menu"]],decls:14,vars:8,consts:[[1,"top-menu",3,"overlapTrigger"],["topMenu","matMenu"],["mat-menu-item","",1,"cursor-default"],[1,"fa-icon-small","mr-1",3,"icon"],["mat-menu-item","","class","cursor-default",4,"ngIf"],["mat-menu-item","","routerLink","/settings",4,"ngIf"],["mat-menu-item","","routerLink","/help",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-icon-button","",3,"matMenuTriggerFor"],["src","assets/images/RTL-Horse-BY.svg","alt","RTL Logo",1,"rtl-log-top"],[1,"rtl-logo-dropdown","color-white"],["mat-menu-item","","routerLink","/settings"],["routerLink","/settings"],["mat-menu-item","","routerLink","/help"],["routerLink","/help"],["mat-menu-item","",3,"click"]],template:function(M,_){if(1&M&&(e.TgZ(0,"mat-menu",0,1)(2,"p",2),e._UZ(3,"fa-icon",3),e.TgZ(4,"span"),e._uU(5),e.qZA()(),e.YNc(6,Rh,4,2,"p",4),e.YNc(7,m0,4,1,"p",5),e.YNc(8,Nh,4,1,"p",6),e.YNc(9,p0,4,1,"p",7),e.qZA(),e.TgZ(10,"button",8),e._UZ(11,"img",9),e.TgZ(12,"mat-icon",10),e._uU(13,"arrow_drop_down"),e.qZA()()),2&M){const Z=e.MAs(1);e.Q6J("overlapTrigger",!1),e.xp6(3),e.Q6J("icon",_.faCodeBranch),e.xp6(2),e.hij("Version: ",_.version,""),e.xp6(1),e.Q6J("ngIf",null==_.information?null:_.information.api_version),e.xp6(1),e.Q6J("ngIf",_.showLogout),e.xp6(1),e.Q6J("ngIf",_.showLogout),e.xp6(1),e.Q6J("ngIf",_.showLogout),e.xp6(1),e.Q6J("matMenuTriggerFor",Z)}},dependencies:[Ji.O5,mt.BN,bi.RK,mo.Hw,f0.VK,f0.OP,f0.p6,Wn.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});const Fh=["sideNavigation"],g0=["sideNavContent"];function Hh(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",14),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.sideNavToggle())}),e.TgZ(1,"mat-icon",15),e._uU(2,"menu"),e.qZA()()}if(2&F){const _=e.oxw();e.Q6J("matTooltip",_.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",_.smallScreen)}}function zh(F,M){1&F&&(e.O4$(),e._UZ(0,"path",20))}function io(F,M){1&F&&(e.O4$(),e._UZ(0,"path",21))}function _0(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",16),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.flgSidenavPinned=!pe.flgSidenavPinned)}),e.O4$(),e.TgZ(1,"svg",17),e.YNc(2,zh,1,0,"path",18),e.YNc(3,io,1,0,"path",19),e.qZA()()}if(2&F){const _=e.oxw();e.Q6J("matTooltip",_.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),e.xp6(2),e.Q6J("ngIf",!_.flgSidenavPinned),e.xp6(1),e.Q6J("ngIf",_.flgSidenavPinned)}}function v0(F,M){if(1&F&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&F){const _=e.oxw();e.xp6(1),e.Oqu(_.information.alias?"RTL - "+_.information.alias:"RTL")}}function Vh(F,M){if(1&F&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&F){const _=e.oxw();e.xp6(1),e.Oqu(_.information.alias?"Ride The Lightning - "+_.information.alias:"Ride The Lightning")}}function Bh(F,M){1&F&&(e.TgZ(0,"div",24),e._UZ(1,"mat-spinner",25),e.TgZ(2,"h4"),e._uU(3,"Loading RTL..."),e.qZA()())}const b0=function(F,M){return[F,M]};class Kl{constructor(M,_,Z,pe,gt,Wt,ei,fi,ki){this.logger=M,this.commonService=_,this.store=Z,this.actions=pe,this.userIdle=gt,this.router=Wt,this.sessionService=ei,this.breakpointObserver=fi,this.renderer=ki,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 Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.router.events.subscribe(M=>{M instanceof Wn.m2&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([An.u3.XSmall,An.u3.TabletPortrait,An.u3.Small,An.u3.Medium,An.u3.Large,An.u3.XLarge]).pipe((0,nn.R)(this.unSubs[0])).subscribe(M=>{M.breakpoints[An.u3.XSmall]?(this.commonService.setScreenSize(Qe.cu.XS),this.smallScreen=!0):M.breakpoints[An.u3.TabletPortrait]?(this.commonService.setScreenSize(Qe.cu.SM),this.smallScreen=!0):M.breakpoints[An.u3.Small]||M.breakpoints[An.u3.Medium]?(this.commonService.setScreenSize(Qe.cu.MD),this.smallScreen=!1):M.breakpoints[An.u3.Large]?(this.commonService.setScreenSize(Qe.cu.LG),this.smallScreen=!1):(this.commonService.setScreenSize(Qe.cu.XL),this.smallScreen=!1)}),this.store.dispatch((0,Jt.ey)()),this.accessKey=this.readAccessKey()||"",this.store.select(Oe.dT).pipe((0,nn.R)(this.unSubs[1])).subscribe(M=>{this.settings=M.settings,this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1)}),this.store.select(Oe.Yj).pipe((0,nn.R)(this.unSubs[2])).subscribe(M=>{this.appConfig=M}),this.store.select(Oe.R4).pipe((0,nn.R)(this.unSubs[3])).subscribe(M=>{this.information=M,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,nn.R)(this.unSubs[4]),(0,Cr.h)(M=>M.type===Qe.pg.SET_RTL_CONFIG||M.type===Qe.pg.LOGIN||M.type===Qe.pg.LOGOUT)).subscribe(M=>{M.type===Qe.pg.SET_RTL_CONFIG&&(this.sessionService.getItem("token")||(+M.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,Jt.x4)({payload:{password:ta(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"]))),M.type===Qe.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)),M.type===Qe.pg.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,nn.R)(this.unSubs[5])).subscribe(M=>{this.logger.info("Counting Down: "+(11-M))}),this.userIdle.onTimeout().pipe((0,nn.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,Jt.ts)()),this.store.dispatch((0,Jt.qR)({payload:{data:{type:Qe.n_.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,Jt.kS)()))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const M=window.location.href;return M.includes("access-key=")?M.substring(M.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(M){this.smallScreen&&this.sideNavigation.close()}copiedText(M){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+M)}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(),M.complete()})}}Kl.\u0275fac=function(M){return new(M||Kl)(e.Y36(li.mQ),e.Y36(en.v),e.Y36(Ri.yh),e.Y36(is.eX),e.Y36(bc),e.Y36(Wn.F0),e.Y36(gs.m),e.Y36(An.Yg),e.Y36(e.Qsj))},Kl.\u0275cmp=e.Xpm({type:Kl,selectors:[["rtl-app"]],viewQuery:function(M,_){if(1&M&&(e.Gf(Fh,5),e.Gf(g0,5)),2&M){let Z;e.iGM(Z=e.CRH())&&(_.sideNavigation=Z.first),e.iGM(Z=e.CRH())&&(_.sideNavContent=Z.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(M,_){1&M&&(e.TgZ(0,"div",0),e.ALo(1,"lowercase"),e.ALo(2,"lowercase"),e.TgZ(3,"mat-toolbar",1)(4,"div"),e.YNc(5,Hh,3,2,"button",2),e.YNc(6,_0,4,3,"button",3),e.qZA(),e.TgZ(7,"div"),e.YNc(8,v0,2,1,"span",4),e.YNc(9,Vh,2,1,"span",5),e.qZA(),e.TgZ(10,"div"),e._UZ(11,"rtl-top-menu"),e.qZA()(),e.TgZ(12,"mat-sidenav-container")(13,"mat-sidenav",6,7)(15,"rtl-side-navigation",8),e.NdJ("ChildNavClicked",function(pe){return _.onNavigationClicked(pe)}),e.qZA()(),e.TgZ(16,"mat-sidenav-content",9,10)(18,"div",11),e._UZ(19,"router-outlet",null,12),e.qZA()(),e._uU(21,"> "),e.qZA(),e.YNc(22,Bh,4,0,"div",13),e.qZA()),2&M&&(e.Q6J("ngClass",e.WLB(12,b0,e.lcZ(1,8,_.settings.themeColor),e.lcZ(2,10,_.settings.themeMode))),e.xp6(5),e.Q6J("ngIf",_.flgLoggedIn),e.xp6(1),e.Q6J("ngIf",!_.smallScreen&&_.flgLoggedIn),e.xp6(2),e.Q6J("ngIf",_.smallScreen),e.xp6(1),e.Q6J("ngIf",!_.smallScreen),e.xp6(4),e.Q6J("opened",_.flgSideNavOpened&&_.flgLoggedIn)("mode",_.flgSidenavPinned&&!_.smallScreen?"side":"over"),e.xp6(9),e.Q6J("ngIf",!_.settings.themeColor))},dependencies:[Ji.mk,Ji.O5,Le.xw,Le.Wh,Le.yH,an.oO,bi.RK,mo.Hw,N2.Ou,F2.JX,F2.TM,F2.Rh,to.Ye,Xc.gM,ln.$V,vl,bl,Wn.lC,Ji.i8],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[d0.g]}});class Fc{constructor(M){this.sessionService=M}intercept(M,_){if(this.sessionService.getItem("token")){const Z=M.clone({headers:M.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return _.handle(Z)}return _.handle(M)}}Fc.\u0275fac=function(M){return new(M||Fc)(e.LFG(gs.m))},Fc.\u0275prov=e.Yz7({token:Fc,factory:Fc.\u0275fac});var Uh=m(7998),Gh=m(711),U2=m(4947),Bn=m(3289);const G2={userPersona:"OPERATOR",themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1},Z2={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},W2={apiURL:"",apisCallStatus:{Login:{status:Qe.Bn.UN_INITIATED},IsAuthorized:{status:Qe.Bn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:G2,authentication:Z2,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,sso:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,allowPasswordUpdate:!0,nodes:[{settings:G2,authentication:Z2}]},nodeData:{}},Zh=(0,Ri.Lq)(W2,(0,Ri.on)(Jt.qi,(F,{payload:M})=>{const _=JSON.parse(JSON.stringify(F.apisCallStatus));return M.action&&(_[M.action]={status:M.status,statusCode:M.statusCode,message:M.message,URL:M.URL,filePath:M.filePath}),{...F,apisCallStatus:_}}),(0,Ri.on)(Jt.vI,(F,{payload:M})=>({...W2,apisCallStatus:F.apisCallStatus,appConfig:F.appConfig,selNode:M})),(0,Ri.on)(Jt.fk,(F,{payload:M})=>({...F,selNode:M.currentLnNode})),(0,Ri.on)(Jt.Tm,(F,{payload:M})=>{const _=JSON.parse(JSON.stringify(F.selNode));switch(M.service){case Qe.JX.BOLTZ:_.settings.boltzServerUrl=M.settings.boltzServerUrl;break;case Qe.JX.LOOP:_.settings.swapServerUrl=M.settings.swapServerUrl;break;case Qe.JX.OFFERS:_.settings.enableOffers=M.settings.enableOffers;break;case Qe.JX.PEERSWAP:_.settings.enablePeerswap=M.settings.enablePeerswap}return{...F,selNode:_}}),(0,Ri.on)(Jt._V,(F,{payload:M})=>({...F,nodeData:M})),(0,Ri.on)(Jt.XT,(F,{payload:M})=>({...F,appConfig:M}))),Y2={apisCallStatus:{FetchPageSettings:{status:Qe.Bn.UN_INITIATED},FetchInfo:{status:Qe.Bn.UN_INITIATED},FetchFees:{status:Qe.Bn.UN_INITIATED},FetchPeers:{status:Qe.Bn.UN_INITIATED},FetchClosedChannels:{status:Qe.Bn.UN_INITIATED},FetchPendingChannels:{status:Qe.Bn.UN_INITIATED},FetchAllChannels:{status:Qe.Bn.UN_INITIATED},FetchBalanceBlockchain:{status:Qe.Bn.UN_INITIATED},FetchInvoices:{status:Qe.Bn.UN_INITIATED},FetchPayments:{status:Qe.Bn.UN_INITIATED},FetchForwardingHistory:{status:Qe.Bn.UN_INITIATED},FetchUTXOs:{status:Qe.Bn.UN_INITIATED},FetchTransactions:{status:Qe.Bn.UN_INITIATED},FetchLightningTransactions:{status:Qe.Bn.UN_INITIATED},FetchNetwork:{status:Qe.Bn.UN_INITIATED}},nodeSettings:{userPersona:Qe.ol.OPERATOR,unannouncedChannels:!1,fiatConversion:!1,channelBackupPath:"",currencyUnits:[],selCurrencyUnit:"",lnImplementation:"",swapServerUrl:""},pageSettings:Qe.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 j2=!1,y0=!1;const x0=(0,Ri.Lq)(Y2,(0,Ri.on)(Ti.PC,(F,{payload:M})=>{const _=JSON.parse(JSON.stringify(F.apisCallStatus));return M.action&&(_[M.action]={status:M.status,statusCode:M.statusCode,message:M.message,URL:M.URL,filePath:M.filePath}),{...F,apisCallStatus:_}}),(0,Ri.on)(Ti.JT,(F,{payload:M})=>({...F,nodeSettings:M})),(0,Ri.on)(Ti.Ll,(F,{payload:M})=>({...Y2,nodeSettings:M})),(0,Ri.on)(Ti.CX,(F,{payload:M})=>({...F,information:M})),(0,Ri.on)(Ti.Z8,(F,{payload:M})=>({...F,peers:M})),(0,Ri.on)(Ti.EK,(F,{payload:M})=>{const _=[...F.peers],Z=F.peers.findIndex(pe=>pe.pub_key===M.pubkey);return Z>-1&&_.splice(Z,1),{...F,peers:_}}),(0,Ri.on)(Ti.YP,(F,{payload:M})=>{const _=F.listInvoices;return _.invoices?.unshift(M),{...F,listInvoices:_}}),(0,Ri.on)(Ti.aL,(F,{payload:M})=>{const _=F.listInvoices;return _.invoices=_.invoices?.map(Z=>Z.payment_request===M.payment_request?M:Z),{...F,listInvoices:_}}),(0,Ri.on)(Ti.qY,(F,{payload:M})=>{const _=F.listPayments;return _.payments=_.payments?.map(Z=>Z.payment_hash===M.payment_hash?M:Z),{...F,listPayments:_}}),(0,Ri.on)(Ti.RX,(F,{payload:M})=>({...F,fees:M})),(0,Ri.on)(Ti._L,(F,{payload:M})=>({...F,closedChannels:M})),(0,Ri.on)(Ti.TW,(F,{payload:M})=>({...F,pendingChannels:M.pendingChannels,pendingChannelsSummary:M.pendingChannelsSummary})),(0,Ri.on)(Ti.as,(F,{payload:M})=>{let _=0,Z=0,pe=0,gt=0,Wt=0,ei=0;return M&&M.forEach(fi=>{fi.local_balance||(fi.local_balance=0),!0===fi.active?(Wt+=+fi.local_balance,pe+=1,fi.local_balance?_=+_+ +fi.local_balance:fi.local_balance=0,fi.remote_balance?Z=+Z+ +fi.remote_balance:fi.remote_balance=0):(ei+=+fi.local_balance,gt+=1)}),{...F,channels:M,channelsSummary:{active:{num_channels:pe,capacity:Wt},inactive:{num_channels:gt,capacity:ei}},lightningBalance:{local:_,remote:Z}}}),(0,Ri.on)(Ti.OG,(F,{payload:M})=>{const _=[...F.channels],Z=F.channels.findIndex(pe=>pe.channel_point===M.channelPoint);return Z>-1&&_.splice(Z,1),{...F,channels:_}}),(0,Ri.on)(Ti.Jl,(F,{payload:M})=>({...F,blockchainBalance:M})),(0,Ri.on)(Ti.ks,(F,{payload:M})=>({...F,networkInfo:M})),(0,Ri.on)(Ti.Nr,(F,{payload:M})=>(M.total_invoices||(M.total_invoices=F.listInvoices.total_invoices),{...F,listInvoices:M})),(0,Ri.on)(Ti.Lf,(F,{payload:M})=>{if(j2=!0,M.length&&y0){const _=[...F.utxos];return _.forEach(Z=>{const pe=M.find(gt=>gt.tx_hash===Z.outpoint?.txid_str);Z.label=pe&&pe.label?pe.label:""}),{...F,utxos:_,transactions:M}}return{...F,transactions:M}}),(0,Ri.on)(Ti.UH,(F,{payload:M})=>{if(y0=!0,M.length&&j2){const _=[...F.transactions];M.forEach(Z=>{const pe=_.find(gt=>gt.tx_hash===Z.outpoint?.txid_str);Z.label=pe&&pe.label?pe.label:""})}return{...F,utxos:M}}),(0,Ri.on)(Ti.HI,(F,{payload:M})=>{const _={listInvoicesAll:F.allLightningTransactions.listInvoicesAll,listPaymentsAll:M};return{...F,listPayments:M,allLightningTransactions:_}}),(0,Ri.on)(Ti.Fr,(F,{payload:M})=>{const _={listInvoicesAll:M.listInvoicesAll,listPaymentsAll:F.listPayments};return{...F,allLightningTransactions:_}}),(0,Ri.on)(Ti.QJ,(F,{payload:M})=>{const _=[...F.channels,...F.closedChannels];let Z=M.forwarding_events?JSON.parse(JSON.stringify(M)):{};return Z.forwarding_events&&(Z=C0(Z,_)),{...F,forwardingHistory:Z}}),(0,Ri.on)(Ti.pd,(F,{payload:M})=>{const _=[];return Qe.gK.forEach(Z=>{const pe=M&&M.length&&M.length>0?M.find(gt=>gt.pageId===Z.pageId):null;if(pe){const gt=JSON.parse(JSON.stringify(pe.tables));pe.tables=[],Z.tables.forEach(Wt=>{const ei=gt.find(fi=>fi.tableId===Wt.tableId)||null;pe.tables.push(ei||JSON.parse(JSON.stringify(Wt)))}),_.push(pe)}else _.push(JSON.parse(JSON.stringify(Z)))}),{...F,pageSettings:_}})),C0=(F,M)=>(F.forwarding_events.forEach(_=>{if(M&&M.length>0)for(let Z=0;Z<M.length;Z++){if(M[Z].chan_id?.toString()===_.chan_id_in&&(_.alias_in=M[Z].remote_alias?M[Z].remote_alias:_.chan_id_in,_.alias_out)||M[Z].chan_id?.toString()===_.chan_id_out&&(_.alias_out=M[Z].remote_alias?M[Z].remote_alias:_.chan_id_out,_.alias_in))return;Z===M.length-1&&(_.alias_in||(_.alias_in=_.chan_id_in),_.alias_out||(_.alias_out=_.chan_id_out))}else _.alias_in=_.chan_id_in,_.alias_out=_.chan_id_out}),F),w0={apisCallStatus:{FetchPageSettings:{status:Qe.Bn.UN_INITIATED},FetchInfo:{status:Qe.Bn.UN_INITIATED},FetchInvoices:{status:Qe.Bn.UN_INITIATED},FetchFees:{status:Qe.Bn.UN_INITIATED},FetchChannels:{status:Qe.Bn.UN_INITIATED},FetchBalance:{status:Qe.Bn.UN_INITIATED},FetchLocalRemoteBalance:{status:Qe.Bn.UN_INITIATED},FetchFeeRatesperkb:{status:Qe.Bn.UN_INITIATED},FetchFeeRatesperkw:{status:Qe.Bn.UN_INITIATED},FetchPeers:{status:Qe.Bn.UN_INITIATED},FetchUTXOs:{status:Qe.Bn.UN_INITIATED},FetchPayments:{status:Qe.Bn.UN_INITIATED},FetchForwardingHistoryS:{status:Qe.Bn.UN_INITIATED},FetchForwardingHistoryF:{status:Qe.Bn.UN_INITIATED},FetchForwardingHistoryL:{status:Qe.Bn.UN_INITIATED},FetchOffers:{status:Qe.Bn.UN_INITIATED},FetchOfferBookmarks:{status:Qe.Bn.UN_INITIATED}},nodeSettings:{userPersona:Qe.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[],enableOffers:!1,enablePeerswap:!1},pageSettings:Qe.gG,information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],activeChannels:[],pendingChannels:[],inactiveChannels:[],payments:[],forwardingHistory:{},failedForwardingHistory:{},localFailedForwardingHistory:{},invoices:{invoices:[]},utxos:[],offers:[],offersBookmarks:[]},o3=(0,Ri.Lq)(w0,(0,Ri.on)(ci.Ni,(F,{payload:M})=>{const _=JSON.parse(JSON.stringify(F.apisCallStatus));return M.action&&(_[M.action]={status:M.status,statusCode:M.statusCode,message:M.message,URL:M.URL,filePath:M.filePath}),{...F,apisCallStatus:_}}),(0,Ri.on)(ci.oo,(F,{payload:M})=>({...F,nodeSettings:M})),(0,Ri.on)(ci.xH,(F,{payload:M})=>({...w0,nodeSettings:M})),(0,Ri.on)(ci.CX,(F,{payload:M})=>({...F,information:M})),(0,Ri.on)(ci.RX,(F,{payload:M})=>({...F,fees:M})),(0,Ri.on)(ci.I8,(F,{payload:M})=>M.perkb?{...F,feeRatesPerKB:M}:M.perkw?{...F,feeRatesPerKW:M}:{...F}),(0,Ri.on)(ci.Lu,(F,{payload:M})=>({...F,balance:M})),(0,Ri.on)(ci.xS,(F,{payload:M})=>({...F,localRemoteBalance:M})),(0,Ri.on)(ci.Z8,(F,{payload:M})=>({...F,peers:M})),(0,Ri.on)(ci.X3,(F,{payload:M})=>({...F,peers:[...F.peers,M]})),(0,Ri.on)(ci.EK,(F,{payload:M})=>{const _=[...F.peers],Z=F.peers.findIndex(pe=>pe.id===M.id);return Z>-1&&_.splice(Z,1),{...F,peers:_}}),(0,Ri.on)(ci.as,(F,{payload:M})=>({...F,activeChannels:M.activeChannels,pendingChannels:M.pendingChannels,inactiveChannels:M.inactiveChannels})),(0,Ri.on)(ci.OG,(F,{payload:M})=>{const _=[...F.peers];return _.forEach(Z=>{Z.id===M.id&&(Z.connected=!1,delete Z.netaddr)}),{...F,peers:_}}),(0,Ri.on)(ci.HI,(F,{payload:M})=>({...F,payments:M})),(0,Ri.on)(ci.QJ,(F,{payload:M})=>{const _=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels],Z=K2(M.listForwards,_);switch(M.listForwards=Z,M.status){case Qe.OO.SETTLED:const pe=F.fees;return pe.totalTxCount=M.totalForwards||0,{...F,fees:pe,forwardingHistory:M};case Qe.OO.FAILED:return{...F,failedForwardingHistory:M};case Qe.OO.LOCAL_FAILED:return{...F,localFailedForwardingHistory:M};default:return{...F}}}),(0,Ri.on)(ci.YP,(F,{payload:M})=>{const _=F.invoices;return _.invoices?.unshift(M),{...F,invoices:_}}),(0,Ri.on)(ci.Nr,(F,{payload:M})=>({...F,invoices:M})),(0,Ri.on)(ci.aL,(F,{payload:M})=>{const _=F.invoices;return _.invoices=_.invoices?.map(Z=>Z.label===M.label?M:Z),{...F,invoices:_}}),(0,Ri.on)(ci.UH,(F,{payload:M})=>({...F,utxos:M})),(0,Ri.on)(ci.Zu,(F,{payload:M})=>({...F,offers:M})),(0,Ri.on)(ci.ZH,(F,{payload:M})=>{const _=F.offers;return _?.unshift(M),{...F,offers:_}}),(0,Ri.on)(ci.JK,(F,{payload:M})=>{const _=[...F.offers],Z=F.offers.findIndex(pe=>pe.offer_id===M.offer.offer_id);return Z>-1&&_.splice(Z,1,M.offer),{...F,offers:_}}),(0,Ri.on)(ci.d7,(F,{payload:M})=>({...F,offersBookmarks:M})),(0,Ri.on)(ci.e9,(F,{payload:M})=>{const _=[...F.offersBookmarks],Z=_.findIndex(pe=>pe.bolt12===M.bolt12);if(Z<0)_?.unshift(M);else{const pe={..._[Z]};pe.title=M.title,pe.amountMSat=M.amountMSat,pe.lastUpdatedAt=M.lastUpdatedAt,pe.description=M.description,pe.vendor=M.vendor,_.splice(Z,1,pe)}return{...F,offersBookmarks:_}}),(0,Ri.on)(ci.en,(F,{payload:M})=>{const _=[...F.offersBookmarks],Z=F.offersBookmarks.findIndex(pe=>pe.bolt12===M.bolt12);return Z>-1&&_.splice(Z,1),{...F,offersBookmarks:_}}),(0,Ri.on)(ci.pd,(F,{payload:M})=>{const _=[];return Qe.gG.forEach(Z=>{const pe=M&&M.length&&M.length>0?M.find(gt=>gt.pageId===Z.pageId):null;if(pe){const gt=JSON.parse(JSON.stringify(pe.tables));pe.tables=[],Z.tables.forEach(Wt=>{const ei=gt.find(fi=>fi.tableId===Wt.tableId)||null;pe.tables.push(ei||JSON.parse(JSON.stringify(Wt)))}),_.push(pe)}else _.push(JSON.parse(JSON.stringify(Z)))}),{...F,pageSettings:_}})),K2=(F,M)=>(F&&F.length>0?F.forEach((_,Z)=>{if(M&&M.length>0)for(let pe=0;pe<M.length;pe++){if(M[pe].short_channel_id&&M[pe].short_channel_id===_.in_channel&&(_.in_channel_alias=M[pe].alias?M[pe].alias:_.in_channel,_.out_channel_alias)||M[pe].short_channel_id&&M[pe].short_channel_id?.toString()===_.out_channel&&(_.out_channel_alias=M[pe].alias?M[pe].alias:_.out_channel,_.in_channel_alias))return;pe===M.length-1&&(_.in_channel_alias||(_.in_channel_alias=_.in_channel?_.in_channel:"-"),_.out_channel_alias||(_.out_channel_alias=_.out_channel?_.out_channel:"-"))}else _.in_channel_alias=_.in_channel?_.in_channel:"-",_.out_channel_alias=_.out_channel?_.out_channel:"-"}):F=[],F),Q2={apisCallStatus:{FetchPageSettings:{status:Qe.Bn.UN_INITIATED},FetchInfo:{status:Qe.Bn.UN_INITIATED},FetchFees:{status:Qe.Bn.UN_INITIATED},FetchChannels:{status:Qe.Bn.UN_INITIATED},FetchOnchainBalance:{status:Qe.Bn.UN_INITIATED},FetchPeers:{status:Qe.Bn.UN_INITIATED},FetchPayments:{status:Qe.Bn.UN_INITIATED},FetchInvoices:{status:Qe.Bn.UN_INITIATED},FetchTransactions:{status:Qe.Bn.UN_INITIATED}},nodeSettings:{userPersona:Qe.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[]},pageSettings:Qe.c3,information:{},fees:{},activeChannels:[],pendingChannels:[],inactiveChannels:[],channelsStatus:{active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0},closing:{channels:0,capacity:0}},onchainBalance:{total:0,confirmed:0,unconfirmed:0},lightningBalance:{localBalance:-1,remoteBalance:-1},peers:[],payments:{},transactions:[],invoices:[]},lc=(0,Ri.Lq)(Q2,(0,Ri.on)(kt.QZ,(F,{payload:M})=>{const _=JSON.parse(JSON.stringify(F.apisCallStatus));return M.action&&(_[M.action]={status:M.status,statusCode:M.statusCode,message:M.message,URL:M.URL,filePath:M.filePath}),{...F,apisCallStatus:_}}),(0,Ri.on)(kt.Zr,(F,{payload:M})=>({...F,nodeSettings:M})),(0,Ri.on)(kt.Fd,(F,{payload:M})=>({...Q2,nodeSettings:M})),(0,Ri.on)(kt.CX,(F,{payload:M})=>({...F,information:M})),(0,Ri.on)(kt.RX,(F,{payload:M})=>({...F,fees:M})),(0,Ri.on)(kt.eN,(F,{payload:M})=>({...F,activeChannels:M})),(0,Ri.on)(kt.TW,(F,{payload:M})=>({...F,pendingChannels:M})),(0,Ri.on)(kt.i,(F,{payload:M})=>({...F,inactiveChannels:M})),(0,Ri.on)(kt.HG,(F,{payload:M})=>({...F,channelsStatus:M})),(0,Ri.on)(kt.Bw,(F,{payload:M})=>({...F,onchainBalance:M})),(0,Ri.on)(kt.On,(F,{payload:M})=>({...F,lightningBalance:M})),(0,Ri.on)(kt.Z8,(F,{payload:M})=>({...F,peers:M})),(0,Ri.on)(kt.EK,(F,{payload:M})=>{const _=[...F.peers],Z=F.peers.findIndex(pe=>pe.nodeId===M.nodeId);return Z>-1&&_.splice(Z,1),{...F,peers:_}}),(0,Ri.on)(kt.OG,(F,{payload:M})=>{const _=[...F.activeChannels],Z=F.activeChannels.findIndex(pe=>pe.channelId===M.channelId);return Z>-1&&_.splice(Z,1),{...F,activeChannels:_}}),(0,Ri.on)(kt.HI,(F,{payload:M})=>{if(M&&M.sent){const _=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels];M.sent?.map(Z=>{const pe=F.peers.find(gt=>gt.nodeId===Z.recipientNodeId);return Z.recipientNodeAlias=pe?pe.alias:Z.recipientNodeId,Z.parts&&Z.parts?.map(gt=>{const Wt=_.find(ei=>ei.channelId===gt.toChannelId);return gt.toChannelAlias=Wt?Wt.alias:gt.toChannelId,Z.parts}),M.sent})}if(M&&M.relayed){const _=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels];M.relayed.forEach(Z=>{Z=M0(Z,_)})}return{...F,payments:M}}),(0,Ri.on)(kt.Lf,(F,{payload:M})=>({...F,transactions:M})),(0,Ri.on)(kt.YP,(F,{payload:M})=>{const _=F.invoices;return _?.unshift(M),{...F,invoices:_}}),(0,Ri.on)(kt.Nr,(F,{payload:M})=>({...F,invoices:M})),(0,Ri.on)(kt.aL,(F,{payload:M})=>{let _=F.invoices;return _=_?.map(Z=>{if(Z.paymentHash===M.paymentHash){if(M.hasOwnProperty("type")){const pe=JSON.parse(JSON.stringify(Z));return pe.amountSettled=M.parts&&M.parts.length&&M.parts.length>0&&M.parts[0].amount?(M.parts[0].amount||0)/1e3:0,pe.receivedAt=M.parts&&M.parts.length&&M.parts.length>0&&M.parts[0].timestamp?Math.round((M.parts[0].timestamp||0)/1e3):0,pe.status="received",pe}return M}return Z}),{...F,invoices:_}}),(0,Ri.on)(kt.DJ,(F,{payload:M})=>{let _=F.pendingChannels;return _=_?.map(Z=>(Z.channelId===M.channelId&&Z.nodeId===M.remoteNodeId&&(M.currentState=M.currentState?.replace(/_/g," "),Z.state=M.currentState),Z)),{...F,pendingChannels:_}}),(0,Ri.on)(kt.ti,(F,{payload:M})=>{const _=F.payments,Z=M0(M,[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels]);_.relayed?.unshift(Z);const pe=(M.amountIn||0)-(M.amountOut||0),gt={localBalance:F.lightningBalance.localBalance+pe,remoteBalance:F.lightningBalance.remoteBalance-pe},Wt=F.channelsStatus;Wt.active&&(Wt.active.capacity=(F.channelsStatus?.active?.capacity||0)+pe);const ei={daily_fee:(F.fees.daily_fee||0)+pe,daily_txs:(F.fees.daily_txs||0)+1,weekly_fee:(F.fees.weekly_fee||0)+pe,weekly_txs:(F.fees.weekly_txs||0)+1,monthly_fee:(F.fees.monthly_fee||0)+pe,monthly_txs:(F.fees.monthly_txs||0)+1},fi=F.activeChannels;let ki=!1,tn=!1;for(const Zi of fi){if(Zi.channelId===M.fromChannelId){ki=!0;const Rn=(Zi.toLocal||0)+(Zi.toRemote||0);Zi.toLocal=(Zi.toLocal||0)+Z.amountIn,Zi.toRemote=(Zi.toRemote||0)-Z.amountIn,Zi.balancedness=0===Rn?1:+(1-Math.abs((Zi.toLocal-Zi.toRemote)/Rn)).toFixed(3)}if(Zi.channelId===M.toChannelId){tn=!0;const Rn=(Zi.toLocal||0)+(Zi.toRemote||0);Zi.toLocal=(Zi.toLocal||0)-Z.amountOut,Zi.toRemote=(Zi.toRemote||0)+Z.amountOut,Zi.balancedness=0===Rn?1:+(1-Math.abs((Zi.toLocal-Zi.toRemote)/Rn)).toFixed(3)}if(tn&&ki)break}return{...F,payments:_,lightningBalance:gt,channelStatus:Wt,fees:ei,activeChannels:fi}}),(0,Ri.on)(kt.pd,(F,{payload:M})=>{const _=[];return Qe.c3.forEach(Z=>{const pe=M&&M.length&&M.length>0?M.find(gt=>gt.pageId===Z.pageId):null;if(pe){const gt=JSON.parse(JSON.stringify(pe.tables));pe.tables=[],Z.tables.forEach(Wt=>{const ei=gt.find(fi=>fi.tableId===Wt.tableId)||null;pe.tables.push(ei||JSON.parse(JSON.stringify(Wt)))}),_.push(pe)}else _.push(JSON.parse(JSON.stringify(Z)))}),{...F,pageSettings:_}})),M0=(F,M)=>{if("payment-relayed"===F.type)if(M&&M.length>0)for(let _=0;_<M.length;_++){if(M[_].channelId?.toString()===F.fromChannelId&&(F.fromChannelAlias=M[_].alias?M[_].alias:F.fromChannelId,F.fromShortChannelId=M[_].shortChannelId?M[_].shortChannelId:"",F.toChannelAlias)||M[_].channelId?.toString()===F.toChannelId&&(F.toChannelAlias=M[_].alias?M[_].alias:F.toChannelId,F.toShortChannelId=M[_].shortChannelId?M[_].shortChannelId:"",F.fromChannelAlias))return F;_===M.length-1&&(F.fromChannelAlias||(F.fromChannelAlias=F.fromChannelId?.substring(0,17)+"...",F.fromShortChannelId=""),F.toChannelAlias||(F.toChannelAlias=F.toChannelId?.substring(0,17)+"...",F.toShortChannelId=""))}else F.fromChannelAlias=F.fromChannelId?.substring(0,17)+"...",F.fromShortChannelId="",F.toChannelAlias=F.toChannelId?.substring(0,17)+"...",F.toShortChannelId="";else if(F.type="trampoline-payment-relayed"){if(M&&M.length>0)for(let _=0;_<M.length;_++)F.incoming?.forEach(Z=>{M[_].channelId?.toString()===Z.channelId&&(Z.channelAlias=M[_].alias?M[_].alias:Z.channelId,Z.shortChannelId=M[_].shortChannelId?M[_].shortChannelId:"")}),F.outgoing?.forEach(Z=>{M[_].channelId?.toString()===Z.channelId&&(Z.channelAlias=M[_].alias?M[_].alias:Z.channelId,Z.shortChannelId=M[_].shortChannelId?M[_].shortChannelId:"")}),_===M.length-1&&(F.incoming&&F.incoming.length&&F.incoming.length>0&&!F.incoming[0].channelAlias&&F.incoming?.forEach(Z=>{Z.channelAlias=Z.channelId?.substring(0,17)+"...",Z.shortChannelId=""}),F.outgoing&&F.outgoing.length&&F.outgoing.length>0&&!F.outgoing[0].channelAlias&&F.outgoing?.forEach(Z=>{Z.channelAlias=Z.channelId?.substring(0,17)+"...",Z.shortChannelId=""}));else F.incoming?.forEach(_=>{_.channelAlias=_.channelId?.substring(0,17)+"...",_.shortChannelId=""}),F.outgoing?.forEach(_=>{_.channelAlias=_.channelId?.substring(0,17)+"...",_.shortChannelId=""});F.amountIn=F.incoming?.reduce((_,Z)=>_+Z.amount,0)||0,F.fromChannelId=F.incoming&&F.incoming.length?F.incoming[0].channelId:"",F.fromChannelAlias=F.incoming&&F.incoming.length?F.incoming[0].channelAlias:"",F.fromShortChannelId=F.incoming&&F.incoming.length?F.incoming[0].shortChannelId:"",F.amountOut=F.outgoing?.reduce((_,Z)=>_+Z.amount,0)||0,F.toChannelId=F.outgoing&&F.outgoing.length?F.outgoing[0].channelId:"",F.toChannelAlias=F.outgoing&&F.outgoing.length?F.outgoing[0].channelAlias:"",F.toShortChannelId=F.outgoing&&F.outgoing.length?F.outgoing[0].shortChannelId:""}return F};let k1=!1;(0,e.X6Q)()&&(k1=!0);class Bo{}Bo.\u0275fac=function(M){return new(M||Bo)},Bo.\u0275mod=e.oAB({type:Bo,bootstrap:[Kl]}),Bo.\u0275inj=e.cJS({providers:[{provide:Kr.TP,useClass:Fc,multi:!0},Da.a1,gs.m,Zl.D,Uh.d,h1.W,en.v,_o],imports:[js,l0.m,c0,An.xu,t.t6,yc.forRoot({idle:3590,timeout:10,ping:12e3}),Ri.Aw.forRoot({root:Zh,lnd:x0,cln:o3,ecl:lc},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),is.sQ.forRoot([mr.V,Gh.l,U2.J,Bn.o]),k1?Cs.FT.instrument():[]]}),t.q6().bootstrapModule(Bo).catch(F=>console.error(F))},7854:(Ve,Q)=>{"use strict";function m(xe){return Object.keys(xe).map(le=>xe[le])}var xe;Object.defineProperty(Q,"__esModule",{value:!0}),(xe=Q.HashAlgorithms||(Q.HashAlgorithms={})).SHA1="sha1",xe.SHA256="sha256",xe.SHA512="sha512";const t=m(Q.HashAlgorithms);!function(xe){xe.ASCII="ascii",xe.BASE64="base64",xe.HEX="hex",xe.LATIN1="latin1",xe.UTF8="utf8"}(Q.KeyEncodings||(Q.KeyEncodings={}));const e=m(Q.KeyEncodings);!function(xe){xe.HOTP="hotp",xe.TOTP="totp"}(Q.Strategy||(Q.Strategy={}));const v=m(Q.Strategy),D=()=>{throw new Error("Please provide an options.createDigest implementation.")};function o(xe){return/^(\d+)$/.test(xe)}function C(xe,le,_e){return xe.length>=le?xe:`${Array(le+1).join(_e)}${xe}`.slice(-1*le)}function u(xe){const le=`otpauth://${xe.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,_e=[];if(v.indexOf(xe.type)<0)throw new Error(`Expecting options.type to be one of ${v.join(", ")}. Received ${xe.type}.`);if("hotp"===xe.type){if(null==xe.counter||"number"!=typeof xe.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');_e.push(`&counter=${xe.counter}`)}return"totp"===xe.type&&xe.step&&_e.push(`&period=${xe.step}`),xe.digits&&_e.push(`&digits=${xe.digits}`),xe.algorithm&&_e.push(`&algorithm=${xe.algorithm.toUpperCase()}`),xe.issuer&&_e.push(`&issuer=${encodeURIComponent(xe.issuer)}`),le.replace("{labelPrefix}",encodeURIComponent(xe.issuer||xe.accountName)).replace("{accountName}",encodeURIComponent(xe.accountName)).replace("{secret}",xe.secret).replace("{query}",_e.join(""))}class P{constructor(le={}){this._defaultOptions=Object.freeze({...le}),this._options=Object.freeze({})}create(le={}){return new P(le)}clone(le={}){const _e=this.create({...this._defaultOptions,...le});return _e.options=this._options,_e}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(le){this._options=Object.freeze({...this._options,...le})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function d(xe){if("function"!=typeof xe.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof xe.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof xe.digits)throw new Error("Expecting options.digits to be a number.");if(!xe.algorithm||t.indexOf(xe.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${t.join(", ")}. Received ${xe.algorithm}.`);if(!xe.encoding||e.indexOf(xe.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${e.join(", ")}. Received ${xe.encoding}.`)}const S=(xe,le,_e)=>Buffer.from(le,_e).toString("hex");function w(){return{algorithm:Q.HashAlgorithms.SHA1,createHmacKey:S,createDigest:D,digits:6,encoding:Q.KeyEncodings.ASCII}}function I(xe){const le={...w(),...xe};return d(le),Object.freeze(le)}function E(xe){return C(xe.toString(16),16,"0")}function N(xe,le){const _e=Buffer.from(xe,"hex"),se=15&_e[_e.length-1],Te=((127&_e[se])<<24|(255&_e[se+1])<<16|(255&_e[se+2])<<8|255&_e[se+3])%Math.pow(10,le);return C(String(Te),le,"0")}function G(xe,le,_e){const se=_e.digest||function z(xe,le,_e){const se=E(le),Ye=_e.createHmacKey(_e.algorithm,xe,_e.encoding);return _e.createDigest(_e.algorithm,Ye,se)}(xe,le,_e);return N(se,_e.digits)}function W(xe,le,_e,se){return!!o(xe)&&xe===G(le,_e,se)}function Y(xe,le,_e,se,Ye){return u({algorithm:Ye.algorithm,digits:Ye.digits,type:Q.Strategy.HOTP,accountName:xe,counter:se,issuer:le,secret:_e})}class X extends P{create(le={}){return new X(le)}allOptions(){return I(this.options)}generate(le,_e){return G(le,_e,this.allOptions())}check(le,_e,se){return W(le,_e,se,this.allOptions())}verify(le){if("object"!=typeof le)throw new Error("Expecting argument 0 of verify to be an object");return this.check(le.token,le.secret,le.counter)}keyuri(le,_e,se,Ye){return Y(le,_e,se,Ye,this.allOptions())}}function ee(xe){if("number"==typeof xe)return[Math.abs(xe),Math.abs(xe)];if(Array.isArray(xe)){const[le,_e]=xe;if("number"==typeof le&&"number"==typeof _e)return[Math.abs(le),Math.abs(_e)]}throw new Error("Expecting options.window to be an number or [number, number].")}function ue(xe){if(d(xe),ee(xe.window),"number"!=typeof xe.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof xe.step)throw new Error("Expecting options.step to be a number.")}const he=(xe,le,_e)=>{const se=xe.length,Ye=Buffer.from(xe,le).toString("hex");if(se<_e){const Te=new Array(_e-se+1).join(Ye);return Buffer.from(Te,"hex").slice(0,_e).toString("hex")}return Ye},ie=(xe,le,_e)=>{switch(xe){case Q.HashAlgorithms.SHA1:return he(le,_e,20);case Q.HashAlgorithms.SHA256:return he(le,_e,32);case Q.HashAlgorithms.SHA512:return he(le,_e,64);default:throw new Error(`Expecting algorithm to be one of ${t.join(", ")}. Received ${xe}.`)}};function ce(){return{algorithm:Q.HashAlgorithms.SHA1,createDigest:D,createHmacKey:ie,digits:6,encoding:Q.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function $(xe){const le={...ce(),...xe};return ue(le),Object.freeze(le)}function fe(xe,le){return Math.floor(xe/le/1e3)}function T(xe,le){return G(xe,fe(le.epoch,le.step),le)}function i(xe,le,_e,se){const Ye=[];if(0===se)return Ye;for(let Te=1;Te<=se;Te++)Ye.push(xe+le*Te*_e);return Ye}function r(xe,le,_e){const se=ee(_e),Ye=1e3*le;return{current:xe,past:i(xe,-1,Ye,se[0]),future:i(xe,1,Ye,se[1])}}function h(xe,le,_e){return!!o(xe)&&xe===T(le,_e)}function l(xe,le,_e,se){let Ye=null;return xe.some((Te,oe)=>!!h(le,_e,{...se,epoch:Te})&&(Ye=oe+1,!0)),Ye}function y(xe,le,_e){if(h(xe,le,_e))return 0;const se=r(_e.epoch,_e.step,_e.window),Ye=l(se.past,xe,le,_e);return null!==Ye?-1*Ye:l(se.future,xe,le,_e)}function A(xe,le){return Math.floor(xe/1e3)%le}function k(xe,le){return le-A(xe,le)}function g(xe,le,_e,se){return u({algorithm:se.algorithm,digits:se.digits,step:se.step,type:Q.Strategy.TOTP,accountName:xe,issuer:le,secret:_e})}class n extends X{create(le={}){return new n(le)}allOptions(){return $(this.options)}generate(le){return T(le,this.allOptions())}checkDelta(le,_e){return y(le,_e,this.allOptions())}check(le,_e){return"number"==typeof this.checkDelta(le,_e)}verify(le){if("object"!=typeof le)throw new Error("Expecting argument 0 of verify to be an object");return this.check(le.token,le.secret)}timeRemaining(){const le=this.allOptions();return k(le.epoch,le.step)}timeUsed(){const le=this.allOptions();return A(le.epoch,le.step)}keyuri(le,_e,se){return g(le,_e,se,this.allOptions())}}function b(xe){if(ue(xe),"function"!=typeof xe.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(xe.keyEncoder&&"function"!=typeof xe.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function U(){return{algorithm:Q.HashAlgorithms.SHA1,createDigest:D,createHmacKey:ie,digits:6,encoding:Q.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function V(xe){const le={...U(),...xe};return b(le),Object.freeze(le)}function j(xe,le){return le.keyEncoder(xe,le.encoding)}function Ae(xe,le){return le.keyDecoder(xe,le.encoding)}function Ke(xe,le){return j(le.createRandomBytes(xe,le.encoding),le)}function qe(xe,le){return T(Ae(xe,le),le)}function ct(xe,le,_e){return y(xe,Ae(le,_e),_e)}class Ie extends n{create(le={}){return new Ie(le)}allOptions(){return V(this.options)}generate(le){return qe(le,this.allOptions())}checkDelta(le,_e){return ct(le,_e,this.allOptions())}encode(le){return j(le,this.allOptions())}decode(le){return Ae(le,this.allOptions())}generateSecret(le=10){return Ke(le,this.allOptions())}}Q.Authenticator=Ie,Q.HASH_ALGORITHMS=t,Q.HOTP=X,Q.KEY_ENCODINGS=e,Q.OTP=P,Q.STRATEGY=v,Q.TOTP=n,Q.authenticatorCheckWithWindow=ct,Q.authenticatorDecoder=Ae,Q.authenticatorDefaultOptions=U,Q.authenticatorEncoder=j,Q.authenticatorGenerateSecret=Ke,Q.authenticatorOptionValidator=b,Q.authenticatorOptions=V,Q.authenticatorToken=qe,Q.createDigestPlaceholder=D,Q.hotpCheck=W,Q.hotpCounter=E,Q.hotpCreateHmacKey=S,Q.hotpDefaultOptions=w,Q.hotpDigestToToken=N,Q.hotpKeyuri=Y,Q.hotpOptions=I,Q.hotpOptionsValidator=d,Q.hotpToken=G,Q.isTokenValid=o,Q.keyuri=u,Q.objectValues=m,Q.padStart=C,Q.totpCheck=h,Q.totpCheckByEpoch=l,Q.totpCheckWithWindow=y,Q.totpCounter=fe,Q.totpCreateHmacKey=ie,Q.totpDefaultOptions=ce,Q.totpEpochAvailable=r,Q.totpKeyuri=g,Q.totpOptions=$,Q.totpOptionsValidator=ue,Q.totpPadSecret=he,Q.totpTimeRemaining=k,Q.totpTimeUsed=A,Q.totpToken=T},6098:(Ve,Q,m)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});var e=function t(o){return o&&"object"==typeof o&&"default"in o?o.default:o}(m(1348));Q.createDigest=(o,C,u)=>e.createHmac(o,Buffer.from(C,"hex")).update(Buffer.from(u,"hex")).digest().toString("hex"),Q.createRandomBytes=(o,C)=>e.randomBytes(o).toString(C)},1415:(Ve,Q,m)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});var e=function t(o){return o&&"object"==typeof o&&"default"in o?o.default:o}(m(2167));Q.keyDecoder=(o,C)=>e.decode(o).toString(C),Q.keyEncoder=(o,C)=>e.encode(Buffer.from(o,C).toString("ascii")).toString().replace(/=/g,"")},842:(Ve,Q,m)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});var t=m(6098),e=m(1415),v=m(7854);const D=new v.HOTP({createDigest:t.createDigest}),o=new v.TOTP({createDigest:t.createDigest}),C=new v.Authenticator({createDigest:t.createDigest,createRandomBytes:t.createRandomBytes,keyDecoder:e.keyDecoder,keyEncoder:e.keyEncoder});Q.authenticator=C,Q.hotp=D,Q.totp=o},7977:(Ve,Q,m)=>{"use strict";const t=Q;t.bignum=m(3854),t.define=m(9516).define,t.base=m(7813),t.constants=m(5459),t.decoders=m(196),t.encoders=m(1131)},9516:(Ve,Q,m)=>{"use strict";const t=m(1131),e=m(196),v=m(3894);function o(C,u){this.name=C,this.body=u,this.decoders={},this.encoders={}}Q.define=function(u,P){return new o(u,P)},o.prototype._createNamed=function(u){const P=this.name;function d(S){this._initNamed(S,P)}return v(d,u),d.prototype._initNamed=function(w,I){u.call(this,w,I)},new d(this)},o.prototype._getDecoder=function(u){return this.decoders.hasOwnProperty(u=u||"der")||(this.decoders[u]=this._createNamed(e[u])),this.decoders[u]},o.prototype.decode=function(u,P,d){return this._getDecoder(P).decode(u,d)},o.prototype._getEncoder=function(u){return this.encoders.hasOwnProperty(u=u||"der")||(this.encoders[u]=this._createNamed(t[u])),this.encoders[u]},o.prototype.encode=function(u,P,d){return this._getEncoder(P).encode(u,d)}},2769:(Ve,Q,m)=>{"use strict";const t=m(3894),e=m(4919).b,v=m(2038).Buffer;function D(C,u){e.call(this,u),v.isBuffer(C)?(this.base=C,this.offset=0,this.length=C.length):this.error("Input not Buffer")}function o(C,u){if(Array.isArray(C))this.length=0,this.value=C.map(function(P){return o.isEncoderBuffer(P)||(P=new o(P,u)),this.length+=P.length,P},this);else if("number"==typeof C){if(!(0<=C&&C<=255))return u.error("non-byte EncoderBuffer value");this.value=C,this.length=1}else if("string"==typeof C)this.value=C,this.length=v.byteLength(C);else{if(!v.isBuffer(C))return u.error("Unsupported type: "+typeof C);this.value=C,this.length=C.length}}t(D,e),Q.C=D,D.isDecoderBuffer=function(u){return u instanceof D||"object"==typeof u&&v.isBuffer(u.base)&&"DecoderBuffer"===u.constructor.name&&"number"==typeof u.offset&&"number"==typeof u.length&&"function"==typeof u.save&&"function"==typeof u.restore&&"function"==typeof u.isEmpty&&"function"==typeof u.readUInt8&&"function"==typeof u.skip&&"function"==typeof u.raw},D.prototype.save=function(){return{offset:this.offset,reporter:e.prototype.save.call(this)}},D.prototype.restore=function(u){const P=new D(this.base);return P.offset=u.offset,P.length=this.offset,this.offset=u.offset,e.prototype.restore.call(this,u.reporter),P},D.prototype.isEmpty=function(){return this.offset===this.length},D.prototype.readUInt8=function(u){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(u||"DecoderBuffer overrun")},D.prototype.skip=function(u,P){if(!(this.offset+u<=this.length))return this.error(P||"DecoderBuffer overrun");const d=new D(this.base);return d._reporterState=this._reporterState,d.offset=this.offset,d.length=this.offset+u,this.offset+=u,d},D.prototype.raw=function(u){return this.base.slice(u?u.offset:this.offset,this.length)},Q.R=o,o.isEncoderBuffer=function(u){return u instanceof o||"object"==typeof u&&"EncoderBuffer"===u.constructor.name&&"number"==typeof u.length&&"function"==typeof u.join},o.prototype.join=function(u,P){return u||(u=v.alloc(this.length)),P||(P=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(d){d.join(u,P),P+=d.length}):("number"==typeof this.value?u[P]=this.value:"string"==typeof this.value?u.write(this.value,P):v.isBuffer(this.value)&&this.value.copy(u,P),P+=this.length)),u}},7813:(Ve,Q,m)=>{"use strict";const t=Q;t.Reporter=m(4919).b,t.DecoderBuffer=m(2769).C,t.EncoderBuffer=m(2769).R,t.Node=m(1430)},1430:(Ve,Q,m)=>{"use strict";const t=m(4919).b,e=m(2769).R,v=m(2769).C,D=m(2391),o=["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"],C=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(o);function P(S,w,I){const E={};this._baseState=E,E.name=I,E.enc=S,E.parent=w||null,E.children=null,E.tag=null,E.args=null,E.reverseArgs=null,E.choice=null,E.optional=!1,E.any=!1,E.obj=!1,E.use=null,E.useDecoder=null,E.key=null,E.default=null,E.explicit=null,E.implicit=null,E.contains=null,E.parent||(E.children=[],this._wrap())}Ve.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 w=this._baseState,I={};d.forEach(function(N){I[N]=w[N]});const E=new this.constructor(I.parent);return E._baseState=I,E},P.prototype._wrap=function(){const w=this._baseState;C.forEach(function(I){this[I]=function(){const N=new this.constructor(this);return w.children.push(N),N[I].apply(N,arguments)}},this)},P.prototype._init=function(w){const I=this._baseState;D(null===I.parent),w.call(this),I.children=I.children.filter(function(E){return E._baseState.parent===this},this),D.equal(I.children.length,1,"Root node can have only one child")},P.prototype._useArgs=function(w){const I=this._baseState,E=w.filter(function(N){return N instanceof this.constructor},this);w=w.filter(function(N){return!(N instanceof this.constructor)},this),0!==E.length&&(D(null===I.children),I.children=E,E.forEach(function(N){N._baseState.parent=this},this)),0!==w.length&&(D(null===I.args),I.args=w,I.reverseArgs=w.map(function(N){if("object"!=typeof N||N.constructor!==Object)return N;const z={};return Object.keys(N).forEach(function(G){G==(0|G)&&(G|=0),z[N[G]]=G}),z}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(S){P.prototype[S]=function(){throw new Error(S+" not implemented for encoding: "+this._baseState.enc)}}),o.forEach(function(S){P.prototype[S]=function(){const I=this._baseState,E=Array.prototype.slice.call(arguments);return D(null===I.tag),I.tag=S,this._useArgs(E),this}}),P.prototype.use=function(w){D(w);const I=this._baseState;return D(null===I.use),I.use=w,this},P.prototype.optional=function(){return this._baseState.optional=!0,this},P.prototype.def=function(w){const I=this._baseState;return D(null===I.default),I.default=w,I.optional=!0,this},P.prototype.explicit=function(w){const I=this._baseState;return D(null===I.explicit&&null===I.implicit),I.explicit=w,this},P.prototype.implicit=function(w){const I=this._baseState;return D(null===I.explicit&&null===I.implicit),I.implicit=w,this},P.prototype.obj=function(){const w=this._baseState,I=Array.prototype.slice.call(arguments);return w.obj=!0,0!==I.length&&this._useArgs(I),this},P.prototype.key=function(w){const I=this._baseState;return D(null===I.key),I.key=w,this},P.prototype.any=function(){return this._baseState.any=!0,this},P.prototype.choice=function(w){const I=this._baseState;return D(null===I.choice),I.choice=w,this._useArgs(Object.keys(w).map(function(E){return w[E]})),this},P.prototype.contains=function(w){const I=this._baseState;return D(null===I.use),I.contains=w,this},P.prototype._decode=function(w,I){const E=this._baseState;if(null===E.parent)return w.wrapResult(E.children[0]._decode(w,I));let W,N=E.default,z=!0,G=null;if(null!==E.key&&(G=w.enterKey(E.key)),E.optional){let Y=null;if(null!==E.explicit?Y=E.explicit:null!==E.implicit?Y=E.implicit:null!==E.tag&&(Y=E.tag),null!==Y||E.any){if(z=this._peekTag(w,Y,E.any),w.isError(z))return z}else{const X=w.save();try{null===E.choice?this._decodeGeneric(E.tag,w,I):this._decodeChoice(w,I),z=!0}catch{z=!1}w.restore(X)}}if(E.obj&&z&&(W=w.enterObject()),z){if(null!==E.explicit){const X=this._decodeTag(w,E.explicit);if(w.isError(X))return X;w=X}const Y=w.offset;if(null===E.use&&null===E.choice){let X;E.any&&(X=w.save());const ee=this._decodeTag(w,null!==E.implicit?E.implicit:E.tag,E.any);if(w.isError(ee))return ee;E.any?N=w.raw(X):w=ee}if(I&&I.track&&null!==E.tag&&I.track(w.path(),Y,w.length,"tagged"),I&&I.track&&null!==E.tag&&I.track(w.path(),w.offset,w.length,"content"),E.any||(N=null===E.choice?this._decodeGeneric(E.tag,w,I):this._decodeChoice(w,I)),w.isError(N))return N;if(!E.any&&null===E.choice&&null!==E.children&&E.children.forEach(function(ee){ee._decode(w,I)}),E.contains&&("octstr"===E.tag||"bitstr"===E.tag)){const X=new v(N);N=this._getUse(E.contains,w._reporterState.obj)._decode(X,I)}}return E.obj&&z&&(N=w.leaveObject(W)),null===E.key||null===N&&!0!==z?null!==G&&w.exitKey(G):w.leaveKey(G,E.key,N),N},P.prototype._decodeGeneric=function(w,I,E){const N=this._baseState;return"seq"===w||"set"===w?null:"seqof"===w||"setof"===w?this._decodeList(I,w,N.args[0],E):/str$/.test(w)?this._decodeStr(I,w,E):"objid"===w&&N.args?this._decodeObjid(I,N.args[0],N.args[1],E):"objid"===w?this._decodeObjid(I,null,null,E):"gentime"===w||"utctime"===w?this._decodeTime(I,w,E):"null_"===w?this._decodeNull(I,E):"bool"===w?this._decodeBool(I,E):"objDesc"===w?this._decodeStr(I,w,E):"int"===w||"enum"===w?this._decodeInt(I,N.args&&N.args[0],E):null!==N.use?this._getUse(N.use,I._reporterState.obj)._decode(I,E):I.error("unknown tag: "+w)},P.prototype._getUse=function(w,I){const E=this._baseState;return E.useDecoder=this._use(w,I),D(null===E.useDecoder._baseState.parent),E.useDecoder=E.useDecoder._baseState.children[0],E.implicit!==E.useDecoder._baseState.implicit&&(E.useDecoder=E.useDecoder.clone(),E.useDecoder._baseState.implicit=E.implicit),E.useDecoder},P.prototype._decodeChoice=function(w,I){const E=this._baseState;let N=null,z=!1;return Object.keys(E.choice).some(function(G){const W=w.save(),Y=E.choice[G];try{const X=Y._decode(w,I);if(w.isError(X))return!1;N={type:G,value:X},z=!0}catch{return w.restore(W),!1}return!0},this),z?N:w.error("Choice not matched")},P.prototype._createEncoderBuffer=function(w){return new e(w,this.reporter)},P.prototype._encode=function(w,I,E){const N=this._baseState;if(null!==N.default&&N.default===w)return;const z=this._encodeValue(w,I,E);return void 0===z||this._skipDefault(z,I,E)?void 0:z},P.prototype._encodeValue=function(w,I,E){const N=this._baseState;if(null===N.parent)return N.children[0]._encode(w,I||new t);let z=null;if(this.reporter=I,N.optional&&void 0===w){if(null===N.default)return;w=N.default}let G=null,W=!1;if(N.any)z=this._createEncoderBuffer(w);else if(N.choice)z=this._encodeChoice(w,I);else if(N.contains)G=this._getUse(N.contains,E)._encode(w,I),W=!0;else if(N.children)G=N.children.map(function(Y){if("null_"===Y._baseState.tag)return Y._encode(null,I,w);if(null===Y._baseState.key)return I.error("Child should have a key");const X=I.enterKey(Y._baseState.key);if("object"!=typeof w)return I.error("Child expected, but input is not object");const ee=Y._encode(w[Y._baseState.key],I,w);return I.leaveKey(X),ee},this).filter(function(Y){return Y}),G=this._createEncoderBuffer(G);else if("seqof"===N.tag||"setof"===N.tag){if(!N.args||1!==N.args.length)return I.error("Too many args for : "+N.tag);if(!Array.isArray(w))return I.error("seqof/setof, but data is not Array");const Y=this.clone();Y._baseState.implicit=null,G=this._createEncoderBuffer(w.map(function(X){return this._getUse(this._baseState.args[0],w)._encode(X,I)},Y))}else null!==N.use?z=this._getUse(N.use,E)._encode(w,I):(G=this._encodePrimitive(N.tag,w),W=!0);if(!N.any&&null===N.choice){const Y=null!==N.implicit?N.implicit:N.tag,X=null===N.implicit?"universal":"context";null===Y?null===N.use&&I.error("Tag could be omitted only for .use()"):null===N.use&&(z=this._encodeComposite(Y,W,X,G))}return null!==N.explicit&&(z=this._encodeComposite(N.explicit,!1,"context",z)),z},P.prototype._encodeChoice=function(w,I){const E=this._baseState,N=E.choice[w.type];return N||D(!1,w.type+" not found in "+JSON.stringify(Object.keys(E.choice))),N._encode(w.value,I)},P.prototype._encodePrimitive=function(w,I){const E=this._baseState;if(/str$/.test(w))return this._encodeStr(I,w);if("objid"===w&&E.args)return this._encodeObjid(I,E.reverseArgs[0],E.args[1]);if("objid"===w)return this._encodeObjid(I,null,null);if("gentime"===w||"utctime"===w)return this._encodeTime(I,w);if("null_"===w)return this._encodeNull();if("int"===w||"enum"===w)return this._encodeInt(I,E.args&&E.reverseArgs[0]);if("bool"===w)return this._encodeBool(I);if("objDesc"===w)return this._encodeStr(I,w);throw new Error("Unsupported tag: "+w)},P.prototype._isNumstr=function(w){return/^[0-9 ]*$/.test(w)},P.prototype._isPrintstr=function(w){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(w)}},4919:(Ve,Q,m)=>{"use strict";const t=m(3894);function e(D){this._reporterState={obj:null,path:[],options:D||{},errors:[]}}function v(D,o){this.path=D,this.rethrow(o)}Q.b=e,e.prototype.isError=function(o){return o instanceof v},e.prototype.save=function(){const o=this._reporterState;return{obj:o.obj,pathLen:o.path.length}},e.prototype.restore=function(o){const C=this._reporterState;C.obj=o.obj,C.path=C.path.slice(0,o.pathLen)},e.prototype.enterKey=function(o){return this._reporterState.path.push(o)},e.prototype.exitKey=function(o){const C=this._reporterState;C.path=C.path.slice(0,o-1)},e.prototype.leaveKey=function(o,C,u){const P=this._reporterState;this.exitKey(o),null!==P.obj&&(P.obj[C]=u)},e.prototype.path=function(){return this._reporterState.path.join("/")},e.prototype.enterObject=function(){const o=this._reporterState,C=o.obj;return o.obj={},C},e.prototype.leaveObject=function(o){const C=this._reporterState,u=C.obj;return C.obj=o,u},e.prototype.error=function(o){let C;const u=this._reporterState,P=o instanceof v;if(C=P?o:new v(u.path.map(function(d){return"["+JSON.stringify(d)+"]"}).join(""),o.message||o,o.stack),!u.options.partial)throw C;return P||u.errors.push(C),C},e.prototype.wrapResult=function(o){const C=this._reporterState;return C.options.partial?{result:this.isError(o)?null:o,errors:C.errors}:o},t(v,Error),v.prototype.rethrow=function(o){if(this.message=o+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,v),!this.stack)try{throw new Error(this.message)}catch(C){this.stack=C.stack}return this}},5496:(Ve,Q)=>{"use strict";function m(t){const e={};return Object.keys(t).forEach(function(v){(0|v)==v&&(v|=0),e[t[v]]=v}),e}Q.tagClass={0:"universal",1:"application",2:"context",3:"private"},Q.tagClassByName=m(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=m(Q.tag)},5459:(Ve,Q,m)=>{"use strict";const t=Q;t._reverse=function(v){const D={};return Object.keys(v).forEach(function(o){(0|o)==o&&(o|=0),D[v[o]]=o}),D},t.der=m(5496)},7127:(Ve,Q,m)=>{"use strict";const t=m(3894),e=m(3854),v=m(2769).C,D=m(1430),o=m(5496);function C(S){this.enc="der",this.name=S.name,this.entity=S,this.tree=new u,this.tree._init(S.body)}function u(S){D.call(this,"der",S)}function P(S,w){let I=S.readUInt8(w);if(S.isError(I))return I;const E=o.tagClass[I>>6],N=0==(32&I);if(31==(31&I)){let G=I;for(I=0;128==(128&G);){if(G=S.readUInt8(w),S.isError(G))return G;I<<=7,I|=127&G}}else I&=31;return{cls:E,primitive:N,tag:I,tagStr:o.tag[I]}}function d(S,w,I){let E=S.readUInt8(I);if(S.isError(E))return E;if(!w&&128===E)return null;if(0==(128&E))return E;const N=127&E;if(N>4)return S.error("length octect is too long");E=0;for(let z=0;z<N;z++){E<<=8;const G=S.readUInt8(I);if(S.isError(G))return G;E|=G}return E}Ve.exports=C,C.prototype.decode=function(w,I){return v.isDecoderBuffer(w)||(w=new v(w,I)),this.tree._decode(w,I)},t(u,D),u.prototype._peekTag=function(w,I,E){if(w.isEmpty())return!1;const N=w.save(),z=P(w,'Failed to peek tag: "'+I+'"');return w.isError(z)?z:(w.restore(N),z.tag===I||z.tagStr===I||z.tagStr+"of"===I||E)},u.prototype._decodeTag=function(w,I,E){const N=P(w,'Failed to decode tag of "'+I+'"');if(w.isError(N))return N;let z=d(w,N.primitive,'Failed to get length of "'+I+'"');if(w.isError(z))return z;if(!E&&N.tag!==I&&N.tagStr!==I&&N.tagStr+"of"!==I)return w.error('Failed to match tag: "'+I+'"');if(N.primitive||null!==z)return w.skip(z,'Failed to match body of: "'+I+'"');const G=w.save(),W=this._skipUntilEnd(w,'Failed to skip indefinite length body: "'+this.tag+'"');return w.isError(W)?W:(z=w.offset-G.offset,w.restore(G),w.skip(z,'Failed to match body of: "'+I+'"'))},u.prototype._skipUntilEnd=function(w,I){for(;;){const E=P(w,I);if(w.isError(E))return E;const N=d(w,E.primitive,I);if(w.isError(N))return N;let z;if(z=E.primitive||null!==N?w.skip(N):this._skipUntilEnd(w,I),w.isError(z))return z;if("end"===E.tagStr)break}},u.prototype._decodeList=function(w,I,E,N){const z=[];for(;!w.isEmpty();){const G=this._peekTag(w,"end");if(w.isError(G))return G;const W=E.decode(w,"der",N);if(w.isError(W)&&G)break;z.push(W)}return z},u.prototype._decodeStr=function(w,I){if("bitstr"===I){const E=w.readUInt8();return w.isError(E)?E:{unused:E,data:w.raw()}}if("bmpstr"===I){const E=w.raw();if(E.length%2==1)return w.error("Decoding of string type: bmpstr length mismatch");let N="";for(let z=0;z<E.length/2;z++)N+=String.fromCharCode(E.readUInt16BE(2*z));return N}if("numstr"===I){const E=w.raw().toString("ascii");return this._isNumstr(E)?E:w.error("Decoding of string type: numstr unsupported characters")}if("octstr"===I)return w.raw();if("objDesc"===I)return w.raw();if("printstr"===I){const E=w.raw().toString("ascii");return this._isPrintstr(E)?E:w.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(I)?w.raw().toString():w.error("Decoding of string type: "+I+" unsupported")},u.prototype._decodeObjid=function(w,I,E){let N;const z=[];let G=0,W=0;for(;!w.isEmpty();)W=w.readUInt8(),G<<=7,G|=127&W,0==(128&W)&&(z.push(G),G=0);if(128&W&&z.push(G),N=E?z:[z[0]/40|0,z[0]%40].concat(z.slice(1)),I){let ee=I[N.join(" ")];void 0===ee&&(ee=I[N.join(".")]),void 0!==ee&&(N=ee)}return N},u.prototype._decodeTime=function(w,I){const E=w.raw().toString();let N,z,G,W,Y,X;if("gentime"===I)N=0|E.slice(0,4),z=0|E.slice(4,6),G=0|E.slice(6,8),W=0|E.slice(8,10),Y=0|E.slice(10,12),X=0|E.slice(12,14);else{if("utctime"!==I)return w.error("Decoding "+I+" time is not supported yet");N=0|E.slice(0,2),z=0|E.slice(2,4),G=0|E.slice(4,6),W=0|E.slice(6,8),Y=0|E.slice(8,10),X=0|E.slice(10,12),N=N<70?2e3+N:1900+N}return Date.UTC(N,z-1,G,W,Y,X,0)},u.prototype._decodeNull=function(){return null},u.prototype._decodeBool=function(w){const I=w.readUInt8();return w.isError(I)?I:0!==I},u.prototype._decodeInt=function(w,I){const E=w.raw();let N=new e(E);return I&&(N=I[N.toString(10)]||N),N},u.prototype._use=function(w,I){return"function"==typeof w&&(w=w(I)),w._getDecoder("der").tree}},196:(Ve,Q,m)=>{"use strict";const t=Q;t.der=m(7127),t.pem=m(9617)},9617:(Ve,Q,m)=>{"use strict";const t=m(3894),e=m(2038).Buffer,v=m(7127);function D(o){v.call(this,o),this.enc="pem"}t(D,v),Ve.exports=D,D.prototype.decode=function(C,u){const P=C.toString().split(/[\r\n]+/g),d=u.label.toUpperCase(),S=/^-----(BEGIN|END) ([^-]+)-----$/;let w=-1,I=-1;for(let z=0;z<P.length;z++){const G=P[z].match(S);if(null!==G&&G[2]===d){if(-1!==w){if("END"!==G[1])break;I=z;break}if("BEGIN"!==G[1])break;w=z}}if(-1===w||-1===I)throw new Error("PEM section not found for: "+d);const E=P.slice(w+1,I).join("");E.replace(/[^a-z0-9+/=]+/gi,"");const N=e.from(E,"base64");return v.prototype.decode.call(this,N,u)}},6374:(Ve,Q,m)=>{"use strict";const t=m(3894),e=m(2038).Buffer,v=m(1430),D=m(5496);function o(d){this.enc="der",this.name=d.name,this.entity=d,this.tree=new C,this.tree._init(d.body)}function C(d){v.call(this,"der",d)}function u(d){return d<10?"0"+d:d}Ve.exports=o,o.prototype.encode=function(S,w){return this.tree._encode(S,w).join()},t(C,v),C.prototype._encodeComposite=function(S,w,I,E){const N=function P(d,S,w,I){let E;if("seqof"===d?d="seq":"setof"===d&&(d="set"),D.tagByName.hasOwnProperty(d))E=D.tagByName[d];else{if("number"!=typeof d||(0|d)!==d)return I.error("Unknown tag: "+d);E=d}return E>=31?I.error("Multi-octet tag encoding unsupported"):(S||(E|=32),E|=D.tagClassByName[w||"universal"]<<6,E)}(S,w,I,this.reporter);if(E.length<128){const W=e.alloc(2);return W[0]=N,W[1]=E.length,this._createEncoderBuffer([W,E])}let z=1;for(let W=E.length;W>=256;W>>=8)z++;const G=e.alloc(2+z);G[0]=N,G[1]=128|z;for(let W=1+z,Y=E.length;Y>0;W--,Y>>=8)G[W]=255&Y;return this._createEncoderBuffer([G,E])},C.prototype._encodeStr=function(S,w){if("bitstr"===w)return this._createEncoderBuffer([0|S.unused,S.data]);if("bmpstr"===w){const I=e.alloc(2*S.length);for(let E=0;E<S.length;E++)I.writeUInt16BE(S.charCodeAt(E),2*E);return this._createEncoderBuffer(I)}return"numstr"===w?this._isNumstr(S)?this._createEncoderBuffer(S):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===w?this._isPrintstr(S)?this._createEncoderBuffer(S):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(w)||"objDesc"===w?this._createEncoderBuffer(S):this.reporter.error("Encoding of string type: "+w+" unsupported")},C.prototype._encodeObjid=function(S,w,I){if("string"==typeof S){if(!w)return this.reporter.error("string objid given, but no values map found");if(!w.hasOwnProperty(S))return this.reporter.error("objid not found in values map");S=w[S].split(/[\s.]+/g);for(let G=0;G<S.length;G++)S[G]|=0}else if(Array.isArray(S)){S=S.slice();for(let G=0;G<S.length;G++)S[G]|=0}if(!Array.isArray(S))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(S));if(!I){if(S[1]>=40)return this.reporter.error("Second objid identifier OOB");S.splice(0,2,40*S[0]+S[1])}let E=0;for(let G=0;G<S.length;G++){let W=S[G];for(E++;W>=128;W>>=7)E++}const N=e.alloc(E);let z=N.length-1;for(let G=S.length-1;G>=0;G--){let W=S[G];for(N[z--]=127&W;(W>>=7)>0;)N[z--]=128|127&W}return this._createEncoderBuffer(N)},C.prototype._encodeTime=function(S,w){let I;const E=new Date(S);return"gentime"===w?I=[u(E.getUTCFullYear()),u(E.getUTCMonth()+1),u(E.getUTCDate()),u(E.getUTCHours()),u(E.getUTCMinutes()),u(E.getUTCSeconds()),"Z"].join(""):"utctime"===w?I=[u(E.getUTCFullYear()%100),u(E.getUTCMonth()+1),u(E.getUTCDate()),u(E.getUTCHours()),u(E.getUTCMinutes()),u(E.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+w+" time is not supported yet"),this._encodeStr(I,"octstr")},C.prototype._encodeNull=function(){return this._createEncoderBuffer("")},C.prototype._encodeInt=function(S,w){if("string"==typeof S){if(!w)return this.reporter.error("String int or enum given, but no values map");if(!w.hasOwnProperty(S))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(S));S=w[S]}if("number"!=typeof S&&!e.isBuffer(S)){const N=S.toArray();!S.sign&&128&N[0]&&N.unshift(0),S=e.from(N)}if(e.isBuffer(S)){let N=S.length;0===S.length&&N++;const z=e.alloc(N);return S.copy(z),0===S.length&&(z[0]=0),this._createEncoderBuffer(z)}if(S<128)return this._createEncoderBuffer(S);if(S<256)return this._createEncoderBuffer([0,S]);let I=1;for(let N=S;N>=256;N>>=8)I++;const E=new Array(I);for(let N=E.length-1;N>=0;N--)E[N]=255&S,S>>=8;return 128&E[0]&&E.unshift(0),this._createEncoderBuffer(e.from(E))},C.prototype._encodeBool=function(S){return this._createEncoderBuffer(S?255:0)},C.prototype._use=function(S,w){return"function"==typeof S&&(S=S(w)),S._getEncoder("der").tree},C.prototype._skipDefault=function(S,w,I){const E=this._baseState;let N;if(null===E.default)return!1;const z=S.join();if(void 0===E.defaultBuffer&&(E.defaultBuffer=this._encodeValue(E.default,w,I).join()),z.length!==E.defaultBuffer.length)return!1;for(N=0;N<z.length;N++)if(z[N]!==E.defaultBuffer[N])return!1;return!0}},1131:(Ve,Q,m)=>{"use strict";const t=Q;t.der=m(6374),t.pem=m(3530)},3530:(Ve,Q,m)=>{"use strict";const t=m(3894),e=m(6374);function v(D){e.call(this,D),this.enc="pem"}t(v,e),Ve.exports=v,v.prototype.encode=function(o,C){const P=e.prototype.encode.call(this,o).toString("base64"),d=["-----BEGIN "+C.label+"-----"];for(let S=0;S<P.length;S+=64)d.push(P.slice(S,S+64));return d.push("-----END "+C.label+"-----"),d.join("\n")}},3854:function(Ve,Q,m){!function(t,e){"use strict";function v(T,i){if(!T)throw new Error(i||"Assertion failed")}function D(T,i){T.super_=i;var r=function(){};r.prototype=i.prototype,T.prototype=new r,T.prototype.constructor=T}function o(T,i,r){if(o.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(T||0,i||10,r||"be"))}var C;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(950).Buffer}catch{}function u(T,i){var r=T.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function P(T,i,r){var h=u(T,r);return r-1>=i&&(h|=u(T,r-1)<<4),h}function d(T,i,r,h){for(var l=0,y=Math.min(T.length,r),A=i;A<y;A++){var k=T.charCodeAt(A)-48;l*=h,l+=k>=49?k-49+10:k>=17?k-17+10:k}return l}o.isBN=function(i){return i instanceof o||null!==i&&"object"==typeof i&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,r){return i.cmp(r)>0?i:r},o.min=function(i,r){return i.cmp(r)<0?i:r},o.prototype._init=function(i,r,h){if("number"==typeof i)return this._initNumber(i,r,h);if("object"==typeof i)return this._initArray(i,r,h);"hex"===r&&(r=16),v(r===(0|r)&&r>=2&&r<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===r?this._parseHex(i,l,h):(this._parseBase(i,r,l),"le"===h&&this._initArray(this.toArray(),r,h)))},o.prototype._initNumber=function(i,r,h){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[67108863&i],this.length=1):i<4503599627370496?(this.words=[67108863&i,i/67108864&67108863],this.length=2):(v(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===h&&this._initArray(this.toArray(),r,h)},o.prototype._initArray=function(i,r,h){if(v("number"==typeof i.length),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var y,A,k=0;if("be"===h)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(A=i[l]|i[l-1]<<8|i[l-2]<<16)<<k&67108863,this.words[y+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);else if("le"===h)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(A=i[l]|i[l+1]<<8|i[l+2]<<16)<<k&67108863,this.words[y+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);return this.strip()},o.prototype._parseHex=function(i,r,h){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var k,y=0,A=0;if("be"===h)for(l=i.length-1;l>=r;l-=2)k=P(i,r,l)<<y,this.words[A]|=67108863&k,y>=18?(y-=18,this.words[A+=1]|=k>>>26):y+=8;else for(l=(i.length-r)%2==0?r+1:r;l<i.length;l+=2)k=P(i,r,l)<<y,this.words[A]|=67108863&k,y>=18?(y-=18,this.words[A+=1]|=k>>>26):y+=8;this.strip()},o.prototype._parseBase=function(i,r,h){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=r)l++;l--,y=y/r|0;for(var A=i.length-h,k=A%l,g=Math.min(A,A-k)+h,n=0,b=h;b<g;b+=l)n=d(i,b,b+l,r),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==k){var U=1;for(n=d(i,b,i.length,r),b=0;b<k;b++)U*=r;this.imuln(U),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var r=0;r<this.length;r++)i.words[r]=this.words[r];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var S=["","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"],w=[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 N(T,i,r){r.negative=i.negative^T.negative;var h=T.length+i.length|0;r.length=h,h=h-1|0;var l=0|T.words[0],y=0|i.words[0],A=l*y,g=A/67108864|0;r.words[0]=67108863&A;for(var n=1;n<h;n++){for(var b=g>>>26,U=67108863&g,V=Math.min(n,i.length-1),j=Math.max(0,n-T.length+1);j<=V;j++)b+=(A=(l=0|T.words[n-j|0])*(y=0|i.words[j])+U)/67108864|0,U=67108863&A;r.words[n]=0|U,g=0|b}return 0!==g?r.words[n]=0|g:r.length--,r.strip()}o.prototype.toString=function(i,r){var h;if(r=0|r||1,16===(i=i||10)||"hex"===i){h="";for(var l=0,y=0,A=0;A<this.length;A++){var k=this.words[A],g=(16777215&(k<<l|y)).toString(16);h=0!=(y=k>>>24-l&16777215)||A!==this.length-1?S[6-g.length]+g+h:g+h,(l+=2)>=26&&(l-=26,A--)}for(0!==y&&(h=y.toString(16)+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=I[i];h="";var U=this.clone();for(U.negative=0;!U.isZero();){var V=U.modn(b).toString(i);h=(U=U.idivn(b)).isZero()?V+h:S[n-V.length]+V+h}for(this.isZero()&&(h="0"+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}v(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return 2===this.length?i+=67108864*this.words[1]:3===this.length&&1===this.words[2]?i+=4503599627370496+67108864*this.words[1]:this.length>2&&v(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,r){return v(typeof C<"u"),this.toArrayLike(C,i,r)},o.prototype.toArray=function(i,r){return this.toArrayLike(Array,i,r)},o.prototype.toArrayLike=function(i,r,h){var l=this.byteLength(),y=h||Math.max(1,l);v(l<=y,"byte array longer than desired length"),v(y>0,"Requested array length <= 0"),this.strip();var g,n,A="le"===r,k=new i(y),b=this.clone();if(A){for(n=0;!b.isZero();n++)g=b.andln(255),b.iushrn(8),k[n]=g;for(;n<y;n++)k[n]=0}else{for(n=0;n<y-l;n++)k[n]=0;for(n=0;!b.isZero();n++)g=b.andln(255),b.iushrn(8),k[y-n-1]=g}return k},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,h=0;return r>=4096&&(h+=13,r>>>=13),r>=64&&(h+=7,r>>>=7),r>=8&&(h+=4,r>>>=4),r>=2&&(h+=2,r>>>=2),h+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,h=0;return 0==(8191&r)&&(h+=13,r>>>=13),0==(127&r)&&(h+=7,r>>>=7),0==(15&r)&&(h+=4,r>>>=4),0==(3&r)&&(h+=2,r>>>=2),0==(1&r)&&h++,h},o.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,r=0;r<this.length;r++){var h=this._zeroBits(this.words[r]);if(i+=h,26!==h)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var r=0;r<i.length;r++)this.words[r]=this.words[r]|i.words[r];return this.strip()},o.prototype.ior=function(i){return v(0==(this.negative|i.negative)),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var r;r=this.length>i.length?i:this;for(var h=0;h<r.length;h++)this.words[h]=this.words[h]&i.words[h];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return v(0==(this.negative|i.negative)),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var r,h;this.length>i.length?(r=this,h=i):(r=i,h=this);for(var l=0;l<h.length;l++)this.words[l]=r.words[l]^h.words[l];if(this!==r)for(;l<r.length;l++)this.words[l]=r.words[l];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return v(0==(this.negative|i.negative)),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){v("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),h=i%26;this._expand(r),h>0&&r--;for(var l=0;l<r;l++)this.words[l]=67108863&~this.words[l];return h>0&&(this.words[l]=~this.words[l]&67108863>>26-h),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){v("number"==typeof i&&i>=0);var h=i/26|0,l=i%26;return this._expand(h+1),this.words[h]=r?this.words[h]|1<<l:this.words[h]&~(1<<l),this.strip()},o.prototype.iadd=function(i){var r,h,l;if(0!==this.negative&&0===i.negative)return this.negative=0,r=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,r=this.isub(i),i.negative=1,r._normSign();this.length>i.length?(h=this,l=i):(h=i,l=this);for(var y=0,A=0;A<l.length;A++)this.words[A]=67108863&(r=(0|h.words[A])+(0|l.words[A])+y),y=r>>>26;for(;0!==y&&A<h.length;A++)this.words[A]=67108863&(r=(0|h.words[A])+y),y=r>>>26;if(this.length=h.length,0!==y)this.words[this.length]=y,this.length++;else if(h!==this)for(;A<h.length;A++)this.words[A]=h.words[A];return this},o.prototype.add=function(i){var r;return 0!==i.negative&&0===this.negative?(i.negative=0,r=this.sub(i),i.negative^=1,r):0===i.negative&&0!==this.negative?(this.negative=0,r=i.sub(this),this.negative=1,r):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var r=this.iadd(i);return i.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,h=this.cmp(i);if(0===h)return this.negative=0,this.length=1,this.words[0]=0,this;h>0?(l=this,y=i):(l=i,y=this);for(var A=0,k=0;k<y.length;k++)A=(r=(0|l.words[k])-(0|y.words[k])+A)>>26,this.words[k]=67108863&r;for(;0!==A&&k<l.length;k++)A=(r=(0|l.words[k])+A)>>26,this.words[k]=67108863&r;if(0===A&&k<l.length&&l!==this)for(;k<l.length;k++)this.words[k]=l.words[k];return this.length=Math.max(this.length,k),l!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var z=function(i,r,h){var g,n,b,l=i.words,y=r.words,A=h.words,k=0,U=0|l[0],V=8191&U,j=U>>>13,Ae=0|l[1],Ke=8191&Ae,qe=Ae>>>13,ct=0|l[2],Ie=8191&ct,xe=ct>>>13,le=0|l[3],_e=8191&le,se=le>>>13,Ye=0|l[4],Te=8191&Ye,oe=Ye>>>13,be=0|l[5],te=8191&be,Ue=be>>>13,Be=0|l[6],q=8191&Be,de=Be>>>13,Ce=0|l[7],ke=8191&Ce,ht=Ce>>>13,nt=0|l[8],wt=8191&nt,it=nt>>>13,qt=0|l[9],_t=8191&qt,ne=qt>>>13,Nt=0|y[0],De=8191&Nt,He=Nt>>>13,Ct=0|y[1],Pe=8191&Ct,tt=Ct>>>13,Bt=0|y[2],Lt=8191&Bt,Ht=Bt>>>13,bt=0|y[3],Me=8191&bt,J=bt>>>13,ve=0|y[4],Re=8191&ve,at=ve>>>13,ni=0|y[5],Gt=8191&ni,ti=ni>>>13,dt=0|y[6],rt=8191&dt,vt=dt>>>13,ai=0|y[7],Ut=8191&ai,Vt=ai>>>13,Rt=0|y[8],je=8191&Rt,Fe=Rt>>>13,We=0|y[9],Je=8191&We,Tt=We>>>13;h.negative=i.negative^r.negative,h.length=19;var ui=(k+(g=Math.imul(V,De))|0)+((8191&(n=(n=Math.imul(V,He))+Math.imul(j,De)|0))<<13)|0;k=((b=Math.imul(j,He))+(n>>>13)|0)+(ui>>>26)|0,ui&=67108863,g=Math.imul(Ke,De),n=(n=Math.imul(Ke,He))+Math.imul(qe,De)|0,b=Math.imul(qe,He);var Ei=(k+(g=g+Math.imul(V,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(V,tt)|0)+Math.imul(j,Pe)|0))<<13)|0;k=((b=b+Math.imul(j,tt)|0)+(n>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,g=Math.imul(Ie,De),n=(n=Math.imul(Ie,He))+Math.imul(xe,De)|0,b=Math.imul(xe,He),g=g+Math.imul(Ke,Pe)|0,n=(n=n+Math.imul(Ke,tt)|0)+Math.imul(qe,Pe)|0,b=b+Math.imul(qe,tt)|0;var xi=(k+(g=g+Math.imul(V,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Ht)|0)+Math.imul(j,Lt)|0))<<13)|0;k=((b=b+Math.imul(j,Ht)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,g=Math.imul(_e,De),n=(n=Math.imul(_e,He))+Math.imul(se,De)|0,b=Math.imul(se,He),g=g+Math.imul(Ie,Pe)|0,n=(n=n+Math.imul(Ie,tt)|0)+Math.imul(xe,Pe)|0,b=b+Math.imul(xe,tt)|0,g=g+Math.imul(Ke,Lt)|0,n=(n=n+Math.imul(Ke,Ht)|0)+Math.imul(qe,Lt)|0,b=b+Math.imul(qe,Ht)|0;var Vi=(k+(g=g+Math.imul(V,Me)|0)|0)+((8191&(n=(n=n+Math.imul(V,J)|0)+Math.imul(j,Me)|0))<<13)|0;k=((b=b+Math.imul(j,J)|0)+(n>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,g=Math.imul(Te,De),n=(n=Math.imul(Te,He))+Math.imul(oe,De)|0,b=Math.imul(oe,He),g=g+Math.imul(_e,Pe)|0,n=(n=n+Math.imul(_e,tt)|0)+Math.imul(se,Pe)|0,b=b+Math.imul(se,tt)|0,g=g+Math.imul(Ie,Lt)|0,n=(n=n+Math.imul(Ie,Ht)|0)+Math.imul(xe,Lt)|0,b=b+Math.imul(xe,Ht)|0,g=g+Math.imul(Ke,Me)|0,n=(n=n+Math.imul(Ke,J)|0)+Math.imul(qe,Me)|0,b=b+Math.imul(qe,J)|0;var $e=(k+(g=g+Math.imul(V,Re)|0)|0)+((8191&(n=(n=n+Math.imul(V,at)|0)+Math.imul(j,Re)|0))<<13)|0;k=((b=b+Math.imul(j,at)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,g=Math.imul(te,De),n=(n=Math.imul(te,He))+Math.imul(Ue,De)|0,b=Math.imul(Ue,He),g=g+Math.imul(Te,Pe)|0,n=(n=n+Math.imul(Te,tt)|0)+Math.imul(oe,Pe)|0,b=b+Math.imul(oe,tt)|0,g=g+Math.imul(_e,Lt)|0,n=(n=n+Math.imul(_e,Ht)|0)+Math.imul(se,Lt)|0,b=b+Math.imul(se,Ht)|0,g=g+Math.imul(Ie,Me)|0,n=(n=n+Math.imul(Ie,J)|0)+Math.imul(xe,Me)|0,b=b+Math.imul(xe,J)|0,g=g+Math.imul(Ke,Re)|0,n=(n=n+Math.imul(Ke,at)|0)+Math.imul(qe,Re)|0,b=b+Math.imul(qe,at)|0;var Mt=(k+(g=g+Math.imul(V,Gt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ti)|0)+Math.imul(j,Gt)|0))<<13)|0;k=((b=b+Math.imul(j,ti)|0)+(n>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,g=Math.imul(q,De),n=(n=Math.imul(q,He))+Math.imul(de,De)|0,b=Math.imul(de,He),g=g+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,tt)|0)+Math.imul(Ue,Pe)|0,b=b+Math.imul(Ue,tt)|0,g=g+Math.imul(Te,Lt)|0,n=(n=n+Math.imul(Te,Ht)|0)+Math.imul(oe,Lt)|0,b=b+Math.imul(oe,Ht)|0,g=g+Math.imul(_e,Me)|0,n=(n=n+Math.imul(_e,J)|0)+Math.imul(se,Me)|0,b=b+Math.imul(se,J)|0,g=g+Math.imul(Ie,Re)|0,n=(n=n+Math.imul(Ie,at)|0)+Math.imul(xe,Re)|0,b=b+Math.imul(xe,at)|0,g=g+Math.imul(Ke,Gt)|0,n=(n=n+Math.imul(Ke,ti)|0)+Math.imul(qe,Gt)|0,b=b+Math.imul(qe,ti)|0;var ye=(k+(g=g+Math.imul(V,rt)|0)|0)+((8191&(n=(n=n+Math.imul(V,vt)|0)+Math.imul(j,rt)|0))<<13)|0;k=((b=b+Math.imul(j,vt)|0)+(n>>>13)|0)+(ye>>>26)|0,ye&=67108863,g=Math.imul(ke,De),n=(n=Math.imul(ke,He))+Math.imul(ht,De)|0,b=Math.imul(ht,He),g=g+Math.imul(q,Pe)|0,n=(n=n+Math.imul(q,tt)|0)+Math.imul(de,Pe)|0,b=b+Math.imul(de,tt)|0,g=g+Math.imul(te,Lt)|0,n=(n=n+Math.imul(te,Ht)|0)+Math.imul(Ue,Lt)|0,b=b+Math.imul(Ue,Ht)|0,g=g+Math.imul(Te,Me)|0,n=(n=n+Math.imul(Te,J)|0)+Math.imul(oe,Me)|0,b=b+Math.imul(oe,J)|0,g=g+Math.imul(_e,Re)|0,n=(n=n+Math.imul(_e,at)|0)+Math.imul(se,Re)|0,b=b+Math.imul(se,at)|0,g=g+Math.imul(Ie,Gt)|0,n=(n=n+Math.imul(Ie,ti)|0)+Math.imul(xe,Gt)|0,b=b+Math.imul(xe,ti)|0,g=g+Math.imul(Ke,rt)|0,n=(n=n+Math.imul(Ke,vt)|0)+Math.imul(qe,rt)|0,b=b+Math.imul(qe,vt)|0;var Ot=(k+(g=g+Math.imul(V,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(V,Vt)|0)+Math.imul(j,Ut)|0))<<13)|0;k=((b=b+Math.imul(j,Vt)|0)+(n>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,g=Math.imul(wt,De),n=(n=Math.imul(wt,He))+Math.imul(it,De)|0,b=Math.imul(it,He),g=g+Math.imul(ke,Pe)|0,n=(n=n+Math.imul(ke,tt)|0)+Math.imul(ht,Pe)|0,b=b+Math.imul(ht,tt)|0,g=g+Math.imul(q,Lt)|0,n=(n=n+Math.imul(q,Ht)|0)+Math.imul(de,Lt)|0,b=b+Math.imul(de,Ht)|0,g=g+Math.imul(te,Me)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ue,Me)|0,b=b+Math.imul(Ue,J)|0,g=g+Math.imul(Te,Re)|0,n=(n=n+Math.imul(Te,at)|0)+Math.imul(oe,Re)|0,b=b+Math.imul(oe,at)|0,g=g+Math.imul(_e,Gt)|0,n=(n=n+Math.imul(_e,ti)|0)+Math.imul(se,Gt)|0,b=b+Math.imul(se,ti)|0,g=g+Math.imul(Ie,rt)|0,n=(n=n+Math.imul(Ie,vt)|0)+Math.imul(xe,rt)|0,b=b+Math.imul(xe,vt)|0,g=g+Math.imul(Ke,Ut)|0,n=(n=n+Math.imul(Ke,Vt)|0)+Math.imul(qe,Ut)|0,b=b+Math.imul(qe,Vt)|0;var Kt=(k+(g=g+Math.imul(V,je)|0)|0)+((8191&(n=(n=n+Math.imul(V,Fe)|0)+Math.imul(j,je)|0))<<13)|0;k=((b=b+Math.imul(j,Fe)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,g=Math.imul(_t,De),n=(n=Math.imul(_t,He))+Math.imul(ne,De)|0,b=Math.imul(ne,He),g=g+Math.imul(wt,Pe)|0,n=(n=n+Math.imul(wt,tt)|0)+Math.imul(it,Pe)|0,b=b+Math.imul(it,tt)|0,g=g+Math.imul(ke,Lt)|0,n=(n=n+Math.imul(ke,Ht)|0)+Math.imul(ht,Lt)|0,b=b+Math.imul(ht,Ht)|0,g=g+Math.imul(q,Me)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,Me)|0,b=b+Math.imul(de,J)|0,g=g+Math.imul(te,Re)|0,n=(n=n+Math.imul(te,at)|0)+Math.imul(Ue,Re)|0,b=b+Math.imul(Ue,at)|0,g=g+Math.imul(Te,Gt)|0,n=(n=n+Math.imul(Te,ti)|0)+Math.imul(oe,Gt)|0,b=b+Math.imul(oe,ti)|0,g=g+Math.imul(_e,rt)|0,n=(n=n+Math.imul(_e,vt)|0)+Math.imul(se,rt)|0,b=b+Math.imul(se,vt)|0,g=g+Math.imul(Ie,Ut)|0,n=(n=n+Math.imul(Ie,Vt)|0)+Math.imul(xe,Ut)|0,b=b+Math.imul(xe,Vt)|0,g=g+Math.imul(Ke,je)|0,n=(n=n+Math.imul(Ke,Fe)|0)+Math.imul(qe,je)|0,b=b+Math.imul(qe,Fe)|0;var mi=(k+(g=g+Math.imul(V,Je)|0)|0)+((8191&(n=(n=n+Math.imul(V,Tt)|0)+Math.imul(j,Je)|0))<<13)|0;k=((b=b+Math.imul(j,Tt)|0)+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,g=Math.imul(_t,Pe),n=(n=Math.imul(_t,tt))+Math.imul(ne,Pe)|0,b=Math.imul(ne,tt),g=g+Math.imul(wt,Lt)|0,n=(n=n+Math.imul(wt,Ht)|0)+Math.imul(it,Lt)|0,b=b+Math.imul(it,Ht)|0,g=g+Math.imul(ke,Me)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ht,Me)|0,b=b+Math.imul(ht,J)|0,g=g+Math.imul(q,Re)|0,n=(n=n+Math.imul(q,at)|0)+Math.imul(de,Re)|0,b=b+Math.imul(de,at)|0,g=g+Math.imul(te,Gt)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ue,Gt)|0,b=b+Math.imul(Ue,ti)|0,g=g+Math.imul(Te,rt)|0,n=(n=n+Math.imul(Te,vt)|0)+Math.imul(oe,rt)|0,b=b+Math.imul(oe,vt)|0,g=g+Math.imul(_e,Ut)|0,n=(n=n+Math.imul(_e,Vt)|0)+Math.imul(se,Ut)|0,b=b+Math.imul(se,Vt)|0,g=g+Math.imul(Ie,je)|0,n=(n=n+Math.imul(Ie,Fe)|0)+Math.imul(xe,je)|0,b=b+Math.imul(xe,Fe)|0;var Mi=(k+(g=g+Math.imul(Ke,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Ke,Tt)|0)+Math.imul(qe,Je)|0))<<13)|0;k=((b=b+Math.imul(qe,Tt)|0)+(n>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,g=Math.imul(_t,Lt),n=(n=Math.imul(_t,Ht))+Math.imul(ne,Lt)|0,b=Math.imul(ne,Ht),g=g+Math.imul(wt,Me)|0,n=(n=n+Math.imul(wt,J)|0)+Math.imul(it,Me)|0,b=b+Math.imul(it,J)|0,g=g+Math.imul(ke,Re)|0,n=(n=n+Math.imul(ke,at)|0)+Math.imul(ht,Re)|0,b=b+Math.imul(ht,at)|0,g=g+Math.imul(q,Gt)|0,n=(n=n+Math.imul(q,ti)|0)+Math.imul(de,Gt)|0,b=b+Math.imul(de,ti)|0,g=g+Math.imul(te,rt)|0,n=(n=n+Math.imul(te,vt)|0)+Math.imul(Ue,rt)|0,b=b+Math.imul(Ue,vt)|0,g=g+Math.imul(Te,Ut)|0,n=(n=n+Math.imul(Te,Vt)|0)+Math.imul(oe,Ut)|0,b=b+Math.imul(oe,Vt)|0,g=g+Math.imul(_e,je)|0,n=(n=n+Math.imul(_e,Fe)|0)+Math.imul(se,je)|0,b=b+Math.imul(se,Fe)|0;var Pi=(k+(g=g+Math.imul(Ie,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Tt)|0)+Math.imul(xe,Je)|0))<<13)|0;k=((b=b+Math.imul(xe,Tt)|0)+(n>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,g=Math.imul(_t,Me),n=(n=Math.imul(_t,J))+Math.imul(ne,Me)|0,b=Math.imul(ne,J),g=g+Math.imul(wt,Re)|0,n=(n=n+Math.imul(wt,at)|0)+Math.imul(it,Re)|0,b=b+Math.imul(it,at)|0,g=g+Math.imul(ke,Gt)|0,n=(n=n+Math.imul(ke,ti)|0)+Math.imul(ht,Gt)|0,b=b+Math.imul(ht,ti)|0,g=g+Math.imul(q,rt)|0,n=(n=n+Math.imul(q,vt)|0)+Math.imul(de,rt)|0,b=b+Math.imul(de,vt)|0,g=g+Math.imul(te,Ut)|0,n=(n=n+Math.imul(te,Vt)|0)+Math.imul(Ue,Ut)|0,b=b+Math.imul(Ue,Vt)|0,g=g+Math.imul(Te,je)|0,n=(n=n+Math.imul(Te,Fe)|0)+Math.imul(oe,je)|0,b=b+Math.imul(oe,Fe)|0;var Wi=(k+(g=g+Math.imul(_e,Je)|0)|0)+((8191&(n=(n=n+Math.imul(_e,Tt)|0)+Math.imul(se,Je)|0))<<13)|0;k=((b=b+Math.imul(se,Tt)|0)+(n>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,g=Math.imul(_t,Re),n=(n=Math.imul(_t,at))+Math.imul(ne,Re)|0,b=Math.imul(ne,at),g=g+Math.imul(wt,Gt)|0,n=(n=n+Math.imul(wt,ti)|0)+Math.imul(it,Gt)|0,b=b+Math.imul(it,ti)|0,g=g+Math.imul(ke,rt)|0,n=(n=n+Math.imul(ke,vt)|0)+Math.imul(ht,rt)|0,b=b+Math.imul(ht,vt)|0,g=g+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,Vt)|0)+Math.imul(de,Ut)|0,b=b+Math.imul(de,Vt)|0,g=g+Math.imul(te,je)|0,n=(n=n+Math.imul(te,Fe)|0)+Math.imul(Ue,je)|0,b=b+Math.imul(Ue,Fe)|0;var Zt=(k+(g=g+Math.imul(Te,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Te,Tt)|0)+Math.imul(oe,Je)|0))<<13)|0;k=((b=b+Math.imul(oe,Tt)|0)+(n>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,g=Math.imul(_t,Gt),n=(n=Math.imul(_t,ti))+Math.imul(ne,Gt)|0,b=Math.imul(ne,ti),g=g+Math.imul(wt,rt)|0,n=(n=n+Math.imul(wt,vt)|0)+Math.imul(it,rt)|0,b=b+Math.imul(it,vt)|0,g=g+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,Vt)|0)+Math.imul(ht,Ut)|0,b=b+Math.imul(ht,Vt)|0,g=g+Math.imul(q,je)|0,n=(n=n+Math.imul(q,Fe)|0)+Math.imul(de,je)|0,b=b+Math.imul(de,Fe)|0;var oi=(k+(g=g+Math.imul(te,Je)|0)|0)+((8191&(n=(n=n+Math.imul(te,Tt)|0)+Math.imul(Ue,Je)|0))<<13)|0;k=((b=b+Math.imul(Ue,Tt)|0)+(n>>>13)|0)+(oi>>>26)|0,oi&=67108863,g=Math.imul(_t,rt),n=(n=Math.imul(_t,vt))+Math.imul(ne,rt)|0,b=Math.imul(ne,vt),g=g+Math.imul(wt,Ut)|0,n=(n=n+Math.imul(wt,Vt)|0)+Math.imul(it,Ut)|0,b=b+Math.imul(it,Vt)|0,g=g+Math.imul(ke,je)|0,n=(n=n+Math.imul(ke,Fe)|0)+Math.imul(ht,je)|0,b=b+Math.imul(ht,Fe)|0;var ge=(k+(g=g+Math.imul(q,Je)|0)|0)+((8191&(n=(n=n+Math.imul(q,Tt)|0)+Math.imul(de,Je)|0))<<13)|0;k=((b=b+Math.imul(de,Tt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,g=Math.imul(_t,Ut),n=(n=Math.imul(_t,Vt))+Math.imul(ne,Ut)|0,b=Math.imul(ne,Vt),g=g+Math.imul(wt,je)|0,n=(n=n+Math.imul(wt,Fe)|0)+Math.imul(it,je)|0,b=b+Math.imul(it,Fe)|0;var Xe=(k+(g=g+Math.imul(ke,Je)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Tt)|0)+Math.imul(ht,Je)|0))<<13)|0;k=((b=b+Math.imul(ht,Tt)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,g=Math.imul(_t,je),n=(n=Math.imul(_t,Fe))+Math.imul(ne,je)|0,b=Math.imul(ne,Fe);var St=(k+(g=g+Math.imul(wt,Je)|0)|0)+((8191&(n=(n=n+Math.imul(wt,Tt)|0)+Math.imul(it,Je)|0))<<13)|0;k=((b=b+Math.imul(it,Tt)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863;var pt=(k+(g=Math.imul(_t,Je))|0)+((8191&(n=(n=Math.imul(_t,Tt))+Math.imul(ne,Je)|0))<<13)|0;return k=((b=Math.imul(ne,Tt))+(n>>>13)|0)+(pt>>>26)|0,pt&=67108863,A[0]=ui,A[1]=Ei,A[2]=xi,A[3]=Vi,A[4]=$e,A[5]=Mt,A[6]=ye,A[7]=Ot,A[8]=Kt,A[9]=mi,A[10]=Mi,A[11]=Pi,A[12]=Wi,A[13]=Zt,A[14]=oi,A[15]=ge,A[16]=Xe,A[17]=St,A[18]=pt,0!==k&&(A[19]=k,h.length++),h};function W(T,i,r){return(new Y).mulp(T,i,r)}function Y(T,i){this.x=T,this.y=i}Math.imul||(z=N),o.prototype.mulTo=function(i,r){var h,l=this.length+i.length;return h=10===this.length&&10===i.length?z(this,i,r):l<63?N(this,i,r):l<1024?function G(T,i,r){r.negative=i.negative^T.negative,r.length=T.length+i.length;for(var h=0,l=0,y=0;y<r.length-1;y++){var A=l;l=0;for(var k=67108863&h,g=Math.min(y,i.length-1),n=Math.max(0,y-T.length+1);n<=g;n++){var j=(0|T.words[y-n])*(0|i.words[n]),Ae=67108863&j;k=67108863&(Ae=Ae+k|0),l+=(A=(A=A+(j/67108864|0)|0)+(Ae>>>26)|0)>>>26,A&=67108863}r.words[y]=k,h=A,A=l}return 0!==h?r.words[y]=h:r.length--,r.strip()}(this,i,r):W(this,i,r),h},Y.prototype.makeRBT=function(i){for(var r=new Array(i),h=o.prototype._countBits(i)-1,l=0;l<i;l++)r[l]=this.revBin(l,h,i);return r},Y.prototype.revBin=function(i,r,h){if(0===i||i===h-1)return i;for(var l=0,y=0;y<r;y++)l|=(1&i)<<r-y-1,i>>=1;return l},Y.prototype.permute=function(i,r,h,l,y,A){for(var k=0;k<A;k++)l[k]=r[i[k]],y[k]=h[i[k]]},Y.prototype.transform=function(i,r,h,l,y,A){this.permute(A,i,r,h,l,y);for(var k=1;k<y;k<<=1)for(var g=k<<1,n=Math.cos(2*Math.PI/g),b=Math.sin(2*Math.PI/g),U=0;U<y;U+=g)for(var V=n,j=b,Ae=0;Ae<k;Ae++){var Ke=h[U+Ae],qe=l[U+Ae],ct=h[U+Ae+k],Ie=l[U+Ae+k],xe=V*ct-j*Ie;Ie=V*Ie+j*ct,h[U+Ae]=Ke+(ct=xe),l[U+Ae]=qe+Ie,h[U+Ae+k]=Ke-ct,l[U+Ae+k]=qe-Ie,Ae!==g&&(xe=n*V-b*j,j=n*j+b*V,V=xe)}},Y.prototype.guessLen13b=function(i,r){var h=1|Math.max(r,i),l=1&h,y=0;for(h=h/2|0;h;h>>>=1)y++;return 1<<y+1+l},Y.prototype.conjugate=function(i,r,h){if(!(h<=1))for(var l=0;l<h/2;l++){var y=i[l];i[l]=i[h-l-1],i[h-l-1]=y,y=r[l],r[l]=-r[h-l-1],r[h-l-1]=-y}},Y.prototype.normalize13b=function(i,r){for(var h=0,l=0;l<r/2;l++){var y=8192*Math.round(i[2*l+1]/r)+Math.round(i[2*l]/r)+h;i[l]=67108863&y,h=y<67108864?0:y/67108864|0}return i},Y.prototype.convert13b=function(i,r,h,l){for(var y=0,A=0;A<r;A++)h[2*A]=8191&(y+=0|i[A]),h[2*A+1]=8191&(y>>>=13),y>>>=13;for(A=2*r;A<l;++A)h[A]=0;v(0===y),v(0==(-8192&y))},Y.prototype.stub=function(i){for(var r=new Array(i),h=0;h<i;h++)r[h]=0;return r},Y.prototype.mulp=function(i,r,h){var l=2*this.guessLen13b(i.length,r.length),y=this.makeRBT(l),A=this.stub(l),k=new Array(l),g=new Array(l),n=new Array(l),b=new Array(l),U=new Array(l),V=new Array(l),j=h.words;j.length=l,this.convert13b(i.words,i.length,k,l),this.convert13b(r.words,r.length,b,l),this.transform(k,A,g,n,l,y),this.transform(b,A,U,V,l,y);for(var Ae=0;Ae<l;Ae++){var Ke=g[Ae]*U[Ae]-n[Ae]*V[Ae];n[Ae]=g[Ae]*V[Ae]+n[Ae]*U[Ae],g[Ae]=Ke}return this.conjugate(g,n,l),this.transform(g,n,j,A,l,y),this.conjugate(j,A,l),this.normalize13b(j,l),h.negative=i.negative^r.negative,h.length=i.length+r.length,h.strip()},o.prototype.mul=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),this.mulTo(i,r)},o.prototype.mulf=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),W(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){v("number"==typeof i),v(i<67108864);for(var r=0,h=0;h<this.length;h++){var l=(0|this.words[h])*i,y=(67108863&l)+(67108863&r);r>>=26,r+=l/67108864|0,r+=y>>>26,this.words[h]=67108863&y}return 0!==r&&(this.words[h]=r,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var r=function E(T){for(var i=new Array(T.bitLength()),r=0;r<i.length;r++){var l=r%26;i[r]=(T.words[r/26|0]&1<<l)>>>l}return i}(i);if(0===r.length)return new o(1);for(var h=this,l=0;l<r.length&&0===r[l];l++,h=h.sqr());if(++l<r.length)for(var y=h.sqr();l<r.length;l++,y=y.sqr())0!==r[l]&&(h=h.mul(y));return h},o.prototype.iushln=function(i){v("number"==typeof i&&i>=0);var y,r=i%26,h=(i-r)/26,l=67108863>>>26-r<<26-r;if(0!==r){var A=0;for(y=0;y<this.length;y++){var k=this.words[y]&l;this.words[y]=(0|this.words[y])-k<<r|A,A=k>>>26-r}A&&(this.words[y]=A,this.length++)}if(0!==h){for(y=this.length-1;y>=0;y--)this.words[y+h]=this.words[y];for(y=0;y<h;y++)this.words[y]=0;this.length+=h}return this.strip()},o.prototype.ishln=function(i){return v(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,h){var l;v("number"==typeof i&&i>=0),l=r?(r-r%26)/26:0;var y=i%26,A=Math.min((i-y)/26,this.length),k=67108863^67108863>>>y<<y,g=h;if(l-=A,l=Math.max(0,l),g){for(var n=0;n<A;n++)g.words[n]=this.words[n];g.length=A}if(0!==A)if(this.length>A)for(this.length-=A,n=0;n<this.length;n++)this.words[n]=this.words[n+A];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=l);n--){var U=0|this.words[n];this.words[n]=b<<26-y|U>>>y,b=U&k}return g&&0!==b&&(g.words[g.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,h){return v(0===this.negative),this.iushrn(i,r,h)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){v("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return!(this.length<=h||!(this.words[h]&1<<r))},o.prototype.imaskn=function(i){v("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return v(0===this.negative,"imaskn works only with positive numbers"),this.length<=h?this:(0!==r&&h++,this.length=Math.min(h,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return v("number"==typeof i),v(i<67108864),i<0?this.isubn(-i):0!==this.negative?1===this.length&&(0|this.words[0])<i?(this.words[0]=i-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},o.prototype.isubn=function(i){if(v("number"==typeof i),v(i<67108864),i<0)return this.iaddn(-i);if(0!==this.negative)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,r,h){var y;this._expand(i.length+h);var A,k=0;for(y=0;y<i.length;y++){A=(0|this.words[y+h])+k;var g=(0|i.words[y])*r;k=((A-=67108863&g)>>26)-(g/67108864|0),this.words[y+h]=67108863&A}for(;y<this.length-h;y++)k=(A=(0|this.words[y+h])+k)>>26,this.words[y+h]=67108863&A;if(0===k)return this.strip();for(v(-1===k),k=0,y=0;y<this.length;y++)k=(A=-(0|this.words[y])+k)>>26,this.words[y]=67108863&A;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var h,l=this.clone(),y=i,A=0|y.words[y.length-1];0!=(h=26-this._countBits(A))&&(y=y.ushln(h),l.iushln(h),A=0|y.words[y.length-1]);var n,g=l.length-y.length;if("mod"!==r){(n=new o(null)).length=g+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var U=l.clone()._ishlnsubmul(y,1,g);0===U.negative&&(l=U,n&&(n.words[g]=1));for(var V=g-1;V>=0;V--){var j=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(j=Math.min(j/A|0,67108863),l._ishlnsubmul(y,j,V);0!==l.negative;)j--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=j)}return n&&n.strip(),l.strip(),"div"!==r&&0!==h&&l.iushrn(h),{div:n||null,mod:l}},o.prototype.divmod=function(i,r,h){return v(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(A=this.neg().divmod(i,r),"mod"!==r&&(l=A.div.neg()),"div"!==r&&(y=A.mod.neg(),h&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(A=this.divmod(i.neg(),r),"mod"!==r&&(l=A.div.neg()),{div:l,mod:A.mod}):0!=(this.negative&i.negative)?(A=this.neg().divmod(i.neg(),r),"div"!==r&&(y=A.mod.neg(),h&&0!==y.negative&&y.isub(i)),{div:A.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:1===i.length?"div"===r?{div:this.divn(i.words[0]),mod:null}:"mod"===r?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,r);var l,y,A},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var r=this.divmod(i);if(r.mod.isZero())return r.div;var h=0!==r.div.negative?r.mod.isub(i):r.mod,l=i.ushrn(1),y=i.andln(1),A=h.cmp(l);return A<0||1===y&&0===A?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){v(i<=67108863);for(var r=(1<<26)%i,h=0,l=this.length-1;l>=0;l--)h=(r*h+(0|this.words[l]))%i;return h},o.prototype.idivn=function(i){v(i<=67108863);for(var r=0,h=this.length-1;h>=0;h--){var l=(0|this.words[h])+67108864*r;this.words[h]=l/i|0,r=l%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){v(0===i.negative),v(!i.isZero());var r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var l=new o(1),y=new o(0),A=new o(0),k=new o(1),g=0;r.isEven()&&h.isEven();)r.iushrn(1),h.iushrn(1),++g;for(var n=h.clone(),b=r.clone();!r.isZero();){for(var U=0,V=1;0==(r.words[0]&V)&&U<26;++U,V<<=1);if(U>0)for(r.iushrn(U);U-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(b)),l.iushrn(1),y.iushrn(1);for(var j=0,Ae=1;0==(h.words[0]&Ae)&&j<26;++j,Ae<<=1);if(j>0)for(h.iushrn(j);j-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(n),k.isub(b)),A.iushrn(1),k.iushrn(1);r.cmp(h)>=0?(r.isub(h),l.isub(A),y.isub(k)):(h.isub(r),A.isub(l),k.isub(y))}return{a:A,b:k,gcd:h.iushln(g)}},o.prototype._invmp=function(i){v(0===i.negative),v(!i.isZero());var U,r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var l=new o(1),y=new o(0),A=h.clone();r.cmpn(1)>0&&h.cmpn(1)>0;){for(var k=0,g=1;0==(r.words[0]&g)&&k<26;++k,g<<=1);if(k>0)for(r.iushrn(k);k-- >0;)l.isOdd()&&l.iadd(A),l.iushrn(1);for(var n=0,b=1;0==(h.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(h.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(A),y.iushrn(1);r.cmp(h)>=0?(r.isub(h),l.isub(y)):(h.isub(r),y.isub(l))}return(U=0===r.cmpn(1)?l:y).cmpn(0)<0&&U.iadd(i),U},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),h=i.clone();r.negative=0,h.negative=0;for(var l=0;r.isEven()&&h.isEven();l++)r.iushrn(1),h.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;h.isEven();)h.iushrn(1);var y=r.cmp(h);if(y<0){var A=r;r=h,h=A}else if(0===y||0===h.cmpn(1))break;r.isub(h)}return h.iushln(l)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){v("number"==typeof i);var r=i%26,h=(i-r)/26,l=1<<r;if(this.length<=h)return this._expand(h+1),this.words[h]|=l,this;for(var y=l,A=h;0!==y&&A<this.length;A++){var k=0|this.words[A];y=(k+=y)>>>26,this.words[A]=k&=67108863}return 0!==y&&(this.words[A]=y,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var h,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)h=1;else{r&&(i=-i),v(i<=67108863,"Number is too big");var l=0|this.words[0];h=l===i?0:l<i?-1:1}return 0!==this.negative?0|-h:h},o.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var r=this.ucmp(i);return 0!==this.negative?0|-r:r},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var r=0,h=this.length-1;h>=0;h--){var l=0|this.words[h],y=0|i.words[h];if(l!==y){l<y?r=-1:l>y&&(r=1);break}}return r},o.prototype.gtn=function(i){return 1===this.cmpn(i)},o.prototype.gt=function(i){return 1===this.cmp(i)},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return-1===this.cmpn(i)},o.prototype.lt=function(i){return-1===this.cmp(i)},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return 0===this.cmpn(i)},o.prototype.eq=function(i){return 0===this.cmp(i)},o.red=function(i){return new $(i)},o.prototype.toRed=function(i){return v(!this.red,"Already a number in reduction context"),v(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return v(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return v(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return v(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return v(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return v(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return v(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return v(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return v(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return v(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return v(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return v(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return v(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return v(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var X={k256:null,p224:null,p192:null,p25519:null};function ee(T,i){this.name=T,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ue(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function he(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(T){if("string"==typeof T){var i=o._prime(T);this.m=i.p,this.prime=i}else v(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function fe(T){$.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}ee.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},ee.prototype.ireduce=function(i){var h,r=i;do{this.split(r,this.tmp),h=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(h>this.n);var l=h<this.n?-1:r.ucmp(this.p);return 0===l?(r.words[0]=0,r.length=1):l>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},ee.prototype.split=function(i,r){i.iushrn(this.n,0,r)},ee.prototype.imulK=function(i){return i.imul(this.k)},D(ue,ee),ue.prototype.split=function(i,r){for(var h=4194303,l=Math.min(i.length,9),y=0;y<l;y++)r.words[y]=i.words[y];if(r.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var A=i.words[9];for(r.words[r.length++]=A&h,y=10;y<i.length;y++){var k=0|i.words[y];i.words[y-10]=(k&h)<<4|A>>>22,A=k}i.words[y-10]=A>>>=22,i.length-=0===A&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,h=0;h<i.length;h++){var l=0|i.words[h];i.words[h]=67108863&(r+=977*l),r=64*l+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},D(he,ee),D(ie,ee),D(ce,ee),ce.prototype.imulK=function(i){for(var r=0,h=0;h<i.length;h++){var l=19*(0|i.words[h])+r,y=67108863&l;l>>>=26,i.words[h]=y,r=l}return 0!==r&&(i.words[i.length++]=r),i},o._prime=function(i){if(X[i])return X[i];var r;if("k256"===i)r=new ue;else if("p224"===i)r=new he;else if("p192"===i)r=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},$.prototype._verify1=function(i){v(0===i.negative,"red works only with positives"),v(i.red,"red works only with red numbers")},$.prototype._verify2=function(i,r){v(0==(i.negative|r.negative),"red works only with positives"),v(i.red&&i.red===r.red,"red works only with red numbers")},$.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},$.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},$.prototype.add=function(i,r){this._verify2(i,r);var h=i.add(r);return h.cmp(this.m)>=0&&h.isub(this.m),h._forceRed(this)},$.prototype.iadd=function(i,r){this._verify2(i,r);var h=i.iadd(r);return h.cmp(this.m)>=0&&h.isub(this.m),h},$.prototype.sub=function(i,r){this._verify2(i,r);var h=i.sub(r);return h.cmpn(0)<0&&h.iadd(this.m),h._forceRed(this)},$.prototype.isub=function(i,r){this._verify2(i,r);var h=i.isub(r);return h.cmpn(0)<0&&h.iadd(this.m),h},$.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},$.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},$.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},$.prototype.isqr=function(i){return this.imul(i,i.clone())},$.prototype.sqr=function(i){return this.mul(i,i)},$.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(v(r%2==1),3===r){var h=this.m.add(new o(1)).iushrn(2);return this.pow(i,h)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);v(!l.isZero());var A=new o(1).toRed(this),k=A.redNeg(),g=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,g).cmp(k);)n.redIAdd(k);for(var b=this.pow(n,l),U=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),j=y;0!==V.cmp(A);){for(var Ae=V,Ke=0;0!==Ae.cmp(A);Ke++)Ae=Ae.redSqr();v(Ke<j);var qe=this.pow(b,new o(1).iushln(j-Ke-1));U=U.redMul(qe),b=qe.redSqr(),V=V.redMul(b),j=Ke}return U},$.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},$.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var l=new Array(16);l[0]=new o(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var A=l[0],k=0,g=0,n=r.bitLength()%26;for(0===n&&(n=26),y=r.length-1;y>=0;y--){for(var b=r.words[y],U=n-1;U>=0;U--){var V=b>>U&1;A!==l[0]&&(A=this.sqr(A)),0!==V||0!==k?(k<<=1,k|=V,(4==++g||0===y&&0===U)&&(A=this.mul(A,l[k]),g=0,k=0)):g=0}n=26}return A},$.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},$.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new fe(i)},D(fe,$),fe.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},fe.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},fe.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var h=i.imul(r),l=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(l).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},fe.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var h=i.mul(r),l=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(l).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},fe.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ve=m.nmd(Ve),this)},5343:(Ve,Q)=>{"use strict";Q.byteLength=function u(E){var N=C(E),G=N[1];return 3*(N[0]+G)/4-G},Q.toByteArray=function d(E){var N,ue,z=C(E),G=z[0],W=z[1],Y=new e(function P(E,N,z){return 3*(N+z)/4-z}(0,G,W)),X=0,ee=W>0?G-4:G;for(ue=0;ue<ee;ue+=4)N=t[E.charCodeAt(ue)]<<18|t[E.charCodeAt(ue+1)]<<12|t[E.charCodeAt(ue+2)]<<6|t[E.charCodeAt(ue+3)],Y[X++]=N>>16&255,Y[X++]=N>>8&255,Y[X++]=255&N;return 2===W&&(N=t[E.charCodeAt(ue)]<<2|t[E.charCodeAt(ue+1)]>>4,Y[X++]=255&N),1===W&&(N=t[E.charCodeAt(ue)]<<10|t[E.charCodeAt(ue+1)]<<4|t[E.charCodeAt(ue+2)]>>2,Y[X++]=N>>8&255,Y[X++]=255&N),Y},Q.fromByteArray=function I(E){for(var N,z=E.length,G=z%3,W=[],Y=16383,X=0,ee=z-G;X<ee;X+=Y)W.push(w(E,X,X+Y>ee?ee:X+Y));return 1===G?W.push(m[(N=E[z-1])>>2]+m[N<<4&63]+"=="):2===G&&W.push(m[(N=(E[z-2]<<8)+E[z-1])>>10]+m[N>>4&63]+m[N<<2&63]+"="),W.join("")};for(var m=[],t=[],e=typeof Uint8Array<"u"?Uint8Array:Array,v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",D=0,o=v.length;D<o;++D)m[D]=v[D],t[v.charCodeAt(D)]=D;function C(E){var N=E.length;if(N%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var z=E.indexOf("=");return-1===z&&(z=N),[z,z===N?0:4-z%4]}function S(E){return m[E>>18&63]+m[E>>12&63]+m[E>>6&63]+m[63&E]}function w(E,N,z){for(var W=[],Y=N;Y<z;Y+=3)W.push(S((E[Y]<<16&16711680)+(E[Y+1]<<8&65280)+(255&E[Y+2])));return W.join("")}t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63},8538:function(Ve,Q,m){!function(t,e){"use strict";function v(h,l){if(!h)throw new Error(l||"Assertion failed")}function D(h,l){h.super_=l;var y=function(){};y.prototype=l.prototype,h.prototype=new y,h.prototype.constructor=h}function o(h,l,y){if(o.isBN(h))return h;this.negative=0,this.words=null,this.length=0,this.red=null,null!==h&&(("le"===l||"be"===l)&&(y=l,l=10),this._init(h||0,l||10,y||"be"))}var C;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(6601).Buffer}catch{}function u(h,l){var y=h.charCodeAt(l);return y>=48&&y<=57?y-48:y>=65&&y<=70?y-55:y>=97&&y<=102?y-87:void v(!1,"Invalid character in "+h)}function P(h,l,y){var A=u(h,y);return y-1>=l&&(A|=u(h,y-1)<<4),A}function d(h,l,y,A){for(var k=0,g=0,n=Math.min(h.length,y),b=l;b<n;b++){var U=h.charCodeAt(b)-48;k*=A,g=U>=49?U-49+10:U>=17?U-17+10:U,v(U>=0&&g<A,"Invalid character"),k+=g}return k}function S(h,l){h.words=l.words,h.length=l.length,h.negative=l.negative,h.red=l.red}if(o.isBN=function(l){return l instanceof o||null!==l&&"object"==typeof l&&l.constructor.wordSize===o.wordSize&&Array.isArray(l.words)},o.max=function(l,y){return l.cmp(y)>0?l:y},o.min=function(l,y){return l.cmp(y)<0?l:y},o.prototype._init=function(l,y,A){if("number"==typeof l)return this._initNumber(l,y,A);if("object"==typeof l)return this._initArray(l,y,A);"hex"===y&&(y=16),v(y===(0|y)&&y>=2&&y<=36);var k=0;"-"===(l=l.toString().replace(/\s+/g,""))[0]&&(k++,this.negative=1),k<l.length&&(16===y?this._parseHex(l,k,A):(this._parseBase(l,y,k),"le"===A&&this._initArray(this.toArray(),y,A)))},o.prototype._initNumber=function(l,y,A){l<0&&(this.negative=1,l=-l),l<67108864?(this.words=[67108863&l],this.length=1):l<4503599627370496?(this.words=[67108863&l,l/67108864&67108863],this.length=2):(v(l<9007199254740992),this.words=[67108863&l,l/67108864&67108863,1],this.length=3),"le"===A&&this._initArray(this.toArray(),y,A)},o.prototype._initArray=function(l,y,A){if(v("number"==typeof l.length),l.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(l.length/3),this.words=new Array(this.length);for(var k=0;k<this.length;k++)this.words[k]=0;var g,n,b=0;if("be"===A)for(k=l.length-1,g=0;k>=0;k-=3)this.words[g]|=(n=l[k]|l[k-1]<<8|l[k-2]<<16)<<b&67108863,this.words[g+1]=n>>>26-b&67108863,(b+=24)>=26&&(b-=26,g++);else if("le"===A)for(k=0,g=0;k<l.length;k+=3)this.words[g]|=(n=l[k]|l[k+1]<<8|l[k+2]<<16)<<b&67108863,this.words[g+1]=n>>>26-b&67108863,(b+=24)>=26&&(b-=26,g++);return this._strip()},o.prototype._parseHex=function(l,y,A){this.length=Math.ceil((l.length-y)/6),this.words=new Array(this.length);for(var k=0;k<this.length;k++)this.words[k]=0;var b,g=0,n=0;if("be"===A)for(k=l.length-1;k>=y;k-=2)b=P(l,y,k)<<g,this.words[n]|=67108863&b,g>=18?(g-=18,this.words[n+=1]|=b>>>26):g+=8;else for(k=(l.length-y)%2==0?y+1:y;k<l.length;k+=2)b=P(l,y,k)<<g,this.words[n]|=67108863&b,g>=18?(g-=18,this.words[n+=1]|=b>>>26):g+=8;this._strip()},o.prototype._parseBase=function(l,y,A){this.words=[0],this.length=1;for(var k=0,g=1;g<=67108863;g*=y)k++;k--,g=g/y|0;for(var n=l.length-A,b=n%k,U=Math.min(n,n-b)+A,V=0,j=A;j<U;j+=k)V=d(l,j,j+k,y),this.imuln(g),this.words[0]+V<67108864?this.words[0]+=V:this._iaddn(V);if(0!==b){var Ae=1;for(V=d(l,j,l.length,y),j=0;j<b;j++)Ae*=y;this.imuln(Ae),this.words[0]+V<67108864?this.words[0]+=V:this._iaddn(V)}this._strip()},o.prototype.copy=function(l){l.words=new Array(this.length);for(var y=0;y<this.length;y++)l.words[y]=this.words[y];l.length=this.length,l.negative=this.negative,l.red=this.red},o.prototype._move=function(l){S(l,this)},o.prototype.clone=function(){var l=new o(null);return this.copy(l),l},o.prototype._expand=function(l){for(;this.length<l;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},typeof Symbol<"u"&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=w}catch{o.prototype.inspect=w}else o.prototype.inspect=w;function w(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}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"],E=[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],N=[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 W(h,l,y){y.negative=l.negative^h.negative;var A=h.length+l.length|0;y.length=A,A=A-1|0;var k=0|h.words[0],g=0|l.words[0],n=k*g,U=n/67108864|0;y.words[0]=67108863&n;for(var V=1;V<A;V++){for(var j=U>>>26,Ae=67108863&U,Ke=Math.min(V,l.length-1),qe=Math.max(0,V-h.length+1);qe<=Ke;qe++)j+=(n=(k=0|h.words[V-qe|0])*(g=0|l.words[qe])+Ae)/67108864|0,Ae=67108863&n;y.words[V]=0|Ae,U=0|j}return 0!==U?y.words[V]=0|U:y.length--,y._strip()}o.prototype.toString=function(l,y){var A;if(y=0|y||1,16===(l=l||10)||"hex"===l){A="";for(var k=0,g=0,n=0;n<this.length;n++){var b=this.words[n],U=(16777215&(b<<k|g)).toString(16);g=b>>>24-k&16777215,(k+=2)>=26&&(k-=26,n--),A=0!==g||n!==this.length-1?I[6-U.length]+U+A:U+A}for(0!==g&&(A=g.toString(16)+A);A.length%y!=0;)A="0"+A;return 0!==this.negative&&(A="-"+A),A}if(l===(0|l)&&l>=2&&l<=36){var V=E[l],j=N[l];A="";var Ae=this.clone();for(Ae.negative=0;!Ae.isZero();){var Ke=Ae.modrn(j).toString(l);A=(Ae=Ae.idivn(j)).isZero()?Ke+A:I[V-Ke.length]+Ke+A}for(this.isZero()&&(A="0"+A);A.length%y!=0;)A="0"+A;return 0!==this.negative&&(A="-"+A),A}v(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var l=this.words[0];return 2===this.length?l+=67108864*this.words[1]:3===this.length&&1===this.words[2]?l+=4503599627370496+67108864*this.words[1]:this.length>2&&v(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-l:l},o.prototype.toJSON=function(){return this.toString(16,2)},C&&(o.prototype.toBuffer=function(l,y){return this.toArrayLike(C,l,y)}),o.prototype.toArray=function(l,y){return this.toArrayLike(Array,l,y)},o.prototype.toArrayLike=function(l,y,A){this._strip();var k=this.byteLength(),g=A||Math.max(1,k);v(k<=g,"byte array longer than desired length"),v(g>0,"Requested array length <= 0");var n=function(l,y){return l.allocUnsafe?l.allocUnsafe(y):new l(y)}(l,g);return this["_toArrayLike"+("le"===y?"LE":"BE")](n,k),n},o.prototype._toArrayLikeLE=function(l,y){for(var A=0,k=0,g=0,n=0;g<this.length;g++){var b=this.words[g]<<n|k;l[A++]=255&b,A<l.length&&(l[A++]=b>>8&255),A<l.length&&(l[A++]=b>>16&255),6===n?(A<l.length&&(l[A++]=b>>24&255),k=0,n=0):(k=b>>>24,n+=2)}if(A<l.length)for(l[A++]=k;A<l.length;)l[A++]=0},o.prototype._toArrayLikeBE=function(l,y){for(var A=l.length-1,k=0,g=0,n=0;g<this.length;g++){var b=this.words[g]<<n|k;l[A--]=255&b,A>=0&&(l[A--]=b>>8&255),A>=0&&(l[A--]=b>>16&255),6===n?(A>=0&&(l[A--]=b>>24&255),k=0,n=0):(k=b>>>24,n+=2)}if(A>=0)for(l[A--]=k;A>=0;)l[A--]=0},o.prototype._countBits=Math.clz32?function(l){return 32-Math.clz32(l)}:function(l){var y=l,A=0;return y>=4096&&(A+=13,y>>>=13),y>=64&&(A+=7,y>>>=7),y>=8&&(A+=4,y>>>=4),y>=2&&(A+=2,y>>>=2),A+y},o.prototype._zeroBits=function(l){if(0===l)return 26;var y=l,A=0;return 0==(8191&y)&&(A+=13,y>>>=13),0==(127&y)&&(A+=7,y>>>=7),0==(15&y)&&(A+=4,y>>>=4),0==(3&y)&&(A+=2,y>>>=2),0==(1&y)&&A++,A},o.prototype.bitLength=function(){var y=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+y},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var l=0,y=0;y<this.length;y++){var A=this._zeroBits(this.words[y]);if(l+=A,26!==A)break}return l},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(l){return 0!==this.negative?this.abs().inotn(l).iaddn(1):this.clone()},o.prototype.fromTwos=function(l){return this.testn(l-1)?this.notn(l).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(l){for(;this.length<l.length;)this.words[this.length++]=0;for(var y=0;y<l.length;y++)this.words[y]=this.words[y]|l.words[y];return this._strip()},o.prototype.ior=function(l){return v(0==(this.negative|l.negative)),this.iuor(l)},o.prototype.or=function(l){return this.length>l.length?this.clone().ior(l):l.clone().ior(this)},o.prototype.uor=function(l){return this.length>l.length?this.clone().iuor(l):l.clone().iuor(this)},o.prototype.iuand=function(l){var y;y=this.length>l.length?l:this;for(var A=0;A<y.length;A++)this.words[A]=this.words[A]&l.words[A];return this.length=y.length,this._strip()},o.prototype.iand=function(l){return v(0==(this.negative|l.negative)),this.iuand(l)},o.prototype.and=function(l){return this.length>l.length?this.clone().iand(l):l.clone().iand(this)},o.prototype.uand=function(l){return this.length>l.length?this.clone().iuand(l):l.clone().iuand(this)},o.prototype.iuxor=function(l){var y,A;this.length>l.length?(y=this,A=l):(y=l,A=this);for(var k=0;k<A.length;k++)this.words[k]=y.words[k]^A.words[k];if(this!==y)for(;k<y.length;k++)this.words[k]=y.words[k];return this.length=y.length,this._strip()},o.prototype.ixor=function(l){return v(0==(this.negative|l.negative)),this.iuxor(l)},o.prototype.xor=function(l){return this.length>l.length?this.clone().ixor(l):l.clone().ixor(this)},o.prototype.uxor=function(l){return this.length>l.length?this.clone().iuxor(l):l.clone().iuxor(this)},o.prototype.inotn=function(l){v("number"==typeof l&&l>=0);var y=0|Math.ceil(l/26),A=l%26;this._expand(y),A>0&&y--;for(var k=0;k<y;k++)this.words[k]=67108863&~this.words[k];return A>0&&(this.words[k]=~this.words[k]&67108863>>26-A),this._strip()},o.prototype.notn=function(l){return this.clone().inotn(l)},o.prototype.setn=function(l,y){v("number"==typeof l&&l>=0);var A=l/26|0,k=l%26;return this._expand(A+1),this.words[A]=y?this.words[A]|1<<k:this.words[A]&~(1<<k),this._strip()},o.prototype.iadd=function(l){var y,A,k;if(0!==this.negative&&0===l.negative)return this.negative=0,y=this.isub(l),this.negative^=1,this._normSign();if(0===this.negative&&0!==l.negative)return l.negative=0,y=this.isub(l),l.negative=1,y._normSign();this.length>l.length?(A=this,k=l):(A=l,k=this);for(var g=0,n=0;n<k.length;n++)this.words[n]=67108863&(y=(0|A.words[n])+(0|k.words[n])+g),g=y>>>26;for(;0!==g&&n<A.length;n++)this.words[n]=67108863&(y=(0|A.words[n])+g),g=y>>>26;if(this.length=A.length,0!==g)this.words[this.length]=g,this.length++;else if(A!==this)for(;n<A.length;n++)this.words[n]=A.words[n];return this},o.prototype.add=function(l){var y;return 0!==l.negative&&0===this.negative?(l.negative=0,y=this.sub(l),l.negative^=1,y):0===l.negative&&0!==this.negative?(this.negative=0,y=l.sub(this),this.negative=1,y):this.length>l.length?this.clone().iadd(l):l.clone().iadd(this)},o.prototype.isub=function(l){if(0!==l.negative){l.negative=0;var y=this.iadd(l);return l.negative=1,y._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(l),this.negative=1,this._normSign();var k,g,A=this.cmp(l);if(0===A)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(k=this,g=l):(k=l,g=this);for(var n=0,b=0;b<g.length;b++)n=(y=(0|k.words[b])-(0|g.words[b])+n)>>26,this.words[b]=67108863&y;for(;0!==n&&b<k.length;b++)n=(y=(0|k.words[b])+n)>>26,this.words[b]=67108863&y;if(0===n&&b<k.length&&k!==this)for(;b<k.length;b++)this.words[b]=k.words[b];return this.length=Math.max(this.length,b),k!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(l){return this.clone().isub(l)};var Y=function(l,y,A){var U,V,j,k=l.words,g=y.words,n=A.words,b=0,Ae=0|k[0],Ke=8191&Ae,qe=Ae>>>13,ct=0|k[1],Ie=8191&ct,xe=ct>>>13,le=0|k[2],_e=8191&le,se=le>>>13,Ye=0|k[3],Te=8191&Ye,oe=Ye>>>13,be=0|k[4],te=8191&be,Ue=be>>>13,Be=0|k[5],q=8191&Be,de=Be>>>13,Ce=0|k[6],ke=8191&Ce,ht=Ce>>>13,nt=0|k[7],wt=8191&nt,it=nt>>>13,qt=0|k[8],_t=8191&qt,ne=qt>>>13,Nt=0|k[9],De=8191&Nt,He=Nt>>>13,Ct=0|g[0],Pe=8191&Ct,tt=Ct>>>13,Bt=0|g[1],Lt=8191&Bt,Ht=Bt>>>13,bt=0|g[2],Me=8191&bt,J=bt>>>13,ve=0|g[3],Re=8191&ve,at=ve>>>13,ni=0|g[4],Gt=8191&ni,ti=ni>>>13,dt=0|g[5],rt=8191&dt,vt=dt>>>13,ai=0|g[6],Ut=8191&ai,Vt=ai>>>13,Rt=0|g[7],je=8191&Rt,Fe=Rt>>>13,We=0|g[8],Je=8191&We,Tt=We>>>13,ui=0|g[9],Ei=8191&ui,xi=ui>>>13;A.negative=l.negative^y.negative,A.length=19;var Vi=(b+(U=Math.imul(Ke,Pe))|0)+((8191&(V=(V=Math.imul(Ke,tt))+Math.imul(qe,Pe)|0))<<13)|0;b=((j=Math.imul(qe,tt))+(V>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,U=Math.imul(Ie,Pe),V=(V=Math.imul(Ie,tt))+Math.imul(xe,Pe)|0,j=Math.imul(xe,tt);var $e=(b+(U=U+Math.imul(Ke,Lt)|0)|0)+((8191&(V=(V=V+Math.imul(Ke,Ht)|0)+Math.imul(qe,Lt)|0))<<13)|0;b=((j=j+Math.imul(qe,Ht)|0)+(V>>>13)|0)+($e>>>26)|0,$e&=67108863,U=Math.imul(_e,Pe),V=(V=Math.imul(_e,tt))+Math.imul(se,Pe)|0,j=Math.imul(se,tt),U=U+Math.imul(Ie,Lt)|0,V=(V=V+Math.imul(Ie,Ht)|0)+Math.imul(xe,Lt)|0,j=j+Math.imul(xe,Ht)|0;var Mt=(b+(U=U+Math.imul(Ke,Me)|0)|0)+((8191&(V=(V=V+Math.imul(Ke,J)|0)+Math.imul(qe,Me)|0))<<13)|0;b=((j=j+Math.imul(qe,J)|0)+(V>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,U=Math.imul(Te,Pe),V=(V=Math.imul(Te,tt))+Math.imul(oe,Pe)|0,j=Math.imul(oe,tt),U=U+Math.imul(_e,Lt)|0,V=(V=V+Math.imul(_e,Ht)|0)+Math.imul(se,Lt)|0,j=j+Math.imul(se,Ht)|0,U=U+Math.imul(Ie,Me)|0,V=(V=V+Math.imul(Ie,J)|0)+Math.imul(xe,Me)|0,j=j+Math.imul(xe,J)|0;var ye=(b+(U=U+Math.imul(Ke,Re)|0)|0)+((8191&(V=(V=V+Math.imul(Ke,at)|0)+Math.imul(qe,Re)|0))<<13)|0;b=((j=j+Math.imul(qe,at)|0)+(V>>>13)|0)+(ye>>>26)|0,ye&=67108863,U=Math.imul(te,Pe),V=(V=Math.imul(te,tt))+Math.imul(Ue,Pe)|0,j=Math.imul(Ue,tt),U=U+Math.imul(Te,Lt)|0,V=(V=V+Math.imul(Te,Ht)|0)+Math.imul(oe,Lt)|0,j=j+Math.imul(oe,Ht)|0,U=U+Math.imul(_e,Me)|0,V=(V=V+Math.imul(_e,J)|0)+Math.imul(se,Me)|0,j=j+Math.imul(se,J)|0,U=U+Math.imul(Ie,Re)|0,V=(V=V+Math.imul(Ie,at)|0)+Math.imul(xe,Re)|0,j=j+Math.imul(xe,at)|0;var Ot=(b+(U=U+Math.imul(Ke,Gt)|0)|0)+((8191&(V=(V=V+Math.imul(Ke,ti)|0)+Math.imul(qe,Gt)|0))<<13)|0;b=((j=j+Math.imul(qe,ti)|0)+(V>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,U=Math.imul(q,Pe),V=(V=Math.imul(q,tt))+Math.imul(de,Pe)|0,j=Math.imul(de,tt),U=U+Math.imul(te,Lt)|0,V=(V=V+Math.imul(te,Ht)|0)+Math.imul(Ue,Lt)|0,j=j+Math.imul(Ue,Ht)|0,U=U+Math.imul(Te,Me)|0,V=(V=V+Math.imul(Te,J)|0)+Math.imul(oe,Me)|0,j=j+Math.imul(oe,J)|0,U=U+Math.imul(_e,Re)|0,V=(V=V+Math.imul(_e,at)|0)+Math.imul(se,Re)|0,j=j+Math.imul(se,at)|0,U=U+Math.imul(Ie,Gt)|0,V=(V=V+Math.imul(Ie,ti)|0)+Math.imul(xe,Gt)|0,j=j+Math.imul(xe,ti)|0;var Kt=(b+(U=U+Math.imul(Ke,rt)|0)|0)+((8191&(V=(V=V+Math.imul(Ke,vt)|0)+Math.imul(qe,rt)|0))<<13)|0;b=((j=j+Math.imul(qe,vt)|0)+(V>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,U=Math.imul(ke,Pe),V=(V=Math.imul(ke,tt))+Math.imul(ht,Pe)|0,j=Math.imul(ht,tt),U=U+Math.imul(q,Lt)|0,V=(V=V+Math.imul(q,Ht)|0)+Math.imul(de,Lt)|0,j=j+Math.imul(de,Ht)|0,U=U+Math.imul(te,Me)|0,V=(V=V+Math.imul(te,J)|0)+Math.imul(Ue,Me)|0,j=j+Math.imul(Ue,J)|0,U=U+Math.imul(Te,Re)|0,V=(V=V+Math.imul(Te,at)|0)+Math.imul(oe,Re)|0,j=j+Math.imul(oe,at)|0,U=U+Math.imul(_e,Gt)|0,V=(V=V+Math.imul(_e,ti)|0)+Math.imul(se,Gt)|0,j=j+Math.imul(se,ti)|0,U=U+Math.imul(Ie,rt)|0,V=(V=V+Math.imul(Ie,vt)|0)+Math.imul(xe,rt)|0,j=j+Math.imul(xe,vt)|0;var mi=(b+(U=U+Math.imul(Ke,Ut)|0)|0)+((8191&(V=(V=V+Math.imul(Ke,Vt)|0)+Math.imul(qe,Ut)|0))<<13)|0;b=((j=j+Math.imul(qe,Vt)|0)+(V>>>13)|0)+(mi>>>26)|0,mi&=67108863,U=Math.imul(wt,Pe),V=(V=Math.imul(wt,tt))+Math.imul(it,Pe)|0,j=Math.imul(it,tt),U=U+Math.imul(ke,Lt)|0,V=(V=V+Math.imul(ke,Ht)|0)+Math.imul(ht,Lt)|0,j=j+Math.imul(ht,Ht)|0,U=U+Math.imul(q,Me)|0,V=(V=V+Math.imul(q,J)|0)+Math.imul(de,Me)|0,j=j+Math.imul(de,J)|0,U=U+Math.imul(te,Re)|0,V=(V=V+Math.imul(te,at)|0)+Math.imul(Ue,Re)|0,j=j+Math.imul(Ue,at)|0,U=U+Math.imul(Te,Gt)|0,V=(V=V+Math.imul(Te,ti)|0)+Math.imul(oe,Gt)|0,j=j+Math.imul(oe,ti)|0,U=U+Math.imul(_e,rt)|0,V=(V=V+Math.imul(_e,vt)|0)+Math.imul(se,rt)|0,j=j+Math.imul(se,vt)|0,U=U+Math.imul(Ie,Ut)|0,V=(V=V+Math.imul(Ie,Vt)|0)+Math.imul(xe,Ut)|0,j=j+Math.imul(xe,Vt)|0;var Mi=(b+(U=U+Math.imul(Ke,je)|0)|0)+((8191&(V=(V=V+Math.imul(Ke,Fe)|0)+Math.imul(qe,je)|0))<<13)|0;b=((j=j+Math.imul(qe,Fe)|0)+(V>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,U=Math.imul(_t,Pe),V=(V=Math.imul(_t,tt))+Math.imul(ne,Pe)|0,j=Math.imul(ne,tt),U=U+Math.imul(wt,Lt)|0,V=(V=V+Math.imul(wt,Ht)|0)+Math.imul(it,Lt)|0,j=j+Math.imul(it,Ht)|0,U=U+Math.imul(ke,Me)|0,V=(V=V+Math.imul(ke,J)|0)+Math.imul(ht,Me)|0,j=j+Math.imul(ht,J)|0,U=U+Math.imul(q,Re)|0,V=(V=V+Math.imul(q,at)|0)+Math.imul(de,Re)|0,j=j+Math.imul(de,at)|0,U=U+Math.imul(te,Gt)|0,V=(V=V+Math.imul(te,ti)|0)+Math.imul(Ue,Gt)|0,j=j+Math.imul(Ue,ti)|0,U=U+Math.imul(Te,rt)|0,V=(V=V+Math.imul(Te,vt)|0)+Math.imul(oe,rt)|0,j=j+Math.imul(oe,vt)|0,U=U+Math.imul(_e,Ut)|0,V=(V=V+Math.imul(_e,Vt)|0)+Math.imul(se,Ut)|0,j=j+Math.imul(se,Vt)|0,U=U+Math.imul(Ie,je)|0,V=(V=V+Math.imul(Ie,Fe)|0)+Math.imul(xe,je)|0,j=j+Math.imul(xe,Fe)|0;var Pi=(b+(U=U+Math.imul(Ke,Je)|0)|0)+((8191&(V=(V=V+Math.imul(Ke,Tt)|0)+Math.imul(qe,Je)|0))<<13)|0;b=((j=j+Math.imul(qe,Tt)|0)+(V>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,U=Math.imul(De,Pe),V=(V=Math.imul(De,tt))+Math.imul(He,Pe)|0,j=Math.imul(He,tt),U=U+Math.imul(_t,Lt)|0,V=(V=V+Math.imul(_t,Ht)|0)+Math.imul(ne,Lt)|0,j=j+Math.imul(ne,Ht)|0,U=U+Math.imul(wt,Me)|0,V=(V=V+Math.imul(wt,J)|0)+Math.imul(it,Me)|0,j=j+Math.imul(it,J)|0,U=U+Math.imul(ke,Re)|0,V=(V=V+Math.imul(ke,at)|0)+Math.imul(ht,Re)|0,j=j+Math.imul(ht,at)|0,U=U+Math.imul(q,Gt)|0,V=(V=V+Math.imul(q,ti)|0)+Math.imul(de,Gt)|0,j=j+Math.imul(de,ti)|0,U=U+Math.imul(te,rt)|0,V=(V=V+Math.imul(te,vt)|0)+Math.imul(Ue,rt)|0,j=j+Math.imul(Ue,vt)|0,U=U+Math.imul(Te,Ut)|0,V=(V=V+Math.imul(Te,Vt)|0)+Math.imul(oe,Ut)|0,j=j+Math.imul(oe,Vt)|0,U=U+Math.imul(_e,je)|0,V=(V=V+Math.imul(_e,Fe)|0)+Math.imul(se,je)|0,j=j+Math.imul(se,Fe)|0,U=U+Math.imul(Ie,Je)|0,V=(V=V+Math.imul(Ie,Tt)|0)+Math.imul(xe,Je)|0,j=j+Math.imul(xe,Tt)|0;var Wi=(b+(U=U+Math.imul(Ke,Ei)|0)|0)+((8191&(V=(V=V+Math.imul(Ke,xi)|0)+Math.imul(qe,Ei)|0))<<13)|0;b=((j=j+Math.imul(qe,xi)|0)+(V>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,U=Math.imul(De,Lt),V=(V=Math.imul(De,Ht))+Math.imul(He,Lt)|0,j=Math.imul(He,Ht),U=U+Math.imul(_t,Me)|0,V=(V=V+Math.imul(_t,J)|0)+Math.imul(ne,Me)|0,j=j+Math.imul(ne,J)|0,U=U+Math.imul(wt,Re)|0,V=(V=V+Math.imul(wt,at)|0)+Math.imul(it,Re)|0,j=j+Math.imul(it,at)|0,U=U+Math.imul(ke,Gt)|0,V=(V=V+Math.imul(ke,ti)|0)+Math.imul(ht,Gt)|0,j=j+Math.imul(ht,ti)|0,U=U+Math.imul(q,rt)|0,V=(V=V+Math.imul(q,vt)|0)+Math.imul(de,rt)|0,j=j+Math.imul(de,vt)|0,U=U+Math.imul(te,Ut)|0,V=(V=V+Math.imul(te,Vt)|0)+Math.imul(Ue,Ut)|0,j=j+Math.imul(Ue,Vt)|0,U=U+Math.imul(Te,je)|0,V=(V=V+Math.imul(Te,Fe)|0)+Math.imul(oe,je)|0,j=j+Math.imul(oe,Fe)|0,U=U+Math.imul(_e,Je)|0,V=(V=V+Math.imul(_e,Tt)|0)+Math.imul(se,Je)|0,j=j+Math.imul(se,Tt)|0;var Zt=(b+(U=U+Math.imul(Ie,Ei)|0)|0)+((8191&(V=(V=V+Math.imul(Ie,xi)|0)+Math.imul(xe,Ei)|0))<<13)|0;b=((j=j+Math.imul(xe,xi)|0)+(V>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,U=Math.imul(De,Me),V=(V=Math.imul(De,J))+Math.imul(He,Me)|0,j=Math.imul(He,J),U=U+Math.imul(_t,Re)|0,V=(V=V+Math.imul(_t,at)|0)+Math.imul(ne,Re)|0,j=j+Math.imul(ne,at)|0,U=U+Math.imul(wt,Gt)|0,V=(V=V+Math.imul(wt,ti)|0)+Math.imul(it,Gt)|0,j=j+Math.imul(it,ti)|0,U=U+Math.imul(ke,rt)|0,V=(V=V+Math.imul(ke,vt)|0)+Math.imul(ht,rt)|0,j=j+Math.imul(ht,vt)|0,U=U+Math.imul(q,Ut)|0,V=(V=V+Math.imul(q,Vt)|0)+Math.imul(de,Ut)|0,j=j+Math.imul(de,Vt)|0,U=U+Math.imul(te,je)|0,V=(V=V+Math.imul(te,Fe)|0)+Math.imul(Ue,je)|0,j=j+Math.imul(Ue,Fe)|0,U=U+Math.imul(Te,Je)|0,V=(V=V+Math.imul(Te,Tt)|0)+Math.imul(oe,Je)|0,j=j+Math.imul(oe,Tt)|0;var oi=(b+(U=U+Math.imul(_e,Ei)|0)|0)+((8191&(V=(V=V+Math.imul(_e,xi)|0)+Math.imul(se,Ei)|0))<<13)|0;b=((j=j+Math.imul(se,xi)|0)+(V>>>13)|0)+(oi>>>26)|0,oi&=67108863,U=Math.imul(De,Re),V=(V=Math.imul(De,at))+Math.imul(He,Re)|0,j=Math.imul(He,at),U=U+Math.imul(_t,Gt)|0,V=(V=V+Math.imul(_t,ti)|0)+Math.imul(ne,Gt)|0,j=j+Math.imul(ne,ti)|0,U=U+Math.imul(wt,rt)|0,V=(V=V+Math.imul(wt,vt)|0)+Math.imul(it,rt)|0,j=j+Math.imul(it,vt)|0,U=U+Math.imul(ke,Ut)|0,V=(V=V+Math.imul(ke,Vt)|0)+Math.imul(ht,Ut)|0,j=j+Math.imul(ht,Vt)|0,U=U+Math.imul(q,je)|0,V=(V=V+Math.imul(q,Fe)|0)+Math.imul(de,je)|0,j=j+Math.imul(de,Fe)|0,U=U+Math.imul(te,Je)|0,V=(V=V+Math.imul(te,Tt)|0)+Math.imul(Ue,Je)|0,j=j+Math.imul(Ue,Tt)|0;var ge=(b+(U=U+Math.imul(Te,Ei)|0)|0)+((8191&(V=(V=V+Math.imul(Te,xi)|0)+Math.imul(oe,Ei)|0))<<13)|0;b=((j=j+Math.imul(oe,xi)|0)+(V>>>13)|0)+(ge>>>26)|0,ge&=67108863,U=Math.imul(De,Gt),V=(V=Math.imul(De,ti))+Math.imul(He,Gt)|0,j=Math.imul(He,ti),U=U+Math.imul(_t,rt)|0,V=(V=V+Math.imul(_t,vt)|0)+Math.imul(ne,rt)|0,j=j+Math.imul(ne,vt)|0,U=U+Math.imul(wt,Ut)|0,V=(V=V+Math.imul(wt,Vt)|0)+Math.imul(it,Ut)|0,j=j+Math.imul(it,Vt)|0,U=U+Math.imul(ke,je)|0,V=(V=V+Math.imul(ke,Fe)|0)+Math.imul(ht,je)|0,j=j+Math.imul(ht,Fe)|0,U=U+Math.imul(q,Je)|0,V=(V=V+Math.imul(q,Tt)|0)+Math.imul(de,Je)|0,j=j+Math.imul(de,Tt)|0;var Xe=(b+(U=U+Math.imul(te,Ei)|0)|0)+((8191&(V=(V=V+Math.imul(te,xi)|0)+Math.imul(Ue,Ei)|0))<<13)|0;b=((j=j+Math.imul(Ue,xi)|0)+(V>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,U=Math.imul(De,rt),V=(V=Math.imul(De,vt))+Math.imul(He,rt)|0,j=Math.imul(He,vt),U=U+Math.imul(_t,Ut)|0,V=(V=V+Math.imul(_t,Vt)|0)+Math.imul(ne,Ut)|0,j=j+Math.imul(ne,Vt)|0,U=U+Math.imul(wt,je)|0,V=(V=V+Math.imul(wt,Fe)|0)+Math.imul(it,je)|0,j=j+Math.imul(it,Fe)|0,U=U+Math.imul(ke,Je)|0,V=(V=V+Math.imul(ke,Tt)|0)+Math.imul(ht,Je)|0,j=j+Math.imul(ht,Tt)|0;var St=(b+(U=U+Math.imul(q,Ei)|0)|0)+((8191&(V=(V=V+Math.imul(q,xi)|0)+Math.imul(de,Ei)|0))<<13)|0;b=((j=j+Math.imul(de,xi)|0)+(V>>>13)|0)+(St>>>26)|0,St&=67108863,U=Math.imul(De,Ut),V=(V=Math.imul(De,Vt))+Math.imul(He,Ut)|0,j=Math.imul(He,Vt),U=U+Math.imul(_t,je)|0,V=(V=V+Math.imul(_t,Fe)|0)+Math.imul(ne,je)|0,j=j+Math.imul(ne,Fe)|0,U=U+Math.imul(wt,Je)|0,V=(V=V+Math.imul(wt,Tt)|0)+Math.imul(it,Je)|0,j=j+Math.imul(it,Tt)|0;var pt=(b+(U=U+Math.imul(ke,Ei)|0)|0)+((8191&(V=(V=V+Math.imul(ke,xi)|0)+Math.imul(ht,Ei)|0))<<13)|0;b=((j=j+Math.imul(ht,xi)|0)+(V>>>13)|0)+(pt>>>26)|0,pt&=67108863,U=Math.imul(De,je),V=(V=Math.imul(De,Fe))+Math.imul(He,je)|0,j=Math.imul(He,Fe),U=U+Math.imul(_t,Je)|0,V=(V=V+Math.imul(_t,Tt)|0)+Math.imul(ne,Je)|0,j=j+Math.imul(ne,Tt)|0;var Xt=(b+(U=U+Math.imul(wt,Ei)|0)|0)+((8191&(V=(V=V+Math.imul(wt,xi)|0)+Math.imul(it,Ei)|0))<<13)|0;b=((j=j+Math.imul(it,xi)|0)+(V>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,U=Math.imul(De,Je),V=(V=Math.imul(De,Tt))+Math.imul(He,Je)|0,j=Math.imul(He,Tt);var zt=(b+(U=U+Math.imul(_t,Ei)|0)|0)+((8191&(V=(V=V+Math.imul(_t,xi)|0)+Math.imul(ne,Ei)|0))<<13)|0;b=((j=j+Math.imul(ne,xi)|0)+(V>>>13)|0)+(zt>>>26)|0,zt&=67108863;var Li=(b+(U=Math.imul(De,Ei))|0)+((8191&(V=(V=Math.imul(De,xi))+Math.imul(He,Ei)|0))<<13)|0;return b=((j=Math.imul(He,xi))+(V>>>13)|0)+(Li>>>26)|0,Li&=67108863,n[0]=Vi,n[1]=$e,n[2]=Mt,n[3]=ye,n[4]=Ot,n[5]=Kt,n[6]=mi,n[7]=Mi,n[8]=Pi,n[9]=Wi,n[10]=Zt,n[11]=oi,n[12]=ge,n[13]=Xe,n[14]=St,n[15]=pt,n[16]=Xt,n[17]=zt,n[18]=Li,0!==b&&(n[19]=b,A.length++),A};function X(h,l,y){y.negative=l.negative^h.negative,y.length=h.length+l.length;for(var A=0,k=0,g=0;g<y.length-1;g++){var n=k;k=0;for(var b=67108863&A,U=Math.min(g,l.length-1),V=Math.max(0,g-h.length+1);V<=U;V++){var qe=(0|h.words[g-V])*(0|l.words[V]),ct=67108863&qe;b=67108863&(ct=ct+b|0),k+=(n=(n=n+(qe/67108864|0)|0)+(ct>>>26)|0)>>>26,n&=67108863}y.words[g]=b,A=n,n=k}return 0!==A?y.words[g]=A:y.length--,y._strip()}function ee(h,l,y){return X(h,l,y)}function ue(h,l){this.x=h,this.y=l}Math.imul||(Y=W),o.prototype.mulTo=function(l,y){var k=this.length+l.length;return 10===this.length&&10===l.length?Y(this,l,y):k<63?W(this,l,y):k<1024?X(this,l,y):ee(this,l,y)},ue.prototype.makeRBT=function(l){for(var y=new Array(l),A=o.prototype._countBits(l)-1,k=0;k<l;k++)y[k]=this.revBin(k,A,l);return y},ue.prototype.revBin=function(l,y,A){if(0===l||l===A-1)return l;for(var k=0,g=0;g<y;g++)k|=(1&l)<<y-g-1,l>>=1;return k},ue.prototype.permute=function(l,y,A,k,g,n){for(var b=0;b<n;b++)k[b]=y[l[b]],g[b]=A[l[b]]},ue.prototype.transform=function(l,y,A,k,g,n){this.permute(n,l,y,A,k,g);for(var b=1;b<g;b<<=1)for(var U=b<<1,V=Math.cos(2*Math.PI/U),j=Math.sin(2*Math.PI/U),Ae=0;Ae<g;Ae+=U)for(var Ke=V,qe=j,ct=0;ct<b;ct++){var Ie=A[Ae+ct],xe=k[Ae+ct],le=A[Ae+ct+b],_e=k[Ae+ct+b],se=Ke*le-qe*_e;_e=Ke*_e+qe*le,A[Ae+ct]=Ie+(le=se),k[Ae+ct]=xe+_e,A[Ae+ct+b]=Ie-le,k[Ae+ct+b]=xe-_e,ct!==U&&(se=V*Ke-j*qe,qe=V*qe+j*Ke,Ke=se)}},ue.prototype.guessLen13b=function(l,y){var A=1|Math.max(y,l),k=1&A,g=0;for(A=A/2|0;A;A>>>=1)g++;return 1<<g+1+k},ue.prototype.conjugate=function(l,y,A){if(!(A<=1))for(var k=0;k<A/2;k++){var g=l[k];l[k]=l[A-k-1],l[A-k-1]=g,g=y[k],y[k]=-y[A-k-1],y[A-k-1]=-g}},ue.prototype.normalize13b=function(l,y){for(var A=0,k=0;k<y/2;k++){var g=8192*Math.round(l[2*k+1]/y)+Math.round(l[2*k]/y)+A;l[k]=67108863&g,A=g<67108864?0:g/67108864|0}return l},ue.prototype.convert13b=function(l,y,A,k){for(var g=0,n=0;n<y;n++)A[2*n]=8191&(g+=0|l[n]),A[2*n+1]=8191&(g>>>=13),g>>>=13;for(n=2*y;n<k;++n)A[n]=0;v(0===g),v(0==(-8192&g))},ue.prototype.stub=function(l){for(var y=new Array(l),A=0;A<l;A++)y[A]=0;return y},ue.prototype.mulp=function(l,y,A){var k=2*this.guessLen13b(l.length,y.length),g=this.makeRBT(k),n=this.stub(k),b=new Array(k),U=new Array(k),V=new Array(k),j=new Array(k),Ae=new Array(k),Ke=new Array(k),qe=A.words;qe.length=k,this.convert13b(l.words,l.length,b,k),this.convert13b(y.words,y.length,j,k),this.transform(b,n,U,V,k,g),this.transform(j,n,Ae,Ke,k,g);for(var ct=0;ct<k;ct++){var Ie=U[ct]*Ae[ct]-V[ct]*Ke[ct];V[ct]=U[ct]*Ke[ct]+V[ct]*Ae[ct],U[ct]=Ie}return this.conjugate(U,V,k),this.transform(U,V,qe,n,k,g),this.conjugate(qe,n,k),this.normalize13b(qe,k),A.negative=l.negative^y.negative,A.length=l.length+y.length,A._strip()},o.prototype.mul=function(l){var y=new o(null);return y.words=new Array(this.length+l.length),this.mulTo(l,y)},o.prototype.mulf=function(l){var y=new o(null);return y.words=new Array(this.length+l.length),ee(this,l,y)},o.prototype.imul=function(l){return this.clone().mulTo(l,this)},o.prototype.imuln=function(l){var y=l<0;y&&(l=-l),v("number"==typeof l),v(l<67108864);for(var A=0,k=0;k<this.length;k++){var g=(0|this.words[k])*l,n=(67108863&g)+(67108863&A);A>>=26,A+=g/67108864|0,A+=n>>>26,this.words[k]=67108863&n}return 0!==A&&(this.words[k]=A,this.length++),y?this.ineg():this},o.prototype.muln=function(l){return this.clone().imuln(l)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(l){var y=function G(h){for(var l=new Array(h.bitLength()),y=0;y<l.length;y++)l[y]=h.words[y/26|0]>>>y%26&1;return l}(l);if(0===y.length)return new o(1);for(var A=this,k=0;k<y.length&&0===y[k];k++,A=A.sqr());if(++k<y.length)for(var g=A.sqr();k<y.length;k++,g=g.sqr())0!==y[k]&&(A=A.mul(g));return A},o.prototype.iushln=function(l){v("number"==typeof l&&l>=0);var g,y=l%26,A=(l-y)/26,k=67108863>>>26-y<<26-y;if(0!==y){var n=0;for(g=0;g<this.length;g++){var b=this.words[g]&k;this.words[g]=(0|this.words[g])-b<<y|n,n=b>>>26-y}n&&(this.words[g]=n,this.length++)}if(0!==A){for(g=this.length-1;g>=0;g--)this.words[g+A]=this.words[g];for(g=0;g<A;g++)this.words[g]=0;this.length+=A}return this._strip()},o.prototype.ishln=function(l){return v(0===this.negative),this.iushln(l)},o.prototype.iushrn=function(l,y,A){var k;v("number"==typeof l&&l>=0),k=y?(y-y%26)/26:0;var g=l%26,n=Math.min((l-g)/26,this.length),b=67108863^67108863>>>g<<g,U=A;if(k-=n,k=Math.max(0,k),U){for(var V=0;V<n;V++)U.words[V]=this.words[V];U.length=n}if(0!==n)if(this.length>n)for(this.length-=n,V=0;V<this.length;V++)this.words[V]=this.words[V+n];else this.words[0]=0,this.length=1;var j=0;for(V=this.length-1;V>=0&&(0!==j||V>=k);V--){var Ae=0|this.words[V];this.words[V]=j<<26-g|Ae>>>g,j=Ae&b}return U&&0!==j&&(U.words[U.length++]=j),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(l,y,A){return v(0===this.negative),this.iushrn(l,y,A)},o.prototype.shln=function(l){return this.clone().ishln(l)},o.prototype.ushln=function(l){return this.clone().iushln(l)},o.prototype.shrn=function(l){return this.clone().ishrn(l)},o.prototype.ushrn=function(l){return this.clone().iushrn(l)},o.prototype.testn=function(l){v("number"==typeof l&&l>=0);var y=l%26,A=(l-y)/26;return!(this.length<=A||!(this.words[A]&1<<y))},o.prototype.imaskn=function(l){v("number"==typeof l&&l>=0);var y=l%26,A=(l-y)/26;return v(0===this.negative,"imaskn works only with positive numbers"),this.length<=A?this:(0!==y&&A++,this.length=Math.min(A,this.length),0!==y&&(this.words[this.length-1]&=67108863^67108863>>>y<<y),this._strip())},o.prototype.maskn=function(l){return this.clone().imaskn(l)},o.prototype.iaddn=function(l){return v("number"==typeof l),v(l<67108864),l<0?this.isubn(-l):0!==this.negative?1===this.length&&(0|this.words[0])<=l?(this.words[0]=l-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(l),this.negative=1,this):this._iaddn(l)},o.prototype._iaddn=function(l){this.words[0]+=l;for(var y=0;y<this.length&&this.words[y]>=67108864;y++)this.words[y]-=67108864,y===this.length-1?this.words[y+1]=1:this.words[y+1]++;return this.length=Math.max(this.length,y+1),this},o.prototype.isubn=function(l){if(v("number"==typeof l),v(l<67108864),l<0)return this.iaddn(-l);if(0!==this.negative)return this.negative=0,this.iaddn(l),this.negative=1,this;if(this.words[0]-=l,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var y=0;y<this.length&&this.words[y]<0;y++)this.words[y]+=67108864,this.words[y+1]-=1;return this._strip()},o.prototype.addn=function(l){return this.clone().iaddn(l)},o.prototype.subn=function(l){return this.clone().isubn(l)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(l,y,A){var g;this._expand(l.length+A);var n,b=0;for(g=0;g<l.length;g++){n=(0|this.words[g+A])+b;var U=(0|l.words[g])*y;b=((n-=67108863&U)>>26)-(U/67108864|0),this.words[g+A]=67108863&n}for(;g<this.length-A;g++)b=(n=(0|this.words[g+A])+b)>>26,this.words[g+A]=67108863&n;if(0===b)return this._strip();for(v(-1===b),b=0,g=0;g<this.length;g++)b=(n=-(0|this.words[g])+b)>>26,this.words[g]=67108863&n;return this.negative=1,this._strip()},o.prototype._wordDiv=function(l,y){var A,k=this.clone(),g=l,n=0|g.words[g.length-1];0!=(A=26-this._countBits(n))&&(g=g.ushln(A),k.iushln(A),n=0|g.words[g.length-1]);var V,U=k.length-g.length;if("mod"!==y){(V=new o(null)).length=U+1,V.words=new Array(V.length);for(var j=0;j<V.length;j++)V.words[j]=0}var Ae=k.clone()._ishlnsubmul(g,1,U);0===Ae.negative&&(k=Ae,V&&(V.words[U]=1));for(var Ke=U-1;Ke>=0;Ke--){var qe=67108864*(0|k.words[g.length+Ke])+(0|k.words[g.length+Ke-1]);for(qe=Math.min(qe/n|0,67108863),k._ishlnsubmul(g,qe,Ke);0!==k.negative;)qe--,k.negative=0,k._ishlnsubmul(g,1,Ke),k.isZero()||(k.negative^=1);V&&(V.words[Ke]=qe)}return V&&V._strip(),k._strip(),"div"!==y&&0!==A&&k.iushrn(A),{div:V||null,mod:k}},o.prototype.divmod=function(l,y,A){return v(!l.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===l.negative?(n=this.neg().divmod(l,y),"mod"!==y&&(k=n.div.neg()),"div"!==y&&(g=n.mod.neg(),A&&0!==g.negative&&g.iadd(l)),{div:k,mod:g}):0===this.negative&&0!==l.negative?(n=this.divmod(l.neg(),y),"mod"!==y&&(k=n.div.neg()),{div:k,mod:n.mod}):0!=(this.negative&l.negative)?(n=this.neg().divmod(l.neg(),y),"div"!==y&&(g=n.mod.neg(),A&&0!==g.negative&&g.isub(l)),{div:n.div,mod:g}):l.length>this.length||this.cmp(l)<0?{div:new o(0),mod:this}:1===l.length?"div"===y?{div:this.divn(l.words[0]),mod:null}:"mod"===y?{div:null,mod:new o(this.modrn(l.words[0]))}:{div:this.divn(l.words[0]),mod:new o(this.modrn(l.words[0]))}:this._wordDiv(l,y);var k,g,n},o.prototype.div=function(l){return this.divmod(l,"div",!1).div},o.prototype.mod=function(l){return this.divmod(l,"mod",!1).mod},o.prototype.umod=function(l){return this.divmod(l,"mod",!0).mod},o.prototype.divRound=function(l){var y=this.divmod(l);if(y.mod.isZero())return y.div;var A=0!==y.div.negative?y.mod.isub(l):y.mod,k=l.ushrn(1),g=l.andln(1),n=A.cmp(k);return n<0||1===g&&0===n?y.div:0!==y.div.negative?y.div.isubn(1):y.div.iaddn(1)},o.prototype.modrn=function(l){var y=l<0;y&&(l=-l),v(l<=67108863);for(var A=(1<<26)%l,k=0,g=this.length-1;g>=0;g--)k=(A*k+(0|this.words[g]))%l;return y?-k:k},o.prototype.modn=function(l){return this.modrn(l)},o.prototype.idivn=function(l){var y=l<0;y&&(l=-l),v(l<=67108863);for(var A=0,k=this.length-1;k>=0;k--){var g=(0|this.words[k])+67108864*A;this.words[k]=g/l|0,A=g%l}return this._strip(),y?this.ineg():this},o.prototype.divn=function(l){return this.clone().idivn(l)},o.prototype.egcd=function(l){v(0===l.negative),v(!l.isZero());var y=this,A=l.clone();y=0!==y.negative?y.umod(l):y.clone();for(var k=new o(1),g=new o(0),n=new o(0),b=new o(1),U=0;y.isEven()&&A.isEven();)y.iushrn(1),A.iushrn(1),++U;for(var V=A.clone(),j=y.clone();!y.isZero();){for(var Ae=0,Ke=1;0==(y.words[0]&Ke)&&Ae<26;++Ae,Ke<<=1);if(Ae>0)for(y.iushrn(Ae);Ae-- >0;)(k.isOdd()||g.isOdd())&&(k.iadd(V),g.isub(j)),k.iushrn(1),g.iushrn(1);for(var qe=0,ct=1;0==(A.words[0]&ct)&&qe<26;++qe,ct<<=1);if(qe>0)for(A.iushrn(qe);qe-- >0;)(n.isOdd()||b.isOdd())&&(n.iadd(V),b.isub(j)),n.iushrn(1),b.iushrn(1);y.cmp(A)>=0?(y.isub(A),k.isub(n),g.isub(b)):(A.isub(y),n.isub(k),b.isub(g))}return{a:n,b,gcd:A.iushln(U)}},o.prototype._invmp=function(l){v(0===l.negative),v(!l.isZero());var Ae,y=this,A=l.clone();y=0!==y.negative?y.umod(l):y.clone();for(var k=new o(1),g=new o(0),n=A.clone();y.cmpn(1)>0&&A.cmpn(1)>0;){for(var b=0,U=1;0==(y.words[0]&U)&&b<26;++b,U<<=1);if(b>0)for(y.iushrn(b);b-- >0;)k.isOdd()&&k.iadd(n),k.iushrn(1);for(var V=0,j=1;0==(A.words[0]&j)&&V<26;++V,j<<=1);if(V>0)for(A.iushrn(V);V-- >0;)g.isOdd()&&g.iadd(n),g.iushrn(1);y.cmp(A)>=0?(y.isub(A),k.isub(g)):(A.isub(y),g.isub(k))}return(Ae=0===y.cmpn(1)?k:g).cmpn(0)<0&&Ae.iadd(l),Ae},o.prototype.gcd=function(l){if(this.isZero())return l.abs();if(l.isZero())return this.abs();var y=this.clone(),A=l.clone();y.negative=0,A.negative=0;for(var k=0;y.isEven()&&A.isEven();k++)y.iushrn(1),A.iushrn(1);for(;;){for(;y.isEven();)y.iushrn(1);for(;A.isEven();)A.iushrn(1);var g=y.cmp(A);if(g<0){var n=y;y=A,A=n}else if(0===g||0===A.cmpn(1))break;y.isub(A)}return A.iushln(k)},o.prototype.invm=function(l){return this.egcd(l).a.umod(l)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(l){return this.words[0]&l},o.prototype.bincn=function(l){v("number"==typeof l);var y=l%26,A=(l-y)/26,k=1<<y;if(this.length<=A)return this._expand(A+1),this.words[A]|=k,this;for(var g=k,n=A;0!==g&&n<this.length;n++){var b=0|this.words[n];g=(b+=g)>>>26,this.words[n]=b&=67108863}return 0!==g&&(this.words[n]=g,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(l){var A,y=l<0;if(0!==this.negative&&!y)return-1;if(0===this.negative&&y)return 1;if(this._strip(),this.length>1)A=1;else{y&&(l=-l),v(l<=67108863,"Number is too big");var k=0|this.words[0];A=k===l?0:k<l?-1:1}return 0!==this.negative?0|-A:A},o.prototype.cmp=function(l){if(0!==this.negative&&0===l.negative)return-1;if(0===this.negative&&0!==l.negative)return 1;var y=this.ucmp(l);return 0!==this.negative?0|-y:y},o.prototype.ucmp=function(l){if(this.length>l.length)return 1;if(this.length<l.length)return-1;for(var y=0,A=this.length-1;A>=0;A--){var k=0|this.words[A],g=0|l.words[A];if(k!==g){k<g?y=-1:k>g&&(y=1);break}}return y},o.prototype.gtn=function(l){return 1===this.cmpn(l)},o.prototype.gt=function(l){return 1===this.cmp(l)},o.prototype.gten=function(l){return this.cmpn(l)>=0},o.prototype.gte=function(l){return this.cmp(l)>=0},o.prototype.ltn=function(l){return-1===this.cmpn(l)},o.prototype.lt=function(l){return-1===this.cmp(l)},o.prototype.lten=function(l){return this.cmpn(l)<=0},o.prototype.lte=function(l){return this.cmp(l)<=0},o.prototype.eqn=function(l){return 0===this.cmpn(l)},o.prototype.eq=function(l){return 0===this.cmp(l)},o.red=function(l){return new i(l)},o.prototype.toRed=function(l){return v(!this.red,"Already a number in reduction context"),v(0===this.negative,"red works only with positives"),l.convertTo(this)._forceRed(l)},o.prototype.fromRed=function(){return v(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(l){return this.red=l,this},o.prototype.forceRed=function(l){return v(!this.red,"Already a number in reduction context"),this._forceRed(l)},o.prototype.redAdd=function(l){return v(this.red,"redAdd works only with red numbers"),this.red.add(this,l)},o.prototype.redIAdd=function(l){return v(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,l)},o.prototype.redSub=function(l){return v(this.red,"redSub works only with red numbers"),this.red.sub(this,l)},o.prototype.redISub=function(l){return v(this.red,"redISub works only with red numbers"),this.red.isub(this,l)},o.prototype.redShl=function(l){return v(this.red,"redShl works only with red numbers"),this.red.shl(this,l)},o.prototype.redMul=function(l){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.mul(this,l)},o.prototype.redIMul=function(l){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.imul(this,l)},o.prototype.redSqr=function(){return v(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return v(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return v(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return v(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return v(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(l){return v(this.red&&!l.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,l)};var he={k256:null,p224:null,p192:null,p25519:null};function ie(h,l){this.name=h,this.p=new o(l,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ce(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function $(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function fe(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function T(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function i(h){if("string"==typeof h){var l=o._prime(h);this.m=l.p,this.prime=l}else v(h.gtn(1),"modulus must be greater than 1"),this.m=h,this.prime=null}function r(h){i.call(this,h),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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 l=new o(null);return l.words=new Array(Math.ceil(this.n/13)),l},ie.prototype.ireduce=function(l){var A,y=l;do{this.split(y,this.tmp),A=(y=(y=this.imulK(y)).iadd(this.tmp)).bitLength()}while(A>this.n);var k=A<this.n?-1:y.ucmp(this.p);return 0===k?(y.words[0]=0,y.length=1):k>0?y.isub(this.p):void 0!==y.strip?y.strip():y._strip(),y},ie.prototype.split=function(l,y){l.iushrn(this.n,0,y)},ie.prototype.imulK=function(l){return l.imul(this.k)},D(ce,ie),ce.prototype.split=function(l,y){for(var A=4194303,k=Math.min(l.length,9),g=0;g<k;g++)y.words[g]=l.words[g];if(y.length=k,l.length<=9)return l.words[0]=0,void(l.length=1);var n=l.words[9];for(y.words[y.length++]=n&A,g=10;g<l.length;g++){var b=0|l.words[g];l.words[g-10]=(b&A)<<4|n>>>22,n=b}l.words[g-10]=n>>>=22,l.length-=0===n&&l.length>10?10:9},ce.prototype.imulK=function(l){l.words[l.length]=0,l.words[l.length+1]=0,l.length+=2;for(var y=0,A=0;A<l.length;A++){var k=0|l.words[A];l.words[A]=67108863&(y+=977*k),y=64*k+(y/67108864|0)}return 0===l.words[l.length-1]&&(l.length--,0===l.words[l.length-1]&&l.length--),l},D($,ie),D(fe,ie),D(T,ie),T.prototype.imulK=function(l){for(var y=0,A=0;A<l.length;A++){var k=19*(0|l.words[A])+y,g=67108863&k;k>>>=26,l.words[A]=g,y=k}return 0!==y&&(l.words[l.length++]=y),l},o._prime=function(l){if(he[l])return he[l];var y;if("k256"===l)y=new ce;else if("p224"===l)y=new $;else if("p192"===l)y=new fe;else{if("p25519"!==l)throw new Error("Unknown prime "+l);y=new T}return he[l]=y,y},i.prototype._verify1=function(l){v(0===l.negative,"red works only with positives"),v(l.red,"red works only with red numbers")},i.prototype._verify2=function(l,y){v(0==(l.negative|y.negative),"red works only with positives"),v(l.red&&l.red===y.red,"red works only with red numbers")},i.prototype.imod=function(l){return this.prime?this.prime.ireduce(l)._forceRed(this):(S(l,l.umod(this.m)._forceRed(this)),l)},i.prototype.neg=function(l){return l.isZero()?l.clone():this.m.sub(l)._forceRed(this)},i.prototype.add=function(l,y){this._verify2(l,y);var A=l.add(y);return A.cmp(this.m)>=0&&A.isub(this.m),A._forceRed(this)},i.prototype.iadd=function(l,y){this._verify2(l,y);var A=l.iadd(y);return A.cmp(this.m)>=0&&A.isub(this.m),A},i.prototype.sub=function(l,y){this._verify2(l,y);var A=l.sub(y);return A.cmpn(0)<0&&A.iadd(this.m),A._forceRed(this)},i.prototype.isub=function(l,y){this._verify2(l,y);var A=l.isub(y);return A.cmpn(0)<0&&A.iadd(this.m),A},i.prototype.shl=function(l,y){return this._verify1(l),this.imod(l.ushln(y))},i.prototype.imul=function(l,y){return this._verify2(l,y),this.imod(l.imul(y))},i.prototype.mul=function(l,y){return this._verify2(l,y),this.imod(l.mul(y))},i.prototype.isqr=function(l){return this.imul(l,l.clone())},i.prototype.sqr=function(l){return this.mul(l,l)},i.prototype.sqrt=function(l){if(l.isZero())return l.clone();var y=this.m.andln(3);if(v(y%2==1),3===y){var A=this.m.add(new o(1)).iushrn(2);return this.pow(l,A)}for(var k=this.m.subn(1),g=0;!k.isZero()&&0===k.andln(1);)g++,k.iushrn(1);v(!k.isZero());var n=new o(1).toRed(this),b=n.redNeg(),U=this.m.subn(1).iushrn(1),V=this.m.bitLength();for(V=new o(2*V*V).toRed(this);0!==this.pow(V,U).cmp(b);)V.redIAdd(b);for(var j=this.pow(V,k),Ae=this.pow(l,k.addn(1).iushrn(1)),Ke=this.pow(l,k),qe=g;0!==Ke.cmp(n);){for(var ct=Ke,Ie=0;0!==ct.cmp(n);Ie++)ct=ct.redSqr();v(Ie<qe);var xe=this.pow(j,new o(1).iushln(qe-Ie-1));Ae=Ae.redMul(xe),j=xe.redSqr(),Ke=Ke.redMul(j),qe=Ie}return Ae},i.prototype.invm=function(l){var y=l._invmp(this.m);return 0!==y.negative?(y.negative=0,this.imod(y).redNeg()):this.imod(y)},i.prototype.pow=function(l,y){if(y.isZero())return new o(1).toRed(this);if(0===y.cmpn(1))return l.clone();var k=new Array(16);k[0]=new o(1).toRed(this),k[1]=l;for(var g=2;g<k.length;g++)k[g]=this.mul(k[g-1],l);var n=k[0],b=0,U=0,V=y.bitLength()%26;for(0===V&&(V=26),g=y.length-1;g>=0;g--){for(var j=y.words[g],Ae=V-1;Ae>=0;Ae--){var Ke=j>>Ae&1;n!==k[0]&&(n=this.sqr(n)),0!==Ke||0!==b?(b<<=1,b|=Ke,(4==++U||0===g&&0===Ae)&&(n=this.mul(n,k[b]),U=0,b=0)):U=0}V=26}return n},i.prototype.convertTo=function(l){var y=l.umod(this.m);return y===l?y.clone():y},i.prototype.convertFrom=function(l){var y=l.clone();return y.red=null,y},o.mont=function(l){return new r(l)},D(r,i),r.prototype.convertTo=function(l){return this.imod(l.ushln(this.shift))},r.prototype.convertFrom=function(l){var y=this.imod(l.mul(this.rinv));return y.red=null,y},r.prototype.imul=function(l,y){if(l.isZero()||y.isZero())return l.words[0]=0,l.length=1,l;var A=l.imul(y),k=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=A.isub(k).iushrn(this.shift),n=g;return g.cmp(this.m)>=0?n=g.isub(this.m):g.cmpn(0)<0&&(n=g.iadd(this.m)),n._forceRed(this)},r.prototype.mul=function(l,y){if(l.isZero()||y.isZero())return new o(0)._forceRed(this);var A=l.mul(y),k=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=A.isub(k).iushrn(this.shift),n=g;return g.cmp(this.m)>=0?n=g.isub(this.m):g.cmpn(0)<0&&(n=g.iadd(this.m)),n._forceRed(this)},r.prototype.invm=function(l){return this.imod(l._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ve=m.nmd(Ve),this)},7950:(Ve,Q,m)=>{var t;function e(D){this.rand=D}if(Ve.exports=function(o){return t||(t=new e(null)),t.generate(o)},Ve.exports.Rand=e,e.prototype.generate=function(o){return this._rand(o)},e.prototype._rand=function(o){if(this.rand.getBytes)return this.rand.getBytes(o);for(var C=new Uint8Array(o),u=0;u<C.length;u++)C[u]=this.rand.getByte();return C},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?e.prototype._rand=function(o){var C=new Uint8Array(o);return self.crypto.getRandomValues(C),C}:self.msCrypto&&self.msCrypto.getRandomValues?e.prototype._rand=function(o){var C=new Uint8Array(o);return self.msCrypto.getRandomValues(C),C}:"object"==typeof window&&(e.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var v=m(1348);if("function"!=typeof v.randomBytes)throw new Error("Not supported");e.prototype._rand=function(o){return v.randomBytes(o)}}catch{}},1899:(Ve,Q,m)=>{var t=m(3502).Buffer;function e(P){t.isBuffer(P)||(P=t.from(P));for(var d=P.length/4|0,S=new Array(d),w=0;w<d;w++)S[w]=P.readUInt32BE(4*w);return S}function v(P){for(;0<P.length;P++)P[0]=0}function D(P,d,S,w,I){for(var ue,he,ie,ce,E=S[0],N=S[1],z=S[2],G=S[3],W=P[0]^d[0],Y=P[1]^d[1],X=P[2]^d[2],ee=P[3]^d[3],$=4,fe=1;fe<I;fe++)ue=E[W>>>24]^N[Y>>>16&255]^z[X>>>8&255]^G[255&ee]^d[$++],he=E[Y>>>24]^N[X>>>16&255]^z[ee>>>8&255]^G[255&W]^d[$++],ie=E[X>>>24]^N[ee>>>16&255]^z[W>>>8&255]^G[255&Y]^d[$++],ce=E[ee>>>24]^N[W>>>16&255]^z[Y>>>8&255]^G[255&X]^d[$++],W=ue,Y=he,X=ie,ee=ce;return ue=(w[W>>>24]<<24|w[Y>>>16&255]<<16|w[X>>>8&255]<<8|w[255&ee])^d[$++],he=(w[Y>>>24]<<24|w[X>>>16&255]<<16|w[ee>>>8&255]<<8|w[255&W])^d[$++],ie=(w[X>>>24]<<24|w[ee>>>16&255]<<16|w[W>>>8&255]<<8|w[255&Y])^d[$++],ce=(w[ee>>>24]<<24|w[W>>>16&255]<<16|w[Y>>>8&255]<<8|w[255&X])^d[$++],[ue>>>=0,he>>>=0,ie>>>=0,ce>>>=0]}var o=[0,1,2,4,8,16,32,64,128,27,54],C=function(){for(var P=new Array(256),d=0;d<256;d++)P[d]=d<128?d<<1:d<<1^283;for(var S=[],w=[],I=[[],[],[],[]],E=[[],[],[],[]],N=0,z=0,G=0;G<256;++G){var W=z^z<<1^z<<2^z<<3^z<<4;S[N]=W=W>>>8^255&W^99,w[W]=N;var Y=P[N],X=P[Y],ee=P[X],ue=257*P[W]^16843008*W;I[0][N]=ue<<24|ue>>>8,I[1][N]=ue<<16|ue>>>16,I[2][N]=ue<<8|ue>>>24,I[3][N]=ue,E[0][W]=(ue=16843009*ee^65537*X^257*Y^16843008*N)<<24|ue>>>8,E[1][W]=ue<<16|ue>>>16,E[2][W]=ue<<8|ue>>>24,E[3][W]=ue,0===N?N=z=1:(N=Y^P[P[P[ee^Y]]],z^=P[P[z]])}return{SBOX:S,INV_SBOX:w,SUB_MIX:I,INV_SUB_MIX:E}}();function u(P){this._key=e(P),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var P=this._key,d=P.length,S=d+6,w=4*(S+1),I=[],E=0;E<d;E++)I[E]=P[E];for(E=d;E<w;E++){var N=I[E-1];E%d==0?(N=C.SBOX[(N=N<<8|N>>>24)>>>24]<<24|C.SBOX[N>>>16&255]<<16|C.SBOX[N>>>8&255]<<8|C.SBOX[255&N],N^=o[E/d|0]<<24):d>6&&E%d==4&&(N=C.SBOX[N>>>24]<<24|C.SBOX[N>>>16&255]<<16|C.SBOX[N>>>8&255]<<8|C.SBOX[255&N]),I[E]=I[E-d]^N}for(var z=[],G=0;G<w;G++){var W=w-G,Y=I[W-(G%4?0:4)];z[G]=G<4||W<=4?Y:C.INV_SUB_MIX[0][C.SBOX[Y>>>24]]^C.INV_SUB_MIX[1][C.SBOX[Y>>>16&255]]^C.INV_SUB_MIX[2][C.SBOX[Y>>>8&255]]^C.INV_SUB_MIX[3][C.SBOX[255&Y]]}this._nRounds=S,this._keySchedule=I,this._invKeySchedule=z},u.prototype.encryptBlockRaw=function(P){return D(P=e(P),this._keySchedule,C.SUB_MIX,C.SBOX,this._nRounds)},u.prototype.encryptBlock=function(P){var d=this.encryptBlockRaw(P),S=t.allocUnsafe(16);return S.writeUInt32BE(d[0],0),S.writeUInt32BE(d[1],4),S.writeUInt32BE(d[2],8),S.writeUInt32BE(d[3],12),S},u.prototype.decryptBlock=function(P){var d=(P=e(P))[1];P[1]=P[3],P[3]=d;var S=D(P,this._invKeySchedule,C.INV_SUB_MIX,C.INV_SBOX,this._nRounds),w=t.allocUnsafe(16);return w.writeUInt32BE(S[0],0),w.writeUInt32BE(S[3],4),w.writeUInt32BE(S[2],8),w.writeUInt32BE(S[1],12),w},u.prototype.scrub=function(){v(this._keySchedule),v(this._invKeySchedule),v(this._key)},Ve.exports.AES=u},9382:(Ve,Q,m)=>{var t=m(1899),e=m(3502).Buffer,v=m(1052),D=m(3894),o=m(8857),C=m(8789),u=m(7968);function S(w,I,E,N){v.call(this);var z=e.alloc(4,0);this._cipher=new t.AES(I);var G=this._cipher.encryptBlock(z);this._ghash=new o(G),E=function d(w,I,E){if(12===I.length)return w._finID=e.concat([I,e.from([0,0,0,1])]),e.concat([I,e.from([0,0,0,2])]);var N=new o(E),z=I.length,G=z%16;N.update(I),G&&N.update(e.alloc(G=16-G,0)),N.update(e.alloc(8,0));var W=8*z,Y=e.alloc(8);Y.writeUIntBE(W,0,8),N.update(Y),w._finID=N.state;var X=e.from(w._finID);return u(X),X}(this,E,G),this._prev=e.from(E),this._cache=e.allocUnsafe(0),this._secCache=e.allocUnsafe(0),this._decrypt=N,this._alen=0,this._len=0,this._mode=w,this._authTag=null,this._called=!1}D(S,v),S.prototype._update=function(w){if(!this._called&&this._alen){var I=16-this._alen%16;I<16&&(I=e.alloc(I,0),this._ghash.update(I))}this._called=!0;var E=this._mode.encrypt(this,w);return this._ghash.update(this._decrypt?w:E),this._len+=w.length,E},S.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var w=C(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function P(w,I){var E=0;w.length!==I.length&&E++;for(var N=Math.min(w.length,I.length),z=0;z<N;++z)E+=w[z]^I[z];return E}(w,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=w,this._cipher.scrub()},S.prototype.getAuthTag=function(){if(this._decrypt||!e.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},S.prototype.setAuthTag=function(I){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=I},S.prototype.setAAD=function(I){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(I),this._alen+=I.length},Ve.exports=S},4330:(Ve,Q,m)=>{var t=m(6900),e=m(856),v=m(4946);Q.createCipher=Q.Cipher=t.createCipher,Q.createCipheriv=Q.Cipheriv=t.createCipheriv,Q.createDecipher=Q.Decipher=e.createDecipher,Q.createDecipheriv=Q.Decipheriv=e.createDecipheriv,Q.listCiphers=Q.getCiphers=function D(){return Object.keys(v)}},856:(Ve,Q,m)=>{var t=m(9382),e=m(3502).Buffer,v=m(9171),D=m(8441),o=m(1052),C=m(1899),u=m(347);function d(N,z,G){o.call(this),this._cache=new S,this._last=void 0,this._cipher=new C.AES(z),this._prev=e.from(G),this._mode=N,this._autopadding=!0}function S(){this.cache=e.allocUnsafe(0)}function I(N,z,G){var W=v[N.toLowerCase()];if(!W)throw new TypeError("invalid suite type");if("string"==typeof G&&(G=e.from(G)),"GCM"!==W.mode&&G.length!==W.iv)throw new TypeError("invalid iv length "+G.length);if("string"==typeof z&&(z=e.from(z)),z.length!==W.key/8)throw new TypeError("invalid key length "+z.length);return"stream"===W.type?new D(W.module,z,G,!0):"auth"===W.type?new t(W.module,z,G,!0):new d(W.module,z,G)}m(3894)(d,o),d.prototype._update=function(N){this._cache.add(N);for(var z,G,W=[];z=this._cache.get(this._autopadding);)G=this._mode.decrypt(this,z),W.push(G);return e.concat(W)},d.prototype._final=function(){var N=this._cache.flush();if(this._autopadding)return function w(N){var z=N[15];if(z<1||z>16)throw new Error("unable to decrypt data");for(var G=-1;++G<z;)if(N[G+(16-z)]!==z)throw new Error("unable to decrypt data");if(16!==z)return N.slice(0,16-z)}(this._mode.decrypt(this,N));if(N)throw new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(N){return this._autopadding=!!N,this},S.prototype.add=function(N){this.cache=e.concat([this.cache,N])},S.prototype.get=function(N){var z;if(N){if(this.cache.length>16)return z=this.cache.slice(0,16),this.cache=this.cache.slice(16),z}else if(this.cache.length>=16)return z=this.cache.slice(0,16),this.cache=this.cache.slice(16),z;return null},S.prototype.flush=function(){if(this.cache.length)return this.cache},Q.createDecipher=function E(N,z){var G=v[N.toLowerCase()];if(!G)throw new TypeError("invalid suite type");var W=u(z,!1,G.key,G.iv);return I(N,W.key,W.iv)},Q.createDecipheriv=I},6900:(Ve,Q,m)=>{var t=m(9171),e=m(9382),v=m(3502).Buffer,D=m(8441),o=m(1052),C=m(1899),u=m(347);function d(N,z,G){o.call(this),this._cache=new w,this._cipher=new C.AES(z),this._prev=v.from(G),this._mode=N,this._autopadding=!0}m(3894)(d,o),d.prototype._update=function(N){this._cache.add(N);for(var z,G,W=[];z=this._cache.get();)G=this._mode.encrypt(this,z),W.push(G);return v.concat(W)};var S=v.alloc(16,16);function w(){this.cache=v.allocUnsafe(0)}function I(N,z,G){var W=t[N.toLowerCase()];if(!W)throw new TypeError("invalid suite type");if("string"==typeof z&&(z=v.from(z)),z.length!==W.key/8)throw new TypeError("invalid key length "+z.length);if("string"==typeof G&&(G=v.from(G)),"GCM"!==W.mode&&G.length!==W.iv)throw new TypeError("invalid iv length "+G.length);return"stream"===W.type?new D(W.module,z,G):"auth"===W.type?new e(W.module,z,G):new d(W.module,z,G)}d.prototype._final=function(){var N=this._cache.flush();if(this._autopadding)return N=this._mode.encrypt(this,N),this._cipher.scrub(),N;if(!N.equals(S))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(N){return this._autopadding=!!N,this},w.prototype.add=function(N){this.cache=v.concat([this.cache,N])},w.prototype.get=function(){if(this.cache.length>15){var N=this.cache.slice(0,16);return this.cache=this.cache.slice(16),N}return null},w.prototype.flush=function(){for(var N=16-this.cache.length,z=v.allocUnsafe(N),G=-1;++G<N;)z.writeUInt8(N,G);return v.concat([this.cache,z])},Q.createCipheriv=I,Q.createCipher=function E(N,z){var G=t[N.toLowerCase()];if(!G)throw new TypeError("invalid suite type");var W=u(z,!1,G.key,G.iv);return I(N,W.key,W.iv)}},8857:(Ve,Q,m)=>{var t=m(3502).Buffer,e=t.alloc(16,0);function D(C){var u=t.allocUnsafe(16);return u.writeUInt32BE(C[0]>>>0,0),u.writeUInt32BE(C[1]>>>0,4),u.writeUInt32BE(C[2]>>>0,8),u.writeUInt32BE(C[3]>>>0,12),u}function o(C){this.h=C,this.state=t.alloc(16,0),this.cache=t.allocUnsafe(0)}o.prototype.ghash=function(C){for(var u=-1;++u<C.length;)this.state[u]^=C[u];this._multiply()},o.prototype._multiply=function(){for(var P,S,C=function v(C){return[C.readUInt32BE(0),C.readUInt32BE(4),C.readUInt32BE(8),C.readUInt32BE(12)]}(this.h),u=[0,0,0,0],w=-1;++w<128;){for(0!=(this.state[~~(w/8)]&1<<7-w%8)&&(u[0]^=C[0],u[1]^=C[1],u[2]^=C[2],u[3]^=C[3]),S=0!=(1&C[3]),P=3;P>0;P--)C[P]=C[P]>>>1|(1&C[P-1])<<31;C[0]=C[0]>>>1,S&&(C[0]=C[0]^225<<24)}this.state=D(u)},o.prototype.update=function(C){this.cache=t.concat([this.cache,C]);for(var u;this.cache.length>=16;)u=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(u)},o.prototype.final=function(C,u){return this.cache.length&&this.ghash(t.concat([this.cache,e],16)),this.ghash(D([0,C,0,u])),this.state},Ve.exports=o},7968:Ve=>{Ve.exports=function Q(m){for(var e,t=m.length;t--;){if(255!==(e=m.readUInt8(t))){e++,m.writeUInt8(e,t);break}m.writeUInt8(0,t)}}},4903:(Ve,Q,m)=>{var t=m(8789);Q.encrypt=function(e,v){var D=t(v,e._prev);return e._prev=e._cipher.encryptBlock(D),e._prev},Q.decrypt=function(e,v){var D=e._prev;e._prev=v;var o=e._cipher.decryptBlock(v);return t(o,D)}},9885:(Ve,Q,m)=>{var t=m(3502).Buffer,e=m(8789);function v(D,o,C){var u=o.length,P=e(o,D._cache);return D._cache=D._cache.slice(u),D._prev=t.concat([D._prev,C?o:P]),P}Q.encrypt=function(D,o,C){for(var P,u=t.allocUnsafe(0);o.length;){if(0===D._cache.length&&(D._cache=D._cipher.encryptBlock(D._prev),D._prev=t.allocUnsafe(0)),!(D._cache.length<=o.length)){u=t.concat([u,v(D,o,C)]);break}u=t.concat([u,v(D,o.slice(0,P=D._cache.length),C)]),o=o.slice(P)}return u}},6531:(Ve,Q,m)=>{var t=m(3502).Buffer;function e(D,o,C){for(var w,I,P=-1,S=0;++P<8;)S+=(128&(I=D._cipher.encryptBlock(D._prev)[0]^(w=o&1<<7-P?128:0)))>>P%8,D._prev=v(D._prev,C?w:I);return S}function v(D,o){var C=D.length,u=-1,P=t.allocUnsafe(D.length);for(D=t.concat([D,t.from([o])]);++u<C;)P[u]=D[u]<<1|D[u+1]>>7;return P}Q.encrypt=function(D,o,C){for(var u=o.length,P=t.allocUnsafe(u),d=-1;++d<u;)P[d]=e(D,o[d],C);return P}},1641:(Ve,Q,m)=>{var t=m(3502).Buffer;function e(v,D,o){var u=v._cipher.encryptBlock(v._prev)[0]^D;return v._prev=t.concat([v._prev.slice(1),t.from([o?D:u])]),u}Q.encrypt=function(v,D,o){for(var C=D.length,u=t.allocUnsafe(C),P=-1;++P<C;)u[P]=e(v,D[P],o);return u}},1150:(Ve,Q,m)=>{var t=m(8789),e=m(3502).Buffer,v=m(7968);function D(C){var u=C._cipher.encryptBlockRaw(C._prev);return v(C._prev),u}Q.encrypt=function(C,u){var P=Math.ceil(u.length/16),d=C._cache.length;C._cache=e.concat([C._cache,e.allocUnsafe(16*P)]);for(var S=0;S<P;S++){var w=D(C),I=d+16*S;C._cache.writeUInt32BE(w[0],I+0),C._cache.writeUInt32BE(w[1],I+4),C._cache.writeUInt32BE(w[2],I+8),C._cache.writeUInt32BE(w[3],I+12)}var E=C._cache.slice(0,u.length);return C._cache=C._cache.slice(u.length),t(u,E)}},1704:(Ve,Q)=>{Q.encrypt=function(m,t){return m._cipher.encryptBlock(t)},Q.decrypt=function(m,t){return m._cipher.decryptBlock(t)}},9171:(Ve,Q,m)=>{var t={ECB:m(1704),CBC:m(4903),CFB:m(9885),CFB8:m(1641),CFB1:m(6531),OFB:m(6816),CTR:m(1150),GCM:m(1150)},e=m(4946);for(var v in e)e[v].module=t[e[v].mode];Ve.exports=e},6816:(Ve,Q,m)=>{var t=m(8789);function e(v){return v._prev=v._cipher.encryptBlock(v._prev),v._prev}Q.encrypt=function(v,D){for(;v._cache.length<D.length;)v._cache=Buffer.concat([v._cache,e(v)]);var o=v._cache.slice(0,D.length);return v._cache=v._cache.slice(D.length),t(D,o)}},8441:(Ve,Q,m)=>{var t=m(1899),e=m(3502).Buffer,v=m(1052);function o(C,u,P,d){v.call(this),this._cipher=new t.AES(u),this._prev=e.from(P),this._cache=e.allocUnsafe(0),this._secCache=e.allocUnsafe(0),this._decrypt=d,this._mode=C}m(3894)(o,v),o.prototype._update=function(C){return this._mode.encrypt(this,C,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},Ve.exports=o},5255:(Ve,Q,m)=>{var t=m(9004),e=m(4330),v=m(9171),D=m(1115),o=m(347);function P(w,I,E){if(w=w.toLowerCase(),v[w])return e.createCipheriv(w,I,E);if(D[w])return new t({key:I,iv:E,mode:w});throw new TypeError("invalid suite type")}function d(w,I,E){if(w=w.toLowerCase(),v[w])return e.createDecipheriv(w,I,E);if(D[w])return new t({key:I,iv:E,mode:w,decrypt:!0});throw new TypeError("invalid suite type")}Q.createCipher=Q.Cipher=function C(w,I){var E,N;if(w=w.toLowerCase(),v[w])E=v[w].key,N=v[w].iv;else{if(!D[w])throw new TypeError("invalid suite type");E=8*D[w].key,N=D[w].iv}var z=o(I,!1,E,N);return P(w,z.key,z.iv)},Q.createCipheriv=Q.Cipheriv=P,Q.createDecipher=Q.Decipher=function u(w,I){var E,N;if(w=w.toLowerCase(),v[w])E=v[w].key,N=v[w].iv;else{if(!D[w])throw new TypeError("invalid suite type");E=8*D[w].key,N=D[w].iv}var z=o(I,!1,E,N);return d(w,z.key,z.iv)},Q.createDecipheriv=Q.Decipheriv=d,Q.listCiphers=Q.getCiphers=function S(){return Object.keys(D).concat(e.getCiphers())}},9004:(Ve,Q,m)=>{var t=m(1052),e=m(3684),v=m(3894),D=m(3502).Buffer,o={"des-ede3-cbc":e.CBC.instantiate(e.EDE),"des-ede3":e.EDE,"des-ede-cbc":e.CBC.instantiate(e.EDE),"des-ede":e.EDE,"des-cbc":e.CBC.instantiate(e.DES),"des-ecb":e.DES};function C(u){t.call(this);var S,P=u.mode.toLowerCase(),d=o[P];S=u.decrypt?"decrypt":"encrypt";var w=u.key;D.isBuffer(w)||(w=D.from(w)),("des-ede"===P||"des-ede-cbc"===P)&&(w=D.concat([w,w.slice(0,8)]));var I=u.iv;D.isBuffer(I)||(I=D.from(I)),this._des=d.create({key:w,iv:I,type:S})}o.des=o["des-cbc"],o.des3=o["des-ede3-cbc"],Ve.exports=C,v(C,t),C.prototype._update=function(u){return D.from(this._des.update(u))},C.prototype._final=function(){return D.from(this._des.final())}},1115:(Ve,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}},8466:(Ve,Q,m)=>{var t=m(8538),e=m(3753);function D(C){var P,u=C.modulus.byteLength();do{P=new t(e(u))}while(P.cmp(C.modulus)>=0||!P.umod(C.prime1)||!P.umod(C.prime2));return P}function o(C,u){var P=function v(C){var u=D(C);return{blinder:u.toRed(t.mont(C.modulus)).redPow(new t(C.publicExponent)).fromRed(),unblinder:u.invm(C.modulus)}}(u),d=u.modulus.byteLength(),S=new t(C).mul(P.blinder).umod(u.modulus),w=S.toRed(t.mont(u.prime1)),I=S.toRed(t.mont(u.prime2)),E=u.coefficient,N=u.prime1,z=u.prime2,G=w.redPow(u.exponent1).fromRed(),W=I.redPow(u.exponent2).fromRed(),Y=G.isub(W).imul(E).umod(N).imul(z);return W.iadd(Y).imul(P.unblinder).umod(u.modulus).toArrayLike(Buffer,"be",d)}o.getr=D,Ve.exports=o},7793:(Ve,Q,m)=>{Ve.exports=m(5207)},3923:(Ve,Q,m)=>{var t=m(3502).Buffer,e=m(6386),v=m(5685),D=m(3894),o=m(9947),C=m(3946),u=m(5207);function P(I){v.Writable.call(this);var E=u[I];if(!E)throw new Error("Unknown message digest");this._hashType=E.hash,this._hash=e(E.hash),this._tag=E.id,this._signType=E.sign}function d(I){v.Writable.call(this);var E=u[I];if(!E)throw new Error("Unknown message digest");this._hash=e(E.hash),this._tag=E.id,this._signType=E.sign}function S(I){return new P(I)}function w(I){return new d(I)}Object.keys(u).forEach(function(I){u[I].id=t.from(u[I].id,"hex"),u[I.toLowerCase()]=u[I]}),D(P,v.Writable),P.prototype._write=function(E,N,z){this._hash.update(E),z()},P.prototype.update=function(E,N){return"string"==typeof E&&(E=t.from(E,N)),this._hash.update(E),this},P.prototype.sign=function(E,N){this.end();var z=this._hash.digest(),G=o(z,E,this._hashType,this._signType,this._tag);return N?G.toString(N):G},D(d,v.Writable),d.prototype._write=function(E,N,z){this._hash.update(E),z()},d.prototype.update=function(E,N){return"string"==typeof E&&(E=t.from(E,N)),this._hash.update(E),this},d.prototype.verify=function(E,N,z){"string"==typeof N&&(N=t.from(N,z)),this.end();var G=this._hash.digest();return C(N,G,E,this._signType,this._tag)},Ve.exports={Sign:S,Verify:w,createSign:S,createVerify:w}},9947:(Ve,Q,m)=>{var t=m(3502).Buffer,e=m(4529),v=m(8466),D=m(7715).ec,o=m(8538),C=m(2772),u=m(1308);function I(W,Y,X,ee){if((W=t.from(W.toArray())).length<Y.byteLength()){var ue=t.alloc(Y.byteLength()-W.length);W=t.concat([ue,W])}var he=X.length,ie=function N(W,Y){W=(W=E(W,Y)).mod(Y);var X=t.from(W.toArray());if(X.length<Y.byteLength()){var ee=t.alloc(Y.byteLength()-X.length);X=t.concat([ee,X])}return X}(X,Y),ce=t.alloc(he);ce.fill(1);var $=t.alloc(he);return $=e(ee,$).update(ce).update(t.from([0])).update(W).update(ie).digest(),ce=e(ee,$).update(ce).digest(),{k:$=e(ee,$).update(ce).update(t.from([1])).update(W).update(ie).digest(),v:ce=e(ee,$).update(ce).digest()}}function E(W,Y){var X=new o(W),ee=(W.length<<3)-Y.bitLength();return ee>0&&X.ishrn(ee),X}function z(W,Y,X){var ee,ue;do{for(ee=t.alloc(0);8*ee.length<W.bitLength();)Y.v=e(X,Y.k).update(Y.v).digest(),ee=t.concat([ee,Y.v]);ue=E(ee,W),Y.k=e(X,Y.k).update(Y.v).update(t.from([0])).digest(),Y.v=e(X,Y.k).update(Y.v).digest()}while(-1!==ue.cmp(W));return ue}function G(W,Y,X,ee){return W.toRed(o.mont(X)).redPow(Y).fromRed().mod(ee)}Ve.exports=function P(W,Y,X,ee,ue){var he=C(Y);if(he.curve){if("ecdsa"!==ee&&"ecdsa/rsa"!==ee)throw new Error("wrong private key type");return function d(W,Y){var X=u[Y.curve.join(".")];if(!X)throw new Error("unknown curve "+Y.curve.join("."));var he=new D(X).keyFromPrivate(Y.privateKey).sign(W);return t.from(he.toDER())}(W,he)}if("dsa"===he.type){if("dsa"!==ee)throw new Error("wrong private key type");return function S(W,Y,X){for(var $,ee=Y.params.priv_key,ue=Y.params.p,he=Y.params.q,ie=Y.params.g,ce=new o(0),fe=E(W,he).mod(he),T=!1,i=I(ee,he,W,X);!1===T;)ce=G(ie,$=z(he,i,X),ue,he),0===(T=$.invm(he).imul(fe.add(ee.mul(ce))).mod(he)).cmpn(0)&&(T=!1,ce=new o(0));return function w(W,Y){W=W.toArray(),Y=Y.toArray(),128&W[0]&&(W=[0].concat(W)),128&Y[0]&&(Y=[0].concat(Y));var ee=[48,W.length+Y.length+4,2,W.length];return ee=ee.concat(W,[2,Y.length],Y),t.from(ee)}(ce,T)}(W,he,X)}if("rsa"!==ee&&"ecdsa/rsa"!==ee)throw new Error("wrong private key type");W=t.concat([ue,W]);for(var ie=he.modulus.byteLength(),ce=[0,1];W.length+ce.length+1<ie;)ce.push(255);ce.push(0);for(var $=-1;++$<W.length;)ce.push(W[$]);return v(ce,he)},Ve.exports.getKey=I,Ve.exports.makeKey=z},3946:(Ve,Q,m)=>{var t=m(3502).Buffer,e=m(8538),v=m(7715).ec,D=m(2772),o=m(1308);function d(S,w){if(S.cmpn(0)<=0)throw new Error("invalid sig");if(S.cmp(w)>=w)throw new Error("invalid sig")}Ve.exports=function C(S,w,I,E,N){var z=D(I);if("ec"===z.type){if("ecdsa"!==E&&"ecdsa/rsa"!==E)throw new Error("wrong public key type");return function u(S,w,I){var E=o[I.data.algorithm.curve.join(".")];if(!E)throw new Error("unknown curve "+I.data.algorithm.curve.join("."));return new v(E).verify(w,S,I.data.subjectPrivateKey.data)}(S,w,z)}if("dsa"===z.type){if("dsa"!==E)throw new Error("wrong public key type");return function P(S,w,I){var E=I.data.p,N=I.data.q,z=I.data.g,G=I.data.pub_key,W=D.signature.decode(S,"der"),Y=W.s,X=W.r;d(Y,N),d(X,N);var ee=e.mont(E),ue=Y.invm(N);return 0===z.toRed(ee).redPow(new e(w).mul(ue).mod(N)).fromRed().mul(G.toRed(ee).redPow(X.mul(ue).mod(N)).fromRed()).mod(E).mod(N).cmp(X)}(S,w,z)}if("rsa"!==E&&"ecdsa/rsa"!==E)throw new Error("wrong public key type");w=t.concat([N,w]);for(var G=z.modulus.byteLength(),W=[1],Y=0;w.length+W.length+2<G;)W.push(255),Y++;W.push(0);for(var X=-1;++X<w.length;)W.push(w[X]);W=t.from(W);var ee=e.mont(z.modulus);S=(S=new e(S).toRed(ee)).redPow(new e(z.publicExponent)),S=t.from(S.fromRed().toArray());var ue=Y<8?1:0;for(G=Math.min(S.length,W.length),S.length!==W.length&&(ue=1),X=-1;++X<G;)ue|=S[X]^W[X];return 0===ue}},8789:Ve=>{Ve.exports=function(m,t){for(var e=Math.min(m.length,t.length),v=new Buffer(e),D=0;D<e;++D)v[D]=m[D]^t[D];return v}},3172:(Ve,Q,m)=>{"use strict";var t=m(5343),e=m(8461),v="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;Q.Buffer=u,Q.SlowBuffer=function Y(oe){return+oe!=oe&&(oe=0),u.alloc(+oe)},Q.INSPECT_MAX_BYTES=50;var D=2147483647;function C(oe){if(oe>D)throw new RangeError('The value "'+oe+'" is invalid for option "size"');var be=new Uint8Array(oe);return Object.setPrototypeOf(be,u.prototype),be}function u(oe,be,te){if("number"==typeof oe){if("string"==typeof be)throw new TypeError('The "string" argument must be of type string. Received type number');return w(oe)}return P(oe,be,te)}function P(oe,be,te){if("string"==typeof oe)return function I(oe,be){if(("string"!=typeof be||""===be)&&(be="utf8"),!u.isEncoding(be))throw new TypeError("Unknown encoding: "+be);var te=0|X(oe,be),Ue=C(te),Be=Ue.write(oe,be);return Be!==te&&(Ue=Ue.slice(0,Be)),Ue}(oe,be);if(ArrayBuffer.isView(oe))return function N(oe){if(se(oe,Uint8Array)){var be=new Uint8Array(oe);return z(be.buffer,be.byteOffset,be.byteLength)}return E(oe)}(oe);if(null==oe)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof oe);if(se(oe,ArrayBuffer)||oe&&se(oe.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(se(oe,SharedArrayBuffer)||oe&&se(oe.buffer,SharedArrayBuffer)))return z(oe,be,te);if("number"==typeof oe)throw new TypeError('The "value" argument must not be of type number. Received type number');var Ue=oe.valueOf&&oe.valueOf();if(null!=Ue&&Ue!==oe)return u.from(Ue,be,te);var Be=function G(oe){if(u.isBuffer(oe)){var be=0|W(oe.length),te=C(be);return 0===te.length||oe.copy(te,0,0,be),te}return void 0!==oe.length?"number"!=typeof oe.length||Ye(oe.length)?C(0):E(oe):"Buffer"===oe.type&&Array.isArray(oe.data)?E(oe.data):void 0}(oe);if(Be)return Be;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof oe[Symbol.toPrimitive])return u.from(oe[Symbol.toPrimitive]("string"),be,te);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof oe)}function d(oe){if("number"!=typeof oe)throw new TypeError('"size" argument must be of type number');if(oe<0)throw new RangeError('The value "'+oe+'" is invalid for option "size"')}function w(oe){return d(oe),C(oe<0?0:0|W(oe))}function E(oe){for(var be=oe.length<0?0:0|W(oe.length),te=C(be),Ue=0;Ue<be;Ue+=1)te[Ue]=255&oe[Ue];return te}function z(oe,be,te){if(be<0||oe.byteLength<be)throw new RangeError('"offset" is outside of buffer bounds');if(oe.byteLength<be+(te||0))throw new RangeError('"length" is outside of buffer bounds');var Ue;return Ue=void 0===be&&void 0===te?new Uint8Array(oe):void 0===te?new Uint8Array(oe,be):new Uint8Array(oe,be,te),Object.setPrototypeOf(Ue,u.prototype),Ue}function W(oe){if(oe>=D)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+D.toString(16)+" bytes");return 0|oe}function X(oe,be){if(u.isBuffer(oe))return oe.length;if(ArrayBuffer.isView(oe)||se(oe,ArrayBuffer))return oe.byteLength;if("string"!=typeof oe)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof oe);var te=oe.length,Ue=arguments.length>2&&!0===arguments[2];if(!Ue&&0===te)return 0;for(var Be=!1;;)switch(be){case"ascii":case"latin1":case"binary":return te;case"utf8":case"utf-8":return ct(oe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*te;case"hex":return te>>>1;case"base64":return le(oe).length;default:if(Be)return Ue?-1:ct(oe).length;be=(""+be).toLowerCase(),Be=!0}}function ee(oe,be,te){var Ue=!1;if((void 0===be||be<0)&&(be=0),be>this.length||((void 0===te||te>this.length)&&(te=this.length),te<=0)||(te>>>=0)<=(be>>>=0))return"";for(oe||(oe="utf8");;)switch(oe){case"hex":return g(this,be,te);case"utf8":case"utf-8":return h(this,be,te);case"ascii":return A(this,be,te);case"latin1":case"binary":return k(this,be,te);case"base64":return r(this,be,te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,be,te);default:if(Ue)throw new TypeError("Unknown encoding: "+oe);oe=(oe+"").toLowerCase(),Ue=!0}}function ue(oe,be,te){var Ue=oe[be];oe[be]=oe[te],oe[te]=Ue}function he(oe,be,te,Ue,Be){if(0===oe.length)return-1;if("string"==typeof te?(Ue=te,te=0):te>2147483647?te=2147483647:te<-2147483648&&(te=-2147483648),Ye(te=+te)&&(te=Be?0:oe.length-1),te<0&&(te=oe.length+te),te>=oe.length){if(Be)return-1;te=oe.length-1}else if(te<0){if(!Be)return-1;te=0}if("string"==typeof be&&(be=u.from(be,Ue)),u.isBuffer(be))return 0===be.length?-1:ie(oe,be,te,Ue,Be);if("number"==typeof be)return be&=255,"function"==typeof Uint8Array.prototype.indexOf?Be?Uint8Array.prototype.indexOf.call(oe,be,te):Uint8Array.prototype.lastIndexOf.call(oe,be,te):ie(oe,[be],te,Ue,Be);throw new TypeError("val must be string, number or Buffer")}function ie(oe,be,te,Ue,Be){var ht,q=1,de=oe.length,Ce=be.length;if(void 0!==Ue&&("ucs2"===(Ue=String(Ue).toLowerCase())||"ucs-2"===Ue||"utf16le"===Ue||"utf-16le"===Ue)){if(oe.length<2||be.length<2)return-1;q=2,de/=2,Ce/=2,te/=2}function ke(qt,_t){return 1===q?qt[_t]:qt.readUInt16BE(_t*q)}if(Be){var nt=-1;for(ht=te;ht<de;ht++)if(ke(oe,ht)===ke(be,-1===nt?0:ht-nt)){if(-1===nt&&(nt=ht),ht-nt+1===Ce)return nt*q}else-1!==nt&&(ht-=ht-nt),nt=-1}else for(te+Ce>de&&(te=de-Ce),ht=te;ht>=0;ht--){for(var wt=!0,it=0;it<Ce;it++)if(ke(oe,ht+it)!==ke(be,it)){wt=!1;break}if(wt)return ht}return-1}function ce(oe,be,te,Ue){te=Number(te)||0;var Be=oe.length-te;Ue?(Ue=Number(Ue))>Be&&(Ue=Be):Ue=Be;var q=be.length;Ue>q/2&&(Ue=q/2);for(var de=0;de<Ue;++de){var Ce=parseInt(be.substr(2*de,2),16);if(Ye(Ce))return de;oe[te+de]=Ce}return de}function $(oe,be,te,Ue){return _e(ct(be,oe.length-te),oe,te,Ue)}function fe(oe,be,te,Ue){return _e(function Ie(oe){for(var be=[],te=0;te<oe.length;++te)be.push(255&oe.charCodeAt(te));return be}(be),oe,te,Ue)}function T(oe,be,te,Ue){return _e(le(be),oe,te,Ue)}function i(oe,be,te,Ue){return _e(function xe(oe,be){for(var te,Ue,q=[],de=0;de<oe.length&&!((be-=2)<0);++de)Ue=(te=oe.charCodeAt(de))>>8,q.push(te%256),q.push(Ue);return q}(be,oe.length-te),oe,te,Ue)}function r(oe,be,te){return t.fromByteArray(0===be&&te===oe.length?oe:oe.slice(be,te))}function h(oe,be,te){te=Math.min(oe.length,te);for(var Ue=[],Be=be;Be<te;){var ke,ht,nt,wt,q=oe[Be],de=null,Ce=q>239?4:q>223?3:q>191?2:1;if(Be+Ce<=te)switch(Ce){case 1:q<128&&(de=q);break;case 2:128==(192&(ke=oe[Be+1]))&&(wt=(31&q)<<6|63&ke)>127&&(de=wt);break;case 3:ht=oe[Be+2],128==(192&(ke=oe[Be+1]))&&128==(192&ht)&&(wt=(15&q)<<12|(63&ke)<<6|63&ht)>2047&&(wt<55296||wt>57343)&&(de=wt);break;case 4:ht=oe[Be+2],nt=oe[Be+3],128==(192&(ke=oe[Be+1]))&&128==(192&ht)&&128==(192&nt)&&(wt=(15&q)<<18|(63&ke)<<12|(63&ht)<<6|63&nt)>65535&&wt<1114112&&(de=wt)}null===de?(de=65533,Ce=1):de>65535&&(Ue.push((de-=65536)>>>10&1023|55296),de=56320|1023&de),Ue.push(de),Be+=Ce}return function y(oe){var be=oe.length;if(be<=l)return String.fromCharCode.apply(String,oe);for(var te="",Ue=0;Ue<be;)te+=String.fromCharCode.apply(String,oe.slice(Ue,Ue+=l));return te}(Ue)}Q.kMaxLength=D,!(u.TYPED_ARRAY_SUPPORT=function o(){try{var oe=new Uint8Array(1),be={foo:function(){return 42}};return Object.setPrototypeOf(be,Uint8Array.prototype),Object.setPrototypeOf(oe,be),42===oe.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(oe,be,te){return P(oe,be,te)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(oe,be,te){return function S(oe,be,te){return d(oe),oe<=0?C(oe):void 0!==be?"string"==typeof te?C(oe).fill(be,te):C(oe).fill(be):C(oe)}(oe,be,te)},u.allocUnsafe=function(oe){return w(oe)},u.allocUnsafeSlow=function(oe){return w(oe)},u.isBuffer=function(be){return null!=be&&!0===be._isBuffer&&be!==u.prototype},u.compare=function(be,te){if(se(be,Uint8Array)&&(be=u.from(be,be.offset,be.byteLength)),se(te,Uint8Array)&&(te=u.from(te,te.offset,te.byteLength)),!u.isBuffer(be)||!u.isBuffer(te))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(be===te)return 0;for(var Ue=be.length,Be=te.length,q=0,de=Math.min(Ue,Be);q<de;++q)if(be[q]!==te[q]){Ue=be[q],Be=te[q];break}return Ue<Be?-1:Be<Ue?1:0},u.isEncoding=function(be){switch(String(be).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(be,te){if(!Array.isArray(be))throw new TypeError('"list" argument must be an Array of Buffers');if(0===be.length)return u.alloc(0);var Ue;if(void 0===te)for(te=0,Ue=0;Ue<be.length;++Ue)te+=be[Ue].length;var Be=u.allocUnsafe(te),q=0;for(Ue=0;Ue<be.length;++Ue){var de=be[Ue];if(se(de,Uint8Array))q+de.length>Be.length?u.from(de).copy(Be,q):Uint8Array.prototype.set.call(Be,de,q);else{if(!u.isBuffer(de))throw new TypeError('"list" argument must be an Array of Buffers');de.copy(Be,q)}q+=de.length}return Be},u.byteLength=X,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var be=this.length;if(be%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var te=0;te<be;te+=2)ue(this,te,te+1);return this},u.prototype.swap32=function(){var be=this.length;if(be%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var te=0;te<be;te+=4)ue(this,te,te+3),ue(this,te+1,te+2);return this},u.prototype.swap64=function(){var be=this.length;if(be%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var te=0;te<be;te+=8)ue(this,te,te+7),ue(this,te+1,te+6),ue(this,te+2,te+5),ue(this,te+3,te+4);return this},u.prototype.toLocaleString=u.prototype.toString=function(){var be=this.length;return 0===be?"":0===arguments.length?h(this,0,be):ee.apply(this,arguments)},u.prototype.equals=function(be){if(!u.isBuffer(be))throw new TypeError("Argument must be a Buffer");return this===be||0===u.compare(this,be)},u.prototype.inspect=function(){var be="",te=Q.INSPECT_MAX_BYTES;return be=this.toString("hex",0,te).replace(/(.{2})/g,"$1 ").trim(),this.length>te&&(be+=" ... "),"<Buffer "+be+">"},v&&(u.prototype[v]=u.prototype.inspect),u.prototype.compare=function(be,te,Ue,Be,q){if(se(be,Uint8Array)&&(be=u.from(be,be.offset,be.byteLength)),!u.isBuffer(be))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof be);if(void 0===te&&(te=0),void 0===Ue&&(Ue=be?be.length:0),void 0===Be&&(Be=0),void 0===q&&(q=this.length),te<0||Ue>be.length||Be<0||q>this.length)throw new RangeError("out of range index");if(Be>=q&&te>=Ue)return 0;if(Be>=q)return-1;if(te>=Ue)return 1;if(this===be)return 0;for(var de=(q>>>=0)-(Be>>>=0),Ce=(Ue>>>=0)-(te>>>=0),ke=Math.min(de,Ce),ht=this.slice(Be,q),nt=be.slice(te,Ue),wt=0;wt<ke;++wt)if(ht[wt]!==nt[wt]){de=ht[wt],Ce=nt[wt];break}return de<Ce?-1:Ce<de?1:0},u.prototype.includes=function(be,te,Ue){return-1!==this.indexOf(be,te,Ue)},u.prototype.indexOf=function(be,te,Ue){return he(this,be,te,Ue,!0)},u.prototype.lastIndexOf=function(be,te,Ue){return he(this,be,te,Ue,!1)},u.prototype.write=function(be,te,Ue,Be){if(void 0===te)Be="utf8",Ue=this.length,te=0;else if(void 0===Ue&&"string"==typeof te)Be=te,Ue=this.length,te=0;else{if(!isFinite(te))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");te>>>=0,isFinite(Ue)?(Ue>>>=0,void 0===Be&&(Be="utf8")):(Be=Ue,Ue=void 0)}var q=this.length-te;if((void 0===Ue||Ue>q)&&(Ue=q),be.length>0&&(Ue<0||te<0)||te>this.length)throw new RangeError("Attempt to write outside buffer bounds");Be||(Be="utf8");for(var de=!1;;)switch(Be){case"hex":return ce(this,be,te,Ue);case"utf8":case"utf-8":return $(this,be,te,Ue);case"ascii":case"latin1":case"binary":return fe(this,be,te,Ue);case"base64":return T(this,be,te,Ue);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i(this,be,te,Ue);default:if(de)throw new TypeError("Unknown encoding: "+Be);Be=(""+Be).toLowerCase(),de=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var l=4096;function A(oe,be,te){var Ue="";te=Math.min(oe.length,te);for(var Be=be;Be<te;++Be)Ue+=String.fromCharCode(127&oe[Be]);return Ue}function k(oe,be,te){var Ue="";te=Math.min(oe.length,te);for(var Be=be;Be<te;++Be)Ue+=String.fromCharCode(oe[Be]);return Ue}function g(oe,be,te){var Ue=oe.length;(!be||be<0)&&(be=0),(!te||te<0||te>Ue)&&(te=Ue);for(var Be="",q=be;q<te;++q)Be+=Te[oe[q]];return Be}function n(oe,be,te){for(var Ue=oe.slice(be,te),Be="",q=0;q<Ue.length-1;q+=2)Be+=String.fromCharCode(Ue[q]+256*Ue[q+1]);return Be}function b(oe,be,te){if(oe%1!=0||oe<0)throw new RangeError("offset is not uint");if(oe+be>te)throw new RangeError("Trying to access beyond buffer length")}function U(oe,be,te,Ue,Be,q){if(!u.isBuffer(oe))throw new TypeError('"buffer" argument must be a Buffer instance');if(be>Be||be<q)throw new RangeError('"value" argument is out of bounds');if(te+Ue>oe.length)throw new RangeError("Index out of range")}function V(oe,be,te,Ue,Be,q){if(te+Ue>oe.length)throw new RangeError("Index out of range");if(te<0)throw new RangeError("Index out of range")}function j(oe,be,te,Ue,Be){return be=+be,te>>>=0,Be||V(oe,0,te,4),e.write(oe,be,te,Ue,23,4),te+4}function Ae(oe,be,te,Ue,Be){return be=+be,te>>>=0,Be||V(oe,0,te,8),e.write(oe,be,te,Ue,52,8),te+8}u.prototype.slice=function(be,te){var Ue=this.length;(be=~~be)<0?(be+=Ue)<0&&(be=0):be>Ue&&(be=Ue),(te=void 0===te?Ue:~~te)<0?(te+=Ue)<0&&(te=0):te>Ue&&(te=Ue),te<be&&(te=be);var Be=this.subarray(be,te);return Object.setPrototypeOf(Be,u.prototype),Be},u.prototype.readUintLE=u.prototype.readUIntLE=function(be,te,Ue){be>>>=0,te>>>=0,Ue||b(be,te,this.length);for(var Be=this[be],q=1,de=0;++de<te&&(q*=256);)Be+=this[be+de]*q;return Be},u.prototype.readUintBE=u.prototype.readUIntBE=function(be,te,Ue){be>>>=0,te>>>=0,Ue||b(be,te,this.length);for(var Be=this[be+--te],q=1;te>0&&(q*=256);)Be+=this[be+--te]*q;return Be},u.prototype.readUint8=u.prototype.readUInt8=function(be,te){return be>>>=0,te||b(be,1,this.length),this[be]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(be,te){return be>>>=0,te||b(be,2,this.length),this[be]|this[be+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(be,te){return be>>>=0,te||b(be,2,this.length),this[be]<<8|this[be+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(be,te){return be>>>=0,te||b(be,4,this.length),(this[be]|this[be+1]<<8|this[be+2]<<16)+16777216*this[be+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(be,te){return be>>>=0,te||b(be,4,this.length),16777216*this[be]+(this[be+1]<<16|this[be+2]<<8|this[be+3])},u.prototype.readIntLE=function(be,te,Ue){be>>>=0,te>>>=0,Ue||b(be,te,this.length);for(var Be=this[be],q=1,de=0;++de<te&&(q*=256);)Be+=this[be+de]*q;return Be>=(q*=128)&&(Be-=Math.pow(2,8*te)),Be},u.prototype.readIntBE=function(be,te,Ue){be>>>=0,te>>>=0,Ue||b(be,te,this.length);for(var Be=te,q=1,de=this[be+--Be];Be>0&&(q*=256);)de+=this[be+--Be]*q;return de>=(q*=128)&&(de-=Math.pow(2,8*te)),de},u.prototype.readInt8=function(be,te){return be>>>=0,te||b(be,1,this.length),128&this[be]?-1*(255-this[be]+1):this[be]},u.prototype.readInt16LE=function(be,te){be>>>=0,te||b(be,2,this.length);var Ue=this[be]|this[be+1]<<8;return 32768&Ue?4294901760|Ue:Ue},u.prototype.readInt16BE=function(be,te){be>>>=0,te||b(be,2,this.length);var Ue=this[be+1]|this[be]<<8;return 32768&Ue?4294901760|Ue:Ue},u.prototype.readInt32LE=function(be,te){return be>>>=0,te||b(be,4,this.length),this[be]|this[be+1]<<8|this[be+2]<<16|this[be+3]<<24},u.prototype.readInt32BE=function(be,te){return be>>>=0,te||b(be,4,this.length),this[be]<<24|this[be+1]<<16|this[be+2]<<8|this[be+3]},u.prototype.readFloatLE=function(be,te){return be>>>=0,te||b(be,4,this.length),e.read(this,be,!0,23,4)},u.prototype.readFloatBE=function(be,te){return be>>>=0,te||b(be,4,this.length),e.read(this,be,!1,23,4)},u.prototype.readDoubleLE=function(be,te){return be>>>=0,te||b(be,8,this.length),e.read(this,be,!0,52,8)},u.prototype.readDoubleBE=function(be,te){return be>>>=0,te||b(be,8,this.length),e.read(this,be,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(be,te,Ue,Be){be=+be,te>>>=0,Ue>>>=0,Be||U(this,be,te,Ue,Math.pow(2,8*Ue)-1,0);var de=1,Ce=0;for(this[te]=255&be;++Ce<Ue&&(de*=256);)this[te+Ce]=be/de&255;return te+Ue},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(be,te,Ue,Be){be=+be,te>>>=0,Ue>>>=0,Be||U(this,be,te,Ue,Math.pow(2,8*Ue)-1,0);var de=Ue-1,Ce=1;for(this[te+de]=255&be;--de>=0&&(Ce*=256);)this[te+de]=be/Ce&255;return te+Ue},u.prototype.writeUint8=u.prototype.writeUInt8=function(be,te,Ue){return be=+be,te>>>=0,Ue||U(this,be,te,1,255,0),this[te]=255&be,te+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(be,te,Ue){return be=+be,te>>>=0,Ue||U(this,be,te,2,65535,0),this[te]=255&be,this[te+1]=be>>>8,te+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(be,te,Ue){return be=+be,te>>>=0,Ue||U(this,be,te,2,65535,0),this[te]=be>>>8,this[te+1]=255&be,te+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(be,te,Ue){return be=+be,te>>>=0,Ue||U(this,be,te,4,4294967295,0),this[te+3]=be>>>24,this[te+2]=be>>>16,this[te+1]=be>>>8,this[te]=255&be,te+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(be,te,Ue){return be=+be,te>>>=0,Ue||U(this,be,te,4,4294967295,0),this[te]=be>>>24,this[te+1]=be>>>16,this[te+2]=be>>>8,this[te+3]=255&be,te+4},u.prototype.writeIntLE=function(be,te,Ue,Be){if(be=+be,te>>>=0,!Be){var q=Math.pow(2,8*Ue-1);U(this,be,te,Ue,q-1,-q)}var de=0,Ce=1,ke=0;for(this[te]=255&be;++de<Ue&&(Ce*=256);)be<0&&0===ke&&0!==this[te+de-1]&&(ke=1),this[te+de]=(be/Ce>>0)-ke&255;return te+Ue},u.prototype.writeIntBE=function(be,te,Ue,Be){if(be=+be,te>>>=0,!Be){var q=Math.pow(2,8*Ue-1);U(this,be,te,Ue,q-1,-q)}var de=Ue-1,Ce=1,ke=0;for(this[te+de]=255&be;--de>=0&&(Ce*=256);)be<0&&0===ke&&0!==this[te+de+1]&&(ke=1),this[te+de]=(be/Ce>>0)-ke&255;return te+Ue},u.prototype.writeInt8=function(be,te,Ue){return be=+be,te>>>=0,Ue||U(this,be,te,1,127,-128),be<0&&(be=255+be+1),this[te]=255&be,te+1},u.prototype.writeInt16LE=function(be,te,Ue){return be=+be,te>>>=0,Ue||U(this,be,te,2,32767,-32768),this[te]=255&be,this[te+1]=be>>>8,te+2},u.prototype.writeInt16BE=function(be,te,Ue){return be=+be,te>>>=0,Ue||U(this,be,te,2,32767,-32768),this[te]=be>>>8,this[te+1]=255&be,te+2},u.prototype.writeInt32LE=function(be,te,Ue){return be=+be,te>>>=0,Ue||U(this,be,te,4,2147483647,-2147483648),this[te]=255&be,this[te+1]=be>>>8,this[te+2]=be>>>16,this[te+3]=be>>>24,te+4},u.prototype.writeInt32BE=function(be,te,Ue){return be=+be,te>>>=0,Ue||U(this,be,te,4,2147483647,-2147483648),be<0&&(be=4294967295+be+1),this[te]=be>>>24,this[te+1]=be>>>16,this[te+2]=be>>>8,this[te+3]=255&be,te+4},u.prototype.writeFloatLE=function(be,te,Ue){return j(this,be,te,!0,Ue)},u.prototype.writeFloatBE=function(be,te,Ue){return j(this,be,te,!1,Ue)},u.prototype.writeDoubleLE=function(be,te,Ue){return Ae(this,be,te,!0,Ue)},u.prototype.writeDoubleBE=function(be,te,Ue){return Ae(this,be,te,!1,Ue)},u.prototype.copy=function(be,te,Ue,Be){if(!u.isBuffer(be))throw new TypeError("argument should be a Buffer");if(Ue||(Ue=0),!Be&&0!==Be&&(Be=this.length),te>=be.length&&(te=be.length),te||(te=0),Be>0&&Be<Ue&&(Be=Ue),Be===Ue||0===be.length||0===this.length)return 0;if(te<0)throw new RangeError("targetStart out of bounds");if(Ue<0||Ue>=this.length)throw new RangeError("Index out of range");if(Be<0)throw new RangeError("sourceEnd out of bounds");Be>this.length&&(Be=this.length),be.length-te<Be-Ue&&(Be=be.length-te+Ue);var q=Be-Ue;return this===be&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(te,Ue,Be):Uint8Array.prototype.set.call(be,this.subarray(Ue,Be),te),q},u.prototype.fill=function(be,te,Ue,Be){if("string"==typeof be){if("string"==typeof te?(Be=te,te=0,Ue=this.length):"string"==typeof Ue&&(Be=Ue,Ue=this.length),void 0!==Be&&"string"!=typeof Be)throw new TypeError("encoding must be a string");if("string"==typeof Be&&!u.isEncoding(Be))throw new TypeError("Unknown encoding: "+Be);if(1===be.length){var q=be.charCodeAt(0);("utf8"===Be&&q<128||"latin1"===Be)&&(be=q)}}else"number"==typeof be?be&=255:"boolean"==typeof be&&(be=Number(be));if(te<0||this.length<te||this.length<Ue)throw new RangeError("Out of range index");if(Ue<=te)return this;var de;if(te>>>=0,Ue=void 0===Ue?this.length:Ue>>>0,be||(be=0),"number"==typeof be)for(de=te;de<Ue;++de)this[de]=be;else{var Ce=u.isBuffer(be)?be:u.from(be,Be),ke=Ce.length;if(0===ke)throw new TypeError('The value "'+be+'" is invalid for argument "value"');for(de=0;de<Ue-te;++de)this[de+te]=Ce[de%ke]}return this};var Ke=/[^+/0-9A-Za-z-_]/g;function ct(oe,be){be=be||1/0;for(var te,Ue=oe.length,Be=null,q=[],de=0;de<Ue;++de){if((te=oe.charCodeAt(de))>55295&&te<57344){if(!Be){if(te>56319){(be-=3)>-1&&q.push(239,191,189);continue}if(de+1===Ue){(be-=3)>-1&&q.push(239,191,189);continue}Be=te;continue}if(te<56320){(be-=3)>-1&&q.push(239,191,189),Be=te;continue}te=65536+(Be-55296<<10|te-56320)}else Be&&(be-=3)>-1&&q.push(239,191,189);if(Be=null,te<128){if((be-=1)<0)break;q.push(te)}else if(te<2048){if((be-=2)<0)break;q.push(te>>6|192,63&te|128)}else if(te<65536){if((be-=3)<0)break;q.push(te>>12|224,te>>6&63|128,63&te|128)}else{if(!(te<1114112))throw new Error("Invalid code point");if((be-=4)<0)break;q.push(te>>18|240,te>>12&63|128,te>>6&63|128,63&te|128)}}return q}function le(oe){return t.toByteArray(function qe(oe){if((oe=(oe=oe.split("=")[0]).trim().replace(Ke,"")).length<2)return"";for(;oe.length%4!=0;)oe+="=";return oe}(oe))}function _e(oe,be,te,Ue){for(var Be=0;Be<Ue&&!(Be+te>=be.length||Be>=oe.length);++Be)be[Be+te]=oe[Be];return Be}function se(oe,be){return oe instanceof be||null!=oe&&null!=oe.constructor&&null!=oe.constructor.name&&oe.constructor.name===be.name}function Ye(oe){return oe!=oe}var Te=function(){for(var oe="0123456789abcdef",be=new Array(256),te=0;te<16;++te)for(var Ue=16*te,Be=0;Be<16;++Be)be[Ue+Be]=oe[te]+oe[Be];return be}()},1052:(Ve,Q,m)=>{var t=m(3502).Buffer,e=m(295).Transform,v=m(3054).s;function o(C){e.call(this),this.hashMode="string"==typeof C,this.hashMode?this[C]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}m(3894)(o,e),o.prototype.update=function(C,u,P){"string"==typeof C&&(C=t.from(C,u));var d=this._update(C);return this.hashMode?this:(P&&(d=this._toString(d,P)),d)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(C,u,P){var d;try{this.hashMode?this._update(C):this.push(this._update(C))}catch(S){d=S}finally{P(d)}},o.prototype._flush=function(C){var u;try{this.push(this.__final())}catch(P){u=P}C(u)},o.prototype._finalOrDigest=function(C){var u=this.__final()||t.alloc(0);return C&&(u=this._toString(u,C,!0)),u},o.prototype._toString=function(C,u,P){if(this._decoder||(this._decoder=new v(u),this._encoding=u),this._encoding!==u)throw new Error("can't switch encodings");var d=this._decoder.write(C);return P&&(d+=this._decoder.end()),d},Ve.exports=o},6128:function(Ve){!function(Q){"use strict";var m={bytesToHex:function(v){return function t(v){return v.map(function(D){return function e(v,D){return v.length>D?v:Array(D-v.length+1).join("0")+v}(D.toString(16),2)}).join("")}(v)},hexToBytes:function(v){if(v.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===v.indexOf("0x")&&(v=v.slice(2)),v.match(/../g).map(function(D){return parseInt(D,16)})}};Ve.exports?Ve.exports=m:Q.convertHex=m}(this)},5612:function(Ve){!function(Q){"use strict";var m={bytesToString:function(t){return t.map(function(e){return String.fromCharCode(e)}).join("")},stringToBytes:function(t){return t.split("").map(function(e){return e.charCodeAt(0)})}};m.UTF8={bytesToString:function(t){return decodeURIComponent(escape(m.bytesToString(t)))},stringToBytes:function(t){return m.stringToBytes(unescape(encodeURIComponent(t)))}},Ve.exports?Ve.exports=m:Q.convertString=m}(this)},4746:(Ve,Q,m)=>{var t=m(7715),e=m(6422);Ve.exports=function(u){return new D(u)};var v={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 D(C){this.curveType=v[C],this.curveType||(this.curveType={name:C}),this.curve=new t.ec(this.curveType.name),this.keys=void 0}function o(C,u,P){Array.isArray(C)||(C=C.toArray());var d=new Buffer(C);if(P&&d.length<P){var S=new Buffer(P-d.length);S.fill(0),d=Buffer.concat([S,d])}return u?d.toString(u):d}v.p224=v.secp224r1,v.p256=v.secp256r1=v.prime256v1,v.p192=v.secp192r1=v.prime192v1,v.p384=v.secp384r1,v.p521=v.secp521r1,D.prototype.generateKeys=function(C,u){return this.keys=this.curve.genKeyPair(),this.getPublicKey(C,u)},D.prototype.computeSecret=function(C,u,P){return u=u||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,u)),o(this.curve.keyFromPublic(C).getPublic().mul(this.keys.getPrivate()).getX(),P,this.curveType.byteLength)},D.prototype.getPublicKey=function(C,u){var P=this.keys.getPublic("compressed"===u,!0);return"hybrid"===u&&(P[0]=P[P.length-1]%2?7:6),o(P,C)},D.prototype.getPrivateKey=function(C){return o(this.keys.getPrivate(),C)},D.prototype.setPublicKey=function(C,u){return u=u||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,u)),this.keys._importPublic(C),this},D.prototype.setPrivateKey=function(C,u){u=u||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,u));var P=new e(C);return P=P.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(P),this}},6422:function(Ve,Q,m){!function(t,e){"use strict";function v(T,i){if(!T)throw new Error(i||"Assertion failed")}function D(T,i){T.super_=i;var r=function(){};r.prototype=i.prototype,T.prototype=new r,T.prototype.constructor=T}function o(T,i,r){if(o.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(T||0,i||10,r||"be"))}var C;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(8623).Buffer}catch{}function u(T,i){var r=T.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function P(T,i,r){var h=u(T,r);return r-1>=i&&(h|=u(T,r-1)<<4),h}function d(T,i,r,h){for(var l=0,y=Math.min(T.length,r),A=i;A<y;A++){var k=T.charCodeAt(A)-48;l*=h,l+=k>=49?k-49+10:k>=17?k-17+10:k}return l}o.isBN=function(i){return i instanceof o||null!==i&&"object"==typeof i&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,r){return i.cmp(r)>0?i:r},o.min=function(i,r){return i.cmp(r)<0?i:r},o.prototype._init=function(i,r,h){if("number"==typeof i)return this._initNumber(i,r,h);if("object"==typeof i)return this._initArray(i,r,h);"hex"===r&&(r=16),v(r===(0|r)&&r>=2&&r<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===r?this._parseHex(i,l,h):(this._parseBase(i,r,l),"le"===h&&this._initArray(this.toArray(),r,h)))},o.prototype._initNumber=function(i,r,h){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[67108863&i],this.length=1):i<4503599627370496?(this.words=[67108863&i,i/67108864&67108863],this.length=2):(v(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===h&&this._initArray(this.toArray(),r,h)},o.prototype._initArray=function(i,r,h){if(v("number"==typeof i.length),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var y,A,k=0;if("be"===h)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(A=i[l]|i[l-1]<<8|i[l-2]<<16)<<k&67108863,this.words[y+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);else if("le"===h)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(A=i[l]|i[l+1]<<8|i[l+2]<<16)<<k&67108863,this.words[y+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);return this.strip()},o.prototype._parseHex=function(i,r,h){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var k,y=0,A=0;if("be"===h)for(l=i.length-1;l>=r;l-=2)k=P(i,r,l)<<y,this.words[A]|=67108863&k,y>=18?(y-=18,this.words[A+=1]|=k>>>26):y+=8;else for(l=(i.length-r)%2==0?r+1:r;l<i.length;l+=2)k=P(i,r,l)<<y,this.words[A]|=67108863&k,y>=18?(y-=18,this.words[A+=1]|=k>>>26):y+=8;this.strip()},o.prototype._parseBase=function(i,r,h){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=r)l++;l--,y=y/r|0;for(var A=i.length-h,k=A%l,g=Math.min(A,A-k)+h,n=0,b=h;b<g;b+=l)n=d(i,b,b+l,r),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==k){var U=1;for(n=d(i,b,i.length,r),b=0;b<k;b++)U*=r;this.imuln(U),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var r=0;r<this.length;r++)i.words[r]=this.words[r];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var S=["","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"],w=[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 N(T,i,r){r.negative=i.negative^T.negative;var h=T.length+i.length|0;r.length=h,h=h-1|0;var l=0|T.words[0],y=0|i.words[0],A=l*y,g=A/67108864|0;r.words[0]=67108863&A;for(var n=1;n<h;n++){for(var b=g>>>26,U=67108863&g,V=Math.min(n,i.length-1),j=Math.max(0,n-T.length+1);j<=V;j++)b+=(A=(l=0|T.words[n-j|0])*(y=0|i.words[j])+U)/67108864|0,U=67108863&A;r.words[n]=0|U,g=0|b}return 0!==g?r.words[n]=0|g:r.length--,r.strip()}o.prototype.toString=function(i,r){var h;if(r=0|r||1,16===(i=i||10)||"hex"===i){h="";for(var l=0,y=0,A=0;A<this.length;A++){var k=this.words[A],g=(16777215&(k<<l|y)).toString(16);h=0!=(y=k>>>24-l&16777215)||A!==this.length-1?S[6-g.length]+g+h:g+h,(l+=2)>=26&&(l-=26,A--)}for(0!==y&&(h=y.toString(16)+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=I[i];h="";var U=this.clone();for(U.negative=0;!U.isZero();){var V=U.modn(b).toString(i);h=(U=U.idivn(b)).isZero()?V+h:S[n-V.length]+V+h}for(this.isZero()&&(h="0"+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}v(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return 2===this.length?i+=67108864*this.words[1]:3===this.length&&1===this.words[2]?i+=4503599627370496+67108864*this.words[1]:this.length>2&&v(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,r){return v(typeof C<"u"),this.toArrayLike(C,i,r)},o.prototype.toArray=function(i,r){return this.toArrayLike(Array,i,r)},o.prototype.toArrayLike=function(i,r,h){var l=this.byteLength(),y=h||Math.max(1,l);v(l<=y,"byte array longer than desired length"),v(y>0,"Requested array length <= 0"),this.strip();var g,n,A="le"===r,k=new i(y),b=this.clone();if(A){for(n=0;!b.isZero();n++)g=b.andln(255),b.iushrn(8),k[n]=g;for(;n<y;n++)k[n]=0}else{for(n=0;n<y-l;n++)k[n]=0;for(n=0;!b.isZero();n++)g=b.andln(255),b.iushrn(8),k[y-n-1]=g}return k},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,h=0;return r>=4096&&(h+=13,r>>>=13),r>=64&&(h+=7,r>>>=7),r>=8&&(h+=4,r>>>=4),r>=2&&(h+=2,r>>>=2),h+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,h=0;return 0==(8191&r)&&(h+=13,r>>>=13),0==(127&r)&&(h+=7,r>>>=7),0==(15&r)&&(h+=4,r>>>=4),0==(3&r)&&(h+=2,r>>>=2),0==(1&r)&&h++,h},o.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,r=0;r<this.length;r++){var h=this._zeroBits(this.words[r]);if(i+=h,26!==h)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var r=0;r<i.length;r++)this.words[r]=this.words[r]|i.words[r];return this.strip()},o.prototype.ior=function(i){return v(0==(this.negative|i.negative)),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var r;r=this.length>i.length?i:this;for(var h=0;h<r.length;h++)this.words[h]=this.words[h]&i.words[h];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return v(0==(this.negative|i.negative)),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var r,h;this.length>i.length?(r=this,h=i):(r=i,h=this);for(var l=0;l<h.length;l++)this.words[l]=r.words[l]^h.words[l];if(this!==r)for(;l<r.length;l++)this.words[l]=r.words[l];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return v(0==(this.negative|i.negative)),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){v("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),h=i%26;this._expand(r),h>0&&r--;for(var l=0;l<r;l++)this.words[l]=67108863&~this.words[l];return h>0&&(this.words[l]=~this.words[l]&67108863>>26-h),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){v("number"==typeof i&&i>=0);var h=i/26|0,l=i%26;return this._expand(h+1),this.words[h]=r?this.words[h]|1<<l:this.words[h]&~(1<<l),this.strip()},o.prototype.iadd=function(i){var r,h,l;if(0!==this.negative&&0===i.negative)return this.negative=0,r=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,r=this.isub(i),i.negative=1,r._normSign();this.length>i.length?(h=this,l=i):(h=i,l=this);for(var y=0,A=0;A<l.length;A++)this.words[A]=67108863&(r=(0|h.words[A])+(0|l.words[A])+y),y=r>>>26;for(;0!==y&&A<h.length;A++)this.words[A]=67108863&(r=(0|h.words[A])+y),y=r>>>26;if(this.length=h.length,0!==y)this.words[this.length]=y,this.length++;else if(h!==this)for(;A<h.length;A++)this.words[A]=h.words[A];return this},o.prototype.add=function(i){var r;return 0!==i.negative&&0===this.negative?(i.negative=0,r=this.sub(i),i.negative^=1,r):0===i.negative&&0!==this.negative?(this.negative=0,r=i.sub(this),this.negative=1,r):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var r=this.iadd(i);return i.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,h=this.cmp(i);if(0===h)return this.negative=0,this.length=1,this.words[0]=0,this;h>0?(l=this,y=i):(l=i,y=this);for(var A=0,k=0;k<y.length;k++)A=(r=(0|l.words[k])-(0|y.words[k])+A)>>26,this.words[k]=67108863&r;for(;0!==A&&k<l.length;k++)A=(r=(0|l.words[k])+A)>>26,this.words[k]=67108863&r;if(0===A&&k<l.length&&l!==this)for(;k<l.length;k++)this.words[k]=l.words[k];return this.length=Math.max(this.length,k),l!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var z=function(i,r,h){var g,n,b,l=i.words,y=r.words,A=h.words,k=0,U=0|l[0],V=8191&U,j=U>>>13,Ae=0|l[1],Ke=8191&Ae,qe=Ae>>>13,ct=0|l[2],Ie=8191&ct,xe=ct>>>13,le=0|l[3],_e=8191&le,se=le>>>13,Ye=0|l[4],Te=8191&Ye,oe=Ye>>>13,be=0|l[5],te=8191&be,Ue=be>>>13,Be=0|l[6],q=8191&Be,de=Be>>>13,Ce=0|l[7],ke=8191&Ce,ht=Ce>>>13,nt=0|l[8],wt=8191&nt,it=nt>>>13,qt=0|l[9],_t=8191&qt,ne=qt>>>13,Nt=0|y[0],De=8191&Nt,He=Nt>>>13,Ct=0|y[1],Pe=8191&Ct,tt=Ct>>>13,Bt=0|y[2],Lt=8191&Bt,Ht=Bt>>>13,bt=0|y[3],Me=8191&bt,J=bt>>>13,ve=0|y[4],Re=8191&ve,at=ve>>>13,ni=0|y[5],Gt=8191&ni,ti=ni>>>13,dt=0|y[6],rt=8191&dt,vt=dt>>>13,ai=0|y[7],Ut=8191&ai,Vt=ai>>>13,Rt=0|y[8],je=8191&Rt,Fe=Rt>>>13,We=0|y[9],Je=8191&We,Tt=We>>>13;h.negative=i.negative^r.negative,h.length=19;var ui=(k+(g=Math.imul(V,De))|0)+((8191&(n=(n=Math.imul(V,He))+Math.imul(j,De)|0))<<13)|0;k=((b=Math.imul(j,He))+(n>>>13)|0)+(ui>>>26)|0,ui&=67108863,g=Math.imul(Ke,De),n=(n=Math.imul(Ke,He))+Math.imul(qe,De)|0,b=Math.imul(qe,He);var Ei=(k+(g=g+Math.imul(V,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(V,tt)|0)+Math.imul(j,Pe)|0))<<13)|0;k=((b=b+Math.imul(j,tt)|0)+(n>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,g=Math.imul(Ie,De),n=(n=Math.imul(Ie,He))+Math.imul(xe,De)|0,b=Math.imul(xe,He),g=g+Math.imul(Ke,Pe)|0,n=(n=n+Math.imul(Ke,tt)|0)+Math.imul(qe,Pe)|0,b=b+Math.imul(qe,tt)|0;var xi=(k+(g=g+Math.imul(V,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Ht)|0)+Math.imul(j,Lt)|0))<<13)|0;k=((b=b+Math.imul(j,Ht)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,g=Math.imul(_e,De),n=(n=Math.imul(_e,He))+Math.imul(se,De)|0,b=Math.imul(se,He),g=g+Math.imul(Ie,Pe)|0,n=(n=n+Math.imul(Ie,tt)|0)+Math.imul(xe,Pe)|0,b=b+Math.imul(xe,tt)|0,g=g+Math.imul(Ke,Lt)|0,n=(n=n+Math.imul(Ke,Ht)|0)+Math.imul(qe,Lt)|0,b=b+Math.imul(qe,Ht)|0;var Vi=(k+(g=g+Math.imul(V,Me)|0)|0)+((8191&(n=(n=n+Math.imul(V,J)|0)+Math.imul(j,Me)|0))<<13)|0;k=((b=b+Math.imul(j,J)|0)+(n>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,g=Math.imul(Te,De),n=(n=Math.imul(Te,He))+Math.imul(oe,De)|0,b=Math.imul(oe,He),g=g+Math.imul(_e,Pe)|0,n=(n=n+Math.imul(_e,tt)|0)+Math.imul(se,Pe)|0,b=b+Math.imul(se,tt)|0,g=g+Math.imul(Ie,Lt)|0,n=(n=n+Math.imul(Ie,Ht)|0)+Math.imul(xe,Lt)|0,b=b+Math.imul(xe,Ht)|0,g=g+Math.imul(Ke,Me)|0,n=(n=n+Math.imul(Ke,J)|0)+Math.imul(qe,Me)|0,b=b+Math.imul(qe,J)|0;var $e=(k+(g=g+Math.imul(V,Re)|0)|0)+((8191&(n=(n=n+Math.imul(V,at)|0)+Math.imul(j,Re)|0))<<13)|0;k=((b=b+Math.imul(j,at)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,g=Math.imul(te,De),n=(n=Math.imul(te,He))+Math.imul(Ue,De)|0,b=Math.imul(Ue,He),g=g+Math.imul(Te,Pe)|0,n=(n=n+Math.imul(Te,tt)|0)+Math.imul(oe,Pe)|0,b=b+Math.imul(oe,tt)|0,g=g+Math.imul(_e,Lt)|0,n=(n=n+Math.imul(_e,Ht)|0)+Math.imul(se,Lt)|0,b=b+Math.imul(se,Ht)|0,g=g+Math.imul(Ie,Me)|0,n=(n=n+Math.imul(Ie,J)|0)+Math.imul(xe,Me)|0,b=b+Math.imul(xe,J)|0,g=g+Math.imul(Ke,Re)|0,n=(n=n+Math.imul(Ke,at)|0)+Math.imul(qe,Re)|0,b=b+Math.imul(qe,at)|0;var Mt=(k+(g=g+Math.imul(V,Gt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ti)|0)+Math.imul(j,Gt)|0))<<13)|0;k=((b=b+Math.imul(j,ti)|0)+(n>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,g=Math.imul(q,De),n=(n=Math.imul(q,He))+Math.imul(de,De)|0,b=Math.imul(de,He),g=g+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,tt)|0)+Math.imul(Ue,Pe)|0,b=b+Math.imul(Ue,tt)|0,g=g+Math.imul(Te,Lt)|0,n=(n=n+Math.imul(Te,Ht)|0)+Math.imul(oe,Lt)|0,b=b+Math.imul(oe,Ht)|0,g=g+Math.imul(_e,Me)|0,n=(n=n+Math.imul(_e,J)|0)+Math.imul(se,Me)|0,b=b+Math.imul(se,J)|0,g=g+Math.imul(Ie,Re)|0,n=(n=n+Math.imul(Ie,at)|0)+Math.imul(xe,Re)|0,b=b+Math.imul(xe,at)|0,g=g+Math.imul(Ke,Gt)|0,n=(n=n+Math.imul(Ke,ti)|0)+Math.imul(qe,Gt)|0,b=b+Math.imul(qe,ti)|0;var ye=(k+(g=g+Math.imul(V,rt)|0)|0)+((8191&(n=(n=n+Math.imul(V,vt)|0)+Math.imul(j,rt)|0))<<13)|0;k=((b=b+Math.imul(j,vt)|0)+(n>>>13)|0)+(ye>>>26)|0,ye&=67108863,g=Math.imul(ke,De),n=(n=Math.imul(ke,He))+Math.imul(ht,De)|0,b=Math.imul(ht,He),g=g+Math.imul(q,Pe)|0,n=(n=n+Math.imul(q,tt)|0)+Math.imul(de,Pe)|0,b=b+Math.imul(de,tt)|0,g=g+Math.imul(te,Lt)|0,n=(n=n+Math.imul(te,Ht)|0)+Math.imul(Ue,Lt)|0,b=b+Math.imul(Ue,Ht)|0,g=g+Math.imul(Te,Me)|0,n=(n=n+Math.imul(Te,J)|0)+Math.imul(oe,Me)|0,b=b+Math.imul(oe,J)|0,g=g+Math.imul(_e,Re)|0,n=(n=n+Math.imul(_e,at)|0)+Math.imul(se,Re)|0,b=b+Math.imul(se,at)|0,g=g+Math.imul(Ie,Gt)|0,n=(n=n+Math.imul(Ie,ti)|0)+Math.imul(xe,Gt)|0,b=b+Math.imul(xe,ti)|0,g=g+Math.imul(Ke,rt)|0,n=(n=n+Math.imul(Ke,vt)|0)+Math.imul(qe,rt)|0,b=b+Math.imul(qe,vt)|0;var Ot=(k+(g=g+Math.imul(V,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(V,Vt)|0)+Math.imul(j,Ut)|0))<<13)|0;k=((b=b+Math.imul(j,Vt)|0)+(n>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,g=Math.imul(wt,De),n=(n=Math.imul(wt,He))+Math.imul(it,De)|0,b=Math.imul(it,He),g=g+Math.imul(ke,Pe)|0,n=(n=n+Math.imul(ke,tt)|0)+Math.imul(ht,Pe)|0,b=b+Math.imul(ht,tt)|0,g=g+Math.imul(q,Lt)|0,n=(n=n+Math.imul(q,Ht)|0)+Math.imul(de,Lt)|0,b=b+Math.imul(de,Ht)|0,g=g+Math.imul(te,Me)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ue,Me)|0,b=b+Math.imul(Ue,J)|0,g=g+Math.imul(Te,Re)|0,n=(n=n+Math.imul(Te,at)|0)+Math.imul(oe,Re)|0,b=b+Math.imul(oe,at)|0,g=g+Math.imul(_e,Gt)|0,n=(n=n+Math.imul(_e,ti)|0)+Math.imul(se,Gt)|0,b=b+Math.imul(se,ti)|0,g=g+Math.imul(Ie,rt)|0,n=(n=n+Math.imul(Ie,vt)|0)+Math.imul(xe,rt)|0,b=b+Math.imul(xe,vt)|0,g=g+Math.imul(Ke,Ut)|0,n=(n=n+Math.imul(Ke,Vt)|0)+Math.imul(qe,Ut)|0,b=b+Math.imul(qe,Vt)|0;var Kt=(k+(g=g+Math.imul(V,je)|0)|0)+((8191&(n=(n=n+Math.imul(V,Fe)|0)+Math.imul(j,je)|0))<<13)|0;k=((b=b+Math.imul(j,Fe)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,g=Math.imul(_t,De),n=(n=Math.imul(_t,He))+Math.imul(ne,De)|0,b=Math.imul(ne,He),g=g+Math.imul(wt,Pe)|0,n=(n=n+Math.imul(wt,tt)|0)+Math.imul(it,Pe)|0,b=b+Math.imul(it,tt)|0,g=g+Math.imul(ke,Lt)|0,n=(n=n+Math.imul(ke,Ht)|0)+Math.imul(ht,Lt)|0,b=b+Math.imul(ht,Ht)|0,g=g+Math.imul(q,Me)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,Me)|0,b=b+Math.imul(de,J)|0,g=g+Math.imul(te,Re)|0,n=(n=n+Math.imul(te,at)|0)+Math.imul(Ue,Re)|0,b=b+Math.imul(Ue,at)|0,g=g+Math.imul(Te,Gt)|0,n=(n=n+Math.imul(Te,ti)|0)+Math.imul(oe,Gt)|0,b=b+Math.imul(oe,ti)|0,g=g+Math.imul(_e,rt)|0,n=(n=n+Math.imul(_e,vt)|0)+Math.imul(se,rt)|0,b=b+Math.imul(se,vt)|0,g=g+Math.imul(Ie,Ut)|0,n=(n=n+Math.imul(Ie,Vt)|0)+Math.imul(xe,Ut)|0,b=b+Math.imul(xe,Vt)|0,g=g+Math.imul(Ke,je)|0,n=(n=n+Math.imul(Ke,Fe)|0)+Math.imul(qe,je)|0,b=b+Math.imul(qe,Fe)|0;var mi=(k+(g=g+Math.imul(V,Je)|0)|0)+((8191&(n=(n=n+Math.imul(V,Tt)|0)+Math.imul(j,Je)|0))<<13)|0;k=((b=b+Math.imul(j,Tt)|0)+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,g=Math.imul(_t,Pe),n=(n=Math.imul(_t,tt))+Math.imul(ne,Pe)|0,b=Math.imul(ne,tt),g=g+Math.imul(wt,Lt)|0,n=(n=n+Math.imul(wt,Ht)|0)+Math.imul(it,Lt)|0,b=b+Math.imul(it,Ht)|0,g=g+Math.imul(ke,Me)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ht,Me)|0,b=b+Math.imul(ht,J)|0,g=g+Math.imul(q,Re)|0,n=(n=n+Math.imul(q,at)|0)+Math.imul(de,Re)|0,b=b+Math.imul(de,at)|0,g=g+Math.imul(te,Gt)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ue,Gt)|0,b=b+Math.imul(Ue,ti)|0,g=g+Math.imul(Te,rt)|0,n=(n=n+Math.imul(Te,vt)|0)+Math.imul(oe,rt)|0,b=b+Math.imul(oe,vt)|0,g=g+Math.imul(_e,Ut)|0,n=(n=n+Math.imul(_e,Vt)|0)+Math.imul(se,Ut)|0,b=b+Math.imul(se,Vt)|0,g=g+Math.imul(Ie,je)|0,n=(n=n+Math.imul(Ie,Fe)|0)+Math.imul(xe,je)|0,b=b+Math.imul(xe,Fe)|0;var Mi=(k+(g=g+Math.imul(Ke,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Ke,Tt)|0)+Math.imul(qe,Je)|0))<<13)|0;k=((b=b+Math.imul(qe,Tt)|0)+(n>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,g=Math.imul(_t,Lt),n=(n=Math.imul(_t,Ht))+Math.imul(ne,Lt)|0,b=Math.imul(ne,Ht),g=g+Math.imul(wt,Me)|0,n=(n=n+Math.imul(wt,J)|0)+Math.imul(it,Me)|0,b=b+Math.imul(it,J)|0,g=g+Math.imul(ke,Re)|0,n=(n=n+Math.imul(ke,at)|0)+Math.imul(ht,Re)|0,b=b+Math.imul(ht,at)|0,g=g+Math.imul(q,Gt)|0,n=(n=n+Math.imul(q,ti)|0)+Math.imul(de,Gt)|0,b=b+Math.imul(de,ti)|0,g=g+Math.imul(te,rt)|0,n=(n=n+Math.imul(te,vt)|0)+Math.imul(Ue,rt)|0,b=b+Math.imul(Ue,vt)|0,g=g+Math.imul(Te,Ut)|0,n=(n=n+Math.imul(Te,Vt)|0)+Math.imul(oe,Ut)|0,b=b+Math.imul(oe,Vt)|0,g=g+Math.imul(_e,je)|0,n=(n=n+Math.imul(_e,Fe)|0)+Math.imul(se,je)|0,b=b+Math.imul(se,Fe)|0;var Pi=(k+(g=g+Math.imul(Ie,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Tt)|0)+Math.imul(xe,Je)|0))<<13)|0;k=((b=b+Math.imul(xe,Tt)|0)+(n>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,g=Math.imul(_t,Me),n=(n=Math.imul(_t,J))+Math.imul(ne,Me)|0,b=Math.imul(ne,J),g=g+Math.imul(wt,Re)|0,n=(n=n+Math.imul(wt,at)|0)+Math.imul(it,Re)|0,b=b+Math.imul(it,at)|0,g=g+Math.imul(ke,Gt)|0,n=(n=n+Math.imul(ke,ti)|0)+Math.imul(ht,Gt)|0,b=b+Math.imul(ht,ti)|0,g=g+Math.imul(q,rt)|0,n=(n=n+Math.imul(q,vt)|0)+Math.imul(de,rt)|0,b=b+Math.imul(de,vt)|0,g=g+Math.imul(te,Ut)|0,n=(n=n+Math.imul(te,Vt)|0)+Math.imul(Ue,Ut)|0,b=b+Math.imul(Ue,Vt)|0,g=g+Math.imul(Te,je)|0,n=(n=n+Math.imul(Te,Fe)|0)+Math.imul(oe,je)|0,b=b+Math.imul(oe,Fe)|0;var Wi=(k+(g=g+Math.imul(_e,Je)|0)|0)+((8191&(n=(n=n+Math.imul(_e,Tt)|0)+Math.imul(se,Je)|0))<<13)|0;k=((b=b+Math.imul(se,Tt)|0)+(n>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,g=Math.imul(_t,Re),n=(n=Math.imul(_t,at))+Math.imul(ne,Re)|0,b=Math.imul(ne,at),g=g+Math.imul(wt,Gt)|0,n=(n=n+Math.imul(wt,ti)|0)+Math.imul(it,Gt)|0,b=b+Math.imul(it,ti)|0,g=g+Math.imul(ke,rt)|0,n=(n=n+Math.imul(ke,vt)|0)+Math.imul(ht,rt)|0,b=b+Math.imul(ht,vt)|0,g=g+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,Vt)|0)+Math.imul(de,Ut)|0,b=b+Math.imul(de,Vt)|0,g=g+Math.imul(te,je)|0,n=(n=n+Math.imul(te,Fe)|0)+Math.imul(Ue,je)|0,b=b+Math.imul(Ue,Fe)|0;var Zt=(k+(g=g+Math.imul(Te,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Te,Tt)|0)+Math.imul(oe,Je)|0))<<13)|0;k=((b=b+Math.imul(oe,Tt)|0)+(n>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,g=Math.imul(_t,Gt),n=(n=Math.imul(_t,ti))+Math.imul(ne,Gt)|0,b=Math.imul(ne,ti),g=g+Math.imul(wt,rt)|0,n=(n=n+Math.imul(wt,vt)|0)+Math.imul(it,rt)|0,b=b+Math.imul(it,vt)|0,g=g+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,Vt)|0)+Math.imul(ht,Ut)|0,b=b+Math.imul(ht,Vt)|0,g=g+Math.imul(q,je)|0,n=(n=n+Math.imul(q,Fe)|0)+Math.imul(de,je)|0,b=b+Math.imul(de,Fe)|0;var oi=(k+(g=g+Math.imul(te,Je)|0)|0)+((8191&(n=(n=n+Math.imul(te,Tt)|0)+Math.imul(Ue,Je)|0))<<13)|0;k=((b=b+Math.imul(Ue,Tt)|0)+(n>>>13)|0)+(oi>>>26)|0,oi&=67108863,g=Math.imul(_t,rt),n=(n=Math.imul(_t,vt))+Math.imul(ne,rt)|0,b=Math.imul(ne,vt),g=g+Math.imul(wt,Ut)|0,n=(n=n+Math.imul(wt,Vt)|0)+Math.imul(it,Ut)|0,b=b+Math.imul(it,Vt)|0,g=g+Math.imul(ke,je)|0,n=(n=n+Math.imul(ke,Fe)|0)+Math.imul(ht,je)|0,b=b+Math.imul(ht,Fe)|0;var ge=(k+(g=g+Math.imul(q,Je)|0)|0)+((8191&(n=(n=n+Math.imul(q,Tt)|0)+Math.imul(de,Je)|0))<<13)|0;k=((b=b+Math.imul(de,Tt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,g=Math.imul(_t,Ut),n=(n=Math.imul(_t,Vt))+Math.imul(ne,Ut)|0,b=Math.imul(ne,Vt),g=g+Math.imul(wt,je)|0,n=(n=n+Math.imul(wt,Fe)|0)+Math.imul(it,je)|0,b=b+Math.imul(it,Fe)|0;var Xe=(k+(g=g+Math.imul(ke,Je)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Tt)|0)+Math.imul(ht,Je)|0))<<13)|0;k=((b=b+Math.imul(ht,Tt)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,g=Math.imul(_t,je),n=(n=Math.imul(_t,Fe))+Math.imul(ne,je)|0,b=Math.imul(ne,Fe);var St=(k+(g=g+Math.imul(wt,Je)|0)|0)+((8191&(n=(n=n+Math.imul(wt,Tt)|0)+Math.imul(it,Je)|0))<<13)|0;k=((b=b+Math.imul(it,Tt)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863;var pt=(k+(g=Math.imul(_t,Je))|0)+((8191&(n=(n=Math.imul(_t,Tt))+Math.imul(ne,Je)|0))<<13)|0;return k=((b=Math.imul(ne,Tt))+(n>>>13)|0)+(pt>>>26)|0,pt&=67108863,A[0]=ui,A[1]=Ei,A[2]=xi,A[3]=Vi,A[4]=$e,A[5]=Mt,A[6]=ye,A[7]=Ot,A[8]=Kt,A[9]=mi,A[10]=Mi,A[11]=Pi,A[12]=Wi,A[13]=Zt,A[14]=oi,A[15]=ge,A[16]=Xe,A[17]=St,A[18]=pt,0!==k&&(A[19]=k,h.length++),h};function W(T,i,r){return(new Y).mulp(T,i,r)}function Y(T,i){this.x=T,this.y=i}Math.imul||(z=N),o.prototype.mulTo=function(i,r){var h,l=this.length+i.length;return h=10===this.length&&10===i.length?z(this,i,r):l<63?N(this,i,r):l<1024?function G(T,i,r){r.negative=i.negative^T.negative,r.length=T.length+i.length;for(var h=0,l=0,y=0;y<r.length-1;y++){var A=l;l=0;for(var k=67108863&h,g=Math.min(y,i.length-1),n=Math.max(0,y-T.length+1);n<=g;n++){var j=(0|T.words[y-n])*(0|i.words[n]),Ae=67108863&j;k=67108863&(Ae=Ae+k|0),l+=(A=(A=A+(j/67108864|0)|0)+(Ae>>>26)|0)>>>26,A&=67108863}r.words[y]=k,h=A,A=l}return 0!==h?r.words[y]=h:r.length--,r.strip()}(this,i,r):W(this,i,r),h},Y.prototype.makeRBT=function(i){for(var r=new Array(i),h=o.prototype._countBits(i)-1,l=0;l<i;l++)r[l]=this.revBin(l,h,i);return r},Y.prototype.revBin=function(i,r,h){if(0===i||i===h-1)return i;for(var l=0,y=0;y<r;y++)l|=(1&i)<<r-y-1,i>>=1;return l},Y.prototype.permute=function(i,r,h,l,y,A){for(var k=0;k<A;k++)l[k]=r[i[k]],y[k]=h[i[k]]},Y.prototype.transform=function(i,r,h,l,y,A){this.permute(A,i,r,h,l,y);for(var k=1;k<y;k<<=1)for(var g=k<<1,n=Math.cos(2*Math.PI/g),b=Math.sin(2*Math.PI/g),U=0;U<y;U+=g)for(var V=n,j=b,Ae=0;Ae<k;Ae++){var Ke=h[U+Ae],qe=l[U+Ae],ct=h[U+Ae+k],Ie=l[U+Ae+k],xe=V*ct-j*Ie;Ie=V*Ie+j*ct,h[U+Ae]=Ke+(ct=xe),l[U+Ae]=qe+Ie,h[U+Ae+k]=Ke-ct,l[U+Ae+k]=qe-Ie,Ae!==g&&(xe=n*V-b*j,j=n*j+b*V,V=xe)}},Y.prototype.guessLen13b=function(i,r){var h=1|Math.max(r,i),l=1&h,y=0;for(h=h/2|0;h;h>>>=1)y++;return 1<<y+1+l},Y.prototype.conjugate=function(i,r,h){if(!(h<=1))for(var l=0;l<h/2;l++){var y=i[l];i[l]=i[h-l-1],i[h-l-1]=y,y=r[l],r[l]=-r[h-l-1],r[h-l-1]=-y}},Y.prototype.normalize13b=function(i,r){for(var h=0,l=0;l<r/2;l++){var y=8192*Math.round(i[2*l+1]/r)+Math.round(i[2*l]/r)+h;i[l]=67108863&y,h=y<67108864?0:y/67108864|0}return i},Y.prototype.convert13b=function(i,r,h,l){for(var y=0,A=0;A<r;A++)h[2*A]=8191&(y+=0|i[A]),h[2*A+1]=8191&(y>>>=13),y>>>=13;for(A=2*r;A<l;++A)h[A]=0;v(0===y),v(0==(-8192&y))},Y.prototype.stub=function(i){for(var r=new Array(i),h=0;h<i;h++)r[h]=0;return r},Y.prototype.mulp=function(i,r,h){var l=2*this.guessLen13b(i.length,r.length),y=this.makeRBT(l),A=this.stub(l),k=new Array(l),g=new Array(l),n=new Array(l),b=new Array(l),U=new Array(l),V=new Array(l),j=h.words;j.length=l,this.convert13b(i.words,i.length,k,l),this.convert13b(r.words,r.length,b,l),this.transform(k,A,g,n,l,y),this.transform(b,A,U,V,l,y);for(var Ae=0;Ae<l;Ae++){var Ke=g[Ae]*U[Ae]-n[Ae]*V[Ae];n[Ae]=g[Ae]*V[Ae]+n[Ae]*U[Ae],g[Ae]=Ke}return this.conjugate(g,n,l),this.transform(g,n,j,A,l,y),this.conjugate(j,A,l),this.normalize13b(j,l),h.negative=i.negative^r.negative,h.length=i.length+r.length,h.strip()},o.prototype.mul=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),this.mulTo(i,r)},o.prototype.mulf=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),W(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){v("number"==typeof i),v(i<67108864);for(var r=0,h=0;h<this.length;h++){var l=(0|this.words[h])*i,y=(67108863&l)+(67108863&r);r>>=26,r+=l/67108864|0,r+=y>>>26,this.words[h]=67108863&y}return 0!==r&&(this.words[h]=r,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var r=function E(T){for(var i=new Array(T.bitLength()),r=0;r<i.length;r++){var l=r%26;i[r]=(T.words[r/26|0]&1<<l)>>>l}return i}(i);if(0===r.length)return new o(1);for(var h=this,l=0;l<r.length&&0===r[l];l++,h=h.sqr());if(++l<r.length)for(var y=h.sqr();l<r.length;l++,y=y.sqr())0!==r[l]&&(h=h.mul(y));return h},o.prototype.iushln=function(i){v("number"==typeof i&&i>=0);var y,r=i%26,h=(i-r)/26,l=67108863>>>26-r<<26-r;if(0!==r){var A=0;for(y=0;y<this.length;y++){var k=this.words[y]&l;this.words[y]=(0|this.words[y])-k<<r|A,A=k>>>26-r}A&&(this.words[y]=A,this.length++)}if(0!==h){for(y=this.length-1;y>=0;y--)this.words[y+h]=this.words[y];for(y=0;y<h;y++)this.words[y]=0;this.length+=h}return this.strip()},o.prototype.ishln=function(i){return v(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,h){var l;v("number"==typeof i&&i>=0),l=r?(r-r%26)/26:0;var y=i%26,A=Math.min((i-y)/26,this.length),k=67108863^67108863>>>y<<y,g=h;if(l-=A,l=Math.max(0,l),g){for(var n=0;n<A;n++)g.words[n]=this.words[n];g.length=A}if(0!==A)if(this.length>A)for(this.length-=A,n=0;n<this.length;n++)this.words[n]=this.words[n+A];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=l);n--){var U=0|this.words[n];this.words[n]=b<<26-y|U>>>y,b=U&k}return g&&0!==b&&(g.words[g.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,h){return v(0===this.negative),this.iushrn(i,r,h)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){v("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return!(this.length<=h||!(this.words[h]&1<<r))},o.prototype.imaskn=function(i){v("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return v(0===this.negative,"imaskn works only with positive numbers"),this.length<=h?this:(0!==r&&h++,this.length=Math.min(h,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return v("number"==typeof i),v(i<67108864),i<0?this.isubn(-i):0!==this.negative?1===this.length&&(0|this.words[0])<i?(this.words[0]=i-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},o.prototype.isubn=function(i){if(v("number"==typeof i),v(i<67108864),i<0)return this.iaddn(-i);if(0!==this.negative)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,r,h){var y;this._expand(i.length+h);var A,k=0;for(y=0;y<i.length;y++){A=(0|this.words[y+h])+k;var g=(0|i.words[y])*r;k=((A-=67108863&g)>>26)-(g/67108864|0),this.words[y+h]=67108863&A}for(;y<this.length-h;y++)k=(A=(0|this.words[y+h])+k)>>26,this.words[y+h]=67108863&A;if(0===k)return this.strip();for(v(-1===k),k=0,y=0;y<this.length;y++)k=(A=-(0|this.words[y])+k)>>26,this.words[y]=67108863&A;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var h,l=this.clone(),y=i,A=0|y.words[y.length-1];0!=(h=26-this._countBits(A))&&(y=y.ushln(h),l.iushln(h),A=0|y.words[y.length-1]);var n,g=l.length-y.length;if("mod"!==r){(n=new o(null)).length=g+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var U=l.clone()._ishlnsubmul(y,1,g);0===U.negative&&(l=U,n&&(n.words[g]=1));for(var V=g-1;V>=0;V--){var j=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(j=Math.min(j/A|0,67108863),l._ishlnsubmul(y,j,V);0!==l.negative;)j--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=j)}return n&&n.strip(),l.strip(),"div"!==r&&0!==h&&l.iushrn(h),{div:n||null,mod:l}},o.prototype.divmod=function(i,r,h){return v(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(A=this.neg().divmod(i,r),"mod"!==r&&(l=A.div.neg()),"div"!==r&&(y=A.mod.neg(),h&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(A=this.divmod(i.neg(),r),"mod"!==r&&(l=A.div.neg()),{div:l,mod:A.mod}):0!=(this.negative&i.negative)?(A=this.neg().divmod(i.neg(),r),"div"!==r&&(y=A.mod.neg(),h&&0!==y.negative&&y.isub(i)),{div:A.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:1===i.length?"div"===r?{div:this.divn(i.words[0]),mod:null}:"mod"===r?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,r);var l,y,A},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var r=this.divmod(i);if(r.mod.isZero())return r.div;var h=0!==r.div.negative?r.mod.isub(i):r.mod,l=i.ushrn(1),y=i.andln(1),A=h.cmp(l);return A<0||1===y&&0===A?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){v(i<=67108863);for(var r=(1<<26)%i,h=0,l=this.length-1;l>=0;l--)h=(r*h+(0|this.words[l]))%i;return h},o.prototype.idivn=function(i){v(i<=67108863);for(var r=0,h=this.length-1;h>=0;h--){var l=(0|this.words[h])+67108864*r;this.words[h]=l/i|0,r=l%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){v(0===i.negative),v(!i.isZero());var r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var l=new o(1),y=new o(0),A=new o(0),k=new o(1),g=0;r.isEven()&&h.isEven();)r.iushrn(1),h.iushrn(1),++g;for(var n=h.clone(),b=r.clone();!r.isZero();){for(var U=0,V=1;0==(r.words[0]&V)&&U<26;++U,V<<=1);if(U>0)for(r.iushrn(U);U-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(b)),l.iushrn(1),y.iushrn(1);for(var j=0,Ae=1;0==(h.words[0]&Ae)&&j<26;++j,Ae<<=1);if(j>0)for(h.iushrn(j);j-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(n),k.isub(b)),A.iushrn(1),k.iushrn(1);r.cmp(h)>=0?(r.isub(h),l.isub(A),y.isub(k)):(h.isub(r),A.isub(l),k.isub(y))}return{a:A,b:k,gcd:h.iushln(g)}},o.prototype._invmp=function(i){v(0===i.negative),v(!i.isZero());var U,r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var l=new o(1),y=new o(0),A=h.clone();r.cmpn(1)>0&&h.cmpn(1)>0;){for(var k=0,g=1;0==(r.words[0]&g)&&k<26;++k,g<<=1);if(k>0)for(r.iushrn(k);k-- >0;)l.isOdd()&&l.iadd(A),l.iushrn(1);for(var n=0,b=1;0==(h.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(h.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(A),y.iushrn(1);r.cmp(h)>=0?(r.isub(h),l.isub(y)):(h.isub(r),y.isub(l))}return(U=0===r.cmpn(1)?l:y).cmpn(0)<0&&U.iadd(i),U},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),h=i.clone();r.negative=0,h.negative=0;for(var l=0;r.isEven()&&h.isEven();l++)r.iushrn(1),h.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;h.isEven();)h.iushrn(1);var y=r.cmp(h);if(y<0){var A=r;r=h,h=A}else if(0===y||0===h.cmpn(1))break;r.isub(h)}return h.iushln(l)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){v("number"==typeof i);var r=i%26,h=(i-r)/26,l=1<<r;if(this.length<=h)return this._expand(h+1),this.words[h]|=l,this;for(var y=l,A=h;0!==y&&A<this.length;A++){var k=0|this.words[A];y=(k+=y)>>>26,this.words[A]=k&=67108863}return 0!==y&&(this.words[A]=y,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var h,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)h=1;else{r&&(i=-i),v(i<=67108863,"Number is too big");var l=0|this.words[0];h=l===i?0:l<i?-1:1}return 0!==this.negative?0|-h:h},o.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var r=this.ucmp(i);return 0!==this.negative?0|-r:r},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var r=0,h=this.length-1;h>=0;h--){var l=0|this.words[h],y=0|i.words[h];if(l!==y){l<y?r=-1:l>y&&(r=1);break}}return r},o.prototype.gtn=function(i){return 1===this.cmpn(i)},o.prototype.gt=function(i){return 1===this.cmp(i)},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return-1===this.cmpn(i)},o.prototype.lt=function(i){return-1===this.cmp(i)},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return 0===this.cmpn(i)},o.prototype.eq=function(i){return 0===this.cmp(i)},o.red=function(i){return new $(i)},o.prototype.toRed=function(i){return v(!this.red,"Already a number in reduction context"),v(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return v(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return v(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return v(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return v(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return v(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return v(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return v(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return v(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return v(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return v(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return v(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return v(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return v(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var X={k256:null,p224:null,p192:null,p25519:null};function ee(T,i){this.name=T,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ue(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function he(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(T){if("string"==typeof T){var i=o._prime(T);this.m=i.p,this.prime=i}else v(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function fe(T){$.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}ee.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},ee.prototype.ireduce=function(i){var h,r=i;do{this.split(r,this.tmp),h=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(h>this.n);var l=h<this.n?-1:r.ucmp(this.p);return 0===l?(r.words[0]=0,r.length=1):l>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},ee.prototype.split=function(i,r){i.iushrn(this.n,0,r)},ee.prototype.imulK=function(i){return i.imul(this.k)},D(ue,ee),ue.prototype.split=function(i,r){for(var h=4194303,l=Math.min(i.length,9),y=0;y<l;y++)r.words[y]=i.words[y];if(r.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var A=i.words[9];for(r.words[r.length++]=A&h,y=10;y<i.length;y++){var k=0|i.words[y];i.words[y-10]=(k&h)<<4|A>>>22,A=k}i.words[y-10]=A>>>=22,i.length-=0===A&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,h=0;h<i.length;h++){var l=0|i.words[h];i.words[h]=67108863&(r+=977*l),r=64*l+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},D(he,ee),D(ie,ee),D(ce,ee),ce.prototype.imulK=function(i){for(var r=0,h=0;h<i.length;h++){var l=19*(0|i.words[h])+r,y=67108863&l;l>>>=26,i.words[h]=y,r=l}return 0!==r&&(i.words[i.length++]=r),i},o._prime=function(i){if(X[i])return X[i];var r;if("k256"===i)r=new ue;else if("p224"===i)r=new he;else if("p192"===i)r=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},$.prototype._verify1=function(i){v(0===i.negative,"red works only with positives"),v(i.red,"red works only with red numbers")},$.prototype._verify2=function(i,r){v(0==(i.negative|r.negative),"red works only with positives"),v(i.red&&i.red===r.red,"red works only with red numbers")},$.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},$.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},$.prototype.add=function(i,r){this._verify2(i,r);var h=i.add(r);return h.cmp(this.m)>=0&&h.isub(this.m),h._forceRed(this)},$.prototype.iadd=function(i,r){this._verify2(i,r);var h=i.iadd(r);return h.cmp(this.m)>=0&&h.isub(this.m),h},$.prototype.sub=function(i,r){this._verify2(i,r);var h=i.sub(r);return h.cmpn(0)<0&&h.iadd(this.m),h._forceRed(this)},$.prototype.isub=function(i,r){this._verify2(i,r);var h=i.isub(r);return h.cmpn(0)<0&&h.iadd(this.m),h},$.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},$.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},$.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},$.prototype.isqr=function(i){return this.imul(i,i.clone())},$.prototype.sqr=function(i){return this.mul(i,i)},$.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(v(r%2==1),3===r){var h=this.m.add(new o(1)).iushrn(2);return this.pow(i,h)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);v(!l.isZero());var A=new o(1).toRed(this),k=A.redNeg(),g=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,g).cmp(k);)n.redIAdd(k);for(var b=this.pow(n,l),U=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),j=y;0!==V.cmp(A);){for(var Ae=V,Ke=0;0!==Ae.cmp(A);Ke++)Ae=Ae.redSqr();v(Ke<j);var qe=this.pow(b,new o(1).iushln(j-Ke-1));U=U.redMul(qe),b=qe.redSqr(),V=V.redMul(b),j=Ke}return U},$.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},$.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var l=new Array(16);l[0]=new o(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var A=l[0],k=0,g=0,n=r.bitLength()%26;for(0===n&&(n=26),y=r.length-1;y>=0;y--){for(var b=r.words[y],U=n-1;U>=0;U--){var V=b>>U&1;A!==l[0]&&(A=this.sqr(A)),0!==V||0!==k?(k<<=1,k|=V,(4==++g||0===y&&0===U)&&(A=this.mul(A,l[k]),g=0,k=0)):g=0}n=26}return A},$.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},$.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new fe(i)},D(fe,$),fe.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},fe.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},fe.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var h=i.imul(r),l=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(l).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},fe.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var h=i.mul(r),l=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(l).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},fe.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ve=m.nmd(Ve),this)},6386:(Ve,Q,m)=>{"use strict";var t=m(3894),e=m(8095),v=m(5634),D=m(5244),o=m(1052);function C(u){o.call(this,"digest"),this._hash=u}t(C,o),C.prototype._update=function(u){this._hash.update(u)},C.prototype._final=function(){return this._hash.digest()},Ve.exports=function(P){return"md5"===(P=P.toLowerCase())?new e:"rmd160"===P||"ripemd160"===P?new v:new C(D(P))}},5640:(Ve,Q,m)=>{var t=m(8095);Ve.exports=function(e){return(new t).update(e).digest()}},4529:(Ve,Q,m)=>{"use strict";var t=m(3894),e=m(7309),v=m(1052),D=m(3502).Buffer,o=m(5640),C=m(5634),u=m(5244),P=D.alloc(128);function d(S,w){v.call(this,"digest"),"string"==typeof w&&(w=D.from(w));var I="sha512"===S||"sha384"===S?128:64;this._alg=S,this._key=w,w.length>I?w=("rmd160"===S?new C:u(S)).update(w).digest():w.length<I&&(w=D.concat([w,P],I));for(var N=this._ipad=D.allocUnsafe(I),z=this._opad=D.allocUnsafe(I),G=0;G<I;G++)N[G]=54^w[G],z[G]=92^w[G];this._hash="rmd160"===S?new C:u(S),this._hash.update(N)}t(d,v),d.prototype._update=function(S){this._hash.update(S)},d.prototype._final=function(){var S=this._hash.digest();return("rmd160"===this._alg?new C:u(this._alg)).update(this._opad).update(S).digest()},Ve.exports=function(w,I){return"rmd160"===(w=w.toLowerCase())||"ripemd160"===w?new d("rmd160",I):"md5"===w?new e(o,I):new d(w,I)}},7309:(Ve,Q,m)=>{"use strict";var t=m(3894),e=m(3502).Buffer,v=m(1052),D=e.alloc(128),o=64;function C(u,P){v.call(this,"digest"),"string"==typeof P&&(P=e.from(P)),this._alg=u,this._key=P,P.length>o?P=u(P):P.length<o&&(P=e.concat([P,D],o));for(var d=this._ipad=e.allocUnsafe(o),S=this._opad=e.allocUnsafe(o),w=0;w<o;w++)d[w]=54^P[w],S[w]=92^P[w];this._hash=[d]}t(C,v),C.prototype._update=function(u){this._hash.push(u)},C.prototype._final=function(){var u=this._alg(e.concat(this._hash));return this._alg(e.concat([this._opad,u]))},Ve.exports=C},1348:(Ve,Q,m)=>{"use strict";Q.randomBytes=Q.rng=Q.pseudoRandomBytes=Q.prng=m(3753),Q.createHash=Q.Hash=m(6386),Q.createHmac=Q.Hmac=m(4529);var t=m(7793),e=Object.keys(t),v=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(e);Q.getHashes=function(){return v};var D=m(9357);Q.pbkdf2=D.pbkdf2,Q.pbkdf2Sync=D.pbkdf2Sync;var o=m(5255);Q.Cipher=o.Cipher,Q.createCipher=o.createCipher,Q.Cipheriv=o.Cipheriv,Q.createCipheriv=o.createCipheriv,Q.Decipher=o.Decipher,Q.createDecipher=o.createDecipher,Q.Decipheriv=o.Decipheriv,Q.createDecipheriv=o.createDecipheriv,Q.getCiphers=o.getCiphers,Q.listCiphers=o.listCiphers;var C=m(8829);Q.DiffieHellmanGroup=C.DiffieHellmanGroup,Q.createDiffieHellmanGroup=C.createDiffieHellmanGroup,Q.getDiffieHellman=C.getDiffieHellman,Q.createDiffieHellman=C.createDiffieHellman,Q.DiffieHellman=C.DiffieHellman;var u=m(3923);Q.createSign=u.createSign,Q.Sign=u.Sign,Q.createVerify=u.createVerify,Q.Verify=u.Verify,Q.createECDH=m(4746);var P=m(3701);Q.publicEncrypt=P.publicEncrypt,Q.privateEncrypt=P.privateEncrypt,Q.publicDecrypt=P.publicDecrypt,Q.privateDecrypt=P.privateDecrypt;var d=m(4275);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}},3684:(Ve,Q,m)=>{"use strict";Q.utils=m(7451),Q.Cipher=m(8170),Q.DES=m(4631),Q.CBC=m(9454),Q.EDE=m(1862)},9454:(Ve,Q,m)=>{"use strict";var t=m(2391),e=m(3894),v={};function D(C){t.equal(C.length,8,"Invalid IV length"),this.iv=new Array(8);for(var u=0;u<this.iv.length;u++)this.iv[u]=C[u]}Q.instantiate=function o(C){function u(w){C.call(this,w),this._cbcInit()}e(u,C);for(var P=Object.keys(v),d=0;d<P.length;d++){var S=P[d];u.prototype[S]=v[S]}return u.create=function(I){return new u(I)},u},v._cbcInit=function(){var u=new D(this.options.iv);this._cbcState=u},v._update=function(u,P,d,S){var I=this.constructor.super_.prototype,E=this._cbcState.iv;if("encrypt"===this.type){for(var N=0;N<this.blockSize;N++)E[N]^=u[P+N];for(I._update.call(this,E,0,d,S),N=0;N<this.blockSize;N++)E[N]=d[S+N]}else{for(I._update.call(this,u,P,d,S),N=0;N<this.blockSize;N++)d[S+N]^=E[N];for(N=0;N<this.blockSize;N++)E[N]=u[P+N]}}},8170:(Ve,Q,m)=>{"use strict";var t=m(2391);function e(v){this.options=v,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}Ve.exports=e,e.prototype._init=function(){},e.prototype.update=function(D){return 0===D.length?[]:"decrypt"===this.type?this._updateDecrypt(D):this._updateEncrypt(D)},e.prototype._buffer=function(D,o){for(var C=Math.min(this.buffer.length-this.bufferOff,D.length-o),u=0;u<C;u++)this.buffer[this.bufferOff+u]=D[o+u];return this.bufferOff+=C,C},e.prototype._flushBuffer=function(D,o){return this._update(this.buffer,0,D,o),this.bufferOff=0,this.blockSize},e.prototype._updateEncrypt=function(D){var o=0,C=0,P=new Array(((this.bufferOff+D.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(o+=this._buffer(D,o),this.bufferOff===this.buffer.length&&(C+=this._flushBuffer(P,C)));for(var d=D.length-(D.length-o)%this.blockSize;o<d;o+=this.blockSize)this._update(D,o,P,C),C+=this.blockSize;for(;o<D.length;o++,this.bufferOff++)this.buffer[this.bufferOff]=D[o];return P},e.prototype._updateDecrypt=function(D){for(var o=0,C=0,u=Math.ceil((this.bufferOff+D.length)/this.blockSize)-1,P=new Array(u*this.blockSize);u>0;u--)o+=this._buffer(D,o),C+=this._flushBuffer(P,C);return o+=this._buffer(D,o),P},e.prototype.final=function(D){var o,C;return D&&(o=this.update(D)),C="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),o?o.concat(C):C},e.prototype._pad=function(D,o){if(0===o)return!1;for(;o<D.length;)D[o++]=0;return!0},e.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var D=new Array(this.blockSize);return this._update(this.buffer,0,D,0),D},e.prototype._unpad=function(D){return D},e.prototype._finalDecrypt=function(){t.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var D=new Array(this.blockSize);return this._flushBuffer(D,0),this._unpad(D)}},4631:(Ve,Q,m)=>{"use strict";var t=m(2391),e=m(3894),v=m(7451),D=m(8170);function o(){this.tmp=new Array(2),this.keys=null}function C(P){D.call(this,P);var d=new o;this._desState=d,this.deriveKeys(d,P.key)}e(C,D),Ve.exports=C,C.create=function(d){return new C(d)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];C.prototype.deriveKeys=function(d,S){d.keys=new Array(32),t.equal(S.length,this.blockSize,"Invalid key length");var w=v.readUInt32BE(S,0),I=v.readUInt32BE(S,4);v.pc1(w,I,d.tmp,0),w=d.tmp[0],I=d.tmp[1];for(var E=0;E<d.keys.length;E+=2){var N=u[E>>>1];w=v.r28shl(w,N),I=v.r28shl(I,N),v.pc2(w,I,d.keys,E)}},C.prototype._update=function(d,S,w,I){var E=this._desState,N=v.readUInt32BE(d,S),z=v.readUInt32BE(d,S+4);v.ip(N,z,E.tmp,0),N=E.tmp[0],z=E.tmp[1],"encrypt"===this.type?this._encrypt(E,N,z,E.tmp,0):this._decrypt(E,N,z,E.tmp,0),z=E.tmp[1],v.writeUInt32BE(w,N=E.tmp[0],I),v.writeUInt32BE(w,z,I+4)},C.prototype._pad=function(d,S){for(var w=d.length-S,I=S;I<d.length;I++)d[I]=w;return!0},C.prototype._unpad=function(d){for(var S=d[d.length-1],w=d.length-S;w<d.length;w++)t.equal(d[w],S);return d.slice(0,d.length-S)},C.prototype._encrypt=function(d,S,w,I,E){for(var N=S,z=w,G=0;G<d.keys.length;G+=2){var W=d.keys[G],Y=d.keys[G+1];v.expand(z,d.tmp,0);var X=v.substitute(W^=d.tmp[0],Y^=d.tmp[1]),ue=z;z=(N^v.permute(X))>>>0,N=ue}v.rip(z,N,I,E)},C.prototype._decrypt=function(d,S,w,I,E){for(var N=w,z=S,G=d.keys.length-2;G>=0;G-=2){var W=d.keys[G],Y=d.keys[G+1];v.expand(N,d.tmp,0);var X=v.substitute(W^=d.tmp[0],Y^=d.tmp[1]),ue=N;N=(z^v.permute(X))>>>0,z=ue}v.rip(N,z,I,E)}},1862:(Ve,Q,m)=>{"use strict";var t=m(2391),e=m(3894),v=m(8170),D=m(4631);function o(u,P){t.equal(P.length,24,"Invalid key length");var d=P.slice(0,8),S=P.slice(8,16),w=P.slice(16,24);this.ciphers="encrypt"===u?[D.create({type:"encrypt",key:d}),D.create({type:"decrypt",key:S}),D.create({type:"encrypt",key:w})]:[D.create({type:"decrypt",key:w}),D.create({type:"encrypt",key:S}),D.create({type:"decrypt",key:d})]}function C(u){v.call(this,u);var P=new o(this.type,this.options.key);this._edeState=P}e(C,v),Ve.exports=C,C.create=function(P){return new C(P)},C.prototype._update=function(P,d,S,w){var I=this._edeState;I.ciphers[0]._update(P,d,S,w),I.ciphers[1]._update(S,w,S,w),I.ciphers[2]._update(S,w,S,w)},C.prototype._pad=D.prototype._pad,C.prototype._unpad=D.prototype._unpad},7451:(Ve,Q)=>{"use strict";Q.readUInt32BE=function(D,o){return(D[0+o]<<24|D[1+o]<<16|D[2+o]<<8|D[3+o])>>>0},Q.writeUInt32BE=function(D,o,C){D[0+C]=o>>>24,D[1+C]=o>>>16&255,D[2+C]=o>>>8&255,D[3+C]=255&o},Q.ip=function(D,o,C,u){for(var P=0,d=0,S=6;S>=0;S-=2){for(var w=0;w<=24;w+=8)P<<=1,P|=o>>>w+S&1;for(w=0;w<=24;w+=8)P<<=1,P|=D>>>w+S&1}for(S=6;S>=0;S-=2){for(w=1;w<=25;w+=8)d<<=1,d|=o>>>w+S&1;for(w=1;w<=25;w+=8)d<<=1,d|=D>>>w+S&1}C[u+0]=P>>>0,C[u+1]=d>>>0},Q.rip=function(D,o,C,u){for(var P=0,d=0,S=0;S<4;S++)for(var w=24;w>=0;w-=8)P<<=1,P|=o>>>w+S&1,P<<=1,P|=D>>>w+S&1;for(S=4;S<8;S++)for(w=24;w>=0;w-=8)d<<=1,d|=o>>>w+S&1,d<<=1,d|=D>>>w+S&1;C[u+0]=P>>>0,C[u+1]=d>>>0},Q.pc1=function(D,o,C,u){for(var P=0,d=0,S=7;S>=5;S--){for(var w=0;w<=24;w+=8)P<<=1,P|=o>>w+S&1;for(w=0;w<=24;w+=8)P<<=1,P|=D>>w+S&1}for(w=0;w<=24;w+=8)P<<=1,P|=o>>w+S&1;for(S=1;S<=3;S++){for(w=0;w<=24;w+=8)d<<=1,d|=o>>w+S&1;for(w=0;w<=24;w+=8)d<<=1,d|=D>>w+S&1}for(w=0;w<=24;w+=8)d<<=1,d|=D>>w+S&1;C[u+0]=P>>>0,C[u+1]=d>>>0},Q.r28shl=function(D,o){return D<<o&268435455|D>>>28-o};var m=[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(D,o,C,u){for(var P=0,d=0,S=m.length>>>1,w=0;w<S;w++)P<<=1,P|=D>>>m[w]&1;for(w=S;w<m.length;w++)d<<=1,d|=o>>>m[w]&1;C[u+0]=P>>>0,C[u+1]=d>>>0},Q.expand=function(D,o,C){var u=0,P=0;u=(1&D)<<5|D>>>27;for(var d=23;d>=15;d-=4)u<<=6,u|=D>>>d&63;for(d=11;d>=3;d-=4)P|=D>>>d&63,P<<=6;P|=(31&D)<<1|D>>>31,o[C+0]=u>>>0,o[C+1]=P>>>0};var t=[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(D,o){for(var C=0,u=0;u<4;u++)C<<=4,C|=t[64*u+(D>>>18-6*u&63)];for(u=0;u<4;u++)C<<=4,C|=t[256+64*u+(o>>>18-6*u&63)];return C>>>0};var e=[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(D){for(var o=0,C=0;C<e.length;C++)o<<=1,o|=D>>>e[C]&1;return o>>>0},Q.padSplit=function(D,o,C){for(var u=D.toString(2);u.length<o;)u="0"+u;for(var P=[],d=0;d<o;d+=C)P.push(u.slice(d,d+C));return P.join(" ")}},8829:(Ve,Q,m)=>{var t=m(5563),e=m(9799),v=m(1419),o={binary:!0,hex:!0,base64:!0};Q.DiffieHellmanGroup=Q.createDiffieHellmanGroup=Q.getDiffieHellman=function D(u){var P=new Buffer(e[u].prime,"hex"),d=new Buffer(e[u].gen,"hex");return new v(P,d)},Q.createDiffieHellman=Q.DiffieHellman=function C(u,P,d,S){return Buffer.isBuffer(P)||void 0===o[P]?C(u,"binary",P,d):(P=P||"binary",S=S||"binary",d=d||new Buffer([2]),Buffer.isBuffer(d)||(d=new Buffer(d,S)),"number"==typeof u?new v(t(u,d),d,!0):(Buffer.isBuffer(u)||(u=new Buffer(u,P)),new v(u,d,!0)))}},1419:(Ve,Q,m)=>{var t=m(8313),v=new(m(7079)),D=new t(24),o=new t(11),C=new t(10),u=new t(3),P=new t(7),d=m(5563),S=m(3753);function w(W,Y){return Y=Y||"utf8",Buffer.isBuffer(W)||(W=new Buffer(W,Y)),this._pub=new t(W),this}function I(W,Y){return Y=Y||"utf8",Buffer.isBuffer(W)||(W=new Buffer(W,Y)),this._priv=new t(W),this}Ve.exports=z;var E={};function z(W,Y,X){this.setGenerator(Y),this.__prime=new t(W),this._prime=t.mont(this.__prime),this._primeLen=W.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,X?(this.setPublicKey=w,this.setPrivateKey=I):this._primeCode=8}function G(W,Y){var X=new Buffer(W.toArray());return Y?X.toString(Y):X}Object.defineProperty(z.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function N(W,Y){var X=Y.toString("hex"),ee=[X,W.toString(16)].join("_");if(ee in E)return E[ee];var he,ue=0;if(W.isEven()||!d.simpleSieve||!d.fermatTest(W)||!v.test(W))return ue+=1,E[ee]=ue+="02"===X||"05"===X?8:4,ue;switch(v.test(W.shrn(1))||(ue+=2),X){case"02":W.mod(D).cmp(o)&&(ue+=8);break;case"05":(he=W.mod(C)).cmp(u)&&he.cmp(P)&&(ue+=8);break;default:ue+=4}return E[ee]=ue,ue}(this.__prime,this.__gen)),this._primeCode}}),z.prototype.generateKeys=function(){return this._priv||(this._priv=new t(S(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},z.prototype.computeSecret=function(W){var Y=(W=(W=new t(W)).toRed(this._prime)).redPow(this._priv).fromRed(),X=new Buffer(Y.toArray()),ee=this.getPrime();if(X.length<ee.length){var ue=new Buffer(ee.length-X.length);ue.fill(0),X=Buffer.concat([ue,X])}return X},z.prototype.getPublicKey=function(Y){return G(this._pub,Y)},z.prototype.getPrivateKey=function(Y){return G(this._priv,Y)},z.prototype.getPrime=function(W){return G(this.__prime,W)},z.prototype.getGenerator=function(W){return G(this._gen,W)},z.prototype.setGenerator=function(W,Y){return Y=Y||"utf8",Buffer.isBuffer(W)||(W=new Buffer(W,Y)),this.__gen=W,this._gen=new t(W),this}},5563:(Ve,Q,m)=>{var t=m(3753);Ve.exports=ue,ue.simpleSieve=X,ue.fermatTest=ee;var e=m(8313),v=new e(24),o=new(m(7079)),C=new e(1),u=new e(2),P=new e(5),w=(new e(16),new e(8),new e(10)),I=new e(3),N=(new e(7),new e(11)),z=new e(4),W=(new e(12),null);function X(he){for(var ie=function Y(){if(null!==W)return W;var ie=[];ie[0]=2;for(var ce=1,$=3;$<1048576;$+=2){for(var fe=Math.ceil(Math.sqrt($)),T=0;T<ce&&ie[T]<=fe&&$%ie[T]!=0;T++);ce!==T&&ie[T]<=fe||(ie[ce++]=$)}return W=ie,ie}(),ce=0;ce<ie.length;ce++)if(0===he.modn(ie[ce]))return 0===he.cmpn(ie[ce]);return!0}function ee(he){var ie=e.mont(he);return 0===u.toRed(ie).redPow(he.subn(1)).fromRed().cmpn(1)}function ue(he,ie){if(he<16)return new e(2===ie||5===ie?[140,123]:[140,39]);ie=new e(ie);for(var ce,$;;){for(ce=new e(t(Math.ceil(he/8)));ce.bitLength()>he;)ce.ishrn(1);if(ce.isEven()&&ce.iadd(C),ce.testn(1)||ce.iadd(u),ie.cmp(u)){if(!ie.cmp(P))for(;ce.mod(w).cmp(I);)ce.iadd(z)}else for(;ce.mod(v).cmp(N);)ce.iadd(z);if(X($=ce.shrn(1))&&X(ce)&&ee($)&&ee(ce)&&o.test($)&&o.test(ce))return ce}}},8313:function(Ve,Q,m){!function(t,e){"use strict";function v(T,i){if(!T)throw new Error(i||"Assertion failed")}function D(T,i){T.super_=i;var r=function(){};r.prototype=i.prototype,T.prototype=new r,T.prototype.constructor=T}function o(T,i,r){if(o.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(T||0,i||10,r||"be"))}var C;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(7748).Buffer}catch{}function u(T,i){var r=T.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function P(T,i,r){var h=u(T,r);return r-1>=i&&(h|=u(T,r-1)<<4),h}function d(T,i,r,h){for(var l=0,y=Math.min(T.length,r),A=i;A<y;A++){var k=T.charCodeAt(A)-48;l*=h,l+=k>=49?k-49+10:k>=17?k-17+10:k}return l}o.isBN=function(i){return i instanceof o||null!==i&&"object"==typeof i&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,r){return i.cmp(r)>0?i:r},o.min=function(i,r){return i.cmp(r)<0?i:r},o.prototype._init=function(i,r,h){if("number"==typeof i)return this._initNumber(i,r,h);if("object"==typeof i)return this._initArray(i,r,h);"hex"===r&&(r=16),v(r===(0|r)&&r>=2&&r<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===r?this._parseHex(i,l,h):(this._parseBase(i,r,l),"le"===h&&this._initArray(this.toArray(),r,h)))},o.prototype._initNumber=function(i,r,h){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[67108863&i],this.length=1):i<4503599627370496?(this.words=[67108863&i,i/67108864&67108863],this.length=2):(v(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===h&&this._initArray(this.toArray(),r,h)},o.prototype._initArray=function(i,r,h){if(v("number"==typeof i.length),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var y,A,k=0;if("be"===h)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(A=i[l]|i[l-1]<<8|i[l-2]<<16)<<k&67108863,this.words[y+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);else if("le"===h)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(A=i[l]|i[l+1]<<8|i[l+2]<<16)<<k&67108863,this.words[y+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);return this.strip()},o.prototype._parseHex=function(i,r,h){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var k,y=0,A=0;if("be"===h)for(l=i.length-1;l>=r;l-=2)k=P(i,r,l)<<y,this.words[A]|=67108863&k,y>=18?(y-=18,this.words[A+=1]|=k>>>26):y+=8;else for(l=(i.length-r)%2==0?r+1:r;l<i.length;l+=2)k=P(i,r,l)<<y,this.words[A]|=67108863&k,y>=18?(y-=18,this.words[A+=1]|=k>>>26):y+=8;this.strip()},o.prototype._parseBase=function(i,r,h){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=r)l++;l--,y=y/r|0;for(var A=i.length-h,k=A%l,g=Math.min(A,A-k)+h,n=0,b=h;b<g;b+=l)n=d(i,b,b+l,r),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==k){var U=1;for(n=d(i,b,i.length,r),b=0;b<k;b++)U*=r;this.imuln(U),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var r=0;r<this.length;r++)i.words[r]=this.words[r];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var S=["","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"],w=[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 N(T,i,r){r.negative=i.negative^T.negative;var h=T.length+i.length|0;r.length=h,h=h-1|0;var l=0|T.words[0],y=0|i.words[0],A=l*y,g=A/67108864|0;r.words[0]=67108863&A;for(var n=1;n<h;n++){for(var b=g>>>26,U=67108863&g,V=Math.min(n,i.length-1),j=Math.max(0,n-T.length+1);j<=V;j++)b+=(A=(l=0|T.words[n-j|0])*(y=0|i.words[j])+U)/67108864|0,U=67108863&A;r.words[n]=0|U,g=0|b}return 0!==g?r.words[n]=0|g:r.length--,r.strip()}o.prototype.toString=function(i,r){var h;if(r=0|r||1,16===(i=i||10)||"hex"===i){h="";for(var l=0,y=0,A=0;A<this.length;A++){var k=this.words[A],g=(16777215&(k<<l|y)).toString(16);h=0!=(y=k>>>24-l&16777215)||A!==this.length-1?S[6-g.length]+g+h:g+h,(l+=2)>=26&&(l-=26,A--)}for(0!==y&&(h=y.toString(16)+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=I[i];h="";var U=this.clone();for(U.negative=0;!U.isZero();){var V=U.modn(b).toString(i);h=(U=U.idivn(b)).isZero()?V+h:S[n-V.length]+V+h}for(this.isZero()&&(h="0"+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}v(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return 2===this.length?i+=67108864*this.words[1]:3===this.length&&1===this.words[2]?i+=4503599627370496+67108864*this.words[1]:this.length>2&&v(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,r){return v(typeof C<"u"),this.toArrayLike(C,i,r)},o.prototype.toArray=function(i,r){return this.toArrayLike(Array,i,r)},o.prototype.toArrayLike=function(i,r,h){var l=this.byteLength(),y=h||Math.max(1,l);v(l<=y,"byte array longer than desired length"),v(y>0,"Requested array length <= 0"),this.strip();var g,n,A="le"===r,k=new i(y),b=this.clone();if(A){for(n=0;!b.isZero();n++)g=b.andln(255),b.iushrn(8),k[n]=g;for(;n<y;n++)k[n]=0}else{for(n=0;n<y-l;n++)k[n]=0;for(n=0;!b.isZero();n++)g=b.andln(255),b.iushrn(8),k[y-n-1]=g}return k},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,h=0;return r>=4096&&(h+=13,r>>>=13),r>=64&&(h+=7,r>>>=7),r>=8&&(h+=4,r>>>=4),r>=2&&(h+=2,r>>>=2),h+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,h=0;return 0==(8191&r)&&(h+=13,r>>>=13),0==(127&r)&&(h+=7,r>>>=7),0==(15&r)&&(h+=4,r>>>=4),0==(3&r)&&(h+=2,r>>>=2),0==(1&r)&&h++,h},o.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,r=0;r<this.length;r++){var h=this._zeroBits(this.words[r]);if(i+=h,26!==h)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var r=0;r<i.length;r++)this.words[r]=this.words[r]|i.words[r];return this.strip()},o.prototype.ior=function(i){return v(0==(this.negative|i.negative)),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var r;r=this.length>i.length?i:this;for(var h=0;h<r.length;h++)this.words[h]=this.words[h]&i.words[h];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return v(0==(this.negative|i.negative)),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var r,h;this.length>i.length?(r=this,h=i):(r=i,h=this);for(var l=0;l<h.length;l++)this.words[l]=r.words[l]^h.words[l];if(this!==r)for(;l<r.length;l++)this.words[l]=r.words[l];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return v(0==(this.negative|i.negative)),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){v("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),h=i%26;this._expand(r),h>0&&r--;for(var l=0;l<r;l++)this.words[l]=67108863&~this.words[l];return h>0&&(this.words[l]=~this.words[l]&67108863>>26-h),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){v("number"==typeof i&&i>=0);var h=i/26|0,l=i%26;return this._expand(h+1),this.words[h]=r?this.words[h]|1<<l:this.words[h]&~(1<<l),this.strip()},o.prototype.iadd=function(i){var r,h,l;if(0!==this.negative&&0===i.negative)return this.negative=0,r=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,r=this.isub(i),i.negative=1,r._normSign();this.length>i.length?(h=this,l=i):(h=i,l=this);for(var y=0,A=0;A<l.length;A++)this.words[A]=67108863&(r=(0|h.words[A])+(0|l.words[A])+y),y=r>>>26;for(;0!==y&&A<h.length;A++)this.words[A]=67108863&(r=(0|h.words[A])+y),y=r>>>26;if(this.length=h.length,0!==y)this.words[this.length]=y,this.length++;else if(h!==this)for(;A<h.length;A++)this.words[A]=h.words[A];return this},o.prototype.add=function(i){var r;return 0!==i.negative&&0===this.negative?(i.negative=0,r=this.sub(i),i.negative^=1,r):0===i.negative&&0!==this.negative?(this.negative=0,r=i.sub(this),this.negative=1,r):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var r=this.iadd(i);return i.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,h=this.cmp(i);if(0===h)return this.negative=0,this.length=1,this.words[0]=0,this;h>0?(l=this,y=i):(l=i,y=this);for(var A=0,k=0;k<y.length;k++)A=(r=(0|l.words[k])-(0|y.words[k])+A)>>26,this.words[k]=67108863&r;for(;0!==A&&k<l.length;k++)A=(r=(0|l.words[k])+A)>>26,this.words[k]=67108863&r;if(0===A&&k<l.length&&l!==this)for(;k<l.length;k++)this.words[k]=l.words[k];return this.length=Math.max(this.length,k),l!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var z=function(i,r,h){var g,n,b,l=i.words,y=r.words,A=h.words,k=0,U=0|l[0],V=8191&U,j=U>>>13,Ae=0|l[1],Ke=8191&Ae,qe=Ae>>>13,ct=0|l[2],Ie=8191&ct,xe=ct>>>13,le=0|l[3],_e=8191&le,se=le>>>13,Ye=0|l[4],Te=8191&Ye,oe=Ye>>>13,be=0|l[5],te=8191&be,Ue=be>>>13,Be=0|l[6],q=8191&Be,de=Be>>>13,Ce=0|l[7],ke=8191&Ce,ht=Ce>>>13,nt=0|l[8],wt=8191&nt,it=nt>>>13,qt=0|l[9],_t=8191&qt,ne=qt>>>13,Nt=0|y[0],De=8191&Nt,He=Nt>>>13,Ct=0|y[1],Pe=8191&Ct,tt=Ct>>>13,Bt=0|y[2],Lt=8191&Bt,Ht=Bt>>>13,bt=0|y[3],Me=8191&bt,J=bt>>>13,ve=0|y[4],Re=8191&ve,at=ve>>>13,ni=0|y[5],Gt=8191&ni,ti=ni>>>13,dt=0|y[6],rt=8191&dt,vt=dt>>>13,ai=0|y[7],Ut=8191&ai,Vt=ai>>>13,Rt=0|y[8],je=8191&Rt,Fe=Rt>>>13,We=0|y[9],Je=8191&We,Tt=We>>>13;h.negative=i.negative^r.negative,h.length=19;var ui=(k+(g=Math.imul(V,De))|0)+((8191&(n=(n=Math.imul(V,He))+Math.imul(j,De)|0))<<13)|0;k=((b=Math.imul(j,He))+(n>>>13)|0)+(ui>>>26)|0,ui&=67108863,g=Math.imul(Ke,De),n=(n=Math.imul(Ke,He))+Math.imul(qe,De)|0,b=Math.imul(qe,He);var Ei=(k+(g=g+Math.imul(V,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(V,tt)|0)+Math.imul(j,Pe)|0))<<13)|0;k=((b=b+Math.imul(j,tt)|0)+(n>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,g=Math.imul(Ie,De),n=(n=Math.imul(Ie,He))+Math.imul(xe,De)|0,b=Math.imul(xe,He),g=g+Math.imul(Ke,Pe)|0,n=(n=n+Math.imul(Ke,tt)|0)+Math.imul(qe,Pe)|0,b=b+Math.imul(qe,tt)|0;var xi=(k+(g=g+Math.imul(V,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Ht)|0)+Math.imul(j,Lt)|0))<<13)|0;k=((b=b+Math.imul(j,Ht)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,g=Math.imul(_e,De),n=(n=Math.imul(_e,He))+Math.imul(se,De)|0,b=Math.imul(se,He),g=g+Math.imul(Ie,Pe)|0,n=(n=n+Math.imul(Ie,tt)|0)+Math.imul(xe,Pe)|0,b=b+Math.imul(xe,tt)|0,g=g+Math.imul(Ke,Lt)|0,n=(n=n+Math.imul(Ke,Ht)|0)+Math.imul(qe,Lt)|0,b=b+Math.imul(qe,Ht)|0;var Vi=(k+(g=g+Math.imul(V,Me)|0)|0)+((8191&(n=(n=n+Math.imul(V,J)|0)+Math.imul(j,Me)|0))<<13)|0;k=((b=b+Math.imul(j,J)|0)+(n>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,g=Math.imul(Te,De),n=(n=Math.imul(Te,He))+Math.imul(oe,De)|0,b=Math.imul(oe,He),g=g+Math.imul(_e,Pe)|0,n=(n=n+Math.imul(_e,tt)|0)+Math.imul(se,Pe)|0,b=b+Math.imul(se,tt)|0,g=g+Math.imul(Ie,Lt)|0,n=(n=n+Math.imul(Ie,Ht)|0)+Math.imul(xe,Lt)|0,b=b+Math.imul(xe,Ht)|0,g=g+Math.imul(Ke,Me)|0,n=(n=n+Math.imul(Ke,J)|0)+Math.imul(qe,Me)|0,b=b+Math.imul(qe,J)|0;var $e=(k+(g=g+Math.imul(V,Re)|0)|0)+((8191&(n=(n=n+Math.imul(V,at)|0)+Math.imul(j,Re)|0))<<13)|0;k=((b=b+Math.imul(j,at)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,g=Math.imul(te,De),n=(n=Math.imul(te,He))+Math.imul(Ue,De)|0,b=Math.imul(Ue,He),g=g+Math.imul(Te,Pe)|0,n=(n=n+Math.imul(Te,tt)|0)+Math.imul(oe,Pe)|0,b=b+Math.imul(oe,tt)|0,g=g+Math.imul(_e,Lt)|0,n=(n=n+Math.imul(_e,Ht)|0)+Math.imul(se,Lt)|0,b=b+Math.imul(se,Ht)|0,g=g+Math.imul(Ie,Me)|0,n=(n=n+Math.imul(Ie,J)|0)+Math.imul(xe,Me)|0,b=b+Math.imul(xe,J)|0,g=g+Math.imul(Ke,Re)|0,n=(n=n+Math.imul(Ke,at)|0)+Math.imul(qe,Re)|0,b=b+Math.imul(qe,at)|0;var Mt=(k+(g=g+Math.imul(V,Gt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ti)|0)+Math.imul(j,Gt)|0))<<13)|0;k=((b=b+Math.imul(j,ti)|0)+(n>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,g=Math.imul(q,De),n=(n=Math.imul(q,He))+Math.imul(de,De)|0,b=Math.imul(de,He),g=g+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,tt)|0)+Math.imul(Ue,Pe)|0,b=b+Math.imul(Ue,tt)|0,g=g+Math.imul(Te,Lt)|0,n=(n=n+Math.imul(Te,Ht)|0)+Math.imul(oe,Lt)|0,b=b+Math.imul(oe,Ht)|0,g=g+Math.imul(_e,Me)|0,n=(n=n+Math.imul(_e,J)|0)+Math.imul(se,Me)|0,b=b+Math.imul(se,J)|0,g=g+Math.imul(Ie,Re)|0,n=(n=n+Math.imul(Ie,at)|0)+Math.imul(xe,Re)|0,b=b+Math.imul(xe,at)|0,g=g+Math.imul(Ke,Gt)|0,n=(n=n+Math.imul(Ke,ti)|0)+Math.imul(qe,Gt)|0,b=b+Math.imul(qe,ti)|0;var ye=(k+(g=g+Math.imul(V,rt)|0)|0)+((8191&(n=(n=n+Math.imul(V,vt)|0)+Math.imul(j,rt)|0))<<13)|0;k=((b=b+Math.imul(j,vt)|0)+(n>>>13)|0)+(ye>>>26)|0,ye&=67108863,g=Math.imul(ke,De),n=(n=Math.imul(ke,He))+Math.imul(ht,De)|0,b=Math.imul(ht,He),g=g+Math.imul(q,Pe)|0,n=(n=n+Math.imul(q,tt)|0)+Math.imul(de,Pe)|0,b=b+Math.imul(de,tt)|0,g=g+Math.imul(te,Lt)|0,n=(n=n+Math.imul(te,Ht)|0)+Math.imul(Ue,Lt)|0,b=b+Math.imul(Ue,Ht)|0,g=g+Math.imul(Te,Me)|0,n=(n=n+Math.imul(Te,J)|0)+Math.imul(oe,Me)|0,b=b+Math.imul(oe,J)|0,g=g+Math.imul(_e,Re)|0,n=(n=n+Math.imul(_e,at)|0)+Math.imul(se,Re)|0,b=b+Math.imul(se,at)|0,g=g+Math.imul(Ie,Gt)|0,n=(n=n+Math.imul(Ie,ti)|0)+Math.imul(xe,Gt)|0,b=b+Math.imul(xe,ti)|0,g=g+Math.imul(Ke,rt)|0,n=(n=n+Math.imul(Ke,vt)|0)+Math.imul(qe,rt)|0,b=b+Math.imul(qe,vt)|0;var Ot=(k+(g=g+Math.imul(V,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(V,Vt)|0)+Math.imul(j,Ut)|0))<<13)|0;k=((b=b+Math.imul(j,Vt)|0)+(n>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,g=Math.imul(wt,De),n=(n=Math.imul(wt,He))+Math.imul(it,De)|0,b=Math.imul(it,He),g=g+Math.imul(ke,Pe)|0,n=(n=n+Math.imul(ke,tt)|0)+Math.imul(ht,Pe)|0,b=b+Math.imul(ht,tt)|0,g=g+Math.imul(q,Lt)|0,n=(n=n+Math.imul(q,Ht)|0)+Math.imul(de,Lt)|0,b=b+Math.imul(de,Ht)|0,g=g+Math.imul(te,Me)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ue,Me)|0,b=b+Math.imul(Ue,J)|0,g=g+Math.imul(Te,Re)|0,n=(n=n+Math.imul(Te,at)|0)+Math.imul(oe,Re)|0,b=b+Math.imul(oe,at)|0,g=g+Math.imul(_e,Gt)|0,n=(n=n+Math.imul(_e,ti)|0)+Math.imul(se,Gt)|0,b=b+Math.imul(se,ti)|0,g=g+Math.imul(Ie,rt)|0,n=(n=n+Math.imul(Ie,vt)|0)+Math.imul(xe,rt)|0,b=b+Math.imul(xe,vt)|0,g=g+Math.imul(Ke,Ut)|0,n=(n=n+Math.imul(Ke,Vt)|0)+Math.imul(qe,Ut)|0,b=b+Math.imul(qe,Vt)|0;var Kt=(k+(g=g+Math.imul(V,je)|0)|0)+((8191&(n=(n=n+Math.imul(V,Fe)|0)+Math.imul(j,je)|0))<<13)|0;k=((b=b+Math.imul(j,Fe)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,g=Math.imul(_t,De),n=(n=Math.imul(_t,He))+Math.imul(ne,De)|0,b=Math.imul(ne,He),g=g+Math.imul(wt,Pe)|0,n=(n=n+Math.imul(wt,tt)|0)+Math.imul(it,Pe)|0,b=b+Math.imul(it,tt)|0,g=g+Math.imul(ke,Lt)|0,n=(n=n+Math.imul(ke,Ht)|0)+Math.imul(ht,Lt)|0,b=b+Math.imul(ht,Ht)|0,g=g+Math.imul(q,Me)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,Me)|0,b=b+Math.imul(de,J)|0,g=g+Math.imul(te,Re)|0,n=(n=n+Math.imul(te,at)|0)+Math.imul(Ue,Re)|0,b=b+Math.imul(Ue,at)|0,g=g+Math.imul(Te,Gt)|0,n=(n=n+Math.imul(Te,ti)|0)+Math.imul(oe,Gt)|0,b=b+Math.imul(oe,ti)|0,g=g+Math.imul(_e,rt)|0,n=(n=n+Math.imul(_e,vt)|0)+Math.imul(se,rt)|0,b=b+Math.imul(se,vt)|0,g=g+Math.imul(Ie,Ut)|0,n=(n=n+Math.imul(Ie,Vt)|0)+Math.imul(xe,Ut)|0,b=b+Math.imul(xe,Vt)|0,g=g+Math.imul(Ke,je)|0,n=(n=n+Math.imul(Ke,Fe)|0)+Math.imul(qe,je)|0,b=b+Math.imul(qe,Fe)|0;var mi=(k+(g=g+Math.imul(V,Je)|0)|0)+((8191&(n=(n=n+Math.imul(V,Tt)|0)+Math.imul(j,Je)|0))<<13)|0;k=((b=b+Math.imul(j,Tt)|0)+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,g=Math.imul(_t,Pe),n=(n=Math.imul(_t,tt))+Math.imul(ne,Pe)|0,b=Math.imul(ne,tt),g=g+Math.imul(wt,Lt)|0,n=(n=n+Math.imul(wt,Ht)|0)+Math.imul(it,Lt)|0,b=b+Math.imul(it,Ht)|0,g=g+Math.imul(ke,Me)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ht,Me)|0,b=b+Math.imul(ht,J)|0,g=g+Math.imul(q,Re)|0,n=(n=n+Math.imul(q,at)|0)+Math.imul(de,Re)|0,b=b+Math.imul(de,at)|0,g=g+Math.imul(te,Gt)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ue,Gt)|0,b=b+Math.imul(Ue,ti)|0,g=g+Math.imul(Te,rt)|0,n=(n=n+Math.imul(Te,vt)|0)+Math.imul(oe,rt)|0,b=b+Math.imul(oe,vt)|0,g=g+Math.imul(_e,Ut)|0,n=(n=n+Math.imul(_e,Vt)|0)+Math.imul(se,Ut)|0,b=b+Math.imul(se,Vt)|0,g=g+Math.imul(Ie,je)|0,n=(n=n+Math.imul(Ie,Fe)|0)+Math.imul(xe,je)|0,b=b+Math.imul(xe,Fe)|0;var Mi=(k+(g=g+Math.imul(Ke,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Ke,Tt)|0)+Math.imul(qe,Je)|0))<<13)|0;k=((b=b+Math.imul(qe,Tt)|0)+(n>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,g=Math.imul(_t,Lt),n=(n=Math.imul(_t,Ht))+Math.imul(ne,Lt)|0,b=Math.imul(ne,Ht),g=g+Math.imul(wt,Me)|0,n=(n=n+Math.imul(wt,J)|0)+Math.imul(it,Me)|0,b=b+Math.imul(it,J)|0,g=g+Math.imul(ke,Re)|0,n=(n=n+Math.imul(ke,at)|0)+Math.imul(ht,Re)|0,b=b+Math.imul(ht,at)|0,g=g+Math.imul(q,Gt)|0,n=(n=n+Math.imul(q,ti)|0)+Math.imul(de,Gt)|0,b=b+Math.imul(de,ti)|0,g=g+Math.imul(te,rt)|0,n=(n=n+Math.imul(te,vt)|0)+Math.imul(Ue,rt)|0,b=b+Math.imul(Ue,vt)|0,g=g+Math.imul(Te,Ut)|0,n=(n=n+Math.imul(Te,Vt)|0)+Math.imul(oe,Ut)|0,b=b+Math.imul(oe,Vt)|0,g=g+Math.imul(_e,je)|0,n=(n=n+Math.imul(_e,Fe)|0)+Math.imul(se,je)|0,b=b+Math.imul(se,Fe)|0;var Pi=(k+(g=g+Math.imul(Ie,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Tt)|0)+Math.imul(xe,Je)|0))<<13)|0;k=((b=b+Math.imul(xe,Tt)|0)+(n>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,g=Math.imul(_t,Me),n=(n=Math.imul(_t,J))+Math.imul(ne,Me)|0,b=Math.imul(ne,J),g=g+Math.imul(wt,Re)|0,n=(n=n+Math.imul(wt,at)|0)+Math.imul(it,Re)|0,b=b+Math.imul(it,at)|0,g=g+Math.imul(ke,Gt)|0,n=(n=n+Math.imul(ke,ti)|0)+Math.imul(ht,Gt)|0,b=b+Math.imul(ht,ti)|0,g=g+Math.imul(q,rt)|0,n=(n=n+Math.imul(q,vt)|0)+Math.imul(de,rt)|0,b=b+Math.imul(de,vt)|0,g=g+Math.imul(te,Ut)|0,n=(n=n+Math.imul(te,Vt)|0)+Math.imul(Ue,Ut)|0,b=b+Math.imul(Ue,Vt)|0,g=g+Math.imul(Te,je)|0,n=(n=n+Math.imul(Te,Fe)|0)+Math.imul(oe,je)|0,b=b+Math.imul(oe,Fe)|0;var Wi=(k+(g=g+Math.imul(_e,Je)|0)|0)+((8191&(n=(n=n+Math.imul(_e,Tt)|0)+Math.imul(se,Je)|0))<<13)|0;k=((b=b+Math.imul(se,Tt)|0)+(n>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,g=Math.imul(_t,Re),n=(n=Math.imul(_t,at))+Math.imul(ne,Re)|0,b=Math.imul(ne,at),g=g+Math.imul(wt,Gt)|0,n=(n=n+Math.imul(wt,ti)|0)+Math.imul(it,Gt)|0,b=b+Math.imul(it,ti)|0,g=g+Math.imul(ke,rt)|0,n=(n=n+Math.imul(ke,vt)|0)+Math.imul(ht,rt)|0,b=b+Math.imul(ht,vt)|0,g=g+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,Vt)|0)+Math.imul(de,Ut)|0,b=b+Math.imul(de,Vt)|0,g=g+Math.imul(te,je)|0,n=(n=n+Math.imul(te,Fe)|0)+Math.imul(Ue,je)|0,b=b+Math.imul(Ue,Fe)|0;var Zt=(k+(g=g+Math.imul(Te,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Te,Tt)|0)+Math.imul(oe,Je)|0))<<13)|0;k=((b=b+Math.imul(oe,Tt)|0)+(n>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,g=Math.imul(_t,Gt),n=(n=Math.imul(_t,ti))+Math.imul(ne,Gt)|0,b=Math.imul(ne,ti),g=g+Math.imul(wt,rt)|0,n=(n=n+Math.imul(wt,vt)|0)+Math.imul(it,rt)|0,b=b+Math.imul(it,vt)|0,g=g+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,Vt)|0)+Math.imul(ht,Ut)|0,b=b+Math.imul(ht,Vt)|0,g=g+Math.imul(q,je)|0,n=(n=n+Math.imul(q,Fe)|0)+Math.imul(de,je)|0,b=b+Math.imul(de,Fe)|0;var oi=(k+(g=g+Math.imul(te,Je)|0)|0)+((8191&(n=(n=n+Math.imul(te,Tt)|0)+Math.imul(Ue,Je)|0))<<13)|0;k=((b=b+Math.imul(Ue,Tt)|0)+(n>>>13)|0)+(oi>>>26)|0,oi&=67108863,g=Math.imul(_t,rt),n=(n=Math.imul(_t,vt))+Math.imul(ne,rt)|0,b=Math.imul(ne,vt),g=g+Math.imul(wt,Ut)|0,n=(n=n+Math.imul(wt,Vt)|0)+Math.imul(it,Ut)|0,b=b+Math.imul(it,Vt)|0,g=g+Math.imul(ke,je)|0,n=(n=n+Math.imul(ke,Fe)|0)+Math.imul(ht,je)|0,b=b+Math.imul(ht,Fe)|0;var ge=(k+(g=g+Math.imul(q,Je)|0)|0)+((8191&(n=(n=n+Math.imul(q,Tt)|0)+Math.imul(de,Je)|0))<<13)|0;k=((b=b+Math.imul(de,Tt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,g=Math.imul(_t,Ut),n=(n=Math.imul(_t,Vt))+Math.imul(ne,Ut)|0,b=Math.imul(ne,Vt),g=g+Math.imul(wt,je)|0,n=(n=n+Math.imul(wt,Fe)|0)+Math.imul(it,je)|0,b=b+Math.imul(it,Fe)|0;var Xe=(k+(g=g+Math.imul(ke,Je)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Tt)|0)+Math.imul(ht,Je)|0))<<13)|0;k=((b=b+Math.imul(ht,Tt)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,g=Math.imul(_t,je),n=(n=Math.imul(_t,Fe))+Math.imul(ne,je)|0,b=Math.imul(ne,Fe);var St=(k+(g=g+Math.imul(wt,Je)|0)|0)+((8191&(n=(n=n+Math.imul(wt,Tt)|0)+Math.imul(it,Je)|0))<<13)|0;k=((b=b+Math.imul(it,Tt)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863;var pt=(k+(g=Math.imul(_t,Je))|0)+((8191&(n=(n=Math.imul(_t,Tt))+Math.imul(ne,Je)|0))<<13)|0;return k=((b=Math.imul(ne,Tt))+(n>>>13)|0)+(pt>>>26)|0,pt&=67108863,A[0]=ui,A[1]=Ei,A[2]=xi,A[3]=Vi,A[4]=$e,A[5]=Mt,A[6]=ye,A[7]=Ot,A[8]=Kt,A[9]=mi,A[10]=Mi,A[11]=Pi,A[12]=Wi,A[13]=Zt,A[14]=oi,A[15]=ge,A[16]=Xe,A[17]=St,A[18]=pt,0!==k&&(A[19]=k,h.length++),h};function W(T,i,r){return(new Y).mulp(T,i,r)}function Y(T,i){this.x=T,this.y=i}Math.imul||(z=N),o.prototype.mulTo=function(i,r){var h,l=this.length+i.length;return h=10===this.length&&10===i.length?z(this,i,r):l<63?N(this,i,r):l<1024?function G(T,i,r){r.negative=i.negative^T.negative,r.length=T.length+i.length;for(var h=0,l=0,y=0;y<r.length-1;y++){var A=l;l=0;for(var k=67108863&h,g=Math.min(y,i.length-1),n=Math.max(0,y-T.length+1);n<=g;n++){var j=(0|T.words[y-n])*(0|i.words[n]),Ae=67108863&j;k=67108863&(Ae=Ae+k|0),l+=(A=(A=A+(j/67108864|0)|0)+(Ae>>>26)|0)>>>26,A&=67108863}r.words[y]=k,h=A,A=l}return 0!==h?r.words[y]=h:r.length--,r.strip()}(this,i,r):W(this,i,r),h},Y.prototype.makeRBT=function(i){for(var r=new Array(i),h=o.prototype._countBits(i)-1,l=0;l<i;l++)r[l]=this.revBin(l,h,i);return r},Y.prototype.revBin=function(i,r,h){if(0===i||i===h-1)return i;for(var l=0,y=0;y<r;y++)l|=(1&i)<<r-y-1,i>>=1;return l},Y.prototype.permute=function(i,r,h,l,y,A){for(var k=0;k<A;k++)l[k]=r[i[k]],y[k]=h[i[k]]},Y.prototype.transform=function(i,r,h,l,y,A){this.permute(A,i,r,h,l,y);for(var k=1;k<y;k<<=1)for(var g=k<<1,n=Math.cos(2*Math.PI/g),b=Math.sin(2*Math.PI/g),U=0;U<y;U+=g)for(var V=n,j=b,Ae=0;Ae<k;Ae++){var Ke=h[U+Ae],qe=l[U+Ae],ct=h[U+Ae+k],Ie=l[U+Ae+k],xe=V*ct-j*Ie;Ie=V*Ie+j*ct,h[U+Ae]=Ke+(ct=xe),l[U+Ae]=qe+Ie,h[U+Ae+k]=Ke-ct,l[U+Ae+k]=qe-Ie,Ae!==g&&(xe=n*V-b*j,j=n*j+b*V,V=xe)}},Y.prototype.guessLen13b=function(i,r){var h=1|Math.max(r,i),l=1&h,y=0;for(h=h/2|0;h;h>>>=1)y++;return 1<<y+1+l},Y.prototype.conjugate=function(i,r,h){if(!(h<=1))for(var l=0;l<h/2;l++){var y=i[l];i[l]=i[h-l-1],i[h-l-1]=y,y=r[l],r[l]=-r[h-l-1],r[h-l-1]=-y}},Y.prototype.normalize13b=function(i,r){for(var h=0,l=0;l<r/2;l++){var y=8192*Math.round(i[2*l+1]/r)+Math.round(i[2*l]/r)+h;i[l]=67108863&y,h=y<67108864?0:y/67108864|0}return i},Y.prototype.convert13b=function(i,r,h,l){for(var y=0,A=0;A<r;A++)h[2*A]=8191&(y+=0|i[A]),h[2*A+1]=8191&(y>>>=13),y>>>=13;for(A=2*r;A<l;++A)h[A]=0;v(0===y),v(0==(-8192&y))},Y.prototype.stub=function(i){for(var r=new Array(i),h=0;h<i;h++)r[h]=0;return r},Y.prototype.mulp=function(i,r,h){var l=2*this.guessLen13b(i.length,r.length),y=this.makeRBT(l),A=this.stub(l),k=new Array(l),g=new Array(l),n=new Array(l),b=new Array(l),U=new Array(l),V=new Array(l),j=h.words;j.length=l,this.convert13b(i.words,i.length,k,l),this.convert13b(r.words,r.length,b,l),this.transform(k,A,g,n,l,y),this.transform(b,A,U,V,l,y);for(var Ae=0;Ae<l;Ae++){var Ke=g[Ae]*U[Ae]-n[Ae]*V[Ae];n[Ae]=g[Ae]*V[Ae]+n[Ae]*U[Ae],g[Ae]=Ke}return this.conjugate(g,n,l),this.transform(g,n,j,A,l,y),this.conjugate(j,A,l),this.normalize13b(j,l),h.negative=i.negative^r.negative,h.length=i.length+r.length,h.strip()},o.prototype.mul=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),this.mulTo(i,r)},o.prototype.mulf=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),W(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){v("number"==typeof i),v(i<67108864);for(var r=0,h=0;h<this.length;h++){var l=(0|this.words[h])*i,y=(67108863&l)+(67108863&r);r>>=26,r+=l/67108864|0,r+=y>>>26,this.words[h]=67108863&y}return 0!==r&&(this.words[h]=r,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var r=function E(T){for(var i=new Array(T.bitLength()),r=0;r<i.length;r++){var l=r%26;i[r]=(T.words[r/26|0]&1<<l)>>>l}return i}(i);if(0===r.length)return new o(1);for(var h=this,l=0;l<r.length&&0===r[l];l++,h=h.sqr());if(++l<r.length)for(var y=h.sqr();l<r.length;l++,y=y.sqr())0!==r[l]&&(h=h.mul(y));return h},o.prototype.iushln=function(i){v("number"==typeof i&&i>=0);var y,r=i%26,h=(i-r)/26,l=67108863>>>26-r<<26-r;if(0!==r){var A=0;for(y=0;y<this.length;y++){var k=this.words[y]&l;this.words[y]=(0|this.words[y])-k<<r|A,A=k>>>26-r}A&&(this.words[y]=A,this.length++)}if(0!==h){for(y=this.length-1;y>=0;y--)this.words[y+h]=this.words[y];for(y=0;y<h;y++)this.words[y]=0;this.length+=h}return this.strip()},o.prototype.ishln=function(i){return v(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,h){var l;v("number"==typeof i&&i>=0),l=r?(r-r%26)/26:0;var y=i%26,A=Math.min((i-y)/26,this.length),k=67108863^67108863>>>y<<y,g=h;if(l-=A,l=Math.max(0,l),g){for(var n=0;n<A;n++)g.words[n]=this.words[n];g.length=A}if(0!==A)if(this.length>A)for(this.length-=A,n=0;n<this.length;n++)this.words[n]=this.words[n+A];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=l);n--){var U=0|this.words[n];this.words[n]=b<<26-y|U>>>y,b=U&k}return g&&0!==b&&(g.words[g.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,h){return v(0===this.negative),this.iushrn(i,r,h)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){v("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return!(this.length<=h||!(this.words[h]&1<<r))},o.prototype.imaskn=function(i){v("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return v(0===this.negative,"imaskn works only with positive numbers"),this.length<=h?this:(0!==r&&h++,this.length=Math.min(h,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return v("number"==typeof i),v(i<67108864),i<0?this.isubn(-i):0!==this.negative?1===this.length&&(0|this.words[0])<i?(this.words[0]=i-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},o.prototype.isubn=function(i){if(v("number"==typeof i),v(i<67108864),i<0)return this.iaddn(-i);if(0!==this.negative)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,r,h){var y;this._expand(i.length+h);var A,k=0;for(y=0;y<i.length;y++){A=(0|this.words[y+h])+k;var g=(0|i.words[y])*r;k=((A-=67108863&g)>>26)-(g/67108864|0),this.words[y+h]=67108863&A}for(;y<this.length-h;y++)k=(A=(0|this.words[y+h])+k)>>26,this.words[y+h]=67108863&A;if(0===k)return this.strip();for(v(-1===k),k=0,y=0;y<this.length;y++)k=(A=-(0|this.words[y])+k)>>26,this.words[y]=67108863&A;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var h,l=this.clone(),y=i,A=0|y.words[y.length-1];0!=(h=26-this._countBits(A))&&(y=y.ushln(h),l.iushln(h),A=0|y.words[y.length-1]);var n,g=l.length-y.length;if("mod"!==r){(n=new o(null)).length=g+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var U=l.clone()._ishlnsubmul(y,1,g);0===U.negative&&(l=U,n&&(n.words[g]=1));for(var V=g-1;V>=0;V--){var j=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(j=Math.min(j/A|0,67108863),l._ishlnsubmul(y,j,V);0!==l.negative;)j--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=j)}return n&&n.strip(),l.strip(),"div"!==r&&0!==h&&l.iushrn(h),{div:n||null,mod:l}},o.prototype.divmod=function(i,r,h){return v(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(A=this.neg().divmod(i,r),"mod"!==r&&(l=A.div.neg()),"div"!==r&&(y=A.mod.neg(),h&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(A=this.divmod(i.neg(),r),"mod"!==r&&(l=A.div.neg()),{div:l,mod:A.mod}):0!=(this.negative&i.negative)?(A=this.neg().divmod(i.neg(),r),"div"!==r&&(y=A.mod.neg(),h&&0!==y.negative&&y.isub(i)),{div:A.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:1===i.length?"div"===r?{div:this.divn(i.words[0]),mod:null}:"mod"===r?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,r);var l,y,A},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var r=this.divmod(i);if(r.mod.isZero())return r.div;var h=0!==r.div.negative?r.mod.isub(i):r.mod,l=i.ushrn(1),y=i.andln(1),A=h.cmp(l);return A<0||1===y&&0===A?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){v(i<=67108863);for(var r=(1<<26)%i,h=0,l=this.length-1;l>=0;l--)h=(r*h+(0|this.words[l]))%i;return h},o.prototype.idivn=function(i){v(i<=67108863);for(var r=0,h=this.length-1;h>=0;h--){var l=(0|this.words[h])+67108864*r;this.words[h]=l/i|0,r=l%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){v(0===i.negative),v(!i.isZero());var r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var l=new o(1),y=new o(0),A=new o(0),k=new o(1),g=0;r.isEven()&&h.isEven();)r.iushrn(1),h.iushrn(1),++g;for(var n=h.clone(),b=r.clone();!r.isZero();){for(var U=0,V=1;0==(r.words[0]&V)&&U<26;++U,V<<=1);if(U>0)for(r.iushrn(U);U-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(b)),l.iushrn(1),y.iushrn(1);for(var j=0,Ae=1;0==(h.words[0]&Ae)&&j<26;++j,Ae<<=1);if(j>0)for(h.iushrn(j);j-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(n),k.isub(b)),A.iushrn(1),k.iushrn(1);r.cmp(h)>=0?(r.isub(h),l.isub(A),y.isub(k)):(h.isub(r),A.isub(l),k.isub(y))}return{a:A,b:k,gcd:h.iushln(g)}},o.prototype._invmp=function(i){v(0===i.negative),v(!i.isZero());var U,r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var l=new o(1),y=new o(0),A=h.clone();r.cmpn(1)>0&&h.cmpn(1)>0;){for(var k=0,g=1;0==(r.words[0]&g)&&k<26;++k,g<<=1);if(k>0)for(r.iushrn(k);k-- >0;)l.isOdd()&&l.iadd(A),l.iushrn(1);for(var n=0,b=1;0==(h.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(h.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(A),y.iushrn(1);r.cmp(h)>=0?(r.isub(h),l.isub(y)):(h.isub(r),y.isub(l))}return(U=0===r.cmpn(1)?l:y).cmpn(0)<0&&U.iadd(i),U},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),h=i.clone();r.negative=0,h.negative=0;for(var l=0;r.isEven()&&h.isEven();l++)r.iushrn(1),h.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;h.isEven();)h.iushrn(1);var y=r.cmp(h);if(y<0){var A=r;r=h,h=A}else if(0===y||0===h.cmpn(1))break;r.isub(h)}return h.iushln(l)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){v("number"==typeof i);var r=i%26,h=(i-r)/26,l=1<<r;if(this.length<=h)return this._expand(h+1),this.words[h]|=l,this;for(var y=l,A=h;0!==y&&A<this.length;A++){var k=0|this.words[A];y=(k+=y)>>>26,this.words[A]=k&=67108863}return 0!==y&&(this.words[A]=y,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var h,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)h=1;else{r&&(i=-i),v(i<=67108863,"Number is too big");var l=0|this.words[0];h=l===i?0:l<i?-1:1}return 0!==this.negative?0|-h:h},o.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var r=this.ucmp(i);return 0!==this.negative?0|-r:r},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var r=0,h=this.length-1;h>=0;h--){var l=0|this.words[h],y=0|i.words[h];if(l!==y){l<y?r=-1:l>y&&(r=1);break}}return r},o.prototype.gtn=function(i){return 1===this.cmpn(i)},o.prototype.gt=function(i){return 1===this.cmp(i)},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return-1===this.cmpn(i)},o.prototype.lt=function(i){return-1===this.cmp(i)},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return 0===this.cmpn(i)},o.prototype.eq=function(i){return 0===this.cmp(i)},o.red=function(i){return new $(i)},o.prototype.toRed=function(i){return v(!this.red,"Already a number in reduction context"),v(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return v(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return v(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return v(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return v(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return v(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return v(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return v(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return v(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return v(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return v(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return v(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return v(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return v(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var X={k256:null,p224:null,p192:null,p25519:null};function ee(T,i){this.name=T,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ue(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function he(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(T){if("string"==typeof T){var i=o._prime(T);this.m=i.p,this.prime=i}else v(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function fe(T){$.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}ee.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},ee.prototype.ireduce=function(i){var h,r=i;do{this.split(r,this.tmp),h=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(h>this.n);var l=h<this.n?-1:r.ucmp(this.p);return 0===l?(r.words[0]=0,r.length=1):l>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},ee.prototype.split=function(i,r){i.iushrn(this.n,0,r)},ee.prototype.imulK=function(i){return i.imul(this.k)},D(ue,ee),ue.prototype.split=function(i,r){for(var h=4194303,l=Math.min(i.length,9),y=0;y<l;y++)r.words[y]=i.words[y];if(r.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var A=i.words[9];for(r.words[r.length++]=A&h,y=10;y<i.length;y++){var k=0|i.words[y];i.words[y-10]=(k&h)<<4|A>>>22,A=k}i.words[y-10]=A>>>=22,i.length-=0===A&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,h=0;h<i.length;h++){var l=0|i.words[h];i.words[h]=67108863&(r+=977*l),r=64*l+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},D(he,ee),D(ie,ee),D(ce,ee),ce.prototype.imulK=function(i){for(var r=0,h=0;h<i.length;h++){var l=19*(0|i.words[h])+r,y=67108863&l;l>>>=26,i.words[h]=y,r=l}return 0!==r&&(i.words[i.length++]=r),i},o._prime=function(i){if(X[i])return X[i];var r;if("k256"===i)r=new ue;else if("p224"===i)r=new he;else if("p192"===i)r=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},$.prototype._verify1=function(i){v(0===i.negative,"red works only with positives"),v(i.red,"red works only with red numbers")},$.prototype._verify2=function(i,r){v(0==(i.negative|r.negative),"red works only with positives"),v(i.red&&i.red===r.red,"red works only with red numbers")},$.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},$.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},$.prototype.add=function(i,r){this._verify2(i,r);var h=i.add(r);return h.cmp(this.m)>=0&&h.isub(this.m),h._forceRed(this)},$.prototype.iadd=function(i,r){this._verify2(i,r);var h=i.iadd(r);return h.cmp(this.m)>=0&&h.isub(this.m),h},$.prototype.sub=function(i,r){this._verify2(i,r);var h=i.sub(r);return h.cmpn(0)<0&&h.iadd(this.m),h._forceRed(this)},$.prototype.isub=function(i,r){this._verify2(i,r);var h=i.isub(r);return h.cmpn(0)<0&&h.iadd(this.m),h},$.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},$.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},$.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},$.prototype.isqr=function(i){return this.imul(i,i.clone())},$.prototype.sqr=function(i){return this.mul(i,i)},$.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(v(r%2==1),3===r){var h=this.m.add(new o(1)).iushrn(2);return this.pow(i,h)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);v(!l.isZero());var A=new o(1).toRed(this),k=A.redNeg(),g=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,g).cmp(k);)n.redIAdd(k);for(var b=this.pow(n,l),U=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),j=y;0!==V.cmp(A);){for(var Ae=V,Ke=0;0!==Ae.cmp(A);Ke++)Ae=Ae.redSqr();v(Ke<j);var qe=this.pow(b,new o(1).iushln(j-Ke-1));U=U.redMul(qe),b=qe.redSqr(),V=V.redMul(b),j=Ke}return U},$.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},$.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var l=new Array(16);l[0]=new o(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var A=l[0],k=0,g=0,n=r.bitLength()%26;for(0===n&&(n=26),y=r.length-1;y>=0;y--){for(var b=r.words[y],U=n-1;U>=0;U--){var V=b>>U&1;A!==l[0]&&(A=this.sqr(A)),0!==V||0!==k?(k<<=1,k|=V,(4==++g||0===y&&0===U)&&(A=this.mul(A,l[k]),g=0,k=0)):g=0}n=26}return A},$.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},$.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new fe(i)},D(fe,$),fe.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},fe.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},fe.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var h=i.imul(r),l=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(l).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},fe.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var h=i.mul(r),l=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(l).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},fe.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ve=m.nmd(Ve),this)},4901:Ve=>{"use strict";var Q={single_source_shortest_paths:function(m,t,e){var v={},D={};D[t]=0;var C,u,P,d,S,I,o=Q.PriorityQueue.make();for(o.push(t,0);!o.empty();)for(P in d=(C=o.pop()).cost,S=m[u=C.value]||{})S.hasOwnProperty(P)&&(I=d+S[P],(typeof D[P]>"u"||D[P]>I)&&(D[P]=I,o.push(P,I),v[P]=u));if(typeof e<"u"&&typeof D[e]>"u"){var z=["Could not find a path from ",t," to ",e,"."].join("");throw new Error(z)}return v},extract_shortest_path_from_predecessor_list:function(m,t){for(var e=[],v=t;v;)e.push(v),v=m[v];return e.reverse(),e},find_path:function(m,t,e){var v=Q.single_source_shortest_paths(m,t,e);return Q.extract_shortest_path_from_predecessor_list(v,e)},PriorityQueue:{make:function(m){var v,t=Q.PriorityQueue,e={};for(v in m=m||{},t)t.hasOwnProperty(v)&&(e[v]=t[v]);return e.queue=[],e.sorter=m.sorter||t.default_sorter,e},default_sorter:function(m,t){return m.cost-t.cost},push:function(m,t){this.queue.push({value:m,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Ve.exports=Q},7715:(Ve,Q,m)=>{"use strict";var t=Q;t.version=m(8597).i8,t.utils=m(1970),t.rand=m(7950),t.curve=m(6270),t.curves=m(2916),t.ec=m(7626),t.eddsa=m(1885)},7902:(Ve,Q,m)=>{"use strict";var t=m(7433),e=m(1970),v=e.getNAF,D=e.getJSF,o=e.assert;function C(P,d){this.type=P,this.p=new t(d.p,16),this.red=d.prime?t.red(d.prime):t.mont(this.p),this.zero=new t(0).toRed(this.red),this.one=new t(1).toRed(this.red),this.two=new t(2).toRed(this.red),this.n=d.n&&new t(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 S=this.n&&this.p.div(this.n);!S||S.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(P,d){this.curve=P,this.type=d,this.precomputed=null}Ve.exports=C,C.prototype.point=function(){throw new Error("Not implemented")},C.prototype.validate=function(){throw new Error("Not implemented")},C.prototype._fixedNafMul=function(d,S){o(d.precomputed);var w=d._getDoubles(),I=v(S,1,this._bitLength),E=(1<<w.step+1)-(w.step%2==0?2:1);E/=3;var z,G,N=[];for(z=0;z<I.length;z+=w.step){G=0;for(var W=z+w.step-1;W>=z;W--)G=(G<<1)+I[W];N.push(G)}for(var Y=this.jpoint(null,null,null),X=this.jpoint(null,null,null),ee=E;ee>0;ee--){for(z=0;z<N.length;z++)(G=N[z])===ee?X=X.mixedAdd(w.points[z]):G===-ee&&(X=X.mixedAdd(w.points[z].neg()));Y=Y.add(X)}return Y.toP()},C.prototype._wnafMul=function(d,S){for(var w=4,I=d._getNAFPoints(w),E=I.points,N=v(S,w=I.wnd,this._bitLength),z=this.jpoint(null,null,null),G=N.length-1;G>=0;G--){for(var W=0;G>=0&&0===N[G];G--)W++;if(G>=0&&W++,z=z.dblp(W),G<0)break;var Y=N[G];o(0!==Y),z="affine"===d.type?z.mixedAdd(Y>0?E[Y-1>>1]:E[-Y-1>>1].neg()):z.add(Y>0?E[Y-1>>1]:E[-Y-1>>1].neg())}return"affine"===d.type?z.toP():z},C.prototype._wnafMulAdd=function(d,S,w,I,E){var Y,X,ee,N=this._wnafT1,z=this._wnafT2,G=this._wnafT3,W=0;for(Y=0;Y<I;Y++){var ue=(ee=S[Y])._getNAFPoints(d);N[Y]=ue.wnd,z[Y]=ue.points}for(Y=I-1;Y>=1;Y-=2){var he=Y-1,ie=Y;if(1===N[he]&&1===N[ie]){var ce=[S[he],null,null,S[ie]];0===S[he].y.cmp(S[ie].y)?(ce[1]=S[he].add(S[ie]),ce[2]=S[he].toJ().mixedAdd(S[ie].neg())):0===S[he].y.cmp(S[ie].y.redNeg())?(ce[1]=S[he].toJ().mixedAdd(S[ie]),ce[2]=S[he].add(S[ie].neg())):(ce[1]=S[he].toJ().mixedAdd(S[ie]),ce[2]=S[he].toJ().mixedAdd(S[ie].neg()));var $=[-3,-1,-5,-7,0,7,5,1,3],fe=D(w[he],w[ie]);for(W=Math.max(fe[0].length,W),G[he]=new Array(W),G[ie]=new Array(W),X=0;X<W;X++)G[he][X]=$[3*(1+(0|fe[0][X]))+(1+(0|fe[1][X]))],G[ie][X]=0,z[he]=ce}else G[he]=v(w[he],N[he],this._bitLength),G[ie]=v(w[ie],N[ie],this._bitLength),W=Math.max(G[he].length,W),W=Math.max(G[ie].length,W)}var r=this.jpoint(null,null,null),h=this._wnafT4;for(Y=W;Y>=0;Y--){for(var l=0;Y>=0;){var y=!0;for(X=0;X<I;X++)h[X]=0|G[X][Y],0!==h[X]&&(y=!1);if(!y)break;l++,Y--}if(Y>=0&&l++,r=r.dblp(l),Y<0)break;for(X=0;X<I;X++){var A=h[X];0!==A&&(A>0?ee=z[X][A-1>>1]:A<0&&(ee=z[X][-A-1>>1].neg()),r="affine"===ee.type?r.mixedAdd(ee):r.add(ee))}}for(Y=0;Y<I;Y++)z[Y]=null;return E?r:r.toP()},C.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},C.prototype.decodePoint=function(d,S){d=e.toArray(d,S);var w=this.p.byteLength();if((4===d[0]||6===d[0]||7===d[0])&&d.length-1==2*w)return 6===d[0]?o(d[d.length-1]%2==0):7===d[0]&&o(d[d.length-1]%2==1),this.point(d.slice(1,1+w),d.slice(1+w,1+2*w));if((2===d[0]||3===d[0])&&d.length-1===w)return this.pointFromX(d.slice(1,1+w),3===d[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(d){return this.encode(d,!0)},u.prototype._encode=function(d){var S=this.curve.p.byteLength(),w=this.getX().toArray("be",S);return d?[this.getY().isEven()?2:3].concat(w):[4].concat(w,this.getY().toArray("be",S))},u.prototype.encode=function(d,S){return e.encode(this._encode(S),d)},u.prototype.precompute=function(d){if(this.precomputed)return this;var S={doubles:null,naf:null,beta:null};return S.naf=this._getNAFPoints(8),S.doubles=this._getDoubles(4,d),S.beta=this._getBeta(),this.precomputed=S,this},u.prototype._hasDoubles=function(d){if(!this.precomputed)return!1;var S=this.precomputed.doubles;return!!S&&S.points.length>=Math.ceil((d.bitLength()+1)/S.step)},u.prototype._getDoubles=function(d,S){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var w=[this],I=this,E=0;E<S;E+=d){for(var N=0;N<d;N++)I=I.dbl();w.push(I)}return{step:d,points:w}},u.prototype._getNAFPoints=function(d){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var S=[this],w=(1<<d)-1,I=1===w?null:this.dbl(),E=1;E<w;E++)S[E]=S[E-1].add(I);return{wnd:d,points:S}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(d){for(var S=this,w=0;w<d;w++)S=S.dbl();return S}},3835:(Ve,Q,m)=>{"use strict";var t=m(1970),e=m(7433),v=m(3894),D=m(7902),o=t.assert;function C(P){this.twisted=1!=(0|P.a),this.mOneA=this.twisted&&-1==(0|P.a),this.extended=this.mOneA,D.call(this,"edwards",P),this.a=new e(P.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new e(P.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new e(P.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),o(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|P.c)}function u(P,d,S,w,I){D.BasePoint.call(this,P,"projective"),null===d&&null===S&&null===w?(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 e(d,16),this.y=new e(S,16),this.z=w?new e(w,16):this.curve.one,this.t=I&&new e(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()))))}v(C,D),Ve.exports=C,C.prototype._mulA=function(d){return this.mOneA?d.redNeg():this.a.redMul(d)},C.prototype._mulC=function(d){return this.oneC?d:this.c.redMul(d)},C.prototype.jpoint=function(d,S,w,I){return this.point(d,S,w,I)},C.prototype.pointFromX=function(d,S){(d=new e(d,16)).red||(d=d.toRed(this.red));var w=d.redSqr(),I=this.c2.redSub(this.a.redMul(w)),E=this.one.redSub(this.c2.redMul(this.d).redMul(w)),N=I.redMul(E.redInvm()),z=N.redSqrt();if(0!==z.redSqr().redSub(N).cmp(this.zero))throw new Error("invalid point");var G=z.fromRed().isOdd();return(S&&!G||!S&&G)&&(z=z.redNeg()),this.point(d,z)},C.prototype.pointFromY=function(d,S){(d=new e(d,16)).red||(d=d.toRed(this.red));var w=d.redSqr(),I=w.redSub(this.c2),E=w.redMul(this.d).redMul(this.c2).redSub(this.a),N=I.redMul(E.redInvm());if(0===N.cmp(this.zero)){if(S)throw new Error("invalid point");return this.point(this.zero,d)}var z=N.redSqrt();if(0!==z.redSqr().redSub(N).cmp(this.zero))throw new Error("invalid point");return z.fromRed().isOdd()!==S&&(z=z.redNeg()),this.point(z,d)},C.prototype.validate=function(d){if(d.isInfinity())return!0;d.normalize();var S=d.x.redSqr(),w=d.y.redSqr(),I=S.redMul(this.a).redAdd(w),E=this.c2.redMul(this.one.redAdd(this.d.redMul(S).redMul(w)));return 0===I.cmp(E)},v(u,D.BasePoint),C.prototype.pointFromJSON=function(d){return u.fromJSON(this,d)},C.prototype.point=function(d,S,w,I){return new u(this,d,S,w,I)},u.fromJSON=function(d,S){return new u(d,S[0],S[1],S[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var d=this.x.redSqr(),S=this.y.redSqr(),w=this.z.redSqr();w=w.redIAdd(w);var I=this.curve._mulA(d),E=this.x.redAdd(this.y).redSqr().redISub(d).redISub(S),N=I.redAdd(S),z=N.redSub(w),G=I.redSub(S),W=E.redMul(z),Y=N.redMul(G),X=E.redMul(G),ee=z.redMul(N);return this.curve.point(W,Y,ee,X)},u.prototype._projDbl=function(){var I,E,N,z,G,W,d=this.x.redAdd(this.y).redSqr(),S=this.x.redSqr(),w=this.y.redSqr();if(this.curve.twisted){var Y=(z=this.curve._mulA(S)).redAdd(w);this.zOne?(I=d.redSub(S).redSub(w).redMul(Y.redSub(this.curve.two)),E=Y.redMul(z.redSub(w)),N=Y.redSqr().redSub(Y).redSub(Y)):(G=this.z.redSqr(),W=Y.redSub(G).redISub(G),I=d.redSub(S).redISub(w).redMul(W),E=Y.redMul(z.redSub(w)),N=Y.redMul(W))}else z=S.redAdd(w),G=this.curve._mulC(this.z).redSqr(),W=z.redSub(G).redSub(G),I=this.curve._mulC(d.redISub(z)).redMul(W),E=this.curve._mulC(z).redMul(S.redISub(w)),N=z.redMul(W);return this.curve.point(I,E,N)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(d){var S=this.y.redSub(this.x).redMul(d.y.redSub(d.x)),w=this.y.redAdd(this.x).redMul(d.y.redAdd(d.x)),I=this.t.redMul(this.curve.dd).redMul(d.t),E=this.z.redMul(d.z.redAdd(d.z)),N=w.redSub(S),z=E.redSub(I),G=E.redAdd(I),W=w.redAdd(S),Y=N.redMul(z),X=G.redMul(W),ee=N.redMul(W),ue=z.redMul(G);return this.curve.point(Y,X,ue,ee)},u.prototype._projAdd=function(d){var X,ee,S=this.z.redMul(d.z),w=S.redSqr(),I=this.x.redMul(d.x),E=this.y.redMul(d.y),N=this.curve.d.redMul(I).redMul(E),z=w.redSub(N),G=w.redAdd(N),W=this.x.redAdd(this.y).redMul(d.x.redAdd(d.y)).redISub(I).redISub(E),Y=S.redMul(z).redMul(W);return this.curve.twisted?(X=S.redMul(G).redMul(E.redSub(this.curve._mulA(I))),ee=z.redMul(G)):(X=S.redMul(G).redMul(E.redSub(I)),ee=this.curve._mulC(z).redMul(G)),this.curve.point(Y,X,ee)},u.prototype.add=function(d){return this.isInfinity()?d:d.isInfinity()?this:this.curve.extended?this._extAdd(d):this._projAdd(d)},u.prototype.mul=function(d){return this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve._wnafMul(this,d)},u.prototype.mulAdd=function(d,S,w){return this.curve._wnafMulAdd(1,[this,S],[d,w],2,!1)},u.prototype.jmulAdd=function(d,S,w){return this.curve._wnafMulAdd(1,[this,S],[d,w],2,!0)},u.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},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(d){return this===d||0===this.getX().cmp(d.getX())&&0===this.getY().cmp(d.getY())},u.prototype.eqXToP=function(d){var S=d.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(S))return!0;for(var w=d.clone(),I=this.curve.redN.redMul(this.z);;){if(w.iadd(this.curve.n),w.cmp(this.curve.p)>=0)return!1;if(S.redIAdd(I),0===this.x.cmp(S))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},6270:(Ve,Q,m)=>{"use strict";var t=Q;t.base=m(7902),t.short=m(1781),t.mont=m(7064),t.edwards=m(3835)},7064:(Ve,Q,m)=>{"use strict";var t=m(7433),e=m(3894),v=m(7902),D=m(1970);function o(u){v.call(this,"mont",u),this.a=new t(u.a,16).toRed(this.red),this.b=new t(u.b,16).toRed(this.red),this.i4=new t(4).toRed(this.red).redInvm(),this.two=new t(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function C(u,P,d){v.BasePoint.call(this,u,"projective"),null===P&&null===d?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new t(P,16),this.z=new t(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}e(o,v),Ve.exports=o,o.prototype.validate=function(P){var d=P.normalize().x,S=d.redSqr(),w=S.redMul(d).redAdd(S.redMul(this.a)).redAdd(d);return 0===w.redSqrt().redSqr().cmp(w)},e(C,v.BasePoint),o.prototype.decodePoint=function(P,d){return this.point(D.toArray(P,d),1)},o.prototype.point=function(P,d){return new C(this,P,d)},o.prototype.pointFromJSON=function(P){return C.fromJSON(this,P)},C.prototype.precompute=function(){},C.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},C.fromJSON=function(P,d){return new C(P,d[0],d[1]||P.one)},C.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},C.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},C.prototype.dbl=function(){var d=this.x.redAdd(this.z).redSqr(),w=this.x.redSub(this.z).redSqr(),I=d.redSub(w),E=d.redMul(w),N=I.redMul(w.redAdd(this.curve.a24.redMul(I)));return this.curve.point(E,N)},C.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},C.prototype.diffAdd=function(P,d){var S=this.x.redAdd(this.z),w=this.x.redSub(this.z),I=P.x.redAdd(P.z),N=P.x.redSub(P.z).redMul(S),z=I.redMul(w),G=d.z.redMul(N.redAdd(z).redSqr()),W=d.x.redMul(N.redISub(z).redSqr());return this.curve.point(G,W)},C.prototype.mul=function(P){for(var d=P.clone(),S=this,w=this.curve.point(null,null),E=[];0!==d.cmpn(0);d.iushrn(1))E.push(d.andln(1));for(var N=E.length-1;N>=0;N--)0===E[N]?(S=S.diffAdd(w,this),w=w.dbl()):(w=S.diffAdd(w,this),S=S.dbl());return w},C.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},C.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},C.prototype.eq=function(P){return 0===this.getX().cmp(P.getX())},C.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},C.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},1781:(Ve,Q,m)=>{"use strict";var t=m(1970),e=m(7433),v=m(3894),D=m(7902),o=t.assert;function C(d){D.call(this,"short",d),this.a=new e(d.a,16).toRed(this.red),this.b=new e(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 u(d,S,w,I){D.BasePoint.call(this,d,"affine"),null===S&&null===w?(this.x=null,this.y=null,this.inf=!0):(this.x=new e(S,16),this.y=new e(w,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,S,w,I){D.BasePoint.call(this,d,"jacobian"),null===S&&null===w&&null===I?(this.x=this.curve.one,this.y=this.curve.one,this.z=new e(0)):(this.x=new e(S,16),this.y=new e(w,16),this.z=new e(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}v(C,D),Ve.exports=C,C.prototype._getEndomorphism=function(S){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var w,I;if(S.beta)w=new e(S.beta,16).toRed(this.red);else{var E=this._getEndoRoots(this.p);w=(w=E[0].cmp(E[1])<0?E[0]:E[1]).toRed(this.red)}if(S.lambda)I=new e(S.lambda,16);else{var N=this._getEndoRoots(this.n);0===this.g.mul(N[0]).x.cmp(this.g.x.redMul(w))?I=N[0]:o(0===this.g.mul(I=N[1]).x.cmp(this.g.x.redMul(w)))}return{beta:w,lambda:I,basis:S.basis?S.basis.map(function(G){return{a:new e(G.a,16),b:new e(G.b,16)}}):this._getEndoBasis(I)}}},C.prototype._getEndoRoots=function(S){var w=S===this.p?this.red:e.mont(S),I=new e(2).toRed(w).redInvm(),E=I.redNeg(),N=new e(3).toRed(w).redNeg().redSqrt().redMul(I);return[E.redAdd(N).fromRed(),E.redSub(N).fromRed()]},C.prototype._getEndoBasis=function(S){for(var Y,X,ee,ue,he,ie,ce,fe,T,w=this.n.ushrn(Math.floor(this.n.bitLength()/2)),I=S,E=this.n.clone(),N=new e(1),z=new e(0),G=new e(0),W=new e(1),$=0;0!==I.cmpn(0);){var i=E.div(I);fe=E.sub(i.mul(I)),T=G.sub(i.mul(N));var r=W.sub(i.mul(z));if(!ee&&fe.cmp(w)<0)Y=ce.neg(),X=N,ee=fe.neg(),ue=T;else if(ee&&2==++$)break;ce=fe,E=I,I=fe,G=N,N=T,W=z,z=r}he=fe.neg(),ie=T;var h=ee.sqr().add(ue.sqr());return he.sqr().add(ie.sqr()).cmp(h)>=0&&(he=Y,ie=X),ee.negative&&(ee=ee.neg(),ue=ue.neg()),he.negative&&(he=he.neg(),ie=ie.neg()),[{a:ee,b:ue},{a:he,b:ie}]},C.prototype._endoSplit=function(S){var w=this.endo.basis,I=w[0],E=w[1],N=E.b.mul(S).divRound(this.n),z=I.b.neg().mul(S).divRound(this.n),G=N.mul(I.a),W=z.mul(E.a),Y=N.mul(I.b),X=z.mul(E.b);return{k1:S.sub(G).sub(W),k2:Y.add(X).neg()}},C.prototype.pointFromX=function(S,w){(S=new e(S,16)).red||(S=S.toRed(this.red));var I=S.redSqr().redMul(S).redIAdd(S.redMul(this.a)).redIAdd(this.b),E=I.redSqrt();if(0!==E.redSqr().redSub(I).cmp(this.zero))throw new Error("invalid point");var N=E.fromRed().isOdd();return(w&&!N||!w&&N)&&(E=E.redNeg()),this.point(S,E)},C.prototype.validate=function(S){if(S.inf)return!0;var w=S.x,I=S.y,E=this.a.redMul(w),N=w.redSqr().redMul(w).redIAdd(E).redIAdd(this.b);return 0===I.redSqr().redISub(N).cmpn(0)},C.prototype._endoWnafMulAdd=function(S,w,I){for(var E=this._endoWnafT1,N=this._endoWnafT2,z=0;z<S.length;z++){var G=this._endoSplit(w[z]),W=S[z],Y=W._getBeta();G.k1.negative&&(G.k1.ineg(),W=W.neg(!0)),G.k2.negative&&(G.k2.ineg(),Y=Y.neg(!0)),E[2*z]=W,E[2*z+1]=Y,N[2*z]=G.k1,N[2*z+1]=G.k2}for(var X=this._wnafMulAdd(1,E,N,2*z,I),ee=0;ee<2*z;ee++)E[ee]=null,N[ee]=null;return X},v(u,D.BasePoint),C.prototype.point=function(S,w,I){return new u(this,S,w,I)},C.prototype.pointFromJSON=function(S,w){return u.fromJSON(this,S,w)},u.prototype._getBeta=function(){if(this.curve.endo){var S=this.precomputed;if(S&&S.beta)return S.beta;var w=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(S){var I=this.curve,E=function(N){return I.point(N.x.redMul(I.endo.beta),N.y)};S.beta=w,w.precomputed={beta:null,naf:S.naf&&{wnd:S.naf.wnd,points:S.naf.points.map(E)},doubles:S.doubles&&{step:S.doubles.step,points:S.doubles.points.map(E)}}}return w}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(S,w,I){"string"==typeof w&&(w=JSON.parse(w));var E=S.point(w[0],w[1],I);if(!w[2])return E;function N(G){return S.point(G[0],G[1],I)}var z=w[2];return E.precomputed={beta:null,doubles:z.doubles&&{step:z.doubles.step,points:[E].concat(z.doubles.points.map(N))},naf:z.naf&&{wnd:z.naf.wnd,points:[E].concat(z.naf.points.map(N))}},E},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(S){if(this.inf)return S;if(S.inf)return this;if(this.eq(S))return this.dbl();if(this.neg().eq(S))return this.curve.point(null,null);if(0===this.x.cmp(S.x))return this.curve.point(null,null);var w=this.y.redSub(S.y);0!==w.cmpn(0)&&(w=w.redMul(this.x.redSub(S.x).redInvm()));var I=w.redSqr().redISub(this.x).redISub(S.x),E=w.redMul(this.x.redSub(I)).redISub(this.y);return this.curve.point(I,E)},u.prototype.dbl=function(){if(this.inf)return this;var S=this.y.redAdd(this.y);if(0===S.cmpn(0))return this.curve.point(null,null);var w=this.curve.a,I=this.x.redSqr(),E=S.redInvm(),N=I.redAdd(I).redIAdd(I).redIAdd(w).redMul(E),z=N.redSqr().redISub(this.x.redAdd(this.x)),G=N.redMul(this.x.redSub(z)).redISub(this.y);return this.curve.point(z,G)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(S){return S=new e(S,16),this.isInfinity()?this:this._hasDoubles(S)?this.curve._fixedNafMul(this,S):this.curve.endo?this.curve._endoWnafMulAdd([this],[S]):this.curve._wnafMul(this,S)},u.prototype.mulAdd=function(S,w,I){var E=[this,w],N=[S,I];return this.curve.endo?this.curve._endoWnafMulAdd(E,N):this.curve._wnafMulAdd(1,E,N,2)},u.prototype.jmulAdd=function(S,w,I){var E=[this,w],N=[S,I];return this.curve.endo?this.curve._endoWnafMulAdd(E,N,!0):this.curve._wnafMulAdd(1,E,N,2,!0)},u.prototype.eq=function(S){return this===S||this.inf===S.inf&&(this.inf||0===this.x.cmp(S.x)&&0===this.y.cmp(S.y))},u.prototype.neg=function(S){if(this.inf)return this;var w=this.curve.point(this.x,this.y.redNeg());if(S&&this.precomputed){var I=this.precomputed,E=function(N){return N.neg()};w.precomputed={naf:I.naf&&{wnd:I.naf.wnd,points:I.naf.points.map(E)},doubles:I.doubles&&{step:I.doubles.step,points:I.doubles.points.map(E)}}}return w},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},v(P,D.BasePoint),C.prototype.jpoint=function(S,w,I){return new P(this,S,w,I)},P.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var S=this.z.redInvm(),w=S.redSqr(),I=this.x.redMul(w),E=this.y.redMul(w).redMul(S);return this.curve.point(I,E)},P.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},P.prototype.add=function(S){if(this.isInfinity())return S;if(S.isInfinity())return this;var w=S.z.redSqr(),I=this.z.redSqr(),E=this.x.redMul(w),N=S.x.redMul(I),z=this.y.redMul(w.redMul(S.z)),G=S.y.redMul(I.redMul(this.z)),W=E.redSub(N),Y=z.redSub(G);if(0===W.cmpn(0))return 0!==Y.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var X=W.redSqr(),ee=X.redMul(W),ue=E.redMul(X),he=Y.redSqr().redIAdd(ee).redISub(ue).redISub(ue),ie=Y.redMul(ue.redISub(he)).redISub(z.redMul(ee)),ce=this.z.redMul(S.z).redMul(W);return this.curve.jpoint(he,ie,ce)},P.prototype.mixedAdd=function(S){if(this.isInfinity())return S.toJ();if(S.isInfinity())return this;var w=this.z.redSqr(),I=this.x,E=S.x.redMul(w),N=this.y,z=S.y.redMul(w).redMul(this.z),G=I.redSub(E),W=N.redSub(z);if(0===G.cmpn(0))return 0!==W.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var Y=G.redSqr(),X=Y.redMul(G),ee=I.redMul(Y),ue=W.redSqr().redIAdd(X).redISub(ee).redISub(ee),he=W.redMul(ee.redISub(ue)).redISub(N.redMul(X)),ie=this.z.redMul(G);return this.curve.jpoint(ue,he,ie)},P.prototype.dblp=function(S){if(0===S)return this;if(this.isInfinity())return this;if(!S)return this.dbl();var w;if(this.curve.zeroA||this.curve.threeA){var I=this;for(w=0;w<S;w++)I=I.dbl();return I}var E=this.curve.a,N=this.curve.tinv,z=this.x,G=this.y,W=this.z,Y=W.redSqr().redSqr(),X=G.redAdd(G);for(w=0;w<S;w++){var ee=z.redSqr(),ue=X.redSqr(),he=ue.redSqr(),ie=ee.redAdd(ee).redIAdd(ee).redIAdd(E.redMul(Y)),ce=z.redMul(ue),$=ie.redSqr().redISub(ce.redAdd(ce)),fe=ce.redISub($),T=ie.redMul(fe);T=T.redIAdd(T).redISub(he);var i=X.redMul(W);w+1<S&&(Y=Y.redMul(he)),z=$,W=i,X=T}return this.curve.jpoint(z,X.redMul(N),W)},P.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},P.prototype._zeroDbl=function(){var S,w,I;if(this.zOne){var E=this.x.redSqr(),N=this.y.redSqr(),z=N.redSqr(),G=this.x.redAdd(N).redSqr().redISub(E).redISub(z);G=G.redIAdd(G);var W=E.redAdd(E).redIAdd(E),Y=W.redSqr().redISub(G).redISub(G),X=z.redIAdd(z);X=(X=X.redIAdd(X)).redIAdd(X),S=Y,w=W.redMul(G.redISub(Y)).redISub(X),I=this.y.redAdd(this.y)}else{var ee=this.x.redSqr(),ue=this.y.redSqr(),he=ue.redSqr(),ie=this.x.redAdd(ue).redSqr().redISub(ee).redISub(he);ie=ie.redIAdd(ie);var ce=ee.redAdd(ee).redIAdd(ee),$=ce.redSqr(),fe=he.redIAdd(he);fe=(fe=fe.redIAdd(fe)).redIAdd(fe),S=$.redISub(ie).redISub(ie),w=ce.redMul(ie.redISub(S)).redISub(fe),I=(I=this.y.redMul(this.z)).redIAdd(I)}return this.curve.jpoint(S,w,I)},P.prototype._threeDbl=function(){var S,w,I;if(this.zOne){var E=this.x.redSqr(),N=this.y.redSqr(),z=N.redSqr(),G=this.x.redAdd(N).redSqr().redISub(E).redISub(z);G=G.redIAdd(G);var W=E.redAdd(E).redIAdd(E).redIAdd(this.curve.a),Y=W.redSqr().redISub(G).redISub(G);S=Y;var X=z.redIAdd(z);X=(X=X.redIAdd(X)).redIAdd(X),w=W.redMul(G.redISub(Y)).redISub(X),I=this.y.redAdd(this.y)}else{var ee=this.z.redSqr(),ue=this.y.redSqr(),he=this.x.redMul(ue),ie=this.x.redSub(ee).redMul(this.x.redAdd(ee));ie=ie.redAdd(ie).redIAdd(ie);var ce=he.redIAdd(he),$=(ce=ce.redIAdd(ce)).redAdd(ce);S=ie.redSqr().redISub($),I=this.y.redAdd(this.z).redSqr().redISub(ue).redISub(ee);var fe=ue.redSqr();fe=(fe=(fe=fe.redIAdd(fe)).redIAdd(fe)).redIAdd(fe),w=ie.redMul(ce.redISub(S)).redISub(fe)}return this.curve.jpoint(S,w,I)},P.prototype._dbl=function(){var S=this.curve.a,w=this.x,I=this.y,E=this.z,N=E.redSqr().redSqr(),z=w.redSqr(),G=I.redSqr(),W=z.redAdd(z).redIAdd(z).redIAdd(S.redMul(N)),Y=w.redAdd(w),X=(Y=Y.redIAdd(Y)).redMul(G),ee=W.redSqr().redISub(X.redAdd(X)),ue=X.redISub(ee),he=G.redSqr();he=(he=(he=he.redIAdd(he)).redIAdd(he)).redIAdd(he);var ie=W.redMul(ue).redISub(he),ce=I.redAdd(I).redMul(E);return this.curve.jpoint(ee,ie,ce)},P.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var S=this.x.redSqr(),w=this.y.redSqr(),I=this.z.redSqr(),E=w.redSqr(),N=S.redAdd(S).redIAdd(S),z=N.redSqr(),G=this.x.redAdd(w).redSqr().redISub(S).redISub(E),W=(G=(G=(G=G.redIAdd(G)).redAdd(G).redIAdd(G)).redISub(z)).redSqr(),Y=E.redIAdd(E);Y=(Y=(Y=Y.redIAdd(Y)).redIAdd(Y)).redIAdd(Y);var X=N.redIAdd(G).redSqr().redISub(z).redISub(W).redISub(Y),ee=w.redMul(X);ee=(ee=ee.redIAdd(ee)).redIAdd(ee);var ue=this.x.redMul(W).redISub(ee);ue=(ue=ue.redIAdd(ue)).redIAdd(ue);var he=this.y.redMul(X.redMul(Y.redISub(X)).redISub(G.redMul(W)));he=(he=(he=he.redIAdd(he)).redIAdd(he)).redIAdd(he);var ie=this.z.redAdd(G).redSqr().redISub(I).redISub(W);return this.curve.jpoint(ue,he,ie)},P.prototype.mul=function(S,w){return S=new e(S,w),this.curve._wnafMul(this,S)},P.prototype.eq=function(S){if("affine"===S.type)return this.eq(S.toJ());if(this===S)return!0;var w=this.z.redSqr(),I=S.z.redSqr();if(0!==this.x.redMul(I).redISub(S.x.redMul(w)).cmpn(0))return!1;var E=w.redMul(this.z),N=I.redMul(S.z);return 0===this.y.redMul(N).redISub(S.y.redMul(E)).cmpn(0)},P.prototype.eqXToP=function(S){var w=this.z.redSqr(),I=S.toRed(this.curve.red).redMul(w);if(0===this.x.cmp(I))return!0;for(var E=S.clone(),N=this.curve.redN.redMul(w);;){if(E.iadd(this.curve.n),E.cmp(this.curve.p)>=0)return!1;if(I.redIAdd(N),0===this.x.cmp(I))return!0}},P.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},P.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},2916:(Ve,Q,m)=>{"use strict";var P,t=Q,e=m(7084),v=m(6270),o=m(1970).assert;function C(d){this.curve="short"===d.type?new v.short(d):"edwards"===d.type?new v.edwards(d):new v.mont(d),this.g=this.curve.g,this.n=this.curve.n,this.hash=d.hash,o(this.g.validate(),"Invalid curve"),o(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(d,S){Object.defineProperty(t,d,{configurable:!0,enumerable:!0,get:function(){var w=new C(S);return Object.defineProperty(t,d,{configurable:!0,enumerable:!0,value:w}),w}})}t.PresetCurve=C,u("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:e.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("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:e.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("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:e.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("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:e.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"]}),u("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:e.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"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:e.sha256,gRed:!1,g:["9"]}),u("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:e.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{P=m(5150)}catch{P=void 0}u("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:e.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",P]})},7626:(Ve,Q,m)=>{"use strict";var t=m(7433),e=m(2438),v=m(1970),D=m(2916),o=m(7950),C=v.assert,u=m(1259),P=m(5957);function d(S){if(!(this instanceof d))return new d(S);"string"==typeof S&&(C(Object.prototype.hasOwnProperty.call(D,S),"Unknown curve "+S),S=D[S]),S instanceof D.PresetCurve&&(S={curve:S}),this.curve=S.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=S.curve.g,this.g.precompute(S.curve.n.bitLength()+1),this.hash=S.hash||S.curve.hash}Ve.exports=d,d.prototype.keyPair=function(w){return new u(this,w)},d.prototype.keyFromPrivate=function(w,I){return u.fromPrivate(this,w,I)},d.prototype.keyFromPublic=function(w,I){return u.fromPublic(this,w,I)},d.prototype.genKeyPair=function(w){w||(w={});for(var I=new e({hash:this.hash,pers:w.pers,persEnc:w.persEnc||"utf8",entropy:w.entropy||o(this.hash.hmacStrength),entropyEnc:w.entropy&&w.entropyEnc||"utf8",nonce:this.n.toArray()}),E=this.n.byteLength(),N=this.n.sub(new t(2));;){var z=new t(I.generate(E));if(!(z.cmp(N)>0))return z.iaddn(1),this.keyFromPrivate(z)}},d.prototype._truncateToN=function(w,I){var E=8*w.byteLength()-this.n.bitLength();return E>0&&(w=w.ushrn(E)),!I&&w.cmp(this.n)>=0?w.sub(this.n):w},d.prototype.sign=function(w,I,E,N){"object"==typeof E&&(N=E,E=null),N||(N={}),I=this.keyFromPrivate(I,E),w=this._truncateToN(new t(w,16));for(var z=this.n.byteLength(),G=I.getPrivate().toArray("be",z),W=w.toArray("be",z),Y=new e({hash:this.hash,entropy:G,nonce:W,pers:N.pers,persEnc:N.persEnc||"utf8"}),X=this.n.sub(new t(1)),ee=0;;ee++){var ue=N.k?N.k(ee):new t(Y.generate(this.n.byteLength()));if(!((ue=this._truncateToN(ue,!0)).cmpn(1)<=0||ue.cmp(X)>=0)){var he=this.g.mul(ue);if(!he.isInfinity()){var ie=he.getX(),ce=ie.umod(this.n);if(0!==ce.cmpn(0)){var $=ue.invm(this.n).mul(ce.mul(I.getPrivate()).iadd(w));if(0!==($=$.umod(this.n)).cmpn(0)){var fe=(he.getY().isOdd()?1:0)|(0!==ie.cmp(ce)?2:0);return N.canonical&&$.cmp(this.nh)>0&&($=this.n.sub($),fe^=1),new P({r:ce,s:$,recoveryParam:fe})}}}}}},d.prototype.verify=function(w,I,E,N){w=this._truncateToN(new t(w,16)),E=this.keyFromPublic(E,N);var z=(I=new P(I,"hex")).r,G=I.s;if(z.cmpn(1)<0||z.cmp(this.n)>=0||G.cmpn(1)<0||G.cmp(this.n)>=0)return!1;var ee,W=G.invm(this.n),Y=W.mul(w).umod(this.n),X=W.mul(z).umod(this.n);return this.curve._maxwellTrick?!(ee=this.g.jmulAdd(Y,E.getPublic(),X)).isInfinity()&&ee.eqXToP(z):!(ee=this.g.mulAdd(Y,E.getPublic(),X)).isInfinity()&&0===ee.getX().umod(this.n).cmp(z)},d.prototype.recoverPubKey=function(S,w,I,E){C((3&I)===I,"The recovery param is more than two bits"),w=new P(w,E);var N=this.n,z=new t(S),G=w.r,W=w.s,Y=1&I,X=I>>1;if(G.cmp(this.curve.p.umod(this.curve.n))>=0&&X)throw new Error("Unable to find sencond key candinate");G=this.curve.pointFromX(X?G.add(this.curve.n):G,Y);var ee=w.r.invm(N),ue=N.sub(z).mul(ee).umod(N),he=W.mul(ee).umod(N);return this.g.mulAdd(ue,G,he)},d.prototype.getKeyRecoveryParam=function(S,w,I,E){if(null!==(w=new P(w,E)).recoveryParam)return w.recoveryParam;for(var N=0;N<4;N++){var z;try{z=this.recoverPubKey(S,w,N)}catch{continue}if(z.eq(I))return N}throw new Error("Unable to find valid recovery factor")}},1259:(Ve,Q,m)=>{"use strict";var t=m(7433),v=m(1970).assert;function D(o,C){this.ec=o,this.priv=null,this.pub=null,C.priv&&this._importPrivate(C.priv,C.privEnc),C.pub&&this._importPublic(C.pub,C.pubEnc)}Ve.exports=D,D.fromPublic=function(C,u,P){return u instanceof D?u:new D(C,{pub:u,pubEnc:P})},D.fromPrivate=function(C,u,P){return u instanceof D?u:new D(C,{priv:u,privEnc:P})},D.prototype.validate=function(){var C=this.getPublic();return C.isInfinity()?{result:!1,reason:"Invalid public key"}:C.validate()?C.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"}},D.prototype.getPublic=function(C,u){return"string"==typeof C&&(u=C,C=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),u?this.pub.encode(u,C):this.pub},D.prototype.getPrivate=function(C){return"hex"===C?this.priv.toString(16,2):this.priv},D.prototype._importPrivate=function(C,u){this.priv=new t(C,u||16),this.priv=this.priv.umod(this.ec.curve.n)},D.prototype._importPublic=function(C,u){if(C.x||C.y)return"mont"===this.ec.curve.type?v(C.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&v(C.x&&C.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(C.x,C.y));this.pub=this.ec.curve.decodePoint(C,u)},D.prototype.derive=function(C){return C.validate()||v(C.validate(),"public point not validated"),C.mul(this.priv).getX()},D.prototype.sign=function(C,u,P){return this.ec.sign(C,this,u,P)},D.prototype.verify=function(C,u){return this.ec.verify(C,u,this)},D.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},5957:(Ve,Q,m)=>{"use strict";var t=m(7433),e=m(1970),v=e.assert;function D(d,S){if(d instanceof D)return d;this._importDER(d,S)||(v(d.r&&d.s,"Signature without r or s"),this.r=new t(d.r,16),this.s=new t(d.s,16),this.recoveryParam=void 0===d.recoveryParam?null:d.recoveryParam)}function o(){this.place=0}function C(d,S){var w=d[S.place++];if(!(128&w))return w;var I=15&w;if(0===I||I>4)return!1;for(var E=0,N=0,z=S.place;N<I;N++,z++)E<<=8,E|=d[z],E>>>=0;return!(E<=127)&&(S.place=z,E)}function u(d){for(var S=0,w=d.length-1;!d[S]&&!(128&d[S+1])&&S<w;)S++;return 0===S?d:d.slice(S)}function P(d,S){if(S<128)d.push(S);else{var w=1+(Math.log(S)/Math.LN2>>>3);for(d.push(128|w);--w;)d.push(S>>>(w<<3)&255);d.push(S)}}Ve.exports=D,D.prototype._importDER=function(S,w){S=e.toArray(S,w);var I=new o;if(48!==S[I.place++])return!1;var E=C(S,I);if(!1===E||E+I.place!==S.length||2!==S[I.place++])return!1;var N=C(S,I);if(!1===N)return!1;var z=S.slice(I.place,N+I.place);if(I.place+=N,2!==S[I.place++])return!1;var G=C(S,I);if(!1===G||S.length!==G+I.place)return!1;var W=S.slice(I.place,G+I.place);if(0===z[0]){if(!(128&z[1]))return!1;z=z.slice(1)}if(0===W[0]){if(!(128&W[1]))return!1;W=W.slice(1)}return this.r=new t(z),this.s=new t(W),this.recoveryParam=null,!0},D.prototype.toDER=function(S){var w=this.r.toArray(),I=this.s.toArray();for(128&w[0]&&(w=[0].concat(w)),128&I[0]&&(I=[0].concat(I)),w=u(w),I=u(I);!(I[0]||128&I[1]);)I=I.slice(1);var E=[2];P(E,w.length),(E=E.concat(w)).push(2),P(E,I.length);var N=E.concat(I),z=[48];return P(z,N.length),z=z.concat(N),e.encode(z,S)}},1885:(Ve,Q,m)=>{"use strict";var t=m(7084),e=m(2916),v=m(1970),D=v.assert,o=v.parseBytes,C=m(7535),u=m(8241);function P(d){if(D("ed25519"===d,"only tested with ed25519 so far"),!(this instanceof P))return new P(d);this.curve=d=e[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=t.sha512}Ve.exports=P,P.prototype.sign=function(S,w){S=o(S);var I=this.keyFromSecret(w),E=this.hashInt(I.messagePrefix(),S),N=this.g.mul(E),z=this.encodePoint(N),G=this.hashInt(z,I.pubBytes(),S).mul(I.priv()),W=E.add(G).umod(this.curve.n);return this.makeSignature({R:N,S:W,Rencoded:z})},P.prototype.verify=function(S,w,I){S=o(S),w=this.makeSignature(w);var E=this.keyFromPublic(I),N=this.hashInt(w.Rencoded(),E.pubBytes(),S),z=this.g.mul(w.S());return w.R().add(E.pub().mul(N)).eq(z)},P.prototype.hashInt=function(){for(var S=this.hash(),w=0;w<arguments.length;w++)S.update(arguments[w]);return v.intFromLE(S.digest()).umod(this.curve.n)},P.prototype.keyFromPublic=function(S){return C.fromPublic(this,S)},P.prototype.keyFromSecret=function(S){return C.fromSecret(this,S)},P.prototype.makeSignature=function(S){return S instanceof u?S:new u(this,S)},P.prototype.encodePoint=function(S){var w=S.getY().toArray("le",this.encodingLength);return w[this.encodingLength-1]|=S.getX().isOdd()?128:0,w},P.prototype.decodePoint=function(S){var w=(S=v.parseBytes(S)).length-1,I=S.slice(0,w).concat(-129&S[w]),E=0!=(128&S[w]),N=v.intFromLE(I);return this.curve.pointFromY(N,E)},P.prototype.encodeInt=function(S){return S.toArray("le",this.encodingLength)},P.prototype.decodeInt=function(S){return v.intFromLE(S)},P.prototype.isPoint=function(S){return S instanceof this.pointClass}},7535:(Ve,Q,m)=>{"use strict";var t=m(1970),e=t.assert,v=t.parseBytes,D=t.cachedProperty;function o(C,u){this.eddsa=C,this._secret=v(u.secret),C.isPoint(u.pub)?this._pub=u.pub:this._pubBytes=v(u.pub)}o.fromPublic=function(u,P){return P instanceof o?P:new o(u,{pub:P})},o.fromSecret=function(u,P){return P instanceof o?P:new o(u,{secret:P})},o.prototype.secret=function(){return this._secret},D(o,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),D(o,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),D(o,"privBytes",function(){var u=this.eddsa,P=this.hash(),d=u.encodingLength-1,S=P.slice(0,u.encodingLength);return S[0]&=248,S[d]&=127,S[d]|=64,S}),D(o,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),D(o,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),D(o,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),o.prototype.sign=function(u){return e(this._secret,"KeyPair can only verify"),this.eddsa.sign(u,this)},o.prototype.verify=function(u,P){return this.eddsa.verify(u,P,this)},o.prototype.getSecret=function(u){return e(this._secret,"KeyPair is public only"),t.encode(this.secret(),u)},o.prototype.getPublic=function(u){return t.encode(this.pubBytes(),u)},Ve.exports=o},8241:(Ve,Q,m)=>{"use strict";var t=m(7433),e=m(1970),v=e.assert,D=e.cachedProperty,o=e.parseBytes;function C(u,P){this.eddsa=u,"object"!=typeof P&&(P=o(P)),Array.isArray(P)&&(P={R:P.slice(0,u.encodingLength),S:P.slice(u.encodingLength)}),v(P.R&&P.S,"Signature without R or S"),u.isPoint(P.R)&&(this._R=P.R),P.S instanceof t&&(this._S=P.S),this._Rencoded=Array.isArray(P.R)?P.R:P.Rencoded,this._Sencoded=Array.isArray(P.S)?P.S:P.Sencoded}D(C,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),D(C,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),D(C,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),D(C,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),C.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},C.prototype.toHex=function(){return e.encode(this.toBytes(),"hex").toUpperCase()},Ve.exports=C},5150:Ve=>{Ve.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"]]}}},1970:(Ve,Q,m)=>{"use strict";var t=Q,e=m(7433),v=m(2391),D=m(8195);t.assert=v,t.toArray=D.toArray,t.zero2=D.zero2,t.toHex=D.toHex,t.encode=D.encode,t.getNAF=function o(S,w,I){var E=new Array(Math.max(S.bitLength(),I)+1);E.fill(0);for(var N=1<<w+1,z=S.clone(),G=0;G<E.length;G++){var W,Y=z.andln(N-1);z.isOdd()?z.isubn(W=Y>(N>>1)-1?(N>>1)-Y:Y):W=0,E[G]=W,z.iushrn(1)}return E},t.getJSF=function C(S,w){var I=[[],[]];S=S.clone(),w=w.clone();for(var z,E=0,N=0;S.cmpn(-E)>0||w.cmpn(-N)>0;){var Y,X,G=S.andln(3)+E&3,W=w.andln(3)+N&3;3===G&&(G=-1),3===W&&(W=-1),Y=0==(1&G)?0:3!=(z=S.andln(7)+E&7)&&5!==z||2!==W?G:-G,I[0].push(Y),X=0==(1&W)?0:3!=(z=w.andln(7)+N&7)&&5!==z||2!==G?W:-W,I[1].push(X),2*E===Y+1&&(E=1-E),2*N===X+1&&(N=1-N),S.iushrn(1),w.iushrn(1)}return I},t.cachedProperty=function u(S,w,I){var E="_"+w;S.prototype[w]=function(){return void 0!==this[E]?this[E]:this[E]=I.call(this)}},t.parseBytes=function P(S){return"string"==typeof S?t.toArray(S,"hex"):S},t.intFromLE=function d(S){return new e(S,"hex","le")}},7433:function(Ve,Q,m){!function(t,e){"use strict";function v(T,i){if(!T)throw new Error(i||"Assertion failed")}function D(T,i){T.super_=i;var r=function(){};r.prototype=i.prototype,T.prototype=new r,T.prototype.constructor=T}function o(T,i,r){if(o.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(T||0,i||10,r||"be"))}var C;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(5568).Buffer}catch{}function u(T,i){var r=T.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function P(T,i,r){var h=u(T,r);return r-1>=i&&(h|=u(T,r-1)<<4),h}function d(T,i,r,h){for(var l=0,y=Math.min(T.length,r),A=i;A<y;A++){var k=T.charCodeAt(A)-48;l*=h,l+=k>=49?k-49+10:k>=17?k-17+10:k}return l}o.isBN=function(i){return i instanceof o||null!==i&&"object"==typeof i&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,r){return i.cmp(r)>0?i:r},o.min=function(i,r){return i.cmp(r)<0?i:r},o.prototype._init=function(i,r,h){if("number"==typeof i)return this._initNumber(i,r,h);if("object"==typeof i)return this._initArray(i,r,h);"hex"===r&&(r=16),v(r===(0|r)&&r>=2&&r<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===r?this._parseHex(i,l,h):(this._parseBase(i,r,l),"le"===h&&this._initArray(this.toArray(),r,h)))},o.prototype._initNumber=function(i,r,h){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[67108863&i],this.length=1):i<4503599627370496?(this.words=[67108863&i,i/67108864&67108863],this.length=2):(v(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===h&&this._initArray(this.toArray(),r,h)},o.prototype._initArray=function(i,r,h){if(v("number"==typeof i.length),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var y,A,k=0;if("be"===h)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(A=i[l]|i[l-1]<<8|i[l-2]<<16)<<k&67108863,this.words[y+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);else if("le"===h)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(A=i[l]|i[l+1]<<8|i[l+2]<<16)<<k&67108863,this.words[y+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);return this.strip()},o.prototype._parseHex=function(i,r,h){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var k,y=0,A=0;if("be"===h)for(l=i.length-1;l>=r;l-=2)k=P(i,r,l)<<y,this.words[A]|=67108863&k,y>=18?(y-=18,this.words[A+=1]|=k>>>26):y+=8;else for(l=(i.length-r)%2==0?r+1:r;l<i.length;l+=2)k=P(i,r,l)<<y,this.words[A]|=67108863&k,y>=18?(y-=18,this.words[A+=1]|=k>>>26):y+=8;this.strip()},o.prototype._parseBase=function(i,r,h){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=r)l++;l--,y=y/r|0;for(var A=i.length-h,k=A%l,g=Math.min(A,A-k)+h,n=0,b=h;b<g;b+=l)n=d(i,b,b+l,r),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==k){var U=1;for(n=d(i,b,i.length,r),b=0;b<k;b++)U*=r;this.imuln(U),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var r=0;r<this.length;r++)i.words[r]=this.words[r];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var S=["","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"],w=[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 N(T,i,r){r.negative=i.negative^T.negative;var h=T.length+i.length|0;r.length=h,h=h-1|0;var l=0|T.words[0],y=0|i.words[0],A=l*y,g=A/67108864|0;r.words[0]=67108863&A;for(var n=1;n<h;n++){for(var b=g>>>26,U=67108863&g,V=Math.min(n,i.length-1),j=Math.max(0,n-T.length+1);j<=V;j++)b+=(A=(l=0|T.words[n-j|0])*(y=0|i.words[j])+U)/67108864|0,U=67108863&A;r.words[n]=0|U,g=0|b}return 0!==g?r.words[n]=0|g:r.length--,r.strip()}o.prototype.toString=function(i,r){var h;if(r=0|r||1,16===(i=i||10)||"hex"===i){h="";for(var l=0,y=0,A=0;A<this.length;A++){var k=this.words[A],g=(16777215&(k<<l|y)).toString(16);h=0!=(y=k>>>24-l&16777215)||A!==this.length-1?S[6-g.length]+g+h:g+h,(l+=2)>=26&&(l-=26,A--)}for(0!==y&&(h=y.toString(16)+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=I[i];h="";var U=this.clone();for(U.negative=0;!U.isZero();){var V=U.modn(b).toString(i);h=(U=U.idivn(b)).isZero()?V+h:S[n-V.length]+V+h}for(this.isZero()&&(h="0"+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}v(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return 2===this.length?i+=67108864*this.words[1]:3===this.length&&1===this.words[2]?i+=4503599627370496+67108864*this.words[1]:this.length>2&&v(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,r){return v(typeof C<"u"),this.toArrayLike(C,i,r)},o.prototype.toArray=function(i,r){return this.toArrayLike(Array,i,r)},o.prototype.toArrayLike=function(i,r,h){var l=this.byteLength(),y=h||Math.max(1,l);v(l<=y,"byte array longer than desired length"),v(y>0,"Requested array length <= 0"),this.strip();var g,n,A="le"===r,k=new i(y),b=this.clone();if(A){for(n=0;!b.isZero();n++)g=b.andln(255),b.iushrn(8),k[n]=g;for(;n<y;n++)k[n]=0}else{for(n=0;n<y-l;n++)k[n]=0;for(n=0;!b.isZero();n++)g=b.andln(255),b.iushrn(8),k[y-n-1]=g}return k},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,h=0;return r>=4096&&(h+=13,r>>>=13),r>=64&&(h+=7,r>>>=7),r>=8&&(h+=4,r>>>=4),r>=2&&(h+=2,r>>>=2),h+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,h=0;return 0==(8191&r)&&(h+=13,r>>>=13),0==(127&r)&&(h+=7,r>>>=7),0==(15&r)&&(h+=4,r>>>=4),0==(3&r)&&(h+=2,r>>>=2),0==(1&r)&&h++,h},o.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,r=0;r<this.length;r++){var h=this._zeroBits(this.words[r]);if(i+=h,26!==h)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var r=0;r<i.length;r++)this.words[r]=this.words[r]|i.words[r];return this.strip()},o.prototype.ior=function(i){return v(0==(this.negative|i.negative)),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var r;r=this.length>i.length?i:this;for(var h=0;h<r.length;h++)this.words[h]=this.words[h]&i.words[h];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return v(0==(this.negative|i.negative)),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var r,h;this.length>i.length?(r=this,h=i):(r=i,h=this);for(var l=0;l<h.length;l++)this.words[l]=r.words[l]^h.words[l];if(this!==r)for(;l<r.length;l++)this.words[l]=r.words[l];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return v(0==(this.negative|i.negative)),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){v("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),h=i%26;this._expand(r),h>0&&r--;for(var l=0;l<r;l++)this.words[l]=67108863&~this.words[l];return h>0&&(this.words[l]=~this.words[l]&67108863>>26-h),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){v("number"==typeof i&&i>=0);var h=i/26|0,l=i%26;return this._expand(h+1),this.words[h]=r?this.words[h]|1<<l:this.words[h]&~(1<<l),this.strip()},o.prototype.iadd=function(i){var r,h,l;if(0!==this.negative&&0===i.negative)return this.negative=0,r=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,r=this.isub(i),i.negative=1,r._normSign();this.length>i.length?(h=this,l=i):(h=i,l=this);for(var y=0,A=0;A<l.length;A++)this.words[A]=67108863&(r=(0|h.words[A])+(0|l.words[A])+y),y=r>>>26;for(;0!==y&&A<h.length;A++)this.words[A]=67108863&(r=(0|h.words[A])+y),y=r>>>26;if(this.length=h.length,0!==y)this.words[this.length]=y,this.length++;else if(h!==this)for(;A<h.length;A++)this.words[A]=h.words[A];return this},o.prototype.add=function(i){var r;return 0!==i.negative&&0===this.negative?(i.negative=0,r=this.sub(i),i.negative^=1,r):0===i.negative&&0!==this.negative?(this.negative=0,r=i.sub(this),this.negative=1,r):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var r=this.iadd(i);return i.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,h=this.cmp(i);if(0===h)return this.negative=0,this.length=1,this.words[0]=0,this;h>0?(l=this,y=i):(l=i,y=this);for(var A=0,k=0;k<y.length;k++)A=(r=(0|l.words[k])-(0|y.words[k])+A)>>26,this.words[k]=67108863&r;for(;0!==A&&k<l.length;k++)A=(r=(0|l.words[k])+A)>>26,this.words[k]=67108863&r;if(0===A&&k<l.length&&l!==this)for(;k<l.length;k++)this.words[k]=l.words[k];return this.length=Math.max(this.length,k),l!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var z=function(i,r,h){var g,n,b,l=i.words,y=r.words,A=h.words,k=0,U=0|l[0],V=8191&U,j=U>>>13,Ae=0|l[1],Ke=8191&Ae,qe=Ae>>>13,ct=0|l[2],Ie=8191&ct,xe=ct>>>13,le=0|l[3],_e=8191&le,se=le>>>13,Ye=0|l[4],Te=8191&Ye,oe=Ye>>>13,be=0|l[5],te=8191&be,Ue=be>>>13,Be=0|l[6],q=8191&Be,de=Be>>>13,Ce=0|l[7],ke=8191&Ce,ht=Ce>>>13,nt=0|l[8],wt=8191&nt,it=nt>>>13,qt=0|l[9],_t=8191&qt,ne=qt>>>13,Nt=0|y[0],De=8191&Nt,He=Nt>>>13,Ct=0|y[1],Pe=8191&Ct,tt=Ct>>>13,Bt=0|y[2],Lt=8191&Bt,Ht=Bt>>>13,bt=0|y[3],Me=8191&bt,J=bt>>>13,ve=0|y[4],Re=8191&ve,at=ve>>>13,ni=0|y[5],Gt=8191&ni,ti=ni>>>13,dt=0|y[6],rt=8191&dt,vt=dt>>>13,ai=0|y[7],Ut=8191&ai,Vt=ai>>>13,Rt=0|y[8],je=8191&Rt,Fe=Rt>>>13,We=0|y[9],Je=8191&We,Tt=We>>>13;h.negative=i.negative^r.negative,h.length=19;var ui=(k+(g=Math.imul(V,De))|0)+((8191&(n=(n=Math.imul(V,He))+Math.imul(j,De)|0))<<13)|0;k=((b=Math.imul(j,He))+(n>>>13)|0)+(ui>>>26)|0,ui&=67108863,g=Math.imul(Ke,De),n=(n=Math.imul(Ke,He))+Math.imul(qe,De)|0,b=Math.imul(qe,He);var Ei=(k+(g=g+Math.imul(V,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(V,tt)|0)+Math.imul(j,Pe)|0))<<13)|0;k=((b=b+Math.imul(j,tt)|0)+(n>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,g=Math.imul(Ie,De),n=(n=Math.imul(Ie,He))+Math.imul(xe,De)|0,b=Math.imul(xe,He),g=g+Math.imul(Ke,Pe)|0,n=(n=n+Math.imul(Ke,tt)|0)+Math.imul(qe,Pe)|0,b=b+Math.imul(qe,tt)|0;var xi=(k+(g=g+Math.imul(V,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Ht)|0)+Math.imul(j,Lt)|0))<<13)|0;k=((b=b+Math.imul(j,Ht)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,g=Math.imul(_e,De),n=(n=Math.imul(_e,He))+Math.imul(se,De)|0,b=Math.imul(se,He),g=g+Math.imul(Ie,Pe)|0,n=(n=n+Math.imul(Ie,tt)|0)+Math.imul(xe,Pe)|0,b=b+Math.imul(xe,tt)|0,g=g+Math.imul(Ke,Lt)|0,n=(n=n+Math.imul(Ke,Ht)|0)+Math.imul(qe,Lt)|0,b=b+Math.imul(qe,Ht)|0;var Vi=(k+(g=g+Math.imul(V,Me)|0)|0)+((8191&(n=(n=n+Math.imul(V,J)|0)+Math.imul(j,Me)|0))<<13)|0;k=((b=b+Math.imul(j,J)|0)+(n>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,g=Math.imul(Te,De),n=(n=Math.imul(Te,He))+Math.imul(oe,De)|0,b=Math.imul(oe,He),g=g+Math.imul(_e,Pe)|0,n=(n=n+Math.imul(_e,tt)|0)+Math.imul(se,Pe)|0,b=b+Math.imul(se,tt)|0,g=g+Math.imul(Ie,Lt)|0,n=(n=n+Math.imul(Ie,Ht)|0)+Math.imul(xe,Lt)|0,b=b+Math.imul(xe,Ht)|0,g=g+Math.imul(Ke,Me)|0,n=(n=n+Math.imul(Ke,J)|0)+Math.imul(qe,Me)|0,b=b+Math.imul(qe,J)|0;var $e=(k+(g=g+Math.imul(V,Re)|0)|0)+((8191&(n=(n=n+Math.imul(V,at)|0)+Math.imul(j,Re)|0))<<13)|0;k=((b=b+Math.imul(j,at)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,g=Math.imul(te,De),n=(n=Math.imul(te,He))+Math.imul(Ue,De)|0,b=Math.imul(Ue,He),g=g+Math.imul(Te,Pe)|0,n=(n=n+Math.imul(Te,tt)|0)+Math.imul(oe,Pe)|0,b=b+Math.imul(oe,tt)|0,g=g+Math.imul(_e,Lt)|0,n=(n=n+Math.imul(_e,Ht)|0)+Math.imul(se,Lt)|0,b=b+Math.imul(se,Ht)|0,g=g+Math.imul(Ie,Me)|0,n=(n=n+Math.imul(Ie,J)|0)+Math.imul(xe,Me)|0,b=b+Math.imul(xe,J)|0,g=g+Math.imul(Ke,Re)|0,n=(n=n+Math.imul(Ke,at)|0)+Math.imul(qe,Re)|0,b=b+Math.imul(qe,at)|0;var Mt=(k+(g=g+Math.imul(V,Gt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ti)|0)+Math.imul(j,Gt)|0))<<13)|0;k=((b=b+Math.imul(j,ti)|0)+(n>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,g=Math.imul(q,De),n=(n=Math.imul(q,He))+Math.imul(de,De)|0,b=Math.imul(de,He),g=g+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,tt)|0)+Math.imul(Ue,Pe)|0,b=b+Math.imul(Ue,tt)|0,g=g+Math.imul(Te,Lt)|0,n=(n=n+Math.imul(Te,Ht)|0)+Math.imul(oe,Lt)|0,b=b+Math.imul(oe,Ht)|0,g=g+Math.imul(_e,Me)|0,n=(n=n+Math.imul(_e,J)|0)+Math.imul(se,Me)|0,b=b+Math.imul(se,J)|0,g=g+Math.imul(Ie,Re)|0,n=(n=n+Math.imul(Ie,at)|0)+Math.imul(xe,Re)|0,b=b+Math.imul(xe,at)|0,g=g+Math.imul(Ke,Gt)|0,n=(n=n+Math.imul(Ke,ti)|0)+Math.imul(qe,Gt)|0,b=b+Math.imul(qe,ti)|0;var ye=(k+(g=g+Math.imul(V,rt)|0)|0)+((8191&(n=(n=n+Math.imul(V,vt)|0)+Math.imul(j,rt)|0))<<13)|0;k=((b=b+Math.imul(j,vt)|0)+(n>>>13)|0)+(ye>>>26)|0,ye&=67108863,g=Math.imul(ke,De),n=(n=Math.imul(ke,He))+Math.imul(ht,De)|0,b=Math.imul(ht,He),g=g+Math.imul(q,Pe)|0,n=(n=n+Math.imul(q,tt)|0)+Math.imul(de,Pe)|0,b=b+Math.imul(de,tt)|0,g=g+Math.imul(te,Lt)|0,n=(n=n+Math.imul(te,Ht)|0)+Math.imul(Ue,Lt)|0,b=b+Math.imul(Ue,Ht)|0,g=g+Math.imul(Te,Me)|0,n=(n=n+Math.imul(Te,J)|0)+Math.imul(oe,Me)|0,b=b+Math.imul(oe,J)|0,g=g+Math.imul(_e,Re)|0,n=(n=n+Math.imul(_e,at)|0)+Math.imul(se,Re)|0,b=b+Math.imul(se,at)|0,g=g+Math.imul(Ie,Gt)|0,n=(n=n+Math.imul(Ie,ti)|0)+Math.imul(xe,Gt)|0,b=b+Math.imul(xe,ti)|0,g=g+Math.imul(Ke,rt)|0,n=(n=n+Math.imul(Ke,vt)|0)+Math.imul(qe,rt)|0,b=b+Math.imul(qe,vt)|0;var Ot=(k+(g=g+Math.imul(V,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(V,Vt)|0)+Math.imul(j,Ut)|0))<<13)|0;k=((b=b+Math.imul(j,Vt)|0)+(n>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,g=Math.imul(wt,De),n=(n=Math.imul(wt,He))+Math.imul(it,De)|0,b=Math.imul(it,He),g=g+Math.imul(ke,Pe)|0,n=(n=n+Math.imul(ke,tt)|0)+Math.imul(ht,Pe)|0,b=b+Math.imul(ht,tt)|0,g=g+Math.imul(q,Lt)|0,n=(n=n+Math.imul(q,Ht)|0)+Math.imul(de,Lt)|0,b=b+Math.imul(de,Ht)|0,g=g+Math.imul(te,Me)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ue,Me)|0,b=b+Math.imul(Ue,J)|0,g=g+Math.imul(Te,Re)|0,n=(n=n+Math.imul(Te,at)|0)+Math.imul(oe,Re)|0,b=b+Math.imul(oe,at)|0,g=g+Math.imul(_e,Gt)|0,n=(n=n+Math.imul(_e,ti)|0)+Math.imul(se,Gt)|0,b=b+Math.imul(se,ti)|0,g=g+Math.imul(Ie,rt)|0,n=(n=n+Math.imul(Ie,vt)|0)+Math.imul(xe,rt)|0,b=b+Math.imul(xe,vt)|0,g=g+Math.imul(Ke,Ut)|0,n=(n=n+Math.imul(Ke,Vt)|0)+Math.imul(qe,Ut)|0,b=b+Math.imul(qe,Vt)|0;var Kt=(k+(g=g+Math.imul(V,je)|0)|0)+((8191&(n=(n=n+Math.imul(V,Fe)|0)+Math.imul(j,je)|0))<<13)|0;k=((b=b+Math.imul(j,Fe)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,g=Math.imul(_t,De),n=(n=Math.imul(_t,He))+Math.imul(ne,De)|0,b=Math.imul(ne,He),g=g+Math.imul(wt,Pe)|0,n=(n=n+Math.imul(wt,tt)|0)+Math.imul(it,Pe)|0,b=b+Math.imul(it,tt)|0,g=g+Math.imul(ke,Lt)|0,n=(n=n+Math.imul(ke,Ht)|0)+Math.imul(ht,Lt)|0,b=b+Math.imul(ht,Ht)|0,g=g+Math.imul(q,Me)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,Me)|0,b=b+Math.imul(de,J)|0,g=g+Math.imul(te,Re)|0,n=(n=n+Math.imul(te,at)|0)+Math.imul(Ue,Re)|0,b=b+Math.imul(Ue,at)|0,g=g+Math.imul(Te,Gt)|0,n=(n=n+Math.imul(Te,ti)|0)+Math.imul(oe,Gt)|0,b=b+Math.imul(oe,ti)|0,g=g+Math.imul(_e,rt)|0,n=(n=n+Math.imul(_e,vt)|0)+Math.imul(se,rt)|0,b=b+Math.imul(se,vt)|0,g=g+Math.imul(Ie,Ut)|0,n=(n=n+Math.imul(Ie,Vt)|0)+Math.imul(xe,Ut)|0,b=b+Math.imul(xe,Vt)|0,g=g+Math.imul(Ke,je)|0,n=(n=n+Math.imul(Ke,Fe)|0)+Math.imul(qe,je)|0,b=b+Math.imul(qe,Fe)|0;var mi=(k+(g=g+Math.imul(V,Je)|0)|0)+((8191&(n=(n=n+Math.imul(V,Tt)|0)+Math.imul(j,Je)|0))<<13)|0;k=((b=b+Math.imul(j,Tt)|0)+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,g=Math.imul(_t,Pe),n=(n=Math.imul(_t,tt))+Math.imul(ne,Pe)|0,b=Math.imul(ne,tt),g=g+Math.imul(wt,Lt)|0,n=(n=n+Math.imul(wt,Ht)|0)+Math.imul(it,Lt)|0,b=b+Math.imul(it,Ht)|0,g=g+Math.imul(ke,Me)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ht,Me)|0,b=b+Math.imul(ht,J)|0,g=g+Math.imul(q,Re)|0,n=(n=n+Math.imul(q,at)|0)+Math.imul(de,Re)|0,b=b+Math.imul(de,at)|0,g=g+Math.imul(te,Gt)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ue,Gt)|0,b=b+Math.imul(Ue,ti)|0,g=g+Math.imul(Te,rt)|0,n=(n=n+Math.imul(Te,vt)|0)+Math.imul(oe,rt)|0,b=b+Math.imul(oe,vt)|0,g=g+Math.imul(_e,Ut)|0,n=(n=n+Math.imul(_e,Vt)|0)+Math.imul(se,Ut)|0,b=b+Math.imul(se,Vt)|0,g=g+Math.imul(Ie,je)|0,n=(n=n+Math.imul(Ie,Fe)|0)+Math.imul(xe,je)|0,b=b+Math.imul(xe,Fe)|0;var Mi=(k+(g=g+Math.imul(Ke,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Ke,Tt)|0)+Math.imul(qe,Je)|0))<<13)|0;k=((b=b+Math.imul(qe,Tt)|0)+(n>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,g=Math.imul(_t,Lt),n=(n=Math.imul(_t,Ht))+Math.imul(ne,Lt)|0,b=Math.imul(ne,Ht),g=g+Math.imul(wt,Me)|0,n=(n=n+Math.imul(wt,J)|0)+Math.imul(it,Me)|0,b=b+Math.imul(it,J)|0,g=g+Math.imul(ke,Re)|0,n=(n=n+Math.imul(ke,at)|0)+Math.imul(ht,Re)|0,b=b+Math.imul(ht,at)|0,g=g+Math.imul(q,Gt)|0,n=(n=n+Math.imul(q,ti)|0)+Math.imul(de,Gt)|0,b=b+Math.imul(de,ti)|0,g=g+Math.imul(te,rt)|0,n=(n=n+Math.imul(te,vt)|0)+Math.imul(Ue,rt)|0,b=b+Math.imul(Ue,vt)|0,g=g+Math.imul(Te,Ut)|0,n=(n=n+Math.imul(Te,Vt)|0)+Math.imul(oe,Ut)|0,b=b+Math.imul(oe,Vt)|0,g=g+Math.imul(_e,je)|0,n=(n=n+Math.imul(_e,Fe)|0)+Math.imul(se,je)|0,b=b+Math.imul(se,Fe)|0;var Pi=(k+(g=g+Math.imul(Ie,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Tt)|0)+Math.imul(xe,Je)|0))<<13)|0;k=((b=b+Math.imul(xe,Tt)|0)+(n>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,g=Math.imul(_t,Me),n=(n=Math.imul(_t,J))+Math.imul(ne,Me)|0,b=Math.imul(ne,J),g=g+Math.imul(wt,Re)|0,n=(n=n+Math.imul(wt,at)|0)+Math.imul(it,Re)|0,b=b+Math.imul(it,at)|0,g=g+Math.imul(ke,Gt)|0,n=(n=n+Math.imul(ke,ti)|0)+Math.imul(ht,Gt)|0,b=b+Math.imul(ht,ti)|0,g=g+Math.imul(q,rt)|0,n=(n=n+Math.imul(q,vt)|0)+Math.imul(de,rt)|0,b=b+Math.imul(de,vt)|0,g=g+Math.imul(te,Ut)|0,n=(n=n+Math.imul(te,Vt)|0)+Math.imul(Ue,Ut)|0,b=b+Math.imul(Ue,Vt)|0,g=g+Math.imul(Te,je)|0,n=(n=n+Math.imul(Te,Fe)|0)+Math.imul(oe,je)|0,b=b+Math.imul(oe,Fe)|0;var Wi=(k+(g=g+Math.imul(_e,Je)|0)|0)+((8191&(n=(n=n+Math.imul(_e,Tt)|0)+Math.imul(se,Je)|0))<<13)|0;k=((b=b+Math.imul(se,Tt)|0)+(n>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,g=Math.imul(_t,Re),n=(n=Math.imul(_t,at))+Math.imul(ne,Re)|0,b=Math.imul(ne,at),g=g+Math.imul(wt,Gt)|0,n=(n=n+Math.imul(wt,ti)|0)+Math.imul(it,Gt)|0,b=b+Math.imul(it,ti)|0,g=g+Math.imul(ke,rt)|0,n=(n=n+Math.imul(ke,vt)|0)+Math.imul(ht,rt)|0,b=b+Math.imul(ht,vt)|0,g=g+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,Vt)|0)+Math.imul(de,Ut)|0,b=b+Math.imul(de,Vt)|0,g=g+Math.imul(te,je)|0,n=(n=n+Math.imul(te,Fe)|0)+Math.imul(Ue,je)|0,b=b+Math.imul(Ue,Fe)|0;var Zt=(k+(g=g+Math.imul(Te,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Te,Tt)|0)+Math.imul(oe,Je)|0))<<13)|0;k=((b=b+Math.imul(oe,Tt)|0)+(n>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,g=Math.imul(_t,Gt),n=(n=Math.imul(_t,ti))+Math.imul(ne,Gt)|0,b=Math.imul(ne,ti),g=g+Math.imul(wt,rt)|0,n=(n=n+Math.imul(wt,vt)|0)+Math.imul(it,rt)|0,b=b+Math.imul(it,vt)|0,g=g+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,Vt)|0)+Math.imul(ht,Ut)|0,b=b+Math.imul(ht,Vt)|0,g=g+Math.imul(q,je)|0,n=(n=n+Math.imul(q,Fe)|0)+Math.imul(de,je)|0,b=b+Math.imul(de,Fe)|0;var oi=(k+(g=g+Math.imul(te,Je)|0)|0)+((8191&(n=(n=n+Math.imul(te,Tt)|0)+Math.imul(Ue,Je)|0))<<13)|0;k=((b=b+Math.imul(Ue,Tt)|0)+(n>>>13)|0)+(oi>>>26)|0,oi&=67108863,g=Math.imul(_t,rt),n=(n=Math.imul(_t,vt))+Math.imul(ne,rt)|0,b=Math.imul(ne,vt),g=g+Math.imul(wt,Ut)|0,n=(n=n+Math.imul(wt,Vt)|0)+Math.imul(it,Ut)|0,b=b+Math.imul(it,Vt)|0,g=g+Math.imul(ke,je)|0,n=(n=n+Math.imul(ke,Fe)|0)+Math.imul(ht,je)|0,b=b+Math.imul(ht,Fe)|0;var ge=(k+(g=g+Math.imul(q,Je)|0)|0)+((8191&(n=(n=n+Math.imul(q,Tt)|0)+Math.imul(de,Je)|0))<<13)|0;k=((b=b+Math.imul(de,Tt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,g=Math.imul(_t,Ut),n=(n=Math.imul(_t,Vt))+Math.imul(ne,Ut)|0,b=Math.imul(ne,Vt),g=g+Math.imul(wt,je)|0,n=(n=n+Math.imul(wt,Fe)|0)+Math.imul(it,je)|0,b=b+Math.imul(it,Fe)|0;var Xe=(k+(g=g+Math.imul(ke,Je)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Tt)|0)+Math.imul(ht,Je)|0))<<13)|0;k=((b=b+Math.imul(ht,Tt)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,g=Math.imul(_t,je),n=(n=Math.imul(_t,Fe))+Math.imul(ne,je)|0,b=Math.imul(ne,Fe);var St=(k+(g=g+Math.imul(wt,Je)|0)|0)+((8191&(n=(n=n+Math.imul(wt,Tt)|0)+Math.imul(it,Je)|0))<<13)|0;k=((b=b+Math.imul(it,Tt)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863;var pt=(k+(g=Math.imul(_t,Je))|0)+((8191&(n=(n=Math.imul(_t,Tt))+Math.imul(ne,Je)|0))<<13)|0;return k=((b=Math.imul(ne,Tt))+(n>>>13)|0)+(pt>>>26)|0,pt&=67108863,A[0]=ui,A[1]=Ei,A[2]=xi,A[3]=Vi,A[4]=$e,A[5]=Mt,A[6]=ye,A[7]=Ot,A[8]=Kt,A[9]=mi,A[10]=Mi,A[11]=Pi,A[12]=Wi,A[13]=Zt,A[14]=oi,A[15]=ge,A[16]=Xe,A[17]=St,A[18]=pt,0!==k&&(A[19]=k,h.length++),h};function W(T,i,r){return(new Y).mulp(T,i,r)}function Y(T,i){this.x=T,this.y=i}Math.imul||(z=N),o.prototype.mulTo=function(i,r){var h,l=this.length+i.length;return h=10===this.length&&10===i.length?z(this,i,r):l<63?N(this,i,r):l<1024?function G(T,i,r){r.negative=i.negative^T.negative,r.length=T.length+i.length;for(var h=0,l=0,y=0;y<r.length-1;y++){var A=l;l=0;for(var k=67108863&h,g=Math.min(y,i.length-1),n=Math.max(0,y-T.length+1);n<=g;n++){var j=(0|T.words[y-n])*(0|i.words[n]),Ae=67108863&j;k=67108863&(Ae=Ae+k|0),l+=(A=(A=A+(j/67108864|0)|0)+(Ae>>>26)|0)>>>26,A&=67108863}r.words[y]=k,h=A,A=l}return 0!==h?r.words[y]=h:r.length--,r.strip()}(this,i,r):W(this,i,r),h},Y.prototype.makeRBT=function(i){for(var r=new Array(i),h=o.prototype._countBits(i)-1,l=0;l<i;l++)r[l]=this.revBin(l,h,i);return r},Y.prototype.revBin=function(i,r,h){if(0===i||i===h-1)return i;for(var l=0,y=0;y<r;y++)l|=(1&i)<<r-y-1,i>>=1;return l},Y.prototype.permute=function(i,r,h,l,y,A){for(var k=0;k<A;k++)l[k]=r[i[k]],y[k]=h[i[k]]},Y.prototype.transform=function(i,r,h,l,y,A){this.permute(A,i,r,h,l,y);for(var k=1;k<y;k<<=1)for(var g=k<<1,n=Math.cos(2*Math.PI/g),b=Math.sin(2*Math.PI/g),U=0;U<y;U+=g)for(var V=n,j=b,Ae=0;Ae<k;Ae++){var Ke=h[U+Ae],qe=l[U+Ae],ct=h[U+Ae+k],Ie=l[U+Ae+k],xe=V*ct-j*Ie;Ie=V*Ie+j*ct,h[U+Ae]=Ke+(ct=xe),l[U+Ae]=qe+Ie,h[U+Ae+k]=Ke-ct,l[U+Ae+k]=qe-Ie,Ae!==g&&(xe=n*V-b*j,j=n*j+b*V,V=xe)}},Y.prototype.guessLen13b=function(i,r){var h=1|Math.max(r,i),l=1&h,y=0;for(h=h/2|0;h;h>>>=1)y++;return 1<<y+1+l},Y.prototype.conjugate=function(i,r,h){if(!(h<=1))for(var l=0;l<h/2;l++){var y=i[l];i[l]=i[h-l-1],i[h-l-1]=y,y=r[l],r[l]=-r[h-l-1],r[h-l-1]=-y}},Y.prototype.normalize13b=function(i,r){for(var h=0,l=0;l<r/2;l++){var y=8192*Math.round(i[2*l+1]/r)+Math.round(i[2*l]/r)+h;i[l]=67108863&y,h=y<67108864?0:y/67108864|0}return i},Y.prototype.convert13b=function(i,r,h,l){for(var y=0,A=0;A<r;A++)h[2*A]=8191&(y+=0|i[A]),h[2*A+1]=8191&(y>>>=13),y>>>=13;for(A=2*r;A<l;++A)h[A]=0;v(0===y),v(0==(-8192&y))},Y.prototype.stub=function(i){for(var r=new Array(i),h=0;h<i;h++)r[h]=0;return r},Y.prototype.mulp=function(i,r,h){var l=2*this.guessLen13b(i.length,r.length),y=this.makeRBT(l),A=this.stub(l),k=new Array(l),g=new Array(l),n=new Array(l),b=new Array(l),U=new Array(l),V=new Array(l),j=h.words;j.length=l,this.convert13b(i.words,i.length,k,l),this.convert13b(r.words,r.length,b,l),this.transform(k,A,g,n,l,y),this.transform(b,A,U,V,l,y);for(var Ae=0;Ae<l;Ae++){var Ke=g[Ae]*U[Ae]-n[Ae]*V[Ae];n[Ae]=g[Ae]*V[Ae]+n[Ae]*U[Ae],g[Ae]=Ke}return this.conjugate(g,n,l),this.transform(g,n,j,A,l,y),this.conjugate(j,A,l),this.normalize13b(j,l),h.negative=i.negative^r.negative,h.length=i.length+r.length,h.strip()},o.prototype.mul=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),this.mulTo(i,r)},o.prototype.mulf=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),W(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){v("number"==typeof i),v(i<67108864);for(var r=0,h=0;h<this.length;h++){var l=(0|this.words[h])*i,y=(67108863&l)+(67108863&r);r>>=26,r+=l/67108864|0,r+=y>>>26,this.words[h]=67108863&y}return 0!==r&&(this.words[h]=r,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var r=function E(T){for(var i=new Array(T.bitLength()),r=0;r<i.length;r++){var l=r%26;i[r]=(T.words[r/26|0]&1<<l)>>>l}return i}(i);if(0===r.length)return new o(1);for(var h=this,l=0;l<r.length&&0===r[l];l++,h=h.sqr());if(++l<r.length)for(var y=h.sqr();l<r.length;l++,y=y.sqr())0!==r[l]&&(h=h.mul(y));return h},o.prototype.iushln=function(i){v("number"==typeof i&&i>=0);var y,r=i%26,h=(i-r)/26,l=67108863>>>26-r<<26-r;if(0!==r){var A=0;for(y=0;y<this.length;y++){var k=this.words[y]&l;this.words[y]=(0|this.words[y])-k<<r|A,A=k>>>26-r}A&&(this.words[y]=A,this.length++)}if(0!==h){for(y=this.length-1;y>=0;y--)this.words[y+h]=this.words[y];for(y=0;y<h;y++)this.words[y]=0;this.length+=h}return this.strip()},o.prototype.ishln=function(i){return v(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,h){var l;v("number"==typeof i&&i>=0),l=r?(r-r%26)/26:0;var y=i%26,A=Math.min((i-y)/26,this.length),k=67108863^67108863>>>y<<y,g=h;if(l-=A,l=Math.max(0,l),g){for(var n=0;n<A;n++)g.words[n]=this.words[n];g.length=A}if(0!==A)if(this.length>A)for(this.length-=A,n=0;n<this.length;n++)this.words[n]=this.words[n+A];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=l);n--){var U=0|this.words[n];this.words[n]=b<<26-y|U>>>y,b=U&k}return g&&0!==b&&(g.words[g.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,h){return v(0===this.negative),this.iushrn(i,r,h)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){v("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return!(this.length<=h||!(this.words[h]&1<<r))},o.prototype.imaskn=function(i){v("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return v(0===this.negative,"imaskn works only with positive numbers"),this.length<=h?this:(0!==r&&h++,this.length=Math.min(h,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return v("number"==typeof i),v(i<67108864),i<0?this.isubn(-i):0!==this.negative?1===this.length&&(0|this.words[0])<i?(this.words[0]=i-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},o.prototype.isubn=function(i){if(v("number"==typeof i),v(i<67108864),i<0)return this.iaddn(-i);if(0!==this.negative)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,r,h){var y;this._expand(i.length+h);var A,k=0;for(y=0;y<i.length;y++){A=(0|this.words[y+h])+k;var g=(0|i.words[y])*r;k=((A-=67108863&g)>>26)-(g/67108864|0),this.words[y+h]=67108863&A}for(;y<this.length-h;y++)k=(A=(0|this.words[y+h])+k)>>26,this.words[y+h]=67108863&A;if(0===k)return this.strip();for(v(-1===k),k=0,y=0;y<this.length;y++)k=(A=-(0|this.words[y])+k)>>26,this.words[y]=67108863&A;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var h,l=this.clone(),y=i,A=0|y.words[y.length-1];0!=(h=26-this._countBits(A))&&(y=y.ushln(h),l.iushln(h),A=0|y.words[y.length-1]);var n,g=l.length-y.length;if("mod"!==r){(n=new o(null)).length=g+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var U=l.clone()._ishlnsubmul(y,1,g);0===U.negative&&(l=U,n&&(n.words[g]=1));for(var V=g-1;V>=0;V--){var j=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(j=Math.min(j/A|0,67108863),l._ishlnsubmul(y,j,V);0!==l.negative;)j--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=j)}return n&&n.strip(),l.strip(),"div"!==r&&0!==h&&l.iushrn(h),{div:n||null,mod:l}},o.prototype.divmod=function(i,r,h){return v(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(A=this.neg().divmod(i,r),"mod"!==r&&(l=A.div.neg()),"div"!==r&&(y=A.mod.neg(),h&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(A=this.divmod(i.neg(),r),"mod"!==r&&(l=A.div.neg()),{div:l,mod:A.mod}):0!=(this.negative&i.negative)?(A=this.neg().divmod(i.neg(),r),"div"!==r&&(y=A.mod.neg(),h&&0!==y.negative&&y.isub(i)),{div:A.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:1===i.length?"div"===r?{div:this.divn(i.words[0]),mod:null}:"mod"===r?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,r);var l,y,A},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var r=this.divmod(i);if(r.mod.isZero())return r.div;var h=0!==r.div.negative?r.mod.isub(i):r.mod,l=i.ushrn(1),y=i.andln(1),A=h.cmp(l);return A<0||1===y&&0===A?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){v(i<=67108863);for(var r=(1<<26)%i,h=0,l=this.length-1;l>=0;l--)h=(r*h+(0|this.words[l]))%i;return h},o.prototype.idivn=function(i){v(i<=67108863);for(var r=0,h=this.length-1;h>=0;h--){var l=(0|this.words[h])+67108864*r;this.words[h]=l/i|0,r=l%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){v(0===i.negative),v(!i.isZero());var r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var l=new o(1),y=new o(0),A=new o(0),k=new o(1),g=0;r.isEven()&&h.isEven();)r.iushrn(1),h.iushrn(1),++g;for(var n=h.clone(),b=r.clone();!r.isZero();){for(var U=0,V=1;0==(r.words[0]&V)&&U<26;++U,V<<=1);if(U>0)for(r.iushrn(U);U-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(b)),l.iushrn(1),y.iushrn(1);for(var j=0,Ae=1;0==(h.words[0]&Ae)&&j<26;++j,Ae<<=1);if(j>0)for(h.iushrn(j);j-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(n),k.isub(b)),A.iushrn(1),k.iushrn(1);r.cmp(h)>=0?(r.isub(h),l.isub(A),y.isub(k)):(h.isub(r),A.isub(l),k.isub(y))}return{a:A,b:k,gcd:h.iushln(g)}},o.prototype._invmp=function(i){v(0===i.negative),v(!i.isZero());var U,r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var l=new o(1),y=new o(0),A=h.clone();r.cmpn(1)>0&&h.cmpn(1)>0;){for(var k=0,g=1;0==(r.words[0]&g)&&k<26;++k,g<<=1);if(k>0)for(r.iushrn(k);k-- >0;)l.isOdd()&&l.iadd(A),l.iushrn(1);for(var n=0,b=1;0==(h.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(h.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(A),y.iushrn(1);r.cmp(h)>=0?(r.isub(h),l.isub(y)):(h.isub(r),y.isub(l))}return(U=0===r.cmpn(1)?l:y).cmpn(0)<0&&U.iadd(i),U},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),h=i.clone();r.negative=0,h.negative=0;for(var l=0;r.isEven()&&h.isEven();l++)r.iushrn(1),h.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;h.isEven();)h.iushrn(1);var y=r.cmp(h);if(y<0){var A=r;r=h,h=A}else if(0===y||0===h.cmpn(1))break;r.isub(h)}return h.iushln(l)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){v("number"==typeof i);var r=i%26,h=(i-r)/26,l=1<<r;if(this.length<=h)return this._expand(h+1),this.words[h]|=l,this;for(var y=l,A=h;0!==y&&A<this.length;A++){var k=0|this.words[A];y=(k+=y)>>>26,this.words[A]=k&=67108863}return 0!==y&&(this.words[A]=y,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var h,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)h=1;else{r&&(i=-i),v(i<=67108863,"Number is too big");var l=0|this.words[0];h=l===i?0:l<i?-1:1}return 0!==this.negative?0|-h:h},o.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var r=this.ucmp(i);return 0!==this.negative?0|-r:r},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var r=0,h=this.length-1;h>=0;h--){var l=0|this.words[h],y=0|i.words[h];if(l!==y){l<y?r=-1:l>y&&(r=1);break}}return r},o.prototype.gtn=function(i){return 1===this.cmpn(i)},o.prototype.gt=function(i){return 1===this.cmp(i)},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return-1===this.cmpn(i)},o.prototype.lt=function(i){return-1===this.cmp(i)},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return 0===this.cmpn(i)},o.prototype.eq=function(i){return 0===this.cmp(i)},o.red=function(i){return new $(i)},o.prototype.toRed=function(i){return v(!this.red,"Already a number in reduction context"),v(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return v(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return v(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return v(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return v(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return v(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return v(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return v(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return v(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return v(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return v(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return v(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return v(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return v(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var X={k256:null,p224:null,p192:null,p25519:null};function ee(T,i){this.name=T,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ue(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function he(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(T){if("string"==typeof T){var i=o._prime(T);this.m=i.p,this.prime=i}else v(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function fe(T){$.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}ee.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},ee.prototype.ireduce=function(i){var h,r=i;do{this.split(r,this.tmp),h=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(h>this.n);var l=h<this.n?-1:r.ucmp(this.p);return 0===l?(r.words[0]=0,r.length=1):l>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},ee.prototype.split=function(i,r){i.iushrn(this.n,0,r)},ee.prototype.imulK=function(i){return i.imul(this.k)},D(ue,ee),ue.prototype.split=function(i,r){for(var h=4194303,l=Math.min(i.length,9),y=0;y<l;y++)r.words[y]=i.words[y];if(r.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var A=i.words[9];for(r.words[r.length++]=A&h,y=10;y<i.length;y++){var k=0|i.words[y];i.words[y-10]=(k&h)<<4|A>>>22,A=k}i.words[y-10]=A>>>=22,i.length-=0===A&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,h=0;h<i.length;h++){var l=0|i.words[h];i.words[h]=67108863&(r+=977*l),r=64*l+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},D(he,ee),D(ie,ee),D(ce,ee),ce.prototype.imulK=function(i){for(var r=0,h=0;h<i.length;h++){var l=19*(0|i.words[h])+r,y=67108863&l;l>>>=26,i.words[h]=y,r=l}return 0!==r&&(i.words[i.length++]=r),i},o._prime=function(i){if(X[i])return X[i];var r;if("k256"===i)r=new ue;else if("p224"===i)r=new he;else if("p192"===i)r=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},$.prototype._verify1=function(i){v(0===i.negative,"red works only with positives"),v(i.red,"red works only with red numbers")},$.prototype._verify2=function(i,r){v(0==(i.negative|r.negative),"red works only with positives"),v(i.red&&i.red===r.red,"red works only with red numbers")},$.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},$.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},$.prototype.add=function(i,r){this._verify2(i,r);var h=i.add(r);return h.cmp(this.m)>=0&&h.isub(this.m),h._forceRed(this)},$.prototype.iadd=function(i,r){this._verify2(i,r);var h=i.iadd(r);return h.cmp(this.m)>=0&&h.isub(this.m),h},$.prototype.sub=function(i,r){this._verify2(i,r);var h=i.sub(r);return h.cmpn(0)<0&&h.iadd(this.m),h._forceRed(this)},$.prototype.isub=function(i,r){this._verify2(i,r);var h=i.isub(r);return h.cmpn(0)<0&&h.iadd(this.m),h},$.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},$.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},$.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},$.prototype.isqr=function(i){return this.imul(i,i.clone())},$.prototype.sqr=function(i){return this.mul(i,i)},$.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(v(r%2==1),3===r){var h=this.m.add(new o(1)).iushrn(2);return this.pow(i,h)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);v(!l.isZero());var A=new o(1).toRed(this),k=A.redNeg(),g=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,g).cmp(k);)n.redIAdd(k);for(var b=this.pow(n,l),U=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),j=y;0!==V.cmp(A);){for(var Ae=V,Ke=0;0!==Ae.cmp(A);Ke++)Ae=Ae.redSqr();v(Ke<j);var qe=this.pow(b,new o(1).iushln(j-Ke-1));U=U.redMul(qe),b=qe.redSqr(),V=V.redMul(b),j=Ke}return U},$.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},$.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var l=new Array(16);l[0]=new o(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var A=l[0],k=0,g=0,n=r.bitLength()%26;for(0===n&&(n=26),y=r.length-1;y>=0;y--){for(var b=r.words[y],U=n-1;U>=0;U--){var V=b>>U&1;A!==l[0]&&(A=this.sqr(A)),0!==V||0!==k?(k<<=1,k|=V,(4==++g||0===y&&0===U)&&(A=this.mul(A,l[k]),g=0,k=0)):g=0}n=26}return A},$.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},$.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new fe(i)},D(fe,$),fe.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},fe.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},fe.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var h=i.imul(r),l=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(l).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},fe.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var h=i.mul(r),l=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(l).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},fe.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ve=m.nmd(Ve),this)},8419:Ve=>{"use strict";Ve.exports=function(m){for(var t=[],e=m.length,v=0;v<e;v++){var D=m.charCodeAt(v);if(D>=55296&&D<=56319&&e>v+1){var o=m.charCodeAt(v+1);o>=56320&&o<=57343&&(D=1024*(D-55296)+o-56320+65536,v+=1)}D<128?t.push(D):D<2048?(t.push(D>>6|192),t.push(63&D|128)):D<55296||D>=57344&&D<65536?(t.push(D>>12|224),t.push(D>>6&63|128),t.push(63&D|128)):D>=65536&&D<=1114111?(t.push(D>>18|240),t.push(D>>12&63|128),t.push(D>>6&63|128),t.push(63&D|128)):t.push(239,191,189)}return new Uint8Array(t).buffer}},9069:Ve=>{"use strict";var t,Q="object"==typeof Reflect?Reflect:null,m=Q&&"function"==typeof Q.apply?Q.apply:function(ee,ue,he){return Function.prototype.apply.call(ee,ue,he)};t=Q&&"function"==typeof Q.ownKeys?Q.ownKeys:Object.getOwnPropertySymbols?function(ee){return Object.getOwnPropertyNames(ee).concat(Object.getOwnPropertySymbols(ee))}:function(ee){return Object.getOwnPropertyNames(ee)};var v=Number.isNaN||function(ee){return ee!=ee};function D(){D.init.call(this)}Ve.exports=D,Ve.exports.once=function G(X,ee){return new Promise(function(ue,he){function ie($){X.removeListener(ee,ce),he($)}function ce(){"function"==typeof X.removeListener&&X.removeListener("error",ie),ue([].slice.call(arguments))}Y(X,ee,ce,{once:!0}),"error"!==ee&&function W(X,ee,ue){"function"==typeof X.on&&Y(X,"error",ee,ue)}(X,ie,{once:!0})})},D.EventEmitter=D,D.prototype._events=void 0,D.prototype._eventsCount=0,D.prototype._maxListeners=void 0;var o=10;function C(X){if("function"!=typeof X)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof X)}function u(X){return void 0===X._maxListeners?D.defaultMaxListeners:X._maxListeners}function P(X,ee,ue,he){var ie,ce,$;if(C(ue),void 0===(ce=X._events)?(ce=X._events=Object.create(null),X._eventsCount=0):(void 0!==ce.newListener&&(X.emit("newListener",ee,ue.listener?ue.listener:ue),ce=X._events),$=ce[ee]),void 0===$)$=ce[ee]=ue,++X._eventsCount;else if("function"==typeof $?$=ce[ee]=he?[ue,$]:[$,ue]:he?$.unshift(ue):$.push(ue),(ie=u(X))>0&&$.length>ie&&!$.warned){$.warned=!0;var fe=new Error("Possible EventEmitter memory leak detected. "+$.length+" "+String(ee)+" listeners added. Use emitter.setMaxListeners() to increase limit");fe.name="MaxListenersExceededWarning",fe.emitter=X,fe.type=ee,fe.count=$.length,function e(X){console&&console.warn&&console.warn(X)}(fe)}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 S(X,ee,ue){var he={fired:!1,wrapFn:void 0,target:X,type:ee,listener:ue},ie=d.bind(he);return ie.listener=ue,he.wrapFn=ie,ie}function w(X,ee,ue){var he=X._events;if(void 0===he)return[];var ie=he[ee];return void 0===ie?[]:"function"==typeof ie?ue?[ie.listener||ie]:[ie]:ue?function z(X){for(var ee=new Array(X.length),ue=0;ue<ee.length;++ue)ee[ue]=X[ue].listener||X[ue];return ee}(ie):E(ie,ie.length)}function I(X){var ee=this._events;if(void 0!==ee){var ue=ee[X];if("function"==typeof ue)return 1;if(void 0!==ue)return ue.length}return 0}function E(X,ee){for(var ue=new Array(ee),he=0;he<ee;++he)ue[he]=X[he];return ue}function Y(X,ee,ue,he){if("function"==typeof X.on)he.once?X.once(ee,ue):X.on(ee,ue);else{if("function"!=typeof X.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof X);X.addEventListener(ee,function ie(ce){he.once&&X.removeEventListener(ee,ie),ue(ce)})}}Object.defineProperty(D,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(X){if("number"!=typeof X||X<0||v(X))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+X+".");o=X}}),D.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},D.prototype.setMaxListeners=function(ee){if("number"!=typeof ee||ee<0||v(ee))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ee+".");return this._maxListeners=ee,this},D.prototype.getMaxListeners=function(){return u(this)},D.prototype.emit=function(ee){for(var ue=[],he=1;he<arguments.length;he++)ue.push(arguments[he]);var ie="error"===ee,ce=this._events;if(void 0!==ce)ie=ie&&void 0===ce.error;else if(!ie)return!1;if(ie){var $;if(ue.length>0&&($=ue[0]),$ instanceof Error)throw $;var fe=new Error("Unhandled error."+($?" ("+$.message+")":""));throw fe.context=$,fe}var T=ce[ee];if(void 0===T)return!1;if("function"==typeof T)m(T,this,ue);else{var i=T.length,r=E(T,i);for(he=0;he<i;++he)m(r[he],this,ue)}return!0},D.prototype.on=D.prototype.addListener=function(ee,ue){return P(this,ee,ue,!1)},D.prototype.prependListener=function(ee,ue){return P(this,ee,ue,!0)},D.prototype.once=function(ee,ue){return C(ue),this.on(ee,S(this,ee,ue)),this},D.prototype.prependOnceListener=function(ee,ue){return C(ue),this.prependListener(ee,S(this,ee,ue)),this},D.prototype.off=D.prototype.removeListener=function(ee,ue){var he,ie,ce,$,fe;if(C(ue),void 0===(ie=this._events))return this;if(void 0===(he=ie[ee]))return this;if(he===ue||he.listener===ue)0==--this._eventsCount?this._events=Object.create(null):(delete ie[ee],ie.removeListener&&this.emit("removeListener",ee,he.listener||ue));else if("function"!=typeof he){for(ce=-1,$=he.length-1;$>=0;$--)if(he[$]===ue||he[$].listener===ue){fe=he[$].listener,ce=$;break}if(ce<0)return this;0===ce?he.shift():function N(X,ee){for(;ee+1<X.length;ee++)X[ee]=X[ee+1];X.pop()}(he,ce),1===he.length&&(ie[ee]=he[0]),void 0!==ie.removeListener&&this.emit("removeListener",ee,fe||ue)}return this},D.prototype.removeAllListeners=function(ee){var ue,he,ie;if(void 0===(he=this._events))return this;if(void 0===he.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==he[ee]&&(0==--this._eventsCount?this._events=Object.create(null):delete he[ee]),this;if(0===arguments.length){var $,ce=Object.keys(he);for(ie=0;ie<ce.length;++ie)"removeListener"!==($=ce[ie])&&this.removeAllListeners($);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(ue=he[ee]))this.removeListener(ee,ue);else if(void 0!==ue)for(ie=ue.length-1;ie>=0;ie--)this.removeListener(ee,ue[ie]);return this},D.prototype.listeners=function(ee){return w(this,ee,!0)},D.prototype.rawListeners=function(ee){return w(this,ee,!1)},D.listenerCount=function(X,ee){return"function"==typeof X.listenerCount?X.listenerCount(ee):I.call(X,ee)},D.prototype.listenerCount=I,D.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},347:(Ve,Q,m)=>{var t=m(3502).Buffer,e=m(8095);Ve.exports=function v(D,o,C,u){if(t.isBuffer(D)||(D=t.from(D,"binary")),o&&(t.isBuffer(o)||(o=t.from(o,"binary")),8!==o.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var P=C/8,d=t.alloc(P),S=t.alloc(u||0),w=t.alloc(0);P>0||u>0;){var I=new e;I.update(w),I.update(D),o&&I.update(o),w=I.digest();var E=0;if(P>0){var N=d.length-P;E=Math.min(P,w.length),w.copy(d,N,0,E),P-=E}if(E<w.length&&u>0){var z=S.length-u,G=Math.min(u,w.length-E);w.copy(S,z,E,E+G),u-=G}}return w.fill(0),{key:d,iv:S}}},9650:(Ve,Q,m)=>{"use strict";var t=m(3502).Buffer,e=m(5685).Transform;function o(C){e.call(this),this._block=t.allocUnsafe(C),this._blockSize=C,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}m(3894)(o,e),o.prototype._transform=function(C,u,P){var d=null;try{this.update(C,u)}catch(S){d=S}P(d)},o.prototype._flush=function(C){var u=null;try{this.push(this.digest())}catch(P){u=P}C(u)},o.prototype.update=function(C,u){if(function D(C,u){if(!t.isBuffer(C)&&"string"!=typeof C)throw new TypeError(u+" must be a string or a buffer")}(C,"Data"),this._finalized)throw new Error("Digest already called");t.isBuffer(C)||(C=t.from(C,u));for(var P=this._block,d=0;this._blockOffset+C.length-d>=this._blockSize;){for(var S=this._blockOffset;S<this._blockSize;)P[S++]=C[d++];this._update(),this._blockOffset=0}for(;d<C.length;)P[this._blockOffset++]=C[d++];for(var w=0,I=8*C.length;I>0;++w)this._length[w]+=I,(I=this._length[w]/4294967296|0)>0&&(this._length[w]-=4294967296*I);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(C){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var u=this._digest();void 0!==C&&(u=u.toString(C)),this._block.fill(0),this._blockOffset=0;for(var P=0;P<4;++P)this._length[P]=0;return u},o.prototype._digest=function(){throw new Error("_digest is not implemented")},Ve.exports=o},7084:(Ve,Q,m)=>{var t=Q;t.utils=m(9299),t.common=m(3800),t.sha=m(4962),t.ripemd=m(9458),t.hmac=m(2194),t.sha1=t.sha.sha1,t.sha256=t.sha.sha256,t.sha224=t.sha.sha224,t.sha384=t.sha.sha384,t.sha512=t.sha.sha512,t.ripemd160=t.ripemd.ripemd160},3800:(Ve,Q,m)=>{"use strict";var t=m(9299),e=m(2391);function v(){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=v,v.prototype.update=function(o,C){if(o=t.toArray(o,C),this.pending=this.pending?this.pending.concat(o):o,this.pendingTotal+=o.length,this.pending.length>=this._delta8){var u=(o=this.pending).length%this._delta8;this.pending=o.slice(o.length-u,o.length),0===this.pending.length&&(this.pending=null),o=t.join32(o,0,o.length-u,this.endian);for(var P=0;P<o.length;P+=this._delta32)this._update(o,P,P+this._delta32)}return this},v.prototype.digest=function(o){return this.update(this._pad()),e(null===this.pending),this._digest(o)},v.prototype._pad=function(){var o=this.pendingTotal,C=this._delta8,u=C-(o+this.padLength)%C,P=new Array(u+this.padLength);P[0]=128;for(var d=1;d<u;d++)P[d]=0;if(o<<=3,"big"===this.endian){for(var S=8;S<this.padLength;S++)P[d++]=0;P[d++]=0,P[d++]=0,P[d++]=0,P[d++]=0,P[d++]=o>>>24&255,P[d++]=o>>>16&255,P[d++]=o>>>8&255,P[d++]=255&o}else for(P[d++]=255&o,P[d++]=o>>>8&255,P[d++]=o>>>16&255,P[d++]=o>>>24&255,P[d++]=0,P[d++]=0,P[d++]=0,P[d++]=0,S=8;S<this.padLength;S++)P[d++]=0;return P}},2194:(Ve,Q,m)=>{"use strict";var t=m(9299),e=m(2391);function v(D,o,C){if(!(this instanceof v))return new v(D,o,C);this.Hash=D,this.blockSize=D.blockSize/8,this.outSize=D.outSize/8,this.inner=null,this.outer=null,this._init(t.toArray(o,C))}Ve.exports=v,v.prototype._init=function(o){o.length>this.blockSize&&(o=(new this.Hash).update(o).digest()),e(o.length<=this.blockSize);for(var C=o.length;C<this.blockSize;C++)o.push(0);for(C=0;C<o.length;C++)o[C]^=54;for(this.inner=(new this.Hash).update(o),C=0;C<o.length;C++)o[C]^=106;this.outer=(new this.Hash).update(o)},v.prototype.update=function(o,C){return this.inner.update(o,C),this},v.prototype.digest=function(o){return this.outer.update(this.inner.digest()),this.outer.digest(o)}},9458:(Ve,Q,m)=>{"use strict";var t=m(9299),e=m(3800),v=t.rotl32,D=t.sum32,o=t.sum32_3,C=t.sum32_4,u=e.BlockHash;function P(){if(!(this instanceof P))return new P;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(G,W,Y,X){return G<=15?W^Y^X:G<=31?W&Y|~W&X:G<=47?(W|~Y)^X:G<=63?W&X|Y&~X:W^(Y|~X)}function w(G){return G<=15?1352829926:G<=31?1548603684:G<=47?1836072691:G<=63?2053994217:0}t.inherits(P,u),Q.ripemd160=P,P.blockSize=512,P.outSize=160,P.hmacStrength=192,P.padLength=64,P.prototype._update=function(W,Y){for(var X=this.h[0],ee=this.h[1],ue=this.h[2],he=this.h[3],ie=this.h[4],ce=X,$=ee,fe=ue,T=he,i=ie,r=0;r<80;r++){var h=D(v(C(X,d(r,ee,ue,he),W[I[r]+Y],(G=r)<=15?0:G<=31?1518500249:G<=47?1859775393:G<=63?2400959708:2840853838),N[r]),ie);X=ie,ie=he,he=v(ue,10),ue=ee,ee=h,h=D(v(C(ce,d(79-r,$,fe,T),W[E[r]+Y],w(r)),z[r]),i),ce=i,i=T,T=v(fe,10),fe=$,$=h}var G;h=o(this.h[1],ue,T),this.h[1]=o(this.h[2],he,i),this.h[2]=o(this.h[3],ie,ce),this.h[3]=o(this.h[4],X,$),this.h[4]=o(this.h[0],ee,fe),this.h[0]=h},P.prototype._digest=function(W){return"hex"===W?t.toHex32(this.h,"little"):t.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],E=[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],N=[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],z=[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]},4962:(Ve,Q,m)=>{"use strict";Q.sha1=m(9007),Q.sha224=m(55),Q.sha256=m(9342),Q.sha384=m(8634),Q.sha512=m(39)},9007:(Ve,Q,m)=>{"use strict";var t=m(9299),e=m(3800),v=m(3113),D=t.rotl32,o=t.sum32,C=t.sum32_5,u=v.ft_1,P=e.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function S(){if(!(this instanceof S))return new S;P.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}t.inherits(S,P),Ve.exports=S,S.blockSize=512,S.outSize=160,S.hmacStrength=80,S.padLength=64,S.prototype._update=function(I,E){for(var N=this.W,z=0;z<16;z++)N[z]=I[E+z];for(;z<N.length;z++)N[z]=D(N[z-3]^N[z-8]^N[z-14]^N[z-16],1);var G=this.h[0],W=this.h[1],Y=this.h[2],X=this.h[3],ee=this.h[4];for(z=0;z<N.length;z++){var ue=~~(z/20),he=C(D(G,5),u(ue,W,Y,X),ee,N[z],d[ue]);ee=X,X=Y,Y=D(W,30),W=G,G=he}this.h[0]=o(this.h[0],G),this.h[1]=o(this.h[1],W),this.h[2]=o(this.h[2],Y),this.h[3]=o(this.h[3],X),this.h[4]=o(this.h[4],ee)},S.prototype._digest=function(I){return"hex"===I?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},55:(Ve,Q,m)=>{"use strict";var t=m(9299),e=m(9342);function v(){if(!(this instanceof v))return new v;e.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}t.inherits(v,e),Ve.exports=v,v.blockSize=512,v.outSize=224,v.hmacStrength=192,v.padLength=64,v.prototype._digest=function(o){return"hex"===o?t.toHex32(this.h.slice(0,7),"big"):t.split32(this.h.slice(0,7),"big")}},9342:(Ve,Q,m)=>{"use strict";var t=m(9299),e=m(3800),v=m(3113),D=m(2391),o=t.sum32,C=t.sum32_4,u=t.sum32_5,P=v.ch32,d=v.maj32,S=v.s0_256,w=v.s1_256,I=v.g0_256,E=v.g1_256,N=e.BlockHash,z=[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 G(){if(!(this instanceof G))return new G;N.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=z,this.W=new Array(64)}t.inherits(G,N),Ve.exports=G,G.blockSize=512,G.outSize=256,G.hmacStrength=192,G.padLength=64,G.prototype._update=function(Y,X){for(var ee=this.W,ue=0;ue<16;ue++)ee[ue]=Y[X+ue];for(;ue<ee.length;ue++)ee[ue]=C(E(ee[ue-2]),ee[ue-7],I(ee[ue-15]),ee[ue-16]);var he=this.h[0],ie=this.h[1],ce=this.h[2],$=this.h[3],fe=this.h[4],T=this.h[5],i=this.h[6],r=this.h[7];for(D(this.k.length===ee.length),ue=0;ue<ee.length;ue++){var h=u(r,w(fe),P(fe,T,i),this.k[ue],ee[ue]),l=o(S(he),d(he,ie,ce));r=i,i=T,T=fe,fe=o($,h),$=ce,ce=ie,ie=he,he=o(h,l)}this.h[0]=o(this.h[0],he),this.h[1]=o(this.h[1],ie),this.h[2]=o(this.h[2],ce),this.h[3]=o(this.h[3],$),this.h[4]=o(this.h[4],fe),this.h[5]=o(this.h[5],T),this.h[6]=o(this.h[6],i),this.h[7]=o(this.h[7],r)},G.prototype._digest=function(Y){return"hex"===Y?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},8634:(Ve,Q,m)=>{"use strict";var t=m(9299),e=m(39);function v(){if(!(this instanceof v))return new v;e.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}t.inherits(v,e),Ve.exports=v,v.blockSize=1024,v.outSize=384,v.hmacStrength=192,v.padLength=128,v.prototype._digest=function(o){return"hex"===o?t.toHex32(this.h.slice(0,12),"big"):t.split32(this.h.slice(0,12),"big")}},39:(Ve,Q,m)=>{"use strict";var t=m(9299),e=m(3800),v=m(2391),D=t.rotr64_hi,o=t.rotr64_lo,C=t.shr64_hi,u=t.shr64_lo,P=t.sum64,d=t.sum64_hi,S=t.sum64_lo,w=t.sum64_4_hi,I=t.sum64_4_lo,E=t.sum64_5_hi,N=t.sum64_5_lo,z=e.BlockHash,G=[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 W(){if(!(this instanceof W))return new W;z.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=G,this.W=new Array(160)}function Y(h,l,y,A,k){var g=h&y^~h&k;return g<0&&(g+=4294967296),g}function X(h,l,y,A,k,g){var n=l&A^~l&g;return n<0&&(n+=4294967296),n}function ee(h,l,y,A,k){var g=h&y^h&k^y&k;return g<0&&(g+=4294967296),g}function ue(h,l,y,A,k,g){var n=l&A^l&g^A&g;return n<0&&(n+=4294967296),n}function he(h,l){var g=D(h,l,28)^D(l,h,2)^D(l,h,7);return g<0&&(g+=4294967296),g}function ie(h,l){var g=o(h,l,28)^o(l,h,2)^o(l,h,7);return g<0&&(g+=4294967296),g}function ce(h,l){var g=D(h,l,14)^D(h,l,18)^D(l,h,9);return g<0&&(g+=4294967296),g}function $(h,l){var g=o(h,l,14)^o(h,l,18)^o(l,h,9);return g<0&&(g+=4294967296),g}function fe(h,l){var g=D(h,l,1)^D(h,l,8)^C(h,l,7);return g<0&&(g+=4294967296),g}function T(h,l){var g=o(h,l,1)^o(h,l,8)^u(h,l,7);return g<0&&(g+=4294967296),g}function i(h,l){var g=D(h,l,19)^D(l,h,29)^C(h,l,6);return g<0&&(g+=4294967296),g}function r(h,l){var g=o(h,l,19)^o(l,h,29)^u(h,l,6);return g<0&&(g+=4294967296),g}t.inherits(W,z),Ve.exports=W,W.blockSize=1024,W.outSize=512,W.hmacStrength=192,W.padLength=128,W.prototype._prepareBlock=function(l,y){for(var A=this.W,k=0;k<32;k++)A[k]=l[y+k];for(;k<A.length;k+=2){var g=i(A[k-4],A[k-3]),n=r(A[k-4],A[k-3]),b=A[k-14],U=A[k-13],V=fe(A[k-30],A[k-29]),j=T(A[k-30],A[k-29]),Ae=A[k-32],Ke=A[k-31];A[k]=w(g,n,b,U,V,j,Ae,Ke),A[k+1]=I(g,n,b,U,V,j,Ae,Ke)}},W.prototype._update=function(l,y){this._prepareBlock(l,y);var A=this.W,k=this.h[0],g=this.h[1],n=this.h[2],b=this.h[3],U=this.h[4],V=this.h[5],j=this.h[6],Ae=this.h[7],Ke=this.h[8],qe=this.h[9],ct=this.h[10],Ie=this.h[11],xe=this.h[12],le=this.h[13],_e=this.h[14],se=this.h[15];v(this.k.length===A.length);for(var Ye=0;Ye<A.length;Ye+=2){var Te=_e,oe=se,be=ce(Ke,qe),te=$(Ke,qe),Ue=Y(Ke,0,ct,0,xe),Be=X(0,qe,0,Ie,0,le),q=this.k[Ye],de=this.k[Ye+1],Ce=A[Ye],ke=A[Ye+1],ht=E(Te,oe,be,te,Ue,Be,q,de,Ce,ke),nt=N(Te,oe,be,te,Ue,Be,q,de,Ce,ke);Te=he(k,g),oe=ie(k,g),be=ee(k,0,n,0,U),te=ue(0,g,0,b,0,V);var wt=d(Te,oe,be,te),it=S(Te,oe,be,te);_e=xe,se=le,xe=ct,le=Ie,ct=Ke,Ie=qe,Ke=d(j,Ae,ht,nt),qe=S(Ae,Ae,ht,nt),j=U,Ae=V,U=n,V=b,n=k,b=g,k=d(ht,nt,wt,it),g=S(ht,nt,wt,it)}P(this.h,0,k,g),P(this.h,2,n,b),P(this.h,4,U,V),P(this.h,6,j,Ae),P(this.h,8,Ke,qe),P(this.h,10,ct,Ie),P(this.h,12,xe,le),P(this.h,14,_e,se)},W.prototype._digest=function(l){return"hex"===l?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},3113:(Ve,Q,m)=>{"use strict";var e=m(9299).rotr32;function D(w,I,E){return w&I^~w&E}function o(w,I,E){return w&I^w&E^I&E}function C(w,I,E){return w^I^E}Q.ft_1=function v(w,I,E,N){return 0===w?D(I,E,N):1===w||3===w?C(I,E,N):2===w?o(I,E,N):void 0},Q.ch32=D,Q.maj32=o,Q.p32=C,Q.s0_256=function u(w){return e(w,2)^e(w,13)^e(w,22)},Q.s1_256=function P(w){return e(w,6)^e(w,11)^e(w,25)},Q.g0_256=function d(w){return e(w,7)^e(w,18)^w>>>3},Q.g1_256=function S(w){return e(w,17)^e(w,19)^w>>>10}},9299:(Ve,Q,m)=>{"use strict";var t=m(2391),e=m(3894);function v(r,h){return!(55296!=(64512&r.charCodeAt(h))||h<0||h+1>=r.length)&&56320==(64512&r.charCodeAt(h+1))}function C(r){return(r>>>24|r>>>8&65280|r<<8&16711680|(255&r)<<24)>>>0}function P(r){return 1===r.length?"0"+r:r}function d(r){return 7===r.length?"0"+r:6===r.length?"00"+r:5===r.length?"000"+r:4===r.length?"0000"+r:3===r.length?"00000"+r:2===r.length?"000000"+r:1===r.length?"0000000"+r:r}Q.inherits=e,Q.toArray=function D(r,h){if(Array.isArray(r))return r.slice();if(!r)return[];var l=[];if("string"==typeof r)if(h){if("hex"===h)for((r=r.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(r="0"+r),A=0;A<r.length;A+=2)l.push(parseInt(r[A]+r[A+1],16))}else for(var y=0,A=0;A<r.length;A++){var k=r.charCodeAt(A);k<128?l[y++]=k:k<2048?(l[y++]=k>>6|192,l[y++]=63&k|128):v(r,A)?(k=65536+((1023&k)<<10)+(1023&r.charCodeAt(++A)),l[y++]=k>>18|240,l[y++]=k>>12&63|128,l[y++]=k>>6&63|128,l[y++]=63&k|128):(l[y++]=k>>12|224,l[y++]=k>>6&63|128,l[y++]=63&k|128)}else for(A=0;A<r.length;A++)l[A]=0|r[A];return l},Q.toHex=function o(r){for(var h="",l=0;l<r.length;l++)h+=P(r[l].toString(16));return h},Q.htonl=C,Q.toHex32=function u(r,h){for(var l="",y=0;y<r.length;y++){var A=r[y];"little"===h&&(A=C(A)),l+=d(A.toString(16))}return l},Q.zero2=P,Q.zero8=d,Q.join32=function S(r,h,l,y){var A=l-h;t(A%4==0);for(var k=new Array(A/4),g=0,n=h;g<k.length;g++,n+=4)k[g]=("big"===y?r[n]<<24|r[n+1]<<16|r[n+2]<<8|r[n+3]:r[n+3]<<24|r[n+2]<<16|r[n+1]<<8|r[n])>>>0;return k},Q.split32=function w(r,h){for(var l=new Array(4*r.length),y=0,A=0;y<r.length;y++,A+=4){var k=r[y];"big"===h?(l[A]=k>>>24,l[A+1]=k>>>16&255,l[A+2]=k>>>8&255,l[A+3]=255&k):(l[A+3]=k>>>24,l[A+2]=k>>>16&255,l[A+1]=k>>>8&255,l[A]=255&k)}return l},Q.rotr32=function I(r,h){return r>>>h|r<<32-h},Q.rotl32=function E(r,h){return r<<h|r>>>32-h},Q.sum32=function N(r,h){return r+h>>>0},Q.sum32_3=function z(r,h,l){return r+h+l>>>0},Q.sum32_4=function G(r,h,l,y){return r+h+l+y>>>0},Q.sum32_5=function W(r,h,l,y,A){return r+h+l+y+A>>>0},Q.sum64=function Y(r,h,l,y){var g=y+r[h+1]>>>0;r[h]=(g<y?1:0)+l+r[h]>>>0,r[h+1]=g},Q.sum64_hi=function X(r,h,l,y){return(h+y>>>0<h?1:0)+r+l>>>0},Q.sum64_lo=function ee(r,h,l,y){return h+y>>>0},Q.sum64_4_hi=function ue(r,h,l,y,A,k,g,n){var b=0,U=h;return b+=(U=U+y>>>0)<h?1:0,b+=(U=U+k>>>0)<k?1:0,r+l+A+g+(b+=(U=U+n>>>0)<n?1:0)>>>0},Q.sum64_4_lo=function he(r,h,l,y,A,k,g,n){return h+y+k+n>>>0},Q.sum64_5_hi=function ie(r,h,l,y,A,k,g,n,b,U){var V=0,j=h;return V+=(j=j+y>>>0)<h?1:0,V+=(j=j+k>>>0)<k?1:0,V+=(j=j+n>>>0)<n?1:0,r+l+A+g+b+(V+=(j=j+U>>>0)<U?1:0)>>>0},Q.sum64_5_lo=function ce(r,h,l,y,A,k,g,n,b,U){return h+y+k+n+U>>>0},Q.rotr64_hi=function $(r,h,l){return(h<<32-l|r>>>l)>>>0},Q.rotr64_lo=function fe(r,h,l){return(r<<32-l|h>>>l)>>>0},Q.shr64_hi=function T(r,h,l){return r>>>l},Q.shr64_lo=function i(r,h,l){return(r<<32-l|h>>>l)>>>0}},2438:(Ve,Q,m)=>{"use strict";var t=m(7084),e=m(8195),v=m(2391);function D(o){if(!(this instanceof D))return new D(o);this.hash=o.hash,this.predResist=!!o.predResist,this.outLen=this.hash.outSize,this.minEntropy=o.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var C=e.toArray(o.entropy,o.entropyEnc||"hex"),u=e.toArray(o.nonce,o.nonceEnc||"hex"),P=e.toArray(o.pers,o.persEnc||"hex");v(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(C,u,P)}Ve.exports=D,D.prototype._init=function(C,u,P){var d=C.concat(u).concat(P);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var S=0;S<this.V.length;S++)this.K[S]=0,this.V[S]=1;this._update(d),this._reseed=1,this.reseedInterval=281474976710656},D.prototype._hmac=function(){return new t.hmac(this.hash,this.K)},D.prototype._update=function(C){var u=this._hmac().update(this.V).update([0]);C&&(u=u.update(C)),this.K=u.digest(),this.V=this._hmac().update(this.V).digest(),C&&(this.K=this._hmac().update(this.V).update([1]).update(C).digest(),this.V=this._hmac().update(this.V).digest())},D.prototype.reseed=function(C,u,P,d){"string"!=typeof u&&(d=P,P=u,u=null),C=e.toArray(C,u),P=e.toArray(P,d),v(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(C.concat(P||[])),this._reseed=1},D.prototype.generate=function(C,u,P,d){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof u&&(d=P,P=u,u=null),P&&(P=e.toArray(P,d||"hex"),this._update(P));for(var S=[];S.length<C;)this.V=this._hmac().update(this.V).digest(),S=S.concat(this.V);var w=S.slice(0,C);return this._update(P),this._reseed++,e.encode(w,u)}},8461:(Ve,Q)=>{Q.read=function(m,t,e,v,D){var o,C,u=8*D-v-1,P=(1<<u)-1,d=P>>1,S=-7,w=e?D-1:0,I=e?-1:1,E=m[t+w];for(w+=I,o=E&(1<<-S)-1,E>>=-S,S+=u;S>0;o=256*o+m[t+w],w+=I,S-=8);for(C=o&(1<<-S)-1,o>>=-S,S+=v;S>0;C=256*C+m[t+w],w+=I,S-=8);if(0===o)o=1-d;else{if(o===P)return C?NaN:1/0*(E?-1:1);C+=Math.pow(2,v),o-=d}return(E?-1:1)*C*Math.pow(2,o-v)},Q.write=function(m,t,e,v,D,o){var C,u,P,d=8*o-D-1,S=(1<<d)-1,w=S>>1,I=23===D?Math.pow(2,-24)-Math.pow(2,-77):0,E=v?0:o-1,N=v?1:-1,z=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,C=S):(C=Math.floor(Math.log(t)/Math.LN2),t*(P=Math.pow(2,-C))<1&&(C--,P*=2),(t+=C+w>=1?I/P:I*Math.pow(2,1-w))*P>=2&&(C++,P/=2),C+w>=S?(u=0,C=S):C+w>=1?(u=(t*P-1)*Math.pow(2,D),C+=w):(u=t*Math.pow(2,w-1)*Math.pow(2,D),C=0));D>=8;m[e+E]=255&u,E+=N,u/=256,D-=8);for(C=C<<D|u,d+=D;d>0;m[e+E]=255&C,E+=N,C/=256,d-=8);m[e+E-N]|=128*z}},3894:Ve=>{Ve.exports="function"==typeof Object.create?function(m,t){t&&(m.super_=t,m.prototype=Object.create(t.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}))}:function(m,t){if(t){m.super_=t;var e=function(){};e.prototype=t.prototype,m.prototype=new e,m.prototype.constructor=m}}},8095:(Ve,Q,m)=>{"use strict";var t=m(3894),e=m(9650),v=m(3502).Buffer,D=new Array(16);function o(){e.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function C(w,I){return w<<I|w>>>32-I}function u(w,I,E,N,z,G,W){return C(w+(I&E|~I&N)+z+G|0,W)+I|0}function P(w,I,E,N,z,G,W){return C(w+(I&N|E&~N)+z+G|0,W)+I|0}function d(w,I,E,N,z,G,W){return C(w+(I^E^N)+z+G|0,W)+I|0}function S(w,I,E,N,z,G,W){return C(w+(E^(I|~N))+z+G|0,W)+I|0}t(o,e),o.prototype._update=function(){for(var w=D,I=0;I<16;++I)w[I]=this._block.readInt32LE(4*I);var E=this._a,N=this._b,z=this._c,G=this._d;E=u(E,N,z,G,w[0],3614090360,7),G=u(G,E,N,z,w[1],3905402710,12),z=u(z,G,E,N,w[2],606105819,17),N=u(N,z,G,E,w[3],3250441966,22),E=u(E,N,z,G,w[4],4118548399,7),G=u(G,E,N,z,w[5],1200080426,12),z=u(z,G,E,N,w[6],2821735955,17),N=u(N,z,G,E,w[7],4249261313,22),E=u(E,N,z,G,w[8],1770035416,7),G=u(G,E,N,z,w[9],2336552879,12),z=u(z,G,E,N,w[10],4294925233,17),N=u(N,z,G,E,w[11],2304563134,22),E=u(E,N,z,G,w[12],1804603682,7),G=u(G,E,N,z,w[13],4254626195,12),z=u(z,G,E,N,w[14],2792965006,17),E=P(E,N=u(N,z,G,E,w[15],1236535329,22),z,G,w[1],4129170786,5),G=P(G,E,N,z,w[6],3225465664,9),z=P(z,G,E,N,w[11],643717713,14),N=P(N,z,G,E,w[0],3921069994,20),E=P(E,N,z,G,w[5],3593408605,5),G=P(G,E,N,z,w[10],38016083,9),z=P(z,G,E,N,w[15],3634488961,14),N=P(N,z,G,E,w[4],3889429448,20),E=P(E,N,z,G,w[9],568446438,5),G=P(G,E,N,z,w[14],3275163606,9),z=P(z,G,E,N,w[3],4107603335,14),N=P(N,z,G,E,w[8],1163531501,20),E=P(E,N,z,G,w[13],2850285829,5),G=P(G,E,N,z,w[2],4243563512,9),z=P(z,G,E,N,w[7],1735328473,14),E=d(E,N=P(N,z,G,E,w[12],2368359562,20),z,G,w[5],4294588738,4),G=d(G,E,N,z,w[8],2272392833,11),z=d(z,G,E,N,w[11],1839030562,16),N=d(N,z,G,E,w[14],4259657740,23),E=d(E,N,z,G,w[1],2763975236,4),G=d(G,E,N,z,w[4],1272893353,11),z=d(z,G,E,N,w[7],4139469664,16),N=d(N,z,G,E,w[10],3200236656,23),E=d(E,N,z,G,w[13],681279174,4),G=d(G,E,N,z,w[0],3936430074,11),z=d(z,G,E,N,w[3],3572445317,16),N=d(N,z,G,E,w[6],76029189,23),E=d(E,N,z,G,w[9],3654602809,4),G=d(G,E,N,z,w[12],3873151461,11),z=d(z,G,E,N,w[15],530742520,16),E=S(E,N=d(N,z,G,E,w[2],3299628645,23),z,G,w[0],4096336452,6),G=S(G,E,N,z,w[7],1126891415,10),z=S(z,G,E,N,w[14],2878612391,15),N=S(N,z,G,E,w[5],4237533241,21),E=S(E,N,z,G,w[12],1700485571,6),G=S(G,E,N,z,w[3],2399980690,10),z=S(z,G,E,N,w[10],4293915773,15),N=S(N,z,G,E,w[1],2240044497,21),E=S(E,N,z,G,w[8],1873313359,6),G=S(G,E,N,z,w[15],4264355552,10),z=S(z,G,E,N,w[6],2734768916,15),N=S(N,z,G,E,w[13],1309151649,21),E=S(E,N,z,G,w[4],4149444226,6),G=S(G,E,N,z,w[11],3174756917,10),z=S(z,G,E,N,w[2],718787259,15),N=S(N,z,G,E,w[9],3951481745,21),this._a=this._a+E|0,this._b=this._b+N|0,this._c=this._c+z|0,this._d=this._d+G|0},o.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 w=v.allocUnsafe(16);return w.writeInt32LE(this._a,0),w.writeInt32LE(this._b,4),w.writeInt32LE(this._c,8),w.writeInt32LE(this._d,12),w},Ve.exports=o},7079:(Ve,Q,m)=>{var t=m(1378),e=m(7950);function v(D){this.rand=D||new e.Rand}Ve.exports=v,v.create=function(o){return new v(o)},v.prototype._randbelow=function(o){var C=o.bitLength(),u=Math.ceil(C/8);do{var P=new t(this.rand.generate(u))}while(P.cmp(o)>=0);return P},v.prototype._randrange=function(o,C){var u=C.sub(o);return o.add(this._randbelow(u))},v.prototype.test=function(o,C,u){var P=o.bitLength(),d=t.mont(o),S=new t(1).toRed(d);C||(C=Math.max(1,P/48|0));for(var w=o.subn(1),I=0;!w.testn(I);I++);for(var E=o.shrn(I),N=w.toRed(d);C>0;C--){var G=this._randrange(new t(2),w);u&&u(G);var W=G.toRed(d).redPow(E);if(0!==W.cmp(S)&&0!==W.cmp(N)){for(var Y=1;Y<I;Y++){if(0===(W=W.redSqr()).cmp(S))return!1;if(0===W.cmp(N))break}if(Y===I)return!1}}return!0},v.prototype.getDivisor=function(o,C){var u=o.bitLength(),P=t.mont(o),d=new t(1).toRed(P);C||(C=Math.max(1,u/48|0));for(var S=o.subn(1),w=0;!S.testn(w);w++);for(var I=o.shrn(w),E=S.toRed(P);C>0;C--){var N=this._randrange(new t(2),S),z=o.gcd(N);if(0!==z.cmpn(1))return z;var G=N.toRed(P).redPow(I);if(0!==G.cmp(d)&&0!==G.cmp(E)){for(var W=1;W<w;W++){if(0===(G=G.redSqr()).cmp(d))return G.fromRed().subn(1).gcd(o);if(0===G.cmp(E))break}if(W===w)return(G=G.redSqr()).fromRed().subn(1).gcd(o)}}return!1}},1378:function(Ve,Q,m){!function(t,e){"use strict";function v(T,i){if(!T)throw new Error(i||"Assertion failed")}function D(T,i){T.super_=i;var r=function(){};r.prototype=i.prototype,T.prototype=new r,T.prototype.constructor=T}function o(T,i,r){if(o.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(T||0,i||10,r||"be"))}var C;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(6619).Buffer}catch{}function u(T,i){var r=T.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function P(T,i,r){var h=u(T,r);return r-1>=i&&(h|=u(T,r-1)<<4),h}function d(T,i,r,h){for(var l=0,y=Math.min(T.length,r),A=i;A<y;A++){var k=T.charCodeAt(A)-48;l*=h,l+=k>=49?k-49+10:k>=17?k-17+10:k}return l}o.isBN=function(i){return i instanceof o||null!==i&&"object"==typeof i&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,r){return i.cmp(r)>0?i:r},o.min=function(i,r){return i.cmp(r)<0?i:r},o.prototype._init=function(i,r,h){if("number"==typeof i)return this._initNumber(i,r,h);if("object"==typeof i)return this._initArray(i,r,h);"hex"===r&&(r=16),v(r===(0|r)&&r>=2&&r<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===r?this._parseHex(i,l,h):(this._parseBase(i,r,l),"le"===h&&this._initArray(this.toArray(),r,h)))},o.prototype._initNumber=function(i,r,h){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[67108863&i],this.length=1):i<4503599627370496?(this.words=[67108863&i,i/67108864&67108863],this.length=2):(v(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===h&&this._initArray(this.toArray(),r,h)},o.prototype._initArray=function(i,r,h){if(v("number"==typeof i.length),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var y,A,k=0;if("be"===h)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(A=i[l]|i[l-1]<<8|i[l-2]<<16)<<k&67108863,this.words[y+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);else if("le"===h)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(A=i[l]|i[l+1]<<8|i[l+2]<<16)<<k&67108863,this.words[y+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);return this.strip()},o.prototype._parseHex=function(i,r,h){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var k,y=0,A=0;if("be"===h)for(l=i.length-1;l>=r;l-=2)k=P(i,r,l)<<y,this.words[A]|=67108863&k,y>=18?(y-=18,this.words[A+=1]|=k>>>26):y+=8;else for(l=(i.length-r)%2==0?r+1:r;l<i.length;l+=2)k=P(i,r,l)<<y,this.words[A]|=67108863&k,y>=18?(y-=18,this.words[A+=1]|=k>>>26):y+=8;this.strip()},o.prototype._parseBase=function(i,r,h){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=r)l++;l--,y=y/r|0;for(var A=i.length-h,k=A%l,g=Math.min(A,A-k)+h,n=0,b=h;b<g;b+=l)n=d(i,b,b+l,r),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==k){var U=1;for(n=d(i,b,i.length,r),b=0;b<k;b++)U*=r;this.imuln(U),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var r=0;r<this.length;r++)i.words[r]=this.words[r];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var S=["","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"],w=[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 N(T,i,r){r.negative=i.negative^T.negative;var h=T.length+i.length|0;r.length=h,h=h-1|0;var l=0|T.words[0],y=0|i.words[0],A=l*y,g=A/67108864|0;r.words[0]=67108863&A;for(var n=1;n<h;n++){for(var b=g>>>26,U=67108863&g,V=Math.min(n,i.length-1),j=Math.max(0,n-T.length+1);j<=V;j++)b+=(A=(l=0|T.words[n-j|0])*(y=0|i.words[j])+U)/67108864|0,U=67108863&A;r.words[n]=0|U,g=0|b}return 0!==g?r.words[n]=0|g:r.length--,r.strip()}o.prototype.toString=function(i,r){var h;if(r=0|r||1,16===(i=i||10)||"hex"===i){h="";for(var l=0,y=0,A=0;A<this.length;A++){var k=this.words[A],g=(16777215&(k<<l|y)).toString(16);h=0!=(y=k>>>24-l&16777215)||A!==this.length-1?S[6-g.length]+g+h:g+h,(l+=2)>=26&&(l-=26,A--)}for(0!==y&&(h=y.toString(16)+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=I[i];h="";var U=this.clone();for(U.negative=0;!U.isZero();){var V=U.modn(b).toString(i);h=(U=U.idivn(b)).isZero()?V+h:S[n-V.length]+V+h}for(this.isZero()&&(h="0"+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}v(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return 2===this.length?i+=67108864*this.words[1]:3===this.length&&1===this.words[2]?i+=4503599627370496+67108864*this.words[1]:this.length>2&&v(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,r){return v(typeof C<"u"),this.toArrayLike(C,i,r)},o.prototype.toArray=function(i,r){return this.toArrayLike(Array,i,r)},o.prototype.toArrayLike=function(i,r,h){var l=this.byteLength(),y=h||Math.max(1,l);v(l<=y,"byte array longer than desired length"),v(y>0,"Requested array length <= 0"),this.strip();var g,n,A="le"===r,k=new i(y),b=this.clone();if(A){for(n=0;!b.isZero();n++)g=b.andln(255),b.iushrn(8),k[n]=g;for(;n<y;n++)k[n]=0}else{for(n=0;n<y-l;n++)k[n]=0;for(n=0;!b.isZero();n++)g=b.andln(255),b.iushrn(8),k[y-n-1]=g}return k},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,h=0;return r>=4096&&(h+=13,r>>>=13),r>=64&&(h+=7,r>>>=7),r>=8&&(h+=4,r>>>=4),r>=2&&(h+=2,r>>>=2),h+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,h=0;return 0==(8191&r)&&(h+=13,r>>>=13),0==(127&r)&&(h+=7,r>>>=7),0==(15&r)&&(h+=4,r>>>=4),0==(3&r)&&(h+=2,r>>>=2),0==(1&r)&&h++,h},o.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,r=0;r<this.length;r++){var h=this._zeroBits(this.words[r]);if(i+=h,26!==h)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var r=0;r<i.length;r++)this.words[r]=this.words[r]|i.words[r];return this.strip()},o.prototype.ior=function(i){return v(0==(this.negative|i.negative)),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var r;r=this.length>i.length?i:this;for(var h=0;h<r.length;h++)this.words[h]=this.words[h]&i.words[h];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return v(0==(this.negative|i.negative)),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var r,h;this.length>i.length?(r=this,h=i):(r=i,h=this);for(var l=0;l<h.length;l++)this.words[l]=r.words[l]^h.words[l];if(this!==r)for(;l<r.length;l++)this.words[l]=r.words[l];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return v(0==(this.negative|i.negative)),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){v("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),h=i%26;this._expand(r),h>0&&r--;for(var l=0;l<r;l++)this.words[l]=67108863&~this.words[l];return h>0&&(this.words[l]=~this.words[l]&67108863>>26-h),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){v("number"==typeof i&&i>=0);var h=i/26|0,l=i%26;return this._expand(h+1),this.words[h]=r?this.words[h]|1<<l:this.words[h]&~(1<<l),this.strip()},o.prototype.iadd=function(i){var r,h,l;if(0!==this.negative&&0===i.negative)return this.negative=0,r=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,r=this.isub(i),i.negative=1,r._normSign();this.length>i.length?(h=this,l=i):(h=i,l=this);for(var y=0,A=0;A<l.length;A++)this.words[A]=67108863&(r=(0|h.words[A])+(0|l.words[A])+y),y=r>>>26;for(;0!==y&&A<h.length;A++)this.words[A]=67108863&(r=(0|h.words[A])+y),y=r>>>26;if(this.length=h.length,0!==y)this.words[this.length]=y,this.length++;else if(h!==this)for(;A<h.length;A++)this.words[A]=h.words[A];return this},o.prototype.add=function(i){var r;return 0!==i.negative&&0===this.negative?(i.negative=0,r=this.sub(i),i.negative^=1,r):0===i.negative&&0!==this.negative?(this.negative=0,r=i.sub(this),this.negative=1,r):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var r=this.iadd(i);return i.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,h=this.cmp(i);if(0===h)return this.negative=0,this.length=1,this.words[0]=0,this;h>0?(l=this,y=i):(l=i,y=this);for(var A=0,k=0;k<y.length;k++)A=(r=(0|l.words[k])-(0|y.words[k])+A)>>26,this.words[k]=67108863&r;for(;0!==A&&k<l.length;k++)A=(r=(0|l.words[k])+A)>>26,this.words[k]=67108863&r;if(0===A&&k<l.length&&l!==this)for(;k<l.length;k++)this.words[k]=l.words[k];return this.length=Math.max(this.length,k),l!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var z=function(i,r,h){var g,n,b,l=i.words,y=r.words,A=h.words,k=0,U=0|l[0],V=8191&U,j=U>>>13,Ae=0|l[1],Ke=8191&Ae,qe=Ae>>>13,ct=0|l[2],Ie=8191&ct,xe=ct>>>13,le=0|l[3],_e=8191&le,se=le>>>13,Ye=0|l[4],Te=8191&Ye,oe=Ye>>>13,be=0|l[5],te=8191&be,Ue=be>>>13,Be=0|l[6],q=8191&Be,de=Be>>>13,Ce=0|l[7],ke=8191&Ce,ht=Ce>>>13,nt=0|l[8],wt=8191&nt,it=nt>>>13,qt=0|l[9],_t=8191&qt,ne=qt>>>13,Nt=0|y[0],De=8191&Nt,He=Nt>>>13,Ct=0|y[1],Pe=8191&Ct,tt=Ct>>>13,Bt=0|y[2],Lt=8191&Bt,Ht=Bt>>>13,bt=0|y[3],Me=8191&bt,J=bt>>>13,ve=0|y[4],Re=8191&ve,at=ve>>>13,ni=0|y[5],Gt=8191&ni,ti=ni>>>13,dt=0|y[6],rt=8191&dt,vt=dt>>>13,ai=0|y[7],Ut=8191&ai,Vt=ai>>>13,Rt=0|y[8],je=8191&Rt,Fe=Rt>>>13,We=0|y[9],Je=8191&We,Tt=We>>>13;h.negative=i.negative^r.negative,h.length=19;var ui=(k+(g=Math.imul(V,De))|0)+((8191&(n=(n=Math.imul(V,He))+Math.imul(j,De)|0))<<13)|0;k=((b=Math.imul(j,He))+(n>>>13)|0)+(ui>>>26)|0,ui&=67108863,g=Math.imul(Ke,De),n=(n=Math.imul(Ke,He))+Math.imul(qe,De)|0,b=Math.imul(qe,He);var Ei=(k+(g=g+Math.imul(V,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(V,tt)|0)+Math.imul(j,Pe)|0))<<13)|0;k=((b=b+Math.imul(j,tt)|0)+(n>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,g=Math.imul(Ie,De),n=(n=Math.imul(Ie,He))+Math.imul(xe,De)|0,b=Math.imul(xe,He),g=g+Math.imul(Ke,Pe)|0,n=(n=n+Math.imul(Ke,tt)|0)+Math.imul(qe,Pe)|0,b=b+Math.imul(qe,tt)|0;var xi=(k+(g=g+Math.imul(V,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Ht)|0)+Math.imul(j,Lt)|0))<<13)|0;k=((b=b+Math.imul(j,Ht)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,g=Math.imul(_e,De),n=(n=Math.imul(_e,He))+Math.imul(se,De)|0,b=Math.imul(se,He),g=g+Math.imul(Ie,Pe)|0,n=(n=n+Math.imul(Ie,tt)|0)+Math.imul(xe,Pe)|0,b=b+Math.imul(xe,tt)|0,g=g+Math.imul(Ke,Lt)|0,n=(n=n+Math.imul(Ke,Ht)|0)+Math.imul(qe,Lt)|0,b=b+Math.imul(qe,Ht)|0;var Vi=(k+(g=g+Math.imul(V,Me)|0)|0)+((8191&(n=(n=n+Math.imul(V,J)|0)+Math.imul(j,Me)|0))<<13)|0;k=((b=b+Math.imul(j,J)|0)+(n>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,g=Math.imul(Te,De),n=(n=Math.imul(Te,He))+Math.imul(oe,De)|0,b=Math.imul(oe,He),g=g+Math.imul(_e,Pe)|0,n=(n=n+Math.imul(_e,tt)|0)+Math.imul(se,Pe)|0,b=b+Math.imul(se,tt)|0,g=g+Math.imul(Ie,Lt)|0,n=(n=n+Math.imul(Ie,Ht)|0)+Math.imul(xe,Lt)|0,b=b+Math.imul(xe,Ht)|0,g=g+Math.imul(Ke,Me)|0,n=(n=n+Math.imul(Ke,J)|0)+Math.imul(qe,Me)|0,b=b+Math.imul(qe,J)|0;var $e=(k+(g=g+Math.imul(V,Re)|0)|0)+((8191&(n=(n=n+Math.imul(V,at)|0)+Math.imul(j,Re)|0))<<13)|0;k=((b=b+Math.imul(j,at)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,g=Math.imul(te,De),n=(n=Math.imul(te,He))+Math.imul(Ue,De)|0,b=Math.imul(Ue,He),g=g+Math.imul(Te,Pe)|0,n=(n=n+Math.imul(Te,tt)|0)+Math.imul(oe,Pe)|0,b=b+Math.imul(oe,tt)|0,g=g+Math.imul(_e,Lt)|0,n=(n=n+Math.imul(_e,Ht)|0)+Math.imul(se,Lt)|0,b=b+Math.imul(se,Ht)|0,g=g+Math.imul(Ie,Me)|0,n=(n=n+Math.imul(Ie,J)|0)+Math.imul(xe,Me)|0,b=b+Math.imul(xe,J)|0,g=g+Math.imul(Ke,Re)|0,n=(n=n+Math.imul(Ke,at)|0)+Math.imul(qe,Re)|0,b=b+Math.imul(qe,at)|0;var Mt=(k+(g=g+Math.imul(V,Gt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ti)|0)+Math.imul(j,Gt)|0))<<13)|0;k=((b=b+Math.imul(j,ti)|0)+(n>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,g=Math.imul(q,De),n=(n=Math.imul(q,He))+Math.imul(de,De)|0,b=Math.imul(de,He),g=g+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,tt)|0)+Math.imul(Ue,Pe)|0,b=b+Math.imul(Ue,tt)|0,g=g+Math.imul(Te,Lt)|0,n=(n=n+Math.imul(Te,Ht)|0)+Math.imul(oe,Lt)|0,b=b+Math.imul(oe,Ht)|0,g=g+Math.imul(_e,Me)|0,n=(n=n+Math.imul(_e,J)|0)+Math.imul(se,Me)|0,b=b+Math.imul(se,J)|0,g=g+Math.imul(Ie,Re)|0,n=(n=n+Math.imul(Ie,at)|0)+Math.imul(xe,Re)|0,b=b+Math.imul(xe,at)|0,g=g+Math.imul(Ke,Gt)|0,n=(n=n+Math.imul(Ke,ti)|0)+Math.imul(qe,Gt)|0,b=b+Math.imul(qe,ti)|0;var ye=(k+(g=g+Math.imul(V,rt)|0)|0)+((8191&(n=(n=n+Math.imul(V,vt)|0)+Math.imul(j,rt)|0))<<13)|0;k=((b=b+Math.imul(j,vt)|0)+(n>>>13)|0)+(ye>>>26)|0,ye&=67108863,g=Math.imul(ke,De),n=(n=Math.imul(ke,He))+Math.imul(ht,De)|0,b=Math.imul(ht,He),g=g+Math.imul(q,Pe)|0,n=(n=n+Math.imul(q,tt)|0)+Math.imul(de,Pe)|0,b=b+Math.imul(de,tt)|0,g=g+Math.imul(te,Lt)|0,n=(n=n+Math.imul(te,Ht)|0)+Math.imul(Ue,Lt)|0,b=b+Math.imul(Ue,Ht)|0,g=g+Math.imul(Te,Me)|0,n=(n=n+Math.imul(Te,J)|0)+Math.imul(oe,Me)|0,b=b+Math.imul(oe,J)|0,g=g+Math.imul(_e,Re)|0,n=(n=n+Math.imul(_e,at)|0)+Math.imul(se,Re)|0,b=b+Math.imul(se,at)|0,g=g+Math.imul(Ie,Gt)|0,n=(n=n+Math.imul(Ie,ti)|0)+Math.imul(xe,Gt)|0,b=b+Math.imul(xe,ti)|0,g=g+Math.imul(Ke,rt)|0,n=(n=n+Math.imul(Ke,vt)|0)+Math.imul(qe,rt)|0,b=b+Math.imul(qe,vt)|0;var Ot=(k+(g=g+Math.imul(V,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(V,Vt)|0)+Math.imul(j,Ut)|0))<<13)|0;k=((b=b+Math.imul(j,Vt)|0)+(n>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,g=Math.imul(wt,De),n=(n=Math.imul(wt,He))+Math.imul(it,De)|0,b=Math.imul(it,He),g=g+Math.imul(ke,Pe)|0,n=(n=n+Math.imul(ke,tt)|0)+Math.imul(ht,Pe)|0,b=b+Math.imul(ht,tt)|0,g=g+Math.imul(q,Lt)|0,n=(n=n+Math.imul(q,Ht)|0)+Math.imul(de,Lt)|0,b=b+Math.imul(de,Ht)|0,g=g+Math.imul(te,Me)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ue,Me)|0,b=b+Math.imul(Ue,J)|0,g=g+Math.imul(Te,Re)|0,n=(n=n+Math.imul(Te,at)|0)+Math.imul(oe,Re)|0,b=b+Math.imul(oe,at)|0,g=g+Math.imul(_e,Gt)|0,n=(n=n+Math.imul(_e,ti)|0)+Math.imul(se,Gt)|0,b=b+Math.imul(se,ti)|0,g=g+Math.imul(Ie,rt)|0,n=(n=n+Math.imul(Ie,vt)|0)+Math.imul(xe,rt)|0,b=b+Math.imul(xe,vt)|0,g=g+Math.imul(Ke,Ut)|0,n=(n=n+Math.imul(Ke,Vt)|0)+Math.imul(qe,Ut)|0,b=b+Math.imul(qe,Vt)|0;var Kt=(k+(g=g+Math.imul(V,je)|0)|0)+((8191&(n=(n=n+Math.imul(V,Fe)|0)+Math.imul(j,je)|0))<<13)|0;k=((b=b+Math.imul(j,Fe)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,g=Math.imul(_t,De),n=(n=Math.imul(_t,He))+Math.imul(ne,De)|0,b=Math.imul(ne,He),g=g+Math.imul(wt,Pe)|0,n=(n=n+Math.imul(wt,tt)|0)+Math.imul(it,Pe)|0,b=b+Math.imul(it,tt)|0,g=g+Math.imul(ke,Lt)|0,n=(n=n+Math.imul(ke,Ht)|0)+Math.imul(ht,Lt)|0,b=b+Math.imul(ht,Ht)|0,g=g+Math.imul(q,Me)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,Me)|0,b=b+Math.imul(de,J)|0,g=g+Math.imul(te,Re)|0,n=(n=n+Math.imul(te,at)|0)+Math.imul(Ue,Re)|0,b=b+Math.imul(Ue,at)|0,g=g+Math.imul(Te,Gt)|0,n=(n=n+Math.imul(Te,ti)|0)+Math.imul(oe,Gt)|0,b=b+Math.imul(oe,ti)|0,g=g+Math.imul(_e,rt)|0,n=(n=n+Math.imul(_e,vt)|0)+Math.imul(se,rt)|0,b=b+Math.imul(se,vt)|0,g=g+Math.imul(Ie,Ut)|0,n=(n=n+Math.imul(Ie,Vt)|0)+Math.imul(xe,Ut)|0,b=b+Math.imul(xe,Vt)|0,g=g+Math.imul(Ke,je)|0,n=(n=n+Math.imul(Ke,Fe)|0)+Math.imul(qe,je)|0,b=b+Math.imul(qe,Fe)|0;var mi=(k+(g=g+Math.imul(V,Je)|0)|0)+((8191&(n=(n=n+Math.imul(V,Tt)|0)+Math.imul(j,Je)|0))<<13)|0;k=((b=b+Math.imul(j,Tt)|0)+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,g=Math.imul(_t,Pe),n=(n=Math.imul(_t,tt))+Math.imul(ne,Pe)|0,b=Math.imul(ne,tt),g=g+Math.imul(wt,Lt)|0,n=(n=n+Math.imul(wt,Ht)|0)+Math.imul(it,Lt)|0,b=b+Math.imul(it,Ht)|0,g=g+Math.imul(ke,Me)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ht,Me)|0,b=b+Math.imul(ht,J)|0,g=g+Math.imul(q,Re)|0,n=(n=n+Math.imul(q,at)|0)+Math.imul(de,Re)|0,b=b+Math.imul(de,at)|0,g=g+Math.imul(te,Gt)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ue,Gt)|0,b=b+Math.imul(Ue,ti)|0,g=g+Math.imul(Te,rt)|0,n=(n=n+Math.imul(Te,vt)|0)+Math.imul(oe,rt)|0,b=b+Math.imul(oe,vt)|0,g=g+Math.imul(_e,Ut)|0,n=(n=n+Math.imul(_e,Vt)|0)+Math.imul(se,Ut)|0,b=b+Math.imul(se,Vt)|0,g=g+Math.imul(Ie,je)|0,n=(n=n+Math.imul(Ie,Fe)|0)+Math.imul(xe,je)|0,b=b+Math.imul(xe,Fe)|0;var Mi=(k+(g=g+Math.imul(Ke,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Ke,Tt)|0)+Math.imul(qe,Je)|0))<<13)|0;k=((b=b+Math.imul(qe,Tt)|0)+(n>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,g=Math.imul(_t,Lt),n=(n=Math.imul(_t,Ht))+Math.imul(ne,Lt)|0,b=Math.imul(ne,Ht),g=g+Math.imul(wt,Me)|0,n=(n=n+Math.imul(wt,J)|0)+Math.imul(it,Me)|0,b=b+Math.imul(it,J)|0,g=g+Math.imul(ke,Re)|0,n=(n=n+Math.imul(ke,at)|0)+Math.imul(ht,Re)|0,b=b+Math.imul(ht,at)|0,g=g+Math.imul(q,Gt)|0,n=(n=n+Math.imul(q,ti)|0)+Math.imul(de,Gt)|0,b=b+Math.imul(de,ti)|0,g=g+Math.imul(te,rt)|0,n=(n=n+Math.imul(te,vt)|0)+Math.imul(Ue,rt)|0,b=b+Math.imul(Ue,vt)|0,g=g+Math.imul(Te,Ut)|0,n=(n=n+Math.imul(Te,Vt)|0)+Math.imul(oe,Ut)|0,b=b+Math.imul(oe,Vt)|0,g=g+Math.imul(_e,je)|0,n=(n=n+Math.imul(_e,Fe)|0)+Math.imul(se,je)|0,b=b+Math.imul(se,Fe)|0;var Pi=(k+(g=g+Math.imul(Ie,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Tt)|0)+Math.imul(xe,Je)|0))<<13)|0;k=((b=b+Math.imul(xe,Tt)|0)+(n>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,g=Math.imul(_t,Me),n=(n=Math.imul(_t,J))+Math.imul(ne,Me)|0,b=Math.imul(ne,J),g=g+Math.imul(wt,Re)|0,n=(n=n+Math.imul(wt,at)|0)+Math.imul(it,Re)|0,b=b+Math.imul(it,at)|0,g=g+Math.imul(ke,Gt)|0,n=(n=n+Math.imul(ke,ti)|0)+Math.imul(ht,Gt)|0,b=b+Math.imul(ht,ti)|0,g=g+Math.imul(q,rt)|0,n=(n=n+Math.imul(q,vt)|0)+Math.imul(de,rt)|0,b=b+Math.imul(de,vt)|0,g=g+Math.imul(te,Ut)|0,n=(n=n+Math.imul(te,Vt)|0)+Math.imul(Ue,Ut)|0,b=b+Math.imul(Ue,Vt)|0,g=g+Math.imul(Te,je)|0,n=(n=n+Math.imul(Te,Fe)|0)+Math.imul(oe,je)|0,b=b+Math.imul(oe,Fe)|0;var Wi=(k+(g=g+Math.imul(_e,Je)|0)|0)+((8191&(n=(n=n+Math.imul(_e,Tt)|0)+Math.imul(se,Je)|0))<<13)|0;k=((b=b+Math.imul(se,Tt)|0)+(n>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,g=Math.imul(_t,Re),n=(n=Math.imul(_t,at))+Math.imul(ne,Re)|0,b=Math.imul(ne,at),g=g+Math.imul(wt,Gt)|0,n=(n=n+Math.imul(wt,ti)|0)+Math.imul(it,Gt)|0,b=b+Math.imul(it,ti)|0,g=g+Math.imul(ke,rt)|0,n=(n=n+Math.imul(ke,vt)|0)+Math.imul(ht,rt)|0,b=b+Math.imul(ht,vt)|0,g=g+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,Vt)|0)+Math.imul(de,Ut)|0,b=b+Math.imul(de,Vt)|0,g=g+Math.imul(te,je)|0,n=(n=n+Math.imul(te,Fe)|0)+Math.imul(Ue,je)|0,b=b+Math.imul(Ue,Fe)|0;var Zt=(k+(g=g+Math.imul(Te,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Te,Tt)|0)+Math.imul(oe,Je)|0))<<13)|0;k=((b=b+Math.imul(oe,Tt)|0)+(n>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,g=Math.imul(_t,Gt),n=(n=Math.imul(_t,ti))+Math.imul(ne,Gt)|0,b=Math.imul(ne,ti),g=g+Math.imul(wt,rt)|0,n=(n=n+Math.imul(wt,vt)|0)+Math.imul(it,rt)|0,b=b+Math.imul(it,vt)|0,g=g+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,Vt)|0)+Math.imul(ht,Ut)|0,b=b+Math.imul(ht,Vt)|0,g=g+Math.imul(q,je)|0,n=(n=n+Math.imul(q,Fe)|0)+Math.imul(de,je)|0,b=b+Math.imul(de,Fe)|0;var oi=(k+(g=g+Math.imul(te,Je)|0)|0)+((8191&(n=(n=n+Math.imul(te,Tt)|0)+Math.imul(Ue,Je)|0))<<13)|0;k=((b=b+Math.imul(Ue,Tt)|0)+(n>>>13)|0)+(oi>>>26)|0,oi&=67108863,g=Math.imul(_t,rt),n=(n=Math.imul(_t,vt))+Math.imul(ne,rt)|0,b=Math.imul(ne,vt),g=g+Math.imul(wt,Ut)|0,n=(n=n+Math.imul(wt,Vt)|0)+Math.imul(it,Ut)|0,b=b+Math.imul(it,Vt)|0,g=g+Math.imul(ke,je)|0,n=(n=n+Math.imul(ke,Fe)|0)+Math.imul(ht,je)|0,b=b+Math.imul(ht,Fe)|0;var ge=(k+(g=g+Math.imul(q,Je)|0)|0)+((8191&(n=(n=n+Math.imul(q,Tt)|0)+Math.imul(de,Je)|0))<<13)|0;k=((b=b+Math.imul(de,Tt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,g=Math.imul(_t,Ut),n=(n=Math.imul(_t,Vt))+Math.imul(ne,Ut)|0,b=Math.imul(ne,Vt),g=g+Math.imul(wt,je)|0,n=(n=n+Math.imul(wt,Fe)|0)+Math.imul(it,je)|0,b=b+Math.imul(it,Fe)|0;var Xe=(k+(g=g+Math.imul(ke,Je)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Tt)|0)+Math.imul(ht,Je)|0))<<13)|0;k=((b=b+Math.imul(ht,Tt)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,g=Math.imul(_t,je),n=(n=Math.imul(_t,Fe))+Math.imul(ne,je)|0,b=Math.imul(ne,Fe);var St=(k+(g=g+Math.imul(wt,Je)|0)|0)+((8191&(n=(n=n+Math.imul(wt,Tt)|0)+Math.imul(it,Je)|0))<<13)|0;k=((b=b+Math.imul(it,Tt)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863;var pt=(k+(g=Math.imul(_t,Je))|0)+((8191&(n=(n=Math.imul(_t,Tt))+Math.imul(ne,Je)|0))<<13)|0;return k=((b=Math.imul(ne,Tt))+(n>>>13)|0)+(pt>>>26)|0,pt&=67108863,A[0]=ui,A[1]=Ei,A[2]=xi,A[3]=Vi,A[4]=$e,A[5]=Mt,A[6]=ye,A[7]=Ot,A[8]=Kt,A[9]=mi,A[10]=Mi,A[11]=Pi,A[12]=Wi,A[13]=Zt,A[14]=oi,A[15]=ge,A[16]=Xe,A[17]=St,A[18]=pt,0!==k&&(A[19]=k,h.length++),h};function W(T,i,r){return(new Y).mulp(T,i,r)}function Y(T,i){this.x=T,this.y=i}Math.imul||(z=N),o.prototype.mulTo=function(i,r){var h,l=this.length+i.length;return h=10===this.length&&10===i.length?z(this,i,r):l<63?N(this,i,r):l<1024?function G(T,i,r){r.negative=i.negative^T.negative,r.length=T.length+i.length;for(var h=0,l=0,y=0;y<r.length-1;y++){var A=l;l=0;for(var k=67108863&h,g=Math.min(y,i.length-1),n=Math.max(0,y-T.length+1);n<=g;n++){var j=(0|T.words[y-n])*(0|i.words[n]),Ae=67108863&j;k=67108863&(Ae=Ae+k|0),l+=(A=(A=A+(j/67108864|0)|0)+(Ae>>>26)|0)>>>26,A&=67108863}r.words[y]=k,h=A,A=l}return 0!==h?r.words[y]=h:r.length--,r.strip()}(this,i,r):W(this,i,r),h},Y.prototype.makeRBT=function(i){for(var r=new Array(i),h=o.prototype._countBits(i)-1,l=0;l<i;l++)r[l]=this.revBin(l,h,i);return r},Y.prototype.revBin=function(i,r,h){if(0===i||i===h-1)return i;for(var l=0,y=0;y<r;y++)l|=(1&i)<<r-y-1,i>>=1;return l},Y.prototype.permute=function(i,r,h,l,y,A){for(var k=0;k<A;k++)l[k]=r[i[k]],y[k]=h[i[k]]},Y.prototype.transform=function(i,r,h,l,y,A){this.permute(A,i,r,h,l,y);for(var k=1;k<y;k<<=1)for(var g=k<<1,n=Math.cos(2*Math.PI/g),b=Math.sin(2*Math.PI/g),U=0;U<y;U+=g)for(var V=n,j=b,Ae=0;Ae<k;Ae++){var Ke=h[U+Ae],qe=l[U+Ae],ct=h[U+Ae+k],Ie=l[U+Ae+k],xe=V*ct-j*Ie;Ie=V*Ie+j*ct,h[U+Ae]=Ke+(ct=xe),l[U+Ae]=qe+Ie,h[U+Ae+k]=Ke-ct,l[U+Ae+k]=qe-Ie,Ae!==g&&(xe=n*V-b*j,j=n*j+b*V,V=xe)}},Y.prototype.guessLen13b=function(i,r){var h=1|Math.max(r,i),l=1&h,y=0;for(h=h/2|0;h;h>>>=1)y++;return 1<<y+1+l},Y.prototype.conjugate=function(i,r,h){if(!(h<=1))for(var l=0;l<h/2;l++){var y=i[l];i[l]=i[h-l-1],i[h-l-1]=y,y=r[l],r[l]=-r[h-l-1],r[h-l-1]=-y}},Y.prototype.normalize13b=function(i,r){for(var h=0,l=0;l<r/2;l++){var y=8192*Math.round(i[2*l+1]/r)+Math.round(i[2*l]/r)+h;i[l]=67108863&y,h=y<67108864?0:y/67108864|0}return i},Y.prototype.convert13b=function(i,r,h,l){for(var y=0,A=0;A<r;A++)h[2*A]=8191&(y+=0|i[A]),h[2*A+1]=8191&(y>>>=13),y>>>=13;for(A=2*r;A<l;++A)h[A]=0;v(0===y),v(0==(-8192&y))},Y.prototype.stub=function(i){for(var r=new Array(i),h=0;h<i;h++)r[h]=0;return r},Y.prototype.mulp=function(i,r,h){var l=2*this.guessLen13b(i.length,r.length),y=this.makeRBT(l),A=this.stub(l),k=new Array(l),g=new Array(l),n=new Array(l),b=new Array(l),U=new Array(l),V=new Array(l),j=h.words;j.length=l,this.convert13b(i.words,i.length,k,l),this.convert13b(r.words,r.length,b,l),this.transform(k,A,g,n,l,y),this.transform(b,A,U,V,l,y);for(var Ae=0;Ae<l;Ae++){var Ke=g[Ae]*U[Ae]-n[Ae]*V[Ae];n[Ae]=g[Ae]*V[Ae]+n[Ae]*U[Ae],g[Ae]=Ke}return this.conjugate(g,n,l),this.transform(g,n,j,A,l,y),this.conjugate(j,A,l),this.normalize13b(j,l),h.negative=i.negative^r.negative,h.length=i.length+r.length,h.strip()},o.prototype.mul=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),this.mulTo(i,r)},o.prototype.mulf=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),W(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){v("number"==typeof i),v(i<67108864);for(var r=0,h=0;h<this.length;h++){var l=(0|this.words[h])*i,y=(67108863&l)+(67108863&r);r>>=26,r+=l/67108864|0,r+=y>>>26,this.words[h]=67108863&y}return 0!==r&&(this.words[h]=r,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var r=function E(T){for(var i=new Array(T.bitLength()),r=0;r<i.length;r++){var l=r%26;i[r]=(T.words[r/26|0]&1<<l)>>>l}return i}(i);if(0===r.length)return new o(1);for(var h=this,l=0;l<r.length&&0===r[l];l++,h=h.sqr());if(++l<r.length)for(var y=h.sqr();l<r.length;l++,y=y.sqr())0!==r[l]&&(h=h.mul(y));return h},o.prototype.iushln=function(i){v("number"==typeof i&&i>=0);var y,r=i%26,h=(i-r)/26,l=67108863>>>26-r<<26-r;if(0!==r){var A=0;for(y=0;y<this.length;y++){var k=this.words[y]&l;this.words[y]=(0|this.words[y])-k<<r|A,A=k>>>26-r}A&&(this.words[y]=A,this.length++)}if(0!==h){for(y=this.length-1;y>=0;y--)this.words[y+h]=this.words[y];for(y=0;y<h;y++)this.words[y]=0;this.length+=h}return this.strip()},o.prototype.ishln=function(i){return v(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,h){var l;v("number"==typeof i&&i>=0),l=r?(r-r%26)/26:0;var y=i%26,A=Math.min((i-y)/26,this.length),k=67108863^67108863>>>y<<y,g=h;if(l-=A,l=Math.max(0,l),g){for(var n=0;n<A;n++)g.words[n]=this.words[n];g.length=A}if(0!==A)if(this.length>A)for(this.length-=A,n=0;n<this.length;n++)this.words[n]=this.words[n+A];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=l);n--){var U=0|this.words[n];this.words[n]=b<<26-y|U>>>y,b=U&k}return g&&0!==b&&(g.words[g.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,h){return v(0===this.negative),this.iushrn(i,r,h)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){v("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return!(this.length<=h||!(this.words[h]&1<<r))},o.prototype.imaskn=function(i){v("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return v(0===this.negative,"imaskn works only with positive numbers"),this.length<=h?this:(0!==r&&h++,this.length=Math.min(h,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return v("number"==typeof i),v(i<67108864),i<0?this.isubn(-i):0!==this.negative?1===this.length&&(0|this.words[0])<i?(this.words[0]=i-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},o.prototype.isubn=function(i){if(v("number"==typeof i),v(i<67108864),i<0)return this.iaddn(-i);if(0!==this.negative)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,r,h){var y;this._expand(i.length+h);var A,k=0;for(y=0;y<i.length;y++){A=(0|this.words[y+h])+k;var g=(0|i.words[y])*r;k=((A-=67108863&g)>>26)-(g/67108864|0),this.words[y+h]=67108863&A}for(;y<this.length-h;y++)k=(A=(0|this.words[y+h])+k)>>26,this.words[y+h]=67108863&A;if(0===k)return this.strip();for(v(-1===k),k=0,y=0;y<this.length;y++)k=(A=-(0|this.words[y])+k)>>26,this.words[y]=67108863&A;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var h,l=this.clone(),y=i,A=0|y.words[y.length-1];0!=(h=26-this._countBits(A))&&(y=y.ushln(h),l.iushln(h),A=0|y.words[y.length-1]);var n,g=l.length-y.length;if("mod"!==r){(n=new o(null)).length=g+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var U=l.clone()._ishlnsubmul(y,1,g);0===U.negative&&(l=U,n&&(n.words[g]=1));for(var V=g-1;V>=0;V--){var j=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(j=Math.min(j/A|0,67108863),l._ishlnsubmul(y,j,V);0!==l.negative;)j--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=j)}return n&&n.strip(),l.strip(),"div"!==r&&0!==h&&l.iushrn(h),{div:n||null,mod:l}},o.prototype.divmod=function(i,r,h){return v(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(A=this.neg().divmod(i,r),"mod"!==r&&(l=A.div.neg()),"div"!==r&&(y=A.mod.neg(),h&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(A=this.divmod(i.neg(),r),"mod"!==r&&(l=A.div.neg()),{div:l,mod:A.mod}):0!=(this.negative&i.negative)?(A=this.neg().divmod(i.neg(),r),"div"!==r&&(y=A.mod.neg(),h&&0!==y.negative&&y.isub(i)),{div:A.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:1===i.length?"div"===r?{div:this.divn(i.words[0]),mod:null}:"mod"===r?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,r);var l,y,A},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var r=this.divmod(i);if(r.mod.isZero())return r.div;var h=0!==r.div.negative?r.mod.isub(i):r.mod,l=i.ushrn(1),y=i.andln(1),A=h.cmp(l);return A<0||1===y&&0===A?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){v(i<=67108863);for(var r=(1<<26)%i,h=0,l=this.length-1;l>=0;l--)h=(r*h+(0|this.words[l]))%i;return h},o.prototype.idivn=function(i){v(i<=67108863);for(var r=0,h=this.length-1;h>=0;h--){var l=(0|this.words[h])+67108864*r;this.words[h]=l/i|0,r=l%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){v(0===i.negative),v(!i.isZero());var r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var l=new o(1),y=new o(0),A=new o(0),k=new o(1),g=0;r.isEven()&&h.isEven();)r.iushrn(1),h.iushrn(1),++g;for(var n=h.clone(),b=r.clone();!r.isZero();){for(var U=0,V=1;0==(r.words[0]&V)&&U<26;++U,V<<=1);if(U>0)for(r.iushrn(U);U-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(b)),l.iushrn(1),y.iushrn(1);for(var j=0,Ae=1;0==(h.words[0]&Ae)&&j<26;++j,Ae<<=1);if(j>0)for(h.iushrn(j);j-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(n),k.isub(b)),A.iushrn(1),k.iushrn(1);r.cmp(h)>=0?(r.isub(h),l.isub(A),y.isub(k)):(h.isub(r),A.isub(l),k.isub(y))}return{a:A,b:k,gcd:h.iushln(g)}},o.prototype._invmp=function(i){v(0===i.negative),v(!i.isZero());var U,r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var l=new o(1),y=new o(0),A=h.clone();r.cmpn(1)>0&&h.cmpn(1)>0;){for(var k=0,g=1;0==(r.words[0]&g)&&k<26;++k,g<<=1);if(k>0)for(r.iushrn(k);k-- >0;)l.isOdd()&&l.iadd(A),l.iushrn(1);for(var n=0,b=1;0==(h.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(h.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(A),y.iushrn(1);r.cmp(h)>=0?(r.isub(h),l.isub(y)):(h.isub(r),y.isub(l))}return(U=0===r.cmpn(1)?l:y).cmpn(0)<0&&U.iadd(i),U},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),h=i.clone();r.negative=0,h.negative=0;for(var l=0;r.isEven()&&h.isEven();l++)r.iushrn(1),h.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;h.isEven();)h.iushrn(1);var y=r.cmp(h);if(y<0){var A=r;r=h,h=A}else if(0===y||0===h.cmpn(1))break;r.isub(h)}return h.iushln(l)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){v("number"==typeof i);var r=i%26,h=(i-r)/26,l=1<<r;if(this.length<=h)return this._expand(h+1),this.words[h]|=l,this;for(var y=l,A=h;0!==y&&A<this.length;A++){var k=0|this.words[A];y=(k+=y)>>>26,this.words[A]=k&=67108863}return 0!==y&&(this.words[A]=y,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var h,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)h=1;else{r&&(i=-i),v(i<=67108863,"Number is too big");var l=0|this.words[0];h=l===i?0:l<i?-1:1}return 0!==this.negative?0|-h:h},o.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var r=this.ucmp(i);return 0!==this.negative?0|-r:r},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var r=0,h=this.length-1;h>=0;h--){var l=0|this.words[h],y=0|i.words[h];if(l!==y){l<y?r=-1:l>y&&(r=1);break}}return r},o.prototype.gtn=function(i){return 1===this.cmpn(i)},o.prototype.gt=function(i){return 1===this.cmp(i)},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return-1===this.cmpn(i)},o.prototype.lt=function(i){return-1===this.cmp(i)},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return 0===this.cmpn(i)},o.prototype.eq=function(i){return 0===this.cmp(i)},o.red=function(i){return new $(i)},o.prototype.toRed=function(i){return v(!this.red,"Already a number in reduction context"),v(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return v(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return v(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return v(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return v(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return v(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return v(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return v(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return v(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return v(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return v(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return v(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return v(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return v(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var X={k256:null,p224:null,p192:null,p25519:null};function ee(T,i){this.name=T,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ue(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function he(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(T){if("string"==typeof T){var i=o._prime(T);this.m=i.p,this.prime=i}else v(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function fe(T){$.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}ee.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},ee.prototype.ireduce=function(i){var h,r=i;do{this.split(r,this.tmp),h=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(h>this.n);var l=h<this.n?-1:r.ucmp(this.p);return 0===l?(r.words[0]=0,r.length=1):l>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},ee.prototype.split=function(i,r){i.iushrn(this.n,0,r)},ee.prototype.imulK=function(i){return i.imul(this.k)},D(ue,ee),ue.prototype.split=function(i,r){for(var h=4194303,l=Math.min(i.length,9),y=0;y<l;y++)r.words[y]=i.words[y];if(r.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var A=i.words[9];for(r.words[r.length++]=A&h,y=10;y<i.length;y++){var k=0|i.words[y];i.words[y-10]=(k&h)<<4|A>>>22,A=k}i.words[y-10]=A>>>=22,i.length-=0===A&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,h=0;h<i.length;h++){var l=0|i.words[h];i.words[h]=67108863&(r+=977*l),r=64*l+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},D(he,ee),D(ie,ee),D(ce,ee),ce.prototype.imulK=function(i){for(var r=0,h=0;h<i.length;h++){var l=19*(0|i.words[h])+r,y=67108863&l;l>>>=26,i.words[h]=y,r=l}return 0!==r&&(i.words[i.length++]=r),i},o._prime=function(i){if(X[i])return X[i];var r;if("k256"===i)r=new ue;else if("p224"===i)r=new he;else if("p192"===i)r=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},$.prototype._verify1=function(i){v(0===i.negative,"red works only with positives"),v(i.red,"red works only with red numbers")},$.prototype._verify2=function(i,r){v(0==(i.negative|r.negative),"red works only with positives"),v(i.red&&i.red===r.red,"red works only with red numbers")},$.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},$.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},$.prototype.add=function(i,r){this._verify2(i,r);var h=i.add(r);return h.cmp(this.m)>=0&&h.isub(this.m),h._forceRed(this)},$.prototype.iadd=function(i,r){this._verify2(i,r);var h=i.iadd(r);return h.cmp(this.m)>=0&&h.isub(this.m),h},$.prototype.sub=function(i,r){this._verify2(i,r);var h=i.sub(r);return h.cmpn(0)<0&&h.iadd(this.m),h._forceRed(this)},$.prototype.isub=function(i,r){this._verify2(i,r);var h=i.isub(r);return h.cmpn(0)<0&&h.iadd(this.m),h},$.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},$.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},$.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},$.prototype.isqr=function(i){return this.imul(i,i.clone())},$.prototype.sqr=function(i){return this.mul(i,i)},$.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(v(r%2==1),3===r){var h=this.m.add(new o(1)).iushrn(2);return this.pow(i,h)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);v(!l.isZero());var A=new o(1).toRed(this),k=A.redNeg(),g=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,g).cmp(k);)n.redIAdd(k);for(var b=this.pow(n,l),U=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),j=y;0!==V.cmp(A);){for(var Ae=V,Ke=0;0!==Ae.cmp(A);Ke++)Ae=Ae.redSqr();v(Ke<j);var qe=this.pow(b,new o(1).iushln(j-Ke-1));U=U.redMul(qe),b=qe.redSqr(),V=V.redMul(b),j=Ke}return U},$.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},$.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var l=new Array(16);l[0]=new o(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var A=l[0],k=0,g=0,n=r.bitLength()%26;for(0===n&&(n=26),y=r.length-1;y>=0;y--){for(var b=r.words[y],U=n-1;U>=0;U--){var V=b>>U&1;A!==l[0]&&(A=this.sqr(A)),0!==V||0!==k?(k<<=1,k|=V,(4==++g||0===y&&0===U)&&(A=this.mul(A,l[k]),g=0,k=0)):g=0}n=26}return A},$.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},$.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new fe(i)},D(fe,$),fe.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},fe.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},fe.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var h=i.imul(r),l=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(l).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},fe.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var h=i.mul(r),l=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(l).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},fe.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ve=m.nmd(Ve),this)},2391:Ve=>{function Q(m,t){if(!m)throw new Error(t||"Assertion failed")}Ve.exports=Q,Q.equal=function(t,e,v){if(t!=e)throw new Error(v||"Assertion failed: "+t+" != "+e)}},8195:(Ve,Q)=>{"use strict";var m=Q;function e(D){return 1===D.length?"0"+D:D}function v(D){for(var o="",C=0;C<D.length;C++)o+=e(D[C].toString(16));return o}m.toArray=function t(D,o){if(Array.isArray(D))return D.slice();if(!D)return[];var C=[];if("string"!=typeof D){for(var u=0;u<D.length;u++)C[u]=0|D[u];return C}if("hex"===o)for((D=D.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(D="0"+D),u=0;u<D.length;u+=2)C.push(parseInt(D[u]+D[u+1],16));else for(u=0;u<D.length;u++){var P=D.charCodeAt(u),d=P>>8,S=255&P;d?C.push(d,S):C.push(S)}return C},m.zero2=e,m.toHex=v,m.encode=function(o,C){return"hex"===C?v(o):o}},5768:(Ve,Q,m)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});var t=m(842);Object.keys(t).forEach(function(e){"default"!==e&&Object.defineProperty(Q,e,{enumerable:!0,get:function(){return t[e]}})})},2999:(Ve,Q,m)=>{"use strict";var t=m(7977);Q.certificate=m(2390);var e=t.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=e;var v=t.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});Q.RSAPublicKey=v;var D=t.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())});Q.PublicKey=D;var o=t.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())}),C=t.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(o),this.key("subjectPrivateKey").octstr())});Q.PrivateKey=C;var u=t.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=u;var P=t.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=t.define("DSAparam",function(){this.int()});var d=t.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(S),this.key("publicKey").optional().explicit(1).bitstr())});Q.ECPrivateKey=d;var S=t.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});Q.signature=t.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},2390:(Ve,Q,m)=>{"use strict";var t=m(7977),e=t.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),v=t.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),D=t.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),o=t.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(D),this.key("subjectPublicKey").bitstr())}),C=t.define("RelativeDistinguishedName",function(){this.setof(v)}),u=t.define("RDNSequence",function(){this.seqof(C)}),P=t.define("Name",function(){this.choice({rdnSequence:this.use(u)})}),d=t.define("Validity",function(){this.seq().obj(this.key("notBefore").use(e),this.key("notAfter").use(e))}),S=t.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),w=t.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(D),this.key("issuer").use(P),this.key("validity").use(d),this.key("subject").use(P),this.key("subjectPublicKeyInfo").use(o),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(S).optional())}),I=t.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(w),this.key("signatureAlgorithm").use(D),this.key("signatureValue").bitstr())});Ve.exports=I},5269:(Ve,Q,m)=>{var t=/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,e=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,v=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,D=m(347),o=m(4330),C=m(3502).Buffer;Ve.exports=function(u,P){var w,d=u.toString(),S=d.match(t);if(S){var E="aes"+S[1],N=C.from(S[2],"hex"),z=C.from(S[3].replace(/[\r\n]/g,""),"base64"),G=D(P,N.slice(0,8),parseInt(S[1],10)).key,W=[],Y=o.createDecipheriv(E,G,N);W.push(Y.update(z)),W.push(Y.final()),w=C.concat(W)}else{var I=d.match(v);w=C.from(I[2].replace(/[\r\n]/g,""),"base64")}return{tag:d.match(e)[1],data:w}}},2772:(Ve,Q,m)=>{var t=m(2999),e=m(2562),v=m(5269),D=m(4330),o=m(9357),C=m(3502).Buffer;function u(d){var S;"object"==typeof d&&!C.isBuffer(d)&&(S=d.passphrase,d=d.key),"string"==typeof d&&(d=C.from(d));var N,z,w=v(d,S),I=w.tag,E=w.data;switch(I){case"CERTIFICATE":z=t.certificate.decode(E,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(z||(z=t.PublicKey.decode(E,"der")),N=z.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return t.RSAPublicKey.decode(z.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return z.subjectPrivateKey=z.subjectPublicKey,{type:"ec",data:z};case"1.2.840.10040.4.1":return z.algorithm.params.pub_key=t.DSAparam.decode(z.subjectPublicKey.data,"der"),{type:"dsa",data:z.algorithm.params};default:throw new Error("unknown key id "+N)}case"ENCRYPTED PRIVATE KEY":E=function P(d,S){var w=d.algorithm.decrypt.kde.kdeparams.salt,I=parseInt(d.algorithm.decrypt.kde.kdeparams.iters.toString(),10),E=e[d.algorithm.decrypt.cipher.algo.join(".")],N=d.algorithm.decrypt.cipher.iv,z=d.subjectPrivateKey,G=parseInt(E.split("-")[1],10)/8,W=o.pbkdf2Sync(S,w,I,G,"sha1"),Y=D.createDecipheriv(E,W,N),X=[];return X.push(Y.update(z)),X.push(Y.final()),C.concat(X)}(E=t.EncryptedPrivateKey.decode(E,"der"),S);case"PRIVATE KEY":switch(N=(z=t.PrivateKey.decode(E,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return t.RSAPrivateKey.decode(z.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:z.algorithm.curve,privateKey:t.ECPrivateKey.decode(z.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return z.algorithm.params.priv_key=t.DSAparam.decode(z.subjectPrivateKey,"der"),{type:"dsa",params:z.algorithm.params};default:throw new Error("unknown key id "+N)}case"RSA PUBLIC KEY":return t.RSAPublicKey.decode(E,"der");case"RSA PRIVATE KEY":return t.RSAPrivateKey.decode(E,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:t.DSAPrivateKey.decode(E,"der")};case"EC PRIVATE KEY":return{curve:(E=t.ECPrivateKey.decode(E,"der")).parameters.value,privateKey:E.privateKey};default:throw new Error("unknown key type "+I)}}Ve.exports=u,u.signature=t.signature},9357:(Ve,Q,m)=>{Q.pbkdf2=m(415),Q.pbkdf2Sync=m(7472)},415:(Ve,Q,m)=>{var C,w,t=m(3502).Buffer,e=m(2697),v=m(8867),D=m(7472),o=m(4566),u=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 w||(w=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function E(z,G,W,Y,X){return u.importKey("raw",z,{name:"PBKDF2"},!1,["deriveBits"]).then(function(ee){return u.deriveBits({name:"PBKDF2",salt:G,iterations:W,hash:{name:X}},ee,Y<<3)}).then(function(ee){return t.from(ee)})}Ve.exports=function(z,G,W,Y,X,ee){"function"==typeof X&&(ee=X,X=void 0);var ue=P[(X=X||"sha1").toLowerCase()];if(ue&&"function"==typeof global.Promise){if(e(W,Y),z=o(z,v,"Password"),G=o(G,v,"Salt"),"function"!=typeof ee)throw new Error("No callback provided to pbkdf2");!function N(z,G){z.then(function(W){I()(function(){G(null,W)})},function(W){I()(function(){G(W)})})}(function S(z){if(global.process&&!global.process.browser||!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==d[z])return d[z];var G=E(C=C||t.alloc(8),C,10,128,z).then(function(){return!0}).catch(function(){return!1});return d[z]=G,G}(ue).then(function(he){return he?E(z,G,W,Y,ue):D(z,G,W,Y,X)}),ee)}else I()(function(){var he;try{he=D(z,G,W,Y,X)}catch(ie){return ee(ie)}ee(null,he)})}},8867:Ve=>{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",Ve.exports=Q},2697:Ve=>{var Q=Math.pow(2,30)-1;Ve.exports=function(m,t){if("number"!=typeof m)throw new TypeError("Iterations not a number");if(m<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>Q||t!=t)throw new TypeError("Bad key length")}},7472:(Ve,Q,m)=>{var t=m(5640),e=m(5634),v=m(5244),D=m(3502).Buffer,o=m(2697),C=m(8867),u=m(4566),P=D.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function S(E,N,z){var G=function w(E){return"rmd160"===E||"ripemd160"===E?function z(G){return(new e).update(G).digest()}:"md5"===E?t:function N(G){return v(E).update(G).digest()}}(E),W="sha512"===E||"sha384"===E?128:64;N.length>W?N=G(N):N.length<W&&(N=D.concat([N,P],W));for(var Y=D.allocUnsafe(W+d[E]),X=D.allocUnsafe(W+d[E]),ee=0;ee<W;ee++)Y[ee]=54^N[ee],X[ee]=92^N[ee];var ue=D.allocUnsafe(W+z+4);Y.copy(ue,0,0,W),this.ipad1=ue,this.ipad2=Y,this.opad=X,this.alg=E,this.blocksize=W,this.hash=G,this.size=d[E]}S.prototype.run=function(E,N){return E.copy(N,this.blocksize),this.hash(N).copy(this.opad,this.blocksize),this.hash(this.opad)},Ve.exports=function I(E,N,z,G,W){o(z,G);var Y=new S(W=W||"sha1",E=u(E,C,"Password"),(N=u(N,C,"Salt")).length),X=D.allocUnsafe(G),ee=D.allocUnsafe(N.length+4);N.copy(ee,0,0,N.length);for(var ue=0,he=d[W],ie=Math.ceil(G/he),ce=1;ce<=ie;ce++){ee.writeUInt32BE(ce,N.length);for(var $=Y.run(ee,Y.ipad1),fe=$,T=1;T<z;T++){fe=Y.run(fe,Y.ipad2);for(var i=0;i<he;i++)$[i]^=fe[i]}$.copy(X,ue),ue+=he}return X}},4566:(Ve,Q,m)=>{var t=m(3502).Buffer;Ve.exports=function(e,v,D){if(t.isBuffer(e))return e;if("string"==typeof e)return t.from(e,v);if(ArrayBuffer.isView(e))return t.from(e.buffer);throw new TypeError(D+" must be a string, a Buffer, a typed array or a DataView")}},3701:(Ve,Q,m)=>{Q.publicEncrypt=m(6562),Q.privateDecrypt=m(6705),Q.privateEncrypt=function(e,v){return Q.publicEncrypt(e,v,!0)},Q.publicDecrypt=function(e,v){return Q.privateDecrypt(e,v,!0)}},6945:(Ve,Q,m)=>{var t=m(6386),e=m(3502).Buffer;function v(D){var o=e.allocUnsafe(4);return o.writeUInt32BE(D,0),o}Ve.exports=function(D,o){for(var P,C=e.alloc(0),u=0;C.length<o;)P=v(u++),C=e.concat([C,t("sha1").update(D).update(P).digest()]);return C.slice(0,o)}},2057:function(Ve,Q,m){!function(t,e){"use strict";function v(T,i){if(!T)throw new Error(i||"Assertion failed")}function D(T,i){T.super_=i;var r=function(){};r.prototype=i.prototype,T.prototype=new r,T.prototype.constructor=T}function o(T,i,r){if(o.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(T||0,i||10,r||"be"))}var C;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(7108).Buffer}catch{}function u(T,i){var r=T.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function P(T,i,r){var h=u(T,r);return r-1>=i&&(h|=u(T,r-1)<<4),h}function d(T,i,r,h){for(var l=0,y=Math.min(T.length,r),A=i;A<y;A++){var k=T.charCodeAt(A)-48;l*=h,l+=k>=49?k-49+10:k>=17?k-17+10:k}return l}o.isBN=function(i){return i instanceof o||null!==i&&"object"==typeof i&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,r){return i.cmp(r)>0?i:r},o.min=function(i,r){return i.cmp(r)<0?i:r},o.prototype._init=function(i,r,h){if("number"==typeof i)return this._initNumber(i,r,h);if("object"==typeof i)return this._initArray(i,r,h);"hex"===r&&(r=16),v(r===(0|r)&&r>=2&&r<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===r?this._parseHex(i,l,h):(this._parseBase(i,r,l),"le"===h&&this._initArray(this.toArray(),r,h)))},o.prototype._initNumber=function(i,r,h){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[67108863&i],this.length=1):i<4503599627370496?(this.words=[67108863&i,i/67108864&67108863],this.length=2):(v(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===h&&this._initArray(this.toArray(),r,h)},o.prototype._initArray=function(i,r,h){if(v("number"==typeof i.length),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var y,A,k=0;if("be"===h)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(A=i[l]|i[l-1]<<8|i[l-2]<<16)<<k&67108863,this.words[y+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);else if("le"===h)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(A=i[l]|i[l+1]<<8|i[l+2]<<16)<<k&67108863,this.words[y+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);return this.strip()},o.prototype._parseHex=function(i,r,h){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var k,y=0,A=0;if("be"===h)for(l=i.length-1;l>=r;l-=2)k=P(i,r,l)<<y,this.words[A]|=67108863&k,y>=18?(y-=18,this.words[A+=1]|=k>>>26):y+=8;else for(l=(i.length-r)%2==0?r+1:r;l<i.length;l+=2)k=P(i,r,l)<<y,this.words[A]|=67108863&k,y>=18?(y-=18,this.words[A+=1]|=k>>>26):y+=8;this.strip()},o.prototype._parseBase=function(i,r,h){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=r)l++;l--,y=y/r|0;for(var A=i.length-h,k=A%l,g=Math.min(A,A-k)+h,n=0,b=h;b<g;b+=l)n=d(i,b,b+l,r),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==k){var U=1;for(n=d(i,b,i.length,r),b=0;b<k;b++)U*=r;this.imuln(U),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var r=0;r<this.length;r++)i.words[r]=this.words[r];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var S=["","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"],w=[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 N(T,i,r){r.negative=i.negative^T.negative;var h=T.length+i.length|0;r.length=h,h=h-1|0;var l=0|T.words[0],y=0|i.words[0],A=l*y,g=A/67108864|0;r.words[0]=67108863&A;for(var n=1;n<h;n++){for(var b=g>>>26,U=67108863&g,V=Math.min(n,i.length-1),j=Math.max(0,n-T.length+1);j<=V;j++)b+=(A=(l=0|T.words[n-j|0])*(y=0|i.words[j])+U)/67108864|0,U=67108863&A;r.words[n]=0|U,g=0|b}return 0!==g?r.words[n]=0|g:r.length--,r.strip()}o.prototype.toString=function(i,r){var h;if(r=0|r||1,16===(i=i||10)||"hex"===i){h="";for(var l=0,y=0,A=0;A<this.length;A++){var k=this.words[A],g=(16777215&(k<<l|y)).toString(16);h=0!=(y=k>>>24-l&16777215)||A!==this.length-1?S[6-g.length]+g+h:g+h,(l+=2)>=26&&(l-=26,A--)}for(0!==y&&(h=y.toString(16)+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=I[i];h="";var U=this.clone();for(U.negative=0;!U.isZero();){var V=U.modn(b).toString(i);h=(U=U.idivn(b)).isZero()?V+h:S[n-V.length]+V+h}for(this.isZero()&&(h="0"+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}v(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return 2===this.length?i+=67108864*this.words[1]:3===this.length&&1===this.words[2]?i+=4503599627370496+67108864*this.words[1]:this.length>2&&v(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,r){return v(typeof C<"u"),this.toArrayLike(C,i,r)},o.prototype.toArray=function(i,r){return this.toArrayLike(Array,i,r)},o.prototype.toArrayLike=function(i,r,h){var l=this.byteLength(),y=h||Math.max(1,l);v(l<=y,"byte array longer than desired length"),v(y>0,"Requested array length <= 0"),this.strip();var g,n,A="le"===r,k=new i(y),b=this.clone();if(A){for(n=0;!b.isZero();n++)g=b.andln(255),b.iushrn(8),k[n]=g;for(;n<y;n++)k[n]=0}else{for(n=0;n<y-l;n++)k[n]=0;for(n=0;!b.isZero();n++)g=b.andln(255),b.iushrn(8),k[y-n-1]=g}return k},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,h=0;return r>=4096&&(h+=13,r>>>=13),r>=64&&(h+=7,r>>>=7),r>=8&&(h+=4,r>>>=4),r>=2&&(h+=2,r>>>=2),h+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,h=0;return 0==(8191&r)&&(h+=13,r>>>=13),0==(127&r)&&(h+=7,r>>>=7),0==(15&r)&&(h+=4,r>>>=4),0==(3&r)&&(h+=2,r>>>=2),0==(1&r)&&h++,h},o.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,r=0;r<this.length;r++){var h=this._zeroBits(this.words[r]);if(i+=h,26!==h)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var r=0;r<i.length;r++)this.words[r]=this.words[r]|i.words[r];return this.strip()},o.prototype.ior=function(i){return v(0==(this.negative|i.negative)),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var r;r=this.length>i.length?i:this;for(var h=0;h<r.length;h++)this.words[h]=this.words[h]&i.words[h];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return v(0==(this.negative|i.negative)),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var r,h;this.length>i.length?(r=this,h=i):(r=i,h=this);for(var l=0;l<h.length;l++)this.words[l]=r.words[l]^h.words[l];if(this!==r)for(;l<r.length;l++)this.words[l]=r.words[l];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return v(0==(this.negative|i.negative)),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){v("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),h=i%26;this._expand(r),h>0&&r--;for(var l=0;l<r;l++)this.words[l]=67108863&~this.words[l];return h>0&&(this.words[l]=~this.words[l]&67108863>>26-h),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){v("number"==typeof i&&i>=0);var h=i/26|0,l=i%26;return this._expand(h+1),this.words[h]=r?this.words[h]|1<<l:this.words[h]&~(1<<l),this.strip()},o.prototype.iadd=function(i){var r,h,l;if(0!==this.negative&&0===i.negative)return this.negative=0,r=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,r=this.isub(i),i.negative=1,r._normSign();this.length>i.length?(h=this,l=i):(h=i,l=this);for(var y=0,A=0;A<l.length;A++)this.words[A]=67108863&(r=(0|h.words[A])+(0|l.words[A])+y),y=r>>>26;for(;0!==y&&A<h.length;A++)this.words[A]=67108863&(r=(0|h.words[A])+y),y=r>>>26;if(this.length=h.length,0!==y)this.words[this.length]=y,this.length++;else if(h!==this)for(;A<h.length;A++)this.words[A]=h.words[A];return this},o.prototype.add=function(i){var r;return 0!==i.negative&&0===this.negative?(i.negative=0,r=this.sub(i),i.negative^=1,r):0===i.negative&&0!==this.negative?(this.negative=0,r=i.sub(this),this.negative=1,r):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var r=this.iadd(i);return i.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,h=this.cmp(i);if(0===h)return this.negative=0,this.length=1,this.words[0]=0,this;h>0?(l=this,y=i):(l=i,y=this);for(var A=0,k=0;k<y.length;k++)A=(r=(0|l.words[k])-(0|y.words[k])+A)>>26,this.words[k]=67108863&r;for(;0!==A&&k<l.length;k++)A=(r=(0|l.words[k])+A)>>26,this.words[k]=67108863&r;if(0===A&&k<l.length&&l!==this)for(;k<l.length;k++)this.words[k]=l.words[k];return this.length=Math.max(this.length,k),l!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var z=function(i,r,h){var g,n,b,l=i.words,y=r.words,A=h.words,k=0,U=0|l[0],V=8191&U,j=U>>>13,Ae=0|l[1],Ke=8191&Ae,qe=Ae>>>13,ct=0|l[2],Ie=8191&ct,xe=ct>>>13,le=0|l[3],_e=8191&le,se=le>>>13,Ye=0|l[4],Te=8191&Ye,oe=Ye>>>13,be=0|l[5],te=8191&be,Ue=be>>>13,Be=0|l[6],q=8191&Be,de=Be>>>13,Ce=0|l[7],ke=8191&Ce,ht=Ce>>>13,nt=0|l[8],wt=8191&nt,it=nt>>>13,qt=0|l[9],_t=8191&qt,ne=qt>>>13,Nt=0|y[0],De=8191&Nt,He=Nt>>>13,Ct=0|y[1],Pe=8191&Ct,tt=Ct>>>13,Bt=0|y[2],Lt=8191&Bt,Ht=Bt>>>13,bt=0|y[3],Me=8191&bt,J=bt>>>13,ve=0|y[4],Re=8191&ve,at=ve>>>13,ni=0|y[5],Gt=8191&ni,ti=ni>>>13,dt=0|y[6],rt=8191&dt,vt=dt>>>13,ai=0|y[7],Ut=8191&ai,Vt=ai>>>13,Rt=0|y[8],je=8191&Rt,Fe=Rt>>>13,We=0|y[9],Je=8191&We,Tt=We>>>13;h.negative=i.negative^r.negative,h.length=19;var ui=(k+(g=Math.imul(V,De))|0)+((8191&(n=(n=Math.imul(V,He))+Math.imul(j,De)|0))<<13)|0;k=((b=Math.imul(j,He))+(n>>>13)|0)+(ui>>>26)|0,ui&=67108863,g=Math.imul(Ke,De),n=(n=Math.imul(Ke,He))+Math.imul(qe,De)|0,b=Math.imul(qe,He);var Ei=(k+(g=g+Math.imul(V,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(V,tt)|0)+Math.imul(j,Pe)|0))<<13)|0;k=((b=b+Math.imul(j,tt)|0)+(n>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,g=Math.imul(Ie,De),n=(n=Math.imul(Ie,He))+Math.imul(xe,De)|0,b=Math.imul(xe,He),g=g+Math.imul(Ke,Pe)|0,n=(n=n+Math.imul(Ke,tt)|0)+Math.imul(qe,Pe)|0,b=b+Math.imul(qe,tt)|0;var xi=(k+(g=g+Math.imul(V,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Ht)|0)+Math.imul(j,Lt)|0))<<13)|0;k=((b=b+Math.imul(j,Ht)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,g=Math.imul(_e,De),n=(n=Math.imul(_e,He))+Math.imul(se,De)|0,b=Math.imul(se,He),g=g+Math.imul(Ie,Pe)|0,n=(n=n+Math.imul(Ie,tt)|0)+Math.imul(xe,Pe)|0,b=b+Math.imul(xe,tt)|0,g=g+Math.imul(Ke,Lt)|0,n=(n=n+Math.imul(Ke,Ht)|0)+Math.imul(qe,Lt)|0,b=b+Math.imul(qe,Ht)|0;var Vi=(k+(g=g+Math.imul(V,Me)|0)|0)+((8191&(n=(n=n+Math.imul(V,J)|0)+Math.imul(j,Me)|0))<<13)|0;k=((b=b+Math.imul(j,J)|0)+(n>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,g=Math.imul(Te,De),n=(n=Math.imul(Te,He))+Math.imul(oe,De)|0,b=Math.imul(oe,He),g=g+Math.imul(_e,Pe)|0,n=(n=n+Math.imul(_e,tt)|0)+Math.imul(se,Pe)|0,b=b+Math.imul(se,tt)|0,g=g+Math.imul(Ie,Lt)|0,n=(n=n+Math.imul(Ie,Ht)|0)+Math.imul(xe,Lt)|0,b=b+Math.imul(xe,Ht)|0,g=g+Math.imul(Ke,Me)|0,n=(n=n+Math.imul(Ke,J)|0)+Math.imul(qe,Me)|0,b=b+Math.imul(qe,J)|0;var $e=(k+(g=g+Math.imul(V,Re)|0)|0)+((8191&(n=(n=n+Math.imul(V,at)|0)+Math.imul(j,Re)|0))<<13)|0;k=((b=b+Math.imul(j,at)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,g=Math.imul(te,De),n=(n=Math.imul(te,He))+Math.imul(Ue,De)|0,b=Math.imul(Ue,He),g=g+Math.imul(Te,Pe)|0,n=(n=n+Math.imul(Te,tt)|0)+Math.imul(oe,Pe)|0,b=b+Math.imul(oe,tt)|0,g=g+Math.imul(_e,Lt)|0,n=(n=n+Math.imul(_e,Ht)|0)+Math.imul(se,Lt)|0,b=b+Math.imul(se,Ht)|0,g=g+Math.imul(Ie,Me)|0,n=(n=n+Math.imul(Ie,J)|0)+Math.imul(xe,Me)|0,b=b+Math.imul(xe,J)|0,g=g+Math.imul(Ke,Re)|0,n=(n=n+Math.imul(Ke,at)|0)+Math.imul(qe,Re)|0,b=b+Math.imul(qe,at)|0;var Mt=(k+(g=g+Math.imul(V,Gt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ti)|0)+Math.imul(j,Gt)|0))<<13)|0;k=((b=b+Math.imul(j,ti)|0)+(n>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,g=Math.imul(q,De),n=(n=Math.imul(q,He))+Math.imul(de,De)|0,b=Math.imul(de,He),g=g+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,tt)|0)+Math.imul(Ue,Pe)|0,b=b+Math.imul(Ue,tt)|0,g=g+Math.imul(Te,Lt)|0,n=(n=n+Math.imul(Te,Ht)|0)+Math.imul(oe,Lt)|0,b=b+Math.imul(oe,Ht)|0,g=g+Math.imul(_e,Me)|0,n=(n=n+Math.imul(_e,J)|0)+Math.imul(se,Me)|0,b=b+Math.imul(se,J)|0,g=g+Math.imul(Ie,Re)|0,n=(n=n+Math.imul(Ie,at)|0)+Math.imul(xe,Re)|0,b=b+Math.imul(xe,at)|0,g=g+Math.imul(Ke,Gt)|0,n=(n=n+Math.imul(Ke,ti)|0)+Math.imul(qe,Gt)|0,b=b+Math.imul(qe,ti)|0;var ye=(k+(g=g+Math.imul(V,rt)|0)|0)+((8191&(n=(n=n+Math.imul(V,vt)|0)+Math.imul(j,rt)|0))<<13)|0;k=((b=b+Math.imul(j,vt)|0)+(n>>>13)|0)+(ye>>>26)|0,ye&=67108863,g=Math.imul(ke,De),n=(n=Math.imul(ke,He))+Math.imul(ht,De)|0,b=Math.imul(ht,He),g=g+Math.imul(q,Pe)|0,n=(n=n+Math.imul(q,tt)|0)+Math.imul(de,Pe)|0,b=b+Math.imul(de,tt)|0,g=g+Math.imul(te,Lt)|0,n=(n=n+Math.imul(te,Ht)|0)+Math.imul(Ue,Lt)|0,b=b+Math.imul(Ue,Ht)|0,g=g+Math.imul(Te,Me)|0,n=(n=n+Math.imul(Te,J)|0)+Math.imul(oe,Me)|0,b=b+Math.imul(oe,J)|0,g=g+Math.imul(_e,Re)|0,n=(n=n+Math.imul(_e,at)|0)+Math.imul(se,Re)|0,b=b+Math.imul(se,at)|0,g=g+Math.imul(Ie,Gt)|0,n=(n=n+Math.imul(Ie,ti)|0)+Math.imul(xe,Gt)|0,b=b+Math.imul(xe,ti)|0,g=g+Math.imul(Ke,rt)|0,n=(n=n+Math.imul(Ke,vt)|0)+Math.imul(qe,rt)|0,b=b+Math.imul(qe,vt)|0;var Ot=(k+(g=g+Math.imul(V,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(V,Vt)|0)+Math.imul(j,Ut)|0))<<13)|0;k=((b=b+Math.imul(j,Vt)|0)+(n>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,g=Math.imul(wt,De),n=(n=Math.imul(wt,He))+Math.imul(it,De)|0,b=Math.imul(it,He),g=g+Math.imul(ke,Pe)|0,n=(n=n+Math.imul(ke,tt)|0)+Math.imul(ht,Pe)|0,b=b+Math.imul(ht,tt)|0,g=g+Math.imul(q,Lt)|0,n=(n=n+Math.imul(q,Ht)|0)+Math.imul(de,Lt)|0,b=b+Math.imul(de,Ht)|0,g=g+Math.imul(te,Me)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ue,Me)|0,b=b+Math.imul(Ue,J)|0,g=g+Math.imul(Te,Re)|0,n=(n=n+Math.imul(Te,at)|0)+Math.imul(oe,Re)|0,b=b+Math.imul(oe,at)|0,g=g+Math.imul(_e,Gt)|0,n=(n=n+Math.imul(_e,ti)|0)+Math.imul(se,Gt)|0,b=b+Math.imul(se,ti)|0,g=g+Math.imul(Ie,rt)|0,n=(n=n+Math.imul(Ie,vt)|0)+Math.imul(xe,rt)|0,b=b+Math.imul(xe,vt)|0,g=g+Math.imul(Ke,Ut)|0,n=(n=n+Math.imul(Ke,Vt)|0)+Math.imul(qe,Ut)|0,b=b+Math.imul(qe,Vt)|0;var Kt=(k+(g=g+Math.imul(V,je)|0)|0)+((8191&(n=(n=n+Math.imul(V,Fe)|0)+Math.imul(j,je)|0))<<13)|0;k=((b=b+Math.imul(j,Fe)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,g=Math.imul(_t,De),n=(n=Math.imul(_t,He))+Math.imul(ne,De)|0,b=Math.imul(ne,He),g=g+Math.imul(wt,Pe)|0,n=(n=n+Math.imul(wt,tt)|0)+Math.imul(it,Pe)|0,b=b+Math.imul(it,tt)|0,g=g+Math.imul(ke,Lt)|0,n=(n=n+Math.imul(ke,Ht)|0)+Math.imul(ht,Lt)|0,b=b+Math.imul(ht,Ht)|0,g=g+Math.imul(q,Me)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,Me)|0,b=b+Math.imul(de,J)|0,g=g+Math.imul(te,Re)|0,n=(n=n+Math.imul(te,at)|0)+Math.imul(Ue,Re)|0,b=b+Math.imul(Ue,at)|0,g=g+Math.imul(Te,Gt)|0,n=(n=n+Math.imul(Te,ti)|0)+Math.imul(oe,Gt)|0,b=b+Math.imul(oe,ti)|0,g=g+Math.imul(_e,rt)|0,n=(n=n+Math.imul(_e,vt)|0)+Math.imul(se,rt)|0,b=b+Math.imul(se,vt)|0,g=g+Math.imul(Ie,Ut)|0,n=(n=n+Math.imul(Ie,Vt)|0)+Math.imul(xe,Ut)|0,b=b+Math.imul(xe,Vt)|0,g=g+Math.imul(Ke,je)|0,n=(n=n+Math.imul(Ke,Fe)|0)+Math.imul(qe,je)|0,b=b+Math.imul(qe,Fe)|0;var mi=(k+(g=g+Math.imul(V,Je)|0)|0)+((8191&(n=(n=n+Math.imul(V,Tt)|0)+Math.imul(j,Je)|0))<<13)|0;k=((b=b+Math.imul(j,Tt)|0)+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,g=Math.imul(_t,Pe),n=(n=Math.imul(_t,tt))+Math.imul(ne,Pe)|0,b=Math.imul(ne,tt),g=g+Math.imul(wt,Lt)|0,n=(n=n+Math.imul(wt,Ht)|0)+Math.imul(it,Lt)|0,b=b+Math.imul(it,Ht)|0,g=g+Math.imul(ke,Me)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ht,Me)|0,b=b+Math.imul(ht,J)|0,g=g+Math.imul(q,Re)|0,n=(n=n+Math.imul(q,at)|0)+Math.imul(de,Re)|0,b=b+Math.imul(de,at)|0,g=g+Math.imul(te,Gt)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ue,Gt)|0,b=b+Math.imul(Ue,ti)|0,g=g+Math.imul(Te,rt)|0,n=(n=n+Math.imul(Te,vt)|0)+Math.imul(oe,rt)|0,b=b+Math.imul(oe,vt)|0,g=g+Math.imul(_e,Ut)|0,n=(n=n+Math.imul(_e,Vt)|0)+Math.imul(se,Ut)|0,b=b+Math.imul(se,Vt)|0,g=g+Math.imul(Ie,je)|0,n=(n=n+Math.imul(Ie,Fe)|0)+Math.imul(xe,je)|0,b=b+Math.imul(xe,Fe)|0;var Mi=(k+(g=g+Math.imul(Ke,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Ke,Tt)|0)+Math.imul(qe,Je)|0))<<13)|0;k=((b=b+Math.imul(qe,Tt)|0)+(n>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,g=Math.imul(_t,Lt),n=(n=Math.imul(_t,Ht))+Math.imul(ne,Lt)|0,b=Math.imul(ne,Ht),g=g+Math.imul(wt,Me)|0,n=(n=n+Math.imul(wt,J)|0)+Math.imul(it,Me)|0,b=b+Math.imul(it,J)|0,g=g+Math.imul(ke,Re)|0,n=(n=n+Math.imul(ke,at)|0)+Math.imul(ht,Re)|0,b=b+Math.imul(ht,at)|0,g=g+Math.imul(q,Gt)|0,n=(n=n+Math.imul(q,ti)|0)+Math.imul(de,Gt)|0,b=b+Math.imul(de,ti)|0,g=g+Math.imul(te,rt)|0,n=(n=n+Math.imul(te,vt)|0)+Math.imul(Ue,rt)|0,b=b+Math.imul(Ue,vt)|0,g=g+Math.imul(Te,Ut)|0,n=(n=n+Math.imul(Te,Vt)|0)+Math.imul(oe,Ut)|0,b=b+Math.imul(oe,Vt)|0,g=g+Math.imul(_e,je)|0,n=(n=n+Math.imul(_e,Fe)|0)+Math.imul(se,je)|0,b=b+Math.imul(se,Fe)|0;var Pi=(k+(g=g+Math.imul(Ie,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Tt)|0)+Math.imul(xe,Je)|0))<<13)|0;k=((b=b+Math.imul(xe,Tt)|0)+(n>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,g=Math.imul(_t,Me),n=(n=Math.imul(_t,J))+Math.imul(ne,Me)|0,b=Math.imul(ne,J),g=g+Math.imul(wt,Re)|0,n=(n=n+Math.imul(wt,at)|0)+Math.imul(it,Re)|0,b=b+Math.imul(it,at)|0,g=g+Math.imul(ke,Gt)|0,n=(n=n+Math.imul(ke,ti)|0)+Math.imul(ht,Gt)|0,b=b+Math.imul(ht,ti)|0,g=g+Math.imul(q,rt)|0,n=(n=n+Math.imul(q,vt)|0)+Math.imul(de,rt)|0,b=b+Math.imul(de,vt)|0,g=g+Math.imul(te,Ut)|0,n=(n=n+Math.imul(te,Vt)|0)+Math.imul(Ue,Ut)|0,b=b+Math.imul(Ue,Vt)|0,g=g+Math.imul(Te,je)|0,n=(n=n+Math.imul(Te,Fe)|0)+Math.imul(oe,je)|0,b=b+Math.imul(oe,Fe)|0;var Wi=(k+(g=g+Math.imul(_e,Je)|0)|0)+((8191&(n=(n=n+Math.imul(_e,Tt)|0)+Math.imul(se,Je)|0))<<13)|0;k=((b=b+Math.imul(se,Tt)|0)+(n>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,g=Math.imul(_t,Re),n=(n=Math.imul(_t,at))+Math.imul(ne,Re)|0,b=Math.imul(ne,at),g=g+Math.imul(wt,Gt)|0,n=(n=n+Math.imul(wt,ti)|0)+Math.imul(it,Gt)|0,b=b+Math.imul(it,ti)|0,g=g+Math.imul(ke,rt)|0,n=(n=n+Math.imul(ke,vt)|0)+Math.imul(ht,rt)|0,b=b+Math.imul(ht,vt)|0,g=g+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,Vt)|0)+Math.imul(de,Ut)|0,b=b+Math.imul(de,Vt)|0,g=g+Math.imul(te,je)|0,n=(n=n+Math.imul(te,Fe)|0)+Math.imul(Ue,je)|0,b=b+Math.imul(Ue,Fe)|0;var Zt=(k+(g=g+Math.imul(Te,Je)|0)|0)+((8191&(n=(n=n+Math.imul(Te,Tt)|0)+Math.imul(oe,Je)|0))<<13)|0;k=((b=b+Math.imul(oe,Tt)|0)+(n>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,g=Math.imul(_t,Gt),n=(n=Math.imul(_t,ti))+Math.imul(ne,Gt)|0,b=Math.imul(ne,ti),g=g+Math.imul(wt,rt)|0,n=(n=n+Math.imul(wt,vt)|0)+Math.imul(it,rt)|0,b=b+Math.imul(it,vt)|0,g=g+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,Vt)|0)+Math.imul(ht,Ut)|0,b=b+Math.imul(ht,Vt)|0,g=g+Math.imul(q,je)|0,n=(n=n+Math.imul(q,Fe)|0)+Math.imul(de,je)|0,b=b+Math.imul(de,Fe)|0;var oi=(k+(g=g+Math.imul(te,Je)|0)|0)+((8191&(n=(n=n+Math.imul(te,Tt)|0)+Math.imul(Ue,Je)|0))<<13)|0;k=((b=b+Math.imul(Ue,Tt)|0)+(n>>>13)|0)+(oi>>>26)|0,oi&=67108863,g=Math.imul(_t,rt),n=(n=Math.imul(_t,vt))+Math.imul(ne,rt)|0,b=Math.imul(ne,vt),g=g+Math.imul(wt,Ut)|0,n=(n=n+Math.imul(wt,Vt)|0)+Math.imul(it,Ut)|0,b=b+Math.imul(it,Vt)|0,g=g+Math.imul(ke,je)|0,n=(n=n+Math.imul(ke,Fe)|0)+Math.imul(ht,je)|0,b=b+Math.imul(ht,Fe)|0;var ge=(k+(g=g+Math.imul(q,Je)|0)|0)+((8191&(n=(n=n+Math.imul(q,Tt)|0)+Math.imul(de,Je)|0))<<13)|0;k=((b=b+Math.imul(de,Tt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,g=Math.imul(_t,Ut),n=(n=Math.imul(_t,Vt))+Math.imul(ne,Ut)|0,b=Math.imul(ne,Vt),g=g+Math.imul(wt,je)|0,n=(n=n+Math.imul(wt,Fe)|0)+Math.imul(it,je)|0,b=b+Math.imul(it,Fe)|0;var Xe=(k+(g=g+Math.imul(ke,Je)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Tt)|0)+Math.imul(ht,Je)|0))<<13)|0;k=((b=b+Math.imul(ht,Tt)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,g=Math.imul(_t,je),n=(n=Math.imul(_t,Fe))+Math.imul(ne,je)|0,b=Math.imul(ne,Fe);var St=(k+(g=g+Math.imul(wt,Je)|0)|0)+((8191&(n=(n=n+Math.imul(wt,Tt)|0)+Math.imul(it,Je)|0))<<13)|0;k=((b=b+Math.imul(it,Tt)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863;var pt=(k+(g=Math.imul(_t,Je))|0)+((8191&(n=(n=Math.imul(_t,Tt))+Math.imul(ne,Je)|0))<<13)|0;return k=((b=Math.imul(ne,Tt))+(n>>>13)|0)+(pt>>>26)|0,pt&=67108863,A[0]=ui,A[1]=Ei,A[2]=xi,A[3]=Vi,A[4]=$e,A[5]=Mt,A[6]=ye,A[7]=Ot,A[8]=Kt,A[9]=mi,A[10]=Mi,A[11]=Pi,A[12]=Wi,A[13]=Zt,A[14]=oi,A[15]=ge,A[16]=Xe,A[17]=St,A[18]=pt,0!==k&&(A[19]=k,h.length++),h};function W(T,i,r){return(new Y).mulp(T,i,r)}function Y(T,i){this.x=T,this.y=i}Math.imul||(z=N),o.prototype.mulTo=function(i,r){var h,l=this.length+i.length;return h=10===this.length&&10===i.length?z(this,i,r):l<63?N(this,i,r):l<1024?function G(T,i,r){r.negative=i.negative^T.negative,r.length=T.length+i.length;for(var h=0,l=0,y=0;y<r.length-1;y++){var A=l;l=0;for(var k=67108863&h,g=Math.min(y,i.length-1),n=Math.max(0,y-T.length+1);n<=g;n++){var j=(0|T.words[y-n])*(0|i.words[n]),Ae=67108863&j;k=67108863&(Ae=Ae+k|0),l+=(A=(A=A+(j/67108864|0)|0)+(Ae>>>26)|0)>>>26,A&=67108863}r.words[y]=k,h=A,A=l}return 0!==h?r.words[y]=h:r.length--,r.strip()}(this,i,r):W(this,i,r),h},Y.prototype.makeRBT=function(i){for(var r=new Array(i),h=o.prototype._countBits(i)-1,l=0;l<i;l++)r[l]=this.revBin(l,h,i);return r},Y.prototype.revBin=function(i,r,h){if(0===i||i===h-1)return i;for(var l=0,y=0;y<r;y++)l|=(1&i)<<r-y-1,i>>=1;return l},Y.prototype.permute=function(i,r,h,l,y,A){for(var k=0;k<A;k++)l[k]=r[i[k]],y[k]=h[i[k]]},Y.prototype.transform=function(i,r,h,l,y,A){this.permute(A,i,r,h,l,y);for(var k=1;k<y;k<<=1)for(var g=k<<1,n=Math.cos(2*Math.PI/g),b=Math.sin(2*Math.PI/g),U=0;U<y;U+=g)for(var V=n,j=b,Ae=0;Ae<k;Ae++){var Ke=h[U+Ae],qe=l[U+Ae],ct=h[U+Ae+k],Ie=l[U+Ae+k],xe=V*ct-j*Ie;Ie=V*Ie+j*ct,h[U+Ae]=Ke+(ct=xe),l[U+Ae]=qe+Ie,h[U+Ae+k]=Ke-ct,l[U+Ae+k]=qe-Ie,Ae!==g&&(xe=n*V-b*j,j=n*j+b*V,V=xe)}},Y.prototype.guessLen13b=function(i,r){var h=1|Math.max(r,i),l=1&h,y=0;for(h=h/2|0;h;h>>>=1)y++;return 1<<y+1+l},Y.prototype.conjugate=function(i,r,h){if(!(h<=1))for(var l=0;l<h/2;l++){var y=i[l];i[l]=i[h-l-1],i[h-l-1]=y,y=r[l],r[l]=-r[h-l-1],r[h-l-1]=-y}},Y.prototype.normalize13b=function(i,r){for(var h=0,l=0;l<r/2;l++){var y=8192*Math.round(i[2*l+1]/r)+Math.round(i[2*l]/r)+h;i[l]=67108863&y,h=y<67108864?0:y/67108864|0}return i},Y.prototype.convert13b=function(i,r,h,l){for(var y=0,A=0;A<r;A++)h[2*A]=8191&(y+=0|i[A]),h[2*A+1]=8191&(y>>>=13),y>>>=13;for(A=2*r;A<l;++A)h[A]=0;v(0===y),v(0==(-8192&y))},Y.prototype.stub=function(i){for(var r=new Array(i),h=0;h<i;h++)r[h]=0;return r},Y.prototype.mulp=function(i,r,h){var l=2*this.guessLen13b(i.length,r.length),y=this.makeRBT(l),A=this.stub(l),k=new Array(l),g=new Array(l),n=new Array(l),b=new Array(l),U=new Array(l),V=new Array(l),j=h.words;j.length=l,this.convert13b(i.words,i.length,k,l),this.convert13b(r.words,r.length,b,l),this.transform(k,A,g,n,l,y),this.transform(b,A,U,V,l,y);for(var Ae=0;Ae<l;Ae++){var Ke=g[Ae]*U[Ae]-n[Ae]*V[Ae];n[Ae]=g[Ae]*V[Ae]+n[Ae]*U[Ae],g[Ae]=Ke}return this.conjugate(g,n,l),this.transform(g,n,j,A,l,y),this.conjugate(j,A,l),this.normalize13b(j,l),h.negative=i.negative^r.negative,h.length=i.length+r.length,h.strip()},o.prototype.mul=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),this.mulTo(i,r)},o.prototype.mulf=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),W(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){v("number"==typeof i),v(i<67108864);for(var r=0,h=0;h<this.length;h++){var l=(0|this.words[h])*i,y=(67108863&l)+(67108863&r);r>>=26,r+=l/67108864|0,r+=y>>>26,this.words[h]=67108863&y}return 0!==r&&(this.words[h]=r,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var r=function E(T){for(var i=new Array(T.bitLength()),r=0;r<i.length;r++){var l=r%26;i[r]=(T.words[r/26|0]&1<<l)>>>l}return i}(i);if(0===r.length)return new o(1);for(var h=this,l=0;l<r.length&&0===r[l];l++,h=h.sqr());if(++l<r.length)for(var y=h.sqr();l<r.length;l++,y=y.sqr())0!==r[l]&&(h=h.mul(y));return h},o.prototype.iushln=function(i){v("number"==typeof i&&i>=0);var y,r=i%26,h=(i-r)/26,l=67108863>>>26-r<<26-r;if(0!==r){var A=0;for(y=0;y<this.length;y++){var k=this.words[y]&l;this.words[y]=(0|this.words[y])-k<<r|A,A=k>>>26-r}A&&(this.words[y]=A,this.length++)}if(0!==h){for(y=this.length-1;y>=0;y--)this.words[y+h]=this.words[y];for(y=0;y<h;y++)this.words[y]=0;this.length+=h}return this.strip()},o.prototype.ishln=function(i){return v(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,h){var l;v("number"==typeof i&&i>=0),l=r?(r-r%26)/26:0;var y=i%26,A=Math.min((i-y)/26,this.length),k=67108863^67108863>>>y<<y,g=h;if(l-=A,l=Math.max(0,l),g){for(var n=0;n<A;n++)g.words[n]=this.words[n];g.length=A}if(0!==A)if(this.length>A)for(this.length-=A,n=0;n<this.length;n++)this.words[n]=this.words[n+A];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=l);n--){var U=0|this.words[n];this.words[n]=b<<26-y|U>>>y,b=U&k}return g&&0!==b&&(g.words[g.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,h){return v(0===this.negative),this.iushrn(i,r,h)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){v("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return!(this.length<=h||!(this.words[h]&1<<r))},o.prototype.imaskn=function(i){v("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return v(0===this.negative,"imaskn works only with positive numbers"),this.length<=h?this:(0!==r&&h++,this.length=Math.min(h,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return v("number"==typeof i),v(i<67108864),i<0?this.isubn(-i):0!==this.negative?1===this.length&&(0|this.words[0])<i?(this.words[0]=i-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},o.prototype.isubn=function(i){if(v("number"==typeof i),v(i<67108864),i<0)return this.iaddn(-i);if(0!==this.negative)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,r,h){var y;this._expand(i.length+h);var A,k=0;for(y=0;y<i.length;y++){A=(0|this.words[y+h])+k;var g=(0|i.words[y])*r;k=((A-=67108863&g)>>26)-(g/67108864|0),this.words[y+h]=67108863&A}for(;y<this.length-h;y++)k=(A=(0|this.words[y+h])+k)>>26,this.words[y+h]=67108863&A;if(0===k)return this.strip();for(v(-1===k),k=0,y=0;y<this.length;y++)k=(A=-(0|this.words[y])+k)>>26,this.words[y]=67108863&A;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var h,l=this.clone(),y=i,A=0|y.words[y.length-1];0!=(h=26-this._countBits(A))&&(y=y.ushln(h),l.iushln(h),A=0|y.words[y.length-1]);var n,g=l.length-y.length;if("mod"!==r){(n=new o(null)).length=g+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var U=l.clone()._ishlnsubmul(y,1,g);0===U.negative&&(l=U,n&&(n.words[g]=1));for(var V=g-1;V>=0;V--){var j=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(j=Math.min(j/A|0,67108863),l._ishlnsubmul(y,j,V);0!==l.negative;)j--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=j)}return n&&n.strip(),l.strip(),"div"!==r&&0!==h&&l.iushrn(h),{div:n||null,mod:l}},o.prototype.divmod=function(i,r,h){return v(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(A=this.neg().divmod(i,r),"mod"!==r&&(l=A.div.neg()),"div"!==r&&(y=A.mod.neg(),h&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(A=this.divmod(i.neg(),r),"mod"!==r&&(l=A.div.neg()),{div:l,mod:A.mod}):0!=(this.negative&i.negative)?(A=this.neg().divmod(i.neg(),r),"div"!==r&&(y=A.mod.neg(),h&&0!==y.negative&&y.isub(i)),{div:A.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:1===i.length?"div"===r?{div:this.divn(i.words[0]),mod:null}:"mod"===r?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,r);var l,y,A},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var r=this.divmod(i);if(r.mod.isZero())return r.div;var h=0!==r.div.negative?r.mod.isub(i):r.mod,l=i.ushrn(1),y=i.andln(1),A=h.cmp(l);return A<0||1===y&&0===A?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){v(i<=67108863);for(var r=(1<<26)%i,h=0,l=this.length-1;l>=0;l--)h=(r*h+(0|this.words[l]))%i;return h},o.prototype.idivn=function(i){v(i<=67108863);for(var r=0,h=this.length-1;h>=0;h--){var l=(0|this.words[h])+67108864*r;this.words[h]=l/i|0,r=l%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){v(0===i.negative),v(!i.isZero());var r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var l=new o(1),y=new o(0),A=new o(0),k=new o(1),g=0;r.isEven()&&h.isEven();)r.iushrn(1),h.iushrn(1),++g;for(var n=h.clone(),b=r.clone();!r.isZero();){for(var U=0,V=1;0==(r.words[0]&V)&&U<26;++U,V<<=1);if(U>0)for(r.iushrn(U);U-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(b)),l.iushrn(1),y.iushrn(1);for(var j=0,Ae=1;0==(h.words[0]&Ae)&&j<26;++j,Ae<<=1);if(j>0)for(h.iushrn(j);j-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(n),k.isub(b)),A.iushrn(1),k.iushrn(1);r.cmp(h)>=0?(r.isub(h),l.isub(A),y.isub(k)):(h.isub(r),A.isub(l),k.isub(y))}return{a:A,b:k,gcd:h.iushln(g)}},o.prototype._invmp=function(i){v(0===i.negative),v(!i.isZero());var U,r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var l=new o(1),y=new o(0),A=h.clone();r.cmpn(1)>0&&h.cmpn(1)>0;){for(var k=0,g=1;0==(r.words[0]&g)&&k<26;++k,g<<=1);if(k>0)for(r.iushrn(k);k-- >0;)l.isOdd()&&l.iadd(A),l.iushrn(1);for(var n=0,b=1;0==(h.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(h.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(A),y.iushrn(1);r.cmp(h)>=0?(r.isub(h),l.isub(y)):(h.isub(r),y.isub(l))}return(U=0===r.cmpn(1)?l:y).cmpn(0)<0&&U.iadd(i),U},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),h=i.clone();r.negative=0,h.negative=0;for(var l=0;r.isEven()&&h.isEven();l++)r.iushrn(1),h.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;h.isEven();)h.iushrn(1);var y=r.cmp(h);if(y<0){var A=r;r=h,h=A}else if(0===y||0===h.cmpn(1))break;r.isub(h)}return h.iushln(l)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){v("number"==typeof i);var r=i%26,h=(i-r)/26,l=1<<r;if(this.length<=h)return this._expand(h+1),this.words[h]|=l,this;for(var y=l,A=h;0!==y&&A<this.length;A++){var k=0|this.words[A];y=(k+=y)>>>26,this.words[A]=k&=67108863}return 0!==y&&(this.words[A]=y,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var h,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)h=1;else{r&&(i=-i),v(i<=67108863,"Number is too big");var l=0|this.words[0];h=l===i?0:l<i?-1:1}return 0!==this.negative?0|-h:h},o.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var r=this.ucmp(i);return 0!==this.negative?0|-r:r},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var r=0,h=this.length-1;h>=0;h--){var l=0|this.words[h],y=0|i.words[h];if(l!==y){l<y?r=-1:l>y&&(r=1);break}}return r},o.prototype.gtn=function(i){return 1===this.cmpn(i)},o.prototype.gt=function(i){return 1===this.cmp(i)},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return-1===this.cmpn(i)},o.prototype.lt=function(i){return-1===this.cmp(i)},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return 0===this.cmpn(i)},o.prototype.eq=function(i){return 0===this.cmp(i)},o.red=function(i){return new $(i)},o.prototype.toRed=function(i){return v(!this.red,"Already a number in reduction context"),v(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return v(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return v(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return v(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return v(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return v(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return v(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return v(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return v(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return v(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return v(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return v(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return v(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return v(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var X={k256:null,p224:null,p192:null,p25519:null};function ee(T,i){this.name=T,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ue(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function he(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(T){if("string"==typeof T){var i=o._prime(T);this.m=i.p,this.prime=i}else v(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function fe(T){$.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}ee.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},ee.prototype.ireduce=function(i){var h,r=i;do{this.split(r,this.tmp),h=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(h>this.n);var l=h<this.n?-1:r.ucmp(this.p);return 0===l?(r.words[0]=0,r.length=1):l>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},ee.prototype.split=function(i,r){i.iushrn(this.n,0,r)},ee.prototype.imulK=function(i){return i.imul(this.k)},D(ue,ee),ue.prototype.split=function(i,r){for(var h=4194303,l=Math.min(i.length,9),y=0;y<l;y++)r.words[y]=i.words[y];if(r.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var A=i.words[9];for(r.words[r.length++]=A&h,y=10;y<i.length;y++){var k=0|i.words[y];i.words[y-10]=(k&h)<<4|A>>>22,A=k}i.words[y-10]=A>>>=22,i.length-=0===A&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,h=0;h<i.length;h++){var l=0|i.words[h];i.words[h]=67108863&(r+=977*l),r=64*l+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},D(he,ee),D(ie,ee),D(ce,ee),ce.prototype.imulK=function(i){for(var r=0,h=0;h<i.length;h++){var l=19*(0|i.words[h])+r,y=67108863&l;l>>>=26,i.words[h]=y,r=l}return 0!==r&&(i.words[i.length++]=r),i},o._prime=function(i){if(X[i])return X[i];var r;if("k256"===i)r=new ue;else if("p224"===i)r=new he;else if("p192"===i)r=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},$.prototype._verify1=function(i){v(0===i.negative,"red works only with positives"),v(i.red,"red works only with red numbers")},$.prototype._verify2=function(i,r){v(0==(i.negative|r.negative),"red works only with positives"),v(i.red&&i.red===r.red,"red works only with red numbers")},$.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},$.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},$.prototype.add=function(i,r){this._verify2(i,r);var h=i.add(r);return h.cmp(this.m)>=0&&h.isub(this.m),h._forceRed(this)},$.prototype.iadd=function(i,r){this._verify2(i,r);var h=i.iadd(r);return h.cmp(this.m)>=0&&h.isub(this.m),h},$.prototype.sub=function(i,r){this._verify2(i,r);var h=i.sub(r);return h.cmpn(0)<0&&h.iadd(this.m),h._forceRed(this)},$.prototype.isub=function(i,r){this._verify2(i,r);var h=i.isub(r);return h.cmpn(0)<0&&h.iadd(this.m),h},$.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},$.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},$.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},$.prototype.isqr=function(i){return this.imul(i,i.clone())},$.prototype.sqr=function(i){return this.mul(i,i)},$.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(v(r%2==1),3===r){var h=this.m.add(new o(1)).iushrn(2);return this.pow(i,h)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);v(!l.isZero());var A=new o(1).toRed(this),k=A.redNeg(),g=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,g).cmp(k);)n.redIAdd(k);for(var b=this.pow(n,l),U=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),j=y;0!==V.cmp(A);){for(var Ae=V,Ke=0;0!==Ae.cmp(A);Ke++)Ae=Ae.redSqr();v(Ke<j);var qe=this.pow(b,new o(1).iushln(j-Ke-1));U=U.redMul(qe),b=qe.redSqr(),V=V.redMul(b),j=Ke}return U},$.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},$.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var l=new Array(16);l[0]=new o(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var A=l[0],k=0,g=0,n=r.bitLength()%26;for(0===n&&(n=26),y=r.length-1;y>=0;y--){for(var b=r.words[y],U=n-1;U>=0;U--){var V=b>>U&1;A!==l[0]&&(A=this.sqr(A)),0!==V||0!==k?(k<<=1,k|=V,(4==++g||0===y&&0===U)&&(A=this.mul(A,l[k]),g=0,k=0)):g=0}n=26}return A},$.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},$.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new fe(i)},D(fe,$),fe.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},fe.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},fe.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var h=i.imul(r),l=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(l).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},fe.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var h=i.mul(r),l=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(l).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},fe.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ve=m.nmd(Ve),this)},6705:(Ve,Q,m)=>{var t=m(2772),e=m(6945),v=m(9401),D=m(2057),o=m(8466),C=m(6386),u=m(8651),P=m(3502).Buffer;Ve.exports=function(E,N,z){var G;G=E.padding?E.padding:z?1:4;var X,W=t(E),Y=W.modulus.byteLength();if(N.length>Y||new D(N).cmp(W.modulus)>=0)throw new Error("decryption error");X=z?u(new D(N),W):o(N,W);var ee=P.alloc(Y-X.length);if(X=P.concat([ee,X],Y),4===G)return function d(I,E){var N=I.modulus.byteLength(),z=C("sha1").update(P.alloc(0)).digest(),G=z.length;if(0!==E[0])throw new Error("decryption error");var W=E.slice(1,G+1),Y=E.slice(G+1),X=v(W,e(Y,G)),ee=v(Y,e(X,N-G-1));if(function w(I,E){I=P.from(I),E=P.from(E);var N=0,z=I.length;I.length!==E.length&&(N++,z=Math.min(I.length,E.length));for(var G=-1;++G<z;)N+=I[G]^E[G];return N}(z,ee.slice(0,G)))throw new Error("decryption error");for(var ue=G;0===ee[ue];)ue++;if(1!==ee[ue++])throw new Error("decryption error");return ee.slice(ue)}(W,X);if(1===G)return function S(I,E,N){for(var z=E.slice(0,2),G=2,W=0;0!==E[G++];)if(G>=E.length){W++;break}var Y=E.slice(2,G-1);if(("0002"!==z.toString("hex")&&!N||"0001"!==z.toString("hex")&&N)&&W++,Y.length<8&&W++,W)throw new Error("decryption error");return E.slice(G)}(0,X,z);if(3===G)return X;throw new Error("unknown padding")}},6562:(Ve,Q,m)=>{var t=m(2772),e=m(3753),v=m(6386),D=m(6945),o=m(9401),C=m(2057),u=m(8651),P=m(8466),d=m(3502).Buffer;Ve.exports=function(N,z,G){var W;W=N.padding?N.padding:G?1:4;var X,Y=t(N);if(4===W)X=function S(E,N){var z=E.modulus.byteLength(),G=N.length,W=v("sha1").update(d.alloc(0)).digest(),Y=W.length,X=2*Y;if(G>z-X-2)throw new Error("message too long");var ee=d.alloc(z-G-X-2),ue=z-Y-1,he=e(Y),ie=o(d.concat([W,ee,d.alloc(1,1),N],ue),D(he,ue)),ce=o(he,D(ie,Y));return new C(d.concat([d.alloc(1),ce,ie],z))}(Y,z);else if(1===W)X=function w(E,N,z){var Y,G=N.length,W=E.modulus.byteLength();if(G>W-11)throw new Error("message too long");return Y=z?d.alloc(W-G-3,255):function I(E){for(var Y,N=d.allocUnsafe(E),z=0,G=e(2*E),W=0;z<E;)W===G.length&&(G=e(2*E),W=0),(Y=G[W++])&&(N[z++]=Y);return N}(W-G-3),new C(d.concat([d.from([0,z?1:2]),Y,d.alloc(1),N],W))}(Y,z,G);else{if(3!==W)throw new Error("unknown padding");if((X=new C(z)).cmp(Y.modulus)>=0)throw new Error("data too long for modulus")}return G?P(X,Y):u(X,Y)}},8651:(Ve,Q,m)=>{var t=m(2057),e=m(3502).Buffer;Ve.exports=function v(D,o){return e.from(D.toRed(t.mont(o.modulus)).redPow(new t(o.publicExponent)).fromRed().toArray())}},9401:Ve=>{Ve.exports=function(m,t){for(var e=m.length,v=-1;++v<e;)m[v]^=t[v];return m}},3259:(Ve,Q,m)=>{const t=m(8695),e=m(1465),v=m(3210),D=m(2334);function o(C,u,P,d,S){const w=[].slice.call(arguments,1),I=w.length,E="function"==typeof w[I-1];if(!E&&!t())throw new Error("Callback required as last argument");if(!E){if(I<1)throw new Error("Too few arguments provided");return 1===I?(P=u,u=d=void 0):2===I&&!u.getContext&&(d=P,P=u,u=void 0),new Promise(function(N,z){try{const G=e.create(P,d);N(C(G,u,d))}catch(G){z(G)}})}if(I<2)throw new Error("Too few arguments provided");2===I?(S=P,P=u,u=d=void 0):3===I&&(u.getContext&&typeof S>"u"?(S=d,d=void 0):(S=d,d=P,P=u,u=void 0));try{const N=e.create(P,d);S(null,C(N,u,d))}catch(N){S(N)}}Q.create=e.create,Q.toCanvas=o.bind(null,v.render),Q.toDataURL=o.bind(null,v.renderToDataURL),Q.toString=o.bind(null,function(C,u,P){return D.render(C,P)})},8695:Ve=>{Ve.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6221:(Ve,Q,m)=>{const t=m(4792).getSymbolSize;Q.getRowColCoords=function(v){if(1===v)return[];const D=Math.floor(v/7)+2,o=t(v),C=145===o?26:2*Math.ceil((o-13)/(2*D-2)),u=[o-7];for(let P=1;P<D-1;P++)u[P]=u[P-1]-C;return u.push(6),u.reverse()},Q.getPositions=function(v){const D=[],o=Q.getRowColCoords(v),C=o.length;for(let u=0;u<C;u++)for(let P=0;P<C;P++)0===u&&0===P||0===u&&P===C-1||u===C-1&&0===P||D.push([o[u],o[P]]);return D}},2424:(Ve,Q,m)=>{const t=m(4016),e=["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 v(D){this.mode=t.ALPHANUMERIC,this.data=D}v.getBitsLength=function(o){return 11*Math.floor(o/2)+o%2*6},v.prototype.getLength=function(){return this.data.length},v.prototype.getBitsLength=function(){return v.getBitsLength(this.data.length)},v.prototype.write=function(o){let C;for(C=0;C+2<=this.data.length;C+=2){let u=45*e.indexOf(this.data[C]);u+=e.indexOf(this.data[C+1]),o.put(u,11)}this.data.length%2&&o.put(e.indexOf(this.data[C]),6)},Ve.exports=v},2118:Ve=>{function Q(){this.buffer=[],this.length=0}Q.prototype={get:function(m){const t=Math.floor(m/8);return 1==(this.buffer[t]>>>7-m%8&1)},put:function(m,t){for(let e=0;e<t;e++)this.putBit(1==(m>>>t-e-1&1))},getLengthInBits:function(){return this.length},putBit:function(m){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),m&&(this.buffer[t]|=128>>>this.length%8),this.length++}},Ve.exports=Q},4425:Ve=>{function Q(m){if(!m||m<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=m,this.data=new Uint8Array(m*m),this.reservedBit=new Uint8Array(m*m)}Q.prototype.set=function(m,t,e,v){const D=m*this.size+t;this.data[D]=e,v&&(this.reservedBit[D]=!0)},Q.prototype.get=function(m,t){return this.data[m*this.size+t]},Q.prototype.xor=function(m,t,e){this.data[m*this.size+t]^=e},Q.prototype.isReserved=function(m,t){return this.reservedBit[m*this.size+t]},Ve.exports=Q},5663:(Ve,Q,m)=>{const t=m(8419),e=m(4016);function v(D){this.mode=e.BYTE,"string"==typeof D&&(D=t(D)),this.data=new Uint8Array(D)}v.getBitsLength=function(o){return 8*o},v.prototype.getLength=function(){return this.data.length},v.prototype.getBitsLength=function(){return v.getBitsLength(this.data.length)},v.prototype.write=function(D){for(let o=0,C=this.data.length;o<C;o++)D.put(this.data[o],8)},Ve.exports=v},4655:(Ve,Q,m)=>{const t=m(2259),e=[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],v=[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(o,C){switch(C){case t.L:return e[4*(o-1)+0];case t.M:return e[4*(o-1)+1];case t.Q:return e[4*(o-1)+2];case t.H:return e[4*(o-1)+3];default:return}},Q.getTotalCodewordsCount=function(o,C){switch(C){case t.L:return v[4*(o-1)+0];case t.M:return v[4*(o-1)+1];case t.Q:return v[4*(o-1)+2];case t.H:return v[4*(o-1)+3];default:return}}},2259:(Ve,Q)=>{Q.L={bit:1},Q.M={bit:0},Q.Q={bit:3},Q.H={bit:2},Q.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4},Q.from=function(e,v){if(Q.isValid(e))return e;try{return function m(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.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: "+t)}}(e)}catch{return v}}},3114:(Ve,Q,m)=>{const t=m(4792).getSymbolSize;Q.getPositions=function(D){const o=t(D);return[[0,0],[o-7,0],[0,o-7]]}},7078:(Ve,Q,m)=>{const t=m(4792),D=t.getBCHDigit(1335);Q.getEncodedBits=function(C,u){const P=C.bit<<3|u;let d=P<<10;for(;t.getBCHDigit(d)-D>=0;)d^=1335<<t.getBCHDigit(d)-D;return 21522^(P<<10|d)}},5339:(Ve,Q)=>{const m=new Uint8Array(512),t=new Uint8Array(256);(function(){let v=1;for(let D=0;D<255;D++)m[D]=v,t[v]=D,v<<=1,256&v&&(v^=285);for(let D=255;D<512;D++)m[D]=m[D-255]})(),Q.log=function(v){if(v<1)throw new Error("log("+v+")");return t[v]},Q.exp=function(v){return m[v]},Q.mul=function(v,D){return 0===v||0===D?0:m[t[v]+t[D]]}},449:(Ve,Q,m)=>{const t=m(4016),e=m(4792);function v(D){this.mode=t.KANJI,this.data=D}v.getBitsLength=function(o){return 13*o},v.prototype.getLength=function(){return this.data.length},v.prototype.getBitsLength=function(){return v.getBitsLength(this.data.length)},v.prototype.write=function(D){let o;for(o=0;o<this.data.length;o++){let C=e.toSJIS(this.data[o]);if(C>=33088&&C<=40956)C-=33088;else{if(!(C>=57408&&C<=60351))throw new Error("Invalid SJIS character: "+this.data[o]+"\nMake sure your charset is UTF-8");C-=49472}C=192*(C>>>8&255)+(255&C),D.put(C,13)}},Ve.exports=v},3667:(Ve,Q)=>{Q.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function t(e,v,D){switch(e){case Q.Patterns.PATTERN000:return(v+D)%2==0;case Q.Patterns.PATTERN001:return v%2==0;case Q.Patterns.PATTERN010:return D%3==0;case Q.Patterns.PATTERN011:return(v+D)%3==0;case Q.Patterns.PATTERN100:return(Math.floor(v/2)+Math.floor(D/3))%2==0;case Q.Patterns.PATTERN101:return v*D%2+v*D%3==0;case Q.Patterns.PATTERN110:return(v*D%2+v*D%3)%2==0;case Q.Patterns.PATTERN111:return(v*D%3+(v+D)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}Q.isValid=function(v){return null!=v&&""!==v&&!isNaN(v)&&v>=0&&v<=7},Q.from=function(v){return Q.isValid(v)?parseInt(v,10):void 0},Q.getPenaltyN1=function(v){const D=v.size;let o=0,C=0,u=0,P=null,d=null;for(let S=0;S<D;S++){C=u=0,P=d=null;for(let w=0;w<D;w++){let I=v.get(S,w);I===P?C++:(C>=5&&(o+=C-5+3),P=I,C=1),I=v.get(w,S),I===d?u++:(u>=5&&(o+=u-5+3),d=I,u=1)}C>=5&&(o+=C-5+3),u>=5&&(o+=u-5+3)}return o},Q.getPenaltyN2=function(v){const D=v.size;let o=0;for(let C=0;C<D-1;C++)for(let u=0;u<D-1;u++){const P=v.get(C,u)+v.get(C,u+1)+v.get(C+1,u)+v.get(C+1,u+1);(4===P||0===P)&&o++}return 3*o},Q.getPenaltyN3=function(v){const D=v.size;let o=0,C=0,u=0;for(let P=0;P<D;P++){C=u=0;for(let d=0;d<D;d++)C=C<<1&2047|v.get(P,d),d>=10&&(1488===C||93===C)&&o++,u=u<<1&2047|v.get(d,P),d>=10&&(1488===u||93===u)&&o++}return 40*o},Q.getPenaltyN4=function(v){let D=0;const o=v.data.length;for(let u=0;u<o;u++)D+=v.data[u];return 10*Math.abs(Math.ceil(100*D/o/5)-10)},Q.applyMask=function(v,D){const o=D.size;for(let C=0;C<o;C++)for(let u=0;u<o;u++)D.isReserved(u,C)||D.xor(u,C,t(v,u,C))},Q.getBestMask=function(v,D){const o=Object.keys(Q.Patterns).length;let C=0,u=1/0;for(let P=0;P<o;P++){D(P),Q.applyMask(P,v);const d=Q.getPenaltyN1(v)+Q.getPenaltyN2(v)+Q.getPenaltyN3(v)+Q.getPenaltyN4(v);Q.applyMask(P,v),d<u&&(u=d,C=P)}return C}},4016:(Ve,Q,m)=>{const t=m(4406),e=m(2699);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(o,C){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(C))throw new Error("Invalid version: "+C);return C>=1&&C<10?o.ccBits[0]:C<27?o.ccBits[1]:o.ccBits[2]},Q.getBestModeForData=function(o){return e.testNumeric(o)?Q.NUMERIC:e.testAlphanumeric(o)?Q.ALPHANUMERIC:e.testKanji(o)?Q.KANJI:Q.BYTE},Q.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},Q.isValid=function(o){return o&&o.bit&&o.ccBits},Q.from=function(o,C){if(Q.isValid(o))return o;try{return function v(D){if("string"!=typeof D)throw new Error("Param is not a string");switch(D.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: "+D)}}(o)}catch{return C}}},7783:(Ve,Q,m)=>{const t=m(4016);function e(v){this.mode=t.NUMERIC,this.data=v.toString()}e.getBitsLength=function(D){return 10*Math.floor(D/3)+(D%3?D%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(D){let o,C,u;for(o=0;o+3<=this.data.length;o+=3)C=this.data.substr(o,3),u=parseInt(C,10),D.put(u,10);const P=this.data.length-o;P>0&&(C=this.data.substr(o),u=parseInt(C,10),D.put(u,3*P+1))},Ve.exports=e},1106:(Ve,Q,m)=>{const t=m(5339);Q.mul=function(v,D){const o=new Uint8Array(v.length+D.length-1);for(let C=0;C<v.length;C++)for(let u=0;u<D.length;u++)o[C+u]^=t.mul(v[C],D[u]);return o},Q.mod=function(v,D){let o=new Uint8Array(v);for(;o.length-D.length>=0;){const C=o[0];for(let P=0;P<D.length;P++)o[P]^=t.mul(D[P],C);let u=0;for(;u<o.length&&0===o[u];)u++;o=o.slice(u)}return o},Q.generateECPolynomial=function(v){let D=new Uint8Array([1]);for(let o=0;o<v;o++)D=Q.mul(D,new Uint8Array([1,t.exp(o)]));return D}},1465:(Ve,Q,m)=>{const t=m(4792),e=m(2259),v=m(2118),D=m(4425),o=m(6221),C=m(3114),u=m(3667),P=m(4655),d=m(2636),S=m(2088),w=m(7078),I=m(4016),E=m(2033);function Y(ie,ce,$){const fe=ie.size,T=w.getEncodedBits(ce,$);let i,r;for(i=0;i<15;i++)r=1==(T>>i&1),ie.set(i<6?i:i<8?i+1:fe-15+i,8,r,!0),ie.set(8,i<8?fe-i-1:i<9?15-i-1+1:15-i-1,r,!0);ie.set(fe-8,8,1,!0)}function he(ie,ce,$,fe){let T;if(Array.isArray(ie))T=E.fromArray(ie);else{if("string"!=typeof ie)throw new Error("Invalid data");{let y=ce;if(!y){const A=E.rawSplit(ie);y=S.getBestVersionForData(A,$)}T=E.fromString(ie,y||40)}}const i=S.getBestVersionForData(T,$);if(!i)throw new Error("The amount of data is too big to be stored in a QR Code");if(ce){if(ce<i)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+i+".\n")}else ce=i;const r=function ee(ie,ce,$){const fe=new v;$.forEach(function(l){fe.put(l.mode.bit,4),fe.put(l.getLength(),I.getCharCountIndicator(l.mode,ie)),l.write(fe)});const r=8*(t.getSymbolTotalCodewords(ie)-P.getTotalCodewordsCount(ie,ce));for(fe.getLengthInBits()+4<=r&&fe.put(0,4);fe.getLengthInBits()%8!=0;)fe.putBit(0);const h=(r-fe.getLengthInBits())/8;for(let l=0;l<h;l++)fe.put(l%2?17:236,8);return function ue(ie,ce,$){const fe=t.getSymbolTotalCodewords(ce),i=fe-P.getTotalCodewordsCount(ce,$),r=P.getBlocksCount(ce,$),l=r-fe%r,y=Math.floor(fe/r),A=Math.floor(i/r),k=A+1,g=y-A,n=new d(g);let b=0;const U=new Array(r),V=new Array(r);let j=0;const Ae=new Uint8Array(ie.buffer);for(let xe=0;xe<r;xe++){const le=xe<l?A:k;U[xe]=Ae.slice(b,b+le),V[xe]=n.encode(U[xe]),b+=le,j=Math.max(j,le)}const Ke=new Uint8Array(fe);let ct,Ie,qe=0;for(ct=0;ct<j;ct++)for(Ie=0;Ie<r;Ie++)ct<U[Ie].length&&(Ke[qe++]=U[Ie][ct]);for(ct=0;ct<g;ct++)for(Ie=0;Ie<r;Ie++)Ke[qe++]=V[Ie][ct];return Ke}(fe,ie,ce)}(ce,$,T),h=t.getSymbolSize(ce),l=new D(h);return function N(ie,ce){const $=ie.size,fe=C.getPositions(ce);for(let T=0;T<fe.length;T++){const i=fe[T][0],r=fe[T][1];for(let h=-1;h<=7;h++)if(!(i+h<=-1||$<=i+h))for(let l=-1;l<=7;l++)r+l<=-1||$<=r+l||ie.set(i+h,r+l,h>=0&&h<=6&&(0===l||6===l)||l>=0&&l<=6&&(0===h||6===h)||h>=2&&h<=4&&l>=2&&l<=4,!0)}}(l,ce),function z(ie){const ce=ie.size;for(let $=8;$<ce-8;$++){const fe=$%2==0;ie.set($,6,fe,!0),ie.set(6,$,fe,!0)}}(l),function G(ie,ce){const $=o.getPositions(ce);for(let fe=0;fe<$.length;fe++){const T=$[fe][0],i=$[fe][1];for(let r=-2;r<=2;r++)for(let h=-2;h<=2;h++)ie.set(T+r,i+h,-2===r||2===r||-2===h||2===h||0===r&&0===h,!0)}}(l,ce),Y(l,$,0),ce>=7&&function W(ie,ce){const $=ie.size,fe=S.getEncodedBits(ce);let T,i,r;for(let h=0;h<18;h++)T=Math.floor(h/3),i=h%3+$-8-3,r=1==(fe>>h&1),ie.set(T,i,r,!0),ie.set(i,T,r,!0)}(l,ce),function X(ie,ce){const $=ie.size;let fe=-1,T=$-1,i=7,r=0;for(let h=$-1;h>0;h-=2)for(6===h&&h--;;){for(let l=0;l<2;l++)if(!ie.isReserved(T,h-l)){let y=!1;r<ce.length&&(y=1==(ce[r]>>>i&1)),ie.set(T,h-l,y),i--,-1===i&&(r++,i=7)}if(T+=fe,T<0||$<=T){T-=fe,fe=-fe;break}}}(l,r),isNaN(fe)&&(fe=u.getBestMask(l,Y.bind(null,l,$))),u.applyMask(fe,l),Y(l,$,fe),{modules:l,version:ce,errorCorrectionLevel:$,maskPattern:fe,segments:T}}Q.create=function(ce,$){if(typeof ce>"u"||""===ce)throw new Error("No input text");let T,i,fe=e.M;return typeof $<"u"&&(fe=e.from($.errorCorrectionLevel,e.M),T=S.from($.version),i=u.from($.maskPattern),$.toSJISFunc&&t.setToSJISFunction($.toSJISFunc)),he(ce,T,fe,i)}},2636:(Ve,Q,m)=>{const t=m(1106);function e(v){this.genPoly=void 0,this.degree=v,this.degree&&this.initialize(this.degree)}e.prototype.initialize=function(D){this.degree=D,this.genPoly=t.generateECPolynomial(this.degree)},e.prototype.encode=function(D){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(D.length+this.degree);o.set(D);const C=t.mod(o,this.genPoly),u=this.degree-C.length;if(u>0){const P=new Uint8Array(this.degree);return P.set(C,u),P}return C},Ve.exports=e},2699:(Ve,Q)=>{const m="[0-9]+";let e="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";e=e.replace(/u/g,"\\u");const v="(?:(?![A-Z0-9 $%*+\\-./:]|"+e+")(?:.|[\r\n]))+";Q.KANJI=new RegExp(e,"g"),Q.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Q.BYTE=new RegExp(v,"g"),Q.NUMERIC=new RegExp(m,"g"),Q.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const D=new RegExp("^"+e+"$"),o=new RegExp("^"+m+"$"),C=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Q.testKanji=function(P){return D.test(P)},Q.testNumeric=function(P){return o.test(P)},Q.testAlphanumeric=function(P){return C.test(P)}},2033:(Ve,Q,m)=>{const t=m(4016),e=m(7783),v=m(2424),D=m(5663),o=m(449),C=m(2699),u=m(4792),P=m(4901);function d(W){return unescape(encodeURIComponent(W)).length}function S(W,Y,X){const ee=[];let ue;for(;null!==(ue=W.exec(X));)ee.push({data:ue[0],index:ue.index,mode:Y,length:ue[0].length});return ee}function w(W){const Y=S(C.NUMERIC,t.NUMERIC,W),X=S(C.ALPHANUMERIC,t.ALPHANUMERIC,W);let ee,ue;return u.isKanjiModeEnabled()?(ee=S(C.BYTE,t.BYTE,W),ue=S(C.KANJI,t.KANJI,W)):(ee=S(C.BYTE_KANJI,t.BYTE,W),ue=[]),Y.concat(X,ee,ue).sort(function(ie,ce){return ie.index-ce.index}).map(function(ie){return{data:ie.data,mode:ie.mode,length:ie.length}})}function I(W,Y){switch(Y){case t.NUMERIC:return e.getBitsLength(W);case t.ALPHANUMERIC:return v.getBitsLength(W);case t.KANJI:return o.getBitsLength(W);case t.BYTE:return D.getBitsLength(W)}}function G(W,Y){let X;const ee=t.getBestModeForData(W);if(X=t.from(Y,ee),X!==t.BYTE&&X.bit<ee.bit)throw new Error('"'+W+'" cannot be encoded with mode '+t.toString(X)+".\n Suggested mode is: "+t.toString(ee));switch(X===t.KANJI&&!u.isKanjiModeEnabled()&&(X=t.BYTE),X){case t.NUMERIC:return new e(W);case t.ALPHANUMERIC:return new v(W);case t.KANJI:return new o(W);case t.BYTE:return new D(W)}}Q.fromArray=function(Y){return Y.reduce(function(X,ee){return"string"==typeof ee?X.push(G(ee,null)):ee.data&&X.push(G(ee.data,ee.mode)),X},[])},Q.fromString=function(Y,X){const ue=function N(W){const Y=[];for(let X=0;X<W.length;X++){const ee=W[X];switch(ee.mode){case t.NUMERIC:Y.push([ee,{data:ee.data,mode:t.ALPHANUMERIC,length:ee.length},{data:ee.data,mode:t.BYTE,length:ee.length}]);break;case t.ALPHANUMERIC:Y.push([ee,{data:ee.data,mode:t.BYTE,length:ee.length}]);break;case t.KANJI:Y.push([ee,{data:ee.data,mode:t.BYTE,length:d(ee.data)}]);break;case t.BYTE:Y.push([{data:ee.data,mode:t.BYTE,length:d(ee.data)}])}}return Y}(w(Y,u.isKanjiModeEnabled())),he=function z(W,Y){const X={},ee={start:{}};let ue=["start"];for(let he=0;he<W.length;he++){const ie=W[he],ce=[];for(let $=0;$<ie.length;$++){const fe=ie[$],T=""+he+$;ce.push(T),X[T]={node:fe,lastCount:0},ee[T]={};for(let i=0;i<ue.length;i++){const r=ue[i];X[r]&&X[r].node.mode===fe.mode?(ee[r][T]=I(X[r].lastCount+fe.length,fe.mode)-I(X[r].lastCount,fe.mode),X[r].lastCount+=fe.length):(X[r]&&(X[r].lastCount=fe.length),ee[r][T]=I(fe.length,fe.mode)+4+t.getCharCountIndicator(fe.mode,Y))}}ue=ce}for(let he=0;he<ue.length;he++)ee[ue[he]].end=0;return{map:ee,table:X}}(ue,X),ie=P.find_path(he.map,"start","end"),ce=[];for(let $=1;$<ie.length-1;$++)ce.push(he.table[ie[$]].node);return Q.fromArray(function E(W){return W.reduce(function(Y,X){const ee=Y.length-1>=0?Y[Y.length-1]:null;return ee&&ee.mode===X.mode?(Y[Y.length-1].data+=X.data,Y):(Y.push(X),Y)},[])}(ce))},Q.rawSplit=function(Y){return Q.fromArray(w(Y,u.isKanjiModeEnabled()))}},4792:(Ve,Q)=>{let m;const t=[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(v){if(!v)throw new Error('"version" cannot be null or undefined');if(v<1||v>40)throw new Error('"version" should be in range from 1 to 40');return 4*v+17},Q.getSymbolTotalCodewords=function(v){return t[v]},Q.getBCHDigit=function(e){let v=0;for(;0!==e;)v++,e>>>=1;return v},Q.setToSJISFunction=function(v){if("function"!=typeof v)throw new Error('"toSJISFunc" is not a valid function.');m=v},Q.isKanjiModeEnabled=function(){return typeof m<"u"},Q.toSJIS=function(v){return m(v)}},4406:(Ve,Q)=>{Q.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},2088:(Ve,Q,m)=>{const t=m(4792),e=m(4655),v=m(2259),D=m(4016),o=m(4406),u=t.getBCHDigit(7973);function d(I,E){return D.getCharCountIndicator(I,E)+4}function S(I,E){let N=0;return I.forEach(function(z){const G=d(z.mode,E);N+=G+z.getBitsLength()}),N}Q.from=function(E,N){return o.isValid(E)?parseInt(E,10):N},Q.getCapacity=function(E,N,z){if(!o.isValid(E))throw new Error("Invalid QR Code version");typeof z>"u"&&(z=D.BYTE);const Y=8*(t.getSymbolTotalCodewords(E)-e.getTotalCodewordsCount(E,N));if(z===D.MIXED)return Y;const X=Y-d(z,E);switch(z){case D.NUMERIC:return Math.floor(X/10*3);case D.ALPHANUMERIC:return Math.floor(X/11*2);case D.KANJI:return Math.floor(X/13);default:return Math.floor(X/8)}},Q.getBestVersionForData=function(E,N){let z;const G=v.from(N,v.M);if(Array.isArray(E)){if(E.length>1)return function w(I,E){for(let N=1;N<=40;N++)if(S(I,N)<=Q.getCapacity(N,E,D.MIXED))return N}(E,G);if(0===E.length)return 1;z=E[0]}else z=E;return function P(I,E,N){for(let z=1;z<=40;z++)if(E<=Q.getCapacity(z,N,I))return z}(z.mode,z.getLength(),G)},Q.getEncodedBits=function(E){if(!o.isValid(E)||E<7)throw new Error("Invalid QR Code version");let N=E<<12;for(;t.getBCHDigit(N)-u>=0;)N^=7973<<t.getBCHDigit(N)-u;return E<<12|N}},3210:(Ve,Q,m)=>{const t=m(6355);Q.render=function(o,C,u){let P=u,d=C;typeof P>"u"&&(!C||!C.getContext)&&(P=C,C=void 0),C||(d=function v(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),P=t.getOptions(P);const S=t.getImageWidth(o.modules.size,P),w=d.getContext("2d"),I=w.createImageData(S,S);return t.qrToImageData(I.data,o,P),function e(D,o,C){D.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=C,o.width=C,o.style.height=C+"px",o.style.width=C+"px"}(w,d,S),w.putImageData(I,0,0),d},Q.renderToDataURL=function(o,C,u){let P=u;return typeof P>"u"&&(!C||!C.getContext)&&(P=C,C=void 0),P||(P={}),Q.render(o,C,P).toDataURL(P.type||"image/png",(P.rendererOpts||{}).quality)}},2334:(Ve,Q,m)=>{const t=m(6355);function e(o,C){const u=o.a/255,P=C+'="'+o.hex+'"';return u<1?P+" "+C+'-opacity="'+u.toFixed(2).slice(1)+'"':P}function v(o,C,u){let P=o+C;return typeof u<"u"&&(P+=" "+u),P}Q.render=function(C,u,P){const d=t.getOptions(u),S=C.modules.size,w=C.modules.data,I=S+2*d.margin,E=d.color.light.a?"<path "+e(d.color.light,"fill")+' d="M0 0h'+I+"v"+I+'H0z"/>':"",N="<path "+e(d.color.dark,"stroke")+' d="'+function D(o,C,u){let P="",d=0,S=!1,w=0;for(let I=0;I<o.length;I++){const E=Math.floor(I%C),N=Math.floor(I/C);!E&&!S&&(S=!0),o[I]?(w++,I>0&&E>0&&o[I-1]||(P+=S?v("M",E+u,.5+N+u):v("m",d,0),d=0,S=!1),E+1<C&&o[I+1]||(P+=v("h",w),w=0)):d++}return P}(w,S,d.margin)+'"/>',W='<svg xmlns="http://www.w3.org/2000/svg" '+(d.width?'width="'+d.width+'" height="'+d.width+'" ':"")+'viewBox="0 0 '+I+" "+I+'" shape-rendering="crispEdges">'+E+N+"</svg>\n";return"function"==typeof P&&P(null,W),W}},6355:(Ve,Q)=>{function m(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);(3===e.length||4===e.length)&&(e=Array.prototype.concat.apply([],e.map(function(D){return[D,D]}))),6===e.length&&e.push("F","F");const v=parseInt(e.join(""),16);return{r:v>>24&255,g:v>>16&255,b:v>>8&255,a:255&v,hex:"#"+e.slice(0,6).join("")}}Q.getOptions=function(e){e||(e={}),e.color||(e.color={});const D=e.width&&e.width>=21?e.width:void 0;return{width:D,scale:D?4:e.scale||4,margin:typeof e.margin>"u"||null===e.margin||e.margin<0?4:e.margin,color:{dark:m(e.color.dark||"#000000ff"),light:m(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},Q.getScale=function(e,v){return v.width&&v.width>=e+2*v.margin?v.width/(e+2*v.margin):v.scale},Q.getImageWidth=function(e,v){const D=Q.getScale(e,v);return Math.floor((e+2*v.margin)*D)},Q.qrToImageData=function(e,v,D){const o=v.modules.size,C=v.modules.data,u=Q.getScale(o,D),P=Math.floor((o+2*D.margin)*u),d=D.margin*u,S=[D.color.light,D.color.dark];for(let w=0;w<P;w++)for(let I=0;I<P;I++){let E=4*(w*P+I),N=D.color.light;w>=d&&I>=d&&w<P-d&&I<P-d&&(N=S[C[Math.floor((w-d)/u)*o+Math.floor((I-d)/u)]?1:0]),e[E++]=N.r,e[E++]=N.g,e[E++]=N.b,e[E]=N.a}}},3753:(Ve,Q,m)=>{"use strict";var t=65536,D=m(3502).Buffer,o=global.crypto||global.msCrypto;Ve.exports=o&&o.getRandomValues?function C(u,P){if(u>4294967295)throw new RangeError("requested too many random bytes");var d=D.allocUnsafe(u);if(u>0)if(u>t)for(var S=0;S<u;S+=t)o.getRandomValues(d.slice(S,S+t));else o.getRandomValues(d);return"function"==typeof P?process.nextTick(function(){P(null,d)}):d}:function v(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},4275:(Ve,Q,m)=>{"use strict";function t(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var e=m(3502),v=m(3753),D=e.Buffer,o=e.kMaxLength,C=global.crypto||global.msCrypto,u=Math.pow(2,32)-1;function P(E,N){if("number"!=typeof E||E!=E)throw new TypeError("offset must be a number");if(E>u||E<0)throw new TypeError("offset must be a uint32");if(E>o||E>N)throw new RangeError("offset out of range")}function d(E,N,z){if("number"!=typeof E||E!=E)throw new TypeError("size must be a number");if(E>u||E<0)throw new TypeError("size must be a uint32");if(E+N>z||E>o)throw new RangeError("buffer too small")}function w(E,N,z,G){if(process.browser){var Y=new Uint8Array(E.buffer,N,z);return C.getRandomValues(Y),G?void process.nextTick(function(){G(null,E)}):E}if(!G)return v(z).copy(E,N),E;v(z,function(ee,ue){if(ee)return G(ee);ue.copy(E,N),G(null,E)})}C&&C.getRandomValues||!process.browser?(Q.randomFill=function S(E,N,z,G){if(!(D.isBuffer(E)||E instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof N)G=N,N=0,z=E.length;else if("function"==typeof z)G=z,z=E.length-N;else if("function"!=typeof G)throw new TypeError('"cb" argument must be a function');return P(N,E.length),d(z,N,E.length),w(E,N,z,G)},Q.randomFillSync=function I(E,N,z){if(typeof N>"u"&&(N=0),!(D.isBuffer(E)||E instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return P(N,E.length),void 0===z&&(z=E.length-N),d(z,N,E.length),w(E,N,z)}):(Q.randomFill=t,Q.randomFillSync=t)},891:Ve=>{"use strict";var m={};function t(C,u,P){P||(P=Error);var S=function(w){function I(E,N,z){return w.call(this,function d(w,I,E){return"string"==typeof u?u:u(w,I,E)}(E,N,z))||this}return function Q(C,u){C.prototype=Object.create(u.prototype),C.prototype.constructor=C,C.__proto__=u}(I,w),I}(P);S.prototype.name=P.name,S.prototype.code=C,m[C]=S}function e(C,u){if(Array.isArray(C)){var P=C.length;return C=C.map(function(d){return String(d)}),P>2?"one of ".concat(u," ").concat(C.slice(0,P-1).join(", "),", or ")+C[P-1]:2===P?"one of ".concat(u," ").concat(C[0]," or ").concat(C[1]):"of ".concat(u," ").concat(C[0])}return"of ".concat(u," ").concat(String(C))}t("ERR_INVALID_OPT_VALUE",function(C,u){return'The value "'+u+'" is invalid for option "'+C+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(C,u,P){var d,S;if("string"==typeof u&&function v(C,u,P){return C.substr(!P||P<0?0:+P,u.length)===u}(u,"not ")?(d="must not be",u=u.replace(/^not /,"")):d="must be",function D(C,u,P){return(void 0===P||P>C.length)&&(P=C.length),C.substring(P-u.length,P)===u}(C," argument"))S="The ".concat(C," ").concat(d," ").concat(e(u,"type"));else{var w=function o(C,u,P){return"number"!=typeof P&&(P=0),!(P+u.length>C.length)&&-1!==C.indexOf(u,P)}(C,".")?"property":"argument";S='The "'.concat(C,'" ').concat(w," ").concat(d," ").concat(e(u,"type"))}return S+". Received type ".concat(typeof P)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(C){return"The "+C+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(C){return"Cannot call "+C+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(C){return"Unknown encoding: "+C},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Ve.exports.q=m},1339:(Ve,Q,m)=>{"use strict";var t=Object.keys||function(S){var w=[];for(var I in S)w.push(I);return w};Ve.exports=u;var e=m(3154),v=m(520);m(3894)(u,e);for(var D=t(v.prototype),o=0;o<D.length;o++){var C=D[o];u.prototype[C]||(u.prototype[C]=v.prototype[C])}function u(S){if(!(this instanceof u))return new u(S);e.call(this,S),v.call(this,S),this.allowHalfOpen=!0,S&&(!1===S.readable&&(this.readable=!1),!1===S.writable&&(this.writable=!1),!1===S.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",P)))}function P(){this._writableState.ended||process.nextTick(d,this)}function d(S){S.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(w){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=w,this._writableState.destroyed=w)}})},6071:(Ve,Q,m)=>{"use strict";Ve.exports=e;var t=m(6025);function e(v){if(!(this instanceof e))return new e(v);t.call(this,v)}m(3894)(e,t),e.prototype._transform=function(v,D,o){o(null,v)}},3154:(Ve,Q,m)=>{"use strict";var t;Ve.exports=T,T.ReadableState=fe,m(9069);var S,v=function(Ye,Te){return Ye.listeners(Te).length},D=m(4970),o=m(3172).Buffer,C=global.Uint8Array||function(){},d=m(4616);S=d&&d.debuglog?d.debuglog("stream"):function(){};var ee,ue,he,w=m(5019),I=m(1920),N=m(7102).getHighWaterMark,z=m(891).q,G=z.ERR_INVALID_ARG_TYPE,W=z.ERR_STREAM_PUSH_AFTER_EOF,Y=z.ERR_METHOD_NOT_IMPLEMENTED,X=z.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;m(3894)(T,D);var ie=I.errorOrDestroy,ce=["error","close","destroy","pause","resume"];function fe(se,Ye,Te){t=t||m(1339),"boolean"!=typeof Te&&(Te=Ye instanceof t),this.objectMode=!!(se=se||{}).objectMode,Te&&(this.objectMode=this.objectMode||!!se.readableObjectMode),this.highWaterMark=N(this,se,"readableHighWaterMark",Te),this.buffer=new w,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!==se.emitClose,this.autoDestroy=!!se.autoDestroy,this.destroyed=!1,this.defaultEncoding=se.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,se.encoding&&(ee||(ee=m(3054).s),this.decoder=new ee(se.encoding),this.encoding=se.encoding)}function T(se){if(t=t||m(1339),!(this instanceof T))return new T(se);this._readableState=new fe(se,this,this instanceof t),this.readable=!0,se&&("function"==typeof se.read&&(this._read=se.read),"function"==typeof se.destroy&&(this._destroy=se.destroy)),D.call(this)}function i(se,Ye,Te,oe,be){S("readableAddChunk",Ye);var Ue,te=se._readableState;if(null===Ye)te.reading=!1,function k(se,Ye){if(S("onEofChunk"),!Ye.ended){if(Ye.decoder){var Te=Ye.decoder.end();Te&&Te.length&&(Ye.buffer.push(Te),Ye.length+=Ye.objectMode?1:Te.length)}Ye.ended=!0,Ye.sync?g(se):(Ye.needReadable=!1,Ye.emittedReadable||(Ye.emittedReadable=!0,n(se)))}}(se,te);else if(be||(Ue=function h(se,Ye){var Te;return!function P(se){return o.isBuffer(se)||se instanceof C}(Ye)&&"string"!=typeof Ye&&void 0!==Ye&&!se.objectMode&&(Te=new G("chunk",["string","Buffer","Uint8Array"],Ye)),Te}(te,Ye)),Ue)ie(se,Ue);else if(te.objectMode||Ye&&Ye.length>0)if("string"!=typeof Ye&&!te.objectMode&&Object.getPrototypeOf(Ye)!==o.prototype&&(Ye=function u(se){return o.from(se)}(Ye)),oe)te.endEmitted?ie(se,new X):r(se,te,Ye,!0);else if(te.ended)ie(se,new W);else{if(te.destroyed)return!1;te.reading=!1,te.decoder&&!Te?(Ye=te.decoder.write(Ye),te.objectMode||0!==Ye.length?r(se,te,Ye,!1):b(se,te)):r(se,te,Ye,!1)}else oe||(te.reading=!1,b(se,te));return!te.ended&&(te.length<te.highWaterMark||0===te.length)}function r(se,Ye,Te,oe){Ye.flowing&&0===Ye.length&&!Ye.sync?(Ye.awaitDrain=0,se.emit("data",Te)):(Ye.length+=Ye.objectMode?1:Te.length,oe?Ye.buffer.unshift(Te):Ye.buffer.push(Te),Ye.needReadable&&g(se)),b(se,Ye)}Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(Ye){!this._readableState||(this._readableState.destroyed=Ye)}}),T.prototype.destroy=I.destroy,T.prototype._undestroy=I.undestroy,T.prototype._destroy=function(se,Ye){Ye(se)},T.prototype.push=function(se,Ye){var oe,Te=this._readableState;return Te.objectMode?oe=!0:"string"==typeof se&&((Ye=Ye||Te.defaultEncoding)!==Te.encoding&&(se=o.from(se,Ye),Ye=""),oe=!0),i(this,se,Ye,!1,oe)},T.prototype.unshift=function(se){return i(this,se,null,!0,!1)},T.prototype.isPaused=function(){return!1===this._readableState.flowing},T.prototype.setEncoding=function(se){ee||(ee=m(3054).s);var Ye=new ee(se);this._readableState.decoder=Ye,this._readableState.encoding=this._readableState.decoder.encoding;for(var Te=this._readableState.buffer.head,oe="";null!==Te;)oe+=Ye.write(Te.data),Te=Te.next;return this._readableState.buffer.clear(),""!==oe&&this._readableState.buffer.push(oe),this._readableState.length=oe.length,this};var l=1073741824;function A(se,Ye){return se<=0||0===Ye.length&&Ye.ended?0:Ye.objectMode?1:se!=se?Ye.flowing&&Ye.length?Ye.buffer.head.data.length:Ye.length:(se>Ye.highWaterMark&&(Ye.highWaterMark=function y(se){return se>=l?se=l:(se--,se|=se>>>1,se|=se>>>2,se|=se>>>4,se|=se>>>8,se|=se>>>16,se++),se}(se)),se<=Ye.length?se:Ye.ended?Ye.length:(Ye.needReadable=!0,0))}function g(se){var Ye=se._readableState;S("emitReadable",Ye.needReadable,Ye.emittedReadable),Ye.needReadable=!1,Ye.emittedReadable||(S("emitReadable",Ye.flowing),Ye.emittedReadable=!0,process.nextTick(n,se))}function n(se){var Ye=se._readableState;S("emitReadable_",Ye.destroyed,Ye.length,Ye.ended),!Ye.destroyed&&(Ye.length||Ye.ended)&&(se.emit("readable"),Ye.emittedReadable=!1),Ye.needReadable=!Ye.flowing&&!Ye.ended&&Ye.length<=Ye.highWaterMark,ct(se)}function b(se,Ye){Ye.readingMore||(Ye.readingMore=!0,process.nextTick(U,se,Ye))}function U(se,Ye){for(;!Ye.reading&&!Ye.ended&&(Ye.length<Ye.highWaterMark||Ye.flowing&&0===Ye.length);){var Te=Ye.length;if(S("maybeReadMore read 0"),se.read(0),Te===Ye.length)break}Ye.readingMore=!1}function j(se){var Ye=se._readableState;Ye.readableListening=se.listenerCount("readable")>0,Ye.resumeScheduled&&!Ye.paused?Ye.flowing=!0:se.listenerCount("data")>0&&se.resume()}function Ae(se){S("readable nexttick read 0"),se.read(0)}function qe(se,Ye){S("resume",Ye.reading),Ye.reading||se.read(0),Ye.resumeScheduled=!1,se.emit("resume"),ct(se),Ye.flowing&&!Ye.reading&&se.read(0)}function ct(se){var Ye=se._readableState;for(S("flow",Ye.flowing);Ye.flowing&&null!==se.read(););}function Ie(se,Ye){return 0===Ye.length?null:(Ye.objectMode?Te=Ye.buffer.shift():!se||se>=Ye.length?(Te=Ye.decoder?Ye.buffer.join(""):1===Ye.buffer.length?Ye.buffer.first():Ye.buffer.concat(Ye.length),Ye.buffer.clear()):Te=Ye.buffer.consume(se,Ye.decoder),Te);var Te}function xe(se){var Ye=se._readableState;S("endReadable",Ye.endEmitted),Ye.endEmitted||(Ye.ended=!0,process.nextTick(le,Ye,se))}function le(se,Ye){if(S("endReadableNT",se.endEmitted,se.length),!se.endEmitted&&0===se.length&&(se.endEmitted=!0,Ye.readable=!1,Ye.emit("end"),se.autoDestroy)){var Te=Ye._writableState;(!Te||Te.autoDestroy&&Te.finished)&&Ye.destroy()}}function _e(se,Ye){for(var Te=0,oe=se.length;Te<oe;Te++)if(se[Te]===Ye)return Te;return-1}T.prototype.read=function(se){S("read",se),se=parseInt(se,10);var Ye=this._readableState,Te=se;if(0!==se&&(Ye.emittedReadable=!1),0===se&&Ye.needReadable&&((0!==Ye.highWaterMark?Ye.length>=Ye.highWaterMark:Ye.length>0)||Ye.ended))return S("read: emitReadable",Ye.length,Ye.ended),0===Ye.length&&Ye.ended?xe(this):g(this),null;if(0===(se=A(se,Ye))&&Ye.ended)return 0===Ye.length&&xe(this),null;var be,oe=Ye.needReadable;return S("need readable",oe),(0===Ye.length||Ye.length-se<Ye.highWaterMark)&&S("length less than watermark",oe=!0),Ye.ended||Ye.reading?S("reading or ended",oe=!1):oe&&(S("do read"),Ye.reading=!0,Ye.sync=!0,0===Ye.length&&(Ye.needReadable=!0),this._read(Ye.highWaterMark),Ye.sync=!1,Ye.reading||(se=A(Te,Ye))),null===(be=se>0?Ie(se,Ye):null)?(Ye.needReadable=Ye.length<=Ye.highWaterMark,se=0):(Ye.length-=se,Ye.awaitDrain=0),0===Ye.length&&(Ye.ended||(Ye.needReadable=!0),Te!==se&&Ye.ended&&xe(this)),null!==be&&this.emit("data",be),be},T.prototype._read=function(se){ie(this,new Y("_read()"))},T.prototype.pipe=function(se,Ye){var Te=this,oe=this._readableState;switch(oe.pipesCount){case 0:oe.pipes=se;break;case 1:oe.pipes=[oe.pipes,se];break;default:oe.pipes.push(se)}oe.pipesCount+=1,S("pipe count=%d opts=%j",oe.pipesCount,Ye);var te=Ye&&!1===Ye.end||se===process.stdout||se===process.stderr?it:Be;function Be(){S("onend"),se.end()}oe.endEmitted?process.nextTick(te):Te.once("end",te),se.on("unpipe",function Ue(qt,_t){S("onunpipe"),qt===Te&&_t&&!1===_t.hasUnpiped&&(_t.hasUnpiped=!0,function Ce(){S("cleanup"),se.removeListener("close",nt),se.removeListener("finish",wt),se.removeListener("drain",q),se.removeListener("error",ht),se.removeListener("unpipe",Ue),Te.removeListener("end",Be),Te.removeListener("end",it),Te.removeListener("data",ke),de=!0,oe.awaitDrain&&(!se._writableState||se._writableState.needDrain)&&q()}())});var q=function V(se){return function(){var Te=se._readableState;S("pipeOnDrain",Te.awaitDrain),Te.awaitDrain&&Te.awaitDrain--,0===Te.awaitDrain&&v(se,"data")&&(Te.flowing=!0,ct(se))}}(Te);se.on("drain",q);var de=!1;function ke(qt){S("ondata");var _t=se.write(qt);S("dest.write",_t),!1===_t&&((1===oe.pipesCount&&oe.pipes===se||oe.pipesCount>1&&-1!==_e(oe.pipes,se))&&!de&&(S("false write response, pause",oe.awaitDrain),oe.awaitDrain++),Te.pause())}function ht(qt){S("onerror",qt),it(),se.removeListener("error",ht),0===v(se,"error")&&ie(se,qt)}function nt(){se.removeListener("finish",wt),it()}function wt(){S("onfinish"),se.removeListener("close",nt),it()}function it(){S("unpipe"),Te.unpipe(se)}return Te.on("data",ke),function $(se,Ye,Te){if("function"==typeof se.prependListener)return se.prependListener(Ye,Te);se._events&&se._events[Ye]?Array.isArray(se._events[Ye])?se._events[Ye].unshift(Te):se._events[Ye]=[Te,se._events[Ye]]:se.on(Ye,Te)}(se,"error",ht),se.once("close",nt),se.once("finish",wt),se.emit("pipe",Te),oe.flowing||(S("pipe resume"),Te.resume()),se},T.prototype.unpipe=function(se){var Ye=this._readableState,Te={hasUnpiped:!1};if(0===Ye.pipesCount)return this;if(1===Ye.pipesCount)return se&&se!==Ye.pipes||(se||(se=Ye.pipes),Ye.pipes=null,Ye.pipesCount=0,Ye.flowing=!1,se&&se.emit("unpipe",this,Te)),this;if(!se){var oe=Ye.pipes,be=Ye.pipesCount;Ye.pipes=null,Ye.pipesCount=0,Ye.flowing=!1;for(var te=0;te<be;te++)oe[te].emit("unpipe",this,{hasUnpiped:!1});return this}var Ue=_e(Ye.pipes,se);return-1===Ue||(Ye.pipes.splice(Ue,1),Ye.pipesCount-=1,1===Ye.pipesCount&&(Ye.pipes=Ye.pipes[0]),se.emit("unpipe",this,Te)),this},T.prototype.addListener=T.prototype.on=function(se,Ye){var Te=D.prototype.on.call(this,se,Ye),oe=this._readableState;return"data"===se?(oe.readableListening=this.listenerCount("readable")>0,!1!==oe.flowing&&this.resume()):"readable"===se&&!oe.endEmitted&&!oe.readableListening&&(oe.readableListening=oe.needReadable=!0,oe.flowing=!1,oe.emittedReadable=!1,S("on readable",oe.length,oe.reading),oe.length?g(this):oe.reading||process.nextTick(Ae,this)),Te},T.prototype.removeListener=function(se,Ye){var Te=D.prototype.removeListener.call(this,se,Ye);return"readable"===se&&process.nextTick(j,this),Te},T.prototype.removeAllListeners=function(se){var Ye=D.prototype.removeAllListeners.apply(this,arguments);return("readable"===se||void 0===se)&&process.nextTick(j,this),Ye},T.prototype.resume=function(){var se=this._readableState;return se.flowing||(S("resume"),se.flowing=!se.readableListening,function Ke(se,Ye){Ye.resumeScheduled||(Ye.resumeScheduled=!0,process.nextTick(qe,se,Ye))}(this,se)),se.paused=!1,this},T.prototype.pause=function(){return S("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(S("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(se){var Ye=this,Te=this._readableState,oe=!1;for(var be in se.on("end",function(){if(S("wrapped end"),Te.decoder&&!Te.ended){var Ue=Te.decoder.end();Ue&&Ue.length&&Ye.push(Ue)}Ye.push(null)}),se.on("data",function(Ue){S("wrapped data"),Te.decoder&&(Ue=Te.decoder.write(Ue)),Te.objectMode&&null==Ue||!(Te.objectMode||Ue&&Ue.length)||Ye.push(Ue)||(oe=!0,se.pause())}),se)void 0===this[be]&&"function"==typeof se[be]&&(this[be]=function(Be){return function(){return se[Be].apply(se,arguments)}}(be));for(var te=0;te<ce.length;te++)se.on(ce[te],this.emit.bind(this,ce[te]));return this._read=function(Ue){S("wrapped _read",Ue),oe&&(oe=!1,se.resume())},this},"function"==typeof Symbol&&(T.prototype[Symbol.asyncIterator]=function(){return void 0===ue&&(ue=m(3872)),ue(this)}),Object.defineProperty(T.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(T.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(T.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Ye){this._readableState&&(this._readableState.flowing=Ye)}}),T._fromList=Ie,Object.defineProperty(T.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(T.from=function(se,Ye){return void 0===he&&(he=m(7412)),he(T,se,Ye)})},6025:(Ve,Q,m)=>{"use strict";Ve.exports=P;var t=m(891).q,e=t.ERR_METHOD_NOT_IMPLEMENTED,v=t.ERR_MULTIPLE_CALLBACK,D=t.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=t.ERR_TRANSFORM_WITH_LENGTH_0,C=m(1339);function u(w,I){var E=this._transformState;E.transforming=!1;var N=E.writecb;if(null===N)return this.emit("error",new v);E.writechunk=null,E.writecb=null,null!=I&&this.push(I),N(w);var z=this._readableState;z.reading=!1,(z.needReadable||z.length<z.highWaterMark)&&this._read(z.highWaterMark)}function P(w){if(!(this instanceof P))return new P(w);C.call(this,w),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,w&&("function"==typeof w.transform&&(this._transform=w.transform),"function"==typeof w.flush&&(this._flush=w.flush)),this.on("prefinish",d)}function d(){var w=this;"function"!=typeof this._flush||this._readableState.destroyed?S(this,null,null):this._flush(function(I,E){S(w,I,E)})}function S(w,I,E){if(I)return w.emit("error",I);if(null!=E&&w.push(E),w._writableState.length)throw new o;if(w._transformState.transforming)throw new D;return w.push(null)}m(3894)(P,C),P.prototype.push=function(w,I){return this._transformState.needTransform=!1,C.prototype.push.call(this,w,I)},P.prototype._transform=function(w,I,E){E(new e("_transform()"))},P.prototype._write=function(w,I,E){var N=this._transformState;if(N.writecb=E,N.writechunk=w,N.writeencoding=I,!N.transforming){var z=this._readableState;(N.needTransform||z.needReadable||z.length<z.highWaterMark)&&this._read(z.highWaterMark)}},P.prototype._read=function(w){var I=this._transformState;null===I.writechunk||I.transforming?I.needTransform=!0:(I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform))},P.prototype._destroy=function(w,I){C.prototype._destroy.call(this,w,function(E){I(E)})}},520:(Ve,Q,m)=>{"use strict";function e(ct){var Ie=this;this.next=null,this.entry=null,this.finish=function(){!function qe(ct,Ie,xe){var le=ct.entry;for(ct.entry=null;le;){var _e=le.callback;Ie.pendingcb--,_e(xe),le=le.next}Ie.corkedRequestsFree.next=ct}(Ie,ct)}}var v;Ve.exports=fe,fe.WritableState=ce;var $,D={deprecate:m(4364)},o=m(4970),C=m(3172).Buffer,u=global.Uint8Array||function(){},S=m(1920),I=m(7102).getHighWaterMark,E=m(891).q,N=E.ERR_INVALID_ARG_TYPE,z=E.ERR_METHOD_NOT_IMPLEMENTED,G=E.ERR_MULTIPLE_CALLBACK,W=E.ERR_STREAM_CANNOT_PIPE,Y=E.ERR_STREAM_DESTROYED,X=E.ERR_STREAM_NULL_VALUES,ee=E.ERR_STREAM_WRITE_AFTER_END,ue=E.ERR_UNKNOWN_ENCODING,he=S.errorOrDestroy;function ie(){}function ce(ct,Ie,xe){v=v||m(1339),"boolean"!=typeof xe&&(xe=Ie instanceof v),this.objectMode=!!(ct=ct||{}).objectMode,xe&&(this.objectMode=this.objectMode||!!ct.writableObjectMode),this.highWaterMark=I(this,ct,"writableHighWaterMark",xe),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===ct.decodeStrings),this.defaultEncoding=ct.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(_e){!function k(ct,Ie){var xe=ct._writableState,le=xe.sync,_e=xe.writecb;if("function"!=typeof _e)throw new G;if(function A(ct){ct.writing=!1,ct.writecb=null,ct.length-=ct.writelen,ct.writelen=0}(xe),Ie)!function y(ct,Ie,xe,le,_e){--Ie.pendingcb,xe?(process.nextTick(_e,le),process.nextTick(Ae,ct,Ie),ct._writableState.errorEmitted=!0,he(ct,le)):(_e(le),ct._writableState.errorEmitted=!0,he(ct,le),Ae(ct,Ie))}(ct,xe,le,Ie,_e);else{var se=U(xe)||ct.destroyed;!se&&!xe.corked&&!xe.bufferProcessing&&xe.bufferedRequest&&b(ct,xe),le?process.nextTick(g,ct,xe,se,_e):g(ct,xe,se,_e)}}(Ie,_e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==ct.emitClose,this.autoDestroy=!!ct.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function fe(ct){var Ie=this instanceof(v=v||m(1339));if(!Ie&&!$.call(fe,this))return new fe(ct);this._writableState=new ce(ct,this,Ie),this.writable=!0,ct&&("function"==typeof ct.write&&(this._write=ct.write),"function"==typeof ct.writev&&(this._writev=ct.writev),"function"==typeof ct.destroy&&(this._destroy=ct.destroy),"function"==typeof ct.final&&(this._final=ct.final)),o.call(this)}function l(ct,Ie,xe,le,_e,se,Ye){Ie.writelen=le,Ie.writecb=Ye,Ie.writing=!0,Ie.sync=!0,Ie.destroyed?Ie.onwrite(new Y("write")):xe?ct._writev(_e,Ie.onwrite):ct._write(_e,se,Ie.onwrite),Ie.sync=!1}function g(ct,Ie,xe,le){xe||function n(ct,Ie){0===Ie.length&&Ie.needDrain&&(Ie.needDrain=!1,ct.emit("drain"))}(ct,Ie),Ie.pendingcb--,le(),Ae(ct,Ie)}function b(ct,Ie){Ie.bufferProcessing=!0;var xe=Ie.bufferedRequest;if(ct._writev&&xe&&xe.next){var _e=new Array(Ie.bufferedRequestCount),se=Ie.corkedRequestsFree;se.entry=xe;for(var Ye=0,Te=!0;xe;)_e[Ye]=xe,xe.isBuf||(Te=!1),xe=xe.next,Ye+=1;_e.allBuffers=Te,l(ct,Ie,!0,Ie.length,_e,"",se.finish),Ie.pendingcb++,Ie.lastBufferedRequest=null,se.next?(Ie.corkedRequestsFree=se.next,se.next=null):Ie.corkedRequestsFree=new e(Ie),Ie.bufferedRequestCount=0}else{for(;xe;){var oe=xe.chunk;if(l(ct,Ie,!1,Ie.objectMode?1:oe.length,oe,xe.encoding,xe.callback),xe=xe.next,Ie.bufferedRequestCount--,Ie.writing)break}null===xe&&(Ie.lastBufferedRequest=null)}Ie.bufferedRequest=xe,Ie.bufferProcessing=!1}function U(ct){return ct.ending&&0===ct.length&&null===ct.bufferedRequest&&!ct.finished&&!ct.writing}function V(ct,Ie){ct._final(function(xe){Ie.pendingcb--,xe&&he(ct,xe),Ie.prefinished=!0,ct.emit("prefinish"),Ae(ct,Ie)})}function Ae(ct,Ie){var xe=U(Ie);if(xe&&(function j(ct,Ie){!Ie.prefinished&&!Ie.finalCalled&&("function"!=typeof ct._final||Ie.destroyed?(Ie.prefinished=!0,ct.emit("prefinish")):(Ie.pendingcb++,Ie.finalCalled=!0,process.nextTick(V,ct,Ie)))}(ct,Ie),0===Ie.pendingcb&&(Ie.finished=!0,ct.emit("finish"),Ie.autoDestroy))){var le=ct._readableState;(!le||le.autoDestroy&&le.endEmitted)&&ct.destroy()}return xe}m(3894)(fe,o),ce.prototype.getBuffer=function(){for(var Ie=this.bufferedRequest,xe=[];Ie;)xe.push(Ie),Ie=Ie.next;return xe},function(){try{Object.defineProperty(ce.prototype,"buffer",{get:D.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]?($=Function.prototype[Symbol.hasInstance],Object.defineProperty(fe,Symbol.hasInstance,{value:function(Ie){return!!$.call(this,Ie)||this===fe&&Ie&&Ie._writableState instanceof ce}})):$=function(Ie){return Ie instanceof this},fe.prototype.pipe=function(){he(this,new W)},fe.prototype.write=function(ct,Ie,xe){var le=this._writableState,_e=!1,se=!le.objectMode&&function d(ct){return C.isBuffer(ct)||ct instanceof u}(ct);return se&&!C.isBuffer(ct)&&(ct=function P(ct){return C.from(ct)}(ct)),"function"==typeof Ie&&(xe=Ie,Ie=null),se?Ie="buffer":Ie||(Ie=le.defaultEncoding),"function"!=typeof xe&&(xe=ie),le.ending?function T(ct,Ie){var xe=new ee;he(ct,xe),process.nextTick(Ie,xe)}(this,xe):(se||function i(ct,Ie,xe,le){var _e;return null===xe?_e=new X:"string"!=typeof xe&&!Ie.objectMode&&(_e=new N("chunk",["string","Buffer"],xe)),!_e||(he(ct,_e),process.nextTick(le,_e),!1)}(this,le,ct,xe))&&(le.pendingcb++,_e=function h(ct,Ie,xe,le,_e,se){if(!xe){var Ye=function r(ct,Ie,xe){return!ct.objectMode&&!1!==ct.decodeStrings&&"string"==typeof Ie&&(Ie=C.from(Ie,xe)),Ie}(Ie,le,_e);le!==Ye&&(xe=!0,_e="buffer",le=Ye)}var Te=Ie.objectMode?1:le.length;Ie.length+=Te;var oe=Ie.length<Ie.highWaterMark;if(oe||(Ie.needDrain=!0),Ie.writing||Ie.corked){var be=Ie.lastBufferedRequest;Ie.lastBufferedRequest={chunk:le,encoding:_e,isBuf:xe,callback:se,next:null},be?be.next=Ie.lastBufferedRequest:Ie.bufferedRequest=Ie.lastBufferedRequest,Ie.bufferedRequestCount+=1}else l(ct,Ie,!1,Te,le,_e,se);return oe}(this,le,se,ct,Ie,xe)),_e},fe.prototype.cork=function(){this._writableState.corked++},fe.prototype.uncork=function(){var ct=this._writableState;ct.corked&&(ct.corked--,!ct.writing&&!ct.corked&&!ct.bufferProcessing&&ct.bufferedRequest&&b(this,ct))},fe.prototype.setDefaultEncoding=function(Ie){if("string"==typeof Ie&&(Ie=Ie.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ie+"").toLowerCase())>-1))throw new ue(Ie);return this._writableState.defaultEncoding=Ie,this},Object.defineProperty(fe.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(fe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),fe.prototype._write=function(ct,Ie,xe){xe(new z("_write()"))},fe.prototype._writev=null,fe.prototype.end=function(ct,Ie,xe){var le=this._writableState;return"function"==typeof ct?(xe=ct,ct=null,Ie=null):"function"==typeof Ie&&(xe=Ie,Ie=null),null!=ct&&this.write(ct,Ie),le.corked&&(le.corked=1,this.uncork()),le.ending||function Ke(ct,Ie,xe){Ie.ending=!0,Ae(ct,Ie),xe&&(Ie.finished?process.nextTick(xe):ct.once("finish",xe)),Ie.ended=!0,ct.writable=!1}(this,le,xe),this},Object.defineProperty(fe.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(fe.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(Ie){!this._writableState||(this._writableState.destroyed=Ie)}}),fe.prototype.destroy=S.destroy,fe.prototype._undestroy=S.undestroy,fe.prototype._destroy=function(ct,Ie){Ie(ct)}},3872:(Ve,Q,m)=>{"use strict";var t;function e(Y,X,ee){return X in Y?Object.defineProperty(Y,X,{value:ee,enumerable:!0,configurable:!0,writable:!0}):Y[X]=ee,Y}var v=m(7542),D=Symbol("lastResolve"),o=Symbol("lastReject"),C=Symbol("error"),u=Symbol("ended"),P=Symbol("lastPromise"),d=Symbol("handlePromise"),S=Symbol("stream");function w(Y,X){return{value:Y,done:X}}function I(Y){var X=Y[D];if(null!==X){var ee=Y[S].read();null!==ee&&(Y[P]=null,Y[D]=null,Y[o]=null,X(w(ee,!1)))}}function E(Y){process.nextTick(I,Y)}var z=Object.getPrototypeOf(function(){}),G=Object.setPrototypeOf((e(t={get stream(){return this[S]},next:function(){var X=this,ee=this[C];if(null!==ee)return Promise.reject(ee);if(this[u])return Promise.resolve(w(void 0,!0));if(this[S].destroyed)return new Promise(function(ce,$){process.nextTick(function(){X[C]?$(X[C]):ce(w(void 0,!0))})});var he,ue=this[P];if(ue)he=new Promise(function N(Y,X){return function(ee,ue){Y.then(function(){X[u]?ee(w(void 0,!0)):X[d](ee,ue)},ue)}}(ue,this));else{var ie=this[S].read();if(null!==ie)return Promise.resolve(w(ie,!1));he=new Promise(this[d])}return this[P]=he,he}},Symbol.asyncIterator,function(){return this}),e(t,"return",function(){var X=this;return new Promise(function(ee,ue){X[S].destroy(null,function(he){he?ue(he):ee(w(void 0,!0))})})}),t),z);Ve.exports=function(X){var ee,ue=Object.create(G,(e(ee={},S,{value:X,writable:!0}),e(ee,D,{value:null,writable:!0}),e(ee,o,{value:null,writable:!0}),e(ee,C,{value:null,writable:!0}),e(ee,u,{value:X._readableState.endEmitted,writable:!0}),e(ee,d,{value:function(ie,ce){var $=ue[S].read();$?(ue[P]=null,ue[D]=null,ue[o]=null,ie(w($,!1))):(ue[D]=ie,ue[o]=ce)},writable:!0}),ee));return ue[P]=null,v(X,function(he){if(he&&"ERR_STREAM_PREMATURE_CLOSE"!==he.code){var ie=ue[o];return null!==ie&&(ue[P]=null,ue[D]=null,ue[o]=null,ie(he)),void(ue[C]=he)}var ce=ue[D];null!==ce&&(ue[P]=null,ue[D]=null,ue[o]=null,ce(w(void 0,!0))),ue[u]=!0}),X.on("readable",E.bind(null,ue)),ue}},5019:(Ve,Q,m)=>{"use strict";function t(E,N){var z=Object.keys(E);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(E);N&&(G=G.filter(function(W){return Object.getOwnPropertyDescriptor(E,W).enumerable})),z.push.apply(z,G)}return z}function v(E,N,z){return N in E?Object.defineProperty(E,N,{value:z,enumerable:!0,configurable:!0,writable:!0}):E[N]=z,E}function o(E,N){for(var z=0;z<N.length;z++){var G=N[z];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(E,G.key,G)}}var P=m(3172).Buffer,S=m(2361).inspect,w=S&&S.custom||"inspect";function I(E,N,z){P.prototype.copy.call(E,N,z)}Ve.exports=function(){function E(){(function D(E,N){if(!(E instanceof N))throw new TypeError("Cannot call a class as a function")})(this,E),this.head=null,this.tail=null,this.length=0}return function C(E,N,z){N&&o(E.prototype,N),z&&o(E,z)}(E,[{key:"push",value:function(z){var G={data:z,next:null};this.length>0?this.tail.next=G:this.head=G,this.tail=G,++this.length}},{key:"unshift",value:function(z){var G={data:z,next:this.head};0===this.length&&(this.tail=G),this.head=G,++this.length}},{key:"shift",value:function(){if(0!==this.length){var z=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,z}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(z){if(0===this.length)return"";for(var G=this.head,W=""+G.data;G=G.next;)W+=z+G.data;return W}},{key:"concat",value:function(z){if(0===this.length)return P.alloc(0);for(var G=P.allocUnsafe(z>>>0),W=this.head,Y=0;W;)I(W.data,G,Y),Y+=W.data.length,W=W.next;return G}},{key:"consume",value:function(z,G){var W;return z<this.head.data.length?(W=this.head.data.slice(0,z),this.head.data=this.head.data.slice(z)):W=z===this.head.data.length?this.shift():G?this._getString(z):this._getBuffer(z),W}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(z){var G=this.head,W=1,Y=G.data;for(z-=Y.length;G=G.next;){var X=G.data,ee=z>X.length?X.length:z;if(Y+=ee===X.length?X:X.slice(0,z),0==(z-=ee)){ee===X.length?(++W,this.head=G.next?G.next:this.tail=null):(this.head=G,G.data=X.slice(ee));break}++W}return this.length-=W,Y}},{key:"_getBuffer",value:function(z){var G=P.allocUnsafe(z),W=this.head,Y=1;for(W.data.copy(G),z-=W.data.length;W=W.next;){var X=W.data,ee=z>X.length?X.length:z;if(X.copy(G,G.length-z,0,ee),0==(z-=ee)){ee===X.length?(++Y,this.head=W.next?W.next:this.tail=null):(this.head=W,W.data=X.slice(ee));break}++Y}return this.length-=Y,G}},{key:w,value:function(z,G){return S(this,function e(E){for(var N=1;N<arguments.length;N++){var z=null!=arguments[N]?arguments[N]:{};N%2?t(Object(z),!0).forEach(function(G){v(E,G,z[G])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(z)):t(Object(z)).forEach(function(G){Object.defineProperty(E,G,Object.getOwnPropertyDescriptor(z,G))})}return E}({},G,{depth:0,customInspect:!1}))}}]),E}()},1920:Ve=>{"use strict";function m(o,C){v(o,C),t(o)}function t(o){o._writableState&&!o._writableState.emitClose||o._readableState&&!o._readableState.emitClose||o.emit("close")}function v(o,C){o.emit("error",C)}Ve.exports={destroy:function Q(o,C){var u=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(C?C(o):o&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(v,this,o)):process.nextTick(v,this,o)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(o||null,function(S){!C&&S?u._writableState?u._writableState.errorEmitted?process.nextTick(t,u):(u._writableState.errorEmitted=!0,process.nextTick(m,u,S)):process.nextTick(m,u,S):C?(process.nextTick(t,u),C(S)):process.nextTick(t,u)}),this)},undestroy:function e(){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 D(o,C){var u=o._readableState,P=o._writableState;u&&u.autoDestroy||P&&P.autoDestroy?o.destroy(C):o.emit("error",C)}}},7542:(Ve,Q,m)=>{"use strict";var t=m(891).q.ERR_STREAM_PREMATURE_CLOSE;function v(){}Ve.exports=function o(C,u,P){if("function"==typeof u)return o(C,null,u);u||(u={}),P=function e(C){var u=!1;return function(){if(!u){u=!0;for(var P=arguments.length,d=new Array(P),S=0;S<P;S++)d[S]=arguments[S];C.apply(this,d)}}}(P||v);var d=u.readable||!1!==u.readable&&C.readable,S=u.writable||!1!==u.writable&&C.writable,w=function(){C.writable||E()},I=C._writableState&&C._writableState.finished,E=function(){S=!1,I=!0,d||P.call(C)},N=C._readableState&&C._readableState.endEmitted,z=function(){d=!1,N=!0,S||P.call(C)},G=function(ee){P.call(C,ee)},W=function(){var ee;return d&&!N?((!C._readableState||!C._readableState.ended)&&(ee=new t),P.call(C,ee)):S&&!I?((!C._writableState||!C._writableState.ended)&&(ee=new t),P.call(C,ee)):void 0},Y=function(){C.req.on("finish",E)};return function D(C){return C.setHeader&&"function"==typeof C.abort}(C)?(C.on("complete",E),C.on("abort",W),C.req?Y():C.on("request",Y)):S&&!C._writableState&&(C.on("end",w),C.on("close",w)),C.on("end",z),C.on("finish",E),!1!==u.error&&C.on("error",G),C.on("close",W),function(){C.removeListener("complete",E),C.removeListener("abort",W),C.removeListener("request",Y),C.req&&C.req.removeListener("finish",E),C.removeListener("end",w),C.removeListener("close",w),C.removeListener("finish",E),C.removeListener("end",z),C.removeListener("error",G),C.removeListener("close",W)}}},7412:Ve=>{Ve.exports=function(){throw new Error("Readable.from is not available in the browser")}},954:(Ve,Q,m)=>{"use strict";var t,v=m(891).q,D=v.ERR_MISSING_ARGS,o=v.ERR_STREAM_DESTROYED;function C(E){if(E)throw E}function P(E,N,z,G){G=function e(E){var N=!1;return function(){N||(N=!0,E.apply(void 0,arguments))}}(G);var W=!1;E.on("close",function(){W=!0}),void 0===t&&(t=m(7542)),t(E,{readable:N,writable:z},function(X){if(X)return G(X);W=!0,G()});var Y=!1;return function(X){if(!W&&!Y){if(Y=!0,function u(E){return E.setHeader&&"function"==typeof E.abort}(E))return E.abort();if("function"==typeof E.destroy)return E.destroy();G(X||new o("pipe"))}}}function d(E){E()}function S(E,N){return E.pipe(N)}function w(E){return E.length&&"function"==typeof E[E.length-1]?E.pop():C}Ve.exports=function I(){for(var E=arguments.length,N=new Array(E),z=0;z<E;z++)N[z]=arguments[z];var G=w(N);if(Array.isArray(N[0])&&(N=N[0]),N.length<2)throw new D("streams");var W,Y=N.map(function(X,ee){var ue=ee<N.length-1;return P(X,ue,ee>0,function(ie){W||(W=ie),ie&&Y.forEach(d),!ue&&(Y.forEach(d),G(W))})});return N.reduce(S)}},7102:(Ve,Q,m)=>{"use strict";var t=m(891).q.ERR_INVALID_OPT_VALUE;Ve.exports={getHighWaterMark:function v(D,o,C,u){var P=function e(D,o,C){return null!=D.highWaterMark?D.highWaterMark:o?D[C]:null}(o,u,C);if(null!=P){if(!isFinite(P)||Math.floor(P)!==P||P<0)throw new t(u?C:"highWaterMark",P);return Math.floor(P)}return D.objectMode?16:16384}}},4970:(Ve,Q,m)=>{Ve.exports=m(9069).EventEmitter},5685:(Ve,Q,m)=>{(Q=Ve.exports=m(3154)).Stream=Q,Q.Readable=Q,Q.Writable=m(520),Q.Duplex=m(1339),Q.Transform=m(6025),Q.PassThrough=m(6071),Q.finished=m(7542),Q.pipeline=m(954)},5126:Ve=>{"use strict";function Q(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}Ve.exports=function m(e){return(e=e||{}).circles?function t(e){var v=[],D=[];return e.proto?function u(P){if("object"!=typeof P||null===P)return P;if(P instanceof Date)return new Date(P);if(Array.isArray(P))return o(P,u);if(P instanceof Map)return new Map(o(Array.from(P),u));if(P instanceof Set)return new Set(o(Array.from(P),u));var d={};for(var S in v.push(P),D.push(d),P){var w=P[S];if("object"!=typeof w||null===w)d[S]=w;else if(w instanceof Date)d[S]=new Date(w);else if(w instanceof Map)d[S]=new Map(o(Array.from(w),u));else if(w instanceof Set)d[S]=new Set(o(Array.from(w),u));else if(ArrayBuffer.isView(w))d[S]=Q(w);else{var I=v.indexOf(w);d[S]=-1!==I?D[I]:u(w)}}return v.pop(),D.pop(),d}:function C(P){if("object"!=typeof P||null===P)return P;if(P instanceof Date)return new Date(P);if(Array.isArray(P))return o(P,C);if(P instanceof Map)return new Map(o(Array.from(P),C));if(P instanceof Set)return new Set(o(Array.from(P),C));var d={};for(var S in v.push(P),D.push(d),P)if(!1!==Object.hasOwnProperty.call(P,S)){var w=P[S];if("object"!=typeof w||null===w)d[S]=w;else if(w instanceof Date)d[S]=new Date(w);else if(w instanceof Map)d[S]=new Map(o(Array.from(w),C));else if(w instanceof Set)d[S]=new Set(o(Array.from(w),C));else if(ArrayBuffer.isView(w))d[S]=Q(w);else{var I=v.indexOf(w);d[S]=-1!==I?D[I]:C(w)}}return v.pop(),D.pop(),d};function o(P,d){for(var S=Object.keys(P),w=new Array(S.length),I=0;I<S.length;I++){var E=S[I],N=P[E];if("object"!=typeof N||null===N)w[E]=N;else if(N instanceof Date)w[E]=new Date(N);else if(ArrayBuffer.isView(N))w[E]=Q(N);else{var z=v.indexOf(N);w[E]=-1!==z?D[z]:d(N)}}return w}}(e):e.proto?function o(C){if("object"!=typeof C||null===C)return C;if(C instanceof Date)return new Date(C);if(Array.isArray(C))return v(C,o);if(C instanceof Map)return new Map(v(Array.from(C),o));if(C instanceof Set)return new Set(v(Array.from(C),o));var u={};for(var P in C){var d=C[P];u[P]="object"!=typeof d||null===d?d:d instanceof Date?new Date(d):d instanceof Map?new Map(v(Array.from(d),o)):d instanceof Set?new Set(v(Array.from(d),o)):ArrayBuffer.isView(d)?Q(d):o(d)}return u}:function D(C){if("object"!=typeof C||null===C)return C;if(C instanceof Date)return new Date(C);if(Array.isArray(C))return v(C,D);if(C instanceof Map)return new Map(v(Array.from(C),D));if(C instanceof Set)return new Set(v(Array.from(C),D));var u={};for(var P in C)if(!1!==Object.hasOwnProperty.call(C,P)){var d=C[P];u[P]="object"!=typeof d||null===d?d:d instanceof Date?new Date(d):d instanceof Map?new Map(v(Array.from(d),D)):d instanceof Set?new Set(v(Array.from(d),D)):ArrayBuffer.isView(d)?Q(d):D(d)}return u};function v(C,u){for(var P=Object.keys(C),d=new Array(P.length),S=0;S<P.length;S++){var w=P[S],I=C[w];d[w]="object"!=typeof I||null===I?I:I instanceof Date?new Date(I):ArrayBuffer.isView(I)?Q(I):u(I)}return d}}},5634:(Ve,Q,m)=>{"use strict";var t=m(3172).Buffer,e=m(3894),v=m(9650),D=new Array(16),o=[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],C=[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],u=[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],S=[1352829926,1548603684,1836072691,2053994217,0];function w(){v.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function I(Y,X){return Y<<X|Y>>>32-X}function E(Y,X,ee,ue,he,ie,ce,$){return I(Y+(X^ee^ue)+ie+ce|0,$)+he|0}function N(Y,X,ee,ue,he,ie,ce,$){return I(Y+(X&ee|~X&ue)+ie+ce|0,$)+he|0}function z(Y,X,ee,ue,he,ie,ce,$){return I(Y+((X|~ee)^ue)+ie+ce|0,$)+he|0}function G(Y,X,ee,ue,he,ie,ce,$){return I(Y+(X&ue|ee&~ue)+ie+ce|0,$)+he|0}function W(Y,X,ee,ue,he,ie,ce,$){return I(Y+(X^(ee|~ue))+ie+ce|0,$)+he|0}e(w,v),w.prototype._update=function(){for(var Y=D,X=0;X<16;++X)Y[X]=this._block.readInt32LE(4*X);for(var ee=0|this._a,ue=0|this._b,he=0|this._c,ie=0|this._d,ce=0|this._e,$=0|this._a,fe=0|this._b,T=0|this._c,i=0|this._d,r=0|this._e,h=0;h<80;h+=1){var l,y;h<16?(l=E(ee,ue,he,ie,ce,Y[o[h]],d[0],u[h]),y=W($,fe,T,i,r,Y[C[h]],S[0],P[h])):h<32?(l=N(ee,ue,he,ie,ce,Y[o[h]],d[1],u[h]),y=G($,fe,T,i,r,Y[C[h]],S[1],P[h])):h<48?(l=z(ee,ue,he,ie,ce,Y[o[h]],d[2],u[h]),y=z($,fe,T,i,r,Y[C[h]],S[2],P[h])):h<64?(l=G(ee,ue,he,ie,ce,Y[o[h]],d[3],u[h]),y=N($,fe,T,i,r,Y[C[h]],S[3],P[h])):(l=W(ee,ue,he,ie,ce,Y[o[h]],d[4],u[h]),y=E($,fe,T,i,r,Y[C[h]],S[4],P[h])),ee=ce,ce=ie,ie=I(he,10),he=ue,ue=l,$=r,r=i,i=I(T,10),T=fe,fe=y}var A=this._b+he+i|0;this._b=this._c+ie+r|0,this._c=this._d+ce+$|0,this._d=this._e+ee+fe|0,this._e=this._a+ue+T|0,this._a=A},w.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 Y=t.alloc?t.alloc(20):new t(20);return Y.writeInt32LE(this._a,0),Y.writeInt32LE(this._b,4),Y.writeInt32LE(this._c,8),Y.writeInt32LE(this._d,12),Y.writeInt32LE(this._e,16),Y},Ve.exports=w},1135:(Ve,Q,m)=>{"use strict";m.d(Q,{X:()=>e});var t=m(7579);class e extends t.x{constructor(D){super(),this._value=D}get value(){return this.getValue()}_subscribe(D){const o=super._subscribe(D);return!o.closed&&D.next(this._value),o}getValue(){const{hasError:D,thrownError:o,_value:C}=this;if(D)throw o;return this._throwIfClosed(),C}next(D){super.next(this._value=D)}}},9751:(Ve,Q,m)=>{"use strict";m.d(Q,{y:()=>P});var t=m(930),e=m(727),v=m(8822),D=m(9635),o=m(2416),C=m(576),u=m(2806);let P=(()=>{class I{constructor(N){N&&(this._subscribe=N)}lift(N){const z=new I;return z.source=this,z.operator=N,z}subscribe(N,z,G){const W=function w(I){return I&&I instanceof t.Lv||function S(I){return I&&(0,C.m)(I.next)&&(0,C.m)(I.error)&&(0,C.m)(I.complete)}(I)&&(0,e.Nn)(I)}(N)?N:new t.Hp(N,z,G);return(0,u.x)(()=>{const{operator:Y,source:X}=this;W.add(Y?Y.call(W,X):X?this._subscribe(W):this._trySubscribe(W))}),W}_trySubscribe(N){try{return this._subscribe(N)}catch(z){N.error(z)}}forEach(N,z){return new(z=d(z))((G,W)=>{const Y=new t.Hp({next:X=>{try{N(X)}catch(ee){W(ee),Y.unsubscribe()}},error:W,complete:G});this.subscribe(Y)})}_subscribe(N){var z;return null===(z=this.source)||void 0===z?void 0:z.subscribe(N)}[v.L](){return this}pipe(...N){return(0,D.U)(N)(this)}toPromise(N){return new(N=d(N))((z,G)=>{let W;this.subscribe(Y=>W=Y,Y=>G(Y),()=>z(W))})}}return I.create=E=>new I(E),I})();function d(I){var E;return null!==(E=I??o.v.Promise)&&void 0!==E?E:Promise}},4707:(Ve,Q,m)=>{"use strict";m.d(Q,{t:()=>v});var t=m(7579),e=m(6063);class v extends t.x{constructor(o=1/0,C=1/0,u=e.l){super(),this._bufferSize=o,this._windowTime=C,this._timestampProvider=u,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=C===1/0,this._bufferSize=Math.max(1,o),this._windowTime=Math.max(1,C)}next(o){const{isStopped:C,_buffer:u,_infiniteTimeWindow:P,_timestampProvider:d,_windowTime:S}=this;C||(u.push(o),!P&&u.push(d.now()+S)),this._trimBuffer(),super.next(o)}_subscribe(o){this._throwIfClosed(),this._trimBuffer();const C=this._innerSubscribe(o),{_infiniteTimeWindow:u,_buffer:P}=this,d=P.slice();for(let S=0;S<d.length&&!o.closed;S+=u?1:2)o.next(d[S]);return this._checkFinalizedStatuses(o),C}_trimBuffer(){const{_bufferSize:o,_timestampProvider:C,_buffer:u,_infiniteTimeWindow:P}=this,d=(P?1:2)*o;if(o<1/0&&d<u.length&&u.splice(0,u.length-d),!P){const S=C.now();let w=0;for(let I=1;I<u.length&&u[I]<=S;I+=2)w=I;w&&u.splice(0,w+1)}}}},7579:(Ve,Q,m)=>{"use strict";m.d(Q,{u:()=>P,x:()=>u});var t=m(9751),e=m(727);const D=(0,m(3888).d)(d=>function(){d(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var o=m(8737),C=m(2806);let u=(()=>{class d extends t.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(w){const I=new P(this,this);return I.operator=w,I}_throwIfClosed(){if(this.closed)throw new D}next(w){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const I of this.currentObservers)I.next(w)}})}error(w){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=w;const{observers:I}=this;for(;I.length;)I.shift().error(w)}})}complete(){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:w}=this;for(;w.length;)w.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var w;return(null===(w=this.observers)||void 0===w?void 0:w.length)>0}_trySubscribe(w){return this._throwIfClosed(),super._trySubscribe(w)}_subscribe(w){return this._throwIfClosed(),this._checkFinalizedStatuses(w),this._innerSubscribe(w)}_innerSubscribe(w){const{hasError:I,isStopped:E,observers:N}=this;return I||E?e.Lc:(this.currentObservers=null,N.push(w),new e.w0(()=>{this.currentObservers=null,(0,o.P)(N,w)}))}_checkFinalizedStatuses(w){const{hasError:I,thrownError:E,isStopped:N}=this;I?w.error(E):N&&w.complete()}asObservable(){const w=new t.y;return w.source=this,w}}return d.create=(S,w)=>new P(S,w),d})();class P extends u{constructor(S,w){super(),this.destination=S,this.source=w}next(S){var w,I;null===(I=null===(w=this.destination)||void 0===w?void 0:w.next)||void 0===I||I.call(w,S)}error(S){var w,I;null===(I=null===(w=this.destination)||void 0===w?void 0:w.error)||void 0===I||I.call(w,S)}complete(){var S,w;null===(w=null===(S=this.destination)||void 0===S?void 0:S.complete)||void 0===w||w.call(S)}_subscribe(S){var w,I;return null!==(I=null===(w=this.source)||void 0===w?void 0:w.subscribe(S))&&void 0!==I?I:e.Lc}}},930:(Ve,Q,m)=>{"use strict";m.d(Q,{Hp:()=>G,Lv:()=>I});var t=m(576),e=m(727),v=m(2416),D=m(7849),o=m(5032);const C=d("C",void 0,void 0);function d(ue,he,ie){return{kind:ue,value:he,error:ie}}var S=m(3410),w=m(2806);class I extends e.w0{constructor(he){super(),this.isStopped=!1,he?(this.destination=he,(0,e.Nn)(he)&&he.add(this)):this.destination=ee}static create(he,ie,ce){return new G(he,ie,ce)}next(he){this.isStopped?X(function P(ue){return d("N",ue,void 0)}(he),this):this._next(he)}error(he){this.isStopped?X(function u(ue){return d("E",void 0,ue)}(he),this):(this.isStopped=!0,this._error(he))}complete(){this.isStopped?X(C,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(he){this.destination.next(he)}_error(he){try{this.destination.error(he)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const E=Function.prototype.bind;function N(ue,he){return E.call(ue,he)}class z{constructor(he){this.partialObserver=he}next(he){const{partialObserver:ie}=this;if(ie.next)try{ie.next(he)}catch(ce){W(ce)}}error(he){const{partialObserver:ie}=this;if(ie.error)try{ie.error(he)}catch(ce){W(ce)}else W(he)}complete(){const{partialObserver:he}=this;if(he.complete)try{he.complete()}catch(ie){W(ie)}}}class G extends I{constructor(he,ie,ce){let $;if(super(),(0,t.m)(he)||!he)$={next:he??void 0,error:ie??void 0,complete:ce??void 0};else{let fe;this&&v.v.useDeprecatedNextContext?(fe=Object.create(he),fe.unsubscribe=()=>this.unsubscribe(),$={next:he.next&&N(he.next,fe),error:he.error&&N(he.error,fe),complete:he.complete&&N(he.complete,fe)}):$=he}this.destination=new z($)}}function W(ue){v.v.useDeprecatedSynchronousErrorHandling?(0,w.O)(ue):(0,D.h)(ue)}function X(ue,he){const{onStoppedNotification:ie}=v.v;ie&&S.z.setTimeout(()=>ie(ue,he))}const ee={closed:!0,next:o.Z,error:function Y(ue){throw ue},complete:o.Z}},727:(Ve,Q,m)=>{"use strict";m.d(Q,{Lc:()=>C,w0:()=>o,Nn:()=>u});var t=m(576);const v=(0,m(3888).d)(d=>function(w){d(this),this.message=w?`${w.length} errors occurred during unsubscription:\n${w.map((I,E)=>`${E+1}) ${I.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=w});var D=m(8737);class o{constructor(S){this.initialTeardown=S,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let S;if(!this.closed){this.closed=!0;const{_parentage:w}=this;if(w)if(this._parentage=null,Array.isArray(w))for(const N of w)N.remove(this);else w.remove(this);const{initialTeardown:I}=this;if((0,t.m)(I))try{I()}catch(N){S=N instanceof v?N.errors:[N]}const{_finalizers:E}=this;if(E){this._finalizers=null;for(const N of E)try{P(N)}catch(z){S=S??[],z instanceof v?S=[...S,...z.errors]:S.push(z)}}if(S)throw new v(S)}}add(S){var w;if(S&&S!==this)if(this.closed)P(S);else{if(S instanceof o){if(S.closed||S._hasParent(this))return;S._addParent(this)}(this._finalizers=null!==(w=this._finalizers)&&void 0!==w?w:[]).push(S)}}_hasParent(S){const{_parentage:w}=this;return w===S||Array.isArray(w)&&w.includes(S)}_addParent(S){const{_parentage:w}=this;this._parentage=Array.isArray(w)?(w.push(S),w):w?[w,S]:S}_removeParent(S){const{_parentage:w}=this;w===S?this._parentage=null:Array.isArray(w)&&(0,D.P)(w,S)}remove(S){const{_finalizers:w}=this;w&&(0,D.P)(w,S),S instanceof o&&S._removeParent(this)}}o.EMPTY=(()=>{const d=new o;return d.closed=!0,d})();const C=o.EMPTY;function u(d){return d instanceof o||d&&"closed"in d&&(0,t.m)(d.remove)&&(0,t.m)(d.add)&&(0,t.m)(d.unsubscribe)}function P(d){(0,t.m)(d)?d():d.unsubscribe()}},2416:(Ve,Q,m)=>{"use strict";m.d(Q,{v:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(Ve,Q,m)=>{"use strict";m.d(Q,{c:()=>C});var t=m(9751),e=m(727),v=m(8343),D=m(5403),o=m(4482);class C extends t.y{constructor(P,d){super(),this.source=P,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,o.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 e.w0;const d=this.getSubject();P.add(this.source.subscribe((0,D.x)(d,void 0,()=>{this._teardown(),d.complete()},S=>{this._teardown(),d.error(S)},()=>this._teardown()))),P.closed&&(this._connection=null,P=e.w0.EMPTY)}return P}refCount(){return(0,v.x)()(this)}}},9841:(Ve,Q,m)=>{"use strict";m.d(Q,{a:()=>S});var t=m(9751),e=m(4742),v=m(457),D=m(4671),o=m(3268),C=m(3269),u=m(1810),P=m(5403),d=m(9672);function S(...E){const N=(0,C.yG)(E),z=(0,C.jO)(E),{args:G,keys:W}=(0,e.D)(E);if(0===G.length)return(0,v.D)([],N);const Y=new t.y(function w(E,N,z=D.y){return G=>{I(N,()=>{const{length:W}=E,Y=new Array(W);let X=W,ee=W;for(let ue=0;ue<W;ue++)I(N,()=>{const he=(0,v.D)(E[ue],N);let ie=!1;he.subscribe((0,P.x)(G,ce=>{Y[ue]=ce,ie||(ie=!0,ee--),ee||G.next(z(Y.slice()))},()=>{--X||G.complete()}))},G)},G)}}(G,N,W?X=>(0,u.n)(W,X):D.y));return z?Y.pipe((0,o.Z)(z)):Y}function I(E,N,z){E?(0,d.f)(z,E,N):N()}},7272:(Ve,Q,m)=>{"use strict";m.d(Q,{z:()=>o});var t=m(8189),v=m(3269),D=m(457);function o(...C){return function e(){return(0,t.J)(1)}()((0,D.D)(C,(0,v.yG)(C)))}},9770:(Ve,Q,m)=>{"use strict";m.d(Q,{P:()=>v});var t=m(9751),e=m(8421);function v(D){return new t.y(o=>{(0,e.Xf)(D()).subscribe(o)})}},515:(Ve,Q,m)=>{"use strict";m.d(Q,{E:()=>e});const e=new(m(9751).y)(o=>o.complete())},4128:(Ve,Q,m)=>{"use strict";m.d(Q,{D:()=>P});var t=m(9751),e=m(4742),v=m(8421),D=m(3269),o=m(5403),C=m(3268),u=m(1810);function P(...d){const S=(0,D.jO)(d),{args:w,keys:I}=(0,e.D)(d),E=new t.y(N=>{const{length:z}=w;if(!z)return void N.complete();const G=new Array(z);let W=z,Y=z;for(let X=0;X<z;X++){let ee=!1;(0,v.Xf)(w[X]).subscribe((0,o.x)(N,ue=>{ee||(ee=!0,Y--),G[X]=ue},()=>W--,void 0,()=>{(!W||!ee)&&(Y||N.next(I?(0,u.n)(I,G):G),N.complete())}))}});return S?E.pipe((0,C.Z)(S)):E}},457:(Ve,Q,m)=>{"use strict";m.d(Q,{D:()=>ie});var t=m(8421),e=m(5363),v=m(4482);function D(ce,$=0){return(0,v.e)((fe,T)=>{T.add(ce.schedule(()=>fe.subscribe(T),$))})}var u=m(9751),d=m(2202),S=m(576),w=m(9672);function E(ce,$){if(!ce)throw new Error("Iterable cannot be null");return new u.y(fe=>{(0,w.f)(fe,$,()=>{const T=ce[Symbol.asyncIterator]();(0,w.f)(fe,$,()=>{T.next().then(i=>{i.done?fe.complete():fe.next(i.value)})},0,!0)})})}var N=m(3670),z=m(8239),G=m(1144),W=m(6495),Y=m(2206),X=m(4532),ee=m(3260);function ie(ce,$){return $?function he(ce,$){if(null!=ce){if((0,N.c)(ce))return function o(ce,$){return(0,t.Xf)(ce).pipe(D($),(0,e.Q)($))}(ce,$);if((0,G.z)(ce))return function P(ce,$){return new u.y(fe=>{let T=0;return $.schedule(function(){T===ce.length?fe.complete():(fe.next(ce[T++]),fe.closed||this.schedule())})})}(ce,$);if((0,z.t)(ce))return function C(ce,$){return(0,t.Xf)(ce).pipe(D($),(0,e.Q)($))}(ce,$);if((0,Y.D)(ce))return E(ce,$);if((0,W.T)(ce))return function I(ce,$){return new u.y(fe=>{let T;return(0,w.f)(fe,$,()=>{T=ce[d.h](),(0,w.f)(fe,$,()=>{let i,r;try{({value:i,done:r}=T.next())}catch(h){return void fe.error(h)}r?fe.complete():fe.next(i)},0,!0)}),()=>(0,S.m)(T?.return)&&T.return()})}(ce,$);if((0,ee.L)(ce))return function ue(ce,$){return E((0,ee.Q)(ce),$)}(ce,$)}throw(0,X.z)(ce)}(ce,$):(0,t.Xf)(ce)}},4968:(Ve,Q,m)=>{"use strict";m.d(Q,{R:()=>S});var t=m(8421),e=m(9751),v=m(5577),D=m(1144),o=m(576),C=m(3268);const u=["addListener","removeListener"],P=["addEventListener","removeEventListener"],d=["on","off"];function S(z,G,W,Y){if((0,o.m)(W)&&(Y=W,W=void 0),Y)return S(z,G,W).pipe((0,C.Z)(Y));const[X,ee]=function N(z){return(0,o.m)(z.addEventListener)&&(0,o.m)(z.removeEventListener)}(z)?P.map(ue=>he=>z[ue](G,he,W)):function I(z){return(0,o.m)(z.addListener)&&(0,o.m)(z.removeListener)}(z)?u.map(w(z,G)):function E(z){return(0,o.m)(z.on)&&(0,o.m)(z.off)}(z)?d.map(w(z,G)):[];if(!X&&(0,D.z)(z))return(0,v.z)(ue=>S(ue,G,W))((0,t.Xf)(z));if(!X)throw new TypeError("Invalid event target");return new e.y(ue=>{const he=(...ie)=>ue.next(1<ie.length?ie:ie[0]);return X(he),()=>ee(he)})}function w(z,G){return W=>Y=>z[W](G,Y)}},8421:(Ve,Q,m)=>{"use strict";m.d(Q,{Xf:()=>E});var t=m(655),e=m(1144),v=m(8239),D=m(9751),o=m(3670),C=m(2206),u=m(4532),P=m(6495),d=m(3260),S=m(576),w=m(7849),I=m(8822);function E(ue){if(ue instanceof D.y)return ue;if(null!=ue){if((0,o.c)(ue))return function N(ue){return new D.y(he=>{const ie=ue[I.L]();if((0,S.m)(ie.subscribe))return ie.subscribe(he);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ue);if((0,e.z)(ue))return function z(ue){return new D.y(he=>{for(let ie=0;ie<ue.length&&!he.closed;ie++)he.next(ue[ie]);he.complete()})}(ue);if((0,v.t)(ue))return function G(ue){return new D.y(he=>{ue.then(ie=>{he.closed||(he.next(ie),he.complete())},ie=>he.error(ie)).then(null,w.h)})}(ue);if((0,C.D)(ue))return Y(ue);if((0,P.T)(ue))return function W(ue){return new D.y(he=>{for(const ie of ue)if(he.next(ie),he.closed)return;he.complete()})}(ue);if((0,d.L)(ue))return function X(ue){return Y((0,d.Q)(ue))}(ue)}throw(0,u.z)(ue)}function Y(ue){return new D.y(he=>{(function ee(ue,he){var ie,ce,$,fe;return(0,t.mG)(this,void 0,void 0,function*(){try{for(ie=(0,t.KL)(ue);!(ce=yield ie.next()).done;)if(he.next(ce.value),he.closed)return}catch(T){$={error:T}}finally{try{ce&&!ce.done&&(fe=ie.return)&&(yield fe.call(ie))}finally{if($)throw $.error}}he.complete()})})(ue,he).catch(ie=>he.error(ie))})}},6451:(Ve,Q,m)=>{"use strict";m.d(Q,{T:()=>C});var t=m(8189),e=m(8421),v=m(515),D=m(3269),o=m(457);function C(...u){const P=(0,D.yG)(u),d=(0,D._6)(u,1/0),S=u;return S.length?1===S.length?(0,e.Xf)(S[0]):(0,t.J)(d)((0,o.D)(S,P)):v.E}},9646:(Ve,Q,m)=>{"use strict";m.d(Q,{of:()=>v});var t=m(3269),e=m(457);function v(...D){const o=(0,t.yG)(D);return(0,e.D)(D,o)}},2843:(Ve,Q,m)=>{"use strict";m.d(Q,{_:()=>v});var t=m(9751),e=m(576);function v(D,o){const C=(0,e.m)(D)?D:()=>D,u=P=>P.error(C());return new t.y(o?P=>o.schedule(u,0,P):u)}},2805:(Ve,Q,m)=>{"use strict";m.d(Q,{H:()=>o});var t=m(9751),e=m(4986),v=m(3532),D=m(1165);function o(C=0,u,P=e.P){let d=-1;return null!=u&&((0,v.K)(u)?P=u:d=u),new t.y(S=>{let w=(0,D.q)(C)?+C-P.now():C;w<0&&(w=0);let I=0;return P.schedule(function(){S.closed||(S.next(I++),0<=d?this.schedule(void 0,d):S.complete())},w)})}},5403:(Ve,Q,m)=>{"use strict";m.d(Q,{Q:()=>v,x:()=>e});var t=m(930);function e(D,o,C,u,P){return new v(D,o,C,u,P)}class v extends t.Lv{constructor(o,C,u,P,d,S){super(o),this.onFinalize=d,this.shouldUnsubscribe=S,this._next=C?function(w){try{C(w)}catch(I){o.error(I)}}:super._next,this._error=P?function(w){try{P(w)}catch(I){o.error(I)}finally{this.unsubscribe()}}:super._error,this._complete=u?function(){try{u()}catch(w){o.error(w)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var o;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:C}=this;super.unsubscribe(),!C&&(null===(o=this.onFinalize)||void 0===o||o.call(this))}}}},3601:(Ve,Q,m)=>{"use strict";m.d(Q,{e:()=>u});var t=m(4986),e=m(4482),v=m(8421),D=m(5403),C=m(2805);function u(P,d=t.z){return function o(P){return(0,e.e)((d,S)=>{let w=!1,I=null,E=null,N=!1;const z=()=>{if(E?.unsubscribe(),E=null,w){w=!1;const W=I;I=null,S.next(W)}N&&S.complete()},G=()=>{E=null,N&&S.complete()};d.subscribe((0,D.x)(S,W=>{w=!0,I=W,E||(0,v.Xf)(P(W)).subscribe(E=(0,D.x)(S,z,G))},()=>{N=!0,(!w||!E||E.closed)&&S.complete()}))})}(()=>(0,C.H)(P,d))}},262:(Ve,Q,m)=>{"use strict";m.d(Q,{K:()=>D});var t=m(8421),e=m(5403),v=m(4482);function D(o){return(0,v.e)((C,u)=>{let S,P=null,d=!1;P=C.subscribe((0,e.x)(u,void 0,void 0,w=>{S=(0,t.Xf)(o(w,D(o)(C))),P?(P.unsubscribe(),P=null,S.subscribe(u)):d=!0})),d&&(P.unsubscribe(),P=null,S.subscribe(u))})}},4351:(Ve,Q,m)=>{"use strict";m.d(Q,{b:()=>v});var t=m(5577),e=m(576);function v(D,o){return(0,e.m)(o)?(0,t.z)(D,o,1):(0,t.z)(D,1)}},8372:(Ve,Q,m)=>{"use strict";m.d(Q,{b:()=>D});var t=m(4986),e=m(4482),v=m(5403);function D(o,C=t.z){return(0,e.e)((u,P)=>{let d=null,S=null,w=null;const I=()=>{if(d){d.unsubscribe(),d=null;const N=S;S=null,P.next(N)}};function E(){const N=w+o,z=C.now();if(z<N)return d=this.schedule(void 0,N-z),void P.add(d);I()}u.subscribe((0,v.x)(P,N=>{S=N,w=C.now(),d||(d=C.schedule(E,o),P.add(d))},()=>{I(),P.complete()},void 0,()=>{S=d=null}))})}},6590:(Ve,Q,m)=>{"use strict";m.d(Q,{d:()=>v});var t=m(4482),e=m(5403);function v(D){return(0,t.e)((o,C)=>{let u=!1;o.subscribe((0,e.x)(C,P=>{u=!0,C.next(P)},()=>{u||C.next(D),C.complete()}))})}},4086:(Ve,Q,m)=>{"use strict";m.d(Q,{g:()=>d});var t=m(4986),e=m(7272),v=m(5698),D=m(8502),o=m(9718),C=m(5577);function u(S,w){return w?I=>(0,e.z)(w.pipe((0,v.q)(1),(0,D.l)()),I.pipe(u(S))):(0,C.z)((I,E)=>S(I,E).pipe((0,v.q)(1),(0,o.h)(I)))}var P=m(2805);function d(S,w=t.z){const I=(0,P.H)(S,w);return u(()=>I)}},1884:(Ve,Q,m)=>{"use strict";m.d(Q,{x:()=>D});var t=m(4671),e=m(4482),v=m(5403);function D(C,u=t.y){return C=C??o,(0,e.e)((P,d)=>{let S,w=!0;P.subscribe((0,v.x)(d,I=>{const E=u(I);(w||!C(S,E))&&(w=!1,S=E,d.next(I))}))})}function o(C,u){return C===u}},9300:(Ve,Q,m)=>{"use strict";m.d(Q,{h:()=>v});var t=m(4482),e=m(5403);function v(D,o){return(0,t.e)((C,u)=>{let P=0;C.subscribe((0,e.x)(u,d=>D.call(o,d,P++)&&u.next(d)))})}},8746:(Ve,Q,m)=>{"use strict";m.d(Q,{x:()=>e});var t=m(4482);function e(v){return(0,t.e)((D,o)=>{try{D.subscribe(o)}finally{o.add(v)}})}},590:(Ve,Q,m)=>{"use strict";m.d(Q,{P:()=>u});var t=m(6805),e=m(9300),v=m(5698),D=m(6590),o=m(8068),C=m(4671);function u(P,d){const S=arguments.length>=2;return w=>w.pipe(P?(0,e.h)((I,E)=>P(I,E,w)):C.y,(0,v.q)(1),S?(0,D.d)(d):(0,o.T)(()=>new t.K))}},8502:(Ve,Q,m)=>{"use strict";m.d(Q,{l:()=>D});var t=m(4482),e=m(5403),v=m(5032);function D(){return(0,t.e)((o,C)=>{o.subscribe((0,e.x)(C,v.Z))})}},4004:(Ve,Q,m)=>{"use strict";m.d(Q,{U:()=>v});var t=m(4482),e=m(5403);function v(D,o){return(0,t.e)((C,u)=>{let P=0;C.subscribe((0,e.x)(u,d=>{u.next(D.call(o,d,P++))}))})}},9718:(Ve,Q,m)=>{"use strict";m.d(Q,{h:()=>e});var t=m(4004);function e(v){return(0,t.U)(()=>v)}},8189:(Ve,Q,m)=>{"use strict";m.d(Q,{J:()=>v});var t=m(5577),e=m(4671);function v(D=1/0){return(0,t.z)(e.y,D)}},5577:(Ve,Q,m)=>{"use strict";m.d(Q,{z:()=>P});var t=m(4004),e=m(8421),v=m(4482),D=m(9672),o=m(5403),u=m(576);function P(d,S,w=1/0){return(0,u.m)(S)?P((I,E)=>(0,t.U)((N,z)=>S(I,N,E,z))((0,e.Xf)(d(I,E))),w):("number"==typeof S&&(w=S),(0,v.e)((I,E)=>function C(d,S,w,I,E,N,z,G){const W=[];let Y=0,X=0,ee=!1;const ue=()=>{ee&&!W.length&&!Y&&S.complete()},he=ce=>Y<I?ie(ce):W.push(ce),ie=ce=>{N&&S.next(ce),Y++;let $=!1;(0,e.Xf)(w(ce,X++)).subscribe((0,o.x)(S,fe=>{E?.(fe),N?he(fe):S.next(fe)},()=>{$=!0},void 0,()=>{if($)try{for(Y--;W.length&&Y<I;){const fe=W.shift();z?(0,D.f)(S,z,()=>ie(fe)):ie(fe)}ue()}catch(fe){S.error(fe)}}))};return d.subscribe((0,o.x)(S,he,()=>{ee=!0,ue()})),()=>{G?.()}}(I,E,d,w)))}},5363:(Ve,Q,m)=>{"use strict";m.d(Q,{Q:()=>D});var t=m(9672),e=m(4482),v=m(5403);function D(o,C=0){return(0,e.e)((u,P)=>{u.subscribe((0,v.x)(P,d=>(0,t.f)(P,o,()=>P.next(d),C),()=>(0,t.f)(P,o,()=>P.complete(),C),d=>(0,t.f)(P,o,()=>P.error(d),C)))})}},8343:(Ve,Q,m)=>{"use strict";m.d(Q,{x:()=>v});var t=m(4482),e=m(5403);function v(){return(0,t.e)((D,o)=>{let C=null;D._refCount++;const u=(0,e.x)(o,void 0,void 0,void 0,()=>{if(!D||D._refCount<=0||0<--D._refCount)return void(C=null);const P=D._connection,d=C;C=null,P&&(!d||P===d)&&P.unsubscribe(),o.unsubscribe()});D.subscribe(u),u.closed||(C=D.connect())})}},5026:(Ve,Q,m)=>{"use strict";m.d(Q,{R:()=>D});var t=m(4482),e=m(5403);function v(o,C,u,P,d){return(S,w)=>{let I=u,E=C,N=0;S.subscribe((0,e.x)(w,z=>{const G=N++;E=I?o(E,z,G):(I=!0,z),P&&w.next(E)},d&&(()=>{I&&w.next(E),w.complete()})))}}function D(o,C){return(0,t.e)(v(o,C,arguments.length>=2,!0))}},3099:(Ve,Q,m)=>{"use strict";m.d(Q,{B:()=>o});var t=m(8421),e=m(7579),v=m(930),D=m(4482);function o(u={}){const{connector:P=(()=>new e.x),resetOnError:d=!0,resetOnComplete:S=!0,resetOnRefCountZero:w=!0}=u;return I=>{let E,N,z,G=0,W=!1,Y=!1;const X=()=>{N?.unsubscribe(),N=void 0},ee=()=>{X(),E=z=void 0,W=Y=!1},ue=()=>{const he=E;ee(),he?.unsubscribe()};return(0,D.e)((he,ie)=>{G++,!Y&&!W&&X();const ce=z=z??P();ie.add(()=>{G--,0===G&&!Y&&!W&&(N=C(ue,w))}),ce.subscribe(ie),!E&&G>0&&(E=new v.Hp({next:$=>ce.next($),error:$=>{Y=!0,X(),N=C(ee,d,$),ce.error($)},complete:()=>{W=!0,X(),N=C(ee,S),ce.complete()}}),(0,t.Xf)(he).subscribe(E))})(I)}}function C(u,P,...d){if(!0===P)return void u();if(!1===P)return;const S=new v.Hp({next:()=>{S.unsubscribe(),u()}});return P(...d).subscribe(S)}},5684:(Ve,Q,m)=>{"use strict";m.d(Q,{T:()=>e});var t=m(9300);function e(v){return(0,t.h)((D,o)=>v<=o)}},8675:(Ve,Q,m)=>{"use strict";m.d(Q,{O:()=>D});var t=m(7272),e=m(3269),v=m(4482);function D(...o){const C=(0,e.yG)(o);return(0,v.e)((u,P)=>{(C?(0,t.z)(o,u,C):(0,t.z)(o,u)).subscribe(P)})}},3900:(Ve,Q,m)=>{"use strict";m.d(Q,{w:()=>D});var t=m(8421),e=m(4482),v=m(5403);function D(o,C){return(0,e.e)((u,P)=>{let d=null,S=0,w=!1;const I=()=>w&&!d&&P.complete();u.subscribe((0,v.x)(P,E=>{d?.unsubscribe();let N=0;const z=S++;(0,t.Xf)(o(E,z)).subscribe(d=(0,v.x)(P,G=>P.next(C?C(E,G,z,N++):G),()=>{d=null,I()}))},()=>{w=!0,I()}))})}},5698:(Ve,Q,m)=>{"use strict";m.d(Q,{q:()=>D});var t=m(515),e=m(4482),v=m(5403);function D(o){return o<=0?()=>t.E:(0,e.e)((C,u)=>{let P=0;C.subscribe((0,v.x)(u,d=>{++P<=o&&(u.next(d),o<=P&&u.complete())}))})}},2722:(Ve,Q,m)=>{"use strict";m.d(Q,{R:()=>o});var t=m(4482),e=m(5403),v=m(8421),D=m(5032);function o(C){return(0,t.e)((u,P)=>{(0,v.Xf)(C).subscribe((0,e.x)(P,()=>P.complete(),D.Z)),!P.closed&&u.subscribe(P)})}},2529:(Ve,Q,m)=>{"use strict";m.d(Q,{o:()=>v});var t=m(4482),e=m(5403);function v(D,o=!1){return(0,t.e)((C,u)=>{let P=0;C.subscribe((0,e.x)(u,d=>{const S=D(d,P++);(S||o)&&u.next(d),!S&&u.complete()}))})}},8505:(Ve,Q,m)=>{"use strict";m.d(Q,{b:()=>o});var t=m(576),e=m(4482),v=m(5403),D=m(4671);function o(C,u,P){const d=(0,t.m)(C)||u||P?{next:C,error:u,complete:P}:C;return d?(0,e.e)((S,w)=>{var I;null===(I=d.subscribe)||void 0===I||I.call(d);let E=!0;S.subscribe((0,v.x)(w,N=>{var z;null===(z=d.next)||void 0===z||z.call(d,N),w.next(N)},()=>{var N;E=!1,null===(N=d.complete)||void 0===N||N.call(d),w.complete()},N=>{var z;E=!1,null===(z=d.error)||void 0===z||z.call(d,N),w.error(N)},()=>{var N,z;E&&(null===(N=d.unsubscribe)||void 0===N||N.call(d)),null===(z=d.finalize)||void 0===z||z.call(d)}))}):D.y}},8068:(Ve,Q,m)=>{"use strict";m.d(Q,{T:()=>D});var t=m(6805),e=m(4482),v=m(5403);function D(C=o){return(0,e.e)((u,P)=>{let d=!1;u.subscribe((0,v.x)(P,S=>{d=!0,P.next(S)},()=>d?P.complete():P.error(C())))})}function o(){return new t.K}},7414:(Ve,Q,m)=>{"use strict";m.d(Q,{V:()=>d});var t=m(4986),e=m(1165),v=m(4482),D=m(8421),o=m(3888),C=m(5403),u=m(9672);const P=(0,o.d)(w=>function(E=null){w(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=E});function d(w,I){const{first:E,each:N,with:z=S,scheduler:G=I??t.z,meta:W=null}=(0,e.q)(w)?{first:w}:"number"==typeof w?{each:w}:w;if(null==E&&null==N)throw new TypeError("No timeout provided.");return(0,v.e)((Y,X)=>{let ee,ue,he=null,ie=0;const ce=$=>{ue=(0,u.f)(X,G,()=>{try{ee.unsubscribe(),(0,D.Xf)(z({meta:W,lastValue:he,seen:ie})).subscribe(X)}catch(fe){X.error(fe)}},$)};ee=Y.subscribe((0,C.x)(X,$=>{ue?.unsubscribe(),ie++,X.next(he=$),N>0&&ce(N)},void 0,void 0,()=>{ue?.closed||ue?.unsubscribe(),he=null})),!ie&&ce(null!=E?"number"==typeof E?E:+E-G.now():N)})}function S(w){throw new P(w)}},1365:(Ve,Q,m)=>{"use strict";m.d(Q,{M:()=>u});var t=m(4482),e=m(5403),v=m(8421),D=m(4671),o=m(5032),C=m(3269);function u(...P){const d=(0,C.jO)(P);return(0,t.e)((S,w)=>{const I=P.length,E=new Array(I);let N=P.map(()=>!1),z=!1;for(let G=0;G<I;G++)(0,v.Xf)(P[G]).subscribe((0,e.x)(w,W=>{E[G]=W,!z&&!N[G]&&(N[G]=!0,(z=N.every(D.y))&&(N=null))},o.Z));S.subscribe((0,e.x)(w,G=>{if(z){const W=[G,...E];w.next(d?d(...W):W)}}))})}},4408:(Ve,Q,m)=>{"use strict";m.d(Q,{o:()=>o});var t=m(727);class e extends t.w0{constructor(u,P){super()}schedule(u,P=0){return this}}const v={setInterval(C,u,...P){const{delegate:d}=v;return d?.setInterval?d.setInterval(C,u,...P):setInterval(C,u,...P)},clearInterval(C){const{delegate:u}=v;return(u?.clearInterval||clearInterval)(C)},delegate:void 0};var D=m(8737);class o extends e{constructor(u,P){super(u,P),this.scheduler=u,this.work=P,this.pending=!1}schedule(u,P=0){var d;if(this.closed)return this;this.state=u;const S=this.id,w=this.scheduler;return null!=S&&(this.id=this.recycleAsyncId(w,S,P)),this.pending=!0,this.delay=P,this.id=null!==(d=this.id)&&void 0!==d?d:this.requestAsyncId(w,this.id,P),this}requestAsyncId(u,P,d=0){return v.setInterval(u.flush.bind(u,this),d)}recycleAsyncId(u,P,d=0){if(null!=d&&this.delay===d&&!1===this.pending)return P;null!=P&&v.clearInterval(P)}execute(u,P){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(u,P);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(u,P){let S,d=!1;try{this.work(u)}catch(w){d=!0,S=w||new Error("Scheduled action threw falsy error")}if(d)return this.unsubscribe(),S}unsubscribe(){if(!this.closed){const{id:u,scheduler:P}=this,{actions:d}=P;this.work=this.state=this.scheduler=null,this.pending=!1,(0,D.P)(d,this),null!=u&&(this.id=this.recycleAsyncId(P,u,null)),this.delay=null,super.unsubscribe()}}}},7565:(Ve,Q,m)=>{"use strict";m.d(Q,{v:()=>v});var t=m(6063);class e{constructor(o,C=e.now){this.schedulerActionCtor=o,this.now=C}schedule(o,C=0,u){return new this.schedulerActionCtor(this,o).schedule(u,C)}}e.now=t.l.now;class v extends e{constructor(o,C=e.now){super(o,C),this.actions=[],this._active=!1}flush(o){const{actions:C}=this;if(this._active)return void C.push(o);let u;this._active=!0;do{if(u=o.execute(o.state,o.delay))break}while(o=C.shift());if(this._active=!1,u){for(;o=C.shift();)o.unsubscribe();throw u}}}},3101:(Ve,Q,m)=>{"use strict";m.d(Q,{E:()=>N});var t=m(4408);let v,e=1;const D={};function o(G){return G in D&&(delete D[G],!0)}const C={setImmediate(G){const W=e++;return D[W]=!0,v||(v=Promise.resolve()),v.then(()=>o(W)&&G()),W},clearImmediate(G){o(G)}},{setImmediate:P,clearImmediate:d}=C,S={setImmediate(...G){const{delegate:W}=S;return(W?.setImmediate||P)(...G)},clearImmediate(G){const{delegate:W}=S;return(W?.clearImmediate||d)(G)},delegate:void 0};var I=m(7565);const N=new class E extends I.v{flush(W){this._active=!0;const Y=this._scheduled;this._scheduled=void 0;const{actions:X}=this;let ee;W=W||X.shift();do{if(ee=W.execute(W.state,W.delay))break}while((W=X[0])&&W.id===Y&&X.shift());if(this._active=!1,ee){for(;(W=X[0])&&W.id===Y&&X.shift();)W.unsubscribe();throw ee}}}(class w extends t.o{constructor(W,Y){super(W,Y),this.scheduler=W,this.work=Y}requestAsyncId(W,Y,X=0){return null!==X&&X>0?super.requestAsyncId(W,Y,X):(W.actions.push(this),W._scheduled||(W._scheduled=S.setImmediate(W.flush.bind(W,void 0))))}recycleAsyncId(W,Y,X=0){var ee;if(null!=X?X>0:this.delay>0)return super.recycleAsyncId(W,Y,X);const{actions:ue}=W;null!=Y&&(null===(ee=ue[ue.length-1])||void 0===ee?void 0:ee.id)!==Y&&(S.clearImmediate(Y),W._scheduled=void 0)}})},4986:(Ve,Q,m)=>{"use strict";m.d(Q,{P:()=>D,z:()=>v});var t=m(4408);const v=new(m(7565).v)(t.o),D=v},6063:(Ve,Q,m)=>{"use strict";m.d(Q,{l:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},233:(Ve,Q,m)=>{"use strict";m.d(Q,{N:()=>o});var t=m(4408),v=m(7565);const o=new class D extends v.v{}(class e extends t.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,S=0){return null!=S&&S>0||null==S&&this.delay>0?super.requestAsyncId(P,d,S):(P.flush(this),0)}})},3410:(Ve,Q,m)=>{"use strict";m.d(Q,{z:()=>t});const t={setTimeout(e,v,...D){const{delegate:o}=t;return o?.setTimeout?o.setTimeout(e,v,...D):setTimeout(e,v,...D)},clearTimeout(e){const{delegate:v}=t;return(v?.clearTimeout||clearTimeout)(e)},delegate:void 0}},2202:(Ve,Q,m)=>{"use strict";m.d(Q,{h:()=>e});const e=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Ve,Q,m)=>{"use strict";m.d(Q,{L:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(Ve,Q,m)=>{"use strict";m.d(Q,{K:()=>e});const e=(0,m(3888).d)(v=>function(){v(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(Ve,Q,m)=>{"use strict";m.d(Q,{_6:()=>C,jO:()=>D,yG:()=>o});var t=m(576),e=m(3532);function v(u){return u[u.length-1]}function D(u){return(0,t.m)(v(u))?u.pop():void 0}function o(u){return(0,e.K)(v(u))?u.pop():void 0}function C(u,P){return"number"==typeof v(u)?u.pop():P}},4742:(Ve,Q,m)=>{"use strict";m.d(Q,{D:()=>o});const{isArray:t}=Array,{getPrototypeOf:e,prototype:v,keys:D}=Object;function o(u){if(1===u.length){const P=u[0];if(t(P))return{args:P,keys:null};if(function C(u){return u&&"object"==typeof u&&e(u)===v}(P)){const d=D(P);return{args:d.map(S=>P[S]),keys:d}}}return{args:u,keys:null}}},8737:(Ve,Q,m)=>{"use strict";function t(e,v){if(e){const D=e.indexOf(v);0<=D&&e.splice(D,1)}}m.d(Q,{P:()=>t})},3888:(Ve,Q,m)=>{"use strict";function t(e){const D=e(o=>{Error.call(o),o.stack=(new Error).stack});return D.prototype=Object.create(Error.prototype),D.prototype.constructor=D,D}m.d(Q,{d:()=>t})},1810:(Ve,Q,m)=>{"use strict";function t(e,v){return e.reduce((D,o,C)=>(D[o]=v[C],D),{})}m.d(Q,{n:()=>t})},2806:(Ve,Q,m)=>{"use strict";m.d(Q,{O:()=>D,x:()=>v});var t=m(2416);let e=null;function v(o){if(t.v.useDeprecatedSynchronousErrorHandling){const C=!e;if(C&&(e={errorThrown:!1,error:null}),o(),C){const{errorThrown:u,error:P}=e;if(e=null,u)throw P}}else o()}function D(o){t.v.useDeprecatedSynchronousErrorHandling&&e&&(e.errorThrown=!0,e.error=o)}},9672:(Ve,Q,m)=>{"use strict";function t(e,v,D,o=0,C=!1){const u=v.schedule(function(){D(),C?e.add(this.schedule(null,o)):this.unsubscribe()},o);if(e.add(u),!C)return u}m.d(Q,{f:()=>t})},4671:(Ve,Q,m)=>{"use strict";function t(e){return e}m.d(Q,{y:()=>t})},1144:(Ve,Q,m)=>{"use strict";m.d(Q,{z:()=>t});const t=e=>e&&"number"==typeof e.length&&"function"!=typeof e},2206:(Ve,Q,m)=>{"use strict";m.d(Q,{D:()=>e});var t=m(576);function e(v){return Symbol.asyncIterator&&(0,t.m)(v?.[Symbol.asyncIterator])}},1165:(Ve,Q,m)=>{"use strict";function t(e){return e instanceof Date&&!isNaN(e)}m.d(Q,{q:()=>t})},576:(Ve,Q,m)=>{"use strict";function t(e){return"function"==typeof e}m.d(Q,{m:()=>t})},3670:(Ve,Q,m)=>{"use strict";m.d(Q,{c:()=>v});var t=m(8822),e=m(576);function v(D){return(0,e.m)(D[t.L])}},6495:(Ve,Q,m)=>{"use strict";m.d(Q,{T:()=>v});var t=m(2202),e=m(576);function v(D){return(0,e.m)(D?.[t.h])}},5191:(Ve,Q,m)=>{"use strict";m.d(Q,{b:()=>v});var t=m(9751),e=m(576);function v(D){return!!D&&(D instanceof t.y||(0,e.m)(D.lift)&&(0,e.m)(D.subscribe))}},8239:(Ve,Q,m)=>{"use strict";m.d(Q,{t:()=>e});var t=m(576);function e(v){return(0,t.m)(v?.then)}},3260:(Ve,Q,m)=>{"use strict";m.d(Q,{L:()=>D,Q:()=>v});var t=m(655),e=m(576);function v(o){return(0,t.FC)(this,arguments,function*(){const u=o.getReader();try{for(;;){const{value:P,done:d}=yield(0,t.qq)(u.read());if(d)return yield(0,t.qq)(void 0);yield yield(0,t.qq)(P)}}finally{u.releaseLock()}})}function D(o){return(0,e.m)(o?.getReader)}},3532:(Ve,Q,m)=>{"use strict";m.d(Q,{K:()=>e});var t=m(576);function e(v){return v&&(0,t.m)(v.schedule)}},4482:(Ve,Q,m)=>{"use strict";m.d(Q,{A:()=>e,e:()=>v});var t=m(576);function e(D){return(0,t.m)(D?.lift)}function v(D){return o=>{if(e(o))return o.lift(function(C){try{return D(C,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Ve,Q,m)=>{"use strict";m.d(Q,{Z:()=>D});var t=m(4004);const{isArray:e}=Array;function D(o){return(0,t.U)(C=>function v(o,C){return e(C)?o(...C):o(C)}(o,C))}},5032:(Ve,Q,m)=>{"use strict";function t(){}m.d(Q,{Z:()=>t})},9635:(Ve,Q,m)=>{"use strict";m.d(Q,{U:()=>v,z:()=>e});var t=m(4671);function e(...D){return v(D)}function v(D){return 0===D.length?t.y:1===D.length?D[0]:function(C){return D.reduce((u,P)=>P(u),C)}}},7849:(Ve,Q,m)=>{"use strict";m.d(Q,{h:()=>v});var t=m(2416),e=m(3410);function v(D){e.z.setTimeout(()=>{const{onUnhandledError:o}=t.v;if(!o)throw D;o(D)})}},4532:(Ve,Q,m)=>{"use strict";function t(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}m.d(Q,{z:()=>t})},3502:(Ve,Q,m)=>{var t=m(3172),e=t.Buffer;function v(o,C){for(var u in o)C[u]=o[u]}function D(o,C,u){return e(o,C,u)}e.from&&e.alloc&&e.allocUnsafe&&e.allocUnsafeSlow?Ve.exports=t:(v(t,Q),Q.Buffer=D),D.prototype=Object.create(e.prototype),v(e,D),D.from=function(o,C,u){if("number"==typeof o)throw new TypeError("Argument must not be a number");return e(o,C,u)},D.alloc=function(o,C,u){if("number"!=typeof o)throw new TypeError("Argument must be a number");var P=e(o);return void 0!==C?"string"==typeof u?P.fill(C,u):P.fill(C):P.fill(0),P},D.allocUnsafe=function(o){if("number"!=typeof o)throw new TypeError("Argument must be a number");return e(o)},D.allocUnsafeSlow=function(o){if("number"!=typeof o)throw new TypeError("Argument must be a number");return t.SlowBuffer(o)}},2038:(Ve,Q,m)=>{"use strict";var D,t=m(3172),e=t.Buffer,v={};for(D in t)!t.hasOwnProperty(D)||"SlowBuffer"===D||"Buffer"===D||(v[D]=t[D]);var o=v.Buffer={};for(D in e)!e.hasOwnProperty(D)||"allocUnsafe"===D||"allocUnsafeSlow"===D||(o[D]=e[D]);if(v.Buffer.prototype=e.prototype,(!o.from||o.from===Uint8Array.from)&&(o.from=function(C,u,P){if("number"==typeof C)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof C);if(C&&typeof C.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof C);return e(C,u,P)}),o.alloc||(o.alloc=function(C,u,P){if("number"!=typeof C)throw new TypeError('The "size" argument must be of type number. Received type '+typeof C);if(C<0||C>=2*(1<<30))throw new RangeError('The value "'+C+'" is invalid for option "size"');var d=e(C);return u&&0!==u.length?"string"==typeof P?d.fill(u,P):d.fill(u):d.fill(0),d}),!v.kStringMaxLength)try{v.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}v.constants||(v.constants={MAX_LENGTH:v.kMaxLength},v.kStringMaxLength&&(v.constants.MAX_STRING_LENGTH=v.kStringMaxLength)),Ve.exports=v},6692:(Ve,Q,m)=>{var t=m(3502).Buffer;function e(v,D){this._block=t.alloc(v),this._finalSize=D,this._blockSize=v,this._len=0}e.prototype.update=function(v,D){"string"==typeof v&&(v=t.from(v,D=D||"utf8"));for(var o=this._block,C=this._blockSize,u=v.length,P=this._len,d=0;d<u;){for(var S=P%C,w=Math.min(u-d,C-S),I=0;I<w;I++)o[S+I]=v[d+I];d+=w,(P+=w)%C==0&&this._update(o)}return this._len+=u,this},e.prototype.digest=function(v){var D=this._len%this._blockSize;this._block[D]=128,this._block.fill(0,D+1),D>=this._finalSize&&(this._update(this._block),this._block.fill(0));var o=8*this._len;if(o<=4294967295)this._block.writeUInt32BE(o,this._blockSize-4);else{var C=(4294967295&o)>>>0;this._block.writeUInt32BE((o-C)/4294967296,this._blockSize-8),this._block.writeUInt32BE(C,this._blockSize-4)}this._update(this._block);var P=this._hash();return v?P.toString(v):P},e.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Ve.exports=e},5244:(Ve,Q,m)=>{var t=Ve.exports=function(v){v=v.toLowerCase();var D=t[v];if(!D)throw new Error(v+" is not supported (we accept pull requests)");return new D};t.sha=m(8932),t.sha1=m(7736),t.sha224=m(5044),t.sha256=m(5014),t.sha384=m(6540),t.sha512=m(117)},8932:(Ve,Q,m)=>{var t=m(3894),e=m(6692),v=m(3502).Buffer,D=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function C(){this.init(),this._w=o,e.call(this,64,56)}function u(S){return S<<5|S>>>27}function P(S){return S<<30|S>>>2}function d(S,w,I,E){return 0===S?w&I|~w&E:2===S?w&I|w&E|I&E:w^I^E}t(C,e),C.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},C.prototype._update=function(S){for(var w=this._w,I=0|this._a,E=0|this._b,N=0|this._c,z=0|this._d,G=0|this._e,W=0;W<16;++W)w[W]=S.readInt32BE(4*W);for(;W<80;++W)w[W]=w[W-3]^w[W-8]^w[W-14]^w[W-16];for(var Y=0;Y<80;++Y){var X=~~(Y/20),ee=u(I)+d(X,E,N,z)+G+w[Y]+D[X]|0;G=z,z=N,N=P(E),E=I,I=ee}this._a=I+this._a|0,this._b=E+this._b|0,this._c=N+this._c|0,this._d=z+this._d|0,this._e=G+this._e|0},C.prototype._hash=function(){var S=v.allocUnsafe(20);return S.writeInt32BE(0|this._a,0),S.writeInt32BE(0|this._b,4),S.writeInt32BE(0|this._c,8),S.writeInt32BE(0|this._d,12),S.writeInt32BE(0|this._e,16),S},Ve.exports=C},7736:(Ve,Q,m)=>{var t=m(3894),e=m(6692),v=m(3502).Buffer,D=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function C(){this.init(),this._w=o,e.call(this,64,56)}function u(w){return w<<1|w>>>31}function P(w){return w<<5|w>>>27}function d(w){return w<<30|w>>>2}function S(w,I,E,N){return 0===w?I&E|~I&N:2===w?I&E|I&N|E&N:I^E^N}t(C,e),C.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},C.prototype._update=function(w){for(var I=this._w,E=0|this._a,N=0|this._b,z=0|this._c,G=0|this._d,W=0|this._e,Y=0;Y<16;++Y)I[Y]=w.readInt32BE(4*Y);for(;Y<80;++Y)I[Y]=u(I[Y-3]^I[Y-8]^I[Y-14]^I[Y-16]);for(var X=0;X<80;++X){var ee=~~(X/20),ue=P(E)+S(ee,N,z,G)+W+I[X]+D[ee]|0;W=G,G=z,z=d(N),N=E,E=ue}this._a=E+this._a|0,this._b=N+this._b|0,this._c=z+this._c|0,this._d=G+this._d|0,this._e=W+this._e|0},C.prototype._hash=function(){var w=v.allocUnsafe(20);return w.writeInt32BE(0|this._a,0),w.writeInt32BE(0|this._b,4),w.writeInt32BE(0|this._c,8),w.writeInt32BE(0|this._d,12),w.writeInt32BE(0|this._e,16),w},Ve.exports=C},5044:(Ve,Q,m)=>{var t=m(3894),e=m(5014),v=m(6692),D=m(3502).Buffer,o=new Array(64);function C(){this.init(),this._w=o,v.call(this,64,56)}t(C,e),C.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},C.prototype._hash=function(){var u=D.allocUnsafe(28);return u.writeInt32BE(this._a,0),u.writeInt32BE(this._b,4),u.writeInt32BE(this._c,8),u.writeInt32BE(this._d,12),u.writeInt32BE(this._e,16),u.writeInt32BE(this._f,20),u.writeInt32BE(this._g,24),u},Ve.exports=C},5014:(Ve,Q,m)=>{var t=m(3894),e=m(6692),v=m(3502).Buffer,D=[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],o=new Array(64);function C(){this.init(),this._w=o,e.call(this,64,56)}function u(E,N,z){return z^E&(N^z)}function P(E,N,z){return E&N|z&(E|N)}function d(E){return(E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10)}function S(E){return(E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7)}function w(E){return(E>>>7|E<<25)^(E>>>18|E<<14)^E>>>3}function I(E){return(E>>>17|E<<15)^(E>>>19|E<<13)^E>>>10}t(C,e),C.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},C.prototype._update=function(E){for(var N=this._w,z=0|this._a,G=0|this._b,W=0|this._c,Y=0|this._d,X=0|this._e,ee=0|this._f,ue=0|this._g,he=0|this._h,ie=0;ie<16;++ie)N[ie]=E.readInt32BE(4*ie);for(;ie<64;++ie)N[ie]=I(N[ie-2])+N[ie-7]+w(N[ie-15])+N[ie-16]|0;for(var ce=0;ce<64;++ce){var $=he+S(X)+u(X,ee,ue)+D[ce]+N[ce]|0,fe=d(z)+P(z,G,W)|0;he=ue,ue=ee,ee=X,X=Y+$|0,Y=W,W=G,G=z,z=$+fe|0}this._a=z+this._a|0,this._b=G+this._b|0,this._c=W+this._c|0,this._d=Y+this._d|0,this._e=X+this._e|0,this._f=ee+this._f|0,this._g=ue+this._g|0,this._h=he+this._h|0},C.prototype._hash=function(){var E=v.allocUnsafe(32);return E.writeInt32BE(this._a,0),E.writeInt32BE(this._b,4),E.writeInt32BE(this._c,8),E.writeInt32BE(this._d,12),E.writeInt32BE(this._e,16),E.writeInt32BE(this._f,20),E.writeInt32BE(this._g,24),E.writeInt32BE(this._h,28),E},Ve.exports=C},6540:(Ve,Q,m)=>{var t=m(3894),e=m(117),v=m(6692),D=m(3502).Buffer,o=new Array(160);function C(){this.init(),this._w=o,v.call(this,128,112)}t(C,e),C.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},C.prototype._hash=function(){var u=D.allocUnsafe(48);function P(d,S,w){u.writeInt32BE(d,w),u.writeInt32BE(S,w+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),u},Ve.exports=C},117:(Ve,Q,m)=>{var t=m(3894),e=m(6692),v=m(3502).Buffer,D=[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],o=new Array(160);function C(){this.init(),this._w=o,e.call(this,128,112)}function u(G,W,Y){return Y^G&(W^Y)}function P(G,W,Y){return G&W|Y&(G|W)}function d(G,W){return(G>>>28|W<<4)^(W>>>2|G<<30)^(W>>>7|G<<25)}function S(G,W){return(G>>>14|W<<18)^(G>>>18|W<<14)^(W>>>9|G<<23)}function w(G,W){return(G>>>1|W<<31)^(G>>>8|W<<24)^G>>>7}function I(G,W){return(G>>>1|W<<31)^(G>>>8|W<<24)^(G>>>7|W<<25)}function E(G,W){return(G>>>19|W<<13)^(W>>>29|G<<3)^G>>>6}function N(G,W){return(G>>>19|W<<13)^(W>>>29|G<<3)^(G>>>6|W<<26)}function z(G,W){return G>>>0<W>>>0?1:0}t(C,e),C.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},C.prototype._update=function(G){for(var W=this._w,Y=0|this._ah,X=0|this._bh,ee=0|this._ch,ue=0|this._dh,he=0|this._eh,ie=0|this._fh,ce=0|this._gh,$=0|this._hh,fe=0|this._al,T=0|this._bl,i=0|this._cl,r=0|this._dl,h=0|this._el,l=0|this._fl,y=0|this._gl,A=0|this._hl,k=0;k<32;k+=2)W[k]=G.readInt32BE(4*k),W[k+1]=G.readInt32BE(4*k+4);for(;k<160;k+=2){var g=W[k-30],n=W[k-30+1],b=w(g,n),U=I(n,g),V=E(g=W[k-4],n=W[k-4+1]),j=N(n,g),qe=W[k-32],ct=W[k-32+1],Ie=U+W[k-14+1]|0,xe=b+W[k-14]+z(Ie,U)|0;xe=(xe=xe+V+z(Ie=Ie+j|0,j)|0)+qe+z(Ie=Ie+ct|0,ct)|0,W[k]=xe,W[k+1]=Ie}for(var le=0;le<160;le+=2){xe=W[le],Ie=W[le+1];var _e=P(Y,X,ee),se=P(fe,T,i),Ye=d(Y,fe),Te=d(fe,Y),oe=S(he,h),be=S(h,he),te=D[le],Ue=D[le+1],Be=u(he,ie,ce),q=u(h,l,y),de=A+be|0,Ce=$+oe+z(de,A)|0;Ce=(Ce=(Ce=Ce+Be+z(de=de+q|0,q)|0)+te+z(de=de+Ue|0,Ue)|0)+xe+z(de=de+Ie|0,Ie)|0;var ke=Te+se|0,ht=Ye+_e+z(ke,Te)|0;$=ce,A=y,ce=ie,y=l,ie=he,l=h,he=ue+Ce+z(h=r+de|0,r)|0,ue=ee,r=i,ee=X,i=T,X=Y,T=fe,Y=Ce+ht+z(fe=de+ke|0,de)|0}this._al=this._al+fe|0,this._bl=this._bl+T|0,this._cl=this._cl+i|0,this._dl=this._dl+r|0,this._el=this._el+h|0,this._fl=this._fl+l|0,this._gl=this._gl+y|0,this._hl=this._hl+A|0,this._ah=this._ah+Y+z(this._al,fe)|0,this._bh=this._bh+X+z(this._bl,T)|0,this._ch=this._ch+ee+z(this._cl,i)|0,this._dh=this._dh+ue+z(this._dl,r)|0,this._eh=this._eh+he+z(this._el,h)|0,this._fh=this._fh+ie+z(this._fl,l)|0,this._gh=this._gh+ce+z(this._gl,y)|0,this._hh=this._hh+$+z(this._hl,A)|0},C.prototype._hash=function(){var G=v.allocUnsafe(64);function W(Y,X,ee){G.writeInt32BE(Y,ee),G.writeInt32BE(X,ee+4)}return W(this._ah,this._al,0),W(this._bh,this._bl,8),W(this._ch,this._cl,16),W(this._dh,this._dl,24),W(this._eh,this._el,32),W(this._fh,this._fl,40),W(this._gh,this._gl,48),W(this._hh,this._hl,56),G},Ve.exports=C},8012:function(Ve,Q,m){!function(t){"use strict";var e={};Ve.exports?(e.bytesToHex=m(6128).bytesToHex,e.convertString=m(5612),Ve.exports=P):(e.bytesToHex=t.convertHex.bytesToHex,e.convertString=t.convertString,t.sha256=P);var v=[];!function(){function d(E){for(var N=Math.sqrt(E),z=2;z<=N;z++)if(!(E%z))return!1;return!0}for(var w=2,I=0;I<64;)d(w)&&(v[I]=4294967296*((E=Math.pow(w,1/3))-(0|E))|0,I++),w++;var E}();var C=[],u=function(d,S,w){for(var I=d[0],E=d[1],N=d[2],z=d[3],G=d[4],W=d[5],Y=d[6],X=d[7],ee=0;ee<64;ee++){if(ee<16)C[ee]=0|S[w+ee];else{var ue=C[ee-15],ie=C[ee-2];C[ee]=((ue<<25|ue>>>7)^(ue<<14|ue>>>18)^ue>>>3)+C[ee-7]+((ie<<15|ie>>>17)^(ie<<13|ie>>>19)^ie>>>10)+C[ee-16]}var fe=I&E^I&N^E&N,r=X+((G<<26|G>>>6)^(G<<21|G>>>11)^(G<<7|G>>>25))+(G&W^~G&Y)+v[ee]+C[ee];X=Y,Y=W,W=G,G=z+r|0,z=N,N=E,E=I,I=r+(((I<<30|I>>>2)^(I<<19|I>>>13)^(I<<10|I>>>22))+fe)|0}d[0]=d[0]+I|0,d[1]=d[1]+E|0,d[2]=d[2]+N|0,d[3]=d[3]+z|0,d[4]=d[4]+G|0,d[5]=d[5]+W|0,d[6]=d[6]+Y|0,d[7]=d[7]+X|0};function P(d,S){d.constructor===String&&(d=e.convertString.UTF8.stringToBytes(d));var w=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],I=function(d){for(var S=[],w=0,I=0;w<d.length;w++,I+=8)S[I>>>5]|=d[w]<<24-I%32;return S}(d),E=8*d.length;I[E>>5]|=128<<24-E%32,I[15+(E+64>>9<<4)]=E;for(var N=0;N<I.length;N+=16)u(w,I,N);var z=function(d){for(var S=[],w=0;w<32*d.length;w+=8)S.push(d[w>>>5]>>>24-w%32&255);return S}(w);return S&&S.asBytes?z:S&&S.asString?e.convertString.bytesToString(z):e.bytesToHex(z)}P.x2=function(d,S){return P(P(d,{asBytes:!0}),S)}}(this)},295:(Ve,Q,m)=>{Ve.exports=v;var t=m(9069).EventEmitter;function v(){t.call(this)}m(3894)(v,t),v.Readable=m(3154),v.Writable=m(520),v.Duplex=m(1339),v.Transform=m(6025),v.PassThrough=m(6071),v.finished=m(7542),v.pipeline=m(954),v.Stream=v,v.prototype.pipe=function(D,o){var C=this;function u(N){D.writable&&!1===D.write(N)&&C.pause&&C.pause()}function P(){C.readable&&C.resume&&C.resume()}C.on("data",u),D.on("drain",P),!D._isStdio&&(!o||!1!==o.end)&&(C.on("end",S),C.on("close",w));var d=!1;function S(){d||(d=!0,D.end())}function w(){d||(d=!0,"function"==typeof D.destroy&&D.destroy())}function I(N){if(E(),0===t.listenerCount(this,"error"))throw N}function E(){C.removeListener("data",u),D.removeListener("drain",P),C.removeListener("end",S),C.removeListener("close",w),C.removeListener("error",I),D.removeListener("error",I),C.removeListener("end",E),C.removeListener("close",E),D.removeListener("close",E)}return C.on("error",I),D.on("error",I),C.on("end",E),C.on("close",E),D.on("close",E),D.emit("pipe",C),D}},3054:(Ve,Q,m)=>{"use strict";var t=m(3502).Buffer,e=t.isEncoding||function(Y){switch((Y=""+Y)&&Y.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 o(Y){var X;switch(this.encoding=function D(Y){var X=function v(Y){if(!Y)return"utf8";for(var X;;)switch(Y){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 Y;default:if(X)return;Y=(""+Y).toLowerCase(),X=!0}}(Y);if("string"!=typeof X&&(t.isEncoding===e||!e(Y)))throw new Error("Unknown encoding: "+Y);return X||Y}(Y),this.encoding){case"utf16le":this.text=I,this.end=E,X=4;break;case"utf8":this.fillLast=d,X=4;break;case"base64":this.text=N,this.end=z,X=3;break;default:return this.write=G,void(this.end=W)}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(X)}function C(Y){return Y<=127?0:Y>>5==6?2:Y>>4==14?3:Y>>3==30?4:Y>>6==2?-1:-2}function d(Y){var X=this.lastTotal-this.lastNeed,ee=function P(Y,X,ee){if(128!=(192&X[0]))return Y.lastNeed=0,"\ufffd";if(Y.lastNeed>1&&X.length>1){if(128!=(192&X[1]))return Y.lastNeed=1,"\ufffd";if(Y.lastNeed>2&&X.length>2&&128!=(192&X[2]))return Y.lastNeed=2,"\ufffd"}}(this,Y);return void 0!==ee?ee:this.lastNeed<=Y.length?(Y.copy(this.lastChar,X,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(Y.copy(this.lastChar,X,0,Y.length),void(this.lastNeed-=Y.length))}function I(Y,X){if((Y.length-X)%2==0){var ee=Y.toString("utf16le",X);if(ee){var ue=ee.charCodeAt(ee.length-1);if(ue>=55296&&ue<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Y[Y.length-2],this.lastChar[1]=Y[Y.length-1],ee.slice(0,-1)}return ee}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Y[Y.length-1],Y.toString("utf16le",X,Y.length-1)}function E(Y){var X=Y&&Y.length?this.write(Y):"";return this.lastNeed?X+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):X}function N(Y,X){var ee=(Y.length-X)%3;return 0===ee?Y.toString("base64",X):(this.lastNeed=3-ee,this.lastTotal=3,1===ee?this.lastChar[0]=Y[Y.length-1]:(this.lastChar[0]=Y[Y.length-2],this.lastChar[1]=Y[Y.length-1]),Y.toString("base64",X,Y.length-ee))}function z(Y){var X=Y&&Y.length?this.write(Y):"";return this.lastNeed?X+this.lastChar.toString("base64",0,3-this.lastNeed):X}function G(Y){return Y.toString(this.encoding)}function W(Y){return Y&&Y.length?this.write(Y):""}Q.s=o,o.prototype.write=function(Y){if(0===Y.length)return"";var X,ee;if(this.lastNeed){if(void 0===(X=this.fillLast(Y)))return"";ee=this.lastNeed,this.lastNeed=0}else ee=0;return ee<Y.length?X?X+this.text(Y,ee):this.text(Y,ee):X||""},o.prototype.end=function w(Y){var X=Y&&Y.length?this.write(Y):"";return this.lastNeed?X+"\ufffd":X},o.prototype.text=function S(Y,X){var ee=function u(Y,X,ee){var ue=X.length-1;if(ue<ee)return 0;var he=C(X[ue]);return he>=0?(he>0&&(Y.lastNeed=he-1),he):--ue<ee||-2===he?0:(he=C(X[ue]))>=0?(he>0&&(Y.lastNeed=he-2),he):--ue<ee||-2===he?0:(he=C(X[ue]))>=0?(he>0&&(2===he?he=0:Y.lastNeed=he-3),he):0}(this,Y,X);if(!this.lastNeed)return Y.toString("utf8",X);this.lastTotal=ee;var ue=Y.length-(ee-this.lastNeed);return Y.copy(this.lastChar,0,ue),Y.toString("utf8",X,ue)},o.prototype.fillLast=function(Y){if(this.lastNeed<=Y.length)return Y.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Y.copy(this.lastChar,this.lastTotal-this.lastNeed,0,Y.length),this.lastNeed-=Y.length}},2167:(Ve,Q,m)=>{var t=m(4606);Q.encode=t.encode,Q.decode=t.decode},4606:(Ve,Q)=>{"use strict";var t=[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(v){Buffer.isBuffer(v)||(v=new Buffer(v));for(var D=0,o=0,C=0,u=0,P=new Buffer(8*function e(v){var D=Math.floor(v.length/5);return v.length%5==0?D:D+1}(v));D<v.length;){var d=v[D];C>3?(u=(u=d&255>>C)<<(C=(C+5)%8)|(D+1<v.length?v[D+1]:0)>>8-C,D++):(u=d>>8-(C+5)&31,0==(C=(C+5)%8)&&D++),P[o]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(u),o++}for(D=o;D<P.length;D++)P[D]=61;return P},Q.decode=function(v){var C,D=0,o=0,u=0;Buffer.isBuffer(v)||(v=new Buffer(v));for(var P=new Buffer(Math.ceil(5*v.length/8)),d=0;d<v.length&&61!==v[d];d++){var S=v[d]-48;if(!(S<t.length))throw new Error("Invalid input - it is not base32 encoded string");o=t[S],D<=3?0==(D=(D+5)%8)?(P[u]=C|=o,u++,C=0):C|=255&o<<8-D:(P[u]=C|=255&o>>>(D=(D+5)%8),u++,C=255&o<<8-D)}return P.slice(0,u)}},4364:Ve=>{function m(t){try{if(!global.localStorage)return!1}catch{return!1}var e=global.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}Ve.exports=function Q(t,e){if(m("noDeprecation"))return t;var v=!1;return function D(){if(!v){if(m("throwDeprecation"))throw new Error(e);m("traceDeprecation")?console.trace(e):console.warn(e),v=!0}return t.apply(this,arguments)}}},655:(Ve,Q,m)=>{"use strict";function o(i,r,h,l){var k,y=arguments.length,A=y<3?r:null===l?l=Object.getOwnPropertyDescriptor(r,h):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)A=Reflect.decorate(i,r,h,l);else for(var g=i.length-1;g>=0;g--)(k=i[g])&&(A=(y<3?k(A):y>3?k(r,h,A):k(r,h))||A);return y>3&&A&&Object.defineProperty(r,h,A),A}function P(i,r,h,l){return new(h||(h=Promise))(function(A,k){function g(U){try{b(l.next(U))}catch(V){k(V)}}function n(U){try{b(l.throw(U))}catch(V){k(V)}}function b(U){U.done?A(U.value):function y(A){return A instanceof h?A:new h(function(k){k(A)})}(U.value).then(g,n)}b((l=l.apply(i,r||[])).next())})}function W(i){return this instanceof W?(this.v=i,this):new W(i)}function Y(i,r,h){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var y,l=h.apply(i,r||[]),A=[];return y={},k("next"),k("throw"),k("return"),y[Symbol.asyncIterator]=function(){return this},y;function k(j){l[j]&&(y[j]=function(Ae){return new Promise(function(Ke,qe){A.push([j,Ae,Ke,qe])>1||g(j,Ae)})})}function g(j,Ae){try{!function n(j){j.value instanceof W?Promise.resolve(j.value.v).then(b,U):V(A[0][2],j)}(l[j](Ae))}catch(Ke){V(A[0][3],Ke)}}function b(j){g("next",j)}function U(j){g("throw",j)}function V(j,Ae){j(Ae),A.shift(),A.length&&g(A[0][0],A[0][1])}}function ee(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var h,r=i[Symbol.asyncIterator];return r?r.call(i):(i=function I(i){var r="function"==typeof Symbol&&Symbol.iterator,h=r&&i[r],l=0;if(h)return h.call(i);if(i&&"number"==typeof i.length)return{next:function(){return i&&l>=i.length&&(i=void 0),{value:i&&i[l++],done:!i}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),h={},l("next"),l("throw"),l("return"),h[Symbol.asyncIterator]=function(){return this},h);function l(A){h[A]=i[A]&&function(k){return new Promise(function(g,n){!function y(A,k,g,n){Promise.resolve(n).then(function(b){A({value:b,done:g})},k)}(g,n,(k=i[A](k)).done,k.value)})}}}m.d(Q,{FC:()=>Y,KL:()=>ee,gn:()=>o,mG:()=>P,qq:()=>W})},950:()=>{},6601:()=>{},8623:()=>{},7748:()=>{},5568:()=>{},6619:()=>{},7108:()=>{},2361:()=>{},4616:()=>{},7340:(Ve,Q,m)=>{"use strict";m.d(Q,{F4:()=>S,IO:()=>z,LC:()=>e,SB:()=>d,X$:()=>D,ZE:()=>X,ZN:()=>Y,_j:()=>t,eR:()=>w,jt:()=>o,k1:()=>ee,l3:()=>v,oB:()=>P,pV:()=>E,ru:()=>C,vP:()=>u});class t{}class e{}const v="*";function D(ue,he){return{type:7,name:ue,definitions:he,options:{}}}function o(ue,he=null){return{type:4,styles:he,timings:ue}}function C(ue,he=null){return{type:3,steps:ue,options:he}}function u(ue,he=null){return{type:2,steps:ue,options:he}}function P(ue){return{type:6,styles:ue,offset:null}}function d(ue,he,ie){return{type:0,name:ue,styles:he,options:ie}}function S(ue){return{type:5,steps:ue}}function w(ue,he,ie=null){return{type:1,expr:ue,animation:he,options:ie}}function E(ue=null){return{type:9,options:ue}}function z(ue,he,ie=null){return{type:11,selector:ue,animation:he,options:ie}}function W(ue){Promise.resolve().then(ue)}class Y{constructor(he=0,ie=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=he+ie}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(he=>he()),this._onDoneFns=[])}onStart(he){this._originalOnStartFns.push(he),this._onStartFns.push(he)}onDone(he){this._originalOnDoneFns.push(he),this._onDoneFns.push(he)}onDestroy(he){this._onDestroyFns.push(he)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){W(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(he=>he()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(he=>he()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(he){this._position=this.totalTime?he*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(he){const ie="start"==he?this._onStartFns:this._onDoneFns;ie.forEach(ce=>ce()),ie.length=0}}class X{constructor(he){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=he;let ie=0,ce=0,$=0;const fe=this.players.length;0==fe?W(()=>this._onFinish()):this.players.forEach(T=>{T.onDone(()=>{++ie==fe&&this._onFinish()}),T.onDestroy(()=>{++ce==fe&&this._onDestroy()}),T.onStart(()=>{++$==fe&&this._onStart()})}),this.totalTime=this.players.reduce((T,i)=>Math.max(T,i.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(he=>he()),this._onDoneFns=[])}init(){this.players.forEach(he=>he.init())}onStart(he){this._onStartFns.push(he)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(he=>he()),this._onStartFns=[])}onDone(he){this._onDoneFns.push(he)}onDestroy(he){this._onDestroyFns.push(he)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(he=>he.play())}pause(){this.players.forEach(he=>he.pause())}restart(){this.players.forEach(he=>he.restart())}finish(){this._onFinish(),this.players.forEach(he=>he.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(he=>he.destroy()),this._onDestroyFns.forEach(he=>he()),this._onDestroyFns=[])}reset(){this.players.forEach(he=>he.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(he){const ie=he*this.totalTime;this.players.forEach(ce=>{const $=ce.totalTime?Math.min(1,ie/ce.totalTime):1;ce.setPosition($)})}getPosition(){const he=this.players.reduce((ie,ce)=>null===ie||ce.totalTime>ie.totalTime?ce:ie,null);return null!=he?he.getPosition():0}beforeDestroy(){this.players.forEach(he=>{he.beforeDestroy&&he.beforeDestroy()})}triggerCallback(he){const ie="start"==he?this._onStartFns:this._onDoneFns;ie.forEach(ce=>ce()),ie.length=0}}const ee="!"},4761:(Ve,Q,m)=>{"use strict";m.d(Q,{$s:()=>i,Em:()=>A,Kd:()=>ne,X6:()=>Be,ic:()=>g,kH:()=>Pe,mK:()=>Ye,qV:()=>se,qm:()=>Ht,rt:()=>bt,s1:()=>y,tE:()=>Ct,yG:()=>q});var t=m(6895),e=m(4650),v=m(3353),D=m(7579),o=m(727),C=m(1135),u=m(9646),P=m(9521),d=m(8505),S=m(8372),w=m(9300),I=m(4004),E=m(5698),N=m(5684),z=m(1884),G=m(2722),W=m(1281),Y=m(9643),X=m(2289);function ie(Me,J){return(Me.getAttribute(J)||"").match(/\S+/g)||[]}const $="cdk-describedby-message",fe="cdk-describedby-host";let T=0,i=(()=>{class Me{constructor(ve,Re){this._platform=Re,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+T++,this._document=ve,this._id=(0,e.f3M)(e.AFp)+"-"+T++}describe(ve,Re,at){if(!this._canBeDescribed(ve,Re))return;const ni=r(Re,at);"string"!=typeof Re?(h(Re,this._id),this._messageRegistry.set(ni,{messageElement:Re,referenceCount:0})):this._messageRegistry.has(ni)||this._createMessageElement(Re,at),this._isElementDescribedByMessage(ve,ni)||this._addMessageReference(ve,ni)}removeDescription(ve,Re,at){if(!Re||!this._isElementNode(ve))return;const ni=r(Re,at);if(this._isElementDescribedByMessage(ve,ni)&&this._removeMessageReference(ve,ni),"string"==typeof Re){const Gt=this._messageRegistry.get(ni);Gt&&0===Gt.referenceCount&&this._deleteMessageElement(ni)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const ve=this._document.querySelectorAll(`[${fe}="${this._id}"]`);for(let Re=0;Re<ve.length;Re++)this._removeCdkDescribedByReferenceIds(ve[Re]),ve[Re].removeAttribute(fe);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(ve,Re){const at=this._document.createElement("div");h(at,this._id),at.textContent=ve,Re&&at.setAttribute("role",Re),this._createMessagesContainer(),this._messagesContainer.appendChild(at),this._messageRegistry.set(r(ve,Re),{messageElement:at,referenceCount:0})}_deleteMessageElement(ve){this._messageRegistry.get(ve)?.messageElement?.remove(),this._messageRegistry.delete(ve)}_createMessagesContainer(){if(this._messagesContainer)return;const ve="cdk-describedby-message-container",Re=this._document.querySelectorAll(`.${ve}[platform="server"]`);for(let ni=0;ni<Re.length;ni++)Re[ni].remove();const at=this._document.createElement("div");at.style.visibility="hidden",at.classList.add(ve),at.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&at.setAttribute("platform","server"),this._document.body.appendChild(at),this._messagesContainer=at}_removeCdkDescribedByReferenceIds(ve){const Re=ie(ve,"aria-describedby").filter(at=>0!=at.indexOf($));ve.setAttribute("aria-describedby",Re.join(" "))}_addMessageReference(ve,Re){const at=this._messageRegistry.get(Re);(function ue(Me,J,ve){const Re=ie(Me,J);Re.some(at=>at.trim()==ve.trim())||(Re.push(ve.trim()),Me.setAttribute(J,Re.join(" ")))})(ve,"aria-describedby",at.messageElement.id),ve.setAttribute(fe,this._id),at.referenceCount++}_removeMessageReference(ve,Re){const at=this._messageRegistry.get(Re);at.referenceCount--,function he(Me,J,ve){const at=ie(Me,J).filter(ni=>ni!=ve.trim());at.length?Me.setAttribute(J,at.join(" ")):Me.removeAttribute(J)}(ve,"aria-describedby",at.messageElement.id),ve.removeAttribute(fe)}_isElementDescribedByMessage(ve,Re){const at=ie(ve,"aria-describedby"),ni=this._messageRegistry.get(Re),Gt=ni&&ni.messageElement.id;return!!Gt&&-1!=at.indexOf(Gt)}_canBeDescribed(ve,Re){if(!this._isElementNode(ve))return!1;if(Re&&"object"==typeof Re)return!0;const at=null==Re?"":`${Re}`.trim(),ni=ve.getAttribute("aria-label");return!(!at||ni&&ni.trim()===at)}_isElementNode(ve){return ve.nodeType===this._document.ELEMENT_NODE}}return Me.\u0275fac=function(ve){return new(ve||Me)(e.LFG(t.K0),e.LFG(v.t4))},Me.\u0275prov=e.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})();function r(Me,J){return"string"==typeof Me?`${J||""}/${Me}`:Me}function h(Me,J){Me.id||(Me.id=`${$}-${J}-${T++}`)}class l{constructor(J){this._items=J,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new D.x,this._typeaheadSubscription=o.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=ve=>ve.disabled,this._pressedLetters=[],this.tabOut=new D.x,this.change=new D.x,J instanceof e.n_E&&(this._itemChangesSubscription=J.changes.subscribe(ve=>{if(this._activeItem){const at=ve.toArray().indexOf(this._activeItem);at>-1&&at!==this._activeItemIndex&&(this._activeItemIndex=at)}}))}skipPredicate(J){return this._skipPredicateFn=J,this}withWrap(J=!0){return this._wrap=J,this}withVerticalOrientation(J=!0){return this._vertical=J,this}withHorizontalOrientation(J){return this._horizontal=J,this}withAllowedModifierKeys(J){return this._allowedModifierKeys=J,this}withTypeAhead(J=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,d.b)(ve=>this._pressedLetters.push(ve)),(0,S.b)(J),(0,w.h)(()=>this._pressedLetters.length>0),(0,I.U)(()=>this._pressedLetters.join(""))).subscribe(ve=>{const Re=this._getItemsArray();for(let at=1;at<Re.length+1;at++){const ni=(this._activeItemIndex+at)%Re.length,Gt=Re[ni];if(!this._skipPredicateFn(Gt)&&0===Gt.getLabel().toUpperCase().trim().indexOf(ve)){this.setActiveItem(ni);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(J=!0){return this._homeAndEnd=J,this}withPageUpDown(J=!0,ve=10){return this._pageUpAndDown={enabled:J,delta:ve},this}setActiveItem(J){const ve=this._activeItem;this.updateActiveItem(J),this._activeItem!==ve&&this.change.next(this._activeItemIndex)}onKeydown(J){const ve=J.keyCode,at=["altKey","ctrlKey","metaKey","shiftKey"].every(ni=>!J[ni]||this._allowedModifierKeys.indexOf(ni)>-1);switch(ve){case P.Mf:return void this.tabOut.next();case P.JH:if(this._vertical&&at){this.setNextItemActive();break}return;case P.LH:if(this._vertical&&at){this.setPreviousItemActive();break}return;case P.SV:if(this._horizontal&&at){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case P.oh:if(this._horizontal&&at){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case P.Sd:if(this._homeAndEnd&&at){this.setFirstItemActive();break}return;case P.uR:if(this._homeAndEnd&&at){this.setLastItemActive();break}return;case P.Ku:if(this._pageUpAndDown.enabled&&at){const ni=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(ni>0?ni:0,1);break}return;case P.VM:if(this._pageUpAndDown.enabled&&at){const ni=this._activeItemIndex+this._pageUpAndDown.delta,Gt=this._getItemsArray().length;this._setActiveItemByIndex(ni<Gt?ni:Gt-1,-1);break}return;default:return void((at||(0,P.Vb)(J,"shiftKey"))&&(J.key&&1===J.key.length?this._letterKeyStream.next(J.key.toLocaleUpperCase()):(ve>=P.A&&ve<=P.Z||ve>=P.xE&&ve<=P.aO)&&this._letterKeyStream.next(String.fromCharCode(ve))))}this._pressedLetters=[],J.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(J){const ve=this._getItemsArray(),Re="number"==typeof J?J:ve.indexOf(J);this._activeItem=ve[Re]??null,this._activeItemIndex=Re}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(J){this._wrap?this._setActiveInWrapMode(J):this._setActiveInDefaultMode(J)}_setActiveInWrapMode(J){const ve=this._getItemsArray();for(let Re=1;Re<=ve.length;Re++){const at=(this._activeItemIndex+J*Re+ve.length)%ve.length;if(!this._skipPredicateFn(ve[at]))return void this.setActiveItem(at)}}_setActiveInDefaultMode(J){this._setActiveItemByIndex(this._activeItemIndex+J,J)}_setActiveItemByIndex(J,ve){const Re=this._getItemsArray();if(Re[J]){for(;this._skipPredicateFn(Re[J]);)if(!Re[J+=ve])return;this.setActiveItem(J)}}_getItemsArray(){return this._items instanceof e.n_E?this._items.toArray():this._items}}class y extends l{setActiveItem(J){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(J),this.activeItem&&this.activeItem.setActiveStyles()}}class A extends l{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(J){return this._origin=J,this}setActiveItem(J){super.setActiveItem(J),this.activeItem&&this.activeItem.focus(this._origin)}}let g=(()=>{class Me{constructor(ve){this._platform=ve}isDisabled(ve){return ve.hasAttribute("disabled")}isVisible(ve){return function b(Me){return!!(Me.offsetWidth||Me.offsetHeight||"function"==typeof Me.getClientRects&&Me.getClientRects().length)}(ve)&&"visible"===getComputedStyle(ve).visibility}isTabbable(ve){if(!this._platform.isBrowser)return!1;const Re=function n(Me){try{return Me.frameElement}catch{return null}}(function le(Me){return Me.ownerDocument&&Me.ownerDocument.defaultView||window}(ve));if(Re&&(-1===ct(Re)||!this.isVisible(Re)))return!1;let at=ve.nodeName.toLowerCase(),ni=ct(ve);return ve.hasAttribute("contenteditable")?-1!==ni:!("iframe"===at||"object"===at||this._platform.WEBKIT&&this._platform.IOS&&!function Ie(Me){let J=Me.nodeName.toLowerCase(),ve="input"===J&&Me.type;return"text"===ve||"password"===ve||"select"===J||"textarea"===J}(ve))&&("audio"===at?!!ve.hasAttribute("controls")&&-1!==ni:"video"===at?-1!==ni&&(null!==ni||this._platform.FIREFOX||ve.hasAttribute("controls")):ve.tabIndex>=0)}isFocusable(ve,Re){return function xe(Me){return!function V(Me){return function Ae(Me){return"input"==Me.nodeName.toLowerCase()}(Me)&&"hidden"==Me.type}(Me)&&(function U(Me){let J=Me.nodeName.toLowerCase();return"input"===J||"select"===J||"button"===J||"textarea"===J}(Me)||function j(Me){return function Ke(Me){return"a"==Me.nodeName.toLowerCase()}(Me)&&Me.hasAttribute("href")}(Me)||Me.hasAttribute("contenteditable")||qe(Me))}(ve)&&!this.isDisabled(ve)&&(Re?.ignoreVisibility||this.isVisible(ve))}}return Me.\u0275fac=function(ve){return new(ve||Me)(e.LFG(v.t4))},Me.\u0275prov=e.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})();function qe(Me){if(!Me.hasAttribute("tabindex")||void 0===Me.tabIndex)return!1;let J=Me.getAttribute("tabindex");return!(!J||isNaN(parseInt(J,10)))}function ct(Me){if(!qe(Me))return null;const J=parseInt(Me.getAttribute("tabindex")||"",10);return isNaN(J)?-1:J}class _e{constructor(J,ve,Re,at,ni=!1){this._element=J,this._checker=ve,this._ngZone=Re,this._document=at,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ni||this.attachAnchors()}get enabled(){return this._enabled}set enabled(J){this._enabled=J,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(J,this._startAnchor),this._toggleAnchorTabIndex(J,this._endAnchor))}destroy(){const J=this._startAnchor,ve=this._endAnchor;J&&(J.removeEventListener("focus",this.startAnchorListener),J.remove()),ve&&(ve.removeEventListener("focus",this.endAnchorListener),ve.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(J){return new Promise(ve=>{this._executeOnStable(()=>ve(this.focusInitialElement(J)))})}focusFirstTabbableElementWhenReady(J){return new Promise(ve=>{this._executeOnStable(()=>ve(this.focusFirstTabbableElement(J)))})}focusLastTabbableElementWhenReady(J){return new Promise(ve=>{this._executeOnStable(()=>ve(this.focusLastTabbableElement(J)))})}_getRegionBoundary(J){const ve=this._element.querySelectorAll(`[cdk-focus-region-${J}], [cdkFocusRegion${J}], [cdk-focus-${J}]`);return"start"==J?ve.length?ve[0]:this._getFirstTabbableElement(this._element):ve.length?ve[ve.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(J){const ve=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(ve){if(!this._checker.isFocusable(ve)){const Re=this._getFirstTabbableElement(ve);return Re?.focus(J),!!Re}return ve.focus(J),!0}return this.focusFirstTabbableElement(J)}focusFirstTabbableElement(J){const ve=this._getRegionBoundary("start");return ve&&ve.focus(J),!!ve}focusLastTabbableElement(J){const ve=this._getRegionBoundary("end");return ve&&ve.focus(J),!!ve}hasAttached(){return this._hasAttached}_getFirstTabbableElement(J){if(this._checker.isFocusable(J)&&this._checker.isTabbable(J))return J;const ve=J.children;for(let Re=0;Re<ve.length;Re++){const at=ve[Re].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(ve[Re]):null;if(at)return at}return null}_getLastTabbableElement(J){if(this._checker.isFocusable(J)&&this._checker.isTabbable(J))return J;const ve=J.children;for(let Re=ve.length-1;Re>=0;Re--){const at=ve[Re].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(ve[Re]):null;if(at)return at}return null}_createAnchor(){const J=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,J),J.classList.add("cdk-visually-hidden"),J.classList.add("cdk-focus-trap-anchor"),J.setAttribute("aria-hidden","true"),J}_toggleAnchorTabIndex(J,ve){J?ve.setAttribute("tabindex","0"):ve.removeAttribute("tabindex")}toggleAnchors(J){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(J,this._startAnchor),this._toggleAnchorTabIndex(J,this._endAnchor))}_executeOnStable(J){this._ngZone.isStable?J():this._ngZone.onStable.pipe((0,E.q)(1)).subscribe(J)}}let se=(()=>{class Me{constructor(ve,Re,at){this._checker=ve,this._ngZone=Re,this._document=at}create(ve,Re=!1){return new _e(ve,this._checker,this._ngZone,this._document,Re)}}return Me.\u0275fac=function(ve){return new(ve||Me)(e.LFG(g),e.LFG(e.R0b),e.LFG(t.K0))},Me.\u0275prov=e.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})(),Ye=(()=>{class Me{constructor(ve,Re,at){this._elementRef=ve,this._focusTrapFactory=Re,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(ve){this.focusTrap.enabled=(0,W.Ig)(ve)}get autoCapture(){return this._autoCapture}set autoCapture(ve){this._autoCapture=(0,W.Ig)(ve)}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(ve){const Re=ve.autoCapture;Re&&!Re.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,v.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return Me.\u0275fac=function(ve){return new(ve||Me)(e.Y36(e.SBq),e.Y36(se),e.Y36(t.K0))},Me.\u0275dir=e.lG2({type:Me,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[e.TTD]}),Me})();function Be(Me){return 0===Me.buttons||0===Me.offsetX&&0===Me.offsetY}function q(Me){const J=Me.touches&&Me.touches[0]||Me.changedTouches&&Me.changedTouches[0];return!(!J||-1!==J.identifier||null!=J.radiusX&&1!==J.radiusX||null!=J.radiusY&&1!==J.radiusY)}const de=new e.OlP("cdk-input-modality-detector-options"),Ce={ignoreKeys:[P.zL,P.jx,P.b2,P.MW,P.JU]},ht=(0,v.i$)({passive:!0,capture:!0});let nt=(()=>{class Me{constructor(ve,Re,at,ni){this._platform=ve,this._mostRecentTarget=null,this._modality=new C.X(null),this._lastTouchMs=0,this._onKeydown=Gt=>{this._options?.ignoreKeys?.some(ti=>ti===Gt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,v.sA)(Gt))},this._onMousedown=Gt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Be(Gt)?"keyboard":"mouse"),this._mostRecentTarget=(0,v.sA)(Gt))},this._onTouchstart=Gt=>{q(Gt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,v.sA)(Gt))},this._options={...Ce,...ni},this.modalityDetected=this._modality.pipe((0,N.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,z.x)()),ve.isBrowser&&Re.runOutsideAngular(()=>{at.addEventListener("keydown",this._onKeydown,ht),at.addEventListener("mousedown",this._onMousedown,ht),at.addEventListener("touchstart",this._onTouchstart,ht)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ht),document.removeEventListener("mousedown",this._onMousedown,ht),document.removeEventListener("touchstart",this._onTouchstart,ht))}}return Me.\u0275fac=function(ve){return new(ve||Me)(e.LFG(v.t4),e.LFG(e.R0b),e.LFG(t.K0),e.LFG(de,8))},Me.\u0275prov=e.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})();const wt=new e.OlP("liveAnnouncerElement",{providedIn:"root",factory:function it(){return null}}),qt=new e.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let _t=0,ne=(()=>{class Me{constructor(ve,Re,at,ni){this._ngZone=Re,this._defaultOptions=ni,this._document=at,this._liveElement=ve||this._createLiveElement()}announce(ve,...Re){const at=this._defaultOptions;let ni,Gt;return 1===Re.length&&"number"==typeof Re[0]?Gt=Re[0]:[ni,Gt]=Re,this.clear(),clearTimeout(this._previousTimeout),ni||(ni=at&&at.politeness?at.politeness:"polite"),null==Gt&&at&&(Gt=at.duration),this._liveElement.setAttribute("aria-live",ni),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ti=>this._currentResolve=ti)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=ve,"number"==typeof Gt&&(this._previousTimeout=setTimeout(()=>this.clear(),Gt)),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 ve="cdk-live-announcer-element",Re=this._document.getElementsByClassName(ve),at=this._document.createElement("div");for(let ni=0;ni<Re.length;ni++)Re[ni].remove();return at.classList.add(ve),at.classList.add("cdk-visually-hidden"),at.setAttribute("aria-atomic","true"),at.setAttribute("aria-live","polite"),at.id="cdk-live-announcer-"+_t++,this._document.body.appendChild(at),at}_exposeAnnouncerToModals(ve){const Re=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let at=0;at<Re.length;at++){const ni=Re[at],Gt=ni.getAttribute("aria-owns");Gt?-1===Gt.indexOf(ve)&&ni.setAttribute("aria-owns",Gt+" "+ve):ni.setAttribute("aria-owns",ve)}}}return Me.\u0275fac=function(ve){return new(ve||Me)(e.LFG(wt,8),e.LFG(e.R0b),e.LFG(t.K0),e.LFG(qt,8))},Me.\u0275prov=e.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})();const De=new e.OlP("cdk-focus-monitor-default-options"),He=(0,v.i$)({passive:!0,capture:!0});let Ct=(()=>{class Me{constructor(ve,Re,at,ni,Gt){this._ngZone=ve,this._platform=Re,this._inputModalityDetector=at,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 D.x,this._rootNodeFocusAndBlurListener=ti=>{for(let rt=(0,v.sA)(ti);rt;rt=rt.parentElement)"focus"===ti.type?this._onFocus(ti,rt):this._onBlur(ti,rt)},this._document=ni,this._detectionMode=Gt?.detectionMode||0}monitor(ve,Re=!1){const at=(0,W.fI)(ve);if(!this._platform.isBrowser||1!==at.nodeType)return(0,u.of)(null);const ni=(0,v.kV)(at)||this._getDocument(),Gt=this._elementInfo.get(at);if(Gt)return Re&&(Gt.checkChildren=!0),Gt.subject;const ti={checkChildren:Re,subject:new D.x,rootNode:ni};return this._elementInfo.set(at,ti),this._registerGlobalListeners(ti),ti.subject}stopMonitoring(ve){const Re=(0,W.fI)(ve),at=this._elementInfo.get(Re);at&&(at.subject.complete(),this._setClasses(Re),this._elementInfo.delete(Re),this._removeGlobalListeners(at))}focusVia(ve,Re,at){const ni=(0,W.fI)(ve);ni===this._getDocument().activeElement?this._getClosestElementsInfo(ni).forEach(([ti,dt])=>this._originChanged(ti,Re,dt)):(this._setOrigin(Re),"function"==typeof ni.focus&&ni.focus(at))}ngOnDestroy(){this._elementInfo.forEach((ve,Re)=>this.stopMonitoring(Re))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(ve){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(ve)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:ve&&this._isLastInteractionFromInputLabel(ve)?"mouse":"program"}_shouldBeAttributedToTouch(ve){return 1===this._detectionMode||!!ve?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(ve,Re){ve.classList.toggle("cdk-focused",!!Re),ve.classList.toggle("cdk-touch-focused","touch"===Re),ve.classList.toggle("cdk-keyboard-focused","keyboard"===Re),ve.classList.toggle("cdk-mouse-focused","mouse"===Re),ve.classList.toggle("cdk-program-focused","program"===Re)}_setOrigin(ve,Re=!1){this._ngZone.runOutsideAngular(()=>{this._origin=ve,this._originFromTouchInteraction="touch"===ve&&Re,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(ve,Re){const at=this._elementInfo.get(Re),ni=(0,v.sA)(ve);!at||!at.checkChildren&&Re!==ni||this._originChanged(Re,this._getFocusOrigin(ni),at)}_onBlur(ve,Re){const at=this._elementInfo.get(Re);!at||at.checkChildren&&ve.relatedTarget instanceof Node&&Re.contains(ve.relatedTarget)||(this._setClasses(Re),this._emitOrigin(at,null))}_emitOrigin(ve,Re){ve.subject.observers.length&&this._ngZone.run(()=>ve.subject.next(Re))}_registerGlobalListeners(ve){if(!this._platform.isBrowser)return;const Re=ve.rootNode,at=this._rootNodeFocusListenerCount.get(Re)||0;at||this._ngZone.runOutsideAngular(()=>{Re.addEventListener("focus",this._rootNodeFocusAndBlurListener,He),Re.addEventListener("blur",this._rootNodeFocusAndBlurListener,He)}),this._rootNodeFocusListenerCount.set(Re,at+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,G.R)(this._stopInputModalityDetector)).subscribe(ni=>{this._setOrigin(ni,!0)}))}_removeGlobalListeners(ve){const Re=ve.rootNode;if(this._rootNodeFocusListenerCount.has(Re)){const at=this._rootNodeFocusListenerCount.get(Re);at>1?this._rootNodeFocusListenerCount.set(Re,at-1):(Re.removeEventListener("focus",this._rootNodeFocusAndBlurListener,He),Re.removeEventListener("blur",this._rootNodeFocusAndBlurListener,He),this._rootNodeFocusListenerCount.delete(Re))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(ve,Re,at){this._setClasses(ve,Re),this._emitOrigin(at,Re),this._lastFocusOrigin=Re}_getClosestElementsInfo(ve){const Re=[];return this._elementInfo.forEach((at,ni)=>{(ni===ve||at.checkChildren&&ni.contains(ve))&&Re.push([ni,at])}),Re}_isLastInteractionFromInputLabel(ve){const{_mostRecentTarget:Re,mostRecentModality:at}=this._inputModalityDetector;if("mouse"!==at||!Re||Re===ve||"INPUT"!==ve.nodeName&&"TEXTAREA"!==ve.nodeName||ve.disabled)return!1;const ni=ve.labels;if(ni)for(let Gt=0;Gt<ni.length;Gt++)if(ni[Gt].contains(Re))return!0;return!1}}return Me.\u0275fac=function(ve){return new(ve||Me)(e.LFG(e.R0b),e.LFG(v.t4),e.LFG(nt),e.LFG(t.K0,8),e.LFG(De,8))},Me.\u0275prov=e.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})(),Pe=(()=>{class Me{constructor(ve,Re){this._elementRef=ve,this._focusMonitor=Re,this._focusOrigin=null,this.cdkFocusChange=new e.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const ve=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(ve,1===ve.nodeType&&ve.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Re=>{this._focusOrigin=Re,this.cdkFocusChange.emit(Re)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return Me.\u0275fac=function(ve){return new(ve||Me)(e.Y36(e.SBq),e.Y36(Ct))},Me.\u0275dir=e.lG2({type:Me,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),Me})();const tt="cdk-high-contrast-black-on-white",Bt="cdk-high-contrast-white-on-black",Lt="cdk-high-contrast-active";let Ht=(()=>{class Me{constructor(ve,Re){this._platform=ve,this._document=Re,this._breakpointSubscription=(0,e.f3M)(X.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const ve=this._document.createElement("div");ve.style.backgroundColor="rgb(1,2,3)",ve.style.position="absolute",this._document.body.appendChild(ve);const Re=this._document.defaultView||window,at=Re&&Re.getComputedStyle?Re.getComputedStyle(ve):null,ni=(at&&at.backgroundColor||"").replace(/ /g,"");switch(ve.remove(),ni){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 ve=this._document.body.classList;ve.remove(Lt,tt,Bt),this._hasCheckedHighContrastMode=!0;const Re=this.getHighContrastMode();1===Re?ve.add(Lt,tt):2===Re&&ve.add(Lt,Bt)}}}return Me.\u0275fac=function(ve){return new(ve||Me)(e.LFG(v.t4),e.LFG(t.K0))},Me.\u0275prov=e.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})(),bt=(()=>{class Me{constructor(ve){ve._applyBodyHighContrastModeCssClasses()}}return Me.\u0275fac=function(ve){return new(ve||Me)(e.LFG(Ht))},Me.\u0275mod=e.oAB({type:Me}),Me.\u0275inj=e.cJS({imports:[Y.Q8]}),Me})()},445:(Ve,Q,m)=>{"use strict";m.d(Q,{Is:()=>u,vT:()=>d});var t=m(4650),e=m(6895);const v=new t.OlP("cdk-dir-doc",{providedIn:"root",factory:function D(){return(0,t.f3M)(e.K0)}}),o=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let u=(()=>{class S{constructor(I){if(this.value="ltr",this.change=new t.vpe,I){const N=I.documentElement?I.documentElement.dir:null;this.value=function C(S){const w=S?.toLowerCase()||"";return"auto"===w&&typeof navigator<"u"&&navigator?.language?o.test(navigator.language)?"rtl":"ltr":"rtl"===w?"rtl":"ltr"}((I.body?I.body.dir:null)||N||"ltr")}}ngOnDestroy(){this.change.complete()}}return S.\u0275fac=function(I){return new(I||S)(t.LFG(v,8))},S.\u0275prov=t.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})(),d=(()=>{class S{}return S.\u0275fac=function(I){return new(I||S)},S.\u0275mod=t.oAB({type:S}),S.\u0275inj=t.cJS({}),S})()},1281:(Ve,Q,m)=>{"use strict";m.d(Q,{Eq:()=>o,HM:()=>C,Ig:()=>e,du:()=>P,fI:()=>u,su:()=>v,t6:()=>D});var t=m(4650);function e(d){return null!=d&&"false"!=`${d}`}function v(d,S=0){return D(d)?Number(d):S}function D(d){return!isNaN(parseFloat(d))&&!isNaN(Number(d))}function o(d){return Array.isArray(d)?d:[d]}function C(d){return null==d?"":"string"==typeof d?d:`${d}px`}function u(d){return d instanceof t.SBq?d.nativeElement:d}function P(d,S=/\s+/){const w=[];if(null!=d){const I=Array.isArray(d)?d:`${d}`.split(S);for(const E of I){const N=`${E}`.trim();N&&w.push(N)}}return w}},5017:(Ve,Q,m)=>{"use strict";m.d(Q,{A8:()=>w,Ov:()=>d,Z9:()=>o,eX:()=>P,k:()=>I,o2:()=>D,yy:()=>u});var t=m(4033),e=m(7579),v=m(4650);class D{}function o(E){return E&&"function"==typeof E.connect&&!(E instanceof t.c)}class u{applyChanges(N,z,G,W,Y){N.forEachOperation((X,ee,ue)=>{let he,ie;if(null==X.previousIndex){const ce=G(X,ee,ue);he=z.createEmbeddedView(ce.templateRef,ce.context,ce.index),ie=1}else null==ue?(z.remove(ee),ie=3):(he=z.get(ee),z.move(he,ue),ie=2);Y&&Y({context:he?.context,operation:ie,record:X})})}detach(){}}class P{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(N,z,G,W,Y){N.forEachOperation((X,ee,ue)=>{let he,ie;null==X.previousIndex?(he=this._insertView(()=>G(X,ee,ue),ue,z,W(X)),ie=he?1:0):null==ue?(this._detachAndCacheView(ee,z),ie=3):(he=this._moveView(ee,ue,z,W(X)),ie=2),Y&&Y({context:he?.context,operation:ie,record:X})})}detach(){for(const N of this._viewCache)N.destroy();this._viewCache=[]}_insertView(N,z,G,W){const Y=this._insertViewFromCache(z,G);if(Y)return void(Y.context.$implicit=W);const X=N();return G.createEmbeddedView(X.templateRef,X.context,X.index)}_detachAndCacheView(N,z){const G=z.detach(N);this._maybeCacheView(G,z)}_moveView(N,z,G,W){const Y=G.get(N);return G.move(Y,z),Y.context.$implicit=W,Y}_maybeCacheView(N,z){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(N);else{const G=z.indexOf(N);-1===G?N.destroy():z.remove(G)}}_insertViewFromCache(N,z){const G=this._viewCache.pop();return G&&z.insert(G,N),G||null}}class d{constructor(N=!1,z,G=!0,W){this._multiple=N,this._emitChanges=G,this.compareWith=W,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new e.x,z&&z.length&&(N?z.forEach(Y=>this._markSelected(Y)):this._markSelected(z[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...N){this._verifyValueAssignment(N),N.forEach(G=>this._markSelected(G));const z=this._hasQueuedChanges();return this._emitChangeEvent(),z}deselect(...N){this._verifyValueAssignment(N),N.forEach(G=>this._unmarkSelected(G));const z=this._hasQueuedChanges();return this._emitChangeEvent(),z}setSelection(...N){this._verifyValueAssignment(N);const z=this.selected,G=new Set(N);N.forEach(Y=>this._markSelected(Y)),z.filter(Y=>!G.has(Y)).forEach(Y=>this._unmarkSelected(Y));const W=this._hasQueuedChanges();return this._emitChangeEvent(),W}toggle(N){return this.isSelected(N)?this.deselect(N):this.select(N)}clear(N=!0){this._unmarkAll();const z=this._hasQueuedChanges();return N&&this._emitChangeEvent(),z}isSelected(N){if(this.compareWith){for(const z of this._selection)if(this.compareWith(z,N))return!0;return!1}return this._selection.has(N)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(N){this._multiple&&this.selected&&this._selected.sort(N)}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(N){this.isSelected(N)||(this._multiple||this._unmarkAll(),this.isSelected(N)||this._selection.add(N),this._emitChanges&&this._selectedToEmit.push(N))}_unmarkSelected(N){this.isSelected(N)&&(this._selection.delete(N),this._emitChanges&&this._deselectedToEmit.push(N))}_unmarkAll(){this.isEmpty()||this._selection.forEach(N=>this._unmarkSelected(N))}_verifyValueAssignment(N){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let w=(()=>{class E{constructor(){this._listeners=[]}notify(z,G){for(let W of this._listeners)W(z,G)}listen(z){return this._listeners.push(z),()=>{this._listeners=this._listeners.filter(G=>z!==G)}}ngOnDestroy(){this._listeners=[]}}return E.\u0275fac=function(z){return new(z||E)},E.\u0275prov=v.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();const I=new v.OlP("_ViewRepeater")},9521:(Ve,Q,m)=>{"use strict";m.d(Q,{A:()=>V,JH:()=>ee,JU:()=>C,K5:()=>o,Ku:()=>E,LH:()=>Y,L_:()=>I,MW:()=>qt,Mf:()=>v,SV:()=>X,Sd:()=>G,VM:()=>N,Vb:()=>dn,Z:()=>it,ZH:()=>e,aO:()=>k,b2:()=>Li,hY:()=>w,jx:()=>u,oh:()=>W,uR:()=>z,xE:()=>$,yY:()=>ce,zL:()=>P});const e=8,v=9,o=13,C=16,u=17,P=18,w=27,I=32,E=33,N=34,z=35,G=36,W=37,Y=38,X=39,ee=40,ce=46,$=48,k=57,V=65,it=90,qt=91,Li=224;function dn(on,...Xn){return Xn.length?Xn.some(Gr=>on[Gr]):on.altKey||on.shiftKey||on.ctrlKey||on.metaKey}},2289:(Ve,Q,m)=>{"use strict";m.d(Q,{Yg:()=>ee,u3:()=>he,xu:()=>N});var t=m(4650),e=m(1281),v=m(7579),D=m(9841),o=m(7272),C=m(9751),u=m(5698),P=m(5684),d=m(8372),S=m(4004),w=m(8675),I=m(2722),E=m(3353);let N=(()=>{class ie{}return ie.\u0275fac=function($){return new($||ie)},ie.\u0275mod=t.oAB({type:ie}),ie.\u0275inj=t.cJS({}),ie})();const z=new Set;let G,W=(()=>{class ie{constructor($){this._platform=$,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):X}matchMedia($){return(this._platform.WEBKIT||this._platform.BLINK)&&function Y(ie){if(!z.has(ie))try{G||(G=document.createElement("style"),G.setAttribute("type","text/css"),document.head.appendChild(G)),G.sheet&&(G.sheet.insertRule(`@media ${ie} {body{ }}`,0),z.add(ie))}catch(ce){console.error(ce)}}($),this._matchMedia($)}}return ie.\u0275fac=function($){return new($||ie)(t.LFG(E.t4))},ie.\u0275prov=t.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();function X(ie){return{matches:"all"===ie||""===ie,media:ie,addListener:()=>{},removeListener:()=>{}}}let ee=(()=>{class ie{constructor($,fe){this._mediaMatcher=$,this._zone=fe,this._queries=new Map,this._destroySubject=new v.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched($){return ue((0,e.Eq)($)).some(T=>this._registerQuery(T).mql.matches)}observe($){const T=ue((0,e.Eq)($)).map(r=>this._registerQuery(r).observable);let i=(0,D.a)(T);return i=(0,o.z)(i.pipe((0,u.q)(1)),i.pipe((0,P.T)(1),(0,d.b)(0))),i.pipe((0,S.U)(r=>{const h={matches:!1,breakpoints:{}};return r.forEach(({matches:l,query:y})=>{h.matches=h.matches||l,h.breakpoints[y]=l}),h}))}_registerQuery($){if(this._queries.has($))return this._queries.get($);const fe=this._mediaMatcher.matchMedia($),i={observable:new C.y(r=>{const h=l=>this._zone.run(()=>r.next(l));return fe.addListener(h),()=>{fe.removeListener(h)}}).pipe((0,w.O)(fe),(0,S.U)(({matches:r})=>({query:$,matches:r})),(0,I.R)(this._destroySubject)),mql:fe};return this._queries.set($,i),i}}return ie.\u0275fac=function($){return new($||ie)(t.LFG(W),t.LFG(t.R0b))},ie.\u0275prov=t.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();function ue(ie){return ie.map(ce=>ce.split(",")).reduce((ce,$)=>ce.concat($)).map(ce=>ce.trim())}const he={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)"}},9643:(Ve,Q,m)=>{"use strict";m.d(Q,{Q8:()=>d,wD:()=>P});var t=m(1281),e=m(4650),v=m(9751),D=m(7579),o=m(8372);let C=(()=>{class S{create(I){return typeof MutationObserver>"u"?null:new MutationObserver(I)}}return S.\u0275fac=function(I){return new(I||S)},S.\u0275prov=e.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})(),u=(()=>{class S{constructor(I){this._mutationObserverFactory=I,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((I,E)=>this._cleanupObserver(E))}observe(I){const E=(0,t.fI)(I);return new v.y(N=>{const G=this._observeElement(E).subscribe(N);return()=>{G.unsubscribe(),this._unobserveElement(E)}})}_observeElement(I){if(this._observedElements.has(I))this._observedElements.get(I).count++;else{const E=new D.x,N=this._mutationObserverFactory.create(z=>E.next(z));N&&N.observe(I,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(I,{observer:N,stream:E,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:E,stream:N}=this._observedElements.get(I);E&&E.disconnect(),N.complete(),this._observedElements.delete(I)}}}return S.\u0275fac=function(I){return new(I||S)(e.LFG(C))},S.\u0275prov=e.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})(),P=(()=>{class S{constructor(I,E,N){this._contentObserver=I,this._elementRef=E,this._ngZone=N,this.event=new e.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(I){this._disabled=(0,t.Ig)(I),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(I){this._debounce=(0,t.su)(I),this._subscribe()}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,o.b)(this.debounce)):I).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return S.\u0275fac=function(I){return new(I||S)(e.Y36(u),e.Y36(e.SBq),e.Y36(e.R0b))},S.\u0275dir=e.lG2({type:S,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),S})(),d=(()=>{class S{}return S.\u0275fac=function(I){return new(I||S)},S.\u0275mod=e.oAB({type:S}),S.\u0275inj=e.cJS({providers:[C]}),S})()},8184:(Ve,Q,m)=>{"use strict";m.d(Q,{Iu:()=>k,U8:()=>te,X_:()=>ce,Xj:()=>A,_G:()=>b,aV:()=>le,pI:()=>Te,xu:()=>Ye});var t=m(531),e=m(6895),v=m(4650),D=m(1281),o=m(3353),C=m(445),u=m(4080),P=m(7579),d=m(727),S=m(6451),w=m(5698),I=m(2722),E=m(2529),N=m(9521);const z=(0,o.Mq)();class G{constructor(q,de){this._viewportRuler=q,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=de}attach(){}enable(){if(this._canBeEnabled()){const q=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=q.style.left||"",this._previousHTMLStyles.top=q.style.top||"",q.style.left=(0,D.HM)(-this._previousScrollPosition.left),q.style.top=(0,D.HM)(-this._previousScrollPosition.top),q.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const q=this._document.documentElement,Ce=q.style,ke=this._document.body.style,ht=Ce.scrollBehavior||"",nt=ke.scrollBehavior||"";this._isEnabled=!1,Ce.left=this._previousHTMLStyles.left,Ce.top=this._previousHTMLStyles.top,q.classList.remove("cdk-global-scrollblock"),z&&(Ce.scrollBehavior=ke.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),z&&(Ce.scrollBehavior=ht,ke.scrollBehavior=nt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const de=this._document.body,Ce=this._viewportRuler.getViewportSize();return de.scrollHeight>Ce.height||de.scrollWidth>Ce.width}}class Y{constructor(q,de,Ce,ke){this._scrollDispatcher=q,this._ngZone=de,this._viewportRuler=Ce,this._config=ke,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(q){this._overlayRef=q}enable(){if(this._scrollSubscription)return;const q=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=q.subscribe(()=>{const de=this._viewportRuler.getViewportScrollPosition().top;Math.abs(de-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=q.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class X{enable(){}disable(){}attach(){}}function ee(Be,q){return q.some(de=>Be.bottom<de.top||Be.top>de.bottom||Be.right<de.left||Be.left>de.right)}function ue(Be,q){return q.some(de=>Be.top<de.top||Be.bottom>de.bottom||Be.left<de.left||Be.right>de.right)}class he{constructor(q,de,Ce,ke){this._scrollDispatcher=q,this._viewportRuler=de,this._ngZone=Ce,this._config=ke,this._scrollSubscription=null}attach(q){this._overlayRef=q}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 de=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Ce,height:ke}=this._viewportRuler.getViewportSize();ee(de,[{width:Ce,height:ke,bottom:ke,right:Ce,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 ie=(()=>{class Be{constructor(de,Ce,ke,ht){this._scrollDispatcher=de,this._viewportRuler=Ce,this._ngZone=ke,this.noop=()=>new X,this.close=nt=>new Y(this._scrollDispatcher,this._ngZone,this._viewportRuler,nt),this.block=()=>new G(this._viewportRuler,this._document),this.reposition=nt=>new he(this._scrollDispatcher,this._viewportRuler,this._ngZone,nt),this._document=ht}}return Be.\u0275fac=function(de){return new(de||Be)(v.LFG(t.mF),v.LFG(t.rL),v.LFG(v.R0b),v.LFG(e.K0))},Be.\u0275prov=v.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();class ce{constructor(q){if(this.scrollStrategy=new X,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,q){const de=Object.keys(q);for(const Ce of de)void 0!==q[Ce]&&(this[Ce]=q[Ce])}}}class T{constructor(q,de){this.connectionPair=q,this.scrollableViewProperties=de}}let h=(()=>{class Be{constructor(de){this._attachedOverlays=[],this._document=de}ngOnDestroy(){this.detach()}add(de){this.remove(de),this._attachedOverlays.push(de)}remove(de){const Ce=this._attachedOverlays.indexOf(de);Ce>-1&&this._attachedOverlays.splice(Ce,1),0===this._attachedOverlays.length&&this.detach()}}return Be.\u0275fac=function(de){return new(de||Be)(v.LFG(e.K0))},Be.\u0275prov=v.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})(),l=(()=>{class Be extends h{constructor(de,Ce){super(de),this._ngZone=Ce,this._keydownListener=ke=>{const ht=this._attachedOverlays;for(let nt=ht.length-1;nt>-1;nt--)if(ht[nt]._keydownEvents.observers.length>0){const wt=ht[nt]._keydownEvents;this._ngZone?this._ngZone.run(()=>wt.next(ke)):wt.next(ke);break}}}add(de){super.add(de),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)}}return Be.\u0275fac=function(de){return new(de||Be)(v.LFG(e.K0),v.LFG(v.R0b,8))},Be.\u0275prov=v.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})(),y=(()=>{class Be extends h{constructor(de,Ce,ke){super(de),this._platform=Ce,this._ngZone=ke,this._cursorStyleIsSet=!1,this._pointerDownListener=ht=>{this._pointerDownEventTarget=(0,o.sA)(ht)},this._clickListener=ht=>{const nt=(0,o.sA)(ht),wt="click"===ht.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:nt;this._pointerDownEventTarget=null;const it=this._attachedOverlays.slice();for(let qt=it.length-1;qt>-1;qt--){const _t=it[qt];if(_t._outsidePointerEvents.observers.length<1||!_t.hasAttached())continue;if(_t.overlayElement.contains(nt)||_t.overlayElement.contains(wt))break;const ne=_t._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ne.next(ht)):ne.next(ht)}}}add(de){if(super.add(de),!this._isAttached){const Ce=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Ce)):this._addEventListeners(Ce),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ce.style.cursor,Ce.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const de=this._document.body;de.removeEventListener("pointerdown",this._pointerDownListener,!0),de.removeEventListener("click",this._clickListener,!0),de.removeEventListener("auxclick",this._clickListener,!0),de.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(de.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(de){de.addEventListener("pointerdown",this._pointerDownListener,!0),de.addEventListener("click",this._clickListener,!0),de.addEventListener("auxclick",this._clickListener,!0),de.addEventListener("contextmenu",this._clickListener,!0)}}return Be.\u0275fac=function(de){return new(de||Be)(v.LFG(e.K0),v.LFG(o.t4),v.LFG(v.R0b,8))},Be.\u0275prov=v.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})(),A=(()=>{class Be{constructor(de,Ce){this._platform=Ce,this._document=de}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const de="cdk-overlay-container";if(this._platform.isBrowser||(0,o.Oy)()){const ke=this._document.querySelectorAll(`.${de}[platform="server"], .${de}[platform="test"]`);for(let ht=0;ht<ke.length;ht++)ke[ht].remove()}const Ce=this._document.createElement("div");Ce.classList.add(de),(0,o.Oy)()?Ce.setAttribute("platform","test"):this._platform.isBrowser||Ce.setAttribute("platform","server"),this._document.body.appendChild(Ce),this._containerElement=Ce}}return Be.\u0275fac=function(de){return new(de||Be)(v.LFG(e.K0),v.LFG(o.t4))},Be.\u0275prov=v.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();class k{constructor(q,de,Ce,ke,ht,nt,wt,it,qt,_t=!1){this._portalOutlet=q,this._host=de,this._pane=Ce,this._config=ke,this._ngZone=ht,this._keyboardDispatcher=nt,this._document=wt,this._location=it,this._outsideClickDispatcher=qt,this._animationsDisabled=_t,this._backdropElement=null,this._backdropClick=new P.x,this._attachments=new P.x,this._detachments=new P.x,this._locationChanges=d.w0.EMPTY,this._backdropClickHandler=ne=>this._backdropClick.next(ne),this._backdropTransitionendHandler=ne=>{this._disposeBackdrop(ne.target)},this._keydownEvents=new P.x,this._outsidePointerEvents=new P.x,ke.scrollStrategy&&(this._scrollStrategy=ke.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ke.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(q){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const de=this._portalOutlet.attach(q);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,w.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 de?.onDestroy&&de.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),de}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const q=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),q}dispose(){const q=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,q&&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(q){q!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=q,this.hasAttached()&&(q.attach(this),this.updatePosition()))}updateSize(q){this._config={...this._config,...q},this._updateElementSize()}setDirection(q){this._config={...this._config,direction:q},this._updateElementDirection()}addPanelClass(q){this._pane&&this._toggleClasses(this._pane,q,!0)}removePanelClass(q){this._pane&&this._toggleClasses(this._pane,q,!1)}getDirection(){const q=this._config.direction;return q?"string"==typeof q?q:q.value:"ltr"}updateScrollStrategy(q){q!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=q,this.hasAttached()&&(q.attach(this),q.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const q=this._pane.style;q.width=(0,D.HM)(this._config.width),q.height=(0,D.HM)(this._config.height),q.minWidth=(0,D.HM)(this._config.minWidth),q.minHeight=(0,D.HM)(this._config.minHeight),q.maxWidth=(0,D.HM)(this._config.maxWidth),q.maxHeight=(0,D.HM)(this._config.maxHeight)}_togglePointerEvents(q){this._pane.style.pointerEvents=q?"":"none"}_attachBackdrop(){const q="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(q)})}):this._backdropElement.classList.add(q)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const q=this._backdropElement;if(q){if(this._animationsDisabled)return void this._disposeBackdrop(q);q.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{q.addEventListener("transitionend",this._backdropTransitionendHandler)}),q.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(q)},500))}}_toggleClasses(q,de,Ce){const ke=(0,D.Eq)(de||[]).filter(ht=>!!ht);ke.length&&(Ce?q.classList.add(...ke):q.classList.remove(...ke))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const q=this._ngZone.onStable.pipe((0,I.R)((0,S.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()),q.unsubscribe())})})}_disposeScrollStrategy(){const q=this._scrollStrategy;q&&(q.disable(),q.detach&&q.detach())}_disposeBackdrop(q){q&&(q.removeEventListener("click",this._backdropClickHandler),q.removeEventListener("transitionend",this._backdropTransitionendHandler),q.remove(),this._backdropElement===q&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const g="cdk-overlay-connected-position-bounding-box",n=/([A-Za-z%]+)$/;class b{constructor(q,de,Ce,ke,ht){this._viewportRuler=de,this._document=Ce,this._platform=ke,this._overlayContainer=ht,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 P.x,this._resizeSubscription=d.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(q)}get positions(){return this._preferredPositions}attach(q){this._validatePositions(),q.hostElement.classList.add(g),this._overlayRef=q,this._boundingBox=q.hostElement,this._pane=q.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 q=this._originRect,de=this._overlayRect,Ce=this._viewportRect,ke=this._containerRect,ht=[];let nt;for(let wt of this._preferredPositions){let it=this._getOriginPoint(q,ke,wt),qt=this._getOverlayPoint(it,de,wt),_t=this._getOverlayFit(qt,de,Ce,wt);if(_t.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(wt,it);this._canFitWithFlexibleDimensions(_t,qt,Ce)?ht.push({position:wt,origin:it,overlayRect:de,boundingBoxRect:this._calculateBoundingBoxRect(it,wt)}):(!nt||nt.overlayFit.visibleArea<_t.visibleArea)&&(nt={overlayFit:_t,overlayPoint:qt,originPoint:it,position:wt,overlayRect:de})}if(ht.length){let wt=null,it=-1;for(const qt of ht){const _t=qt.boundingBoxRect.width*qt.boundingBoxRect.height*(qt.position.weight||1);_t>it&&(it=_t,wt=qt)}return this._isPushed=!1,void this._applyPosition(wt.position,wt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(nt.position,nt.originPoint);this._applyPosition(nt.position,nt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&U(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(g),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const q=this._lastPosition;if(q){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const de=this._getOriginPoint(this._originRect,this._containerRect,q);this._applyPosition(q,de)}else this.apply()}withScrollableContainers(q){return this._scrollables=q,this}withPositions(q){return this._preferredPositions=q,-1===q.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(q){return this._viewportMargin=q,this}withFlexibleDimensions(q=!0){return this._hasFlexibleDimensions=q,this}withGrowAfterOpen(q=!0){return this._growAfterOpen=q,this}withPush(q=!0){return this._canPush=q,this}withLockedPosition(q=!0){return this._positionLocked=q,this}setOrigin(q){return this._origin=q,this}withDefaultOffsetX(q){return this._offsetX=q,this}withDefaultOffsetY(q){return this._offsetY=q,this}withTransformOriginOn(q){return this._transformOriginSelector=q,this}_getOriginPoint(q,de,Ce){let ke,ht;if("center"==Ce.originX)ke=q.left+q.width/2;else{const nt=this._isRtl()?q.right:q.left,wt=this._isRtl()?q.left:q.right;ke="start"==Ce.originX?nt:wt}return de.left<0&&(ke-=de.left),ht="center"==Ce.originY?q.top+q.height/2:"top"==Ce.originY?q.top:q.bottom,de.top<0&&(ht-=de.top),{x:ke,y:ht}}_getOverlayPoint(q,de,Ce){let ke,ht;return ke="center"==Ce.overlayX?-de.width/2:"start"===Ce.overlayX?this._isRtl()?-de.width:0:this._isRtl()?0:-de.width,ht="center"==Ce.overlayY?-de.height/2:"top"==Ce.overlayY?0:-de.height,{x:q.x+ke,y:q.y+ht}}_getOverlayFit(q,de,Ce,ke){const ht=j(de);let{x:nt,y:wt}=q,it=this._getOffset(ke,"x"),qt=this._getOffset(ke,"y");it&&(nt+=it),qt&&(wt+=qt);let Nt=0-wt,De=wt+ht.height-Ce.height,He=this._subtractOverflows(ht.width,0-nt,nt+ht.width-Ce.width),Ct=this._subtractOverflows(ht.height,Nt,De),Pe=He*Ct;return{visibleArea:Pe,isCompletelyWithinViewport:ht.width*ht.height===Pe,fitsInViewportVertically:Ct===ht.height,fitsInViewportHorizontally:He==ht.width}}_canFitWithFlexibleDimensions(q,de,Ce){if(this._hasFlexibleDimensions){const ke=Ce.bottom-de.y,ht=Ce.right-de.x,nt=V(this._overlayRef.getConfig().minHeight),wt=V(this._overlayRef.getConfig().minWidth),qt=q.fitsInViewportHorizontally||null!=wt&&wt<=ht;return(q.fitsInViewportVertically||null!=nt&&nt<=ke)&&qt}return!1}_pushOverlayOnScreen(q,de,Ce){if(this._previousPushAmount&&this._positionLocked)return{x:q.x+this._previousPushAmount.x,y:q.y+this._previousPushAmount.y};const ke=j(de),ht=this._viewportRect,nt=Math.max(q.x+ke.width-ht.width,0),wt=Math.max(q.y+ke.height-ht.height,0),it=Math.max(ht.top-Ce.top-q.y,0),qt=Math.max(ht.left-Ce.left-q.x,0);let _t=0,ne=0;return _t=ke.width<=ht.width?qt||-nt:q.x<this._viewportMargin?ht.left-Ce.left-q.x:0,ne=ke.height<=ht.height?it||-wt:q.y<this._viewportMargin?ht.top-Ce.top-q.y:0,this._previousPushAmount={x:_t,y:ne},{x:q.x+_t,y:q.y+ne}}_applyPosition(q,de){if(this._setTransformOrigin(q),this._setOverlayElementStyles(de,q),this._setBoundingBoxStyles(de,q),q.panelClass&&this._addPanelClasses(q.panelClass),this._lastPosition=q,this._positionChanges.observers.length){const Ce=this._getScrollVisibility(),ke=new T(q,Ce);this._positionChanges.next(ke)}this._isInitialRender=!1}_setTransformOrigin(q){if(!this._transformOriginSelector)return;const de=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Ce,ke=q.overlayY;Ce="center"===q.overlayX?"center":this._isRtl()?"start"===q.overlayX?"right":"left":"start"===q.overlayX?"left":"right";for(let ht=0;ht<de.length;ht++)de[ht].style.transformOrigin=`${Ce} ${ke}`}_calculateBoundingBoxRect(q,de){const Ce=this._viewportRect,ke=this._isRtl();let ht,nt,wt,_t,ne,Nt;if("top"===de.overlayY)nt=q.y,ht=Ce.height-nt+this._viewportMargin;else if("bottom"===de.overlayY)wt=Ce.height-q.y+2*this._viewportMargin,ht=Ce.height-wt+this._viewportMargin;else{const De=Math.min(Ce.bottom-q.y+Ce.top,q.y),He=this._lastBoundingBoxSize.height;ht=2*De,nt=q.y-De,ht>He&&!this._isInitialRender&&!this._growAfterOpen&&(nt=q.y-He/2)}if("end"===de.overlayX&&!ke||"start"===de.overlayX&&ke)Nt=Ce.width-q.x+this._viewportMargin,_t=q.x-this._viewportMargin;else if("start"===de.overlayX&&!ke||"end"===de.overlayX&&ke)ne=q.x,_t=Ce.right-q.x;else{const De=Math.min(Ce.right-q.x+Ce.left,q.x),He=this._lastBoundingBoxSize.width;_t=2*De,ne=q.x-De,_t>He&&!this._isInitialRender&&!this._growAfterOpen&&(ne=q.x-He/2)}return{top:nt,left:ne,bottom:wt,right:Nt,width:_t,height:ht}}_setBoundingBoxStyles(q,de){const Ce=this._calculateBoundingBoxRect(q,de);!this._isInitialRender&&!this._growAfterOpen&&(Ce.height=Math.min(Ce.height,this._lastBoundingBoxSize.height),Ce.width=Math.min(Ce.width,this._lastBoundingBoxSize.width));const ke={};if(this._hasExactPosition())ke.top=ke.left="0",ke.bottom=ke.right=ke.maxHeight=ke.maxWidth="",ke.width=ke.height="100%";else{const ht=this._overlayRef.getConfig().maxHeight,nt=this._overlayRef.getConfig().maxWidth;ke.height=(0,D.HM)(Ce.height),ke.top=(0,D.HM)(Ce.top),ke.bottom=(0,D.HM)(Ce.bottom),ke.width=(0,D.HM)(Ce.width),ke.left=(0,D.HM)(Ce.left),ke.right=(0,D.HM)(Ce.right),ke.alignItems="center"===de.overlayX?"center":"end"===de.overlayX?"flex-end":"flex-start",ke.justifyContent="center"===de.overlayY?"center":"bottom"===de.overlayY?"flex-end":"flex-start",ht&&(ke.maxHeight=(0,D.HM)(ht)),nt&&(ke.maxWidth=(0,D.HM)(nt))}this._lastBoundingBoxSize=Ce,U(this._boundingBox.style,ke)}_resetBoundingBoxStyles(){U(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){U(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(q,de){const Ce={},ke=this._hasExactPosition(),ht=this._hasFlexibleDimensions,nt=this._overlayRef.getConfig();if(ke){const _t=this._viewportRuler.getViewportScrollPosition();U(Ce,this._getExactOverlayY(de,q,_t)),U(Ce,this._getExactOverlayX(de,q,_t))}else Ce.position="static";let wt="",it=this._getOffset(de,"x"),qt=this._getOffset(de,"y");it&&(wt+=`translateX(${it}px) `),qt&&(wt+=`translateY(${qt}px)`),Ce.transform=wt.trim(),nt.maxHeight&&(ke?Ce.maxHeight=(0,D.HM)(nt.maxHeight):ht&&(Ce.maxHeight="")),nt.maxWidth&&(ke?Ce.maxWidth=(0,D.HM)(nt.maxWidth):ht&&(Ce.maxWidth="")),U(this._pane.style,Ce)}_getExactOverlayY(q,de,Ce){let ke={top:"",bottom:""},ht=this._getOverlayPoint(de,this._overlayRect,q);return this._isPushed&&(ht=this._pushOverlayOnScreen(ht,this._overlayRect,Ce)),"bottom"===q.overlayY?ke.bottom=this._document.documentElement.clientHeight-(ht.y+this._overlayRect.height)+"px":ke.top=(0,D.HM)(ht.y),ke}_getExactOverlayX(q,de,Ce){let nt,ke={left:"",right:""},ht=this._getOverlayPoint(de,this._overlayRect,q);return this._isPushed&&(ht=this._pushOverlayOnScreen(ht,this._overlayRect,Ce)),nt=this._isRtl()?"end"===q.overlayX?"left":"right":"end"===q.overlayX?"right":"left","right"===nt?ke.right=this._document.documentElement.clientWidth-(ht.x+this._overlayRect.width)+"px":ke.left=(0,D.HM)(ht.x),ke}_getScrollVisibility(){const q=this._getOriginRect(),de=this._pane.getBoundingClientRect(),Ce=this._scrollables.map(ke=>ke.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ue(q,Ce),isOriginOutsideView:ee(q,Ce),isOverlayClipped:ue(de,Ce),isOverlayOutsideView:ee(de,Ce)}}_subtractOverflows(q,...de){return de.reduce((Ce,ke)=>Ce-Math.max(ke,0),q)}_getNarrowedViewportRect(){const q=this._document.documentElement.clientWidth,de=this._document.documentElement.clientHeight,Ce=this._viewportRuler.getViewportScrollPosition();return{top:Ce.top+this._viewportMargin,left:Ce.left+this._viewportMargin,right:Ce.left+q-this._viewportMargin,bottom:Ce.top+de-this._viewportMargin,width:q-2*this._viewportMargin,height:de-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(q,de){return"x"===de?null==q.offsetX?this._offsetX:q.offsetX:null==q.offsetY?this._offsetY:q.offsetY}_validatePositions(){}_addPanelClasses(q){this._pane&&(0,D.Eq)(q).forEach(de=>{""!==de&&-1===this._appliedPanelClasses.indexOf(de)&&(this._appliedPanelClasses.push(de),this._pane.classList.add(de))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(q=>{this._pane.classList.remove(q)}),this._appliedPanelClasses=[])}_getOriginRect(){const q=this._origin;if(q instanceof v.SBq)return q.nativeElement.getBoundingClientRect();if(q instanceof Element)return q.getBoundingClientRect();const de=q.width||0,Ce=q.height||0;return{top:q.y,bottom:q.y+Ce,left:q.x,right:q.x+de,height:Ce,width:de}}}function U(Be,q){for(let de in q)q.hasOwnProperty(de)&&(Be[de]=q[de]);return Be}function V(Be){if("number"!=typeof Be&&null!=Be){const[q,de]=Be.split(n);return de&&"px"!==de?null:parseFloat(q)}return Be||null}function j(Be){return{top:Math.floor(Be.top),right:Math.floor(Be.right),bottom:Math.floor(Be.bottom),left:Math.floor(Be.left),width:Math.floor(Be.width),height:Math.floor(Be.height)}}const qe="cdk-global-overlay-wrapper";class ct{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(q){const de=q.getConfig();this._overlayRef=q,this._width&&!de.width&&q.updateSize({width:this._width}),this._height&&!de.height&&q.updateSize({height:this._height}),q.hostElement.classList.add(qe),this._isDisposed=!1}top(q=""){return this._bottomOffset="",this._topOffset=q,this._alignItems="flex-start",this}left(q=""){return this._xOffset=q,this._xPosition="left",this}bottom(q=""){return this._topOffset="",this._bottomOffset=q,this._alignItems="flex-end",this}right(q=""){return this._xOffset=q,this._xPosition="right",this}start(q=""){return this._xOffset=q,this._xPosition="start",this}end(q=""){return this._xOffset=q,this._xPosition="end",this}width(q=""){return this._overlayRef?this._overlayRef.updateSize({width:q}):this._width=q,this}height(q=""){return this._overlayRef?this._overlayRef.updateSize({height:q}):this._height=q,this}centerHorizontally(q=""){return this.left(q),this._xPosition="center",this}centerVertically(q=""){return this.top(q),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const q=this._overlayRef.overlayElement.style,de=this._overlayRef.hostElement.style,Ce=this._overlayRef.getConfig(),{width:ke,height:ht,maxWidth:nt,maxHeight:wt}=Ce,it=!("100%"!==ke&&"100vw"!==ke||nt&&"100%"!==nt&&"100vw"!==nt),qt=!("100%"!==ht&&"100vh"!==ht||wt&&"100%"!==wt&&"100vh"!==wt),_t=this._xPosition,ne=this._xOffset,Nt="rtl"===this._overlayRef.getConfig().direction;let De="",He="",Ct="";it?Ct="flex-start":"center"===_t?(Ct="center",Nt?He=ne:De=ne):Nt?"left"===_t||"end"===_t?(Ct="flex-end",De=ne):("right"===_t||"start"===_t)&&(Ct="flex-start",He=ne):"left"===_t||"start"===_t?(Ct="flex-start",De=ne):("right"===_t||"end"===_t)&&(Ct="flex-end",He=ne),q.position=this._cssPosition,q.marginLeft=it?"0":De,q.marginTop=qt?"0":this._topOffset,q.marginBottom=this._bottomOffset,q.marginRight=it?"0":He,de.justifyContent=Ct,de.alignItems=qt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const q=this._overlayRef.overlayElement.style,de=this._overlayRef.hostElement,Ce=de.style;de.classList.remove(qe),Ce.justifyContent=Ce.alignItems=q.marginTop=q.marginBottom=q.marginLeft=q.marginRight=q.position="",this._overlayRef=null,this._isDisposed=!0}}let Ie=(()=>{class Be{constructor(de,Ce,ke,ht){this._viewportRuler=de,this._document=Ce,this._platform=ke,this._overlayContainer=ht}global(){return new ct}flexibleConnectedTo(de){return new b(de,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Be.\u0275fac=function(de){return new(de||Be)(v.LFG(t.rL),v.LFG(e.K0),v.LFG(o.t4),v.LFG(A))},Be.\u0275prov=v.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})(),xe=0,le=(()=>{class Be{constructor(de,Ce,ke,ht,nt,wt,it,qt,_t,ne,Nt,De){this.scrollStrategies=de,this._overlayContainer=Ce,this._componentFactoryResolver=ke,this._positionBuilder=ht,this._keyboardDispatcher=nt,this._injector=wt,this._ngZone=it,this._document=qt,this._directionality=_t,this._location=ne,this._outsideClickDispatcher=Nt,this._animationsModuleType=De}create(de){const Ce=this._createHostElement(),ke=this._createPaneElement(Ce),ht=this._createPortalOutlet(ke),nt=new ce(de);return nt.direction=nt.direction||this._directionality.value,new k(ht,Ce,ke,nt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(de){const Ce=this._document.createElement("div");return Ce.id="cdk-overlay-"+xe++,Ce.classList.add("cdk-overlay-pane"),de.appendChild(Ce),Ce}_createHostElement(){const de=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(de),de}_createPortalOutlet(de){return this._appRef||(this._appRef=this._injector.get(v.z2F)),new u.u0(de,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Be.\u0275fac=function(de){return new(de||Be)(v.LFG(ie),v.LFG(A),v.LFG(v._Vd),v.LFG(Ie),v.LFG(l),v.LFG(v.zs3),v.LFG(v.R0b),v.LFG(e.K0),v.LFG(C.Is),v.LFG(e.Ye),v.LFG(y),v.LFG(v.QbO,8))},Be.\u0275prov=v.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const _e=[{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"}],se=new v.OlP("cdk-connected-overlay-scroll-strategy");let Ye=(()=>{class Be{constructor(de){this.elementRef=de}}return Be.\u0275fac=function(de){return new(de||Be)(v.Y36(v.SBq))},Be.\u0275dir=v.lG2({type:Be,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),Be})(),Te=(()=>{class Be{constructor(de,Ce,ke,ht,nt){this._overlay=de,this._dir=nt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=d.w0.EMPTY,this._attachSubscription=d.w0.EMPTY,this._detachSubscription=d.w0.EMPTY,this._positionSubscription=d.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new v.vpe,this.positionChange=new v.vpe,this.attach=new v.vpe,this.detach=new v.vpe,this.overlayKeydown=new v.vpe,this.overlayOutsideClick=new v.vpe,this._templatePortal=new u.UE(Ce,ke),this._scrollStrategyFactory=ht,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(de){this._offsetX=de,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(de){this._offsetY=de,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(de){this._hasBackdrop=(0,D.Ig)(de)}get lockPosition(){return this._lockPosition}set lockPosition(de){this._lockPosition=(0,D.Ig)(de)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(de){this._flexibleDimensions=(0,D.Ig)(de)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(de){this._growAfterOpen=(0,D.Ig)(de)}get push(){return this._push}set push(de){this._push=(0,D.Ig)(de)}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(de){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),de.origin&&this.open&&this._position.apply()),de.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=_e);const de=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=de.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=de.detachments().subscribe(()=>this.detach.emit()),de.keydownEvents().subscribe(Ce=>{this.overlayKeydown.next(Ce),Ce.keyCode===N.hY&&!this.disableClose&&!(0,N.Vb)(Ce)&&(Ce.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Ce=>{this.overlayOutsideClick.next(Ce)})}_buildConfig(){const de=this._position=this.positionStrategy||this._createPositionStrategy(),Ce=new ce({direction:this._dir,positionStrategy:de,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Ce.width=this.width),(this.height||0===this.height)&&(Ce.height=this.height),(this.minWidth||0===this.minWidth)&&(Ce.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Ce.minHeight=this.minHeight),this.backdropClass&&(Ce.backdropClass=this.backdropClass),this.panelClass&&(Ce.panelClass=this.panelClass),Ce}_updatePositionStrategy(de){const Ce=this.positions.map(ke=>({originX:ke.originX,originY:ke.originY,overlayX:ke.overlayX,overlayY:ke.overlayY,offsetX:ke.offsetX||this.offsetX,offsetY:ke.offsetY||this.offsetY,panelClass:ke.panelClass||void 0}));return de.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Ce).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const de=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(de),de}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Ye?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(de=>{this.backdropClick.emit(de)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,E.o)(()=>this.positionChange.observers.length>0)).subscribe(de=>{this.positionChange.emit(de),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Be.\u0275fac=function(de){return new(de||Be)(v.Y36(le),v.Y36(v.Rgc),v.Y36(v.s_b),v.Y36(se),v.Y36(C.Is,8))},Be.\u0275dir=v.lG2({type:Be,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"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[v.TTD]}),Be})();const be={provide:se,deps:[le],useFactory:function oe(Be){return()=>Be.scrollStrategies.reposition()}};let te=(()=>{class Be{}return Be.\u0275fac=function(de){return new(de||Be)},Be.\u0275mod=v.oAB({type:Be}),Be.\u0275inj=v.cJS({providers:[le,be],imports:[C.vT,u.eL,t.Cl,t.Cl]}),Be})()},3353:(Ve,Q,m)=>{"use strict";m.d(Q,{Mq:()=>N,Oy:()=>ue,_i:()=>z,ht:()=>X,i$:()=>w,kV:()=>Y,qK:()=>P,sA:()=>ee,t4:()=>D});var t=m(4650),e=m(6895);let v;try{v=typeof Intl<"u"&&Intl.v8BreakIterator}catch{v=!1}let C,D=(()=>{class he{constructor(ce){this._platformId=ce,this.isBrowser=this._platformId?(0,e.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&&!v)&&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}}return he.\u0275fac=function(ce){return new(ce||he)(t.LFG(t.Lbi))},he.\u0275prov=t.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),he})();const u=["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(C)return C;if("object"!=typeof document||!document)return C=new Set(u),C;let he=document.createElement("input");return C=new Set(u.filter(ie=>(he.setAttribute("type",ie),he.type===ie))),C}let d,I,E,G;function w(he){return function S(){if(null==d&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?he:!!he.capture}function N(){if(null==E){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return E=!1,E;if("scrollBehavior"in document.documentElement.style)E=!0;else{const he=Element.prototype.scrollTo;E=!!he&&!/\{\s*\[native code\]\s*\}/.test(he.toString())}}return E}function z(){if("object"!=typeof document||!document)return 0;if(null==I){const he=document.createElement("div"),ie=he.style;he.dir="rtl",ie.width="1px",ie.overflow="auto",ie.visibility="hidden",ie.pointerEvents="none",ie.position="absolute";const ce=document.createElement("div"),$=ce.style;$.width="2px",$.height="1px",he.appendChild(ce),document.body.appendChild(he),I=0,0===he.scrollLeft&&(he.scrollLeft=1,I=0===he.scrollLeft?1:2),he.remove()}return I}function Y(he){if(function W(){if(null==G){const he=typeof document<"u"?document.head:null;G=!(!he||!he.createShadowRoot&&!he.attachShadow)}return G}()){const ie=he.getRootNode?he.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ie instanceof ShadowRoot)return ie}return null}function X(){let he=typeof document<"u"&&document?document.activeElement:null;for(;he&&he.shadowRoot;){const ie=he.shadowRoot.activeElement;if(ie===he)break;he=ie}return he}function ee(he){return he.composedPath?he.composedPath()[0]:he.target}function ue(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(Ve,Q,m)=>{"use strict";m.d(Q,{C5:()=>S,Pl:()=>X,UE:()=>w,eL:()=>ue,en:()=>E,ig:()=>W,u0:()=>z});var t=m(4650),e=m(6895);class d{attach(ce){return this._attachedHost=ce,ce.attach(this)}detach(){let ce=this._attachedHost;null!=ce&&(this._attachedHost=null,ce.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ce){this._attachedHost=ce}}class S extends d{constructor(ce,$,fe,T,i){super(),this.component=ce,this.viewContainerRef=$,this.injector=fe,this.componentFactoryResolver=T,this.projectableNodes=i}}class w extends d{constructor(ce,$,fe,T){super(),this.templateRef=ce,this.viewContainerRef=$,this.context=fe,this.injector=T}get origin(){return this.templateRef.elementRef}attach(ce,$=this.context){return this.context=$,super.attach(ce)}detach(){return this.context=void 0,super.detach()}}class I extends d{constructor(ce){super(),this.element=ce instanceof t.SBq?ce.nativeElement:ce}}class E{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ce){return ce instanceof S?(this._attachedPortal=ce,this.attachComponentPortal(ce)):ce instanceof w?(this._attachedPortal=ce,this.attachTemplatePortal(ce)):this.attachDomPortal&&ce instanceof I?(this._attachedPortal=ce,this.attachDomPortal(ce)):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(ce){this._disposeFn=ce}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class z extends E{constructor(ce,$,fe,T,i){super(),this.outletElement=ce,this._componentFactoryResolver=$,this._appRef=fe,this._defaultInjector=T,this.attachDomPortal=r=>{const h=r.element,l=this._document.createComment("dom-portal");h.parentNode.insertBefore(l,h),this.outletElement.appendChild(h),this._attachedPortal=r,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(h,l)})},this._document=i}attachComponentPortal(ce){const fe=(ce.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ce.component);let T;return ce.viewContainerRef?(T=ce.viewContainerRef.createComponent(fe,ce.viewContainerRef.length,ce.injector||ce.viewContainerRef.injector,ce.projectableNodes||void 0),this.setDisposeFn(()=>T.destroy())):(T=fe.create(ce.injector||this._defaultInjector||t.zs3.NULL),this._appRef.attachView(T.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(T.hostView),T.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(T)),this._attachedPortal=ce,T}attachTemplatePortal(ce){let $=ce.viewContainerRef,fe=$.createEmbeddedView(ce.templateRef,ce.context,{injector:ce.injector});return fe.rootNodes.forEach(T=>this.outletElement.appendChild(T)),fe.detectChanges(),this.setDisposeFn(()=>{let T=$.indexOf(fe);-1!==T&&$.remove(T)}),this._attachedPortal=ce,fe}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ce){return ce.hostView.rootNodes[0]}}let W=(()=>{class ie extends w{constructor($,fe){super($,fe)}}return ie.\u0275fac=function($){return new($||ie)(t.Y36(t.Rgc),t.Y36(t.s_b))},ie.\u0275dir=t.lG2({type:ie,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[t.qOj]}),ie})(),X=(()=>{class ie extends E{constructor($,fe,T){super(),this._componentFactoryResolver=$,this._viewContainerRef=fe,this._isInitialized=!1,this.attached=new t.vpe,this.attachDomPortal=i=>{const r=i.element,h=this._document.createComment("dom-portal");i.setAttachedHost(this),r.parentNode.insertBefore(h,r),this._getRootNode().appendChild(r),this._attachedPortal=i,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(r,h)})},this._document=T}get portal(){return this._attachedPortal}set portal($){this.hasAttached()&&!$&&!this._isInitialized||(this.hasAttached()&&super.detach(),$&&super.attach($),this._attachedPortal=$||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal($){$.setAttachedHost(this);const fe=null!=$.viewContainerRef?$.viewContainerRef:this._viewContainerRef,i=($.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory($.component),r=fe.createComponent(i,fe.length,$.injector||fe.injector,$.projectableNodes||void 0);return fe!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=$,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal($){$.setAttachedHost(this);const fe=this._viewContainerRef.createEmbeddedView($.templateRef,$.context,{injector:$.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=$,this._attachedRef=fe,this.attached.emit(fe),fe}_getRootNode(){const $=this._viewContainerRef.element.nativeElement;return $.nodeType===$.ELEMENT_NODE?$:$.parentNode}}return ie.\u0275fac=function($){return new($||ie)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36(e.K0))},ie.\u0275dir=t.lG2({type:ie,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[t.qOj]}),ie})(),ue=(()=>{class ie{}return ie.\u0275fac=function($){return new($||ie)},ie.\u0275mod=t.oAB({type:ie}),ie.\u0275inj=t.cJS({}),ie})()},531:(Ve,Q,m)=>{"use strict";m.d(Q,{PQ:()=>l,ZD:()=>qe,mF:()=>h,Cl:()=>ct,rL:()=>A});var t=m(1281),e=m(4650),v=m(7579),D=m(9646),o=m(9751),C=m(4968),u=m(4408),P=m(727);const d={schedule(Ie){let xe=requestAnimationFrame,le=cancelAnimationFrame;const{delegate:_e}=d;_e&&(xe=_e.requestAnimationFrame,le=_e.cancelAnimationFrame);const se=xe(Ye=>{le=void 0,Ie(Ye)});return new P.w0(()=>le?.(se))},requestAnimationFrame(...Ie){const{delegate:xe}=d;return(xe?.requestAnimationFrame||requestAnimationFrame)(...Ie)},cancelAnimationFrame(...Ie){const{delegate:xe}=d;return(xe?.cancelAnimationFrame||cancelAnimationFrame)(...Ie)},delegate:void 0};var w=m(7565);const E=new class I extends w.v{flush(xe){this._active=!0;const le=this._scheduled;this._scheduled=void 0;const{actions:_e}=this;let se;xe=xe||_e.shift();do{if(se=xe.execute(xe.state,xe.delay))break}while((xe=_e[0])&&xe.id===le&&_e.shift());if(this._active=!1,se){for(;(xe=_e[0])&&xe.id===le&&_e.shift();)xe.unsubscribe();throw se}}}(class S extends u.o{constructor(xe,le){super(xe,le),this.scheduler=xe,this.work=le}requestAsyncId(xe,le,_e=0){return null!==_e&&_e>0?super.requestAsyncId(xe,le,_e):(xe.actions.push(this),xe._scheduled||(xe._scheduled=d.requestAnimationFrame(()=>xe.flush(void 0))))}recycleAsyncId(xe,le,_e=0){var se;if(null!=_e?_e>0:this.delay>0)return super.recycleAsyncId(xe,le,_e);const{actions:Ye}=xe;null!=le&&(null===(se=Ye[Ye.length-1])||void 0===se?void 0:se.id)!==le&&(d.cancelAnimationFrame(le),xe._scheduled=void 0)}});var z=m(3101),G=m(3601),W=m(9300),Y=m(2722),X=m(8675),ee=m(3353),ue=m(6895),he=m(445);const ie=["contentWrapper"],ce=["*"],$=new e.OlP("VIRTUAL_SCROLL_STRATEGY");let h=(()=>{class Ie{constructor(le,_e,se){this._ngZone=le,this._platform=_e,this._scrolled=new v.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=se}register(le){this.scrollContainers.has(le)||this.scrollContainers.set(le,le.elementScrolled().subscribe(()=>this._scrolled.next(le)))}deregister(le){const _e=this.scrollContainers.get(le);_e&&(_e.unsubscribe(),this.scrollContainers.delete(le))}scrolled(le=20){return this._platform.isBrowser?new o.y(_e=>{this._globalSubscription||this._addGlobalListener();const se=le>0?this._scrolled.pipe((0,G.e)(le)).subscribe(_e):this._scrolled.subscribe(_e);return this._scrolledCount++,()=>{se.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,D.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((le,_e)=>this.deregister(_e)),this._scrolled.complete()}ancestorScrolled(le,_e){const se=this.getAncestorScrollContainers(le);return this.scrolled(_e).pipe((0,W.h)(Ye=>!Ye||se.indexOf(Ye)>-1))}getAncestorScrollContainers(le){const _e=[];return this.scrollContainers.forEach((se,Ye)=>{this._scrollableContainsElement(Ye,le)&&_e.push(Ye)}),_e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(le,_e){let se=(0,t.fI)(_e),Ye=le.getElementRef().nativeElement;do{if(se==Ye)return!0}while(se=se.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const le=this._getWindow();return(0,C.R)(le.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Ie.\u0275fac=function(le){return new(le||Ie)(e.LFG(e.R0b),e.LFG(ee.t4),e.LFG(ue.K0,8))},Ie.\u0275prov=e.Yz7({token:Ie,factory:Ie.\u0275fac,providedIn:"root"}),Ie})(),l=(()=>{class Ie{constructor(le,_e,se,Ye){this.elementRef=le,this.scrollDispatcher=_e,this.ngZone=se,this.dir=Ye,this._destroyed=new v.x,this._elementScrolled=new o.y(Te=>this.ngZone.runOutsideAngular(()=>(0,C.R)(this.elementRef.nativeElement,"scroll").pipe((0,Y.R)(this._destroyed)).subscribe(Te)))}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(le){const _e=this.elementRef.nativeElement,se=this.dir&&"rtl"==this.dir.value;null==le.left&&(le.left=se?le.end:le.start),null==le.right&&(le.right=se?le.start:le.end),null!=le.bottom&&(le.top=_e.scrollHeight-_e.clientHeight-le.bottom),se&&0!=(0,ee._i)()?(null!=le.left&&(le.right=_e.scrollWidth-_e.clientWidth-le.left),2==(0,ee._i)()?le.left=le.right:1==(0,ee._i)()&&(le.left=le.right?-le.right:le.right)):null!=le.right&&(le.left=_e.scrollWidth-_e.clientWidth-le.right),this._applyScrollToOptions(le)}_applyScrollToOptions(le){const _e=this.elementRef.nativeElement;(0,ee.Mq)()?_e.scrollTo(le):(null!=le.top&&(_e.scrollTop=le.top),null!=le.left&&(_e.scrollLeft=le.left))}measureScrollOffset(le){const _e="left",Ye=this.elementRef.nativeElement;if("top"==le)return Ye.scrollTop;if("bottom"==le)return Ye.scrollHeight-Ye.clientHeight-Ye.scrollTop;const Te=this.dir&&"rtl"==this.dir.value;return"start"==le?le=Te?"right":_e:"end"==le&&(le=Te?_e:"right"),Te&&2==(0,ee._i)()?le==_e?Ye.scrollWidth-Ye.clientWidth-Ye.scrollLeft:Ye.scrollLeft:Te&&1==(0,ee._i)()?le==_e?Ye.scrollLeft+Ye.scrollWidth-Ye.clientWidth:-Ye.scrollLeft:le==_e?Ye.scrollLeft:Ye.scrollWidth-Ye.clientWidth-Ye.scrollLeft}}return Ie.\u0275fac=function(le){return new(le||Ie)(e.Y36(e.SBq),e.Y36(h),e.Y36(e.R0b),e.Y36(he.Is,8))},Ie.\u0275dir=e.lG2({type:Ie,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),Ie})(),A=(()=>{class Ie{constructor(le,_e,se){this._platform=le,this._change=new v.x,this._changeListener=Ye=>{this._change.next(Ye)},this._document=se,_e.runOutsideAngular(()=>{if(le.isBrowser){const Ye=this._getWindow();Ye.addEventListener("resize",this._changeListener),Ye.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const le=this._getWindow();le.removeEventListener("resize",this._changeListener),le.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const le={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),le}getViewportRect(){const le=this.getViewportScrollPosition(),{width:_e,height:se}=this.getViewportSize();return{top:le.top,left:le.left,bottom:le.top+se,right:le.left+_e,height:se,width:_e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const le=this._document,_e=this._getWindow(),se=le.documentElement,Ye=se.getBoundingClientRect();return{top:-Ye.top||le.body.scrollTop||_e.scrollY||se.scrollTop||0,left:-Ye.left||le.body.scrollLeft||_e.scrollX||se.scrollLeft||0}}change(le=20){return le>0?this._change.pipe((0,G.e)(le)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const le=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:le.innerWidth,height:le.innerHeight}:{width:0,height:0}}}return Ie.\u0275fac=function(le){return new(le||Ie)(e.LFG(ee.t4),e.LFG(e.R0b),e.LFG(ue.K0,8))},Ie.\u0275prov=e.Yz7({token:Ie,factory:Ie.\u0275fac,providedIn:"root"}),Ie})();const k=new e.OlP("VIRTUAL_SCROLLABLE");let g=(()=>{class Ie extends l{constructor(le,_e,se,Ye){super(le,_e,se,Ye)}measureViewportSize(le){const _e=this.elementRef.nativeElement;return"horizontal"===le?_e.clientWidth:_e.clientHeight}}return Ie.\u0275fac=function(le){return new(le||Ie)(e.Y36(e.SBq),e.Y36(h),e.Y36(e.R0b),e.Y36(he.Is,8))},Ie.\u0275dir=e.lG2({type:Ie,features:[e.qOj]}),Ie})();const b=typeof requestAnimationFrame<"u"?E:z.E;let U=(()=>{class Ie extends g{constructor(le,_e,se,Ye,Te,oe,be,te){super(le,oe,se,Te),this.elementRef=le,this._changeDetectorRef=_e,this._scrollStrategy=Ye,this.scrollable=te,this._platform=(0,e.f3M)(ee.t4),this._detachedSubject=new v.x,this._renderedRangeSubject=new v.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new o.y(Ue=>this._scrollStrategy.scrolledIndexChange.subscribe(Be=>Promise.resolve().then(()=>this.ngZone.run(()=>Ue.next(Be))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=P.w0.EMPTY,this._viewportChanges=be.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(le){this._orientation!==le&&(this._orientation=le,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(le){this._appendOnly=(0,t.Ig)(le)}ngOnInit(){!this._platform.isBrowser||(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,X.O)(null),(0,G.e)(0,b)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(le){this.ngZone.runOutsideAngular(()=>{this._forOf=le,this._forOf.dataStream.pipe((0,Y.R)(this._detachedSubject)).subscribe(_e=>{const se=_e.length;se!==this._dataLength&&(this._dataLength=se,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(le){return this.getElementRef().nativeElement.getBoundingClientRect()[le]}setTotalContentSize(le){this._totalContentSize!==le&&(this._totalContentSize=le,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(le){(function n(Ie,xe){return Ie.start==xe.start&&Ie.end==xe.end})(this._renderedRange,le)||(this.appendOnly&&(le={start:0,end:Math.max(this._renderedRange.end,le.end)}),this._renderedRangeSubject.next(this._renderedRange=le),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(le,_e="to-start"){le=this.appendOnly&&"to-start"===_e?0:le;const Ye="horizontal"==this.orientation,Te=Ye?"X":"Y";let be=`translate${Te}(${Number((Ye&&this.dir&&"rtl"==this.dir.value?-1:1)*le)}px)`;this._renderedContentOffset=le,"to-end"===_e&&(be+=` translate${Te}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=be&&(this._renderedContentTransform=be,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(le,_e="auto"){const se={behavior:_e};"horizontal"===this.orientation?se.start=le:se.top=le,this.scrollable.scrollTo(se)}scrollToIndex(le,_e="auto"){this._scrollStrategy.scrollToIndex(le,_e)}measureScrollOffset(le){let _e;return _e=this.scrollable==this?se=>super.measureScrollOffset(se):se=>this.scrollable.measureScrollOffset(se),Math.max(0,_e(le??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(le){let _e;const Te="rtl"==this.dir?.value;_e="start"==le?Te?"right":"left":"end"==le?Te?"left":"right":le||("horizontal"===this.orientation?"left":"top");const oe=this.scrollable.measureBoundingClientRectWithScrollOffset(_e);return this.elementRef.nativeElement.getBoundingClientRect()[_e]-oe}measureRenderedContentSize(){const le=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?le.offsetWidth:le.offsetHeight}measureRangeSize(le){return this._forOf?this._forOf.measureRangeSize(le,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(le){le&&this._runAfterChangeDetection.push(le),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const le=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const _e of le)_e()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return Ie.\u0275fac=function(le){return new(le||Ie)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36($,8),e.Y36(he.Is,8),e.Y36(h),e.Y36(A),e.Y36(k,8))},Ie.\u0275cmp=e.Xpm({type:Ie,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(le,_e){if(1&le&&e.Gf(ie,7),2&le){let se;e.iGM(se=e.CRH())&&(_e._contentWrapper=se.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(le,_e){2&le&&e.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===_e.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==_e.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[e._Bn([{provide:l,useFactory:(xe,le)=>xe||le,deps:[[new e.FiY,new e.tBr(k)],Ie]}]),e.qOj,e.jDz],ngContentSelectors:ce,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(le,_e){1&le&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA(),e._UZ(3,"div",2)),2&le&&(e.xp6(3),e.Udp("width",_e._totalContentWidth)("height",_e._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),Ie})(),qe=(()=>{class Ie{}return Ie.\u0275fac=function(le){return new(le||Ie)},Ie.\u0275mod=e.oAB({type:Ie}),Ie.\u0275inj=e.cJS({}),Ie})(),ct=(()=>{class Ie{}return Ie.\u0275fac=function(le){return new(le||Ie)},Ie.\u0275mod=e.oAB({type:Ie}),Ie.\u0275inj=e.cJS({imports:[he.vT,qe,U,he.vT,qe]}),Ie})()},2138:(Ve,Q,m)=>{"use strict";m.d(Q,{B8:()=>ee,KL:()=>E,U5:()=>ie,be:()=>X,gx:()=>Y,po:()=>he,st:()=>ue,u6:()=>N});var t=m(4761),e=m(445),v=m(1281),D=m(9521),o=m(4650),C=m(3353),u=m(7579),P=m(9646),d=m(8675),S=m(2722);function w(ce,$){1&ce&&o.Hsn(0)}const I=["*"];let E=(()=>{class ce{constructor(fe){this._elementRef=fe}focus(){this._elementRef.nativeElement.focus()}}return ce.\u0275fac=function(fe){return new(fe||ce)(o.Y36(o.SBq))},ce.\u0275dir=o.lG2({type:ce,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),ce})(),N=(()=>{class ce{constructor(fe){this.template=fe}}return ce.\u0275fac=function(fe){return new(fe||ce)(o.Y36(o.Rgc))},ce.\u0275dir=o.lG2({type:ce,selectors:[["","cdkStepLabel",""]]}),ce})(),z=0;const Y=new o.OlP("STEPPER_GLOBAL_OPTIONS");let X=(()=>{class ce{constructor(fe,T){this._stepper=fe,this.interacted=!1,this.interactedStream=new o.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=T||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(fe){this._editable=(0,v.Ig)(fe)}get optional(){return this._optional}set optional(fe){this._optional=(0,v.Ig)(fe)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(fe){this._completedOverride=(0,v.Ig)(fe)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(fe){this._customError=(0,v.Ig)(fe)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}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}}return ce.\u0275fac=function(fe){return new(fe||ce)(o.Y36((0,o.Gpc)(()=>ee)),o.Y36(Y,8))},ce.\u0275cmp=o.Xpm({type:ce,selectors:[["cdk-step"]],contentQueries:function(fe,T,i){if(1&fe&&o.Suo(i,N,5),2&fe){let r;o.iGM(r=o.CRH())&&(T.stepLabel=r.first)}},viewQuery:function(fe,T){if(1&fe&&o.Gf(o.Rgc,7),2&fe){let i;o.iGM(i=o.CRH())&&(T.content=i.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[o.TTD],ngContentSelectors:I,decls:1,vars:0,template:function(fe,T){1&fe&&(o.F$t(),o.YNc(0,w,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),ce})(),ee=(()=>{class ce{constructor(fe,T,i){this._dir=fe,this._changeDetectorRef=T,this._elementRef=i,this._destroyed=new u.x,this.steps=new o.n_E,this._sortedHeaders=new o.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new o.vpe,this._orientation="horizontal",this._groupId=z++}get linear(){return this._linear}set linear(fe){this._linear=(0,v.Ig)(fe)}get selectedIndex(){return this._selectedIndex}set selectedIndex(fe){const T=(0,v.su)(fe);this.steps&&this._steps?(this._isValidIndex(T),this.selected?._markAsInteracted(),this._selectedIndex!==T&&!this._anyControlsInvalidOrPending(T)&&(T>=this._selectedIndex||this.steps.toArray()[T].editable)&&this._updateSelectedItemIndex(T)):this._selectedIndex=T}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(fe){this.selectedIndex=fe&&this.steps?this.steps.toArray().indexOf(fe):-1}get orientation(){return this._orientation}set orientation(fe){this._orientation=fe,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===fe)}ngAfterContentInit(){this._steps.changes.pipe((0,d.O)(this._steps),(0,S.R)(this._destroyed)).subscribe(fe=>{this.steps.reset(fe.filter(T=>T._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,d.O)(this._stepHeader),(0,S.R)(this._destroyed)).subscribe(fe=>{this._sortedHeaders.reset(fe.toArray().sort((T,i)=>T._elementRef.nativeElement.compareDocumentPosition(i._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new t.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,P.of)()).pipe((0,d.O)(this._layoutDirection()),(0,S.R)(this._destroyed)).subscribe(fe=>this._keyManager.withHorizontalOrientation(fe)),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(fe=>fe.reset()),this._stateChanged()}_getStepLabelId(fe){return`cdk-step-label-${this._groupId}-${fe}`}_getStepContentId(fe){return`cdk-step-content-${this._groupId}-${fe}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(fe){const T=fe-this._selectedIndex;return T<0?"rtl"===this._layoutDirection()?"next":"previous":T>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(fe,T="number"){const i=this.steps.toArray()[fe],r=this._isCurrentStep(fe);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,r):this._getGuidelineLogic(i,r,T)}_getDefaultIndicatorLogic(fe,T){return fe._showError()&&fe.hasError&&!T?"error":!fe.completed||T?"number":fe.editable?"edit":"done"}_getGuidelineLogic(fe,T,i="number"){return fe._showError()&&fe.hasError&&!T?"error":fe.completed&&!T?"done":fe.completed&&T?i:fe.editable&&T?"edit":i}_isCurrentStep(fe){return this._selectedIndex===fe}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(fe){const T=this.steps.toArray();this.selectionChange.emit({selectedIndex:fe,previouslySelectedIndex:this._selectedIndex,selectedStep:T[fe],previouslySelectedStep:T[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(fe):this._keyManager.updateActiveItem(fe),this._selectedIndex=fe,this._stateChanged()}_onKeydown(fe){const T=(0,D.Vb)(fe),i=fe.keyCode,r=this._keyManager;null==r.activeItemIndex||T||i!==D.L_&&i!==D.K5?r.setFocusOrigin("keyboard").onKeydown(fe):(this.selectedIndex=r.activeItemIndex,fe.preventDefault())}_anyControlsInvalidOrPending(fe){return!!(this._linear&&fe>=0)&&this.steps.toArray().slice(0,fe).some(T=>{const i=T.stepControl;return(i?i.invalid||i.pending||!T.interacted:!T.completed)&&!T.optional&&!T._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const fe=this._elementRef.nativeElement,T=(0,C.ht)();return fe===T||fe.contains(T)}_isValidIndex(fe){return fe>-1&&(!this.steps||fe<this.steps.length)}}return ce.\u0275fac=function(fe){return new(fe||ce)(o.Y36(e.Is,8),o.Y36(o.sBO),o.Y36(o.SBq))},ce.\u0275dir=o.lG2({type:ce,selectors:[["","cdkStepper",""]],contentQueries:function(fe,T,i){if(1&fe&&(o.Suo(i,X,5),o.Suo(i,E,5)),2&fe){let r;o.iGM(r=o.CRH())&&(T._steps=r),o.iGM(r=o.CRH())&&(T._stepHeader=r)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),ce})(),ue=(()=>{class ce{constructor(fe){this._stepper=fe,this.type="submit"}}return ce.\u0275fac=function(fe){return new(fe||ce)(o.Y36(ee))},ce.\u0275dir=o.lG2({type:ce,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(fe,T){1&fe&&o.NdJ("click",function(){return T._stepper.next()}),2&fe&&o.Ikx("type",T.type)},inputs:{type:"type"}}),ce})(),he=(()=>{class ce{constructor(fe){this._stepper=fe,this.type="button"}}return ce.\u0275fac=function(fe){return new(fe||ce)(o.Y36(ee))},ce.\u0275dir=o.lG2({type:ce,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(fe,T){1&fe&&o.NdJ("click",function(){return T._stepper.previous()}),2&fe&&o.Ikx("type",T.type)},inputs:{type:"type"}}),ce})(),ie=(()=>{class ce{}return ce.\u0275fac=function(fe){return new(fe||ce)},ce.\u0275mod=o.oAB({type:ce}),ce.\u0275inj=o.cJS({imports:[e.vT]}),ce})()},7851:(Ve,Q,m)=>{"use strict";m.d(Q,{HI:()=>z,Hs:()=>$,Ud:()=>l,VY:()=>N,XJ:()=>h,Xx:()=>i,_0:()=>ce,cu:()=>G,nZ:()=>A,rO:()=>Y});var t=m(5017),e=m(5191),v=m(7579),D=m(1135),o=m(9646),C=m(5698),u=m(9300),P=m(2722),d=m(4650),S=m(1281),w=m(445);class I{constructor(){this.expansionModel=new t.Ov(!0)}toggle(g){this.expansionModel.toggle(this._trackByValue(g))}expand(g){this.expansionModel.select(this._trackByValue(g))}collapse(g){this.expansionModel.deselect(this._trackByValue(g))}isExpanded(g){return this.expansionModel.isSelected(this._trackByValue(g))}toggleDescendants(g){this.expansionModel.isSelected(this._trackByValue(g))?this.collapseDescendants(g):this.expandDescendants(g)}collapseAll(){this.expansionModel.clear()}expandDescendants(g){let n=[g];n.push(...this.getDescendants(g)),this.expansionModel.select(...n.map(b=>this._trackByValue(b)))}collapseDescendants(g){let n=[g];n.push(...this.getDescendants(g)),this.expansionModel.deselect(...n.map(b=>this._trackByValue(b)))}_trackByValue(g){return this.trackBy?this.trackBy(g):g}}class N extends I{constructor(g,n){super(),this.getChildren=g,this.options=n,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const g=this.dataNodes.reduce((n,b)=>[...n,...this.getDescendants(b),b],[]);this.expansionModel.select(...g.map(n=>this._trackByValue(n)))}getDescendants(g){const n=[];return this._getDescendants(n,g),n.splice(1)}_getDescendants(g,n){g.push(n);const b=this.getChildren(n);Array.isArray(b)?b.forEach(U=>this._getDescendants(g,U)):(0,e.b)(b)&&b.pipe((0,C.q)(1),(0,u.h)(Boolean)).subscribe(U=>{for(const V of U)this._getDescendants(g,V)})}}const z=new d.OlP("CDK_TREE_NODE_OUTLET_NODE");let G=(()=>{class k{constructor(n,b){this.viewContainer=n,this._node=b}}return k.\u0275fac=function(n){return new(n||k)(d.Y36(d.s_b),d.Y36(z,8))},k.\u0275dir=d.lG2({type:k,selectors:[["","cdkTreeNodeOutlet",""]]}),k})();class W{constructor(g){this.$implicit=g}}let Y=(()=>{class k{constructor(n){this.template=n}}return k.\u0275fac=function(n){return new(n||k)(d.Y36(d.Rgc))},k.\u0275dir=d.lG2({type:k,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),k})(),ce=(()=>{class k{constructor(n,b){this._differs=n,this._changeDetectorRef=b,this._onDestroy=new v.x,this._levels=new Map,this.viewChange=new D.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(n){this._dataSource!==n&&this._switchDataSource(n)}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 n=this._nodeDefs.filter(b=>!b.when);this._defaultNodeDef=n[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(n){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),n||this._nodeOutlet.viewContainer.clear(),this._dataSource=n,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let n;(0,t.Z9)(this._dataSource)?n=this._dataSource.connect(this):(0,e.b)(this._dataSource)?n=this._dataSource:Array.isArray(this._dataSource)&&(n=(0,o.of)(this._dataSource)),n&&(this._dataSubscription=n.pipe((0,P.R)(this._onDestroy)).subscribe(b=>this.renderNodeChanges(b)))}renderNodeChanges(n,b=this._dataDiffer,U=this._nodeOutlet.viewContainer,V){const j=b.diff(n);!j||(j.forEachOperation((Ae,Ke,qe)=>{if(null==Ae.previousIndex)this.insertNode(n[qe],qe,U,V);else if(null==qe)U.remove(Ke),this._levels.delete(Ae.item);else{const ct=U.get(Ke);U.move(ct,qe)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(n,b){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(V=>V.when&&V.when(b,n))||this._defaultNodeDef}insertNode(n,b,U,V){const j=this._getNodeDef(n,b),Ae=new W(n);Ae.level=this.treeControl.getLevel?this.treeControl.getLevel(n):typeof V<"u"&&this._levels.has(V)?this._levels.get(V)+1:0,this._levels.set(n,Ae.level),(U||this._nodeOutlet.viewContainer).createEmbeddedView(j.template,Ae,b),$.mostRecentTreeNode&&($.mostRecentTreeNode.data=n)}}return k.\u0275fac=function(n){return new(n||k)(d.Y36(d.ZZ4),d.Y36(d.sBO))},k.\u0275cmp=d.Xpm({type:k,selectors:[["cdk-tree"]],contentQueries:function(n,b,U){if(1&n&&d.Suo(U,Y,5),2&n){let V;d.iGM(V=d.CRH())&&(b._nodeDefs=V)}},viewQuery:function(n,b){if(1&n&&d.Gf(G,7),2&n){let U;d.iGM(U=d.CRH())&&(b._nodeOutlet=U.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(n,b){1&n&&d.GkF(0,0)},dependencies:[G],encapsulation:2}),k})(),$=(()=>{class k{constructor(n,b){this._elementRef=n,this._tree=b,this._destroyed=new v.x,this._dataChanges=new v.x,k.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(n){this._elementRef.nativeElement.setAttribute("role",n)}get data(){return this._data}set data(n){n!==this._data&&(this._data=n,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}ngOnInit(){this._parentNodeAriaLevel=function fe(k){let g=k.parentElement;for(;g&&!T(g);)g=g.parentElement;return g?g.classList.contains("cdk-nested-tree-node")?(0,S.su)(g.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){k.mostRecentTreeNode===this&&(k.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return k.mostRecentTreeNode=null,k.\u0275fac=function(n){return new(n||k)(d.Y36(d.SBq),d.Y36(ce))},k.\u0275dir=d.lG2({type:k,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(n,b){2&n&&d.uIk("aria-expanded",b.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),k})();function T(k){const g=k.classList;return!(!g?.contains("cdk-nested-tree-node")&&!g?.contains("cdk-tree"))}let i=(()=>{class k extends ${constructor(n,b,U){super(n,b),this._differs=U}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const n=this._tree.treeControl.getChildren(this.data);Array.isArray(n)?this.updateChildrenNodes(n):(0,e.b)(n)&&n.pipe((0,P.R)(this._destroyed)).subscribe(b=>this.updateChildrenNodes(b)),this.nodeOutlet.changes.pipe((0,P.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(n){const b=this._getNodeOutlet();n&&(this._children=n),b&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,b.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const n=this._getNodeOutlet();n&&(n.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const n=this.nodeOutlet;return n&&n.find(b=>!b._node||b._node===this)}}return k.\u0275fac=function(n){return new(n||k)(d.Y36(d.SBq),d.Y36(ce),d.Y36(d.ZZ4))},k.\u0275dir=d.lG2({type:k,selectors:[["cdk-nested-tree-node"]],contentQueries:function(n,b,U){if(1&n&&d.Suo(U,G,5),2&n){let V;d.iGM(V=d.CRH())&&(b.nodeOutlet=V)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[d._Bn([{provide:$,useExisting:k},{provide:z,useExisting:k}]),d.qOj]}),k})();const r=/([A-Za-z%]+)$/;let h=(()=>{class k{constructor(n,b,U,V){this._treeNode=n,this._tree=b,this._element=U,this._dir=V,this._destroyed=new v.x,this.indentUnits="px",this._indent=40,this._setPadding(),V&&V.change.pipe((0,P.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),n._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(n){this._setLevelInput(n)}get indent(){return this._indent}set indent(n){this._setIndentInput(n)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const n=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,b=null==this._level?n:this._level;return"number"==typeof b?`${b*this._indent}${this.indentUnits}`:null}_setPadding(n=!1){const b=this._paddingIndent();if(b!==this._currentPadding||n){const U=this._element.nativeElement,V=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",j="paddingLeft"===V?"paddingRight":"paddingLeft";U.style[V]=b||"",U.style[j]="",this._currentPadding=b}}_setLevelInput(n){this._level=(0,S.su)(n,null),this._setPadding()}_setIndentInput(n){let b=n,U="px";if("string"==typeof n){const V=n.split(r);b=V[0],U=V[1]||U}this.indentUnits=U,this._indent=(0,S.su)(b),this._setPadding()}}return k.\u0275fac=function(n){return new(n||k)(d.Y36($),d.Y36(ce),d.Y36(d.SBq),d.Y36(w.Is,8))},k.\u0275dir=d.lG2({type:k,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),k})(),l=(()=>{class k{constructor(n,b){this._tree=n,this._treeNode=b,this._recursive=!1}get recursive(){return this._recursive}set recursive(n){this._recursive=(0,S.Ig)(n)}_toggle(n){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),n.stopPropagation()}}return k.\u0275fac=function(n){return new(n||k)(d.Y36(ce),d.Y36($))},k.\u0275dir=d.lG2({type:k,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(n,b){1&n&&d.NdJ("click",function(V){return b._toggle(V)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),k})(),A=(()=>{class k{}return k.\u0275fac=function(n){return new(n||k)},k.\u0275mod=d.oAB({type:k}),k.\u0275inj=d.cJS({}),k})()},6895:(Ve,Q,m)=>{"use strict";m.d(Q,{Do:()=>X,ED:()=>Nr,EM:()=>_a,HT:()=>D,JF:()=>Ea,JJ:()=>cs,K0:()=>C,Mx:()=>oi,NF:()=>Oa,Nd:()=>wa,O5:()=>on,OU:()=>Ja,Ov:()=>zn,PC:()=>Qt,PM:()=>ga,RF:()=>Zr,S$:()=>G,Ts:()=>Sr,V_:()=>d,Ye:()=>ee,b0:()=>Y,bD:()=>Ma,ez:()=>Fs,gd:()=>pa,i8:()=>ar,mk:()=>ge,n9:()=>fr,q:()=>v,rS:()=>Pn,sg:()=>zt,tP:()=>vi,uU:()=>Fr,w_:()=>o});var t=m(4650);let e=null;function v(){return e}function D(Oe){e||(e=Oe)}class o{}const C=new t.OlP("DocumentToken");let u=(()=>{class Oe{historyGo(Le){throw new Error("Not implemented")}}return Oe.\u0275fac=function(Le){return new(Le||Oe)},Oe.\u0275prov=t.Yz7({token:Oe,factory:function(){return function P(){return(0,t.LFG)(S)}()},providedIn:"platform"}),Oe})();const d=new t.OlP("Location Initialized");let S=(()=>{class Oe extends u{constructor(Le){super(),this._doc=Le,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return v().getBaseHref(this._doc)}onPopState(Le){const Et=v().getGlobalEventTarget(this._doc,"window");return Et.addEventListener("popstate",Le,!1),()=>Et.removeEventListener("popstate",Le)}onHashChange(Le){const Et=v().getGlobalEventTarget(this._doc,"window");return Et.addEventListener("hashchange",Le,!1),()=>Et.removeEventListener("hashchange",Le)}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(Le){this.location.pathname=Le}pushState(Le,Et,ri){w()?this._history.pushState(Le,Et,ri):this.location.hash=ri}replaceState(Le,Et,ri){w()?this._history.replaceState(Le,Et,ri):this.location.hash=ri}forward(){this._history.forward()}back(){this._history.back()}historyGo(Le=0){this._history.go(Le)}getState(){return this._history.state}}return Oe.\u0275fac=function(Le){return new(Le||Oe)(t.LFG(C))},Oe.\u0275prov=t.Yz7({token:Oe,factory:function(){return function I(){return new S((0,t.LFG)(C))}()},providedIn:"platform"}),Oe})();function w(){return!!window.history.pushState}function E(Oe,mt){if(0==Oe.length)return mt;if(0==mt.length)return Oe;let Le=0;return Oe.endsWith("/")&&Le++,mt.startsWith("/")&&Le++,2==Le?Oe+mt.substring(1):1==Le?Oe+mt:Oe+"/"+mt}function N(Oe){const mt=Oe.match(/#|\?|$/),Le=mt&&mt.index||Oe.length;return Oe.slice(0,Le-("/"===Oe[Le-1]?1:0))+Oe.slice(Le)}function z(Oe){return Oe&&"?"!==Oe[0]?"?"+Oe:Oe}let G=(()=>{class Oe{historyGo(Le){throw new Error("Not implemented")}}return Oe.\u0275fac=function(Le){return new(Le||Oe)},Oe.\u0275prov=t.Yz7({token:Oe,factory:function(){return(0,t.f3M)(Y)},providedIn:"root"}),Oe})();const W=new t.OlP("appBaseHref");let Y=(()=>{class Oe extends G{constructor(Le,Et){super(),this._platformLocation=Le,this._removeListenerFns=[],this._baseHref=Et??this._platformLocation.getBaseHrefFromDOM()??(0,t.f3M)(C).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Le){this._removeListenerFns.push(this._platformLocation.onPopState(Le),this._platformLocation.onHashChange(Le))}getBaseHref(){return this._baseHref}prepareExternalUrl(Le){return E(this._baseHref,Le)}path(Le=!1){const Et=this._platformLocation.pathname+z(this._platformLocation.search),ri=this._platformLocation.hash;return ri&&Le?`${Et}${ri}`:Et}pushState(Le,Et,ri,Ne){const ut=this.prepareExternalUrl(ri+z(Ne));this._platformLocation.pushState(Le,Et,ut)}replaceState(Le,Et,ri,Ne){const ut=this.prepareExternalUrl(ri+z(Ne));this._platformLocation.replaceState(Le,Et,ut)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Le=0){this._platformLocation.historyGo?.(Le)}}return Oe.\u0275fac=function(Le){return new(Le||Oe)(t.LFG(u),t.LFG(W,8))},Oe.\u0275prov=t.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:"root"}),Oe})(),X=(()=>{class Oe extends G{constructor(Le,Et){super(),this._platformLocation=Le,this._baseHref="",this._removeListenerFns=[],null!=Et&&(this._baseHref=Et)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Le){this._removeListenerFns.push(this._platformLocation.onPopState(Le),this._platformLocation.onHashChange(Le))}getBaseHref(){return this._baseHref}path(Le=!1){let Et=this._platformLocation.hash;return null==Et&&(Et="#"),Et.length>0?Et.substring(1):Et}prepareExternalUrl(Le){const Et=E(this._baseHref,Le);return Et.length>0?"#"+Et:Et}pushState(Le,Et,ri,Ne){let ut=this.prepareExternalUrl(ri+z(Ne));0==ut.length&&(ut=this._platformLocation.pathname),this._platformLocation.pushState(Le,Et,ut)}replaceState(Le,Et,ri,Ne){let ut=this.prepareExternalUrl(ri+z(Ne));0==ut.length&&(ut=this._platformLocation.pathname),this._platformLocation.replaceState(Le,Et,ut)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Le=0){this._platformLocation.historyGo?.(Le)}}return Oe.\u0275fac=function(Le){return new(Le||Oe)(t.LFG(u),t.LFG(W,8))},Oe.\u0275prov=t.Yz7({token:Oe,factory:Oe.\u0275fac}),Oe})(),ee=(()=>{class Oe{constructor(Le){this._subject=new t.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Le;const Et=this._locationStrategy.getBaseHref();this._basePath=function ce(Oe){if(new RegExp("^(https?:)?//").test(Oe)){const[,Le]=Oe.split(/\/\/[^\/]+/);return Le}return Oe}(N(ie(Et))),this._locationStrategy.onPopState(ri=>{this._subject.emit({url:this.path(!0),pop:!0,state:ri.state,type:ri.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Le=!1){return this.normalize(this._locationStrategy.path(Le))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Le,Et=""){return this.path()==this.normalize(Le+z(Et))}normalize(Le){return Oe.stripTrailingSlash(function he(Oe,mt){return Oe&&mt.startsWith(Oe)?mt.substring(Oe.length):mt}(this._basePath,ie(Le)))}prepareExternalUrl(Le){return Le&&"/"!==Le[0]&&(Le="/"+Le),this._locationStrategy.prepareExternalUrl(Le)}go(Le,Et="",ri=null){this._locationStrategy.pushState(ri,"",Le,Et),this._notifyUrlChangeListeners(this.prepareExternalUrl(Le+z(Et)),ri)}replaceState(Le,Et="",ri=null){this._locationStrategy.replaceState(ri,"",Le,Et),this._notifyUrlChangeListeners(this.prepareExternalUrl(Le+z(Et)),ri)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Le=0){this._locationStrategy.historyGo?.(Le)}onUrlChange(Le){return this._urlChangeListeners.push(Le),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Et=>{this._notifyUrlChangeListeners(Et.url,Et.state)})),()=>{const Et=this._urlChangeListeners.indexOf(Le);this._urlChangeListeners.splice(Et,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Le="",Et){this._urlChangeListeners.forEach(ri=>ri(Le,Et))}subscribe(Le,Et,ri){return this._subject.subscribe({next:Le,error:Et,complete:ri})}}return Oe.normalizeQueryParams=z,Oe.joinWithSlash=E,Oe.stripTrailingSlash=N,Oe.\u0275fac=function(Le){return new(Le||Oe)(t.LFG(G))},Oe.\u0275prov=t.Yz7({token:Oe,factory:function(){return function ue(){return new ee((0,t.LFG)(G))}()},providedIn:"root"}),Oe})();function ie(Oe){return Oe.replace(/\/index.html$/,"")}var fe=(()=>((fe=fe||{})[fe.Decimal=0]="Decimal",fe[fe.Percent=1]="Percent",fe[fe.Currency=2]="Currency",fe[fe.Scientific=3]="Scientific",fe))(),i=(()=>((i=i||{})[i.Format=0]="Format",i[i.Standalone=1]="Standalone",i))(),r=(()=>((r=r||{})[r.Narrow=0]="Narrow",r[r.Abbreviated=1]="Abbreviated",r[r.Wide=2]="Wide",r[r.Short=3]="Short",r))(),h=(()=>((h=h||{})[h.Short=0]="Short",h[h.Medium=1]="Medium",h[h.Long=2]="Long",h[h.Full=3]="Full",h))(),l=(()=>((l=l||{})[l.Decimal=0]="Decimal",l[l.Group=1]="Group",l[l.List=2]="List",l[l.PercentSign=3]="PercentSign",l[l.PlusSign=4]="PlusSign",l[l.MinusSign=5]="MinusSign",l[l.Exponential=6]="Exponential",l[l.SuperscriptingExponent=7]="SuperscriptingExponent",l[l.PerMille=8]="PerMille",l[l.Infinity=9]="Infinity",l[l.NaN=10]="NaN",l[l.TimeSeparator=11]="TimeSeparator",l[l.CurrencyDecimal=12]="CurrencyDecimal",l[l.CurrencyGroup=13]="CurrencyGroup",l))();function j(Oe,mt){return te((0,t.cg1)(Oe)[t.wAp.DateFormat],mt)}function Ae(Oe,mt){return te((0,t.cg1)(Oe)[t.wAp.TimeFormat],mt)}function Ke(Oe,mt){return te((0,t.cg1)(Oe)[t.wAp.DateTimeFormat],mt)}function qe(Oe,mt){const Le=(0,t.cg1)(Oe),Et=Le[t.wAp.NumberSymbols][mt];if(typeof Et>"u"){if(mt===l.CurrencyDecimal)return Le[t.wAp.NumberSymbols][l.Decimal];if(mt===l.CurrencyGroup)return Le[t.wAp.NumberSymbols][l.Group]}return Et}function Ye(Oe){if(!Oe[t.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${Oe[t.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function te(Oe,mt){for(let Le=mt;Le>-1;Le--)if(typeof Oe[Le]<"u")return Oe[Le];throw new Error("Locale data API: locale data undefined")}function Ue(Oe){const[mt,Le]=Oe.split(":");return{hours:+mt,minutes:+Le}}const Ce=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ke={},ht=/((?:[^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 nt=(()=>((nt=nt||{})[nt.Short=0]="Short",nt[nt.ShortGMT=1]="ShortGMT",nt[nt.Long=2]="Long",nt[nt.Extended=3]="Extended",nt))(),wt=(()=>((wt=wt||{})[wt.FullYear=0]="FullYear",wt[wt.Month=1]="Month",wt[wt.Date=2]="Date",wt[wt.Hours=3]="Hours",wt[wt.Minutes=4]="Minutes",wt[wt.Seconds=5]="Seconds",wt[wt.FractionalSeconds=6]="FractionalSeconds",wt[wt.Day=7]="Day",wt))(),it=(()=>((it=it||{})[it.DayPeriods=0]="DayPeriods",it[it.Days=1]="Days",it[it.Months=2]="Months",it[it.Eras=3]="Eras",it))();function qt(Oe,mt,Le,Et){let ri=function rt(Oe){if(ai(Oe))return Oe;if("number"==typeof Oe&&!isNaN(Oe))return new Date(Oe);if("string"==typeof Oe){if(Oe=Oe.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Oe)){const[ri,Ne=1,ut=1]=Oe.split("-").map(xt=>+xt);return _t(ri,Ne-1,ut)}const Le=parseFloat(Oe);if(!isNaN(Oe-Le))return new Date(Le);let Et;if(Et=Oe.match(Ce))return function vt(Oe){const mt=new Date(0);let Le=0,Et=0;const ri=Oe[8]?mt.setUTCFullYear:mt.setFullYear,Ne=Oe[8]?mt.setUTCHours:mt.setHours;Oe[9]&&(Le=Number(Oe[9]+Oe[10]),Et=Number(Oe[9]+Oe[11])),ri.call(mt,Number(Oe[1]),Number(Oe[2])-1,Number(Oe[3]));const ut=Number(Oe[4]||0)-Le,xt=Number(Oe[5]||0)-Et,Pt=Number(Oe[6]||0),Qe=Math.floor(1e3*parseFloat("0."+(Oe[7]||0)));return Ne.call(mt,ut,xt,Pt,Qe),mt}(Et)}const mt=new Date(Oe);if(!ai(mt))throw new Error(`Unable to convert "${Oe}" into a date`);return mt}(Oe);mt=ne(Le,mt)||mt;let xt,ut=[];for(;mt;){if(xt=ht.exec(mt),!xt){ut.push(mt);break}{ut=ut.concat(xt.slice(1));const Jt=ut.pop();if(!Jt)break;mt=Jt}}let Pt=ri.getTimezoneOffset();Et&&(Pt=Gt(Et,Pt),ri=function dt(Oe,mt,Le){const Et=Le?-1:1,ri=Oe.getTimezoneOffset();return function ti(Oe,mt){return(Oe=new Date(Oe.getTime())).setMinutes(Oe.getMinutes()+mt),Oe}(Oe,Et*(Gt(mt,ri)-ri))}(ri,Et,!0));let Qe="";return ut.forEach(Jt=>{const li=function ni(Oe){if(at[Oe])return at[Oe];let mt;switch(Oe){case"G":case"GG":case"GGG":mt=tt(it.Eras,r.Abbreviated);break;case"GGGG":mt=tt(it.Eras,r.Wide);break;case"GGGGG":mt=tt(it.Eras,r.Narrow);break;case"y":mt=Ct(wt.FullYear,1,0,!1,!0);break;case"yy":mt=Ct(wt.FullYear,2,0,!0,!0);break;case"yyy":mt=Ct(wt.FullYear,3,0,!1,!0);break;case"yyyy":mt=Ct(wt.FullYear,4,0,!1,!0);break;case"Y":mt=Re(1);break;case"YY":mt=Re(2,!0);break;case"YYY":mt=Re(3);break;case"YYYY":mt=Re(4);break;case"M":case"L":mt=Ct(wt.Month,1,1);break;case"MM":case"LL":mt=Ct(wt.Month,2,1);break;case"MMM":mt=tt(it.Months,r.Abbreviated);break;case"MMMM":mt=tt(it.Months,r.Wide);break;case"MMMMM":mt=tt(it.Months,r.Narrow);break;case"LLL":mt=tt(it.Months,r.Abbreviated,i.Standalone);break;case"LLLL":mt=tt(it.Months,r.Wide,i.Standalone);break;case"LLLLL":mt=tt(it.Months,r.Narrow,i.Standalone);break;case"w":mt=ve(1);break;case"ww":mt=ve(2);break;case"W":mt=ve(1,!0);break;case"d":mt=Ct(wt.Date,1);break;case"dd":mt=Ct(wt.Date,2);break;case"c":case"cc":mt=Ct(wt.Day,1);break;case"ccc":mt=tt(it.Days,r.Abbreviated,i.Standalone);break;case"cccc":mt=tt(it.Days,r.Wide,i.Standalone);break;case"ccccc":mt=tt(it.Days,r.Narrow,i.Standalone);break;case"cccccc":mt=tt(it.Days,r.Short,i.Standalone);break;case"E":case"EE":case"EEE":mt=tt(it.Days,r.Abbreviated);break;case"EEEE":mt=tt(it.Days,r.Wide);break;case"EEEEE":mt=tt(it.Days,r.Narrow);break;case"EEEEEE":mt=tt(it.Days,r.Short);break;case"a":case"aa":case"aaa":mt=tt(it.DayPeriods,r.Abbreviated);break;case"aaaa":mt=tt(it.DayPeriods,r.Wide);break;case"aaaaa":mt=tt(it.DayPeriods,r.Narrow);break;case"b":case"bb":case"bbb":mt=tt(it.DayPeriods,r.Abbreviated,i.Standalone,!0);break;case"bbbb":mt=tt(it.DayPeriods,r.Wide,i.Standalone,!0);break;case"bbbbb":mt=tt(it.DayPeriods,r.Narrow,i.Standalone,!0);break;case"B":case"BB":case"BBB":mt=tt(it.DayPeriods,r.Abbreviated,i.Format,!0);break;case"BBBB":mt=tt(it.DayPeriods,r.Wide,i.Format,!0);break;case"BBBBB":mt=tt(it.DayPeriods,r.Narrow,i.Format,!0);break;case"h":mt=Ct(wt.Hours,1,-12);break;case"hh":mt=Ct(wt.Hours,2,-12);break;case"H":mt=Ct(wt.Hours,1);break;case"HH":mt=Ct(wt.Hours,2);break;case"m":mt=Ct(wt.Minutes,1);break;case"mm":mt=Ct(wt.Minutes,2);break;case"s":mt=Ct(wt.Seconds,1);break;case"ss":mt=Ct(wt.Seconds,2);break;case"S":mt=Ct(wt.FractionalSeconds,1);break;case"SS":mt=Ct(wt.FractionalSeconds,2);break;case"SSS":mt=Ct(wt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":mt=Lt(nt.Short);break;case"ZZZZZ":mt=Lt(nt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":mt=Lt(nt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":mt=Lt(nt.Long);break;default:return null}return at[Oe]=mt,mt}(Jt);Qe+=li?li(ri,Le,Pt):"''"===Jt?"'":Jt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Qe}function _t(Oe,mt,Le){const Et=new Date(0);return Et.setFullYear(Oe,mt,Le),Et.setHours(0,0,0),Et}function ne(Oe,mt){const Le=function A(Oe){return(0,t.cg1)(Oe)[t.wAp.LocaleId]}(Oe);if(ke[Le]=ke[Le]||{},ke[Le][mt])return ke[Le][mt];let Et="";switch(mt){case"shortDate":Et=j(Oe,h.Short);break;case"mediumDate":Et=j(Oe,h.Medium);break;case"longDate":Et=j(Oe,h.Long);break;case"fullDate":Et=j(Oe,h.Full);break;case"shortTime":Et=Ae(Oe,h.Short);break;case"mediumTime":Et=Ae(Oe,h.Medium);break;case"longTime":Et=Ae(Oe,h.Long);break;case"fullTime":Et=Ae(Oe,h.Full);break;case"short":const ri=ne(Oe,"shortTime"),Ne=ne(Oe,"shortDate");Et=Nt(Ke(Oe,h.Short),[ri,Ne]);break;case"medium":const ut=ne(Oe,"mediumTime"),xt=ne(Oe,"mediumDate");Et=Nt(Ke(Oe,h.Medium),[ut,xt]);break;case"long":const Pt=ne(Oe,"longTime"),Qe=ne(Oe,"longDate");Et=Nt(Ke(Oe,h.Long),[Pt,Qe]);break;case"full":const Jt=ne(Oe,"fullTime"),li=ne(Oe,"fullDate");Et=Nt(Ke(Oe,h.Full),[Jt,li])}return Et&&(ke[Le][mt]=Et),Et}function Nt(Oe,mt){return mt&&(Oe=Oe.replace(/\{([^}]+)}/g,function(Le,Et){return null!=mt&&Et in mt?mt[Et]:Le})),Oe}function De(Oe,mt,Le="-",Et,ri){let Ne="";(Oe<0||ri&&Oe<=0)&&(ri?Oe=1-Oe:(Oe=-Oe,Ne=Le));let ut=String(Oe);for(;ut.length<mt;)ut="0"+ut;return Et&&(ut=ut.slice(ut.length-mt)),Ne+ut}function Ct(Oe,mt,Le=0,Et=!1,ri=!1){return function(Ne,ut){let xt=function Pe(Oe,mt){switch(Oe){case wt.FullYear:return mt.getFullYear();case wt.Month:return mt.getMonth();case wt.Date:return mt.getDate();case wt.Hours:return mt.getHours();case wt.Minutes:return mt.getMinutes();case wt.Seconds:return mt.getSeconds();case wt.FractionalSeconds:return mt.getMilliseconds();case wt.Day:return mt.getDay();default:throw new Error(`Unknown DateType value "${Oe}".`)}}(Oe,Ne);if((Le>0||xt>-Le)&&(xt+=Le),Oe===wt.Hours)0===xt&&-12===Le&&(xt=12);else if(Oe===wt.FractionalSeconds)return function He(Oe,mt){return De(Oe,3).substring(0,mt)}(xt,mt);const Pt=qe(ut,l.MinusSign);return De(xt,mt,Pt,Et,ri)}}function tt(Oe,mt,Le=i.Format,Et=!1){return function(ri,Ne){return function Bt(Oe,mt,Le,Et,ri,Ne){switch(Le){case it.Months:return function n(Oe,mt,Le){const Et=(0,t.cg1)(Oe),Ne=te([Et[t.wAp.MonthsFormat],Et[t.wAp.MonthsStandalone]],mt);return te(Ne,Le)}(mt,ri,Et)[Oe.getMonth()];case it.Days:return function g(Oe,mt,Le){const Et=(0,t.cg1)(Oe),Ne=te([Et[t.wAp.DaysFormat],Et[t.wAp.DaysStandalone]],mt);return te(Ne,Le)}(mt,ri,Et)[Oe.getDay()];case it.DayPeriods:const ut=Oe.getHours(),xt=Oe.getMinutes();if(Ne){const Qe=function Te(Oe){const mt=(0,t.cg1)(Oe);return Ye(mt),(mt[t.wAp.ExtraData][2]||[]).map(Et=>"string"==typeof Et?Ue(Et):[Ue(Et[0]),Ue(Et[1])])}(mt),Jt=function oe(Oe,mt,Le){const Et=(0,t.cg1)(Oe);Ye(Et);const Ne=te([Et[t.wAp.ExtraData][0],Et[t.wAp.ExtraData][1]],mt)||[];return te(Ne,Le)||[]}(mt,ri,Et),li=Qe.findIndex(ii=>{if(Array.isArray(ii)){const[bi,Ii]=ii,ji=ut>=bi.hours&&xt>=bi.minutes,rn=ut<Ii.hours||ut===Ii.hours&&xt<Ii.minutes;if(bi.hours<Ii.hours){if(ji&&rn)return!0}else if(ji||rn)return!0}else if(ii.hours===ut&&ii.minutes===xt)return!0;return!1});if(-1!==li)return Jt[li]}return function k(Oe,mt,Le){const Et=(0,t.cg1)(Oe),Ne=te([Et[t.wAp.DayPeriodsFormat],Et[t.wAp.DayPeriodsStandalone]],mt);return te(Ne,Le)}(mt,ri,Et)[ut<12?0:1];case it.Eras:return function b(Oe,mt){return te((0,t.cg1)(Oe)[t.wAp.Eras],mt)}(mt,Et)[Oe.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${Le}`)}}(ri,Ne,Oe,mt,Le,Et)}}function Lt(Oe){return function(mt,Le,Et){const ri=-1*Et,Ne=qe(Le,l.MinusSign),ut=ri>0?Math.floor(ri/60):Math.ceil(ri/60);switch(Oe){case nt.Short:return(ri>=0?"+":"")+De(ut,2,Ne)+De(Math.abs(ri%60),2,Ne);case nt.ShortGMT:return"GMT"+(ri>=0?"+":"")+De(ut,1,Ne);case nt.Long:return"GMT"+(ri>=0?"+":"")+De(ut,2,Ne)+":"+De(Math.abs(ri%60),2,Ne);case nt.Extended:return 0===Et?"Z":(ri>=0?"+":"")+De(ut,2,Ne)+":"+De(Math.abs(ri%60),2,Ne);default:throw new Error(`Unknown zone width "${Oe}"`)}}}function J(Oe){return _t(Oe.getFullYear(),Oe.getMonth(),Oe.getDate()+(4-Oe.getDay()))}function ve(Oe,mt=!1){return function(Le,Et){let ri;if(mt){const Ne=new Date(Le.getFullYear(),Le.getMonth(),1).getDay()-1,ut=Le.getDate();ri=1+Math.floor((ut+Ne)/7)}else{const Ne=J(Le),ut=function Me(Oe){const mt=_t(Oe,0,1).getDay();return _t(Oe,0,1+(mt<=4?4:11)-mt)}(Ne.getFullYear()),xt=Ne.getTime()-ut.getTime();ri=1+Math.round(xt/6048e5)}return De(ri,Oe,qe(Et,l.MinusSign))}}function Re(Oe,mt=!1){return function(Le,Et){return De(J(Le).getFullYear(),Oe,qe(Et,l.MinusSign),mt)}}const at={};function Gt(Oe,mt){Oe=Oe.replace(/:/g,"");const Le=Date.parse("Jan 01, 1970 00:00:00 "+Oe)/6e4;return isNaN(Le)?mt:Le}function ai(Oe){return Oe instanceof Date&&!isNaN(Oe.valueOf())}const Ut=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function mi(Oe){const mt=parseInt(Oe);if(isNaN(mt))throw new Error("Invalid integer literal when parsing "+Oe);return mt}function oi(Oe,mt){mt=encodeURIComponent(mt);for(const Le of Oe.split(";")){const Et=Le.indexOf("="),[ri,Ne]=-1==Et?[Le,""]:[Le.slice(0,Et),Le.slice(Et+1)];if(ri.trim()===mt)return decodeURIComponent(Ne)}return null}let ge=(()=>{class Oe{constructor(Le,Et,ri,Ne){this._iterableDiffers=Le,this._keyValueDiffers=Et,this._ngEl=ri,this._renderer=Ne,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(Le){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof Le?Le.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(Le){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof Le?Le.split(/\s+/):Le,this._rawClass&&((0,t.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const Le=this._iterableDiffer.diff(this._rawClass);Le&&this._applyIterableChanges(Le)}else if(this._keyValueDiffer){const Le=this._keyValueDiffer.diff(this._rawClass);Le&&this._applyKeyValueChanges(Le)}}_applyKeyValueChanges(Le){Le.forEachAddedItem(Et=>this._toggleClass(Et.key,Et.currentValue)),Le.forEachChangedItem(Et=>this._toggleClass(Et.key,Et.currentValue)),Le.forEachRemovedItem(Et=>{Et.previousValue&&this._toggleClass(Et.key,!1)})}_applyIterableChanges(Le){Le.forEachAddedItem(Et=>{if("string"!=typeof Et.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,t.AaK)(Et.item)}`);this._toggleClass(Et.item,!0)}),Le.forEachRemovedItem(Et=>this._toggleClass(Et.item,!1))}_applyClasses(Le){Le&&(Array.isArray(Le)||Le instanceof Set?Le.forEach(Et=>this._toggleClass(Et,!0)):Object.keys(Le).forEach(Et=>this._toggleClass(Et,!!Le[Et])))}_removeClasses(Le){Le&&(Array.isArray(Le)||Le instanceof Set?Le.forEach(Et=>this._toggleClass(Et,!1)):Object.keys(Le).forEach(Et=>this._toggleClass(Et,!1)))}_toggleClass(Le,Et){(Le=Le.trim())&&Le.split(/\s+/g).forEach(ri=>{Et?this._renderer.addClass(this._ngEl.nativeElement,ri):this._renderer.removeClass(this._ngEl.nativeElement,ri)})}}return Oe.\u0275fac=function(Le){return new(Le||Oe)(t.Y36(t.ZZ4),t.Y36(t.aQg),t.Y36(t.SBq),t.Y36(t.Qsj))},Oe.\u0275dir=t.lG2({type:Oe,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),Oe})();class Xt{constructor(mt,Le,Et,ri){this.$implicit=mt,this.ngForOf=Le,this.index=Et,this.count=ri}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 zt=(()=>{class Oe{constructor(Le,Et,ri){this._viewContainer=Le,this._template=Et,this._differs=ri,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(Le){this._ngForOf=Le,this._ngForOfDirty=!0}set ngForTrackBy(Le){this._trackByFn=Le}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(Le){Le&&(this._template=Le)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Le=this._ngForOf;!this._differ&&Le&&(this._differ=this._differs.find(Le).create(this.ngForTrackBy))}if(this._differ){const Le=this._differ.diff(this._ngForOf);Le&&this._applyChanges(Le)}}_applyChanges(Le){const Et=this._viewContainer;Le.forEachOperation((ri,Ne,ut)=>{if(null==ri.previousIndex)Et.createEmbeddedView(this._template,new Xt(ri.item,this._ngForOf,-1,-1),null===ut?void 0:ut);else if(null==ut)Et.remove(null===Ne?void 0:Ne);else if(null!==Ne){const xt=Et.get(Ne);Et.move(xt,ut),Li(xt,ri)}});for(let ri=0,Ne=Et.length;ri<Ne;ri++){const xt=Et.get(ri).context;xt.index=ri,xt.count=Ne,xt.ngForOf=this._ngForOf}Le.forEachIdentityChange(ri=>{Li(Et.get(ri.currentIndex),ri)})}static ngTemplateContextGuard(Le,Et){return!0}}return Oe.\u0275fac=function(Le){return new(Le||Oe)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(t.ZZ4))},Oe.\u0275dir=t.lG2({type:Oe,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),Oe})();function Li(Oe,mt){Oe.context.$implicit=mt.item}let on=(()=>{class Oe{constructor(Le,Et){this._viewContainer=Le,this._context=new Xn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Et}set ngIf(Le){this._context.$implicit=this._context.ngIf=Le,this._updateView()}set ngIfThen(Le){Gr("ngIfThen",Le),this._thenTemplateRef=Le,this._thenViewRef=null,this._updateView()}set ngIfElse(Le){Gr("ngIfElse",Le),this._elseTemplateRef=Le,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(Le,Et){return!0}}return Oe.\u0275fac=function(Le){return new(Le||Oe)(t.Y36(t.s_b),t.Y36(t.Rgc))},Oe.\u0275dir=t.lG2({type:Oe,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),Oe})();class Xn{constructor(){this.$implicit=null,this.ngIf=null}}function Gr(Oe,mt){if(mt&&!mt.createEmbeddedView)throw new Error(`${Oe} must be a TemplateRef, but received '${(0,t.AaK)(mt)}'.`)}class bn{constructor(mt,Le){this._viewContainerRef=mt,this._templateRef=Le,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(mt){mt&&!this._created?this.create():!mt&&this._created&&this.destroy()}}let Zr=(()=>{class Oe{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Le){this._ngSwitch=Le,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Le){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(Le)}_matchCase(Le){const Et=Le==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Et,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Et}_updateDefaultCases(Le){if(this._defaultViews&&Le!==this._defaultUsed){this._defaultUsed=Le;for(let Et=0;Et<this._defaultViews.length;Et++)this._defaultViews[Et].enforceState(Le)}}}return Oe.\u0275fac=function(Le){return new(Le||Oe)},Oe.\u0275dir=t.lG2({type:Oe,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),Oe})(),fr=(()=>{class Oe{constructor(Le,Et,ri){this.ngSwitch=ri,ri._addCase(),this._view=new bn(Le,Et)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return Oe.\u0275fac=function(Le){return new(Le||Oe)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(Zr,9))},Oe.\u0275dir=t.lG2({type:Oe,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),Oe})(),Nr=(()=>{class Oe{constructor(Le,Et,ri){ri._addDefault(new bn(Le,Et))}}return Oe.\u0275fac=function(Le){return new(Le||Oe)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(Zr,9))},Oe.\u0275dir=t.lG2({type:Oe,selectors:[["","ngSwitchDefault",""]],standalone:!0}),Oe})(),Qt=(()=>{class Oe{constructor(Le,Et,ri){this._ngEl=Le,this._differs=Et,this._renderer=ri,this._ngStyle=null,this._differ=null}set ngStyle(Le){this._ngStyle=Le,!this._differ&&Le&&(this._differ=this._differs.find(Le).create())}ngDoCheck(){if(this._differ){const Le=this._differ.diff(this._ngStyle);Le&&this._applyChanges(Le)}}_setStyle(Le,Et){const[ri,Ne]=Le.split("."),ut=-1===ri.indexOf("-")?void 0:t.JOm.DashCase;null!=Et?this._renderer.setStyle(this._ngEl.nativeElement,ri,Ne?`${Et}${Ne}`:Et,ut):this._renderer.removeStyle(this._ngEl.nativeElement,ri,ut)}_applyChanges(Le){Le.forEachRemovedItem(Et=>this._setStyle(Et.key,null)),Le.forEachAddedItem(Et=>this._setStyle(Et.key,Et.currentValue)),Le.forEachChangedItem(Et=>this._setStyle(Et.key,Et.currentValue))}}return Oe.\u0275fac=function(Le){return new(Le||Oe)(t.Y36(t.SBq),t.Y36(t.aQg),t.Y36(t.Qsj))},Oe.\u0275dir=t.lG2({type:Oe,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),Oe})(),vi=(()=>{class Oe{constructor(Le){this._viewContainerRef=Le,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Le){if(Le.ngTemplateOutlet||Le.ngTemplateOutletInjector){const Et=this._viewContainerRef;if(this._viewRef&&Et.remove(Et.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ri,ngTemplateOutletContext:Ne,ngTemplateOutletInjector:ut}=this;this._viewRef=Et.createEmbeddedView(ri,Ne,ut?{injector:ut}:void 0)}else this._viewRef=null}else this._viewRef&&Le.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return Oe.\u0275fac=function(Le){return new(Le||Oe)(t.Y36(t.s_b))},Oe.\u0275dir=t.lG2({type:Oe,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[t.TTD]}),Oe})();function _i(Oe,mt){return new t.vHH(2100,!1)}class Fi{createSubscription(mt,Le){return mt.subscribe({next:Le,error:Et=>{throw Et}})}dispose(mt){mt.unsubscribe()}}class qi{createSubscription(mt,Le){return mt.then(Le,Et=>{throw Et})}dispose(mt){}}const yn=new qi,Qn=new Fi;let zn=(()=>{class Oe{constructor(Le){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Le}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Le){return this._obj?Le!==this._obj?(this._dispose(),this.transform(Le)):this._latestValue:(Le&&this._subscribe(Le),this._latestValue)}_subscribe(Le){this._obj=Le,this._strategy=this._selectStrategy(Le),this._subscription=this._strategy.createSubscription(Le,Et=>this._updateLatestValue(Le,Et))}_selectStrategy(Le){if((0,t.QGY)(Le))return yn;if((0,t.F4k)(Le))return Qn;throw _i()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Le,Et){Le===this._obj&&(this._latestValue=Et,this._ref.markForCheck())}}return Oe.\u0275fac=function(Le){return new(Le||Oe)(t.Y36(t.sBO,16))},Oe.\u0275pipe=t.Yjl({name:"async",type:Oe,pure:!1,standalone:!0}),Oe})(),ar=(()=>{class Oe{transform(Le){if(null==Le)return null;if("string"!=typeof Le)throw _i();return Le.toLowerCase()}}return Oe.\u0275fac=function(Le){return new(Le||Oe)},Oe.\u0275pipe=t.Yjl({name:"lowercase",type:Oe,pure:!0,standalone:!0}),Oe})();const On=/(?:[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 Pn=(()=>{class Oe{transform(Le){if(null==Le)return null;if("string"!=typeof Le)throw _i();return Le.replace(On,Et=>Et[0].toUpperCase()+Et.slice(1).toLowerCase())}}return Oe.\u0275fac=function(Le){return new(Le||Oe)},Oe.\u0275pipe=t.Yjl({name:"titlecase",type:Oe,pure:!0,standalone:!0}),Oe})(),pa=(()=>{class Oe{transform(Le){if(null==Le)return null;if("string"!=typeof Le)throw _i();return Le.toUpperCase()}}return Oe.\u0275fac=function(Le){return new(Le||Oe)},Oe.\u0275pipe=t.Yjl({name:"uppercase",type:Oe,pure:!0,standalone:!0}),Oe})();const dr=new t.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Va=new t.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Fr=(()=>{class Oe{constructor(Le,Et,ri){this.locale=Le,this.defaultTimezone=Et,this.defaultOptions=ri}transform(Le,Et,ri,Ne){if(null==Le||""===Le||Le!=Le)return null;try{return qt(Le,Et??this.defaultOptions?.dateFormat??"mediumDate",Ne||this.locale,ri??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ut){throw _i()}}}return Oe.\u0275fac=function(Le){return new(Le||Oe)(t.Y36(t.soG,16),t.Y36(dr,24),t.Y36(Va,24))},Oe.\u0275pipe=t.Yjl({name:"date",type:Oe,pure:!0,standalone:!0}),Oe})(),Sr=(()=>{class Oe{transform(Le){return JSON.stringify(Le,null,2)}}return Oe.\u0275fac=function(Le){return new(Le||Oe)},Oe.\u0275pipe=t.Yjl({name:"json",type:Oe,pure:!1,standalone:!0}),Oe})(),wa=(()=>{class Oe{constructor(Le){this.differs=Le,this.keyValues=[],this.compareFn=Ba}transform(Le,Et=Ba){if(!Le||!(Le instanceof Map)&&"object"!=typeof Le)return null;this.differ||(this.differ=this.differs.find(Le).create());const ri=this.differ.diff(Le),Ne=Et!==this.compareFn;return ri&&(this.keyValues=[],ri.forEachItem(ut=>{this.keyValues.push(function os(Oe,mt){return{key:Oe,value:mt}}(ut.key,ut.currentValue))})),(ri||Ne)&&(this.keyValues.sort(Et),this.compareFn=Et),this.keyValues}}return Oe.\u0275fac=function(Le){return new(Le||Oe)(t.Y36(t.aQg,16))},Oe.\u0275pipe=t.Yjl({name:"keyvalue",type:Oe,pure:!1,standalone:!0}),Oe})();function Ba(Oe,mt){const Le=Oe.key,Et=mt.key;if(Le===Et)return 0;if(void 0===Le)return 1;if(void 0===Et)return-1;if(null===Le)return 1;if(null===Et)return-1;if("string"==typeof Le&&"string"==typeof Et)return Le<Et?-1:1;if("number"==typeof Le&&"number"==typeof Et)return Le-Et;if("boolean"==typeof Le&&"boolean"==typeof Et)return Le<Et?-1:1;const ri=String(Le),Ne=String(Et);return ri==Ne?0:ri<Ne?-1:1}let cs=(()=>{class Oe{constructor(Le){this._locale=Le}transform(Le,Et,ri){if(!function Lr(Oe){return!(null==Oe||""===Oe||Oe!=Oe)}(Le))return null;ri=ri||this._locale;try{return function $e(Oe,mt,Le){return function Ei(Oe,mt,Le,Et,ri,Ne,ut=!1){let xt="",Pt=!1;if(isFinite(Oe)){let Qe=function Ot(Oe){let Et,ri,Ne,ut,xt,mt=Math.abs(Oe)+"",Le=0;for((ri=mt.indexOf("."))>-1&&(mt=mt.replace(".","")),(Ne=mt.search(/e/i))>0?(ri<0&&(ri=Ne),ri+=+mt.slice(Ne+1),mt=mt.substring(0,Ne)):ri<0&&(ri=mt.length),Ne=0;"0"===mt.charAt(Ne);Ne++);if(Ne===(xt=mt.length))Et=[0],ri=1;else{for(xt--;"0"===mt.charAt(xt);)xt--;for(ri-=Ne,Et=[],ut=0;Ne<=xt;Ne++,ut++)Et[ut]=Number(mt.charAt(Ne))}return ri>22&&(Et=Et.splice(0,21),Le=ri-1,ri=1),{digits:Et,exponent:Le,integerLen:ri}}(Oe);ut&&(Qe=function ye(Oe){if(0===Oe.digits[0])return Oe;const mt=Oe.digits.length-Oe.integerLen;return Oe.exponent?Oe.exponent+=2:(0===mt?Oe.digits.push(0,0):1===mt&&Oe.digits.push(0),Oe.integerLen+=2),Oe}(Qe));let Jt=mt.minInt,li=mt.minFrac,ii=mt.maxFrac;if(Ne){const Cn=Ne.match(Ut);if(null===Cn)throw new Error(`${Ne} is not a valid digit info`);const br=Cn[1],Ir=Cn[3],Br=Cn[5];null!=br&&(Jt=mi(br)),null!=Ir&&(li=mi(Ir)),null!=Br?ii=mi(Br):null!=Ir&&li>ii&&(ii=li)}!function Kt(Oe,mt,Le){if(mt>Le)throw new Error(`The minimum number of digits after fraction (${mt}) is higher than the maximum (${Le}).`);let Et=Oe.digits,ri=Et.length-Oe.integerLen;const Ne=Math.min(Math.max(mt,ri),Le);let ut=Ne+Oe.integerLen,xt=Et[ut];if(ut>0){Et.splice(Math.max(Oe.integerLen,ut));for(let li=ut;li<Et.length;li++)Et[li]=0}else{ri=Math.max(0,ri),Oe.integerLen=1,Et.length=Math.max(1,ut=Ne+1),Et[0]=0;for(let li=1;li<ut;li++)Et[li]=0}if(xt>=5)if(ut-1<0){for(let li=0;li>ut;li--)Et.unshift(0),Oe.integerLen++;Et.unshift(1),Oe.integerLen++}else Et[ut-1]++;for(;ri<Math.max(0,Ne);ri++)Et.push(0);let Pt=0!==Ne;const Qe=mt+Oe.integerLen,Jt=Et.reduceRight(function(li,ii,bi,Ii){return Ii[bi]=(ii+=li)<10?ii:ii-10,Pt&&(0===Ii[bi]&&bi>=Qe?Ii.pop():Pt=!1),ii>=10?1:0},0);Jt&&(Et.unshift(Jt),Oe.integerLen++)}(Qe,li,ii);let bi=Qe.digits,Ii=Qe.integerLen;const ji=Qe.exponent;let rn=[];for(Pt=bi.every(Cn=>!Cn);Ii<Jt;Ii++)bi.unshift(0);for(;Ii<0;Ii++)bi.unshift(0);Ii>0?rn=bi.splice(Ii,bi.length):(rn=bi,bi=[0]);const ln=[];for(bi.length>=mt.lgSize&&ln.unshift(bi.splice(-mt.lgSize,bi.length).join(""));bi.length>mt.gSize;)ln.unshift(bi.splice(-mt.gSize,bi.length).join(""));bi.length&&ln.unshift(bi.join("")),xt=ln.join(qe(Le,Et)),rn.length&&(xt+=qe(Le,ri)+rn.join("")),ji&&(xt+=qe(Le,l.Exponential)+"+"+ji)}else xt=qe(Le,l.Infinity);return xt=Oe<0&&!Pt?mt.negPre+xt+mt.negSuf:mt.posPre+xt+mt.posSuf,xt}(Oe,function Mt(Oe,mt="-"){const Le={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Et=Oe.split(";"),ri=Et[0],Ne=Et[1],ut=-1!==ri.indexOf(".")?ri.split("."):[ri.substring(0,ri.lastIndexOf("0")+1),ri.substring(ri.lastIndexOf("0")+1)],xt=ut[0],Pt=ut[1]||"";Le.posPre=xt.substring(0,xt.indexOf("#"));for(let Jt=0;Jt<Pt.length;Jt++){const li=Pt.charAt(Jt);"0"===li?Le.minFrac=Le.maxFrac=Jt+1:"#"===li?Le.maxFrac=Jt+1:Le.posSuf+=li}const Qe=xt.split(",");if(Le.gSize=Qe[1]?Qe[1].length:0,Le.lgSize=Qe[2]||Qe[1]?(Qe[2]||Qe[1]).length:0,Ne){const Jt=ri.length-Le.posPre.length-Le.posSuf.length,li=Ne.indexOf("#");Le.negPre=Ne.substring(0,li).replace(/'/g,""),Le.negSuf=Ne.slice(li+Jt).replace(/'/g,"")}else Le.negPre=mt+Le.posPre,Le.negSuf=Le.posSuf;return Le}(function ct(Oe,mt){return(0,t.cg1)(Oe)[t.wAp.NumberFormats][mt]}(mt,fe.Decimal),qe(mt,l.MinusSign)),mt,l.Group,l.Decimal,Le)}(function xs(Oe){if("string"==typeof Oe&&!isNaN(Number(Oe)-parseFloat(Oe)))return Number(Oe);if("number"!=typeof Oe)throw new Error(`${Oe} is not a number`);return Oe}(Le),ri,Et)}catch(Ne){throw _i()}}}return Oe.\u0275fac=function(Le){return new(Le||Oe)(t.Y36(t.soG,16))},Oe.\u0275pipe=t.Yjl({name:"number",type:Oe,pure:!0,standalone:!0}),Oe})();let Ja=(()=>{class Oe{transform(Le,Et,ri){if(null==Le)return null;if(!this.supports(Le))throw _i();return Le.slice(Et,ri)}supports(Le){return"string"==typeof Le||Array.isArray(Le)}}return Oe.\u0275fac=function(Le){return new(Le||Oe)},Oe.\u0275pipe=t.Yjl({name:"slice",type:Oe,pure:!1,standalone:!0}),Oe})(),Fs=(()=>{class Oe{}return Oe.\u0275fac=function(Le){return new(Le||Oe)},Oe.\u0275mod=t.oAB({type:Oe}),Oe.\u0275inj=t.cJS({}),Oe})();const Ma="browser";function Oa(Oe){return Oe===Ma}function ga(Oe){return"server"===Oe}let _a=(()=>{class Oe{}return Oe.\u0275prov=(0,t.Yz7)({token:Oe,providedIn:"root",factory:()=>new $a((0,t.LFG)(C),window)}),Oe})();class $a{constructor(mt,Le){this.document=mt,this.window=Le,this.offset=()=>[0,0]}setOffset(mt){this.offset=Array.isArray(mt)?()=>mt:mt}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(mt){this.supportsScrolling()&&this.window.scrollTo(mt[0],mt[1])}scrollToAnchor(mt){if(!this.supportsScrolling())return;const Le=function us(Oe,mt){const Le=Oe.getElementById(mt)||Oe.getElementsByName(mt)[0];if(Le)return Le;if("function"==typeof Oe.createTreeWalker&&Oe.body&&(Oe.body.createShadowRoot||Oe.body.attachShadow)){const Et=Oe.createTreeWalker(Oe.body,NodeFilter.SHOW_ELEMENT);let ri=Et.currentNode;for(;ri;){const Ne=ri.shadowRoot;if(Ne){const ut=Ne.getElementById(mt)||Ne.querySelector(`[name="${mt}"]`);if(ut)return ut}ri=Et.nextNode()}}return null}(this.document,mt);Le&&(this.scrollToElement(Le),Le.focus())}setHistoryScrollRestoration(mt){if(this.supportScrollRestoration()){const Le=this.window.history;Le&&Le.scrollRestoration&&(Le.scrollRestoration=mt)}}scrollToElement(mt){const Le=mt.getBoundingClientRect(),Et=Le.left+this.window.pageXOffset,ri=Le.top+this.window.pageYOffset,Ne=this.offset();this.window.scrollTo(Et-Ne[0],ri-Ne[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const mt=Sa(this.window.history)||Sa(Object.getPrototypeOf(this.window.history));return!(!mt||!mt.writable&&!mt.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Sa(Oe){return Object.getOwnPropertyDescriptor(Oe,"scrollRestoration")}class Ea{}},529:(Ve,Q,m)=>{"use strict";m.d(Q,{JF:()=>Lt,LE:()=>Y,TP:()=>b,eN:()=>A});var t=m(6895),e=m(4650),v=m(9646),D=m(9751),o=m(4351),C=m(9300),u=m(4004);class P{}class d{}class S{constructor(J){this.normalizedNames=new Map,this.lazyUpdate=null,J?this.lazyInit="string"==typeof J?()=>{this.headers=new Map,J.split("\n").forEach(ve=>{const Re=ve.indexOf(":");if(Re>0){const at=ve.slice(0,Re),ni=at.toLowerCase(),Gt=ve.slice(Re+1).trim();this.maybeSetNormalizedName(at,ni),this.headers.has(ni)?this.headers.get(ni).push(Gt):this.headers.set(ni,[Gt])}})}:()=>{this.headers=new Map,Object.keys(J).forEach(ve=>{let Re=J[ve];const at=ve.toLowerCase();"string"==typeof Re&&(Re=[Re]),Re.length>0&&(this.headers.set(at,Re),this.maybeSetNormalizedName(ve,at))})}:this.headers=new Map}has(J){return this.init(),this.headers.has(J.toLowerCase())}get(J){this.init();const ve=this.headers.get(J.toLowerCase());return ve&&ve.length>0?ve[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(J){return this.init(),this.headers.get(J.toLowerCase())||null}append(J,ve){return this.clone({name:J,value:ve,op:"a"})}set(J,ve){return this.clone({name:J,value:ve,op:"s"})}delete(J,ve){return this.clone({name:J,value:ve,op:"d"})}maybeSetNormalizedName(J,ve){this.normalizedNames.has(ve)||this.normalizedNames.set(ve,J)}init(){this.lazyInit&&(this.lazyInit instanceof S?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(J=>this.applyUpdate(J)),this.lazyUpdate=null))}copyFrom(J){J.init(),Array.from(J.headers.keys()).forEach(ve=>{this.headers.set(ve,J.headers.get(ve)),this.normalizedNames.set(ve,J.normalizedNames.get(ve))})}clone(J){const ve=new S;return ve.lazyInit=this.lazyInit&&this.lazyInit instanceof S?this.lazyInit:this,ve.lazyUpdate=(this.lazyUpdate||[]).concat([J]),ve}applyUpdate(J){const ve=J.name.toLowerCase();switch(J.op){case"a":case"s":let Re=J.value;if("string"==typeof Re&&(Re=[Re]),0===Re.length)return;this.maybeSetNormalizedName(J.name,ve);const at=("a"===J.op?this.headers.get(ve):void 0)||[];at.push(...Re),this.headers.set(ve,at);break;case"d":const ni=J.value;if(ni){let Gt=this.headers.get(ve);if(!Gt)return;Gt=Gt.filter(ti=>-1===ni.indexOf(ti)),0===Gt.length?(this.headers.delete(ve),this.normalizedNames.delete(ve)):this.headers.set(ve,Gt)}else this.headers.delete(ve),this.normalizedNames.delete(ve)}}forEach(J){this.init(),Array.from(this.normalizedNames.keys()).forEach(ve=>J(this.normalizedNames.get(ve),this.headers.get(ve)))}}class I{encodeKey(J){return G(J)}encodeValue(J){return G(J)}decodeKey(J){return decodeURIComponent(J)}decodeValue(J){return decodeURIComponent(J)}}const N=/%(\d[a-f0-9])/gi,z={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function G(Me){return encodeURIComponent(Me).replace(N,(J,ve)=>z[ve]??J)}function W(Me){return`${Me}`}class Y{constructor(J={}){if(this.updates=null,this.cloneFrom=null,this.encoder=J.encoder||new I,J.fromString){if(J.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function E(Me,J){const ve=new Map;return Me.length>0&&Me.replace(/^\?/,"").split("&").forEach(at=>{const ni=at.indexOf("="),[Gt,ti]=-1==ni?[J.decodeKey(at),""]:[J.decodeKey(at.slice(0,ni)),J.decodeValue(at.slice(ni+1))],dt=ve.get(Gt)||[];dt.push(ti),ve.set(Gt,dt)}),ve}(J.fromString,this.encoder)}else J.fromObject?(this.map=new Map,Object.keys(J.fromObject).forEach(ve=>{const Re=J.fromObject[ve],at=Array.isArray(Re)?Re.map(W):[W(Re)];this.map.set(ve,at)})):this.map=null}has(J){return this.init(),this.map.has(J)}get(J){this.init();const ve=this.map.get(J);return ve?ve[0]:null}getAll(J){return this.init(),this.map.get(J)||null}keys(){return this.init(),Array.from(this.map.keys())}append(J,ve){return this.clone({param:J,value:ve,op:"a"})}appendAll(J){const ve=[];return Object.keys(J).forEach(Re=>{const at=J[Re];Array.isArray(at)?at.forEach(ni=>{ve.push({param:Re,value:ni,op:"a"})}):ve.push({param:Re,value:at,op:"a"})}),this.clone(ve)}set(J,ve){return this.clone({param:J,value:ve,op:"s"})}delete(J,ve){return this.clone({param:J,value:ve,op:"d"})}toString(){return this.init(),this.keys().map(J=>{const ve=this.encoder.encodeKey(J);return this.map.get(J).map(Re=>ve+"="+this.encoder.encodeValue(Re)).join("&")}).filter(J=>""!==J).join("&")}clone(J){const ve=new Y({encoder:this.encoder});return ve.cloneFrom=this.cloneFrom||this,ve.updates=(this.updates||[]).concat(J),ve}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(J=>this.map.set(J,this.cloneFrom.map.get(J))),this.updates.forEach(J=>{switch(J.op){case"a":case"s":const ve=("a"===J.op?this.map.get(J.param):void 0)||[];ve.push(W(J.value)),this.map.set(J.param,ve);break;case"d":if(void 0===J.value){this.map.delete(J.param);break}{let Re=this.map.get(J.param)||[];const at=Re.indexOf(W(J.value));-1!==at&&Re.splice(at,1),Re.length>0?this.map.set(J.param,Re):this.map.delete(J.param)}}}),this.cloneFrom=this.updates=null)}}class ee{constructor(){this.map=new Map}set(J,ve){return this.map.set(J,ve),this}get(J){return this.map.has(J)||this.map.set(J,J.defaultValue()),this.map.get(J)}delete(J){return this.map.delete(J),this}has(J){return this.map.has(J)}keys(){return this.map.keys()}}function he(Me){return typeof ArrayBuffer<"u"&&Me instanceof ArrayBuffer}function ie(Me){return typeof Blob<"u"&&Me instanceof Blob}function ce(Me){return typeof FormData<"u"&&Me instanceof FormData}class fe{constructor(J,ve,Re,at){let ni;if(this.url=ve,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=J.toUpperCase(),function ue(Me){switch(Me){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||at?(this.body=void 0!==Re?Re:null,ni=at):ni=Re,ni&&(this.reportProgress=!!ni.reportProgress,this.withCredentials=!!ni.withCredentials,ni.responseType&&(this.responseType=ni.responseType),ni.headers&&(this.headers=ni.headers),ni.context&&(this.context=ni.context),ni.params&&(this.params=ni.params)),this.headers||(this.headers=new S),this.context||(this.context=new ee),this.params){const Gt=this.params.toString();if(0===Gt.length)this.urlWithParams=ve;else{const ti=ve.indexOf("?");this.urlWithParams=ve+(-1===ti?"?":ti<ve.length-1?"&":"")+Gt}}else this.params=new Y,this.urlWithParams=ve}serializeBody(){return null===this.body?null:he(this.body)||ie(this.body)||ce(this.body)||function $(Me){return typeof URLSearchParams<"u"&&Me instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Y?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||ce(this.body)?null:ie(this.body)?this.body.type||null:he(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Y?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(J={}){const ve=J.method||this.method,Re=J.url||this.url,at=J.responseType||this.responseType,ni=void 0!==J.body?J.body:this.body,Gt=void 0!==J.withCredentials?J.withCredentials:this.withCredentials,ti=void 0!==J.reportProgress?J.reportProgress:this.reportProgress;let dt=J.headers||this.headers,rt=J.params||this.params;const vt=J.context??this.context;return void 0!==J.setHeaders&&(dt=Object.keys(J.setHeaders).reduce((ai,Ut)=>ai.set(Ut,J.setHeaders[Ut]),dt)),J.setParams&&(rt=Object.keys(J.setParams).reduce((ai,Ut)=>ai.set(Ut,J.setParams[Ut]),rt)),new fe(ve,Re,ni,{params:rt,headers:dt,context:vt,reportProgress:ti,responseType:at,withCredentials:Gt})}}var T=(()=>((T=T||{})[T.Sent=0]="Sent",T[T.UploadProgress=1]="UploadProgress",T[T.ResponseHeader=2]="ResponseHeader",T[T.DownloadProgress=3]="DownloadProgress",T[T.Response=4]="Response",T[T.User=5]="User",T))();class i{constructor(J,ve=200,Re="OK"){this.headers=J.headers||new S,this.status=void 0!==J.status?J.status:ve,this.statusText=J.statusText||Re,this.url=J.url||null,this.ok=this.status>=200&&this.status<300}}class r extends i{constructor(J={}){super(J),this.type=T.ResponseHeader}clone(J={}){return new r({headers:J.headers||this.headers,status:void 0!==J.status?J.status:this.status,statusText:J.statusText||this.statusText,url:J.url||this.url||void 0})}}class h extends i{constructor(J={}){super(J),this.type=T.Response,this.body=void 0!==J.body?J.body:null}clone(J={}){return new h({body:void 0!==J.body?J.body:this.body,headers:J.headers||this.headers,status:void 0!==J.status?J.status:this.status,statusText:J.statusText||this.statusText,url:J.url||this.url||void 0})}}class l extends i{constructor(J){super(J,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${J.url||"(unknown url)"}`:`Http failure response for ${J.url||"(unknown url)"}: ${J.status} ${J.statusText}`,this.error=J.error||null}}function y(Me,J){return{body:J,headers:Me.headers,context:Me.context,observe:Me.observe,params:Me.params,reportProgress:Me.reportProgress,responseType:Me.responseType,withCredentials:Me.withCredentials}}let A=(()=>{class Me{constructor(ve){this.handler=ve}request(ve,Re,at={}){let ni;if(ve instanceof fe)ni=ve;else{let dt,rt;dt=at.headers instanceof S?at.headers:new S(at.headers),at.params&&(rt=at.params instanceof Y?at.params:new Y({fromObject:at.params})),ni=new fe(ve,Re,void 0!==at.body?at.body:null,{headers:dt,context:at.context,params:rt,reportProgress:at.reportProgress,responseType:at.responseType||"json",withCredentials:at.withCredentials})}const Gt=(0,v.of)(ni).pipe((0,o.b)(dt=>this.handler.handle(dt)));if(ve instanceof fe||"events"===at.observe)return Gt;const ti=Gt.pipe((0,C.h)(dt=>dt instanceof h));switch(at.observe||"body"){case"body":switch(ni.responseType){case"arraybuffer":return ti.pipe((0,u.U)(dt=>{if(null!==dt.body&&!(dt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return dt.body}));case"blob":return ti.pipe((0,u.U)(dt=>{if(null!==dt.body&&!(dt.body instanceof Blob))throw new Error("Response is not a Blob.");return dt.body}));case"text":return ti.pipe((0,u.U)(dt=>{if(null!==dt.body&&"string"!=typeof dt.body)throw new Error("Response is not a string.");return dt.body}));default:return ti.pipe((0,u.U)(dt=>dt.body))}case"response":return ti;default:throw new Error(`Unreachable: unhandled observe type ${at.observe}}`)}}delete(ve,Re={}){return this.request("DELETE",ve,Re)}get(ve,Re={}){return this.request("GET",ve,Re)}head(ve,Re={}){return this.request("HEAD",ve,Re)}jsonp(ve,Re){return this.request("JSONP",ve,{params:(new Y).append(Re,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ve,Re={}){return this.request("OPTIONS",ve,Re)}patch(ve,Re,at={}){return this.request("PATCH",ve,y(at,Re))}post(ve,Re,at={}){return this.request("POST",ve,y(at,Re))}put(ve,Re,at={}){return this.request("PUT",ve,y(at,Re))}}return Me.\u0275fac=function(ve){return new(ve||Me)(e.LFG(P))},Me.\u0275prov=e.Yz7({token:Me,factory:Me.\u0275fac}),Me})();function k(Me,J){return J(Me)}function g(Me,J){return(ve,Re)=>J.intercept(ve,{handle:at=>Me(at,Re)})}const b=new e.OlP("HTTP_INTERCEPTORS"),U=new e.OlP("HTTP_INTERCEPTOR_FNS");function V(){let Me=null;return(J,ve)=>(null===Me&&(Me=((0,e.f3M)(b,{optional:!0})??[]).reduceRight(g,k)),Me(J,ve))}let j=(()=>{class Me extends P{constructor(ve,Re){super(),this.backend=ve,this.injector=Re,this.chain=null}handle(ve){if(null===this.chain){const Re=Array.from(new Set(this.injector.get(U)));this.chain=Re.reduceRight((at,ni)=>function n(Me,J,ve){return(Re,at)=>ve.runInContext(()=>J(Re,ni=>Me(ni,at)))}(at,ni,this.injector),k)}return this.chain(ve,Re=>this.backend.handle(Re))}}return Me.\u0275fac=function(ve){return new(ve||Me)(e.LFG(d),e.LFG(e.lqb))},Me.\u0275prov=e.Yz7({token:Me,factory:Me.\u0275fac}),Me})();const oe=/^\)\]\}',?\n/;let te=(()=>{class Me{constructor(ve){this.xhrFactory=ve}handle(ve){if("JSONP"===ve.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new D.y(Re=>{const at=this.xhrFactory.build();if(at.open(ve.method,ve.urlWithParams),ve.withCredentials&&(at.withCredentials=!0),ve.headers.forEach((Vt,Rt)=>at.setRequestHeader(Vt,Rt.join(","))),ve.headers.has("Accept")||at.setRequestHeader("Accept","application/json, text/plain, */*"),!ve.headers.has("Content-Type")){const Vt=ve.detectContentTypeHeader();null!==Vt&&at.setRequestHeader("Content-Type",Vt)}if(ve.responseType){const Vt=ve.responseType.toLowerCase();at.responseType="json"!==Vt?Vt:"text"}const ni=ve.serializeBody();let Gt=null;const ti=()=>{if(null!==Gt)return Gt;const Vt=at.statusText||"OK",Rt=new S(at.getAllResponseHeaders()),je=function be(Me){return"responseURL"in Me&&Me.responseURL?Me.responseURL:/^X-Request-URL:/m.test(Me.getAllResponseHeaders())?Me.getResponseHeader("X-Request-URL"):null}(at)||ve.url;return Gt=new r({headers:Rt,status:at.status,statusText:Vt,url:je}),Gt},dt=()=>{let{headers:Vt,status:Rt,statusText:je,url:Fe}=ti(),We=null;204!==Rt&&(We=typeof at.response>"u"?at.responseText:at.response),0===Rt&&(Rt=We?200:0);let Je=Rt>=200&&Rt<300;if("json"===ve.responseType&&"string"==typeof We){const Tt=We;We=We.replace(oe,"");try{We=""!==We?JSON.parse(We):null}catch(ui){We=Tt,Je&&(Je=!1,We={error:ui,text:We})}}Je?(Re.next(new h({body:We,headers:Vt,status:Rt,statusText:je,url:Fe||void 0})),Re.complete()):Re.error(new l({error:We,headers:Vt,status:Rt,statusText:je,url:Fe||void 0}))},rt=Vt=>{const{url:Rt}=ti(),je=new l({error:Vt,status:at.status||0,statusText:at.statusText||"Unknown Error",url:Rt||void 0});Re.error(je)};let vt=!1;const ai=Vt=>{vt||(Re.next(ti()),vt=!0);let Rt={type:T.DownloadProgress,loaded:Vt.loaded};Vt.lengthComputable&&(Rt.total=Vt.total),"text"===ve.responseType&&!!at.responseText&&(Rt.partialText=at.responseText),Re.next(Rt)},Ut=Vt=>{let Rt={type:T.UploadProgress,loaded:Vt.loaded};Vt.lengthComputable&&(Rt.total=Vt.total),Re.next(Rt)};return at.addEventListener("load",dt),at.addEventListener("error",rt),at.addEventListener("timeout",rt),at.addEventListener("abort",rt),ve.reportProgress&&(at.addEventListener("progress",ai),null!==ni&&at.upload&&at.upload.addEventListener("progress",Ut)),at.send(ni),Re.next({type:T.Sent}),()=>{at.removeEventListener("error",rt),at.removeEventListener("abort",rt),at.removeEventListener("load",dt),at.removeEventListener("timeout",rt),ve.reportProgress&&(at.removeEventListener("progress",ai),null!==ni&&at.upload&&at.upload.removeEventListener("progress",Ut)),at.readyState!==at.DONE&&at.abort()}})}}return Me.\u0275fac=function(ve){return new(ve||Me)(e.LFG(t.JF))},Me.\u0275prov=e.Yz7({token:Me,factory:Me.\u0275fac}),Me})();const Ue=new e.OlP("XSRF_ENABLED"),Be="XSRF-TOKEN",q=new e.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Be}),de="X-XSRF-TOKEN",Ce=new e.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>de});class ke{}let ht=(()=>{class Me{constructor(ve,Re,at){this.doc=ve,this.platform=Re,this.cookieName=at,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ve=this.doc.cookie||"";return ve!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,t.Mx)(ve,this.cookieName),this.lastCookieString=ve),this.lastToken}}return Me.\u0275fac=function(ve){return new(ve||Me)(e.LFG(t.K0),e.LFG(e.Lbi),e.LFG(q))},Me.\u0275prov=e.Yz7({token:Me,factory:Me.\u0275fac}),Me})();function nt(Me,J){const ve=Me.url.toLowerCase();if(!(0,e.f3M)(Ue)||"GET"===Me.method||"HEAD"===Me.method||ve.startsWith("http://")||ve.startsWith("https://"))return J(Me);const Re=(0,e.f3M)(ke).getToken(),at=(0,e.f3M)(Ce);return null!=Re&&!Me.headers.has(at)&&(Me=Me.clone({headers:Me.headers.set(at,Re)})),J(Me)}var it=(()=>((it=it||{})[it.Interceptors=0]="Interceptors",it[it.LegacyInterceptors=1]="LegacyInterceptors",it[it.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",it[it.NoXsrfProtection=3]="NoXsrfProtection",it[it.JsonpSupport=4]="JsonpSupport",it[it.RequestsMadeViaParent=5]="RequestsMadeViaParent",it))();function qt(Me,J){return{\u0275kind:Me,\u0275providers:J}}function _t(...Me){const J=[A,te,j,{provide:P,useExisting:j},{provide:d,useExisting:te},{provide:U,useValue:nt,multi:!0},{provide:Ue,useValue:!0},{provide:ke,useClass:ht}];for(const ve of Me)J.push(...ve.\u0275providers);return(0,e.MR2)(J)}const Nt=new e.OlP("LEGACY_INTERCEPTOR_FN");function He({cookieName:Me,headerName:J}){const ve=[];return void 0!==Me&&ve.push({provide:q,useValue:Me}),void 0!==J&&ve.push({provide:Ce,useValue:J}),qt(it.CustomXsrfConfiguration,ve)}let Lt=(()=>{class Me{}return Me.\u0275fac=function(ve){return new(ve||Me)},Me.\u0275mod=e.oAB({type:Me}),Me.\u0275inj=e.cJS({providers:[_t(qt(it.LegacyInterceptors,[{provide:Nt,useFactory:V},{provide:U,useExisting:Nt,multi:!0}]),He({cookieName:Be,headerName:de}))]}),Me})()},4650:(Ve,Q,m)=>{"use strict";m.d(Q,{$8M:()=>jc,$Z:()=>dc,AFp:()=>Ep,ALo:()=>U6,AaK:()=>P,AsE:()=>jo,BQk:()=>cu,CHM:()=>Hs,CRH:()=>X6,CZH:()=>h4,CqO:()=>Jn,D6c:()=>Q8,DdM:()=>R6,Dn7:()=>G6,EJc:()=>_8,EiD:()=>Kd,EpF:()=>nf,F$t:()=>P0,F4k:()=>du,FYo:()=>bo,FiY:()=>ec,Gf:()=>J6,GfV:()=>H2,GkF:()=>k3,Gpc:()=>w,Gre:()=>K3,HOy:()=>W3,Hsn:()=>Mo,Ikx:()=>Au,JOm:()=>Ls,JVY:()=>Fd,JZr:()=>G,Jf7:()=>B2,KtG:()=>Qo,L6k:()=>gh,LAX:()=>vh,LFG:()=>Ht,Lbi:()=>p8,Lck:()=>Ig,MAs:()=>tf,MGl:()=>wn,MMx:()=>zf,MR2:()=>Mh,NdJ:()=>hc,O4$:()=>Do,OlP:()=>yr,Oqu:()=>Z0,P3R:()=>wh,PXZ:()=>D8,Q6J:()=>D3,QGY:()=>lu,QP$:()=>Zt,QbO:()=>Lp,Qsj:()=>Th,R0b:()=>Ko,RDi:()=>kd,Rgc:()=>Nu,SBq:()=>pl,Sil:()=>b8,Suo:()=>am,TTD:()=>$a,TgZ:()=>su,Tol:()=>xu,Udp:()=>vu,VKq:()=>Zf,W1O:()=>ip,WFA:()=>k0,WLB:()=>N6,X6Q:()=>P8,XFs:()=>Be,Xpm:()=>Ei,Xts:()=>Oc,Y36:()=>xo,YKP:()=>E6,YNc:()=>ef,Yjl:()=>mi,Yz7:()=>qe,Z0I:()=>le,ZZ4:()=>y4,_Bn:()=>S6,_UZ:()=>I3,_Vd:()=>to,_c5:()=>rg,_uU:()=>Z3,aQg:()=>Em,c2e:()=>g8,cJS:()=>Ie,cg1:()=>Lu,d8E:()=>X3,dDg:()=>T8,dqk:()=>nt,eBb:()=>_h,eFA:()=>Gp,ekj:()=>bu,eoX:()=>Hp,f3M:()=>Me,g9A:()=>Ap,h0i:()=>j0,hGG:()=>K8,hYB:()=>R0,hij:()=>ro,iGM:()=>q6,ifc:()=>ai,ip1:()=>Sp,jDz:()=>A6,kEZ:()=>Wf,kL8:()=>W0,kcU:()=>yc,lG2:()=>Kt,lcZ:()=>Yf,lnq:()=>Su,lqb:()=>Rc,lri:()=>Np,mCW:()=>w1,n5z:()=>J1,n_E:()=>n4,oAB:()=>Mt,oJD:()=>hl,oxw:()=>O0,pB0:()=>Hd,q3G:()=>Qr,qLn:()=>gl,qOj:()=>x3,qZA:()=>nd,qzn:()=>ll,rWj:()=>Fp,s9C:()=>uc,sBO:()=>F8,sIi:()=>A0,s_b:()=>a4,soG:()=>f4,tBr:()=>Xc,tb:()=>um,tp0:()=>tc,uIk:()=>E3,vHH:()=>W,vpe:()=>Sl,wAp:()=>kn,xi3:()=>jf,xp6:()=>G2,ynx:()=>ou,z2F:()=>p4,z3N:()=>as,zSh:()=>ml,zs3:()=>lc});var t=m(7579),e=m(727),v=m(9751),D=m(6451),o=m(3099);function C(s){for(let c in s)if(s[c]===C)return c;throw Error("Could not find renamed property on target object.")}function u(s,c){for(const p in c)c.hasOwnProperty(p)&&!s.hasOwnProperty(p)&&(s[p]=c[p])}function P(s){if("string"==typeof s)return s;if(Array.isArray(s))return"["+s.map(P).join(", ")+"]";if(null==s)return""+s;if(s.overriddenName)return`${s.overriddenName}`;if(s.name)return`${s.name}`;const c=s.toString();if(null==c)return""+c;const p=c.indexOf("\n");return-1===p?c:c.substring(0,p)}function d(s,c){return null==s||""===s?null===c?"":c:null==c||""===c?s:s+" "+c}const S=C({__forward_ref__:C});function w(s){return s.__forward_ref__=w,s.toString=function(){return P(this())},s}function I(s){return E(s)?s():s}function E(s){return"function"==typeof s&&s.hasOwnProperty(S)&&s.__forward_ref__===w}function N(s){return s&&!!s.\u0275providers}const G="https://g.co/ng/security#xss";class W extends Error{constructor(c,p){super(function Y(s,c){return`NG0${Math.abs(s)}${c?": "+c.trim():""}`}(c,p)),this.code=c}}function X(s){return"string"==typeof s?s:null==s?"":String(s)}function ce(s,c){throw new W(-201,!1)}function U(s,c){null==s&&function V(s,c,p,L){throw new Error(`ASSERTION ERROR: ${s}`+(null==L?"":` [Expected=> ${p} ${L} ${c} <=Actual]`))}(c,s,null,"!=")}function qe(s){return{token:s.token,providedIn:s.providedIn||null,factory:s.factory,value:void 0}}function Ie(s){return{providers:s.providers||[],imports:s.imports||[]}}function xe(s){return _e(s,oe)||_e(s,te)}function le(s){return null!==xe(s)}function _e(s,c){return s.hasOwnProperty(c)?s[c]:null}function Te(s){return s&&(s.hasOwnProperty(be)||s.hasOwnProperty(Ue))?s[be]:null}const oe=C({\u0275prov:C}),be=C({\u0275inj:C}),te=C({ngInjectableDef:C}),Ue=C({ngInjectorDef:C});var Be=(()=>((Be=Be||{})[Be.Default=0]="Default",Be[Be.Host=1]="Host",Be[Be.Self=2]="Self",Be[Be.SkipSelf=4]="SkipSelf",Be[Be.Optional=8]="Optional",Be))();let q;function Ce(s){const c=q;return q=s,c}function ke(s,c,p){const L=xe(s);return L&&"root"==L.providedIn?void 0===L.value?L.value=L.factory():L.value:p&Be.Optional?null:void 0!==c?c:void ce(P(s))}const nt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),_t={},ne="__NG_DI_FLAG__",Nt="ngTempTokenPath",He=/\n/gm,Pe="__source";let tt;function Bt(s){const c=tt;return tt=s,c}function Lt(s,c=Be.Default){if(void 0===tt)throw new W(-203,!1);return null===tt?ke(s,void 0,c):tt.get(s,c&Be.Optional?null:void 0,c)}function Ht(s,c=Be.Default){return(function de(){return q}()||Lt)(I(s),c)}function Me(s,c=Be.Default){return Ht(s,J(c))}function J(s){return typeof s>"u"||"number"==typeof s?s:0|(s.optional&&8)|(s.host&&1)|(s.self&&2)|(s.skipSelf&&4)}function ve(s){const c=[];for(let p=0;p<s.length;p++){const L=I(s[p]);if(Array.isArray(L)){if(0===L.length)throw new W(900,!1);let R,B=Be.Default;for(let ae=0;ae<L.length;ae++){const Se=L[ae],Ze=at(Se);"number"==typeof Ze?-1===Ze?R=Se.token:B|=Ze:R=Se}c.push(Ht(R,B))}else c.push(Ht(L))}return c}function Re(s,c){return s[ne]=c,s.prototype[ne]=c,s}function at(s){return s[ne]}function ti(s){return{toString:s}.toString()}var dt=(()=>((dt=dt||{})[dt.OnPush=0]="OnPush",dt[dt.Default=1]="Default",dt))(),ai=(()=>{return(s=ai||(ai={}))[s.Emulated=0]="Emulated",s[s.None=2]="None",s[s.ShadowDom=3]="ShadowDom",ai;var s})();const Ut={},Vt=[],Rt=C({\u0275cmp:C}),je=C({\u0275dir:C}),Fe=C({\u0275pipe:C}),We=C({\u0275mod:C}),Je=C({\u0275fac:C}),Tt=C({__NG_ELEMENT_ID__:C});let ui=0;function Ei(s){return ti(()=>{const p=!0===s.standalone,L={},R={type:s.type,providersResolver:null,decls:s.decls,vars:s.vars,factory:null,template:s.template||null,consts:s.consts||null,ngContentSelectors:s.ngContentSelectors,hostBindings:s.hostBindings||null,hostVars:s.hostVars||0,hostAttrs:s.hostAttrs||null,contentQueries:s.contentQueries||null,declaredInputs:L,inputs:null,outputs:null,exportAs:s.exportAs||null,onPush:s.changeDetection===dt.OnPush,directiveDefs:null,pipeDefs:null,standalone:p,dependencies:p&&s.dependencies||null,getStandaloneInjector:null,selectors:s.selectors||Vt,viewQuery:s.viewQuery||null,features:s.features||null,data:s.data||{},encapsulation:s.encapsulation||ai.Emulated,id:"c"+ui++,styles:s.styles||Vt,_:null,setInput:null,schemas:s.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},B=s.dependencies,ae=s.features;return R.inputs=Ot(s.inputs,L),R.outputs=Ot(s.outputs),ae&&ae.forEach(Se=>Se(R)),R.directiveDefs=B?()=>("function"==typeof B?B():B).map(Vi).filter($e):null,R.pipeDefs=B?()=>("function"==typeof B?B():B).map(Wi).filter($e):null,R})}function Vi(s){return Mi(s)||Pi(s)}function $e(s){return null!==s}function Mt(s){return ti(()=>({type:s.type,bootstrap:s.bootstrap||Vt,declarations:s.declarations||Vt,imports:s.imports||Vt,exports:s.exports||Vt,transitiveCompileScopes:null,schemas:s.schemas||null,id:s.id||null}))}function Ot(s,c){if(null==s)return Ut;const p={};for(const L in s)if(s.hasOwnProperty(L)){let R=s[L],B=R;Array.isArray(R)&&(B=R[1],R=R[0]),p[R]=L,c&&(c[R]=B)}return p}const Kt=Ei;function mi(s){return{type:s.type,name:s.name,factory:null,pure:!1!==s.pure,standalone:!0===s.standalone,onDestroy:s.type.prototype.ngOnDestroy||null}}function Mi(s){return s[Rt]||null}function Pi(s){return s[je]||null}function Wi(s){return s[Fe]||null}function Zt(s){const c=Mi(s)||Pi(s)||Wi(s);return null!==c&&c.standalone}function oi(s,c){const p=s[We]||null;if(!p&&!0===c)throw new Error(`Type ${P(s)} does not have '\u0275mod' property.`);return p}function ir(s){return Array.isArray(s)&&"object"==typeof s[1]}function dr(s){return Array.isArray(s)&&!0===s[1]}function Va(s){return 0!=(4&s.flags)}function Fr(s){return s.componentOffset>-1}function jr(s){return 1==(1&s.flags)}function cr(s){return null!==s.template}function Ar(s){return 0!=(256&s[2])}function zr(s,c){return s.hasOwnProperty(Je)?s[Je]:null}class _a{constructor(c,p,L){this.previousValue=c,this.currentValue=p,this.firstChange=L}isFirstChange(){return this.firstChange}}function $a(){return Sa}function Sa(s){return s.type.prototype.ngOnChanges&&(s.setInput=Wr),us}function us(){const s=Ua(this),c=s?.current;if(c){const p=s.previous;if(p===Ut)s.previous=c;else for(let L in c)p[L]=c[L];s.current=null,this.ngOnChanges(c)}}function Wr(s,c,p,L){const R=this.declaredInputs[p],B=Ua(s)||function Xr(s,c){return s[Ea]=c}(s,{previous:Ut,current:null}),ae=B.current||(B.current={}),Se=B.previous,Ze=Se[R];ae[R]=new _a(Ze&&Ze.currentValue,c,Se===Ut),s[L]=c}$a.ngInherit=!0;const Ea="__ngSimpleChanges__";function Ua(s){return s[Ea]||null}function qn(s){for(;Array.isArray(s);)s=s[0];return s}function Yr(s,c){return qn(c[s])}function lr(s,c){return qn(c[s.index])}function Ft(s,c){return s.data[c]}function hi(s,c){return s[c]}function yt(s,c){const p=c[s];return ir(p)?p:p[0]}function zi(s){return 64==(64&s[2])}function Un(s,c){return null==c?null:s[c]}function vr(s){s[18]=0}function Ji(s,c){s[5]+=c;let p=s,L=s[3];for(;null!==L&&(1===c&&1===p[5]||-1===c&&0===p[5]);)L[5]+=c,p=L,L=L[3]}const xn={lFrame:Ao(null),bindingsEnabled:!0};function Si(){return xn.bindingsEnabled}function Ni(){return xn.lFrame.lView}function Vn(){return xn.lFrame.tView}function Hs(s){return xn.lFrame.contextLView=s,s[8]}function Qo(s){return xn.lFrame.contextLView=null,s}function Vr(){let s=zs();for(;null!==s&&64===s.type;)s=s.parent;return s}function zs(){return xn.lFrame.currentTNode}function Ta(s,c){const p=xn.lFrame;p.currentTNode=s,p.isParent=c}function js(){return xn.lFrame.isParent}function ms(){xn.lFrame.isParent=!1}function An(){const s=xn.lFrame;let c=s.bindingRootIndex;return-1===c&&(c=s.bindingRootIndex=s.tView.bindingStartIndex),c}function Ri(){return xn.lFrame.bindingIndex}function Cs(){return xn.lFrame.bindingIndex++}function Bi(s){const c=xn.lFrame,p=c.bindingIndex;return c.bindingIndex=c.bindingIndex+s,p}function lo(s,c){const p=xn.lFrame;p.bindingIndex=p.bindingRootIndex=s,Ks(c)}function Ks(s){xn.lFrame.currentDirectiveIndex=s}function Ms(s){const c=xn.lFrame.currentDirectiveIndex;return-1===c?null:s[c]}function Qs(){return xn.lFrame.currentQueryIndex}function qs(s){xn.lFrame.currentQueryIndex=s}function gc(s){const c=s[1];return 2===c.type?c.declTNode:1===c.type?s[6]:null}function _c(s,c,p){if(p&Be.SkipSelf){let R=c,B=s;for(;!(R=R.parent,null!==R||p&Be.Host||(R=gc(B),null===R||(B=B[15],10&R.type))););if(null===R)return!1;c=R,s=B}const L=xn.lFrame=qo();return L.currentTNode=c,L.lView=s,!0}function vc(s){const c=qo(),p=s[1];xn.lFrame=c,c.currentTNode=p.firstChild,c.lView=s,c.tView=p,c.contextLView=s,c.bindingIndex=p.bindingStartIndex,c.inI18n=!1}function qo(){const s=xn.lFrame,c=null===s?null:s.child;return null===c?Ao(s):c}function Ao(s){const c={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:s,child:null,inI18n:!1};return null!==s&&(s.child=c),c}function Lo(){const s=xn.lFrame;return xn.lFrame=s.parent,s.currentTNode=null,s.lView=null,s}const Cr=Lo;function ns(){const s=Lo();s.isParent=!0,s.tView=null,s.selectedIndex=-1,s.contextLView=null,s.elementDepthCount=0,s.currentDirectiveIndex=-1,s.currentNamespace=null,s.bindingRootIndex=-1,s.bindingIndex=-1,s.currentQueryIndex=0}function Dr(){return xn.lFrame.selectedIndex}function ea(s){xn.lFrame.selectedIndex=s}function ur(){const s=xn.lFrame;return Ft(s.tView,s.selectedIndex)}function Do(){xn.lFrame.currentNamespace="svg"}function yc(){!function Wn(){xn.lFrame.currentNamespace=null}()}function mt(s,c){for(let p=c.directiveStart,L=c.directiveEnd;p<L;p++){const B=s.data[p].type.prototype,{ngAfterContentInit:ae,ngAfterContentChecked:Se,ngAfterViewInit:Ze,ngAfterViewChecked:ft,ngOnDestroy:Dt}=B;ae&&(s.contentHooks||(s.contentHooks=[])).push(-p,ae),Se&&((s.contentHooks||(s.contentHooks=[])).push(p,Se),(s.contentCheckHooks||(s.contentCheckHooks=[])).push(p,Se)),Ze&&(s.viewHooks||(s.viewHooks=[])).push(-p,Ze),ft&&((s.viewHooks||(s.viewHooks=[])).push(p,ft),(s.viewCheckHooks||(s.viewCheckHooks=[])).push(p,ft)),null!=Dt&&(s.destroyHooks||(s.destroyHooks=[])).push(p,Dt)}}function Le(s,c,p){Ne(s,c,3,p)}function Et(s,c,p,L){(3&s[2])===p&&Ne(s,c,p,L)}function ri(s,c){let p=s[2];(3&p)===c&&(p&=2047,p+=1,s[2]=p)}function Ne(s,c,p,L){const B=L??-1,ae=c.length-1;let Se=0;for(let Ze=void 0!==L?65535&s[18]:0;Ze<ae;Ze++)if("number"==typeof c[Ze+1]){if(Se=c[Ze],null!=L&&Se>=L)break}else c[Ze]<0&&(s[18]+=65536),(Se<B||-1==B)&&(ut(s,p,c,Ze),s[18]=(4294901760&s[18])+Ze+2),Ze++}function ut(s,c,p,L){const R=p[L]<0,B=p[L+1],Se=s[R?-p[L]:p[L]];if(R){if(s[2]>>11<s[18]>>16&&(3&s[2])===c){s[2]+=2048;try{B.call(Se)}finally{}}}else try{B.call(Se)}finally{}}class Pt{constructor(c,p,L){this.factory=c,this.resolving=!1,this.canSeeViewProviders=p,this.injectImpl=L}}function ln(s,c,p){let L=0;for(;L<p.length;){const R=p[L];if("number"==typeof R){if(0!==R)break;L++;const B=p[L++],ae=p[L++],Se=p[L++];s.setAttribute(c,ae,Se,B)}else{const B=R,ae=p[++L];br(B)?s.setProperty(c,B,ae):s.setAttribute(c,B,ae),L++}}return L}function Cn(s){return 3===s||4===s||6===s}function br(s){return 64===s.charCodeAt(0)}function Ir(s,c){if(null!==c&&0!==c.length)if(null===s||0===s.length)s=c.slice();else{let p=-1;for(let L=0;L<c.length;L++){const R=c[L];"number"==typeof R?p=R:0===p||Br(s,p,R,null,-1===p||2===p?c[++L]:null)}}return s}function Br(s,c,p,L,R){let B=0,ae=s.length;if(-1===c)ae=-1;else for(;B<s.length;){const Se=s[B++];if("number"==typeof Se){if(Se===c){ae=-1;break}if(Se>c){ae=B-1;break}}}for(;B<s.length;){const Se=s[B];if("number"==typeof Se)break;if(Se===p){if(null===L)return void(null!==R&&(s[B+1]=R));if(L===s[B+1])return void(s[B+2]=R)}B++,null!==L&&B++,null!==R&&B++}-1!==ae&&(s.splice(ae,0,c),B=ae+1),s.splice(B++,0,p),null!==L&&s.splice(B++,0,L),null!==R&&s.splice(B++,0,R)}function ta(s){return-1!==s}function kr(s){return 32767&s}function va(s,c){let p=function Er(s){return s>>16}(s),L=c;for(;p>0;)L=L[15],p--;return L}let mr=!0;function rs(s){const c=mr;return mr=s,c}let El=0;const Bs={};function ba(s,c){const p=xc(s,c);if(-1!==p)return p;const L=c[1];L.firstCreatePass&&(s.injectorIndex=c.length,Tl(L.data,s),Tl(c,null),Tl(L.blueprint,null));const R=Cc(s,c),B=s.injectorIndex;if(ta(R)){const ae=kr(R),Se=va(R,c),Ze=Se[1].data;for(let ft=0;ft<8;ft++)c[B+ft]=Se[ae+ft]|Ze[ae+ft]}return c[B+8]=R,B}function Tl(s,c){s.push(0,0,0,0,0,0,0,0,c)}function xc(s,c){return-1===s.injectorIndex||s.parent&&s.parent.injectorIndex===s.injectorIndex||null===c[s.injectorIndex+8]?-1:s.injectorIndex}function Cc(s,c){if(s.parent&&-1!==s.parent.injectorIndex)return s.parent.injectorIndex;let p=0,L=null,R=c;for(;null!==R;){if(L=Yc(R),null===L)return-1;if(p++,R=R[15],-1!==L.injectorIndex)return L.injectorIndex|p<<16}return-1}function Al(s,c,p){!function a1(s,c,p){let L;"string"==typeof p?L=p.charCodeAt(0)||0:p.hasOwnProperty(Tt)&&(L=p[Tt]),null==L&&(L=p[Tt]=El++);const R=255&L;c.data[s+(R>>5)]|=1<<R}(s,c,p)}function Q1(s,c,p){if(p&Be.Optional||void 0!==s)return s;ce()}function q1(s,c,p,L){if(p&Be.Optional&&void 0===L&&(L=null),0==(p&(Be.Self|Be.Host))){const R=s[9],B=Ce(void 0);try{return R?R.get(c,L,p&Be.Optional):ke(c,L,p&Be.Optional)}finally{Ce(B)}}return Q1(L,0,p)}function s1(s,c,p,L=Be.Default,R){if(null!==s){if(1024&c[2]){const ae=function Il(s,c,p,L,R){let B=s,ae=c;for(;null!==B&&null!==ae&&1024&ae[2]&&!(256&ae[2]);){const Se=Zc(B,ae,p,L|Be.Self,Bs);if(Se!==Bs)return Se;let Ze=B.parent;if(!Ze){const ft=ae[21];if(ft){const Dt=ft.get(p,Bs,L);if(Dt!==Bs)return Dt}Ze=Yc(ae),ae=ae[15]}B=Ze}return R}(s,c,p,L,Bs);if(ae!==Bs)return ae}const B=Zc(s,c,p,L,Bs);if(B!==Bs)return B}return q1(c,p,L,R)}function Zc(s,c,p,L,R){const B=function Dl(s){if("string"==typeof s)return s.charCodeAt(0)||0;const c=s.hasOwnProperty(Tt)?s[Tt]:void 0;return"number"==typeof c?c>=0?255&c:ko:c}(p);if("function"==typeof B){if(!_c(c,s,L))return L&Be.Host?Q1(R,0,L):q1(c,p,L,R);try{const ae=B(L);if(null!=ae||L&Be.Optional)return ae;ce()}finally{Cr()}}else if("number"==typeof B){let ae=null,Se=xc(s,c),Ze=-1,ft=L&Be.Host?c[16][6]:null;for((-1===Se||L&Be.SkipSelf)&&(Ze=-1===Se?Cc(s,c):c[Se+8],-1!==Ze&&ho(L,!1)?(ae=c[1],Se=kr(Ze),c=va(Ze,c)):Se=-1);-1!==Se;){const Dt=c[1];if(Io(B,Se,Dt.data)){const $t=Ll(Se,c,p,ae,L,ft);if($t!==Bs)return $t}Ze=c[Se+8],-1!==Ze&&ho(L,c[1].data[Se+8]===ft)&&Io(B,Se,c)?(ae=Dt,Se=kr(Ze),c=va(Ze,c)):Se=-1}}return R}function Ll(s,c,p,L,R,B){const ae=c[1],Se=ae.data[s+8],Dt=Us(Se,ae,p,null==L?Fr(Se)&&mr:L!=ae&&0!=(3&Se.type),R&Be.Host&&B===Se);return null!==Dt?Jo(c,ae,Dt,Se):Bs}function Us(s,c,p,L,R){const B=s.providerIndexes,ae=c.data,Se=1048575&B,Ze=s.directiveStart,Dt=B>>20,pi=R?Se+Dt:s.directiveEnd;for(let Ci=L?Se:Se+Dt;Ci<pi;Ci++){const Hi=ae[Ci];if(Ci<Ze&&p===Hi||Ci>=Ze&&Hi.type===p)return Ci}if(R){const Ci=ae[Ze];if(Ci&&cr(Ci)&&Ci.type===p)return Ze}return null}function Jo(s,c,p,L){let R=s[p];const B=c.data;if(function Qe(s){return s instanceof Pt}(R)){const ae=R;ae.resolving&&function ue(s,c){const p=c?`. Dependency path: ${c.join(" > ")} > ${s}`:"";throw new W(-200,`Circular dependency in DI detected for ${s}${p}`)}(function ee(s){return"function"==typeof s?s.name||s.toString():"object"==typeof s&&null!=s&&"function"==typeof s.type?s.type.name||s.type.toString():X(s)}(B[p]));const Se=rs(ae.canSeeViewProviders);ae.resolving=!0;const Ze=ae.injectImpl?Ce(ae.injectImpl):null;_c(s,L,Be.Default);try{R=s[p]=ae.factory(void 0,B,s,L),c.firstCreatePass&&p>=L.directiveStart&&function Oe(s,c,p){const{ngOnChanges:L,ngOnInit:R,ngDoCheck:B}=c.type.prototype;if(L){const ae=Sa(c);(p.preOrderHooks||(p.preOrderHooks=[])).push(s,ae),(p.preOrderCheckHooks||(p.preOrderCheckHooks=[])).push(s,ae)}R&&(p.preOrderHooks||(p.preOrderHooks=[])).push(0-s,R),B&&((p.preOrderHooks||(p.preOrderHooks=[])).push(s,B),(p.preOrderCheckHooks||(p.preOrderCheckHooks=[])).push(s,B))}(p,B[p],c)}finally{null!==Ze&&Ce(Ze),rs(Se),ae.resolving=!1,Cr()}}return R}function Io(s,c,p){return!!(p[c+(s>>5)]&1<<s)}function ho(s,c){return!(s&Be.Self||s&Be.Host&&c)}class gs{constructor(c,p){this._tNode=c,this._lView=p}get(c,p,L){return s1(this._tNode,this._lView,c,J(L),p)}}function ko(){return new gs(Vr(),Ni())}function J1(s){return ti(()=>{const c=s.prototype.constructor,p=c[Je]||Wc(c),L=Object.prototype;let R=Object.getPrototypeOf(s.prototype).constructor;for(;R&&R!==L;){const B=R[Je]||Wc(R);if(B&&B!==p)return B;R=Object.getPrototypeOf(R)}return B=>new B})}function Wc(s){return E(s)?()=>{const c=Wc(I(s));return c&&c()}:zr(s)}function Yc(s){const c=s[1],p=c.type;return 2===p?c.declTNode:1===p?s[6]:null}function jc(s){return function Gc(s,c){if("class"===c)return s.classes;if("style"===c)return s.styles;const p=s.attrs;if(p){const L=p.length;let R=0;for(;R<L;){const B=p[R];if(Cn(B))break;if(0===B)R+=2;else if("number"==typeof B)for(R++;R<L&&"string"==typeof p[R];)R++;else{if(B===c)return p[R+1];R+=2}}}return null}(Vr(),s)}const Ss="__parameters__";function Es(s,c,p){return ti(()=>{const L=function c1(s){return function(...p){if(s){const L=s(...p);for(const R in L)this[R]=L[R]}}}(c);function R(...B){if(this instanceof R)return L.apply(this,B),this;const ae=new R(...B);return Se.annotation=ae,Se;function Se(Ze,ft,Dt){const $t=Ze.hasOwnProperty(Ss)?Ze[Ss]:Object.defineProperty(Ze,Ss,{value:[]})[Ss];for(;$t.length<=Dt;)$t.push(null);return($t[Dt]=$t[Dt]||[]).push(ae),Ze}}return p&&(R.prototype=Object.create(p.prototype)),R.prototype.ngMetadataName=s,R.annotationCls=R,R})}class yr{constructor(c,p){this._desc=c,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof p?this.__NG_ELEMENT_ID__=p:void 0!==p&&(this.\u0275prov=qe({token:this,providedIn:p.providedIn||"root",factory:p.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function At(s,c){s.forEach(p=>Array.isArray(p)?At(p,c):c(p))}function kt(s,c,p){c>=s.length?s.push(p):s.splice(c,0,p)}function ci(s,c){return c>=s.length-1?s.pop():s.splice(c,1)[0]}function Ti(s,c){const p=[];for(let L=0;L<s;L++)p.push(c);return p}function pr(s,c,p){let L=Ya(s,c);return L>=0?s[1|L]=p:(L=~L,function Ln(s,c,p,L){let R=s.length;if(R==c)s.push(p,L);else if(1===R)s.push(L,s[0]),s[0]=p;else{for(R--,s.push(s[R-1],s[R]);R>c;)s[R]=s[R-2],R--;s[c]=p,s[c+1]=L}}(s,L,c,p)),L}function Aa(s,c){const p=Ya(s,c);if(p>=0)return s[1|p]}function Ya(s,c){return function oa(s,c,p){let L=0,R=s.length>>p;for(;R!==L;){const B=L+(R-L>>1),ae=s[B<<p];if(c===ae)return B<<p;ae>c?R=B:L=B+1}return~(R<<p)}(s,c,1)}const Xc=Re(Es("Inject",s=>({token:s})),-1),ec=Re(Es("Optional"),8),tc=Re(Es("SkipSelf"),4);var Ls=(()=>((Ls=Ls||{})[Ls.Important=1]="Important",Ls[Ls.DashCase=2]="DashCase",Ls))();const c2=new Map;let vd=0;const m1="__ngContext__";function ja(s,c){ir(c)?(s[m1]=c[20],function nh(s){c2.set(s[20],s)}(c)):s[m1]=c}function p1(s,c){return undefined(s,c)}function Nl(s){const c=s[3];return dr(c)?c[3]:c}function al(s){return f2(s[13])}function Lc(s){return f2(s[4])}function f2(s){for(;null!==s&&!dr(s);)s=s[4];return s}function $s(s,c,p,L,R){if(null!=L){let B,ae=!1;dr(L)?B=L:ir(L)&&(ae=!0,L=L[0]);const Se=qn(L);0===s&&null!==p?null==R?_2(c,p,Se):eo(c,p,Se,R||null,!0):1===s&&null!==p?eo(c,p,Se,R||null,!0):2===s?function y2(s,c,p){const L=b1(s,c);L&&function v2(s,c,p,L){s.removeChild(c,p,L)}(s,L,c,p)}(c,Se,ae):3===s&&c.destroyNode(Se),null!=B&&function lh(s,c,p,L,R){const B=p[7];B!==qn(p)&&$s(c,s,L,B,R);for(let Se=10;Se<p.length;Se++){const Ze=p[Se];zl(Ze[1],Ze,s,c,L,B)}}(c,s,B,p,R)}}function _o(s,c,p){return s.createElement(c,p)}function p2(s,c){const p=s[9],L=p.indexOf(c),R=c[3];512&c[2]&&(c[2]&=-513,Ji(R,-1)),p.splice(L,1)}function Md(s,c){if(s.length<=10)return;const p=10+c,L=s[p];if(L){const R=L[17];null!==R&&R!==s&&p2(R,L),c>0&&(s[p-1][4]=L[4]);const B=ci(s,10+c);!function ju(s,c){zl(s,c,c[11],2,null,null),c[0]=null,c[6]=null}(L[1],L);const ae=B[19];null!==ae&&ae.detachView(B[1]),L[3]=null,L[4]=null,L[2]&=-65}return L}function rc(s,c){if(!(128&c[2])){const p=c[11];p.destroyNode&&zl(s,c,p,3,null,null),function qu(s){let c=s[13];if(!c)return Ro(s[1],s);for(;c;){let p=null;if(ir(c))p=c[13];else{const L=c[10];L&&(p=L)}if(!p){for(;c&&!c[4]&&c!==s;)ir(c)&&Ro(c[1],c),c=c[3];null===c&&(c=s),ir(c)&&Ro(c[1],c),p=c&&c[4]}c=p}}(c)}}function Ro(s,c){if(!(128&c[2])){c[2]&=-65,c[2]|=128,function g2(s,c){let p;if(null!=s&&null!=(p=s.destroyHooks))for(let L=0;L<p.length;L+=2){const R=c[p[L]];if(!(R instanceof Pt)){const B=p[L+1];if(Array.isArray(B))for(let ae=0;ae<B.length;ae+=2){const Se=R[B[ae]],Ze=B[ae+1];try{Ze.call(Se)}finally{}}else try{B.call(R)}finally{}}}}(s,c),function Ju(s,c){const p=s.cleanup,L=c[7];let R=-1;if(null!==p)for(let B=0;B<p.length-1;B+=2)if("string"==typeof p[B]){const ae=p[B+3];ae>=0?L[R=ae]():L[R=-ae].unsubscribe(),B+=2}else{const ae=L[R=p[B+1]];p[B].call(ae)}if(null!==L){for(let B=R+1;B<L.length;B++)(0,L[B])();c[7]=null}}(s,c),1===c[1].type&&c[11].destroy();const p=c[17];if(null!==p&&dr(c[3])){p!==c[3]&&p2(p,c);const L=c[19];null!==L&&L.detachView(s)}!function Zu(s){c2.delete(s[20])}(c)}}function ch(s,c,p){return function Sd(s,c,p){let L=c;for(;null!==L&&40&L.type;)L=(c=L).parent;if(null===L)return p[0];{const{componentOffset:R}=L;if(R>-1){const{encapsulation:B}=s.data[L.directiveStart+R];if(B===ai.None||B===ai.Emulated)return null}return lr(L,p)}}(s,c.parent,p)}function eo(s,c,p,L,R){s.insertBefore(c,p,L,R)}function _2(s,c,p){s.appendChild(c,p)}function ac(s,c,p,L,R){null!==L?eo(s,c,p,L,R):_2(s,c,p)}function b1(s,c){return s.parentNode(c)}function ya(s,c,p){return b2(s,c,p)}let Vl,C1,Bl,b2=function ol(s,c,p){return 40&s.type?lr(s,p):null};function sc(s,c,p,L){const R=ch(s,L,c),B=c[11],Se=ya(L.parent||c[6],L,c);if(null!=R)if(Array.isArray(p))for(let Ze=0;Ze<p.length;Ze++)ac(B,R,p[Ze],Se,!1);else ac(B,R,p,Se,!1)}function No(s,c){if(null!==c){const p=c.type;if(3&p)return lr(c,s);if(4&p)return y1(-1,s[c.index]);if(8&p){const L=c.child;if(null!==L)return No(s,L);{const R=s[c.index];return dr(R)?y1(-1,R):qn(R)}}if(32&p)return p1(c,s)()||qn(s[c.index]);{const L=Ad(s,c);return null!==L?Array.isArray(L)?L[0]:No(Nl(s[16]),L):No(s,c.next)}}return null}function Ad(s,c){return null!==c?s[16][6].projection[c.projection]:null}function y1(s,c){const p=10+s+1;if(p<c.length){const L=c[p],R=L[1].firstChild;if(null!==R)return No(L,R)}return c[7]}function x2(s,c,p,L,R,B,ae){for(;null!=p;){const Se=L[p.index],Ze=p.type;if(ae&&0===c&&(Se&&ja(qn(Se),L),p.flags|=2),32!=(32&p.flags))if(8&Ze)x2(s,c,p.child,L,R,B,!1),$s(c,s,R,Se,B);else if(32&Ze){const ft=p1(p,L);let Dt;for(;Dt=ft();)$s(c,s,R,Dt,B);$s(c,s,R,Se,B)}else 16&Ze?C2(s,c,L,p,R,B):$s(c,s,R,Se,B);p=ae?p.projectionNext:p.next}}function zl(s,c,p,L,R,B){x2(p,L,s.firstChild,c,R,B,!1)}function C2(s,c,p,L,R,B){const ae=p[16],Ze=ae[6].projection[L.projection];if(Array.isArray(Ze))for(let ft=0;ft<Ze.length;ft++)$s(c,s,R,Ze[ft],B);else x2(s,c,Ze,ae[3],R,B,!0)}function w2(s,c,p){""===p?s.removeAttribute(c,"class"):s.setAttribute(c,"class",p)}function M2(s,c,p){const{mergedAttrs:L,classes:R,styles:B}=p;null!==L&&ln(s,c,L),null!==R&&w2(s,c,R),null!==B&&function Dd(s,c,p){s.setAttribute(c,"style",p)}(s,c,B)}function Dc(s){return function x1(){if(void 0===Vl&&(Vl=null,nt.trustedTypes))try{Vl=nt.trustedTypes.createPolicy("angular",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch{}return Vl}()?.createHTML(s)||s}function kd(s){C1=s}function S2(){if(void 0===Bl&&(Bl=null,nt.trustedTypes))try{Bl=nt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch{}return Bl}function E2(s){return S2()?.createHTML(s)||s}function T2(s){return S2()?.createScriptURL(s)||s}class Ic{constructor(c){this.changingThisBreaksApplicationSecurity=c}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${G})`}}class Pd extends Ic{getTypeName(){return"HTML"}}class fh extends Ic{getTypeName(){return"Style"}}class Rd extends Ic{getTypeName(){return"Script"}}class Nd extends Ic{getTypeName(){return"URL"}}class mh extends Ic{getTypeName(){return"ResourceURL"}}function as(s){return s instanceof Ic?s.changingThisBreaksApplicationSecurity:s}function ll(s,c){const p=function ph(s){return s instanceof Ic&&s.getTypeName()||null}(s);if(null!=p&&p!==c){if("ResourceURL"===p&&"URL"===c)return!0;throw new Error(`Required a safe ${c}, got a ${p} (see ${G})`)}return p===c}function Fd(s){return new Pd(s)}function gh(s){return new fh(s)}function _h(s){return new Rd(s)}function vh(s){return new Nd(s)}function Hd(s){return new mh(s)}class bh{constructor(c){this.inertDocumentHelper=c}getInertBodyElement(c){c="<body><remove></remove>"+c;try{const p=(new window.DOMParser).parseFromString(Dc(c),"text/html").body;return null===p?this.inertDocumentHelper.getInertBodyElement(c):(p.removeChild(p.firstChild),p)}catch{return null}}}class yh{constructor(c){if(this.defaultDoc=c,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const p=this.inertDocument.createElement("html");this.inertDocument.appendChild(p);const L=this.inertDocument.createElement("body");p.appendChild(L)}}getInertBodyElement(c){const p=this.inertDocument.createElement("template");if("content"in p)return p.innerHTML=Dc(c),p;const L=this.inertDocument.createElement("body");return L.innerHTML=Dc(c),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(L),L}stripCustomNsAttrs(c){const p=c.attributes;for(let R=p.length-1;0<R;R--){const ae=p.item(R).name;("xmlns:ns1"===ae||0===ae.indexOf("ns1:"))&&c.removeAttribute(ae)}let L=c.firstChild;for(;L;)L.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(L),L=L.nextSibling}}const Bd=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function w1(s){return(s=String(s)).match(Bd)?s:"unsafe:"+s}function vo(s){const c={};for(const p of s.split(","))c[p]=!0;return c}function Ul(...s){const c={};for(const p of s)for(const L in p)p.hasOwnProperty(L)&&(c[L]=!0);return c}const Ud=vo("area,br,col,hr,img,wbr"),Gd=vo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),M1=vo("rp,rt"),A2=Ul(Ud,Ul(Gd,vo("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")),Ul(M1,vo("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")),Ul(M1,Gd)),S1=vo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),L2=Ul(S1,vo("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"),vo("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")),Wd=vo("script,style,template");class Yd{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(c){let p=c.firstChild,L=!0;for(;p;)if(p.nodeType===Node.ELEMENT_NODE?L=this.startElement(p):p.nodeType===Node.TEXT_NODE?this.chars(p.nodeValue):this.sanitizedSomething=!0,L&&p.firstChild)p=p.firstChild;else for(;p;){p.nodeType===Node.ELEMENT_NODE&&this.endElement(p);let R=this.checkClobberedElement(p,p.nextSibling);if(R){p=R;break}p=this.checkClobberedElement(p,p.parentNode)}return this.buf.join("")}startElement(c){const p=c.nodeName.toLowerCase();if(!A2.hasOwnProperty(p))return this.sanitizedSomething=!0,!Wd.hasOwnProperty(p);this.buf.push("<"),this.buf.push(p);const L=c.attributes;for(let R=0;R<L.length;R++){const B=L.item(R),ae=B.name,Se=ae.toLowerCase();if(!L2.hasOwnProperty(Se)){this.sanitizedSomething=!0;continue}let Ze=B.value;S1[Se]&&(Ze=w1(Ze)),this.buf.push(" ",ae,'="',D2(Ze),'"')}return this.buf.push(">"),!0}endElement(c){const p=c.nodeName.toLowerCase();A2.hasOwnProperty(p)&&!Ud.hasOwnProperty(p)&&(this.buf.push("</"),this.buf.push(p),this.buf.push(">"))}chars(c){this.buf.push(D2(c))}checkClobberedElement(c,p){if(p&&(c.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${c.outerHTML}`);return p}}const jd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,dl=/([^\#-~ |!])/g;function D2(s){return s.replace(/&/g,"&").replace(jd,function(c){return"&#"+(1024*(c.charCodeAt(0)-55296)+(c.charCodeAt(1)-56320)+65536)+";"}).replace(dl,function(c){return"&#"+c.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let E1;function Kd(s,c){let p=null;try{E1=E1||function zd(s){const c=new yh(s);return function Vd(){try{return!!(new window.DOMParser).parseFromString(Dc(""),"text/html")}catch{return!1}}()?new bh(c):c}(s);let L=c?String(c):"";p=E1.getInertBodyElement(L);let R=5,B=L;do{if(0===R)throw new Error("Failed to sanitize html because the input is unstable");R--,L=B,B=p.innerHTML,p=E1.getInertBodyElement(L)}while(L!==B);return Dc((new Yd).sanitizeChildren(I2(p)||p))}finally{if(p){const L=I2(p)||p;for(;L.firstChild;)L.removeChild(L.firstChild)}}}function I2(s){return"content"in s&&function Qd(s){return s.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===s.nodeName}(s)?s.content:null}var Qr=(()=>((Qr=Qr||{})[Qr.NONE=0]="NONE",Qr[Qr.HTML=1]="HTML",Qr[Qr.STYLE=2]="STYLE",Qr[Qr.SCRIPT=3]="SCRIPT",Qr[Qr.URL=4]="URL",Qr[Qr.RESOURCE_URL=5]="RESOURCE_URL",Qr))();function hl(s){const c=kc();return c?E2(c.sanitize(Qr.HTML,s)||""):ll(s,"HTML")?E2(as(s)):Kd(function Od(){return void 0!==C1?C1:typeof document<"u"?document:void 0}(),X(s))}function Jd(s){const c=kc();return c?c.sanitize(Qr.URL,s)||"":ll(s,"URL")?as(s):w1(X(s))}function ul(s){const c=kc();if(c)return T2(c.sanitize(Qr.RESOURCE_URL,s)||"");if(ll(s,"ResourceURL"))return T2(as(s));throw new W(904,!1)}function wh(s,c,p){return function r3(s,c){return"src"===c&&("embed"===s||"frame"===s||"iframe"===s||"media"===s||"script"===s)||"href"===c&&("base"===s||"link"===s)?ul:Jd}(c,p)(s)}function kc(){const s=Ni();return s&&s[12]}const Oc=new yr("ENVIRONMENT_INITIALIZER"),Xd=new yr("INJECTOR",-1),$d=new yr("INJECTOR_DEF_TYPES");class oc{get(c,p=_t){if(p===_t){const L=new Error(`NullInjectorError: No provider for ${P(c)}!`);throw L.name="NullInjectorError",L}return p}}function Mh(s){return{\u0275providers:s}}function k2(...s){return{\u0275providers:fl(0,s),\u0275fromNgModule:!0}}function fl(s,...c){const p=[],L=new Set;let R;return At(c,B=>{const ae=B;Pc(ae,p,[],L)&&(R||(R=[]),R.push(ae))}),void 0!==R&&e0(R,p),p}function e0(s,c){for(let p=0;p<s.length;p++){const{providers:R}=s[p];Fo(R,B=>{c.push(B)})}}function Pc(s,c,p,L){if(!(s=I(s)))return!1;let R=null,B=Te(s);const ae=!B&&Mi(s);if(B||ae){if(ae&&!ae.standalone)return!1;R=s}else{const Ze=s.ngModule;if(B=Te(Ze),!B)return!1;R=Ze}const Se=L.has(R);if(ae){if(Se)return!1;if(L.add(R),ae.dependencies){const Ze="function"==typeof ae.dependencies?ae.dependencies():ae.dependencies;for(const ft of Ze)Pc(ft,c,p,L)}}else{if(!B)return!1;{if(null!=B.imports&&!Se){let ft;L.add(R);try{At(B.imports,Dt=>{Pc(Dt,c,p,L)&&(ft||(ft=[]),ft.push(Dt))})}finally{}void 0!==ft&&e0(ft,c)}if(!Se){const ft=zr(R)||(()=>new R);c.push({provide:R,useFactory:ft,deps:Vt},{provide:$d,useValue:R,multi:!0},{provide:Oc,useValue:()=>Ht(R),multi:!0})}const Ze=B.providers;null==Ze||Se||Fo(Ze,Dt=>{c.push(Dt)})}}return R!==s&&void 0!==s.providers}function Fo(s,c){for(let p of s)N(p)&&(p=p.\u0275providers),Array.isArray(p)?Fo(p,c):c(p)}const Da=C({provide:String,useValue:C});function Zl(s){return null!==s&&"object"==typeof s&&Da in s}function Ho(s){return"function"==typeof s}const ml=new yr("Set Injector scope."),zo={},Sh={};let T1;function Yl(){return void 0===T1&&(T1=new oc),T1}class Rc{}class O2 extends Rc{constructor(c,p,L,R){super(),this.parent=p,this.source=L,this.scopes=R,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,cc(c,ae=>this.processProvider(ae)),this.records.set(Xd,Nc(void 0,this)),R.has("environment")&&this.records.set(Rc,Nc(void 0,this));const B=this.records.get(ml);null!=B&&"string"==typeof B.value&&this.scopes.add(B.value),this.injectorDefTypes=new Set(this.get($d.multi,Vt,Be.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const c of this._ngOnDestroyHooks)c.ngOnDestroy();for(const c of this._onDestroyHooks)c()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(c){this._onDestroyHooks.push(c)}runInContext(c){this.assertNotDestroyed();const p=Bt(this),L=Ce(void 0);try{return c()}finally{Bt(p),Ce(L)}}get(c,p=_t,L=Be.Default){this.assertNotDestroyed(),L=J(L);const R=Bt(this),B=Ce(void 0);try{if(!(L&Be.SkipSelf)){let Se=this.records.get(c);if(void 0===Se){const Ze=function A1(s){return"function"==typeof s||"object"==typeof s&&s instanceof yr}(c)&&xe(c);Se=Ze&&this.injectableDefInScope(Ze)?Nc(P2(c),zo):null,this.records.set(c,Se)}if(null!=Se)return this.hydrate(c,Se)}return(L&Be.Self?Yl():this.parent).get(c,p=L&Be.Optional&&p===_t?null:p)}catch(ae){if("NullInjectorError"===ae.name){if((ae[Nt]=ae[Nt]||[]).unshift(P(c)),R)throw ae;return function ni(s,c,p,L){const R=s[Nt];throw c[Pe]&&R.unshift(c[Pe]),s.message=function Gt(s,c,p,L=null){s=s&&"\n"===s.charAt(0)&&"\u0275"==s.charAt(1)?s.slice(2):s;let R=P(c);if(Array.isArray(c))R=c.map(P).join(" -> ");else if("object"==typeof c){let B=[];for(let ae in c)if(c.hasOwnProperty(ae)){let Se=c[ae];B.push(ae+":"+("string"==typeof Se?JSON.stringify(Se):P(Se)))}R=`{${B.join(", ")}}`}return`${p}${L?"("+L+")":""}[${R}]: ${s.replace(He,"\n ")}`}("\n"+s.message,R,p,L),s.ngTokenPath=R,s[Nt]=null,s}(ae,c,"R3InjectorError",this.source)}throw ae}finally{Ce(B),Bt(R)}}resolveInjectorInitializers(){const c=Bt(this),p=Ce(void 0);try{const L=this.get(Oc.multi,Vt,Be.Self);for(const R of L)R()}finally{Bt(c),Ce(p)}}toString(){const c=[],p=this.records;for(const L of p.keys())c.push(P(L));return`R3Injector[${c.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new W(205,!1)}processProvider(c){let p=Ho(c=I(c))?c:I(c&&c.provide);const L=function a0(s){return Zl(s)?Nc(void 0,s.useValue):Nc(R2(s),zo)}(c);if(Ho(c)||!0!==c.multi)this.records.get(p);else{let R=this.records.get(p);R||(R=Nc(void 0,zo,!0),R.factory=()=>ve(R.multi),this.records.set(p,R)),p=c,R.multi.push(c)}this.records.set(p,L)}hydrate(c,p){return p.value===zo&&(p.value=Sh,p.value=p.factory()),"object"==typeof p.value&&p.value&&function Eh(s){return null!==s&&"object"==typeof s&&"function"==typeof s.ngOnDestroy}(p.value)&&this._ngOnDestroyHooks.add(p.value),p.value}injectableDefInScope(c){if(!c.providedIn)return!1;const p=I(c.providedIn);return"string"==typeof p?"any"===p||this.scopes.has(p):this.injectorDefTypes.has(p)}}function P2(s){const c=xe(s),p=null!==c?c.factory:zr(s);if(null!==p)return p;if(s instanceof yr)throw new W(204,!1);if(s instanceof Function)return function r0(s){const c=s.length;if(c>0)throw Ti(c,"?"),new W(204,!1);const p=function se(s){const c=s&&(s[oe]||s[te]);if(c){const p=function Ye(s){if(s.hasOwnProperty("name"))return s.name;const c=(""+s).match(/^function\s*([^\s(]+)/);return null===c?"":c[1]}(s);return console.warn(`DEPRECATED: DI is instantiating a token "${p}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${p}" class.`),c}return null}(s);return null!==p?()=>p.factory(s):()=>new s}(s);throw new W(204,!1)}function R2(s,c,p){let L;if(Ho(s)){const R=I(s);return zr(R)||P2(R)}if(Zl(s))L=()=>I(s.useValue);else if(function Wl(s){return!(!s||!s.useFactory)}(s))L=()=>s.useFactory(...ve(s.deps||[]));else if(function t0(s){return!(!s||!s.useExisting)}(s))L=()=>Ht(I(s.useExisting));else{const R=I(s&&(s.useClass||s.provide));if(!function s0(s){return!!s.deps}(s))return zr(R)||P2(R);L=()=>new R(...ve(s.deps))}return L}function Nc(s,c,p=!1){return{factory:s,value:c,multi:p?[]:void 0}}function cc(s,c){for(const p of s)Array.isArray(p)?cc(p,c):p&&N(p)?cc(p.\u0275providers,c):c(p)}class o0{}class c0{}class F2{resolveComponentFactory(c){throw function l0(s){const c=Error(`No component factory found for ${P(s)}. Did you add it to @NgModule.entryComponents?`);return c.ngComponent=s,c}(c)}}let to=(()=>{class s{}return s.NULL=new F2,s})();function L1(){return Pa(Vr(),Ni())}function Pa(s,c){return new pl(lr(s,c))}let pl=(()=>{class s{constructor(p){this.nativeElement=p}}return s.__NG_ELEMENT_ID__=L1,s})();function jl(s){return s instanceof pl?s.nativeElement:s}class bo{}let Th=(()=>{class s{}return s.__NG_ELEMENT_ID__=()=>function s3(){const s=Ni(),p=yt(Vr().index,s);return(ir(p)?p:s)[11]}(),s})(),h0=(()=>{class s{}return s.\u0275prov=qe({token:s,providedIn:"root",factory:()=>null}),s})();class H2{constructor(c){this.full=c,this.major=c.split(".")[0],this.minor=c.split(".")[1],this.patch=c.split(".").slice(2).join(".")}}const Ah=new H2("15.0.4"),D1={};function V2(s){return s.ngOriginalError}class gl{constructor(){this._console=console}handleError(c){const p=this._findOriginalError(c);this._console.error("ERROR",c),p&&this._console.error("ORIGINAL ERROR",p)}_findOriginalError(c){let p=c&&V2(c);for(;p&&V2(p);)p=V2(p);return p||null}}function B2(s){return s.ownerDocument.defaultView}function Vo(s){return s instanceof Function?s():s}function p0(s,c,p){let L=s.length;for(;;){const R=s.indexOf(c,p);if(-1===R)return R;if(0===R||s.charCodeAt(R-1)<=32){const B=c.length;if(R+B===L||s.charCodeAt(R+B)<=32)return R}p=R+1}}const bl="ng-template";function Fh(s,c,p){let L=0;for(;L<s.length;){let R=s[L++];if(p&&"class"===R){if(R=s[L],-1!==p0(R.toLowerCase(),c,0))return!0}else if(1===R){for(;L<s.length&&"string"==typeof(R=s[L++]);)if(R.toLowerCase()===c)return!0;return!1}}return!1}function g0(s){return 4===s.type&&s.value!==bl}function Hh(s,c,p){return c===(4!==s.type||p?s.value:bl)}function zh(s,c,p){let L=4;const R=s.attrs||[],B=function Bh(s){for(let c=0;c<s.length;c++)if(Cn(s[c]))return c;return s.length}(R);let ae=!1;for(let Se=0;Se<c.length;Se++){const Ze=c[Se];if("number"!=typeof Ze){if(!ae)if(4&L){if(L=2|1&L,""!==Ze&&!Hh(s,Ze,p)||""===Ze&&1===c.length){if(io(L))return!1;ae=!0}}else{const ft=8&L?Ze:c[++Se];if(8&L&&null!==s.attrs){if(!Fh(s.attrs,ft,p)){if(io(L))return!1;ae=!0}continue}const $t=_0(8&L?"class":Ze,R,g0(s),p);if(-1===$t){if(io(L))return!1;ae=!0;continue}if(""!==ft){let pi;pi=$t>B?"":R[$t+1].toLowerCase();const Ci=8&L?pi:null;if(Ci&&-1!==p0(Ci,ft,0)||2&L&&ft!==pi){if(io(L))return!1;ae=!0}}}}else{if(!ae&&!io(L)&&!io(Ze))return!1;if(ae&&io(Ze))continue;ae=!1,L=Ze|1&L}}return io(L)||ae}function io(s){return 0==(1&s)}function _0(s,c,p,L){if(null===c)return-1;let R=0;if(L||!p){let B=!1;for(;R<c.length;){const ae=c[R];if(ae===s)return R;if(3===ae||6===ae)B=!0;else{if(1===ae||2===ae){let Se=c[++R];for(;"string"==typeof Se;)Se=c[++R];continue}if(4===ae)break;if(0===ae){R+=4;continue}}R+=B?1:2}return-1}return function b0(s,c){let p=s.indexOf(4);if(p>-1)for(p++;p<s.length;){const L=s[p];if("number"==typeof L)return-1;if(L===c)return p;p++}return-1}(c,s)}function v0(s,c,p=!1){for(let L=0;L<c.length;L++)if(zh(s,c[L],p))return!0;return!1}function Kl(s,c){e:for(let p=0;p<c.length;p++){const L=c[p];if(s.length===L.length){for(let R=0;R<s.length;R++)if(s[R]!==L[R])continue e;return!0}}return!1}function Fc(s,c){return s?":not("+c.trim()+")":c}function Uh(s){let c=s[0],p=1,L=2,R="",B=!1;for(;p<s.length;){let ae=s[p];if("string"==typeof ae)if(2&L){const Se=s[++p];R+="["+ae+(Se.length>0?'="'+Se+'"':"")+"]"}else 8&L?R+="."+ae:4&L&&(R+=" "+ae);else""!==R&&!io(ae)&&(c+=Fc(B,R),R=""),L=ae,B=B||!io(L);p++}return""!==R&&(c+=Fc(B,R)),c}const Bn={};function G2(s){Z2(Vn(),Ni(),Dr()+s,!1)}function Z2(s,c,p,L){if(!L)if(3==(3&c[2])){const B=s.preOrderCheckHooks;null!==B&&Le(c,B,p)}else{const B=s.preOrderHooks;null!==B&&Et(c,B,0,p)}ea(p)}function K2(s,c=null,p=null,L){const R=Q2(s,c,p,L);return R.resolveInjectorInitializers(),R}function Q2(s,c=null,p=null,L,R=new Set){const B=[p||Vt,k2(s)];return L=L||("object"==typeof s?void 0:P(s)),new O2(B,c||Yl(),L||null,R)}let lc=(()=>{class s{static create(p,L){if(Array.isArray(p))return K2({name:""},L,p,"");{const R=p.name??"";return K2({name:R},p.parent,p.providers,R)}}}return s.THROW_IF_NOT_FOUND=_t,s.NULL=new oc,s.\u0275prov=qe({token:s,providedIn:"any",factory:()=>Ht(Xd)}),s.__NG_ELEMENT_ID__=-1,s})();function xo(s,c=Be.Default){const p=Ni();return null===p?Ht(s,c):s1(Vr(),p,I(s),c)}function dc(){throw new Error("invalid")}function q2(s,c){const p=s.contentQueries;if(null!==p)for(let L=0;L<p.length;L+=2){const R=p[L],B=p[L+1];if(-1!==B){const ae=s.data[B];qs(R),ae.contentQueries(2,c[B],B)}}}function In(s,c,p,L,R,B,ae,Se,Ze,ft,Dt){const $t=c.blueprint.slice();return $t[0]=R,$t[2]=76|L,(null!==Dt||s&&1024&s[2])&&($t[2]|=1024),vr($t),$t[3]=$t[15]=s,$t[8]=p,$t[10]=ae||s&&s[10],$t[11]=Se||s&&s[11],$t[12]=Ze||s&&s[12]||null,$t[9]=ft||s&&s[9]||null,$t[6]=B,$t[20]=function rl(){return vd++}(),$t[21]=Dt,$t[16]=2==c.type?s[16]:$t,$t}function $n(s,c,p,L,R){let B=s.data[c];if(null===B)B=function qr(s,c,p,L,R){const B=zs(),ae=js(),Ze=s.data[c]=function w4(s,c,p,L,R,B){return{type:p,index:L,insertBeforeIndex:null,injectorIndex:c?c.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:R,attrs:B,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:c,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,ae?B:B&&B.parent,p,c,L,R);return null===s.firstChild&&(s.firstChild=Ze),null!==B&&(ae?null==B.child&&null!==Ze.parent&&(B.child=Ze):null===B.next&&(B.next=Ze)),Ze}(s,c,p,L,R),function co(){return xn.lFrame.inI18n}()&&(B.flags|=32);else if(64&B.type){B.type=p,B.value=L,B.attrs=R;const ae=function ts(){const s=xn.lFrame,c=s.currentTNode;return s.isParent?c:c.parent}();B.injectorIndex=null===ae?-1:ae.injectorIndex}return Ta(B,!0),B}function Is(s,c,p,L){if(0===p)return-1;const R=c.length;for(let B=0;B<p;B++)c.push(L),s.blueprint.push(L),s.data.push(null);return R}function _s(s,c,p){vc(c);try{const L=s.viewQuery;null!==L&&$h(1,L,p);const R=s.template;null!==R&&Ur(s,c,R,1,p),s.firstCreatePass&&(s.firstCreatePass=!1),s.staticContentQueries&&q2(s,c),s.staticViewQueries&&$h(2,s.viewQuery,p);const B=s.components;null!==B&&function Mn(s,c){for(let p=0;p<c.length;p++)Jh(s,c[p])}(c,B)}catch(L){throw s.firstCreatePass&&(s.incompleteFirstPass=!0,s.firstCreatePass=!1),L}finally{c[2]&=-5,ns()}}function Co(s,c,p,L){const R=c[2];if(128!=(128&R)){vc(c);try{vr(c),function is(s){return xn.lFrame.bindingIndex=s}(s.bindingStartIndex),null!==p&&Ur(s,c,p,2,L);const ae=3==(3&R);if(ae){const ft=s.preOrderCheckHooks;null!==ft&&Le(c,ft,null)}else{const ft=s.preOrderHooks;null!==ft&&Et(c,ft,0,null),ri(c,0)}if(function Om(s){for(let c=al(s);null!==c;c=Lc(c)){if(!c[2])continue;const p=c[9];for(let L=0;L<p.length;L++){const R=p[L],B=R[3];0==(512&R[2])&&Ji(B,1),R[2]|=512}}}(c),function m3(s){for(let c=al(s);null!==c;c=Lc(c))for(let p=10;p<c.length;p++){const L=c[p],R=L[1];zi(L)&&Co(R,L,R.template,L[8])}}(c),null!==s.contentQueries&&q2(s,c),ae){const ft=s.contentCheckHooks;null!==ft&&Le(c,ft)}else{const ft=s.contentHooks;null!==ft&&Et(c,ft,1),ri(c,1)}!function Yh(s,c){const p=s.hostBindingOpCodes;if(null!==p)try{for(let L=0;L<p.length;L++){const R=p[L];if(R<0)ea(~R);else{const B=R,ae=p[++L],Se=p[++L];lo(ae,B),Se(2,c[B])}}}finally{ea(-1)}}(s,c);const Se=s.components;null!==Se&&function mn(s,c){for(let p=0;p<c.length;p++)Pm(s,c[p])}(c,Se);const Ze=s.viewQuery;if(null!==Ze&&$h(2,Ze,L),ae){const ft=s.viewCheckHooks;null!==ft&&Le(c,ft)}else{const ft=s.viewHooks;null!==ft&&Et(c,ft,2),ri(c,2)}!0===s.firstUpdatePass&&(s.firstUpdatePass=!1),c[2]&=-41,512&c[2]&&(c[2]&=-513,Ji(c[3],-1))}finally{ns()}}}function Ur(s,c,p,L,R){const B=Dr(),ae=2&L;try{ea(-1),ae&&c.length>22&&Z2(s,c,22,!1),p(L,R)}finally{ea(B)}}function J2(s,c,p){if(Va(c)){const R=c.directiveEnd;for(let B=c.directiveStart;B<R;B++){const ae=s.data[B];ae.contentQueries&&ae.contentQueries(1,p[B],B)}}}function X2(s,c,p){!Si()||(function A4(s,c,p,L){const R=p.directiveStart,B=p.directiveEnd;Fr(p)&&function O4(s,c,p){const L=lr(c,s),R=Go(p),B=s[10],ae=E0(s,In(s,R,null,p.onPush?32:16,L,c,B,B.createRenderer(L,p),null,null,null));s[c.index]=ae}(c,p,s.data[R+p.componentOffset]),s.firstCreatePass||ba(p,c),ja(L,c);const ae=p.initialInputs;for(let Se=R;Se<B;Se++){const Ze=s.data[Se],ft=Jo(c,s,Se,p);ja(ft,c),null!==ae&&P4(0,Se-R,ft,Ze,0,ae),cr(Ze)&&(yt(p.index,c)[8]=Jo(c,s,Se,p))}}(s,c,p,lr(p,c)),64==(64&p.flags)&&h3(s,c,p))}function Fa(s,c,p=lr){const L=c.localNames;if(null!==L){let R=c.index+1;for(let B=0;B<L.length;B+=2){const ae=L[B+1],Se=-1===ae?p(c,s):s[ae];s[R++]=Se}}}function Go(s){const c=s.tView;return null===c||c.incompleteFirstPass?s.tView=ks(1,null,s.template,s.decls,s.vars,s.directiveDefs,s.pipeDefs,s.viewQuery,s.schemas,s.consts):c}function ks(s,c,p,L,R,B,ae,Se,Ze,ft){const Dt=22+L,$t=Dt+R,pi=function O1(s,c){const p=[];for(let L=0;L<c;L++)p.push(L<s?null:Bn);return p}(Dt,$t),Ci="function"==typeof ft?ft():ft;return pi[1]={type:s,blueprint:pi,template:p,queries:null,viewQuery:Se,declTNode:c,data:pi.slice().fill(null,Dt),bindingStartIndex:Dt,expandoStartIndex:$t,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof B?B():B,pipeRegistry:"function"==typeof ae?ae():ae,firstChild:null,schemas:Ze,consts:Ci,incompleteFirstPass:!1}}function c3(s,c,p,L){const R=_3(c);null===p?R.push(L):(R.push(p),s.firstCreatePass&&F4(s).push(L,R.length-1))}function l3(s,c,p,L){for(let R in s)if(s.hasOwnProperty(R)){p=null===p?{}:p;const B=s[R];null===L?M4(p,c,R,B):L.hasOwnProperty(R)&&M4(p,c,L[R],B)}return p}function M4(s,c,p,L){s.hasOwnProperty(p)?s[p].push(c,L):s[p]=[c,L]}function Os(s,c,p,L,R,B,ae,Se){const Ze=lr(c,p);let Dt,ft=c.inputs;!Se&&null!=ft&&(Dt=ft[L])?(eu(s,p,Dt,L,R),Fr(c)&&S4(p,c.index)):3&c.type&&(L=function Im(s){return"class"===s?"className":"for"===s?"htmlFor":"formaction"===s?"formAction":"innerHtml"===s?"innerHTML":"readonly"===s?"readOnly":"tabindex"===s?"tabIndex":s}(L),R=null!=ae?ae(R,c.value||"",L):R,B.setProperty(Ze,L,R))}function S4(s,c){const p=yt(c,s);16&p[2]||(p[2]|=32)}function jh(s,c,p,L){let R=!1;if(Si()){const B=null===L?null:{"":-1},ae=function u3(s,c){const p=s.directiveRegistry;let L=null,R=null;if(p)for(let B=0;B<p.length;B++){const ae=p[B];if(v0(c,ae.selectors,!1))if(L||(L=[]),cr(ae))if(null!==ae.findHostDirectiveDefs){const Se=[];R=R||new Map,ae.findHostDirectiveDefs(ae,Se,R),L.unshift(...Se,ae),Qh(s,c,Se.length)}else L.unshift(ae),Qh(s,c,0);else R=R||new Map,ae.findHostDirectiveDefs?.(ae,L,R),L.push(ae)}return null===L?null:[L,R]}(s,p);let Se,Ze;null===ae?Se=Ze=null:[Se,Ze]=ae,null!==Se&&(R=!0,Kh(s,c,p,Se,B,Ze)),B&&function D4(s,c,p){if(c){const L=s.localNames=[];for(let R=0;R<c.length;R+=2){const B=p[c[R+1]];if(null==B)throw new W(-301,!1);L.push(c[R],B)}}}(p,L,B)}return p.mergedAttrs=Ir(p.mergedAttrs,p.attrs),R}function Kh(s,c,p,L,R,B){for(let ft=0;ft<L.length;ft++)Al(ba(p,c),s,L[ft].type);!function I4(s,c,p){s.flags|=1,s.directiveStart=c,s.directiveEnd=c+p,s.providerIndexes=c}(p,s.data.length,L.length);for(let ft=0;ft<L.length;ft++){const Dt=L[ft];Dt.providersResolver&&Dt.providersResolver(Dt)}let ae=!1,Se=!1,Ze=Is(s,c,L.length,null);for(let ft=0;ft<L.length;ft++){const Dt=L[ft];p.mergedAttrs=Ir(p.mergedAttrs,Dt.hostAttrs),k4(s,p,c,Ze,Dt),qh(Ze,Dt,R),null!==Dt.contentQueries&&(p.flags|=4),(null!==Dt.hostBindings||null!==Dt.hostAttrs||0!==Dt.hostVars)&&(p.flags|=64);const $t=Dt.type.prototype;!ae&&($t.ngOnChanges||$t.ngOnInit||$t.ngDoCheck)&&((s.preOrderHooks||(s.preOrderHooks=[])).push(p.index),ae=!0),!Se&&($t.ngOnChanges||$t.ngDoCheck)&&((s.preOrderCheckHooks||(s.preOrderCheckHooks=[])).push(p.index),Se=!0),Ze++}!function Dm(s,c,p){const R=c.directiveEnd,B=s.data,ae=c.attrs,Se=[];let Ze=null,ft=null;for(let Dt=c.directiveStart;Dt<R;Dt++){const $t=B[Dt],pi=p?p.get($t):null,Hi=pi?pi.outputs:null;Ze=l3($t.inputs,Dt,Ze,pi?pi.inputs:null),ft=l3($t.outputs,Dt,ft,Hi);const Xi=null===Ze||null===ae||g0(c)?null:R4(Ze,Dt,ae);Se.push(Xi)}null!==Ze&&(Ze.hasOwnProperty("class")&&(c.flags|=8),Ze.hasOwnProperty("style")&&(c.flags|=16)),c.initialInputs=Se,c.inputs=Ze,c.outputs=ft}(s,p,B)}function h3(s,c,p){const L=p.directiveStart,R=p.directiveEnd,B=p.index,ae=function To(){return xn.lFrame.currentDirectiveIndex}();try{ea(B);for(let Se=L;Se<R;Se++){const Ze=s.data[Se],ft=c[Se];Ks(Se),(null!==Ze.hostBindings||0!==Ze.hostVars||null!==Ze.hostAttrs)&&L4(Ze,ft)}}finally{ea(-1),Ks(ae)}}function L4(s,c){null!==s.hostBindings&&s.hostBindings(1,c)}function Qh(s,c,p){c.componentOffset=p,(s.components||(s.components=[])).push(c.index)}function qh(s,c,p){if(p){if(c.exportAs)for(let L=0;L<c.exportAs.length;L++)p[c.exportAs[L]]=s;cr(c)&&(p[""]=s)}}function k4(s,c,p,L,R){s.data[L]=R;const B=R.factory||(R.factory=zr(R.type)),ae=new Pt(B,cr(R),xo);s.blueprint[L]=ae,p[L]=ae,function T4(s,c,p,L,R){const B=R.hostBindings;if(B){let ae=s.hostBindingOpCodes;null===ae&&(ae=s.hostBindingOpCodes=[]);const Se=~c.index;(function d3(s){let c=s.length;for(;c>0;){const p=s[--c];if("number"==typeof p&&p<0)return p}return 0})(ae)!=Se&&ae.push(Se),ae.push(p,L,B)}}(s,c,L,Is(s,p,R.hostVars,Bn),R)}function Zo(s,c,p,L,R,B){const ae=lr(s,c);!function f3(s,c,p,L,R,B,ae){if(null==B)s.removeAttribute(c,R,p);else{const Se=null==ae?X(B):ae(B,L||"",R);s.setAttribute(c,R,Se,p)}}(c[11],ae,B,s.value,p,L,R)}function P4(s,c,p,L,R,B){const ae=B[c];if(null!==ae){const Se=L.setInput;for(let Ze=0;Ze<ae.length;){const ft=ae[Ze++],Dt=ae[Ze++],$t=ae[Ze++];null!==Se?L.setInput(p,$t,ft,Dt):p[Dt]=$t}}}function R4(s,c,p){let L=null,R=0;for(;R<p.length;){const B=p[R];if(0!==B)if(5!==B){if("number"==typeof B)break;if(s.hasOwnProperty(B)){null===L&&(L=[]);const ae=s[B];for(let Se=0;Se<ae.length;Se+=2)if(ae[Se]===c){L.push(B,ae[Se+1],p[R+1]);break}}R+=2}else R+=2;else R+=4}return L}function N4(s,c,p,L){return[s,!0,!1,c,null,0,L,p,null,null]}function Pm(s,c){const p=yt(c,s);if(zi(p)){const L=p[1];48&p[2]?Co(L,p,L.template,p[8]):p[5]>0&&p3(p)}}function p3(s){for(let L=al(s);null!==L;L=Lc(L))for(let R=10;R<L.length;R++){const B=L[R];if(zi(B))if(512&B[2]){const ae=B[1];Co(ae,B,ae.template,B[8])}else B[5]>0&&p3(B)}const p=s[1].components;if(null!==p)for(let L=0;L<p.length;L++){const R=yt(p[L],s);zi(R)&&R[5]>0&&p3(R)}}function Jh(s,c){const p=yt(c,s),L=p[1];(function Rm(s,c){for(let p=c.length;p<s.blueprint.length;p++)c.push(s.blueprint[p])})(L,p),_s(L,p,p[8])}function E0(s,c){return s[13]?s[14][4]=c:s[13]=c,s[14]=c,c}function g3(s){for(;s;){s[2]|=32;const c=Nl(s);if(Ar(s)&&!c)return s;s=c}return null}function Xh(s,c,p,L=!0){const R=c[10];R.begin&&R.begin();try{Co(s,c,s.template,p)}catch(ae){throw L&&b3(c,ae),ae}finally{R.end&&R.end()}}function $h(s,c,p){qs(0),c(s,p)}function _3(s){return s[7]||(s[7]=[])}function F4(s){return s.cleanup||(s.cleanup=[])}function v3(s,c,p){return(null===s||cr(s))&&(p=function Za(s){for(;Array.isArray(s);){if("object"==typeof s[1])return s;s=s[0]}return null}(p[c.index])),p[11]}function b3(s,c){const p=s[9],L=p?p.get(gl,null):null;L&&L.handleError(c)}function eu(s,c,p,L,R){for(let B=0;B<p.length;){const ae=p[B++],Se=p[B++],Ze=c[ae],ft=s.data[ae];null!==ft.setInput?ft.setInput(Ze,R,L,Se):Ze[Se]=R}}function yl(s,c,p){const L=Yr(c,s);!function Fl(s,c,p){s.setValue(c,p)}(s[11],L,p)}function tu(s,c,p){let L=p?s.styles:null,R=p?s.classes:null,B=0;if(null!==c)for(let ae=0;ae<c.length;ae++){const Se=c[ae];"number"==typeof Se?B=Se:1==B?R=d(R,Se):2==B&&(L=d(L,Se+": "+c[++ae]+";"))}p?s.styles=L:s.stylesWithoutHost=L,p?s.classes=R:s.classesWithoutHost=R}function T0(s,c,p,L,R=!1){for(;null!==p;){const B=c[p.index];if(null!==B&&L.push(qn(B)),dr(B))for(let Se=10;Se<B.length;Se++){const Ze=B[Se],ft=Ze[1].firstChild;null!==ft&&T0(Ze[1],Ze,ft,L)}const ae=p.type;if(8&ae)T0(s,c,p.child,L);else if(32&ae){const Se=p1(p,c);let Ze;for(;Ze=Se();)L.push(Ze)}else if(16&ae){const Se=Ad(c,p);if(Array.isArray(Se))L.push(...Se);else{const Ze=Nl(c[16]);T0(Ze[1],Ze,Se,L,!0)}}p=R?p.projectionNext:p.next}return L}class $2{constructor(c,p){this._lView=c,this._cdRefInjectingView=p,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const c=this._lView,p=c[1];return T0(p,c,p.firstChild,[])}get context(){return this._lView[8]}set context(c){this._lView[8]=c}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const c=this._lView[3];if(dr(c)){const p=c[8],L=p?p.indexOf(this):-1;L>-1&&(Md(c,L),ci(p,L))}this._attachedToViewContainer=!1}rc(this._lView[1],this._lView)}onDestroy(c){c3(this._lView[1],this._lView,null,c)}markForCheck(){g3(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Xh(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new W(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Qu(s,c){zl(s,c,c[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(c){if(this._attachedToViewContainer)throw new W(902,!1);this._appRef=c}}class H4 extends $2{constructor(c){super(c),this._view=c}detectChanges(){const c=this._view;Xh(c[1],c,c[8],!1)}checkNoChanges(){}get context(){return null}}class y3 extends to{constructor(c){super(),this.ngModule=c}resolveComponentFactory(c){const p=Mi(c);return new ed(p,this.ngModule)}}function z4(s){const c=[];for(let p in s)s.hasOwnProperty(p)&&c.push({propName:s[p],templateName:p});return c}class V4{constructor(c,p){this.injector=c,this.parentInjector=p}get(c,p,L){L=J(L);const R=this.injector.get(c,D1,L);return R!==D1||p===D1?R:this.parentInjector.get(c,p,L)}}class ed extends c0{constructor(c,p){super(),this.componentDef=c,this.ngModule=p,this.componentType=c.type,this.selector=function Gh(s){return s.map(Uh).join(",")}(c.selectors),this.ngContentSelectors=c.ngContentSelectors?c.ngContentSelectors:[],this.isBoundToModule=!!p}get inputs(){return z4(this.componentDef.inputs)}get outputs(){return z4(this.componentDef.outputs)}create(c,p,L,R){let B=(R=R||this.ngModule)instanceof Rc?R:R?.injector;B&&null!==this.componentDef.getStandaloneInjector&&(B=this.componentDef.getStandaloneInjector(B)||B);const ae=B?new V4(c,B):c,Se=ae.get(bo,null);if(null===Se)throw new W(407,!1);const Ze=ae.get(h0,null),ft=Se.createRenderer(null,this.componentDef),Dt=this.componentDef.selectors[0][0]||"div",$t=L?function S0(s,c,p){return s.selectRootElement(c,p===ai.ShadowDom)}(ft,L,this.componentDef.encapsulation):_o(ft,Dt,function Nm(s){const c=s.toLowerCase();return"svg"===c?"svg":"math"===c?"math":null}(Dt)),pi=this.componentDef.onPush?288:272,Ci=ks(0,null,null,1,0,null,null,null,null,null),Hi=In(null,Ci,null,pi,null,null,Se,ft,Ze,ae,null);let Xi,cn;vc(Hi);try{const gn=this.componentDef;let Fn,Gi=null;gn.findHostDirectiveDefs?(Fn=[],Gi=new Map,gn.findHostDirectiveDefs(gn,Fn,Gi),Fn.push(gn)):Fn=[gn];const Kn=function Hm(s,c){const p=s[1];return s[22]=c,$n(p,22,2,"#host",null)}(Hi,$t),ma=function zm(s,c,p,L,R,B,ae,Se){const Ze=R[1];!function Vm(s,c,p,L){for(const R of s)c.mergedAttrs=Ir(c.mergedAttrs,R.hostAttrs);null!==c.mergedAttrs&&(tu(c,c.mergedAttrs,!0),null!==p&&M2(L,p,c))}(L,s,c,ae);const ft=B.createRenderer(c,p),Dt=In(R,Go(p),null,p.onPush?32:16,R[s.index],s,B,ft,Se||null,null,null);return Ze.firstCreatePass&&Qh(Ze,s,L.length-1),E0(R,Dt),R[s.index]=Dt}(Kn,$t,gn,Fn,Hi,Se,ft);cn=Ft(Ci,22),$t&&function Um(s,c,p,L){if(L)ln(s,p,["ng-version",Ah.full]);else{const{attrs:R,classes:B}=function U2(s){const c=[],p=[];let L=1,R=2;for(;L<s.length;){let B=s[L];if("string"==typeof B)2===R?""!==B&&c.push(B,s[++L]):8===R&&p.push(B);else{if(!io(R))break;R=B}L++}return{attrs:c,classes:p}}(c.selectors[0]);R&&ln(s,p,R),B&&B.length>0&&w2(s,p,B.join(" "))}}(ft,gn,$t,L),void 0!==p&&function B4(s,c,p){const L=s.projection=[];for(let R=0;R<c.length;R++){const B=p[R];L.push(null!=B?Array.from(B):null)}}(cn,this.ngContentSelectors,p),Xi=function Bm(s,c,p,L,R,B){const ae=Vr(),Se=R[1],Ze=lr(ae,R);Kh(Se,R,ae,p,null,L);for(let Dt=0;Dt<p.length;Dt++)ja(Jo(R,Se,ae.directiveStart+Dt,ae),R);h3(Se,R,ae),Ze&&ja(Ze,R);const ft=Jo(R,Se,ae.directiveStart+ae.componentOffset,ae);if(s[8]=R[8]=ft,null!==B)for(const Dt of B)Dt(ft,c);return J2(Se,ae,s),ft}(ma,gn,Fn,Gi,Hi,[Gm]),_s(Ci,Hi,null)}finally{ns()}return new Fm(this.componentType,Xi,Pa(cn,Hi),Hi,cn)}}class Fm extends o0{constructor(c,p,L,R,B){super(),this.location=L,this._rootLView=R,this._tNode=B,this.instance=p,this.hostView=this.changeDetectorRef=new H4(R),this.componentType=c}setInput(c,p){const L=this._tNode.inputs;let R;if(null!==L&&(R=L[c])){const B=this._rootLView;eu(B[1],B,R,c,p),S4(B,this._tNode.index)}}get injector(){return new gs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(c){this.hostView.onDestroy(c)}}function Gm(){const s=Vr();mt(Ni()[1],s)}function x3(s){let c=function U4(s){return Object.getPrototypeOf(s.prototype).constructor}(s.type),p=!0;const L=[s];for(;c;){let R;if(cr(s))R=c.\u0275cmp||c.\u0275dir;else{if(c.\u0275cmp)throw new W(903,!1);R=c.\u0275dir}if(R){if(p){L.push(R);const ae=s;ae.inputs=iu(s.inputs),ae.declaredInputs=iu(s.declaredInputs),ae.outputs=iu(s.outputs);const Se=R.hostBindings;Se&&Zm(s,Se);const Ze=R.viewQuery,ft=R.contentQueries;if(Ze&&Z4(s,Ze),ft&&W4(s,ft),u(s.inputs,R.inputs),u(s.declaredInputs,R.declaredInputs),u(s.outputs,R.outputs),cr(R)&&R.data.animation){const Dt=s.data;Dt.animation=(Dt.animation||[]).concat(R.data.animation)}}const B=R.features;if(B)for(let ae=0;ae<B.length;ae++){const Se=B[ae];Se&&Se.ngInherit&&Se(s),Se===x3&&(p=!1)}}c=Object.getPrototypeOf(c)}!function G4(s){let c=0,p=null;for(let L=s.length-1;L>=0;L--){const R=s[L];R.hostVars=c+=R.hostVars,R.hostAttrs=Ir(R.hostAttrs,p=Ir(p,R.hostAttrs))}}(L)}function iu(s){return s===Ut?{}:s===Vt?[]:s}function Z4(s,c){const p=s.viewQuery;s.viewQuery=p?(L,R)=>{c(L,R),p(L,R)}:c}function W4(s,c){const p=s.contentQueries;s.contentQueries=p?(L,R,B)=>{c(L,R,B),p(L,R,B)}:c}function Zm(s,c){const p=s.hostBindings;s.hostBindings=p?(L,R)=>{c(L,R),p(L,R)}:c}let ru=null;function Vc(){if(!ru){const s=nt.Symbol;if(s&&s.iterator)ru=s.iterator;else{const c=Object.getOwnPropertyNames(Map.prototype);for(let p=0;p<c.length;++p){const L=c[p];"entries"!==L&&"size"!==L&&Map.prototype[L]===Map.prototype.entries&&(ru=L)}}}return ru}function A0(s){return!!S3(s)&&(Array.isArray(s)||!(s instanceof Map)&&Vc()in s)}function S3(s){return null!==s&&("function"==typeof s||"object"==typeof s)}function Bc(s,c,p){return s[c]=p}function vs(s,c,p){return!Object.is(s[c],p)&&(s[c]=p,!0)}function P1(s,c,p,L){const R=vs(s,c,p);return vs(s,c+1,L)||R}function D0(s,c,p,L,R){const B=P1(s,c,p,L);return vs(s,c+2,R)||B}function E3(s,c,p,L){const R=Ni();return vs(R,Cs(),c)&&(Vn(),Zo(ur(),R,s,c,p,L)),E3}function td(s,c,p,L){return vs(s,Cs(),p)?c+X(p)+L:Bn}function N1(s,c,p,L,R,B){const Se=P1(s,Ri(),p,R);return Bi(2),Se?c+X(p)+L+X(R)+B:Bn}function H1(s,c,p,L,R,B,ae,Se,Ze,ft){const $t=function wo(s,c,p,L,R,B){const ae=P1(s,c,p,L);return P1(s,c+2,R,B)||ae}(s,Ri(),p,R,ae,Ze);return Bi(4),$t?c+X(p)+L+X(R)+B+X(ae)+Se+X(Ze)+ft:Bn}function ef(s,c,p,L,R,B,ae,Se){const Ze=Ni(),ft=Vn(),Dt=s+22,$t=ft.firstCreatePass?function qm(s,c,p,L,R,B,ae,Se,Ze){const ft=c.consts,Dt=$n(c,s,4,ae||null,Un(ft,Se));jh(c,p,Dt,Un(ft,Ze)),mt(c,Dt);const $t=Dt.tViews=ks(2,Dt,L,R,B,c.directiveRegistry,c.pipeRegistry,null,c.schemas,ft);return null!==c.queries&&(c.queries.template(c,Dt),$t.queries=c.queries.embeddedTView(Dt)),Dt}(Dt,ft,Ze,c,p,L,R,B,ae):ft.data[Dt];Ta($t,!1);const pi=Ze[11].createComment("");sc(ft,Ze,pi,$t),ja(pi,Ze),E0(Ze,Ze[Dt]=N4(pi,Ze,pi,$t)),jr($t)&&X2(ft,Ze,$t),null!=ae&&Fa(Ze,$t,Se)}function tf(s){return hi(function so(){return xn.lFrame.contextLView}(),22+s)}function D3(s,c,p){const L=Ni();return vs(L,Cs(),c)&&Os(Vn(),ur(),L,s,c,L[11],p,!1),D3}function au(s,c,p,L,R){const ae=R?"class":"style";eu(s,p,c.inputs[ae],ae,L)}function su(s,c,p,L){const R=Ni(),B=Vn(),ae=22+s,Se=R[11],Ze=R[ae]=_o(Se,c,function Qi(){return xn.lFrame.currentNamespace}()),ft=B.firstCreatePass?function Xm(s,c,p,L,R,B,ae){const Se=c.consts,ft=$n(c,s,2,R,Un(Se,B));return jh(c,p,ft,Un(Se,ae)),null!==ft.attrs&&tu(ft,ft.attrs,!1),null!==ft.mergedAttrs&&tu(ft,ft.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,ft),ft}(ae,B,R,0,c,p,L):B.data[ae];return Ta(ft,!0),M2(Se,Ze,ft),32!=(32&ft.flags)&&sc(B,R,Ze,ft),0===function et(){return xn.lFrame.elementDepthCount}()&&ja(Ze,R),function Ge(){xn.lFrame.elementDepthCount++}(),jr(ft)&&(X2(B,R,ft),J2(B,ft,R)),null!==L&&Fa(R,ft),su}function nd(){let s=Vr();js()?ms():(s=s.parent,Ta(s,!1));const c=s;!function It(){xn.lFrame.elementDepthCount--}();const p=Vn();return p.firstCreatePass&&(mt(p,s),Va(s)&&p.queries.elementEnd(s)),null!=c.classesWithoutHost&&function bi(s){return 0!=(8&s.flags)}(c)&&au(p,c,Ni(),c.classesWithoutHost,!0),null!=c.stylesWithoutHost&&function Ii(s){return 0!=(16&s.flags)}(c)&&au(p,c,Ni(),c.stylesWithoutHost,!1),nd}function I3(s,c,p,L){return su(s,c,p,L),nd(),I3}function ou(s,c,p){const L=Ni(),R=Vn(),B=s+22,ae=R.firstCreatePass?function $m(s,c,p,L,R){const B=c.consts,ae=Un(B,L),Se=$n(c,s,8,"ng-container",ae);return null!==ae&&tu(Se,ae,!0),jh(c,p,Se,Un(B,R)),null!==c.queries&&c.queries.elementStart(c,Se),Se}(B,R,L,c,p):R.data[B];Ta(ae,!0);const Se=L[B]=L[11].createComment("");return sc(R,L,Se,ae),ja(Se,L),jr(ae)&&(X2(R,L,ae),J2(R,ae,L)),null!=p&&Fa(L,ae),ou}function cu(){let s=Vr();const c=Vn();return js()?ms():(s=s.parent,Ta(s,!1)),c.firstCreatePass&&(mt(c,s),Va(s)&&c.queries.elementEnd(s)),cu}function k3(s,c,p){return ou(s,c,p),cu(),k3}function nf(){return Ni()}function lu(s){return!!s&&"function"==typeof s.then}function du(s){return!!s&&"function"==typeof s.subscribe}const Jn=du;function hc(s,c,p,L){const R=Ni(),B=Vn(),ae=Vr();return Ws(B,R,R[11],ae,s,c,L),hc}function k0(s,c){const p=Vr(),L=Ni(),R=Vn();return Ws(R,L,v3(Ms(R.data),p,L),p,s,c),k0}function Ws(s,c,p,L,R,B,ae){const Se=jr(L),ft=s.firstCreatePass&&F4(s),Dt=c[8],$t=_3(c);let pi=!0;if(3&L.type||ae){const Xi=lr(L,c),cn=ae?ae(Xi):Xi,gn=$t.length,Fn=ae?Kn=>ae(qn(Kn[L.index])):L.index;let Gi=null;if(!ae&&Se&&(Gi=function hu(s,c,p,L){const R=s.cleanup;if(null!=R)for(let B=0;B<R.length-1;B+=2){const ae=R[B];if(ae===p&&R[B+1]===L){const Se=c[7],Ze=R[B+2];return Se.length>Ze?Se[Ze]:null}"string"==typeof ae&&(B+=2)}return null}(s,c,R,L.index)),null!==Gi)(Gi.__ngLastListenerFn__||Gi).__ngNextListenerFn__=B,Gi.__ngLastListenerFn__=B,pi=!1;else{B=P3(L,c,Dt,B,!1);const Kn=p.listen(cn,R,B);$t.push(B,Kn),ft&&ft.push(R,Fn,gn,gn+1)}}else B=P3(L,c,Dt,B,!1);const Ci=L.outputs;let Hi;if(pi&&null!==Ci&&(Hi=Ci[R])){const Xi=Hi.length;if(Xi)for(let cn=0;cn<Xi;cn+=2){const ma=c[Hi[cn]][Hi[cn+1]].subscribe(B),Ia=$t.length;$t.push(B,ma),ft&&ft.push(R,L.index,Ia,-(Ia+1))}}}function O3(s,c,p,L){try{return!1!==p(L)}catch(R){return b3(s,R),!1}}function P3(s,c,p,L,R){return function B(ae){if(ae===Function)return L;g3(s.componentOffset>-1?yt(s.index,c):c);let Ze=O3(c,0,L,ae),ft=B.__ngNextListenerFn__;for(;ft;)Ze=O3(c,0,ft,ae)&&Ze,ft=ft.__ngNextListenerFn__;return R&&!1===Ze&&(ae.preventDefault(),ae.returnValue=!1),Ze}}function O0(s=1){return function Vs(s){return(xn.lFrame.contextLView=function nn(s,c){for(;s>0;)c=c[15],s--;return c}(s,xn.lFrame.contextLView))[8]}(s)}function R3(s,c){let p=null;const L=function Vh(s){const c=s.attrs;if(null!=c){const p=c.indexOf(5);if(0==(1&p))return c[p+1]}return null}(s);for(let R=0;R<c.length;R++){const B=c[R];if("*"!==B){if(null===L?v0(s,B,!0):Kl(L,B))return R}else p=R}return p}function P0(s){const c=Ni()[16][6];if(!c.projection){const L=c.projection=Ti(s?s.length:1,null),R=L.slice();let B=c.child;for(;null!==B;){const ae=s?R3(B,s):0;null!==ae&&(R[ae]?R[ae].projectionNext=B:L[ae]=B,R[ae]=B),B=B.next}}}function Mo(s,c=0,p){const L=Ni(),R=Vn(),B=$n(R,22+s,16,null,p||null);null===B.projection&&(B.projection=c),ms(),32!=(32&B.flags)&&function Ld(s,c,p){C2(c[11],0,c,p,ch(s,p,c),ya(p.parent||c[6],p,c))}(R,L,B)}function uc(s,c,p){return wn(s,"",c,"",p),uc}function wn(s,c,p,L,R){const B=Ni(),ae=td(B,c,p,L);return ae!==Bn&&Os(Vn(),ur(),B,s,ae,B[11],R,!1),wn}function R0(s,c,p,L,R,B,ae){const Se=Ni(),Ze=N1(Se,c,p,L,R,B);return Ze!==Bn&&Os(Vn(),ur(),Se,s,Ze,Se[11],ae,!1),R0}function z0(s,c){return s<<17|c<<2}function Wo(s){return s>>17&32767}function rd(s){return 2|s}function xl(s){return(131068&s)>>2}function Ys(s,c){return-131069&s|c<<2}function V0(s){return 1|s}function Cl(s,c,p,L,R){const B=s[p+1],ae=null===c;let Se=L?Wo(B):xl(B),Ze=!1;for(;0!==Se&&(!1===Ze||ae);){const Dt=s[Se+1];wl(s[Se],c)&&(Ze=!0,s[Se+1]=L?V0(Dt):rd(Dt)),Se=L?Wo(Dt):xl(Dt)}Ze&&(s[p+1]=L?rd(B):V0(B))}function wl(s,c){return null===s||null==c||(Array.isArray(s)?s[1]:s)===c||!(!Array.isArray(s)||"string"!=typeof c)&&Ya(s,c)>=0}const Ca={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function B0(s){return s.substring(Ca.key,Ca.keyEnd)}function ia(s,c){const p=Ca.textEnd;return p===c?-1:(c=Ca.keyEnd=function gu(s,c,p){for(;c<p&&s.charCodeAt(c)>32;)c++;return c}(s,Ca.key=c,p),U1(s,c,p))}function U1(s,c,p){for(;c<p&&s.charCodeAt(c)<=32;)c++;return c}function vu(s,c,p){return fc(s,c,p,!1),vu}function bu(s,c){return fc(s,c,null,!0),bu}function xu(s){mc(pr,So,s,!0)}function So(s,c){for(let p=function B1(s){return function Xl(s){Ca.key=0,Ca.keyEnd=0,Ca.value=0,Ca.valueEnd=0,Ca.textEnd=s.length}(s),ia(s,U1(s,0,Ca.textEnd))}(c);p>=0;p=ia(c,p))pr(s,B0(c),!0)}function fc(s,c,p,L){const R=Ni(),B=Vn(),ae=Bi(2);B.firstUpdatePass&&lf(B,s,ae,L),c!==Bn&&vs(R,ae,c)&&hf(B,B.data[Dr()],R,R[11],s,R[ae+1]=function i6(s,c){return null==s||("string"==typeof c?s+=c:"object"==typeof s&&(s=P(as(s)))),s}(c,p),L,ae)}function mc(s,c,p,L){const R=Vn(),B=Bi(2);R.firstUpdatePass&&lf(R,null,B,L);const ae=Ni();if(p!==Bn&&vs(ae,B,p)){const Se=R.data[Dr()];if(G3(Se,L)&&!cf(R,B)){let Ze=L?Se.classesWithoutHost:Se.stylesWithoutHost;null!==Ze&&(p=d(Ze,p||"")),au(R,Se,ae,p,L)}else!function t6(s,c,p,L,R,B,ae,Se){R===Bn&&(R=Vt);let Ze=0,ft=0,Dt=0<R.length?R[0]:null,$t=0<B.length?B[0]:null;for(;null!==Dt||null!==$t;){const pi=Ze<R.length?R[Ze+1]:void 0,Ci=ft<B.length?B[ft+1]:void 0;let Xi,Hi=null;Dt===$t?(Ze+=2,ft+=2,pi!==Ci&&(Hi=$t,Xi=Ci)):null===$t||null!==Dt&&Dt<$t?(Ze+=2,Hi=Dt):(ft+=2,Hi=$t,Xi=Ci),null!==Hi&&hf(s,c,p,L,Hi,Xi,ae,Se),Dt=Ze<R.length?R[Ze]:null,$t=ft<B.length?B[ft]:null}}(R,Se,ae,ae[11],ae[B+1],ae[B+1]=function e6(s,c,p){if(null==p||""===p)return Vt;const L=[],R=as(p);if(Array.isArray(R))for(let B=0;B<R.length;B++)s(L,R[B],!0);else if("object"==typeof R)for(const B in R)R.hasOwnProperty(B)&&s(L,B,R[B]);else"string"==typeof R&&c(L,R);return L}(s,c,p),L,B)}}function cf(s,c){return c>=s.expandoStartIndex}function lf(s,c,p,L){const R=s.data;if(null===R[p+1]){const B=R[Dr()],ae=cf(s,p);G3(B,L)&&null===c&&!ae&&(c=!1),c=function Eo(s,c,p,L){const R=Ms(s);let B=L?c.residualClasses:c.residualStyles;if(null===R)0===(L?c.classBindings:c.styleBindings)&&(p=sd(p=wu(null,s,c,p,L),c.attrs,L),B=null);else{const ae=c.directiveStylingLast;if(-1===ae||s[ae]!==R)if(p=wu(R,s,c,p,L),null===B){let Ze=function Cu(s,c,p){const L=p?c.classBindings:c.styleBindings;if(0!==xl(L))return s[Wo(L)]}(s,c,L);void 0!==Ze&&Array.isArray(Ze)&&(Ze=wu(null,s,c,Ze[1],L),Ze=sd(Ze,c.attrs,L),function V3(s,c,p,L){s[Wo(p?c.classBindings:c.styleBindings)]=L}(s,c,L,Ze))}else B=function B3(s,c,p){let L;const R=c.directiveEnd;for(let B=1+c.directiveStylingLast;B<R;B++)L=sd(L,s[B].hostAttrs,p);return sd(L,c.attrs,p)}(s,c,L)}return void 0!==B&&(L?c.residualClasses=B:c.residualStyles=B),p}(R,B,c,L),function H3(s,c,p,L,R,B){let ae=B?c.classBindings:c.styleBindings,Se=Wo(ae),Ze=xl(ae);s[L]=p;let Dt,ft=!1;if(Array.isArray(p)){const $t=p;Dt=$t[1],(null===Dt||Ya($t,Dt)>0)&&(ft=!0)}else Dt=p;if(R)if(0!==Ze){const pi=Wo(s[Se+1]);s[L+1]=z0(pi,Se),0!==pi&&(s[pi+1]=Ys(s[pi+1],L)),s[Se+1]=function F3(s,c){return 131071&s|c<<17}(s[Se+1],L)}else s[L+1]=z0(Se,0),0!==Se&&(s[Se+1]=Ys(s[Se+1],L)),Se=L;else s[L+1]=z0(Ze,0),0===Se?Se=L:s[Ze+1]=Ys(s[Ze+1],L),Ze=L;ft&&(s[L+1]=rd(s[L+1])),Cl(s,Dt,L,!0),Cl(s,Dt,L,!1),function pu(s,c,p,L,R){const B=R?s.residualClasses:s.residualStyles;null!=B&&"string"==typeof c&&Ya(B,c)>=0&&(p[L+1]=V0(p[L+1]))}(c,Dt,s,L,B),ae=z0(Se,Ze),B?c.classBindings=ae:c.styleBindings=ae}(R,B,c,p,ae,L)}}function wu(s,c,p,L,R){let B=null;const ae=p.directiveEnd;let Se=p.directiveStylingLast;for(-1===Se?Se=p.directiveStart:Se++;Se<ae&&(B=c[Se],L=sd(L,B.hostAttrs,R),B!==s);)Se++;return null!==s&&(p.directiveStylingLast=Se),L}function sd(s,c,p){const L=p?1:2;let R=-1;if(null!==c)for(let B=0;B<c.length;B++){const ae=c[B];"number"==typeof ae?R=ae:R===L&&(Array.isArray(s)||(s=void 0===s?[]:["",s]),pr(s,ae,!!p||c[++B]))}return void 0===s?null:s}function hf(s,c,p,L,R,B,ae,Se){if(!(3&c.type))return;const Ze=s.data,ft=Ze[Se+1],Dt=function mu(s){return 1==(1&s)}(ft)?U3(Ze,c,p,R,xl(ft),ae):void 0;Mu(Dt)||(Mu(B)||function Ha(s){return 2==(2&s)}(ft)&&(B=U3(Ze,null,p,R,Se,ae)),function dh(s,c,p,L,R){if(c)R?s.addClass(p,L):s.removeClass(p,L);else{let B=-1===L.indexOf("-")?void 0:Ls.DashCase;null==R?s.removeStyle(p,L,B):("string"==typeof R&&R.endsWith("!important")&&(R=R.slice(0,-10),B|=Ls.Important),s.setStyle(p,L,R,B))}}(L,ae,Yr(Dr(),p),R,B))}function U3(s,c,p,L,R,B){const ae=null===c;let Se;for(;R>0;){const Ze=s[R],ft=Array.isArray(Ze),Dt=ft?Ze[1]:Ze,$t=null===Dt;let pi=p[R+1];pi===Bn&&(pi=$t?Vt:void 0);let Ci=$t?Aa(pi,L):Dt===L?pi:void 0;if(ft&&!Mu(Ci)&&(Ci=Aa(Ze,L)),Mu(Ci)&&(Se=Ci,ae))return Se;const Hi=s[R+1];R=ae?Wo(Hi):xl(Hi)}if(null!==c){let Ze=B?c.residualClasses:c.residualStyles;null!=Ze&&(Se=Aa(Ze,L))}return Se}function Mu(s){return void 0!==s}function G3(s,c){return 0!=(s.flags&(c?8:16))}function Z3(s,c=""){const p=Ni(),L=Vn(),R=s+22,B=L.firstCreatePass?$n(L,R,1,c,null):L.data[R],ae=p[R]=function _1(s,c){return s.createText(c)}(p[11],c);sc(L,p,ae,B),Ta(B,!1)}function Z0(s){return ro("",s,""),Z0}function ro(s,c,p){const L=Ni(),R=td(L,s,c,p);return R!==Bn&&yl(L,Dr(),R),ro}function jo(s,c,p,L,R){const B=Ni(),ae=N1(B,s,c,p,L,R);return ae!==Bn&&yl(B,Dr(),ae),jo}function Su(s,c,p,L,R,B,ae){const Se=Ni(),Ze=function F1(s,c,p,L,R,B,ae,Se){const ft=D0(s,Ri(),p,R,ae);return Bi(3),ft?c+X(p)+L+X(R)+B+X(ae)+Se:Bn}(Se,s,c,p,L,R,B,ae);return Ze!==Bn&&yl(Se,Dr(),Ze),Su}function W3(s,c,p,L,R,B,ae,Se,Ze){const ft=Ni(),Dt=H1(ft,s,c,p,L,R,B,ae,Se,Ze);return Dt!==Bn&&yl(ft,Dr(),Dt),W3}function K3(s,c,p){mc(pr,So,td(Ni(),s,c,p),!0)}function Au(s,c,p){const L=Ni();return vs(L,Cs(),c)&&Os(Vn(),ur(),L,s,c,L[11],p,!0),Au}function X3(s,c,p){const L=Ni();if(vs(L,Cs(),c)){const B=Vn(),ae=ur();Os(B,ae,L,s,c,v3(Ms(B.data),ae,L),p,!0)}return X3}const $l=void 0;var $3=["en",[["a","p"],["AM","PM"],$l],[["AM","PM"],$l,$l],[["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"]],$l,[["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"]],$l,[["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}",$l,"{1} 'at' {0}",$l],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function u6(s){const p=Math.floor(Math.abs(s)),L=s.toString().replace(/^[^.]*\.?/,"").length;return 1===p&&0===L?1:5}];let od={};function Lu(s){const c=function m6(s){return s.toLowerCase().replace(/_/g,"-")}(s);let p=Du(c);if(p)return p;const L=c.split("-")[0];if(p=Du(L),p)return p;if("en"===L)return $3;throw new W(701,!1)}function W0(s){return Lu(s)[kn.PluralCase]}function Du(s){return s in od||(od[s]=nt.ng&&nt.ng.common&&nt.ng.common.locales&&nt.ng.common.locales[s]),od[s]}var kn=(()=>((kn=kn||{})[kn.LocaleId=0]="LocaleId",kn[kn.DayPeriodsFormat=1]="DayPeriodsFormat",kn[kn.DayPeriodsStandalone=2]="DayPeriodsStandalone",kn[kn.DaysFormat=3]="DaysFormat",kn[kn.DaysStandalone=4]="DaysStandalone",kn[kn.MonthsFormat=5]="MonthsFormat",kn[kn.MonthsStandalone=6]="MonthsStandalone",kn[kn.Eras=7]="Eras",kn[kn.FirstDayOfWeek=8]="FirstDayOfWeek",kn[kn.WeekendRange=9]="WeekendRange",kn[kn.DateFormat=10]="DateFormat",kn[kn.TimeFormat=11]="TimeFormat",kn[kn.DateTimeFormat=12]="DateTimeFormat",kn[kn.NumberSymbols=13]="NumberSymbols",kn[kn.NumberFormats=14]="NumberFormats",kn[kn.CurrencyCode=15]="CurrencyCode",kn[kn.CurrencySymbol=16]="CurrencySymbol",kn[kn.CurrencyName=17]="CurrencyName",kn[kn.Currencies=18]="Currencies",kn[kn.Directionality=19]="Directionality",kn[kn.PluralCase=20]="PluralCase",kn[kn.ExtraData=21]="ExtraData",kn))();const Z1="en-US";let e4=Z1;function Ou(s,c,p,L,R){if(s=I(s),Array.isArray(s))for(let B=0;B<s.length;B++)Ou(s[B],c,p,L,R);else{const B=Vn(),ae=Ni();let Se=Ho(s)?s:I(s.provide),Ze=R2(s);const ft=Vr(),Dt=1048575&ft.providerIndexes,$t=ft.directiveStart,pi=ft.providerIndexes>>20;if(Ho(s)||!s.multi){const Ci=new Pt(Ze,R,xo),Hi=Nf(Se,c,R?Dt:Dt+pi,$t);-1===Hi?(Al(ba(ft,ae),B,Se),Rf(B,s,c.length),c.push(Se),ft.directiveStart++,ft.directiveEnd++,R&&(ft.providerIndexes+=1048576),p.push(Ci),ae.push(Ci)):(p[Hi]=Ci,ae[Hi]=Ci)}else{const Ci=Nf(Se,c,Dt+pi,$t),Hi=Nf(Se,c,Dt,Dt+pi),Xi=Ci>=0&&p[Ci],cn=Hi>=0&&p[Hi];if(R&&!cn||!R&&!Xi){Al(ba(ft,ae),B,Se);const gn=function Dg(s,c,p,L,R){const B=new Pt(s,p,xo);return B.multi=[],B.index=c,B.componentProviders=0,w6(B,R,L&&!p),B}(R?M6:Lg,p.length,R,L,Ze);!R&&cn&&(p[Hi].providerFactory=gn),Rf(B,s,c.length,0),c.push(Se),ft.directiveStart++,ft.directiveEnd++,R&&(ft.providerIndexes+=1048576),p.push(gn),ae.push(gn)}else Rf(B,s,Ci>-1?Ci:Hi,w6(p[R?Hi:Ci],Ze,!R&&L));!R&&L&&cn&&p[Hi].componentProviders++}}}function Rf(s,c,p,L){const R=Ho(c),B=function n0(s){return!!s.useClass}(c);if(R||B){const Ze=(B?I(c.useClass):c).prototype.ngOnDestroy;if(Ze){const ft=s.destroyHooks||(s.destroyHooks=[]);if(!R&&c.multi){const Dt=ft.indexOf(p);-1===Dt?ft.push(p,[L,Ze]):ft[Dt+1].push(L,Ze)}else ft.push(p,Ze)}}}function w6(s,c,p){return p&&s.componentProviders++,s.multi.push(c)-1}function Nf(s,c,p,L){for(let R=p;R<L;R++)if(c[R]===s)return R;return-1}function Lg(s,c,p,L){return Ff(this.multi,[])}function M6(s,c,p,L){const R=this.multi;let B;if(this.providerFactory){const ae=this.providerFactory.componentProviders,Se=Jo(p,p[1],this.providerFactory.index,L);B=Se.slice(0,ae),Ff(R,B);for(let Ze=ae;Ze<Se.length;Ze++)B.push(Se[Ze])}else B=[],Ff(R,B);return B}function Ff(s,c){for(let p=0;p<s.length;p++)c.push((0,s[p])());return c}function S6(s,c=[]){return p=>{p.providersResolver=(L,R)=>function Ag(s,c,p){const L=Vn();if(L.firstCreatePass){const R=cr(s);Ou(p,L.data,L.blueprint,R,!0),Ou(c,L.data,L.blueprint,R,!1)}}(L,R?R(s):s,c)}}class j0{}class E6{}function Ig(s,c){return new T6(s,c??null)}class T6 extends j0{constructor(c,p){super(),this._parent=p,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new y3(this);const L=oi(c);this._bootstrapComponents=Vo(L.bootstrap),this._r3Injector=Q2(c,p,[{provide:j0,useValue:this},{provide:to,useValue:this.componentFactoryResolver}],P(c),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(c)}get injector(){return this._r3Injector}destroy(){const c=this._r3Injector;!c.destroyed&&c.destroy(),this.destroyCbs.forEach(p=>p()),this.destroyCbs=null}onDestroy(c){this.destroyCbs.push(c)}}class Hf extends E6{constructor(c){super(),this.moduleType=c}create(c){return new T6(this.moduleType,c)}}class kg extends j0{constructor(c,p,L){super(),this.componentFactoryResolver=new y3(this),this.instance=null;const R=new O2([...c,{provide:j0,useValue:this},{provide:to,useValue:this.componentFactoryResolver}],p||Yl(),L,new Set(["environment"]));this.injector=R,R.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(c){this.injector.onDestroy(c)}}function zf(s,c,p=null){return new kg(s,c,p).injector}let Og=(()=>{class s{constructor(p){this._injector=p,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(p){if(!p.standalone)return null;if(!this.cachedInjectors.has(p.id)){const L=fl(0,p.type),R=L.length>0?zf([L],this._injector,`Standalone[${p.type.name}]`):null;this.cachedInjectors.set(p.id,R)}return this.cachedInjectors.get(p.id)}ngOnDestroy(){try{for(const p of this.cachedInjectors.values())null!==p&&p.destroy()}finally{this.cachedInjectors.clear()}}}return s.\u0275prov=qe({token:s,providedIn:"environment",factory:()=>new s(Ht(Rc))}),s})();function A6(s){s.getStandaloneInjector=c=>c.get(Og).getOrCreateStandaloneInjector(s)}function R6(s,c,p){const L=An()+s,R=Ni();return R[L]===Bn?Bc(R,L,p?c.call(p):c()):function L0(s,c){return s[c]}(R,L)}function Zf(s,c,p,L){return H6(Ni(),An(),s,c,p,L)}function N6(s,c,p,L,R){return z6(Ni(),An(),s,c,p,L,R)}function Wf(s,c,p,L,R,B){return V6(Ni(),An(),s,c,p,L,R,B)}function Pu(s,c){const p=s[c];return p===Bn?void 0:p}function H6(s,c,p,L,R,B){const ae=c+p;return vs(s,ae,R)?Bc(s,ae+1,B?L.call(B,R):L(R)):Pu(s,ae+1)}function z6(s,c,p,L,R,B,ae){const Se=c+p;return P1(s,Se,R,B)?Bc(s,Se+2,ae?L.call(ae,R,B):L(R,B)):Pu(s,Se+2)}function V6(s,c,p,L,R,B,ae,Se){const Ze=c+p;return D0(s,Ze,R,B,ae)?Bc(s,Ze+3,Se?L.call(Se,R,B,ae):L(R,B,ae)):Pu(s,Ze+3)}function U6(s,c){const p=Vn();let L;const R=s+22;p.firstCreatePass?(L=function Zg(s,c){if(c)for(let p=c.length-1;p>=0;p--){const L=c[p];if(s===L.name)return L}}(c,p.pipeRegistry),p.data[R]=L,L.onDestroy&&(p.destroyHooks||(p.destroyHooks=[])).push(R,L.onDestroy)):L=p.data[R];const B=L.factory||(L.factory=zr(L.type)),ae=Ce(xo);try{const Se=rs(!1),Ze=B();return rs(Se),function Jm(s,c,p,L){p>=s.data.length&&(s.data[p]=null,s.blueprint[p]=null),c[p]=L}(p,Ni(),R,Ze),Ze}finally{Ce(ae)}}function Yf(s,c,p){const L=s+22,R=Ni(),B=hi(R,L);return Ru(R,L)?H6(R,An(),c,B.transform,p,B):B.transform(p)}function jf(s,c,p,L){const R=s+22,B=Ni(),ae=hi(B,R);return Ru(B,R)?z6(B,An(),c,ae.transform,p,L,ae):ae.transform(p,L)}function G6(s,c,p,L,R){const B=s+22,ae=Ni(),Se=hi(ae,B);return Ru(ae,B)?V6(ae,An(),c,Se.transform,p,L,R,Se):Se.transform(p,L,R)}function Ru(s,c){return s[1].data[c].pure}function Kf(s){return c=>{setTimeout(s,void 0,c)}}const Sl=class Z6 extends t.x{constructor(c=!1){super(),this.__isAsync=c}emit(c){super.next(c)}subscribe(c,p,L){let R=c,B=p||(()=>null),ae=L;if(c&&"object"==typeof c){const Ze=c;R=Ze.next?.bind(Ze),B=Ze.error?.bind(Ze),ae=Ze.complete?.bind(Ze)}this.__isAsync&&(B=Kf(B),R&&(R=Kf(R)),ae&&(ae=Kf(ae)));const Se=super.subscribe({next:R,error:B,complete:ae});return c instanceof e.w0&&c.add(Se),Se}};function jg(){return this._results[Vc()]()}class n4{constructor(c=!1){this._emitDistinctChangesOnly=c,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const p=Vc(),L=n4.prototype;L[p]||(L[p]=jg)}get changes(){return this._changes||(this._changes=new Sl)}get(c){return this._results[c]}map(c){return this._results.map(c)}filter(c){return this._results.filter(c)}find(c){return this._results.find(c)}reduce(c,p){return this._results.reduce(c,p)}forEach(c){this._results.forEach(c)}some(c){return this._results.some(c)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(c,p){const L=this;L.dirty=!1;const R=function lt(s){return s.flat(Number.POSITIVE_INFINITY)}(c);(this._changesDetected=!function ze(s,c,p){if(s.length!==c.length)return!1;for(let L=0;L<s.length;L++){let R=s[L],B=c[L];if(p&&(R=p(R),B=p(B)),B!==R)return!1}return!0}(L._results,R,p))&&(L._results=R,L.length=R.length,L.last=R[this.length-1],L.first=R[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Nu=(()=>{class s{}return s.__NG_ELEMENT_ID__=W6,s})();const Kg=Nu,Qg=class extends Kg{constructor(c,p,L){super(),this._declarationLView=c,this._declarationTContainer=p,this.elementRef=L}createEmbeddedView(c,p){const L=this._declarationTContainer.tViews,R=In(this._declarationLView,L,c,16,null,L.declTNode,null,null,null,null,p||null);R[17]=this._declarationLView[this._declarationTContainer.index];const ae=this._declarationLView[19];return null!==ae&&(R[19]=ae.createEmbeddedView(L)),_s(L,R,c),new $2(R)}};function W6(){return r4(Vr(),Ni())}function r4(s,c){return 4&s.type?new Qg(c,s,Pa(s,c)):null}let a4=(()=>{class s{}return s.__NG_ELEMENT_ID__=Y6,s})();function Y6(){return Xf(Vr(),Ni())}const qg=a4,Qf=class extends qg{constructor(c,p,L){super(),this._lContainer=c,this._hostTNode=p,this._hostLView=L}get element(){return Pa(this._hostTNode,this._hostLView)}get injector(){return new gs(this._hostTNode,this._hostLView)}get parentInjector(){const c=Cc(this._hostTNode,this._hostLView);if(ta(c)){const p=va(c,this._hostLView),L=kr(c);return new gs(p[1].data[L+8],p)}return new gs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(c){const p=qf(this._lContainer);return null!==p&&p[c]||null}get length(){return this._lContainer.length-10}createEmbeddedView(c,p,L){let R,B;"number"==typeof L?R=L:null!=L&&(R=L.index,B=L.injector);const ae=c.createEmbeddedView(p||{},B);return this.insert(ae,R),ae}createComponent(c,p,L,R,B){const ae=c&&!function re(s){return"function"==typeof s}(c);let Se;if(ae)Se=p;else{const $t=p||{};Se=$t.index,L=$t.injector,R=$t.projectableNodes,B=$t.environmentInjector||$t.ngModuleRef}const Ze=ae?c:new ed(Mi(c)),ft=L||this.parentInjector;if(!B&&null==Ze.ngModule){const pi=(ae?ft:this.parentInjector).get(Rc,null);pi&&(B=pi)}const Dt=Ze.create(ft,R,void 0,B);return this.insert(Dt.hostView,Se),Dt}insert(c,p){const L=c._lView,R=L[1];if(function $i(s){return dr(s[3])}(L)){const Dt=this.indexOf(c);if(-1!==Dt)this.detach(Dt);else{const $t=L[3],pi=new Qf($t,$t[6],$t[3]);pi.detach(pi.indexOf(c))}}const B=this._adjustIndex(p),ae=this._lContainer;!function v1(s,c,p,L){const R=10+L,B=p.length;L>0&&(p[R-1][4]=c),L<B-10?(c[4]=p[R],kt(p,10+L,c)):(p.push(c),c[4]=null),c[3]=p;const ae=c[17];null!==ae&&p!==ae&&function sl(s,c){const p=s[9];c[16]!==c[3][3][16]&&(s[2]=!0),null===p?s[9]=[c]:p.push(c)}(ae,c);const Se=c[19];null!==Se&&Se.insertView(s),c[2]|=64}(R,L,ae,B);const Se=y1(B,ae),Ze=L[11],ft=b1(Ze,ae[7]);return null!==ft&&function Ku(s,c,p,L,R,B){L[0]=R,L[6]=c,zl(s,L,p,1,R,B)}(R,ae[6],Ze,L,ft,Se),c.attachToViewContainerRef(),kt(Jf(ae),B,c),c}move(c,p){return this.insert(c,p)}indexOf(c){const p=qf(this._lContainer);return null!==p?p.indexOf(c):-1}remove(c){const p=this._adjustIndex(c,-1),L=Md(this._lContainer,p);L&&(ci(Jf(this._lContainer),p),rc(L[1],L))}detach(c){const p=this._adjustIndex(c,-1),L=Md(this._lContainer,p);return L&&null!=ci(Jf(this._lContainer),p)?new $2(L):null}_adjustIndex(c,p=0){return c??this.length+p}};function qf(s){return s[8]}function Jf(s){return s[8]||(s[8]=[])}function Xf(s,c){let p;const L=c[s.index];if(dr(L))p=L;else{let R;if(8&s.type)R=qn(L);else{const B=c[11];R=B.createComment("");const ae=lr(s,c);eo(B,b1(B,ae),R,function Ed(s,c){return s.nextSibling(c)}(B,ae),!1)}c[s.index]=p=N4(L,c,R,s),E0(c,p)}return new Qf(p,s,c)}class $f{constructor(c){this.queryList=c,this.matches=null}clone(){return new $f(this.queryList)}setDirty(){this.queryList.setDirty()}}class em{constructor(c=[]){this.queries=c}createEmbeddedView(c){const p=c.queries;if(null!==p){const L=null!==c.contentQueries?c.contentQueries[0]:p.length,R=[];for(let B=0;B<L;B++){const ae=p.getByIndex(B);R.push(this.queries[ae.indexInDeclarationView].clone())}return new em(R)}return null}insertView(c){this.dirtyQueriesWithMatches(c)}detachView(c){this.dirtyQueriesWithMatches(c)}dirtyQueriesWithMatches(c){for(let p=0;p<this.queries.length;p++)null!==tp(c,p).matches&&this.queries[p].setDirty()}}class j6{constructor(c,p,L=null){this.predicate=c,this.flags=p,this.read=L}}class tm{constructor(c=[]){this.queries=c}elementStart(c,p){for(let L=0;L<this.queries.length;L++)this.queries[L].elementStart(c,p)}elementEnd(c){for(let p=0;p<this.queries.length;p++)this.queries[p].elementEnd(c)}embeddedTView(c){let p=null;for(let L=0;L<this.length;L++){const R=null!==p?p.length:0,B=this.getByIndex(L).embeddedTView(c,R);B&&(B.indexInDeclarationView=L,null!==p?p.push(B):p=[B])}return null!==p?new tm(p):null}template(c,p){for(let L=0;L<this.queries.length;L++)this.queries[L].template(c,p)}getByIndex(c){return this.queries[c]}get length(){return this.queries.length}track(c){this.queries.push(c)}}class im{constructor(c,p=-1){this.metadata=c,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=p}elementStart(c,p){this.isApplyingToNode(p)&&this.matchTNode(c,p)}elementEnd(c){this._declarationNodeIndex===c.index&&(this._appliesToNextNode=!1)}template(c,p){this.elementStart(c,p)}embeddedTView(c,p){return this.isApplyingToNode(c)?(this.crossesNgTemplate=!0,this.addMatch(-c.index,p),new im(this.metadata)):null}isApplyingToNode(c){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const p=this._declarationNodeIndex;let L=c.parent;for(;null!==L&&8&L.type&&L.index!==p;)L=L.parent;return p===(null!==L?L.index:-1)}return this._appliesToNextNode}matchTNode(c,p){const L=this.metadata.predicate;if(Array.isArray(L))for(let R=0;R<L.length;R++){const B=L[R];this.matchTNodeWithReadOption(c,p,nm(p,B)),this.matchTNodeWithReadOption(c,p,Us(p,c,B,!1,!1))}else L===Nu?4&p.type&&this.matchTNodeWithReadOption(c,p,-1):this.matchTNodeWithReadOption(c,p,Us(p,c,L,!1,!1))}matchTNodeWithReadOption(c,p,L){if(null!==L){const R=this.metadata.read;if(null!==R)if(R===pl||R===a4||R===Nu&&4&p.type)this.addMatch(p.index,-2);else{const B=Us(p,c,R,!1,!1);null!==B&&this.addMatch(p.index,B)}else this.addMatch(p.index,L)}}addMatch(c,p){null===this.matches?this.matches=[c,p]:this.matches.push(c,p)}}function nm(s,c){const p=s.localNames;if(null!==p)for(let L=0;L<p.length;L+=2)if(p[L]===c)return p[L+1];return null}function Xg(s,c,p,L){return-1===p?function Jg(s,c){return 11&s.type?Pa(s,c):4&s.type?r4(s,c):null}(c,s):-2===p?function K6(s,c,p){return p===pl?Pa(c,s):p===Nu?r4(c,s):p===a4?Xf(c,s):void 0}(s,c,L):Jo(s,s[1],p,c)}function Q6(s,c,p,L){const R=c[19].queries[L];if(null===R.matches){const B=s.data,ae=p.matches,Se=[];for(let Ze=0;Ze<ae.length;Ze+=2){const ft=ae[Ze];Se.push(ft<0?null:Xg(c,B[ft],ae[Ze+1],p.metadata.read))}R.matches=Se}return R.matches}function rm(s,c,p,L){const R=s.queries.getByIndex(p),B=R.matches;if(null!==B){const ae=Q6(s,c,R,p);for(let Se=0;Se<B.length;Se+=2){const Ze=B[Se];if(Ze>0)L.push(ae[Se/2]);else{const ft=B[Se+1],Dt=c[-Ze];for(let $t=10;$t<Dt.length;$t++){const pi=Dt[$t];pi[17]===pi[3]&&rm(pi[1],pi,ft,L)}if(null!==Dt[9]){const $t=Dt[9];for(let pi=0;pi<$t.length;pi++){const Ci=$t[pi];rm(Ci[1],Ci,ft,L)}}}}}return L}function q6(s){const c=Ni(),p=Vn(),L=Qs();qs(L+1);const R=tp(p,L);if(s.dirty&&function si(s){return 4==(4&s[2])}(c)===(2==(2&R.metadata.flags))){if(null===R.matches)s.reset([]);else{const B=R.crossesNgTemplate?rm(p,c,L,[]):Q6(p,c,R,L);s.reset(B,jl),s.notifyOnChanges()}return!0}return!1}function J6(s,c,p){const L=Vn();L.firstCreatePass&&(ep(L,new j6(s,c,p),-1),2==(2&c)&&(L.staticViewQueries=!0)),$6(L,Ni(),c)}function am(s,c,p,L){const R=Vn();if(R.firstCreatePass){const B=Vr();ep(R,new j6(c,p,L),B.index),function e8(s,c){const p=s.contentQueries||(s.contentQueries=[]);c!==(p.length?p[p.length-1]:-1)&&p.push(s.queries.length-1,c)}(R,s),2==(2&p)&&(R.staticContentQueries=!0)}$6(R,Ni(),p)}function X6(){return function $g(s,c){return s[19].queries[c].queryList}(Ni(),Qs())}function $6(s,c,p){const L=new n4(4==(4&p));c3(s,c,L,L.destroy),null===c[19]&&(c[19]=new em),c[19].queries.push(new $f(L))}function ep(s,c,p){null===s.queries&&(s.queries=new tm),s.queries.track(new im(c,p))}function tp(s,c){return s.queries.getByIndex(c)}function ip(s,c){return r4(s,c)}function d4(...s){}const Sp=new yr("Application Initializer");let h4=(()=>{class s{constructor(p){this.appInits=p,this.resolve=d4,this.reject=d4,this.initialized=!1,this.done=!1,this.donePromise=new Promise((L,R)=>{this.resolve=L,this.reject=R})}runInitializers(){if(this.initialized)return;const p=[],L=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let R=0;R<this.appInits.length;R++){const B=this.appInits[R]();if(lu(B))p.push(B);else if(Jn(B)){const ae=new Promise((Se,Ze)=>{B.subscribe({complete:Se,error:Ze})});p.push(ae)}}Promise.all(p).then(()=>{L()}).catch(R=>{this.reject(R)}),0===p.length&&L(),this.initialized=!0}}return s.\u0275fac=function(p){return new(p||s)(Ht(Sp,8))},s.\u0275prov=qe({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const Ep=new yr("AppId",{providedIn:"root",factory:function Tp(){return`${u4()}${u4()}${u4()}`}});function u4(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ap=new yr("Platform Initializer"),p8=new yr("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),um=new yr("appBootstrapListener"),Lp=new yr("AnimationModuleType");let g8=(()=>{class s{log(p){console.log(p)}warn(p){console.warn(p)}}return s.\u0275fac=function(p){return new(p||s)},s.\u0275prov=qe({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})();const f4=new yr("LocaleId",{providedIn:"root",factory:()=>Me(f4,Be.Optional|Be.SkipSelf)||function Dp(){return typeof $localize<"u"&&$localize.locale||Z1}()}),_8=new yr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class v8{constructor(c,p){this.ngModuleFactory=c,this.componentFactories=p}}let b8=(()=>{class s{compileModuleSync(p){return new Hf(p)}compileModuleAsync(p){return Promise.resolve(this.compileModuleSync(p))}compileModuleAndAllComponentsSync(p){const L=this.compileModuleSync(p),B=Vo(oi(p).declarations).reduce((ae,Se)=>{const Ze=Mi(Se);return Ze&&ae.push(new ed(Ze)),ae},[]);return new v8(L,B)}compileModuleAndAllComponentsAsync(p){return Promise.resolve(this.compileModuleAndAllComponentsSync(p))}clearCache(){}clearCacheFor(p){}getModuleId(p){}}return s.\u0275fac=function(p){return new(p||s)},s.\u0275prov=qe({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const kp=(()=>Promise.resolve(0))();function fm(s){typeof Zone>"u"?kp.then(()=>{s&&s.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",s)}class Ko{constructor({enableLongStackTrace:c=!1,shouldCoalesceEventChangeDetection:p=!1,shouldCoalesceRunChangeDetection:L=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Sl(!1),this.onMicrotaskEmpty=new Sl(!1),this.onStable=new Sl(!1),this.onError=new Sl(!1),typeof Zone>"u")throw new W(908,!1);Zone.assertZonePatched();const R=this;R._nesting=0,R._outer=R._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(R._inner=R._inner.fork(new Zone.TaskTrackingZoneSpec)),c&&Zone.longStackTraceZoneSpec&&(R._inner=R._inner.fork(Zone.longStackTraceZoneSpec)),R.shouldCoalesceEventChangeDetection=!L&&p,R.shouldCoalesceRunChangeDetection=L,R.lastRequestAnimationFrameId=-1,R.nativeRequestAnimationFrame=function w8(){let s=nt.requestAnimationFrame,c=nt.cancelAnimationFrame;if(typeof Zone<"u"&&s&&c){const p=s[Zone.__symbol__("OriginalDelegate")];p&&(s=p);const L=c[Zone.__symbol__("OriginalDelegate")];L&&(c=L)}return{nativeRequestAnimationFrame:s,nativeCancelAnimationFrame:c}}().nativeRequestAnimationFrame,function E8(s){const c=()=>{!function S8(s){s.isCheckStableRunning||-1!==s.lastRequestAnimationFrameId||(s.lastRequestAnimationFrameId=s.nativeRequestAnimationFrame.call(nt,()=>{s.fakeTopEventTask||(s.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{s.lastRequestAnimationFrameId=-1,m4(s),s.isCheckStableRunning=!0,mm(s),s.isCheckStableRunning=!1},void 0,()=>{},()=>{})),s.fakeTopEventTask.invoke()}),m4(s))}(s)};s._inner=s._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(p,L,R,B,ae,Se)=>{try{return Op(s),p.invokeTask(R,B,ae,Se)}finally{(s.shouldCoalesceEventChangeDetection&&"eventTask"===B.type||s.shouldCoalesceRunChangeDetection)&&c(),Pp(s)}},onInvoke:(p,L,R,B,ae,Se,Ze)=>{try{return Op(s),p.invoke(R,B,ae,Se,Ze)}finally{s.shouldCoalesceRunChangeDetection&&c(),Pp(s)}},onHasTask:(p,L,R,B)=>{p.hasTask(R,B),L===R&&("microTask"==B.change?(s._hasPendingMicrotasks=B.microTask,m4(s),mm(s)):"macroTask"==B.change&&(s.hasPendingMacrotasks=B.macroTask))},onHandleError:(p,L,R,B)=>(p.handleError(R,B),s.runOutsideAngular(()=>s.onError.emit(B)),!1)})}(R)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ko.isInAngularZone())throw new W(909,!1)}static assertNotInAngularZone(){if(Ko.isInAngularZone())throw new W(909,!1)}run(c,p,L){return this._inner.run(c,p,L)}runTask(c,p,L,R){const B=this._inner,ae=B.scheduleEventTask("NgZoneEvent: "+R,c,M8,d4,d4);try{return B.runTask(ae,p,L)}finally{B.cancelTask(ae)}}runGuarded(c,p,L){return this._inner.runGuarded(c,p,L)}runOutsideAngular(c){return this._outer.run(c)}}const M8={};function mm(s){if(0==s._nesting&&!s.hasPendingMicrotasks&&!s.isStable)try{s._nesting++,s.onMicrotaskEmpty.emit(null)}finally{if(s._nesting--,!s.hasPendingMicrotasks)try{s.runOutsideAngular(()=>s.onStable.emit(null))}finally{s.isStable=!0}}}function m4(s){s.hasPendingMicrotasks=!!(s._hasPendingMicrotasks||(s.shouldCoalesceEventChangeDetection||s.shouldCoalesceRunChangeDetection)&&-1!==s.lastRequestAnimationFrameId)}function Op(s){s._nesting++,s.isStable&&(s.isStable=!1,s.onUnstable.emit(null))}function Pp(s){s._nesting--,mm(s)}class Rp{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Sl,this.onMicrotaskEmpty=new Sl,this.onStable=new Sl,this.onError=new Sl}run(c,p,L){return c.apply(p,L)}runGuarded(c,p,L){return c.apply(p,L)}runOutsideAngular(c){return c()}runTask(c,p,L,R){return c.apply(p,L)}}const Np=new yr(""),Fp=new yr("");let pm,T8=(()=>{class s{constructor(p,L,R){this._ngZone=p,this.registry=L,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,pm||(function A8(s){pm=s}(R),R.addToWindow(L)),this._watchAngularEvents(),p.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:()=>{Ko.assertNotInAngularZone(),fm(()=>{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())fm(()=>{for(;0!==this._callbacks.length;){let p=this._callbacks.pop();clearTimeout(p.timeoutId),p.doneCb(this._didWork)}this._didWork=!1});else{let p=this.getPendingTasks();this._callbacks=this._callbacks.filter(L=>!L.updateCb||!L.updateCb(p)||(clearTimeout(L.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(p=>({source:p.source,creationLocation:p.creationLocation,data:p.data})):[]}addCallback(p,L,R){let B=-1;L&&L>0&&(B=setTimeout(()=>{this._callbacks=this._callbacks.filter(ae=>ae.timeoutId!==B),p(this._didWork,this.getPendingTasks())},L)),this._callbacks.push({doneCb:p,timeoutId:B,updateCb:R})}whenStable(p,L,R){if(R&&!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(p,L,R),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(p){this.registry.registerApplication(p,this)}unregisterApplication(p){this.registry.unregisterApplication(p)}findProviders(p,L,R){return[]}}return s.\u0275fac=function(p){return new(p||s)(Ht(Ko),Ht(Hp),Ht(Fp))},s.\u0275prov=qe({token:s,factory:s.\u0275fac}),s})(),Hp=(()=>{class s{constructor(){this._applications=new Map}registerApplication(p,L){this._applications.set(p,L)}unregisterApplication(p){this._applications.delete(p)}unregisterAllApplications(){this._applications.clear()}getTestability(p){return this._applications.get(p)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(p,L=!0){return pm?.findTestabilityInTree(this,p,L)??null}}return s.\u0275fac=function(p){return new(p||s)},s.\u0275prov=qe({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})(),n1=null;const zp=new yr("AllowMultipleToken"),gm=new yr("PlatformDestroyListeners");class D8{constructor(c,p){this.name=c,this.token=p}}function Gp(s,c,p=[]){const L=`Platform: ${c}`,R=new yr(L);return(B=[])=>{let ae=vm();if(!ae||ae.injector.get(zp,!1)){const Se=[...p,...B,{provide:R,useValue:!0}];s?s(Se):function Bp(s){if(n1&&!n1.get(zp,!1))throw new W(400,!1);n1=s;const c=s.get(Zp);(function Up(s){const c=s.get(Ap,null);c&&c.forEach(p=>p())})(s)}(function _m(s=[],c){return lc.create({name:c,providers:[{provide:ml,useValue:"platform"},{provide:gm,useValue:new Set([()=>n1=null])},...s]})}(Se,L))}return function k8(s){const c=vm();if(!c)throw new W(401,!1);return c}()}}function vm(){return n1?.get(Zp)??null}let Zp=(()=>{class s{constructor(p){this._injector=p,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(p,L){const R=function Yp(s,c){let p;return p="noop"===s?new Rp:("zone.js"===s?void 0:s)||new Ko(c),p}(L?.ngZone,function Wp(s){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!s||!s.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!s||!s.ngZoneRunCoalescing)||!1}}(L)),B=[{provide:Ko,useValue:R}];return R.run(()=>{const ae=lc.create({providers:B,parent:this.injector,name:p.moduleType.name}),Se=p.create(ae),Ze=Se.injector.get(gl,null);if(!Ze)throw new W(402,!1);return R.runOutsideAngular(()=>{const ft=R.onError.subscribe({next:Dt=>{Ze.handleError(Dt)}});Se.onDestroy(()=>{g4(this._modules,Se),ft.unsubscribe()})}),function jp(s,c,p){try{const L=p();return lu(L)?L.catch(R=>{throw c.runOutsideAngular(()=>s.handleError(R)),R}):L}catch(L){throw c.runOutsideAngular(()=>s.handleError(L)),L}}(Ze,R,()=>{const ft=Se.injector.get(h4);return ft.runInitializers(),ft.donePromise.then(()=>(function ku(s){U(s,"Expected localeId to be defined"),"string"==typeof s&&(e4=s.toLowerCase().replace(/_/g,"-"))}(Se.injector.get(f4,Z1)||Z1),this._moduleDoBootstrap(Se),Se))})})}bootstrapModule(p,L=[]){const R=bm({},L);return function Vp(s,c,p){const L=new Hf(p);return Promise.resolve(L)}(0,0,p).then(B=>this.bootstrapModuleFactory(B,R))}_moduleDoBootstrap(p){const L=p.injector.get(p4);if(p._bootstrapComponents.length>0)p._bootstrapComponents.forEach(R=>L.bootstrap(R));else{if(!p.instance.ngDoBootstrap)throw new W(403,!1);p.instance.ngDoBootstrap(L)}this._modules.push(p)}onDestroy(p){this._destroyListeners.push(p)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new W(404,!1);this._modules.slice().forEach(L=>L.destroy()),this._destroyListeners.forEach(L=>L());const p=this._injector.get(gm,null);p&&(p.forEach(L=>L()),p.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return s.\u0275fac=function(p){return new(p||s)(Ht(lc))},s.\u0275prov=qe({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})();function bm(s,c){return Array.isArray(c)?c.reduce(bm,s):{...s,...c}}let p4=(()=>{class s{constructor(p,L,R){this._zone=p,this._injector=L,this._exceptionHandler=R,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const B=new v.y(Se=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Se.next(this._stable),Se.complete()})}),ae=new v.y(Se=>{let Ze;this._zone.runOutsideAngular(()=>{Ze=this._zone.onStable.subscribe(()=>{Ko.assertNotInAngularZone(),fm(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Se.next(!0))})})});const ft=this._zone.onUnstable.subscribe(()=>{Ko.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Se.next(!1)}))});return()=>{Ze.unsubscribe(),ft.unsubscribe()}});this.isStable=(0,D.T)(B,ae.pipe((0,o.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(p,L){const R=p instanceof c0;if(!this._injector.get(h4).done)throw!R&&Zt(p),new W(405,false);let ae;ae=R?p:this._injector.get(to).resolveComponentFactory(p),this.componentTypes.push(ae.componentType);const Se=function L8(s){return s.isBoundToModule}(ae)?void 0:this._injector.get(j0),ft=ae.create(lc.NULL,[],L||ae.selector,Se),Dt=ft.location.nativeElement,$t=ft.injector.get(Np,null);return $t?.registerApplication(Dt),ft.onDestroy(()=>{this.detachView(ft.hostView),g4(this.components,ft),$t?.unregisterApplication(Dt)}),this._loadComponent(ft),ft}tick(){if(this._runningTick)throw new W(101,!1);try{this._runningTick=!0;for(let p of this._views)p.detectChanges()}catch(p){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(p))}finally{this._runningTick=!1}}attachView(p){const L=p;this._views.push(L),L.attachToAppRef(this)}detachView(p){const L=p;g4(this._views,L),L.detachFromAppRef()}_loadComponent(p){this.attachView(p.hostView),this.tick(),this.components.push(p);const L=this._injector.get(um,[]);L.push(...this._bootstrapListeners),L.forEach(R=>R(p))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(p=>p()),this._views.slice().forEach(p=>p.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(p){return this._destroyListeners.push(p),()=>g4(this._destroyListeners,p)}destroy(){if(this._destroyed)throw new W(406,!1);const p=this._injector;p.destroy&&!p.destroyed&&p.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return s.\u0275fac=function(p){return new(p||s)(Ht(Ko),Ht(Rc),Ht(gl))},s.\u0275prov=qe({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function g4(s,c){const p=s.indexOf(c);p>-1&&s.splice(p,1)}function P8(){return!1}let F8=(()=>{class s{}return s.__NG_ELEMENT_ID__=xm,s})();function xm(s){return function H8(s,c,p){if(Fr(s)&&!p){const L=yt(s.index,c);return new $2(L,L)}return 47&s.type?new $2(c[16],c):null}(Vr(),Ni(),16==(16&s))}class qp{constructor(){}supports(c){return A0(c)}create(c){return new Z8(c)}}const G8=(s,c)=>c;class Z8{constructor(c){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=c||G8}forEachItem(c){let p;for(p=this._itHead;null!==p;p=p._next)c(p)}forEachOperation(c){let p=this._itHead,L=this._removalsHead,R=0,B=null;for(;p||L;){const ae=!L||p&&p.currentIndex<b4(L,R,B)?p:L,Se=b4(ae,R,B),Ze=ae.currentIndex;if(ae===L)R--,L=L._nextRemoved;else if(p=p._next,null==ae.previousIndex)R++;else{B||(B=[]);const ft=Se-R,Dt=Ze-R;if(ft!=Dt){for(let pi=0;pi<ft;pi++){const Ci=pi<B.length?B[pi]:B[pi]=0,Hi=Ci+pi;Dt<=Hi&&Hi<ft&&(B[pi]=Ci+1)}B[ae.previousIndex]=Dt-ft}}Se!==Ze&&c(ae,Se,Ze)}}forEachPreviousItem(c){let p;for(p=this._previousItHead;null!==p;p=p._nextPrevious)c(p)}forEachAddedItem(c){let p;for(p=this._additionsHead;null!==p;p=p._nextAdded)c(p)}forEachMovedItem(c){let p;for(p=this._movesHead;null!==p;p=p._nextMoved)c(p)}forEachRemovedItem(c){let p;for(p=this._removalsHead;null!==p;p=p._nextRemoved)c(p)}forEachIdentityChange(c){let p;for(p=this._identityChangesHead;null!==p;p=p._nextIdentityChange)c(p)}diff(c){if(null==c&&(c=[]),!A0(c))throw new W(900,!1);return this.check(c)?this:null}onDestroy(){}check(c){this._reset();let R,B,ae,p=this._itHead,L=!1;if(Array.isArray(c)){this.length=c.length;for(let Se=0;Se<this.length;Se++)B=c[Se],ae=this._trackByFn(Se,B),null!==p&&Object.is(p.trackById,ae)?(L&&(p=this._verifyReinsertion(p,B,ae,Se)),Object.is(p.item,B)||this._addIdentityChange(p,B)):(p=this._mismatch(p,B,ae,Se),L=!0),p=p._next}else R=0,function M3(s,c){if(Array.isArray(s))for(let p=0;p<s.length;p++)c(s[p]);else{const p=s[Vc()]();let L;for(;!(L=p.next()).done;)c(L.value)}}(c,Se=>{ae=this._trackByFn(R,Se),null!==p&&Object.is(p.trackById,ae)?(L&&(p=this._verifyReinsertion(p,Se,ae,R)),Object.is(p.item,Se)||this._addIdentityChange(p,Se)):(p=this._mismatch(p,Se,ae,R),L=!0),p=p._next,R++}),this.length=R;return this._truncate(p),this.collection=c,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let c;for(c=this._previousItHead=this._itHead;null!==c;c=c._next)c._nextPrevious=c._next;for(c=this._additionsHead;null!==c;c=c._nextAdded)c.previousIndex=c.currentIndex;for(this._additionsHead=this._additionsTail=null,c=this._movesHead;null!==c;c=c._nextMoved)c.previousIndex=c.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(c,p,L,R){let B;return null===c?B=this._itTail:(B=c._prev,this._remove(c)),null!==(c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(L,null))?(Object.is(c.item,p)||this._addIdentityChange(c,p),this._reinsertAfter(c,B,R)):null!==(c=null===this._linkedRecords?null:this._linkedRecords.get(L,R))?(Object.is(c.item,p)||this._addIdentityChange(c,p),this._moveAfter(c,B,R)):c=this._addAfter(new W8(p,L),B,R),c}_verifyReinsertion(c,p,L,R){let B=null===this._unlinkedRecords?null:this._unlinkedRecords.get(L,null);return null!==B?c=this._reinsertAfter(B,c._prev,R):c.currentIndex!=R&&(c.currentIndex=R,this._addToMoves(c,R)),c}_truncate(c){for(;null!==c;){const p=c._next;this._addToRemovals(this._unlink(c)),c=p}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(c,p,L){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(c);const R=c._prevRemoved,B=c._nextRemoved;return null===R?this._removalsHead=B:R._nextRemoved=B,null===B?this._removalsTail=R:B._prevRemoved=R,this._insertAfter(c,p,L),this._addToMoves(c,L),c}_moveAfter(c,p,L){return this._unlink(c),this._insertAfter(c,p,L),this._addToMoves(c,L),c}_addAfter(c,p,L){return this._insertAfter(c,p,L),this._additionsTail=null===this._additionsTail?this._additionsHead=c:this._additionsTail._nextAdded=c,c}_insertAfter(c,p,L){const R=null===p?this._itHead:p._next;return c._next=R,c._prev=p,null===R?this._itTail=c:R._prev=c,null===p?this._itHead=c:p._next=c,null===this._linkedRecords&&(this._linkedRecords=new Xp),this._linkedRecords.put(c),c.currentIndex=L,c}_remove(c){return this._addToRemovals(this._unlink(c))}_unlink(c){null!==this._linkedRecords&&this._linkedRecords.remove(c);const p=c._prev,L=c._next;return null===p?this._itHead=L:p._next=L,null===L?this._itTail=p:L._prev=p,c}_addToMoves(c,p){return c.previousIndex===p||(this._movesTail=null===this._movesTail?this._movesHead=c:this._movesTail._nextMoved=c),c}_addToRemovals(c){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Xp),this._unlinkedRecords.put(c),c.currentIndex=null,c._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=c,c._prevRemoved=null):(c._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=c),c}_addIdentityChange(c,p){return c.item=p,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=c:this._identityChangesTail._nextIdentityChange=c,c}}class W8{constructor(c,p){this.item=c,this.trackById=p,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 Jp{constructor(){this._head=null,this._tail=null}add(c){null===this._head?(this._head=this._tail=c,c._nextDup=null,c._prevDup=null):(this._tail._nextDup=c,c._prevDup=this._tail,c._nextDup=null,this._tail=c)}get(c,p){let L;for(L=this._head;null!==L;L=L._nextDup)if((null===p||p<=L.currentIndex)&&Object.is(L.trackById,c))return L;return null}remove(c){const p=c._prevDup,L=c._nextDup;return null===p?this._head=L:p._nextDup=L,null===L?this._tail=p:L._prevDup=p,null===this._head}}class Xp{constructor(){this.map=new Map}put(c){const p=c.trackById;let L=this.map.get(p);L||(L=new Jp,this.map.set(p,L)),L.add(c)}get(c,p){const R=this.map.get(c);return R?R.get(c,p):null}remove(c){const p=c.trackById;return this.map.get(p).remove(c)&&this.map.delete(p),c}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function b4(s,c,p){const L=s.previousIndex;if(null===L)return L;let R=0;return p&&L<p.length&&(R=p[L]),L+c+R}class $p{constructor(){}supports(c){return c instanceof Map||S3(c)}create(){return new Y8}}class Y8{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(c){let p;for(p=this._mapHead;null!==p;p=p._next)c(p)}forEachPreviousItem(c){let p;for(p=this._previousMapHead;null!==p;p=p._nextPrevious)c(p)}forEachChangedItem(c){let p;for(p=this._changesHead;null!==p;p=p._nextChanged)c(p)}forEachAddedItem(c){let p;for(p=this._additionsHead;null!==p;p=p._nextAdded)c(p)}forEachRemovedItem(c){let p;for(p=this._removalsHead;null!==p;p=p._nextRemoved)c(p)}diff(c){if(c){if(!(c instanceof Map||S3(c)))throw new W(900,!1)}else c=new Map;return this.check(c)?this:null}onDestroy(){}check(c){this._reset();let p=this._mapHead;if(this._appendAfter=null,this._forEach(c,(L,R)=>{if(p&&p.key===R)this._maybeAddToChanges(p,L),this._appendAfter=p,p=p._next;else{const B=this._getOrCreateRecordForKey(R,L);p=this._insertBeforeOrAppend(p,B)}}),p){p._prev&&(p._prev._next=null),this._removalsHead=p;for(let L=p;null!==L;L=L._nextRemoved)L===this._mapHead&&(this._mapHead=null),this._records.delete(L.key),L._nextRemoved=L._next,L.previousValue=L.currentValue,L.currentValue=null,L._prev=null,L._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(c,p){if(c){const L=c._prev;return p._next=c,p._prev=L,c._prev=p,L&&(L._next=p),c===this._mapHead&&(this._mapHead=p),this._appendAfter=c,c}return this._appendAfter?(this._appendAfter._next=p,p._prev=this._appendAfter):this._mapHead=p,this._appendAfter=p,null}_getOrCreateRecordForKey(c,p){if(this._records.has(c)){const R=this._records.get(c);this._maybeAddToChanges(R,p);const B=R._prev,ae=R._next;return B&&(B._next=ae),ae&&(ae._prev=B),R._next=null,R._prev=null,R}const L=new eg(c);return this._records.set(c,L),L.currentValue=p,this._addToAdditions(L),L}_reset(){if(this.isDirty){let c;for(this._previousMapHead=this._mapHead,c=this._previousMapHead;null!==c;c=c._next)c._nextPrevious=c._next;for(c=this._changesHead;null!==c;c=c._nextChanged)c.previousValue=c.currentValue;for(c=this._additionsHead;null!=c;c=c._nextAdded)c.previousValue=c.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(c,p){Object.is(p,c.currentValue)||(c.previousValue=c.currentValue,c.currentValue=p,this._addToChanges(c))}_addToAdditions(c){null===this._additionsHead?this._additionsHead=this._additionsTail=c:(this._additionsTail._nextAdded=c,this._additionsTail=c)}_addToChanges(c){null===this._changesHead?this._changesHead=this._changesTail=c:(this._changesTail._nextChanged=c,this._changesTail=c)}_forEach(c,p){c instanceof Map?c.forEach(p):Object.keys(c).forEach(L=>p(c[L],L))}}class eg{constructor(c){this.key=c,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 tg(){return new y4([new qp])}let y4=(()=>{class s{constructor(p){this.factories=p}static create(p,L){if(null!=L){const R=L.factories.slice();p=p.concat(R)}return new s(p)}static extend(p){return{provide:s,useFactory:L=>s.create(p,L||tg()),deps:[[s,new tc,new ec]]}}find(p){const L=this.factories.find(R=>R.supports(p));if(null!=L)return L;throw new W(901,!1)}}return s.\u0275prov=qe({token:s,providedIn:"root",factory:tg}),s})();function ig(){return new Em([new $p])}let Em=(()=>{class s{constructor(p){this.factories=p}static create(p,L){if(L){const R=L.factories.slice();p=p.concat(R)}return new s(p)}static extend(p){return{provide:s,useFactory:L=>s.create(p,L||ig()),deps:[[s,new tc,new ec]]}}find(p){const L=this.factories.find(R=>R.supports(p));if(L)return L;throw new W(901,!1)}}return s.\u0275prov=qe({token:s,providedIn:"root",factory:ig}),s})();const rg=Gp(null,"core",[]);let K8=(()=>{class s{constructor(p){}}return s.\u0275fac=function(p){return new(p||s)(Ht(p4))},s.\u0275mod=Mt({type:s}),s.\u0275inj=Ie({}),s})();function Q8(s){return"boolean"==typeof s?s:null!=s&&"false"!==s}},5863:(Ve,Q,m)=>{"use strict";function t(S){for(let w in S){let I=S[w]??"";switch(w){case"display":S.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":S["-webkit-"+w]=I;break;case"flex-direction":S["-webkit-flex-direction"]=I,S["flex-direction"]=I;break;case"order":S.order=S["-webkit-"+w]=isNaN(+I)?"0":I}}return S}m.d(Q,{Ar:()=>D,GK:()=>t,iQ:()=>v,kt:()=>d,tj:()=>C});const e="inline",v=["row","column","row-reverse","column-reverse"];function D(S){let[w,I,E]=o(S);return function P(S,w=null,I=!1){return{display:I?"inline-flex":"flex","box-sizing":"border-box","flex-direction":S,"flex-wrap":w||null}}(w,I,E)}function o(S){S=S?.toLowerCase()??"";let[w,I,E]=S.split(" ");return v.find(N=>N===w)||(w=v[0]),I===e&&(I=E!==e?E:"",E=e),[w,u(I),!!E]}function C(S){let[w]=o(S);return w.indexOf("row")>-1}function u(S){if(S)switch(S.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":S="wrap-reverse";break;case"no":case"none":case"nowrap":S="nowrap";break;default:S="wrap"}return S}function d(S,...w){if(null==S)throw TypeError("Cannot convert undefined or null to object");for(let I of w)if(null!=I)for(let E in I)I.hasOwnProperty(E)&&(S[E]=I[E]);return S}},2233:(Ve,Q,m)=>{"use strict";m.d(Q,{Bs:()=>X,FL:()=>De,IR:()=>E,Ot:()=>_t,QI:()=>ue,RK:()=>he,WU:()=>W,g5:()=>G,iR:()=>q,wY:()=>Y,yB:()=>Ue});var t=m(4650),e=m(6895),v=m(1135),D=m(9751),o=m(6451),C=m(7579),u=m(5863),P=m(9300),d=m(8505);const w={provide:t.tb,useFactory:function S(He,Ct){return()=>{if((0,e.NF)(Ct)){const Pe=Array.from(He.querySelectorAll(`[class*=${I}]`)),tt=/\bflex-layout-.+?\b/g;Pe.forEach(Bt=>{Bt.classList.contains(`${I}ssr`)&&Bt.parentNode?Bt.parentNode.removeChild(Bt):Bt.className.replace(tt,"")})}}},deps:[e.K0,t.Lbi],multi:!0},I="flex-layout-";let E=(()=>{class He{}return He.\u0275fac=function(Pe){return new(Pe||He)},He.\u0275mod=t.oAB({type:He}),He.\u0275inj=t.cJS({providers:[w]}),He})();class N{constructor(Ct=!1,Pe="all",tt="",Bt="",Lt=0){this.matches=Ct,this.mediaQuery=Pe,this.mqAlias=tt,this.suffix=Bt,this.priority=Lt,this.property=""}clone(){return new N(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let z=(()=>{class He{constructor(){this.stylesheet=new Map}addStyleToElement(Pe,tt,Bt){const Lt=this.stylesheet.get(Pe);Lt?Lt.set(tt,Bt):this.stylesheet.set(Pe,new Map([[tt,Bt]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(Pe,tt){const Bt=this.stylesheet.get(Pe);let Lt="";if(Bt){const Ht=Bt.get(tt);("number"==typeof Ht||"string"==typeof Ht)&&(Lt=Ht+"")}return Lt}}return He.\u0275fac=function(Pe){return new(Pe||He)},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();const G={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},W=new t.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>G}),Y=new t.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),X=new t.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function ee(He,Ct){return He=He?.clone()??new N,Ct&&(He.mqAlias=Ct.alias,He.mediaQuery=Ct.mediaQuery,He.suffix=Ct.suffix,He.priority=Ct.priority),He}class ue{constructor(){this.shouldCache=!0}sideEffect(Ct,Pe,tt){}}let he=(()=>{class He{constructor(Pe,tt,Bt,Lt){this._serverStylesheet=Pe,this._serverModuleLoaded=tt,this._platformId=Bt,this.layoutConfig=Lt}applyStyleToElement(Pe,tt,Bt=null){let Lt={};"string"==typeof tt&&(Lt[tt]=Bt,tt=Lt),Lt=this.layoutConfig.disableVendorPrefixes?tt:(0,u.GK)(tt),this._applyMultiValueStyleToElement(Lt,Pe)}applyStyleToElements(Pe,tt=[]){const Bt=this.layoutConfig.disableVendorPrefixes?Pe:(0,u.GK)(Pe);tt.forEach(Lt=>{this._applyMultiValueStyleToElement(Bt,Lt)})}getFlowDirection(Pe){const tt="flex-direction";let Bt=this.lookupStyle(Pe,tt);return[Bt||"row",this.lookupInlineStyle(Pe,tt)||(0,e.PM)(this._platformId)&&this._serverModuleLoaded?Bt:""]}hasWrap(Pe){return"wrap"===this.lookupStyle(Pe,"flex-wrap")}lookupAttributeValue(Pe,tt){return Pe.getAttribute(tt)??""}lookupInlineStyle(Pe,tt){return(0,e.NF)(this._platformId)?Pe.style.getPropertyValue(tt):function ie(He,Ct){return fe(He)[Ct]??""}(Pe,tt)}lookupStyle(Pe,tt,Bt=!1){let Lt="";return Pe&&((Lt=this.lookupInlineStyle(Pe,tt))||((0,e.NF)(this._platformId)?Bt||(Lt=getComputedStyle(Pe).getPropertyValue(tt)):this._serverModuleLoaded&&(Lt=this._serverStylesheet.getStyleForElement(Pe,tt)))),Lt?Lt.trim():""}_applyMultiValueStyleToElement(Pe,tt){Object.keys(Pe).sort().forEach(Bt=>{const Lt=Pe[Bt],Ht=Array.isArray(Lt)?Lt:[Lt];Ht.sort();for(let bt of Ht)bt=bt?bt+"":"",(0,e.NF)(this._platformId)||!this._serverModuleLoaded?(0,e.NF)(this._platformId)?tt.style.setProperty(Bt,bt):ce(tt,Bt,bt):this._serverStylesheet.addStyleToElement(tt,Bt,bt)})}}return He.\u0275fac=function(Pe){return new(Pe||He)(t.LFG(z),t.LFG(Y),t.LFG(t.Lbi),t.LFG(W))},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();function ce(He,Ct,Pe){Ct=Ct.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const tt=fe(He);tt[Ct]=Pe??"",function $(He,Ct){let Pe="";for(const tt in Ct)Ct[tt]&&(Pe+=`${tt}:${Ct[tt]};`);He.setAttribute("style",Pe)}(He,tt)}function fe(He){const Ct={},Pe=He.getAttribute("style");if(Pe){const tt=Pe.split(/;+/g);for(let Bt=0;Bt<tt.length;Bt++){const Lt=tt[Bt].trim();if(Lt.length>0){const Ht=Lt.indexOf(":");if(-1===Ht)throw new Error(`Invalid CSS style: ${Lt}`);Ct[Lt.substr(0,Ht).trim()]=Lt.substr(Ht+1).trim()}}}return Ct}function T(He,Ct){return(Ct&&Ct.priority||0)-(He&&He.priority||0)}function i(He,Ct){return(He.priority||0)-(Ct.priority||0)}let r=(()=>{class He{constructor(Pe,tt,Bt){this._zone=Pe,this._platformId=tt,this._document=Bt,this.source=new v.X(new N(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const Pe=[];return this.registry.forEach((tt,Bt)=>{tt.matches&&Pe.push(Bt)}),Pe}isActive(Pe){return this.registry.get(Pe)?.matches??this.registerQuery(Pe).some(Bt=>Bt.matches)}observe(Pe,tt=!1){if(Pe&&Pe.length){const Bt=this._observable$.pipe((0,P.h)(Ht=>!tt||Pe.indexOf(Ht.mediaQuery)>-1)),Lt=new D.y(Ht=>{const bt=this.registerQuery(Pe);if(bt.length){const Me=bt.pop();bt.forEach(J=>{Ht.next(J)}),this.source.next(Me)}Ht.complete()});return(0,o.T)(Lt,Bt)}return this._observable$}registerQuery(Pe){const tt=Array.isArray(Pe)?Pe:[Pe],Bt=[];return function l(He,Ct){const Pe=He.filter(tt=>!h[tt]);if(Pe.length>0){const tt=Pe.join(", ");try{const Bt=Ct.createElement("style");Bt.setAttribute("type","text/css"),Bt.styleSheet||Bt.appendChild(Ct.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${tt} {.fx-query-test{ }}\n`)),Ct.head.appendChild(Bt),Pe.forEach(Lt=>h[Lt]=Bt)}catch(Bt){console.error(Bt)}}}(tt,this._document),tt.forEach(Lt=>{const Ht=Me=>{this._zone.run(()=>this.source.next(new N(Me.matches,Lt)))};let bt=this.registry.get(Lt);bt||(bt=this.buildMQL(Lt),bt.addListener(Ht),this.pendingRemoveListenerFns.push(()=>bt.removeListener(Ht)),this.registry.set(Lt,bt)),bt.matches&&Bt.push(new N(!0,Lt))}),Bt}ngOnDestroy(){let Pe;for(;Pe=this.pendingRemoveListenerFns.pop();)Pe()}buildMQL(Pe){return function A(He,Ct){return Ct&&window.matchMedia("all").addListener?window.matchMedia(He):function y(He){const Ct=new EventTarget;return Ct.matches="all"===He||""===He,Ct.media=He,Ct.addListener=()=>{},Ct.removeListener=()=>{},Ct.addEventListener=()=>{},Ct.dispatchEvent=()=>!1,Ct.onchange=null,Ct}(He)}(Pe,(0,e.NF)(this._platformId))}}return He.\u0275fac=function(Pe){return new(Pe||He)(t.LFG(t.R0b),t.LFG(t.Lbi),t.LFG(e.K0))},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();const h={},k=[{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}],g="(orientation: portrait) and (max-width: 599.98px)",n="(orientation: landscape) and (max-width: 959.98px)",b="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",U="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",V="(orientation: portrait) and (min-width: 840px)",j="(orientation: landscape) and (min-width: 1280px)",Ae={HANDSET:`${g}, ${n}`,TABLET:`${b} , ${U}`,WEB:`${V}, ${j} `,HANDSET_PORTRAIT:`${g}`,TABLET_PORTRAIT:`${b} `,WEB_PORTRAIT:`${V}`,HANDSET_LANDSCAPE:`${n}`,TABLET_LANDSCAPE:`${U}`,WEB_LANDSCAPE:`${j}`},Ke=[{alias:"handset",priority:2e3,mediaQuery:Ae.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Ae.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Ae.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Ae.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Ae.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Ae.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Ae.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Ae.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Ae.WEB_PORTRAIT,overlapping:!0}],qe=/(\.|-|_)/g;function ct(He){let Ct=He.length>0?He.charAt(0):"",Pe=He.length>1?He.slice(1):"";return Ct.toUpperCase()+Pe}const _e=new t.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const He=(0,t.f3M)(X),Ct=(0,t.f3M)(W),Pe=[].concat.apply([],(He||[]).map(Bt=>Array.isArray(Bt)?Bt:[Bt]));return function le(He,Ct=[]){const Pe={};return He.forEach(tt=>{Pe[tt.alias]=tt}),Ct.forEach(tt=>{Pe[tt.alias]?(0,u.kt)(Pe[tt.alias],tt):Pe[tt.alias]=tt}),function xe(He){return He.forEach(Ct=>{Ct.suffix||(Ct.suffix=function Ie(He){return He.replace(qe,"|").split("|").map(ct).join("")}(Ct.alias),Ct.overlapping=!!Ct.overlapping)}),He}(Object.keys(Pe).map(tt=>Pe[tt]))}((Ct.disableDefaultBps?[]:k).concat(Ct.addOrientationBps?Ke:[]),Pe)}});let se=(()=>{class He{constructor(Pe){this.findByMap=new Map,this.items=[...Pe].sort(i)}findByAlias(Pe){return Pe?this.findWithPredicate(Pe,tt=>tt.alias===Pe):null}findByQuery(Pe){return this.findWithPredicate(Pe,tt=>tt.mediaQuery===Pe)}get overlappings(){return this.items.filter(Pe=>Pe.overlapping)}get aliases(){return this.items.map(Pe=>Pe.alias)}get suffixes(){return this.items.map(Pe=>Pe?.suffix??"")}findWithPredicate(Pe,tt){let Bt=this.findByMap.get(Pe);return Bt||(Bt=this.items.find(tt)??null,this.findByMap.set(Pe,Bt)),Bt??null}}return He.\u0275fac=function(Pe){return new(Pe||He)(t.LFG(_e))},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();const Ye="print",Te={alias:Ye,mediaQuery:Ye,priority:1e3};let oe=(()=>{class He{constructor(Pe,tt,Bt){this.breakpoints=Pe,this.layoutConfig=tt,this._document=Bt,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new be,this.deactivations=[]}withPrintQuery(Pe){return[...Pe,Ye]}isPrintEvent(Pe){return Pe.mediaQuery.startsWith(Ye)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(Pe=>this.breakpoints.findByAlias(Pe)).filter(Pe=>null!==Pe)}getEventBreakpoints({mediaQuery:Pe}){const tt=this.breakpoints.findByQuery(Pe);return(tt?[...this.printBreakPoints,tt]:this.printBreakPoints).sort(T)}updateEvent(Pe){let tt=this.breakpoints.findByQuery(Pe.mediaQuery);return this.isPrintEvent(Pe)&&(tt=this.getEventBreakpoints(Pe)[0],Pe.mediaQuery=tt?.mediaQuery??""),ee(Pe,tt)}registerBeforeAfterPrintHooks(Pe){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const tt=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(Pe,this.getEventBreakpoints(new N(!0,Ye))),Pe.updateStyles())},Bt=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(Pe),Pe.updateStyles())};this._document.defaultView.addEventListener("beforeprint",tt),this._document.defaultView.addEventListener("afterprint",Bt),this.beforePrintEventListeners.push(tt),this.afterPrintEventListeners.push(Bt)}interceptEvents(Pe){return tt=>{this.isPrintEvent(tt)?tt.matches&&!this.isPrinting?(this.startPrinting(Pe,this.getEventBreakpoints(tt)),Pe.updateStyles()):!tt.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(Pe),Pe.updateStyles()):this.collectActivations(Pe,tt)}}blockPropagation(){return Pe=>!(this.isPrinting||this.isPrintEvent(Pe))}startPrinting(Pe,tt){this.isPrinting=!0,this.formerActivations=Pe.activatedBreakpoints,Pe.activatedBreakpoints=this.queue.addPrintBreakpoints(tt)}stopPrinting(Pe){Pe.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(Pe,tt){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!tt.matches){const Bt=this.breakpoints.findByQuery(tt.mediaQuery);if(Bt){const Lt=this.formerActivations&&this.formerActivations.includes(Bt),Ht=!this.formerActivations&&Pe.activatedBreakpoints.includes(Bt);(Lt||Ht)&&(this.deactivations.push(Bt),this.deactivations.sort(T))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(Pe=>this._document.defaultView.removeEventListener("beforeprint",Pe)),this.afterPrintEventListeners.forEach(Pe=>this._document.defaultView.removeEventListener("afterprint",Pe)))}}return He.\u0275fac=function(Pe){return new(Pe||He)(t.LFG(se),t.LFG(W),t.LFG(e.K0))},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();class be{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(Ct){return Ct.push(Te),Ct.sort(T),Ct.forEach(Pe=>this.addBreakpoint(Pe)),this.printBreakpoints}addBreakpoint(Ct){Ct&&void 0===this.printBreakpoints.find(tt=>tt.mediaQuery===Ct.mediaQuery)&&(this.printBreakpoints=function te(He){return He?.mediaQuery.startsWith(Ye)??!1}(Ct)?[Ct,...this.printBreakpoints]:[...this.printBreakpoints,Ct])}clear(){this.printBreakpoints=[]}}let Ue=(()=>{class He{constructor(Pe,tt,Bt){this.matchMedia=Pe,this.breakpoints=tt,this.hook=Bt,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 C.x,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(Pe){this._activatedBreakpoints=[...Pe]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(Pe){this._useFallbacks=Pe}onMediaChange(Pe){const tt=this.findByQuery(Pe.mediaQuery);if(tt){Pe=ee(Pe,tt);const Bt=this.activatedBreakpoints.indexOf(tt);Pe.matches&&-1===Bt?(this._activatedBreakpoints.push(tt),this._activatedBreakpoints.sort(T),this.updateStyles()):!Pe.matches&&-1!==Bt&&(this._activatedBreakpoints.splice(Bt,1),this._activatedBreakpoints.sort(T),this.updateStyles())}}init(Pe,tt,Bt,Lt,Ht=[]){Be(this.updateMap,Pe,tt,Bt),Be(this.clearMap,Pe,tt,Lt),this.buildElementKeyMap(Pe,tt),this.watchExtraTriggers(Pe,tt,Ht)}getValue(Pe,tt,Bt){const Lt=this.elementMap.get(Pe);if(Lt){const Ht=void 0!==Bt?Lt.get(Bt):this.getActivatedValues(Lt,tt);if(Ht)return Ht.get(tt)}}hasValue(Pe,tt){const Bt=this.elementMap.get(Pe);if(Bt){const Lt=this.getActivatedValues(Bt,tt);if(Lt)return void 0!==Lt.get(tt)||!1}return!1}setValue(Pe,tt,Bt,Lt){let Ht=this.elementMap.get(Pe);if(Ht){const Me=(Ht.get(Lt)??new Map).set(tt,Bt);Ht.set(Lt,Me),this.elementMap.set(Pe,Ht)}else Ht=(new Map).set(Lt,(new Map).set(tt,Bt)),this.elementMap.set(Pe,Ht);const bt=this.getValue(Pe,tt);void 0!==bt&&this.updateElement(Pe,tt,bt)}trackValue(Pe,tt){return this.subject.asObservable().pipe((0,P.h)(Bt=>Bt.element===Pe&&Bt.key===tt))}updateStyles(){this.elementMap.forEach((Pe,tt)=>{const Bt=new Set(this.elementKeyMap.get(tt));let Lt=this.getActivatedValues(Pe);Lt&&Lt.forEach((Ht,bt)=>{this.updateElement(tt,bt,Ht),Bt.delete(bt)}),Bt.forEach(Ht=>{if(Lt=this.getActivatedValues(Pe,Ht),Lt){const bt=Lt.get(Ht);this.updateElement(tt,Ht,bt)}else this.clearElement(tt,Ht)})})}clearElement(Pe,tt){const Bt=this.clearMap.get(Pe);if(Bt){const Lt=Bt.get(tt);Lt&&(Lt(),this.subject.next({element:Pe,key:tt,value:""}))}}updateElement(Pe,tt,Bt){const Lt=this.updateMap.get(Pe);if(Lt){const Ht=Lt.get(tt);Ht&&(Ht(Bt),this.subject.next({element:Pe,key:tt,value:Bt}))}}releaseElement(Pe){const tt=this.watcherMap.get(Pe);tt&&(tt.forEach(Lt=>Lt.unsubscribe()),this.watcherMap.delete(Pe));const Bt=this.elementMap.get(Pe);Bt&&(Bt.forEach((Lt,Ht)=>Bt.delete(Ht)),this.elementMap.delete(Pe))}triggerUpdate(Pe,tt){const Bt=this.elementMap.get(Pe);if(Bt){const Lt=this.getActivatedValues(Bt,tt);Lt&&(tt?this.updateElement(Pe,tt,Lt.get(tt)):Lt.forEach((Ht,bt)=>this.updateElement(Pe,bt,Ht)))}}buildElementKeyMap(Pe,tt){let Bt=this.elementKeyMap.get(Pe);Bt||(Bt=new Set,this.elementKeyMap.set(Pe,Bt)),Bt.add(tt)}watchExtraTriggers(Pe,tt,Bt){if(Bt&&Bt.length){let Lt=this.watcherMap.get(Pe);if(Lt||(Lt=new Map,this.watcherMap.set(Pe,Lt)),!Lt.get(tt)){const bt=(0,o.T)(...Bt).subscribe(()=>{const Me=this.getValue(Pe,tt);this.updateElement(Pe,tt,Me)});Lt.set(tt,bt)}}}findByQuery(Pe){return this.breakpoints.findByQuery(Pe)}getActivatedValues(Pe,tt){for(let Lt=0;Lt<this.activatedBreakpoints.length;Lt++){const bt=Pe.get(this.activatedBreakpoints[Lt].alias);if(bt&&(void 0===tt||bt.has(tt)&&null!=bt.get(tt)))return bt}if(!this._useFallbacks)return;const Bt=Pe.get("");return void 0===tt||Bt&&Bt.has(tt)?Bt:void 0}observeActivations(){const Pe=this.breakpoints.items.map(tt=>tt.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(Pe)).pipe((0,d.b)(this.hook.interceptEvents(this)),(0,P.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return He.\u0275fac=function(Pe){return new(Pe||He)(t.LFG(r),t.LFG(se),t.LFG(oe))},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();function Be(He,Ct,Pe,tt){if(void 0!==tt){const Bt=He.get(Ct)??new Map;Bt.set(Pe,tt),He.set(Ct,Bt)}}let q=(()=>{class He{constructor(Pe,tt,Bt,Lt){this.elementRef=Pe,this.styleBuilder=tt,this.styler=Bt,this.marshal=Lt,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new C.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(Pe){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Pe,this.marshal.activatedAlias)}ngOnChanges(Pe){Object.keys(Pe).forEach(tt=>{if(-1!==this.inputs.indexOf(tt)){const Bt=tt.split(".").slice(1).join(".");this.setValue(Pe[tt].currentValue,Bt)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(Pe=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),Pe)}addStyles(Pe,tt){const Bt=this.styleBuilder,Lt=Bt.shouldCache;let Ht=this.styleCache.get(Pe);(!Ht||!Lt)&&(Ht=Bt.buildStyles(Pe,tt),Lt&&this.styleCache.set(Pe,Ht)),this.mru={...Ht},this.applyStyleToElement(Ht),Bt.sideEffect(Pe,Ht,tt)}clearStyles(){Object.keys(this.mru).forEach(Pe=>{this.mru[Pe]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(Pe,tt=!1){if(Pe){const[Bt,Lt]=this.styler.getFlowDirection(Pe);if(!Lt&&tt){const Ht=(0,u.Ar)(Bt);this.styler.applyStyleToElements(Ht,[Pe])}return Bt.trim()}return"row"}hasWrap(Pe){return this.styler.hasWrap(Pe)}applyStyleToElement(Pe,tt,Bt=this.nativeElement){this.styler.applyStyleToElement(Bt,Pe,tt)}setValue(Pe,tt){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Pe,tt)}updateWithValue(Pe){this.currentValue!==Pe&&(this.addStyles(Pe),this.currentValue=Pe)}}return He.\u0275fac=function(Pe){return new(Pe||He)(t.Y36(t.SBq),t.Y36(ue),t.Y36(he),t.Y36(Ue))},He.\u0275dir=t.lG2({type:He,features:[t.TTD]}),He})();class Ce extends EventTarget{constructor(Ct){super(),this._mediaQuery=Ct,this._isActive=!1,this._listeners=[],this.onchange=null}get matches(){return this._isActive}get media(){return this._mediaQuery}destroy(){this.deactivate(),this._listeners=[]}activate(){return this._isActive||(this._isActive=!0,this._listeners.forEach(Ct=>{Ct.call(this,{matches:this.matches,media:this.media})})),this}deactivate(){return this._isActive&&(this._isActive=!1,this._listeners.forEach(Ct=>{Ct.call(this,{matches:this.matches,media:this.media})})),this}addListener(Ct){-1===this._listeners.indexOf(Ct)&&this._listeners.push(Ct),this._isActive&&Ct.call(this,{matches:this.matches,media:this.media})}removeListener(Ct){}dispatchEvent(Ct){return!1}}function _t(He,Ct="1",Pe="1"){let tt=[Ct,Pe,He],Bt=He.indexOf("calc");if(Bt>0){tt[2]=ne(He.substring(Bt).trim());let Lt=He.substr(0,Bt).trim().split(" ");2==Lt.length&&(tt[0]=Lt[0],tt[1]=Lt[1])}else if(0==Bt)tt[2]=ne(He.trim());else{let Lt=He.split(" ");tt=3===Lt.length?Lt:[Ct,Pe,He]}return tt}function ne(He){return He.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function De(He,Ct){if(void 0===Ct)return He;const Pe=tt=>{const Bt=+tt.slice(0,-"x".length);return He.endsWith("x")&&!isNaN(Bt)?`${Bt*Ct.value}${Ct.unit}`:He};return He.includes(" ")?He.split(" ").map(Pe).join(" "):Pe(He)}},5829:(Ve,Q,m)=>{"use strict";m.d(Q,{Zl:()=>A,aT:()=>n,oO:()=>G});var t=m(4650),e=m(2233),v=m(6895),C=(m(1281),m(2722),m(1481));let E=(()=>{class b extends e.iR{constructor(V,j,Ae,Ke,qe,ct,Ie){super(V,null,j,Ae),this.ngClassInstance=Ie,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new v.mk(Ke,qe,V,ct)),this.init(),this.setValue("","")}set klass(V){this.ngClassInstance.klass=V,this.setValue(V,"")}updateWithValue(V){this.ngClassInstance.ngClass=V,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return b.\u0275fac=function(V){return new(V||b)(t.Y36(t.SBq),t.Y36(e.RK),t.Y36(e.yB),t.Y36(t.ZZ4),t.Y36(t.aQg),t.Y36(t.Qsj),t.Y36(v.mk,10))},b.\u0275dir=t.lG2({type:b,inputs:{klass:["class","klass"]},features:[t.qOj]}),b})();const N=["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 G=(()=>{class b extends E{constructor(){super(...arguments),this.inputs=N}}return b.\u0275fac=function(){let U;return function(j){return(U||(U=t.n5z(b)))(j||b)}}(),b.\u0275dir=t.lG2({type:b,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:[t.qOj]}),b})();class ie{constructor(U,V,j=!0){this.key=U,this.value=V,this.key=j?U.replace(/['"]/g,"").trim():U.trim(),this.value=j?V.replace(/['"]/g,"").trim():V.trim(),this.value=this.value.replace(/;/,"")}}function ce(b){let U=typeof b;return"object"===U?b.constructor===Array?"array":b.constructor===Set?"set":"object":U}function i(b){const[U,...V]=b.split(":");return new ie(U,V.join(":"))}function r(b,U){return U.key&&(b[U.key]=U.value),b}let h=(()=>{class b extends e.iR{constructor(V,j,Ae,Ke,qe,ct,Ie,xe,le){super(V,null,j,Ae),this.sanitizer=Ke,this.ngStyleInstance=Ie,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new v.PC(V,qe,ct)),this.init();const _e=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(_e),this.isServer=xe&&(0,v.PM)(le)}updateWithValue(V){const j=this.buildStyleMap(V);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...j},this.isServer&&this.applyStyleToElement(j),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(V){const j=Ae=>this.sanitizer.sanitize(t.q3G.STYLE,Ae)??"";if(V)switch(ce(V)){case"string":return k(function $(b,U=";"){return String(b).trim().split(U).map(V=>V.trim()).filter(V=>""!==V)}(V),j);case"array":return k(V,j);default:return function T(b,U){let V=[];return"set"===ce(b)?b.forEach(j=>V.push(j)):Object.keys(b).forEach(j=>{V.push(`${j}:${b[j]}`)}),function fe(b,U){return b.map(i).filter(j=>!!j).map(j=>(U&&(j.value=U(j.value)),j)).reduce(r,{})}(V,U)}(V,j)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return b.\u0275fac=function(V){return new(V||b)(t.Y36(t.SBq),t.Y36(e.RK),t.Y36(e.yB),t.Y36(C.H7),t.Y36(t.aQg),t.Y36(t.Qsj),t.Y36(v.PC,10),t.Y36(e.wY),t.Y36(t.Lbi))},b.\u0275dir=t.lG2({type:b,features:[t.qOj]}),b})();const l=["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 A=(()=>{class b extends h{constructor(){super(...arguments),this.inputs=l}}return b.\u0275fac=function(){let U;return function(j){return(U||(U=t.n5z(b)))(j||b)}}(),b.\u0275dir=t.lG2({type:b,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:[t.qOj]}),b})();function k(b,U){return b.map(i).filter(j=>!!j).map(j=>(U&&(j.value=U(j.value)),j)).reduce(r,{})}let n=(()=>{class b{}return b.\u0275fac=function(V){return new(V||b)},b.\u0275mod=t.oAB({type:b}),b.\u0275inj=t.cJS({imports:[e.IR]}),b})()},1576:(Ve,Q,m)=>{"use strict";m.d(Q,{Wh:()=>_t,ae:()=>Ht,xw:()=>w,yH:()=>y});var t=m(4650),e=m(445),v=m(2233),D=m(5863),C=(m(7579),m(2722));let u=(()=>{class bt extends v.QI{buildStyles(J,{display:ve}){const Re=(0,D.Ar)(J);return{...Re,display:"none"===ve?ve:Re.display}}}return bt.\u0275fac=function(){let Me;return function(ve){return(Me||(Me=t.n5z(bt)))(ve||bt)}}(),bt.\u0275prov=t.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"}),bt})();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 S=(()=>{class bt extends v.iR{constructor(J,ve,Re,at,ni){super(J,Re,ve,at),this._config=ni,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(J){const Re=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=I.get(Re)??new Map,I.set(Re,this.styleCache),this.currentValue!==J&&(this.addStyles(J,{display:Re}),this.currentValue=J)}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.SBq),t.Y36(v.RK),t.Y36(u),t.Y36(v.yB),t.Y36(v.WU))},bt.\u0275dir=t.lG2({type:bt,features:[t.qOj]}),bt})(),w=(()=>{class bt extends S{constructor(){super(...arguments),this.inputs=P}}return bt.\u0275fac=function(){let Me;return function(ve){return(Me||(Me=t.n5z(bt)))(ve||bt)}}(),bt.\u0275dir=t.lG2({type:bt,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:[t.qOj]}),bt})();const I=new Map;let i=(()=>{class bt extends v.QI{constructor(J){super(),this.layoutConfig=J}buildStyles(J,ve){let[Re,at,...ni]=J.split(" "),Gt=ni.join(" ");const ti=ve.direction.indexOf("column")>-1?"column":"row",dt=(0,D.tj)(ti)?"max-width":"max-height",rt=(0,D.tj)(ti)?"min-width":"min-height",vt=String(Gt).indexOf("calc")>-1,ai=vt||"auto"===Gt,Ut=String(Gt).indexOf("%")>-1&&!vt,Vt=String(Gt).indexOf("px")>-1||String(Gt).indexOf("rem")>-1||String(Gt).indexOf("em")>-1||String(Gt).indexOf("vw")>-1||String(Gt).indexOf("vh")>-1;let Rt=vt||Vt;Re="0"==Re?0:Re,at="0"==at?0:at;const je=!Re&&!at;let Fe={};const We={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Gt||""){case"":const Je=!1!==this.layoutConfig.useColumnBasisZero;Gt="row"===ti?"0%":Je?"0.000000001px":"auto";break;case"initial":case"nogrow":Re=0,Gt="auto";break;case"grow":Gt="100%";break;case"noshrink":at=0,Gt="auto";break;case"auto":break;case"none":Re=0,at=0,Gt="auto";break;default:!Rt&&!Ut&&!isNaN(Gt)&&(Gt+="%"),"0%"===Gt&&(Rt=!0),"0px"===Gt&&(Gt="0%"),Fe=(0,D.kt)(We,vt?{"flex-grow":Re,"flex-shrink":at,"flex-basis":Rt?Gt:"100%"}:{flex:`${Re} ${at} ${Rt?Gt:"100%"}`})}return Fe.flex||Fe["flex-grow"]||(Fe=(0,D.kt)(We,vt?{"flex-grow":Re,"flex-shrink":at,"flex-basis":Gt}:{flex:`${Re} ${at} ${Gt}`})),"0%"!==Gt&&"0px"!==Gt&&"0.000000001px"!==Gt&&"auto"!==Gt&&(Fe[rt]=je||Rt&&Re?Gt:null,Fe[dt]=je||!ai&&at?Gt:null),Fe[rt]||Fe[dt]?ve.hasWrap&&(Fe[vt?"flex-basis":"flex"]=Fe[dt]?vt?Fe[dt]:`${Re} ${at} ${Fe[dt]}`:vt?Fe[rt]:`${Re} ${at} ${Fe[rt]}`):Fe=(0,D.kt)(We,vt?{"flex-grow":Re,"flex-shrink":at,"flex-basis":Gt}:{flex:`${Re} ${at} ${Gt}`}),(0,D.kt)(Fe,{"box-sizing":"border-box"})}}return bt.\u0275fac=function(J){return new(J||bt)(t.LFG(v.WU))},bt.\u0275prov=t.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"}),bt})();const r=["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 l=(()=>{class bt extends v.iR{constructor(J,ve,Re,at,ni){super(J,at,ve,ni),this.layoutConfig=Re,this.marshal=ni,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(J){this.flexShrink=J||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(J){this.flexGrow=J||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,C.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,C.R)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(J){const Re=J.value.split(" ");this.direction=Re[0],this.wrap=void 0!==Re[1]&&"wrap"===Re[1],this.triggerUpdate()}updateWithValue(J){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 Re=this.direction,at=Re.startsWith("row"),ni=this.wrap;at&&ni?this.styleCache=g:at&&!ni?this.styleCache=A:!at&&ni?this.styleCache=n:!at&&!ni&&(this.styleCache=k);const Gt=String(J).replace(";",""),ti=(0,v.Ot)(Gt,this.flexGrow,this.flexShrink);this.addStyles(ti.join(" "),{direction:Re,hasWrap:ni})}triggerReflow(){const J=this.activatedValue;if(void 0!==J){const ve=(0,v.Ot)(J+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,ve.join(" "))}}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.SBq),t.Y36(v.RK),t.Y36(v.WU),t.Y36(i),t.Y36(v.yB))},bt.\u0275dir=t.lG2({type:bt,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[t.qOj]}),bt})(),y=(()=>{class bt extends l{constructor(){super(...arguments),this.inputs=r}}return bt.\u0275fac=function(){let Me;return function(ve){return(Me||(Me=t.n5z(bt)))(ve||bt)}}(),bt.\u0275dir=t.lG2({type:bt,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:[t.qOj]}),bt})();const A=new Map,k=new Map,g=new Map,n=new Map;let nt=(()=>{class bt extends v.QI{buildStyles(J,ve){const Re={},[at,ni]=J.split(" ");switch(at){case"center":Re["justify-content"]="center";break;case"space-around":Re["justify-content"]="space-around";break;case"space-between":Re["justify-content"]="space-between";break;case"space-evenly":Re["justify-content"]="space-evenly";break;case"end":case"flex-end":Re["justify-content"]="flex-end";break;default:Re["justify-content"]="flex-start"}switch(ni){case"start":case"flex-start":Re["align-items"]=Re["align-content"]="flex-start";break;case"center":Re["align-items"]=Re["align-content"]="center";break;case"end":case"flex-end":Re["align-items"]=Re["align-content"]="flex-end";break;case"space-between":Re["align-content"]="space-between",Re["align-items"]="stretch";break;case"space-around":Re["align-content"]="space-around",Re["align-items"]="stretch";break;case"baseline":Re["align-content"]="stretch",Re["align-items"]="baseline";break;default:Re["align-items"]=Re["align-content"]="stretch"}return(0,D.kt)(Re,{display:ve.inline?"inline-flex":"flex","flex-direction":ve.layout,"box-sizing":"border-box","max-width":"stretch"===ni?(0,D.tj)(ve.layout)?null:"100%":null,"max-height":"stretch"===ni&&(0,D.tj)(ve.layout)?"100%":null})}}return bt.\u0275fac=function(){let Me;return function(ve){return(Me||(Me=t.n5z(bt)))(ve||bt)}}(),bt.\u0275prov=t.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"}),bt})();const wt=["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 qt=(()=>{class bt extends v.iR{constructor(J,ve,Re,at){super(J,Re,ve,at),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,C.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(J){const ve=this.layout||"row",Re=this.inline;"row"===ve&&Re?this.styleCache=Ct:"row"!==ve||Re?"row-reverse"===ve&&Re?this.styleCache=tt:"row-reverse"!==ve||Re?"column"===ve&&Re?this.styleCache=Pe:"column"!==ve||Re?"column-reverse"===ve&&Re?this.styleCache=Bt:"column-reverse"===ve&&!Re&&(this.styleCache=He):this.styleCache=Nt:this.styleCache=De:this.styleCache=ne,this.addStyles(J,{layout:ve,inline:Re})}onLayoutChange(J){const ve=J.value.split(" ");this.layout=ve[0],this.inline=J.value.includes("inline"),D.iQ.find(Re=>Re===this.layout)||(this.layout="row"),this.triggerUpdate()}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.SBq),t.Y36(v.RK),t.Y36(nt),t.Y36(v.yB))},bt.\u0275dir=t.lG2({type:bt,features:[t.qOj]}),bt})(),_t=(()=>{class bt extends qt{constructor(){super(...arguments),this.inputs=wt}}return bt.\u0275fac=function(){let Me;return function(ve){return(Me||(Me=t.n5z(bt)))(ve||bt)}}(),bt.\u0275dir=t.lG2({type:bt,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:[t.qOj]}),bt})();const ne=new Map,Nt=new Map,De=new Map,He=new Map,Ct=new Map,Pe=new Map,tt=new Map,Bt=new Map;let Ht=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[v.IR,e.vT]}),bt})()},4006:(Ve,Q,m)=>{"use strict";m.d(Q,{Cf:()=>Y,F:()=>Li,Fd:()=>_a,Fj:()=>N,JJ:()=>te,JL:()=>Ue,JU:()=>P,On:()=>_i,Q7:()=>Ea,QS:()=>xn,UX:()=>yt,Zs:()=>Ua,_Y:()=>Fi,a5:()=>Ye,kI:()=>ue,oH:()=>Fr,p4:()=>Gr,qQ:()=>Sa,sg:()=>cr,u:()=>Hr,u5:()=>hi,wV:()=>yn});var t=m(4650),e=m(6895),v=m(457),D=m(4128),o=m(4004);let C=(()=>{class st{constructor(Ge,It){this._renderer=Ge,this._elementRef=It,this.onChange=Si=>{},this.onTouched=()=>{}}setProperty(Ge,It){this._renderer.setProperty(this._elementRef.nativeElement,Ge,It)}registerOnTouched(Ge){this.onTouched=Ge}registerOnChange(Ge){this.onChange=Ge}setDisabledState(Ge){this.setProperty("disabled",Ge)}}return st.\u0275fac=function(Ge){return new(Ge||st)(t.Y36(t.Qsj),t.Y36(t.SBq))},st.\u0275dir=t.lG2({type:st}),st})(),u=(()=>{class st extends C{}return st.\u0275fac=function(){let et;return function(It){return(et||(et=t.n5z(st)))(It||st)}}(),st.\u0275dir=t.lG2({type:st,features:[t.qOj]}),st})();const P=new t.OlP("NgValueAccessor"),w={provide:P,useExisting:(0,t.Gpc)(()=>N),multi:!0},E=new t.OlP("CompositionEventMode");let N=(()=>{class st extends C{constructor(Ge,It,Si){super(Ge,It),this._compositionMode=Si,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function I(){const st=(0,e.q)()?(0,e.q)().getUserAgent():"";return/android (\d+)/.test(st.toLowerCase())}())}writeValue(Ge){this.setProperty("value",Ge??"")}_handleInput(Ge){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ge)}_compositionStart(){this._composing=!0}_compositionEnd(Ge){this._composing=!1,this._compositionMode&&this.onChange(Ge)}}return st.\u0275fac=function(Ge){return new(Ge||st)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(E,8))},st.\u0275dir=t.lG2({type:st,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(Ge,It){1&Ge&&t.NdJ("input",function(Yi){return It._handleInput(Yi.target.value)})("blur",function(){return It.onTouched()})("compositionstart",function(){return It._compositionStart()})("compositionend",function(Yi){return It._compositionEnd(Yi.target.value)})},features:[t._Bn([w]),t.qOj]}),st})();function G(st){return null==st||("string"==typeof st||Array.isArray(st))&&0===st.length}function W(st){return null!=st&&"number"==typeof st.length}const Y=new t.OlP("NgValidators"),X=new t.OlP("NgAsyncValidators"),ee=/^(?=.{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 ue{static min(et){return he(et)}static max(et){return ie(et)}static required(et){return ce(et)}static requiredTrue(et){return $(et)}static email(et){return function fe(st){return G(st.value)||ee.test(st.value)?null:{email:!0}}(et)}static minLength(et){return function T(st){return et=>G(et.value)||!W(et.value)?null:et.value.length<st?{minlength:{requiredLength:st,actualLength:et.value.length}}:null}(et)}static maxLength(et){return function i(st){return et=>W(et.value)&&et.value.length>st?{maxlength:{requiredLength:st,actualLength:et.value.length}}:null}(et)}static pattern(et){return function r(st){if(!st)return h;let et,Ge;return"string"==typeof st?(Ge="","^"!==st.charAt(0)&&(Ge+="^"),Ge+=st,"$"!==st.charAt(st.length-1)&&(Ge+="$"),et=new RegExp(Ge)):(Ge=st.toString(),et=st),It=>{if(G(It.value))return null;const Si=It.value;return et.test(Si)?null:{pattern:{requiredPattern:Ge,actualValue:Si}}}}(et)}static nullValidator(et){return null}static compose(et){return b(et)}static composeAsync(et){return V(et)}}function he(st){return et=>{if(G(et.value)||G(st))return null;const Ge=parseFloat(et.value);return!isNaN(Ge)&&Ge<st?{min:{min:st,actual:et.value}}:null}}function ie(st){return et=>{if(G(et.value)||G(st))return null;const Ge=parseFloat(et.value);return!isNaN(Ge)&&Ge>st?{max:{max:st,actual:et.value}}:null}}function ce(st){return G(st.value)?{required:!0}:null}function $(st){return!0===st.value?null:{required:!0}}function h(st){return null}function l(st){return null!=st}function y(st){return(0,t.QGY)(st)?(0,v.D)(st):st}function A(st){let et={};return st.forEach(Ge=>{et=null!=Ge?{...et,...Ge}:et}),0===Object.keys(et).length?null:et}function k(st,et){return et.map(Ge=>Ge(st))}function n(st){return st.map(et=>function g(st){return!st.validate}(et)?et:Ge=>et.validate(Ge))}function b(st){if(!st)return null;const et=st.filter(l);return 0==et.length?null:function(Ge){return A(k(Ge,et))}}function U(st){return null!=st?b(n(st)):null}function V(st){if(!st)return null;const et=st.filter(l);return 0==et.length?null:function(Ge){const It=k(Ge,et).map(y);return(0,D.D)(It).pipe((0,o.U)(A))}}function j(st){return null!=st?V(n(st)):null}function Ae(st,et){return null===st?[et]:Array.isArray(st)?[...st,et]:[st,et]}function Ke(st){return st._rawValidators}function qe(st){return st._rawAsyncValidators}function ct(st){return st?Array.isArray(st)?st:[st]:[]}function Ie(st,et){return Array.isArray(st)?st.includes(et):st===et}function xe(st,et){const Ge=ct(et);return ct(st).forEach(Si=>{Ie(Ge,Si)||Ge.push(Si)}),Ge}function le(st,et){return ct(et).filter(Ge=>!Ie(st,Ge))}class _e{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(et){this._rawValidators=et||[],this._composedValidatorFn=U(this._rawValidators)}_setAsyncValidators(et){this._rawAsyncValidators=et||[],this._composedAsyncValidatorFn=j(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(et){this._onDestroyCallbacks.push(et)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(et=>et()),this._onDestroyCallbacks=[]}reset(et){this.control&&this.control.reset(et)}hasError(et,Ge){return!!this.control&&this.control.hasError(et,Ge)}getError(et,Ge){return this.control?this.control.getError(et,Ge):null}}class se extends _e{get formDirective(){return null}get path(){return null}}class Ye extends _e{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Te{constructor(et){this._cd=et}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 te=(()=>{class st extends Te{constructor(Ge){super(Ge)}}return st.\u0275fac=function(Ge){return new(Ge||st)(t.Y36(Ye,2))},st.\u0275dir=t.lG2({type:st,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ge,It){2&Ge&&t.ekj("ng-untouched",It.isUntouched)("ng-touched",It.isTouched)("ng-pristine",It.isPristine)("ng-dirty",It.isDirty)("ng-valid",It.isValid)("ng-invalid",It.isInvalid)("ng-pending",It.isPending)},features:[t.qOj]}),st})(),Ue=(()=>{class st extends Te{constructor(Ge){super(Ge)}}return st.\u0275fac=function(Ge){return new(Ge||st)(t.Y36(se,10))},st.\u0275dir=t.lG2({type:st,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ge,It){2&Ge&&t.ekj("ng-untouched",It.isUntouched)("ng-touched",It.isTouched)("ng-pristine",It.isPristine)("ng-dirty",It.isDirty)("ng-valid",It.isValid)("ng-invalid",It.isInvalid)("ng-pending",It.isPending)("ng-submitted",It.isSubmitted)},features:[t.qOj]}),st})();const Bt="VALID",Lt="INVALID",Ht="PENDING",bt="DISABLED";function Me(st){return(at(st)?st.validators:st)||null}function ve(st,et){return(at(et)?et.asyncValidators:st)||null}function at(st){return null!=st&&!Array.isArray(st)&&"object"==typeof st}function ni(st,et,Ge){const It=st.controls;if(!(et?Object.keys(It):It).length)throw new t.vHH(1e3,"");if(!It[Ge])throw new t.vHH(1001,"")}function Gt(st,et,Ge){st._forEachChild((It,Si)=>{if(void 0===Ge[Si])throw new t.vHH(1002,"")})}class ti{constructor(et,Ge){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(et),this._assignAsyncValidators(Ge)}get validator(){return this._composedValidatorFn}set validator(et){this._rawValidators=this._composedValidatorFn=et}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(et){this._rawAsyncValidators=this._composedAsyncValidatorFn=et}get parent(){return this._parent}get valid(){return this.status===Bt}get invalid(){return this.status===Lt}get pending(){return this.status==Ht}get disabled(){return this.status===bt}get enabled(){return this.status!==bt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(et){this._assignValidators(et)}setAsyncValidators(et){this._assignAsyncValidators(et)}addValidators(et){this.setValidators(xe(et,this._rawValidators))}addAsyncValidators(et){this.setAsyncValidators(xe(et,this._rawAsyncValidators))}removeValidators(et){this.setValidators(le(et,this._rawValidators))}removeAsyncValidators(et){this.setAsyncValidators(le(et,this._rawAsyncValidators))}hasValidator(et){return Ie(this._rawValidators,et)}hasAsyncValidator(et){return Ie(this._rawAsyncValidators,et)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(et={}){this.touched=!0,this._parent&&!et.onlySelf&&this._parent.markAsTouched(et)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(et=>et.markAllAsTouched())}markAsUntouched(et={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Ge=>{Ge.markAsUntouched({onlySelf:!0})}),this._parent&&!et.onlySelf&&this._parent._updateTouched(et)}markAsDirty(et={}){this.pristine=!1,this._parent&&!et.onlySelf&&this._parent.markAsDirty(et)}markAsPristine(et={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Ge=>{Ge.markAsPristine({onlySelf:!0})}),this._parent&&!et.onlySelf&&this._parent._updatePristine(et)}markAsPending(et={}){this.status=Ht,!1!==et.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!et.onlySelf&&this._parent.markAsPending(et)}disable(et={}){const Ge=this._parentMarkedDirty(et.onlySelf);this.status=bt,this.errors=null,this._forEachChild(It=>{It.disable({...et,onlySelf:!0})}),this._updateValue(),!1!==et.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...et,skipPristineCheck:Ge}),this._onDisabledChange.forEach(It=>It(!0))}enable(et={}){const Ge=this._parentMarkedDirty(et.onlySelf);this.status=Bt,this._forEachChild(It=>{It.enable({...et,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:et.emitEvent}),this._updateAncestors({...et,skipPristineCheck:Ge}),this._onDisabledChange.forEach(It=>It(!1))}_updateAncestors(et){this._parent&&!et.onlySelf&&(this._parent.updateValueAndValidity(et),et.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(et){this._parent=et}getRawValue(){return this.value}updateValueAndValidity(et={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Bt||this.status===Ht)&&this._runAsyncValidator(et.emitEvent)),!1!==et.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!et.onlySelf&&this._parent.updateValueAndValidity(et)}_updateTreeValidity(et={emitEvent:!0}){this._forEachChild(Ge=>Ge._updateTreeValidity(et)),this.updateValueAndValidity({onlySelf:!0,emitEvent:et.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?bt:Bt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(et){if(this.asyncValidator){this.status=Ht,this._hasOwnPendingAsyncValidator=!0;const Ge=y(this.asyncValidator(this));this._asyncValidationSubscription=Ge.subscribe(It=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(It,{emitEvent:et})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(et,Ge={}){this.errors=et,this._updateControlsErrors(!1!==Ge.emitEvent)}get(et){let Ge=et;return null==Ge||(Array.isArray(Ge)||(Ge=Ge.split(".")),0===Ge.length)?null:Ge.reduce((It,Si)=>It&&It._find(Si),this)}getError(et,Ge){const It=Ge?this.get(Ge):this;return It&&It.errors?It.errors[et]:null}hasError(et,Ge){return!!this.getError(et,Ge)}get root(){let et=this;for(;et._parent;)et=et._parent;return et}_updateControlsErrors(et){this.status=this._calculateStatus(),et&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(et)}_initObservables(){this.valueChanges=new t.vpe,this.statusChanges=new t.vpe}_calculateStatus(){return this._allControlsDisabled()?bt:this.errors?Lt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ht)?Ht:this._anyControlsHaveStatus(Lt)?Lt:Bt}_anyControlsHaveStatus(et){return this._anyControls(Ge=>Ge.status===et)}_anyControlsDirty(){return this._anyControls(et=>et.dirty)}_anyControlsTouched(){return this._anyControls(et=>et.touched)}_updatePristine(et={}){this.pristine=!this._anyControlsDirty(),this._parent&&!et.onlySelf&&this._parent._updatePristine(et)}_updateTouched(et={}){this.touched=this._anyControlsTouched(),this._parent&&!et.onlySelf&&this._parent._updateTouched(et)}_registerOnCollectionChange(et){this._onCollectionChange=et}_setUpdateStrategy(et){at(et)&&null!=et.updateOn&&(this._updateOn=et.updateOn)}_parentMarkedDirty(et){return!et&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(et){return null}_assignValidators(et){this._rawValidators=Array.isArray(et)?et.slice():et,this._composedValidatorFn=function J(st){return Array.isArray(st)?U(st):st||null}(this._rawValidators)}_assignAsyncValidators(et){this._rawAsyncValidators=Array.isArray(et)?et.slice():et,this._composedAsyncValidatorFn=function Re(st){return Array.isArray(st)?j(st):st||null}(this._rawAsyncValidators)}}class dt extends ti{constructor(et,Ge,It){super(Me(Ge),ve(It,Ge)),this.controls=et,this._initObservables(),this._setUpdateStrategy(Ge),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(et,Ge){return this.controls[et]?this.controls[et]:(this.controls[et]=Ge,Ge.setParent(this),Ge._registerOnCollectionChange(this._onCollectionChange),Ge)}addControl(et,Ge,It={}){this.registerControl(et,Ge),this.updateValueAndValidity({emitEvent:It.emitEvent}),this._onCollectionChange()}removeControl(et,Ge={}){this.controls[et]&&this.controls[et]._registerOnCollectionChange(()=>{}),delete this.controls[et],this.updateValueAndValidity({emitEvent:Ge.emitEvent}),this._onCollectionChange()}setControl(et,Ge,It={}){this.controls[et]&&this.controls[et]._registerOnCollectionChange(()=>{}),delete this.controls[et],Ge&&this.registerControl(et,Ge),this.updateValueAndValidity({emitEvent:It.emitEvent}),this._onCollectionChange()}contains(et){return this.controls.hasOwnProperty(et)&&this.controls[et].enabled}setValue(et,Ge={}){Gt(this,0,et),Object.keys(et).forEach(It=>{ni(this,!0,It),this.controls[It].setValue(et[It],{onlySelf:!0,emitEvent:Ge.emitEvent})}),this.updateValueAndValidity(Ge)}patchValue(et,Ge={}){null!=et&&(Object.keys(et).forEach(It=>{const Si=this.controls[It];Si&&Si.patchValue(et[It],{onlySelf:!0,emitEvent:Ge.emitEvent})}),this.updateValueAndValidity(Ge))}reset(et={},Ge={}){this._forEachChild((It,Si)=>{It.reset(et[Si],{onlySelf:!0,emitEvent:Ge.emitEvent})}),this._updatePristine(Ge),this._updateTouched(Ge),this.updateValueAndValidity(Ge)}getRawValue(){return this._reduceChildren({},(et,Ge,It)=>(et[It]=Ge.getRawValue(),et))}_syncPendingControls(){let et=this._reduceChildren(!1,(Ge,It)=>!!It._syncPendingControls()||Ge);return et&&this.updateValueAndValidity({onlySelf:!0}),et}_forEachChild(et){Object.keys(this.controls).forEach(Ge=>{const It=this.controls[Ge];It&&et(It,Ge)})}_setUpControls(){this._forEachChild(et=>{et.setParent(this),et._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(et){for(const[Ge,It]of Object.entries(this.controls))if(this.contains(Ge)&&et(It))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ge,It,Si)=>((It.enabled||this.disabled)&&(Ge[Si]=It.value),Ge))}_reduceChildren(et,Ge){let It=et;return this._forEachChild((Si,Yi)=>{It=Ge(It,Si,Yi)}),It}_allControlsDisabled(){for(const et of Object.keys(this.controls))if(this.controls[et].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(et){return this.controls.hasOwnProperty(et)?this.controls[et]:null}}class ai extends dt{}const Vt=new t.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Rt}),Rt="always";function je(st,et){return[...et.path,st]}function Fe(st,et,Ge=Rt){ui(st,et),et.valueAccessor.writeValue(st.value),(st.disabled||"always"===Ge)&&et.valueAccessor.setDisabledState?.(st.disabled),function xi(st,et){et.valueAccessor.registerOnChange(Ge=>{st._pendingValue=Ge,st._pendingChange=!0,st._pendingDirty=!0,"change"===st.updateOn&&$e(st,et)})}(st,et),function Mt(st,et){const Ge=(It,Si)=>{et.valueAccessor.writeValue(It),Si&&et.viewToModelUpdate(It)};st.registerOnChange(Ge),et._registerOnDestroy(()=>{st._unregisterOnChange(Ge)})}(st,et),function Vi(st,et){et.valueAccessor.registerOnTouched(()=>{st._pendingTouched=!0,"blur"===st.updateOn&&st._pendingChange&&$e(st,et),"submit"!==st.updateOn&&st.markAsTouched()})}(st,et),function Tt(st,et){if(et.valueAccessor.setDisabledState){const Ge=It=>{et.valueAccessor.setDisabledState(It)};st.registerOnDisabledChange(Ge),et._registerOnDestroy(()=>{st._unregisterOnDisabledChange(Ge)})}}(st,et)}function We(st,et,Ge=!0){const It=()=>{};et.valueAccessor&&(et.valueAccessor.registerOnChange(It),et.valueAccessor.registerOnTouched(It)),Ei(st,et),st&&(et._invokeOnDestroyCallbacks(),st._registerOnCollectionChange(()=>{}))}function Je(st,et){st.forEach(Ge=>{Ge.registerOnValidatorChange&&Ge.registerOnValidatorChange(et)})}function ui(st,et){const Ge=Ke(st);null!==et.validator?st.setValidators(Ae(Ge,et.validator)):"function"==typeof Ge&&st.setValidators([Ge]);const It=qe(st);null!==et.asyncValidator?st.setAsyncValidators(Ae(It,et.asyncValidator)):"function"==typeof It&&st.setAsyncValidators([It]);const Si=()=>st.updateValueAndValidity();Je(et._rawValidators,Si),Je(et._rawAsyncValidators,Si)}function Ei(st,et){let Ge=!1;if(null!==st){if(null!==et.validator){const Si=Ke(st);if(Array.isArray(Si)&&Si.length>0){const Yi=Si.filter(or=>or!==et.validator);Yi.length!==Si.length&&(Ge=!0,st.setValidators(Yi))}}if(null!==et.asyncValidator){const Si=qe(st);if(Array.isArray(Si)&&Si.length>0){const Yi=Si.filter(or=>or!==et.asyncValidator);Yi.length!==Si.length&&(Ge=!0,st.setAsyncValidators(Yi))}}}const It=()=>{};return Je(et._rawValidators,It),Je(et._rawAsyncValidators,It),Ge}function $e(st,et){st._pendingDirty&&st.markAsDirty(),st.setValue(st._pendingValue,{emitModelToViewChange:!1}),et.viewToModelUpdate(st._pendingValue),st._pendingChange=!1}function ye(st,et){ui(st,et)}function Zt(st,et){if(!st.hasOwnProperty("model"))return!1;const Ge=st.model;return!!Ge.isFirstChange()||!Object.is(et,Ge.currentValue)}function ge(st,et){st._syncPendingControls(),et.forEach(Ge=>{const It=Ge.control;"submit"===It.updateOn&&It._pendingChange&&(Ge.viewToModelUpdate(It._pendingValue),It._pendingChange=!1)})}function Xe(st,et){if(!et)return null;let Ge,It,Si;return Array.isArray(et),et.forEach(Yi=>{Yi.constructor===N?Ge=Yi:function oi(st){return Object.getPrototypeOf(st.constructor)===u}(Yi)?It=Yi:Si=Yi}),Si||It||Ge||null}const Xt={provide:se,useExisting:(0,t.Gpc)(()=>Li)},zt=(()=>Promise.resolve())();let Li=(()=>{class st extends se{constructor(Ge,It,Si){super(),this.callSetDisabledState=Si,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.vpe,this.form=new dt({},U(Ge),j(It))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Ge){zt.then(()=>{const It=this._findContainer(Ge.path);Ge.control=It.registerControl(Ge.name,Ge.control),Fe(Ge.control,Ge,this.callSetDisabledState),Ge.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Ge)})}getControl(Ge){return this.form.get(Ge.path)}removeControl(Ge){zt.then(()=>{const It=this._findContainer(Ge.path);It&&It.removeControl(Ge.name),this._directives.delete(Ge)})}addFormGroup(Ge){zt.then(()=>{const It=this._findContainer(Ge.path),Si=new dt({});ye(Si,Ge),It.registerControl(Ge.name,Si),Si.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Ge){zt.then(()=>{const It=this._findContainer(Ge.path);It&&It.removeControl(Ge.name)})}getFormGroup(Ge){return this.form.get(Ge.path)}updateModel(Ge,It){zt.then(()=>{this.form.get(Ge.path).setValue(It)})}setValue(Ge){this.control.setValue(Ge)}onSubmit(Ge){return this.submitted=!0,ge(this.form,this._directives),this.ngSubmit.emit(Ge),"dialog"===Ge?.target?.method}onReset(){this.resetForm()}resetForm(Ge){this.form.reset(Ge),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Ge){return Ge.pop(),Ge.length?this.form.get(Ge):this.form}}return st.\u0275fac=function(Ge){return new(Ge||st)(t.Y36(Y,10),t.Y36(X,10),t.Y36(Vt,8))},st.\u0275dir=t.lG2({type:st,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ge,It){1&Ge&&t.NdJ("submit",function(Yi){return It.onSubmit(Yi)})("reset",function(){return It.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([Xt]),t.qOj]}),st})();function dn(st,et){const Ge=st.indexOf(et);Ge>-1&&st.splice(Ge,1)}function on(st){return"object"==typeof st&&null!==st&&2===Object.keys(st).length&&"value"in st&&"disabled"in st}const Xn=class extends ti{constructor(et=null,Ge,It){super(Me(Ge),ve(It,Ge)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(et),this._setUpdateStrategy(Ge),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),at(Ge)&&(Ge.nonNullable||Ge.initialValueIsDefault)&&(this.defaultValue=on(et)?et.value:et)}setValue(et,Ge={}){this.value=this._pendingValue=et,this._onChange.length&&!1!==Ge.emitModelToViewChange&&this._onChange.forEach(It=>It(this.value,!1!==Ge.emitViewToModelChange)),this.updateValueAndValidity(Ge)}patchValue(et,Ge={}){this.setValue(et,Ge)}reset(et=this.defaultValue,Ge={}){this._applyFormState(et),this.markAsPristine(Ge),this.markAsUntouched(Ge),this.setValue(this.value,Ge),this._pendingChange=!1}_updateValue(){}_anyControls(et){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(et){this._onChange.push(et)}_unregisterOnChange(et){dn(this._onChange,et)}registerOnDisabledChange(et){this._onDisabledChange.push(et)}_unregisterOnDisabledChange(et){dn(this._onDisabledChange,et)}_forEachChild(et){}_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(et){on(et)?(this.value=this._pendingValue=et.value,et.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=et}},Gr=Xn,vi={provide:Ye,useExisting:(0,t.Gpc)(()=>_i)},gi=(()=>Promise.resolve())();let _i=(()=>{class st extends Ye{constructor(Ge,It,Si,Yi,or,Ni){super(),this._changeDetectorRef=or,this.callSetDisabledState=Ni,this.control=new Xn,this._registered=!1,this.update=new t.vpe,this._parent=Ge,this._setValidators(It),this._setAsyncValidators(Si),this.valueAccessor=Xe(0,Yi)}ngOnChanges(Ge){if(this._checkForErrors(),!this._registered||"name"in Ge){if(this._registered&&(this._checkName(),this.formDirective)){const It=Ge.name.previousValue;this.formDirective.removeControl({name:It,path:this._getPath(It)})}this._setUpControl()}"isDisabled"in Ge&&this._updateDisabled(Ge),Zt(Ge,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(Ge){this.viewModel=Ge,this.update.emit(Ge)}_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(){Fe(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(Ge){gi.then(()=>{this.control.setValue(Ge,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Ge){const It=Ge.isDisabled.currentValue,Si=0!==It&&(0,t.D6c)(It);gi.then(()=>{Si&&!this.control.disabled?this.control.disable():!Si&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Ge){return this._parent?je(Ge,this._parent):[Ge]}}return st.\u0275fac=function(Ge){return new(Ge||st)(t.Y36(se,9),t.Y36(Y,10),t.Y36(X,10),t.Y36(P,10),t.Y36(t.sBO,8),t.Y36(Vt,8))},st.\u0275dir=t.lG2({type:st,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t._Bn([vi]),t.qOj,t.TTD]}),st})(),Fi=(()=>{class st{}return st.\u0275fac=function(Ge){return new(Ge||st)},st.\u0275dir=t.lG2({type:st,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),st})();const qi={provide:P,useExisting:(0,t.Gpc)(()=>yn),multi:!0};let yn=(()=>{class st extends u{writeValue(Ge){this.setProperty("value",Ge??"")}registerOnChange(Ge){this.onChange=It=>{Ge(""==It?null:parseFloat(It))}}}return st.\u0275fac=function(){let et;return function(It){return(et||(et=t.n5z(st)))(It||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ge,It){1&Ge&&t.NdJ("input",function(Yi){return It.onChange(Yi.target.value)})("blur",function(){return It.onTouched()})},features:[t._Bn([qi]),t.qOj]}),st})(),ar=(()=>{class st{}return st.\u0275fac=function(Ge){return new(Ge||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({}),st})();const dr=new t.OlP("NgModelWithFormControlWarning"),Va={provide:Ye,useExisting:(0,t.Gpc)(()=>Fr)};let Fr=(()=>{class st extends Ye{constructor(Ge,It,Si,Yi,or){super(),this._ngModelWarningConfig=Yi,this.callSetDisabledState=or,this.update=new t.vpe,this._ngModelWarningSent=!1,this._setValidators(Ge),this._setAsyncValidators(It),this.valueAccessor=Xe(0,Si)}set isDisabled(Ge){}ngOnChanges(Ge){if(this._isControlChanged(Ge)){const It=Ge.form.previousValue;It&&We(It,this,!1),Fe(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Zt(Ge,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&We(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Ge){this.viewModel=Ge,this.update.emit(Ge)}_isControlChanged(Ge){return Ge.hasOwnProperty("form")}}return st._ngModelWarningSentOnce=!1,st.\u0275fac=function(Ge){return new(Ge||st)(t.Y36(Y,10),t.Y36(X,10),t.Y36(P,10),t.Y36(dr,8),t.Y36(Vt,8))},st.\u0275dir=t.lG2({type:st,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t._Bn([Va]),t.qOj,t.TTD]}),st})();const jr={provide:se,useExisting:(0,t.Gpc)(()=>cr)};let cr=(()=>{class st extends se{constructor(Ge,It,Si){super(),this.callSetDisabledState=Si,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.vpe,this._setValidators(Ge),this._setAsyncValidators(It)}ngOnChanges(Ge){this._checkFormPresent(),Ge.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ei(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Ge){const It=this.form.get(Ge.path);return Fe(It,Ge,this.callSetDisabledState),It.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ge),It}getControl(Ge){return this.form.get(Ge.path)}removeControl(Ge){We(Ge.control||null,Ge,!1),function St(st,et){const Ge=st.indexOf(et);Ge>-1&&st.splice(Ge,1)}(this.directives,Ge)}addFormGroup(Ge){this._setUpFormContainer(Ge)}removeFormGroup(Ge){this._cleanUpFormContainer(Ge)}getFormGroup(Ge){return this.form.get(Ge.path)}addFormArray(Ge){this._setUpFormContainer(Ge)}removeFormArray(Ge){this._cleanUpFormContainer(Ge)}getFormArray(Ge){return this.form.get(Ge.path)}updateModel(Ge,It){this.form.get(Ge.path).setValue(It)}onSubmit(Ge){return this.submitted=!0,ge(this.form,this.directives),this.ngSubmit.emit(Ge),"dialog"===Ge?.target?.method}onReset(){this.resetForm()}resetForm(Ge){this.form.reset(Ge),this.submitted=!1}_updateDomValue(){this.directives.forEach(Ge=>{const It=Ge.control,Si=this.form.get(Ge.path);It!==Si&&(We(It||null,Ge),(st=>st instanceof Xn)(Si)&&(Fe(Si,Ge,this.callSetDisabledState),Ge.control=Si))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ge){const It=this.form.get(Ge.path);ye(It,Ge),It.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ge){if(this.form){const It=this.form.get(Ge.path);It&&function Ot(st,et){return Ei(st,et)}(It,Ge)&&It.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ui(this.form,this),this._oldForm&&Ei(this._oldForm,this)}_checkFormPresent(){}}return st.\u0275fac=function(Ge){return new(Ge||st)(t.Y36(Y,10),t.Y36(X,10),t.Y36(Vt,8))},st.\u0275dir=t.lG2({type:st,selectors:[["","formGroup",""]],hostBindings:function(Ge,It){1&Ge&&t.NdJ("submit",function(Yi){return It.onSubmit(Yi)})("reset",function(){return It.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([jr]),t.qOj,t.TTD]}),st})();const cs={provide:Ye,useExisting:(0,t.Gpc)(()=>Hr)};let Hr=(()=>{class st extends Ye{constructor(Ge,It,Si,Yi,or){super(),this._ngModelWarningConfig=or,this._added=!1,this.update=new t.vpe,this._ngModelWarningSent=!1,this._parent=Ge,this._setValidators(It),this._setAsyncValidators(Si),this.valueAccessor=Xe(0,Yi)}set isDisabled(Ge){}ngOnChanges(Ge){this._added||this._setUpControl(),Zt(Ge,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Ge){this.viewModel=Ge,this.update.emit(Ge)}get path(){return je(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}}return st._ngModelWarningSentOnce=!1,st.\u0275fac=function(Ge){return new(Ge||st)(t.Y36(se,13),t.Y36(Y,10),t.Y36(X,10),t.Y36(P,10),t.Y36(dr,8))},st.\u0275dir=t.lG2({type:st,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[t._Bn([cs]),t.qOj,t.TTD]}),st})();function Xa(st){return"number"==typeof st?st:parseFloat(st)}let hr=(()=>{class st{constructor(){this._validator=h}ngOnChanges(Ge){if(this.inputName in Ge){const It=this.normalizeInput(Ge[this.inputName].currentValue);this._enabled=this.enabled(It),this._validator=this._enabled?this.createValidator(It):h,this._onChange&&this._onChange()}}validate(Ge){return this._validator(Ge)}registerOnValidatorChange(Ge){this._onChange=Ge}enabled(Ge){return null!=Ge}}return st.\u0275fac=function(Ge){return new(Ge||st)},st.\u0275dir=t.lG2({type:st,features:[t.TTD]}),st})();const zr={provide:Y,useExisting:(0,t.Gpc)(()=>_a),multi:!0};let _a=(()=>{class st extends hr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Ge=>Xa(Ge),this.createValidator=Ge=>ie(Ge)}}return st.\u0275fac=function(){let et;return function(It){return(et||(et=t.n5z(st)))(It||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Ge,It){2&Ge&&t.uIk("max",It._enabled?It.max:null)},inputs:{max:"max"},features:[t._Bn([zr]),t.qOj]}),st})();const $a={provide:Y,useExisting:(0,t.Gpc)(()=>Sa),multi:!0};let Sa=(()=>{class st extends hr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Ge=>Xa(Ge),this.createValidator=Ge=>he(Ge)}}return st.\u0275fac=function(){let et;return function(It){return(et||(et=t.n5z(st)))(It||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Ge,It){2&Ge&&t.uIk("min",It._enabled?It.min:null)},inputs:{min:"min"},features:[t._Bn([$a]),t.qOj]}),st})();const us={provide:Y,useExisting:(0,t.Gpc)(()=>Ea),multi:!0},Wr={provide:Y,useExisting:(0,t.Gpc)(()=>Ua),multi:!0};let Ea=(()=>{class st extends hr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.D6c,this.createValidator=Ge=>ce}enabled(Ge){return Ge}}return st.\u0275fac=function(){let et;return function(It){return(et||(et=t.n5z(st)))(It||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ge,It){2&Ge&&t.uIk("required",It._enabled?"":null)},inputs:{required:"required"},features:[t._Bn([us]),t.qOj]}),st})(),Ua=(()=>{class st extends Ea{constructor(){super(...arguments),this.createValidator=Ge=>$}}return st.\u0275fac=function(){let et;return function(It){return(et||(et=t.n5z(st)))(It||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Ge,It){2&Ge&&t.uIk("required",It._enabled?"":null)},features:[t._Bn([Wr]),t.qOj]}),st})(),Ft=(()=>{class st{}return st.\u0275fac=function(Ge){return new(Ge||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({imports:[ar]}),st})(),hi=(()=>{class st{static withConfig(Ge){return{ngModule:st,providers:[{provide:Vt,useValue:Ge.callSetDisabledState??Rt}]}}}return st.\u0275fac=function(Ge){return new(Ge||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({imports:[Ft]}),st})(),yt=(()=>{class st{static withConfig(Ge){return{ngModule:st,providers:[{provide:dr,useValue:Ge.warnOnNgModelWithFormControl??"always"},{provide:Vt,useValue:Ge.callSetDisabledState??Rt}]}}}return st.\u0275fac=function(Ge){return new(Ge||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({imports:[Ft]}),st})();class si extends ti{constructor(et,Ge,It){super(Me(Ge),ve(It,Ge)),this.controls=et,this._initObservables(),this._setUpdateStrategy(Ge),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(et){return this.controls[this._adjustIndex(et)]}push(et,Ge={}){this.controls.push(et),this._registerControl(et),this.updateValueAndValidity({emitEvent:Ge.emitEvent}),this._onCollectionChange()}insert(et,Ge,It={}){this.controls.splice(et,0,Ge),this._registerControl(Ge),this.updateValueAndValidity({emitEvent:It.emitEvent})}removeAt(et,Ge={}){let It=this._adjustIndex(et);It<0&&(It=0),this.controls[It]&&this.controls[It]._registerOnCollectionChange(()=>{}),this.controls.splice(It,1),this.updateValueAndValidity({emitEvent:Ge.emitEvent})}setControl(et,Ge,It={}){let Si=this._adjustIndex(et);Si<0&&(Si=0),this.controls[Si]&&this.controls[Si]._registerOnCollectionChange(()=>{}),this.controls.splice(Si,1),Ge&&(this.controls.splice(Si,0,Ge),this._registerControl(Ge)),this.updateValueAndValidity({emitEvent:It.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(et,Ge={}){Gt(this,0,et),et.forEach((It,Si)=>{ni(this,!1,Si),this.at(Si).setValue(It,{onlySelf:!0,emitEvent:Ge.emitEvent})}),this.updateValueAndValidity(Ge)}patchValue(et,Ge={}){null!=et&&(et.forEach((It,Si)=>{this.at(Si)&&this.at(Si).patchValue(It,{onlySelf:!0,emitEvent:Ge.emitEvent})}),this.updateValueAndValidity(Ge))}reset(et=[],Ge={}){this._forEachChild((It,Si)=>{It.reset(et[Si],{onlySelf:!0,emitEvent:Ge.emitEvent})}),this._updatePristine(Ge),this._updateTouched(Ge),this.updateValueAndValidity(Ge)}getRawValue(){return this.controls.map(et=>et.getRawValue())}clear(et={}){this.controls.length<1||(this._forEachChild(Ge=>Ge._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:et.emitEvent}))}_adjustIndex(et){return et<0?et+this.length:et}_syncPendingControls(){let et=this.controls.reduce((Ge,It)=>!!It._syncPendingControls()||Ge,!1);return et&&this.updateValueAndValidity({onlySelf:!0}),et}_forEachChild(et){this.controls.forEach((Ge,It)=>{et(Ge,It)})}_updateValue(){this.value=this.controls.filter(et=>et.enabled||this.disabled).map(et=>et.value)}_anyControls(et){return this.controls.some(Ge=>Ge.enabled&&et(Ge))}_setUpControls(){this._forEachChild(et=>this._registerControl(et))}_allControlsDisabled(){for(const et of this.controls)if(et.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(et){et.setParent(this),et._registerOnCollectionChange(this._onCollectionChange)}_find(et){return this.at(et)??null}}function Un(st){return!!st&&(void 0!==st.asyncValidators||void 0!==st.validators||void 0!==st.updateOn)}let vr=(()=>{class st{constructor(){this.useNonNullable=!1}get nonNullable(){const Ge=new st;return Ge.useNonNullable=!0,Ge}group(Ge,It=null){const Si=this._reduceControls(Ge);let Yi={};return Un(It)?Yi=It:null!==It&&(Yi.validators=It.validator,Yi.asyncValidators=It.asyncValidator),new dt(Si,Yi)}record(Ge,It=null){const Si=this._reduceControls(Ge);return new ai(Si,It)}control(Ge,It,Si){let Yi={};return this.useNonNullable?(Un(It)?Yi=It:(Yi.validators=It,Yi.asyncValidators=Si),new Xn(Ge,{...Yi,nonNullable:!0})):new Xn(Ge,It,Si)}array(Ge,It,Si){const Yi=Ge.map(or=>this._createControl(or));return new si(Yi,It,Si)}_reduceControls(Ge){const It={};return Object.keys(Ge).forEach(Si=>{It[Si]=this._createControl(Ge[Si])}),It}_createControl(Ge){return Ge instanceof Xn||Ge instanceof ti?Ge:Array.isArray(Ge)?this.control(Ge[0],Ge.length>1?Ge[1]:null,Ge.length>2?Ge[2]:null):this.control(Ge)}}return st.\u0275fac=function(Ge){return new(Ge||st)},st.\u0275prov=t.Yz7({token:st,factory:st.\u0275fac,providedIn:yt}),st})(),xn=(()=>{class st extends vr{group(Ge,It=null){return super.group(Ge,It)}control(Ge,It,Si){return super.control(Ge,It,Si)}array(Ge,It,Si){return super.array(Ge,It,Si)}}return st.\u0275fac=function(){let et;return function(It){return(et||(et=t.n5z(st)))(It||st)}}(),st.\u0275prov=t.Yz7({token:st,factory:st.\u0275fac,providedIn:yt}),st})()},7957:(Ve,Q,m)=>{"use strict";m.d(Q,{Bb:()=>_e,XC:()=>U,ZL:()=>le});var t=m(4650),e=m(3238),v=m(6895),D=m(531),o=m(8184),C=m(4761),u=m(1281),P=m(3353),d=m(7340),S=m(727),w=m(7579),I=m(9770),E=m(6451),N=m(9646),z=m(4968),G=m(445),W=m(9521),Y=m(4080),X=m(4006),ee=m(9549),ue=m(8675),he=m(3900),ie=m(5698),ce=m(9300),$=m(4004),fe=m(8505),T=m(4086);const i=["panel"];function r(se,Ye){if(1&se&&(t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA()),2&se){const Te=Ye.id,oe=t.oxw();t.Q6J("id",oe.id)("ngClass",oe._classList)("@panelAnimation",oe.isOpen?"visible":"hidden"),t.uIk("aria-label",oe.ariaLabel||null)("aria-labelledby",oe._getPanelAriaLabelledby(Te))}}const h=["*"],l=(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 y=0;class A{constructor(Ye,Te){this.source=Ye,this.option=Te}}const k=(0,e.Kr)(class{}),g=new t.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function n(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let b=(()=>{class se extends k{constructor(Te,oe,be,te){super(),this._changeDetectorRef=Te,this._elementRef=oe,this._activeOptionChanges=S.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new t.vpe,this.opened=new t.vpe,this.closed=new t.vpe,this.optionActivated=new t.vpe,this._classList={},this.id="mat-autocomplete-"+y++,this.inertGroups=te?.SAFARI||!1,this._autoActiveFirstOption=!!be.autoActiveFirstOption,this._autoSelectActiveOption=!!be.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(Te){this._autoActiveFirstOption=(0,u.Ig)(Te)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(Te){this._autoSelectActiveOption=(0,u.Ig)(Te)}set classList(Te){this._classList=Te&&Te.length?(0,u.du)(Te).reduce((oe,be)=>(oe[be]=!0,oe),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new C.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(Te=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Te]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(Te){this.panel&&(this.panel.nativeElement.scrollTop=Te)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Te){const oe=new A(this,Te);this.optionSelected.emit(oe)}_getPanelAriaLabelledby(Te){return this.ariaLabel?null:this.ariaLabelledby?(Te?Te+" ":"")+this.ariaLabelledby:Te}_setVisibilityClasses(Te){Te[this._visibleClass]=this.showPanel,Te[this._hiddenClass]=!this.showPanel}}return se.\u0275fac=function(Te){return new(Te||se)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(g),t.Y36(P.t4))},se.\u0275dir=t.lG2({type:se,viewQuery:function(Te,oe){if(1&Te&&(t.Gf(t.Rgc,7),t.Gf(i,5)),2&Te){let be;t.iGM(be=t.CRH())&&(oe.template=be.first),t.iGM(be=t.CRH())&&(oe.panel=be.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[t.qOj]}),se})(),U=(()=>{class se extends b{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden"}}return se.\u0275fac=function(){let Ye;return function(oe){return(Ye||(Ye=t.n5z(se)))(oe||se)}}(),se.\u0275cmp=t.Xpm({type:se,selectors:[["mat-autocomplete"]],contentQueries:function(Te,oe,be){if(1&Te&&(t.Suo(be,e.K7,5),t.Suo(be,e.ey,5)),2&Te){let te;t.iGM(te=t.CRH())&&(oe.optionGroups=te),t.iGM(te=t.CRH())&&(oe.options=te)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[t._Bn([{provide:e.HF,useExisting:se}]),t.qOj],ngContentSelectors:h,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(Te,oe){1&Te&&(t.F$t(),t.YNc(0,r,3,5,"ng-template"))},dependencies:[v.mk],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[l]},changeDetection:0}),se})();const Ae={provide:X.JU,useExisting:(0,t.Gpc)(()=>le),multi:!0},qe=new t.OlP("mat-autocomplete-scroll-strategy"),Ie={provide:qe,deps:[o.aV],useFactory:function ct(se){return()=>se.scrollStrategies.reposition()}};let xe=(()=>{class se{constructor(Te,oe,be,te,Ue,Be,q,de,Ce,ke,ht){this._element=Te,this._overlay=oe,this._viewContainerRef=be,this._zone=te,this._changeDetectorRef=Ue,this._dir=q,this._formField=de,this._document=Ce,this._viewportRuler=ke,this._defaults=ht,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=S.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new w.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,I.P)(()=>{const nt=this.autocomplete?this.autocomplete.options:null;return nt?nt.changes.pipe((0,ue.O)(nt),(0,he.w)(()=>(0,E.T)(...nt.map(wt=>wt.onSelectionChange)))):this._zone.onStable.pipe((0,ie.q)(1),(0,he.w)(()=>this.optionSelections))}),this._scrollStrategy=Be}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(Te){this._autocompleteDisabled=(0,u.Ig)(Te)}ngAfterViewInit(){const Te=this._getWindow();typeof Te<"u"&&this._zone.runOutsideAngular(()=>Te.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Te){Te.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Te=this._getWindow();typeof Te<"u"&&Te.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}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._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,E.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,ce.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,ce.h)(()=>this._overlayAttached)):(0,N.of)()).pipe((0,$.U)(Te=>Te instanceof e.rN?Te:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,E.T)((0,z.R)(this._document,"click"),(0,z.R)(this._document,"auxclick"),(0,z.R)(this._document,"touchend")).pipe((0,ce.h)(Te=>{const oe=(0,P.sA)(Te),be=this._formField?this._formField._elementRef.nativeElement:null,te=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&oe!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!be||!be.contains(oe))&&(!te||!te.contains(oe))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(oe)}))}writeValue(Te){Promise.resolve(null).then(()=>this._assignOptionValue(Te))}registerOnChange(Te){this._onChange=Te}registerOnTouched(Te){this._onTouched=Te}setDisabledState(Te){this._element.nativeElement.disabled=Te}_handleKeydown(Te){const oe=Te.keyCode,be=(0,W.Vb)(Te);if(oe===W.hY&&!be&&Te.preventDefault(),this.activeOption&&oe===W.K5&&this.panelOpen&&!be)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Te.preventDefault();else if(this.autocomplete){const te=this.autocomplete._keyManager.activeItem,Ue=oe===W.LH||oe===W.JH;oe===W.Mf||Ue&&!be&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Te):Ue&&this._canOpen()&&this.openPanel(),(Ue||this.autocomplete._keyManager.activeItem!==te)&&(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(Te){let oe=Te.target,be=oe.value;"number"===oe.type&&(be=""==be?null:parseFloat(be)),this._previousValue!==be&&(this._previousValue=be,this._pendingAutoselectedOption=null,this._onChange(be),this._canOpen()&&this._document.activeElement===Te.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(Te=!1){this._formField&&"auto"===this._formField.floatLabel&&(Te?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Te=this._zone.onStable.pipe((0,ie.q)(1)),oe=this.autocomplete.options.changes.pipe((0,fe.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,T.g)(0));return(0,E.T)(Te,oe).pipe((0,he.w)(()=>(this._zone.run(()=>{const be=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),be!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,ie.q)(1)).subscribe(be=>this._setValueAndClose(be))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Te){const oe=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Te):Te;this._updateNativeInputValue(oe??"")}_updateNativeInputValue(Te){this._formField?this._formField._control.value=Te:this._element.nativeElement.value=Te,this._previousValue=Te}_setValueAndClose(Te){const oe=Te?Te.source:this._pendingAutoselectedOption;oe&&(this._clearPreviousSelectedOption(oe),this._assignOptionValue(oe.value),this._onChange(oe.value),this.autocomplete._emitSelectEvent(oe),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(Te){this.autocomplete.options.forEach(oe=>{oe!==Te&&oe.selected&&oe.deselect()})}_attachOverlay(){let Te=this._overlayRef;Te?(this._positionStrategy.setOrigin(this._getConnectedElement()),Te.updateSize({width:this._getPanelWidth()})):(this._portal=new Y.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Te=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Te,this._handleOverlayEvents(Te),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Te&&Te.updateSize({width:this._getPanelWidth()})})),Te&&!Te.hasAttached()&&(Te.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const oe=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&oe!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new o.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const Te=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Te),this._positionStrategy=Te,Te}_setStrategyPositions(Te){const oe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],be=this._aboveClass,te=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:be},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:be}];let Ue;Ue="above"===this.position?te:"below"===this.position?oe:[...oe,...te],Te.withPositions(Ue)}_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 Te=this.autocomplete;Te.autoActiveFirstOption?Te._keyManager.setFirstItemActive():Te._keyManager.setActiveItem(-1)}_canOpen(){const Te=this._element.nativeElement;return!Te.readOnly&&!Te.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(Te){const oe=this.autocomplete,be=(0,e.CB)(Te,oe.options,oe.optionGroups);if(0===Te&&1===be)oe._setScrollTop(0);else if(oe.panel){const te=oe.options.toArray()[Te];if(te){const Ue=te._getHostElement(),Be=(0,e.jH)(Ue.offsetTop,Ue.offsetHeight,oe._getScrollTop(),oe.panel.nativeElement.offsetHeight);oe._setScrollTop(Be)}}}_handleOverlayEvents(Te){Te.keydownEvents().subscribe(oe=>{(oe.keyCode===W.hY&&!(0,W.Vb)(oe)||oe.keyCode===W.LH&&(0,W.Vb)(oe,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),oe.stopPropagation(),oe.preventDefault())}),Te.outsidePointerEvents().subscribe()}}return se.\u0275fac=function(Te){return new(Te||se)(t.Y36(t.SBq),t.Y36(o.aV),t.Y36(t.s_b),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(qe),t.Y36(G.Is,8),t.Y36(ee.G_,9),t.Y36(v.K0,8),t.Y36(D.rL),t.Y36(g,8))},se.\u0275dir=t.lG2({type:se,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[t.TTD]}),se})(),le=(()=>{class se extends xe{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return se.\u0275fac=function(){let Ye;return function(oe){return(Ye||(Ye=t.n5z(se)))(oe||se)}}(),se.\u0275dir=t.lG2({type:se,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(Te,oe){1&Te&&t.NdJ("focusin",function(){return oe._handleFocus()})("blur",function(){return oe._onTouched()})("input",function(te){return oe._handleInput(te)})("keydown",function(te){return oe._handleKeydown(te)})("click",function(){return oe._handleClick()}),2&Te&&t.uIk("autocomplete",oe.autocompleteAttribute)("role",oe.autocompleteDisabled?null:"combobox")("aria-autocomplete",oe.autocompleteDisabled?null:"list")("aria-activedescendant",oe.panelOpen&&oe.activeOption?oe.activeOption.id:null)("aria-expanded",oe.autocompleteDisabled?null:oe.panelOpen.toString())("aria-owns",oe.autocompleteDisabled||!oe.panelOpen||null==oe.autocomplete?null:oe.autocomplete.id)("aria-haspopup",oe.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[t._Bn([Ae]),t.qOj]}),se})(),_e=(()=>{class se{}return se.\u0275fac=function(Te){return new(Te||se)},se.\u0275mod=t.oAB({type:se}),se.\u0275inj=t.cJS({providers:[Ie],imports:[o.U8,e.Ng,e.BQ,v.ez,D.ZD,e.Ng,e.BQ]}),se})()},2673:(Ve,Q,m)=>{"use strict";m.d(Q,{g:()=>d,k:()=>P});var t=m(4650),e=m(3238),v=m(4761),D=m(1281);let o=0;const C=(0,e.Id)(class{}),u="mat-badge-content";let P=(()=>{class S extends C{constructor(I,E,N,z,G){super(),this._ngZone=I,this._elementRef=E,this._ariaDescriber=N,this._renderer=z,this._animationMode=G,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=o++,this._isInitialized=!1}get color(){return this._color}set color(I){this._setColor(I),this._color=I}get overlap(){return this._overlap}set overlap(I){this._overlap=(0,D.Ig)(I)}get content(){return this._content}set content(I){this._updateRenderedContent(I)}get description(){return this._description}set description(I){this._updateHostAriaDescription(I)}get hidden(){return this._hidden}set hidden(I){this._hidden=(0,D.Ig)(I)}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._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const I=this._renderer.createElement("span"),E="mat-badge-active";return I.setAttribute("id",`mat-badge-content-${this._id}`),I.setAttribute("aria-hidden","true"),I.classList.add(u),"NoopAnimations"===this._animationMode&&I.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(I),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{I.classList.add(E)})}):I.classList.add(E),I}_updateRenderedContent(I){const E=`${I??""}`.trim();this._isInitialized&&E&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=E),this._content=E}_updateHostAriaDescription(I){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),I&&this._ariaDescriber.describe(this._elementRef.nativeElement,I),this._description=I}_setColor(I){const E=this._elementRef.nativeElement.classList;E.remove(`mat-badge-${this._color}`),I&&E.add(`mat-badge-${I}`)}_clearExistingBadges(){const I=this._elementRef.nativeElement.querySelectorAll(`:scope > .${u}`);for(const E of Array.from(I))E!==this._badgeElement&&E.remove()}}return S.\u0275fac=function(I){return new(I||S)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(v.$s),t.Y36(t.Qsj),t.Y36(t.QbO,8))},S.\u0275dir=t.lG2({type:S,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(I,E){2&I&&t.ekj("mat-badge-overlap",E.overlap)("mat-badge-above",E.isAbove())("mat-badge-below",!E.isAbove())("mat-badge-before",!E.isAfter())("mat-badge-after",E.isAfter())("mat-badge-small","small"===E.size)("mat-badge-medium","medium"===E.size)("mat-badge-large","large"===E.size)("mat-badge-hidden",E.hidden||!E.content)("mat-badge-disabled",E.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[t.qOj]}),S})(),d=(()=>{class S{}return S.\u0275fac=function(I){return new(I||S)},S.\u0275mod=t.oAB({type:S}),S.\u0275inj=t.cJS({imports:[v.rt,e.BQ,e.BQ]}),S})()},4859:(Ve,Q,m)=>{"use strict";m.d(Q,{RK:()=>k,lW:()=>ce,nh:()=>l,ot:()=>n});var t=m(3353),e=m(4650),v=m(4761),D=m(3238);const o=["mat-button",""],C=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],u=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],w=["mat-mini-fab",""],E=["mat-icon-button",""],N=["*"],Y=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],X=(0,D.pj)((0,D.Id)((0,D.Kr)(class{constructor(b){this._elementRef=b}})));let ee=(()=>{class b extends X{constructor(V,j,Ae,Ke){super(V),this._platform=j,this._ngZone=Ae,this._animationMode=Ke,this._focusMonitor=(0,e.f3M)(v.tE),this._isFab=!1;const qe=V.nativeElement.classList;for(const ct of Y)this._hasHostAttributes(ct.selector)&&ct.mdcClasses.forEach(Ie=>{qe.add(Ie)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(V="program",j){V?this._focusMonitor.focusVia(this._elementRef.nativeElement,V,j):this._elementRef.nativeElement.focus(j)}_hasHostAttributes(...V){return V.some(j=>this._elementRef.nativeElement.hasAttribute(j))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return b.\u0275fac=function(V){e.$Z()},b.\u0275dir=e.lG2({type:b,viewQuery:function(V,j){if(1&V&&e.Gf(D.wG,5),2&V){let Ae;e.iGM(Ae=e.CRH())&&(j.ripple=Ae.first)}},features:[e.qOj]}),b})(),ce=(()=>{class b extends ee{constructor(V,j,Ae,Ke){super(V,j,Ae,Ke)}}return b.\u0275fac=function(V){return new(V||b)(e.Y36(e.SBq),e.Y36(t.t4),e.Y36(e.R0b),e.Y36(e.QbO,8))},b.\u0275cmp=e.Xpm({type:b,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(V,j){2&V&&(e.uIk("disabled",j.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===j._animationMode)("mat-unthemed",!j.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:o,ngContentSelectors:u,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(V,j){1&V&&(e.F$t(C),e._UZ(0,"span",0),e.Hsn(1),e.TgZ(2,"span",1),e.Hsn(3,1),e.qZA(),e.Hsn(4,2),e._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&V&&(e.ekj("mdc-button__ripple",!j._isFab)("mdc-fab__ripple",j._isFab),e.xp6(6),e.Q6J("matRippleDisabled",j._isRippleDisabled())("matRippleTrigger",j._elementRef.nativeElement))},dependencies:[D.wG],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(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );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, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 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-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 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))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 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))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 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-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 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))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.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, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.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-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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.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}),b})();const fe=new e.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:T});function T(){return{color:"accent"}}const i=T();let l=(()=>{class b extends ee{constructor(V,j,Ae,Ke,qe){super(V,j,Ae,Ke),this._options=qe,this._isFab=!0,this._options=this._options||i,this.color=this.defaultColor=this._options.color||i.color}}return b.\u0275fac=function(V){return new(V||b)(e.Y36(e.SBq),e.Y36(t.t4),e.Y36(e.R0b),e.Y36(e.QbO,8),e.Y36(fe,8))},b.\u0275cmp=e.Xpm({type:b,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(V,j){2&V&&(e.uIk("disabled",j.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===j._animationMode)("mat-unthemed",!j.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:w,ngContentSelectors:u,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(V,j){1&V&&(e.F$t(C),e._UZ(0,"span",0),e.Hsn(1),e.TgZ(2,"span",1),e.Hsn(3,1),e.qZA(),e.Hsn(4,2),e._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&V&&(e.ekj("mdc-button__ripple",!j._isFab)("mdc-fab__ripple",j._isFab),e.xp6(6),e.Q6J("matRippleDisabled",j._isRippleDisabled())("matRippleTrigger",j._elementRef.nativeElement))},dependencies:[D.wG],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-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 .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(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@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{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{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)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);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);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.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-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.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, 50%)}.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)}.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{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.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}),b})(),k=(()=>{class b extends ee{constructor(V,j,Ae,Ke){super(V,j,Ae,Ke)}}return b.\u0275fac=function(V){return new(V||b)(e.Y36(e.SBq),e.Y36(t.t4),e.Y36(e.R0b),e.Y36(e.QbO,8))},b.\u0275cmp=e.Xpm({type:b,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(V,j){2&V&&(e.uIk("disabled",j.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===j._animationMode)("mat-unthemed",!j.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:E,ngContentSelectors:N,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(V,j){1&V&&(e.F$t(),e._UZ(0,"span",0),e.Hsn(1),e._UZ(2,"span",1)(3,"span",2)(4,"span",3)),2&V&&(e.xp6(3),e.Q6J("matRippleDisabled",j._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",j._elementRef.nativeElement))},dependencies:[D.wG],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.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, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.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-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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-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}),b})(),n=(()=>{class b{}return b.\u0275fac=function(V){return new(V||b)},b.\u0275mod=e.oAB({type:b}),b.\u0275inj=e.cJS({imports:[D.BQ,D.si,D.BQ]}),b})()},3546:(Ve,Q,m)=>{"use strict";m.d(Q,{$j:()=>N,QW:()=>$,a8:()=>S,dk:()=>G,dn:()=>E,n5:()=>w});var t=m(4650),e=m(6895),v=m(3238);const D=["*"],u=[[["","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 t.OlP("MAT_CARD_CONFIG");let S=(()=>{class fe{constructor(i){this.appearance=i?.appearance||"raised"}}return fe.\u0275fac=function(i){return new(i||fe)(t.Y36(d,8))},fe.\u0275cmp=t.Xpm({type:fe,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,r){2&i&&t.ekj("mat-mdc-card-outlined","outlined"===r.appearance)("mdc-card--outlined","outlined"===r.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:D,decls:1,vars:0,template:function(i,r){1&i&&(t.F$t(),t.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{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}.mat-mdc-card{position:relative;border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px));background-color:var(--mdc-elevated-card-container-color, transparent);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color, transparent)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width, 1px);border-style:solid;border-color:var(--mdc-outlined-card-outline-color, transparent)}.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}),fe})(),w=(()=>{class fe{}return fe.\u0275fac=function(i){return new(i||fe)},fe.\u0275dir=t.lG2({type:fe,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),fe})(),E=(()=>{class fe{}return fe.\u0275fac=function(i){return new(i||fe)},fe.\u0275dir=t.lG2({type:fe,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),fe})(),N=(()=>{class fe{}return fe.\u0275fac=function(i){return new(i||fe)},fe.\u0275dir=t.lG2({type:fe,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]}),fe})(),G=(()=>{class fe{}return fe.\u0275fac=function(i){return new(i||fe)},fe.\u0275cmp=t.Xpm({type:fe,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(i,r){1&i&&(t.F$t(u),t.Hsn(0),t.TgZ(1,"div",0),t.Hsn(2,1),t.qZA(),t.Hsn(3,2))},encapsulation:2,changeDetection:0}),fe})(),$=(()=>{class fe{}return fe.\u0275fac=function(i){return new(i||fe)},fe.\u0275mod=t.oAB({type:fe}),fe.\u0275inj=t.cJS({imports:[v.BQ,e.ez,v.BQ]}),fe})()},6709:(Ve,Q,m)=>{"use strict";m.d(Q,{oG:()=>G,p9:()=>ee});var t=m(4650),e=m(4006),v=m(3238),D=m(1281);const o=["input"],C=["label"],u=["*"],P=new t.OlP("mat-checkbox-default-options",{providedIn:"root",factory:d});function d(){return{color:"accent",clickAction:"check-indeterminate"}}const S={provide:e.JU,useExisting:(0,t.Gpc)(()=>G),multi:!0};class w{}let I=0;const E=d(),N=(0,v.sb)((0,v.pj)((0,v.Kr)((0,v.Id)(class{constructor(ue){this._elementRef=ue}}))));let z=(()=>{class ue extends N{constructor(ie,ce,$,fe,T,i,r){super(ce),this._changeDetectorRef=$,this._ngZone=fe,this._animationMode=i,this._options=r,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new t.vpe,this.indeterminateChange=new t.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||E,this.color=this.defaultColor=this._options.color||E.color,this.tabIndex=parseInt(T)||0,this.id=this._uniqueId=`${ie}${++I}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(ie){this._required=(0,D.Ig)(ie)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(ie){const ce=(0,D.Ig)(ie);ce!=this.checked&&(this._checked=ce,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ie){const ce=(0,D.Ig)(ie);ce!==this.disabled&&(this._disabled=ce,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(ie){const ce=ie!=this._indeterminate;this._indeterminate=(0,D.Ig)(ie),ce&&(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}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(ie){let ce=this._currentCheckState,$=this._getAnimationTargetElement();if(ce!==ie&&$&&(this._currentAnimationClass&&$.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ce,ie),this._currentCheckState=ie,this._currentAnimationClass.length>0)){$.classList.add(this._currentAnimationClass);const fe=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{$.classList.remove(fe)},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,ce){if("NoopAnimations"===this._animationMode)return"";switch(ie){case 0:if(1===ce)return this._animationClasses.uncheckedToChecked;if(3==ce)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===ce?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===ce?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===ce?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(ie){const ce=this._inputElement;ce&&(ce.nativeElement.indeterminate=ie)}}return ue.\u0275fac=function(ie){t.$Z()},ue.\u0275dir=t.lG2({type:ue,viewQuery:function(ie,ce){if(1&ie&&(t.Gf(o,5),t.Gf(C,5),t.Gf(v.wG,5)),2&ie){let $;t.iGM($=t.CRH())&&(ce._inputElement=$.first),t.iGM($=t.CRH())&&(ce._labelElement=$.first),t.iGM($=t.CRH())&&(ce.ripple=$.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[t.qOj]}),ue})(),G=(()=>{class ue extends z{constructor(ie,ce,$,fe,T,i){super("mat-mdc-checkbox-",ie,ce,$,fe,T,i),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"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(ie){const ce=new w;return ce.source=this,ce.checked=ie,ce}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_preventBubblingFromLabel(ie){ie.target&&this._labelElement.nativeElement.contains(ie.target)&&ie.stopPropagation()}}return ue.\u0275fac=function(ie){return new(ie||ue)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.$8M("tabindex"),t.Y36(t.QbO,8),t.Y36(P,8))},ue.\u0275cmp=t.Xpm({type:ue,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(ie,ce){2&ie&&(t.Ikx("id",ce.id),t.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),t.ekj("_mat-animation-noopable","NoopAnimations"===ce._animationMode)("mdc-checkbox--disabled",ce.disabled)("mat-mdc-checkbox-disabled",ce.disabled)("mat-mdc-checkbox-checked",ce.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[t._Bn([S]),t.qOj],ngContentSelectors:u,decls:15,vars:19,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","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"],[3,"for"],["label",""]],template:function(ie,ce){if(1&ie&&(t.F$t(),t.TgZ(0,"div",0),t.NdJ("click",function(fe){return ce._preventBubblingFromLabel(fe)}),t.TgZ(1,"div",1,2)(3,"div",3),t.NdJ("click",function(){return ce._onInputClick()}),t.qZA(),t.TgZ(4,"input",4,5),t.NdJ("blur",function(){return ce._onBlur()})("click",function(){return ce._onInputClick()})("change",function(fe){return ce._onInteractionEvent(fe)}),t.qZA(),t._UZ(6,"div",6),t.TgZ(7,"div",7),t.O4$(),t.TgZ(8,"svg",8),t._UZ(9,"path",9),t.qZA(),t.kcU(),t._UZ(10,"div",10),t.qZA(),t._UZ(11,"div",11),t.qZA(),t.TgZ(12,"label",12,13),t.Hsn(14),t.qZA()()),2&ie){const $=t.MAs(2);t.ekj("mdc-form-field--align-end","before"==ce.labelPosition),t.xp6(4),t.ekj("mdc-checkbox--selected",ce.checked),t.Q6J("checked",ce.checked)("disabled",ce.disabled)("id",ce.inputId)("required",ce.required)("tabIndex",ce.tabIndex),t.uIk("aria-checked",ce._getAriaChecked())("aria-label",ce.ariaLabel||null)("aria-labelledby",ce.ariaLabelledby)("aria-describedby",ce.ariaDescribedby)("name",ce.name)("value",ce.value),t.xp6(7),t.Q6J("matRippleTrigger",$)("matRippleDisabled",ce.disableRipple||ce.disabled)("matRippleCentered",!0),t.xp6(1),t.Q6J("for",ce.inputId)}},dependencies:[v.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, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.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}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .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, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .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, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .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, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .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, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .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, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .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, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .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-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .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-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.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}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.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-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}),ue})(),X=(()=>{class ue{}return ue.\u0275fac=function(ie){return new(ie||ue)},ue.\u0275mod=t.oAB({type:ue}),ue.\u0275inj=t.cJS({}),ue})(),ee=(()=>{class ue{}return ue.\u0275fac=function(ie){return new(ie||ue)},ue.\u0275mod=t.oAB({type:ue}),ue.\u0275inj=t.cJS({imports:[v.BQ,v.si,X,v.BQ,X]}),ue})()},7331:(Ve,Q,m)=>{"use strict";m.d(Q,{HS:()=>_e,Hi:()=>_t});var t=m(1281),e=m(4650),v=m(6895),D=m(3238),o=m(4761),C=m(7579),P=(m(6451),m(5698)),I=(m(2722),m(8675),m(3900),m(9521));function G(ne,Nt){1&ne&&(e.TgZ(0,"span",8),e.Hsn(1,1),e.qZA())}function W(ne,Nt){1&ne&&(e.TgZ(0,"span",9),e.Hsn(1,2),e.qZA())}m(445),m(4006),m(9549);const Y=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],X=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],g=new e.OlP("mat-chips-default-options"),n=new e.OlP("MatChipAvatar"),b=new e.OlP("MatChipTrailingIcon"),U=new e.OlP("MatChipRemove"),V=new e.OlP("MatChip");class j{}const Ae=(0,D.sb)(j,-1);let Ke=(()=>{class ne extends Ae{constructor(De,He){super(),this._elementRef=De,this._parentChip=He,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===De.nativeElement.nodeName&&De.nativeElement.setAttribute("type","button")}get disabled(){return this._disabled||this._parentChip.disabled}set disabled(De){this._disabled=(0,t.Ig)(De)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}focus(){this._elementRef.nativeElement.focus()}_handleClick(De){!this.disabled&&this.isInteractive&&this._isPrimary&&(De.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(De){(De.keyCode===I.K5||De.keyCode===I.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&(De.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return ne.\u0275fac=function(De){return new(De||ne)(e.Y36(e.SBq),e.Y36(V))},ne.\u0275dir=e.lG2({type:ne,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(De,He){1&De&&e.NdJ("click",function(Pe){return He._handleClick(Pe)})("keydown",function(Pe){return He._handleKeydown(Pe)}),2&De&&(e.uIk("tabindex",He._getTabindex())("disabled",He._getDisabledAttribute())("aria-disabled",He.disabled),e.ekj("mdc-evolution-chip__action--primary",He._isPrimary)("mdc-evolution-chip__action--presentational",!He.isInteractive)("mdc-evolution-chip__action--trailing",!He._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[e.qOj]}),ne})(),xe=0;const le=(0,D.sb)((0,D.pj)((0,D.Kr)((0,D.Id)(class{constructor(ne){this._elementRef=ne}})),"primary"),-1);let _e=(()=>{class ne extends le{constructor(De,He,Ct,Pe,tt,Bt,Lt,Ht){super(He),this._changeDetectorRef=De,this._ngZone=Ct,this._focusMonitor=Pe,this._globalRippleOptions=Lt,this._isRippleCentered=!1,this._onFocus=new C.x,this._onBlur=new C.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+xe++,this.ariaLabel=null,this._removable=!0,this._highlighted=!1,this.removed=new e.vpe,this.destroyed=new e.vpe,this.basicChipAttrName="mat-basic-chip";const bt=He.nativeElement;this._document=tt,this._animationsDisabled="NoopAnimations"===Bt,this._isBasicChip=bt.hasAttribute(this.basicChipAttrName)||bt.tagName.toLowerCase()===this.basicChipAttrName,null!=Ht&&(this.tabIndex=parseInt(Ht)??this.defaultTabIndex),this._monitorFocus()}_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(De){this._value=De}get removable(){return this._removable}set removable(De){this._removable=(0,t.Ig)(De)}get highlighted(){return this._highlighted}set highlighted(De){this._highlighted=(0,t.Ig)(De)}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),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(De){(De.keyCode===I.ZH||De.keyCode===I.yY)&&(De.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(De){return this._getActions().find(He=>{const Ct=He._elementRef.nativeElement;return Ct===De||Ct.contains(De)})}_getActions(){const De=[];return this.primaryAction&&De.push(this.primaryAction),this.removeIcon&&De.push(this.removeIcon),this.trailingIcon&&De.push(this.trailingIcon),De}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(De=>{const He=null!==De;He!==this._hasFocusInternal&&(this._hasFocusInternal=He,He?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,P.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return ne.\u0275fac=function(De){return new(De||ne)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(o.tE),e.Y36(v.K0),e.Y36(e.QbO,8),e.Y36(D.Y2,8),e.$8M("tabindex"))},ne.\u0275cmp=e.Xpm({type:ne,selectors:[["mat-basic-chip"],["mat-chip"]],contentQueries:function(De,He,Ct){if(1&De&&(e.Suo(Ct,n,5),e.Suo(Ct,b,5),e.Suo(Ct,U,5)),2&De){let Pe;e.iGM(Pe=e.CRH())&&(He.leadingIcon=Pe.first),e.iGM(Pe=e.CRH())&&(He.trailingIcon=Pe.first),e.iGM(Pe=e.CRH())&&(He.removeIcon=Pe.first)}},viewQuery:function(De,He){if(1&De&&(e.Gf(D.wG,5),e.Gf(Ke,5)),2&De){let Ct;e.iGM(Ct=e.CRH())&&(He.ripple=Ct.first),e.iGM(Ct=e.CRH())&&(He.primaryAction=Ct.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(De,He){1&De&&e.NdJ("keydown",function(Pe){return He._handleKeydown(Pe)}),2&De&&(e.Ikx("id",He.id),e.uIk("role",He.role)("tabindex",He.role?He.tabIndex:null)("aria-label",He.ariaLabel),e.ekj("mdc-evolution-chip",!He._isBasicChip)("mdc-evolution-chip--disabled",He.disabled)("mdc-evolution-chip--with-trailing-action",He._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",He.leadingIcon)("mdc-evolution-chip--with-primary-icon",He.leadingIcon)("mdc-evolution-chip--with-avatar",He.leadingIcon)("mat-mdc-chip-with-avatar",He.leadingIcon)("mat-mdc-chip-highlighted",He.highlighted)("mat-mdc-chip-disabled",He.disabled)("mat-mdc-basic-chip",He._isBasicChip)("mat-mdc-standard-chip",!He._isBasicChip)("mat-mdc-chip-with-trailing-icon",He._hasTrailingIcon())("_mat-animation-noopable",He._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[e._Bn([{provide:V,useExisting:ne}]),e.qOj],ngContentSelectors:X,decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[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",4,"ngIf"],[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",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(De,He){1&De&&(e.F$t(Y),e._UZ(0,"span",0)(1,"span",1),e.TgZ(2,"span",2)(3,"div",3),e.YNc(4,G,2,0,"span",4),e.TgZ(5,"span",5),e.Hsn(6),e._UZ(7,"span",6),e.qZA()()(),e.YNc(8,W,2,0,"span",7)),2&De&&(e.Q6J("matRippleDisabled",He._isRippleDisabled())("matRippleCentered",He._isRippleCentered)("matRippleTrigger",He._elementRef.nativeElement),e.xp6(3),e.Q6J("isInteractive",!1),e.xp6(1),e.Q6J("ngIf",He.leadingIcon),e.xp6(4),e.Q6J("ngIf",He._hasTrailingIcon()))},dependencies:[v.O5,D.wG,Ke],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 .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}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.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, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.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, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.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{width: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-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-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}.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}),ne})(),_t=(()=>{class ne{}return ne.\u0275fac=function(De){return new(De||ne)},ne.\u0275mod=e.oAB({type:ne}),ne.\u0275inj=e.cJS({providers:[D.rD,{provide:g,useValue:{separatorKeyCodes:[I.K5]}}],imports:[D.BQ,v.ez,D.si,D.BQ]}),ne})()},3238:(Ve,Q,m)=>{"use strict";m.d(Q,{yN:()=>X,mZ:()=>ee,_A:()=>g,rD:()=>ct,sG:()=>n,Ad:()=>A,K7:()=>Nt,HF:()=>it,Y2:()=>Ce,BQ:()=>ie,uc:()=>_e,XK:()=>Ke,ey:()=>tt,Ng:()=>Ht,rN:()=>Ct,us:()=>wt,wG:()=>ke,si:()=>ht,LF:()=>V,IR:()=>q,CB:()=>Bt,jH:()=>Lt,pj:()=>i,Kr:()=>r,Id:()=>T,FD:()=>l,dB:()=>y,sb:()=>h});var t=m(4650),e=m(4761),v=m(445),o=m(6895),C=m(3353),u=m(1281),P=m(9751),d=m(7579),S=m(9521);const E=["text"];function N(bt,Me){if(1&bt&&t._UZ(0,"mat-pseudo-checkbox",5),2&bt){const J=t.oxw();t.Q6J("state",J.selected?"checked":"unchecked")("disabled",J.disabled)}}function z(bt,Me){if(1&bt&&(t.TgZ(0,"span",6),t._uU(1),t.qZA()),2&bt){const J=t.oxw();t.xp6(1),t.hij("(",J.group.label,")")}}const G=[[["mat-icon"]],"*"],W=["mat-icon","*"];let X=(()=>{class bt{}return bt.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",bt.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",bt.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",bt.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",bt})(),ee=(()=>{class bt{}return bt.COMPLEX="375ms",bt.ENTERING="225ms",bt.EXITING="195ms",bt})();const he=new t.OlP("mat-sanity-checks",{providedIn:"root",factory:function ue(){return!0}});let ie=(()=>{class bt{constructor(J,ve,Re){this._sanityChecks=ve,this._document=Re,this._hasDoneGlobalChecks=!1,J._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(J){return!(0,C.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[J])}}return bt.\u0275fac=function(J){return new(J||bt)(t.LFG(e.qm),t.LFG(he,8),t.LFG(o.K0))},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[v.vT,v.vT]}),bt})();function T(bt){return class extends bt{constructor(...Me){super(...Me),this._disabled=!1}get disabled(){return this._disabled}set disabled(Me){this._disabled=(0,u.Ig)(Me)}}}function i(bt,Me){return class extends bt{constructor(...J){super(...J),this.defaultColor=Me,this.color=Me}get color(){return this._color}set color(J){const ve=J||this.defaultColor;ve!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),ve&&this._elementRef.nativeElement.classList.add(`mat-${ve}`),this._color=ve)}}}function r(bt){return class extends bt{constructor(...Me){super(...Me),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Me){this._disableRipple=(0,u.Ig)(Me)}}}function h(bt,Me=0){return class extends bt{constructor(...J){super(...J),this._tabIndex=Me,this.defaultTabIndex=Me}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(J){this._tabIndex=null!=J?(0,u.su)(J):this.defaultTabIndex}}}function l(bt){return class extends bt{constructor(...Me){super(...Me),this.errorState=!1}updateErrorState(){const Me=this.errorState,at=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);at!==Me&&(this.errorState=at,this.stateChanges.next())}}}function y(bt){return class extends bt{constructor(...Me){super(...Me),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new P.y(J=>{this._isInitialized?this._notifySubscriber(J):this._pendingSubscribers.push(J)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Me){Me.next(),Me.complete()}}}const A=new t.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function k(){return(0,t.f3M)(t.soG)}});class g{constructor(){this._localeChanges=new d.x,this.localeChanges=this._localeChanges}getValidDateOrNull(Me){return this.isDateInstance(Me)&&this.isValid(Me)?Me:null}deserialize(Me){return null==Me||this.isDateInstance(Me)&&this.isValid(Me)?Me:this.invalid()}setLocale(Me){this.locale=Me,this._localeChanges.next()}compareDate(Me,J){return this.getYear(Me)-this.getYear(J)||this.getMonth(Me)-this.getMonth(J)||this.getDate(Me)-this.getDate(J)}sameDate(Me,J){if(Me&&J){let ve=this.isValid(Me),Re=this.isValid(J);return ve&&Re?!this.compareDate(Me,J):ve==Re}return Me==J}clampDate(Me,J,ve){return J&&this.compareDate(Me,J)<0?J:ve&&this.compareDate(Me,ve)>0?ve:Me}}const n=new t.OlP("mat-date-formats"),b=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function U(bt,Me){const J=Array(bt);for(let ve=0;ve<bt;ve++)J[ve]=Me(ve);return J}let V=(()=>{class bt extends g{constructor(J,ve){super(),this.useUtcForDisplay=!1,super.setLocale(J)}getYear(J){return J.getFullYear()}getMonth(J){return J.getMonth()}getDate(J){return J.getDate()}getDayOfWeek(J){return J.getDay()}getMonthNames(J){const ve=new Intl.DateTimeFormat(this.locale,{month:J,timeZone:"utc"});return U(12,Re=>this._format(ve,new Date(2017,Re,1)))}getDateNames(){const J=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return U(31,ve=>this._format(J,new Date(2017,0,ve+1)))}getDayOfWeekNames(J){const ve=new Intl.DateTimeFormat(this.locale,{weekday:J,timeZone:"utc"});return U(7,Re=>this._format(ve,new Date(2017,0,Re+1)))}getYearName(J){const ve=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(ve,J)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(J){return this.getDate(this._createDateWithOverflow(this.getYear(J),this.getMonth(J)+1,0))}clone(J){return new Date(J.getTime())}createDate(J,ve,Re){let at=this._createDateWithOverflow(J,ve,Re);return at.getMonth(),at}today(){return new Date}parse(J,ve){return"number"==typeof J?new Date(J):J?new Date(Date.parse(J)):null}format(J,ve){if(!this.isValid(J))throw Error("NativeDateAdapter: Cannot format invalid date.");const Re=new Intl.DateTimeFormat(this.locale,{...ve,timeZone:"utc"});return this._format(Re,J)}addCalendarYears(J,ve){return this.addCalendarMonths(J,12*ve)}addCalendarMonths(J,ve){let Re=this._createDateWithOverflow(this.getYear(J),this.getMonth(J)+ve,this.getDate(J));return this.getMonth(Re)!=((this.getMonth(J)+ve)%12+12)%12&&(Re=this._createDateWithOverflow(this.getYear(Re),this.getMonth(Re),0)),Re}addCalendarDays(J,ve){return this._createDateWithOverflow(this.getYear(J),this.getMonth(J),this.getDate(J)+ve)}toIso8601(J){return[J.getUTCFullYear(),this._2digit(J.getUTCMonth()+1),this._2digit(J.getUTCDate())].join("-")}deserialize(J){if("string"==typeof J){if(!J)return null;if(b.test(J)){let ve=new Date(J);if(this.isValid(ve))return ve}}return super.deserialize(J)}isDateInstance(J){return J instanceof Date}isValid(J){return!isNaN(J.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(J,ve,Re){const at=new Date;return at.setFullYear(J,ve,Re),at.setHours(0,0,0,0),at}_2digit(J){return("00"+J).slice(-2)}_format(J,ve){const Re=new Date;return Re.setUTCFullYear(ve.getFullYear(),ve.getMonth(),ve.getDate()),Re.setUTCHours(ve.getHours(),ve.getMinutes(),ve.getSeconds(),ve.getMilliseconds()),J.format(Re)}}return bt.\u0275fac=function(J){return new(J||bt)(t.LFG(A,8),t.LFG(C.t4))},bt.\u0275prov=t.Yz7({token:bt,factory:bt.\u0275fac}),bt})();const j={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 Ae=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({providers:[{provide:g,useClass:V}]}),bt})(),Ke=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({providers:[{provide:n,useValue:j}],imports:[Ae]}),bt})(),ct=(()=>{class bt{isErrorState(J,ve){return!!(J&&J.invalid&&(J.touched||ve&&ve.submitted))}}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275prov=t.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"}),bt})(),_e=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[ie,ie]}),bt})();class se{constructor(Me,J,ve,Re=!1){this._renderer=Me,this.element=J,this.config=ve,this._animationForciblyDisabledThroughCss=Re,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ye=(0,C.i$)({passive:!0,capture:!0});class Te{constructor(){this._events=new Map,this._delegateEventHandler=Me=>{const J=(0,C.sA)(Me);J&&this._events.get(Me.type)?.forEach((ve,Re)=>{(Re===J||Re.contains(J))&&ve.forEach(at=>at.handleEvent(Me))})}}addHandler(Me,J,ve,Re){const at=this._events.get(J);if(at){const ni=at.get(ve);ni?ni.add(Re):at.set(ve,new Set([Re]))}else this._events.set(J,new Map([[ve,new Set([Re])]])),Me.runOutsideAngular(()=>{document.addEventListener(J,this._delegateEventHandler,Ye)})}removeHandler(Me,J,ve){const Re=this._events.get(Me);if(!Re)return;const at=Re.get(J);!at||(at.delete(ve),0===at.size&&Re.delete(J),0===Re.size&&(this._events.delete(Me),document.removeEventListener(Me,this._delegateEventHandler,Ye)))}}const oe={enterDuration:225,exitDuration:150},te=(0,C.i$)({passive:!0,capture:!0}),Ue=["mousedown","touchstart"],Be=["mouseup","mouseleave","touchend","touchcancel"];class q{constructor(Me,J,ve,Re){this._target=Me,this._ngZone=J,this._platform=Re,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Re.isBrowser&&(this._containerElement=(0,u.fI)(ve))}fadeInRipple(Me,J,ve={}){const Re=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),at={...oe,...ve.animation};ve.centered&&(Me=Re.left+Re.width/2,J=Re.top+Re.height/2);const ni=ve.radius||function de(bt,Me,J){const ve=Math.max(Math.abs(bt-J.left),Math.abs(bt-J.right)),Re=Math.max(Math.abs(Me-J.top),Math.abs(Me-J.bottom));return Math.sqrt(ve*ve+Re*Re)}(Me,J,Re),Gt=Me-Re.left,ti=J-Re.top,dt=at.enterDuration,rt=document.createElement("div");rt.classList.add("mat-ripple-element"),rt.style.left=Gt-ni+"px",rt.style.top=ti-ni+"px",rt.style.height=2*ni+"px",rt.style.width=2*ni+"px",null!=ve.color&&(rt.style.backgroundColor=ve.color),rt.style.transitionDuration=`${dt}ms`,this._containerElement.appendChild(rt);const vt=window.getComputedStyle(rt),Ut=vt.transitionDuration,Vt="none"===vt.transitionProperty||"0s"===Ut||"0s, 0s"===Ut||0===Re.width&&0===Re.height,Rt=new se(this,rt,ve,Vt);rt.style.transform="scale3d(1, 1, 1)",Rt.state=0,ve.persistent||(this._mostRecentTransientRipple=Rt);let je=null;return!Vt&&(dt||at.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Fe=()=>this._finishRippleTransition(Rt),We=()=>this._destroyRipple(Rt);rt.addEventListener("transitionend",Fe),rt.addEventListener("transitioncancel",We),je={onTransitionEnd:Fe,onTransitionCancel:We}}),this._activeRipples.set(Rt,je),(Vt||!dt)&&this._finishRippleTransition(Rt),Rt}fadeOutRipple(Me){if(2===Me.state||3===Me.state)return;const J=Me.element,ve={...oe,...Me.config.animation};J.style.transitionDuration=`${ve.exitDuration}ms`,J.style.opacity="0",Me.state=2,(Me._animationForciblyDisabledThroughCss||!ve.exitDuration)&&this._finishRippleTransition(Me)}fadeOutAll(){this._getActiveRipples().forEach(Me=>Me.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Me=>{Me.config.persistent||Me.fadeOut()})}setupTriggerEvents(Me){const J=(0,u.fI)(Me);!this._platform.isBrowser||!J||J===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=J,Ue.forEach(ve=>{q._eventManager.addHandler(this._ngZone,ve,J,this)}))}handleEvent(Me){"mousedown"===Me.type?this._onMousedown(Me):"touchstart"===Me.type?this._onTouchStart(Me):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Be.forEach(J=>{this._triggerElement.addEventListener(J,this,te)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Me){0===Me.state?this._startFadeOutTransition(Me):2===Me.state&&this._destroyRipple(Me)}_startFadeOutTransition(Me){const J=Me===this._mostRecentTransientRipple,{persistent:ve}=Me.config;Me.state=1,!ve&&(!J||!this._isPointerDown)&&Me.fadeOut()}_destroyRipple(Me){const J=this._activeRipples.get(Me)??null;this._activeRipples.delete(Me),this._activeRipples.size||(this._containerRect=null),Me===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Me.state=3,null!==J&&(Me.element.removeEventListener("transitionend",J.onTransitionEnd),Me.element.removeEventListener("transitioncancel",J.onTransitionCancel)),Me.element.remove()}_onMousedown(Me){const J=(0,e.X6)(Me),ve=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!J&&!ve&&(this._isPointerDown=!0,this.fadeInRipple(Me.clientX,Me.clientY,this._target.rippleConfig))}_onTouchStart(Me){if(!this._target.rippleDisabled&&!(0,e.yG)(Me)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const J=Me.changedTouches;for(let ve=0;ve<J.length;ve++)this.fadeInRipple(J[ve].clientX,J[ve].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(Me=>{!Me.config.persistent&&(1===Me.state||Me.config.terminateOnPointerUp&&0===Me.state)&&Me.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Me=this._triggerElement;Me&&(Ue.forEach(J=>q._eventManager.removeHandler(J,Me,this)),this._pointerUpEventsRegistered&&Be.forEach(J=>Me.removeEventListener(J,this,te)))}}q._eventManager=new Te;const Ce=new t.OlP("mat-ripple-global-options");let ke=(()=>{class bt{constructor(J,ve,Re,at,ni){this._elementRef=J,this._animationMode=ni,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=at||{},this._rippleRenderer=new q(this,ve,J,Re)}get disabled(){return this._disabled}set disabled(J){J&&this.fadeOutAllNonPersistent(),this._disabled=J,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(J){this._trigger=J,this._setupTriggerEventsIfEnabled()}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(J,ve=0,Re){return"number"==typeof J?this._rippleRenderer.fadeInRipple(J,ve,{...this.rippleConfig,...Re}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...J})}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(C.t4),t.Y36(Ce,8),t.Y36(t.QbO,8))},bt.\u0275dir=t.lG2({type:bt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(J,ve){2&J&&t.ekj("mat-ripple-unbounded",ve.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"]}),bt})(),ht=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[ie,ie]}),bt})(),nt=(()=>{class bt{constructor(J){this._animationMode=J,this.state="unchecked",this.disabled=!1}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.QbO,8))},bt.\u0275cmp=t.Xpm({type:bt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(J,ve){2&J&&t.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===ve.state)("mat-pseudo-checkbox-checked","checked"===ve.state)("mat-pseudo-checkbox-disabled",ve.disabled)("_mat-animation-noopable","NoopAnimations"===ve._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(J,ve){},styles:['.mat-pseudo-checkbox{border:2px solid;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-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.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{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0}),bt})(),wt=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[ie]}),bt})();const it=new t.OlP("MAT_OPTION_PARENT_COMPONENT"),Nt=new t.OlP("MatOptgroup");let He=0;class Ct{constructor(Me,J=!1){this.source=Me,this.isUserInput=J}}let Pe=(()=>{class bt{constructor(J,ve,Re,at){this._element=J,this._changeDetectorRef=ve,this._parent=Re,this.group=at,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+He++,this.onSelectionChange=new t.vpe,this._stateChanges=new d.x}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(J){this._disabled=(0,u.Ig)(J)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(J,ve){const Re=this._getHostElement();"function"==typeof Re.focus&&Re.focus(ve)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(J){(J.keyCode===S.K5||J.keyCode===S.L_)&&!(0,S.Vb)(J)&&(this._selectViaInteraction(),J.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const J=this.viewValue;J!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=J)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(J=!1){this.onSelectionChange.emit(new Ct(this,J))}}return bt.\u0275fac=function(J){t.$Z()},bt.\u0275dir=t.lG2({type:bt,viewQuery:function(J,ve){if(1&J&&t.Gf(E,7),2&J){let Re;t.iGM(Re=t.CRH())&&(ve._text=Re.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),bt})(),tt=(()=>{class bt extends Pe{constructor(J,ve,Re,at){super(J,ve,Re,at)}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(it,8),t.Y36(Nt,8))},bt.\u0275cmp=t.Xpm({type:bt,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(J,ve){1&J&&t.NdJ("click",function(){return ve._selectViaInteraction()})("keydown",function(at){return ve._handleKeydown(at)}),2&J&&(t.Ikx("id",ve.id),t.uIk("tabindex",ve._getTabIndex())("aria-selected",ve._getAriaSelected())("aria-disabled",ve.disabled.toString()),t.ekj("mdc-list-item--selected",ve.selected)("mat-mdc-option-multiple",ve.multiple)("mat-mdc-option-active",ve.active)("mdc-list-item--disabled",ve.disabled))},exportAs:["matOption"],features:[t.qOj],ngContentSelectors:W,decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(J,ve){1&J&&(t.F$t(G),t.YNc(0,N,1,2,"mat-pseudo-checkbox",0),t.Hsn(1),t.TgZ(2,"span",1,2),t.Hsn(4,1),t.qZA(),t.YNc(5,z,2,1,"span",3),t._UZ(6,"div",4)),2&J&&(t.Q6J("ngIf",ve.multiple),t.xp6(5),t.Q6J("ngIf",ve.group&&ve.group._inert),t.xp6(1),t.Q6J("matRippleTrigger",ve._getHostElement())("matRippleDisabled",ve.disabled||ve.disableRipple))},dependencies:[ke,o.O5,nt],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;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);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.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.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{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.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}.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::before{content:""}'],encapsulation:2,changeDetection:0}),bt})();function Bt(bt,Me,J){if(J.length){let ve=Me.toArray(),Re=J.toArray(),at=0;for(let ni=0;ni<bt+1;ni++)ve[ni].group&&ve[ni].group===Re[at]&&at++;return at}return 0}function Lt(bt,Me,J,ve){return bt<J?bt:bt+Me>J+ve?Math.max(0,bt-ve+Me):J}let Ht=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[ht,o.ez,ie,wt]}),bt})()},9602:(Ve,Q,m)=>{"use strict";m.d(Q,{FA:()=>Wi,Mq:()=>ti,hl:()=>Vt,nW:()=>je});var t=m(4761),e=m(8184),v=m(4080),D=m(6895),o=m(4650),C=m(4859),u=m(531),P=m(3238),d=m(7579),S=m(727),w=m(6451),I=m(9646),E=m(9521),N=m(445),z=m(5698),G=m(8675),W=m(9300),Y=m(1281),X=m(3353),ee=m(7340),ue=m(4006),he=m(9549),ie=m(4144);const ce=["mat-calendar-body",""];function $(Zt,oi){if(1&Zt&&(o.TgZ(0,"tr",3)(1,"td",4),o._uU(2),o.qZA()()),2&Zt){const ge=o.oxw();o.xp6(1),o.Udp("padding-top",ge._cellPadding)("padding-bottom",ge._cellPadding),o.uIk("colspan",ge.numCols),o.xp6(1),o.hij(" ",ge.label," ")}}function fe(Zt,oi){if(1&Zt&&(o.TgZ(0,"td",4),o._uU(1),o.qZA()),2&Zt){const ge=o.oxw(2);o.Udp("padding-top",ge._cellPadding)("padding-bottom",ge._cellPadding),o.uIk("colspan",ge._firstRowOffset),o.xp6(1),o.hij(" ",ge._firstRowOffset>=ge.labelMinRequiredCells?ge.label:""," ")}}function T(Zt,oi){if(1&Zt){const ge=o.EpF();o.TgZ(0,"td",8)(1,"button",9),o.NdJ("click",function(St){const Xt=o.CHM(ge).$implicit,zt=o.oxw(2);return o.KtG(zt._cellClicked(Xt,St))})("focus",function(St){const Xt=o.CHM(ge).$implicit,zt=o.oxw(2);return o.KtG(zt._emitActiveDateChange(Xt,St))}),o.TgZ(2,"div",10),o._uU(3),o.qZA(),o._UZ(4,"div",11),o.qZA()()}if(2&Zt){const ge=oi.$implicit,Xe=oi.index,St=o.oxw().index,pt=o.oxw();o.Udp("width",pt._cellWidth)("padding-top",pt._cellPadding)("padding-bottom",pt._cellPadding),o.uIk("data-mat-row",St)("data-mat-col",Xe),o.xp6(1),o.ekj("mat-calendar-body-disabled",!ge.enabled)("mat-calendar-body-active",pt._isActiveCell(St,Xe))("mat-calendar-body-range-start",pt._isRangeStart(ge.compareValue))("mat-calendar-body-range-end",pt._isRangeEnd(ge.compareValue))("mat-calendar-body-in-range",pt._isInRange(ge.compareValue))("mat-calendar-body-comparison-bridge-start",pt._isComparisonBridgeStart(ge.compareValue,St,Xe))("mat-calendar-body-comparison-bridge-end",pt._isComparisonBridgeEnd(ge.compareValue,St,Xe))("mat-calendar-body-comparison-start",pt._isComparisonStart(ge.compareValue))("mat-calendar-body-comparison-end",pt._isComparisonEnd(ge.compareValue))("mat-calendar-body-in-comparison-range",pt._isInComparisonRange(ge.compareValue))("mat-calendar-body-preview-start",pt._isPreviewStart(ge.compareValue))("mat-calendar-body-preview-end",pt._isPreviewEnd(ge.compareValue))("mat-calendar-body-in-preview",pt._isInPreview(ge.compareValue)),o.Q6J("ngClass",ge.cssClasses)("tabindex",pt._isActiveCell(St,Xe)?0:-1),o.uIk("aria-label",ge.ariaLabel)("aria-disabled",!ge.enabled||null)("aria-pressed",pt._isSelected(ge.compareValue))("aria-current",pt.todayValue===ge.compareValue?"date":null)("aria-describedby",pt._getDescribedby(ge.compareValue)),o.xp6(1),o.ekj("mat-calendar-body-selected",pt._isSelected(ge.compareValue))("mat-calendar-body-comparison-identical",pt._isComparisonIdentical(ge.compareValue))("mat-calendar-body-today",pt.todayValue===ge.compareValue),o.xp6(1),o.hij(" ",ge.displayValue," ")}}function i(Zt,oi){if(1&Zt&&(o.TgZ(0,"tr",5),o.YNc(1,fe,2,6,"td",6),o.YNc(2,T,5,48,"td",7),o.qZA()),2&Zt){const ge=oi.$implicit,Xe=oi.index,St=o.oxw();o.xp6(1),o.Q6J("ngIf",0===Xe&&St._firstRowOffset),o.xp6(1),o.Q6J("ngForOf",ge)}}function r(Zt,oi){if(1&Zt&&(o.TgZ(0,"th",5)(1,"span",6),o._uU(2),o.qZA(),o.TgZ(3,"span",7),o._uU(4),o.qZA()()),2&Zt){const ge=oi.$implicit;o.xp6(2),o.Oqu(ge.long),o.xp6(2),o.Oqu(ge.narrow)}}const h=["*"];function l(Zt,oi){}function y(Zt,oi){if(1&Zt){const ge=o.EpF();o.TgZ(0,"mat-month-view",5),o.NdJ("activeDateChange",function(St){o.CHM(ge);const pt=o.oxw();return o.KtG(pt.activeDate=St)})("_userSelection",function(St){o.CHM(ge);const pt=o.oxw();return o.KtG(pt._dateSelected(St))}),o.qZA()}if(2&Zt){const ge=o.oxw();o.Q6J("activeDate",ge.activeDate)("selected",ge.selected)("dateFilter",ge.dateFilter)("maxDate",ge.maxDate)("minDate",ge.minDate)("dateClass",ge.dateClass)("comparisonStart",ge.comparisonStart)("comparisonEnd",ge.comparisonEnd)("startDateAccessibleName",ge.startDateAccessibleName)("endDateAccessibleName",ge.endDateAccessibleName)}}function A(Zt,oi){if(1&Zt){const ge=o.EpF();o.TgZ(0,"mat-year-view",6),o.NdJ("activeDateChange",function(St){o.CHM(ge);const pt=o.oxw();return o.KtG(pt.activeDate=St)})("monthSelected",function(St){o.CHM(ge);const pt=o.oxw();return o.KtG(pt._monthSelectedInYearView(St))})("selectedChange",function(St){o.CHM(ge);const pt=o.oxw();return o.KtG(pt._goToDateInView(St,"month"))}),o.qZA()}if(2&Zt){const ge=o.oxw();o.Q6J("activeDate",ge.activeDate)("selected",ge.selected)("dateFilter",ge.dateFilter)("maxDate",ge.maxDate)("minDate",ge.minDate)("dateClass",ge.dateClass)}}function k(Zt,oi){if(1&Zt){const ge=o.EpF();o.TgZ(0,"mat-multi-year-view",7),o.NdJ("activeDateChange",function(St){o.CHM(ge);const pt=o.oxw();return o.KtG(pt.activeDate=St)})("yearSelected",function(St){o.CHM(ge);const pt=o.oxw();return o.KtG(pt._yearSelectedInMultiYearView(St))})("selectedChange",function(St){o.CHM(ge);const pt=o.oxw();return o.KtG(pt._goToDateInView(St,"year"))}),o.qZA()}if(2&Zt){const ge=o.oxw();o.Q6J("activeDate",ge.activeDate)("selected",ge.selected)("dateFilter",ge.dateFilter)("maxDate",ge.maxDate)("minDate",ge.minDate)("dateClass",ge.dateClass)}}function g(Zt,oi){}const n=["button"];function b(Zt,oi){1&Zt&&(o.O4$(),o.TgZ(0,"svg",3),o._UZ(1,"path",4),o.qZA())}const U=[[["","matDatepickerToggleIcon",""]]],V=["[matDatepickerToggleIcon]"];let ct=(()=>{class Zt{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(ge,Xe){return`${ge} \u2013 ${Xe}`}formatYearRangeLabel(ge,Xe){return`${ge} to ${Xe}`}}return Zt.\u0275fac=function(ge){return new(ge||Zt)},Zt.\u0275prov=o.Yz7({token:Zt,factory:Zt.\u0275fac,providedIn:"root"}),Zt})();class Ie{constructor(oi,ge,Xe,St,pt={},Xt=oi,zt){this.value=oi,this.displayValue=ge,this.ariaLabel=Xe,this.enabled=St,this.cssClasses=pt,this.compareValue=Xt,this.rawValue=zt}}let xe=1,le=(()=>{class Zt{constructor(ge,Xe){this._elementRef=ge,this._ngZone=Xe,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new o.vpe,this.previewChange=new o.vpe,this.activeDateChange=new o.vpe,this._enterHandler=St=>{if(this._skipNextFocus&&"focus"===St.type)this._skipNextFocus=!1;else if(St.target&&this.isRange){const pt=this._getCellFromElement(St.target);pt&&this._ngZone.run(()=>this.previewChange.emit({value:pt.enabled?pt:null,event:St}))}},this._leaveHandler=St=>{null!==this.previewEnd&&this.isRange&&St.target&&this._getCellFromElement(St.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:St}))},this._id="mat-calendar-body-"+xe++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,Xe.runOutsideAngular(()=>{const St=ge.nativeElement;St.addEventListener("mouseenter",this._enterHandler,!0),St.addEventListener("focus",this._enterHandler,!0),St.addEventListener("mouseleave",this._leaveHandler,!0),St.addEventListener("blur",this._leaveHandler,!0)})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(ge,Xe){ge.enabled&&this.selectedValueChange.emit({value:ge.value,event:Xe})}_emitActiveDateChange(ge,Xe){ge.enabled&&this.activeDateChange.emit({value:ge.value,event:Xe})}_isSelected(ge){return this.startValue===ge||this.endValue===ge}ngOnChanges(ge){const Xe=ge.numCols,{rows:St,numCols:pt}=this;(ge.rows||Xe)&&(this._firstRowOffset=St&&St.length&&St[0].length?pt-St[0].length:0),(ge.cellAspectRatio||Xe||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/pt+"%"),(Xe||!this._cellWidth)&&(this._cellWidth=100/pt+"%")}ngOnDestroy(){const ge=this._elementRef.nativeElement;ge.removeEventListener("mouseenter",this._enterHandler,!0),ge.removeEventListener("focus",this._enterHandler,!0),ge.removeEventListener("mouseleave",this._leaveHandler,!0),ge.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(ge,Xe){let St=ge*this.numCols+Xe;return ge&&(St-=this._firstRowOffset),St==this.activeCell}_focusActiveCell(ge=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,z.q)(1)).subscribe(()=>{setTimeout(()=>{const Xe=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");Xe&&(ge||(this._skipNextFocus=!0),Xe.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(ge){return se(ge,this.startValue,this.endValue)}_isRangeEnd(ge){return Ye(ge,this.startValue,this.endValue)}_isInRange(ge){return Te(ge,this.startValue,this.endValue,this.isRange)}_isComparisonStart(ge){return se(ge,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(ge,Xe,St){if(!this._isComparisonStart(ge)||this._isRangeStart(ge)||!this._isInRange(ge))return!1;let pt=this.rows[Xe][St-1];if(!pt){const Xt=this.rows[Xe-1];pt=Xt&&Xt[Xt.length-1]}return pt&&!this._isRangeEnd(pt.compareValue)}_isComparisonBridgeEnd(ge,Xe,St){if(!this._isComparisonEnd(ge)||this._isRangeEnd(ge)||!this._isInRange(ge))return!1;let pt=this.rows[Xe][St+1];if(!pt){const Xt=this.rows[Xe+1];pt=Xt&&Xt[0]}return pt&&!this._isRangeStart(pt.compareValue)}_isComparisonEnd(ge){return Ye(ge,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(ge){return Te(ge,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(ge){return this.comparisonStart===this.comparisonEnd&&ge===this.comparisonStart}_isPreviewStart(ge){return se(ge,this.previewStart,this.previewEnd)}_isPreviewEnd(ge){return Ye(ge,this.previewStart,this.previewEnd)}_isInPreview(ge){return Te(ge,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(ge){return this.isRange?this.startValue===ge&&this.endValue===ge?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===ge?this._startDateLabelId:this.endValue===ge?this._endDateLabelId:null:null}_getCellFromElement(ge){let Xe;if(_e(ge)?Xe=ge:_e(ge.parentNode)&&(Xe=ge.parentNode),Xe){const St=Xe.getAttribute("data-mat-row"),pt=Xe.getAttribute("data-mat-col");if(St&&pt)return this.rows[parseInt(St)][parseInt(pt)]}return null}}return Zt.\u0275fac=function(ge){return new(ge||Zt)(o.Y36(o.SBq),o.Y36(o.R0b))},Zt.\u0275cmp=o.Xpm({type:Zt,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"},exportAs:["matCalendarBody"],features:[o.TTD],attrs:ce,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["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"]],template:function(ge,Xe){1&ge&&(o.YNc(0,$,3,6,"tr",0),o.YNc(1,i,3,2,"tr",1),o.TgZ(2,"label",2),o._uU(3),o.qZA(),o.TgZ(4,"label",2),o._uU(5),o.qZA()),2&ge&&(o.Q6J("ngIf",Xe._firstRowOffset<Xe.labelMinRequiredCells),o.xp6(1),o.Q6J("ngForOf",Xe.rows),o.xp6(1),o.Q6J("id",Xe._startDateLabelId),o.xp6(1),o.hij(" ",Xe.startDateAccessibleName,"\n"),o.xp6(1),o.Q6J("id",Xe._endDateLabelId),o.xp6(1),o.hij(" ",Xe.endDateAccessibleName,"\n"))},dependencies:[D.mk,D.sg,D.O5],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.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}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.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}),Zt})();function _e(Zt){return"TD"===Zt.nodeName}function se(Zt,oi,ge){return null!==ge&&oi!==ge&&Zt<ge&&Zt===oi}function Ye(Zt,oi,ge){return null!==oi&&oi!==ge&&Zt>=oi&&Zt===ge}function Te(Zt,oi,ge,Xe){return Xe&&null!==oi&&null!==ge&&oi!==ge&&Zt>=oi&&Zt<=ge}class oe{constructor(oi,ge){this.start=oi,this.end=ge}}let be=(()=>{class Zt{constructor(ge,Xe){this.selection=ge,this._adapter=Xe,this._selectionChanged=new d.x,this.selectionChanged=this._selectionChanged,this.selection=ge}updateSelection(ge,Xe){const St=this.selection;this.selection=ge,this._selectionChanged.next({selection:ge,source:Xe,oldValue:St})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(ge){return this._adapter.isDateInstance(ge)&&this._adapter.isValid(ge)}}return Zt.\u0275fac=function(ge){o.$Z()},Zt.\u0275prov=o.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})(),te=(()=>{class Zt extends be{constructor(ge){super(null,ge)}add(ge){super.updateSelection(ge,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const ge=new Zt(this._adapter);return ge.updateSelection(this.selection,this),ge}}return Zt.\u0275fac=function(ge){return new(ge||Zt)(o.LFG(P._A))},Zt.\u0275prov=o.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})();const q={provide:be,deps:[[new o.FiY,new o.tp0,be],P._A],useFactory:function Be(Zt,oi){return Zt||new te(oi)}},ke=new o.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let qt=(()=>{class Zt{constructor(ge,Xe,St,pt,Xt){this._changeDetectorRef=ge,this._dateFormats=Xe,this._dateAdapter=St,this._dir=pt,this._rangeStrategy=Xt,this._rerenderSubscription=S.w0.EMPTY,this.selectedChange=new o.vpe,this._userSelection=new o.vpe,this.activeDateChange=new o.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(ge){const Xe=this._activeDate,St=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(St,this.minDate,this.maxDate),this._hasSameMonthAndYear(Xe,this._activeDate)||this._init()}get selected(){return this._selected}set selected(ge){this._selected=ge instanceof oe?ge:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(ge){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))}get maxDate(){return this._maxDate}set maxDate(ge){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,G.O)(null)).subscribe(()=>this._init())}ngOnChanges(ge){const Xe=ge.comparisonStart||ge.comparisonEnd;Xe&&!Xe.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(ge){const Xe=ge.value,St=this._getDateFromDayOfMonth(Xe);let pt,Xt;this._selected instanceof oe?(pt=this._getDateInCurrentMonth(this._selected.start),Xt=this._getDateInCurrentMonth(this._selected.end)):pt=Xt=this._getDateInCurrentMonth(this._selected),(pt!==Xe||Xt!==Xe)&&this.selectedChange.emit(St),this._userSelection.emit({value:St,event:ge.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_updateActiveDate(ge){const St=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(ge.value),this._dateAdapter.compareDate(St,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(ge){const Xe=this._activeDate,St=this._isRtl();switch(ge.keyCode){case E.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,St?1:-1);break;case E.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,St?-1:1);break;case E.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case E.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case E.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case E.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case E.Ku:this.activeDate=ge.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case E.VM:this.activeDate=ge.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case E.K5:case E.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&ge.preventDefault());case E.hY:return void(null!=this._previewEnd&&!(0,E.Vb)(ge)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:ge}),ge.preventDefault(),ge.stopPropagation()));default:return}this._dateAdapter.compareDate(Xe,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),ge.preventDefault()}_handleCalendarBodyKeyup(ge){(ge.keyCode===E.L_||ge.keyCode===E.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:ge}),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 ge=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(ge)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(ge){this._matCalendarBody._focusActiveCell(ge)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:ge,value:Xe}){if(this._rangeStrategy){const pt=this._rangeStrategy.createPreview(Xe?Xe.rawValue:null,this.selected,ge);this._previewStart=this._getCellCompareValue(pt.start),this._previewEnd=this._getCellCompareValue(pt.end),this._changeDetectorRef.detectChanges()}}_getDateFromDayOfMonth(ge){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),ge)}_initWeekdays(){const ge=this._dateAdapter.getFirstDayOfWeek(),Xe=this._dateAdapter.getDayOfWeekNames("narrow");let pt=this._dateAdapter.getDayOfWeekNames("long").map((Xt,zt)=>({long:Xt,narrow:Xe[zt]}));this._weekdays=pt.slice(ge).concat(pt.slice(0,ge))}_createWeekCells(){const ge=this._dateAdapter.getNumDaysInMonth(this.activeDate),Xe=this._dateAdapter.getDateNames();this._weeks=[[]];for(let St=0,pt=this._firstWeekOffset;St<ge;St++,pt++){7==pt&&(this._weeks.push([]),pt=0);const Xt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),St+1),zt=this._shouldEnableDate(Xt),Li=this._dateAdapter.format(Xt,this._dateFormats.display.dateA11yLabel),dn=this.dateClass?this.dateClass(Xt,"month"):void 0;this._weeks[this._weeks.length-1].push(new Ie(St+1,Xe[St],Li,zt,dn,this._getCellCompareValue(Xt),Xt))}}_shouldEnableDate(ge){return!!ge&&(!this.minDate||this._dateAdapter.compareDate(ge,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(ge,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(ge))}_getDateInCurrentMonth(ge){return ge&&this._hasSameMonthAndYear(ge,this.activeDate)?this._dateAdapter.getDate(ge):null}_hasSameMonthAndYear(ge,Xe){return!(!ge||!Xe||this._dateAdapter.getMonth(ge)!=this._dateAdapter.getMonth(Xe)||this._dateAdapter.getYear(ge)!=this._dateAdapter.getYear(Xe))}_getCellCompareValue(ge){if(ge){const Xe=this._dateAdapter.getYear(ge),St=this._dateAdapter.getMonth(ge),pt=this._dateAdapter.getDate(ge);return new Date(Xe,St,pt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(ge){ge instanceof oe?(this._rangeStart=this._getCellCompareValue(ge.start),this._rangeEnd=this._getCellCompareValue(ge.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(ge),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(ge){return!this.dateFilter||this.dateFilter(ge)}}return Zt.\u0275fac=function(ge){return new(ge||Zt)(o.Y36(o.sBO),o.Y36(P.sG,8),o.Y36(P._A,8),o.Y36(N.Is,8),o.Y36(ke,8))},Zt.\u0275cmp=o.Xpm({type:Zt,selectors:[["mat-month-view"]],viewQuery:function(ge,Xe){if(1&ge&&o.Gf(le,5),2&ge){let St;o.iGM(St=o.CRH())&&(Xe._matCalendarBody=St.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[o.TTD],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["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","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(ge,Xe){1&ge&&(o.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),o.YNc(3,r,5,2,"th",2),o.qZA(),o.TgZ(4,"tr"),o._UZ(5,"th",3),o.qZA()(),o.TgZ(6,"tbody",4),o.NdJ("selectedValueChange",function(pt){return Xe._dateSelected(pt)})("activeDateChange",function(pt){return Xe._updateActiveDate(pt)})("previewChange",function(pt){return Xe._previewChanged(pt)})("keyup",function(pt){return Xe._handleCalendarBodyKeyup(pt)})("keydown",function(pt){return Xe._handleCalendarBodyKeydown(pt)}),o.qZA()()),2&ge&&(o.xp6(3),o.Q6J("ngForOf",Xe._weekdays),o.xp6(3),o.Q6J("label",Xe._monthLabel)("rows",Xe._weeks)("todayValue",Xe._todayDate)("startValue",Xe._rangeStart)("endValue",Xe._rangeEnd)("comparisonStart",Xe._comparisonRangeStart)("comparisonEnd",Xe._comparisonRangeEnd)("previewStart",Xe._previewStart)("previewEnd",Xe._previewEnd)("isRange",Xe._isRange)("labelMinRequiredCells",3)("activeCell",Xe._dateAdapter.getDate(Xe.activeDate)-1)("startDateAccessibleName",Xe.startDateAccessibleName)("endDateAccessibleName",Xe.endDateAccessibleName))},dependencies:[D.sg,le],encapsulation:2,changeDetection:0}),Zt})(),Nt=(()=>{class Zt{constructor(ge,Xe,St){this._changeDetectorRef=ge,this._dateAdapter=Xe,this._dir=St,this._rerenderSubscription=S.w0.EMPTY,this.selectedChange=new o.vpe,this.yearSelected=new o.vpe,this.activeDateChange=new o.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(ge){let Xe=this._activeDate;const St=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(St,this.minDate,this.maxDate),De(this._dateAdapter,Xe,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(ge){this._selected=ge instanceof oe?ge:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge)),this._setSelectedYear(ge)}get minDate(){return this._minDate}set minDate(ge){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))}get maxDate(){return this._maxDate}set maxDate(ge){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,G.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const Xe=this._dateAdapter.getYear(this._activeDate)-He(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let St=0,pt=[];St<24;St++)pt.push(Xe+St),4==pt.length&&(this._years.push(pt.map(Xt=>this._createCellForYear(Xt))),pt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(ge){const Xe=ge.value,St=this._dateAdapter.createDate(Xe,0,1),pt=this._getDateFromYear(Xe);this.yearSelected.emit(St),this.selectedChange.emit(pt)}_updateActiveDate(ge){const St=this._activeDate;this.activeDate=this._getDateFromYear(ge.value),this._dateAdapter.compareDate(St,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(ge){const Xe=this._activeDate,St=this._isRtl();switch(ge.keyCode){case E.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,St?1:-1);break;case E.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,St?-1:1);break;case E.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case E.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case E.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-He(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case E.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-He(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case E.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ge.altKey?-240:-24);break;case E.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ge.altKey?240:24);break;case E.K5:case E.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Xe,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),ge.preventDefault()}_handleCalendarBodyKeyup(ge){(ge.keyCode===E.L_||ge.keyCode===E.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:ge}),this._selectionKeyPressed=!1)}_getActiveCell(){return He(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(ge){const Xe=this._dateAdapter.getMonth(this.activeDate),St=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(ge,Xe,1));return this._dateAdapter.createDate(ge,Xe,Math.min(this._dateAdapter.getDate(this.activeDate),St))}_createCellForYear(ge){const Xe=this._dateAdapter.createDate(ge,0,1),St=this._dateAdapter.getYearName(Xe),pt=this.dateClass?this.dateClass(Xe,"multi-year"):void 0;return new Ie(ge,St,St,this._shouldEnableYear(ge),pt)}_shouldEnableYear(ge){if(null==ge||this.maxDate&&ge>this._dateAdapter.getYear(this.maxDate)||this.minDate&&ge<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let St=this._dateAdapter.createDate(ge,0,1);this._dateAdapter.getYear(St)==ge;St=this._dateAdapter.addCalendarDays(St,1))if(this.dateFilter(St))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(ge){if(this._selectedYear=null,ge instanceof oe){const Xe=ge.start||ge.end;Xe&&(this._selectedYear=this._dateAdapter.getYear(Xe))}else ge&&(this._selectedYear=this._dateAdapter.getYear(ge))}}return Zt.\u0275fac=function(ge){return new(ge||Zt)(o.Y36(o.sBO),o.Y36(P._A,8),o.Y36(N.Is,8))},Zt.\u0275cmp=o.Xpm({type:Zt,selectors:[["mat-multi-year-view"]],viewQuery:function(ge,Xe){if(1&ge&&o.Gf(le,5),2&ge){let St;o.iGM(St=o.CRH())&&(Xe._matCalendarBody=St.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(ge,Xe){1&ge&&(o.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),o._UZ(3,"th",2),o.qZA()(),o.TgZ(4,"tbody",3),o.NdJ("selectedValueChange",function(pt){return Xe._yearSelected(pt)})("activeDateChange",function(pt){return Xe._updateActiveDate(pt)})("keyup",function(pt){return Xe._handleCalendarBodyKeyup(pt)})("keydown",function(pt){return Xe._handleCalendarBodyKeydown(pt)}),o.qZA()()),2&ge&&(o.xp6(4),o.Q6J("rows",Xe._years)("todayValue",Xe._todayYear)("startValue",Xe._selectedYear)("endValue",Xe._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",Xe._getActiveCell()))},dependencies:[le],encapsulation:2,changeDetection:0}),Zt})();function De(Zt,oi,ge,Xe,St){const pt=Zt.getYear(oi),Xt=Zt.getYear(ge),zt=Ct(Zt,Xe,St);return Math.floor((pt-zt)/24)===Math.floor((Xt-zt)/24)}function He(Zt,oi,ge,Xe){return function Pe(Zt,oi){return(Zt%oi+oi)%oi}(Zt.getYear(oi)-Ct(Zt,ge,Xe),24)}function Ct(Zt,oi,ge){let Xe=0;return ge?Xe=Zt.getYear(ge)-24+1:oi&&(Xe=Zt.getYear(oi)),Xe}let tt=(()=>{class Zt{constructor(ge,Xe,St,pt){this._changeDetectorRef=ge,this._dateFormats=Xe,this._dateAdapter=St,this._dir=pt,this._rerenderSubscription=S.w0.EMPTY,this.selectedChange=new o.vpe,this.monthSelected=new o.vpe,this.activeDateChange=new o.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(ge){let Xe=this._activeDate;const St=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(St,this.minDate,this.maxDate),this._dateAdapter.getYear(Xe)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(ge){this._selected=ge instanceof oe?ge:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge)),this._setSelectedMonth(ge)}get minDate(){return this._minDate}set minDate(ge){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))}get maxDate(){return this._maxDate}set maxDate(ge){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,G.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(ge){const Xe=ge.value,St=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Xe,1);this.monthSelected.emit(St);const pt=this._getDateFromMonth(Xe);this.selectedChange.emit(pt)}_updateActiveDate(ge){const St=this._activeDate;this.activeDate=this._getDateFromMonth(ge.value),this._dateAdapter.compareDate(St,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(ge){const Xe=this._activeDate,St=this._isRtl();switch(ge.keyCode){case E.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,St?1:-1);break;case E.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,St?-1:1);break;case E.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case E.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case E.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case E.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case E.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ge.altKey?-10:-1);break;case E.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ge.altKey?10:1);break;case E.K5:case E.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Xe,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),ge.preventDefault()}_handleCalendarBodyKeyup(ge){(ge.keyCode===E.L_||ge.keyCode===E.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:ge}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let ge=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(Xe=>Xe.map(St=>this._createCellForMonth(St,ge[St]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(ge){return ge&&this._dateAdapter.getYear(ge)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(ge):null}_getDateFromMonth(ge){const Xe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),ge,1),St=this._dateAdapter.getNumDaysInMonth(Xe);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),ge,Math.min(this._dateAdapter.getDate(this.activeDate),St))}_createCellForMonth(ge,Xe){const St=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),ge,1),pt=this._dateAdapter.format(St,this._dateFormats.display.monthYearA11yLabel),Xt=this.dateClass?this.dateClass(St,"year"):void 0;return new Ie(ge,Xe.toLocaleUpperCase(),pt,this._shouldEnableMonth(ge),Xt)}_shouldEnableMonth(ge){const Xe=this._dateAdapter.getYear(this.activeDate);if(null==ge||this._isYearAndMonthAfterMaxDate(Xe,ge)||this._isYearAndMonthBeforeMinDate(Xe,ge))return!1;if(!this.dateFilter)return!0;for(let pt=this._dateAdapter.createDate(Xe,ge,1);this._dateAdapter.getMonth(pt)==ge;pt=this._dateAdapter.addCalendarDays(pt,1))if(this.dateFilter(pt))return!0;return!1}_isYearAndMonthAfterMaxDate(ge,Xe){if(this.maxDate){const St=this._dateAdapter.getYear(this.maxDate),pt=this._dateAdapter.getMonth(this.maxDate);return ge>St||ge===St&&Xe>pt}return!1}_isYearAndMonthBeforeMinDate(ge,Xe){if(this.minDate){const St=this._dateAdapter.getYear(this.minDate),pt=this._dateAdapter.getMonth(this.minDate);return ge<St||ge===St&&Xe<pt}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(ge){this._selectedMonth=ge instanceof oe?this._getMonthInCurrentYear(ge.start)||this._getMonthInCurrentYear(ge.end):this._getMonthInCurrentYear(ge)}}return Zt.\u0275fac=function(ge){return new(ge||Zt)(o.Y36(o.sBO),o.Y36(P.sG,8),o.Y36(P._A,8),o.Y36(N.Is,8))},Zt.\u0275cmp=o.Xpm({type:Zt,selectors:[["mat-year-view"]],viewQuery:function(ge,Xe){if(1&ge&&o.Gf(le,5),2&ge){let St;o.iGM(St=o.CRH())&&(Xe._matCalendarBody=St.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(ge,Xe){1&ge&&(o.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),o._UZ(3,"th",2),o.qZA()(),o.TgZ(4,"tbody",3),o.NdJ("selectedValueChange",function(pt){return Xe._monthSelected(pt)})("activeDateChange",function(pt){return Xe._updateActiveDate(pt)})("keyup",function(pt){return Xe._handleCalendarBodyKeyup(pt)})("keydown",function(pt){return Xe._handleCalendarBodyKeydown(pt)}),o.qZA()()),2&ge&&(o.xp6(4),o.Q6J("label",Xe._yearLabel)("rows",Xe._months)("todayValue",Xe._todayMonth)("startValue",Xe._selectedMonth)("endValue",Xe._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",Xe._dateAdapter.getMonth(Xe.activeDate)))},dependencies:[le],encapsulation:2,changeDetection:0}),Zt})(),Bt=1,Lt=(()=>{class Zt{constructor(ge,Xe,St,pt,Xt){this._intl=ge,this.calendar=Xe,this._dateAdapter=St,this._dateFormats=pt,this._id="mat-calendar-header-"+Bt++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>Xt.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:-24)}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:24)}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(ge,Xe){return"month"==this.calendar.currentView?this._dateAdapter.getYear(ge)==this._dateAdapter.getYear(Xe)&&this._dateAdapter.getMonth(ge)==this._dateAdapter.getMonth(Xe):"year"==this.calendar.currentView?this._dateAdapter.getYear(ge)==this._dateAdapter.getYear(Xe):De(this._dateAdapter,ge,Xe,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const Xe=this._dateAdapter.getYear(this.calendar.activeDate)-He(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),St=Xe+24-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(Xe,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(St,0,1))]}}return Zt.\u0275fac=function(ge){return new(ge||Zt)(o.Y36(ct),o.Y36((0,o.Gpc)(()=>Ht)),o.Y36(P._A,8),o.Y36(P.sG,8),o.Y36(o.sBO))},Zt.\u0275cmp=o.Xpm({type:Zt,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:h,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(ge,Xe){1&ge&&(o.F$t(),o.TgZ(0,"div",0)(1,"div",1)(2,"button",2),o.NdJ("click",function(){return Xe.currentPeriodClicked()}),o.TgZ(3,"span",3),o._uU(4),o.qZA(),o.O4$(),o.TgZ(5,"svg",4),o._UZ(6,"polygon",5),o.qZA()(),o.kcU(),o._UZ(7,"div",6),o.Hsn(8),o.TgZ(9,"button",7),o.NdJ("click",function(){return Xe.previousClicked()}),o.qZA(),o.TgZ(10,"button",8),o.NdJ("click",function(){return Xe.nextClicked()}),o.qZA()()(),o.TgZ(11,"label",9),o._uU(12),o.qZA()),2&ge&&(o.xp6(2),o.uIk("aria-label",Xe.periodButtonLabel)("aria-describedby",Xe._periodButtonLabelId),o.xp6(2),o.Oqu(Xe.periodButtonText),o.xp6(1),o.ekj("mat-calendar-invert","month"!==Xe.calendar.currentView),o.xp6(4),o.Q6J("disabled",!Xe.previousEnabled()),o.uIk("aria-label",Xe.prevButtonLabel),o.xp6(1),o.Q6J("disabled",!Xe.nextEnabled()),o.uIk("aria-label",Xe.nextButtonLabel),o.xp6(1),o.Q6J("id",Xe._periodButtonLabelId),o.xp6(1),o.Oqu(Xe.periodButtonDescription))},dependencies:[C.lW,C.RK],encapsulation:2,changeDetection:0}),Zt})(),Ht=(()=>{class Zt{constructor(ge,Xe,St,pt){this._dateAdapter=Xe,this._dateFormats=St,this._changeDetectorRef=pt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new o.vpe,this.yearSelected=new o.vpe,this.monthSelected=new o.vpe,this.viewChanged=new o.vpe(!0),this._userSelection=new o.vpe,this.stateChanges=new d.x,this._intlChanges=ge.changes.subscribe(()=>{pt.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(ge){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))}get selected(){return this._selected}set selected(ge){this._selected=ge instanceof oe?ge:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))}get minDate(){return this._minDate}set minDate(ge){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))}get maxDate(){return this._maxDate}set maxDate(ge){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))}get activeDate(){return this._clampedActiveDate}set activeDate(ge){this._clampedActiveDate=this._dateAdapter.clampDate(ge,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(ge){const Xe=this._currentView!==ge?ge:null;this._currentView=ge,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),Xe&&this.viewChanged.emit(Xe)}ngAfterContentInit(){this._calendarHeaderPortal=new v.C5(this.headerComponent||Lt),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(ge){const Xe=ge.minDate&&!this._dateAdapter.sameDate(ge.minDate.previousValue,ge.minDate.currentValue)?ge.minDate:void 0,St=ge.maxDate&&!this._dateAdapter.sameDate(ge.maxDate.previousValue,ge.maxDate.currentValue)?ge.maxDate:void 0,pt=Xe||St||ge.dateFilter;if(pt&&!pt.firstChange){const Xt=this._getCurrentViewComponent();Xt&&(this._changeDetectorRef.detectChanges(),Xt._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(ge){const Xe=ge.value;(this.selected instanceof oe||Xe&&!this._dateAdapter.sameDate(Xe,this.selected))&&this.selectedChange.emit(Xe),this._userSelection.emit(ge)}_yearSelectedInMultiYearView(ge){this.yearSelected.emit(ge)}_monthSelectedInYearView(ge){this.monthSelected.emit(ge)}_goToDateInView(ge,Xe){this.activeDate=ge,this.currentView=Xe}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Zt.\u0275fac=function(ge){return new(ge||Zt)(o.Y36(ct),o.Y36(P._A,8),o.Y36(P.sG,8),o.Y36(o.sBO))},Zt.\u0275cmp=o.Xpm({type:Zt,selectors:[["mat-calendar"]],viewQuery:function(ge,Xe){if(1&ge&&(o.Gf(qt,5),o.Gf(tt,5),o.Gf(Nt,5)),2&ge){let St;o.iGM(St=o.CRH())&&(Xe.monthView=St.first),o.iGM(St=o.CRH())&&(Xe.yearView=St.first),o.iGM(St=o.CRH())&&(Xe.multiYearView=St.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"},exportAs:["matCalendar"],features:[o._Bn([q]),o.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(ge,Xe){1&ge&&(o.YNc(0,l,0,0,"ng-template",0),o.TgZ(1,"div",1),o.YNc(2,y,1,10,"mat-month-view",2),o.YNc(3,A,1,6,"mat-year-view",3),o.YNc(4,k,1,6,"mat-multi-year-view",4),o.qZA()),2&ge&&(o.Q6J("cdkPortalOutlet",Xe._calendarHeaderPortal),o.xp6(1),o.Q6J("ngSwitch",Xe.currentView),o.xp6(1),o.Q6J("ngSwitchCase","month"),o.xp6(1),o.Q6J("ngSwitchCase","year"),o.xp6(1),o.Q6J("ngSwitchCase","multi-year"))},dependencies:[D.RF,D.n9,t.kH,v.Pl,qt,tt,Nt],styles:['.mat-calendar{display:block}.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}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.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-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}.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}.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}),Zt})();const bt={transformPanel:(0,ee.X$)("transformPanel",[(0,ee.eR)("void => enter-dropdown",(0,ee.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.F4)([(0,ee.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ee.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ee.eR)("void => enter-dialog",(0,ee.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.F4)([(0,ee.oB)({opacity:0,transform:"scale(0.7)"}),(0,ee.oB)({transform:"none",opacity:1})]))),(0,ee.eR)("* => void",(0,ee.jt)("100ms linear",(0,ee.oB)({opacity:0})))]),fadeInCalendar:(0,ee.X$)("fadeInCalendar",[(0,ee.SB)("void",(0,ee.oB)({opacity:0})),(0,ee.SB)("enter",(0,ee.oB)({opacity:1})),(0,ee.eR)("void => *",(0,ee.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Me=0;const J=new o.OlP("mat-datepicker-scroll-strategy"),Re={provide:J,deps:[e.aV],useFactory:function ve(Zt){return()=>Zt.scrollStrategies.reposition()}},at=(0,P.pj)(class{constructor(Zt){this._elementRef=Zt}});let ni=(()=>{class Zt extends at{constructor(ge,Xe,St,pt,Xt,zt){super(ge),this._changeDetectorRef=Xe,this._globalModel=St,this._dateAdapter=pt,this._rangeSelectionStrategy=Xt,this._subscriptions=new S.w0,this._animationDone=new d.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=zt.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(ge){const Xe=this._model.selection,St=ge.value,pt=Xe instanceof oe;if(pt&&this._rangeSelectionStrategy){const Xt=this._rangeSelectionStrategy.selectionFinished(St,Xe,ge.event);this._model.updateSelection(Xt,this)}else St&&(pt||!this._dateAdapter.sameDate(St,Xe))&&this._model.add(St);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(ge){this._isAnimating="start"===ge.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(ge,Xe){this._model=ge?this._globalModel.clone():this._globalModel,this._actionsPortal=ge,Xe&&this._changeDetectorRef.detectChanges()}}return Zt.\u0275fac=function(ge){return new(ge||Zt)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(be),o.Y36(P._A),o.Y36(ke,8),o.Y36(ct))},Zt.\u0275cmp=o.Xpm({type:Zt,selectors:[["mat-datepicker-content"]],viewQuery:function(ge,Xe){if(1&ge&&o.Gf(Ht,5),2&ge){let St;o.iGM(St=o.CRH())&&(Xe._calendar=St.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(ge,Xe){1&ge&&o.WFA("@transformPanel.start",function(pt){return Xe._handleAnimationEvent(pt)})("@transformPanel.done",function(pt){return Xe._handleAnimationEvent(pt)}),2&ge&&(o.d8E("@transformPanel",Xe._animationState),o.ekj("mat-datepicker-content-touch",Xe.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[o.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"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(ge,Xe){if(1&ge&&(o.TgZ(0,"div",0)(1,"mat-calendar",1),o.NdJ("yearSelected",function(pt){return Xe.datepicker._selectYear(pt)})("monthSelected",function(pt){return Xe.datepicker._selectMonth(pt)})("viewChanged",function(pt){return Xe.datepicker._viewChanged(pt)})("_userSelection",function(pt){return Xe._handleUserSelection(pt)}),o.qZA(),o.YNc(2,g,0,0,"ng-template",2),o.TgZ(3,"button",3),o.NdJ("focus",function(){return Xe._closeButtonFocused=!0})("blur",function(){return Xe._closeButtonFocused=!1})("click",function(){return Xe.datepicker.close()}),o._uU(4),o.qZA()()),2&ge){let St;o.ekj("mat-datepicker-content-container-with-custom-header",Xe.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Xe._actionsPortal),o.uIk("aria-modal",!0)("aria-labelledby",null!==(St=Xe._dialogLabelId)&&void 0!==St?St:void 0),o.xp6(1),o.Q6J("id",Xe.datepicker.id)("ngClass",Xe.datepicker.panelClass)("startAt",Xe.datepicker.startAt)("startView",Xe.datepicker.startView)("minDate",Xe.datepicker._getMinDate())("maxDate",Xe.datepicker._getMaxDate())("dateFilter",Xe.datepicker._getDateFilter())("headerComponent",Xe.datepicker.calendarHeaderComponent)("selected",Xe._getSelected())("dateClass",Xe.datepicker.dateClass)("comparisonStart",Xe.comparisonStart)("comparisonEnd",Xe.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",Xe.startDateAccessibleName)("endDateAccessibleName",Xe.endDateAccessibleName),o.xp6(1),o.Q6J("cdkPortalOutlet",Xe._actionsPortal),o.xp6(1),o.ekj("cdk-visually-hidden",!Xe._closeButtonFocused),o.Q6J("color",Xe.color||"primary"),o.xp6(1),o.Oqu(Xe._closeButtonText)}},dependencies:[D.mk,C.lW,t.mK,v.Pl,Ht],styles:[".mat-datepicker-content{display:block;border-radius:4px}.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{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:[bt.transformPanel,bt.fadeInCalendar]},changeDetection:0}),Zt})(),Gt=(()=>{class Zt{constructor(ge,Xe,St,pt,Xt,zt,Li){this._overlay=ge,this._ngZone=Xe,this._viewContainerRef=St,this._dateAdapter=Xt,this._dir=zt,this._model=Li,this._inputStateChanges=S.w0.EMPTY,this._document=(0,o.f3M)(D.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new o.vpe,this.monthSelected=new o.vpe,this.viewChanged=new o.vpe(!0),this.openedStream=new o.vpe,this.closedStream=new o.vpe,this._opened=!1,this.id="mat-datepicker-"+Me++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new d.x,this._scrollStrategy=pt}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(ge){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(ge){this._color=ge}get touchUi(){return this._touchUi}set touchUi(ge){this._touchUi=(0,Y.Ig)(ge)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(ge){const Xe=(0,Y.Ig)(ge);Xe!==this._disabled&&(this._disabled=Xe,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(ge){this._restoreFocus=(0,Y.Ig)(ge)}get panelClass(){return this._panelClass}set panelClass(ge){this._panelClass=(0,Y.du)(ge)}get opened(){return this._opened}set opened(ge){(0,Y.Ig)(ge)?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}ngOnChanges(ge){const Xe=ge.xPosition||ge.yPosition;if(Xe&&!Xe.firstChange&&this._overlayRef){const St=this._overlayRef.getConfig().positionStrategy;St instanceof e._G&&(this._setConnectedPositions(St),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(ge){this._model.add(ge)}_selectYear(ge){this.yearSelected.emit(ge)}_selectMonth(ge){this.monthSelected.emit(ge)}_viewChanged(ge){this.viewChanged.emit(ge)}registerInput(ge){return this._inputStateChanges.unsubscribe(),this.datepickerInput=ge,this._inputStateChanges=ge.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(ge){this._actionsPortal=ge,this._componentRef?.instance._assignActions(ge,!0)}removeActions(ge){ge===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,X.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const ge=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,Xe=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:St,location:pt}=this._componentRef;St._startExitAnimation(),St._animationDone.pipe((0,z.q)(1)).subscribe(()=>{const Xt=this._document.activeElement;ge&&(!Xt||Xt===this._document.activeElement||pt.nativeElement.contains(Xt))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}ge?setTimeout(Xe):Xe()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(ge){ge.datepicker=this,ge.color=this.color,ge._dialogLabelId=this.datepickerInput.getOverlayLabelId(),ge._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const ge=this.touchUi,Xe=new v.C5(ni,this._viewContainerRef),St=this._overlayRef=this._overlay.create(new e.X_({positionStrategy:ge?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[ge?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:ge?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(ge?"dialog":"popup")}));this._getCloseStream(St).subscribe(pt=>{pt&&pt.preventDefault(),this.close()}),St.keydownEvents().subscribe(pt=>{const Xt=pt.keyCode;(Xt===E.LH||Xt===E.JH||Xt===E.oh||Xt===E.SV||Xt===E.Ku||Xt===E.VM)&&pt.preventDefault()}),this._componentRef=St.attach(Xe),this._forwardContentValues(this._componentRef.instance),ge||this._ngZone.onStable.pipe((0,z.q)(1)).subscribe(()=>St.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const ge=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(ge)}_setConnectedPositions(ge){const Xe="end"===this.xPosition?"end":"start",St="start"===Xe?"end":"start",pt="above"===this.yPosition?"bottom":"top",Xt="top"===pt?"bottom":"top";return ge.withPositions([{originX:Xe,originY:Xt,overlayX:Xe,overlayY:pt},{originX:Xe,originY:pt,overlayX:Xe,overlayY:Xt},{originX:St,originY:Xt,overlayX:St,overlayY:pt},{originX:St,originY:pt,overlayX:St,overlayY:Xt}])}_getCloseStream(ge){return(0,w.T)(ge.backdropClick(),ge.detachments(),ge.keydownEvents().pipe((0,W.h)(Xe=>Xe.keyCode===E.hY&&!(0,E.Vb)(Xe)||this.datepickerInput&&(0,E.Vb)(Xe,"altKey")&&Xe.keyCode===E.LH)))}}return Zt.\u0275fac=function(ge){return new(ge||Zt)(o.Y36(e.aV),o.Y36(o.R0b),o.Y36(o.s_b),o.Y36(J),o.Y36(P._A,8),o.Y36(N.Is,8),o.Y36(be))},Zt.\u0275dir=o.lG2({type:Zt,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:[o.TTD]}),Zt})(),ti=(()=>{class Zt extends Gt{}return Zt.\u0275fac=function(){let oi;return function(Xe){return(oi||(oi=o.n5z(Zt)))(Xe||Zt)}}(),Zt.\u0275cmp=o.Xpm({type:Zt,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[o._Bn([q,{provide:Gt,useExisting:Zt}]),o.qOj],decls:0,vars:0,template:function(ge,Xe){},encapsulation:2,changeDetection:0}),Zt})();class dt{constructor(oi,ge){this.target=oi,this.targetElement=ge,this.value=this.target.value}}let rt=(()=>{class Zt{constructor(ge,Xe,St){this._elementRef=ge,this._dateAdapter=Xe,this._dateFormats=St,this.dateChange=new o.vpe,this.dateInput=new o.vpe,this.stateChanges=new d.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=S.w0.EMPTY,this._localeSubscription=S.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=pt=>{const Xt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pt.value));return!Xt||this._matchesFilter(Xt)?null:{matDatepickerFilter:!0}},this._minValidator=pt=>{const Xt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pt.value)),zt=this._getMinDate();return!zt||!Xt||this._dateAdapter.compareDate(zt,Xt)<=0?null:{matDatepickerMin:{min:zt,actual:Xt}}},this._maxValidator=pt=>{const Xt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pt.value)),zt=this._getMaxDate();return!zt||!Xt||this._dateAdapter.compareDate(zt,Xt)>=0?null:{matDatepickerMax:{max:zt,actual:Xt}}},this._lastValueValid=!1,this._localeSubscription=Xe.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(ge){this._assignValueProgrammatically(ge)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(ge){const Xe=(0,Y.Ig)(ge),St=this._elementRef.nativeElement;this._disabled!==Xe&&(this._disabled=Xe,this.stateChanges.next(void 0)),Xe&&this._isInitialized&&St.blur&&St.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(ge){this._model=ge,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(Xe=>{if(this._shouldHandleChangeEvent(Xe)){const St=this._getValueFromModel(Xe.selection);this._lastValueValid=this._isValidValue(St),this._cvaOnChange(St),this._onTouched(),this._formatValue(St),this.dateInput.emit(new dt(this,this._elementRef.nativeElement)),this.dateChange.emit(new dt(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(ge){(function vt(Zt,oi){const ge=Object.keys(Zt);for(let Xe of ge){const{previousValue:St,currentValue:pt}=Zt[Xe];if(!oi.isDateInstance(St)||!oi.isDateInstance(pt))return!0;if(!oi.sameDate(St,pt))return!0}return!1})(ge,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(ge){this._validatorOnChange=ge}validate(ge){return this._validator?this._validator(ge):null}writeValue(ge){this._assignValueProgrammatically(ge)}registerOnChange(ge){this._cvaOnChange=ge}registerOnTouched(ge){this._onTouched=ge}setDisabledState(ge){this.disabled=ge}_onKeydown(ge){ge.altKey&&ge.keyCode===E.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),ge.preventDefault())}_onInput(ge){const Xe=this._lastValueValid;let St=this._dateAdapter.parse(ge,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(St),St=this._dateAdapter.getValidDateOrNull(St);const pt=!this._dateAdapter.sameDate(St,this.value);!St||pt?this._cvaOnChange(St):(ge&&!this.value&&this._cvaOnChange(St),Xe!==this._lastValueValid&&this._validatorOnChange()),pt&&(this._assignValue(St),this.dateInput.emit(new dt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new dt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(ge){this._elementRef.nativeElement.value=null!=ge?this._dateAdapter.format(ge,this._dateFormats.display.dateInput):""}_assignValue(ge){this._model?(this._assignValueToModel(ge),this._pendingValue=null):this._pendingValue=ge}_isValidValue(ge){return!ge||this._dateAdapter.isValid(ge)}_parentDisabled(){return!1}_assignValueProgrammatically(ge){ge=this._dateAdapter.deserialize(ge),this._lastValueValid=this._isValidValue(ge),ge=this._dateAdapter.getValidDateOrNull(ge),this._assignValue(ge),this._formatValue(ge)}_matchesFilter(ge){const Xe=this._getDateFilter();return!Xe||Xe(ge)}}return Zt.\u0275fac=function(ge){return new(ge||Zt)(o.Y36(o.SBq),o.Y36(P._A,8),o.Y36(P.sG,8))},Zt.\u0275dir=o.lG2({type:Zt,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[o.TTD]}),Zt})();const ai={provide:ue.JU,useExisting:(0,o.Gpc)(()=>Vt),multi:!0},Ut={provide:ue.Cf,useExisting:(0,o.Gpc)(()=>Vt),multi:!0};let Vt=(()=>{class Zt extends rt{constructor(ge,Xe,St,pt){super(ge,Xe,St),this._formField=pt,this._closedSubscription=S.w0.EMPTY,this._validator=ue.kI.compose(super._getValidators())}set matDatepicker(ge){ge&&(this._datepicker=ge,this._closedSubscription=ge.closedStream.subscribe(()=>this._onTouched()),this._registerModel(ge.registerInput(this)))}get min(){return this._min}set min(ge){const Xe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge));this._dateAdapter.sameDate(Xe,this._min)||(this._min=Xe,this._validatorOnChange())}get max(){return this._max}set max(ge){const Xe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge));this._dateAdapter.sameDate(Xe,this._max)||(this._max=Xe,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(ge){const Xe=this._matchesFilter(this.value);this._dateFilter=ge,this._matchesFilter(this.value)!==Xe&&this._validatorOnChange()}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(ge){return ge}_assignValueToModel(ge){this._model&&this._model.updateSelection(ge,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(ge){return ge.source!==this}}return Zt.\u0275fac=function(ge){return new(ge||Zt)(o.Y36(o.SBq),o.Y36(P._A,8),o.Y36(P.sG,8),o.Y36(he.G_,8))},Zt.\u0275dir=o.lG2({type:Zt,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(ge,Xe){1&ge&&o.NdJ("input",function(pt){return Xe._onInput(pt.target.value)})("change",function(){return Xe._onChange()})("blur",function(){return Xe._onBlur()})("keydown",function(pt){return Xe._onKeydown(pt)}),2&ge&&(o.Ikx("disabled",Xe.disabled),o.uIk("aria-haspopup",Xe._datepicker?"dialog":null)("aria-owns",(null==Xe._datepicker?null:Xe._datepicker.opened)&&Xe._datepicker.id||null)("min",Xe.min?Xe._dateAdapter.toIso8601(Xe.min):null)("max",Xe.max?Xe._dateAdapter.toIso8601(Xe.max):null)("data-mat-calendar",Xe._datepicker?Xe._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[o._Bn([ai,Ut,{provide:ie.Jk,useExisting:Zt}]),o.qOj]}),Zt})(),Rt=(()=>{class Zt{}return Zt.\u0275fac=function(ge){return new(ge||Zt)},Zt.\u0275dir=o.lG2({type:Zt,selectors:[["","matDatepickerToggleIcon",""]]}),Zt})(),je=(()=>{class Zt{constructor(ge,Xe,St){this._intl=ge,this._changeDetectorRef=Xe,this._stateChanges=S.w0.EMPTY;const pt=Number(St);this.tabIndex=pt||0===pt?pt:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(ge){this._disabled=(0,Y.Ig)(ge)}ngOnChanges(ge){ge.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(ge){this.datepicker&&!this.disabled&&(this.datepicker.open(),ge.stopPropagation())}_watchStateChanges(){const ge=this.datepicker?this.datepicker.stateChanges:(0,I.of)(),Xe=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,I.of)(),St=this.datepicker?(0,w.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,I.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,w.T)(this._intl.changes,ge,Xe,St).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Zt.\u0275fac=function(ge){return new(ge||Zt)(o.Y36(ct),o.Y36(o.sBO),o.$8M("tabindex"))},Zt.\u0275cmp=o.Xpm({type:Zt,selectors:[["mat-datepicker-toggle"]],contentQueries:function(ge,Xe,St){if(1&ge&&o.Suo(St,Rt,5),2&ge){let pt;o.iGM(pt=o.CRH())&&(Xe._customIcon=pt.first)}},viewQuery:function(ge,Xe){if(1&ge&&o.Gf(n,5),2&ge){let St;o.iGM(St=o.CRH())&&(Xe._button=St.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(ge,Xe){1&ge&&o.NdJ("click",function(pt){return Xe._open(pt)}),2&ge&&(o.uIk("tabindex",null)("data-mat-calendar",Xe.datepicker?Xe.datepicker.id:null),o.ekj("mat-datepicker-toggle-active",Xe.datepicker&&Xe.datepicker.opened)("mat-accent",Xe.datepicker&&"accent"===Xe.datepicker.color)("mat-warn",Xe.datepicker&&"warn"===Xe.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[o.TTD],ngContentSelectors:V,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",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",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(ge,Xe){1&ge&&(o.F$t(U),o.TgZ(0,"button",0,1),o.YNc(2,b,2,0,"svg",2),o.Hsn(3),o.qZA()),2&ge&&(o.Q6J("disabled",Xe.disabled)("disableRipple",Xe.disableRipple),o.uIk("aria-haspopup",Xe.datepicker?"dialog":null)("aria-label",Xe.ariaLabel||Xe._intl.openCalendarLabel)("tabindex",Xe.disabled?-1:Xe.tabIndex),o.xp6(2),o.Q6J("ngIf",!Xe._customIcon))},dependencies:[D.O5,C.RK],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),Zt})(),Wi=(()=>{class Zt{}return Zt.\u0275fac=function(ge){return new(ge||Zt)},Zt.\u0275mod=o.oAB({type:Zt}),Zt.\u0275inj=o.cJS({providers:[ct,Re],imports:[D.ez,C.ot,e.U8,t.rt,v.eL,P.BQ,u.ZD]}),Zt})()},7274:(Ve,Q,m)=>{"use strict";m.d(Q,{WI:()=>ct,Bq:()=>Ie,uw:()=>oe,ZT:()=>te,Is:()=>Ce,so:()=>Ke});var t=m(8184),e=m(6895),v=m(4650),D=m(4761),o_OPEN="mdc-dialog--open",u_DIALOG_ANIMATION_CLOSE_TIME_MS=(["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),75),P=m(3353),d=m(4080),S=m(9521),w=m(7579),I=m(9770),E=m(9646),N=m(445),z=m(8675);function G(nt,wt){}class W{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}}let X=(()=>{class nt extends d.en{constructor(it,qt,_t,ne,Nt,De,He,Ct){super(),this._elementRef=it,this._focusTrapFactory=qt,this._config=ne,this._interactivityChecker=Nt,this._ngZone=De,this._overlayRef=He,this._focusMonitor=Ct,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Pe=>{this._portalOutlet.hasAttached();const tt=this._portalOutlet.attachDomPortal(Pe);return this._contentAttached(),tt},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=_t}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(it){this._portalOutlet.hasAttached();const qt=this._portalOutlet.attachComponentPortal(it);return this._contentAttached(),qt}attachTemplatePortal(it){this._portalOutlet.hasAttached();const qt=this._portalOutlet.attachTemplatePortal(it);return this._contentAttached(),qt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(it,qt){this._interactivityChecker.isFocusable(it)||(it.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const _t=()=>{it.removeEventListener("blur",_t),it.removeEventListener("mousedown",_t),it.removeAttribute("tabindex")};it.addEventListener("blur",_t),it.addEventListener("mousedown",_t)})),it.focus(qt)}_focusByCssSelector(it,qt){let _t=this._elementRef.nativeElement.querySelector(it);_t&&this._forceFocus(_t,qt)}_trapFocus(){const it=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||it.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(qt=>{qt||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 it=this._config.restoreFocus;let qt=null;if("string"==typeof it?qt=this._document.querySelector(it):"boolean"==typeof it?qt=it?this._elementFocusedBeforeDialogWasOpened:null:it&&(qt=it),this._config.restoreFocus&&qt&&"function"==typeof qt.focus){const _t=(0,P.ht)(),ne=this._elementRef.nativeElement;(!_t||_t===this._document.body||_t===ne||ne.contains(_t))&&(this._focusMonitor?(this._focusMonitor.focusVia(qt,this._closeInteractionType),this._closeInteractionType=null):qt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const it=this._elementRef.nativeElement,qt=(0,P.ht)();return it===qt||it.contains(qt)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,P.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return nt.\u0275fac=function(it){return new(it||nt)(v.Y36(v.SBq),v.Y36(D.qV),v.Y36(e.K0,8),v.Y36(W),v.Y36(D.ic),v.Y36(v.R0b),v.Y36(t.Iu),v.Y36(D.tE))},nt.\u0275cmp=v.Xpm({type:nt,selectors:[["cdk-dialog-container"]],viewQuery:function(it,qt){if(1&it&&v.Gf(d.Pl,7),2&it){let _t;v.iGM(_t=v.CRH())&&(qt._portalOutlet=_t.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(it,qt){2&it&&v.uIk("id",qt._config.id||null)("role",qt._config.role)("aria-modal",qt._config.ariaModal)("aria-labelledby",qt._config.ariaLabel?null:qt._ariaLabelledBy)("aria-label",qt._config.ariaLabel)("aria-describedby",qt._config.ariaDescribedBy||null)},features:[v.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(it,qt){1&it&&v.YNc(0,G,0,0,"ng-template",0)},dependencies:[d.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),nt})();class ee{constructor(wt,it){this.overlayRef=wt,this.config=it,this.closed=new w.x,this.disableClose=it.disableClose,this.backdropClick=wt.backdropClick(),this.keydownEvents=wt.keydownEvents(),this.outsidePointerEvents=wt.outsidePointerEvents(),this.id=it.id,this.keydownEvents.subscribe(qt=>{qt.keyCode===S.hY&&!this.disableClose&&!(0,S.Vb)(qt)&&(qt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(wt,it){if(this.containerInstance){const qt=this.closed;this.containerInstance._closeInteractionType=it?.focusOrigin||"program",this.overlayRef.dispose(),qt.next(wt),qt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(wt="",it=""){return this.overlayRef.updateSize({width:wt,height:it}),this}addPanelClass(wt){return this.overlayRef.addPanelClass(wt),this}removePanelClass(wt){return this.overlayRef.removePanelClass(wt),this}}const ue=new v.OlP("DialogScrollStrategy"),he=new v.OlP("DialogData"),ie=new v.OlP("DefaultDialogConfig"),$={provide:ue,deps:[t.aV],useFactory:function ce(nt){return()=>nt.scrollStrategies.block()}};let fe=0,T=(()=>{class nt{constructor(it,qt,_t,ne,Nt,De){this._overlay=it,this._injector=qt,this._defaultOptions=_t,this._parentDialog=ne,this._overlayContainer=Nt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new w.x,this._afterOpenedAtThisLevel=new w.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,I.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,z.O)(void 0))),this._scrollStrategy=De}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(it,qt){(qt={...this._defaultOptions||new W,...qt}).id=qt.id||"cdk-dialog-"+fe++,qt.id&&this.getDialogById(qt.id);const ne=this._getOverlayConfig(qt),Nt=this._overlay.create(ne),De=new ee(Nt,qt),He=this._attachContainer(Nt,De,qt);return De.containerInstance=He,this._attachDialogContent(it,De,He,qt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(De),De.closed.subscribe(()=>this._removeOpenDialog(De,!0)),this.afterOpened.next(De),De}closeAll(){i(this.openDialogs,it=>it.close())}getDialogById(it){return this.openDialogs.find(qt=>qt.id===it)}ngOnDestroy(){i(this._openDialogsAtThisLevel,it=>{!1===it.config.closeOnDestroy&&this._removeOpenDialog(it,!1)}),i(this._openDialogsAtThisLevel,it=>it.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(it){const qt=new t.X_({positionStrategy:it.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:it.scrollStrategy||this._scrollStrategy(),panelClass:it.panelClass,hasBackdrop:it.hasBackdrop,direction:it.direction,minWidth:it.minWidth,minHeight:it.minHeight,maxWidth:it.maxWidth,maxHeight:it.maxHeight,width:it.width,height:it.height,disposeOnNavigation:it.closeOnNavigation});return it.backdropClass&&(qt.backdropClass=it.backdropClass),qt}_attachContainer(it,qt,_t){const ne=_t.injector||_t.viewContainerRef?.injector,Nt=[{provide:W,useValue:_t},{provide:ee,useValue:qt},{provide:t.Iu,useValue:it}];let De;_t.container?"function"==typeof _t.container?De=_t.container:(De=_t.container.type,Nt.push(..._t.container.providers(_t))):De=X;const He=new d.C5(De,_t.viewContainerRef,v.zs3.create({parent:ne||this._injector,providers:Nt}),_t.componentFactoryResolver);return it.attach(He).instance}_attachDialogContent(it,qt,_t,ne){if(it instanceof v.Rgc){const Nt=this._createInjector(ne,qt,_t,void 0);let De={$implicit:ne.data,dialogRef:qt};ne.templateContext&&(De={...De,..."function"==typeof ne.templateContext?ne.templateContext():ne.templateContext}),_t.attachTemplatePortal(new d.UE(it,null,De,Nt))}else{const Nt=this._createInjector(ne,qt,_t,this._injector),De=_t.attachComponentPortal(new d.C5(it,ne.viewContainerRef,Nt,ne.componentFactoryResolver));qt.componentInstance=De.instance}}_createInjector(it,qt,_t,ne){const Nt=it.injector||it.viewContainerRef?.injector,De=[{provide:he,useValue:it.data},{provide:ee,useValue:qt}];return it.providers&&("function"==typeof it.providers?De.push(...it.providers(qt,it,_t)):De.push(...it.providers)),it.direction&&(!Nt||!Nt.get(N.Is,null,{optional:!0}))&&De.push({provide:N.Is,useValue:{value:it.direction,change:(0,E.of)()}}),v.zs3.create({parent:Nt||ne,providers:De})}_removeOpenDialog(it,qt){const _t=this.openDialogs.indexOf(it);_t>-1&&(this.openDialogs.splice(_t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((ne,Nt)=>{ne?Nt.setAttribute("aria-hidden",ne):Nt.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),qt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const it=this._overlayContainer.getContainerElement();if(it.parentElement){const qt=it.parentElement.children;for(let _t=qt.length-1;_t>-1;_t--){const ne=qt[_t];ne!==it&&"SCRIPT"!==ne.nodeName&&"STYLE"!==ne.nodeName&&!ne.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(ne,ne.getAttribute("aria-hidden")),ne.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const it=this._parentDialog;return it?it._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return nt.\u0275fac=function(it){return new(it||nt)(v.LFG(t.aV),v.LFG(v.zs3),v.LFG(ie,8),v.LFG(nt,12),v.LFG(t.Xj),v.LFG(ue))},nt.\u0275prov=v.Yz7({token:nt,factory:nt.\u0275fac}),nt})();function i(nt,wt){let it=nt.length;for(;it--;)wt(nt[it])}let r=(()=>{class nt{}return nt.\u0275fac=function(it){return new(it||nt)},nt.\u0275mod=v.oAB({type:nt}),nt.\u0275inj=v.cJS({providers:[T,$],imports:[t.U8,d.eL,D.rt,d.eL]}),nt})();var h=m(1281),l=m(6451),y=m(9300),A=m(5698),k=m(3238);function n(nt,wt){}m(7340);class b{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}}let U=(()=>{class nt extends X{constructor(it,qt,_t,ne,Nt,De,He,Ct){super(it,qt,_t,ne,Nt,De,He,Ct),this._animationStateChanged=new v.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(it){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:it})}}return nt.\u0275fac=function(it){return new(it||nt)(v.Y36(v.SBq),v.Y36(D.qV),v.Y36(e.K0,8),v.Y36(b),v.Y36(D.ic),v.Y36(v.R0b),v.Y36(t.Iu),v.Y36(D.tE))},nt.\u0275cmp=v.Xpm({type:nt,selectors:[["ng-component"]],features:[v.qOj],decls:0,vars:0,template:function(it,qt){},encapsulation:2}),nt})();const V="--mat-dialog-transition-duration";function j(nt){return null==nt?null:"number"==typeof nt?nt:nt.endsWith("ms")?(0,h.su)(nt.substring(0,nt.length-2)):nt.endsWith("s")?1e3*(0,h.su)(nt.substring(0,nt.length-1)):"0"===nt?0:null}let Ae=(()=>{class nt extends U{constructor(it,qt,_t,ne,Nt,De,He,Ct,Pe){super(it,qt,_t,ne,Nt,De,He,Pe),this._animationMode=Ct,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?j(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?j(this._config.exitAnimationDuration)??u_DIALOG_ANIMATION_CLOSE_TIME_MS:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(V,`${this._openAnimationDuration}ms`),this._hostElement.classList.add("mdc-dialog--opening"),this._hostElement.classList.add(o_OPEN),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(o_OPEN),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(o_OPEN),this._animationsEnabled?(this._hostElement.style.setProperty(V,`${this._openAnimationDuration}ms`),this._hostElement.classList.add("mdc-dialog--closing"),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove("mdc-dialog--opening"),this._hostElement.classList.remove("mdc-dialog--closing")}_waitForAnimationToComplete(it,qt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(qt,it)}}return nt.\u0275fac=function(it){return new(it||nt)(v.Y36(v.SBq),v.Y36(D.qV),v.Y36(e.K0,8),v.Y36(b),v.Y36(D.ic),v.Y36(v.R0b),v.Y36(t.Iu),v.Y36(v.QbO,8),v.Y36(D.tE))},nt.\u0275cmp=v.Xpm({type:nt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(it,qt){2&it&&(v.Ikx("id",qt._config.id),v.uIk("aria-modal",qt._config.ariaModal)("role",qt._config.role)("aria-labelledby",qt._config.ariaLabel?null:qt._ariaLabelledBy)("aria-label",qt._config.ariaLabel)("aria-describedby",qt._config.ariaDescribedBy||null),v.ekj("_mat-animation-noopable",!qt._animationsEnabled))},features:[v.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(it,qt){1&it&&(v.TgZ(0,"div",0)(1,"div",1),v.YNc(2,n,0,0,"ng-template",2),v.qZA()())},dependencies:[d.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}.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__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{display:block;width:100%;height:100%}.mat-mdc-dialog-container{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, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.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}),nt})();class Ke{constructor(wt,it,qt){this._ref=wt,this._containerInstance=qt,this._afterOpened=new w.x,this._beforeClosed=new w.x,this._state=0,this.disableClose=it.disableClose,this.id=wt.id,qt._animationStateChanged.pipe((0,y.h)(_t=>"opened"===_t.state),(0,A.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),qt._animationStateChanged.pipe((0,y.h)(_t=>"closed"===_t.state),(0,A.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),wt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,l.T)(this.backdropClick(),this.keydownEvents().pipe((0,y.h)(_t=>_t.keyCode===S.hY&&!this.disableClose&&!(0,S.Vb)(_t)))).subscribe(_t=>{this.disableClose||(_t.preventDefault(),qe(this,"keydown"===_t.type?"keyboard":"mouse"))})}close(wt){this._result=wt,this._containerInstance._animationStateChanged.pipe((0,y.h)(it=>"closing"===it.state),(0,A.q)(1)).subscribe(it=>{this._beforeClosed.next(wt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),it.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(wt){let it=this._ref.config.positionStrategy;return wt&&(wt.left||wt.right)?wt.left?it.left(wt.left):it.right(wt.right):it.centerHorizontally(),wt&&(wt.top||wt.bottom)?wt.top?it.top(wt.top):it.bottom(wt.bottom):it.centerVertically(),this._ref.updatePosition(),this}updateSize(wt="",it=""){return this._ref.updateSize(wt,it),this}addPanelClass(wt){return this._ref.addPanelClass(wt),this}removePanelClass(wt){return this._ref.removePanelClass(wt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function qe(nt,wt,it){return nt._closeInteractionType=wt,nt.close(it)}const ct=new v.OlP("MatMdcDialogData"),Ie=new v.OlP("mat-mdc-dialog-default-options"),xe=new v.OlP("mat-mdc-dialog-scroll-strategy"),_e={provide:xe,deps:[t.aV],useFactory:function le(nt){return()=>nt.scrollStrategies.block()}};let Ye=0,Te=(()=>{class nt{constructor(it,qt,_t,ne,Nt,De,He,Ct,Pe,tt){this._overlay=it,this._defaultOptions=_t,this._parentDialog=ne,this._dialogRefConstructor=He,this._dialogContainerType=Ct,this._dialogDataToken=Pe,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new w.x,this._afterOpenedAtThisLevel=new w.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=b,this.afterAllClosed=(0,I.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,z.O)(void 0))),this._scrollStrategy=De,this._dialog=qt.get(T)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const it=this._parentDialog;return it?it._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(it,qt){let _t;(qt={...this._defaultOptions||new b,...qt}).id=qt.id||`${this._idPrefix}${Ye++}`,qt.scrollStrategy=qt.scrollStrategy||this._scrollStrategy();const ne=this._dialog.open(it,{...qt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:qt},{provide:W,useValue:qt}]},templateContext:()=>({dialogRef:_t}),providers:(Nt,De,He)=>(_t=new this._dialogRefConstructor(Nt,qt,He),_t.updatePosition(qt?.position),[{provide:this._dialogContainerType,useValue:He},{provide:this._dialogDataToken,useValue:De.data},{provide:this._dialogRefConstructor,useValue:_t}])});return _t.componentInstance=ne.componentInstance,this.openDialogs.push(_t),this.afterOpened.next(_t),_t.afterClosed().subscribe(()=>{const Nt=this.openDialogs.indexOf(_t);Nt>-1&&(this.openDialogs.splice(Nt,1),this.openDialogs.length||this._getAfterAllClosed().next())}),_t}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(it){return this.openDialogs.find(qt=>qt.id===it)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(it){let qt=it.length;for(;qt--;)it[qt].close()}}return nt.\u0275fac=function(it){v.$Z()},nt.\u0275prov=v.Yz7({token:nt,factory:nt.\u0275fac}),nt})(),oe=(()=>{class nt extends Te{constructor(it,qt,_t,ne,Nt,De,He,Ct){super(it,qt,ne,De,He,Nt,Ke,Ae,ct,Ct),this._idPrefix="mat-mdc-dialog-"}}return nt.\u0275fac=function(it){return new(it||nt)(v.LFG(t.aV),v.LFG(v.zs3),v.LFG(e.Ye,8),v.LFG(Ie,8),v.LFG(xe),v.LFG(nt,12),v.LFG(t.Xj),v.LFG(v.QbO,8))},nt.\u0275prov=v.Yz7({token:nt,factory:nt.\u0275fac}),nt})(),te=(()=>{class nt{constructor(it,qt,_t){this.dialogRef=it,this._elementRef=qt,this._dialog=_t,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function de(nt,wt){let it=nt.nativeElement.parentElement;for(;it&&!it.classList.contains("mat-mdc-dialog-container");)it=it.parentElement;return it?wt.find(qt=>qt.id===it.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(it){const qt=it._matDialogClose||it._matDialogCloseResult;qt&&(this.dialogResult=qt.currentValue)}_onButtonClick(it){qe(this.dialogRef,0===it.screenX&&0===it.screenY?"keyboard":"mouse",this.dialogResult)}}return nt.\u0275fac=function(it){return new(it||nt)(v.Y36(Ke,8),v.Y36(v.SBq),v.Y36(oe))},nt.\u0275dir=v.lG2({type:nt,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(it,qt){1&it&&v.NdJ("click",function(ne){return qt._onButtonClick(ne)}),2&it&&v.uIk("aria-label",qt.ariaLabel||null)("type",qt.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[v.TTD]}),nt})(),Ce=(()=>{class nt{}return nt.\u0275fac=function(it){return new(it||nt)},nt.\u0275mod=v.oAB({type:nt}),nt.\u0275inj=v.cJS({providers:[oe,_e],imports:[r,t.U8,d.eL,k.BQ,k.BQ]}),nt})()},4850:(Ve,Q,m)=>{"use strict";m.d(Q,{d:()=>D,t:()=>o});var t=m(4650),e=m(1281),v=m(3238);let D=(()=>{class C{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(P){this._vertical=(0,e.Ig)(P)}get inset(){return this._inset}set inset(P){this._inset=(0,e.Ig)(P)}}return C.\u0275fac=function(P){return new(P||C)},C.\u0275cmp=t.Xpm({type:C,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(P,d){2&P&&(t.uIk("aria-orientation",d.vertical?"vertical":"horizontal"),t.ekj("mat-divider-vertical",d.vertical)("mat-divider-horizontal",!d.vertical)("mat-divider-inset",d.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(P,d){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.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}),C})(),o=(()=>{class C{}return C.\u0275fac=function(P){return new(P||C)},C.\u0275mod=t.oAB({type:C}),C.\u0275inj=t.cJS({imports:[v.BQ,v.BQ]}),C})()},752:(Ve,Q,m)=>{"use strict";m.d(Q,{pp:()=>Ie,To:()=>xe,ib:()=>U,u4:()=>qe,yz:()=>Ke,yK:()=>ct});var t=m(4650),e=m(5017),v=m(1281),D=m(7579),o=m(727);let C=0;const u=new t.OlP("CdkAccordion");let P=(()=>{class le{constructor(){this._stateChanges=new D.x,this._openCloseAllActions=new D.x,this.id="cdk-accordion-"+C++,this._multi=!1}get multi(){return this._multi}set multi(se){this._multi=(0,v.Ig)(se)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(se){this._stateChanges.next(se)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return le.\u0275fac=function(se){return new(se||le)},le.\u0275dir=t.lG2({type:le,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[t._Bn([{provide:u,useExisting:le}]),t.TTD]}),le})(),d=0,S=(()=>{class le{constructor(se,Ye,Te){this.accordion=se,this._changeDetectorRef=Ye,this._expansionDispatcher=Te,this._openCloseAllSubscription=o.w0.EMPTY,this.closed=new t.vpe,this.opened=new t.vpe,this.destroyed=new t.vpe,this.expandedChange=new t.vpe,this.id="cdk-accordion-child-"+d++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=Te.listen((oe,be)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===be&&this.id!==oe&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(se){se=(0,v.Ig)(se),this._expanded!==se&&(this._expanded=se,this.expandedChange.emit(se),se?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(se){this._disabled=(0,v.Ig)(se)}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(se=>{this.disabled||(this.expanded=se)})}}return le.\u0275fac=function(se){return new(se||le)(t.Y36(u,12),t.Y36(t.sBO),t.Y36(e.A8))},le.\u0275dir=t.lG2({type:le,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[t._Bn([{provide:u,useValue:void 0}])]}),le})(),w=(()=>{class le{}return le.\u0275fac=function(se){return new(se||le)},le.\u0275mod=t.oAB({type:le}),le.\u0275inj=t.cJS({}),le})();var I=m(4080),E=m(6895),N=m(3238),z=m(4761),G=m(1884),W=m(8675),Y=m(9300),X=m(5698),ee=m(9521),ue=m(515),he=m(6451),ie=m(7340);const ce=["body"];function $(le,_e){}const fe=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],T=["mat-expansion-panel-header","*","mat-action-row"];function i(le,_e){if(1&le&&t._UZ(0,"span",2),2&le){const se=t.oxw();t.Q6J("@indicatorRotate",se._getExpandedState())}}const r=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],h=["mat-panel-title","mat-panel-description","*"],l=new t.OlP("MAT_ACCORDION"),y="225ms cubic-bezier(0.4,0.0,0.2,1)",A={indicatorRotate:(0,ie.X$)("indicatorRotate",[(0,ie.SB)("collapsed, void",(0,ie.oB)({transform:"rotate(0deg)"})),(0,ie.SB)("expanded",(0,ie.oB)({transform:"rotate(180deg)"})),(0,ie.eR)("expanded <=> collapsed, void => collapsed",(0,ie.jt)(y))]),bodyExpansion:(0,ie.X$)("bodyExpansion",[(0,ie.SB)("collapsed, void",(0,ie.oB)({height:"0px",visibility:"hidden"})),(0,ie.SB)("expanded",(0,ie.oB)({height:"*",visibility:"visible"})),(0,ie.eR)("expanded <=> collapsed, void => collapsed",(0,ie.jt)(y))])},k=new t.OlP("MAT_EXPANSION_PANEL");let g=(()=>{class le{constructor(se,Ye){this._template=se,this._expansionPanel=Ye}}return le.\u0275fac=function(se){return new(se||le)(t.Y36(t.Rgc),t.Y36(k,8))},le.\u0275dir=t.lG2({type:le,selectors:[["ng-template","matExpansionPanelContent",""]]}),le})(),n=0;const b=new t.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let U=(()=>{class le extends S{constructor(se,Ye,Te,oe,be,te,Ue){super(se,Ye,Te),this._viewContainerRef=oe,this._animationMode=te,this._hideToggle=!1,this.afterExpand=new t.vpe,this.afterCollapse=new t.vpe,this._inputChanges=new D.x,this._headerId="mat-expansion-panel-header-"+n++,this._bodyAnimationDone=new D.x,this.accordion=se,this._document=be,this._bodyAnimationDone.pipe((0,G.x)((Be,q)=>Be.fromState===q.fromState&&Be.toState===q.toState)).subscribe(Be=>{"void"!==Be.fromState&&("expanded"===Be.toState?this.afterExpand.emit():"collapsed"===Be.toState&&this.afterCollapse.emit())}),Ue&&(this.hideToggle=Ue.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(se){this._hideToggle=(0,v.Ig)(se)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(se){this._togglePosition=se}_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,Y.h)(()=>this.expanded&&!this._portal),(0,X.q)(1)).subscribe(()=>{this._portal=new I.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(se){this._inputChanges.next(se)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const se=this._document.activeElement,Ye=this._body.nativeElement;return se===Ye||Ye.contains(se)}return!1}}return le.\u0275fac=function(se){return new(se||le)(t.Y36(l,12),t.Y36(t.sBO),t.Y36(e.A8),t.Y36(t.s_b),t.Y36(E.K0),t.Y36(t.QbO,8),t.Y36(b,8))},le.\u0275cmp=t.Xpm({type:le,selectors:[["mat-expansion-panel"]],contentQueries:function(se,Ye,Te){if(1&se&&t.Suo(Te,g,5),2&se){let oe;t.iGM(oe=t.CRH())&&(Ye._lazyContent=oe.first)}},viewQuery:function(se,Ye){if(1&se&&t.Gf(ce,5),2&se){let Te;t.iGM(Te=t.CRH())&&(Ye._body=Te.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(se,Ye){2&se&&t.ekj("mat-expanded",Ye.expanded)("_mat-animation-noopable","NoopAnimations"===Ye._animationMode)("mat-expansion-panel-spacing",Ye._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[t._Bn([{provide:l,useValue:void 0},{provide:k,useExisting:le}]),t.qOj,t.TTD],ngContentSelectors:T,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(se,Ye){1&se&&(t.F$t(fe),t.Hsn(0),t.TgZ(1,"div",0,1),t.NdJ("@bodyExpansion.done",function(oe){return Ye._bodyAnimationDone.next(oe)}),t.TgZ(3,"div",2),t.Hsn(4,1),t.YNc(5,$,0,0,"ng-template",3),t.qZA(),t.Hsn(6,2),t.qZA()),2&se&&(t.xp6(1),t.Q6J("@bodyExpansion",Ye._getExpandedState())("id",Ye.id),t.uIk("aria-labelledby",Ye._headerId),t.xp6(4),t.Q6J("cdkPortalOutlet",Ye._portal))},dependencies:[I.Pl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;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}.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:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.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}.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}.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:[A.bodyExpansion]},changeDetection:0}),le})();class j{}const Ae=(0,N.sb)(j);let Ke=(()=>{class le extends Ae{constructor(se,Ye,Te,oe,be,te,Ue){super(),this.panel=se,this._element=Ye,this._focusMonitor=Te,this._changeDetectorRef=oe,this._animationMode=te,this._parentChangeSubscription=o.w0.EMPTY;const Be=se.accordion?se.accordion._stateChanges.pipe((0,Y.h)(q=>!(!q.hideToggle&&!q.togglePosition))):ue.E;this.tabIndex=parseInt(Ue||"")||0,this._parentChangeSubscription=(0,he.T)(se.opened,se.closed,Be,se._inputChanges.pipe((0,Y.h)(q=>!!(q.hideToggle||q.disabled||q.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),se.closed.pipe((0,Y.h)(()=>se._containsFocus())).subscribe(()=>Te.focusVia(Ye,"program")),be&&(this.expandedHeight=be.expandedHeight,this.collapsedHeight=be.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 se=this._isExpanded();return se&&this.expandedHeight?this.expandedHeight:!se&&this.collapsedHeight?this.collapsedHeight:null}_keydown(se){switch(se.keyCode){case ee.L_:case ee.K5:(0,ee.Vb)(se)||(se.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(se))}}focus(se,Ye){se?this._focusMonitor.focusVia(this._element,se,Ye):this._element.nativeElement.focus(Ye)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(se=>{se&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return le.\u0275fac=function(se){return new(se||le)(t.Y36(U,1),t.Y36(t.SBq),t.Y36(z.tE),t.Y36(t.sBO),t.Y36(b,8),t.Y36(t.QbO,8),t.$8M("tabindex"))},le.\u0275cmp=t.Xpm({type:le,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(se,Ye){1&se&&t.NdJ("click",function(){return Ye._toggle()})("keydown",function(oe){return Ye._keydown(oe)}),2&se&&(t.uIk("id",Ye.panel._headerId)("tabindex",Ye.tabIndex)("aria-controls",Ye._getPanelId())("aria-expanded",Ye._isExpanded())("aria-disabled",Ye.panel.disabled),t.Udp("height",Ye._getHeaderHeight()),t.ekj("mat-expanded",Ye._isExpanded())("mat-expansion-toggle-indicator-after","after"===Ye._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Ye._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Ye._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[t.qOj],ngContentSelectors:h,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(se,Ye){1&se&&(t.F$t(r),t.TgZ(0,"span",0),t.Hsn(1),t.Hsn(2,1),t.Hsn(3,2),t.qZA(),t.YNc(4,i,1,1,"span",1)),2&se&&(t.ekj("mat-content-hide-toggle",!Ye._showToggle()),t.xp6(4),t.Q6J("ngIf",Ye._showToggle()))},dependencies:[E.O5],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)}.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:not([aria-disabled=true]){cursor:pointer}.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,.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-description{flex-grow:2}.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}.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:[A.indicatorRotate]},changeDetection:0}),le})(),qe=(()=>{class le{}return le.\u0275fac=function(se){return new(se||le)},le.\u0275dir=t.lG2({type:le,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),le})(),ct=(()=>{class le{}return le.\u0275fac=function(se){return new(se||le)},le.\u0275dir=t.lG2({type:le,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),le})(),Ie=(()=>{class le extends P{constructor(){super(...arguments),this._ownHeaders=new t.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(se){this._hideToggle=(0,v.Ig)(se)}ngAfterContentInit(){this._headers.changes.pipe((0,W.O)(this._headers)).subscribe(se=>{this._ownHeaders.reset(se.filter(Ye=>Ye.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new z.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(se){this._keyManager.onKeydown(se)}_handleHeaderFocus(se){this._keyManager.updateActiveItem(se)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}return le.\u0275fac=function(){let _e;return function(Ye){return(_e||(_e=t.n5z(le)))(Ye||le)}}(),le.\u0275dir=t.lG2({type:le,selectors:[["mat-accordion"]],contentQueries:function(se,Ye,Te){if(1&se&&t.Suo(Te,Ke,5),2&se){let oe;t.iGM(oe=t.CRH())&&(Ye._headers=oe)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(se,Ye){2&se&&t.ekj("mat-accordion-multi",Ye.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[t._Bn([{provide:l,useExisting:le}]),t.qOj]}),le})(),xe=(()=>{class le{}return le.\u0275fac=function(se){return new(se||le)},le.\u0275mod=t.oAB({type:le}),le.\u0275inj=t.cJS({imports:[E.ez,N.BQ,w,I.eL]}),le})()},9549:(Ve,Q,m)=>{"use strict";m.d(Q,{Eo:()=>be,G_:()=>q,KE:()=>it,R9:()=>Ie,TO:()=>V,bx:()=>Ae,hX:()=>n,lN:()=>qt});var t=m(4650),e=m(445),v=m(3353),D=m(7579),o=m(6451),C=m(2722),u=m(6895),P=m(1281),d=m(7340),S=m(9643),w=m(3238);const I=["matFormFieldNotchedOutline",""],E=["*"],N=["textField"],z=["iconPrefixContainer"],G=["textPrefixContainer"];function W(_t,ne){1&_t&&t._UZ(0,"span",19)}function Y(_t,ne){if(1&_t){const Nt=t.EpF();t.TgZ(0,"label",17),t.NdJ("cdkObserveContent",function(){t.CHM(Nt);const He=t.oxw(2);return t.KtG(He._refreshOutlineNotchWidth())}),t.Hsn(1,1),t.YNc(2,W,1,0,"span",18),t.qZA()}if(2&_t){const Nt=t.oxw(2);t.Q6J("floating",Nt._shouldLabelFloat())("cdkObserveContentDisabled",!Nt._hasOutline())("id",Nt._labelId),t.uIk("for",Nt._control.id)("aria-owns",Nt._control.id),t.xp6(2),t.Q6J("ngIf",!Nt.hideRequiredMarker&&Nt._control.required)}}function X(_t,ne){if(1&_t&&t.YNc(0,Y,3,6,"label",16),2&_t){const Nt=t.oxw();t.Q6J("ngIf",Nt._hasFloatingLabel())}}function ee(_t,ne){1&_t&&t._UZ(0,"div",20)}function ue(_t,ne){}function he(_t,ne){if(1&_t&&t.YNc(0,ue,0,0,"ng-template",22),2&_t){t.oxw(2);const Nt=t.MAs(1);t.Q6J("ngTemplateOutlet",Nt)}}function ie(_t,ne){if(1&_t&&(t.TgZ(0,"div",21),t.YNc(1,he,1,1,"ng-template",9),t.qZA()),2&_t){const Nt=t.oxw();t.Q6J("matFormFieldNotchedOutlineOpen",Nt._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",Nt._labelWidth),t.xp6(1),t.Q6J("ngIf",!Nt._forceDisplayInfixLabel())}}function ce(_t,ne){1&_t&&(t.TgZ(0,"div",23,24),t.Hsn(2,2),t.qZA())}function $(_t,ne){1&_t&&(t.TgZ(0,"div",25,26),t.Hsn(2,3),t.qZA())}function fe(_t,ne){}function T(_t,ne){if(1&_t&&t.YNc(0,fe,0,0,"ng-template",22),2&_t){t.oxw();const Nt=t.MAs(1);t.Q6J("ngTemplateOutlet",Nt)}}function i(_t,ne){1&_t&&(t.TgZ(0,"div",27),t.Hsn(1,4),t.qZA())}function r(_t,ne){1&_t&&(t.TgZ(0,"div",28),t.Hsn(1,5),t.qZA())}function h(_t,ne){1&_t&&t._UZ(0,"div",29)}function l(_t,ne){if(1&_t&&(t.TgZ(0,"div",30),t.Hsn(1,6),t.qZA()),2&_t){const Nt=t.oxw();t.Q6J("@transitionMessages",Nt._subscriptAnimationState)}}function y(_t,ne){if(1&_t&&(t.TgZ(0,"mat-hint",34),t._uU(1),t.qZA()),2&_t){const Nt=t.oxw(2);t.Q6J("id",Nt._hintLabelId),t.xp6(1),t.Oqu(Nt.hintLabel)}}function A(_t,ne){if(1&_t&&(t.TgZ(0,"div",31),t.YNc(1,y,2,2,"mat-hint",32),t.Hsn(2,7),t._UZ(3,"div",33),t.Hsn(4,8),t.qZA()),2&_t){const Nt=t.oxw();t.Q6J("@transitionMessages",Nt._subscriptAnimationState),t.xp6(1),t.Q6J("ngIf",Nt.hintLabel)}}const k=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],g=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let n=(()=>{class _t{}return _t.\u0275fac=function(Nt){return new(Nt||_t)},_t.\u0275dir=t.lG2({type:_t,selectors:[["mat-label"]]}),_t})(),b=0;const U=new t.OlP("MatError");let V=(()=>{class _t{constructor(Nt,De){this.id="mat-mdc-error-"+b++,Nt||De.nativeElement.setAttribute("aria-live","polite")}}return _t.\u0275fac=function(Nt){return new(Nt||_t)(t.$8M("aria-live"),t.Y36(t.SBq))},_t.\u0275dir=t.lG2({type:_t,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,De){2&Nt&&t.Ikx("id",De.id)},inputs:{id:"id"},features:[t._Bn([{provide:U,useExisting:_t}])]}),_t})(),j=0,Ae=(()=>{class _t{constructor(){this.align="start",this.id="mat-mdc-hint-"+j++}}return _t.\u0275fac=function(Nt){return new(Nt||_t)},_t.\u0275dir=t.lG2({type:_t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Nt,De){2&Nt&&(t.Ikx("id",De.id),t.uIk("align",null),t.ekj("mat-mdc-form-field-hint-end","end"===De.align))},inputs:{align:"align",id:"id"}}),_t})();const Ke=new t.OlP("MatPrefix"),ct=new t.OlP("MatSuffix");let Ie=(()=>{class _t{constructor(){this._isText=!1}set _isTextSelector(Nt){this._isText=!0}}return _t.\u0275fac=function(Nt){return new(Nt||_t)},_t.\u0275dir=t.lG2({type:_t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[t._Bn([{provide:ct,useExisting:_t}])]}),_t})(),xe=(()=>{class _t{constructor(Nt){this._elementRef=Nt,this.floating=!1}getWidth(){return function le(_t){if(null!==_t.offsetParent)return _t.scrollWidth;const Nt=_t.cloneNode(!0);Nt.style.setProperty("position","absolute"),Nt.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Nt);const De=Nt.scrollWidth;return Nt.remove(),De}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return _t.\u0275fac=function(Nt){return new(Nt||_t)(t.Y36(t.SBq))},_t.\u0275dir=t.lG2({type:_t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Nt,De){2&Nt&&t.ekj("mdc-floating-label--float-above",De.floating)},inputs:{floating:"floating"}}),_t})();const _e="mdc-line-ripple--active",se="mdc-line-ripple--deactivating";let Ye=(()=>{class _t{constructor(Nt,De){this._elementRef=Nt,this._handleTransitionEnd=He=>{const Ct=this._elementRef.nativeElement.classList,Pe=Ct.contains(se);"opacity"===He.propertyName&&Pe&&Ct.remove(_e,se)},De.runOutsideAngular(()=>{Nt.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Nt=this._elementRef.nativeElement.classList;Nt.remove(se),Nt.add(_e)}deactivate(){this._elementRef.nativeElement.classList.add(se)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return _t.\u0275fac=function(Nt){return new(Nt||_t)(t.Y36(t.SBq),t.Y36(t.R0b))},_t.\u0275dir=t.lG2({type:_t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),_t})(),Te=(()=>{class _t{constructor(Nt,De){this._elementRef=Nt,this._ngZone=De,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const Nt=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Nt?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Nt.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Nt.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return _t.\u0275fac=function(Nt){return new(Nt||_t)(t.Y36(t.SBq),t.Y36(t.R0b))},_t.\u0275cmp=t.Xpm({type:_t,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Nt,De){2&Nt&&t.ekj("mdc-notched-outline--notched",De.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:I,ngContentSelectors:E,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(Nt,De){1&Nt&&(t.F$t(),t._UZ(0,"div",0),t.TgZ(1,"div",1),t.Hsn(2),t.qZA(),t._UZ(3,"div",2)),2&Nt&&(t.xp6(1),t.Udp("width",De._getNotchWidth()))},encapsulation:2,changeDetection:0}),_t})();const oe={transitionMessages:(0,d.X$)("transitionMessages",[(0,d.SB)("enter",(0,d.oB)({opacity:1,transform:"translateY(0%)"})),(0,d.eR)("void => enter",[(0,d.oB)({opacity:0,transform:"translateY(-5px)"}),(0,d.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let be=(()=>{class _t{}return _t.\u0275fac=function(Nt){return new(Nt||_t)},_t.\u0275dir=t.lG2({type:_t}),_t})();const q=new t.OlP("MatFormField"),de=new t.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ce=0,it=(()=>{class _t{constructor(Nt,De,He,Ct,Pe,tt,Bt,Lt){this._elementRef=Nt,this._changeDetectorRef=De,this._ngZone=He,this._dir=Ct,this._platform=Pe,this._defaults=tt,this._animationMode=Bt,this._document=Lt,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-"+Ce++,this._hintLabelId="mat-mdc-hint-"+Ce++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new D.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,tt&&(tt.appearance&&(this.appearance=tt.appearance),this._hideRequiredMarker=Boolean(tt?.hideRequiredMarker),tt.color&&(this.color=tt.color))}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Nt){this._hideRequiredMarker=(0,P.Ig)(Nt)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Nt){Nt!==this._floatLabel&&(this._floatLabel=Nt,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Nt){const De=this._appearance;this._appearance=Nt||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==De&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Nt){this._subscriptSizing=Nt||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Nt){this._hintLabel=Nt,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Nt){this._explicitFormFieldControl=Nt}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),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 Nt=this._control;Nt.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Nt.controlType}`),Nt.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Nt.ngControl&&Nt.ngControl.valueChanges&&Nt.ngControl.valueChanges.pipe((0,C.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Nt=>!Nt._isText),this._hasTextPrefix=!!this._prefixChildren.find(Nt=>Nt._isText),this._hasIconSuffix=!!this._suffixChildren.find(Nt=>!Nt._isText),this._hasTextSuffix=!!this._suffixChildren.find(Nt=>Nt._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,o.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,C.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,C.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(Nt){const De=this._control?this._control.ngControl:null;return De&&De[Nt]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Nt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Nt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const De=this._hintChildren?this._hintChildren.find(Ct=>"start"===Ct.align):null,He=this._hintChildren?this._hintChildren.find(Ct=>"end"===Ct.align):null;De?Nt.push(De.id):this._hintLabel&&Nt.push(this._hintLabelId),He&&Nt.push(He.id)}else this._errorChildren&&Nt.push(...this._errorChildren.map(De=>De.id));this._control.setDescribedByIds(Nt)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Nt=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Nt.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const De=this._iconPrefixContainer?.nativeElement,He=this._textPrefixContainer?.nativeElement,Ct=De?.getBoundingClientRect().width??0,Pe=He?.getBoundingClientRect().width??0;Nt.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Ct+Pe}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Nt=this._elementRef.nativeElement;if(Nt.getRootNode){const De=Nt.getRootNode();return De&&De!==Nt}return document.documentElement.contains(Nt)}}return _t.\u0275fac=function(Nt){return new(Nt||_t)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.Y36(e.Is),t.Y36(v.t4),t.Y36(de,8),t.Y36(t.QbO,8),t.Y36(u.K0))},_t.\u0275cmp=t.Xpm({type:_t,selectors:[["mat-form-field"]],contentQueries:function(Nt,De,He){if(1&Nt&&(t.Suo(He,n,5),t.Suo(He,n,7),t.Suo(He,be,5),t.Suo(He,Ke,5),t.Suo(He,ct,5),t.Suo(He,U,5),t.Suo(He,Ae,5)),2&Nt){let Ct;t.iGM(Ct=t.CRH())&&(De._labelChildNonStatic=Ct.first),t.iGM(Ct=t.CRH())&&(De._labelChildStatic=Ct.first),t.iGM(Ct=t.CRH())&&(De._formFieldControl=Ct.first),t.iGM(Ct=t.CRH())&&(De._prefixChildren=Ct),t.iGM(Ct=t.CRH())&&(De._suffixChildren=Ct),t.iGM(Ct=t.CRH())&&(De._errorChildren=Ct),t.iGM(Ct=t.CRH())&&(De._hintChildren=Ct)}},viewQuery:function(Nt,De){if(1&Nt&&(t.Gf(N,5),t.Gf(z,5),t.Gf(G,5),t.Gf(xe,5),t.Gf(Te,5),t.Gf(Ye,5)),2&Nt){let He;t.iGM(He=t.CRH())&&(De._textField=He.first),t.iGM(He=t.CRH())&&(De._iconPrefixContainer=He.first),t.iGM(He=t.CRH())&&(De._textPrefixContainer=He.first),t.iGM(He=t.CRH())&&(De._floatingLabel=He.first),t.iGM(He=t.CRH())&&(De._notchedOutline=He.first),t.iGM(He=t.CRH())&&(De._lineRipple=He.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Nt,De){2&Nt&&t.ekj("mat-mdc-form-field-label-always-float",De._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",De._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",De._hasIconSuffix)("mat-form-field-invalid",De._control.errorState)("mat-form-field-disabled",De._control.disabled)("mat-form-field-autofilled",De._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===De._animationMode)("mat-form-field-appearance-fill","fill"==De.appearance)("mat-form-field-appearance-outline","outline"==De.appearance)("mat-form-field-hide-placeholder",De._hasFloatingLabel()&&!De._shouldLabelFloat())("mat-focused",De._control.focused)("mat-primary","accent"!==De.color&&"warn"!==De.color)("mat-accent","accent"===De.color)("mat-warn","warn"===De.color)("ng-untouched",De._shouldForward("untouched"))("ng-touched",De._shouldForward("touched"))("ng-pristine",De._shouldForward("pristine"))("ng-dirty",De._shouldForward("dirty"))("ng-valid",De._shouldForward("valid"))("ng-invalid",De._shouldForward("invalid"))("ng-pending",De._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[t._Bn([{provide:q,useExisting:_t}])],ngContentSelectors:g,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[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"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(Nt,De){1&Nt&&(t.F$t(k),t.YNc(0,X,1,1,"ng-template",null,0,t.W1O),t.TgZ(2,"div",1,2),t.NdJ("click",function(Ct){return De._control.onContainerClick&&De._control.onContainerClick(Ct)}),t.YNc(4,ee,1,0,"div",3),t.TgZ(5,"div",4),t.YNc(6,ie,2,3,"div",5),t.YNc(7,ce,3,0,"div",6),t.YNc(8,$,3,0,"div",7),t.TgZ(9,"div",8),t.YNc(10,T,1,1,"ng-template",9),t.Hsn(11),t.qZA(),t.YNc(12,i,2,0,"div",10),t.YNc(13,r,2,0,"div",11),t.qZA(),t.YNc(14,h,1,0,"div",12),t.qZA(),t.TgZ(15,"div",13),t.YNc(16,l,2,1,"div",14),t.YNc(17,A,5,2,"div",15),t.qZA()),2&Nt&&(t.xp6(2),t.ekj("mdc-text-field--filled",!De._hasOutline())("mdc-text-field--outlined",De._hasOutline())("mdc-text-field--no-label",!De._hasFloatingLabel())("mdc-text-field--disabled",De._control.disabled)("mdc-text-field--invalid",De._control.errorState),t.xp6(2),t.Q6J("ngIf",!De._hasOutline()&&!De._control.disabled),t.xp6(2),t.Q6J("ngIf",De._hasOutline()),t.xp6(1),t.Q6J("ngIf",De._hasIconPrefix),t.xp6(1),t.Q6J("ngIf",De._hasTextPrefix),t.xp6(2),t.Q6J("ngIf",!De._hasOutline()||De._forceDisplayInfixLabel()),t.xp6(2),t.Q6J("ngIf",De._hasTextSuffix),t.xp6(1),t.Q6J("ngIf",De._hasIconSuffix),t.xp6(1),t.Q6J("ngIf",!De._hasOutline()),t.xp6(1),t.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===De.subscriptSizing),t.Q6J("ngSwitch",De._getDisplayedMessages()),t.xp6(1),t.Q6J("ngSwitchCase","error"),t.xp6(1),t.Q6J("ngSwitchCase","hint"))},dependencies:[u.O5,u.tP,u.RF,u.n9,S.wD,Ae,xe,Te,Ye],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 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:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;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:var(--mdc-shape-small, 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:var(--mdc-shape-small, 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:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;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::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.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%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.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;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.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{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.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}.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{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.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-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-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}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}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}.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}[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-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{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.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}.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(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-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(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-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(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-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(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-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(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-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(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-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(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-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(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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)}'],encapsulation:2,data:{animation:[oe.transitionMessages]},changeDetection:0}),_t})(),qt=(()=>{class _t{}return _t.\u0275fac=function(Nt){return new(Nt||_t)},_t.\u0275mod=t.oAB({type:_t}),_t.\u0275inj=t.cJS({imports:[w.BQ,u.ez,S.Q8,w.BQ]}),_t})()},782:(Ve,Q,m)=>{"use strict";m.d(Q,{DX:()=>I,Il:()=>$,N6:()=>fe});var t=m(4650),e=m(3238),v=m(1281),D=m(445);const o=["*"];class d{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const r=Math.max(...this.tracker);return r>1?this.rowCount+r-1:this.rowCount}update(r,h){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(r),this.tracker.fill(0,0,this.tracker.length),this.positions=h.map(l=>this._trackTile(l))}_trackTile(r){const h=this._findMatchingGap(r.colspan);return this._markTilePosition(h,r),this.columnIndex=h+r.colspan,new S(this.rowIndex,h)}_findMatchingGap(r){let h=-1,l=-1;do{this.columnIndex+r>this.tracker.length?(this._nextRow(),h=this.tracker.indexOf(0,this.columnIndex),l=this._findGapEndIndex(h)):(h=this.tracker.indexOf(0,this.columnIndex),-1!=h?(l=this._findGapEndIndex(h),this.columnIndex=h+1):(this._nextRow(),h=this.tracker.indexOf(0,this.columnIndex),l=this._findGapEndIndex(h)))}while(l-h<r||0==l);return Math.max(h,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let r=0;r<this.tracker.length;r++)this.tracker[r]=Math.max(0,this.tracker[r]-1)}_findGapEndIndex(r){for(let h=r+1;h<this.tracker.length;h++)if(0!=this.tracker[h])return h;return this.tracker.length}_markTilePosition(r,h){for(let l=0;l<h.colspan;l++)this.tracker[r+l]=h.rowspan}}class S{constructor(r,h){this.row=r,this.col=h}}const w=new t.OlP("MAT_GRID_LIST");let I=(()=>{class i{constructor(h,l){this._element=h,this._gridList=l,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(h){this._rowspan=Math.round((0,v.su)(h))}get colspan(){return this._colspan}set colspan(h){this._colspan=Math.round((0,v.su)(h))}_setStyle(h,l){this._element.nativeElement.style[h]=l}}return i.\u0275fac=function(h){return new(h||i)(t.Y36(t.SBq),t.Y36(w,8))},i.\u0275cmp=t.Xpm({type:i,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(h,l){2&h&&t.uIk("rowspan",l.rowspan)("colspan",l.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:o,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(h,l){1&h&&(t.F$t(),t.TgZ(0,"div",0),t.Hsn(1),t.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-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}),i})();const W=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class Y{constructor(){this._rows=0,this._rowspan=0}init(r,h,l,y){this._gutterSize=ie(r),this._rows=h.rowCount,this._rowspan=h.rowspan,this._cols=l,this._direction=y}getBaseTileSize(r,h){return`(${r}% - (${this._gutterSize} * ${h}))`}getTilePosition(r,h){return 0===h?"0":he(`(${r} + ${this._gutterSize}) * ${h}`)}getTileSize(r,h){return`(${r} * ${h}) + (${h-1} * ${this._gutterSize})`}setStyle(r,h,l){let y=100/this._cols,A=(this._cols-1)/this._cols;this.setColStyles(r,l,y,A),this.setRowStyles(r,h,y,A)}setColStyles(r,h,l,y){let A=this.getBaseTileSize(l,y);r._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(A,h)),r._setStyle("width",he(this.getTileSize(A,r.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(r){return`${this._rowspan} * ${this.getTileSize(r,1)}`}getComputedHeight(){return null}}class X extends Y{constructor(r){super(),this.fixedRowHeight=r}init(r,h,l,y){super.init(r,h,l,y),this.fixedRowHeight=ie(this.fixedRowHeight),W.test(this.fixedRowHeight)}setRowStyles(r,h){r._setStyle("top",this.getTilePosition(this.fixedRowHeight,h)),r._setStyle("height",he(this.getTileSize(this.fixedRowHeight,r.rowspan)))}getComputedHeight(){return["height",he(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(r){r._setListStyle(["height",null]),r._tiles&&r._tiles.forEach(h=>{h._setStyle("top",null),h._setStyle("height",null)})}}class ee extends Y{constructor(r){super(),this._parseRatio(r)}setRowStyles(r,h,l,y){this.baseTileHeight=this.getBaseTileSize(l/this.rowHeightRatio,y),r._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,h)),r._setStyle("paddingTop",he(this.getTileSize(this.baseTileHeight,r.rowspan)))}getComputedHeight(){return["paddingBottom",he(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(r){r._setListStyle(["paddingBottom",null]),r._tiles.forEach(h=>{h._setStyle("marginTop",null),h._setStyle("paddingTop",null)})}_parseRatio(r){const h=r.split(":");this.rowHeightRatio=parseFloat(h[0])/parseFloat(h[1])}}class ue extends Y{setRowStyles(r,h){let A=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);r._setStyle("top",this.getTilePosition(A,h)),r._setStyle("height",he(this.getTileSize(A,r.rowspan)))}reset(r){r._tiles&&r._tiles.forEach(h=>{h._setStyle("top",null),h._setStyle("height",null)})}}function he(i){return`calc(${i})`}function ie(i){return i.match(/([A-Za-z%]+)$/)?i:`${i}px`}let $=(()=>{class i{constructor(h,l){this._element=h,this._dir=l,this._gutter="1px"}get cols(){return this._cols}set cols(h){this._cols=Math.max(1,Math.round((0,v.su)(h)))}get gutterSize(){return this._gutter}set gutterSize(h){this._gutter=`${h??""}`}get rowHeight(){return this._rowHeight}set rowHeight(h){const l=`${h??""}`;l!==this._rowHeight&&(this._rowHeight=l,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(h){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===h?new ue:h&&h.indexOf(":")>-1?new ee(h):new X(h)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new d);const h=this._tileCoordinator,l=this._tiles.filter(A=>!A._gridList||A._gridList===this),y=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,l),this._tileStyler.init(this.gutterSize,h,this.cols,y),l.forEach((A,k)=>{const g=h.positions[k];this._tileStyler.setStyle(A,g.row,g.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(h){h&&(this._element.nativeElement.style[h[0]]=h[1])}}return i.\u0275fac=function(h){return new(h||i)(t.Y36(t.SBq),t.Y36(D.Is,8))},i.\u0275cmp=t.Xpm({type:i,selectors:[["mat-grid-list"]],contentQueries:function(h,l,y){if(1&h&&t.Suo(y,I,5),2&h){let A;t.iGM(A=t.CRH())&&(l._tiles=A)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(h,l){2&h&&t.uIk("cols",l.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[t._Bn([{provide:w,useExisting:i}])],ngContentSelectors:o,decls:2,vars:0,template:function(h,l){1&h&&(t.F$t(),t.TgZ(0,"div"),t.Hsn(1),t.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-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}),i})(),fe=(()=>{class i{}return i.\u0275fac=function(h){return new(h||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[e.uc,e.BQ,e.uc,e.BQ]}),i})()},7392:(Ve,Q,m)=>{"use strict";m.d(Q,{Hw:()=>V,Ps:()=>j});var t=m(4650),e=m(3238),v=m(1281),D=m(6895),o=m(9646),C=m(2843),u=m(4128),P=m(727),d=m(8505),S=m(4004),w=m(262),I=m(8746),E=m(3099),N=m(5698),z=m(529),G=m(1481);const W=["*"];let Y;function ee(Ae){return function X(){if(void 0===Y&&(Y=null,typeof window<"u")){const Ae=window;void 0!==Ae.trustedTypes&&(Y=Ae.trustedTypes.createPolicy("angular#components",{createHTML:Ke=>Ke}))}return Y}()?.createHTML(Ae)||Ae}function ue(Ae){return Error(`Unable to find icon with the name "${Ae}"`)}function ie(Ae){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Ae}".`)}function ce(Ae){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Ae}".`)}class ${constructor(Ke,qe,ct){this.url=Ke,this.svgText=qe,this.options=ct}}let fe=(()=>{class Ae{constructor(qe,ct,Ie,xe){this._httpClient=qe,this._sanitizer=ct,this._errorHandler=xe,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=Ie}addSvgIcon(qe,ct,Ie){return this.addSvgIconInNamespace("",qe,ct,Ie)}addSvgIconLiteral(qe,ct,Ie){return this.addSvgIconLiteralInNamespace("",qe,ct,Ie)}addSvgIconInNamespace(qe,ct,Ie,xe){return this._addSvgIconConfig(qe,ct,new $(Ie,null,xe))}addSvgIconResolver(qe){return this._resolvers.push(qe),this}addSvgIconLiteralInNamespace(qe,ct,Ie,xe){const le=this._sanitizer.sanitize(t.q3G.HTML,Ie);if(!le)throw ce(Ie);const _e=ee(le);return this._addSvgIconConfig(qe,ct,new $("",_e,xe))}addSvgIconSet(qe,ct){return this.addSvgIconSetInNamespace("",qe,ct)}addSvgIconSetLiteral(qe,ct){return this.addSvgIconSetLiteralInNamespace("",qe,ct)}addSvgIconSetInNamespace(qe,ct,Ie){return this._addSvgIconSetConfig(qe,new $(ct,null,Ie))}addSvgIconSetLiteralInNamespace(qe,ct,Ie){const xe=this._sanitizer.sanitize(t.q3G.HTML,ct);if(!xe)throw ce(ct);const le=ee(xe);return this._addSvgIconSetConfig(qe,new $("",le,Ie))}registerFontClassAlias(qe,ct=qe){return this._fontCssClassesByAlias.set(qe,ct),this}classNameForFontAlias(qe){return this._fontCssClassesByAlias.get(qe)||qe}setDefaultFontSetClass(...qe){return this._defaultFontSetClass=qe,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(qe){const ct=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,qe);if(!ct)throw ie(qe);const Ie=this._cachedIconsByUrl.get(ct);return Ie?(0,o.of)(r(Ie)):this._loadSvgIconFromConfig(new $(qe,null)).pipe((0,d.b)(xe=>this._cachedIconsByUrl.set(ct,xe)),(0,S.U)(xe=>r(xe)))}getNamedSvgIcon(qe,ct=""){const Ie=h(ct,qe);let xe=this._svgIconConfigs.get(Ie);if(xe)return this._getSvgFromConfig(xe);if(xe=this._getIconConfigFromResolvers(ct,qe),xe)return this._svgIconConfigs.set(Ie,xe),this._getSvgFromConfig(xe);const le=this._iconSetConfigs.get(ct);return le?this._getSvgFromIconSetConfigs(qe,le):(0,C._)(ue(Ie))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(qe){return qe.svgText?(0,o.of)(r(this._svgElementFromConfig(qe))):this._loadSvgIconFromConfig(qe).pipe((0,S.U)(ct=>r(ct)))}_getSvgFromIconSetConfigs(qe,ct){const Ie=this._extractIconWithNameFromAnySet(qe,ct);if(Ie)return(0,o.of)(Ie);const xe=ct.filter(le=>!le.svgText).map(le=>this._loadSvgIconSetFromConfig(le).pipe((0,w.K)(_e=>{const Ye=`Loading icon set URL: ${this._sanitizer.sanitize(t.q3G.RESOURCE_URL,le.url)} failed: ${_e.message}`;return this._errorHandler.handleError(new Error(Ye)),(0,o.of)(null)})));return(0,u.D)(xe).pipe((0,S.U)(()=>{const le=this._extractIconWithNameFromAnySet(qe,ct);if(!le)throw ue(qe);return le}))}_extractIconWithNameFromAnySet(qe,ct){for(let Ie=ct.length-1;Ie>=0;Ie--){const xe=ct[Ie];if(xe.svgText&&xe.svgText.toString().indexOf(qe)>-1){const le=this._svgElementFromConfig(xe),_e=this._extractSvgIconFromSet(le,qe,xe.options);if(_e)return _e}}return null}_loadSvgIconFromConfig(qe){return this._fetchIcon(qe).pipe((0,d.b)(ct=>qe.svgText=ct),(0,S.U)(()=>this._svgElementFromConfig(qe)))}_loadSvgIconSetFromConfig(qe){return qe.svgText?(0,o.of)(null):this._fetchIcon(qe).pipe((0,d.b)(ct=>qe.svgText=ct))}_extractSvgIconFromSet(qe,ct,Ie){const xe=qe.querySelector(`[id="${ct}"]`);if(!xe)return null;const le=xe.cloneNode(!0);if(le.removeAttribute("id"),"svg"===le.nodeName.toLowerCase())return this._setSvgAttributes(le,Ie);if("symbol"===le.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(le),Ie);const _e=this._svgElementFromString(ee("<svg></svg>"));return _e.appendChild(le),this._setSvgAttributes(_e,Ie)}_svgElementFromString(qe){const ct=this._document.createElement("DIV");ct.innerHTML=qe;const Ie=ct.querySelector("svg");if(!Ie)throw Error("<svg> tag not found");return Ie}_toSvgElement(qe){const ct=this._svgElementFromString(ee("<svg></svg>")),Ie=qe.attributes;for(let xe=0;xe<Ie.length;xe++){const{name:le,value:_e}=Ie[xe];"id"!==le&&ct.setAttribute(le,_e)}for(let xe=0;xe<qe.childNodes.length;xe++)qe.childNodes[xe].nodeType===this._document.ELEMENT_NODE&&ct.appendChild(qe.childNodes[xe].cloneNode(!0));return ct}_setSvgAttributes(qe,ct){return qe.setAttribute("fit",""),qe.setAttribute("height","100%"),qe.setAttribute("width","100%"),qe.setAttribute("preserveAspectRatio","xMidYMid meet"),qe.setAttribute("focusable","false"),ct&&ct.viewBox&&qe.setAttribute("viewBox",ct.viewBox),qe}_fetchIcon(qe){const{url:ct,options:Ie}=qe,xe=Ie?.withCredentials??!1;if(!this._httpClient)throw function he(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==ct)throw Error(`Cannot fetch icon from URL "${ct}".`);const le=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,ct);if(!le)throw ie(ct);const _e=this._inProgressUrlFetches.get(le);if(_e)return _e;const se=this._httpClient.get(le,{responseType:"text",withCredentials:xe}).pipe((0,S.U)(Ye=>ee(Ye)),(0,I.x)(()=>this._inProgressUrlFetches.delete(le)),(0,E.B)());return this._inProgressUrlFetches.set(le,se),se}_addSvgIconConfig(qe,ct,Ie){return this._svgIconConfigs.set(h(qe,ct),Ie),this}_addSvgIconSetConfig(qe,ct){const Ie=this._iconSetConfigs.get(qe);return Ie?Ie.push(ct):this._iconSetConfigs.set(qe,[ct]),this}_svgElementFromConfig(qe){if(!qe.svgElement){const ct=this._svgElementFromString(qe.svgText);this._setSvgAttributes(ct,qe.options),qe.svgElement=ct}return qe.svgElement}_getIconConfigFromResolvers(qe,ct){for(let Ie=0;Ie<this._resolvers.length;Ie++){const xe=this._resolvers[Ie](ct,qe);if(xe)return l(xe)?new $(xe.url,null,xe.options):new $(xe,null)}}}return Ae.\u0275fac=function(qe){return new(qe||Ae)(t.LFG(z.eN,8),t.LFG(G.H7),t.LFG(D.K0,8),t.LFG(t.qLn))},Ae.\u0275prov=t.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),Ae})();function r(Ae){return Ae.cloneNode(!0)}function h(Ae,Ke){return Ae+":"+Ke}function l(Ae){return!(!Ae.url||!Ae.options)}const y=(0,e.pj)(class{constructor(Ae){this._elementRef=Ae}}),A=new t.OlP("MAT_ICON_DEFAULT_OPTIONS"),k=new t.OlP("mat-icon-location",{providedIn:"root",factory:function g(){const Ae=(0,t.f3M)(D.K0),Ke=Ae?Ae.location:null;return{getPathname:()=>Ke?Ke.pathname+Ke.search:""}}}),n=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],b=n.map(Ae=>`[${Ae}]`).join(", "),U=/^url\(['"]?#(.*?)['"]?\)$/;let V=(()=>{class Ae extends y{constructor(qe,ct,Ie,xe,le,_e){super(qe),this._iconRegistry=ct,this._location=xe,this._errorHandler=le,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=P.w0.EMPTY,_e&&(_e.color&&(this.color=this.defaultColor=_e.color),_e.fontSet&&(this.fontSet=_e.fontSet)),Ie||qe.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(qe){this._inline=(0,v.Ig)(qe)}get svgIcon(){return this._svgIcon}set svgIcon(qe){qe!==this._svgIcon&&(qe?this._updateSvgIcon(qe):this._svgIcon&&this._clearSvgElement(),this._svgIcon=qe)}get fontSet(){return this._fontSet}set fontSet(qe){const ct=this._cleanupFontValue(qe);ct!==this._fontSet&&(this._fontSet=ct,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(qe){const ct=this._cleanupFontValue(qe);ct!==this._fontIcon&&(this._fontIcon=ct,this._updateFontIconClasses())}_splitIconName(qe){if(!qe)return["",""];const ct=qe.split(":");switch(ct.length){case 1:return["",ct[0]];case 2:return ct;default:throw Error(`Invalid icon name: "${qe}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const qe=this._elementsWithExternalReferences;if(qe&&qe.size){const ct=this._location.getPathname();ct!==this._previousPath&&(this._previousPath=ct,this._prependPathToReferences(ct))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(qe){this._clearSvgElement();const ct=this._location.getPathname();this._previousPath=ct,this._cacheChildrenWithExternalReferences(qe),this._prependPathToReferences(ct),this._elementRef.nativeElement.appendChild(qe)}_clearSvgElement(){const qe=this._elementRef.nativeElement;let ct=qe.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();ct--;){const Ie=qe.childNodes[ct];(1!==Ie.nodeType||"svg"===Ie.nodeName.toLowerCase())&&Ie.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const qe=this._elementRef.nativeElement,ct=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ie=>Ie.length>0);this._previousFontSetClass.forEach(Ie=>qe.classList.remove(Ie)),ct.forEach(Ie=>qe.classList.add(Ie)),this._previousFontSetClass=ct,this.fontIcon!==this._previousFontIconClass&&!ct.includes("mat-ligature-font")&&(this._previousFontIconClass&&qe.classList.remove(this._previousFontIconClass),this.fontIcon&&qe.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(qe){return"string"==typeof qe?qe.trim().split(" ")[0]:qe}_prependPathToReferences(qe){const ct=this._elementsWithExternalReferences;ct&&ct.forEach((Ie,xe)=>{Ie.forEach(le=>{xe.setAttribute(le.name,`url('${qe}#${le.value}')`)})})}_cacheChildrenWithExternalReferences(qe){const ct=qe.querySelectorAll(b),Ie=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let xe=0;xe<ct.length;xe++)n.forEach(le=>{const _e=ct[xe],se=_e.getAttribute(le),Ye=se?se.match(U):null;if(Ye){let Te=Ie.get(_e);Te||(Te=[],Ie.set(_e,Te)),Te.push({name:le,value:Ye[1]})}})}_updateSvgIcon(qe){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),qe){const[ct,Ie]=this._splitIconName(qe);ct&&(this._svgNamespace=ct),Ie&&(this._svgName=Ie),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ie,ct).pipe((0,N.q)(1)).subscribe(xe=>this._setSvgElement(xe),xe=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ct}:${Ie}! ${xe.message}`))})}}}return Ae.\u0275fac=function(qe){return new(qe||Ae)(t.Y36(t.SBq),t.Y36(fe),t.$8M("aria-hidden"),t.Y36(k),t.Y36(t.qLn),t.Y36(A,8))},Ae.\u0275cmp=t.Xpm({type:Ae,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(qe,ct){2&qe&&(t.uIk("data-mat-icon-type",ct._usingFontIcon()?"font":"svg")("data-mat-icon-name",ct._svgName||ct.fontIcon)("data-mat-icon-namespace",ct._svgNamespace||ct.fontSet)("fontIcon",ct._usingFontIcon()?ct.fontIcon:null),t.ekj("mat-icon-inline",ct.inline)("mat-icon-no-color","primary"!==ct.color&&"accent"!==ct.color&&"warn"!==ct.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[t.qOj],ngContentSelectors:W,decls:1,vars:0,template:function(qe,ct){1&qe&&(t.F$t(),t.Hsn(0))},styles:[".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}),Ae})(),j=(()=>{class Ae{}return Ae.\u0275fac=function(qe){return new(qe||Ae)},Ae.\u0275mod=t.oAB({type:Ae}),Ae.\u0275inj=t.cJS({imports:[e.BQ,e.BQ]}),Ae})()},4144:(Ve,Q,m)=>{"use strict";m.d(Q,{Jk:()=>z,Nt:()=>X,c:()=>ee});var t=m(1281),e=m(3353),v=m(4650),D=m(515),o=m(7579);const C=(0,e.i$)({passive:!0});let u=(()=>{class ue{constructor(ie,ce){this._platform=ie,this._ngZone=ce,this._monitoredElements=new Map}monitor(ie){if(!this._platform.isBrowser)return D.E;const ce=(0,t.fI)(ie),$=this._monitoredElements.get(ce);if($)return $.subject;const fe=new o.x,T="cdk-text-field-autofilled",i=r=>{"cdk-text-field-autofill-start"!==r.animationName||ce.classList.contains(T)?"cdk-text-field-autofill-end"===r.animationName&&ce.classList.contains(T)&&(ce.classList.remove(T),this._ngZone.run(()=>fe.next({target:r.target,isAutofilled:!1}))):(ce.classList.add(T),this._ngZone.run(()=>fe.next({target:r.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{ce.addEventListener("animationstart",i,C),ce.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(ce,{subject:fe,unlisten:()=>{ce.removeEventListener("animationstart",i,C)}}),fe}stopMonitoring(ie){const ce=(0,t.fI)(ie),$=this._monitoredElements.get(ce);$&&($.unlisten(),$.subject.complete(),ce.classList.remove("cdk-text-field-autofill-monitored"),ce.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(ce))}ngOnDestroy(){this._monitoredElements.forEach((ie,ce)=>this.stopMonitoring(ce))}}return ue.\u0275fac=function(ie){return new(ie||ue)(v.LFG(e.t4),v.LFG(v.R0b))},ue.\u0275prov=v.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),S=(()=>{class ue{}return ue.\u0275fac=function(ie){return new(ie||ue)},ue.\u0275mod=v.oAB({type:ue}),ue.\u0275inj=v.cJS({}),ue})();var w=m(4006),I=m(3238),E=m(9549);const z=new v.OlP("MAT_INPUT_VALUE_ACCESSOR"),G=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let W=0;const Y=(0,I.FD)(class{constructor(ue,he,ie,ce){this._defaultErrorStateMatcher=ue,this._parentForm=he,this._parentFormGroup=ie,this.ngControl=ce,this.stateChanges=new o.x}});let X=(()=>{class ue extends Y{constructor(ie,ce,$,fe,T,i,r,h,l,y){super(i,fe,T,$),this._elementRef=ie,this._platform=ce,this._autofillMonitor=h,this._formField=y,this._uid="mat-input-"+W++,this.focused=!1,this.stateChanges=new o.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(g=>(0,e.qK)().has(g)),this._iOSKeyupListener=g=>{const n=g.target;!n.value&&0===n.selectionStart&&0===n.selectionEnd&&(n.setSelectionRange(1,1),n.setSelectionRange(0,0))};const A=this._elementRef.nativeElement,k=A.nodeName.toLowerCase();this._inputValueAccessor=r||A,this._previousNativeValue=this.value,this.id=this.id,ce.IOS&&l.runOutsideAngular(()=>{ie.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===k,this._isTextarea="textarea"===k,this._isInFormField=!!y,this._isNativeSelect&&(this.controlType=A.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this._disabled}set disabled(ie){this._disabled=(0,t.Ig)(ie),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ie){this._id=ie||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(w.kI.required)??!1}set required(ie){this._required=(0,t.Ig)(ie)}get type(){return this._type}set type(ie){this._type=ie||"text",this._validateType(),!this._isTextarea&&(0,e.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(ie){ie!==this.value&&(this._inputValueAccessor.value=ie,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ie){this._readonly=(0,t.Ig)(ie)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ie=>{this.autofilled=ie.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(ie){this._elementRef.nativeElement.focus(ie)}_focusChanged(ie){ie!==this.focused&&(this.focused=ie,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const ie=this._elementRef.nativeElement.value;this._previousNativeValue!==ie&&(this._previousNativeValue=ie,this.stateChanges.next())}_dirtyCheckPlaceholder(){const ie=this._getPlaceholder();if(ie!==this._previousPlaceholder){const ce=this._elementRef.nativeElement;this._previousPlaceholder=ie,ie?ce.setAttribute("placeholder",ie):ce.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){G.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ie=this._elementRef.nativeElement.validity;return ie&&ie.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ie=this._elementRef.nativeElement,ce=ie.options[0];return this.focused||ie.multiple||!this.empty||!!(ie.selectedIndex>-1&&ce&&ce.label)}return this.focused||!this.empty}setDescribedByIds(ie){ie.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ie.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ie=this._elementRef.nativeElement;return this._isNativeSelect&&(ie.multiple||ie.size>1)}}return ue.\u0275fac=function(ie){return new(ie||ue)(v.Y36(v.SBq),v.Y36(e.t4),v.Y36(w.a5,10),v.Y36(w.F,8),v.Y36(w.sg,8),v.Y36(I.rD),v.Y36(z,10),v.Y36(u),v.Y36(v.R0b),v.Y36(E.G_,8))},ue.\u0275dir=v.lG2({type:ue,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(ie,ce){1&ie&&v.NdJ("focus",function(){return ce._focusChanged(!0)})("blur",function(){return ce._focusChanged(!1)})("input",function(){return ce._onInput()}),2&ie&&(v.Ikx("id",ce.id)("disabled",ce.disabled)("required",ce.required),v.uIk("name",ce.name||null)("readonly",ce.readonly&&!ce._isNativeSelect||null)("aria-invalid",ce.empty&&ce.required?null:ce.errorState)("aria-required",ce.required)("id",ce.id),v.ekj("mat-input-server",ce._isServer)("mat-mdc-form-field-textarea-control",ce._isInFormField&&ce._isTextarea)("mat-mdc-form-field-input-control",ce._isInFormField)("mdc-text-field__input",ce._isInFormField)("mat-mdc-native-select-inline",ce._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:[v._Bn([{provide:E.Eo,useExisting:ue}]),v.qOj,v.TTD]}),ue})(),ee=(()=>{class ue{}return ue.\u0275fac=function(ie){return new(ie||ue)},ue.\u0275mod=v.oAB({type:ue}),ue.\u0275inj=v.cJS({imports:[I.BQ,E.lN,E.lN,S,I.BQ]}),ue})()},6338:(Ve,Q,m)=>{"use strict";m.d(Q,{Tg:()=>le,i$:()=>xe,ie:()=>Be});var t=m(4650),e=m(1281),v=m(3353),D=m(3238),o=m(727),C=m(6451),P=(m(7579),m(9643)),d=m(6895),S=m(4850);m(4761),m(5017),m(9521),m(4006),m(2722);const G=["*"],Y=["unscopedContent"],X=["text"],ee=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],ue=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],k=new t.OlP("ListOption");let g=(()=>{class q{constructor(Ce){this._elementRef=Ce}}return q.\u0275fac=function(Ce){return new(Ce||q)(t.Y36(t.SBq))},q.\u0275dir=t.lG2({type:q,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),q})(),n=(()=>{class q{constructor(Ce){this._elementRef=Ce}}return q.\u0275fac=function(Ce){return new(Ce||q)(t.Y36(t.SBq))},q.\u0275dir=t.lG2({type:q,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),q})(),b=(()=>{class q{}return q.\u0275fac=function(Ce){return new(Ce||q)},q.\u0275dir=t.lG2({type:q,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),q})(),U=(()=>{class q{constructor(Ce){this._listOption=Ce}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getCheckboxPosition()}}return q.\u0275fac=function(Ce){return new(Ce||q)(t.Y36(k,8))},q.\u0275dir=t.lG2({type:q,hostVars:4,hostBindings:function(Ce,ke){2&Ce&&t.ekj("mdc-list-item__start",ke._isAlignedAtStart())("mdc-list-item__end",!ke._isAlignedAtStart())}}),q})(),V=(()=>{class q extends U{}return q.\u0275fac=function(){let de;return function(ke){return(de||(de=t.n5z(q)))(ke||q)}}(),q.\u0275dir=t.lG2({type:q,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[t.qOj]}),q})(),j=(()=>{class q extends U{}return q.\u0275fac=function(){let de;return function(ke){return(de||(de=t.n5z(q)))(ke||q)}}(),q.\u0275dir=t.lG2({type:q,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[t.qOj]}),q})(),Ae=(()=>{class q{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ce){this._disableRipple=(0,e.Ig)(Ce)}get disabled(){return this._disabled}set disabled(Ce){this._disabled=(0,e.Ig)(Ce)}}return q.\u0275fac=function(Ce){return new(Ce||q)},q.\u0275dir=t.lG2({type:q,hostVars:1,hostBindings:function(Ce,ke){2&Ce&&t.uIk("aria-disabled",ke.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),q})(),Ke=(()=>{class q{constructor(Ce,ke,ht,nt,wt,it){this._elementRef=Ce,this._ngZone=ke,this._listBase=ht,this._platform=nt,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new o.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=wt||{},this._hostElement=this._elementRef.nativeElement,this._noopAnimations="NoopAnimations"===it,ht&&!ht._isNonInteractive&&this._initInteractiveListItem(),"button"===this._hostElement.nodeName.toLowerCase()&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}set lines(Ce){this._explicitLines=(0,e.su)(Ce,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(Ce){this._disableRipple=(0,e.Ig)(Ce)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(Ce){this._disabled=(0,e.Ig)(Ce)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}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 D.IR(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,C.T)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(Ce){if(!this._lines||!this._titles||!this._unscopedContent)return;Ce&&this._checkDomForUnscopedTextContent();const ke=this._explicitLines??this._inferLinesFromContent(),ht=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",ke<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",ke<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===ke),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===ke),this._hasUnscopedTextContent){const nt=0===this._titles.length&&1===ke;ht.classList.toggle("mdc-list-item__primary-text",nt),ht.classList.toggle("mdc-list-item__secondary-text",!nt)}else ht.classList.remove("mdc-list-item__primary-text"),ht.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let Ce=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(Ce+=1),Ce}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(Ce=>Ce.nodeType!==Ce.COMMENT_NODE).some(Ce=>!(!Ce.textContent||!Ce.textContent.trim()))}}return q.\u0275fac=function(Ce){return new(Ce||q)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(Ae,8),t.Y36(v.t4),t.Y36(D.Y2,8),t.Y36(t.QbO,8))},q.\u0275dir=t.lG2({type:q,contentQueries:function(Ce,ke,ht){if(1&Ce&&(t.Suo(ht,V,4),t.Suo(ht,j,4)),2&Ce){let nt;t.iGM(nt=t.CRH())&&(ke._avatars=nt),t.iGM(nt=t.CRH())&&(ke._icons=nt)}},hostVars:3,hostBindings:function(Ce,ke){2&Ce&&(t.uIk("aria-disabled",ke.disabled),t.ekj("mdc-list-item--disabled",ke.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),q})(),xe=(()=>{class q extends Ae{}return q.\u0275fac=function(){let de;return function(ke){return(de||(de=t.n5z(q)))(ke||q)}}(),q.\u0275cmp=t.Xpm({type:q,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[t._Bn([{provide:Ae,useExisting:q}]),t.qOj],ngContentSelectors:G,decls:1,vars:0,template:function(Ce,ke){1&Ce&&(t.F$t(),t.Hsn(0))},styles:['.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:24px;height:24px}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-image .mdc-list-item__start{width:56px;height:56px}.mdc-list-item--with-leading-video .mdc-list-item__start{width:100px;height:56px}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-radio .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-switch .mdc-list-item__start{width:36px;height:20px}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:24px;height:24px}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-radio .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-switch .mdc-list-item__end{width:36px;height:20px}.mdc-list-divider{height:1px}@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-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}.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}),q})(),le=(()=>{class q extends Ke{constructor(Ce,ke,ht,nt,wt,it){super(Ce,ke,ht,nt,wt,it),this._activated=!1}get activated(){return this._activated}set activated(Ce){this._activated=(0,e.Ig)(Ce)}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}return q.\u0275fac=function(Ce){return new(Ce||q)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(Ae,8),t.Y36(v.t4),t.Y36(D.Y2,8),t.Y36(t.QbO,8))},q.\u0275cmp=t.Xpm({type:q,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(Ce,ke,ht){if(1&Ce&&(t.Suo(ht,n,5),t.Suo(ht,g,5),t.Suo(ht,b,5)),2&Ce){let nt;t.iGM(nt=t.CRH())&&(ke._lines=nt),t.iGM(nt=t.CRH())&&(ke._titles=nt),t.iGM(nt=t.CRH())&&(ke._meta=nt)}},viewQuery:function(Ce,ke){if(1&Ce&&(t.Gf(Y,5),t.Gf(X,5)),2&Ce){let ht;t.iGM(ht=t.CRH())&&(ke._unscopedContent=ht.first),t.iGM(ht=t.CRH())&&(ke._itemText=ht.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(Ce,ke){2&Ce&&(t.uIk("aria-current",ke._getAriaCurrent()),t.ekj("mdc-list-item--activated",ke.activated)("mdc-list-item--with-leading-avatar",0!==ke._avatars.length)("mdc-list-item--with-leading-icon",0!==ke._icons.length)("mdc-list-item--with-trailing-meta",0!==ke._meta.length)("_mat-animation-noopable",ke._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[t.qOj],ngContentSelectors:ue,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(Ce,ke){1&Ce&&(t.F$t(ee),t.Hsn(0),t.TgZ(1,"span",0),t.Hsn(2,1),t.Hsn(3,2),t.TgZ(4,"span",1,2),t.NdJ("cdkObserveContent",function(){return ke._updateItemLines(!0)}),t.Hsn(6,3),t.qZA()(),t.Hsn(7,4),t.Hsn(8,5),t._UZ(9,"div",3))},dependencies:[P.wD],encapsulation:2,changeDetection:0}),q})(),Be=(()=>{class q{}return q.\u0275fac=function(Ce){return new(Ce||q)},q.\u0275mod=t.oAB({type:q}),q.\u0275inj=t.cJS({imports:[P.Q8,d.ez,D.BQ,D.si,D.us,S.t]}),q})()},8255:(Ve,Q,m)=>{"use strict";m.d(Q,{OP:()=>y,Tx:()=>te,VK:()=>xe,p6:()=>be});var t=m(4650),e=m(4761),v=m(1281),D=m(9521),o=m(7579),C=m(6451),u=m(727),P=m(9646),d=m(3101),S=m(8675),w=m(3900),I=m(5698),E=m(2722),N=m(9300),z=m(4086),G=m(3238),W=m(6895),Y=m(4080),X=m(7340),ee=m(445),ue=m(8184),he=m(3353),ie=m(531);const ce=["mat-menu-item",""];function $(Ue,Be){1&Ue&&(t.O4$(),t.TgZ(0,"svg",3),t._UZ(1,"polygon",4),t.qZA())}const fe=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],T=["mat-icon, [matMenuItemIcon]","*"];function i(Ue,Be){if(1&Ue){const q=t.EpF();t.TgZ(0,"div",0),t.NdJ("keydown",function(Ce){t.CHM(q);const ke=t.oxw();return t.KtG(ke._handleKeydown(Ce))})("click",function(){t.CHM(q);const Ce=t.oxw();return t.KtG(Ce.closed.emit("click"))})("@transformMenu.start",function(Ce){t.CHM(q);const ke=t.oxw();return t.KtG(ke._onAnimationStart(Ce))})("@transformMenu.done",function(Ce){t.CHM(q);const ke=t.oxw();return t.KtG(ke._onAnimationDone(Ce))}),t.TgZ(1,"div",1),t.Hsn(2),t.qZA()()}if(2&Ue){const q=t.oxw();t.Q6J("id",q.panelId)("ngClass",q._classList)("@transformMenu",q._panelAnimationState),t.uIk("aria-label",q.ariaLabel||null)("aria-labelledby",q.ariaLabelledby||null)("aria-describedby",q.ariaDescribedby||null)}}const r=["*"],h=new t.OlP("MAT_MENU_PANEL"),l=(0,G.Kr)((0,G.Id)(class{}));let y=(()=>{class Ue extends l{constructor(q,de,Ce,ke,ht){super(),this._elementRef=q,this._document=de,this._focusMonitor=Ce,this._parentMenu=ke,this._changeDetectorRef=ht,this.role="menuitem",this._hovered=new o.x,this._focused=new o.x,this._highlighted=!1,this._triggersSubmenu=!1,ke?.addItem?.(this)}focus(q,de){this._focusMonitor&&q?this._focusMonitor.focusVia(this._getHostElement(),q,de):this._getHostElement().focus(de),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(q){this.disabled&&(q.preventDefault(),q.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const q=this._elementRef.nativeElement.cloneNode(!0),de=q.querySelectorAll("mat-icon, .material-icons");for(let Ce=0;Ce<de.length;Ce++)de[Ce].remove();return q.textContent?.trim()||""}_setHighlighted(q){this._highlighted=q,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(q){this._triggersSubmenu=q,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return Ue.\u0275fac=function(q){return new(q||Ue)(t.Y36(t.SBq),t.Y36(W.K0),t.Y36(e.tE),t.Y36(h,8),t.Y36(t.sBO))},Ue.\u0275cmp=t.Xpm({type:Ue,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(q,de){1&q&&t.NdJ("click",function(ke){return de._checkDisabled(ke)})("mouseenter",function(){return de._handleMouseEnter()}),2&q&&(t.uIk("role",de.role)("tabindex",de._getTabIndex())("aria-disabled",de.disabled)("disabled",de.disabled||null),t.ekj("mat-mdc-menu-item-highlighted",de._highlighted)("mat-mdc-menu-item-submenu-trigger",de._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[t.qOj],attrs:ce,ngContentSelectors:T,decls:5,vars:3,consts:[[1,"mdc-list-item__primary-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(q,de){1&q&&(t.F$t(fe),t.Hsn(0),t.TgZ(1,"span",0),t.Hsn(2,1),t.qZA(),t._UZ(3,"div",1),t.YNc(4,$,2,0,"svg",2)),2&q&&(t.xp6(3),t.Q6J("matRippleDisabled",de.disableRipple||de.disabled)("matRippleTrigger",de._getHostElement()),t.xp6(1),t.Q6J("ngIf",de._triggersSubmenu))},dependencies:[W.O5,G.wG],encapsulation:2,changeDetection:0}),Ue})();const n=new t.OlP("MatMenuContent"),V={transformMenu:(0,X.X$)("transformMenu",[(0,X.SB)("void",(0,X.oB)({opacity:0,transform:"scale(0.8)"})),(0,X.eR)("void => enter",(0,X.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,X.oB)({opacity:1,transform:"scale(1)"}))),(0,X.eR)("* => void",(0,X.jt)("100ms 25ms linear",(0,X.oB)({opacity:0})))]),fadeInItems:(0,X.X$)("fadeInItems",[(0,X.SB)("showing",(0,X.oB)({opacity:1})),(0,X.eR)("void => *",[(0,X.oB)({opacity:0}),(0,X.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ke=0;const qe=new t.OlP("mat-menu-default-options",{providedIn:"root",factory:function ct(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Ie=(()=>{class Ue{constructor(q,de,Ce,ke){this._elementRef=q,this._ngZone=de,this._defaultOptions=Ce,this._changeDetectorRef=ke,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new t.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new o.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new t.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Ke++}get xPosition(){return this._xPosition}set xPosition(q){this._xPosition=q,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(q){this._yPosition=q,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(q){this._overlapTrigger=(0,v.Ig)(q)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(q){this._hasBackdrop=(0,v.Ig)(q)}set panelClass(q){const de=this._previousPanelClass;de&&de.length&&de.split(" ").forEach(Ce=>{this._classList[Ce]=!1}),this._previousPanelClass=q,q&&q.length&&(q.split(" ").forEach(Ce=>{this._classList[Ce]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(q){this.panelClass=q}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new e.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,S.O)(this._directDescendantItems),(0,w.w)(q=>(0,C.T)(...q.map(de=>de._focused)))).subscribe(q=>this._keyManager.updateActiveItem(q)),this._directDescendantItems.changes.subscribe(q=>{const de=this._keyManager;if("enter"===this._panelAnimationState&&de.activeItem?._hasFocus()){const Ce=q.toArray(),ke=Math.max(0,Math.min(Ce.length-1,de.activeItemIndex||0));Ce[ke]&&!Ce[ke].disabled?de.setActiveItem(ke):de.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,S.O)(this._directDescendantItems),(0,w.w)(de=>(0,C.T)(...de.map(Ce=>Ce._hovered))))}addItem(q){}removeItem(q){}_handleKeydown(q){const de=q.keyCode,Ce=this._keyManager;switch(de){case D.hY:(0,D.Vb)(q)||(q.preventDefault(),this.closed.emit("keydown"));break;case D.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case D.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(de===D.LH||de===D.JH)&&Ce.setFocusOrigin("keyboard"),void Ce.onKeydown(q)}q.stopPropagation()}focusFirstItem(q="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,I.q)(1)).subscribe(()=>{let de=null;if(this._directDescendantItems.length&&(de=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!de||!de.contains(document.activeElement)){const Ce=this._keyManager;Ce.setFocusOrigin(q).setFirstItemActive(),!Ce.activeItem&&de&&de.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(q){const de=Math.min(this._baseElevation+q,24),Ce=`${this._elevationPrefix}${de}`,ke=Object.keys(this._classList).find(ht=>ht.startsWith(this._elevationPrefix));(!ke||ke===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Ce]=!0,this._previousElevation=Ce)}setPositionClasses(q=this.xPosition,de=this.yPosition){const Ce=this._classList;Ce["mat-menu-before"]="before"===q,Ce["mat-menu-after"]="after"===q,Ce["mat-menu-above"]="above"===de,Ce["mat-menu-below"]="below"===de,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(q){this._animationDone.next(q),this._isAnimating=!1}_onAnimationStart(q){this._isAnimating=!0,"enter"===q.toState&&0===this._keyManager.activeItemIndex&&(q.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,S.O)(this._allItems)).subscribe(q=>{this._directDescendantItems.reset(q.filter(de=>de._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return Ue.\u0275fac=function(q){return new(q||Ue)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(qe),t.Y36(t.sBO))},Ue.\u0275dir=t.lG2({type:Ue,contentQueries:function(q,de,Ce){if(1&q&&(t.Suo(Ce,n,5),t.Suo(Ce,y,5),t.Suo(Ce,y,4)),2&q){let ke;t.iGM(ke=t.CRH())&&(de.lazyContent=ke.first),t.iGM(ke=t.CRH())&&(de._allItems=ke),t.iGM(ke=t.CRH())&&(de.items=ke)}},viewQuery:function(q,de){if(1&q&&t.Gf(t.Rgc,5),2&q){let Ce;t.iGM(Ce=t.CRH())&&(de.templateRef=Ce.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),Ue})(),xe=(()=>{class Ue extends Ie{constructor(q,de,Ce,ke){super(q,de,Ce,ke),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return Ue.\u0275fac=function(q){return new(q||Ue)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(qe),t.Y36(t.sBO))},Ue.\u0275cmp=t.Xpm({type:Ue,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(q,de){2&q&&t.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[t._Bn([{provide:h,useExisting:Ue}]),t.qOj],ngContentSelectors:r,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(q,de){1&q&&(t.F$t(),t.YNc(0,i,3,6,"ng-template"))},dependencies:[W.mk],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.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;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.mdc-list-item{align-items:center}.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 .mdc-list-item__primary-text{white-space:normal}.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}.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:[V.transformMenu,V.fadeInItems]},changeDetection:0}),Ue})();const le=new t.OlP("mat-menu-scroll-strategy"),se={provide:le,deps:[ue.aV],useFactory:function _e(Ue){return()=>Ue.scrollStrategies.reposition()}},Ye=(0,he.i$)({passive:!0});let oe=(()=>{class Ue{constructor(q,de,Ce,ke,ht,nt,wt,it,qt){this._overlay=q,this._element=de,this._viewContainerRef=Ce,this._menuItemInstance=nt,this._dir=wt,this._focusMonitor=it,this._ngZone=qt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=u.w0.EMPTY,this._hoverSubscription=u.w0.EMPTY,this._menuCloseSubscription=u.w0.EMPTY,this._handleTouchStart=_t=>{(0,e.yG)(_t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new t.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new t.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=ke,this._parentMaterialMenu=ht instanceof Ie?ht:void 0,de.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ye)}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(q){this.menu=q}get menu(){return this._menu}set menu(q){q!==this._menu&&(this._menu=q,this._menuCloseSubscription.unsubscribe(),q&&(this._menuCloseSubscription=q.close.subscribe(de=>{this._destroyMenu(de),("click"===de||"tab"===de)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(de)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ye),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 q=this.menu;if(this._menuOpen||!q)return;const de=this._createOverlay(q),Ce=de.getConfig(),ke=Ce.positionStrategy;this._setPosition(q,ke),Ce.hasBackdrop=null==q.hasBackdrop?!this.triggersSubmenu():q.hasBackdrop,de.attach(this._getPortal(q)),q.lazyContent&&q.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(q),q instanceof Ie&&(q._startAnimation(),q._directDescendantItems.changes.pipe((0,E.R)(q.close)).subscribe(()=>{ke.withLockedPosition(!1).reapplyLastPosition(),ke.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(q,de){this._focusMonitor&&q?this._focusMonitor.focusVia(this._element,q,de):this._element.nativeElement.focus(de)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(q){if(!this._overlayRef||!this.menuOpen)return;const de=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===q||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,de instanceof Ie?(de._resetAnimation(),de.lazyContent?de._animationDone.pipe((0,N.h)(Ce=>"void"===Ce.toState),(0,I.q)(1),(0,E.R)(de.lazyContent._attached)).subscribe({next:()=>de.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),de?.lazyContent?.detach())}_initMenu(q){q.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,q.direction=this.dir,this._setMenuElevation(q),q.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(q){if(q.setElevation){let de=0,Ce=q.parentMenu;for(;Ce;)de++,Ce=Ce.parentMenu;q.setElevation(de)}}_setIsMenuOpen(q){this._menuOpen=q,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(q)}_createOverlay(q){if(!this._overlayRef){const de=this._getOverlayConfig(q);this._subscribeToPositions(q,de.positionStrategy),this._overlayRef=this._overlay.create(de),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(q){return new ue.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:q.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:q.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(q,de){q.setPositionClasses&&de.positionChanges.subscribe(Ce=>{const ke="start"===Ce.connectionPair.overlayX?"after":"before",ht="top"===Ce.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>q.setPositionClasses(ke,ht)):q.setPositionClasses(ke,ht)})}_setPosition(q,de){let[Ce,ke]="before"===q.xPosition?["end","start"]:["start","end"],[ht,nt]="above"===q.yPosition?["bottom","top"]:["top","bottom"],[wt,it]=[ht,nt],[qt,_t]=[Ce,ke],ne=0;if(this.triggersSubmenu()){if(_t=Ce="before"===q.xPosition?"start":"end",ke=qt="end"===Ce?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Nt=this._parentMaterialMenu.items.first;this._parentInnerPadding=Nt?Nt._getHostElement().offsetTop:0}ne="bottom"===ht?this._parentInnerPadding:-this._parentInnerPadding}}else q.overlapTrigger||(wt="top"===ht?"bottom":"top",it="top"===nt?"bottom":"top");de.withPositions([{originX:Ce,originY:wt,overlayX:qt,overlayY:ht,offsetY:ne},{originX:ke,originY:wt,overlayX:_t,overlayY:ht,offsetY:ne},{originX:Ce,originY:it,overlayX:qt,overlayY:nt,offsetY:-ne},{originX:ke,originY:it,overlayX:_t,overlayY:nt,offsetY:-ne}])}_menuClosingActions(){const q=this._overlayRef.backdropClick(),de=this._overlayRef.detachments(),Ce=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,P.of)(),ke=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,N.h)(ht=>ht!==this._menuItemInstance),(0,N.h)(()=>this._menuOpen)):(0,P.of)();return(0,C.T)(q,Ce,ke,de)}_handleMousedown(q){(0,e.X6)(q)||(this._openedBy=0===q.button?"mouse":void 0,this.triggersSubmenu()&&q.preventDefault())}_handleKeydown(q){const de=q.keyCode;(de===D.K5||de===D.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(de===D.SV&&"ltr"===this.dir||de===D.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(q){this.triggersSubmenu()?(q.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,N.h)(q=>q===this._menuItemInstance&&!q.disabled),(0,z.g)(0,d.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ie&&this.menu._isAnimating?this.menu._animationDone.pipe((0,I.q)(1),(0,z.g)(0,d.E),(0,E.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(q){return(!this._portal||this._portal.templateRef!==q.templateRef)&&(this._portal=new Y.UE(q.templateRef,this._viewContainerRef)),this._portal}}return Ue.\u0275fac=function(q){return new(q||Ue)(t.Y36(ue.aV),t.Y36(t.SBq),t.Y36(t.s_b),t.Y36(le),t.Y36(h,8),t.Y36(y,10),t.Y36(ee.Is,8),t.Y36(e.tE),t.Y36(t.R0b))},Ue.\u0275dir=t.lG2({type:Ue,hostVars:3,hostBindings:function(q,de){1&q&&t.NdJ("click",function(ke){return de._handleClick(ke)})("mousedown",function(ke){return de._handleMousedown(ke)})("keydown",function(ke){return de._handleKeydown(ke)}),2&q&&t.uIk("aria-haspopup",de.menu?"menu":null)("aria-expanded",de.menuOpen)("aria-controls",de.menuOpen?de.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"}}),Ue})(),be=(()=>{class Ue extends oe{}return Ue.\u0275fac=function(){let Be;return function(de){return(Be||(Be=t.n5z(Ue)))(de||Ue)}}(),Ue.\u0275dir=t.lG2({type:Ue,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[t.qOj]}),Ue})(),te=(()=>{class Ue{}return Ue.\u0275fac=function(q){return new(q||Ue)},Ue.\u0275mod=t.oAB({type:Ue}),Ue.\u0275inj=t.cJS({providers:[se],imports:[W.ez,G.si,G.BQ,ue.U8,ie.ZD,G.BQ]}),Ue})()},8739:(Ve,Q,m)=>{"use strict";m.d(Q,{NW:()=>$,TU:()=>fe,ye:()=>G});var t=m(6895),e=m(4650),v=m(7579),D=m(4859),o=m(4385),C=m(266),u=m(3238),P=m(1281),d=m(9549);function S(T,i){if(1&T&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&T){const r=i.$implicit;e.Q6J("value",r),e.xp6(1),e.hij(" ",r," ")}}function w(T,i){if(1&T){const r=e.EpF();e.TgZ(0,"mat-form-field",16)(1,"mat-select",17),e.NdJ("selectionChange",function(l){e.CHM(r);const y=e.oxw(2);return e.KtG(y._changePageSize(l.value))}),e.YNc(2,S,2,2,"mat-option",18),e.qZA()()}if(2&T){const r=e.oxw(2);e.Q6J("appearance",r._formFieldAppearance)("color",r.color),e.xp6(1),e.Q6J("value",r.pageSize)("disabled",r.disabled)("aria-labelledby",r._pageSizeLabelId)("panelClass",r.selectConfig.panelClass||"")("disableOptionCentering",r.selectConfig.disableOptionCentering),e.xp6(1),e.Q6J("ngForOf",r._displayedPageSizeOptions)}}function I(T,i){if(1&T&&(e.TgZ(0,"div",20),e._uU(1),e.qZA()),2&T){const r=e.oxw(2);e.xp6(1),e.Oqu(r.pageSize)}}function E(T,i){if(1&T&&(e.TgZ(0,"div",12)(1,"div",13),e._uU(2),e.qZA(),e.YNc(3,w,3,8,"mat-form-field",14),e.YNc(4,I,2,1,"div",15),e.qZA()),2&T){const r=e.oxw();e.xp6(1),e.s9C("id",r._pageSizeLabelId),e.xp6(1),e.hij(" ",r._intl.itemsPerPageLabel," "),e.xp6(1),e.Q6J("ngIf",r._displayedPageSizeOptions.length>1),e.xp6(1),e.Q6J("ngIf",r._displayedPageSizeOptions.length<=1)}}function N(T,i){if(1&T){const r=e.EpF();e.TgZ(0,"button",21),e.NdJ("click",function(){e.CHM(r);const l=e.oxw();return e.KtG(l.firstPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",22),e.qZA()()}if(2&T){const r=e.oxw();e.Q6J("matTooltip",r._intl.firstPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("matTooltipPosition","above")("disabled",r._previousButtonsDisabled()),e.uIk("aria-label",r._intl.firstPageLabel)}}function z(T,i){if(1&T){const r=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"button",23),e.NdJ("click",function(){e.CHM(r);const l=e.oxw();return e.KtG(l.lastPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",24),e.qZA()()}if(2&T){const r=e.oxw();e.Q6J("matTooltip",r._intl.lastPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("matTooltipPosition","above")("disabled",r._nextButtonsDisabled()),e.uIk("aria-label",r._intl.lastPageLabel)}}let G=(()=>{class T{constructor(){this.changes=new v.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(r,h,l)=>{if(0==l||0==h)return`0 of ${l}`;const y=r*h;return`${y+1} \u2013 ${y<(l=Math.max(l,0))?Math.min(y+h,l):y+h} of ${l}`}}}return T.\u0275fac=function(r){return new(r||T)},T.\u0275prov=e.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})();const Y={provide:G,deps:[[new e.FiY,new e.tp0,G]],useFactory:function W(T){return T||new G}},ue=new e.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),he=(0,u.Id)((0,u.dB)(class{}));let ie=(()=>{class T extends he{constructor(r,h,l){if(super(),this._intl=r,this._changeDetectorRef=h,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new e.vpe,this._intlChanges=r.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),l){const{pageSize:y,pageSizeOptions:A,hidePageSize:k,showFirstLastButtons:g}=l;null!=y&&(this._pageSize=y),null!=A&&(this._pageSizeOptions=A),null!=k&&(this._hidePageSize=k),null!=g&&(this._showFirstLastButtons=g)}}get pageIndex(){return this._pageIndex}set pageIndex(r){this._pageIndex=Math.max((0,P.su)(r),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(r){this._length=(0,P.su)(r),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(r){this._pageSize=Math.max((0,P.su)(r),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(r){this._pageSizeOptions=(r||[]).map(h=>(0,P.su)(h)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(r){this._hidePageSize=(0,P.Ig)(r)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(r){this._showFirstLastButtons=(0,P.Ig)(r)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const r=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(r)}previousPage(){if(!this.hasPreviousPage())return;const r=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(r)}firstPage(){if(!this.hasPreviousPage())return;const r=this.pageIndex;this.pageIndex=0,this._emitPageEvent(r)}lastPage(){if(!this.hasNextPage())return;const r=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(r)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const r=this.getNumberOfPages()-1;return this.pageIndex<r&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(r){const l=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/r)||0,this.pageSize=r,this._emitPageEvent(l)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){!this._initialized||(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((r,h)=>r-h),this._changeDetectorRef.markForCheck())}_emitPageEvent(r){this.page.emit({previousPageIndex:r,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return T.\u0275fac=function(r){e.$Z()},T.\u0275dir=e.lG2({type:T,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[e.qOj]}),T})(),ce=0,$=(()=>{class T extends ie{constructor(r,h,l){super(r,h,l),this._pageSizeLabelId="mat-paginator-page-size-label-"+ce++,this._formFieldAppearance=l?.formFieldAppearance||"outline"}}return T.\u0275fac=function(r){return new(r||T)(e.Y36(G),e.Y36(e.sBO),e.Y36(ue,8))},T.\u0275cmp=e.Xpm({type:T,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled"},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",4,"ngIf"],[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","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",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","click",4,"ngIf"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label",3,"id"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-mdc-paginator-page-size-value",4,"ngIf"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[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(r,h){1&r&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,E,5,4,"div",2),e.TgZ(3,"div",3)(4,"div",4),e._uU(5),e.qZA(),e.YNc(6,N,3,5,"button",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return h.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 h.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&r&&(e.xp6(2),e.Q6J("ngIf",!h.hidePageSize),e.xp6(3),e.hij(" ",h._intl.getRangeLabel(h.pageIndex,h.pageSize,h.length)," "),e.xp6(1),e.Q6J("ngIf",h.showFirstLastButtons),e.xp6(1),e.Q6J("matTooltip",h._intl.previousPageLabel)("matTooltipDisabled",h._previousButtonsDisabled())("matTooltipPosition","above")("disabled",h._previousButtonsDisabled()),e.uIk("aria-label",h._intl.previousPageLabel),e.xp6(3),e.Q6J("matTooltip",h._intl.nextPageLabel)("matTooltipDisabled",h._nextButtonsDisabled())("matTooltipPosition","above")("disabled",h._nextButtonsDisabled()),e.uIk("aria-label",h._intl.nextPageLabel),e.xp6(3),e.Q6J("ngIf",h.showFirstLastButtons))},dependencies:[t.sg,t.O5,D.RK,d.KE,o.gD,u.ey,C.gM],styles:[".mat-mdc-paginator{display:block}.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%}.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}[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}),T})(),fe=(()=>{class T{}return T.\u0275fac=function(r){return new(r||T)},T.\u0275mod=e.oAB({type:T}),T.\u0275inj=e.cJS({providers:[Y],imports:[t.ez,D.ot,o.LD,C.AV]}),T})()},3162:(Ve,Q,m)=>{"use strict";m.d(Q,{Cv:()=>w,pW:()=>d});var t=m(4650),v=(m(6895),m(3238)),D=m(1281);const o=new t.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),P=(0,v.pj)(class{constructor(I){this._elementRef=I}},"primary");let d=(()=>{class I extends P{constructor(N,z,G,W,Y){super(N),this._ngZone=z,this._changeDetectorRef=G,this._animationMode=W,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new t.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"===W,Y&&(Y.color&&(this.color=this.defaultColor=Y.color),this.mode=Y.mode||this.mode)}get value(){return this._value}set value(N){this._value=S((0,D.su)(N)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(N){this._bufferValue=S((0,D.su)(N)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(N){this._mode=N,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}}return I.\u0275fac=function(N){return new(N||I)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(t.QbO,8),t.Y36(o,8))},I.\u0275cmp=t.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(N,z){2&N&&(t.uIk("aria-valuenow",z._isIndeterminate()?null:z.value)("mode",z.mode),t.ekj("_mat-animation-noopable",z._isNoopAnimation)("mdc-linear-progress--animation-ready",!z._isNoopAnimation)("mdc-linear-progress--indeterminate",z._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[t.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(N,z){1&N&&(t.TgZ(0,"div",0),t._UZ(1,"div",1)(2,"div",2),t.qZA(),t.TgZ(3,"div",3),t._UZ(4,"span",4),t.qZA(),t.TgZ(5,"div",5),t._UZ(6,"span",4),t.qZA()),2&N&&(t.xp6(1),t.Udp("flex-basis",z._getBufferBarFlexBasis()),t.xp6(2),t.Udp("transform",z._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, 83.67142%))}100%{transform:translateX(var(--mdc-linear-progress-primary-full, 200.611057%))}}@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, 37.651913%))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half, 84.386165%))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full, 160.277782%))}}@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-buffering{from{transform:rotate(180deg) translateX(-10px)}}@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, -83.67142%))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg, -200.611057%))}}@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, -37.651913%))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg, -84.386165%))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg, -160.277782%))}}@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: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;width:100%;height: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;width:100%;height:100%}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);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}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color, #6200ee)}.mdc-linear-progress__buffer-dots{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='%23e6e6e6'/%3E%3C/svg%3E\")}.mdc-linear-progress__buffer-bar{background-color:#e6e6e6}.mdc-linear-progress{height:var(--mdc-linear-progress-track-height, 4px)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-track-height, 4px)}.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height, 4px)}.mat-mdc-progress-bar{display:block}.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}),I})();function S(I,E=0,N=100){return Math.max(E,Math.min(N,I))}let w=(()=>{class I{}return I.\u0275fac=function(N){return new(N||I)},I.\u0275mod=t.oAB({type:I}),I.\u0275inj=t.cJS({imports:[v.BQ]}),I})()},1572:(Ve,Q,m)=>{"use strict";m.d(Q,{Cq:()=>N,Ou:()=>I});var t=m(4650),e=m(3238),v=m(1281),D=m(6895);const o=["determinateSpinner"];function C(z,G){if(1&z&&(t.O4$(),t.TgZ(0,"svg",11),t._UZ(1,"circle",12),t.qZA()),2&z){const W=t.oxw();t.uIk("viewBox",W._viewBox()),t.xp6(1),t.Udp("stroke-dasharray",W._strokeCircumference(),"px")("stroke-dashoffset",W._strokeCircumference()/2,"px")("stroke-width",W._circleStrokeWidth(),"%"),t.uIk("r",W._circleRadius())}}const u=(0,e.pj)(class{constructor(z){this._elementRef=z}},"primary"),P=new t.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function d(){return{diameter:S}}}),S=100;let I=(()=>{class z extends u{constructor(W,Y,X){super(W),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=S,this._noopAnimations="NoopAnimations"===Y&&!!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(W){this._value=Math.max(0,Math.min(100,(0,v.su)(W)))}get diameter(){return this._diameter}set diameter(W){this._diameter=(0,v.su)(W)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(W){this._strokeWidth=(0,v.su)(W)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const W=2*this._circleRadius()+this.strokeWidth;return`0 0 ${W} ${W}`}_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}}return z.\u0275fac=function(W){return new(W||z)(t.Y36(t.SBq),t.Y36(t.QbO,8),t.Y36(P))},z.\u0275cmp=t.Xpm({type:z,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(W,Y){if(1&W&&t.Gf(o,5),2&W){let X;t.iGM(X=t.CRH())&&(Y._determinateCircle=X.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(W,Y){2&W&&(t.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===Y.mode?Y.value:null)("mode",Y.mode),t.Udp("width",Y.diameter,"px")("height",Y.diameter,"px"),t.ekj("_mat-animation-noopable",Y._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===Y.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[t.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(W,Y){if(1&W&&(t.YNc(0,C,2,8,"ng-template",null,0,t.W1O),t.TgZ(2,"div",1,2),t.O4$(),t.TgZ(4,"svg",3),t._UZ(5,"circle",4),t.qZA()(),t.kcU(),t.TgZ(6,"div",5)(7,"div",6)(8,"div",7),t.GkF(9,8),t.qZA(),t.TgZ(10,"div",9),t.GkF(11,8),t.qZA(),t.TgZ(12,"div",10),t.GkF(13,8),t.qZA()()()),2&W){const X=t.MAs(1);t.xp6(4),t.uIk("viewBox",Y._viewBox()),t.xp6(1),t.Udp("stroke-dasharray",Y._strokeCircumference(),"px")("stroke-dashoffset",Y._strokeDashOffset(),"px")("stroke-width",Y._circleStrokeWidth(),"%"),t.uIk("r",Y._circleRadius()),t.xp6(4),t.Q6J("ngTemplateOutlet",X),t.xp6(2),t.Q6J("ngTemplateOutlet",X),t.xp6(2),t.Q6J("ngTemplateOutlet",X)}},dependencies:[D.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{display:block;overflow:hidden;line-height: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, transparent)}@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}}@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._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}),z})(),N=(()=>{class z{}return z.\u0275fac=function(W){return new(W||z)},z.\u0275mod=t.oAB({type:z}),z.\u0275inj=t.cJS({imports:[D.ez,e.BQ]}),z})()},1948:(Ve,Q,m)=>{"use strict";m.d(Q,{Fk:()=>he,U0:()=>ue,VQ:()=>ee});var t=m(4650),e=m(3238),v=m(4761),D=m(1281),o=m(5017),C=m(4006),u=m(6895);const P=["input"],d=["*"];let S=0;class w{constructor(ce,$){this.source=ce,this.value=$}}const I={provide:C.JU,useExisting:(0,t.Gpc)(()=>ee),multi:!0},E=new t.OlP("MatRadioGroup"),N=new t.OlP("mat-radio-default-options",{providedIn:"root",factory:function z(){return{color:"accent"}}});let G=(()=>{class ie{constructor($){this._changeDetector=$,this._value=null,this._name="mat-radio-group-"+S++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new t.vpe}get name(){return this._name}set name($){this._name=$,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition($){this._labelPosition="before"===$?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value($){this._value!==$&&(this._value=$,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected($){this._selected=$,this.value=$?$.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled($){this._disabled=(0,D.Ig)($),this._markRadiosForCheck()}get required(){return this._required}set required($){this._required=(0,D.Ig)($),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach($=>{$.name=this.name,$._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(fe=>{fe.checked=this.value===fe.value,fe.checked&&(this._selected=fe)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new w(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach($=>$._markForCheck())}writeValue($){this.value=$,this._changeDetector.markForCheck()}registerOnChange($){this._controlValueAccessorChangeFn=$}registerOnTouched($){this.onTouched=$}setDisabledState($){this.disabled=$,this._changeDetector.markForCheck()}}return ie.\u0275fac=function($){return new($||ie)(t.Y36(t.sBO))},ie.\u0275dir=t.lG2({type:ie,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),ie})();class W{constructor(ce){this._elementRef=ce}}const Y=(0,e.Kr)((0,e.sb)(W));let X=(()=>{class ie extends Y{constructor($,fe,T,i,r,h,l,y){super(fe),this._changeDetector=T,this._focusMonitor=i,this._radioDispatcher=r,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++S,this.id=this._uniqueId,this.change=new t.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=$,this._noopAnimations="NoopAnimations"===h,y&&(this.tabIndex=(0,D.su)(y,0))}get checked(){return this._checked}set checked($){const fe=(0,D.Ig)($);this._checked!==fe&&(this._checked=fe,fe&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!fe&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),fe&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value($){this._value!==$&&(this._value=$,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===$),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition($){this._labelPosition=$}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled($){this._setDisabled((0,D.Ig)($))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required($){this._required=(0,D.Ig)($)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color($){this._color=$}get inputId(){return`${this.id||this._uniqueId}-input`}focus($,fe){fe?this._focusMonitor.focusVia(this._inputElement,fe,$):this._inputElement.nativeElement.focus($)}_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(($,fe)=>{$!==this.id&&fe===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe($=>{!$&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new w(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick($){$.stopPropagation()}_onInputInteraction($){if($.stopPropagation(),!this.checked&&!this.disabled){const fe=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),fe&&this.radioGroup._emitChangeEvent())}}_setDisabled($){this._disabled!==$&&(this._disabled=$,this._changeDetector.markForCheck())}_updateTabIndex(){const $=this.radioGroup;let fe;if(fe=$&&$.selected&&!this.disabled?$.selected===this?this.tabIndex:-1:this.tabIndex,fe!==this._previousTabIndex){const T=this._inputElement?.nativeElement;T&&(T.setAttribute("tabindex",fe+""),this._previousTabIndex=fe)}}}return ie.\u0275fac=function($){t.$Z()},ie.\u0275dir=t.lG2({type:ie,viewQuery:function($,fe){if(1&$&&t.Gf(P,5),2&$){let T;t.iGM(T=t.CRH())&&(fe._inputElement=T.first)}},inputs:{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"},features:[t.qOj]}),ie})(),ee=(()=>{class ie extends G{}return ie.\u0275fac=function(){let ce;return function(fe){return(ce||(ce=t.n5z(ie)))(fe||ie)}}(),ie.\u0275dir=t.lG2({type:ie,selectors:[["mat-radio-group"]],contentQueries:function($,fe,T){if(1&$&&t.Suo(T,ue,5),2&$){let i;t.iGM(i=t.CRH())&&(fe._radios=i)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],exportAs:["matRadioGroup"],features:[t._Bn([I,{provide:E,useExisting:ie}]),t.qOj]}),ie})(),ue=(()=>{class ie extends X{constructor($,fe,T,i,r,h,l,y){super($,fe,T,i,r,h,l,y)}}return ie.\u0275fac=function($){return new($||ie)(t.Y36(E,8),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(v.tE),t.Y36(o.A8),t.Y36(t.QbO,8),t.Y36(N,8),t.$8M("tabindex"))},ie.\u0275cmp=t.Xpm({type:ie,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function($,fe){1&$&&t.NdJ("focus",function(){return fe._inputElement.nativeElement.focus()}),2&$&&(t.uIk("id",fe.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),t.ekj("mat-primary","primary"===fe.color)("mat-accent","accent"===fe.color)("mat-warn","warn"===fe.color)("mat-mdc-radio-checked",fe.checked)("_mat-animation-noopable",fe._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[t.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"],[3,"for"]],template:function($,fe){if(1&$&&(t.F$t(),t.TgZ(0,"div",0,1)(2,"div",2)(3,"div",3),t.NdJ("click",function(i){return fe._onInputInteraction(i)}),t.qZA(),t.TgZ(4,"input",4,5),t.NdJ("change",function(i){return fe._onInputInteraction(i)}),t.qZA(),t.TgZ(6,"div",6),t._UZ(7,"div",7)(8,"div",8),t.qZA(),t.TgZ(9,"div",9),t._UZ(10,"div",10),t.qZA()(),t.TgZ(11,"label",11),t.Hsn(12),t.qZA()()),2&$){const T=t.MAs(1);t.ekj("mdc-form-field--align-end","before"==fe.labelPosition),t.xp6(2),t.ekj("mdc-radio--disabled",fe.disabled),t.xp6(2),t.Q6J("id",fe.inputId)("checked",fe.checked)("disabled",fe.disabled)("required",fe.required),t.uIk("name",fe.name)("value",fe.value)("aria-label",fe.ariaLabel)("aria-labelledby",fe.ariaLabelledby)("aria-describedby",fe.ariaDescribedby),t.xp6(5),t.Q6J("matRippleTrigger",T)("matRippleDisabled",fe._isRippleDisabled())("matRippleCentered",!0),t.xp6(2),t.Q6J("for",fe.inputId)}},dependencies:[e.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, 40px) - 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, #000)}.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, #000)}.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, 0.38)}.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, 0.38)}.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, #000)}.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, 0.38)}.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, #6200ee)}.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, #6200ee)}.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, #6200ee)}.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, #6200ee)}.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, #6200ee)}.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, #6200ee)}.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, #6200ee)}.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, #6200ee)}.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, #000)}.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, #000)}.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, #000)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-mdc-radio-ripple-color, transparent)}.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-mdc-radio-checked-ripple-color, transparent)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-mdc-radio-checked-ripple-color, transparent)}.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}),ie})(),he=(()=>{class ie{}return ie.\u0275fac=function($){return new($||ie)},ie.\u0275mod=t.oAB({type:ie}),ie.\u0275inj=t.cJS({imports:[e.BQ,u.ez,e.si,e.BQ]}),ie})()},4385:(Ve,Q,m)=>{"use strict";m.d(Q,{$L:()=>xe,LD:()=>_e,PG:()=>j,gD:()=>le});var t=m(8184),e=m(6895),v=m(4650),D=m(3238),o=m(9549),C=m(531),u=m(4761),P=m(445),d=m(1281),S=m(5017),w=m(9521),I=m(4006),E=m(7579),N=m(9770),z=m(6451),G=m(8675),W=m(3900),Y=m(5698),X=m(9300),ee=m(4004),ue=m(1884),he=m(2722),ie=m(7340);const ce=["trigger"],$=["panel"];function fe(se,Ye){if(1&se&&(v.TgZ(0,"span",10),v._uU(1),v.qZA()),2&se){const Te=v.oxw();v.xp6(1),v.Oqu(Te.placeholder)}}function T(se,Ye){if(1&se&&(v.TgZ(0,"span",14),v._uU(1),v.qZA()),2&se){const Te=v.oxw(2);v.xp6(1),v.Oqu(Te.triggerValue)}}function i(se,Ye){1&se&&v.Hsn(0,0,["*ngSwitchCase","true"])}function r(se,Ye){if(1&se&&(v.TgZ(0,"span",11),v.YNc(1,T,2,1,"span",12),v.YNc(2,i,1,0,"ng-content",13),v.qZA()),2&se){const Te=v.oxw();v.Q6J("ngSwitch",!!Te.customTrigger),v.xp6(2),v.Q6J("ngSwitchCase",!0)}}function h(se,Ye){if(1&se){const Te=v.EpF();v.O4$(),v.kcU(),v.TgZ(0,"div",15,16),v.NdJ("@transformPanel.done",function(be){v.CHM(Te);const te=v.oxw();return v.KtG(te._panelDoneAnimatingStream.next(be.toState))})("keydown",function(be){v.CHM(Te);const te=v.oxw();return v.KtG(te._handleKeydown(be))}),v.Hsn(2,1),v.qZA()}if(2&se){const Te=v.oxw();v.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Te._getPanelTheme(),""),v.Q6J("ngClass",Te.panelClass)("@transformPanel","showing"),v.uIk("id",Te.id+"-panel")("aria-multiselectable",Te.multiple)("aria-label",Te.ariaLabel||null)("aria-labelledby",Te._getPanelAriaLabelledby())}}const l=[[["mat-select-trigger"]],"*"],y=["mat-select-trigger","*"],A={transformPanelWrap:(0,ie.X$)("transformPanelWrap",[(0,ie.eR)("* => void",(0,ie.IO)("@transformPanel",[(0,ie.pV)()],{optional:!0}))]),transformPanel:(0,ie.X$)("transformPanel",[(0,ie.SB)("void",(0,ie.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,ie.eR)("void => showing",(0,ie.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,ie.eR)("* => void",(0,ie.jt)("100ms linear",(0,ie.oB)({opacity:0})))])};let b=0;const U=new v.OlP("mat-select-scroll-strategy"),j=new v.OlP("MAT_SELECT_CONFIG"),Ae={provide:U,deps:[t.aV],useFactory:function V(se){return()=>se.scrollStrategies.reposition()}},Ke=new v.OlP("MatSelectTrigger");class qe{constructor(Ye,Te){this.source=Ye,this.value=Te}}const ct=(0,D.Kr)((0,D.sb)((0,D.Id)((0,D.FD)(class{constructor(se,Ye,Te,oe,be){this._elementRef=se,this._defaultErrorStateMatcher=Ye,this._parentForm=Te,this._parentFormGroup=oe,this.ngControl=be,this.stateChanges=new E.x}}))));let Ie=(()=>{class se extends ct{constructor(Te,oe,be,te,Ue,Be,q,de,Ce,ke,ht,nt,wt,it){super(Ue,te,q,de,ke),this._viewportRuler=Te,this._changeDetectorRef=oe,this._ngZone=be,this._dir=Be,this._parentFormField=Ce,this._liveAnnouncer=wt,this._defaultOptions=it,this._panelOpen=!1,this._compareWith=(qt,_t)=>qt===_t,this._uid="mat-select-"+b++,this._triggerAriaLabelledBy=null,this._destroy=new E.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+b++,this._panelDoneAnimatingStream=new E.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,N.P)(()=>{const qt=this.options;return qt?qt.changes.pipe((0,G.O)(qt),(0,W.w)(()=>(0,z.T)(...qt.map(_t=>_t.onSelectionChange)))):this._ngZone.onStable.pipe((0,Y.q)(1),(0,W.w)(()=>this.optionSelectionChanges))}),this.openedChange=new v.vpe,this._openedStream=this.openedChange.pipe((0,X.h)(qt=>qt),(0,ee.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,X.h)(qt=>!qt),(0,ee.U)(()=>{})),this.selectionChange=new v.vpe,this.valueChange=new v.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=it?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=it.typeaheadDebounceInterval),this._scrollStrategyFactory=nt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(ht)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Te){this._placeholder=Te,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(I.kI.required)??!1}set required(Te){this._required=(0,d.Ig)(Te),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Te){this._multiple=(0,d.Ig)(Te)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Te){this._disableOptionCentering=(0,d.Ig)(Te)}get compareWith(){return this._compareWith}set compareWith(Te){this._compareWith=Te,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Te){this._assignValue(Te)&&this._onChange(Te)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Te){this._typeaheadDebounceInterval=(0,d.su)(Te)}get id(){return this._id}set id(Te){this._id=Te||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new S.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ue.x)(),(0,he.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,he.R)(this._destroy)).subscribe(Te=>{Te.added.forEach(oe=>oe.select()),Te.removed.forEach(oe=>oe.deselect())}),this.options.changes.pipe((0,G.O)(null),(0,he.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Te=this._getTriggerAriaLabelledby(),oe=this.ngControl;if(Te!==this._triggerAriaLabelledBy){const be=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Te,Te?be.setAttribute("aria-labelledby",Te):be.removeAttribute("aria-labelledby")}oe&&(this._previousControl!==oe.control&&(void 0!==this._previousControl&&null!==oe.disabled&&oe.disabled!==this.disabled&&(this.disabled=oe.disabled),this._previousControl=oe.control),this.updateErrorState())}ngOnChanges(Te){(Te.disabled||Te.userAriaDescribedBy)&&this.stateChanges.next(),Te.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(Te){this._assignValue(Te)}registerOnChange(Te){this._onChange=Te}registerOnTouched(Te){this._onTouched=Te}setDisabledState(Te){this.disabled=Te,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 Te=this._selectionModel.selected.map(oe=>oe.viewValue);return this._isRtl()&&Te.reverse(),Te.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Te){this.disabled||(this.panelOpen?this._handleOpenKeydown(Te):this._handleClosedKeydown(Te))}_handleClosedKeydown(Te){const oe=Te.keyCode,be=oe===w.JH||oe===w.LH||oe===w.oh||oe===w.SV,te=oe===w.K5||oe===w.L_,Ue=this._keyManager;if(!Ue.isTyping()&&te&&!(0,w.Vb)(Te)||(this.multiple||Te.altKey)&&be)Te.preventDefault(),this.open();else if(!this.multiple){const Be=this.selected;Ue.onKeydown(Te);const q=this.selected;q&&Be!==q&&this._liveAnnouncer.announce(q.viewValue,1e4)}}_handleOpenKeydown(Te){const oe=this._keyManager,be=Te.keyCode,te=be===w.JH||be===w.LH,Ue=oe.isTyping();if(te&&Te.altKey)Te.preventDefault(),this.close();else if(Ue||be!==w.K5&&be!==w.L_||!oe.activeItem||(0,w.Vb)(Te))if(!Ue&&this._multiple&&be===w.A&&Te.ctrlKey){Te.preventDefault();const Be=this.options.some(q=>!q.disabled&&!q.selected);this.options.forEach(q=>{q.disabled||(Be?q.select():q.deselect())})}else{const Be=oe.activeItemIndex;oe.onKeydown(Te),this._multiple&&te&&Te.shiftKey&&oe.activeItem&&oe.activeItemIndex!==Be&&oe.activeItem._selectViaInteraction()}else Te.preventDefault(),oe.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,Y.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(Te){if(this._selectionModel.selected.forEach(oe=>oe.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Te)Array.isArray(Te),Te.forEach(oe=>this._selectOptionByValue(oe)),this._sortValues();else{const oe=this._selectOptionByValue(Te);oe?this._keyManager.updateActiveItem(oe):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Te){const oe=this.options.find(be=>{if(this._selectionModel.isSelected(be))return!1;try{return null!=be.value&&this._compareWith(be.value,Te)}catch{return!1}});return oe&&this._selectionModel.select(oe),oe}_assignValue(Te){return!!(Te!==this._value||this._multiple&&Array.isArray(Te))&&(this.options&&this._setSelectionByValue(Te),this._value=Te,!0)}_initKeyManager(){this._keyManager=new u.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),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 Te=(0,z.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,he.R)(Te)).subscribe(oe=>{this._onSelect(oe.source,oe.isUserInput),oe.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,z.T)(...this.options.map(oe=>oe._stateChanges)).pipe((0,he.R)(Te)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Te,oe){const be=this._selectionModel.isSelected(Te);null!=Te.value||this._multiple?(be!==Te.selected&&(Te.selected?this._selectionModel.select(Te):this._selectionModel.deselect(Te)),oe&&this._keyManager.setActiveItem(Te),this.multiple&&(this._sortValues(),oe&&this.focus())):(Te.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Te.value)),be!==this._selectionModel.isSelected(Te)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Te=this.options.toArray();this._selectionModel.sort((oe,be)=>this.sortComparator?this.sortComparator(oe,be,Te):Te.indexOf(oe)-Te.indexOf(be)),this.stateChanges.next()}}_propagateChanges(Te){let oe=null;oe=this.multiple?this.selected.map(be=>be.value):this.selected?this.selected.value:Te,this._value=oe,this.valueChange.emit(oe),this._onChange(oe),this.selectionChange.emit(this._getChangeEvent(oe)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(Te){this._elementRef.nativeElement.focus(Te)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Te=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Te?Te+" ":"")+this.ariaLabelledby:Te}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Te=this._parentFormField?.getLabelId();let oe=(Te?Te+" ":"")+this._valueId;return this.ariaLabelledby&&(oe+=" "+this.ariaLabelledby),oe}_panelDoneAnimating(Te){this.openedChange.emit(Te)}setDescribedByIds(Te){Te.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Te.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return se.\u0275fac=function(Te){return new(Te||se)(v.Y36(C.rL),v.Y36(v.sBO),v.Y36(v.R0b),v.Y36(D.rD),v.Y36(v.SBq),v.Y36(P.Is,8),v.Y36(I.F,8),v.Y36(I.sg,8),v.Y36(o.G_,8),v.Y36(I.a5,10),v.$8M("tabindex"),v.Y36(U),v.Y36(u.Kd),v.Y36(j,8))},se.\u0275dir=v.lG2({type:se,viewQuery:function(Te,oe){if(1&Te&&(v.Gf(ce,5),v.Gf($,5),v.Gf(t.pI,5)),2&Te){let be;v.iGM(be=v.CRH())&&(oe.trigger=be.first),v.iGM(be=v.CRH())&&(oe.panel=be.first),v.iGM(be=v.CRH())&&(oe._overlayDir=be.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",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"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[v.qOj,v.TTD]}),se})(),xe=(()=>{class se{}return se.\u0275fac=function(Te){return new(Te||se)},se.\u0275dir=v.lG2({type:se,selectors:[["mat-select-trigger"]],features:[v._Bn([{provide:Ke,useExisting:se}])]}),se})(),le=(()=>{class se extends Ie{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}]}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,he.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(Te){const oe=this.options.toArray()[Te];if(oe){const be=this.panel.nativeElement,te=(0,D.CB)(Te,this.options,this.optionGroups),Ue=oe._getHostElement();be.scrollTop=0===Te&&1===te?0:(0,D.jH)(Ue.offsetTop,Ue.offsetHeight,be.scrollTop,be.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Te){return new qe(this,Te)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof t.xu?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}}return se.\u0275fac=function(){let Ye;return function(oe){return(Ye||(Ye=v.n5z(se)))(oe||se)}}(),se.\u0275cmp=v.Xpm({type:se,selectors:[["mat-select"]],contentQueries:function(Te,oe,be){if(1&Te&&(v.Suo(be,Ke,5),v.Suo(be,D.ey,5),v.Suo(be,D.K7,5)),2&Te){let te;v.iGM(te=v.CRH())&&(oe.customTrigger=te.first),v.iGM(te=v.CRH())&&(oe.options=te),v.iGM(te=v.CRH())&&(oe.optionGroups=te)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(Te,oe){1&Te&&v.NdJ("keydown",function(te){return oe._handleKeydown(te)})("focus",function(){return oe._onFocus()})("blur",function(){return oe._onBlur()}),2&Te&&(v.uIk("id",oe.id)("tabindex",oe.tabIndex)("aria-controls",oe.panelOpen?oe.id+"-panel":null)("aria-expanded",oe.panelOpen)("aria-label",oe.ariaLabel||null)("aria-required",oe.required.toString())("aria-disabled",oe.disabled.toString())("aria-invalid",oe.errorState)("aria-activedescendant",oe._getAriaActiveDescendant()),v.ekj("mat-mdc-select-disabled",oe.disabled)("mat-mdc-select-invalid",oe.errorState)("mat-mdc-select-required",oe.required)("mat-mdc-select-empty",oe.empty)("mat-mdc-select-multiple",oe.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[v._Bn([{provide:o.Eo,useExisting:se},{provide:D.HF,useExisting:se}]),v.qOj],ngContentSelectors:y,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["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",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(Te,oe){if(1&Te&&(v.F$t(l),v.TgZ(0,"div",0,1),v.NdJ("click",function(){return oe.toggle()}),v.TgZ(3,"div",2),v.YNc(4,fe,2,1,"span",3),v.YNc(5,r,3,2,"span",4),v.qZA(),v.TgZ(6,"div",5)(7,"div",6),v.O4$(),v.TgZ(8,"svg",7),v._UZ(9,"path",8),v.qZA()()()(),v.YNc(10,h,3,9,"ng-template",9),v.NdJ("backdropClick",function(){return oe.close()})("attach",function(){return oe._onAttached()})("detach",function(){return oe.close()})),2&Te){const be=v.MAs(1);v.uIk("aria-owns",oe.panelOpen?oe.id+"-panel":null),v.xp6(3),v.Q6J("ngSwitch",oe.empty),v.uIk("id",oe._valueId),v.xp6(1),v.Q6J("ngSwitchCase",!0),v.xp6(1),v.Q6J("ngSwitchCase",!1),v.xp6(5),v.Q6J("cdkConnectedOverlayPanelClass",oe._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",oe._scrollStrategy)("cdkConnectedOverlayOrigin",oe._preferredOverlayOrigin||be)("cdkConnectedOverlayOpen",oe.panelOpen)("cdkConnectedOverlayPositions",oe._positions)("cdkConnectedOverlayWidth",oe._overlayWidth)}},dependencies:[e.mk,e.RF,e.n9,e.ED,t.pI,t.xu],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.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}.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}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.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)}._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.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:[A.transformPanel]},changeDetection:0}),se})(),_e=(()=>{class se{}return se.\u0275fac=function(Te){return new(Te||se)},se.\u0275mod=v.oAB({type:se}),se.\u0275inj=v.cJS({providers:[Ae],imports:[e.ez,t.U8,D.Ng,D.BQ,C.ZD,o.lN,D.Ng,D.BQ]}),se})()},3267:(Ve,Q,m)=>{"use strict";m.d(Q,{JX:()=>Ke,Rh:()=>Ae,SJ:()=>ct,TM:()=>qe});var t=m(531),e=m(6895),v=m(4650),D=m(3238),o=m(4761),C=m(445),u=m(1281),P=m(9521),d=m(3353),S=m(7579),w=m(4968),I=m(6451),E=m(9300),N=m(4004),z=m(9718),G=m(2722),W=m(1884),Y=m(5698),X=m(8675),ee=m(8372),ue=m(7340);const he=["*"],ie=["content"];function ce(Ie,xe){if(1&Ie){const le=v.EpF();v.TgZ(0,"div",2),v.NdJ("click",function(){v.CHM(le);const se=v.oxw();return v.KtG(se._onBackdropClicked())}),v.qZA()}if(2&Ie){const le=v.oxw();v.ekj("mat-drawer-shown",le._isShowingBackdrop())}}function $(Ie,xe){1&Ie&&(v.TgZ(0,"mat-drawer-content"),v.Hsn(1,2),v.qZA())}const fe=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],T=["mat-drawer","mat-drawer-content","*"];function i(Ie,xe){if(1&Ie){const le=v.EpF();v.TgZ(0,"div",2),v.NdJ("click",function(){v.CHM(le);const se=v.oxw();return v.KtG(se._onBackdropClicked())}),v.qZA()}if(2&Ie){const le=v.oxw();v.ekj("mat-drawer-shown",le._isShowingBackdrop())}}function r(Ie,xe){1&Ie&&(v.TgZ(0,"mat-sidenav-content"),v.Hsn(1,2),v.qZA())}const h=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],l=["mat-sidenav","mat-sidenav-content","*"],A={transformDrawer:(0,ue.X$)("transform",[(0,ue.SB)("open, open-instant",(0,ue.oB)({transform:"none",visibility:"visible"})),(0,ue.SB)("void",(0,ue.oB)({"box-shadow":"none",visibility:"hidden"})),(0,ue.eR)("void => open-instant",(0,ue.jt)("0ms")),(0,ue.eR)("void <=> open, open-instant => void",(0,ue.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},g=new v.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function b(){return!1}}),n=new v.OlP("MAT_DRAWER_CONTAINER");let U=(()=>{class Ie extends t.PQ{constructor(le,_e,se,Ye,Te){super(se,Ye,Te),this._changeDetectorRef=le,this._container=_e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return Ie.\u0275fac=function(le){return new(le||Ie)(v.Y36(v.sBO),v.Y36((0,v.Gpc)(()=>j)),v.Y36(v.SBq),v.Y36(t.mF),v.Y36(v.R0b))},Ie.\u0275cmp=v.Xpm({type:Ie,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(le,_e){2&le&&v.Udp("margin-left",_e._container._contentMargins.left,"px")("margin-right",_e._container._contentMargins.right,"px")},features:[v._Bn([{provide:t.PQ,useExisting:Ie}]),v.qOj],ngContentSelectors:he,decls:1,vars:0,template:function(le,_e){1&le&&(v.F$t(),v.Hsn(0))},encapsulation:2,changeDetection:0}),Ie})(),V=(()=>{class Ie{constructor(le,_e,se,Ye,Te,oe,be,te){this._elementRef=le,this._focusTrapFactory=_e,this._focusMonitor=se,this._platform=Ye,this._ngZone=Te,this._interactivityChecker=oe,this._doc=be,this._container=te,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new S.x,this._animationEnd=new S.x,this._animationState="void",this.openedChange=new v.vpe(!0),this._openedStream=this.openedChange.pipe((0,E.h)(Ue=>Ue),(0,N.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,E.h)(Ue=>Ue.fromState!==Ue.toState&&0===Ue.toState.indexOf("open")),(0,z.h)(void 0)),this._closedStream=this.openedChange.pipe((0,E.h)(Ue=>!Ue),(0,N.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,E.h)(Ue=>Ue.fromState!==Ue.toState&&"void"===Ue.toState),(0,z.h)(void 0)),this._destroyed=new S.x,this.onPositionChanged=new v.vpe,this._modeChanged=new S.x,this.openedChange.subscribe(Ue=>{Ue?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,w.R)(this._elementRef.nativeElement,"keydown").pipe((0,E.h)(Ue=>Ue.keyCode===P.hY&&!this.disableClose&&!(0,P.Vb)(Ue)),(0,G.R)(this._destroyed)).subscribe(Ue=>this._ngZone.run(()=>{this.close(),Ue.stopPropagation(),Ue.preventDefault()}))}),this._animationEnd.pipe((0,W.x)((Ue,Be)=>Ue.fromState===Be.fromState&&Ue.toState===Be.toState)).subscribe(Ue=>{const{fromState:Be,toState:q}=Ue;(0===q.indexOf("open")&&"void"===Be||"void"===q&&0===Be.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(le){(le="end"===le?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(le),this._position=le,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(le){this._mode=le,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(le){this._disableClose=(0,u.Ig)(le)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(le){("true"===le||"false"===le||null==le)&&(le=(0,u.Ig)(le)),this._autoFocus=le}get opened(){return this._opened}set opened(le){this.toggle((0,u.Ig)(le))}_forceFocus(le,_e){this._interactivityChecker.isFocusable(le)||(le.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const se=()=>{le.removeEventListener("blur",se),le.removeEventListener("mousedown",se),le.removeAttribute("tabindex")};le.addEventListener("blur",se),le.addEventListener("mousedown",se)})),le.focus(_e)}_focusByCssSelector(le,_e){let se=this._elementRef.nativeElement.querySelector(le);se&&this._forceFocus(se,_e)}_takeFocus(){if(!this._focusTrap)return;const le=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(_e=>{!_e&&"function"==typeof this._elementRef.nativeElement.focus&&le.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(le){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,le):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const le=this._doc.activeElement;return!!le&&this._elementRef.nativeElement.contains(le)}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(le){return this.toggle(!0,le)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(le=!this.opened,_e){le&&_e&&(this._openedVia=_e);const se=this._setOpen(le,!le&&this._isFocusWithinDrawer(),this._openedVia||"program");return le||(this._openedVia=null),se}_setOpen(le,_e,se){return this._opened=le,le?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",_e&&this._restoreFocus(se)),this._updateFocusTrapState(),new Promise(Ye=>{this.openedChange.pipe((0,Y.q)(1)).subscribe(Te=>Ye(Te?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(le){const _e=this._elementRef.nativeElement,se=_e.parentNode;"end"===le?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),se.insertBefore(this._anchor,_e)),se.appendChild(_e)):this._anchor&&this._anchor.parentNode.insertBefore(_e,this._anchor)}}return Ie.\u0275fac=function(le){return new(le||Ie)(v.Y36(v.SBq),v.Y36(o.qV),v.Y36(o.tE),v.Y36(d.t4),v.Y36(v.R0b),v.Y36(o.ic),v.Y36(e.K0,8),v.Y36(n,8))},Ie.\u0275cmp=v.Xpm({type:Ie,selectors:[["mat-drawer"]],viewQuery:function(le,_e){if(1&le&&v.Gf(ie,5),2&le){let se;v.iGM(se=v.CRH())&&(_e._content=se.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(le,_e){1&le&&v.WFA("@transform.start",function(Ye){return _e._animationStarted.next(Ye)})("@transform.done",function(Ye){return _e._animationEnd.next(Ye)}),2&le&&(v.uIk("align",null),v.d8E("@transform",_e._animationState),v.ekj("mat-drawer-end","end"===_e.position)("mat-drawer-over","over"===_e.mode)("mat-drawer-push","push"===_e.mode)("mat-drawer-side","side"===_e.mode)("mat-drawer-opened",_e.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:he,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(le,_e){1&le&&(v.F$t(),v.TgZ(0,"div",0,1),v.Hsn(2),v.qZA())},dependencies:[t.PQ],encapsulation:2,data:{animation:[A.transformDrawer]},changeDetection:0}),Ie})(),j=(()=>{class Ie{constructor(le,_e,se,Ye,Te,oe=!1,be){this._dir=le,this._element=_e,this._ngZone=se,this._changeDetectorRef=Ye,this._animationMode=be,this._drawers=new v.n_E,this.backdropClick=new v.vpe,this._destroyed=new S.x,this._doCheckSubject=new S.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new S.x,le&&le.change.pipe((0,G.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Te.change().pipe((0,G.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=oe}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(le){this._autosize=(0,u.Ig)(le)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(le){this._backdropOverride=null==le?null:(0,u.Ig)(le)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,X.O)(this._allDrawers),(0,G.R)(this._destroyed)).subscribe(le=>{this._drawers.reset(le.filter(_e=>!_e._container||_e._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,X.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(le=>{this._watchDrawerToggle(le),this._watchDrawerPosition(le),this._watchDrawerMode(le)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,ee.b)(10),(0,G.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(le=>le.open())}close(){this._drawers.forEach(le=>le.close())}updateContentMargins(){let le=0,_e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)le+=this._left._getWidth();else if("push"==this._left.mode){const se=this._left._getWidth();le+=se,_e-=se}if(this._right&&this._right.opened)if("side"==this._right.mode)_e+=this._right._getWidth();else if("push"==this._right.mode){const se=this._right._getWidth();_e+=se,le-=se}le=le||null,_e=_e||null,(le!==this._contentMargins.left||_e!==this._contentMargins.right)&&(this._contentMargins={left:le,right:_e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(le){le._animationStarted.pipe((0,E.h)(_e=>_e.fromState!==_e.toState),(0,G.R)(this._drawers.changes)).subscribe(_e=>{"open-instant"!==_e.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==le.mode&&le.openedChange.pipe((0,G.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(le.opened))}_watchDrawerPosition(le){!le||le.onPositionChanged.pipe((0,G.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Y.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(le){le&&le._modeChanged.pipe((0,G.R)((0,I.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(le){const _e=this._element.nativeElement.classList,se="mat-drawer-container-has-open";le?_e.add(se):_e.remove(se)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(le=>{"end"==le.position?this._end=le:this._start=le}),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(le=>le&&!le.disableClose&&this._canHaveBackdrop(le)).forEach(le=>le._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(le){return"side"!==le.mode||!!this._backdropOverride}_isDrawerOpen(le){return null!=le&&le.opened}}return Ie.\u0275fac=function(le){return new(le||Ie)(v.Y36(C.Is,8),v.Y36(v.SBq),v.Y36(v.R0b),v.Y36(v.sBO),v.Y36(t.rL),v.Y36(g),v.Y36(v.QbO,8))},Ie.\u0275cmp=v.Xpm({type:Ie,selectors:[["mat-drawer-container"]],contentQueries:function(le,_e,se){if(1&le&&(v.Suo(se,U,5),v.Suo(se,V,5)),2&le){let Ye;v.iGM(Ye=v.CRH())&&(_e._content=Ye.first),v.iGM(Ye=v.CRH())&&(_e._allDrawers=Ye)}},viewQuery:function(le,_e){if(1&le&&v.Gf(U,5),2&le){let se;v.iGM(se=v.CRH())&&(_e._userContent=se.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(le,_e){2&le&&v.ekj("mat-drawer-container-explicit-backdrop",_e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[v._Bn([{provide:n,useExisting:Ie}])],ngContentSelectors:T,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(le,_e){1&le&&(v.F$t(fe),v.YNc(0,ce,1,2,"div",0),v.Hsn(1),v.Hsn(2,1),v.YNc(3,$,2,0,"mat-drawer-content",1)),2&le&&(v.Q6J("ngIf",_e.hasBackdrop),v.xp6(3),v.Q6J("ngIf",!_e._content))},dependencies:[e.O5,U],styles:['.mat-drawer-container{position:relative;z-index:1;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}.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{position:relative;z-index:4;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)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),Ie})(),Ae=(()=>{class Ie extends U{constructor(le,_e,se,Ye,Te){super(le,_e,se,Ye,Te)}}return Ie.\u0275fac=function(le){return new(le||Ie)(v.Y36(v.sBO),v.Y36((0,v.Gpc)(()=>qe)),v.Y36(v.SBq),v.Y36(t.mF),v.Y36(v.R0b))},Ie.\u0275cmp=v.Xpm({type:Ie,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(le,_e){2&le&&v.Udp("margin-left",_e._container._contentMargins.left,"px")("margin-right",_e._container._contentMargins.right,"px")},features:[v._Bn([{provide:t.PQ,useExisting:Ie}]),v.qOj],ngContentSelectors:he,decls:1,vars:0,template:function(le,_e){1&le&&(v.F$t(),v.Hsn(0))},encapsulation:2,changeDetection:0}),Ie})(),Ke=(()=>{class Ie extends V{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(le){this._fixedInViewport=(0,u.Ig)(le)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(le){this._fixedTopGap=(0,u.su)(le)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(le){this._fixedBottomGap=(0,u.su)(le)}}return Ie.\u0275fac=function(){let xe;return function(_e){return(xe||(xe=v.n5z(Ie)))(_e||Ie)}}(),Ie.\u0275cmp=v.Xpm({type:Ie,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(le,_e){2&le&&(v.uIk("align",null),v.Udp("top",_e.fixedInViewport?_e.fixedTopGap:null,"px")("bottom",_e.fixedInViewport?_e.fixedBottomGap:null,"px"),v.ekj("mat-drawer-end","end"===_e.position)("mat-drawer-over","over"===_e.mode)("mat-drawer-push","push"===_e.mode)("mat-drawer-side","side"===_e.mode)("mat-drawer-opened",_e.opened)("mat-sidenav-fixed",_e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[v.qOj],ngContentSelectors:he,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(le,_e){1&le&&(v.F$t(),v.TgZ(0,"div",0,1),v.Hsn(2),v.qZA())},dependencies:[t.PQ],encapsulation:2,data:{animation:[A.transformDrawer]},changeDetection:0}),Ie})(),qe=(()=>{class Ie extends j{}return Ie.\u0275fac=function(){let xe;return function(_e){return(xe||(xe=v.n5z(Ie)))(_e||Ie)}}(),Ie.\u0275cmp=v.Xpm({type:Ie,selectors:[["mat-sidenav-container"]],contentQueries:function(le,_e,se){if(1&le&&(v.Suo(se,Ae,5),v.Suo(se,Ke,5)),2&le){let Ye;v.iGM(Ye=v.CRH())&&(_e._content=Ye.first),v.iGM(Ye=v.CRH())&&(_e._allDrawers=Ye)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(le,_e){2&le&&v.ekj("mat-drawer-container-explicit-backdrop",_e._backdropOverride)},exportAs:["matSidenavContainer"],features:[v._Bn([{provide:n,useExisting:Ie}]),v.qOj],ngContentSelectors:l,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(le,_e){1&le&&(v.F$t(h),v.YNc(0,i,1,2,"div",0),v.Hsn(1),v.Hsn(2,1),v.YNc(3,r,2,0,"mat-sidenav-content",1)),2&le&&(v.Q6J("ngIf",_e.hasBackdrop),v.xp6(3),v.Q6J("ngIf",!_e._content))},dependencies:[e.O5,Ae],styles:['.mat-drawer-container{position:relative;z-index:1;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}.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{position:relative;z-index:4;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)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),Ie})(),ct=(()=>{class Ie{}return Ie.\u0275fac=function(le){return new(le||Ie)},Ie.\u0275mod=v.oAB({type:Ie}),Ie.\u0275inj=v.cJS({imports:[e.ez,D.BQ,t.ZD,t.ZD,D.BQ]}),Ie})()},455:(Ve,Q,m)=>{"use strict";m.d(Q,{Rr:()=>z,rP:()=>X});var t=m(4650),e=m(4006),v=m(4761),D=m(3238),o=m(1281),C=m(6895);const u=["switch"],P=["*"],d=new t.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),S={provide:e.JU,useExisting:(0,t.Gpc)(()=>z),multi:!0};class w{constructor(ue,he){this.source=ue,this.checked=he}}let I=0;const E=(0,D.sb)((0,D.pj)((0,D.Kr)((0,D.Id)(class{constructor(ee){this._elementRef=ee}}))));let N=(()=>{class ee extends E{constructor(he,ie,ce,$,fe,T,i){super(he),this._focusMonitor=ie,this._changeDetectorRef=ce,this.defaults=fe,this._onChange=r=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new t.vpe,this.toggleChange=new t.vpe,this.tabIndex=parseInt($)||0,this.color=this.defaultColor=fe.color||"accent",this._noopAnimations="NoopAnimations"===T,this.id=this._uniqueId=`${i}${++I}`}get required(){return this._required}set required(he){this._required=(0,o.Ig)(he)}get checked(){return this._checked}set checked(he){this._checked=(0,o.Ig)(he),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(he=>{"keyboard"===he||"program"===he?(this._focused=!0,this._changeDetectorRef.markForCheck()):he||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(he){this.checked=!!he}registerOnChange(he){this._onChange=he}registerOnTouched(he){this._onTouched=he}setDisabledState(he){this.disabled=he,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return ee.\u0275fac=function(he){t.$Z()},ee.\u0275dir=t.lG2({type:ee,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[t.qOj]}),ee})(),z=(()=>{class ee extends N{constructor(he,ie,ce,$,fe,T){super(he,ie,ce,$,fe,T,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}get buttonId(){return`${this.id||this._uniqueId}-button`}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new w(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(he){return new w(this,he)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return ee.\u0275fac=function(he){return new(he||ee)(t.Y36(t.SBq),t.Y36(v.tE),t.Y36(t.sBO),t.$8M("tabindex"),t.Y36(d),t.Y36(t.QbO,8))},ee.\u0275cmp=t.Xpm({type:ee,selectors:[["mat-slide-toggle"]],viewQuery:function(he,ie){if(1&he&&t.Gf(u,5),2&he){let ce;t.iGM(ce=t.CRH())&&(ie._switchElement=ce.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(he,ie){2&he&&(t.Ikx("id",ie.id),t.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),t.ekj("mat-mdc-slide-toggle-focused",ie._focused)("mat-mdc-slide-toggle-checked",ie.checked)("_mat-animation-noopable",ie._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[t._Bn([S]),t.qOj],ngContentSelectors:P,decls:17,vars:24,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"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24",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",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"],[3,"for","click"]],template:function(he,ie){if(1&he&&(t.F$t(),t.TgZ(0,"div",0)(1,"button",1,2),t.NdJ("click",function(){return ie._handleClick()}),t._UZ(3,"div",3),t.TgZ(4,"div",4)(5,"div",5)(6,"div",6),t._UZ(7,"div",7),t.qZA(),t.TgZ(8,"div",8),t._UZ(9,"div",9),t.qZA(),t.TgZ(10,"div",10),t.O4$(),t.TgZ(11,"svg",11),t._UZ(12,"path",12),t.qZA(),t.TgZ(13,"svg",13),t._UZ(14,"path",14),t.qZA()()()()(),t.kcU(),t.TgZ(15,"label",15),t.NdJ("click",function($){return $.stopPropagation()}),t.Hsn(16),t.qZA()()),2&he){const ce=t.MAs(2);t.ekj("mdc-form-field--align-end","before"==ie.labelPosition),t.xp6(1),t.ekj("mdc-switch--selected",ie.checked)("mdc-switch--unselected",!ie.checked)("mdc-switch--checked",ie.checked)("mdc-switch--disabled",ie.disabled),t.Q6J("tabIndex",ie.tabIndex)("disabled",ie.disabled),t.uIk("id",ie.buttonId)("name",ie.name)("aria-label",ie.ariaLabel)("aria-labelledby",ie._getAriaLabelledBy())("aria-describedby",ie.ariaDescribedby)("aria-required",ie.required||null)("aria-checked",ie.checked),t.xp6(8),t.Q6J("matRippleTrigger",ce)("matRippleDisabled",ie.disableRipple||ie.disabled)("matRippleCentered",!0),t.xp6(6),t.Q6J("for",ie.buttonId),t.uIk("id",ie._labelId)}},dependencies:[D.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, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.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)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 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))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .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, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .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, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .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, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .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, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .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, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .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, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.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}'],encapsulation:2,changeDetection:0}),ee})(),Y=(()=>{class ee{}return ee.\u0275fac=function(he){return new(he||ee)},ee.\u0275mod=t.oAB({type:ee}),ee.\u0275inj=t.cJS({}),ee})(),X=(()=>{class ee{}return ee.\u0275fac=function(he){return new(he||ee)},ee.\u0275mod=t.oAB({type:ee}),ee.\u0275inj=t.cJS({imports:[Y,D.BQ,D.si,C.ez,Y,D.BQ]}),ee})()},7009:(Ve,Q,m)=>{"use strict";m.d(Q,{Ve:()=>h,ZX:()=>i,ux:()=>y});var t=m(4650),e=m(7579),v=m(6895),D=m(4859),o=m(7340),C=m(4080),u=m(3353),P=m(5698),d=m(2722),S=m(4761),w=m(2289),I=m(8184),E=m(3238);function N(A,k){if(1&A){const g=t.EpF();t.TgZ(0,"div",2)(1,"button",3),t.NdJ("click",function(){t.CHM(g);const b=t.oxw();return t.KtG(b.action())}),t._uU(2),t.qZA()()}if(2&A){const g=t.oxw();t.xp6(2),t.hij(" ",g.data.action," ")}}const z=["label"];function G(A,k){}const W=Math.pow(2,31)-1;class Y{constructor(k,g){this._overlayRef=g,this._afterDismissed=new e.x,this._afterOpened=new e.x,this._onAction=new e.x,this._dismissedByAction=!1,this.containerInstance=k,k._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(k){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(k,W))}_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 t.OlP("MatSnackBarData");class ee{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let ue=(()=>{class A{}return A.\u0275fac=function(g){return new(g||A)},A.\u0275dir=t.lG2({type:A,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),A})(),he=(()=>{class A{}return A.\u0275fac=function(g){return new(g||A)},A.\u0275dir=t.lG2({type:A,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),A})(),ie=(()=>{class A{}return A.\u0275fac=function(g){return new(g||A)},A.\u0275dir=t.lG2({type:A,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),A})(),ce=(()=>{class A{constructor(g,n){this.snackBarRef=g,this.data=n}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return A.\u0275fac=function(g){return new(g||A)(t.Y36(Y),t.Y36(X))},A.\u0275cmp=t.Xpm({type:A,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(g,n){1&g&&(t.TgZ(0,"div",0),t._uU(1),t.qZA(),t.YNc(2,N,3,1,"div",1)),2&g&&(t.xp6(1),t.hij(" ",n.data.message,"\n"),t.xp6(1),t.Q6J("ngIf",n.hasAction))},dependencies:[v.O5,D.lW,ue,he,ie],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),A})();const $={snackBarState:(0,o.X$)("state",[(0,o.SB)("void, hidden",(0,o.oB)({transform:"scale(0.8)",opacity:0})),(0,o.SB)("visible",(0,o.oB)({transform:"scale(1)",opacity:1})),(0,o.eR)("* => visible",(0,o.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,o.eR)("* => void, * => hidden",(0,o.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,o.oB)({opacity:0})))])};let fe=(()=>{class A extends C.en{constructor(g,n,b,U,V){super(),this._ngZone=g,this._elementRef=n,this._changeDetectorRef=b,this._platform=U,this.snackBarConfig=V,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new e.x,this._onExit=new e.x,this._onEnter=new e.x,this._animationState="void",this.attachDomPortal=j=>{this._assertNotAttached();const Ae=this._portalOutlet.attachDomPortal(j);return this._afterPortalAttached(),Ae},this._live="assertive"!==V.politeness||V.announcementMessage?"off"===V.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(g){this._assertNotAttached();const n=this._portalOutlet.attachComponentPortal(g);return this._afterPortalAttached(),n}attachTemplatePortal(g){this._assertNotAttached();const n=this._portalOutlet.attachTemplatePortal(g);return this._afterPortalAttached(),n}onAnimationEnd(g){const{fromState:n,toState:b}=g;if(("void"===b&&"void"!==n||"hidden"===b)&&this._completeExit(),"visible"===b){const U=this._onEnter;this._ngZone.run(()=>{U.next(),U.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._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,P.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const g=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;n&&(Array.isArray(n)?n.forEach(b=>g.classList.add(b)):g.classList.add(n))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const g=this._elementRef.nativeElement.querySelector("[aria-hidden]"),n=this._elementRef.nativeElement.querySelector("[aria-live]");if(g&&n){let b=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&g.contains(document.activeElement)&&(b=document.activeElement),g.removeAttribute("aria-hidden"),n.appendChild(g),b?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return A.\u0275fac=function(g){return new(g||A)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(u.t4),t.Y36(ee))},A.\u0275dir=t.lG2({type:A,viewQuery:function(g,n){if(1&g&&t.Gf(C.Pl,7),2&g){let b;t.iGM(b=t.CRH())&&(n._portalOutlet=b.first)}},features:[t.qOj]}),A})(),T=(()=>{class A extends fe{_afterPortalAttached(){super._afterPortalAttached();const g=this._label.nativeElement,n="mdc-snackbar__label";g.classList.toggle(n,!g.querySelector(`.${n}`))}}return A.\u0275fac=function(){let k;return function(n){return(k||(k=t.n5z(A)))(n||A)}}(),A.\u0275cmp=t.Xpm({type:A,selectors:[["mat-snack-bar-container"]],viewQuery:function(g,n){if(1&g&&t.Gf(z,7),2&g){let b;t.iGM(b=t.CRH())&&(n._label=b.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(g,n){1&g&&t.WFA("@state.done",function(U){return n.onAnimationEnd(U)}),2&g&&t.d8E("@state",n._animationState)},features:[t.qOj],decls:6,vars:2,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(g,n){1&g&&(t.TgZ(0,"div",0)(1,"div",1,2)(3,"div",3),t.YNc(4,G,0,0,"ng-template",4),t.qZA(),t._UZ(5,"div"),t.qZA()()),2&g&&(t.xp6(5),t.uIk("aria-live",n._live)("role",n._role))},dependencies:[C.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%}}.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__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss svg,.mat-mdc-snack-bar-container .mdc-snackbar__dismiss img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size, inherit);font-family:var(--mdc-snackbar-supporting-text-font, inherit);font-weight:var(--mdc-snackbar-supporting-text-weight, inherit);line-height:var(--mdc-snackbar-supporting-text-line-height, inherit)}.cdk-high-contrast-active .mat-mdc-snack-bar-container{border:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-mdc-snack-bar-button-color, transparent);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.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:[$.snackBarState]}}),A})(),i=(()=>{class A{}return A.\u0275fac=function(g){return new(g||A)},A.\u0275mod=t.oAB({type:A}),A.\u0275inj=t.cJS({imports:[I.U8,C.eL,v.ez,D.ot,E.BQ,E.BQ]}),A})();const h=new t.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function r(){return new ee}});let l=(()=>{class A{constructor(g,n,b,U,V,j){this._overlay=g,this._live=n,this._injector=b,this._breakpointObserver=U,this._parentSnackBar=V,this._defaultConfig=j,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const g=this._parentSnackBar;return g?g._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(g){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=g:this._snackBarRefAtThisLevel=g}openFromComponent(g,n){return this._attach(g,n)}openFromTemplate(g,n){return this._attach(g,n)}open(g,n="",b){const U={...this._defaultConfig,...b};return U.data={message:g,action:n},U.announcementMessage===g&&(U.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,U)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(g,n){const U=t.zs3.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:ee,useValue:n}]}),V=new C.C5(this.snackBarContainerComponent,n.viewContainerRef,U),j=g.attach(V);return j.instance.snackBarConfig=n,j.instance}_attach(g,n){const b={...new ee,...this._defaultConfig,...n},U=this._createOverlay(b),V=this._attachSnackBarContainer(U,b),j=new Y(V,U);if(g instanceof t.Rgc){const Ae=new C.UE(g,null,{$implicit:b.data,snackBarRef:j});j.instance=V.attachTemplatePortal(Ae)}else{const Ae=this._createInjector(b,j),Ke=new C.C5(g,void 0,Ae),qe=V.attachComponentPortal(Ke);j.instance=qe.instance}return this._breakpointObserver.observe(w.u3.HandsetPortrait).pipe((0,d.R)(U.detachments())).subscribe(Ae=>{U.overlayElement.classList.toggle(this.handsetCssClass,Ae.matches)}),b.announcementMessage&&V._onAnnounce.subscribe(()=>{this._live.announce(b.announcementMessage,b.politeness)}),this._animateSnackBar(j,b),this._openedSnackBarRef=j,this._openedSnackBarRef}_animateSnackBar(g,n){g.afterDismissed().subscribe(()=>{this._openedSnackBarRef==g&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{g.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):g.containerInstance.enter(),n.duration&&n.duration>0&&g.afterOpened().subscribe(()=>g._dismissAfter(n.duration))}_createOverlay(g){const n=new I.X_;n.direction=g.direction;let b=this._overlay.position().global();const U="rtl"===g.direction,V="left"===g.horizontalPosition||"start"===g.horizontalPosition&&!U||"end"===g.horizontalPosition&&U,j=!V&&"center"!==g.horizontalPosition;return V?b.left("0"):j?b.right("0"):b.centerHorizontally(),"top"===g.verticalPosition?b.top("0"):b.bottom("0"),n.positionStrategy=b,this._overlay.create(n)}_createInjector(g,n){return t.zs3.create({parent:g&&g.viewContainerRef&&g.viewContainerRef.injector||this._injector,providers:[{provide:Y,useValue:n},{provide:X,useValue:g.data}]})}}return A.\u0275fac=function(g){return new(g||A)(t.LFG(I.aV),t.LFG(S.Kd),t.LFG(t.zs3),t.LFG(w.Yg),t.LFG(A,12),t.LFG(h))},A.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac}),A})(),y=(()=>{class A extends l{constructor(g,n,b,U,V,j){super(g,n,b,U,V,j),this.simpleSnackBarComponent=ce,this.snackBarContainerComponent=T,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return A.\u0275fac=function(g){return new(g||A)(t.LFG(I.aV),t.LFG(S.Kd),t.LFG(t.zs3),t.LFG(w.Yg),t.LFG(A,12),t.LFG(h))},A.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac,providedIn:i}),A})()},6308:(Ve,Q,m)=>{"use strict";m.d(Q,{JX:()=>i,YE:()=>X,nU:()=>T});var t=m(4650),e=m(4761),v=m(1281),D=m(9521),o=m(3238),C=m(7579),u=m(6451),P=m(7340),d=m(6895);const S=["mat-sort-header",""];function w(r,h){if(1&r){const l=t.EpF();t.TgZ(0,"div",3),t.NdJ("@arrowPosition.start",function(){t.CHM(l);const A=t.oxw();return t.KtG(A._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){t.CHM(l);const A=t.oxw();return t.KtG(A._disableViewStateAnimation=!1)}),t._UZ(1,"div",4),t.TgZ(2,"div",5),t._UZ(3,"div",6)(4,"div",7)(5,"div",8),t.qZA()()}if(2&r){const l=t.oxw();t.Q6J("@arrowOpacity",l._getArrowViewState())("@arrowPosition",l._getArrowViewState())("@allowChildren",l._getArrowDirectionState()),t.xp6(2),t.Q6J("@indicator",l._getArrowDirectionState()),t.xp6(1),t.Q6J("@leftPointer",l._getArrowDirectionState()),t.xp6(1),t.Q6J("@rightPointer",l._getArrowDirectionState())}}const I=["*"],W=new t.OlP("MAT_SORT_DEFAULT_OPTIONS"),Y=(0,o.dB)((0,o.Id)(class{}));let X=(()=>{class r extends Y{constructor(l){super(),this._defaultOptions=l,this.sortables=new Map,this._stateChanges=new C.x,this.start="asc",this._direction="",this.sortChange=new t.vpe}get direction(){return this._direction}set direction(l){this._direction=l}get disableClear(){return this._disableClear}set disableClear(l){this._disableClear=(0,v.Ig)(l)}register(l){this.sortables.set(l.id,l)}deregister(l){this.sortables.delete(l.id)}sort(l){this.active!=l.id?(this.active=l.id,this.direction=l.start?l.start:this.start):this.direction=this.getNextSortDirection(l),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(l){if(!l)return"";let A=function ee(r,h){let l=["asc","desc"];return"desc"==r&&l.reverse(),h||l.push(""),l}(l.start||this.start,l?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),k=A.indexOf(this.direction)+1;return k>=A.length&&(k=0),A[k]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return r.\u0275fac=function(l){return new(l||r)(t.Y36(W,8))},r.\u0275dir=t.lG2({type:r,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:[t.qOj,t.TTD]}),r})();const ue=o.mZ.ENTERING+" "+o.yN.STANDARD_CURVE,he={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)(ue))]),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)(ue))]),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)(ue))]),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)(ue))]),arrowPosition:(0,P.X$)("arrowPosition",[(0,P.eR)("* => desc-to-hint, * => desc-to-active",(0,P.jt)(ue,(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)(ue,(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)(ue,(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)(ue,(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 ie=(()=>{class r{constructor(){this.changes=new C.x}}return r.\u0275fac=function(l){return new(l||r)},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const $={provide:ie,deps:[[new t.FiY,new t.tp0,ie]],useFactory:function ce(r){return r||new ie}},fe=(0,o.Id)(class{});let T=(()=>{class r extends fe{constructor(l,y,A,k,g,n,b,U){super(),this._intl=l,this._changeDetectorRef=y,this._sort=A,this._columnDef=k,this._focusMonitor=g,this._elementRef=n,this._ariaDescriber=b,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",U?.arrowPosition&&(this.arrowPosition=U?.arrowPosition),this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(l){this._updateSortActionDescription(l)}get disableClear(){return this._disableClear}set disableClear(l){this._disableClear=(0,v.Ig)(l)}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(l=>{const y=!!l;y!==this._showIndicatorHint&&(this._setIndicatorHintVisible(y),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(l){this._isDisabled()&&l||(this._showIndicatorHint=l,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(l){this._viewState=l||{},this._disableViewStateAnimation&&(this._viewState={toState:l.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(l){!this._isDisabled()&&(l.keyCode===D.L_||l.keyCode===D.K5)&&(l.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 l=this._viewState.fromState;return(l?`${l}-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(l){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,l)),this._sortActionDescription=l}_handleStateChanges(){this._rerenderSubscription=(0,u.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()})}}return r.\u0275fac=function(l){return new(l||r)(t.Y36(ie),t.Y36(t.sBO),t.Y36(X,8),t.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),t.Y36(e.tE),t.Y36(t.SBq),t.Y36(e.$s,8),t.Y36(W,8))},r.\u0275cmp=t.Xpm({type:r,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(l,y){1&l&&t.NdJ("click",function(){return y._handleClick()})("keydown",function(k){return y._handleKeydown(k)})("mouseenter",function(){return y._setIndicatorHintVisible(!0)})("mouseleave",function(){return y._setIndicatorHintVisible(!1)}),2&l&&(t.uIk("aria-sort",y._getAriaSortAttribute()),t.ekj("mat-sort-header-disabled",y._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[t.qOj],attrs:S,ngContentSelectors:I,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[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(l,y){1&l&&(t.F$t(),t.TgZ(0,"div",0)(1,"div",1),t.Hsn(2),t.qZA(),t.YNc(3,w,6,6,"div",2),t.qZA()),2&l&&(t.ekj("mat-sort-header-sorted",y._isSorted())("mat-sort-header-position-before","before"===y.arrowPosition),t.uIk("tabindex",y._isDisabled()?null:0)("role",y._isDisabled()?null:"button"),t.xp6(3),t.Q6J("ngIf",y._renderArrow()))},dependencies:[d.O5],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;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:[he.indicator,he.leftPointer,he.rightPointer,he.arrowOpacity,he.arrowPosition,he.allowChildren]},changeDetection:0}),r})(),i=(()=>{class r{}return r.\u0275fac=function(l){return new(l||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({providers:[$],imports:[d.ez,o.BQ]}),r})()},8425:(Ve,Q,m)=>{"use strict";m.d(Q,{C0:()=>Te,Ic:()=>be,T5:()=>Ue,VY:()=>j,Vq:()=>oe,fd:()=>te,z9:()=>se});var t=m(4080),e=m(2138),v=m(6895),D=m(4650),o=m(3238),C=m(7392),u=m(4761),P=m(7579),d=m(727),S=m(445),w=m(3900),I=m(4004),E=m(8675),N=m(2722),z=m(1884),G=m(7340);function W(Be,q){if(1&Be&&D.GkF(0,8),2&Be){const de=D.oxw();D.Q6J("ngTemplateOutlet",de.iconOverrides[de.state])("ngTemplateOutletContext",de._getIconContext())}}function Y(Be,q){if(1&Be&&(D.TgZ(0,"span",13),D._uU(1),D.qZA()),2&Be){const de=D.oxw(2);D.xp6(1),D.Oqu(de._getDefaultTextForState(de.state))}}function X(Be,q){if(1&Be&&(D.TgZ(0,"span",14),D._uU(1),D.qZA()),2&Be){const de=D.oxw(2);D.xp6(1),D.Oqu(de._intl.completedLabel)}}function ee(Be,q){if(1&Be&&(D.TgZ(0,"span",14),D._uU(1),D.qZA()),2&Be){const de=D.oxw(2);D.xp6(1),D.Oqu(de._intl.editableLabel)}}function ue(Be,q){if(1&Be&&(D.TgZ(0,"mat-icon",13),D._uU(1),D.qZA()),2&Be){const de=D.oxw(2);D.xp6(1),D.Oqu(de._getDefaultTextForState(de.state))}}function he(Be,q){if(1&Be&&(D.ynx(0,9),D.YNc(1,Y,2,1,"span",10),D.YNc(2,X,2,1,"span",11),D.YNc(3,ee,2,1,"span",11),D.YNc(4,ue,2,1,"mat-icon",12),D.BQk()),2&Be){const de=D.oxw();D.Q6J("ngSwitch",de.state),D.xp6(1),D.Q6J("ngSwitchCase","number"),D.xp6(1),D.Q6J("ngIf","done"===de.state),D.xp6(1),D.Q6J("ngIf","edit"===de.state)}}function ie(Be,q){if(1&Be&&(D.TgZ(0,"div",15),D.GkF(1,16),D.qZA()),2&Be){const de=D.oxw();D.xp6(1),D.Q6J("ngTemplateOutlet",de._templateLabel().template)}}function ce(Be,q){if(1&Be&&(D.TgZ(0,"div",15),D._uU(1),D.qZA()),2&Be){const de=D.oxw();D.xp6(1),D.Oqu(de.label)}}function $(Be,q){if(1&Be&&(D.TgZ(0,"div",17),D._uU(1),D.qZA()),2&Be){const de=D.oxw();D.xp6(1),D.Oqu(de._intl.optionalLabel)}}function fe(Be,q){if(1&Be&&(D.TgZ(0,"div",18),D._uU(1),D.qZA()),2&Be){const de=D.oxw();D.xp6(1),D.Oqu(de.errorMessage)}}function T(Be,q){}function i(Be,q){if(1&Be&&(D.Hsn(0),D.YNc(1,T,0,0,"ng-template",0)),2&Be){const de=D.oxw();D.xp6(1),D.Q6J("cdkPortalOutlet",de._portal)}}const r=["*"];function h(Be,q){1&Be&&D._UZ(0,"div",11)}const l=function(Be,q){return{step:Be,i:q}};function y(Be,q){if(1&Be&&(D.ynx(0),D.GkF(1,9),D.YNc(2,h,1,0,"div",10),D.BQk()),2&Be){const de=q.$implicit,Ce=q.index,ke=q.last;D.oxw(2);const ht=D.MAs(4);D.xp6(1),D.Q6J("ngTemplateOutlet",ht)("ngTemplateOutletContext",D.WLB(3,l,de,Ce)),D.xp6(1),D.Q6J("ngIf",!ke)}}const A=function(Be){return{animationDuration:Be}},k=function(Be,q){return{value:Be,params:q}};function g(Be,q){if(1&Be){const de=D.EpF();D.TgZ(0,"div",12),D.NdJ("@horizontalStepTransition.done",function(ke){D.CHM(de);const ht=D.oxw(2);return D.KtG(ht._animationDone.next(ke))}),D.GkF(1,13),D.qZA()}if(2&Be){const de=q.$implicit,Ce=q.index,ke=D.oxw(2);D.ekj("mat-horizontal-stepper-content-inactive",ke.selectedIndex!==Ce),D.Q6J("@horizontalStepTransition",D.WLB(8,k,ke._getAnimationDirection(Ce),D.VKq(6,A,ke._getAnimationDuration())))("id",ke._getStepContentId(Ce)),D.uIk("aria-labelledby",ke._getStepLabelId(Ce)),D.xp6(1),D.Q6J("ngTemplateOutlet",de.content)}}function n(Be,q){if(1&Be&&(D.TgZ(0,"div",4)(1,"div",5),D.YNc(2,y,3,6,"ng-container",6),D.qZA(),D.TgZ(3,"div",7),D.YNc(4,g,2,11,"div",8),D.qZA()()),2&Be){const de=D.oxw();D.xp6(2),D.Q6J("ngForOf",de.steps),D.xp6(2),D.Q6J("ngForOf",de.steps)}}function b(Be,q){if(1&Be){const de=D.EpF();D.TgZ(0,"div",15),D.GkF(1,9),D.TgZ(2,"div",16)(3,"div",17),D.NdJ("@verticalStepTransition.done",function(ke){D.CHM(de);const ht=D.oxw(2);return D.KtG(ht._animationDone.next(ke))}),D.TgZ(4,"div",18),D.GkF(5,13),D.qZA()()()()}if(2&Be){const de=q.$implicit,Ce=q.index,ke=q.last,ht=D.oxw(2),nt=D.MAs(4);D.xp6(1),D.Q6J("ngTemplateOutlet",nt)("ngTemplateOutletContext",D.WLB(10,l,de,Ce)),D.xp6(1),D.ekj("mat-stepper-vertical-line",!ke),D.xp6(1),D.ekj("mat-vertical-stepper-content-inactive",ht.selectedIndex!==Ce),D.Q6J("@verticalStepTransition",D.WLB(15,k,ht._getAnimationDirection(Ce),D.VKq(13,A,ht._getAnimationDuration())))("id",ht._getStepContentId(Ce)),D.uIk("aria-labelledby",ht._getStepLabelId(Ce)),D.xp6(2),D.Q6J("ngTemplateOutlet",de.content)}}function U(Be,q){if(1&Be&&(D.ynx(0),D.YNc(1,b,6,18,"div",14),D.BQk()),2&Be){const de=D.oxw();D.xp6(1),D.Q6J("ngForOf",de.steps)}}function V(Be,q){if(1&Be){const de=D.EpF();D.TgZ(0,"mat-step-header",19),D.NdJ("click",function(){const ht=D.CHM(de).step;return D.KtG(ht.select())})("keydown",function(ke){D.CHM(de);const ht=D.oxw();return D.KtG(ht._onKeydown(ke))}),D.qZA()}if(2&Be){const de=q.step,Ce=q.i,ke=D.oxw();D.ekj("mat-horizontal-stepper-header","horizontal"===ke.orientation)("mat-vertical-stepper-header","vertical"===ke.orientation),D.Q6J("tabIndex",ke._getFocusIndex()===Ce?0:-1)("id",ke._getStepLabelId(Ce))("index",Ce)("state",ke._getIndicatorType(Ce,de.state))("label",de.stepLabel||de.label)("selected",ke.selectedIndex===Ce)("active",ke._stepIsNavigable(Ce,de))("optional",de.optional)("errorMessage",de.errorMessage)("iconOverrides",ke._iconOverrides)("disableRipple",ke.disableRipple||!ke._stepIsNavigable(Ce,de))("color",de.color||ke.color),D.uIk("aria-posinset",Ce+1)("aria-setsize",ke.steps.length)("aria-controls",ke._getStepContentId(Ce))("aria-selected",ke.selectedIndex==Ce)("aria-label",de.ariaLabel||null)("aria-labelledby",!de.ariaLabel&&de.ariaLabelledby?de.ariaLabelledby:null)("aria-disabled",!ke._stepIsNavigable(Ce,de)||null)}}let j=(()=>{class Be extends e.u6{}return Be.\u0275fac=function(){let q;return function(Ce){return(q||(q=D.n5z(Be)))(Ce||Be)}}(),Be.\u0275dir=D.lG2({type:Be,selectors:[["","matStepLabel",""]],features:[D.qOj]}),Be})(),Ae=(()=>{class Be{constructor(){this.changes=new P.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return Be.\u0275fac=function(de){return new(de||Be)},Be.\u0275prov=D.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const qe={provide:Ae,deps:[[new D.FiY,new D.tp0,Ae]],useFactory:function Ke(Be){return Be||new Ae}},ct=(0,o.pj)(class extends e.KL{constructor(q){super(q)}},"primary");let Ie=(()=>{class Be extends ct{constructor(de,Ce,ke,ht){super(ke),this._intl=de,this._focusMonitor=Ce,this._intlSubscription=de.changes.subscribe(()=>ht.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(de,Ce){de?this._focusMonitor.focusVia(this._elementRef,de,Ce):this._elementRef.nativeElement.focus(Ce)}_stringLabel(){return this.label instanceof j?null:this.label}_templateLabel(){return this.label instanceof j?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(de){return"number"==de?`${this.index+1}`:"edit"==de?"create":"error"==de?"warning":de}}return Be.\u0275fac=function(de){return new(de||Be)(D.Y36(Ae),D.Y36(u.tE),D.Y36(D.SBq),D.Y36(D.sBO))},Be.\u0275cmp=D.Xpm({type:Be,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:[D.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(de,Ce){1&de&&(D._UZ(0,"div",0),D.TgZ(1,"div")(2,"div",1),D.YNc(3,W,1,2,"ng-container",2),D.YNc(4,he,5,4,"ng-container",3),D.qZA()(),D.TgZ(5,"div",4),D.YNc(6,ie,2,1,"div",5),D.YNc(7,ce,2,1,"div",5),D.YNc(8,$,2,1,"div",6),D.YNc(9,fe,2,1,"div",7),D.qZA()),2&de&&(D.Q6J("matRippleTrigger",Ce._getHostElement())("matRippleDisabled",Ce.disableRipple),D.xp6(1),D.Gre("mat-step-icon-state-",Ce.state," mat-step-icon"),D.ekj("mat-step-icon-selected",Ce.selected),D.xp6(1),D.Q6J("ngSwitch",!(!Ce.iconOverrides||!Ce.iconOverrides[Ce.state])),D.xp6(1),D.Q6J("ngSwitchCase",!0),D.xp6(2),D.ekj("mat-step-label-active",Ce.active)("mat-step-label-selected",Ce.selected)("mat-step-label-error","error"==Ce.state),D.xp6(1),D.Q6J("ngIf",Ce._templateLabel()),D.xp6(1),D.Q6J("ngIf",Ce._stringLabel()),D.xp6(1),D.Q6J("ngIf",Ce.optional&&"error"!=Ce.state),D.xp6(1),D.Q6J("ngIf","error"==Ce.state))},dependencies:[v.O5,v.tP,v.RF,v.n9,v.ED,C.Hw,o.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:""}.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,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.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 .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}.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}'],encapsulation:2,changeDetection:0}),Be})();const _e={horizontalStepTransition:(0,G.X$)("horizontalStepTransition",[(0,G.SB)("previous",(0,G.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,G.SB)("current",(0,G.oB)({transform:"none",visibility:"inherit"})),(0,G.SB)("next",(0,G.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,G.eR)("* => *",(0,G.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,G.X$)("verticalStepTransition",[(0,G.SB)("previous",(0,G.oB)({height:"0px",visibility:"hidden"})),(0,G.SB)("next",(0,G.oB)({height:"0px",visibility:"hidden"})),(0,G.SB)("current",(0,G.oB)({height:"*",visibility:"inherit"})),(0,G.eR)("* <=> current",(0,G.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:"225ms"}})])};let se=(()=>{class Be{constructor(de){this.templateRef=de}}return Be.\u0275fac=function(de){return new(de||Be)(D.Y36(D.Rgc))},Be.\u0275dir=D.lG2({type:Be,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),Be})(),Ye=(()=>{class Be{constructor(de){this._template=de}}return Be.\u0275fac=function(de){return new(de||Be)(D.Y36(D.Rgc))},Be.\u0275dir=D.lG2({type:Be,selectors:[["ng-template","matStepContent",""]]}),Be})(),Te=(()=>{class Be extends e.be{constructor(de,Ce,ke,ht){super(de,ht),this._errorStateMatcher=Ce,this._viewContainerRef=ke,this._isSelected=d.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,w.w)(()=>this._stepper.selectionChange.pipe((0,I.U)(de=>de.selectedStep===this),(0,E.O)(this._stepper.selected===this)))).subscribe(de=>{de&&this._lazyContent&&!this._portal&&(this._portal=new t.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(de,Ce){return this._errorStateMatcher.isErrorState(de,Ce)||!!(de&&de.invalid&&this.interacted)}}return Be.\u0275fac=function(de){return new(de||Be)(D.Y36((0,D.Gpc)(()=>oe)),D.Y36(o.rD,4),D.Y36(D.s_b),D.Y36(e.gx,8))},Be.\u0275cmp=D.Xpm({type:Be,selectors:[["mat-step"]],contentQueries:function(de,Ce,ke){if(1&de&&(D.Suo(ke,j,5),D.Suo(ke,Ye,5)),2&de){let ht;D.iGM(ht=D.CRH())&&(Ce.stepLabel=ht.first),D.iGM(ht=D.CRH())&&(Ce._lazyContent=ht.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[D._Bn([{provide:o.rD,useExisting:Be},{provide:e.be,useExisting:Be}]),D.qOj],ngContentSelectors:r,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(de,Ce){1&de&&(D.F$t(),D.YNc(0,i,2,1,"ng-template"))},dependencies:[t.Pl],encapsulation:2,changeDetection:0}),Be})(),oe=(()=>{class Be extends e.B8{constructor(de,Ce,ke){super(de,Ce,ke),this.steps=new D.n_E,this.animationDone=new D.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new P.x,this._animationDuration="";const ht=ke.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===ht?"vertical":"horizontal"}get animationDuration(){return this._animationDuration}set animationDuration(de){this._animationDuration=/^\d+$/.test(de)?de+"ms":de}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:de,templateRef:Ce})=>this._iconOverrides[de]=Ce),this.steps.changes.pipe((0,N.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,z.x)((de,Ce)=>de.fromState===Ce.fromState&&de.toState===Ce.toState),(0,N.R)(this._destroyed)).subscribe(de=>{"current"===de.toState&&this.animationDone.emit()})}_stepIsNavigable(de,Ce){return Ce.completed||this.selectedIndex===de||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}}return Be.\u0275fac=function(de){return new(de||Be)(D.Y36(S.Is,8),D.Y36(D.sBO),D.Y36(D.SBq))},Be.\u0275cmp=D.Xpm({type:Be,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(de,Ce,ke){if(1&de&&(D.Suo(ke,Te,5),D.Suo(ke,se,5)),2&de){let ht;D.iGM(ht=D.CRH())&&(Ce._steps=ht),D.iGM(ht=D.CRH())&&(Ce._icons=ht)}},viewQuery:function(de,Ce){if(1&de&&D.Gf(Ie,5),2&de){let ke;D.iGM(ke=D.CRH())&&(Ce._stepHeader=ke)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(de,Ce){2&de&&(D.uIk("aria-orientation",Ce.orientation),D.ekj("mat-stepper-horizontal","horizontal"===Ce.orientation)("mat-stepper-vertical","vertical"===Ce.orientation)("mat-stepper-label-position-end","horizontal"===Ce.orientation&&"end"==Ce.labelPosition)("mat-stepper-label-position-bottom","horizontal"===Ce.orientation&&"bottom"==Ce.labelPosition)("mat-stepper-header-position-bottom","bottom"===Ce.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[D._Bn([{provide:e.B8,useExisting:Be}]),D.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(de,Ce){1&de&&(D.ynx(0,0),D.YNc(1,n,5,2,"div",1),D.YNc(2,U,2,1,"ng-container",2),D.BQk(),D.YNc(3,V,1,23,"ng-template",null,3,D.W1O)),2&de&&(D.Q6J("ngSwitch",Ce.orientation),D.xp6(1),D.Q6J("ngSwitchCase","horizontal"),D.xp6(1),D.Q6J("ngSwitchCase","vertical"))},dependencies:[v.sg,v.O5,v.tP,v.RF,v.n9,Ie],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.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}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.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}.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-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}.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}[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:[_e.horizontalStepTransition,_e.verticalStepTransition]},changeDetection:0}),Be})(),be=(()=>{class Be extends e.st{}return Be.\u0275fac=function(){let q;return function(Ce){return(q||(q=D.n5z(Be)))(Ce||Be)}}(),Be.\u0275dir=D.lG2({type:Be,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(de,Ce){2&de&&D.Ikx("type",Ce.type)},inputs:{type:"type"},features:[D.qOj]}),Be})(),te=(()=>{class Be extends e.po{}return Be.\u0275fac=function(){let q;return function(Ce){return(q||(q=D.n5z(Be)))(Ce||Be)}}(),Be.\u0275dir=D.lG2({type:Be,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(de,Ce){2&de&&D.Ikx("type",Ce.type)},inputs:{type:"type"},features:[D.qOj]}),Be})(),Ue=(()=>{class Be{}return Be.\u0275fac=function(de){return new(de||Be)},Be.\u0275mod=D.oAB({type:Be}),Be.\u0275inj=D.cJS({providers:[qe,o.rD],imports:[o.BQ,v.ez,t.eL,e.U5,C.Ps,o.si,o.BQ]}),Be})()},671:(Ve,Q,m)=>{"use strict";m.d(Q,{ev:()=>vt,Dz:()=>at,w1:()=>ti,yh:()=>rt,mD:()=>Gt,Q2:()=>je,Ke:()=>Ut,ge:()=>dt,fO:()=>ni,XQ:()=>Rt,as:()=>ai,Gk:()=>Fe,nj:()=>Vt,BZ:()=>Re,by:()=>Vi,p0:()=>ui});var t=m(4650),e=m(445),v=m(1281),D=m(5017),o=m(3353),C=m(531),u=m(6895),P=m(7579),d=m(457),S=m(1135),w=m(5191),I=m(9646),E=m(2722),N=m(5698);const z=[[["caption"]],[["colgroup"],["col"]]],G=["caption","colgroup, col"];function X($e){return class extends $e{constructor(...Mt){super(...Mt),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Mt){const ye=this._sticky;this._sticky=(0,v.Ig)(Mt),this._hasStickyChanged=ye!==this._sticky}hasStickyChanged(){const Mt=this._hasStickyChanged;return this._hasStickyChanged=!1,Mt}resetStickyChanged(){this._hasStickyChanged=!1}}}const ee=new t.OlP("CDK_TABLE");let he=(()=>{class $e{constructor(ye){this.template=ye}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(t.Rgc))},$e.\u0275dir=t.lG2({type:$e,selectors:[["","cdkCellDef",""]]}),$e})(),ie=(()=>{class $e{constructor(ye){this.template=ye}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(t.Rgc))},$e.\u0275dir=t.lG2({type:$e,selectors:[["","cdkHeaderCellDef",""]]}),$e})(),ce=(()=>{class $e{constructor(ye){this.template=ye}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(t.Rgc))},$e.\u0275dir=t.lG2({type:$e,selectors:[["","cdkFooterCellDef",""]]}),$e})();class ${}const fe=X($);let T=(()=>{class $e extends fe{constructor(ye){super(),this._table=ye,this._stickyEnd=!1}get name(){return this._name}set name(ye){this._setNameInput(ye)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ye){const Ot=this._stickyEnd;this._stickyEnd=(0,v.Ig)(ye),this._hasStickyChanged=Ot!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ye){ye&&(this._name=ye,this.cssClassFriendlyName=ye.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(ee,8))},$e.\u0275dir=t.lG2({type:$e,selectors:[["","cdkColumnDef",""]],contentQueries:function(ye,Ot,Kt){if(1&ye&&(t.Suo(Kt,he,5),t.Suo(Kt,ie,5),t.Suo(Kt,ce,5)),2&ye){let mi;t.iGM(mi=t.CRH())&&(Ot.cell=mi.first),t.iGM(mi=t.CRH())&&(Ot.headerCell=mi.first),t.iGM(mi=t.CRH())&&(Ot.footerCell=mi.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[t._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:$e}]),t.qOj]}),$e})();class i{constructor(Mt,ye){ye.nativeElement.classList.add(...Mt._columnCssClassName)}}let r=(()=>{class $e extends i{constructor(ye,Ot){super(ye,Ot)}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(T),t.Y36(t.SBq))},$e.\u0275dir=t.lG2({type:$e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[t.qOj]}),$e})(),h=(()=>{class $e extends i{constructor(ye,Ot){if(super(ye,Ot),1===ye._table?._elementRef.nativeElement.nodeType){const Kt=ye._table._elementRef.nativeElement.getAttribute("role");Ot.nativeElement.setAttribute("role","grid"===Kt||"treegrid"===Kt?"gridcell":"cell")}}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(T),t.Y36(t.SBq))},$e.\u0275dir=t.lG2({type:$e,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[t.qOj]}),$e})(),l=(()=>{class $e extends i{constructor(ye,Ot){if(super(ye,Ot),1===ye._table?._elementRef.nativeElement.nodeType){const Kt=ye._table._elementRef.nativeElement.getAttribute("role");Ot.nativeElement.setAttribute("role","grid"===Kt||"treegrid"===Kt?"gridcell":"cell")}}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(T),t.Y36(t.SBq))},$e.\u0275dir=t.lG2({type:$e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[t.qOj]}),$e})();class y{constructor(){this.tasks=[],this.endTasks=[]}}const A=new t.OlP("_COALESCED_STYLE_SCHEDULER");let k=(()=>{class $e{constructor(ye){this._ngZone=ye,this._currentSchedule=null,this._destroyed=new P.x}schedule(ye){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ye)}scheduleEnd(ye){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ye)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new y,this._getScheduleObservable().pipe((0,E.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ye=this._currentSchedule;this._currentSchedule=new y;for(const Ot of ye.tasks)Ot();for(const Ot of ye.endTasks)Ot()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,d.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,N.q)(1))}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.LFG(t.R0b))},$e.\u0275prov=t.Yz7({token:$e,factory:$e.\u0275fac}),$e})(),n=(()=>{class $e{constructor(ye,Ot){this.template=ye,this._differs=Ot}ngOnChanges(ye){if(!this._columnsDiffer){const Ot=ye.columns&&ye.columns.currentValue||[];this._columnsDiffer=this._differs.find(Ot).create(),this._columnsDiffer.diff(Ot)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ye){return this instanceof V?ye.headerCell.template:this instanceof Ke?ye.footerCell.template:ye.cell.template}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(t.Rgc),t.Y36(t.ZZ4))},$e.\u0275dir=t.lG2({type:$e,features:[t.TTD]}),$e})();class b extends n{}const U=X(b);let V=(()=>{class $e extends U{constructor(ye,Ot,Kt){super(ye,Ot),this._table=Kt}ngOnChanges(ye){super.ngOnChanges(ye)}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(ee,8))},$e.\u0275dir=t.lG2({type:$e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[t.qOj,t.TTD]}),$e})();class j extends n{}const Ae=X(j);let Ke=(()=>{class $e extends Ae{constructor(ye,Ot,Kt){super(ye,Ot),this._table=Kt}ngOnChanges(ye){super.ngOnChanges(ye)}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(ee,8))},$e.\u0275dir=t.lG2({type:$e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[t.qOj,t.TTD]}),$e})(),qe=(()=>{class $e extends n{constructor(ye,Ot,Kt){super(ye,Ot),this._table=Kt}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(ee,8))},$e.\u0275dir=t.lG2({type:$e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[t.qOj]}),$e})(),ct=(()=>{class $e{constructor(ye){this._viewContainer=ye,$e.mostRecentCellOutlet=this}ngOnDestroy(){$e.mostRecentCellOutlet===this&&($e.mostRecentCellOutlet=null)}}return $e.mostRecentCellOutlet=null,$e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(t.s_b))},$e.\u0275dir=t.lG2({type:$e,selectors:[["","cdkCellOutlet",""]]}),$e})(),Ie=(()=>{class $e{}return $e.\u0275fac=function(ye){return new(ye||$e)},$e.\u0275cmp=t.Xpm({type:$e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ye,Ot){1&ye&&t.GkF(0,0)},dependencies:[ct],encapsulation:2}),$e})(),xe=(()=>{class $e{}return $e.\u0275fac=function(ye){return new(ye||$e)},$e.\u0275cmp=t.Xpm({type:$e,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ye,Ot){1&ye&&t.GkF(0,0)},dependencies:[ct],encapsulation:2}),$e})(),le=(()=>{class $e{}return $e.\u0275fac=function(ye){return new(ye||$e)},$e.\u0275cmp=t.Xpm({type:$e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ye,Ot){1&ye&&t.GkF(0,0)},dependencies:[ct],encapsulation:2}),$e})(),_e=(()=>{class $e{constructor(ye){this.templateRef=ye,this._contentClassName="cdk-no-data-row"}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(t.Rgc))},$e.\u0275dir=t.lG2({type:$e,selectors:[["ng-template","cdkNoDataRow",""]]}),$e})();const se=["top","bottom","left","right"];class Ye{constructor(Mt,ye,Ot,Kt,mi=!0,Mi=!0,Pi){this._isNativeHtmlTable=Mt,this._stickCellCss=ye,this.direction=Ot,this._coalescedStyleScheduler=Kt,this._isBrowser=mi,this._needsPositionStickyOnElement=Mi,this._positionListener=Pi,this._cachedCellWidths=[],this._borderCellCss={top:`${ye}-border-elem-top`,bottom:`${ye}-border-elem-bottom`,left:`${ye}-border-elem-left`,right:`${ye}-border-elem-right`}}clearStickyPositioning(Mt,ye){const Ot=[];for(const Kt of Mt)if(Kt.nodeType===Kt.ELEMENT_NODE){Ot.push(Kt);for(let mi=0;mi<Kt.children.length;mi++)Ot.push(Kt.children[mi])}this._coalescedStyleScheduler.schedule(()=>{for(const Kt of Ot)this._removeStickyStyle(Kt,ye)})}updateStickyColumns(Mt,ye,Ot,Kt=!0){if(!Mt.length||!this._isBrowser||!ye.some(Xe=>Xe)&&!Ot.some(Xe=>Xe))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const mi=Mt[0],Mi=mi.children.length,Pi=this._getCellWidths(mi,Kt),Wi=this._getStickyStartColumnPositions(Pi,ye),Zt=this._getStickyEndColumnPositions(Pi,Ot),oi=ye.lastIndexOf(!0),ge=Ot.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Xe="rtl"===this.direction,St=Xe?"right":"left",pt=Xe?"left":"right";for(const Xt of Mt)for(let zt=0;zt<Mi;zt++){const Li=Xt.children[zt];ye[zt]&&this._addStickyStyle(Li,St,Wi[zt],zt===oi),Ot[zt]&&this._addStickyStyle(Li,pt,Zt[zt],zt===ge)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===oi?[]:Pi.slice(0,oi+1).map((Xt,zt)=>ye[zt]?Xt:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===ge?[]:Pi.slice(ge).map((Xt,zt)=>Ot[zt+ge]?Xt:null).reverse()}))})}stickRows(Mt,ye,Ot){if(!this._isBrowser)return;const Kt="bottom"===Ot?Mt.slice().reverse():Mt,mi="bottom"===Ot?ye.slice().reverse():ye,Mi=[],Pi=[],Wi=[];for(let oi=0,ge=0;oi<Kt.length;oi++){if(!mi[oi])continue;Mi[oi]=ge;const Xe=Kt[oi];Wi[oi]=this._isNativeHtmlTable?Array.from(Xe.children):[Xe];const St=Xe.getBoundingClientRect().height;ge+=St,Pi[oi]=St}const Zt=mi.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let oi=0;oi<Kt.length;oi++){if(!mi[oi])continue;const ge=Mi[oi],Xe=oi===Zt;for(const St of Wi[oi])this._addStickyStyle(St,Ot,ge,Xe)}"top"===Ot?this._positionListener?.stickyHeaderRowsUpdated({sizes:Pi,offsets:Mi,elements:Wi}):this._positionListener?.stickyFooterRowsUpdated({sizes:Pi,offsets:Mi,elements:Wi})})}updateStickyFooterContainer(Mt,ye){if(!this._isNativeHtmlTable)return;const Ot=Mt.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{ye.some(Kt=>!Kt)?this._removeStickyStyle(Ot,["bottom"]):this._addStickyStyle(Ot,"bottom",0,!1)})}_removeStickyStyle(Mt,ye){for(const Kt of ye)Mt.style[Kt]="",Mt.classList.remove(this._borderCellCss[Kt]);se.some(Kt=>-1===ye.indexOf(Kt)&&Mt.style[Kt])?Mt.style.zIndex=this._getCalculatedZIndex(Mt):(Mt.style.zIndex="",this._needsPositionStickyOnElement&&(Mt.style.position=""),Mt.classList.remove(this._stickCellCss))}_addStickyStyle(Mt,ye,Ot,Kt){Mt.classList.add(this._stickCellCss),Kt&&Mt.classList.add(this._borderCellCss[ye]),Mt.style[ye]=`${Ot}px`,Mt.style.zIndex=this._getCalculatedZIndex(Mt),this._needsPositionStickyOnElement&&(Mt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Mt){const ye={top:100,bottom:10,left:1,right:1};let Ot=0;for(const Kt of se)Mt.style[Kt]&&(Ot+=ye[Kt]);return Ot?`${Ot}`:""}_getCellWidths(Mt,ye=!0){if(!ye&&this._cachedCellWidths.length)return this._cachedCellWidths;const Ot=[],Kt=Mt.children;for(let mi=0;mi<Kt.length;mi++)Ot.push(Kt[mi].getBoundingClientRect().width);return this._cachedCellWidths=Ot,Ot}_getStickyStartColumnPositions(Mt,ye){const Ot=[];let Kt=0;for(let mi=0;mi<Mt.length;mi++)ye[mi]&&(Ot[mi]=Kt,Kt+=Mt[mi]);return Ot}_getStickyEndColumnPositions(Mt,ye){const Ot=[];let Kt=0;for(let mi=Mt.length;mi>0;mi--)ye[mi]&&(Ot[mi]=Kt,Kt+=Mt[mi]);return Ot}}const Ce=new t.OlP("CDK_SPL");let ht=(()=>{class $e{constructor(ye,Ot){this.viewContainer=ye,this.elementRef=Ot}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(t.s_b),t.Y36(t.SBq))},$e.\u0275dir=t.lG2({type:$e,selectors:[["","rowOutlet",""]]}),$e})(),nt=(()=>{class $e{constructor(ye,Ot){this.viewContainer=ye,this.elementRef=Ot}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(t.s_b),t.Y36(t.SBq))},$e.\u0275dir=t.lG2({type:$e,selectors:[["","headerRowOutlet",""]]}),$e})(),wt=(()=>{class $e{constructor(ye,Ot){this.viewContainer=ye,this.elementRef=Ot}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(t.s_b),t.Y36(t.SBq))},$e.\u0275dir=t.lG2({type:$e,selectors:[["","footerRowOutlet",""]]}),$e})(),it=(()=>{class $e{constructor(ye,Ot){this.viewContainer=ye,this.elementRef=Ot}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(t.s_b),t.Y36(t.SBq))},$e.\u0275dir=t.lG2({type:$e,selectors:[["","noDataRowOutlet",""]]}),$e})(),ne=(()=>{class $e{constructor(ye,Ot,Kt,mi,Mi,Pi,Wi,Zt,oi,ge,Xe,St){this._differs=ye,this._changeDetectorRef=Ot,this._elementRef=Kt,this._dir=Mi,this._platform=Wi,this._viewRepeater=Zt,this._coalescedStyleScheduler=oi,this._viewportRuler=ge,this._stickyPositioningListener=Xe,this._ngZone=St,this._onDestroy=new P.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 t.vpe,this.viewChange=new S.X({start:0,end:Number.MAX_VALUE}),mi||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Pi,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(ye){this._trackByFn=ye}get dataSource(){return this._dataSource}set dataSource(ye){this._dataSource!==ye&&this._switchDataSource(ye)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ye){this._multiTemplateDataRows=(0,v.Ig)(ye),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ye){this._fixedLayout=(0,v.Ig)(ye),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((ye,Ot)=>this.trackBy?this.trackBy(Ot.dataIndex,Ot.data):Ot),this._viewportRuler.change().pipe((0,E.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Ot=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Ot,this._forceRecalculateCellWidths=Ot,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(ye=>{ye.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,D.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const ye=this._dataDiffer.diff(this._renderRows);if(!ye)return this._updateNoDataRow(),void this.contentChanged.next();const Ot=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ye,Ot,(Kt,mi,Mi)=>this._getEmbeddedViewArgs(Kt.item,Mi),Kt=>Kt.item.data,Kt=>{1===Kt.operation&&Kt.context&&this._renderCellTemplateForItem(Kt.record.item.rowDef,Kt.context)}),this._updateRowIndexContext(),ye.forEachIdentityChange(Kt=>{Ot.get(Kt.currentIndex).context.$implicit=Kt.item.data}),this._updateNoDataRow(),this._ngZone&&t.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,N.q)(1),(0,E.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(ye){this._customColumnDefs.add(ye)}removeColumnDef(ye){this._customColumnDefs.delete(ye)}addRowDef(ye){this._customRowDefs.add(ye)}removeRowDef(ye){this._customRowDefs.delete(ye)}addHeaderRowDef(ye){this._customHeaderRowDefs.add(ye),this._headerRowDefChanged=!0}removeHeaderRowDef(ye){this._customHeaderRowDefs.delete(ye),this._headerRowDefChanged=!0}addFooterRowDef(ye){this._customFooterRowDefs.add(ye),this._footerRowDefChanged=!0}removeFooterRowDef(ye){this._customFooterRowDefs.delete(ye),this._footerRowDefChanged=!0}setNoDataRow(ye){this._customNoDataRow=ye}updateStickyHeaderRowStyles(){const ye=this._getRenderedRows(this._headerRowOutlet),Kt=this._elementRef.nativeElement.querySelector("thead");Kt&&(Kt.style.display=ye.length?"":"none");const mi=this._headerRowDefs.map(Mi=>Mi.sticky);this._stickyStyler.clearStickyPositioning(ye,["top"]),this._stickyStyler.stickRows(ye,mi,"top"),this._headerRowDefs.forEach(Mi=>Mi.resetStickyChanged())}updateStickyFooterRowStyles(){const ye=this._getRenderedRows(this._footerRowOutlet),Kt=this._elementRef.nativeElement.querySelector("tfoot");Kt&&(Kt.style.display=ye.length?"":"none");const mi=this._footerRowDefs.map(Mi=>Mi.sticky);this._stickyStyler.clearStickyPositioning(ye,["bottom"]),this._stickyStyler.stickRows(ye,mi,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,mi),this._footerRowDefs.forEach(Mi=>Mi.resetStickyChanged())}updateStickyColumnStyles(){const ye=this._getRenderedRows(this._headerRowOutlet),Ot=this._getRenderedRows(this._rowOutlet),Kt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ye,...Ot,...Kt],["left","right"]),this._stickyColumnStylesNeedReset=!1),ye.forEach((mi,Mi)=>{this._addStickyColumnStyles([mi],this._headerRowDefs[Mi])}),this._rowDefs.forEach(mi=>{const Mi=[];for(let Pi=0;Pi<Ot.length;Pi++)this._renderRows[Pi].rowDef===mi&&Mi.push(Ot[Pi]);this._addStickyColumnStyles(Mi,mi)}),Kt.forEach((mi,Mi)=>{this._addStickyColumnStyles([mi],this._footerRowDefs[Mi])}),Array.from(this._columnDefsByName.values()).forEach(mi=>mi.resetStickyChanged())}_getAllRenderRows(){const ye=[],Ot=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Kt=0;Kt<this._data.length;Kt++){let mi=this._data[Kt];const Mi=this._getRenderRowsForData(mi,Kt,Ot.get(mi));this._cachedRenderRowsMap.has(mi)||this._cachedRenderRowsMap.set(mi,new WeakMap);for(let Pi=0;Pi<Mi.length;Pi++){let Wi=Mi[Pi];const Zt=this._cachedRenderRowsMap.get(Wi.data);Zt.has(Wi.rowDef)?Zt.get(Wi.rowDef).push(Wi):Zt.set(Wi.rowDef,[Wi]),ye.push(Wi)}}return ye}_getRenderRowsForData(ye,Ot,Kt){return this._getRowDefs(ye,Ot).map(Mi=>{const Pi=Kt&&Kt.has(Mi)?Kt.get(Mi):[];if(Pi.length){const Wi=Pi.shift();return Wi.dataIndex=Ot,Wi}return{data:ye,rowDef:Mi,dataIndex:Ot}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Nt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Ot=>{this._columnDefsByName.has(Ot.name),this._columnDefsByName.set(Ot.name,Ot)})}_cacheRowDefs(){this._headerRowDefs=Nt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Nt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Nt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ye=this._rowDefs.filter(Ot=>!Ot.when);this._defaultRowDef=ye[0]}_renderUpdatedColumns(){const ye=(Mi,Pi)=>Mi||!!Pi.getColumnsDiff(),Ot=this._rowDefs.reduce(ye,!1);Ot&&this._forceRenderDataRows();const Kt=this._headerRowDefs.reduce(ye,!1);Kt&&this._forceRenderHeaderRows();const mi=this._footerRowDefs.reduce(ye,!1);return mi&&this._forceRenderFooterRows(),Ot||Kt||mi}_switchDataSource(ye){this._data=[],(0,D.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ye||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=ye}_observeRenderChanges(){if(!this.dataSource)return;let ye;(0,D.Z9)(this.dataSource)?ye=this.dataSource.connect(this):(0,w.b)(this.dataSource)?ye=this.dataSource:Array.isArray(this.dataSource)&&(ye=(0,I.of)(this.dataSource)),this._renderChangeSubscription=ye.pipe((0,E.R)(this._onDestroy)).subscribe(Ot=>{this._data=Ot||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ye,Ot)=>this._renderRow(this._headerRowOutlet,ye,Ot)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ye,Ot)=>this._renderRow(this._footerRowOutlet,ye,Ot)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ye,Ot){const Kt=Array.from(Ot.columns||[]).map(Pi=>this._columnDefsByName.get(Pi)),mi=Kt.map(Pi=>Pi.sticky),Mi=Kt.map(Pi=>Pi.stickyEnd);this._stickyStyler.updateStickyColumns(ye,mi,Mi,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ye){const Ot=[];for(let Kt=0;Kt<ye.viewContainer.length;Kt++){const mi=ye.viewContainer.get(Kt);Ot.push(mi.rootNodes[0])}return Ot}_getRowDefs(ye,Ot){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Kt=[];if(this.multiTemplateDataRows)Kt=this._rowDefs.filter(mi=>!mi.when||mi.when(Ot,ye));else{let mi=this._rowDefs.find(Mi=>Mi.when&&Mi.when(Ot,ye))||this._defaultRowDef;mi&&Kt.push(mi)}return Kt}_getEmbeddedViewArgs(ye,Ot){return{templateRef:ye.rowDef.template,context:{$implicit:ye.data},index:Ot}}_renderRow(ye,Ot,Kt,mi={}){const Mi=ye.viewContainer.createEmbeddedView(Ot.template,mi,Kt);return this._renderCellTemplateForItem(Ot,mi),Mi}_renderCellTemplateForItem(ye,Ot){for(let Kt of this._getCellTemplates(ye))ct.mostRecentCellOutlet&&ct.mostRecentCellOutlet._viewContainer.createEmbeddedView(Kt,Ot);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ye=this._rowOutlet.viewContainer;for(let Ot=0,Kt=ye.length;Ot<Kt;Ot++){const Mi=ye.get(Ot).context;Mi.count=Kt,Mi.first=0===Ot,Mi.last=Ot===Kt-1,Mi.even=Ot%2==0,Mi.odd=!Mi.even,this.multiTemplateDataRows?(Mi.dataIndex=this._renderRows[Ot].dataIndex,Mi.renderIndex=Ot):Mi.index=this._renderRows[Ot].dataIndex}}_getCellTemplates(ye){return ye&&ye.columns?Array.from(ye.columns,Ot=>{const Kt=this._columnDefsByName.get(Ot);return ye.extractCellTemplate(Kt)}):[]}_applyNativeTableSections(){const ye=this._document.createDocumentFragment(),Ot=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Kt of Ot){const mi=this._document.createElement(Kt.tag);mi.setAttribute("role","rowgroup");for(const Mi of Kt.outlets)mi.appendChild(Mi.elementRef.nativeElement);ye.appendChild(mi)}this._elementRef.nativeElement.appendChild(ye)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ye=(Ot,Kt)=>Ot||Kt.hasStickyChanged();this._headerRowDefs.reduce(ye,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ye,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ye,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Ye(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,I.of)()).pipe((0,E.R)(this._onDestroy)).subscribe(Ot=>{this._stickyStyler.direction=Ot,this.updateStickyColumnStyles()})}_getOwnDefs(ye){return ye.filter(Ot=>!Ot._table||Ot._table===this)}_updateNoDataRow(){const ye=this._customNoDataRow||this._noDataRow;if(!ye)return;const Ot=0===this._rowOutlet.viewContainer.length;if(Ot===this._isShowingNoDataRow)return;const Kt=this._noDataRowOutlet.viewContainer;if(Ot){const mi=Kt.createEmbeddedView(ye.templateRef),Mi=mi.rootNodes[0];1===mi.rootNodes.length&&Mi?.nodeType===this._document.ELEMENT_NODE&&(Mi.setAttribute("role","row"),Mi.classList.add(ye._contentClassName))}else Kt.clear();this._isShowingNoDataRow=Ot}}return $e.\u0275fac=function(ye){return new(ye||$e)(t.Y36(t.ZZ4),t.Y36(t.sBO),t.Y36(t.SBq),t.$8M("role"),t.Y36(e.Is,8),t.Y36(u.K0),t.Y36(o.t4),t.Y36(D.k),t.Y36(A),t.Y36(C.rL),t.Y36(Ce,12),t.Y36(t.R0b,8))},$e.\u0275cmp=t.Xpm({type:$e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(ye,Ot,Kt){if(1&ye&&(t.Suo(Kt,_e,5),t.Suo(Kt,T,5),t.Suo(Kt,qe,5),t.Suo(Kt,V,5),t.Suo(Kt,Ke,5)),2&ye){let mi;t.iGM(mi=t.CRH())&&(Ot._noDataRow=mi.first),t.iGM(mi=t.CRH())&&(Ot._contentColumnDefs=mi),t.iGM(mi=t.CRH())&&(Ot._contentRowDefs=mi),t.iGM(mi=t.CRH())&&(Ot._contentHeaderRowDefs=mi),t.iGM(mi=t.CRH())&&(Ot._contentFooterRowDefs=mi)}},viewQuery:function(ye,Ot){if(1&ye&&(t.Gf(ht,7),t.Gf(nt,7),t.Gf(wt,7),t.Gf(it,7)),2&ye){let Kt;t.iGM(Kt=t.CRH())&&(Ot._rowOutlet=Kt.first),t.iGM(Kt=t.CRH())&&(Ot._headerRowOutlet=Kt.first),t.iGM(Kt=t.CRH())&&(Ot._footerRowOutlet=Kt.first),t.iGM(Kt=t.CRH())&&(Ot._noDataRowOutlet=Kt.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(ye,Ot){2&ye&&t.ekj("cdk-table-fixed-layout",Ot.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[t._Bn([{provide:ee,useExisting:$e},{provide:D.k,useClass:D.yy},{provide:A,useClass:k},{provide:Ce,useValue:null}])],ngContentSelectors:G,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ye,Ot){1&ye&&(t.F$t(z),t.Hsn(0),t.Hsn(1,1),t.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[ht,nt,wt,it],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),$e})();function Nt($e,Mt){return $e.concat(Array.from(Mt))}let Ct=(()=>{class $e{}return $e.\u0275fac=function(ye){return new(ye||$e)},$e.\u0275mod=t.oAB({type:$e}),$e.\u0275inj=t.cJS({imports:[C.Cl]}),$e})();var Pe=m(3238),tt=m(6451),Bt=m(9841),Lt=m(4004);const Ht=[[["caption"]],[["colgroup"],["col"]]],bt=["caption","colgroup, col"];let Re=(()=>{class $e extends ne{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")}}return $e.\u0275fac=function(){let Mt;return function(Ot){return(Mt||(Mt=t.n5z($e)))(Ot||$e)}}(),$e.\u0275cmp=t.Xpm({type:$e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(ye,Ot){2&ye&&t.ekj("mdc-table-fixed-layout",Ot.fixedLayout)},exportAs:["matTable"],features:[t._Bn([{provide:ne,useExisting:$e},{provide:ee,useExisting:$e},{provide:A,useClass:k},{provide:D.k,useClass:D.yy},{provide:Ce,useValue:null}]),t.qOj],ngContentSelectors:bt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ye,Ot){1&ye&&(t.F$t(Ht),t.Hsn(0),t.Hsn(1,1),t.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[ht,nt,wt,it],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.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}.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__cell--checkbox{width:1px}.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--checkbox{width:1px}.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__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.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__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--checkbox{width:1px}.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__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.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__cell--checkbox{width:1px}.mdc-data-table__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}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-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}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-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color: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}),$e})(),at=(()=>{class $e extends he{}return $e.\u0275fac=function(){let Mt;return function(Ot){return(Mt||(Mt=t.n5z($e)))(Ot||$e)}}(),$e.\u0275dir=t.lG2({type:$e,selectors:[["","matCellDef",""]],features:[t._Bn([{provide:he,useExisting:$e}]),t.qOj]}),$e})(),ni=(()=>{class $e extends ie{}return $e.\u0275fac=function(){let Mt;return function(Ot){return(Mt||(Mt=t.n5z($e)))(Ot||$e)}}(),$e.\u0275dir=t.lG2({type:$e,selectors:[["","matHeaderCellDef",""]],features:[t._Bn([{provide:ie,useExisting:$e}]),t.qOj]}),$e})(),Gt=(()=>{class $e extends ce{}return $e.\u0275fac=function(){let Mt;return function(Ot){return(Mt||(Mt=t.n5z($e)))(Ot||$e)}}(),$e.\u0275dir=t.lG2({type:$e,selectors:[["","matFooterCellDef",""]],features:[t._Bn([{provide:ce,useExisting:$e}]),t.qOj]}),$e})(),ti=(()=>{class $e extends T{get name(){return this._name}set name(ye){this._setNameInput(ye)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return $e.\u0275fac=function(){let Mt;return function(Ot){return(Mt||(Mt=t.n5z($e)))(Ot||$e)}}(),$e.\u0275dir=t.lG2({type:$e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[t._Bn([{provide:T,useExisting:$e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:$e}]),t.qOj]}),$e})(),dt=(()=>{class $e extends r{}return $e.\u0275fac=function(){let Mt;return function(Ot){return(Mt||(Mt=t.n5z($e)))(Ot||$e)}}(),$e.\u0275dir=t.lG2({type:$e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[t.qOj]}),$e})(),rt=(()=>{class $e extends h{}return $e.\u0275fac=function(){let Mt;return function(Ot){return(Mt||(Mt=t.n5z($e)))(Ot||$e)}}(),$e.\u0275dir=t.lG2({type:$e,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[t.qOj]}),$e})(),vt=(()=>{class $e extends l{}return $e.\u0275fac=function(){let Mt;return function(Ot){return(Mt||(Mt=t.n5z($e)))(Ot||$e)}}(),$e.\u0275dir=t.lG2({type:$e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[t.qOj]}),$e})(),ai=(()=>{class $e extends V{}return $e.\u0275fac=function(){let Mt;return function(Ot){return(Mt||(Mt=t.n5z($e)))(Ot||$e)}}(),$e.\u0275dir=t.lG2({type:$e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[t._Bn([{provide:V,useExisting:$e}]),t.qOj]}),$e})(),Ut=(()=>{class $e extends Ke{}return $e.\u0275fac=function(){let Mt;return function(Ot){return(Mt||(Mt=t.n5z($e)))(Ot||$e)}}(),$e.\u0275dir=t.lG2({type:$e,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[t._Bn([{provide:Ke,useExisting:$e}]),t.qOj]}),$e})(),Vt=(()=>{class $e extends qe{}return $e.\u0275fac=function(){let Mt;return function(Ot){return(Mt||(Mt=t.n5z($e)))(Ot||$e)}}(),$e.\u0275dir=t.lG2({type:$e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[t._Bn([{provide:qe,useExisting:$e}]),t.qOj]}),$e})(),Rt=(()=>{class $e extends Ie{}return $e.\u0275fac=function(){let Mt;return function(Ot){return(Mt||(Mt=t.n5z($e)))(Ot||$e)}}(),$e.\u0275cmp=t.Xpm({type:$e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[t._Bn([{provide:Ie,useExisting:$e}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ye,Ot){1&ye&&t.GkF(0,0)},dependencies:[ct],encapsulation:2}),$e})(),je=(()=>{class $e extends xe{}return $e.\u0275fac=function(){let Mt;return function(Ot){return(Mt||(Mt=t.n5z($e)))(Ot||$e)}}(),$e.\u0275cmp=t.Xpm({type:$e,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[t._Bn([{provide:xe,useExisting:$e}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ye,Ot){1&ye&&t.GkF(0,0)},dependencies:[ct],encapsulation:2}),$e})(),Fe=(()=>{class $e extends le{}return $e.\u0275fac=function(){let Mt;return function(Ot){return(Mt||(Mt=t.n5z($e)))(Ot||$e)}}(),$e.\u0275cmp=t.Xpm({type:$e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[t._Bn([{provide:le,useExisting:$e}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ye,Ot){1&ye&&t.GkF(0,0)},dependencies:[ct],encapsulation:2}),$e})(),ui=(()=>{class $e{}return $e.\u0275fac=function(ye){return new(ye||$e)},$e.\u0275mod=t.oAB({type:$e}),$e.\u0275inj=t.cJS({imports:[Pe.BQ,Ct,Pe.BQ]}),$e})();class xi extends D.o2{constructor(Mt=[]){super(),this._renderData=new S.X([]),this._filter=new S.X(""),this._internalPageChanges=new P.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(ye,Ot)=>{const Kt=ye[Ot];if((0,v.t6)(Kt)){const mi=Number(Kt);return mi<9007199254740991?mi:Kt}return Kt},this.sortData=(ye,Ot)=>{const Kt=Ot.active,mi=Ot.direction;return Kt&&""!=mi?ye.sort((Mi,Pi)=>{let Wi=this.sortingDataAccessor(Mi,Kt),Zt=this.sortingDataAccessor(Pi,Kt);const oi=typeof Wi,ge=typeof Zt;oi!==ge&&("number"===oi&&(Wi+=""),"number"===ge&&(Zt+=""));let Xe=0;return null!=Wi&&null!=Zt?Wi>Zt?Xe=1:Wi<Zt&&(Xe=-1):null!=Wi?Xe=1:null!=Zt&&(Xe=-1),Xe*("asc"==mi?1:-1)}):ye},this.filterPredicate=(ye,Ot)=>{const Kt=Object.keys(ye).reduce((Mi,Pi)=>Mi+ye[Pi]+"\u25ec","").toLowerCase(),mi=Ot.trim().toLowerCase();return-1!=Kt.indexOf(mi)},this._data=new S.X(Mt),this._updateChangeSubscription()}get data(){return this._data.value}set data(Mt){Mt=Array.isArray(Mt)?Mt:[],this._data.next(Mt),this._renderChangesSubscription||this._filterData(Mt)}get filter(){return this._filter.value}set filter(Mt){this._filter.next(Mt),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Mt){this._sort=Mt,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Mt){this._paginator=Mt,this._updateChangeSubscription()}_updateChangeSubscription(){const Mt=this._sort?(0,tt.T)(this._sort.sortChange,this._sort.initialized):(0,I.of)(null),ye=this._paginator?(0,tt.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,I.of)(null),Kt=(0,Bt.a)([this._data,this._filter]).pipe((0,Lt.U)(([Pi])=>this._filterData(Pi))),mi=(0,Bt.a)([Kt,Mt]).pipe((0,Lt.U)(([Pi])=>this._orderData(Pi))),Mi=(0,Bt.a)([mi,ye]).pipe((0,Lt.U)(([Pi])=>this._pageData(Pi)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Mi.subscribe(Pi=>this._renderData.next(Pi))}_filterData(Mt){return this.filteredData=null==this.filter||""===this.filter?Mt:Mt.filter(ye=>this.filterPredicate(ye,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Mt){return this.sort?this.sortData(Mt.slice(),this.sort):Mt}_pageData(Mt){if(!this.paginator)return Mt;const ye=this.paginator.pageIndex*this.paginator.pageSize;return Mt.slice(ye,ye+this.paginator.pageSize)}_updatePaginator(Mt){Promise.resolve().then(()=>{const ye=this.paginator;if(ye&&(ye.length=Mt,ye.pageIndex>0)){const Ot=Math.ceil(ye.length/ye.pageSize)-1||0,Kt=Math.min(ye.pageIndex,Ot);Kt!==ye.pageIndex&&(ye.pageIndex=Kt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class Vi extends xi{}},3848:(Ve,Q,m)=>{"use strict";m.d(Q,{BU:()=>ai,Nh:()=>Rt,Nj:()=>Ut,SP:()=>at,sW:()=>Vt,uD:()=>Be,uX:()=>He});var t=m(6895),e=m(4650),v=m(3238),D=m(4080),o=m(9643),C=m(4761),u=m(445),P=m(727),d=m(7579),S=m(4968),w=m(9646),I=m(6451),E=m(515),N=m(9751),z=m(2805),G=m(1135),W=m(8675),Y=m(1884),X=m(2722),ee=m(5698),ue=m(3900),he=m(5684),ie=m(9300),ce=m(7340),$=m(1281),fe=m(531),T=m(3353),i=m(9521);function r(je,Fe){}const h=function(je){return{animationDuration:je}},l=function(je,Fe){return{value:je,params:Fe}};function y(je,Fe){1&je&&e.Hsn(0)}const A=["*"],k=["tabListContainer"],g=["tabList"],n=["tabListInner"],b=["nextPaginator"],U=["previousPaginator"],V=["tabBodyWrapper"],j=["tabHeader"];function Ae(je,Fe){}function Ke(je,Fe){if(1&je&&e.YNc(0,Ae,0,0,"ng-template",14),2&je){const We=e.oxw().$implicit;e.Q6J("cdkPortalOutlet",We.templateLabel)}}function qe(je,Fe){if(1&je&&e._uU(0),2&je){const We=e.oxw().$implicit;e.Oqu(We.textLabel)}}function ct(je,Fe){if(1&je){const We=e.EpF();e.TgZ(0,"div",6,7),e.NdJ("click",function(){const Tt=e.CHM(We),ui=Tt.$implicit,Ei=Tt.index,xi=e.oxw(),Vi=e.MAs(1);return e.KtG(xi._handleClick(ui,Vi,Ei))})("cdkFocusChange",function(Tt){const Ei=e.CHM(We).index,xi=e.oxw();return e.KtG(xi._tabFocusChanged(Tt,Ei))}),e._UZ(2,"span",8)(3,"div",9),e.TgZ(4,"span",10)(5,"span",11),e.YNc(6,Ke,1,1,"ng-template",12),e.YNc(7,qe,1,1,"ng-template",null,13,e.W1O),e.qZA()()()}if(2&je){const We=Fe.$implicit,Je=Fe.index,Tt=e.MAs(1),ui=e.MAs(8),Ei=e.oxw();e.ekj("mdc-tab--active",Ei.selectedIndex===Je),e.Q6J("id",Ei._getTabLabelId(Je))("ngClass",We.labelClass)("disabled",We.disabled)("fitInkBarToContent",Ei.fitInkBarToContent),e.uIk("tabIndex",Ei._getTabIndex(We,Je))("aria-posinset",Je+1)("aria-setsize",Ei._tabs.length)("aria-controls",Ei._getTabContentId(Je))("aria-selected",Ei.selectedIndex===Je)("aria-label",We.ariaLabel||null)("aria-labelledby",!We.ariaLabel&&We.ariaLabelledby?We.ariaLabelledby:null),e.xp6(3),e.Q6J("matRippleTrigger",Tt)("matRippleDisabled",We.disabled||Ei.disableRipple),e.xp6(3),e.Q6J("ngIf",We.templateLabel)("ngIfElse",ui)}}function Ie(je,Fe){if(1&je){const We=e.EpF();e.TgZ(0,"mat-tab-body",15),e.NdJ("_onCentered",function(){e.CHM(We);const Tt=e.oxw();return e.KtG(Tt._removeTabBodyWrapperHeight())})("_onCentering",function(Tt){e.CHM(We);const ui=e.oxw();return e.KtG(ui._setTabBodyWrapperHeight(Tt))}),e.qZA()}if(2&je){const We=Fe.$implicit,Je=Fe.index,Tt=e.oxw();e.ekj("mat-mdc-tab-body-active",Tt.selectedIndex===Je),e.Q6J("id",Tt._getTabContentId(Je))("ngClass",We.bodyClass)("content",We.content)("position",We.position)("origin",We.origin)("animationDuration",Tt.animationDuration)("preserveContent",Tt.preserveContent),e.uIk("tabindex",null!=Tt.contentTabIndex&&Tt.selectedIndex===Je?Tt.contentTabIndex:null)("aria-labelledby",Tt._getTabLabelId(Je))}}const xe=["mat-tab-nav-bar",""],le=["mat-tab-link",""],_e={translateTab:(0,ce.X$)("translateTab",[(0,ce.SB)("center, void, left-origin-center, right-origin-center",(0,ce.oB)({transform:"none"})),(0,ce.SB)("left",(0,ce.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ce.SB)("right",(0,ce.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ce.eR)("* => left, * => right, left => center, right => center",(0,ce.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,ce.eR)("void => left-origin-center",[(0,ce.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,ce.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,ce.eR)("void => right-origin-center",[(0,ce.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,ce.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let se=(()=>{class je extends D.Pl{constructor(We,Je,Tt,ui){super(We,Je,ui),this._host=Tt,this._centeringSub=P.w0.EMPTY,this._leavingSub=P.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,W.O)(this._host._isCenterPosition(this._host._position))).subscribe(We=>{We&&!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()}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36((0,e.Gpc)(()=>Te)),e.Y36(t.K0))},je.\u0275dir=e.lG2({type:je,selectors:[["","matTabBodyHost",""]],features:[e.qOj]}),je})(),Ye=(()=>{class je{constructor(We,Je,Tt){this._elementRef=We,this._dir=Je,this._dirChangeSubscription=P.w0.EMPTY,this._translateTabComplete=new d.x,this._onCentering=new e.vpe,this._beforeCentering=new e.vpe,this._afterLeavingCenter=new e.vpe,this._onCentered=new e.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,Je&&(this._dirChangeSubscription=Je.change.subscribe(ui=>{this._computePositionAnimationState(ui),Tt.markForCheck()})),this._translateTabComplete.pipe((0,Y.x)((ui,Ei)=>ui.fromState===Ei.fromState&&ui.toState===Ei.toState)).subscribe(ui=>{this._isCenterPosition(ui.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(ui.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(We){this._positionIndex=We,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(We){const Je=this._isCenterPosition(We.toState);this._beforeCentering.emit(Je),Je&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(We){return"center"==We||"left-origin-center"==We||"right-origin-center"==We}_computePositionAnimationState(We=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==We?"left":"right":this._positionIndex>0?"ltr"==We?"right":"left":"center"}_computePositionFromOrigin(We){const Je=this._getLayoutDirection();return"ltr"==Je&&We<=0||"rtl"==Je&&We>0?"left-origin-center":"right-origin-center"}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(e.SBq),e.Y36(u.Is,8),e.Y36(e.sBO))},je.\u0275dir=e.lG2({type:je,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),je})(),Te=(()=>{class je extends Ye{constructor(We,Je,Tt){super(We,Je,Tt)}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(e.SBq),e.Y36(u.Is,8),e.Y36(e.sBO))},je.\u0275cmp=e.Xpm({type:je,selectors:[["mat-tab-body"]],viewQuery:function(We,Je){if(1&We&&e.Gf(D.Pl,5),2&We){let Tt;e.iGM(Tt=e.CRH())&&(Je._portalHost=Tt.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[e.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(We,Je){1&We&&(e.TgZ(0,"div",0,1),e.NdJ("@translateTab.start",function(ui){return Je._onTranslateTabStarted(ui)})("@translateTab.done",function(ui){return Je._translateTabComplete.next(ui)}),e.YNc(2,r,0,0,"ng-template",2),e.qZA()),2&We&&e.Q6J("@translateTab",e.WLB(3,l,Je._position,e.VKq(1,h,Je.animationDuration)))},dependencies:[se],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:[_e.translateTab]}}),je})();const oe=new e.OlP("MatTabContent");let be=(()=>{class je{constructor(We){this.template=We}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(e.Rgc))},je.\u0275dir=e.lG2({type:je,selectors:[["","matTabContent",""]],features:[e._Bn([{provide:oe,useExisting:je}])]}),je})();const te=new e.OlP("MatTabLabel"),Ue=new e.OlP("MAT_TAB");let Be=(()=>{class je extends D.ig{constructor(We,Je,Tt){super(We,Je),this._closestTab=Tt}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(e.Rgc),e.Y36(e.s_b),e.Y36(Ue,8))},je.\u0275dir=e.lG2({type:je,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[e._Bn([{provide:te,useExisting:je}]),e.qOj]}),je})();const q="mdc-tab-indicator--active",de="mdc-tab-indicator--no-transition";class Ce{constructor(Fe){this._items=Fe}hide(){this._items.forEach(Fe=>Fe.deactivateInkBar())}alignToElement(Fe){const We=this._items.find(Tt=>Tt.elementRef.nativeElement===Fe),Je=this._currentItem;if(Je?.deactivateInkBar(),We){const Tt=Je?.elementRef.nativeElement.getBoundingClientRect?.();We.activateInkBar(Tt),this._currentItem=We}}}function ke(je){return class extends je{constructor(...Fe){super(...Fe),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Fe){const We=(0,$.Ig)(Fe);this._fitToContent!==We&&(this._fitToContent=We,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Fe){const We=this.elementRef.nativeElement;if(!Fe||!We.getBoundingClientRect||!this._inkBarContentElement)return void We.classList.add(q);const Je=We.getBoundingClientRect(),Tt=Fe.width/Je.width,ui=Fe.left-Je.left;We.classList.add(de),this._inkBarContentElement.style.setProperty("transform",`translateX(${ui}px) scaleX(${Tt})`),We.getBoundingClientRect(),We.classList.remove(de),We.classList.add(q),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(q)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const Fe=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=Fe.createElement("span"),this._inkBarContentElement=Fe.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 wt=(0,v.Id)(class{}),qt=ke((()=>{class je extends wt{constructor(We){super(),this.elementRef=We}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(e.SBq))},je.\u0275dir=e.lG2({type:je,features:[e.qOj]}),je})());let _t=(()=>{class je extends qt{}return je.\u0275fac=function(){let Fe;return function(Je){return(Fe||(Fe=e.n5z(je)))(Je||je)}}(),je.\u0275dir=e.lG2({type:je,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(We,Je){2&We&&(e.uIk("aria-disabled",!!Je.disabled),e.ekj("mat-mdc-tab-disabled",Je.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[e.qOj]}),je})();const ne=(0,v.Id)(class{}),Nt=new e.OlP("MAT_TAB_GROUP");let De=(()=>{class je extends ne{constructor(We,Je){super(),this._viewContainerRef=We,this._closestTabGroup=Je,this.textLabel="",this._contentPortal=null,this._stateChanges=new d.x,this.position=null,this.origin=null,this.isActive=!1}get content(){return this._contentPortal}ngOnChanges(We){(We.hasOwnProperty("textLabel")||We.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new D.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(We){We&&We._closestTab===this&&(this._templateLabel=We)}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(e.s_b),e.Y36(Nt,8))},je.\u0275dir=e.lG2({type:je,viewQuery:function(We,Je){if(1&We&&e.Gf(e.Rgc,7),2&We){let Tt;e.iGM(Tt=e.CRH())&&(Je._implicitContent=Tt.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[e.qOj,e.TTD]}),je})(),He=(()=>{class je extends De{get templateLabel(){return this._templateLabel}set templateLabel(We){this._setTemplateLabelInput(We)}}return je.\u0275fac=function(){let Fe;return function(Je){return(Fe||(Fe=e.n5z(je)))(Je||je)}}(),je.\u0275cmp=e.Xpm({type:je,selectors:[["mat-tab"]],contentQueries:function(We,Je,Tt){if(1&We&&(e.Suo(Tt,be,7,e.Rgc),e.Suo(Tt,Be,5)),2&We){let ui;e.iGM(ui=e.CRH())&&(Je._explicitContent=ui.first),e.iGM(ui=e.CRH())&&(Je.templateLabel=ui.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[e._Bn([{provide:Ue,useExisting:je}]),e.qOj],ngContentSelectors:A,decls:1,vars:0,template:function(We,Je){1&We&&(e.F$t(),e.YNc(0,y,1,0,"ng-template"))},encapsulation:2}),je})();const Ct=(0,T.i$)({passive:!0});let Lt=(()=>{class je{constructor(We,Je,Tt,ui,Ei,xi,Vi){this._elementRef=We,this._changeDetectorRef=Je,this._viewportRuler=Tt,this._dir=ui,this._ngZone=Ei,this._platform=xi,this._animationMode=Vi,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 e.vpe,this.indexFocused=new e.vpe,Ei.runOutsideAngular(()=>{(0,S.R)(We.nativeElement,"mouseleave").pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(We){this._disablePagination=(0,$.Ig)(We)}get selectedIndex(){return this._selectedIndex}set selectedIndex(We){We=(0,$.su)(We),this._selectedIndex!=We&&(this._selectedIndexChanged=!0,this._selectedIndex=We,this._keyManager&&this._keyManager.updateActiveItem(We))}ngAfterViewInit(){(0,S.R)(this._previousPaginator.nativeElement,"touchstart",Ct).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,S.R)(this._nextPaginator.nativeElement,"touchstart",Ct).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const We=this._dir?this._dir.change:(0,w.of)("ltr"),Je=this._viewportRuler.change(150),Tt=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new C.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ee.q)(1)).subscribe(Tt),(0,I.T)(We,Je,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)),Tt()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(ui=>{this.indexFocused.emit(ui),this._setTabFocus(ui)})}_itemsResized(){return"function"!=typeof ResizeObserver?E.E:this._items.changes.pipe((0,W.O)(this._items),(0,ue.w)(We=>new N.y(Je=>this._ngZone.runOutsideAngular(()=>{const Tt=new ResizeObserver(ui=>Je.next(ui));return We.forEach(ui=>Tt.observe(ui.elementRef.nativeElement)),()=>{Tt.disconnect()}}))),(0,he.T)(1),(0,ie.h)(We=>We.some(Je=>Je.contentRect.width>0&&Je.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(We){if(!(0,i.Vb)(We))switch(We.keyCode){case i.K5:case i.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(We));break;default:this._keyManager.onKeydown(We)}}_onContentChanges(){const We=this._elementRef.nativeElement.textContent;We!==this._currentTextContent&&(this._currentTextContent=We||"",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(We){!this._isValidIndex(We)||this.focusIndex===We||!this._keyManager||this._keyManager.setActiveItem(We)}_isValidIndex(We){if(!this._items)return!0;const Je=this._items?this._items.toArray()[We]:null;return!!Je&&!Je.disabled}_setTabFocus(We){if(this._showPaginationControls&&this._scrollToLabel(We),this._items&&this._items.length){this._items.toArray()[We].focus();const Je=this._tabListContainer.nativeElement;Je.scrollLeft="ltr"==this._getLayoutDirection()?0:Je.scrollWidth-Je.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const We=this.scrollDistance,Je="ltr"===this._getLayoutDirection()?-We:We;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Je)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(We){this._scrollTo(We)}_scrollHeader(We){return this._scrollTo(this._scrollDistance+("before"==We?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(We){this._stopInterval(),this._scrollHeader(We)}_scrollToLabel(We){if(this.disablePagination)return;const Je=this._items?this._items.toArray()[We]:null;if(!Je)return;const Tt=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:ui,offsetWidth:Ei}=Je.elementRef.nativeElement;let xi,Vi;"ltr"==this._getLayoutDirection()?(xi=ui,Vi=xi+Ei):(Vi=this._tabListInner.nativeElement.offsetWidth-ui,xi=Vi-Ei);const $e=this.scrollDistance,Mt=this.scrollDistance+Tt;xi<$e?this.scrollDistance-=$e-xi+60:Vi>Mt&&(this.scrollDistance+=Vi-Mt+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const We=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;We||(this.scrollDistance=0),We!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=We}}_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 We=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Je=We?We.elementRef.nativeElement:null;Je?this._inkBar.alignToElement(Je):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(We,Je){Je&&null!=Je.button&&0!==Je.button||(this._stopInterval(),(0,z.H)(650,100).pipe((0,X.R)((0,I.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Tt,distance:ui}=this._scrollHeader(We);(0===ui||ui>=Tt)&&this._stopInterval()}))}_scrollTo(We){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Je=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Je,We)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Je,distance:this._scrollDistance}}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(fe.rL),e.Y36(u.Is,8),e.Y36(e.R0b),e.Y36(T.t4),e.Y36(e.QbO,8))},je.\u0275dir=e.lG2({type:je,inputs:{disablePagination:"disablePagination"}}),je})(),Ht=(()=>{class je extends Lt{constructor(We,Je,Tt,ui,Ei,xi,Vi){super(We,Je,Tt,ui,Ei,xi,Vi),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(We){this._disableRipple=(0,$.Ig)(We)}_itemSelected(We){We.preventDefault()}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(fe.rL),e.Y36(u.Is,8),e.Y36(e.R0b),e.Y36(T.t4),e.Y36(e.QbO,8))},je.\u0275dir=e.lG2({type:je,inputs:{disableRipple:"disableRipple"},features:[e.qOj]}),je})(),bt=(()=>{class je extends Ht{constructor(We,Je,Tt,ui,Ei,xi,Vi){super(We,Je,Tt,ui,Ei,xi,Vi)}ngAfterContentInit(){this._inkBar=new Ce(this._items),super.ngAfterContentInit()}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(fe.rL),e.Y36(u.Is,8),e.Y36(e.R0b),e.Y36(T.t4),e.Y36(e.QbO,8))},je.\u0275cmp=e.Xpm({type:je,selectors:[["mat-tab-header"]],contentQueries:function(We,Je,Tt){if(1&We&&e.Suo(Tt,_t,4),2&We){let ui;e.iGM(ui=e.CRH())&&(Je._items=ui)}},viewQuery:function(We,Je){if(1&We&&(e.Gf(k,7),e.Gf(g,7),e.Gf(n,7),e.Gf(b,5),e.Gf(U,5)),2&We){let Tt;e.iGM(Tt=e.CRH())&&(Je._tabListContainer=Tt.first),e.iGM(Tt=e.CRH())&&(Je._tabList=Tt.first),e.iGM(Tt=e.CRH())&&(Je._tabListInner=Tt.first),e.iGM(Tt=e.CRH())&&(Je._nextPaginator=Tt.first),e.iGM(Tt=e.CRH())&&(Je._previousPaginator=Tt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(We,Je){2&We&&e.ekj("mat-mdc-tab-header-pagination-controls-enabled",Je._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Je._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[e.qOj],ngContentSelectors:A,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(We,Je){1&We&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return Je._handlePaginatorClick("before")})("mousedown",function(ui){return Je._handlePaginatorPress("before",ui)})("touchend",function(){return Je._stopInterval()}),e._UZ(2,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.NdJ("keydown",function(ui){return Je._handleKeydown(ui)}),e.TgZ(5,"div",5,6),e.NdJ("cdkObserveContent",function(){return Je._onContentChanges()}),e.TgZ(7,"div",7,8),e.Hsn(9),e.qZA()()(),e.TgZ(10,"button",9,10),e.NdJ("mousedown",function(ui){return Je._handlePaginatorPress("after",ui)})("click",function(){return Je._handlePaginatorClick("after")})("touchend",function(){return Je._stopInterval()}),e._UZ(12,"div",2),e.qZA()),2&We&&(e.ekj("mat-mdc-tab-header-pagination-disabled",Je._disableScrollBefore),e.Q6J("matRippleDisabled",Je._disableScrollBefore||Je.disableRipple)("disabled",Je._disableScrollBefore||null),e.xp6(3),e.ekj("_mat-animation-noopable","NoopAnimations"===Je._animationMode),e.xp6(7),e.ekj("mat-mdc-tab-header-pagination-disabled",Je._disableScrollAfter),e.Q6J("matRippleDisabled",Je._disableScrollAfter||Je.disableRipple)("disabled",Je._disableScrollAfter||null))},dependencies:[v.wG,o.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.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}.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}.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}),je})();const Me=new e.OlP("MAT_TABS_CONFIG");let J=0;const ve=(0,v.pj)((0,v.Kr)(class{constructor(je){this._elementRef=je}}),"primary");let Re=(()=>{class je extends ve{constructor(We,Je,Tt,ui){super(We),this._changeDetectorRef=Je,this._animationMode=ui,this._tabs=new e.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=P.w0.EMPTY,this._tabLabelSubscription=P.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new e.vpe,this.focusChange=new e.vpe,this.animationDone=new e.vpe,this.selectedTabChange=new e.vpe(!0),this._groupId=J++,this.animationDuration=Tt&&Tt.animationDuration?Tt.animationDuration:"500ms",this.disablePagination=!(!Tt||null==Tt.disablePagination)&&Tt.disablePagination,this.dynamicHeight=!(!Tt||null==Tt.dynamicHeight)&&Tt.dynamicHeight,this.contentTabIndex=Tt?.contentTabIndex??null,this.preserveContent=!!Tt?.preserveContent}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(We){this._dynamicHeight=(0,$.Ig)(We)}get selectedIndex(){return this._selectedIndex}set selectedIndex(We){this._indexToSelect=(0,$.su)(We,null)}get animationDuration(){return this._animationDuration}set animationDuration(We){this._animationDuration=/^\d+$/.test(We+"")?We+"ms":We}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(We){this._contentTabIndex=(0,$.su)(We,null)}get disablePagination(){return this._disablePagination}set disablePagination(We){this._disablePagination=(0,$.Ig)(We)}get preserveContent(){return this._preserveContent}set preserveContent(We){this._preserveContent=(0,$.Ig)(We)}get backgroundColor(){return this._backgroundColor}set backgroundColor(We){const Je=this._elementRef.nativeElement.classList;Je.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),We&&Je.add("mat-tabs-with-background",`mat-background-${We}`),this._backgroundColor=We}ngAfterContentChecked(){const We=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=We){const Je=null==this._selectedIndex;if(!Je){this.selectedTabChange.emit(this._createChangeEvent(We));const Tt=this._tabBodyWrapper.nativeElement;Tt.style.minHeight=Tt.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Tt,ui)=>Tt.isActive=ui===We),Je||(this.selectedIndexChange.emit(We),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Je,Tt)=>{Je.position=Tt-We,null!=this._selectedIndex&&0==Je.position&&!Je.origin&&(Je.origin=We-this._selectedIndex)}),this._selectedIndex!==We&&(this._selectedIndex=We,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const We=this._clampTabIndex(this._indexToSelect);if(We===this._selectedIndex){const Je=this._tabs.toArray();let Tt;for(let ui=0;ui<Je.length;ui++)if(Je[ui].isActive){this._indexToSelect=this._selectedIndex=ui,this._lastFocusedTabIndex=null,Tt=Je[ui];break}!Tt&&Je[We]&&Promise.resolve().then(()=>{Je[We].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(We))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,W.O)(this._allTabs)).subscribe(We=>{this._tabs.reset(We.filter(Je=>Je._closestTabGroup===this||!Je._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(We){const Je=this._tabHeader;Je&&(Je.focusIndex=We)}_focusChanged(We){this._lastFocusedTabIndex=We,this.focusChange.emit(this._createChangeEvent(We))}_createChangeEvent(We){const Je=new ni;return Je.index=We,this._tabs&&this._tabs.length&&(Je.tab=this._tabs.toArray()[We]),Je}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,I.T)(...this._tabs.map(We=>We._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(We){return Math.min(this._tabs.length-1,Math.max(We||0,0))}_getTabLabelId(We){return`mat-tab-label-${this._groupId}-${We}`}_getTabContentId(We){return`mat-tab-content-${this._groupId}-${We}`}_setTabBodyWrapperHeight(We){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const Je=this._tabBodyWrapper.nativeElement;Je.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Je.style.height=We+"px")}_removeTabBodyWrapperHeight(){const We=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=We.clientHeight,We.style.height="",this.animationDone.emit()}_handleClick(We,Je,Tt){We.disabled||(this.selectedIndex=Je.focusIndex=Tt)}_getTabIndex(We,Je){return We.disabled?null:Je===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(We,Je){We&&"mouse"!==We&&"touch"!==We&&(this._tabHeader.focusIndex=Je)}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Me,8),e.Y36(e.QbO,8))},je.\u0275dir=e.lG2({type:je,inputs:{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"},features:[e.qOj]}),je})(),at=(()=>{class je extends Re{constructor(We,Je,Tt,ui){super(We,Je,Tt,ui),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!Tt||null==Tt.fitInkBarToContent)&&Tt.fitInkBarToContent}get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(We){this._fitInkBarToContent=(0,$.Ig)(We),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(We){this._stretchTabs=(0,$.Ig)(We)}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Me,8),e.Y36(e.QbO,8))},je.\u0275cmp=e.Xpm({type:je,selectors:[["mat-tab-group"]],contentQueries:function(We,Je,Tt){if(1&We&&e.Suo(Tt,He,5),2&We){let ui;e.iGM(ui=e.CRH())&&(Je._allTabs=ui)}},viewQuery:function(We,Je){if(1&We&&(e.Gf(V,5),e.Gf(j,5)),2&We){let Tt;e.iGM(Tt=e.CRH())&&(Je._tabBodyWrapper=Tt.first),e.iGM(Tt=e.CRH())&&(Je._tabHeader=Tt.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(We,Je){2&We&&e.ekj("mat-mdc-tab-group-dynamic-height",Je.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Je.headerPosition)("mat-mdc-tab-group-stretch-tabs",Je.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[e._Bn([{provide:Nt,useExisting:je}]),e.qOj],decls:6,vars:6,consts:[[3,"selectedIndex","disableRipple","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["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,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(We,Je){1&We&&(e.TgZ(0,"mat-tab-header",0,1),e.NdJ("indexFocused",function(ui){return Je._focusChanged(ui)})("selectFocusedIndex",function(ui){return Je.selectedIndex=ui}),e.YNc(2,ct,9,17,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.YNc(5,Ie,1,11,"mat-tab-body",5),e.qZA()),2&We&&(e.Q6J("selectedIndex",Je.selectedIndex||0)("disableRipple",Je.disableRipple),e.xp6(2),e.Q6J("ngForOf",Je._tabs),e.xp6(1),e.ekj("_mat-animation-noopable","NoopAnimations"===Je._animationMode),e.xp6(2),e.Q6J("ngForOf",Je._tabs))},dependencies:[t.mk,t.sg,t.O5,D.Pl,v.wG,C.kH,Te,_t,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 .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.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)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.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}.mat-mdc-tab .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative}.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}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.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-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.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{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.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-mdc-tab-header-with-background-foreground-color, inherit)}.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{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.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}),je})();class ni{}let Gt=0,ti=(()=>{class je extends Lt{constructor(We,Je,Tt,ui,Ei,xi,Vi){super(We,ui,Ei,Je,Tt,xi,Vi),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(We){const Je=this._elementRef.nativeElement.classList;Je.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),We&&Je.add("mat-tabs-with-background",`mat-background-${We}`),this._backgroundColor=We}get disableRipple(){return this._disableRipple}set disableRipple(We){this._disableRipple=(0,$.Ig)(We)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,W.O)(null),(0,X.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const We=this._items.toArray();for(let Je=0;Je<We.length;Je++)if(We[Je].active)return this.selectedIndex=Je,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=We[Je].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(e.SBq),e.Y36(u.Is,8),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(fe.rL),e.Y36(T.t4),e.Y36(e.QbO,8))},je.\u0275dir=e.lG2({type:je,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[e.qOj]}),je})();const dt=(0,v.sb)((0,v.Kr)((0,v.Id)(class{}))),vt=ke((()=>{class je extends dt{constructor(We,Je,Tt,ui,Ei,xi){super(),this._tabNavBar=We,this.elementRef=Je,this._focusMonitor=Ei,this._isActive=!1,this.id="mat-tab-link-"+Gt++,this.rippleConfig=Tt||{},this.tabIndex=parseInt(ui)||0,"NoopAnimations"===xi&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(We){const Je=(0,$.Ig)(We);Je!==this._isActive&&(this._isActive=Je,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(We){this._tabNavBar.tabPanel&&We.keyCode===i.L_&&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}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(ti),e.Y36(e.SBq),e.Y36(v.Y2,8),e.$8M("tabindex"),e.Y36(C.tE),e.Y36(e.QbO,8))},je.\u0275dir=e.lG2({type:je,inputs:{active:"active",id:"id"},features:[e.qOj]}),je})());let ai=(()=>{class je extends ti{constructor(We,Je,Tt,ui,Ei,xi,Vi,$e){super(We,Je,Tt,ui,Ei,xi,Vi),this._fitInkBarToContent=new G.X(!1),this._stretchTabs=!0,this.disablePagination=!(!$e||null==$e.disablePagination)&&$e.disablePagination,this.fitInkBarToContent=!(!$e||null==$e.fitInkBarToContent)&&$e.fitInkBarToContent}get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(We){this._fitInkBarToContent.next((0,$.Ig)(We)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(We){this._stretchTabs=(0,$.Ig)(We)}ngAfterContentInit(){this._inkBar=new Ce(this._items),super.ngAfterContentInit()}ngAfterViewInit(){}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(e.SBq),e.Y36(u.Is,8),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(fe.rL),e.Y36(T.t4),e.Y36(e.QbO,8),e.Y36(Me,8))},je.\u0275cmp=e.Xpm({type:je,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(We,Je,Tt){if(1&We&&e.Suo(Tt,Ut,5),2&We){let ui;e.iGM(ui=e.CRH())&&(Je._items=ui)}},viewQuery:function(We,Je){if(1&We&&(e.Gf(k,7),e.Gf(g,7),e.Gf(n,7),e.Gf(b,5),e.Gf(U,5)),2&We){let Tt;e.iGM(Tt=e.CRH())&&(Je._tabListContainer=Tt.first),e.iGM(Tt=e.CRH())&&(Je._tabList=Tt.first),e.iGM(Tt=e.CRH())&&(Je._tabListInner=Tt.first),e.iGM(Tt=e.CRH())&&(Je._nextPaginator=Tt.first),e.iGM(Tt=e.CRH())&&(Je._previousPaginator=Tt.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(We,Je){2&We&&(e.uIk("role",Je._getRole()),e.ekj("mat-mdc-tab-header-pagination-controls-enabled",Je._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Je._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",Je.stretchTabs)("mat-primary","warn"!==Je.color&&"accent"!==Je.color)("mat-accent","accent"===Je.color)("mat-warn","warn"===Je.color)("_mat-animation-noopable","NoopAnimations"===Je._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabNavBar","matTabNav"],features:[e.qOj],attrs:xe,ngContentSelectors:A,decls:13,vars:8,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-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["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(We,Je){1&We&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return Je._handlePaginatorClick("before")})("mousedown",function(ui){return Je._handlePaginatorPress("before",ui)})("touchend",function(){return Je._stopInterval()}),e._UZ(2,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.NdJ("keydown",function(ui){return Je._handleKeydown(ui)}),e.TgZ(5,"div",5,6),e.NdJ("cdkObserveContent",function(){return Je._onContentChanges()}),e.TgZ(7,"div",7,8),e.Hsn(9),e.qZA()()(),e.TgZ(10,"button",9,10),e.NdJ("mousedown",function(ui){return Je._handlePaginatorPress("after",ui)})("click",function(){return Je._handlePaginatorClick("after")})("touchend",function(){return Je._stopInterval()}),e._UZ(12,"div",2),e.qZA()),2&We&&(e.ekj("mat-mdc-tab-header-pagination-disabled",Je._disableScrollBefore),e.Q6J("matRippleDisabled",Je._disableScrollBefore||Je.disableRipple)("disabled",Je._disableScrollBefore||null),e.xp6(10),e.ekj("mat-mdc-tab-header-pagination-disabled",Je._disableScrollAfter),e.Q6J("matRippleDisabled",Je._disableScrollAfter||Je.disableRipple)("disabled",Je._disableScrollAfter||null))},dependencies:[v.wG,o.wD],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 .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.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-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.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}.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}.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-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.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-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline,.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{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.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-mdc-tab-header-with-background-foreground-color, inherit)}.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{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}"],encapsulation:2}),je})(),Ut=(()=>{class je extends vt{constructor(We,Je,Tt,ui,Ei,xi){super(We,Je,Tt,ui,Ei,xi),this._destroyed=new d.x,We._fitInkBarToContent.pipe((0,X.R)(this._destroyed)).subscribe(Vi=>{this.fitInkBarToContent=Vi})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}return je.\u0275fac=function(We){return new(We||je)(e.Y36(ai),e.Y36(e.SBq),e.Y36(v.Y2,8),e.$8M("tabindex"),e.Y36(C.tE),e.Y36(e.QbO,8))},je.\u0275cmp=e.Xpm({type:je,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(We,Je){1&We&&e.NdJ("focus",function(){return Je._handleFocus()})("keydown",function(ui){return Je._handleKeydown(ui)}),2&We&&(e.uIk("aria-controls",Je._getAriaControls())("aria-current",Je._getAriaCurrent())("aria-disabled",Je.disabled)("aria-selected",Je._getAriaSelected())("id",Je.id)("tabIndex",Je._getTabIndex())("role",Je._getRole()),e.ekj("mat-mdc-tab-disabled",Je.disabled)("mdc-tab--active",Je.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[e.qOj],attrs:le,ngContentSelectors:A,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(We,Je){1&We&&(e.F$t(),e._UZ(0,"span",0)(1,"div",1),e.TgZ(2,"span",2)(3,"span",3),e.Hsn(4),e.qZA()()),2&We&&(e.xp6(1),e.Q6J("matRippleTrigger",Je.elementRef.nativeElement)("matRippleDisabled",Je.rippleDisabled))},dependencies:[v.wG],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab-link.mdc-tab{height:48px;flex-grow:0}.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}.mat-mdc-tab-link .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative}.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}.mat-mdc-tab-link.mat-mdc-tab-disabled{pointer-events:none;opacity:.4}.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}),je})(),Vt=(()=>{class je{constructor(){this.id="mat-tab-nav-panel-"+Gt++}}return je.\u0275fac=function(We){return new(We||je)},je.\u0275cmp=e.Xpm({type:je,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(We,Je){2&We&&e.uIk("aria-labelledby",Je._activeTabId)("id",Je.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:A,decls:1,vars:0,template:function(We,Je){1&We&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),je})(),Rt=(()=>{class je{}return je.\u0275fac=function(We){return new(We||je)},je.\u0275mod=e.oAB({type:je}),je.\u0275inj=e.cJS({imports:[t.ez,v.BQ,D.eL,v.si,o.Q8,C.rt,v.BQ]}),je})()},3683:(Ve,Q,m)=>{"use strict";m.d(Q,{Ye:()=>d,g0:()=>w});var t=m(4650),e=m(3238),v=m(3353),D=m(6895);const o=["*",[["mat-toolbar-row"]]],C=["*","mat-toolbar-row"],u=(0,e.pj)(class{constructor(I){this._elementRef=I}});let P=(()=>{class I{}return I.\u0275fac=function(N){return new(N||I)},I.\u0275dir=t.lG2({type:I,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),I})(),d=(()=>{class I extends u{constructor(N,z,G){super(N),this._platform=z,this._document=G}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return I.\u0275fac=function(N){return new(N||I)(t.Y36(t.SBq),t.Y36(v.t4),t.Y36(D.K0))},I.\u0275cmp=t.Xpm({type:I,selectors:[["mat-toolbar"]],contentQueries:function(N,z,G){if(1&N&&t.Suo(G,P,5),2&N){let W;t.iGM(W=t.CRH())&&(z._toolbarRows=W)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(N,z){2&N&&t.ekj("mat-toolbar-multiple-rows",z._toolbarRows.length>0)("mat-toolbar-single-row",0===z._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[t.qOj],ngContentSelectors:C,decls:2,vars:0,template:function(N,z){1&N&&(t.F$t(o),t.Hsn(0),t.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .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}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),I})(),w=(()=>{class I{}return I.\u0275fac=function(N){return new(N||I)},I.\u0275mod=t.oAB({type:I}),I.\u0275inj=t.cJS({imports:[e.BQ,e.BQ]}),I})()},266:(Ve,Q,m)=>{"use strict";m.d(Q,{AV:()=>b,gM:()=>A});var t=m(2722),e=m(5698),v=m(1281),D=m(9521),o=m(4650),C=m(6895),u=m(3353),P=m(4761),d=m(445),S=m(8184),w=m(531),I=m(4080),E=m(7579),z=(m(7340),m(3238));const G=["tooltip"],X=new o.OlP("mat-tooltip-scroll-strategy"),ue={provide:X,deps:[S.aV],useFactory:function ee(U){return()=>U.scrollStrategies.reposition({scrollThrottle:20})}},ie=new o.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function he(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),$="tooltip-panel",fe=(0,u.i$)({passive:!0});let y=(()=>{class U{constructor(j,Ae,Ke,qe,ct,Ie,xe,le,_e,se,Ye,Te){this._overlay=j,this._elementRef=Ae,this._scrollDispatcher=Ke,this._viewContainerRef=qe,this._ngZone=ct,this._platform=Ie,this._ariaDescriber=xe,this._focusMonitor=le,this._dir=se,this._defaultOptions=Ye,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new E.x,this._scrollStrategy=_e,this._document=Te,Ye&&(Ye.position&&(this.position=Ye.position),Ye.positionAtOrigin&&(this.positionAtOrigin=Ye.positionAtOrigin),Ye.touchGestures&&(this.touchGestures=Ye.touchGestures)),se.change.pipe((0,t.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(j){j!==this._position&&(this._position=j,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(j){this._positionAtOrigin=(0,v.Ig)(j),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(j){this._disabled=(0,v.Ig)(j),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(j){this._showDelay=(0,v.su)(j)}get hideDelay(){return this._hideDelay}set hideDelay(j){this._hideDelay=(0,v.su)(j),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(j){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=j?String(j).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(j){this._tooltipClass=j,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,t.R)(this._destroyed)).subscribe(j=>{j?"keyboard"===j&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const j=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Ae,Ke])=>{j.removeEventListener(Ae,Ke,fe)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(j,this.message,"tooltip"),this._focusMonitor.stopMonitoring(j)}show(j=this.showDelay,Ae){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Ke=this._createOverlay(Ae);this._detach(),this._portal=this._portal||new I.C5(this._tooltipComponent,this._viewContainerRef);const qe=this._tooltipInstance=Ke.attach(this._portal).instance;qe._triggerElement=this._elementRef.nativeElement,qe._mouseLeaveHideDelay=this._hideDelay,qe.afterHidden().pipe((0,t.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),qe.show(j)}hide(j=this.hideDelay){const Ae=this._tooltipInstance;Ae&&(Ae.isVisible()?Ae.hide(j):(Ae._cancelPendingAnimations(),this._detach()))}toggle(j){this._isTooltipVisible()?this.hide():this.show(void 0,j)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(j){if(this._overlayRef){const qe=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!j)&&qe._origin instanceof o.SBq)return this._overlayRef;this._detach()}const Ae=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Ke=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&j||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Ae);return Ke.positionChanges.pipe((0,t.R)(this._destroyed)).subscribe(qe=>{this._updateCurrentPositionClass(qe.connectionPair),this._tooltipInstance&&qe.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Ke,panelClass:`${this._cssClassPrefix}-${$}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,t.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,t.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,t.R)(this._destroyed)).subscribe(qe=>{this._isTooltipVisible()&&qe.keyCode===D.hY&&!(0,D.Vb)(qe)&&(qe.preventDefault(),qe.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(j){const Ae=j.getConfig().positionStrategy,Ke=this._getOrigin(),qe=this._getOverlayPosition();Ae.withPositions([this._addOffset({...Ke.main,...qe.main}),this._addOffset({...Ke.fallback,...qe.fallback})])}_addOffset(j){return j}_getOrigin(){const j=!this._dir||"ltr"==this._dir.value,Ae=this.position;let Ke;"above"==Ae||"below"==Ae?Ke={originX:"center",originY:"above"==Ae?"top":"bottom"}:"before"==Ae||"left"==Ae&&j||"right"==Ae&&!j?Ke={originX:"start",originY:"center"}:("after"==Ae||"right"==Ae&&j||"left"==Ae&&!j)&&(Ke={originX:"end",originY:"center"});const{x:qe,y:ct}=this._invertPosition(Ke.originX,Ke.originY);return{main:Ke,fallback:{originX:qe,originY:ct}}}_getOverlayPosition(){const j=!this._dir||"ltr"==this._dir.value,Ae=this.position;let Ke;"above"==Ae?Ke={overlayX:"center",overlayY:"bottom"}:"below"==Ae?Ke={overlayX:"center",overlayY:"top"}:"before"==Ae||"left"==Ae&&j||"right"==Ae&&!j?Ke={overlayX:"end",overlayY:"center"}:("after"==Ae||"right"==Ae&&j||"left"==Ae&&!j)&&(Ke={overlayX:"start",overlayY:"center"});const{x:qe,y:ct}=this._invertPosition(Ke.overlayX,Ke.overlayY);return{main:Ke,fallback:{overlayX:qe,overlayY:ct}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,e.q)(1),(0,t.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(j){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=j,this._tooltipInstance._markForCheck())}_invertPosition(j,Ae){return"above"===this.position||"below"===this.position?"top"===Ae?Ae="bottom":"bottom"===Ae&&(Ae="top"):"end"===j?j="start":"start"===j&&(j="end"),{x:j,y:Ae}}_updateCurrentPositionClass(j){const{overlayY:Ae,originX:Ke,originY:qe}=j;let ct;if(ct="center"===Ae?this._dir&&"rtl"===this._dir.value?"end"===Ke?"left":"right":"start"===Ke?"left":"right":"bottom"===Ae&&"top"===qe?"above":"below",ct!==this._currentPosition){const Ie=this._overlayRef;if(Ie){const xe=`${this._cssClassPrefix}-${$}-`;Ie.removePanelClass(xe+this._currentPosition),Ie.addPanelClass(xe+ct)}this._currentPosition=ct}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",j=>{let Ae;this._setupPointerExitEventsIfNeeded(),void 0!==j.x&&void 0!==j.y&&(Ae=j),this.show(void 0,Ae)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",j=>{const Ae=j.targetTouches?.[0],Ke=Ae?{x:Ae.clientX,y:Ae.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,Ke),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const j=[];if(this._platformSupportsMouseEvents())j.push(["mouseleave",Ae=>{const Ke=Ae.relatedTarget;(!Ke||!this._overlayRef?.overlayElement.contains(Ke))&&this.hide()}],["wheel",Ae=>this._wheelListener(Ae)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Ae=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};j.push(["touchend",Ae],["touchcancel",Ae])}this._addListeners(j),this._passiveListeners.push(...j)}_addListeners(j){j.forEach(([Ae,Ke])=>{this._elementRef.nativeElement.addEventListener(Ae,Ke,fe)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(j){if(this._isTooltipVisible()){const Ae=this._document.elementFromPoint(j.clientX,j.clientY),Ke=this._elementRef.nativeElement;Ae!==Ke&&!Ke.contains(Ae)&&this.hide()}}_disableNativeGesturesIfNecessary(){const j=this.touchGestures;if("off"!==j){const Ae=this._elementRef.nativeElement,Ke=Ae.style;("on"===j||"INPUT"!==Ae.nodeName&&"TEXTAREA"!==Ae.nodeName)&&(Ke.userSelect=Ke.msUserSelect=Ke.webkitUserSelect=Ke.MozUserSelect="none"),("on"===j||!Ae.draggable)&&(Ke.webkitUserDrag="none"),Ke.touchAction="none",Ke.webkitTapHighlightColor="transparent"}}}return U.\u0275fac=function(j){o.$Z()},U.\u0275dir=o.lG2({type:U,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"]}}),U})(),A=(()=>{class U extends y{constructor(j,Ae,Ke,qe,ct,Ie,xe,le,_e,se,Ye,Te){super(j,Ae,Ke,qe,ct,Ie,xe,le,_e,se,Ye,Te),this._tooltipComponent=g,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(j){const Ke=!this._dir||"ltr"==this._dir.value;return"top"===j.originY?j.offsetY=-8:"bottom"===j.originY?j.offsetY=8:"start"===j.originX?j.offsetX=Ke?-8:8:"end"===j.originX&&(j.offsetX=Ke?8:-8),j}}return U.\u0275fac=function(j){return new(j||U)(o.Y36(S.aV),o.Y36(o.SBq),o.Y36(w.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(u.t4),o.Y36(P.$s),o.Y36(P.tE),o.Y36(X),o.Y36(d.Is,8),o.Y36(ie,8),o.Y36(C.K0))},U.\u0275dir=o.lG2({type:U,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[o.qOj]}),U})(),k=(()=>{class U{constructor(j,Ae){this._changeDetectorRef=j,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new E.x,this._animationsDisabled="NoopAnimations"===Ae}show(j){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},j)}hide(j){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},j)}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:j}){(!j||!this._triggerElement.contains(j))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:j}){(j===this._showAnimation||j===this._hideAnimation)&&this._finalizeAnimation(j===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(j){j?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(j){const Ae=this._tooltip.nativeElement,Ke=this._showAnimation,qe=this._hideAnimation;if(Ae.classList.remove(j?qe:Ke),Ae.classList.add(j?Ke:qe),this._isVisible=j,j&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const ct=getComputedStyle(Ae);("0s"===ct.getPropertyValue("animation-duration")||"none"===ct.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}j&&this._onShow(),this._animationsDisabled&&(Ae.classList.add("_mat-animation-noopable"),this._finalizeAnimation(j))}}return U.\u0275fac=function(j){return new(j||U)(o.Y36(o.sBO),o.Y36(o.QbO,8))},U.\u0275dir=o.lG2({type:U}),U})(),g=(()=>{class U extends k{constructor(j,Ae,Ke){super(j,Ke),this._elementRef=Ae,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const j=this._elementRef.nativeElement.getBoundingClientRect();return j.height>24&&j.width>=200}}return U.\u0275fac=function(j){return new(j||U)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.QbO,8))},U.\u0275cmp=o.Xpm({type:U,selectors:[["mat-tooltip-component"]],viewQuery:function(j,Ae){if(1&j&&o.Gf(G,7),2&j){let Ke;o.iGM(Ke=o.CRH())&&(Ae._tooltip=Ke.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(j,Ae){1&j&&o.NdJ("mouseleave",function(qe){return Ae._handleMouseLeave(qe)}),2&j&&o.Udp("zoom",Ae.isVisible()?1:null)},features:[o.qOj],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(j,Ae){1&j&&(o.TgZ(0,"div",0,1),o.NdJ("animationend",function(qe){return Ae._handleAnimationEnd(qe)}),o.TgZ(2,"div",2),o._uU(3),o.qZA()()),2&j&&(o.ekj("mdc-tooltip--multiline",Ae._isMultiline),o.Q6J("ngClass",Ae.tooltipClass),o.xp6(3),o.Oqu(Ae.message))},dependencies:[C.mk],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.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{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}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.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}),U})(),b=(()=>{class U{}return U.\u0275fac=function(j){return new(j||U)},U.\u0275mod=o.oAB({type:U}),U.\u0275inj=o.cJS({providers:[ue],imports:[P.rt,C.ez,S.U8,z.BQ,z.BQ,w.ZD]}),U})()},5423:(Ve,Q,m)=>{"use strict";m.d(Q,{Ar:()=>N,GZ:()=>I,WX:()=>ue,dp:()=>Y,eu:()=>G,fQ:()=>w,gi:()=>z,uo:()=>S});var t=m(7851),e=m(4650),v=m(3238),D=m(1281),o=m(5017),C=m(1135),u=m(6451),P=m(4004);const d=(0,v.sb)((0,v.Id)(t.Hs));let S=(()=>{class he extends d{constructor(ce,$,fe){super(ce,$),this.tabIndex=Number(fe)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return he.\u0275fac=function(ce){return new(ce||he)(e.Y36(e.SBq),e.Y36(t._0),e.$8M("tabindex"))},he.\u0275dir=e.lG2({type:he,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[e._Bn([{provide:t.Hs,useExisting:he}]),e.qOj]}),he})(),w=(()=>{class he extends t.rO{}return he.\u0275fac=function(){let ie;return function($){return(ie||(ie=e.n5z(he)))($||he)}}(),he.\u0275dir=e.lG2({type:he,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[e._Bn([{provide:t.rO,useExisting:he}]),e.qOj]}),he})(),I=(()=>{class he extends t.Xx{constructor(ce,$,fe,T){super(ce,$,fe),this._disabled=!1,this.tabIndex=Number(T)||0}get disabled(){return this._disabled}set disabled(ce){this._disabled=(0,D.Ig)(ce)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ce){this._tabIndex=ce??0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return he.\u0275fac=function(ce){return new(ce||he)(e.Y36(e.SBq),e.Y36(t._0),e.Y36(e.ZZ4),e.$8M("tabindex"))},he.\u0275dir=e.lG2({type:he,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[e._Bn([{provide:t.Xx,useExisting:he},{provide:t.Hs,useExisting:he},{provide:t.HI,useExisting:he}]),e.qOj]}),he})(),N=(()=>{class he{constructor(ce,$){this.viewContainer=ce,this._node=$}}return he.\u0275fac=function(ce){return new(ce||he)(e.Y36(e.s_b),e.Y36(t.HI,8))},he.\u0275dir=e.lG2({type:he,selectors:[["","matTreeNodeOutlet",""]],features:[e._Bn([{provide:t.cu,useExisting:he}])]}),he})(),z=(()=>{class he extends t._0{}return he.\u0275fac=function(){let ie;return function($){return(ie||(ie=e.n5z(he)))($||he)}}(),he.\u0275cmp=e.Xpm({type:he,selectors:[["mat-tree"]],viewQuery:function(ce,$){if(1&ce&&e.Gf(N,7),2&ce){let fe;e.iGM(fe=e.CRH())&&($._nodeOutlet=fe.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[e._Bn([{provide:t._0,useExisting:he}]),e.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(ce,$){1&ce&&e.GkF(0,0)},dependencies:[N],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2}),he})(),G=(()=>{class he extends t.Ud{}return he.\u0275fac=function(){let ie;return function($){return(ie||(ie=e.n5z(he)))($||he)}}(),he.\u0275dir=e.lG2({type:he,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[e._Bn([{provide:t.Ud,useExisting:he}]),e.qOj]}),he})(),Y=(()=>{class he{}return he.\u0275fac=function(ce){return new(ce||he)},he.\u0275mod=e.oAB({type:he}),he.\u0275inj=e.cJS({imports:[t.nZ,v.BQ,v.BQ]}),he})();class ue extends o.o2{constructor(){super(...arguments),this._data=new C.X([])}get data(){return this._data.value}set data(ie){this._data.next(ie)}connect(ie){return(0,u.T)(ie.viewChange,this._data).pipe((0,P.U)(()=>this.data))}disconnect(){}}},1481:(Ve,Q,m)=>{"use strict";m.d(Q,{Dx:()=>ht,H7:()=>vt,b2:()=>Be,q6:()=>oe,se:()=>l,t6:()=>rt});var t=m(6895),e=m(4650);class v extends t.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class D extends v{static makeCurrent(){(0,t.HT)(new D)}onAndCancel(je,Fe,We){return je.addEventListener(Fe,We,!1),()=>{je.removeEventListener(Fe,We,!1)}}dispatchEvent(je,Fe){je.dispatchEvent(Fe)}remove(je){je.parentNode&&je.parentNode.removeChild(je)}createElement(je,Fe){return(Fe=Fe||this.getDefaultDocument()).createElement(je)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(je){return je.nodeType===Node.ELEMENT_NODE}isShadowRoot(je){return je instanceof DocumentFragment}getGlobalEventTarget(je,Fe){return"window"===Fe?window:"document"===Fe?je:"body"===Fe?je.body:null}getBaseHref(je){const Fe=function C(){return o=o||document.querySelector("base"),o?o.getAttribute("href"):null}();return null==Fe?null:function P(Rt){u=u||document.createElement("a"),u.setAttribute("href",Rt);const je=u.pathname;return"/"===je.charAt(0)?je:`/${je}`}(Fe)}resetBaseElement(){o=null}getUserAgent(){return window.navigator.userAgent}getCookie(je){return(0,t.Mx)(document.cookie,je)}}let u,o=null;const d=new e.OlP("TRANSITION_ID"),w=[{provide:e.ip1,useFactory:function S(Rt,je,Fe){return()=>{Fe.get(e.CZH).donePromise.then(()=>{const We=(0,t.q)(),Je=je.querySelectorAll(`style[ng-transition="${Rt}"]`);for(let Tt=0;Tt<Je.length;Tt++)We.remove(Je[Tt])})}},deps:[d,t.K0,e.zs3],multi:!0}];let E=(()=>{class Rt{build(){return new XMLHttpRequest}}return Rt.\u0275fac=function(Fe){return new(Fe||Rt)},Rt.\u0275prov=e.Yz7({token:Rt,factory:Rt.\u0275fac}),Rt})();const N=new e.OlP("EventManagerPlugins");let z=(()=>{class Rt{constructor(Fe,We){this._zone=We,this._eventNameToPlugin=new Map,Fe.forEach(Je=>Je.manager=this),this._plugins=Fe.slice().reverse()}addEventListener(Fe,We,Je){return this._findPluginFor(We).addEventListener(Fe,We,Je)}addGlobalEventListener(Fe,We,Je){return this._findPluginFor(We).addGlobalEventListener(Fe,We,Je)}getZone(){return this._zone}_findPluginFor(Fe){const We=this._eventNameToPlugin.get(Fe);if(We)return We;const Je=this._plugins;for(let Tt=0;Tt<Je.length;Tt++){const ui=Je[Tt];if(ui.supports(Fe))return this._eventNameToPlugin.set(Fe,ui),ui}throw new Error(`No event manager plugin found for event ${Fe}`)}}return Rt.\u0275fac=function(Fe){return new(Fe||Rt)(e.LFG(N),e.LFG(e.R0b))},Rt.\u0275prov=e.Yz7({token:Rt,factory:Rt.\u0275fac}),Rt})();class G{constructor(je){this._doc=je}addGlobalEventListener(je,Fe,We){const Je=(0,t.q)().getGlobalEventTarget(this._doc,je);if(!Je)throw new Error(`Unsupported event target ${Je} for event ${Fe}`);return this.addEventListener(Je,Fe,We)}}let W=(()=>{class Rt{constructor(){this._stylesSet=new Set}addStyles(Fe){const We=new Set;Fe.forEach(Je=>{this._stylesSet.has(Je)||(this._stylesSet.add(Je),We.add(Je))}),this.onStylesAdded(We)}onStylesAdded(Fe){}getAllStyles(){return Array.from(this._stylesSet)}}return Rt.\u0275fac=function(Fe){return new(Fe||Rt)},Rt.\u0275prov=e.Yz7({token:Rt,factory:Rt.\u0275fac}),Rt})(),Y=(()=>{class Rt extends W{constructor(Fe){super(),this._doc=Fe,this._hostNodes=new Map,this._hostNodes.set(Fe.head,[])}_addStylesToHost(Fe,We,Je){Fe.forEach(Tt=>{const ui=this._doc.createElement("style");ui.textContent=Tt,Je.push(We.appendChild(ui))})}addHost(Fe){const We=[];this._addStylesToHost(this._stylesSet,Fe,We),this._hostNodes.set(Fe,We)}removeHost(Fe){const We=this._hostNodes.get(Fe);We&&We.forEach(X),this._hostNodes.delete(Fe)}onStylesAdded(Fe){this._hostNodes.forEach((We,Je)=>{this._addStylesToHost(Fe,Je,We)})}ngOnDestroy(){this._hostNodes.forEach(Fe=>Fe.forEach(X))}}return Rt.\u0275fac=function(Fe){return new(Fe||Rt)(e.LFG(t.K0))},Rt.\u0275prov=e.Yz7({token:Rt,factory:Rt.\u0275fac}),Rt})();function X(Rt){(0,t.q)().remove(Rt)}const ee={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/"},ue=/%COMP%/g;function i(Rt,je){return je.flat(100).map(Fe=>Fe.replace(ue,Rt))}function r(Rt){return je=>{if("__ngUnwrap__"===je)return Rt;!1===Rt(je)&&(je.preventDefault(),je.returnValue=!1)}}let l=(()=>{class Rt{constructor(Fe,We,Je){this.eventManager=Fe,this.sharedStylesHost=We,this.appId=Je,this.rendererByCompId=new Map,this.defaultRenderer=new y(Fe)}createRenderer(Fe,We){if(!Fe||!We)return this.defaultRenderer;switch(We.encapsulation){case e.ifc.Emulated:{let Je=this.rendererByCompId.get(We.id);return Je||(Je=new n(this.eventManager,this.sharedStylesHost,We,this.appId),this.rendererByCompId.set(We.id,Je)),Je.applyToHost(Fe),Je}case 1:case e.ifc.ShadowDom:return new b(this.eventManager,this.sharedStylesHost,Fe,We);default:if(!this.rendererByCompId.has(We.id)){const Je=i(We.id,We.styles);this.sharedStylesHost.addStyles(Je),this.rendererByCompId.set(We.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Rt.\u0275fac=function(Fe){return new(Fe||Rt)(e.LFG(z),e.LFG(Y),e.LFG(e.AFp))},Rt.\u0275prov=e.Yz7({token:Rt,factory:Rt.\u0275fac}),Rt})();class y{constructor(je){this.eventManager=je,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(je,Fe){return Fe?document.createElementNS(ee[Fe]||Fe,je):document.createElement(je)}createComment(je){return document.createComment(je)}createText(je){return document.createTextNode(je)}appendChild(je,Fe){(g(je)?je.content:je).appendChild(Fe)}insertBefore(je,Fe,We){je&&(g(je)?je.content:je).insertBefore(Fe,We)}removeChild(je,Fe){je&&je.removeChild(Fe)}selectRootElement(je,Fe){let We="string"==typeof je?document.querySelector(je):je;if(!We)throw new Error(`The selector "${je}" did not match any elements`);return Fe||(We.textContent=""),We}parentNode(je){return je.parentNode}nextSibling(je){return je.nextSibling}setAttribute(je,Fe,We,Je){if(Je){Fe=Je+":"+Fe;const Tt=ee[Je];Tt?je.setAttributeNS(Tt,Fe,We):je.setAttribute(Fe,We)}else je.setAttribute(Fe,We)}removeAttribute(je,Fe,We){if(We){const Je=ee[We];Je?je.removeAttributeNS(Je,Fe):je.removeAttribute(`${We}:${Fe}`)}else je.removeAttribute(Fe)}addClass(je,Fe){je.classList.add(Fe)}removeClass(je,Fe){je.classList.remove(Fe)}setStyle(je,Fe,We,Je){Je&(e.JOm.DashCase|e.JOm.Important)?je.style.setProperty(Fe,We,Je&e.JOm.Important?"important":""):je.style[Fe]=We}removeStyle(je,Fe,We){We&e.JOm.DashCase?je.style.removeProperty(Fe):je.style[Fe]=""}setProperty(je,Fe,We){je[Fe]=We}setValue(je,Fe){je.nodeValue=Fe}listen(je,Fe,We){return"string"==typeof je?this.eventManager.addGlobalEventListener(je,Fe,r(We)):this.eventManager.addEventListener(je,Fe,r(We))}}function g(Rt){return"TEMPLATE"===Rt.tagName&&void 0!==Rt.content}class n extends y{constructor(je,Fe,We,Je){super(je),this.component=We;const Tt=i(Je+"-"+We.id,We.styles);Fe.addStyles(Tt),this.contentAttr=function fe(Rt){return"_ngcontent-%COMP%".replace(ue,Rt)}(Je+"-"+We.id),this.hostAttr=function T(Rt){return"_nghost-%COMP%".replace(ue,Rt)}(Je+"-"+We.id)}applyToHost(je){super.setAttribute(je,this.hostAttr,"")}createElement(je,Fe){const We=super.createElement(je,Fe);return super.setAttribute(We,this.contentAttr,""),We}}class b extends y{constructor(je,Fe,We,Je){super(je),this.sharedStylesHost=Fe,this.hostEl=We,this.shadowRoot=We.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Tt=i(Je.id,Je.styles);for(let ui=0;ui<Tt.length;ui++){const Ei=document.createElement("style");Ei.textContent=Tt[ui],this.shadowRoot.appendChild(Ei)}}nodeOrShadowRoot(je){return je===this.hostEl?this.shadowRoot:je}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(je,Fe){return super.appendChild(this.nodeOrShadowRoot(je),Fe)}insertBefore(je,Fe,We){return super.insertBefore(this.nodeOrShadowRoot(je),Fe,We)}removeChild(je,Fe){return super.removeChild(this.nodeOrShadowRoot(je),Fe)}parentNode(je){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(je)))}}let U=(()=>{class Rt extends G{constructor(Fe){super(Fe)}supports(Fe){return!0}addEventListener(Fe,We,Je){return Fe.addEventListener(We,Je,!1),()=>this.removeEventListener(Fe,We,Je)}removeEventListener(Fe,We,Je){return Fe.removeEventListener(We,Je)}}return Rt.\u0275fac=function(Fe){return new(Fe||Rt)(e.LFG(t.K0))},Rt.\u0275prov=e.Yz7({token:Rt,factory:Rt.\u0275fac}),Rt})();const V=["alt","control","meta","shift"],j={"\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"},Ae={alt:Rt=>Rt.altKey,control:Rt=>Rt.ctrlKey,meta:Rt=>Rt.metaKey,shift:Rt=>Rt.shiftKey};let Ke=(()=>{class Rt extends G{constructor(Fe){super(Fe)}supports(Fe){return null!=Rt.parseEventName(Fe)}addEventListener(Fe,We,Je){const Tt=Rt.parseEventName(We),ui=Rt.eventCallback(Tt.fullKey,Je,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,t.q)().onAndCancel(Fe,Tt.domEventName,ui))}static parseEventName(Fe){const We=Fe.toLowerCase().split("."),Je=We.shift();if(0===We.length||"keydown"!==Je&&"keyup"!==Je)return null;const Tt=Rt._normalizeKey(We.pop());let ui="",Ei=We.indexOf("code");if(Ei>-1&&(We.splice(Ei,1),ui="code."),V.forEach(Vi=>{const $e=We.indexOf(Vi);$e>-1&&(We.splice($e,1),ui+=Vi+".")}),ui+=Tt,0!=We.length||0===Tt.length)return null;const xi={};return xi.domEventName=Je,xi.fullKey=ui,xi}static matchEventFullKeyCode(Fe,We){let Je=j[Fe.key]||Fe.key,Tt="";return We.indexOf("code.")>-1&&(Je=Fe.code,Tt="code."),!(null==Je||!Je)&&(Je=Je.toLowerCase()," "===Je?Je="space":"."===Je&&(Je="dot"),V.forEach(ui=>{ui!==Je&&(0,Ae[ui])(Fe)&&(Tt+=ui+".")}),Tt+=Je,Tt===We)}static eventCallback(Fe,We,Je){return Tt=>{Rt.matchEventFullKeyCode(Tt,Fe)&&Je.runGuarded(()=>We(Tt))}}static _normalizeKey(Fe){return"esc"===Fe?"escape":Fe}}return Rt.\u0275fac=function(Fe){return new(Fe||Rt)(e.LFG(t.K0))},Rt.\u0275prov=e.Yz7({token:Rt,factory:Rt.\u0275fac}),Rt})();const oe=(0,e.eFA)(e._c5,"browser",[{provide:e.Lbi,useValue:t.bD},{provide:e.g9A,useValue:function _e(){D.makeCurrent()},multi:!0},{provide:t.K0,useFactory:function Ye(){return(0,e.RDi)(document),document},deps:[]}]),be=new e.OlP(""),te=[{provide:e.rWj,useClass:class I{addToWindow(je){e.dqk.getAngularTestability=(We,Je=!0)=>{const Tt=je.findTestabilityInTree(We,Je);if(null==Tt)throw new Error("Could not find testability for element.");return Tt},e.dqk.getAllAngularTestabilities=()=>je.getAllTestabilities(),e.dqk.getAllAngularRootElements=()=>je.getAllRootElements(),e.dqk.frameworkStabilizers||(e.dqk.frameworkStabilizers=[]),e.dqk.frameworkStabilizers.push(We=>{const Je=e.dqk.getAllAngularTestabilities();let Tt=Je.length,ui=!1;const Ei=function(xi){ui=ui||xi,Tt--,0==Tt&&We(ui)};Je.forEach(function(xi){xi.whenStable(Ei)})})}findTestabilityInTree(je,Fe,We){return null==Fe?null:je.getTestability(Fe)??(We?(0,t.q)().isShadowRoot(Fe)?this.findTestabilityInTree(je,Fe.host,!0):this.findTestabilityInTree(je,Fe.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]}],Ue=[{provide:e.zSh,useValue:"root"},{provide:e.qLn,useFactory:function se(){return new e.qLn},deps:[]},{provide:N,useClass:U,multi:!0,deps:[t.K0,e.R0b,e.Lbi]},{provide:N,useClass:Ke,multi:!0,deps:[t.K0]},{provide:l,useClass:l,deps:[z,Y,e.AFp]},{provide:e.FYo,useExisting:l},{provide:W,useExisting:Y},{provide:Y,useClass:Y,deps:[t.K0]},{provide:z,useClass:z,deps:[N,e.R0b]},{provide:t.JF,useClass:E,deps:[]},[]];let Be=(()=>{class Rt{constructor(Fe){}static withServerTransition(Fe){return{ngModule:Rt,providers:[{provide:e.AFp,useValue:Fe.appId},{provide:d,useExisting:e.AFp},w]}}}return Rt.\u0275fac=function(Fe){return new(Fe||Rt)(e.LFG(be,12))},Rt.\u0275mod=e.oAB({type:Rt}),Rt.\u0275inj=e.cJS({providers:[...Ue,...te],imports:[t.ez,e.hGG]}),Rt})(),ht=(()=>{class Rt{constructor(Fe){this._doc=Fe}getTitle(){return this._doc.title}setTitle(Fe){this._doc.title=Fe||""}}return Rt.\u0275fac=function(Fe){return new(Fe||Rt)(e.LFG(t.K0))},Rt.\u0275prov=e.Yz7({token:Rt,factory:function(Fe){let We=null;return We=Fe?new Fe:function ke(){return new ht((0,e.LFG)(t.K0))}(),We},providedIn:"root"}),Rt})();typeof window<"u"&&window;const at={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},ni=new e.OlP("HammerGestureConfig"),Gt=new e.OlP("HammerLoader");let ti=(()=>{class Rt{constructor(){this.events=[],this.overrides={}}buildHammer(Fe){const We=new Hammer(Fe,this.options);We.get("pinch").set({enable:!0}),We.get("rotate").set({enable:!0});for(const Je in this.overrides)We.get(Je).set(this.overrides[Je]);return We}}return Rt.\u0275fac=function(Fe){return new(Fe||Rt)},Rt.\u0275prov=e.Yz7({token:Rt,factory:Rt.\u0275fac}),Rt})(),dt=(()=>{class Rt extends G{constructor(Fe,We,Je,Tt){super(Fe),this._config=We,this.console=Je,this.loader=Tt,this._loaderPromise=null}supports(Fe){return!(!at.hasOwnProperty(Fe.toLowerCase())&&!this.isCustomEvent(Fe)||!window.Hammer&&!this.loader)}addEventListener(Fe,We,Je){const Tt=this.manager.getZone();if(We=We.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Tt.runOutsideAngular(()=>this.loader());let ui=!1,Ei=()=>{ui=!0};return Tt.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?ui||(Ei=this.addEventListener(Fe,We,Je)):Ei=()=>{}}).catch(()=>{Ei=()=>{}})),()=>{Ei()}}return Tt.runOutsideAngular(()=>{const ui=this._config.buildHammer(Fe),Ei=function(xi){Tt.runGuarded(function(){Je(xi)})};return ui.on(We,Ei),()=>{ui.off(We,Ei),"function"==typeof ui.destroy&&ui.destroy()}})}isCustomEvent(Fe){return this._config.events.indexOf(Fe)>-1}}return Rt.\u0275fac=function(Fe){return new(Fe||Rt)(e.LFG(t.K0),e.LFG(ni),e.LFG(e.c2e),e.LFG(Gt,8))},Rt.\u0275prov=e.Yz7({token:Rt,factory:Rt.\u0275fac}),Rt})(),rt=(()=>{class Rt{}return Rt.\u0275fac=function(Fe){return new(Fe||Rt)},Rt.\u0275mod=e.oAB({type:Rt}),Rt.\u0275inj=e.cJS({providers:[{provide:N,useClass:dt,multi:!0,deps:[t.K0,ni,e.c2e,[new e.FiY,Gt]]},{provide:ni,useClass:ti,deps:[]}]}),Rt})(),vt=(()=>{class Rt{}return Rt.\u0275fac=function(Fe){return new(Fe||Rt)},Rt.\u0275prov=e.Yz7({token:Rt,factory:function(Fe){let We=null;return We=Fe?new(Fe||Rt):e.LFG(Ut),We},providedIn:"root"}),Rt})(),Ut=(()=>{class Rt extends vt{constructor(Fe){super(),this._doc=Fe}sanitize(Fe,We){if(null==We)return null;switch(Fe){case e.q3G.NONE:return We;case e.q3G.HTML:return(0,e.qzn)(We,"HTML")?(0,e.z3N)(We):(0,e.EiD)(this._doc,String(We)).toString();case e.q3G.STYLE:return(0,e.qzn)(We,"Style")?(0,e.z3N)(We):We;case e.q3G.SCRIPT:if((0,e.qzn)(We,"Script"))return(0,e.z3N)(We);throw new Error("unsafe value used in a script context");case e.q3G.URL:return(0,e.qzn)(We,"URL")?(0,e.z3N)(We):(0,e.mCW)(String(We));case e.q3G.RESOURCE_URL:if((0,e.qzn)(We,"ResourceURL"))return(0,e.z3N)(We);throw new Error(`unsafe value used in a resource URL context (see ${e.JZr})`);default:throw new Error(`Unexpected SecurityContext ${Fe} (see ${e.JZr})`)}}bypassSecurityTrustHtml(Fe){return(0,e.JVY)(Fe)}bypassSecurityTrustStyle(Fe){return(0,e.L6k)(Fe)}bypassSecurityTrustScript(Fe){return(0,e.eBb)(Fe)}bypassSecurityTrustUrl(Fe){return(0,e.LAX)(Fe)}bypassSecurityTrustResourceUrl(Fe){return(0,e.pB0)(Fe)}}return Rt.\u0275fac=function(Fe){return new(Fe||Rt)(e.LFG(t.K0))},Rt.\u0275prov=e.Yz7({token:Rt,factory:function(Fe){let We=null;return We=Fe?new Fe:function ai(Rt){return new Ut(Rt.get(t.K0))}(e.LFG(e.zs3)),We},providedIn:"root"}),Rt})()},9116:(Ve,Q,m)=>{"use strict";m.d(Q,{gz:()=>Fr,gk:()=>dn,m2:()=>Li,Q3:()=>on,OD:()=>zt,Av:()=>fr,F0:()=>ba,rH:()=>xc,Od:()=>Cc,Bz:()=>dd,lC:()=>ga});var t=m(4650),e=m(457),v=m(9646),D=m(1135),o=m(6805),C=m(9841),u=m(7272),P=m(9770),d=m(9635),S=m(2843),w=m(9751),I=m(515),E=m(4033),N=m(7579),z=m(6895),G=m(4004),W=m(3900),Y=m(5698),X=m(8675),ee=m(9300),ue=m(5577),he=m(590),ie=m(4351),ce=m(8505),$=m(262),fe=m(5026),T=m(4482),i=m(5403);function r(me){return me<=0?()=>I.E:(0,T.e)((we,re)=>{let ze=[];we.subscribe((0,i.x)(re,lt=>{ze.push(lt),me<ze.length&&ze.shift()},()=>{for(const lt of ze)re.next(lt);re.complete()},void 0,()=>{ze=null}))})}var h=m(8068),l=m(6590),y=m(4671);function A(me,we){const re=arguments.length>=2;return ze=>ze.pipe(me?(0,ee.h)((lt,At)=>me(lt,At,ze)):y.y,r(1),re?(0,l.d)(we):(0,h.T)(()=>new o.K))}var k=m(2529),g=m(9718),n=m(8746),b=m(8343),U=m(8189),V=m(1481);const j="primary",Ae=Symbol("RouteTitle");class Ke{constructor(we){this.params=we||{}}has(we){return Object.prototype.hasOwnProperty.call(this.params,we)}get(we){if(this.has(we)){const re=this.params[we];return Array.isArray(re)?re[0]:re}return null}getAll(we){if(this.has(we)){const re=this.params[we];return Array.isArray(re)?re:[re]}return[]}get keys(){return Object.keys(this.params)}}function qe(me){return new Ke(me)}function ct(me,we,re){const ze=re.path.split("/");if(ze.length>me.length||"full"===re.pathMatch&&(we.hasChildren()||ze.length<me.length))return null;const lt={};for(let At=0;At<ze.length;At++){const kt=ze[At],ci=me[At];if(kt.startsWith(":"))lt[kt.substring(1)]=ci;else if(kt!==ci.path)return null}return{consumed:me.slice(0,ze.length),posParams:lt}}function xe(me,we){const re=me?Object.keys(me):void 0,ze=we?Object.keys(we):void 0;if(!re||!ze||re.length!=ze.length)return!1;let lt;for(let At=0;At<re.length;At++)if(lt=re[At],!le(me[lt],we[lt]))return!1;return!0}function le(me,we){if(Array.isArray(me)&&Array.isArray(we)){if(me.length!==we.length)return!1;const re=[...me].sort(),ze=[...we].sort();return re.every((lt,At)=>ze[At]===lt)}return me===we}function _e(me){return Array.prototype.concat.apply([],me)}function se(me){return me.length>0?me[me.length-1]:null}function Te(me,we){for(const re in me)me.hasOwnProperty(re)&&we(me[re],re)}function oe(me){return(0,t.CqO)(me)?me:(0,t.QGY)(me)?(0,e.D)(Promise.resolve(me)):(0,v.of)(me)}const be=!1,te={exact:function de(me,we,re){if(!ne(me.segments,we.segments)||!nt(me.segments,we.segments,re)||me.numberOfChildren!==we.numberOfChildren)return!1;for(const ze in we.children)if(!me.children[ze]||!de(me.children[ze],we.children[ze],re))return!1;return!0},subset:ke},Ue={exact:function q(me,we){return xe(me,we)},subset:function Ce(me,we){return Object.keys(we).length<=Object.keys(me).length&&Object.keys(we).every(re=>le(me[re],we[re]))},ignored:()=>!0};function Be(me,we,re){return te[re.paths](me.root,we.root,re.matrixParams)&&Ue[re.queryParams](me.queryParams,we.queryParams)&&!("exact"===re.fragment&&me.fragment!==we.fragment)}function ke(me,we,re){return ht(me,we,we.segments,re)}function ht(me,we,re,ze){if(me.segments.length>re.length){const lt=me.segments.slice(0,re.length);return!(!ne(lt,re)||we.hasChildren()||!nt(lt,re,ze))}if(me.segments.length===re.length){if(!ne(me.segments,re)||!nt(me.segments,re,ze))return!1;for(const lt in we.children)if(!me.children[lt]||!ke(me.children[lt],we.children[lt],ze))return!1;return!0}{const lt=re.slice(0,me.segments.length),At=re.slice(me.segments.length);return!!(ne(me.segments,lt)&&nt(me.segments,lt,ze)&&me.children[j])&&ht(me.children[j],we,At,ze)}}function nt(me,we,re){return we.every((ze,lt)=>Ue[re](me[lt].parameters,ze.parameters))}class wt{constructor(we=new it([],{}),re={},ze=null){this.root=we,this.queryParams=re,this.fragment=ze}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=qe(this.queryParams)),this._queryParamMap}toString(){return Ct.serialize(this)}}class it{constructor(we,re){this.segments=we,this.children=re,this.parent=null,Te(re,(ze,lt)=>ze.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Pe(this)}}class qt{constructor(we,re){this.path=we,this.parameters=re}get parameterMap(){return this._parameterMap||(this._parameterMap=qe(this.parameters)),this._parameterMap}toString(){return ve(this)}}function ne(me,we){return me.length===we.length&&me.every((re,ze)=>re.path===we[ze].path)}let De=(()=>{class me{}return me.\u0275fac=function(re){return new(re||me)},me.\u0275prov=t.Yz7({token:me,factory:function(){return new He},providedIn:"root"}),me})();class He{parse(we){const re=new ai(we);return new wt(re.parseRootSegment(),re.parseQueryParams(),re.parseFragment())}serialize(we){const re=`/${tt(we.root,!0)}`,ze=function at(me){const we=Object.keys(me).map(re=>{const ze=me[re];return Array.isArray(ze)?ze.map(lt=>`${Lt(re)}=${Lt(lt)}`).join("&"):`${Lt(re)}=${Lt(ze)}`}).filter(re=>!!re);return we.length?`?${we.join("&")}`:""}(we.queryParams);return`${re}${ze}${"string"==typeof we.fragment?`#${function Ht(me){return encodeURI(me)}(we.fragment)}`:""}`}}const Ct=new He;function Pe(me){return me.segments.map(we=>ve(we)).join("/")}function tt(me,we){if(!me.hasChildren())return Pe(me);if(we){const re=me.children[j]?tt(me.children[j],!1):"",ze=[];return Te(me.children,(lt,At)=>{At!==j&&ze.push(`${At}:${tt(lt,!1)}`)}),ze.length>0?`${re}(${ze.join("//")})`:re}{const re=function Nt(me,we){let re=[];return Te(me.children,(ze,lt)=>{lt===j&&(re=re.concat(we(ze,lt)))}),Te(me.children,(ze,lt)=>{lt!==j&&(re=re.concat(we(ze,lt)))}),re}(me,(ze,lt)=>lt===j?[tt(me.children[j],!1)]:[`${lt}:${tt(ze,!1)}`]);return 1===Object.keys(me.children).length&&null!=me.children[j]?`${Pe(me)}/${re[0]}`:`${Pe(me)}/(${re.join("//")})`}}function Bt(me){return encodeURIComponent(me).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Lt(me){return Bt(me).replace(/%3B/gi,";")}function bt(me){return Bt(me).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Me(me){return decodeURIComponent(me)}function J(me){return Me(me.replace(/\+/g,"%20"))}function ve(me){return`${bt(me.path)}${function Re(me){return Object.keys(me).map(we=>`;${bt(we)}=${bt(me[we])}`).join("")}(me.parameters)}`}const ni=/^[^\/()?;=#]+/;function Gt(me){const we=me.match(ni);return we?we[0]:""}const ti=/^[^=?&#]+/,rt=/^[^&#]+/;class ai{constructor(we){this.url=we,this.remaining=we}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new it([],{}):new it([],this.parseChildren())}parseQueryParams(){const we={};if(this.consumeOptional("?"))do{this.parseQueryParam(we)}while(this.consumeOptional("&"));return we}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const we=[];for(this.peekStartsWith("(")||we.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),we.push(this.parseSegment());let re={};this.peekStartsWith("/(")&&(this.capture("/"),re=this.parseParens(!0));let ze={};return this.peekStartsWith("(")&&(ze=this.parseParens(!1)),(we.length>0||Object.keys(re).length>0)&&(ze[j]=new it(we,re)),ze}parseSegment(){const we=Gt(this.remaining);if(""===we&&this.peekStartsWith(";"))throw new t.vHH(4009,be);return this.capture(we),new qt(Me(we),this.parseMatrixParams())}parseMatrixParams(){const we={};for(;this.consumeOptional(";");)this.parseParam(we);return we}parseParam(we){const re=Gt(this.remaining);if(!re)return;this.capture(re);let ze="";if(this.consumeOptional("=")){const lt=Gt(this.remaining);lt&&(ze=lt,this.capture(ze))}we[Me(re)]=Me(ze)}parseQueryParam(we){const re=function dt(me){const we=me.match(ti);return we?we[0]:""}(this.remaining);if(!re)return;this.capture(re);let ze="";if(this.consumeOptional("=")){const kt=function vt(me){const we=me.match(rt);return we?we[0]:""}(this.remaining);kt&&(ze=kt,this.capture(ze))}const lt=J(re),At=J(ze);if(we.hasOwnProperty(lt)){let kt=we[lt];Array.isArray(kt)||(kt=[kt],we[lt]=kt),kt.push(At)}else we[lt]=At}parseParens(we){const re={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const ze=Gt(this.remaining),lt=this.remaining[ze.length];if("/"!==lt&&")"!==lt&&";"!==lt)throw new t.vHH(4010,be);let At;ze.indexOf(":")>-1?(At=ze.slice(0,ze.indexOf(":")),this.capture(At),this.capture(":")):we&&(At=j);const kt=this.parseChildren();re[At]=1===Object.keys(kt).length?kt[j]:new it([],kt),this.consumeOptional("//")}return re}peekStartsWith(we){return this.remaining.startsWith(we)}consumeOptional(we){return!!this.peekStartsWith(we)&&(this.remaining=this.remaining.substring(we.length),!0)}capture(we){if(!this.consumeOptional(we))throw new t.vHH(4011,be)}}function Ut(me){return me.segments.length>0?new it([],{[j]:me}):me}function Vt(me){const we={};for(const ze of Object.keys(me.children)){const At=Vt(me.children[ze]);(At.segments.length>0||At.hasChildren())&&(we[ze]=At)}return function Rt(me){if(1===me.numberOfChildren&&me.children[j]){const we=me.children[j];return new it(me.segments.concat(we.segments),we.children)}return me}(new it(me.segments,we))}function je(me){return me instanceof wt}function ui(me,we,re,ze,lt){if(0===re.length)return Vi(we.root,we.root,we.root,ze,lt);const At=function ye(me){if("string"==typeof me[0]&&1===me.length&&"/"===me[0])return new Mt(!0,0,me);let we=0,re=!1;const ze=me.reduce((lt,At,kt)=>{if("object"==typeof At&&null!=At){if(At.outlets){const ci={};return Te(At.outlets,(Ti,en)=>{ci[en]="string"==typeof Ti?Ti.split("/"):Ti}),[...lt,{outlets:ci}]}if(At.segmentPath)return[...lt,At.segmentPath]}return"string"!=typeof At?[...lt,At]:0===kt?(At.split("/").forEach((ci,Ti)=>{0==Ti&&"."===ci||(0==Ti&&""===ci?re=!0:".."===ci?we++:""!=ci&<.push(ci))}),lt):[...lt,At]},[]);return new Mt(re,we,ze)}(re);return At.toRoot()?Vi(we.root,we.root,new it([],{}),ze,lt):function kt(Ti){const en=function mi(me,we,re,ze){if(me.isAbsolute)return new Ot(we.root,!0,0);if(-1===ze)return new Ot(re,re===we.root,0);return function Mi(me,we,re){let ze=me,lt=we,At=re;for(;At>lt;){if(At-=lt,ze=ze.parent,!ze)throw new t.vHH(4005,!1);lt=ze.segments.length}return new Ot(ze,!1,lt-At)}(re,ze+(Ei(me.commands[0])?0:1),me.numberOfDoubleDots)}(At,we,me.snapshot?._urlSegment,Ti),an=en.processChildren?Zt(en.segmentGroup,en.index,At.commands):Wi(en.segmentGroup,en.index,At.commands);return Vi(we.root,en.segmentGroup,an,ze,lt)}(me.snapshot?._lastPathIndex)}function Ei(me){return"object"==typeof me&&null!=me&&!me.outlets&&!me.segmentPath}function xi(me){return"object"==typeof me&&null!=me&&me.outlets}function Vi(me,we,re,ze,lt){let kt,At={};ze&&Te(ze,(Ti,en)=>{At[en]=Array.isArray(Ti)?Ti.map(an=>`${an}`):`${Ti}`}),kt=me===we?re:$e(me,we,re);const ci=Ut(Vt(kt));return new wt(ci,At,lt)}function $e(me,we,re){const ze={};return Te(me.children,(lt,At)=>{ze[At]=lt===we?re:$e(lt,we,re)}),new it(me.segments,ze)}class Mt{constructor(we,re,ze){if(this.isAbsolute=we,this.numberOfDoubleDots=re,this.commands=ze,we&&ze.length>0&&Ei(ze[0]))throw new t.vHH(4003,!1);const lt=ze.find(xi);if(lt&<!==se(ze))throw new t.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ot{constructor(we,re,ze){this.segmentGroup=we,this.processChildren=re,this.index=ze}}function Wi(me,we,re){if(me||(me=new it([],{})),0===me.segments.length&&me.hasChildren())return Zt(me,we,re);const ze=function oi(me,we,re){let ze=0,lt=we;const At={match:!1,pathIndex:0,commandIndex:0};for(;lt<me.segments.length;){if(ze>=re.length)return At;const kt=me.segments[lt],ci=re[ze];if(xi(ci))break;const Ti=`${ci}`,en=ze<re.length-1?re[ze+1]:null;if(lt>0&&void 0===Ti)break;if(Ti&&en&&"object"==typeof en&&void 0===en.outlets){if(!pt(Ti,en,kt))return At;ze+=2}else{if(!pt(Ti,{},kt))return At;ze++}lt++}return{match:!0,pathIndex:lt,commandIndex:ze}}(me,we,re),lt=re.slice(ze.commandIndex);if(ze.match&&ze.pathIndex<me.segments.length){const At=new it(me.segments.slice(0,ze.pathIndex),{});return At.children[j]=new it(me.segments.slice(ze.pathIndex),me.children),Zt(At,0,lt)}return ze.match&&0===lt.length?new it(me.segments,{}):ze.match&&!me.hasChildren()?ge(me,we,re):ze.match?Zt(me,0,lt):ge(me,we,re)}function Zt(me,we,re){if(0===re.length)return new it(me.segments,{});{const ze=function Pi(me){return xi(me[0])?me[0].outlets:{[j]:me}}(re),lt={};return Te(ze,(At,kt)=>{"string"==typeof At&&(At=[At]),null!==At&&(lt[kt]=Wi(me.children[kt],we,At))}),Te(me.children,(At,kt)=>{void 0===ze[kt]&&(lt[kt]=At)}),new it(me.segments,lt)}}function ge(me,we,re){const ze=me.segments.slice(0,we);let lt=0;for(;lt<re.length;){const At=re[lt];if(xi(At)){const Ti=Xe(At.outlets);return new it(ze,Ti)}if(0===lt&&Ei(re[0])){ze.push(new qt(me.segments[we].path,St(re[0]))),lt++;continue}const kt=xi(At)?At.outlets[j]:`${At}`,ci=lt<re.length-1?re[lt+1]:null;kt&&ci&&Ei(ci)?(ze.push(new qt(kt,St(ci))),lt+=2):(ze.push(new qt(kt,{})),lt++)}return new it(ze,{})}function Xe(me){const we={};return Te(me,(re,ze)=>{"string"==typeof re&&(re=[re]),null!==re&&(we[ze]=ge(new it([],{}),0,re))}),we}function St(me){const we={};return Te(me,(re,ze)=>we[ze]=`${re}`),we}function pt(me,we,re){return me==re.path&&xe(we,re.parameters)}class Xt{constructor(we,re){this.id=we,this.url=re}}class zt extends Xt{constructor(we,re,ze="imperative",lt=null){super(we,re),this.type=0,this.navigationTrigger=ze,this.restoredState=lt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Li extends Xt{constructor(we,re,ze){super(we,re),this.urlAfterRedirects=ze,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class dn extends Xt{constructor(we,re,ze,lt){super(we,re),this.reason=ze,this.code=lt,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class on extends Xt{constructor(we,re,ze,lt){super(we,re),this.error=ze,this.target=lt,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Xn extends Xt{constructor(we,re,ze,lt){super(we,re),this.urlAfterRedirects=ze,this.state=lt,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gr extends Xt{constructor(we,re,ze,lt){super(we,re),this.urlAfterRedirects=ze,this.state=lt,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bn extends Xt{constructor(we,re,ze,lt,At){super(we,re),this.urlAfterRedirects=ze,this.state=lt,this.shouldActivate=At,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Zr extends Xt{constructor(we,re,ze,lt){super(we,re),this.urlAfterRedirects=ze,this.state=lt,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fr extends Xt{constructor(we,re,ze,lt){super(we,re),this.urlAfterRedirects=ze,this.state=lt,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Nr{constructor(we){this.route=we,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Oi{constructor(we){this.route=we,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ui{constructor(we){this.snapshot=we,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Tn{constructor(we){this.snapshot=we,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qt{constructor(we){this.snapshot=we,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vi{constructor(we){this.snapshot=we,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gi{constructor(we,re,ze){this.routerEvent=we,this.position=re,this.anchor=ze,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let qi=(()=>{class me{createUrlTree(re,ze,lt,At,kt,ci){return ui(re||ze.root,lt,At,kt,ci)}}return me.\u0275fac=function(re){return new(re||me)},me.\u0275prov=t.Yz7({token:me,factory:me.\u0275fac}),me})(),Qn=(()=>{class me{}return me.\u0275fac=function(re){return new(re||me)},me.\u0275prov=t.Yz7({token:me,factory:function(we){return qi.\u0275fac(we)},providedIn:"root"}),me})();class zn{constructor(we){this._root=we}get root(){return this._root.value}parent(we){const re=this.pathFromRoot(we);return re.length>1?re[re.length-2]:null}children(we){const re=ar(we,this._root);return re?re.children.map(ze=>ze.value):[]}firstChild(we){const re=ar(we,this._root);return re&&re.children.length>0?re.children[0].value:null}siblings(we){const re=On(we,this._root);return re.length<2?[]:re[re.length-2].children.map(lt=>lt.value).filter(lt=>lt!==we)}pathFromRoot(we){return On(we,this._root).map(re=>re.value)}}function ar(me,we){if(me===we.value)return we;for(const re of we.children){const ze=ar(me,re);if(ze)return ze}return null}function On(me,we){if(me===we.value)return[we];for(const re of we.children){const ze=On(me,re);if(ze.length)return ze.unshift(we),ze}return[]}class Pn{constructor(we,re){this.value=we,this.children=re}toString(){return`TreeNode(${this.value})`}}function pa(me){const we={};return me&&me.children.forEach(re=>we[re.value.outlet]=re),we}class ir extends zn{constructor(we,re){super(we),this.snapshot=re,os(this,we)}toString(){return this.snapshot.toString()}}function dr(me,we){const re=function Va(me,we){const kt=new Ar([],{},{},"",{},j,we,null,me.root,-1,{});return new Sr("",new Pn(kt,[]))}(me,we),ze=new D.X([new qt("",{})]),lt=new D.X({}),At=new D.X({}),kt=new D.X({}),ci=new D.X(""),Ti=new Fr(ze,lt,kt,ci,At,j,we,re.root);return Ti.snapshot=re.root,new ir(new Pn(Ti,[]),re)}class Fr{constructor(we,re,ze,lt,At,kt,ci,Ti){this.url=we,this.params=re,this.queryParams=ze,this.fragment=lt,this.data=At,this.outlet=kt,this.component=ci,this.title=this.data?.pipe((0,G.U)(en=>en[Ae]))??(0,v.of)(void 0),this._futureSnapshot=Ti}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,G.U)(we=>qe(we)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,G.U)(we=>qe(we)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function jr(me,we="emptyOnly"){const re=me.pathFromRoot;let ze=0;if("always"!==we)for(ze=re.length-1;ze>=1;){const lt=re[ze],At=re[ze-1];if(lt.routeConfig&&""===lt.routeConfig.path)ze--;else{if(At.component)break;ze--}}return function cr(me){return me.reduce((we,re)=>({params:{...we.params,...re.params},data:{...we.data,...re.data},resolve:{...re.data,...we.resolve,...re.routeConfig?.data,...re._resolvedData}}),{params:{},data:{},resolve:{}})}(re.slice(ze))}class Ar{constructor(we,re,ze,lt,At,kt,ci,Ti,en,an,Ln){this.url=we,this.params=re,this.queryParams=ze,this.fragment=lt,this.data=At,this.outlet=kt,this.component=ci,this.routeConfig=Ti,this._urlSegment=en,this._lastPathIndex=an,this._resolve=Ln}get title(){return this.data?.[Ae]}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=qe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=qe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(ze=>ze.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Sr extends zn{constructor(we,re){super(re),this.url=we,os(this,re)}toString(){return wa(this._root)}}function os(me,we){we.value._routerState=me,we.children.forEach(re=>os(me,re))}function wa(me){const we=me.children.length>0?` { ${me.children.map(wa).join(", ")} } `:"";return`${me.value}${we}`}function Ba(me){if(me.snapshot){const we=me.snapshot,re=me._futureSnapshot;me.snapshot=re,xe(we.queryParams,re.queryParams)||me.queryParams.next(re.queryParams),we.fragment!==re.fragment&&me.fragment.next(re.fragment),xe(we.params,re.params)||me.params.next(re.params),function Ie(me,we){if(me.length!==we.length)return!1;for(let re=0;re<me.length;++re)if(!xe(me[re],we[re]))return!1;return!0}(we.url,re.url)||me.url.next(re.url),xe(we.data,re.data)||me.data.next(re.data)}else me.snapshot=me._futureSnapshot,me.data.next(me._futureSnapshot.data)}function cs(me,we){const re=xe(me.params,we.params)&&function _t(me,we){return ne(me,we)&&me.every((re,ze)=>xe(re.parameters,we[ze].parameters))}(me.url,we.url);return re&&!(!me.parent!=!we.parent)&&(!me.parent||cs(me.parent,we.parent))}function ls(me,we,re){if(re&&me.shouldReuseRoute(we.value,re.value.snapshot)){const ze=re.value;ze._futureSnapshot=we.value;const lt=function Lr(me,we,re){return we.children.map(ze=>{for(const lt of re.children)if(me.shouldReuseRoute(ze.value,lt.value.snapshot))return ls(me,ze,lt);return ls(me,ze)})}(me,we,re);return new Pn(ze,lt)}{if(me.shouldAttach(we.value)){const At=me.retrieve(we.value);if(null!==At){const kt=At.route;return kt.value._futureSnapshot=we.value,kt.children=we.children.map(ci=>ls(me,ci)),kt}}const ze=function xs(me){return new Fr(new D.X(me.url),new D.X(me.params),new D.X(me.queryParams),new D.X(me.fragment),new D.X(me.data),me.outlet,me.component,me)}(we.value),lt=we.children.map(At=>ls(me,At));return new Pn(ze,lt)}}const Ja="ngNavigationCancelingError";function Ns(me,we){const{redirectTo:re,navigationBehaviorOptions:ze}=je(we)?{redirectTo:we,navigationBehaviorOptions:void 0}:we,lt=Fs(!1,0,we);return lt.url=re,lt.navigationBehaviorOptions=ze,lt}function Fs(me,we,re){const ze=new Error("NavigationCancelingError: "+(me||""));return ze[Ja]=!0,ze.cancellationCode=we,re&&(ze.url=re),ze}function Ma(me){return ds(me)&&je(me.url)}function ds(me){return me&&me[Ja]}class hs{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new ka,this.attachRef=null}}let ka=(()=>{class me{constructor(){this.contexts=new Map}onChildOutletCreated(re,ze){const lt=this.getOrCreateContext(re);lt.outlet=ze,this.contexts.set(re,lt)}onChildOutletDestroyed(re){const ze=this.getContext(re);ze&&(ze.outlet=null,ze.attachRef=null)}onOutletDeactivated(){const re=this.contexts;return this.contexts=new Map,re}onOutletReAttached(re){this.contexts=re}getOrCreateContext(re){let ze=this.getContext(re);return ze||(ze=new hs,this.contexts.set(re,ze)),ze}getContext(re){return this.contexts.get(re)||null}}return me.\u0275fac=function(re){return new(re||me)},me.\u0275prov=t.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"}),me})();const Oa=!1;let ga=(()=>{class me{constructor(){this.activated=null,this._activatedRoute=null,this.name=j,this.activateEvents=new t.vpe,this.deactivateEvents=new t.vpe,this.attachEvents=new t.vpe,this.detachEvents=new t.vpe,this.parentContexts=(0,t.f3M)(ka),this.location=(0,t.f3M)(t.s_b),this.changeDetector=(0,t.f3M)(t.sBO),this.environmentInjector=(0,t.f3M)(t.lqb)}ngOnChanges(re){if(re.name){const{firstChange:ze,previousValue:lt}=re.name;if(ze)return;this.isTrackedInParentContexts(lt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(lt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(re){return this.parentContexts.getContext(re)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const re=this.parentContexts.getContext(this.name);re?.route&&(re.attachRef?this.attach(re.attachRef,re.route):this.activateWith(re.route,re.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new t.vHH(4012,Oa);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new t.vHH(4012,Oa);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new t.vHH(4012,Oa);this.location.detach();const re=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(re.instance),re}attach(re,ze){this.activated=re,this._activatedRoute=ze,this.location.insert(re.hostView),this.attachEvents.emit(re.instance)}deactivate(){if(this.activated){const re=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(re)}}activateWith(re,ze){if(this.isActivated)throw new t.vHH(4013,Oa);this._activatedRoute=re;const lt=this.location,kt=re.snapshot.component,ci=this.parentContexts.getOrCreateContext(this.name).children,Ti=new Xa(re,ci,lt.injector);if(ze&&function hr(me){return!!me.resolveComponentFactory}(ze)){const en=ze.resolveComponentFactory(kt);this.activated=lt.createComponent(en,lt.length,Ti)}else this.activated=lt.createComponent(kt,{index:lt.length,injector:Ti,environmentInjector:ze??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return me.\u0275fac=function(re){return new(re||me)},me.\u0275dir=t.lG2({type:me,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.TTD]}),me})();class Xa{constructor(we,re,ze){this.route=we,this.childContexts=re,this.parent=ze}get(we,re){return we===Fr?this.route:we===ka?this.childContexts:this.parent.get(we,re)}}let zr=(()=>{class me{}return me.\u0275fac=function(re){return new(re||me)},me.\u0275cmp=t.Xpm({type:me,selectors:[["ng-component"]],standalone:!0,features:[t.jDz],decls:1,vars:0,template:function(re,ze){1&re&&t._UZ(0,"router-outlet")},dependencies:[ga],encapsulation:2}),me})();function _a(me,we){return me.providers&&!me._injector&&(me._injector=(0,t.MMx)(me.providers,we,`Route: ${me.path}`)),me._injector??we}function es(me){const we=me.children&&me.children.map(es),re=we?{...me,children:we}:{...me};return!re.component&&!re.loadComponent&&(we||re.loadChildren)&&re.outlet&&re.outlet!==j&&(re.component=zr),re}function Zn(me){return me.outlet||j}function Ga(me,we){const re=me.filter(ze=>Zn(ze)===we);return re.push(...me.filter(ze=>Zn(ze)!==we)),re}function sr(me){if(!me)return null;if(me.routeConfig?._injector)return me.routeConfig._injector;for(let we=me.parent;we;we=we.parent){const re=we.routeConfig;if(re?._loadedInjector)return re._loadedInjector;if(re?._injector)return re._injector}return null}class Za{constructor(we,re,ze,lt){this.routeReuseStrategy=we,this.futureState=re,this.currState=ze,this.forwardEvent=lt}activate(we){const re=this.futureState._root,ze=this.currState?this.currState._root:null;this.deactivateChildRoutes(re,ze,we),Ba(this.futureState.root),this.activateChildRoutes(re,ze,we)}deactivateChildRoutes(we,re,ze){const lt=pa(re);we.children.forEach(At=>{const kt=At.value.outlet;this.deactivateRoutes(At,lt[kt],ze),delete lt[kt]}),Te(lt,(At,kt)=>{this.deactivateRouteAndItsChildren(At,ze)})}deactivateRoutes(we,re,ze){const lt=we.value,At=re?re.value:null;if(lt===At)if(lt.component){const kt=ze.getContext(lt.outlet);kt&&this.deactivateChildRoutes(we,re,kt.children)}else this.deactivateChildRoutes(we,re,ze);else At&&this.deactivateRouteAndItsChildren(re,ze)}deactivateRouteAndItsChildren(we,re){we.value.component&&this.routeReuseStrategy.shouldDetach(we.value.snapshot)?this.detachAndStoreRouteSubtree(we,re):this.deactivateRouteAndOutlet(we,re)}detachAndStoreRouteSubtree(we,re){const ze=re.getContext(we.value.outlet),lt=ze&&we.value.component?ze.children:re,At=pa(we);for(const kt of Object.keys(At))this.deactivateRouteAndItsChildren(At[kt],lt);if(ze&&ze.outlet){const kt=ze.outlet.detach(),ci=ze.children.onOutletDeactivated();this.routeReuseStrategy.store(we.value.snapshot,{componentRef:kt,route:we,contexts:ci})}}deactivateRouteAndOutlet(we,re){const ze=re.getContext(we.value.outlet),lt=ze&&we.value.component?ze.children:re,At=pa(we);for(const kt of Object.keys(At))this.deactivateRouteAndItsChildren(At[kt],lt);ze&&ze.outlet&&(ze.outlet.deactivate(),ze.children.onOutletDeactivated(),ze.attachRef=null,ze.resolver=null,ze.route=null)}activateChildRoutes(we,re,ze){const lt=pa(re);we.children.forEach(At=>{this.activateRoutes(At,lt[At.value.outlet],ze),this.forwardEvent(new vi(At.value.snapshot))}),we.children.length&&this.forwardEvent(new Tn(we.value.snapshot))}activateRoutes(we,re,ze){const lt=we.value,At=re?re.value:null;if(Ba(lt),lt===At)if(lt.component){const kt=ze.getOrCreateContext(lt.outlet);this.activateChildRoutes(we,re,kt.children)}else this.activateChildRoutes(we,re,ze);else if(lt.component){const kt=ze.getOrCreateContext(lt.outlet);if(this.routeReuseStrategy.shouldAttach(lt.snapshot)){const ci=this.routeReuseStrategy.retrieve(lt.snapshot);this.routeReuseStrategy.store(lt.snapshot,null),kt.children.onOutletReAttached(ci.contexts),kt.attachRef=ci.componentRef,kt.route=ci.route.value,kt.outlet&&kt.outlet.attach(ci.componentRef,ci.route.value),Ba(ci.route.value),this.activateChildRoutes(we,null,kt.children)}else{const ci=sr(lt.snapshot),Ti=ci?.get(t._Vd)??null;kt.attachRef=null,kt.route=lt,kt.resolver=Ti,kt.injector=ci,kt.outlet&&kt.outlet.activateWith(lt,kt.injector),this.activateChildRoutes(we,null,kt.children)}}else this.activateChildRoutes(we,null,ze)}}class Yr{constructor(we){this.path=we,this.route=this.path[this.path.length-1]}}class lr{constructor(we,re){this.component=we,this.route=re}}function aa(me,we,re){const ze=me._root;return yt(ze,we?we._root:null,re,[ze.value])}function hi(me,we){const re=Symbol(),ze=we.get(me,re);return ze===re?"function"!=typeof me||(0,t.Z0I)(me)?we.get(me):me:ze}function yt(me,we,re,ze,lt={canDeactivateChecks:[],canActivateChecks:[]}){const At=pa(we);return me.children.forEach(kt=>{(function si(me,we,re,ze,lt={canDeactivateChecks:[],canActivateChecks:[]}){const At=me.value,kt=we?we.value:null,ci=re?re.getContext(me.value.outlet):null;if(kt&&At.routeConfig===kt.routeConfig){const Ti=function zi(me,we,re){if("function"==typeof re)return re(me,we);switch(re){case"pathParamsChange":return!ne(me.url,we.url);case"pathParamsOrQueryParamsChange":return!ne(me.url,we.url)||!xe(me.queryParams,we.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!cs(me,we)||!xe(me.queryParams,we.queryParams);default:return!cs(me,we)}}(kt,At,At.routeConfig.runGuardsAndResolvers);Ti?lt.canActivateChecks.push(new Yr(ze)):(At.data=kt.data,At._resolvedData=kt._resolvedData),yt(me,we,At.component?ci?ci.children:null:re,ze,lt),Ti&&ci&&ci.outlet&&ci.outlet.isActivated&<.canDeactivateChecks.push(new lr(ci.outlet.component,kt))}else kt&&$i(we,ci,lt),lt.canActivateChecks.push(new Yr(ze)),yt(me,null,At.component?ci?ci.children:null:re,ze,lt)})(kt,At[kt.value.outlet],re,ze.concat([kt.value]),lt),delete At[kt.value.outlet]}),Te(At,(kt,ci)=>$i(kt,re.getContext(ci),lt)),lt}function $i(me,we,re){const ze=pa(me),lt=me.value;Te(ze,(At,kt)=>{$i(At,lt.component?we?we.children.getContext(kt):null:we,re)}),re.canDeactivateChecks.push(new lr(lt.component&&we&&we.outlet&&we.outlet.isActivated?we.outlet.component:null,lt))}function Un(me){return"function"==typeof me}function Si(me){return me instanceof o.K||"EmptyError"===me?.name}const Yi=Symbol("INITIAL_VALUE");function or(){return(0,W.w)(me=>(0,C.a)(me.map(we=>we.pipe((0,Y.q)(1),(0,X.O)(Yi)))).pipe((0,G.U)(we=>{for(const re of we)if(!0!==re){if(re===Yi)return Yi;if(!1===re||re instanceof wt)return re}return!0}),(0,ee.h)(we=>we!==Yi),(0,Y.q)(1)))}function ms(me){return(0,d.z)((0,ce.b)(we=>{if(je(we))throw Ns(0,we)}),(0,G.U)(we=>!0===we))}const oo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Kr(me,we,re,ze,lt){const At=An(me,we,re);return At.matched?function so(me,we,re,ze){const lt=we.canMatch;if(!lt||0===lt.length)return(0,v.of)(!0);const At=lt.map(kt=>{const ci=hi(kt,me);return oe(function et(me){return me&&Un(me.canMatch)}(ci)?ci.canMatch(we,re):me.runInContext(()=>ci(we,re)))});return(0,v.of)(At).pipe(or(),ms())}(ze=_a(we,ze),we,re).pipe((0,G.U)(kt=>!0===kt?At:{...oo})):(0,v.of)(At)}function An(me,we,re){if(""===we.path)return"full"===we.pathMatch&&(me.hasChildren()||re.length>0)?{...oo}:{matched:!0,consumedSegments:[],remainingSegments:re,parameters:{},positionalParamSegments:{}};const lt=(we.matcher||ct)(re,me,we);if(!lt)return{...oo};const At={};Te(lt.posParams,(ci,Ti)=>{At[Ti]=ci.path});const kt=lt.consumed.length>0?{...At,...lt.consumed[lt.consumed.length-1].parameters}:At;return{matched:!0,consumedSegments:lt.consumed,remainingSegments:re.slice(lt.consumed.length),parameters:kt,positionalParamSegments:lt.posParams??{}}}function Ri(me,we,re,ze){if(re.length>0&&function Bi(me,we,re){return re.some(ze=>ws(me,we,ze)&&Zn(ze)!==j)}(me,re,ze)){const At=new it(we,function Cs(me,we,re,ze){const lt={};lt[j]=ze,ze._sourceSegment=me,ze._segmentIndexShift=we.length;for(const At of re)if(""===At.path&&Zn(At)!==j){const kt=new it([],{});kt._sourceSegment=me,kt._segmentIndexShift=we.length,lt[Zn(At)]=kt}return lt}(me,we,ze,new it(re,me.children)));return At._sourceSegment=me,At._segmentIndexShift=we.length,{segmentGroup:At,slicedSegments:[]}}if(0===re.length&&function co(me,we,re){return re.some(ze=>ws(me,we,ze))}(me,re,ze)){const At=new it(me.segments,function is(me,we,re,ze,lt){const At={};for(const kt of ze)if(ws(me,re,kt)&&!lt[Zn(kt)]){const ci=new it([],{});ci._sourceSegment=me,ci._segmentIndexShift=we.length,At[Zn(kt)]=ci}return{...lt,...At}}(me,we,re,ze,me.children));return At._sourceSegment=me,At._segmentIndexShift=we.length,{segmentGroup:At,slicedSegments:re}}const lt=new it(me.segments,me.children);return lt._sourceSegment=me,lt._segmentIndexShift=we.length,{segmentGroup:lt,slicedSegments:re}}function ws(me,we,re){return(!(me.hasChildren()||we.length>0)||"full"!==re.pathMatch)&&""===re.path}function lo(me,we,re,ze){return!!(Zn(me)===ze||ze!==j&&ws(we,re,me))&&("**"===me.path||An(we,me,re).matched)}function To(me,we,re){return 0===we.length&&!me.children[re]}const Ks=!1;class Ms{constructor(we){this.segmentGroup=we||null}}class Qs{constructor(we){this.urlTree=we}}function qs(me){return(0,S._)(new Ms(me))}function gc(me){return(0,S._)(new Qs(me))}class Ao{constructor(we,re,ze,lt,At){this.injector=we,this.configLoader=re,this.urlSerializer=ze,this.urlTree=lt,this.config=At,this.allowRedirects=!0}apply(){const we=Ri(this.urlTree.root,[],[],this.config).segmentGroup,re=new it(we.segments,we.children);return this.expandSegmentGroup(this.injector,this.config,re,j).pipe((0,G.U)(At=>this.createUrlTree(Vt(At),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,$.K)(At=>{if(At instanceof Qs)return this.allowRedirects=!1,this.match(At.urlTree);throw At instanceof Ms?this.noMatchError(At):At}))}match(we){return this.expandSegmentGroup(this.injector,this.config,we.root,j).pipe((0,G.U)(lt=>this.createUrlTree(Vt(lt),we.queryParams,we.fragment))).pipe((0,$.K)(lt=>{throw lt instanceof Ms?this.noMatchError(lt):lt}))}noMatchError(we){return new t.vHH(4002,Ks)}createUrlTree(we,re,ze){const lt=Ut(we);return new wt(lt,re,ze)}expandSegmentGroup(we,re,ze,lt){return 0===ze.segments.length&&ze.hasChildren()?this.expandChildren(we,re,ze).pipe((0,G.U)(At=>new it([],At))):this.expandSegment(we,ze,re,ze.segments,lt,!0)}expandChildren(we,re,ze){const lt=[];for(const At of Object.keys(ze.children))"primary"===At?lt.unshift(At):lt.push(At);return(0,e.D)(lt).pipe((0,ie.b)(At=>{const kt=ze.children[At],ci=Ga(re,At);return this.expandSegmentGroup(we,ci,kt,At).pipe((0,G.U)(Ti=>({segment:Ti,outlet:At})))}),(0,fe.R)((At,kt)=>(At[kt.outlet]=kt.segment,At),{}),A())}expandSegment(we,re,ze,lt,At,kt){return(0,e.D)(ze).pipe((0,ie.b)(ci=>this.expandSegmentAgainstRoute(we,re,ze,ci,lt,At,kt).pipe((0,$.K)(en=>{if(en instanceof Ms)return(0,v.of)(null);throw en}))),(0,he.P)(ci=>!!ci),(0,$.K)((ci,Ti)=>{if(Si(ci))return To(re,lt,At)?(0,v.of)(new it([],{})):qs(re);throw ci}))}expandSegmentAgainstRoute(we,re,ze,lt,At,kt,ci){return lo(lt,re,At,kt)?void 0===lt.redirectTo?this.matchSegmentAgainstRoute(we,re,lt,At,kt):ci&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(we,re,ze,lt,At,kt):qs(re):qs(re)}expandSegmentAgainstRouteUsingRedirect(we,re,ze,lt,At,kt){return"**"===lt.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(we,ze,lt,kt):this.expandRegularSegmentAgainstRouteUsingRedirect(we,re,ze,lt,At,kt)}expandWildCardWithParamsAgainstRouteUsingRedirect(we,re,ze,lt){const At=this.applyRedirectCommands([],ze.redirectTo,{});return ze.redirectTo.startsWith("/")?gc(At):this.lineralizeSegments(ze,At).pipe((0,ue.z)(kt=>{const ci=new it(kt,{});return this.expandSegment(we,ci,re,kt,lt,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(we,re,ze,lt,At,kt){const{matched:ci,consumedSegments:Ti,remainingSegments:en,positionalParamSegments:an}=An(re,lt,At);if(!ci)return qs(re);const Ln=this.applyRedirectCommands(Ti,lt.redirectTo,an);return lt.redirectTo.startsWith("/")?gc(Ln):this.lineralizeSegments(lt,Ln).pipe((0,ue.z)(Tr=>this.expandSegment(we,re,ze,Tr.concat(en),kt,!1)))}matchSegmentAgainstRoute(we,re,ze,lt,At){return"**"===ze.path?(we=_a(ze,we),ze.loadChildren?(ze._loadedRoutes?(0,v.of)({routes:ze._loadedRoutes,injector:ze._loadedInjector}):this.configLoader.loadChildren(we,ze)).pipe((0,G.U)(ci=>(ze._loadedRoutes=ci.routes,ze._loadedInjector=ci.injector,new it(lt,{})))):(0,v.of)(new it(lt,{}))):Kr(re,ze,lt,we).pipe((0,W.w)(({matched:kt,consumedSegments:ci,remainingSegments:Ti})=>kt?this.getChildConfig(we=ze._injector??we,ze,lt).pipe((0,ue.z)(an=>{const Ln=an.injector??we,Tr=an.routes,{segmentGroup:pr,slicedSegments:Aa}=Ri(re,ci,Ti,Tr),Ya=new it(pr.segments,pr.children);if(0===Aa.length&&Ya.hasChildren())return this.expandChildren(Ln,Tr,Ya).pipe((0,G.U)(kl=>new it(ci,kl)));if(0===Tr.length&&0===Aa.length)return(0,v.of)(new it(ci,{}));const wr=Zn(ze)===At;return this.expandSegment(Ln,Ya,Tr,Aa,wr?j:At,!0).pipe((0,G.U)(qc=>new it(ci.concat(qc.segments),qc.children)))})):qs(re)))}getChildConfig(we,re,ze){return re.children?(0,v.of)({routes:re.children,injector:we}):re.loadChildren?void 0!==re._loadedRoutes?(0,v.of)({routes:re._loadedRoutes,injector:re._loadedInjector}):function js(me,we,re,ze){const lt=we.canLoad;if(void 0===lt||0===lt.length)return(0,v.of)(!0);const At=lt.map(kt=>{const ci=hi(kt,me);return oe(function Ji(me){return me&&Un(me.canLoad)}(ci)?ci.canLoad(we,re):me.runInContext(()=>ci(we,re)))});return(0,v.of)(At).pipe(or(),ms())}(we,re,ze).pipe((0,ue.z)(lt=>lt?this.configLoader.loadChildren(we,re).pipe((0,ce.b)(At=>{re._loadedRoutes=At.routes,re._loadedInjector=At.injector})):function vc(me){return(0,S._)(Fs(Ks,3))}())):(0,v.of)({routes:[],injector:we})}lineralizeSegments(we,re){let ze=[],lt=re.root;for(;;){if(ze=ze.concat(lt.segments),0===lt.numberOfChildren)return(0,v.of)(ze);if(lt.numberOfChildren>1||!lt.children[j])return(0,S._)(new t.vHH(4e3,Ks));lt=lt.children[j]}}applyRedirectCommands(we,re,ze){return this.applyRedirectCreateUrlTree(re,this.urlSerializer.parse(re),we,ze)}applyRedirectCreateUrlTree(we,re,ze,lt){const At=this.createSegmentGroup(we,re.root,ze,lt);return new wt(At,this.createQueryParams(re.queryParams,this.urlTree.queryParams),re.fragment)}createQueryParams(we,re){const ze={};return Te(we,(lt,At)=>{if("string"==typeof lt&<.startsWith(":")){const ci=lt.substring(1);ze[At]=re[ci]}else ze[At]=lt}),ze}createSegmentGroup(we,re,ze,lt){const At=this.createSegments(we,re.segments,ze,lt);let kt={};return Te(re.children,(ci,Ti)=>{kt[Ti]=this.createSegmentGroup(we,ci,ze,lt)}),new it(At,kt)}createSegments(we,re,ze,lt){return re.map(At=>At.path.startsWith(":")?this.findPosParam(we,At,lt):this.findOrReturn(At,ze))}findPosParam(we,re,ze){const lt=ze[re.path.substring(1)];if(!lt)throw new t.vHH(4001,Ks);return lt}findOrReturn(we,re){let ze=0;for(const lt of re){if(lt.path===we.path)return re.splice(ze),lt;ze++}return we}}class ns{}class Dr{constructor(we,re,ze,lt,At,kt,ci){this.injector=we,this.rootComponentType=re,this.config=ze,this.urlTree=lt,this.url=At,this.paramsInheritanceStrategy=kt,this.urlSerializer=ci}recognize(){const we=Ri(this.urlTree.root,[],[],this.config.filter(re=>void 0===re.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,we,j).pipe((0,G.U)(re=>{if(null===re)return null;const ze=new Ar([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},j,this.rootComponentType,null,this.urlTree.root,-1,{}),lt=new Pn(ze,re),At=new Sr(this.url,lt);return this.inheritParamsAndData(At._root),At}))}inheritParamsAndData(we){const re=we.value,ze=jr(re,this.paramsInheritanceStrategy);re.params=Object.freeze(ze.params),re.data=Object.freeze(ze.data),we.children.forEach(lt=>this.inheritParamsAndData(lt))}processSegmentGroup(we,re,ze,lt){return 0===ze.segments.length&&ze.hasChildren()?this.processChildren(we,re,ze):this.processSegment(we,re,ze,ze.segments,lt)}processChildren(we,re,ze){return(0,e.D)(Object.keys(ze.children)).pipe((0,ie.b)(lt=>{const At=ze.children[lt],kt=Ga(re,lt);return this.processSegmentGroup(we,kt,At,lt)}),(0,fe.R)((lt,At)=>lt&&At?(lt.push(...At),lt):null),(0,k.o)(lt=>null!==lt),(0,l.d)(null),A(),(0,G.U)(lt=>{if(null===lt)return null;const At=bc(lt);return function ea(me){me.sort((we,re)=>we.value.outlet===j?-1:re.value.outlet===j?1:we.value.outlet.localeCompare(re.value.outlet))}(At),At}))}processSegment(we,re,ze,lt,At){return(0,e.D)(re).pipe((0,ie.b)(kt=>this.processSegmentAgainstRoute(kt._injector??we,kt,ze,lt,At)),(0,he.P)(kt=>!!kt),(0,$.K)(kt=>{if(Si(kt))return To(ze,lt,At)?(0,v.of)([]):(0,v.of)(null);throw kt}))}processSegmentAgainstRoute(we,re,ze,lt,At){if(re.redirectTo||!lo(re,ze,lt,At))return(0,v.of)(null);let kt;if("**"===re.path){const ci=lt.length>0?se(lt).parameters:{},Ti=Qi(ze)+lt.length,en=new Ar(lt,ci,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,mt(re),Zn(re),re.component??re._loadedComponent??null,re,Wn(ze),Ti,Le(re));kt=(0,v.of)({snapshot:en,consumedSegments:[],remainingSegments:[]})}else kt=Kr(ze,re,lt,we).pipe((0,G.U)(({matched:ci,consumedSegments:Ti,remainingSegments:en,parameters:an})=>{if(!ci)return null;const Ln=Qi(ze)+Ti.length;return{snapshot:new Ar(Ti,an,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,mt(re),Zn(re),re.component??re._loadedComponent??null,re,Wn(ze),Ln,Le(re)),consumedSegments:Ti,remainingSegments:en}}));return kt.pipe((0,W.w)(ci=>{if(null===ci)return(0,v.of)(null);const{snapshot:Ti,consumedSegments:en,remainingSegments:an}=ci;we=re._injector??we;const Ln=re._loadedInjector??we,Tr=function ur(me){return me.children?me.children:me.loadChildren?me._loadedRoutes:[]}(re),{segmentGroup:pr,slicedSegments:Aa}=Ri(ze,en,an,Tr.filter(wr=>void 0===wr.redirectTo));if(0===Aa.length&&pr.hasChildren())return this.processChildren(Ln,Tr,pr).pipe((0,G.U)(wr=>null===wr?null:[new Pn(Ti,wr)]));if(0===Tr.length&&0===Aa.length)return(0,v.of)([new Pn(Ti,[])]);const Ya=Zn(re)===At;return this.processSegment(Ln,Tr,pr,Aa,Ya?j:At).pipe((0,G.U)(wr=>null===wr?null:[new Pn(Ti,wr)]))}))}}function Do(me){const we=me.value.routeConfig;return we&&""===we.path&&void 0===we.redirectTo}function bc(me){const we=[],re=new Set;for(const ze of me){if(!Do(ze)){we.push(ze);continue}const lt=we.find(At=>ze.value.routeConfig===At.value.routeConfig);void 0!==lt?(lt.children.push(...ze.children),re.add(lt)):we.push(ze)}for(const ze of re){const lt=bc(ze.children);we.push(new Pn(ze.value,lt))}return we.filter(ze=>!re.has(ze))}function Wn(me){let we=me;for(;we._sourceSegment;)we=we._sourceSegment;return we}function Qi(me){let we=me,re=we._segmentIndexShift??0;for(;we._sourceSegment;)we=we._sourceSegment,re+=we._segmentIndexShift??0;return re-1}function mt(me){return me.data||{}}function Le(me){return me.resolve||{}}function Qe(me){return"string"==typeof me.title||null===me.title}function Jt(me){return(0,W.w)(we=>{const re=me(we);return re?(0,e.D)(re).pipe((0,G.U)(()=>we)):(0,v.of)(we)})}const bi=new t.OlP("ROUTES");let Ii=(()=>{class me{constructor(re,ze){this.injector=re,this.compiler=ze,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(re){if(this.componentLoaders.get(re))return this.componentLoaders.get(re);if(re._loadedComponent)return(0,v.of)(re._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(re);const ze=oe(re.loadComponent()).pipe((0,G.U)(rn),(0,ce.b)(At=>{this.onLoadEndListener&&this.onLoadEndListener(re),re._loadedComponent=At}),(0,n.x)(()=>{this.componentLoaders.delete(re)})),lt=new E.c(ze,()=>new N.x).pipe((0,b.x)());return this.componentLoaders.set(re,lt),lt}loadChildren(re,ze){if(this.childrenLoaders.get(ze))return this.childrenLoaders.get(ze);if(ze._loadedRoutes)return(0,v.of)({routes:ze._loadedRoutes,injector:ze._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(ze);const At=this.loadModuleFactoryOrRoutes(ze.loadChildren).pipe((0,G.U)(ci=>{this.onLoadEndListener&&this.onLoadEndListener(ze);let Ti,en,an=!1;Array.isArray(ci)?en=ci:(Ti=ci.create(re).injector,en=_e(Ti.get(bi,[],t.XFs.Self|t.XFs.Optional)));return{routes:en.map(es),injector:Ti}}),(0,n.x)(()=>{this.childrenLoaders.delete(ze)})),kt=new E.c(At,()=>new N.x).pipe((0,b.x)());return this.childrenLoaders.set(ze,kt),kt}loadModuleFactoryOrRoutes(re){return oe(re()).pipe((0,G.U)(rn),(0,ue.z)(lt=>lt instanceof t.YKP||Array.isArray(lt)?(0,v.of)(lt):(0,e.D)(this.compiler.compileModuleAsync(lt))))}}return me.\u0275fac=function(re){return new(re||me)(t.LFG(t.zs3),t.LFG(t.Sil))},me.\u0275prov=t.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"}),me})();function rn(me){return function ji(me){return me&&"object"==typeof me&&"default"in me}(me)?me.default:me}let Cn=(()=>{class me{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new N.x,this.configLoader=(0,t.f3M)(Ii),this.environmentInjector=(0,t.f3M)(t.lqb),this.urlSerializer=(0,t.f3M)(De),this.rootContexts=(0,t.f3M)(ka),this.navigationId=0,this.configLoader.onLoadEndListener=lt=>this.events.next(new Oi(lt)),this.configLoader.onLoadStartListener=lt=>this.events.next(new Nr(lt))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){this.transitions?.complete()}handleNavigationRequest(re){const ze=++this.navigationId;this.transitions?.next({...this.transitions.value,...re,id:ze})}setupNavigations(re){return this.transitions=new D.X({id:0,targetPageId:0,currentUrlTree:re.currentUrlTree,currentRawUrl:re.currentUrlTree,extractedUrl:re.urlHandlingStrategy.extract(re.currentUrlTree),urlAfterRedirects:re.urlHandlingStrategy.extract(re.currentUrlTree),rawUrl:re.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:re.routerState.snapshot,targetSnapshot:null,currentRouterState:re.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ee.h)(ze=>0!==ze.id),(0,G.U)(ze=>({...ze,extractedUrl:re.urlHandlingStrategy.extract(ze.rawUrl)})),(0,W.w)(ze=>{let lt=!1,At=!1;return(0,v.of)(ze).pipe((0,ce.b)(kt=>{this.currentNavigation={id:kt.id,initialUrl:kt.rawUrl,extractedUrl:kt.extractedUrl,trigger:kt.source,extras:kt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,W.w)(kt=>{const ci=re.browserUrlTree.toString(),Ti=!re.navigated||kt.extractedUrl.toString()!==ci||ci!==re.currentUrlTree.toString();if(("reload"===re.onSameUrlNavigation||Ti)&&re.urlHandlingStrategy.shouldProcessUrl(kt.rawUrl))return br(kt.source)&&(re.browserUrlTree=kt.extractedUrl),(0,v.of)(kt).pipe((0,W.w)(an=>{const Ln=this.transitions?.getValue();return this.events.next(new zt(an.id,this.urlSerializer.serialize(an.extractedUrl),an.source,an.restoredState)),Ln!==this.transitions?.getValue()?I.E:Promise.resolve(an)}),function Lo(me,we,re,ze){return(0,W.w)(lt=>function qo(me,we,re,ze,lt){return new Ao(me,we,re,ze,lt).apply()}(me,we,re,lt.extractedUrl,ze).pipe((0,G.U)(At=>({...lt,urlAfterRedirects:At}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,re.config),(0,ce.b)(an=>{this.currentNavigation={...this.currentNavigation,finalUrl:an.urlAfterRedirects},ze.urlAfterRedirects=an.urlAfterRedirects}),function Et(me,we,re,ze,lt){return(0,ue.z)(At=>function nn(me,we,re,ze,lt,At,kt="emptyOnly"){return new Dr(me,we,re,ze,lt,kt,At).recognize().pipe((0,W.w)(ci=>null===ci?function Vs(me){return new w.y(we=>we.error(me))}(new ns):(0,v.of)(ci)))}(me,we,re,At.urlAfterRedirects,ze.serialize(At.urlAfterRedirects),ze,lt).pipe((0,G.U)(kt=>({...At,targetSnapshot:kt}))))}(this.environmentInjector,re.rootComponentType,re.config,this.urlSerializer,re.paramsInheritanceStrategy),(0,ce.b)(an=>{if(ze.targetSnapshot=an.targetSnapshot,"eager"===re.urlUpdateStrategy){if(!an.extras.skipLocationChange){const Tr=re.urlHandlingStrategy.merge(an.urlAfterRedirects,an.rawUrl);re.setBrowserUrl(Tr,an)}re.browserUrlTree=an.urlAfterRedirects}const Ln=new Xn(an.id,this.urlSerializer.serialize(an.extractedUrl),this.urlSerializer.serialize(an.urlAfterRedirects),an.targetSnapshot);this.events.next(Ln)}));if(Ti&&re.rawUrlTree&&re.urlHandlingStrategy.shouldProcessUrl(re.rawUrlTree)){const{id:Ln,extractedUrl:Tr,source:pr,restoredState:Aa,extras:Ya}=kt,wr=new zt(Ln,this.urlSerializer.serialize(Tr),pr,Aa);this.events.next(wr);const oa=dr(Tr,re.rootComponentType).snapshot;return ze={...kt,targetSnapshot:oa,urlAfterRedirects:Tr,extras:{...Ya,skipLocationChange:!1,replaceUrl:!1}},(0,v.of)(ze)}return re.rawUrlTree=kt.rawUrl,kt.resolve(null),I.E}),(0,ce.b)(kt=>{const ci=new Gr(kt.id,this.urlSerializer.serialize(kt.extractedUrl),this.urlSerializer.serialize(kt.urlAfterRedirects),kt.targetSnapshot);this.events.next(ci)}),(0,G.U)(kt=>ze={...kt,guards:aa(kt.targetSnapshot,kt.currentSnapshot,this.rootContexts)}),function Ni(me,we){return(0,ue.z)(re=>{const{targetSnapshot:ze,currentSnapshot:lt,guards:{canActivateChecks:At,canDeactivateChecks:kt}}=re;return 0===kt.length&&0===At.length?(0,v.of)({...re,guardsResult:!0}):function Vn(me,we,re,ze){return(0,e.D)(me).pipe((0,ue.z)(lt=>function Ta(me,we,re,ze,lt){const At=we&&we.routeConfig?we.routeConfig.canDeactivate:null;if(!At||0===At.length)return(0,v.of)(!0);const kt=At.map(ci=>{const Ti=sr(we)??lt,en=hi(ci,Ti);return oe(function st(me){return me&&Un(me.canDeactivate)}(en)?en.canDeactivate(me,we,re,ze):Ti.runInContext(()=>en(me,we,re,ze))).pipe((0,he.P)())});return(0,v.of)(kt).pipe(or())}(lt.component,lt.route,re,we,ze)),(0,he.P)(lt=>!0!==lt,!0))}(kt,ze,lt,me).pipe((0,ue.z)(ci=>ci&&function vr(me){return"boolean"==typeof me}(ci)?function Hs(me,we,re,ze){return(0,e.D)(we).pipe((0,ie.b)(lt=>(0,u.z)(function Vr(me,we){return null!==me&&we&&we(new Ui(me)),(0,v.of)(!0)}(lt.route.parent,ze),function Qo(me,we){return null!==me&&we&&we(new Qt(me)),(0,v.of)(!0)}(lt.route,ze),function ts(me,we,re){const ze=we[we.length-1],At=we.slice(0,we.length-1).reverse().map(kt=>function Ft(me){const we=me.routeConfig?me.routeConfig.canActivateChild:null;return we&&0!==we.length?{node:me,guards:we}:null}(kt)).filter(kt=>null!==kt).map(kt=>(0,P.P)(()=>{const ci=kt.guards.map(Ti=>{const en=sr(kt.node)??re,an=hi(Ti,en);return oe(function $r(me){return me&&Un(me.canActivateChild)}(an)?an.canActivateChild(ze,me):en.runInContext(()=>an(ze,me))).pipe((0,he.P)())});return(0,v.of)(ci).pipe(or())}));return(0,v.of)(At).pipe(or())}(me,lt.path,re),function zs(me,we,re){const ze=we.routeConfig?we.routeConfig.canActivate:null;if(!ze||0===ze.length)return(0,v.of)(!0);const lt=ze.map(At=>(0,P.P)(()=>{const kt=sr(we)??re,ci=hi(At,kt);return oe(function xn(me){return me&&Un(me.canActivate)}(ci)?ci.canActivate(we,me):kt.runInContext(()=>ci(we,me))).pipe((0,he.P)())}));return(0,v.of)(lt).pipe(or())}(me,lt.route,re))),(0,he.P)(lt=>!0!==lt,!0))}(ze,At,me,we):(0,v.of)(ci)),(0,G.U)(ci=>({...re,guardsResult:ci})))})}(this.environmentInjector,kt=>this.events.next(kt)),(0,ce.b)(kt=>{if(ze.guardsResult=kt.guardsResult,je(kt.guardsResult))throw Ns(0,kt.guardsResult);const ci=new bn(kt.id,this.urlSerializer.serialize(kt.extractedUrl),this.urlSerializer.serialize(kt.urlAfterRedirects),kt.targetSnapshot,!!kt.guardsResult);this.events.next(ci)}),(0,ee.h)(kt=>!!kt.guardsResult||(re.restoreHistory(kt),this.cancelNavigationTransition(kt,"",3,re),!1)),Jt(kt=>{if(kt.guards.canActivateChecks.length)return(0,v.of)(kt).pipe((0,ce.b)(ci=>{const Ti=new Zr(ci.id,this.urlSerializer.serialize(ci.extractedUrl),this.urlSerializer.serialize(ci.urlAfterRedirects),ci.targetSnapshot);this.events.next(Ti)}),(0,W.w)(ci=>{let Ti=!1;return(0,v.of)(ci).pipe(function ri(me,we){return(0,ue.z)(re=>{const{targetSnapshot:ze,guards:{canActivateChecks:lt}}=re;if(!lt.length)return(0,v.of)(re);let At=0;return(0,e.D)(lt).pipe((0,ie.b)(kt=>function Ne(me,we,re,ze){const lt=me.routeConfig,At=me._resolve;return void 0!==lt?.title&&!Qe(lt)&&(At[Ae]=lt.title),function ut(me,we,re,ze){const lt=function xt(me){return[...Object.keys(me),...Object.getOwnPropertySymbols(me)]}(me);if(0===lt.length)return(0,v.of)({});const At={};return(0,e.D)(lt).pipe((0,ue.z)(kt=>function Pt(me,we,re,ze){const lt=sr(we)??ze,At=hi(me,lt);return oe(At.resolve?At.resolve(we,re):lt.runInContext(()=>At(we,re)))}(me[kt],we,re,ze).pipe((0,he.P)(),(0,ce.b)(ci=>{At[kt]=ci}))),r(1),(0,g.h)(At),(0,$.K)(kt=>Si(kt)?I.E:(0,S._)(kt)))}(At,me,we,ze).pipe((0,G.U)(kt=>(me._resolvedData=kt,me.data=jr(me,re).resolve,lt&&Qe(lt)&&(me.data[Ae]=lt.title),null)))}(kt.route,ze,me,we)),(0,ce.b)(()=>At++),r(1),(0,ue.z)(kt=>At===lt.length?(0,v.of)(re):I.E))})}(re.paramsInheritanceStrategy,this.environmentInjector),(0,ce.b)({next:()=>Ti=!0,complete:()=>{Ti||(re.restoreHistory(ci),this.cancelNavigationTransition(ci,"",2,re))}}))}),(0,ce.b)(ci=>{const Ti=new fr(ci.id,this.urlSerializer.serialize(ci.extractedUrl),this.urlSerializer.serialize(ci.urlAfterRedirects),ci.targetSnapshot);this.events.next(Ti)}))}),Jt(kt=>{const ci=Ti=>{const en=[];Ti.routeConfig?.loadComponent&&!Ti.routeConfig._loadedComponent&&en.push(this.configLoader.loadComponent(Ti.routeConfig).pipe((0,ce.b)(an=>{Ti.component=an}),(0,G.U)(()=>{})));for(const an of Ti.children)en.push(...ci(an));return en};return(0,C.a)(ci(kt.targetSnapshot.root)).pipe((0,l.d)(),(0,Y.q)(1))}),Jt(()=>re.afterPreactivation()),(0,G.U)(kt=>{const ci=function Hr(me,we,re){const ze=ls(me,we._root,re?re._root:void 0);return new ir(ze,we)}(re.routeReuseStrategy,kt.targetSnapshot,kt.currentRouterState);return ze={...kt,targetRouterState:ci}}),(0,ce.b)(kt=>{re.currentUrlTree=kt.urlAfterRedirects,re.rawUrlTree=re.urlHandlingStrategy.merge(kt.urlAfterRedirects,kt.rawUrl),re.routerState=kt.targetRouterState,"deferred"===re.urlUpdateStrategy&&(kt.extras.skipLocationChange||re.setBrowserUrl(re.rawUrlTree,kt),re.browserUrlTree=kt.urlAfterRedirects)}),((me,we,re)=>(0,G.U)(ze=>(new Za(we,ze.targetRouterState,ze.currentRouterState,re).activate(me),ze)))(this.rootContexts,re.routeReuseStrategy,kt=>this.events.next(kt)),(0,ce.b)({next:kt=>{lt=!0,this.lastSuccessfulNavigation=this.currentNavigation,re.navigated=!0,this.events.next(new Li(kt.id,this.urlSerializer.serialize(kt.extractedUrl),this.urlSerializer.serialize(re.currentUrlTree))),re.titleStrategy?.updateTitle(kt.targetRouterState.snapshot),kt.resolve(!0)},complete:()=>{lt=!0}}),(0,n.x)(()=>{lt||At||this.cancelNavigationTransition(ze,"",1,re),this.currentNavigation?.id===ze.id&&(this.currentNavigation=null)}),(0,$.K)(kt=>{if(At=!0,ds(kt)){Ma(kt)||(re.navigated=!0,re.restoreHistory(ze,!0));const ci=new dn(ze.id,this.urlSerializer.serialize(ze.extractedUrl),kt.message,kt.cancellationCode);if(this.events.next(ci),Ma(kt)){const Ti=re.urlHandlingStrategy.merge(kt.url,re.rawUrlTree),en={skipLocationChange:ze.extras.skipLocationChange,replaceUrl:"eager"===re.urlUpdateStrategy||br(ze.source)};re.scheduleNavigation(Ti,"imperative",null,en,{resolve:ze.resolve,reject:ze.reject,promise:ze.promise})}else ze.resolve(!1)}else{re.restoreHistory(ze,!0);const ci=new on(ze.id,this.urlSerializer.serialize(ze.extractedUrl),kt,ze.targetSnapshot??void 0);this.events.next(ci);try{ze.resolve(re.errorHandler(kt))}catch(Ti){ze.reject(Ti)}}return I.E}))}))}cancelNavigationTransition(re,ze,lt,At){const kt=new dn(re.id,this.urlSerializer.serialize(re.extractedUrl),ze,lt);this.events.next(kt),re.resolve(!1)}}return me.\u0275fac=function(re){return new(re||me)},me.\u0275prov=t.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"}),me})();function br(me){return"imperative"!==me}let Ir=(()=>{class me{buildTitle(re){let ze,lt=re.root;for(;void 0!==lt;)ze=this.getResolvedTitleForRoute(lt)??ze,lt=lt.children.find(At=>At.outlet===j);return ze}getResolvedTitleForRoute(re){return re.data[Ae]}}return me.\u0275fac=function(re){return new(re||me)},me.\u0275prov=t.Yz7({token:me,factory:function(){return(0,t.f3M)(Br)},providedIn:"root"}),me})(),Br=(()=>{class me extends Ir{constructor(re){super(),this.title=re}updateTitle(re){const ze=this.buildTitle(re);void 0!==ze&&this.title.setTitle(ze)}}return me.\u0275fac=function(re){return new(re||me)(t.LFG(V.Dx))},me.\u0275prov=t.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"}),me})(),ta=(()=>{class me{}return me.\u0275fac=function(re){return new(re||me)},me.\u0275prov=t.Yz7({token:me,factory:function(){return(0,t.f3M)(Er)},providedIn:"root"}),me})();class kr{shouldDetach(we){return!1}store(we,re){}shouldAttach(we){return!1}retrieve(we){return null}shouldReuseRoute(we,re){return we.routeConfig===re.routeConfig}}let Er=(()=>{class me extends kr{}return me.\u0275fac=function(){let we;return function(ze){return(we||(we=t.n5z(me)))(ze||me)}}(),me.\u0275prov=t.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"}),me})();const mr=new t.OlP("",{providedIn:"root",factory:()=>({})});let rs=(()=>{class me{}return me.\u0275fac=function(re){return new(re||me)},me.\u0275prov=t.Yz7({token:me,factory:function(){return(0,t.f3M)(sa)},providedIn:"root"}),me})(),sa=(()=>{class me{shouldProcessUrl(re){return!0}extract(re){return re}merge(re,ze){return re}}return me.\u0275fac=function(re){return new(re||me)},me.\u0275prov=t.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"}),me})();function ps(me){throw me}function El(me,we,re){return we.parse("/")}const Bs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},a1={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ba=(()=>{class me{constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,t.f3M)(t.c2e),this.isNgZoneEnabled=!1,this.options=(0,t.f3M)(mr,{optional:!0})||{},this.errorHandler=this.options.errorHandler||ps,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||El,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,v.of)(void 0),this.urlHandlingStrategy=(0,t.f3M)(rs),this.routeReuseStrategy=(0,t.f3M)(ta),this.urlCreationStrategy=(0,t.f3M)(Qn),this.titleStrategy=(0,t.f3M)(Ir),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=_e((0,t.f3M)(bi,{optional:!0})??[]),this.navigationTransitions=(0,t.f3M)(Cn),this.urlSerializer=(0,t.f3M)(De),this.location=(0,t.f3M)(z.Ye),this.rootComponentType=null,this.isNgZoneEnabled=(0,t.f3M)(t.R0b)instanceof t.R0b&&t.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new wt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=dr(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(re=>{this.lastSuccessfulId=re.id,this.currentPageId=re.targetPageId},re=>{this.console.warn(`Unhandled Navigation Error: ${re}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(re){this.rootComponentType=re,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(re=>{const ze="popstate"===re.type?"popstate":"hashchange";"popstate"===ze&&setTimeout(()=>{const lt={replaceUrl:!0},At=re.state?.navigationId?re.state:null;if(re.state){const ci={...re.state};delete ci.navigationId,delete ci.\u0275routerPageId,0!==Object.keys(ci).length&&(lt.state=ci)}const kt=this.parseUrl(re.url);this.scheduleNavigation(kt,ze,At,lt)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(re){this.config=re.map(es),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(re,ze={}){const{relativeTo:lt,queryParams:At,fragment:kt,queryParamsHandling:ci,preserveFragment:Ti}=ze,en=Ti?this.currentUrlTree.fragment:kt;let an=null;switch(ci){case"merge":an={...this.currentUrlTree.queryParams,...At};break;case"preserve":an=this.currentUrlTree.queryParams;break;default:an=At||null}return null!==an&&(an=this.removeEmptyProps(an)),this.urlCreationStrategy.createUrlTree(lt,this.routerState,this.currentUrlTree,re,an,en??null)}navigateByUrl(re,ze={skipLocationChange:!1}){const lt=je(re)?re:this.parseUrl(re),At=this.urlHandlingStrategy.merge(lt,this.rawUrlTree);return this.scheduleNavigation(At,"imperative",null,ze)}navigate(re,ze={skipLocationChange:!1}){return function Tl(me){for(let we=0;we<me.length;we++){if(null==me[we])throw new t.vHH(4008,!1)}}(re),this.navigateByUrl(this.createUrlTree(re,ze),ze)}serializeUrl(re){return this.urlSerializer.serialize(re)}parseUrl(re){let ze;try{ze=this.urlSerializer.parse(re)}catch(lt){ze=this.malformedUriErrorHandler(lt,this.urlSerializer,re)}return ze}isActive(re,ze){let lt;if(lt=!0===ze?{...Bs}:!1===ze?{...a1}:ze,je(re))return Be(this.currentUrlTree,re,lt);const At=this.parseUrl(re);return Be(this.currentUrlTree,At,lt)}removeEmptyProps(re){return Object.keys(re).reduce((ze,lt)=>{const At=re[lt];return null!=At&&(ze[lt]=At),ze},{})}scheduleNavigation(re,ze,lt,At,kt){if(this.disposed)return Promise.resolve(!1);let ci,Ti,en,an;return kt?(ci=kt.resolve,Ti=kt.reject,en=kt.promise):en=new Promise((Ln,Tr)=>{ci=Ln,Ti=Tr}),"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(lt=this.location.getState()),an=lt&<.\u0275routerPageId?lt.\u0275routerPageId:At.replaceUrl||At.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):an=0,this.navigationTransitions.handleNavigationRequest({targetPageId:an,source:ze,restoredState:lt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:re,extras:At,resolve:ci,reject:Ti,promise:en,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),en.catch(Ln=>Promise.reject(Ln))}setBrowserUrl(re,ze){const lt=this.urlSerializer.serialize(re),At={...ze.extras.state,...this.generateNgRouterState(ze.id,ze.targetPageId)};this.location.isCurrentPathEqualTo(lt)||ze.extras.replaceUrl?this.location.replaceState(lt,"",At):this.location.go(lt,"",At)}restoreHistory(re,ze=!1){if("computed"===this.canceledNavigationResolution){const lt=this.currentPageId-re.targetPageId;"popstate"!==re.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===lt?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===lt&&(this.resetState(re),this.browserUrlTree=re.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(lt)}else"replace"===this.canceledNavigationResolution&&(ze&&this.resetState(re),this.resetUrlToCurrentUrlTree())}resetState(re){this.routerState=re.currentRouterState,this.currentUrlTree=re.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,re.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(re,ze){return"computed"===this.canceledNavigationResolution?{navigationId:re,\u0275routerPageId:ze}:{navigationId:re}}}return me.\u0275fac=function(re){return new(re||me)},me.\u0275prov=t.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"}),me})(),xc=(()=>{class me{constructor(re,ze,lt,At,kt,ci){this.router=re,this.route=ze,this.tabIndexAttribute=lt,this.renderer=At,this.el=kt,this.locationStrategy=ci,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new N.x;const Ti=kt.nativeElement.tagName;this.isAnchorElement="A"===Ti||"AREA"===Ti,this.isAnchorElement?this.subscription=re.events.subscribe(en=>{en instanceof Li&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(re){this._preserveFragment=(0,t.D6c)(re)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(re){this._skipLocationChange=(0,t.D6c)(re)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(re){this._replaceUrl=(0,t.D6c)(re)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(re){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",re)}ngOnChanges(re){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(re){null!=re?(this.commands=Array.isArray(re)?re:[re],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(re,ze,lt,At,kt){return!!(null===this.urlTree||this.isAnchorElement&&(0!==re||ze||lt||At||kt||"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 re=null===this.href?null:(0,t.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",re)}applyAttributeValue(re,ze){const lt=this.renderer,At=this.el.nativeElement;null!==ze?lt.setAttribute(At,re,ze):lt.removeAttribute(At,re)}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})}}return me.\u0275fac=function(re){return new(re||me)(t.Y36(ba),t.Y36(Fr),t.$8M("tabindex"),t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(z.S$))},me.\u0275dir=t.lG2({type:me,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(re,ze){1&re&&t.NdJ("click",function(At){return ze.onClick(At.button,At.ctrlKey,At.shiftKey,At.altKey,At.metaKey)}),2&re&&t.uIk("target",ze.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[t.TTD]}),me})(),Cc=(()=>{class me{constructor(re,ze,lt,At,kt){this.router=re,this.element=ze,this.renderer=lt,this.cdr=At,this.link=kt,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new t.vpe,this.routerEventsSubscription=re.events.subscribe(ci=>{ci instanceof Li&&this.update()})}ngAfterContentInit(){(0,v.of)(this.links.changes,(0,v.of)(null)).pipe((0,U.J)()).subscribe(re=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const re=[...this.links.toArray(),this.link].filter(ze=>!!ze).map(ze=>ze.onChanges);this.linkInputChangesSubscription=(0,e.D)(re).pipe((0,U.J)()).subscribe(ze=>{this.isActive!==this.isLinkActive(this.router)(ze)&&this.update()})}set routerLinkActive(re){const ze=Array.isArray(re)?re:re.split(" ");this.classes=ze.filter(lt=>!!lt)}ngOnChanges(re){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const re=this.hasActiveLinks();this.isActive!==re&&(this.isActive=re,this.cdr.markForCheck(),this.classes.forEach(ze=>{re?this.renderer.addClass(this.element.nativeElement,ze):this.renderer.removeClass(this.element.nativeElement,ze)}),re&&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(re))})}isLinkActive(re){const ze=function Al(me){return!!me.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return lt=>!!lt.urlTree&&re.isActive(lt.urlTree,ze)}hasActiveLinks(){const re=this.isLinkActive(this.router);return this.link&&re(this.link)||this.links.some(re)}}return me.\u0275fac=function(re){return new(re||me)(t.Y36(ba),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(xc,8))},me.\u0275dir=t.lG2({type:me,selectors:[["","routerLinkActive",""]],contentQueries:function(re,ze,lt){if(1&re&&t.Suo(lt,xc,5),2&re){let At;t.iGM(At=t.CRH())&&(ze.links=At)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[t.TTD]}),me})();class Gc{}let s1=(()=>{class me{constructor(re,ze,lt,At,kt){this.router=re,this.injector=lt,this.preloadingStrategy=At,this.loader=kt}setUpPreloading(){this.subscription=this.router.events.pipe((0,ee.h)(re=>re instanceof Li),(0,ie.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(re,ze){const lt=[];for(const At of ze){At.providers&&!At._injector&&(At._injector=(0,t.MMx)(At.providers,re,`Route: ${At.path}`));const kt=At._injector??re,ci=At._loadedInjector??kt;At.loadChildren&&!At._loadedRoutes&&void 0===At.canLoad||At.loadComponent&&!At._loadedComponent?lt.push(this.preloadConfig(kt,At)):(At.children||At._loadedRoutes)&<.push(this.processRoutes(ci,At.children??At._loadedRoutes))}return(0,e.D)(lt).pipe((0,U.J)())}preloadConfig(re,ze){return this.preloadingStrategy.preload(ze,()=>{let lt;lt=ze.loadChildren&&void 0===ze.canLoad?this.loader.loadChildren(re,ze):(0,v.of)(null);const At=lt.pipe((0,ue.z)(kt=>null===kt?(0,v.of)(void 0):(ze._loadedRoutes=kt.routes,ze._loadedInjector=kt.injector,this.processRoutes(kt.injector??re,kt.routes))));if(ze.loadComponent&&!ze._loadedComponent){const kt=this.loader.loadComponent(ze);return(0,e.D)([At,kt]).pipe((0,U.J)())}return At})}}return me.\u0275fac=function(re){return new(re||me)(t.LFG(ba),t.LFG(t.Sil),t.LFG(t.lqb),t.LFG(Gc),t.LFG(Ii))},me.\u0275prov=t.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"}),me})();const Zc=new t.OlP("");let Ll=(()=>{class me{constructor(re,ze,lt,At,kt={}){this.urlSerializer=re,this.transitions=ze,this.viewportScroller=lt,this.zone=At,this.options=kt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},kt.scrollPositionRestoration=kt.scrollPositionRestoration||"disabled",kt.anchorScrolling=kt.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(re=>{re instanceof zt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=re.navigationTrigger,this.restoredId=re.restoredState?re.restoredState.navigationId:0):re instanceof Li&&(this.lastId=re.id,this.scheduleScrollEvent(re,this.urlSerializer.parse(re.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(re=>{re instanceof gi&&(re.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(re.position):re.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(re.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(re,ze){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new gi(re,"popstate"===this.lastSource?this.store[this.restoredId]:null,ze))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return me.\u0275fac=function(re){t.$Z()},me.\u0275prov=t.Yz7({token:me,factory:me.\u0275fac}),me})();function Io(me,we){return{\u0275kind:me,\u0275providers:we}}function Wc(){const me=(0,t.f3M)(t.zs3);return we=>{const re=me.get(t.z2F);if(we!==re.components[0])return;const ze=me.get(ba),lt=me.get(Il);1===me.get(Yc)&&ze.initialNavigation(),me.get(uo,null,t.XFs.Optional)?.setUpPreloading(),me.get(Zc,null,t.XFs.Optional)?.init(),ze.resetRootComponentType(re.componentTypes[0]),lt.closed||(lt.next(),lt.unsubscribe())}}const Il=new t.OlP("",{factory:()=>new N.x}),Yc=new t.OlP("",{providedIn:"root",factory:()=>1});const uo=new t.OlP("");function o1(me){return Io(0,[{provide:uo,useExisting:s1},{provide:Gc,useExisting:me}])}const wc=new t.OlP("ROUTER_FORROOT_GUARD"),yr=[z.Ye,{provide:De,useClass:He},ba,ka,{provide:Fr,useFactory:function Dl(me){return me.routerState.root},deps:[ba]},Ii,[]];function Kc(){return new t.PXZ("Router",ba)}let dd=(()=>{class me{constructor(re){}static forRoot(re,ze){return{ngModule:me,providers:[yr,[],{provide:bi,multi:!0,useValue:re},{provide:wc,useFactory:fo,deps:[[ba,new t.FiY,new t.tp0]]},{provide:mr,useValue:ze||{}},ze?.useHash?{provide:z.S$,useClass:z.Do}:{provide:z.S$,useClass:z.b0},{provide:Zc,useFactory:()=>{const me=(0,t.f3M)(z.EM),we=(0,t.f3M)(t.R0b),re=(0,t.f3M)(mr),ze=(0,t.f3M)(Cn),lt=(0,t.f3M)(De);return re.scrollOffset&&me.setOffset(re.scrollOffset),new Ll(lt,ze,me,we,re)}},ze?.preloadingStrategy?o1(ze.preloadingStrategy).\u0275providers:[],{provide:t.PXZ,multi:!0,useFactory:Kc},ze?.initialNavigation?ud(ze):[],[{provide:Ts,useFactory:Wc},{provide:t.tb,multi:!0,useExisting:Ts}]]}}static forChild(re){return{ngModule:me,providers:[{provide:bi,multi:!0,useValue:re}]}}}return me.\u0275fac=function(re){return new(re||me)(t.LFG(wc,8))},me.\u0275mod=t.oAB({type:me}),me.\u0275inj=t.cJS({imports:[zr]}),me})();function fo(me){return"guarded"}function ud(me){return["disabled"===me.initialNavigation?Io(3,[{provide:t.ip1,multi:!0,useFactory:()=>{const we=(0,t.f3M)(ba);return()=>{we.setUpLocationChangeListener()}}},{provide:Yc,useValue:2}]).\u0275providers:[],"enabledBlocking"===me.initialNavigation?Io(2,[{provide:Yc,useValue:0},{provide:t.ip1,multi:!0,deps:[t.zs3],useFactory:we=>{const re=we.get(z.V_,Promise.resolve());return()=>re.then(()=>new Promise(lt=>{const At=we.get(ba),kt=we.get(Il);(function ze(lt){we.get(ba).events.pipe((0,ee.h)(kt=>kt instanceof Li||kt instanceof dn||kt instanceof on),(0,G.U)(kt=>kt instanceof Li||kt instanceof dn&&(0===kt.code||1===kt.code)&&null),(0,ee.h)(kt=>null!==kt),(0,Y.q)(1)).subscribe(()=>{lt()})})(()=>{lt(!0)}),At.afterPreactivation=()=>(lt(!0),kt.closed?(0,v.of)(void 0):kt),At.initialNavigation()}))}}]).\u0275providers:[]]}const Ts=new t.OlP("")},2216:(Ve,Q,m)=>{"use strict";m.d(Q,{BN:()=>Wn,uH:()=>ri});var t=m(4650);function e(Ne,ut){var xt=Object.keys(Ne);if(Object.getOwnPropertySymbols){var Pt=Object.getOwnPropertySymbols(Ne);ut&&(Pt=Pt.filter(function(Qe){return Object.getOwnPropertyDescriptor(Ne,Qe).enumerable})),xt.push.apply(xt,Pt)}return xt}function v(Ne){for(var ut=1;ut<arguments.length;ut++){var xt=null!=arguments[ut]?arguments[ut]:{};ut%2?e(Object(xt),!0).forEach(function(Pt){d(Ne,Pt,xt[Pt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ne,Object.getOwnPropertyDescriptors(xt)):e(Object(xt)).forEach(function(Pt){Object.defineProperty(Ne,Pt,Object.getOwnPropertyDescriptor(xt,Pt))})}return Ne}function D(Ne){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ut){return typeof ut}:function(ut){return ut&&"function"==typeof Symbol&&ut.constructor===Symbol&&ut!==Symbol.prototype?"symbol":typeof ut})(Ne)}function u(Ne,ut){for(var xt=0;xt<ut.length;xt++){var Pt=ut[xt];Pt.enumerable=Pt.enumerable||!1,Pt.configurable=!0,"value"in Pt&&(Pt.writable=!0),Object.defineProperty(Ne,Pt.key,Pt)}}function d(Ne,ut,xt){return ut in Ne?Object.defineProperty(Ne,ut,{value:xt,enumerable:!0,configurable:!0,writable:!0}):Ne[ut]=xt,Ne}function I(Ne,ut){return function z(Ne){if(Array.isArray(Ne))return Ne}(Ne)||function W(Ne,ut){var xt=null==Ne?null:typeof Symbol<"u"&&Ne[Symbol.iterator]||Ne["@@iterator"];if(null!=xt){var li,ii,Pt=[],Qe=!0,Jt=!1;try{for(xt=xt.call(Ne);!(Qe=(li=xt.next()).done)&&(Pt.push(li.value),!ut||Pt.length!==ut);Qe=!0);}catch(bi){Jt=!0,ii=bi}finally{try{!Qe&&null!=xt.return&&xt.return()}finally{if(Jt)throw ii}}return Pt}}(Ne,ut)||Y(Ne,ut)||function ue(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(Ne){return function N(Ne){if(Array.isArray(Ne))return X(Ne)}(Ne)||function G(Ne){if(typeof Symbol<"u"&&null!=Ne[Symbol.iterator]||null!=Ne["@@iterator"])return Array.from(Ne)}(Ne)||Y(Ne)||function ee(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(Ne,ut){if(Ne){if("string"==typeof Ne)return X(Ne,ut);var xt=Object.prototype.toString.call(Ne).slice(8,-1);if("Object"===xt&&Ne.constructor&&(xt=Ne.constructor.name),"Map"===xt||"Set"===xt)return Array.from(Ne);if("Arguments"===xt||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(xt))return X(Ne,ut)}}function X(Ne,ut){(null==ut||ut>Ne.length)&&(ut=Ne.length);for(var xt=0,Pt=new Array(ut);xt<ut;xt++)Pt[xt]=Ne[xt];return Pt}var he=function(){},ie={},ce={},$=null,fe={mark:he,measure:he};try{typeof window<"u"&&(ie=window),typeof document<"u"&&(ce=document),typeof MutationObserver<"u"&&($=MutationObserver),typeof performance<"u"&&(fe=performance)}catch{}var b,U,V,j,Ae,i=(ie.navigator||{}).userAgent,r=void 0===i?"":i,h=ie,l=ce,y=$,A=fe,g=!!l.documentElement&&!!l.head&&"function"==typeof l.addEventListener&&"function"==typeof l.createElement,n=~r.indexOf("MSIE")||~r.indexOf("Trident/"),Ke="___FONT_AWESOME___",Ie="svg-inline--fa",xe="data-fa-i2svg",le="data-fa-pseudo-element",se="data-prefix",Ye="data-icon",Te="fontawesome-i2svg",be=["HTML","HEAD","STYLE","SCRIPT"],te=function(){try{return!0}catch{return!1}}(),Ue="classic",Be="sharp",q=[Ue,Be];function de(Ne){return new Proxy(Ne,{get:function(xt,Pt){return Pt in xt?xt[Pt]:xt[Ue]}})}var Ce=de((d(b={},Ue,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),d(b,Be,{fa:"solid",fass:"solid","fa-solid":"solid"}),b)),ke=de((d(U={},Ue,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),d(U,Be,{solid:"fass"}),U)),ht=de((d(V={},Ue,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),d(V,Be,{fass:"fa-solid"}),V)),nt=de((d(j={},Ue,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),d(j,Be,{"fa-solid":"fass"}),j)),wt=/fa(s|r|l|t|d|b|k|ss)?[\-\ ]/,it="fa-layers-text",qt=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,_t=de((d(Ae={},Ue,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),d(Ae,Be,{900:"fass"}),Ae)),ne=[1,2,3,4,5,6,7,8,9,10],Nt=ne.concat([11,12,13,14,15,16,17,18,19,20]),De=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ct=new Set;Object.keys(ke[Ue]).map(Ct.add.bind(Ct)),Object.keys(ke[Be]).map(Ct.add.bind(Ct));var Pe=[].concat(q,E(Ct),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","duotone-group","swap-opacity","primary","secondary"]).concat(ne.map(function(Ne){return"".concat(Ne,"x")})).concat(Nt.map(function(Ne){return"w-".concat(Ne)})),tt=h.FontAwesomeConfig||{};l&&"function"==typeof l.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(Ne){var ut=I(Ne,2),Pt=ut[1],Qe=function Lt(Ne){return""===Ne||"false"!==Ne&&("true"===Ne||Ne)}(function Bt(Ne){var ut=l.querySelector("script["+Ne+"]");if(ut)return ut.getAttribute(Ne)}(ut[0]));null!=Qe&&(tt[Pt]=Qe)});var bt={styleDefault:"solid",familyDefault:"classic",cssPrefix:"fa",replacementClass:Ie,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};tt.familyPrefix&&(tt.cssPrefix=tt.familyPrefix);var Me=v(v({},bt),tt);Me.autoReplaceSvg||(Me.observeMutations=!1);var J={};Object.keys(bt).forEach(function(Ne){Object.defineProperty(J,Ne,{enumerable:!0,set:function(xt){Me[Ne]=xt,ve.forEach(function(Pt){return Pt(J)})},get:function(){return Me[Ne]}})}),Object.defineProperty(J,"familyPrefix",{enumerable:!0,set:function(ut){Me.cssPrefix=ut,ve.forEach(function(xt){return xt(J)})},get:function(){return Me.cssPrefix}}),h.FontAwesomeConfig=J;var ve=[],ni={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function dt(){for(var Ne=12,ut="";Ne-- >0;)ut+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return ut}function rt(Ne){for(var ut=[],xt=(Ne||[]).length>>>0;xt--;)ut[xt]=Ne[xt];return ut}function vt(Ne){return Ne.classList?rt(Ne.classList):(Ne.getAttribute("class")||"").split(" ").filter(function(ut){return ut})}function ai(Ne){return"".concat(Ne).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Vt(Ne){return Object.keys(Ne||{}).reduce(function(ut,xt){return ut+"".concat(xt,": ").concat(Ne[xt].trim(),";")},"")}function Rt(Ne){return Ne.size!==ni.size||Ne.x!==ni.x||Ne.y!==ni.y||Ne.rotate!==ni.rotate||Ne.flipX||Ne.flipY}function Je(){var ut=Ie,xt=J.cssPrefix,Pt=J.replacementClass,Qe=':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-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 transition-delay: 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}';if("fa"!==xt||Pt!==ut){var Jt=new RegExp("\\.".concat("fa","\\-"),"g"),li=new RegExp("\\--".concat("fa","\\-"),"g"),ii=new RegExp("\\.".concat(ut),"g");Qe=Qe.replace(Jt,".".concat(xt,"-")).replace(li,"--".concat(xt,"-")).replace(ii,".".concat(Pt))}return Qe}var Tt=!1;function ui(){J.autoAddCss&&!Tt&&(function Gt(Ne){if(Ne&&g){var ut=l.createElement("style");ut.setAttribute("type","text/css"),ut.innerHTML=Ne;for(var xt=l.head.childNodes,Pt=null,Qe=xt.length-1;Qe>-1;Qe--){var Jt=xt[Qe],li=(Jt.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(li)>-1&&(Pt=Jt)}l.head.insertBefore(ut,Pt)}}(Je()),Tt=!0)}var Ei={mixout:function(){return{dom:{css:Je,insertCss:ui}}},hooks:function(){return{beforeDOMElementCreation:function(){ui()},beforeI2svg:function(){ui()}}}},xi=h||{};xi[Ke]||(xi[Ke]={}),xi[Ke].styles||(xi[Ke].styles={}),xi[Ke].hooks||(xi[Ke].hooks={}),xi[Ke].shims||(xi[Ke].shims=[]);var Vi=xi[Ke],$e=[],ye=!1;function Ot(Ne){!g||(ye?setTimeout(Ne,0):$e.push(Ne))}function Kt(Ne){var ut=Ne.tag,xt=Ne.attributes,Pt=void 0===xt?{}:xt,Qe=Ne.children,Jt=void 0===Qe?[]:Qe;return"string"==typeof Ne?ai(Ne):"<".concat(ut," ").concat(function Ut(Ne){return Object.keys(Ne||{}).reduce(function(ut,xt){return ut+"".concat(xt,'="').concat(ai(Ne[xt]),'" ')},"").trim()}(Pt),">").concat(Jt.map(Kt).join(""),"</").concat(ut,">")}function mi(Ne,ut,xt){if(Ne&&Ne[ut]&&Ne[ut][xt])return{prefix:ut,iconName:xt,icon:Ne[ut][xt]}}g&&((ye=(l.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(l.readyState))||l.addEventListener("DOMContentLoaded",function Ne(){l.removeEventListener("DOMContentLoaded",Ne),ye=1,$e.map(function(ut){return ut()})}));var Pi=function(ut,xt,Pt,Qe){var bi,Ii,ji,Jt=Object.keys(ut),li=Jt.length,ii=void 0!==Qe?function(ut,xt){return function(Pt,Qe,Jt,li){return ut.call(xt,Pt,Qe,Jt,li)}}(xt,Qe):xt;for(void 0===Pt?(bi=1,ji=ut[Jt[0]]):(bi=0,ji=Pt);bi<li;bi++)ji=ii(ji,ut[Ii=Jt[bi]],Ii,ut);return ji};function Zt(Ne){var ut=function Wi(Ne){for(var ut=[],xt=0,Pt=Ne.length;xt<Pt;){var Qe=Ne.charCodeAt(xt++);if(Qe>=55296&&Qe<=56319&&xt<Pt){var Jt=Ne.charCodeAt(xt++);56320==(64512&Jt)?ut.push(((1023&Qe)<<10)+(1023&Jt)+65536):(ut.push(Qe),xt--)}else ut.push(Qe)}return ut}(Ne);return 1===ut.length?ut[0].toString(16):null}function ge(Ne){return Object.keys(Ne).reduce(function(ut,xt){var Pt=Ne[xt];return Pt.icon?ut[Pt.iconName]=Pt.icon:ut[xt]=Pt,ut},{})}function Xe(Ne,ut){var xt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Pt=xt.skipHooks,Qe=void 0!==Pt&&Pt,Jt=ge(ut);"function"!=typeof Vi.hooks.addPack||Qe?Vi.styles[Ne]=v(v({},Vi.styles[Ne]||{}),Jt):Vi.hooks.addPack(Ne,ge(ut)),"fas"===Ne&&Xe("fa",ut)}var pt,Xt,zt,Li=Vi.styles,dn=Vi.shims,on=(d(pt={},Ue,Object.values(ht[Ue])),d(pt,Be,Object.values(ht[Be])),pt),Xn=null,Gr={},bn={},Zr={},fr={},Nr={},Oi=(d(Xt={},Ue,Object.keys(Ce[Ue])),d(Xt,Be,Object.keys(Ce[Be])),Xt);function Tn(Ne,ut){var xt=ut.split("-"),Pt=xt[0],Qe=xt.slice(1).join("-");return Pt!==Ne||""===Qe||function Ui(Ne){return~Pe.indexOf(Ne)}(Qe)?null:Qe}var Qt=function(){var ut=function(Jt){return Pi(Li,function(li,ii,bi){return li[bi]=Pi(ii,Jt,{}),li},{})};Gr=ut(function(Qe,Jt,li){return Jt[3]&&(Qe[Jt[3]]=li),Jt[2]&&Jt[2].filter(function(bi){return"number"==typeof bi}).forEach(function(bi){Qe[bi.toString(16)]=li}),Qe}),bn=ut(function(Qe,Jt,li){return Qe[li]=li,Jt[2]&&Jt[2].filter(function(bi){return"string"==typeof bi}).forEach(function(bi){Qe[bi]=li}),Qe}),Nr=ut(function(Qe,Jt,li){var ii=Jt[2];return Qe[li]=li,ii.forEach(function(bi){Qe[bi]=li}),Qe});var xt="far"in Li||J.autoFetchSvg,Pt=Pi(dn,function(Qe,Jt){var li=Jt[0],ii=Jt[1],bi=Jt[2];return"far"===ii&&!xt&&(ii="fas"),"string"==typeof li&&(Qe.names[li]={prefix:ii,iconName:bi}),"number"==typeof li&&(Qe.unicodes[li.toString(16)]={prefix:ii,iconName:bi}),Qe},{names:{},unicodes:{}});Zr=Pt.names,fr=Pt.unicodes,Xn=zn(J.styleDefault,{family:J.familyDefault})};function vi(Ne,ut){return(Gr[Ne]||{})[ut]}function _i(Ne,ut){return(Nr[Ne]||{})[ut]}function Fi(Ne){return Zr[Ne]||{prefix:null,iconName:null}}function yn(){return Xn}function zn(Ne){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},xt=ut.family,Pt=void 0===xt?Ue:xt,Qe=Ce[Pt][Ne],Jt=ke[Pt][Ne]||ke[Pt][Qe],li=Ne in Vi.styles?Ne:null;return Jt||li||null}(function Re(Ne){ve.push(Ne)})(function(Ne){Xn=zn(Ne.styleDefault,{family:J.familyDefault})}),Qt();var ar=(d(zt={},Ue,Object.keys(ht[Ue])),d(zt,Be,Object.keys(ht[Be])),zt);function On(Ne){var ut,xt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Pt=xt.skipLookups,Qe=void 0!==Pt&&Pt,Jt=(d(ut={},Ue,"".concat(J.cssPrefix,"-").concat(Ue)),d(ut,Be,"".concat(J.cssPrefix,"-").concat(Be)),ut),li=null,ii=Ue;(Ne.includes(Jt[Ue])||Ne.some(function(Ii){return ar[Ue].includes(Ii)}))&&(ii=Ue),(Ne.includes(Jt[Be])||Ne.some(function(Ii){return ar[Be].includes(Ii)}))&&(ii=Be);var bi=Ne.reduce(function(Ii,ji){var rn=Tn(J.cssPrefix,ji);if(Li[ji]?(ji=on[ii].includes(ji)?nt[ii][ji]:ji,li=ji,Ii.prefix=ji):Oi[ii].indexOf(ji)>-1?(li=ji,Ii.prefix=zn(ji,{family:ii})):rn?Ii.iconName=rn:ji!==J.replacementClass&&ji!==Jt[Ue]&&ji!==Jt[Be]&&Ii.rest.push(ji),!Qe&&Ii.prefix&&Ii.iconName){var ln="fa"===li?Fi(Ii.iconName):{},Cn=_i(Ii.prefix,Ii.iconName);ln.prefix&&(li=null),Ii.iconName=ln.iconName||Cn||Ii.iconName,Ii.prefix=ln.prefix||Ii.prefix,"far"===Ii.prefix&&!Li.far&&Li.fas&&!J.autoFetchSvg&&(Ii.prefix="fas")}return Ii},{prefix:null,iconName:null,rest:[]});return(Ne.includes("fa-brands")||Ne.includes("fab"))&&(bi.prefix="fab"),(Ne.includes("fa-duotone")||Ne.includes("fad"))&&(bi.prefix="fad"),!bi.prefix&&ii===Be&&(Li.fass||J.autoFetchSvg)&&(bi.prefix="fass",bi.iconName=_i(bi.prefix,bi.iconName)||bi.iconName),("fa"===bi.prefix||"fa"===li)&&(bi.prefix=yn()||"fas"),bi}var Pn=function(){function Ne(){(function C(Ne,ut){if(!(Ne instanceof ut))throw new TypeError("Cannot call a class as a function")})(this,Ne),this.definitions={}}return function P(Ne,ut,xt){ut&&u(Ne.prototype,ut),xt&&u(Ne,xt),Object.defineProperty(Ne,"prototype",{writable:!1})}(Ne,[{key:"add",value:function(){for(var xt=this,Pt=arguments.length,Qe=new Array(Pt),Jt=0;Jt<Pt;Jt++)Qe[Jt]=arguments[Jt];var li=Qe.reduce(this._pullDefinitions,{});Object.keys(li).forEach(function(ii){xt.definitions[ii]=v(v({},xt.definitions[ii]||{}),li[ii]),Xe(ii,li[ii]);var bi=ht[Ue][ii];bi&&Xe(bi,li[ii]),Qt()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(xt,Pt){var Qe=Pt.prefix&&Pt.iconName&&Pt.icon?{0:Pt}:Pt;return Object.keys(Qe).map(function(Jt){var li=Qe[Jt],ii=li.prefix,bi=li.iconName,Ii=li.icon,ji=Ii[2];xt[ii]||(xt[ii]={}),ji.length>0&&ji.forEach(function(rn){"string"==typeof rn&&(xt[ii][rn]=Ii)}),xt[ii][bi]=Ii}),xt}}]),Ne}(),pa=[],ir={},dr={},Va=Object.keys(dr);function jr(Ne,ut){for(var xt=arguments.length,Pt=new Array(xt>2?xt-2:0),Qe=2;Qe<xt;Qe++)Pt[Qe-2]=arguments[Qe];var Jt=ir[Ne]||[];return Jt.forEach(function(li){ut=li.apply(null,[ut].concat(Pt))}),ut}function cr(Ne){for(var ut=arguments.length,xt=new Array(ut>1?ut-1:0),Pt=1;Pt<ut;Pt++)xt[Pt-1]=arguments[Pt];var Qe=ir[Ne]||[];Qe.forEach(function(Jt){Jt.apply(null,xt)})}function Ar(){var Ne=arguments[0],ut=Array.prototype.slice.call(arguments,1);return dr[Ne]?dr[Ne].apply(null,ut):void 0}function Sr(Ne){"fa"===Ne.prefix&&(Ne.prefix="fas");var ut=Ne.iconName,xt=Ne.prefix||yn();if(ut)return ut=_i(xt,ut)||ut,mi(os.definitions,xt,ut)||mi(Vi.styles,xt,ut)}var os=new Pn,Ba={i2svg:function(){var ut=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return g?(cr("beforeI2svg",ut),Ar("pseudoElements2svg",ut),Ar("i2svg",ut)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var ut=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},xt=ut.autoReplaceSvgRoot;!1===J.autoReplaceSvg&&(J.autoReplaceSvg=!0),J.observeMutations=!0,Ot(function(){ls({autoReplaceSvgRoot:xt}),cr("watch",ut)})}},Hr={noAuto:function(){J.autoReplaceSvg=!1,J.observeMutations=!1,cr("noAuto")},config:J,dom:Ba,parse:{icon:function(ut){if(null===ut)return null;if("object"===D(ut)&&ut.prefix&&ut.iconName)return{prefix:ut.prefix,iconName:_i(ut.prefix,ut.iconName)||ut.iconName};if(Array.isArray(ut)&&2===ut.length){var xt=0===ut[1].indexOf("fa-")?ut[1].slice(3):ut[1],Pt=zn(ut[0]);return{prefix:Pt,iconName:_i(Pt,xt)||xt}}if("string"==typeof ut&&(ut.indexOf("".concat(J.cssPrefix,"-"))>-1||ut.match(wt))){var Qe=On(ut.split(" "),{skipLookups:!0});return{prefix:Qe.prefix||yn(),iconName:_i(Qe.prefix,Qe.iconName)||Qe.iconName}}if("string"==typeof ut){var Jt=yn();return{prefix:Jt,iconName:_i(Jt,ut)||ut}}}},library:os,findIconDefinition:Sr,toHtml:Kt},ls=function(){var ut=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},xt=ut.autoReplaceSvgRoot,Pt=void 0===xt?l:xt;(Object.keys(Vi.styles).length>0||J.autoFetchSvg)&&g&&J.autoReplaceSvg&&Hr.dom.i2svg({node:Pt})};function Lr(Ne,ut){return Object.defineProperty(Ne,"abstract",{get:ut}),Object.defineProperty(Ne,"html",{get:function(){return Ne.abstract.map(function(Pt){return Kt(Pt)})}}),Object.defineProperty(Ne,"node",{get:function(){if(g){var Pt=l.createElement("div");return Pt.innerHTML=Ne.html,Pt.children}}}),Ne}function Ns(Ne){var ut=Ne.icons,xt=ut.main,Pt=ut.mask,Qe=Ne.prefix,Jt=Ne.iconName,li=Ne.transform,ii=Ne.symbol,bi=Ne.title,Ii=Ne.maskId,ji=Ne.titleId,rn=Ne.extra,ln=Ne.watchable,Cn=void 0!==ln&&ln,br=Pt.found?Pt:xt,Ir=br.width,Br=br.height,ta="fak"===Qe,kr=[J.replacementClass,Jt?"".concat(J.cssPrefix,"-").concat(Jt):""].filter(function(ps){return-1===rn.classes.indexOf(ps)}).filter(function(ps){return""!==ps||!!ps}).concat(rn.classes).join(" "),Er={children:[],attributes:v(v({},rn.attributes),{},{"data-prefix":Qe,"data-icon":Jt,class:kr,role:rn.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Ir," ").concat(Br)})},va=ta&&!~rn.classes.indexOf("fa-fw")?{width:"".concat(Ir/Br*16*.0625,"em")}:{};Cn&&(Er.attributes[xe]=""),bi&&(Er.children.push({tag:"title",attributes:{id:Er.attributes["aria-labelledby"]||"title-".concat(ji||dt())},children:[bi]}),delete Er.attributes.title);var mr=v(v({},Er),{},{prefix:Qe,iconName:Jt,main:xt,mask:Pt,maskId:Ii,transform:li,symbol:ii,styles:v(v({},va),rn.styles)}),rs=Pt.found&&xt.found?Ar("generateAbstractMask",mr)||{children:[],attributes:{}}:Ar("generateAbstractIcon",mr)||{children:[],attributes:{}},Wa=rs.attributes;return mr.children=rs.children,mr.attributes=Wa,ii?function Ja(Ne){var xt=Ne.iconName,Pt=Ne.children,Qe=Ne.attributes,Jt=Ne.symbol,li=!0===Jt?"".concat(Ne.prefix,"-").concat(J.cssPrefix,"-").concat(xt):Jt;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:v(v({},Qe),{},{id:li}),children:Pt}]}]}(mr):function xs(Ne){var ut=Ne.children,xt=Ne.main,Pt=Ne.mask,Qe=Ne.attributes,Jt=Ne.styles,li=Ne.transform;if(Rt(li)&&xt.found&&!Pt.found){var Ii={x:xt.width/xt.height/2,y:.5};Qe.style=Vt(v(v({},Jt),{},{"transform-origin":"".concat(Ii.x+li.x/16,"em ").concat(Ii.y+li.y/16,"em")}))}return[{tag:"svg",attributes:Qe,children:ut}]}(mr)}function Fs(Ne){var ut=Ne.content,xt=Ne.width,Pt=Ne.height,Qe=Ne.transform,Jt=Ne.title,li=Ne.extra,ii=Ne.watchable,bi=void 0!==ii&&ii,Ii=v(v(v({},li.attributes),Jt?{title:Jt}:{}),{},{class:li.classes.join(" ")});bi&&(Ii[xe]="");var ji=v({},li.styles);Rt(Qe)&&(ji.transform=function Fe(Ne){var ut=Ne.transform,xt=Ne.width,Qe=Ne.height,Jt=void 0===Qe?16:Qe,li=Ne.startCentered,ii=void 0!==li&&li,bi="";return bi+=ii&&n?"translate(".concat(ut.x/16-(void 0===xt?16:xt)/2,"em, ").concat(ut.y/16-Jt/2,"em) "):ii?"translate(calc(-50% + ".concat(ut.x/16,"em), calc(-50% + ").concat(ut.y/16,"em)) "):"translate(".concat(ut.x/16,"em, ").concat(ut.y/16,"em) "),(bi+="scale(".concat(ut.size/16*(ut.flipX?-1:1),", ").concat(ut.size/16*(ut.flipY?-1:1),") "))+"rotate(".concat(ut.rotate,"deg) ")}({transform:Qe,startCentered:!0,width:xt,height:Pt}),ji["-webkit-transform"]=ji.transform);var rn=Vt(ji);rn.length>0&&(Ii.style=rn);var ln=[];return ln.push({tag:"span",attributes:Ii,children:[ut]}),Jt&&ln.push({tag:"span",attributes:{class:"sr-only"},children:[Jt]}),ln}function Ma(Ne){var ut=Ne.content,xt=Ne.title,Pt=Ne.extra,Qe=v(v(v({},Pt.attributes),xt?{title:xt}:{}),{},{class:Pt.classes.join(" ")}),Jt=Vt(Pt.styles);Jt.length>0&&(Qe.style=Jt);var li=[];return li.push({tag:"span",attributes:Qe,children:[ut]}),xt&&li.push({tag:"span",attributes:{class:"sr-only"},children:[xt]}),li}var ds=Vi.styles;function hs(Ne){var ut=Ne[0],xt=Ne[1],Jt=I(Ne.slice(4),1)[0];return{found:!0,width:ut,height:xt,icon:Array.isArray(Jt)?{tag:"g",attributes:{class:"".concat(J.cssPrefix,"-").concat("duotone-group")},children:[{tag:"path",attributes:{class:"".concat(J.cssPrefix,"-").concat("secondary"),fill:"currentColor",d:Jt[0]}},{tag:"path",attributes:{class:"".concat(J.cssPrefix,"-").concat("primary"),fill:"currentColor",d:Jt[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:Jt}}}}var ka={found:!1,width:512,height:512};function ga(Ne,ut){var xt=ut;return"fa"===ut&&null!==J.styleDefault&&(ut=yn()),new Promise(function(Pt,Qe){if(Ar("missingIconAbstract"),"fa"===xt){var li=Fi(Ne)||{};Ne=li.iconName||Ne,ut=li.prefix||ut}if(Ne&&ut&&ds[ut]&&ds[ut][Ne])return Pt(hs(ds[ut][Ne]));(function Oa(Ne,ut){!te&&!J.showMissingIcons&&Ne&&console.error('Icon with name "'.concat(Ne,'" and prefix "').concat(ut,'" is missing.'))})(Ne,ut),Pt(v(v({},ka),{},{icon:J.showMissingIcons&&Ne&&Ar("missingIconAbstract")||{}}))})}var Xa=function(){},hr=J.measurePerformance&&A&&A.mark&&A.measure?A:{mark:Xa,measure:Xa},zr='FA "6.2.1"',Sa_begin=function(ut){return hr.mark("".concat(zr," ").concat(ut," begins")),function(){return function(ut){hr.mark("".concat(zr," ").concat(ut," ends")),hr.measure("".concat(zr," ").concat(ut),"".concat(zr," ").concat(ut," begins"),"".concat(zr," ").concat(ut," ends"))}(ut)}},us=function(){};function Wr(Ne){return"string"==typeof(Ne.getAttribute?Ne.getAttribute(xe):null)}function fs(Ne){return l.createElementNS("http://www.w3.org/2000/svg",Ne)}function es(Ne){return l.createElement(Ne)}function Zn(Ne){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},xt=ut.ceFn,Pt=void 0===xt?"svg"===Ne.tag?fs:es:xt;if("string"==typeof Ne)return l.createTextNode(Ne);var Qe=Pt(Ne.tag);Object.keys(Ne.attributes||[]).forEach(function(li){Qe.setAttribute(li,Ne.attributes[li])});var Jt=Ne.children||[];return Jt.forEach(function(li){Qe.appendChild(Zn(li,{ceFn:Pt}))}),Qe}var sr={replace:function(ut){var xt=ut[0];if(xt.parentNode)if(ut[1].forEach(function(Qe){xt.parentNode.insertBefore(Zn(Qe),xt)}),null===xt.getAttribute(xe)&&J.keepOriginalSource){var Pt=l.createComment(function Ga(Ne){var ut=" ".concat(Ne.outerHTML," ");return"".concat(ut,"Font Awesome fontawesome.com ")}(xt));xt.parentNode.replaceChild(Pt,xt)}else xt.remove()},nest:function(ut){var xt=ut[0],Pt=ut[1];if(~vt(xt).indexOf(J.replacementClass))return sr.replace(ut);var Qe=new RegExp("".concat(J.cssPrefix,"-.*"));if(delete Pt[0].attributes.id,Pt[0].attributes.class){var Jt=Pt[0].attributes.class.split(" ").reduce(function(ii,bi){return bi===J.replacementClass||bi.match(Qe)?ii.toSvg.push(bi):ii.toNode.push(bi),ii},{toNode:[],toSvg:[]});Pt[0].attributes.class=Jt.toSvg.join(" "),0===Jt.toNode.length?xt.removeAttribute("class"):xt.setAttribute("class",Jt.toNode.join(" "))}var li=Pt.map(function(ii){return Kt(ii)}).join("\n");xt.setAttribute(xe,""),xt.innerHTML=li}};function qn(Ne){Ne()}function Za(Ne,ut){var xt="function"==typeof ut?ut:us;if(0===Ne.length)xt();else{var Pt=qn;"async"===J.mutateApproach&&(Pt=h.requestAnimationFrame||qn),Pt(function(){var Qe=function Xr(){return!0===J.autoReplaceSvg?sr.replace:sr[J.autoReplaceSvg]||sr.replace}(),Jt=Sa_begin("mutate");Ne.map(Qe),Jt(),xt()})}}var Yr=!1;function lr(){Yr=!0}function aa(){Yr=!1}var Ft=null;function hi(Ne){if(y&&J.observeMutations){var ut=Ne.treeCallback,xt=void 0===ut?us:ut,Pt=Ne.nodeCallback,Qe=void 0===Pt?us:Pt,Jt=Ne.pseudoElementsCallback,li=void 0===Jt?us:Jt,ii=Ne.observeMutationsRoot,bi=void 0===ii?l:ii;Ft=new y(function(Ii){if(!Yr){var ji=yn();rt(Ii).forEach(function(rn){if("childList"===rn.type&&rn.addedNodes.length>0&&!Wr(rn.addedNodes[0])&&(J.searchPseudoElements&&li(rn.target),xt(rn.target)),"attributes"===rn.type&&rn.target.parentNode&&J.searchPseudoElements&&li(rn.target.parentNode),"attributes"===rn.type&&Wr(rn.target)&&~De.indexOf(rn.attributeName))if("class"===rn.attributeName&&function Ea(Ne){var ut=Ne.getAttribute?Ne.getAttribute(se):null,xt=Ne.getAttribute?Ne.getAttribute(Ye):null;return ut&&xt}(rn.target)){var ln=On(vt(rn.target)),br=ln.iconName;rn.target.setAttribute(se,ln.prefix||ji),br&&rn.target.setAttribute(Ye,br)}else(function Ua(Ne){return Ne&&Ne.classList&&Ne.classList.contains&&Ne.classList.contains(J.replacementClass)})(rn.target)&&Qe(rn.target)})}}),g&&Ft.observe(bi,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function si(Ne){var ut=Ne.getAttribute("style"),xt=[];return ut&&(xt=ut.split(";").reduce(function(Pt,Qe){var Jt=Qe.split(":"),li=Jt[0],ii=Jt.slice(1);return li&&ii.length>0&&(Pt[li]=ii.join(":").trim()),Pt},{})),xt}function zi(Ne){var ut=Ne.getAttribute("data-prefix"),xt=Ne.getAttribute("data-icon"),Pt=void 0!==Ne.innerText?Ne.innerText.trim():"",Qe=On(vt(Ne));return Qe.prefix||(Qe.prefix=yn()),ut&&xt&&(Qe.prefix=ut,Qe.iconName=xt),Qe.iconName&&Qe.prefix||(Qe.prefix&&Pt.length>0&&(Qe.iconName=function gi(Ne,ut){return(bn[Ne]||{})[ut]}(Qe.prefix,Ne.innerText)||vi(Qe.prefix,Zt(Ne.innerText))),!Qe.iconName&&J.autoFetchSvg&&Ne.firstChild&&Ne.firstChild.nodeType===Node.TEXT_NODE&&(Qe.iconName=Ne.firstChild.data)),Qe}function $i(Ne){var ut=rt(Ne.attributes).reduce(function(Qe,Jt){return"class"!==Qe.name&&"style"!==Qe.name&&(Qe[Jt.name]=Jt.value),Qe},{}),xt=Ne.getAttribute("title"),Pt=Ne.getAttribute("data-fa-title-id");return J.autoA11y&&(xt?ut["aria-labelledby"]="".concat(J.replacementClass,"-title-").concat(Pt||dt()):(ut["aria-hidden"]="true",ut.focusable="false")),ut}function vr(Ne){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},xt=zi(Ne),Pt=xt.iconName,Qe=xt.prefix,Jt=xt.rest,li=$i(Ne),ii=jr("parseNodeAttributes",{},Ne),bi=ut.styleParser?si(Ne):[];return v({iconName:Pt,title:Ne.getAttribute("title"),titleId:Ne.getAttribute("data-fa-title-id"),prefix:Qe,transform:ni,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:Jt,styles:bi,attributes:li}},ii)}var Ji=Vi.styles;function xn(Ne){var ut="nest"===J.autoReplaceSvg?vr(Ne,{styleParser:!1}):vr(Ne);return~ut.extra.classes.indexOf(it)?Ar("generateLayersText",Ne,ut):Ar("generateSvgReplacementMutation",Ne,ut)}var $r=new Set;function st(Ne){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!g)return Promise.resolve();var xt=l.documentElement.classList,Pt=function(rn){return xt.add("".concat(Te,"-").concat(rn))},Qe=function(rn){return xt.remove("".concat(Te,"-").concat(rn))},Jt=J.autoFetchSvg?$r:q.map(function(ji){return"fa-".concat(ji)}).concat(Object.keys(Ji));Jt.includes("fa")||Jt.push("fa");var li=[".".concat(it,":not([").concat(xe,"])")].concat(Jt.map(function(ji){return".".concat(ji,":not([").concat(xe,"])")})).join(", ");if(0===li.length)return Promise.resolve();var ii=[];try{ii=rt(Ne.querySelectorAll(li))}catch{}if(!(ii.length>0))return Promise.resolve();Pt("pending"),Qe("complete");var bi=Sa_begin("onTree"),Ii=ii.reduce(function(ji,rn){try{var ln=xn(rn);ln&&ji.push(ln)}catch(Cn){te||"MissingIcon"===Cn.name&&console.error(Cn)}return ji},[]);return new Promise(function(ji,rn){Promise.all(Ii).then(function(ln){Za(ln,function(){Pt("active"),Pt("complete"),Qe("pending"),"function"==typeof ut&&ut(),bi(),ji()})}).catch(function(ln){bi(),rn(ln)})})}function et(Ne){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;xn(Ne).then(function(xt){xt&&Za([xt],ut)})}q.map(function(Ne){$r.add("fa-".concat(Ne))}),Object.keys(Ce[Ue]).map($r.add.bind($r)),Object.keys(Ce[Be]).map($r.add.bind($r)),$r=E($r);var It=function(ut){var xt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Pt=xt.transform,Qe=void 0===Pt?ni:Pt,Jt=xt.symbol,li=void 0!==Jt&&Jt,ii=xt.mask,bi=void 0===ii?null:ii,Ii=xt.maskId,ji=void 0===Ii?null:Ii,rn=xt.title,ln=void 0===rn?null:rn,Cn=xt.titleId,br=void 0===Cn?null:Cn,Ir=xt.classes,Br=void 0===Ir?[]:Ir,ta=xt.attributes,kr=void 0===ta?{}:ta,Er=xt.styles,va=void 0===Er?{}:Er;if(ut){var mr=ut.prefix,rs=ut.iconName,sa=ut.icon;return Lr(v({type:"icon"},ut),function(){return cr("beforeDOMElementCreation",{iconDefinition:ut,params:xt}),J.autoA11y&&(ln?kr["aria-labelledby"]="".concat(J.replacementClass,"-title-").concat(br||dt()):(kr["aria-hidden"]="true",kr.focusable="false")),Ns({icons:{main:hs(sa),mask:bi?hs(bi.icon):{found:!1,width:null,height:null,icon:{}}},prefix:mr,iconName:rs,transform:v(v({},ni),Qe),symbol:li,title:ln,maskId:ji,titleId:br,extra:{attributes:kr,styles:va,classes:Br}})})}},Si={mixout:function(){return{icon:(Ne=It,function(ut){var xt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Pt=(ut||{}).icon?ut:Sr(ut||{}),Qe=xt.mask;return Qe&&(Qe=(Qe||{}).icon?Qe:Sr(Qe||{})),Ne(Pt,v(v({},xt),{},{mask:Qe}))})};var Ne},hooks:function(){return{mutationObserverCallbacks:function(xt){return xt.treeCallback=st,xt.nodeCallback=et,xt}}},provides:function(ut){ut.i2svg=function(xt){var Pt=xt.node,Jt=xt.callback;return st(void 0===Pt?l:Pt,void 0===Jt?function(){}:Jt)},ut.generateSvgReplacementMutation=function(xt,Pt){var Qe=Pt.iconName,Jt=Pt.title,li=Pt.titleId,ii=Pt.prefix,bi=Pt.transform,Ii=Pt.symbol,ji=Pt.mask,rn=Pt.maskId,ln=Pt.extra;return new Promise(function(Cn,br){Promise.all([ga(Qe,ii),ji.iconName?ga(ji.iconName,ji.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Ir){var Br=I(Ir,2);Cn([xt,Ns({icons:{main:Br[0],mask:Br[1]},prefix:ii,iconName:Qe,transform:bi,symbol:Ii,maskId:rn,title:Jt,titleId:li,extra:ln,watchable:!0})])}).catch(br)})},ut.generateAbstractIcon=function(xt){var Ii,Pt=xt.children,Qe=xt.attributes,Jt=xt.main,li=xt.transform,bi=Vt(xt.styles);return bi.length>0&&(Qe.style=bi),Rt(li)&&(Ii=Ar("generateAbstractTransformGrouping",{main:Jt,transform:li,containerWidth:Jt.width,iconWidth:Jt.width})),Pt.push(Ii||Jt.icon),{children:Pt,attributes:Qe}}}},Yi={mixout:function(){return{layer:function(xt){var Pt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Qe=Pt.classes,Jt=void 0===Qe?[]:Qe;return Lr({type:"layer"},function(){cr("beforeDOMElementCreation",{assembler:xt,params:Pt});var li=[];return xt(function(ii){Array.isArray(ii)?ii.map(function(bi){li=li.concat(bi.abstract)}):li=li.concat(ii.abstract)}),[{tag:"span",attributes:{class:["".concat(J.cssPrefix,"-layers")].concat(E(Jt)).join(" ")},children:li}]})}}}},or={mixout:function(){return{counter:function(xt){var Pt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Qe=Pt.title,Jt=void 0===Qe?null:Qe,li=Pt.classes,ii=void 0===li?[]:li,bi=Pt.attributes,Ii=void 0===bi?{}:bi,ji=Pt.styles,rn=void 0===ji?{}:ji;return Lr({type:"counter",content:xt},function(){return cr("beforeDOMElementCreation",{content:xt,params:Pt}),Ma({content:xt.toString(),title:Jt,extra:{attributes:Ii,styles:rn,classes:["".concat(J.cssPrefix,"-layers-counter")].concat(E(ii))}})})}}}},Ni={mixout:function(){return{text:function(xt){var Pt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Qe=Pt.transform,Jt=void 0===Qe?ni:Qe,li=Pt.title,ii=void 0===li?null:li,bi=Pt.classes,Ii=void 0===bi?[]:bi,ji=Pt.attributes,rn=void 0===ji?{}:ji,ln=Pt.styles,Cn=void 0===ln?{}:ln;return Lr({type:"text",content:xt},function(){return cr("beforeDOMElementCreation",{content:xt,params:Pt}),Fs({content:xt,transform:v(v({},ni),Jt),title:ii,extra:{attributes:rn,styles:Cn,classes:["".concat(J.cssPrefix,"-layers-text")].concat(E(Ii))}})})}}},provides:function(ut){ut.generateLayersText=function(xt,Pt){var Qe=Pt.title,Jt=Pt.transform,li=Pt.extra,ii=null,bi=null;if(n){var Ii=parseInt(getComputedStyle(xt).fontSize,10),ji=xt.getBoundingClientRect();ii=ji.width/Ii,bi=ji.height/Ii}return J.autoA11y&&!Qe&&(li.attributes["aria-hidden"]="true"),Promise.resolve([xt,Fs({content:xt.innerHTML,width:ii,height:bi,transform:Jt,title:Qe,extra:li,watchable:!0})])}}},Vn=new RegExp('"',"ug"),Hs=[1105920,1112319];function Vr(Ne,ut){var xt="".concat("data-fa-pseudo-element-pending").concat(ut.replace(":","-"));return new Promise(function(Pt,Qe){if(null!==Ne.getAttribute(xt))return Pt();var li=rt(Ne.children).filter(function(sa){return sa.getAttribute(le)===ut})[0],ii=h.getComputedStyle(Ne,ut),bi=ii.getPropertyValue("font-family").match(qt),Ii=ii.getPropertyValue("font-weight"),ji=ii.getPropertyValue("content");if(li&&!bi)return Ne.removeChild(li),Pt();if(bi&&"none"!==ji&&""!==ji){var rn=ii.getPropertyValue("content"),ln=~["Sharp"].indexOf(bi[2])?Be:Ue,Cn=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(bi[2])?ke[ln][bi[2].toLowerCase()]:_t[ln][Ii],br=function Qo(Ne){var ut=Ne.replace(Vn,""),xt=function oi(Ne,ut){var Qe,xt=Ne.length,Pt=Ne.charCodeAt(ut);return Pt>=55296&&Pt<=56319&&xt>ut+1&&(Qe=Ne.charCodeAt(ut+1))>=56320&&Qe<=57343?1024*(Pt-55296)+Qe-56320+65536:Pt}(ut,0),Pt=xt>=Hs[0]&&xt<=Hs[1],Qe=2===ut.length&&ut[0]===ut[1];return{value:Zt(Qe?ut[0]:ut),isSecondary:Pt||Qe}}(rn),Ir=br.value,Br=br.isSecondary,ta=bi[0].startsWith("FontAwesome"),kr=vi(Cn,Ir),Er=kr;if(ta){var va=function qi(Ne){var ut=fr[Ne],xt=vi("fas",Ne);return ut||(xt?{prefix:"fas",iconName:xt}:null)||{prefix:null,iconName:null}}(Ir);va.iconName&&va.prefix&&(kr=va.iconName,Cn=va.prefix)}if(!kr||Br||li&&li.getAttribute(se)===Cn&&li.getAttribute(Ye)===Er)Pt();else{Ne.setAttribute(xt,Er),li&&Ne.removeChild(li);var mr=function Un(){return{iconName:null,title:null,titleId:null,prefix:null,transform:ni,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),rs=mr.extra;rs.attributes[le]=ut,ga(kr,Cn).then(function(sa){var Wa=Ns(v(v({},mr),{},{icons:{main:sa,mask:{prefix:null,iconName:null,rest:[]}},prefix:Cn,iconName:Er,extra:rs,watchable:!0})),ps=l.createElement("svg");"::before"===ut?Ne.insertBefore(ps,Ne.firstChild):Ne.appendChild(ps),ps.outerHTML=Wa.map(function(El){return Kt(El)}).join("\n"),Ne.removeAttribute(xt),Pt()}).catch(Qe)}}else Pt()})}function zs(Ne){return Promise.all([Vr(Ne,"::before"),Vr(Ne,"::after")])}function ts(Ne){return!(Ne.parentNode===document.head||~be.indexOf(Ne.tagName.toUpperCase())||Ne.getAttribute(le)||Ne.parentNode&&"svg"===Ne.parentNode.tagName)}function Ta(Ne){if(g)return new Promise(function(ut,xt){var Pt=rt(Ne.querySelectorAll("*")).filter(ts).map(zs),Qe=Sa_begin("searchPseudoElements");lr(),Promise.all(Pt).then(function(){Qe(),aa(),ut()}).catch(function(){Qe(),aa(),xt()})})}var ms=!1,oo=function(ut){return ut.toLowerCase().split(" ").reduce(function(Pt,Qe){var Jt=Qe.toLowerCase().split("-"),li=Jt[0],ii=Jt.slice(1).join("-");if(li&&"h"===ii)return Pt.flipX=!0,Pt;if(li&&"v"===ii)return Pt.flipY=!0,Pt;if(ii=parseFloat(ii),isNaN(ii))return Pt;switch(li){case"grow":Pt.size=Pt.size+ii;break;case"shrink":Pt.size=Pt.size-ii;break;case"left":Pt.x=Pt.x-ii;break;case"right":Pt.x=Pt.x+ii;break;case"up":Pt.y=Pt.y-ii;break;case"down":Pt.y=Pt.y+ii;break;case"rotate":Pt.rotate=Pt.rotate+ii}return Pt},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},An={x:0,y:0,width:"100%",height:"100%"};function Ri(Ne){var ut=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Ne.attributes&&(Ne.attributes.fill||ut)&&(Ne.attributes.fill="black"),Ne}!function Fr(Ne,ut){var xt=ut.mixoutsTo;pa=Ne,ir={},Object.keys(dr).forEach(function(Pt){-1===Va.indexOf(Pt)&&delete dr[Pt]}),pa.forEach(function(Pt){var Qe=Pt.mixout?Pt.mixout():{};if(Object.keys(Qe).forEach(function(li){"function"==typeof Qe[li]&&(xt[li]=Qe[li]),"object"===D(Qe[li])&&Object.keys(Qe[li]).forEach(function(ii){xt[li]||(xt[li]={}),xt[li][ii]=Qe[li][ii]})}),Pt.hooks){var Jt=Pt.hooks();Object.keys(Jt).forEach(function(li){ir[li]||(ir[li]=[]),ir[li].push(Jt[li])})}Pt.provides&&Pt.provides(dr)})}([Ei,Si,Yi,or,Ni,{hooks:function(){return{mutationObserverCallbacks:function(xt){return xt.pseudoElementsCallback=Ta,xt}}},provides:function(ut){ut.pseudoElements2svg=function(xt){var Pt=xt.node;J.searchPseudoElements&&Ta(void 0===Pt?l:Pt)}}},{mixout:function(){return{dom:{unwatch:function(){lr(),ms=!0}}}},hooks:function(){return{bootstrap:function(){hi(jr("mutationObserverCallbacks",{}))},noAuto:function(){!function yt(){!Ft||Ft.disconnect()}()},watch:function(xt){var Pt=xt.observeMutationsRoot;ms?aa():hi(jr("mutationObserverCallbacks",{observeMutationsRoot:Pt}))}}}},{mixout:function(){return{parse:{transform:function(xt){return oo(xt)}}}},hooks:function(){return{parseNodeAttributes:function(xt,Pt){var Qe=Pt.getAttribute("data-fa-transform");return Qe&&(xt.transform=oo(Qe)),xt}}},provides:function(ut){ut.generateAbstractTransformGrouping=function(xt){var Pt=xt.main,Qe=xt.transform,li=xt.iconWidth,ii={transform:"translate(".concat(xt.containerWidth/2," 256)")},bi="translate(".concat(32*Qe.x,", ").concat(32*Qe.y,") "),Ii="scale(".concat(Qe.size/16*(Qe.flipX?-1:1),", ").concat(Qe.size/16*(Qe.flipY?-1:1),") "),ji="rotate(".concat(Qe.rotate," 0 0)"),Cn={outer:ii,inner:{transform:"".concat(bi," ").concat(Ii," ").concat(ji)},path:{transform:"translate(".concat(li/2*-1," -256)")}};return{tag:"g",attributes:v({},Cn.outer),children:[{tag:"g",attributes:v({},Cn.inner),children:[{tag:Pt.icon.tag,children:Pt.icon.children,attributes:v(v({},Pt.icon.attributes),Cn.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(xt,Pt){var Qe=Pt.getAttribute("data-fa-mask"),Jt=Qe?On(Qe.split(" ").map(function(li){return li.trim()})):{prefix:null,iconName:null,rest:[]};return Jt.prefix||(Jt.prefix=yn()),xt.mask=Jt,xt.maskId=Pt.getAttribute("data-fa-mask-id"),xt}}},provides:function(ut){ut.generateAbstractMask=function(xt){var Ne,Pt=xt.children,Qe=xt.attributes,Jt=xt.main,li=xt.mask,ii=xt.maskId,ji=Jt.icon,ln=li.icon,Cn=function je(Ne){var ut=Ne.transform,Pt=Ne.iconWidth,Qe={transform:"translate(".concat(Ne.containerWidth/2," 256)")},Jt="translate(".concat(32*ut.x,", ").concat(32*ut.y,") "),li="scale(".concat(ut.size/16*(ut.flipX?-1:1),", ").concat(ut.size/16*(ut.flipY?-1:1),") "),ii="rotate(".concat(ut.rotate," 0 0)");return{outer:Qe,inner:{transform:"".concat(Jt," ").concat(li," ").concat(ii)},path:{transform:"translate(".concat(Pt/2*-1," -256)")}}}({transform:xt.transform,containerWidth:li.width,iconWidth:Jt.width}),br={tag:"rect",attributes:v(v({},An),{},{fill:"white"})},Ir=ji.children?{children:ji.children.map(Ri)}:{},Br={tag:"g",attributes:v({},Cn.inner),children:[Ri(v({tag:ji.tag,attributes:v(v({},ji.attributes),Cn.path)},Ir))]},ta={tag:"g",attributes:v({},Cn.outer),children:[Br]},kr="mask-".concat(ii||dt()),Er="clip-".concat(ii||dt()),va={tag:"mask",attributes:v(v({},An),{},{id:kr,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[br,ta]},mr={tag:"defs",children:[{tag:"clipPath",attributes:{id:Er},children:(Ne=ln,"g"===Ne.tag?Ne.children:[Ne])},va]};return Pt.push(mr,{tag:"rect",attributes:v({fill:"currentColor","clip-path":"url(#".concat(Er,")"),mask:"url(#".concat(kr,")")},An)}),{children:Pt,attributes:Qe}}}},{provides:function(ut){var xt=!1;h.matchMedia&&(xt=h.matchMedia("(prefers-reduced-motion: reduce)").matches),ut.missingIconAbstract=function(){var Pt=[],Qe={fill:"currentColor"},Jt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Pt.push({tag:"path",attributes:v(v({},Qe),{},{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 li=v(v({},Jt),{},{attributeName:"opacity"}),ii={tag:"circle",attributes:v(v({},Qe),{},{cx:"256",cy:"364",r:"28"}),children:[]};return xt||ii.children.push({tag:"animate",attributes:v(v({},Jt),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:v(v({},li),{},{values:"1;0;1;1;0;1;"})}),Pt.push(ii),Pt.push({tag:"path",attributes:v(v({},Qe),{},{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:xt?[]:[{tag:"animate",attributes:v(v({},li),{},{values:"1;0;0;0;0;1;"})}]}),xt||Pt.push({tag:"path",attributes:v(v({},Qe),{},{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:v(v({},li),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:Pt}}}},{hooks:function(){return{parseNodeAttributes:function(xt,Pt){var Qe=Pt.getAttribute("data-fa-symbol");return xt.symbol=null!==Qe&&(""===Qe||Qe),xt}}}}],{mixoutsTo:Hr});var Qs=Hr.parse,_c=Hr.icon,Lo=m(1481);const Cr=["*"],nn=Ne=>{const ut={"fa-spin":Ne.spin,"fa-pulse":Ne.pulse,"fa-fw":Ne.fixedWidth,"fa-border":Ne.border,"fa-inverse":Ne.inverse,"fa-layers-counter":Ne.counter,"fa-flip-horizontal":"horizontal"===Ne.flip||"both"===Ne.flip,"fa-flip-vertical":"vertical"===Ne.flip||"both"===Ne.flip,[`fa-${Ne.size}`]:null!==Ne.size,[`fa-rotate-${Ne.rotate}`]:null!==Ne.rotate,[`fa-pull-${Ne.pull}`]:null!==Ne.pull,[`fa-stack-${Ne.stackItemSize}`]:null!=Ne.stackItemSize};return Object.keys(ut).map(xt=>ut[xt]?xt:null).filter(xt=>xt)};let ur=(()=>{class Ne{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}}return Ne.\u0275fac=function(xt){return new(xt||Ne)},Ne.\u0275prov=t.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})(),Do=(()=>{class Ne{constructor(){this.definitions={}}addIcons(...xt){for(const Pt of xt){Pt.prefix in this.definitions||(this.definitions[Pt.prefix]={}),this.definitions[Pt.prefix][Pt.iconName]=Pt;for(const Qe of Pt.icon[2])"string"==typeof Qe&&(this.definitions[Pt.prefix][Qe]=Pt)}}addIconPacks(...xt){for(const Pt of xt){const Qe=Object.keys(Pt).map(Jt=>Pt[Jt]);this.addIcons(...Qe)}}getIconDefinition(xt,Pt){return xt in this.definitions&&Pt in this.definitions[xt]?this.definitions[xt][Pt]:null}}return Ne.\u0275fac=function(xt){return new(xt||Ne)},Ne.\u0275prov=t.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})(),bc=(()=>{class Ne{constructor(){this.stackItemSize="1x"}ngOnChanges(xt){if("size"in xt)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}}return Ne.\u0275fac=function(xt){return new(xt||Ne)},Ne.\u0275dir=t.lG2({type:Ne,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[t.TTD]}),Ne})(),yc=(()=>{class Ne{constructor(xt,Pt){this.renderer=xt,this.elementRef=Pt}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(xt){"size"in xt&&(null!=xt.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${xt.size.currentValue}`),null!=xt.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${xt.size.previousValue}`))}}return Ne.\u0275fac=function(xt){return new(xt||Ne)(t.Y36(t.Qsj),t.Y36(t.SBq))},Ne.\u0275cmp=t.Xpm({type:Ne,selectors:[["fa-stack"]],inputs:{size:"size"},features:[t.TTD],ngContentSelectors:Cr,decls:1,vars:0,template:function(xt,Pt){1&xt&&(t.F$t(),t.Hsn(0))},encapsulation:2}),Ne})(),Wn=(()=>{class Ne{constructor(xt,Pt,Qe,Jt,li){this.sanitizer=xt,this.config=Pt,this.iconLibrary=Qe,this.stackItem=Jt,this.classes=[],null!=li&&null==Jt&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}ngOnChanges(xt){if(null==this.icon&&null==this.config.fallbackIcon)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})();if(xt){const Qe=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=Qe){const Jt=this.buildParams();this.renderIcon(Qe,Jt)}}}render(){this.ngOnChanges({})}findIconDefinition(xt){const Pt=((Ne,ut)=>(Ne=>void 0!==Ne.prefix&&void 0!==Ne.iconName)(Ne)?Ne:Array.isArray(Ne)&&2===Ne.length?{prefix:Ne[0],iconName:Ne[1]}:"string"==typeof Ne?{prefix:ut,iconName:Ne}:void 0)(xt,this.config.defaultPrefix);return"icon"in Pt?Pt:this.iconLibrary.getIconDefinition(Pt.prefix,Pt.iconName)??((Ne=>{throw new Error(`Could not find icon with iconName=${Ne.iconName} and prefix=${Ne.prefix} in the icon library.`)})(Pt),null)}buildParams(){const xt={flip:this.flip,spin:this.spin,pulse:this.pulse,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},Pt="string"==typeof this.transform?Qs.transform(this.transform):this.transform;return{title:this.title,transform:Pt,classes:[...nn(xt),...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(xt,Pt){const Qe=_c(xt,Pt);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(Qe.html.join("\n"))}}return Ne.\u0275fac=function(xt){return new(xt||Ne)(t.Y36(Lo.H7),t.Y36(ur),t.Y36(Do),t.Y36(bc,8),t.Y36(yc,8))},Ne.\u0275cmp=t.Xpm({type:Ne,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(xt,Pt){2&xt&&(t.Ikx("innerHTML",Pt.renderedIconHTML,t.oJD),t.uIk("title",Pt.title))},inputs:{icon:"icon",title:"title",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"},features:[t.TTD],decls:0,vars:0,template:function(xt,Pt){},encapsulation:2}),Ne})(),ri=(()=>{class Ne{}return Ne.\u0275fac=function(xt){return new(xt||Ne)},Ne.\u0275mod=t.oAB({type:Ne}),Ne.\u0275inj=t.cJS({}),Ne})()},2687:(Ve,Q,m)=>{"use strict";m.d(Q,{Acd:()=>vd,Aq:()=>Us,B$L:()=>An,BDt:()=>ag,CgH:()=>mu,CvI:()=>lm,DL8:()=>K_,FJU:()=>f7,FVb:()=>Ll,FlN:()=>op,FpQ:()=>J3,HLz:()=>T7,KOR:()=>Mo,Krp:()=>eu,Mdf:()=>e4,N2j:()=>_i,NBC:()=>t_,OS1:()=>nd,Psp:()=>wo,Pyt:()=>u7,Sbq:()=>Pe,SoD:()=>hs,Ssp:()=>sv,SuH:()=>Wo,TmZ:()=>Q7,USL:()=>f_,Vei:()=>no,Vfw:()=>jf,X5K:()=>Y3,XsY:()=>rn,aj4:()=>ja,b7W:()=>u8,byT:()=>ln,co4:()=>dm,d63:()=>Ur,dLy:()=>N7,dT$:()=>V1,eHv:()=>rv,gNZ:()=>ys,hkK:()=>on,hnx:()=>_v,kXW:()=>Rp,kZ_:()=>q7,koM:()=>Fo,mh3:()=>vf,nNP:()=>r5,q7m:()=>R8,qO$:()=>S_,r8p:()=>d5,sqG:()=>qf,vqe:()=>F_,wn1:()=>k7,wyP:()=>T1,xf3:()=>_2});var Pe={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"]},on={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M352 128c0 70.7-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0s128 57.3 128 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"]},_i={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"]},hs={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"]},An={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"]},rn={prefix:"fas",iconName:"paintbrush",icon:[576,512,[128396,"paint-brush"],"f1fc","M371.3 367.1c27.3-3.9 51.9-19.4 67.2-42.9L600.2 74.1c12.6-19.5 9.4-45.3-7.6-61.2S549.7-4.4 531.1 9.6L294.4 187.2c-24 18-38.2 46.1-38.4 76.1L371.3 367.1zm-19.6 25.4l-116-104.4C175.9 290.3 128 339.6 128 400c0 3.9 .2 7.8 .6 11.6c1.8 17.5-10.2 36.4-27.8 36.4H96c-17.7 0-32 14.3-32 32s14.3 32 32 32H240c61.9 0 112-50.1 112-112c0-2.5-.1-5-.2-7.5z"]},ln={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"]},Ll={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 160c-44.2 0-80-35.8-80-80S99.8 0 144 0s80 35.8 80 80s-35.8 80-80 80zm368 0c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80zM0 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.3zM416 224c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zM128 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"]},Us={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.5c5.2-11.8 8-24.8 8-38.5c0-53-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zm223.1 298L373 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.5z"]},vd={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"]},ja={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"]},_2={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-64H64zM344 152c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm96-24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zM64 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-64H64zM344 408c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm104-24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]},Fo={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"]},T1={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"]},no={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"]},Ur={prefix:"fas",iconName:"arrows-turn-right",icon:[512,512,[],"e4c0","M329.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.3L370.7 160H160c-35.3 0-64 28.7-64 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V224C32 153.3 89.3 96 160 96H370.7L329.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.3L274.7 416H128c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96H274.7l-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z"]},eu={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"]},wo={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M96 96c-17.7 0-32 14.3-32 32s-14.3 32-32 32s-32-14.3-32-32C0 75 43 32 96 32h97c70.1 0 127 56.9 127 127c0 52.4-32.2 99.4-81 118.4l-63 24.5 0 18.1c0 17.7-14.3 32-32 32s-32-14.3-32-32V301.9c0-26.4 16.2-50.1 40.8-59.6l63-24.5C240 208.3 256 185 256 159c0-34.8-28.2-63-63-63H96zm48 384c-22.1 0-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40s-17.9 40-40 40z"]},V1={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"]},nd={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"]},Mo={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"]},Wo={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"]},mu={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.5zM104 432c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]},Y3={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 336c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},vf={prefix:"fas",iconName:"code-branch",icon:[448,512,[],"f126","M80 104c13.3 0 24-10.7 24-24s-10.7-24-24-24S56 66.7 56 80s10.7 24 24 24zm80-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 0c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24zM80 456c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]},J3={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M416 256s96-96 96-160c0-53-43-96-96-96s-96 43-96 96c0 29.4 20.2 65.5 42.1 96H320c-53 0-96 43-96 96s43 96 96 96h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H188.6c-6.2 9.6-12.6 18.8-19 27.2c-10.7 14.2-21.3 26.9-30 36.8H416c53 0 96-43 96-96s-43-96-96-96H320c-17.7 0-32-14.3-32-32s14.3-32 32-32h96zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM149.9 448c21.9-30.5 42.1-66.6 42.1-96c0-53-43-96-96-96s-96 43-96 96c0 64 96 160 96 160s3.5-3.5 9.2-9.6c.4-.4 .7-.8 1.1-1.2c3.3-3.5 7.1-7.8 11.4-12.8c.2-.2 .4-.4 .6-.6c9.4-10.8 20.7-24.6 31.6-39.8zM96 384c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},e4={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 32zM432 256c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM288 192c0 35.3-28.7 64-64 64c-11.5 0-22.3-3-31.6-8.4c-.2 2.8-.4 5.5-.4 8.4c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6z"]},ys={prefix:"fas",iconName:"user-gear",icon:[640,512,["user-cog"],"f4fe","M224 256c-70.7 0-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128s-57.3 128-128 128zm-45.7 48h91.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.5c0-26.5-21.5-48-48.1-48s-48.1 21.5-48.1 48s21.5 48 48.1 48s48.1-21.5 48.1-48z"]},jf={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"]},qf={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 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-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},op={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M112 96c0-17.7 14.3-32 32-32h16c17.7 0 32 14.3 32 32V224v64V416c0 17.7-14.3 32-32 32H144c-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-32h48V96zm416 0v32h48c17.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 32H528v32c0 17.7-14.3 32-32 32H480c-17.7 0-32-14.3-32-32V288 224 96c0-17.7 14.3-32 32-32h16c17.7 0 32 14.3 32 32zM416 224v64H224V224H416z"]},lm={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-64h64v64zM400 256c0 61.9-50.1 112-112 112s-112-50.1-112-112s50.1-112 112-112s112 50.1 112 112zM252 208c0 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"]},dm=lm,u8={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 336c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80z"]},Rp={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"]},R8={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 352H64zM432 456c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]},ag={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"]},u7={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 0zM512 384c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM64 64c35.3 0 64 28.7 64 64s-28.7 64-64 64s-64-28.7-64-64S28.7 64 64 64z"]},f7={prefix:"fas",iconName:"user-lock",icon:[640,512,[],"f502","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-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"]},T7={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM288 96c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM256 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 144c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM96 288c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm352-32c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},r5={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"]},k7={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 352c79.5 0 144-64.5 144-144s-64.5-144-144-144S64 128.5 64 208s64.5 144 144 144z"]},N7={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.2-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.2 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"]},Q7={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"]},q7={prefix:"fas",iconName:"copy",icon:[512,512,[],"f0c5","M224 0c-35.3 0-64 28.7-64 64V288c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H224zM64 160c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H288c35.3 0 64-28.7 64-64V384H288v64H64V224h64V160H64z"]},d5={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"]},t_={prefix:"fas",iconName:"xmark",icon:[320,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"]},f_={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 128c0-35.3-28.7-64-64-64S0 92.7 0 128s28.7 64 64 64s64-28.7 64-64zM384 384c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64z"]},S_={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"]},F_={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"]},K_={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 32zM125.8 177.3L51.1 320H204.9L130.2 177.3c-.4-.8-1.3-1.3-2.2-1.3s-1.7 .5-2.2 1.3zM128 128c18.8 0 36 10.4 44.7 27l77.8 148.5c3.1 5.8 6.1 14 5.5 23.8c-.7 12.1-4.8 35.2-24.8 55.1C210.9 402.6 178.2 416 128 416s-82.9-13.4-103.2-33.5c-20-20-24.2-43-24.8-55.1c-.6-9.8 2.5-18 5.5-23.8L83.3 155c8.7-16.6 25.9-27 44.7-27zm384 48c-.9 0-1.7 .5-2.2 1.3L435.1 320H588.9L514.2 177.3c-.4-.8-1.3-1.3-2.2-1.3zm-44.7-21c8.7-16.6 25.9-27 44.7-27s36 10.4 44.7 27l77.8 148.5c3.1 5.8 6.1 14 5.5 23.8c-.7 12.1-4.8 35.2-24.8 55.1C594.9 402.6 562.2 416 512 416s-82.9-13.4-103.2-33.5c-20-20-24.2-43-24.8-55.1c-.6-9.8 2.5-18 5.5-23.8L467.3 155z"]},rv={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 224c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},sv={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"]},_v={prefix:"fas",iconName:"user-clock",icon:[640,512,[],"f4fd","M224 256c-70.7 0-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128s-57.3 128-128 128zm-45.7 48h91.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 304zM640 368c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM496 288c-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"]}},493:(Ve,Q,m)=>{"use strict";m.d(Q,{eX:()=>n,sQ:()=>it,GW:()=>i,l4:()=>b});var t=m(6451),e=m(9751),v=m(7579),D=m(8502),o=m(515),C=m(9646),u=m(2843),P=m(576);class S{constructor(Pe,tt,Bt){this.kind=Pe,this.value=tt,this.error=Bt,this.hasValue="N"===Pe}observe(Pe){return w(this,Pe)}do(Pe,tt,Bt){const{kind:Lt,value:Ht,error:bt}=this;return"N"===Lt?Pe?.(Ht):"E"===Lt?tt?.(bt):Bt?.()}accept(Pe,tt,Bt){var Lt;return(0,P.m)(null===(Lt=Pe)||void 0===Lt?void 0:Lt.next)?this.observe(Pe):this.do(Pe,tt,Bt)}toObservable(){const{kind:Pe,value:tt,error:Bt}=this,Lt="N"===Pe?(0,C.of)(tt):"E"===Pe?(0,u._)(()=>Bt):"C"===Pe?o.E:0;if(!Lt)throw new TypeError(`Unexpected notification kind ${Pe}`);return Lt}static createNext(Pe){return new S("N",Pe)}static createError(Pe){return new S("E",void 0,Pe)}static createComplete(){return S.completeNotification}}function w(Ct,Pe){var tt,Bt,Lt;const{kind:Ht,value:bt,error:Me}=Ct;if("string"!=typeof Ht)throw new TypeError('Invalid notification, missing "kind"');"N"===Ht?null===(tt=Pe.next)||void 0===tt||tt.call(Pe,bt):"E"===Ht?null===(Bt=Pe.error)||void 0===Bt||Bt.call(Pe,Me):null===(Lt=Pe.complete)||void 0===Lt||Lt.call(Pe)}S.completeNotification=new S("C");var I=m(4482),E=m(5403),z=m(4004),G=m(262),W=m(9300),Y=m(8421);function X(Ct,Pe,tt,Bt){return(0,I.e)((Lt,Ht)=>{let bt;Pe&&"function"!=typeof Pe?({duration:tt,element:bt,connector:Bt}=Pe):bt=Pe;const Me=new Map,J=ti=>{Me.forEach(ti),ti(Ht)},ve=ti=>J(dt=>dt.error(ti));let Re=0,at=!1;const ni=new E.Q(Ht,ti=>{try{const dt=Ct(ti);let rt=Me.get(dt);if(!rt){Me.set(dt,rt=Bt?Bt():new v.x);const vt=function Gt(ti,dt){const rt=new e.y(vt=>{Re++;const ai=dt.subscribe(vt);return()=>{ai.unsubscribe(),0==--Re&&at&&ni.unsubscribe()}});return rt.key=ti,rt}(dt,rt);if(Ht.next(vt),tt){const ai=(0,E.x)(rt,()=>{rt.complete(),ai?.unsubscribe()},void 0,void 0,()=>Me.delete(dt));ni.add((0,Y.Xf)(tt(vt)).subscribe(ai))}}rt.next(bt?bt(ti):ti)}catch(dt){ve(dt)}},()=>J(ti=>ti.complete()),ve,()=>Me.clear(),()=>(at=!0,0===Re));Lt.subscribe(ni)})}var ee=m(5577);function ue(Ct,Pe){return Pe?tt=>tt.pipe(ue((Bt,Lt)=>(0,Y.Xf)(Ct(Bt,Lt)).pipe((0,z.U)((Ht,bt)=>Pe(Bt,Ht,Lt,bt))))):(0,I.e)((tt,Bt)=>{let Lt=0,Ht=null,bt=!1;tt.subscribe((0,E.x)(Bt,Me=>{Ht||(Ht=(0,E.x)(Bt,void 0,()=>{Ht=null,bt&&Bt.complete()}),(0,Y.Xf)(Ct(Me,Lt++)).subscribe(Ht))},()=>{bt=!0,!Ht&&Bt.complete()}))})}var ie=m(5698),ce=m(4650),$=m(9653);const fe={dispatch:!0,useEffectsErrorHandler:!0},T="__@ngrx/effects_create__";function i(Ct,Pe){const tt=Ct(),Bt={...fe,...Pe};return Object.defineProperty(tt,T,{value:Bt}),tt}function y(Ct){return Object.getPrototypeOf(Ct)}function A(Ct,Pe,tt){const Bt=y(Ct).constructor.name,Lt=function l(Ct){return function r(Ct){return Object.getOwnPropertyNames(Ct).filter(Bt=>!(!Ct[Bt]||!Ct[Bt].hasOwnProperty(T))&&Ct[Bt][T].hasOwnProperty("dispatch")).map(Bt=>({propertyName:Bt,...Ct[Bt][T]}))}(Ct)}(Ct).map(({propertyName:Ht,dispatch:bt,useEffectsErrorHandler:Me})=>{const J="function"==typeof Ct[Ht]?Ct[Ht]():Ct[Ht],ve=Me?tt(J,Pe):J;return!1===bt?ve.pipe((0,D.l)()):ve.pipe(function N(){return(0,I.e)((Ct,Pe)=>{Ct.subscribe((0,E.x)(Pe,tt=>{Pe.next(S.createNext(tt))},()=>{Pe.next(S.createComplete()),Pe.complete()},tt=>{Pe.next(S.createError(tt)),Pe.complete()}))})}()).pipe((0,z.U)(at=>({effect:Ct[Ht],notification:at,propertyName:Ht,sourceName:Bt,sourceInstance:Ct})))});return(0,t.T)(...Lt)}function g(Ct,Pe,tt=10){return Ct.pipe((0,G.K)(Bt=>(Pe&&Pe.handleError(Bt),tt<=1?Ct:g(Ct,Pe,tt-1))))}let n=(()=>{class Ct extends e.y{constructor(tt){super(),tt&&(this.source=tt)}lift(tt){const Bt=new Ct;return Bt.source=this,Bt.operator=tt,Bt}}return Ct.\u0275fac=function(tt){return new(tt||Ct)(ce.LFG($.Y$))},Ct.\u0275prov=ce.Yz7({token:Ct,factory:Ct.\u0275fac,providedIn:"root"}),Ct})();function b(...Ct){return(0,W.h)(Pe=>Ct.some(tt=>"string"==typeof tt?tt===Pe.type:tt.type===Pe.type))}const U=new ce.OlP("@ngrx/effects Internal Root Guard"),V=new ce.OlP("@ngrx/effects User Provided Effects"),j=new ce.OlP("@ngrx/effects Internal Root Effects"),Ae=new ce.OlP("@ngrx/effects Root Effects"),Ke=new ce.OlP("@ngrx/effects Internal Feature Effects"),qe=new ce.OlP("@ngrx/effects Feature Effects"),ct=new ce.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>g}),Ie="@ngrx/effects/init";function Be(Ct){return q(Ct,"ngrxOnInitEffects")}function q(Ct,Pe){return Ct&&Pe in Ct&&"function"==typeof Ct[Pe]}(0,$.PH)(Ie);let de=(()=>{class Ct extends v.x{constructor(tt,Bt){super(),this.errorHandler=tt,this.effectsErrorHandler=Bt}addEffects(tt){this.next(tt)}toActions(){return this.pipe(X(y),(0,ee.z)(tt=>tt.pipe(X(Ce))),(0,ee.z)(tt=>{const Bt=tt.pipe(ue(Ht=>function ke(Ct,Pe){return tt=>{const Bt=A(tt,Ct,Pe);return function te(Ct){return q(Ct,"ngrxOnRunEffects")}(tt)?tt.ngrxOnRunEffects(Bt):Bt}}(this.errorHandler,this.effectsErrorHandler)(Ht)),(0,z.U)(Ht=>(function le(Ct,Pe){if("N"===Ct.notification.kind){const tt=Ct.notification.value;!function _e(Ct){return"function"!=typeof Ct&&Ct&&Ct.type&&"string"==typeof Ct.type}(tt)&&Pe.handleError(new Error(`Effect ${function se({propertyName:Ct,sourceInstance:Pe,sourceName:tt}){const Bt="function"==typeof Pe[Ct];return`"${tt}.${String(Ct)}${Bt?"()":""}"`}(Ct)} dispatched an invalid action: ${function Ye(Ct){try{return JSON.stringify(Ct)}catch{return Ct}}(tt)}`))}}(Ht,this.errorHandler),Ht.notification)),(0,W.h)(Ht=>"N"===Ht.kind&&null!=Ht.value),function he(){return(0,I.e)((Ct,Pe)=>{Ct.subscribe((0,E.x)(Pe,tt=>w(tt,Pe)))})}()),Lt=tt.pipe((0,ie.q)(1),(0,W.h)(Be),(0,z.U)(Ht=>Ht.ngrxOnInitEffects()));return(0,t.T)(Bt,Lt)}))}}return Ct.\u0275fac=function(tt){return new(tt||Ct)(ce.LFG(ce.qLn),ce.LFG(ct))},Ct.\u0275prov=ce.Yz7({token:Ct,factory:Ct.\u0275fac,providedIn:"root"}),Ct})();function Ce(Ct){return function oe(Ct){return q(Ct,"ngrxOnIdentifyEffects")}(Ct)?Ct.ngrxOnIdentifyEffects():""}let ht=(()=>{class Ct{constructor(tt,Bt){this.effectSources=tt,this.store=Bt,this.effectsSubscription=null}get isStarted(){return!!this.effectsSubscription}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}return Ct.\u0275fac=function(tt){return new(tt||Ct)(ce.LFG(de),ce.LFG($.yh))},Ct.\u0275prov=ce.Yz7({token:Ct,factory:Ct.\u0275fac,providedIn:"root"}),Ct})(),nt=(()=>{class Ct{constructor(tt,Bt,Lt,Ht,bt,Me,J){this.sources=tt,Bt.start(),Ht.forEach(ve=>tt.addEffects(ve)),Lt.dispatch({type:Ie})}addEffects(tt){this.sources.addEffects(tt)}}return Ct.\u0275fac=function(tt){return new(tt||Ct)(ce.LFG(de),ce.LFG(ht),ce.LFG($.yh),ce.LFG(Ae),ce.LFG($.cr,8),ce.LFG($.CK,8),ce.LFG(U,8))},Ct.\u0275mod=ce.oAB({type:Ct}),Ct.\u0275inj=ce.cJS({}),Ct})(),wt=(()=>{class Ct{constructor(tt,Bt,Lt,Ht){Bt.forEach(bt=>bt.forEach(Me=>tt.addEffects(Me)))}}return Ct.\u0275fac=function(tt){return new(tt||Ct)(ce.LFG(nt),ce.LFG(qe),ce.LFG($.cr,8),ce.LFG($.CK,8))},Ct.\u0275mod=ce.oAB({type:Ct}),Ct.\u0275inj=ce.cJS({}),Ct})(),it=(()=>{class Ct{static forFeature(...tt){const Bt=tt.flat();return{ngModule:wt,providers:[Bt,{provide:Ke,multi:!0,useValue:Bt},{provide:V,multi:!0,useValue:[]},{provide:qe,multi:!0,useFactory:qt,deps:[Ke,V]}]}}static forRoot(...tt){const Bt=tt.flat();return{ngModule:nt,providers:[Bt,{provide:j,useValue:[Bt]},{provide:U,useFactory:ne},{provide:V,multi:!0,useValue:[]},{provide:Ae,useFactory:qt,deps:[j,V]}]}}}return Ct.\u0275fac=function(tt){return new(tt||Ct)},Ct.\u0275mod=ce.oAB({type:Ct}),Ct.\u0275inj=ce.cJS({}),Ct})();function qt(Ct,Pe){const tt=[];for(const Bt of Ct)tt.push(...Bt);for(const Bt of Pe)tt.push(...Bt);return function _t(Ct){return Ct.map(Pe=>(0,ce.f3M)(Pe))}(tt)}function ne(){const Ct=(0,ce.f3M)(ht,{optional:!0,skipSelf:!0}),Pe=(0,ce.f3M)(j,{self:!0});if((1!==Pe.length||0!==Pe[0].length)&&Ct)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},825:(__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__(4650),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(9653),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(515),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(9751),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(9646),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(6451),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(233),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(4707),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3099),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(9300),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(4004),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(4351),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(7414),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(8372),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(5698),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(2722),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(3900),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(5684),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(5363),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(1365),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(5026);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,m){if(this.action=Q,this.timestamp=m,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,m,t=!0){this.start=Q,this.end=m,this.active=t,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(Ve){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}},m="function"==typeof Ve?Ve():Ve,v=Object.assign({},Q,{features:m.features||!!m.logOnly&&{pause:!0,export:!0,test:!0}||Q.features},m);if(v.maxAge&&v.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${v.maxAge}`);return v}function difference(Ve,Q){return Ve.filter(m=>Q.indexOf(m)<0)}function unliftState(Ve){const{computedStates:Q,currentStateIndex:m}=Ve;if(m>=Q.length){const{state:e}=Q[Q.length-1];return e}const{state:t}=Q[m];return t}function unliftAction(Ve){return Ve.actionsById[Ve.nextActionId-1]}function liftAction(Ve){return new PerformAction(Ve,+Date.now())}function sanitizeActions(Ve,Q){return Object.keys(Q).reduce((m,t)=>{const e=Number(t);return m[e]=sanitizeAction(Ve,Q[e],e),m},{})}function sanitizeAction(Ve,Q,m){return{...Q,action:Ve(Q.action,m)}}function sanitizeStates(Ve,Q){return Q.map((m,t)=>({state:sanitizeState(Ve,m.state,t),error:m.error}))}function sanitizeState(Ve,Q,m){return Ve(Q,m)}function shouldFilterActions(Ve){return Ve.predicate||Ve.actionsSafelist||Ve.actionsBlocklist}function filterLiftedState(Ve,Q,m,t){const e=[],v={},D=[];return Ve.stagedActionIds.forEach((o,C)=>{const u=Ve.actionsById[o];!u||C&&isActionFiltered(Ve.computedStates[C],u,Q,m,t)||(v[o]=u,e.push(o),D.push(Ve.computedStates[C]))}),{...Ve,stagedActionIds:e,actionsById:v,computedStates:D}}function isActionFiltered(Ve,Q,m,t,e){const v=m&&!m(Ve,Q.action),D=t&&!Q.action.type.match(t.map(C=>escapeRegExp(C)).join("|")),o=e&&Q.action.type.match(e.map(C=>escapeRegExp(C)).join("|"));return v||D||o}function escapeRegExp(Ve){return Ve.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let DevtoolsDispatcher=(()=>{class Ve extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{}return Ve.\u0275fac=function(){let Q;return function(t){return(Q||(Q=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(Ve)))(t||Ve)}}(),Ve.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})();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(Ve,Q,m){this.config=Q,this.dispatcher=m,this.devtoolsExtension=Ve,this.createActionStreams()}notify(Ve,Q){if(this.devtoolsExtension)if(Ve.type===PERFORM_ACTION){if(Q.isLocked||Q.isPaused)return;const m=unliftState(Q);if(shouldFilterActions(this.config)&&isActionFiltered(m,Ve,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const t=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,m,Q.currentStateIndex):m,e=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,Ve,Q.nextActionId):Ve;this.sendToReduxDevtools(()=>this.extensionConnection.send(e,t))}else{const m={...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,m,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(Ve=>{const Q=this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=Q,Q.init(),Q.subscribe(m=>Ve.next(m)),Q.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const Ve=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),Q=Ve.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(o=>o.type===ExtensionActionTypes.START)),m=Ve.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(o=>o.type===ExtensionActionTypes.STOP)),t=Ve.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(o=>o.type===ExtensionActionTypes.DISPATCH),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(o=>this.unwrapAction(o.payload)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(o=>o.type===IMPORT_STATE?this.dispatcher.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(C=>C.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)(()=>o),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.K)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(o)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(o))),v=Ve.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(o=>o.type===ExtensionActionTypes.ACTION),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(o=>this.unwrapAction(o.payload))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(m)),D=t.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(m));this.start$=Q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(m)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>v)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>D))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(Ve){const Q={name:Ve.name,features:Ve.features,serialize:Ve.serialize,autoPause:Ve.autoPause??!1,trace:Ve.trace??!1,traceLimit:Ve.traceLimit??75};return!1!==Ve.maxAge&&(Q.maxAge=Ve.maxAge),Q}sendToReduxDevtools(Ve){try{Ve()}catch(Q){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",Q)}}}return DevtoolsExtension.\u0275fac=function Ve(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))},DevtoolsExtension.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac}),DevtoolsExtension})();const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(Ve,Q,m,t,e){if(t)return{state:m,error:"Interrupted by an error up the chain"};let D,v=m;try{v=Ve(m,Q)}catch(o){D=o.toString(),e.handleError(o)}return{state:v,error:D}}function recomputeStates(Ve,Q,m,t,e,v,D,o,C){if(Q>=Ve.length&&Ve.length===v.length)return Ve;const u=Ve.slice(0,Q),P=v.length-(C?1:0);for(let d=Q;d<P;d++){const S=v[d],w=e[S].action,I=u[d-1],E=I?I.state:t,N=I?I.error:void 0,G=D.indexOf(S)>-1?I:computeNextEntry(m,w,E,N,o);u.push(G)}return C&&u.push(Ve[Ve.length-1]),u}function liftInitialState(Ve,Q){return{monitorState:Q(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:Ve,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(Ve,Q,m,t,e={}){return v=>(D,o)=>{let{monitorState:C,actionsById:u,nextActionId:P,stagedActionIds:d,skippedActionIds:S,committedState:w,currentStateIndex:I,computedStates:E,isLocked:N,isPaused:z}=D||Q;function G(X){let ee=X,ue=d.slice(1,ee+1);for(let he=0;he<ue.length;he++){if(E[he+1].error){ee=he,ue=d.slice(1,ee+1);break}delete u[ue[he]]}S=S.filter(he=>-1===ue.indexOf(he)),d=[0,...d.slice(ee+1)],w=E[ee].state,E=E.slice(ee),I=I>ee?I-ee:0}function W(){u={0:liftAction(INIT_ACTION)},P=1,d=[0],S=[],w=E[I].state,I=0,E=[]}D||(u=Object.create(u));let Y=0;switch(o.type){case LOCK_CHANGES:N=o.status,Y=1/0;break;case PAUSE_RECORDING:z=o.status,z?(d=[...d,P],u[P]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),P++,Y=d.length-1,E=E.concat(E[E.length-1]),I===d.length-2&&I++,Y=1/0):W();break;case RESET:u={0:liftAction(INIT_ACTION)},P=1,d=[0],S=[],w=Ve,I=0,E=[];break;case COMMIT:W();break;case ROLLBACK:u={0:liftAction(INIT_ACTION)},P=1,d=[0],S=[],I=0,E=[];break;case TOGGLE_ACTION:{const{id:X}=o;S=-1===S.indexOf(X)?[X,...S]:S.filter(ue=>ue!==X),Y=d.indexOf(X);break}case SET_ACTIONS_ACTIVE:{const{start:X,end:ee,active:ue}=o,he=[];for(let ie=X;ie<ee;ie++)he.push(ie);S=ue?difference(S,he):[...S,...he],Y=d.indexOf(X);break}case JUMP_TO_STATE:I=o.index,Y=1/0;break;case JUMP_TO_ACTION:{const X=d.indexOf(o.actionId);-1!==X&&(I=X),Y=1/0;break}case SWEEP:d=difference(d,S),S=[],I=Math.min(I,d.length-1);break;case PERFORM_ACTION:{if(N)return D||Q;if(z||D&&isActionFiltered(D.computedStates[I],o,e.predicate,e.actionsSafelist,e.actionsBlocklist)){const ee=E[E.length-1];E=[...E.slice(0,-1),computeNextEntry(v,o.action,ee.state,ee.error,m)],Y=1/0;break}e.maxAge&&d.length===e.maxAge&&G(1),I===d.length-1&&I++;const X=P++;u[X]=o,d=[...d,X],Y=d.length-1;break}case IMPORT_STATE:({monitorState:C,actionsById:u,nextActionId:P,stagedActionIds:d,skippedActionIds:S,committedState:w,currentStateIndex:I,computedStates:E,isLocked:N,isPaused:z}=o.nextLiftedState);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg:Y=0,e.maxAge&&d.length>e.maxAge&&(E=recomputeStates(E,Y,v,w,u,d,S,m,z),G(d.length-e.maxAge),Y=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(E.filter(ee=>ee.error).length>0)Y=0,e.maxAge&&d.length>e.maxAge&&(E=recomputeStates(E,Y,v,w,u,d,S,m,z),G(d.length-e.maxAge),Y=1/0);else{if(!z&&!N){I===d.length-1&&I++;const ee=P++;u[ee]=new PerformAction(o,+Date.now()),d=[...d,ee],Y=d.length-1,E=recomputeStates(E,Y,v,w,u,d,S,m,z)}E=E.map(ee=>({...ee,state:v(ee.state,RECOMPUTE_ACTION)})),I=d.length-1,e.maxAge&&d.length>e.maxAge&&G(d.length-e.maxAge),Y=1/0}break;default:Y=1/0}return E=recomputeStates(E,Y,v,w,u,d,S,m,z),C=t(C,o),{monitorState:C,actionsById:u,nextActionId:P,stagedActionIds:d,skippedActionIds:S,committedState:w,currentStateIndex:I,computedStates:E,isLocked:N,isPaused:z}}}let StoreDevtools=(()=>{class Ve{constructor(m,t,e,v,D,o,C,u){const P=liftInitialState(C,u.monitor),d=liftReducerWith(C,P,o,u.monitor,u),S=(0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)(t.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.T)(1)),v.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),m,v.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.Q)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),w=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(d)),I=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1),E=S.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(w),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:W},[Y,X])=>{let ee=X(W,Y);return Y.type!==PERFORM_ACTION&&shouldFilterActions(u)&&(ee=filterLiftedState(ee,u.predicate,u.actionsSafelist,u.actionsBlocklist)),v.notify(Y,ee),{state:ee,action:Y}},{state:P,action:null})).subscribe(({state:W,action:Y})=>{I.next(W),Y.type===PERFORM_ACTION&&D.next(Y.action)}),N=v.start$.subscribe(()=>{this.refresh()}),z=I.asObservable(),G=z.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));this.extensionStartSubscription=N,this.stateSubscription=E,this.dispatcher=m,this.liftedState=z,this.state=G}dispatch(m){this.dispatcher.next(m)}next(m){this.dispatcher.next(m)}error(m){}complete(){}performAction(m){this.dispatch(new PerformAction(m,+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(m){this.dispatch(new ToggleAction(m))}jumpToAction(m){this.dispatch(new JumpToAction(m))}jumpToState(m){this.dispatch(new JumpToState(m))}importState(m){this.dispatch(new ImportState(m))}lockChanges(m){this.dispatch(new LockChanges(m))}pauseRecording(m){this.dispatch(new PauseRecording(m))}}return Ve.\u0275fac=function(m){return new(m||Ve)(_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))},Ve.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})();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(Ve,Q){return Boolean(Ve)||Q.monitor!==noMonitor}function createReduxDevtoolsExtension(){const Ve="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[Ve]<"u"?window[Ve]:null}function provideStoreDevtools(Ve={}){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.MR2)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:Ve},{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(Ve){return Ve.state}let StoreDevtoolsModule=(()=>{class Ve{static instrument(m={}){return{ngModule:Ve,providers:[provideStoreDevtools(m)]}}}return Ve.\u0275fac=function(m){return new(m||Ve)},Ve.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:Ve}),Ve.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({}),Ve})()},9653:(Ve,Q,m)=>{"use strict";m.d(Q,{UO:()=>ce,qg:()=>ie,Y6:()=>i,mK:()=>Ue,n$:()=>te,Y$:()=>Ce,FR:()=>ht,yh:()=>qt,CK:()=>Nr,Aw:()=>Oi,cr:()=>fr,wb:()=>Be,PH:()=>N,ZF:()=>Vt,Lq:()=>Tn,P1:()=>vt,on:()=>Ui,Ky:()=>z});var t=m(4650),e=m(1135),v=m(9751),D=m(7579),o=m(233),C=m(5363),u=m(1365),P=m(5026),d=m(4004),w=m(1884);const I={};function N(Qt,vi){if(I[Qt]=(I[Qt]||0)+1,"function"==typeof vi)return W(Qt,(..._i)=>({...vi(..._i),type:Qt}));switch(vi?vi._as:"empty"){case"empty":return W(Qt,()=>({type:Qt}));case"props":return W(Qt,_i=>({..._i,type:Qt}));default:throw new Error("Unexpected config.")}}function z(){return{_as:"props",_p:void 0}}function W(Qt,vi){return Object.defineProperty(vi,"type",{value:Qt,writable:!1})}const ie="@ngrx/store/init";let ce=(()=>{class Qt extends e.X{constructor(){super({type:ie})}next(gi){if("function"==typeof gi)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 gi>"u")throw new TypeError("Actions must be objects");if(typeof gi.type>"u")throw new TypeError("Actions must have a type property");super.next(gi)}complete(){}ngOnDestroy(){super.complete()}}return Qt.\u0275fac=function(gi){return new(gi||Qt)},Qt.\u0275prov=t.Yz7({token:Qt,factory:Qt.\u0275fac}),Qt})();const $=[ce],fe=new t.OlP("@ngrx/store Internal Root Guard"),T=new t.OlP("@ngrx/store Internal Initial State"),i=new t.OlP("@ngrx/store Initial State"),r=new t.OlP("@ngrx/store Reducer Factory"),h=new t.OlP("@ngrx/store Internal Reducer Factory Provider"),l=new t.OlP("@ngrx/store Initial Reducers"),y=new t.OlP("@ngrx/store Internal Initial Reducers"),A=new t.OlP("@ngrx/store Store Features"),k=new t.OlP("@ngrx/store Internal Store Reducers"),g=new t.OlP("@ngrx/store Internal Feature Reducers"),n=new t.OlP("@ngrx/store Internal Feature Configs"),b=new t.OlP("@ngrx/store Internal Store Features"),U=new t.OlP("@ngrx/store Internal Feature Reducers Token"),V=new t.OlP("@ngrx/store Feature Reducers"),j=new t.OlP("@ngrx/store User Provided Meta Reducers"),Ae=new t.OlP("@ngrx/store Meta Reducers"),Ke=new t.OlP("@ngrx/store Internal Resolved Meta Reducers"),qe=new t.OlP("@ngrx/store User Runtime Checks Config"),ct=new t.OlP("@ngrx/store Internal User Runtime Checks Config"),Ie=new t.OlP("@ngrx/store Internal Runtime Checks"),xe=new t.OlP("@ngrx/store Check if Action types are unique");function se(Qt,vi={}){const gi=Object.keys(Qt),_i={};for(let qi=0;qi<gi.length;qi++){const yn=gi[qi];"function"==typeof Qt[yn]&&(_i[yn]=Qt[yn])}const Fi=Object.keys(_i);return function(yn,Qn){yn=void 0===yn?vi:yn;let zn=!1;const ar={};for(let On=0;On<Fi.length;On++){const Pn=Fi[On],ir=yn[Pn],dr=(0,_i[Pn])(ir,Qn);ar[Pn]=dr,zn=zn||dr!==ir}return zn?ar:yn}}function Te(...Qt){return function(vi){if(0===Qt.length)return vi;const gi=Qt[Qt.length-1];return Qt.slice(0,-1).reduceRight((Fi,qi)=>qi(Fi),gi(vi))}}function oe(Qt,vi){return Array.isArray(vi)&&vi.length>0&&(Qt=Te.apply(null,[...vi,Qt])),(gi,_i)=>{const Fi=Qt(gi);return(qi,yn)=>Fi(qi=void 0===qi?_i:qi,yn)}}new t.OlP("@ngrx/store Root Store Provider"),new t.OlP("@ngrx/store Feature State Provider");class te extends v.y{}class Ue extends ce{}const Be="@ngrx/store/update-reducers";let q=(()=>{class Qt extends e.X{constructor(gi,_i,Fi,qi){super(qi(Fi,_i)),this.dispatcher=gi,this.initialState=_i,this.reducers=Fi,this.reducerFactory=qi}get currentReducers(){return this.reducers}addFeature(gi){this.addFeatures([gi])}addFeatures(gi){const _i=gi.reduce((Fi,{reducers:qi,reducerFactory:yn,metaReducers:Qn,initialState:zn,key:ar})=>{const On="function"==typeof qi?function be(Qt){const vi=Array.isArray(Qt)&&Qt.length>0?Te(...Qt):gi=>gi;return(gi,_i)=>(gi=vi(gi),(Fi,qi)=>gi(Fi=void 0===Fi?_i:Fi,qi))}(Qn)(qi,zn):oe(yn,Qn)(qi,zn);return Fi[ar]=On,Fi},{});this.addReducers(_i)}removeFeature(gi){this.removeFeatures([gi])}removeFeatures(gi){this.removeReducers(gi.map(_i=>_i.key))}addReducer(gi,_i){this.addReducers({[gi]:_i})}addReducers(gi){this.reducers={...this.reducers,...gi},this.updateReducers(Object.keys(gi))}removeReducer(gi){this.removeReducers([gi])}removeReducers(gi){gi.forEach(_i=>{this.reducers=function Ye(Qt,vi){return Object.keys(Qt).filter(gi=>gi!==vi).reduce((gi,_i)=>Object.assign(gi,{[_i]:Qt[_i]}),{})}(this.reducers,_i)}),this.updateReducers(gi)}updateReducers(gi){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Be,features:gi})}ngOnDestroy(){this.complete()}}return Qt.\u0275fac=function(gi){return new(gi||Qt)(t.LFG(Ue),t.LFG(i),t.LFG(l),t.LFG(r))},Qt.\u0275prov=t.Yz7({token:Qt,factory:Qt.\u0275fac}),Qt})();const de=[q,{provide:te,useExisting:q},{provide:Ue,useExisting:ce}];let Ce=(()=>{class Qt extends D.x{ngOnDestroy(){this.complete()}}return Qt.\u0275fac=function(){let vi;return function(_i){return(vi||(vi=t.n5z(Qt)))(_i||Qt)}}(),Qt.\u0275prov=t.Yz7({token:Qt,factory:Qt.\u0275fac}),Qt})();const ke=[Ce];class ht extends v.y{}let nt=(()=>{class Qt extends e.X{constructor(gi,_i,Fi,qi){super(qi);const ar=gi.pipe((0,C.Q)(o.N)).pipe((0,u.M)(_i)).pipe((0,P.R)(wt,{state:qi}));this.stateSubscription=ar.subscribe(({state:On,action:Pn})=>{this.next(On),Fi.next(Pn)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return Qt.INIT=ie,Qt.\u0275fac=function(gi){return new(gi||Qt)(t.LFG(ce),t.LFG(te),t.LFG(Ce),t.LFG(i))},Qt.\u0275prov=t.Yz7({token:Qt,factory:Qt.\u0275fac}),Qt})();function wt(Qt={state:void 0},[vi,gi]){const{state:_i}=Qt;return{state:gi(_i,vi),action:vi}}const it=[nt,{provide:ht,useExisting:nt}];let qt=(()=>{class Qt extends v.y{constructor(gi,_i,Fi){super(),this.actionsObserver=_i,this.reducerManager=Fi,this.source=gi}select(gi,..._i){return ne.call(null,gi,..._i)(this)}lift(gi){const _i=new Qt(this,this.actionsObserver,this.reducerManager);return _i.operator=gi,_i}dispatch(gi){this.actionsObserver.next(gi)}next(gi){this.actionsObserver.next(gi)}error(gi){this.actionsObserver.error(gi)}complete(){this.actionsObserver.complete()}addReducer(gi,_i){this.reducerManager.addReducer(gi,_i)}removeReducer(gi){this.reducerManager.removeReducer(gi)}}return Qt.\u0275fac=function(gi){return new(gi||Qt)(t.LFG(ht),t.LFG(ce),t.LFG(q))},Qt.\u0275prov=t.Yz7({token:Qt,factory:Qt.\u0275fac}),Qt})();const _t=[qt];function ne(Qt,vi,...gi){return function(Fi){let qi;if("string"==typeof Qt){const yn=[vi,...gi].filter(Boolean);qi=Fi.pipe(function S(...Qt){const vi=Qt.length;if(0===vi)throw new Error("list of properties cannot be empty.");return(0,d.U)(gi=>{let _i=gi;for(let Fi=0;Fi<vi;Fi++){const qi=_i?.[Qt[Fi]];if(!(typeof qi<"u"))return;_i=qi}return _i})}(Qt,...yn))}else{if("function"!=typeof Qt)throw new TypeError(`Unexpected type '${typeof Qt}' in select operator, expected 'string' or 'function'`);qi=Fi.pipe((0,d.U)(yn=>Qt(yn,vi)))}return qi.pipe((0,w.x)())}}const Nt="https://ngrx.io/guide/store/configuration/runtime-checks";function De(Qt){return void 0===Qt}function He(Qt){return null===Qt}function Ct(Qt){return Array.isArray(Qt)}function Lt(Qt){return"object"==typeof Qt&&null!==Qt}function Me(Qt){return"function"==typeof Qt}function Gt(Qt,vi){return Qt===vi}function ti(Qt,vi,gi){for(let _i=0;_i<Qt.length;_i++)if(!gi(Qt[_i],vi[_i]))return!0;return!1}function rt(Qt,vi=Gt,gi=Gt){let qi,_i=null,Fi=null;return{memoized:function ar(){if(void 0!==qi)return qi.result;if(!_i)return Fi=Qt.apply(null,arguments),_i=arguments,Fi;if(!ti(arguments,_i,vi))return Fi;const On=Qt.apply(null,arguments);return _i=arguments,gi(Fi,On)?Fi:(Fi=On,On)},reset:function yn(){_i=null,Fi=null},setResult:function Qn(On){qi={result:On}},clearResult:function zn(){qi=void 0}}}function vt(...Qt){return function Ut(Qt,vi={stateFn:ai}){return function(...gi){let _i=gi;if(Array.isArray(_i[0])){const[On,...Pn]=_i;_i=[...On,...Pn]}else 1===_i.length&&function Rt(Qt){return!!Qt&&"object"==typeof Qt&&Object.values(Qt).every(vi=>"function"==typeof vi)}(_i[0])&&(_i=function je(Qt){const vi=Object.values(Qt),gi=Object.keys(Qt);return[...vi,(...Fi)=>gi.reduce((qi,yn,Qn)=>({...qi,[yn]:Fi[Qn]}),{})]}(_i[0]));const Fi=_i.slice(0,_i.length-1),qi=_i[_i.length-1],yn=Fi.filter(On=>On.release&&"function"==typeof On.release),Qn=Qt(function(...On){return qi.apply(null,On)}),zn=rt(function(On,Pn){return vi.stateFn.apply(null,[On,Fi,Pn,Qn])});return Object.assign(zn.memoized,{release:function ar(){zn.reset(),Qn.reset(),yn.forEach(On=>On.release())},projector:Qn.memoized,setResult:zn.setResult,clearResult:zn.clearResult})}}(rt)(...Qt)}function ai(Qt,vi,gi,_i){if(void 0===gi){const qi=vi.map(yn=>yn(Qt));return _i.memoized.apply(null,qi)}const Fi=vi.map(qi=>qi(Qt,gi));return _i.memoized.apply(null,[...Fi,gi])}function Vt(Qt){return vt(vi=>{const gi=vi[Qt];return(0,t.X6Q)()&&!(Qt in vi)&&console.warn(`@ngrx/store: The feature name "${Qt}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${Qt}', ...) or StoreModule.forFeature('${Qt}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),gi},vi=>vi)}function Tt(Qt){return Qt instanceof t.OlP?(0,t.f3M)(Qt):Qt}function ui(Qt,vi){return vi.map((gi,_i)=>{if(Qt[_i]instanceof t.OlP){const Fi=(0,t.f3M)(Qt[_i]);return{key:gi.key,reducerFactory:Fi.reducerFactory?Fi.reducerFactory:se,metaReducers:Fi.metaReducers?Fi.metaReducers:[],initialState:Fi.initialState}}return gi})}function Ei(Qt){return Qt.map(vi=>vi instanceof t.OlP?(0,t.f3M)(vi):vi)}function xi(Qt){return"function"==typeof Qt?Qt():Qt}function Vi(Qt,vi){return Qt.concat(vi)}function $e(){if((0,t.f3M)(qt,{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 ye(Qt){Object.freeze(Qt);const vi=Me(Qt);return Object.getOwnPropertyNames(Qt).forEach(gi=>{if(!gi.startsWith("\u0275")&&function ve(Qt,vi){return Object.prototype.hasOwnProperty.call(Qt,vi)}(Qt,gi)&&(!vi||"caller"!==gi&&"callee"!==gi&&"arguments"!==gi)){const _i=Qt[gi];(Lt(_i)||Me(_i))&&!Object.isFrozen(_i)&&ye(_i)}}),Qt}function Kt(Qt,vi=[]){return(De(Qt)||He(Qt))&&0===vi.length?{path:["root"],value:Qt}:Object.keys(Qt).reduce((_i,Fi)=>{if(_i)return _i;const qi=Qt[Fi];return function J(Qt){return Me(Qt)&&Qt.hasOwnProperty("\u0275cmp")}(qi)?_i:!(De(qi)||He(qi)||function Bt(Qt){return"number"==typeof Qt}(qi)||function tt(Qt){return"boolean"==typeof Qt}(qi)||function Pe(Qt){return"string"==typeof Qt}(qi)||Ct(qi))&&(function bt(Qt){if(!function Ht(Qt){return Lt(Qt)&&!Ct(Qt)}(Qt))return!1;const vi=Object.getPrototypeOf(Qt);return vi===Object.prototype||null===vi}(qi)?Kt(qi,[...vi,Fi]):{path:[...vi,Fi],value:qi})},!1)}function mi(Qt,vi){if(!1===Qt)return;const gi=Qt.path.join("."),_i=new Error(`Detected unserializable ${vi} at "${gi}". ${Nt}#strict${vi}serializability`);throw _i.value=Qt.value,_i.unserializablePath=gi,_i}function Pi(Qt){return(0,t.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...Qt}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Wi({strictActionSerializability:Qt,strictStateSerializability:vi}){return gi=>Qt||vi?function Ot(Qt,vi){return function(gi,_i){vi.action(_i)&&mi(Kt(_i),"action");const Fi=Qt(gi,_i);return vi.state()&&mi(Kt(Fi),"state"),Fi}}(gi,{action:_i=>Qt&&!oi(_i),state:()=>vi}):gi}function Zt({strictActionImmutability:Qt,strictStateImmutability:vi}){return gi=>Qt||vi?function Mt(Qt,vi){return function(gi,_i){const Fi=vi.action(_i)?ye(_i):_i,qi=Qt(gi,Fi);return vi.state()?ye(qi):qi}}(gi,{action:_i=>Qt&&!oi(_i),state:()=>vi}):gi}function oi(Qt){return Qt.type.startsWith("@ngrx")}function ge({strictActionWithinNgZone:Qt}){return vi=>Qt?function Mi(Qt,vi){return function(gi,_i){if(vi.action(_i)&&!t.R0b.isInAngularZone())throw new Error(`Action '${_i.type}' running outside NgZone. ${Nt}#strictactionwithinngzone`);return Qt(gi,_i)}}(vi,{action:gi=>Qt&&!oi(gi)}):vi}function Xe(Qt){return[{provide:ct,useValue:Qt},{provide:qe,useFactory:pt,deps:[ct]},{provide:Ie,deps:[qe],useFactory:Pi},{provide:Ae,multi:!0,deps:[Ie],useFactory:Zt},{provide:Ae,multi:!0,deps:[Ie],useFactory:Wi},{provide:Ae,multi:!0,deps:[Ie],useFactory:ge}]}function St(){return[{provide:xe,multi:!0,deps:[Ie],useFactory:Xt}]}function pt(Qt){return Qt}function Xt(Qt){if(!Qt.strictActionTypeUniqueness)return;const vi=Object.entries(I).filter(([,gi])=>gi>1).map(([gi])=>gi);if(vi.length)throw new Error(`Action types are registered more than once, ${vi.map(gi=>`"${gi}"`).join(", ")}. ${Nt}#strictactiontypeuniqueness`)}function Li(Qt={},vi={}){return[{provide:fe,useFactory:$e},{provide:T,useValue:vi.initialState},{provide:i,useFactory:xi,deps:[T]},{provide:y,useValue:Qt},{provide:k,useExisting:Qt instanceof t.OlP?Qt:y},{provide:l,deps:[y,[new t.tBr(k)]],useFactory:Tt},{provide:j,useValue:vi.metaReducers?vi.metaReducers:[]},{provide:Ke,deps:[Ae,j],useFactory:Vi},{provide:h,useValue:vi.reducerFactory?vi.reducerFactory:se},{provide:r,deps:[h,Ke],useFactory:oe},$,de,ke,it,_t,Xe(vi.runtimeChecks),St()]}function Zr(Qt,vi,gi={}){return[{provide:n,multi:!0,useValue:Qt instanceof Object?{}:gi},{provide:A,multi:!0,useValue:{key:Qt instanceof Object?Qt.name:Qt,reducerFactory:gi instanceof t.OlP||!gi.reducerFactory?se:gi.reducerFactory,metaReducers:gi instanceof t.OlP||!gi.metaReducers?[]:gi.metaReducers,initialState:gi instanceof t.OlP||!gi.initialState?void 0:gi.initialState}},{provide:b,deps:[n,A],useFactory:ui},{provide:g,multi:!0,useValue:Qt instanceof Object?Qt.reducer:vi},{provide:U,multi:!0,useExisting:vi instanceof t.OlP?vi:g},{provide:V,multi:!0,deps:[g,[new t.tBr(U)]],useFactory:Ei},St()]}let fr=(()=>{class Qt{constructor(gi,_i,Fi,qi,yn,Qn){}}return Qt.\u0275fac=function(gi){return new(gi||Qt)(t.LFG(ce),t.LFG(te),t.LFG(Ce),t.LFG(qt),t.LFG(fe,8),t.LFG(xe,8))},Qt.\u0275mod=t.oAB({type:Qt}),Qt.\u0275inj=t.cJS({}),Qt})(),Nr=(()=>{class Qt{constructor(gi,_i,Fi,qi,yn){this.features=gi,this.featureReducers=_i,this.reducerManager=Fi;const Qn=gi.map((zn,ar)=>{const Pn=_i.shift()[ar];return{...zn,reducers:Pn,initialState:xi(zn.initialState)}});Fi.addFeatures(Qn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return Qt.\u0275fac=function(gi){return new(gi||Qt)(t.LFG(b),t.LFG(V),t.LFG(q),t.LFG(fr),t.LFG(xe,8))},Qt.\u0275mod=t.oAB({type:Qt}),Qt.\u0275inj=t.cJS({}),Qt})(),Oi=(()=>{class Qt{static forRoot(gi,_i){return{ngModule:fr,providers:[...Li(gi,_i)]}}static forFeature(gi,_i,Fi={}){return{ngModule:Nr,providers:[...Zr(gi,_i,Fi)]}}}return Qt.\u0275fac=function(gi){return new(gi||Qt)},Qt.\u0275mod=t.oAB({type:Qt}),Qt.\u0275inj=t.cJS({}),Qt})();function Ui(...Qt){return{reducer:Qt.pop(),types:Qt.map(_i=>_i.type)}}function Tn(Qt,...vi){const gi=new Map;for(const _i of vi)for(const Fi of _i.types){const qi=gi.get(Fi);gi.set(Fi,qi?(Qn,zn)=>_i.reducer(qi(Qn,zn),zn):_i.reducer)}return function(_i=Qt,Fi){const qi=gi.get(Fi.type);return qi?qi(_i,Fi):_i}}},2213:(Ve,Q,m)=>{"use strict";m.d(Q,{H5:()=>mf,K$:()=>K3,a4:()=>Pf});var t=m(4650),e=m(6895),v=m(655),D=m(4080),o=m(4968),C=m(8372),u=m(7340);function P(){}function d(f){return null==f?P:function(){return this.querySelector(f)}}function w(f){return"object"==typeof f&&"length"in f?f:Array.from(f)}function I(){return[]}function E(f){return null==f?I:function(){return this.querySelectorAll(f)}}function G(f){return function(){return this.matches(f)}}function W(f){return function(O){return O.matches(f)}}var Y=Array.prototype.find;function ee(){return this.firstElementChild}var he=Array.prototype.filter;function ie(){return this.children}function T(f){return new Array(f.length)}function r(f,O){this.ownerDocument=f.ownerDocument,this.namespaceURI=f.namespaceURI,this._next=null,this._parent=f,this.__data__=O}function h(f){return function(){return f}}function l(f,O,a,x,H,K){for(var ot,Ee=0,jt=O.length,Yt=K.length;Ee<Yt;++Ee)(ot=O[Ee])?(ot.__data__=K[Ee],x[Ee]=ot):a[Ee]=new r(f,K[Ee]);for(;Ee<jt;++Ee)(ot=O[Ee])&&(H[Ee]=ot)}function y(f,O,a,x,H,K,Ee){var ot,jt,Ai,Yt=new Map,di=O.length,yi=K.length,wi=new Array(di);for(ot=0;ot<di;++ot)(jt=O[ot])&&(wi[ot]=Ai=Ee.call(jt,jt.__data__,ot,O)+"",Yt.has(Ai)?H[ot]=jt:Yt.set(Ai,jt));for(ot=0;ot<yi;++ot)Ai=Ee.call(f,K[ot],ot,K)+"",(jt=Yt.get(Ai))?(x[ot]=jt,jt.__data__=K[ot],Yt.delete(Ai)):a[ot]=new r(f,K[ot]);for(ot=0;ot<di;++ot)(jt=O[ot])&&Yt.get(wi[ot])===jt&&(H[ot]=jt)}function A(f){return f.__data__}function j(f,O){return f<O?-1:f>O?1:f>=O?0:NaN}r.prototype={constructor:r,appendChild:function(f){return this._parent.insertBefore(f,this._next)},insertBefore:function(f,O){return this._parent.insertBefore(f,O)},querySelector:function(f){return this._parent.querySelector(f)},querySelectorAll:function(f){return this._parent.querySelectorAll(f)}};var le="http://www.w3.org/1999/xhtml";const _e={svg:"http://www.w3.org/2000/svg",xhtml:le,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function se(f){var O=f+="",a=O.indexOf(":");return a>=0&&"xmlns"!==(O=f.slice(0,a))&&(f=f.slice(a+1)),_e.hasOwnProperty(O)?{space:_e[O],local:f}:f}function Ye(f){return function(){this.removeAttribute(f)}}function Te(f){return function(){this.removeAttributeNS(f.space,f.local)}}function oe(f,O){return function(){this.setAttribute(f,O)}}function be(f,O){return function(){this.setAttributeNS(f.space,f.local,O)}}function te(f,O){return function(){var a=O.apply(this,arguments);null==a?this.removeAttribute(f):this.setAttribute(f,a)}}function Ue(f,O){return function(){var a=O.apply(this,arguments);null==a?this.removeAttributeNS(f.space,f.local):this.setAttributeNS(f.space,f.local,a)}}function q(f){return f.ownerDocument&&f.ownerDocument.defaultView||f.document&&f||f.defaultView}function de(f){return function(){this.style.removeProperty(f)}}function Ce(f,O,a){return function(){this.style.setProperty(f,O,a)}}function ke(f,O,a){return function(){var x=O.apply(this,arguments);null==x?this.style.removeProperty(f):this.style.setProperty(f,x,a)}}function nt(f,O){return f.style.getPropertyValue(O)||q(f).getComputedStyle(f,null).getPropertyValue(O)}function wt(f){return function(){delete this[f]}}function it(f,O){return function(){this[f]=O}}function qt(f,O){return function(){var a=O.apply(this,arguments);null==a?delete this[f]:this[f]=a}}function ne(f){return f.trim().split(/^|\s+/)}function Nt(f){return f.classList||new De(f)}function De(f){this._node=f,this._names=ne(f.getAttribute("class")||"")}function He(f,O){for(var a=Nt(f),x=-1,H=O.length;++x<H;)a.add(O[x])}function Ct(f,O){for(var a=Nt(f),x=-1,H=O.length;++x<H;)a.remove(O[x])}function Pe(f){return function(){He(this,f)}}function tt(f){return function(){Ct(this,f)}}function Bt(f,O){return function(){(O.apply(this,arguments)?He:Ct)(this,f)}}function Ht(){this.textContent=""}function bt(f){return function(){this.textContent=f}}function Me(f){return function(){var O=f.apply(this,arguments);this.textContent=O??""}}function ve(){this.innerHTML=""}function Re(f){return function(){this.innerHTML=f}}function at(f){return function(){var O=f.apply(this,arguments);this.innerHTML=O??""}}function Gt(){this.nextSibling&&this.parentNode.appendChild(this)}function dt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function vt(f){return function(){var O=this.ownerDocument,a=this.namespaceURI;return a===le&&O.documentElement.namespaceURI===le?O.createElement(f):O.createElementNS(a,f)}}function ai(f){return function(){return this.ownerDocument.createElementNS(f.space,f.local)}}function Ut(f){var O=se(f);return(O.local?ai:vt)(O)}function Rt(){return null}function Fe(){var f=this.parentNode;f&&f.removeChild(this)}function Je(){var f=this.cloneNode(!1),O=this.parentNode;return O?O.insertBefore(f,this.nextSibling):f}function Tt(){var f=this.cloneNode(!0),O=this.parentNode;return O?O.insertBefore(f,this.nextSibling):f}function Vi(f){return f.trim().split(/^|\s+/).map(function(O){var a="",x=O.indexOf(".");return x>=0&&(a=O.slice(x+1),O=O.slice(0,x)),{type:O,name:a}})}function $e(f){return function(){var O=this.__on;if(O){for(var K,a=0,x=-1,H=O.length;a<H;++a)K=O[a],f.type&&K.type!==f.type||K.name!==f.name?O[++x]=K:this.removeEventListener(K.type,K.listener,K.options);++x?O.length=x:delete this.__on}}}function Mt(f,O,a){return function(){var H,x=this.__on,K=function xi(f){return function(O){f.call(this,O,this.__data__)}}(O);if(x)for(var Ee=0,ot=x.length;Ee<ot;++Ee)if((H=x[Ee]).type===f.type&&H.name===f.name)return this.removeEventListener(H.type,H.listener,H.options),this.addEventListener(H.type,H.listener=K,H.options=a),void(H.value=O);this.addEventListener(f.type,K,a),H={type:f.type,name:f.name,value:O,listener:K,options:a},x?x.push(H):this.__on=[H]}}function Ot(f,O,a){var x=q(f),H=x.CustomEvent;"function"==typeof H?H=new H(O,a):(H=x.document.createEvent("Event"),a?(H.initEvent(O,a.bubbles,a.cancelable),H.detail=a.detail):H.initEvent(O,!1,!1)),f.dispatchEvent(H)}function Kt(f,O){return function(){return Ot(this,f,O)}}function mi(f,O){return function(){return Ot(this,f,O.apply(this,arguments))}}De.prototype={add:function(f){this._names.indexOf(f)<0&&(this._names.push(f),this._node.setAttribute("class",this._names.join(" ")))},remove:function(f){var O=this._names.indexOf(f);O>=0&&(this._names.splice(O,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(f){return this._names.indexOf(f)>=0}};var Wi=[null];function Zt(f,O){this._groups=f,this._parents=O}function oi(){return new Zt([[document.documentElement]],Wi)}Zt.prototype=oi.prototype={constructor:Zt,select:function S(f){"function"!=typeof f&&(f=d(f));for(var O=this._groups,a=O.length,x=new Array(a),H=0;H<a;++H)for(var jt,Yt,K=O[H],Ee=K.length,ot=x[H]=new Array(Ee),di=0;di<Ee;++di)(jt=K[di])&&(Yt=f.call(jt,jt.__data__,di,K))&&("__data__"in jt&&(Yt.__data__=jt.__data__),ot[di]=Yt);return new Zt(x,this._parents)},selectAll:function z(f){f="function"==typeof f?function N(f){return function(){var O=f.apply(this,arguments);return null==O?[]:w(O)}}(f):E(f);for(var O=this._groups,a=O.length,x=[],H=[],K=0;K<a;++K)for(var jt,Ee=O[K],ot=Ee.length,Yt=0;Yt<ot;++Yt)(jt=Ee[Yt])&&(x.push(f.call(jt,jt.__data__,Yt,Ee)),H.push(jt));return new Zt(x,H)},selectChild:function ue(f){return this.select(null==f?ee:function X(f){return function(){return Y.call(this.children,f)}}("function"==typeof f?f:W(f)))},selectChildren:function $(f){return this.selectAll(null==f?ie:function ce(f){return function(){return he.call(this.children,f)}}("function"==typeof f?f:W(f)))},filter:function fe(f){"function"!=typeof f&&(f=G(f));for(var O=this._groups,a=O.length,x=new Array(a),H=0;H<a;++H)for(var jt,K=O[H],Ee=K.length,ot=x[H]=[],Yt=0;Yt<Ee;++Yt)(jt=K[Yt])&&f.call(jt,jt.__data__,Yt,K)&&ot.push(jt);return new Zt(x,this._parents)},data:function k(f,O){if(!arguments.length)return Array.from(this,A);var a=O?y:l,x=this._parents,H=this._groups;"function"!=typeof f&&(f=h(f));for(var K=H.length,Ee=new Array(K),ot=new Array(K),jt=new Array(K),Yt=0;Yt<K;++Yt){var di=x[Yt],yi=H[Yt],wi=yi.length,Ai=w(f.call(di,di&&di.__data__,Yt,x)),sn=Ai.length,_n=ot[Yt]=new Array(sn),Di=Ee[Yt]=new Array(sn),fn=jt[Yt]=new Array(wi);a(di,yi,_n,Di,fn,Ai,O);for(var Yn,Hn,vn=0,pn=0;vn<sn;++vn)if(Yn=_n[vn]){for(vn>=pn&&(pn=vn+1);!(Hn=Di[pn])&&++pn<sn;);Yn._next=Hn||null}}return(Ee=new Zt(Ee,x))._enter=ot,Ee._exit=jt,Ee},enter:function i(){return new Zt(this._enter||this._groups.map(T),this._parents)},exit:function g(){return new Zt(this._exit||this._groups.map(T),this._parents)},join:function n(f,O,a){var x=this.enter(),H=this,K=this.exit();return x="function"==typeof f?f(x):x.append(f+""),null!=O&&(H=O(H)),null==a?K.remove():a(K),x&&H?x.merge(H).order():H},merge:function b(f){if(!(f instanceof Zt))throw new Error("invalid merge");for(var O=this._groups,a=f._groups,x=O.length,K=Math.min(x,a.length),Ee=new Array(x),ot=0;ot<K;++ot)for(var wi,jt=O[ot],Yt=a[ot],di=jt.length,yi=Ee[ot]=new Array(di),Ai=0;Ai<di;++Ai)(wi=jt[Ai]||Yt[Ai])&&(yi[Ai]=wi);for(;ot<x;++ot)Ee[ot]=O[ot];return new Zt(Ee,this._parents)},selection:function ge(){return this},order:function U(){for(var f=this._groups,O=-1,a=f.length;++O<a;)for(var Ee,x=f[O],H=x.length-1,K=x[H];--H>=0;)(Ee=x[H])&&(K&&4^Ee.compareDocumentPosition(K)&&K.parentNode.insertBefore(Ee,K),K=Ee);return this},sort:function V(f){function O(yi,wi){return yi&&wi?f(yi.__data__,wi.__data__):!yi-!wi}f||(f=j);for(var a=this._groups,x=a.length,H=new Array(x),K=0;K<x;++K){for(var Yt,Ee=a[K],ot=Ee.length,jt=H[K]=new Array(ot),di=0;di<ot;++di)(Yt=Ee[di])&&(jt[di]=Yt);jt.sort(O)}return new Zt(H,this._parents).order()},call:function Ae(){var f=arguments[0];return arguments[0]=this,f.apply(null,arguments),this},nodes:function Ke(){return Array.from(this)},node:function qe(){for(var f=this._groups,O=0,a=f.length;O<a;++O)for(var x=f[O],H=0,K=x.length;H<K;++H){var Ee=x[H];if(Ee)return Ee}return null},size:function ct(){let f=0;for(const O of this)++f;return f},empty:function Ie(){return!this.node()},each:function xe(f){for(var O=this._groups,a=0,x=O.length;a<x;++a)for(var ot,H=O[a],K=0,Ee=H.length;K<Ee;++K)(ot=H[K])&&f.call(ot,ot.__data__,K,H);return this},attr:function Be(f,O){var a=se(f);if(arguments.length<2){var x=this.node();return a.local?x.getAttributeNS(a.space,a.local):x.getAttribute(a)}return this.each((null==O?a.local?Te:Ye:"function"==typeof O?a.local?Ue:te:a.local?be:oe)(a,O))},style:function ht(f,O,a){return arguments.length>1?this.each((null==O?de:"function"==typeof O?ke:Ce)(f,O,a??"")):nt(this.node(),f)},property:function _t(f,O){return arguments.length>1?this.each((null==O?wt:"function"==typeof O?qt:it)(f,O)):this.node()[f]},classed:function Lt(f,O){var a=ne(f+"");if(arguments.length<2){for(var x=Nt(this.node()),H=-1,K=a.length;++H<K;)if(!x.contains(a[H]))return!1;return!0}return this.each(("function"==typeof O?Bt:O?Pe:tt)(a,O))},text:function J(f){return arguments.length?this.each(null==f?Ht:("function"==typeof f?Me:bt)(f)):this.node().textContent},html:function ni(f){return arguments.length?this.each(null==f?ve:("function"==typeof f?at:Re)(f)):this.node().innerHTML},raise:function ti(){return this.each(Gt)},lower:function rt(){return this.each(dt)},append:function Vt(f){var O="function"==typeof f?f:Ut(f);return this.select(function(){return this.appendChild(O.apply(this,arguments))})},insert:function je(f,O){var a="function"==typeof f?f:Ut(f),x=null==O?Rt:"function"==typeof O?O:d(O);return this.select(function(){return this.insertBefore(a.apply(this,arguments),x.apply(this,arguments)||null)})},remove:function We(){return this.each(Fe)},clone:function ui(f){return this.select(f?Tt:Je)},datum:function Ei(f){return arguments.length?this.property("__data__",f):this.node().__data__},on:function ye(f,O,a){var H,Ee,x=Vi(f+""),K=x.length;if(!(arguments.length<2)){for(ot=O?Mt:$e,H=0;H<K;++H)this.each(ot(x[H],O,a));return this}var ot=this.node().__on;if(ot)for(var di,jt=0,Yt=ot.length;jt<Yt;++jt)for(H=0,di=ot[jt];H<K;++H)if((Ee=x[H]).type===di.type&&Ee.name===di.name)return di.value},dispatch:function Mi(f,O){return this.each(("function"==typeof O?mi:Kt)(f,O))},[Symbol.iterator]:function*Pi(){for(var f=this._groups,O=0,a=f.length;O<a;++O)for(var Ee,x=f[O],H=0,K=x.length;H<K;++H)(Ee=x[H])&&(yield Ee)}};const Xe=oi;var pt={value:()=>{}};function Xt(){for(var x,f=0,O=arguments.length,a={};f<O;++f){if(!(x=arguments[f]+"")||x in a||/[\s.]/.test(x))throw new Error("illegal type: "+x);a[x]=[]}return new zt(a)}function zt(f){this._=f}function Li(f,O){return f.trim().split(/^|\s+/).map(function(a){var x="",H=a.indexOf(".");if(H>=0&&(x=a.slice(H+1),a=a.slice(0,H)),a&&!O.hasOwnProperty(a))throw new Error("unknown type: "+a);return{type:a,name:x}})}function dn(f,O){for(var H,a=0,x=f.length;a<x;++a)if((H=f[a]).name===O)return H.value}function on(f,O,a){for(var x=0,H=f.length;x<H;++x)if(f[x].name===O){f[x]=pt,f=f.slice(0,x).concat(f.slice(x+1));break}return null!=a&&f.push({name:O,value:a}),f}zt.prototype=Xt.prototype={constructor:zt,on:function(f,O){var H,a=this._,x=Li(f+"",a),K=-1,Ee=x.length;if(!(arguments.length<2)){if(null!=O&&"function"!=typeof O)throw new Error("invalid callback: "+O);for(;++K<Ee;)if(H=(f=x[K]).type)a[H]=on(a[H],f.name,O);else if(null==O)for(H in a)a[H]=on(a[H],f.name,null);return this}for(;++K<Ee;)if((H=(f=x[K]).type)&&(H=dn(a[H],f.name)))return H},copy:function(){var f={},O=this._;for(var a in O)f[a]=O[a].slice();return new zt(f)},call:function(f,O){if((H=arguments.length-2)>0)for(var H,K,a=new Array(H),x=0;x<H;++x)a[x]=arguments[x+2];if(!this._.hasOwnProperty(f))throw new Error("unknown type: "+f);for(x=0,H=(K=this._[f]).length;x<H;++x)K[x].value.apply(O,a)},apply:function(f,O,a){if(!this._.hasOwnProperty(f))throw new Error("unknown type: "+f);for(var x=this._[f],H=0,K=x.length;H<K;++H)x[H].value.apply(O,a)}};const Xn=Xt;function Nr(f,O,a){f.prototype=O.prototype=a,a.constructor=f}function Oi(f,O){var a=Object.create(f.prototype);for(var x in O)a[x]=O[x];return a}function Ui(){}var Qt=1/.7,vi="\\s*([+-]?\\d+)\\s*",gi="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",_i="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Fi=/^#([0-9a-f]{3,8})$/,qi=new RegExp("^rgb\\("+[vi,vi,vi]+"\\)$"),yn=new RegExp("^rgb\\("+[_i,_i,_i]+"\\)$"),Qn=new RegExp("^rgba\\("+[vi,vi,vi,gi]+"\\)$"),zn=new RegExp("^rgba\\("+[_i,_i,_i,gi]+"\\)$"),ar=new RegExp("^hsl\\("+[gi,_i,_i]+"\\)$"),On=new RegExp("^hsla\\("+[gi,_i,_i,gi]+"\\)$"),Pn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function pa(){return this.rgb().formatHex()}function dr(){return this.rgb().formatRgb()}function Va(f){var O,a;return f=(f+"").trim().toLowerCase(),(O=Fi.exec(f))?(a=O[1].length,O=parseInt(O[1],16),6===a?Fr(O):3===a?new Sr(O>>8&15|O>>4&240,O>>4&15|240&O,(15&O)<<4|15&O,1):8===a?jr(O>>24&255,O>>16&255,O>>8&255,(255&O)/255):4===a?jr(O>>12&15|O>>8&240,O>>8&15|O>>4&240,O>>4&15|240&O,((15&O)<<4|15&O)/255):null):(O=qi.exec(f))?new Sr(O[1],O[2],O[3],1):(O=yn.exec(f))?new Sr(255*O[1]/100,255*O[2]/100,255*O[3]/100,1):(O=Qn.exec(f))?jr(O[1],O[2],O[3],O[4]):(O=zn.exec(f))?jr(255*O[1]/100,255*O[2]/100,255*O[3]/100,O[4]):(O=ar.exec(f))?cs(O[1],O[2]/100,O[3]/100,1):(O=On.exec(f))?cs(O[1],O[2]/100,O[3]/100,O[4]):Pn.hasOwnProperty(f)?Fr(Pn[f]):"transparent"===f?new Sr(NaN,NaN,NaN,0):null}function Fr(f){return new Sr(f>>16&255,f>>8&255,255&f,1)}function jr(f,O,a,x){return x<=0&&(f=O=a=NaN),new Sr(f,O,a,x)}function cr(f){return f instanceof Ui||(f=Va(f)),f?new Sr((f=f.rgb()).r,f.g,f.b,f.opacity):new Sr}function Ar(f,O,a,x){return 1===arguments.length?cr(f):new Sr(f,O,a,x??1)}function Sr(f,O,a,x){this.r=+f,this.g=+O,this.b=+a,this.opacity=+x}function os(){return"#"+Ba(this.r)+Ba(this.g)+Ba(this.b)}function wa(){var f=this.opacity;return(1===(f=isNaN(f)?1:Math.max(0,Math.min(1,f)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===f?")":", "+f+")")}function Ba(f){return((f=Math.max(0,Math.min(255,Math.round(f)||0)))<16?"0":"")+f.toString(16)}function cs(f,O,a,x){return x<=0?f=O=a=NaN:a<=0||a>=1?f=O=NaN:O<=0&&(f=NaN),new Lr(f,O,a,x)}function Hr(f){if(f instanceof Lr)return new Lr(f.h,f.s,f.l,f.opacity);if(f instanceof Ui||(f=Va(f)),!f)return new Lr;if(f instanceof Lr)return f;var O=(f=f.rgb()).r/255,a=f.g/255,x=f.b/255,H=Math.min(O,a,x),K=Math.max(O,a,x),Ee=NaN,ot=K-H,jt=(K+H)/2;return ot?(Ee=O===K?(a-x)/ot+6*(a<x):a===K?(x-O)/ot+2:(O-a)/ot+4,ot/=jt<.5?K+H:2-K-H,Ee*=60):ot=jt>0&&jt<1?0:Ee,new Lr(Ee,ot,jt,f.opacity)}function Lr(f,O,a,x){this.h=+f,this.s=+O,this.l=+a,this.opacity=+x}function xs(f,O,a){return 255*(f<60?O+(a-O)*f/60:f<180?a:f<240?O+(a-O)*(240-f)/60:O)}function Ja(f,O,a,x,H){var K=f*f,Ee=K*f;return((1-3*f+3*K-Ee)*O+(4-6*K+3*Ee)*a+(1+3*f+3*K-3*Ee)*x+Ee*H)/6}Nr(Ui,Va,{copy:function(f){return Object.assign(new this.constructor,this,f)},displayable:function(){return this.rgb().displayable()},hex:pa,formatHex:pa,formatHsl:function ir(){return Hr(this).formatHsl()},formatRgb:dr,toString:dr}),Nr(Sr,Ar,Oi(Ui,{brighter:function(f){return f=null==f?Qt:Math.pow(Qt,f),new Sr(this.r*f,this.g*f,this.b*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new Sr(this.r*f,this.g*f,this.b*f,this.opacity)},rgb:function(){return this},displayable:function(){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:os,formatHex:os,formatRgb:wa,toString:wa})),Nr(Lr,function ls(f,O,a,x){return 1===arguments.length?Hr(f):new Lr(f,O,a,x??1)},Oi(Ui,{brighter:function(f){return f=null==f?Qt:Math.pow(Qt,f),new Lr(this.h,this.s,this.l*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new Lr(this.h,this.s,this.l*f,this.opacity)},rgb:function(){var f=this.h%360+360*(this.h<0),O=isNaN(f)||isNaN(this.s)?0:this.s,a=this.l,x=a+(a<.5?a:1-a)*O,H=2*a-x;return new Sr(xs(f>=240?f-240:f+120,H,x),xs(f,H,x),xs(f<120?f+240:f-120,H,x),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var f=this.opacity;return(1===(f=isNaN(f)?1:Math.max(0,Math.min(1,f)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===f?")":", "+f+")")}}));const Ma=f=>()=>f;function ga(f,O){var a=O-f;return a?function ds(f,O){return function(a){return f+a*O}}(f,a):Ma(isNaN(f)?O:f)}const Xa=function f(O){var a=function Oa(f){return 1==(f=+f)?ga:function(O,a){return a-O?function hs(f,O,a){return f=Math.pow(f,a),O=Math.pow(O,a)-f,a=1/a,function(x){return Math.pow(f+x*O,a)}}(O,a,f):Ma(isNaN(O)?a:O)}}(O);function x(H,K){var Ee=a((H=Ar(H)).r,(K=Ar(K)).r),ot=a(H.g,K.g),jt=a(H.b,K.b),Yt=ga(H.opacity,K.opacity);return function(di){return H.r=Ee(di),H.g=ot(di),H.b=jt(di),H.opacity=Yt(di),H+""}}return x.gamma=f,x}(1);function hr(f){return function(O){var Ee,ot,a=O.length,x=new Array(a),H=new Array(a),K=new Array(a);for(Ee=0;Ee<a;++Ee)ot=Ar(O[Ee]),x[Ee]=ot.r||0,H[Ee]=ot.g||0,K[Ee]=ot.b||0;return x=f(x),H=f(H),K=f(K),ot.opacity=1,function(jt){return ot.r=x(jt),ot.g=H(jt),ot.b=K(jt),ot+""}}}function Sa(f,O){var Ee,a=O?O.length:0,x=f?Math.min(a,f.length):0,H=new Array(x),K=new Array(a);for(Ee=0;Ee<x;++Ee)H[Ee]=qn(f[Ee],O[Ee]);for(;Ee<a;++Ee)K[Ee]=O[Ee];return function(ot){for(Ee=0;Ee<x;++Ee)K[Ee]=H[Ee](ot);return K}}function us(f,O){var a=new Date;return f=+f,O=+O,function(x){return a.setTime(f*(1-x)+O*x),a}}function Wr(f,O){return f=+f,O=+O,function(a){return f*(1-a)+O*a}}function Ea(f,O){var H,a={},x={};for(H in(null===f||"object"!=typeof f)&&(f={}),(null===O||"object"!=typeof O)&&(O={}),O)H in f?a[H]=qn(f[H],O[H]):x[H]=O[H];return function(K){for(H in a)x[H]=a[H](K);return x}}hr(function Ns(f){var O=f.length-1;return function(a){var x=a<=0?a=0:a>=1?(a=1,O-1):Math.floor(a*O),H=f[x],K=f[x+1];return Ja((a-x/O)*O,x>0?f[x-1]:2*H-K,H,K,x<O-1?f[x+2]:2*K-H)}}),hr(function Fs(f){var O=f.length;return function(a){var x=Math.floor(((a%=1)<0?++a:a)*O);return Ja((a-x/O)*O,f[(x+O-1)%O],f[x%O],f[(x+1)%O],f[(x+2)%O])}});var Ua=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Xr=new RegExp(Ua.source,"g");function Zn(f,O){var x,H,K,a=Ua.lastIndex=Xr.lastIndex=0,Ee=-1,ot=[],jt=[];for(f+="",O+="";(x=Ua.exec(f))&&(H=Xr.exec(O));)(K=H.index)>a&&(K=O.slice(a,K),ot[Ee]?ot[Ee]+=K:ot[++Ee]=K),(x=x[0])===(H=H[0])?ot[Ee]?ot[Ee]+=H:ot[++Ee]=H:(ot[++Ee]=null,jt.push({i:Ee,x:Wr(x,H)})),a=Xr.lastIndex;return a<O.length&&(K=O.slice(a),ot[Ee]?ot[Ee]+=K:ot[++Ee]=K),ot.length<2?jt[0]?function es(f){return function(O){return f(O)+""}}(jt[0].x):function fs(f){return function(){return f}}(O):(O=jt.length,function(Yt){for(var yi,di=0;di<O;++di)ot[(yi=jt[di]).i]=yi.x(Yt);return ot.join("")})}function Ga(f,O){O||(O=[]);var H,a=f?Math.min(O.length,f.length):0,x=O.slice();return function(K){for(H=0;H<a;++H)x[H]=f[H]*(1-K)+O[H]*K;return x}}function qn(f,O){var x,a=typeof O;return null==O||"boolean"===a?Ma(O):("number"===a?Wr:"string"===a?(x=Va(O))?(O=x,Xa):Zn:O instanceof Va?Xa:O instanceof Date?us:function sr(f){return ArrayBuffer.isView(f)&&!(f instanceof DataView)}(O)?Ga:Array.isArray(O)?Sa:"function"!=typeof O.valueOf&&"function"!=typeof O.toString||isNaN(O)?Ea:Wr)(f,O)}var yt,si,lr=0,aa=0,Ft=0,zi=0,$i=0,Un=0,vr="object"==typeof performance&&performance.now?performance:Date,Ji="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(f){setTimeout(f,17)};function xn(){return $i||(Ji($r),$i=vr.now()+Un)}function $r(){$i=0}function st(){this._call=this._time=this._next=null}function et(f,O,a){var x=new st;return x.restart(f,O,a),x}function It(){$i=(zi=vr.now())+Un,lr=aa=0;try{!function Ge(){xn(),++lr;for(var O,f=yt;f;)(O=$i-f._time)>=0&&f._call.call(null,O),f=f._next;--lr}()}finally{lr=0,function Yi(){for(var f,a,O=yt,x=1/0;O;)O._call?(x>O._time&&(x=O._time),f=O,O=O._next):(a=O._next,O._next=null,O=f?f._next=a:yt=a);si=f,or(x)}(),$i=0}}function Si(){var f=vr.now(),O=f-zi;O>1e3&&(Un-=O,zi=f)}function or(f){lr||(aa&&(aa=clearTimeout(aa)),f-$i>24?(f<1/0&&(aa=setTimeout(It,f-vr.now()-Un)),Ft&&(Ft=clearInterval(Ft))):(Ft||(zi=vr.now(),Ft=setInterval(Si,1e3)),lr=1,Ji(It)))}function Ni(f,O,a){var x=new st;return x.restart(H=>{x.stop(),f(H+O)},O=null==O?0:+O,a),x}st.prototype=et.prototype={constructor:st,restart:function(f,O,a){if("function"!=typeof f)throw new TypeError("callback is not a function");a=(null==a?xn():+a)+(null==O?0:+O),!this._next&&si!==this&&(si?si._next=this:yt=this,si=this),this._call=f,this._time=a,or()},stop:function(){this._call&&(this._call=null,this._time=1/0,or())}};var Vn=Xn("start","end","cancel","interrupt"),Hs=[];function so(f,O,a,x,H,K){var Ee=f.__transition;if(Ee){if(a in Ee)return}else f.__transition={};!function Ri(f,O,a){var H,x=f.__transition;function Ee(Yt){var di,yi,wi,Ai;if(1!==a.state)return jt();for(di in x)if((Ai=x[di]).name===a.name){if(3===Ai.state)return Ni(Ee);4===Ai.state?(Ai.state=6,Ai.timer.stop(),Ai.on.call("interrupt",f,f.__data__,Ai.index,Ai.group),delete x[di]):+di<O&&(Ai.state=6,Ai.timer.stop(),Ai.on.call("cancel",f,f.__data__,Ai.index,Ai.group),delete x[di])}if(Ni(function(){3===a.state&&(a.state=4,a.timer.restart(ot,a.delay,a.time),ot(Yt))}),a.state=2,a.on.call("start",f,f.__data__,a.index,a.group),2===a.state){for(a.state=3,H=new Array(wi=a.tween.length),di=0,yi=-1;di<wi;++di)(Ai=a.tween[di].value.call(f,f.__data__,a.index,a.group))&&(H[++yi]=Ai);H.length=yi+1}}function ot(Yt){for(var di=Yt<a.duration?a.ease.call(null,Yt/a.duration):(a.timer.restart(jt),a.state=5,1),yi=-1,wi=H.length;++yi<wi;)H[yi].call(f,di);5===a.state&&(a.on.call("end",f,f.__data__,a.index,a.group),jt())}function jt(){for(var Yt in a.state=6,a.timer.stop(),delete x[O],x)return;delete f.__transition}x[O]=a,a.timer=et(function K(Yt){a.state=1,a.timer.restart(Ee,a.delay,a.time),a.delay<=Yt&&Ee(Yt-a.delay)},0,a.time)}(f,a,{name:O,index:x,group:H,on:Vn,tween:Hs,time:K.time,delay:K.delay,duration:K.duration,ease:K.ease,timer:null,state:0})}function oo(f,O){var a=An(f,O);if(a.state>0)throw new Error("too late; already scheduled");return a}function Kr(f,O){var a=An(f,O);if(a.state>3)throw new Error("too late; already running");return a}function An(f,O){var a=f.__transition;if(!a||!(a=a[O]))throw new Error("transition not found");return a}var lo,Bi=180/Math.PI,co={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ws(f,O,a,x,H,K){var Ee,ot,jt;return(Ee=Math.sqrt(f*f+O*O))&&(f/=Ee,O/=Ee),(jt=f*a+O*x)&&(a-=f*jt,x-=O*jt),(ot=Math.sqrt(a*a+x*x))&&(a/=ot,x/=ot,jt/=ot),f*x<O*a&&(f=-f,O=-O,jt=-jt,Ee=-Ee),{translateX:H,translateY:K,rotate:Math.atan2(O,f)*Bi,skewX:Math.atan(jt)*Bi,scaleX:Ee,scaleY:ot}}function Ms(f,O,a,x){function H(Yt){return Yt.length?Yt.pop()+" ":""}return function(Yt,di){var yi=[],wi=[];return Yt=f(Yt),di=f(di),function K(Yt,di,yi,wi,Ai,sn){if(Yt!==yi||di!==wi){var _n=Ai.push("translate(",null,O,null,a);sn.push({i:_n-4,x:Wr(Yt,yi)},{i:_n-2,x:Wr(di,wi)})}else(yi||wi)&&Ai.push("translate("+yi+O+wi+a)}(Yt.translateX,Yt.translateY,di.translateX,di.translateY,yi,wi),function Ee(Yt,di,yi,wi){Yt!==di?(Yt-di>180?di+=360:di-Yt>180&&(Yt+=360),wi.push({i:yi.push(H(yi)+"rotate(",null,x)-2,x:Wr(Yt,di)})):di&&yi.push(H(yi)+"rotate("+di+x)}(Yt.rotate,di.rotate,yi,wi),function ot(Yt,di,yi,wi){Yt!==di?wi.push({i:yi.push(H(yi)+"skewX(",null,x)-2,x:Wr(Yt,di)}):di&&yi.push(H(yi)+"skewX("+di+x)}(Yt.skewX,di.skewX,yi,wi),function jt(Yt,di,yi,wi,Ai,sn){if(Yt!==yi||di!==wi){var _n=Ai.push(H(Ai)+"scale(",null,",",null,")");sn.push({i:_n-4,x:Wr(Yt,yi)},{i:_n-2,x:Wr(di,wi)})}else(1!==yi||1!==wi)&&Ai.push(H(Ai)+"scale("+yi+","+wi+")")}(Yt.scaleX,Yt.scaleY,di.scaleX,di.scaleY,yi,wi),Yt=di=null,function(Ai){for(var Di,sn=-1,_n=wi.length;++sn<_n;)yi[(Di=wi[sn]).i]=Di.x(Ai);return yi.join("")}}}var Qs=Ms(function To(f){const O=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(f+"");return O.isIdentity?co:ws(O.a,O.b,O.c,O.d,O.e,O.f)},"px, ","px)","deg)"),qs=Ms(function Ks(f){return null!=f&&(lo||(lo=document.createElementNS("http://www.w3.org/2000/svg","g")),lo.setAttribute("transform",f),f=lo.transform.baseVal.consolidate())?ws((f=f.matrix).a,f.b,f.c,f.d,f.e,f.f):co},", ",")",")");function gc(f,O){var a,x;return function(){var H=Kr(this,f),K=H.tween;if(K!==a)for(var Ee=0,ot=(x=a=K).length;Ee<ot;++Ee)if(x[Ee].name===O){(x=x.slice()).splice(Ee,1);break}H.tween=x}}function _c(f,O,a){var x,H;if("function"!=typeof a)throw new Error;return function(){var K=Kr(this,f),Ee=K.tween;if(Ee!==x){H=(x=Ee).slice();for(var ot={name:O,value:a},jt=0,Yt=H.length;jt<Yt;++jt)if(H[jt].name===O){H[jt]=ot;break}jt===Yt&&H.push(ot)}K.tween=H}}function qo(f,O,a){var x=f._id;return f.each(function(){var H=Kr(this,x);(H.value||(H.value={}))[O]=a.apply(this,arguments)}),function(H){return An(H,x).value[O]}}function Ao(f,O,a){f.prototype=O.prototype=a,a.constructor=f}function Lo(f,O){var a=Object.create(f.prototype);for(var x in O)a[x]=O[x];return a}function Cr(){}var Vs=1/.7,nn="\\s*([+-]?\\d+)\\s*",Dr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",ea="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ur=/^#([0-9a-f]{3,8})$/,Do=new RegExp("^rgb\\("+[nn,nn,nn]+"\\)$"),bc=new RegExp("^rgb\\("+[ea,ea,ea]+"\\)$"),yc=new RegExp("^rgba\\("+[nn,nn,nn,Dr]+"\\)$"),Wn=new RegExp("^rgba\\("+[ea,ea,ea,Dr]+"\\)$"),Qi=new RegExp("^hsl\\("+[Dr,ea,ea]+"\\)$"),Oe=new RegExp("^hsla\\("+[Dr,ea,ea,Dr]+"\\)$"),mt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Le(){return this.rgb().formatHex()}function ri(){return this.rgb().formatRgb()}function Ne(f){var O,a;return f=(f+"").trim().toLowerCase(),(O=ur.exec(f))?(a=O[1].length,O=parseInt(O[1],16),6===a?ut(O):3===a?new Jt(O>>8&15|O>>4&240,O>>4&15|240&O,(15&O)<<4|15&O,1):8===a?xt(O>>24&255,O>>16&255,O>>8&255,(255&O)/255):4===a?xt(O>>12&15|O>>8&240,O>>8&15|O>>4&240,O>>4&15|240&O,((15&O)<<4|15&O)/255):null):(O=Do.exec(f))?new Jt(O[1],O[2],O[3],1):(O=bc.exec(f))?new Jt(255*O[1]/100,255*O[2]/100,255*O[3]/100,1):(O=yc.exec(f))?xt(O[1],O[2],O[3],O[4]):(O=Wn.exec(f))?xt(255*O[1]/100,255*O[2]/100,255*O[3]/100,O[4]):(O=Qi.exec(f))?Ii(O[1],O[2]/100,O[3]/100,1):(O=Oe.exec(f))?Ii(O[1],O[2]/100,O[3]/100,O[4]):mt.hasOwnProperty(f)?ut(mt[f]):"transparent"===f?new Jt(NaN,NaN,NaN,0):null}function ut(f){return new Jt(f>>16&255,f>>8&255,255&f,1)}function xt(f,O,a,x){return x<=0&&(f=O=a=NaN),new Jt(f,O,a,x)}function Pt(f){return f instanceof Cr||(f=Ne(f)),f?new Jt((f=f.rgb()).r,f.g,f.b,f.opacity):new Jt}function Jt(f,O,a,x){this.r=+f,this.g=+O,this.b=+a,this.opacity=+x}function li(){return"#"+bi(this.r)+bi(this.g)+bi(this.b)}function ii(){var f=this.opacity;return(1===(f=isNaN(f)?1:Math.max(0,Math.min(1,f)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===f?")":", "+f+")")}function bi(f){return((f=Math.max(0,Math.min(255,Math.round(f)||0)))<16?"0":"")+f.toString(16)}function Ii(f,O,a,x){return x<=0?f=O=a=NaN:a<=0||a>=1?f=O=NaN:O<=0&&(f=NaN),new ln(f,O,a,x)}function ji(f){if(f instanceof ln)return new ln(f.h,f.s,f.l,f.opacity);if(f instanceof Cr||(f=Ne(f)),!f)return new ln;if(f instanceof ln)return f;var O=(f=f.rgb()).r/255,a=f.g/255,x=f.b/255,H=Math.min(O,a,x),K=Math.max(O,a,x),Ee=NaN,ot=K-H,jt=(K+H)/2;return ot?(Ee=O===K?(a-x)/ot+6*(a<x):a===K?(x-O)/ot+2:(O-a)/ot+4,ot/=jt<.5?K+H:2-K-H,Ee*=60):ot=jt>0&&jt<1?0:Ee,new ln(Ee,ot,jt,f.opacity)}function ln(f,O,a,x){this.h=+f,this.s=+O,this.l=+a,this.opacity=+x}function Cn(f,O,a){return 255*(f<60?O+(a-O)*f/60:f<180?a:f<240?O+(a-O)*(240-f)/60:O)}function br(f,O){var a;return("number"==typeof O?Wr:O instanceof Ne?Xa:(a=Ne(O))?(O=a,Xa):Zn)(f,O)}function Ir(f){return function(){this.removeAttribute(f)}}function Br(f){return function(){this.removeAttributeNS(f.space,f.local)}}function ta(f,O,a){var x,K,H=a+"";return function(){var Ee=this.getAttribute(f);return Ee===H?null:Ee===x?K:K=O(x=Ee,a)}}function kr(f,O,a){var x,K,H=a+"";return function(){var Ee=this.getAttributeNS(f.space,f.local);return Ee===H?null:Ee===x?K:K=O(x=Ee,a)}}function Er(f,O,a){var x,H,K;return function(){var Ee,jt,ot=a(this);return null==ot?void this.removeAttribute(f):(Ee=this.getAttribute(f))===(jt=ot+"")?null:Ee===x&&jt===H?K:(H=jt,K=O(x=Ee,ot))}}function va(f,O,a){var x,H,K;return function(){var Ee,jt,ot=a(this);return null==ot?void this.removeAttributeNS(f.space,f.local):(Ee=this.getAttributeNS(f.space,f.local))===(jt=ot+"")?null:Ee===x&&jt===H?K:(H=jt,K=O(x=Ee,ot))}}function rs(f,O){return function(a){this.setAttribute(f,O.call(this,a))}}function sa(f,O){return function(a){this.setAttributeNS(f.space,f.local,O.call(this,a))}}function Wa(f,O){var a,x;function H(){var K=O.apply(this,arguments);return K!==x&&(a=(x=K)&&sa(f,K)),a}return H._value=O,H}function ps(f,O){var a,x;function H(){var K=O.apply(this,arguments);return K!==x&&(a=(x=K)&&rs(f,K)),a}return H._value=O,H}function Bs(f,O){return function(){oo(this,f).delay=+O.apply(this,arguments)}}function a1(f,O){return O=+O,function(){oo(this,f).delay=O}}function Tl(f,O){return function(){Kr(this,f).duration=+O.apply(this,arguments)}}function xc(f,O){return O=+O,function(){Kr(this,f).duration=O}}function Al(f,O){if("function"!=typeof O)throw new Error;return function(){Kr(this,f).ease=O}}function Us(f,O,a){var x,H,K=function Ll(f){return(f+"").trim().split(/^|\s+/).every(function(O){var a=O.indexOf(".");return a>=0&&(O=O.slice(0,a)),!O||"start"===O})}(O)?oo:Kr;return function(){var Ee=K(this,f),ot=Ee.on;ot!==x&&(H=(x=ot).copy()).on(O,a),Ee.on=H}}Ao(Cr,Ne,{copy:function(f){return Object.assign(new this.constructor,this,f)},displayable:function(){return this.rgb().displayable()},hex:Le,formatHex:Le,formatHsl:function Et(){return ji(this).formatHsl()},formatRgb:ri,toString:ri}),Ao(Jt,function Qe(f,O,a,x){return 1===arguments.length?Pt(f):new Jt(f,O,a,x??1)},Lo(Cr,{brighter:function(f){return f=null==f?Vs:Math.pow(Vs,f),new Jt(this.r*f,this.g*f,this.b*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new Jt(this.r*f,this.g*f,this.b*f,this.opacity)},rgb:function(){return this},displayable:function(){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:li,formatHex:li,formatRgb:ii,toString:ii})),Ao(ln,function rn(f,O,a,x){return 1===arguments.length?ji(f):new ln(f,O,a,x??1)},Lo(Cr,{brighter:function(f){return f=null==f?Vs:Math.pow(Vs,f),new ln(this.h,this.s,this.l*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new ln(this.h,this.s,this.l*f,this.opacity)},rgb:function(){var f=this.h%360+360*(this.h<0),O=isNaN(f)||isNaN(this.s)?0:this.s,a=this.l,x=a+(a<.5?a:1-a)*O,H=2*a-x;return new Jt(Cn(f>=240?f-240:f+120,H,x),Cn(f,H,x),Cn(f<120?f+240:f-120,H,x),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var f=this.opacity;return(1===(f=isNaN(f)?1:Math.max(0,Math.min(1,f)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===f?")":", "+f+")")}}));var ko=Xe.prototype.constructor;function Il(f){return function(){this.style.removeProperty(f)}}function uo(f,O,a){return function(x){this.style.setProperty(f,O.call(this,x),a)}}function o1(f,O,a){var x,H;function K(){var Ee=O.apply(this,arguments);return Ee!==H&&(x=(H=Ee)&&uo(f,Ee,a)),x}return K._value=O,K}function yr(f){return function(O){this.textContent=f.call(this,O)}}function Kc(f){var O,a;function x(){var H=f.apply(this,arguments);return H!==a&&(O=(a=H)&&yr(H)),O}return x._value=f,x}var X1=0;function fo(f,O,a,x){this._groups=f,this._parents=O,this._name=a,this._id=x}function Ts(){return++X1}var Xo=Xe.prototype;fo.prototype=function ud(f){return Xe().transition(f)}.prototype={constructor:fo,select:function ho(f){var O=this._name,a=this._id;"function"!=typeof f&&(f=d(f));for(var x=this._groups,H=x.length,K=new Array(H),Ee=0;Ee<H;++Ee)for(var di,yi,ot=x[Ee],jt=ot.length,Yt=K[Ee]=new Array(jt),wi=0;wi<jt;++wi)(di=ot[wi])&&(yi=f.call(di,di.__data__,wi,ot))&&("__data__"in di&&(yi.__data__=di.__data__),Yt[wi]=yi,so(Yt[wi],O,a,wi,Yt,An(di,a)));return new fo(K,this._parents,O,a)},selectAll:function gs(f){var O=this._name,a=this._id;"function"!=typeof f&&(f=E(f));for(var x=this._groups,H=x.length,K=[],Ee=[],ot=0;ot<H;++ot)for(var di,jt=x[ot],Yt=jt.length,yi=0;yi<Yt;++yi)if(di=jt[yi]){for(var Ai,wi=f.call(di,di.__data__,yi,jt),sn=An(di,a),_n=0,Di=wi.length;_n<Di;++_n)(Ai=wi[_n])&&so(Ai,O,a,_n,wi,sn);K.push(wi),Ee.push(di)}return new fo(K,Ee,O,a)},filter:function s1(f){"function"!=typeof f&&(f=G(f));for(var O=this._groups,a=O.length,x=new Array(a),H=0;H<a;++H)for(var jt,K=O[H],Ee=K.length,ot=x[H]=[],Yt=0;Yt<Ee;++Yt)(jt=K[Yt])&&f.call(jt,jt.__data__,Yt,K)&&ot.push(jt);return new fo(x,this._parents,this._name,this._id)},merge:function Zc(f){if(f._id!==this._id)throw new Error;for(var O=this._groups,a=f._groups,x=O.length,K=Math.min(x,a.length),Ee=new Array(x),ot=0;ot<K;++ot)for(var wi,jt=O[ot],Yt=a[ot],di=jt.length,yi=Ee[ot]=new Array(di),Ai=0;Ai<di;++Ai)(wi=jt[Ai]||Yt[Ai])&&(yi[Ai]=wi);for(;ot<x;++ot)Ee[ot]=O[ot];return new fo(Ee,this._parents,this._name,this._id)},selection:function J1(){return new ko(this._groups,this._parents)},transition:function Qc(){for(var f=this._name,O=this._id,a=Ts(),x=this._groups,H=x.length,K=0;K<H;++K)for(var jt,Ee=x[K],ot=Ee.length,Yt=0;Yt<ot;++Yt)if(jt=Ee[Yt]){var di=An(jt,O);so(jt,f,a,Yt,Ee,{time:di.time+di.delay+di.duration,delay:0,duration:di.duration,ease:di.ease})}return new fo(x,this._parents,f,a)},call:Xo.call,nodes:Xo.nodes,node:Xo.node,size:Xo.size,empty:Xo.empty,each:Xo.each,on:function Jo(f,O){var a=this._id;return arguments.length<2?An(this.node(),a).on.on(f):this.each(Us(a,f,O))},attr:function mr(f,O){var a=se(f),x="transform"===a?qs:br;return this.attrTween(f,"function"==typeof O?(a.local?va:Er)(a,x,qo(this,"attr."+f,O)):null==O?(a.local?Br:Ir)(a):(a.local?kr:ta)(a,x,O))},attrTween:function El(f,O){var a="attr."+f;if(arguments.length<2)return(a=this.tween(a))&&a._value;if(null==O)return this.tween(a,null);if("function"!=typeof O)throw new Error;var x=se(f);return this.tween(a,(x.local?Wa:ps)(x,O))},style:function Ss(f,O,a){var x="transform"==(f+="")?Qs:br;return null==O?this.styleTween(f,function Wc(f,O){var a,x,H;return function(){var K=nt(this,f),Ee=(this.style.removeProperty(f),nt(this,f));return K===Ee?null:K===a&&Ee===x?H:H=O(a=K,x=Ee)}}(f,x)).on("end.style."+f,Il(f)):"function"==typeof O?this.styleTween(f,function jc(f,O,a){var x,H,K;return function(){var Ee=nt(this,f),ot=a(this),jt=ot+"";return null==ot&&(this.style.removeProperty(f),jt=ot=nt(this,f)),Ee===jt?null:Ee===x&&jt===H?K:(H=jt,K=O(x=Ee,ot))}}(f,x,qo(this,"style."+f,O))).each(function Gs(f,O){var a,x,H,ot,K="style."+O,Ee="end."+K;return function(){var jt=Kr(this,f),Yt=jt.on,di=null==jt.value[K]?ot||(ot=Il(O)):void 0;(Yt!==a||H!==di)&&(x=(a=Yt).copy()).on(Ee,H=di),jt.on=x}}(this._id,f)):this.styleTween(f,function Yc(f,O,a){var x,K,H=a+"";return function(){var Ee=nt(this,f);return Ee===H?null:Ee===x?K:K=O(x=Ee,a)}}(f,x,O),a).on("end.style."+f,null)},styleTween:function c1(f,O,a){var x="style."+(f+="");if(arguments.length<2)return(x=this.tween(x))&&x._value;if(null==O)return this.tween(x,null);if("function"!=typeof O)throw new Error;return this.tween(x,o1(f,O,a??""))},text:function wc(f){return this.tween("text","function"==typeof f?function J0(f){return function(){var O=f(this);this.textContent=O??""}}(qo(this,"text",f)):function Es(f){return function(){this.textContent=f}}(null==f?"":f+""))},textTween:function dd(f){var O="text";if(arguments.length<1)return(O=this.tween(O))&&O._value;if(null==f)return this.tween(O,null);if("function"!=typeof f)throw new Error;return this.tween(O,Kc(f))},remove:function Io(){return this.on("end.remove",function Dl(f){return function(){var O=this.parentNode;for(var a in this.__transition)if(+a!==f)return;O&&O.removeChild(this)}}(this._id))},tween:function vc(f,O){var a=this._id;if(f+="",arguments.length<2){for(var Ee,x=An(this.node(),a).tween,H=0,K=x.length;H<K;++H)if((Ee=x[H]).name===f)return Ee.value;return null}return this.each((null==O?gc:_c)(a,f,O))},delay:function ba(f){var O=this._id;return arguments.length?this.each(("function"==typeof f?Bs:a1)(O,f)):An(this.node(),O).delay},duration:function Cc(f){var O=this._id;return arguments.length?this.each(("function"==typeof f?Tl:xc)(O,f)):An(this.node(),O).duration},ease:function Gc(f){var O=this._id;return arguments.length?this.each(Al(O,f)):An(this.node(),O).ease},easeVarying:function q1(f){if("function"!=typeof f)throw new Error;return this.each(function Q1(f,O){return function(){var a=O.apply(this,arguments);if("function"!=typeof a)throw new Error;Kr(this,f).ease=a}}(this._id,f))},end:function hd(){var f,O,a=this,x=a._id,H=a.size();return new Promise(function(K,Ee){var ot={value:Ee},jt={value:function(){0==--H&&K()}};a.each(function(){var Yt=Kr(this,x),di=Yt.on;di!==f&&((O=(f=di).copy())._.cancel.push(ot),O._.interrupt.push(ot),O._.end.push(jt)),Yt.on=O}),0===H&&K()})},[Symbol.iterator]:Xo[Symbol.iterator]};var re={time:null,delay:0,duration:250,ease:function we(f){return((f*=2)<=1?f*f*f:(f-=2)*f*f+2)/2}};function ze(f,O){for(var a;!(a=f.__transition)||!(a=a[O]);)if(!(f=f.parentNode))throw new Error(`transition ${O} not found`);return a}Xe.prototype.interrupt=function Cs(f){return this.each(function(){!function is(f,O){var x,H,Ee,a=f.__transition,K=!0;if(a){for(Ee in O=null==O?null:O+"",a)(x=a[Ee]).name===O?(H=x.state>2&&x.state<5,x.state=6,x.timer.stop(),x.on.call(H?"interrupt":"cancel",f,f.__data__,x.index,x.group),delete a[Ee]):K=!1;K&&delete f.__transition}}(this,f)})},Xe.prototype.transition=function lt(f){var O,a;f instanceof fo?(O=f._id,f=f._name):(O=Ts(),(a=re).time=xn(),f=null==f?null:f+"");for(var x=this._groups,H=x.length,K=0;K<H;++K)for(var jt,Ee=x[K],ot=Ee.length,Yt=0;Yt<ot;++Yt)(jt=Ee[Yt])&&so(jt,f,O,Yt,Ee,a||ze(jt,O));return new fo(x,this._parents,f,O)};Math;function Mc(f){return{type:f}}function e2(f,O){return f<O?-1:f>O?1:f>=O?0:NaN}function pd(f){let O=f,a=f;function x(Ee,ot,jt,Yt){for(null==jt&&(jt=0),null==Yt&&(Yt=Ee.length);jt<Yt;){const di=jt+Yt>>>1;a(Ee[di],ot)<0?jt=di+1:Yt=di}return jt}return 1===f.length&&(O=(Ee,ot)=>f(Ee)-ot,a=function gd(f){return(O,a)=>e2(f(O),a)}(f)),{left:x,center:function K(Ee,ot,jt,Yt){null==jt&&(jt=0),null==Yt&&(Yt=Ee.length);const di=x(Ee,ot,jt,Yt-1);return di>jt&&O(Ee[di-1],ot)>-O(Ee[di],ot)?di-1:di},right:function H(Ee,ot,jt,Yt){for(null==jt&&(jt=0),null==Yt&&(Yt=Ee.length);jt<Yt;){const di=jt+Yt>>>1;a(Ee[di],ot)>0?Yt=di:jt=di+1}return jt}}}["w","e"].map(Mc),["n","s"].map(Mc),["n","w","e","s","nw","ne","sw","se"].map(Mc);var t2=Math.sqrt(50),_d=Math.sqrt(10),n2=Math.sqrt(2);function el(f,O,a){var x=(O-f)/Math.max(0,a),H=Math.floor(Math.log(x)/Math.LN10),K=x/Math.pow(10,H);return H>=0?(K>=t2?10:K>=_d?5:K>=n2?2:1)*Math.pow(10,H):-Math.pow(10,-H)/(K>=t2?10:K>=_d?5:K>=n2?2:1)}function tl(f,O,a){var x=Math.abs(O-f)/Math.max(0,a),H=Math.pow(10,Math.floor(Math.log(x)/Math.LN10)),K=x/H;return K>=t2?H*=10:K>=_d?H*=5:K>=n2&&(H*=2),O<f?-H:H}const po=1e3,As=6e4,go=60*As,Js=24*go,d1=7*Js,th=30*Js,r2=365*Js;var a2=new Date,Oo=new Date;function ca(f,O,a,x){function H(K){return f(K=0===arguments.length?new Date:new Date(+K)),K}return H.floor=function(K){return f(K=new Date(+K)),K},H.ceil=function(K){return f(K=new Date(K-1)),O(K,1),f(K),K},H.round=function(K){var Ee=H(K),ot=H.ceil(K);return K-Ee<ot-K?Ee:ot},H.offset=function(K,Ee){return O(K=new Date(+K),null==Ee?1:Math.floor(Ee)),K},H.range=function(K,Ee,ot){var Yt,jt=[];if(K=H.ceil(K),ot=null==ot?1:Math.floor(ot),!(K<Ee&&ot>0))return jt;do{jt.push(Yt=new Date(+K)),O(K,ot),f(K)}while(Yt<K&&K<Ee);return jt},H.filter=function(K){return ca(function(Ee){if(Ee>=Ee)for(;f(Ee),!K(Ee);)Ee.setTime(Ee-1)},function(Ee,ot){if(Ee>=Ee)if(ot<0)for(;++ot<=0;)for(;O(Ee,-1),!K(Ee););else for(;--ot>=0;)for(;O(Ee,1),!K(Ee););})},a&&(H.count=function(K,Ee){return a2.setTime(+K),Oo.setTime(+Ee),f(a2),f(Oo),Math.floor(a(a2,Oo))},H.every=function(K){return K=Math.floor(K),isFinite(K)&&K>0?K>1?H.filter(x?function(Ee){return x(Ee)%K==0}:function(Ee){return H.count(0,Ee)%K==0}):H:null}),H}var s2=ca(function(){},function(f,O){f.setTime(+f+O)},function(f,O){return O-f});s2.every=function(f){return f=Math.floor(f),isFinite(f)&&f>0?f>1?ca(function(O){O.setTime(Math.floor(O/f)*f)},function(O,a){O.setTime(+O+a*f)},function(O,a){return(a-O)/f}):s2:null};const o2=s2;const ic=ca(function(f){f.setTime(f-f.getMilliseconds())},function(f,O){f.setTime(+f+O*po)},function(f,O){return(O-f)/po},function(f){return f.getUTCSeconds()});const Tc=ca(function(f){f.setTime(f-f.getMilliseconds()-f.getSeconds()*po)},function(f,O){f.setTime(+f+O*As)},function(f,O){return(O-f)/As},function(f){return f.getMinutes()});const Pl=ca(function(f){f.setTime(f-f.getMilliseconds()-f.getSeconds()*po-f.getMinutes()*As)},function(f,O){f.setTime(+f+O*go)},function(f,O){return(O-f)/go},function(f){return f.getHours()});const Ls=ca(f=>f.setHours(0,0,0,0),(f,O)=>f.setDate(f.getDate()+O),(f,O)=>(O-f-(O.getTimezoneOffset()-f.getTimezoneOffset())*As)/Js,f=>f.getDate()-1);function nc(f){return ca(function(O){O.setDate(O.getDate()-(O.getDay()+7-f)%7),O.setHours(0,0,0,0)},function(O,a){O.setDate(O.getDate()+7*a)},function(O,a){return(a-O-(a.getTimezoneOffset()-O.getTimezoneOffset())*As)/d1})}var f1=nc(0),Rl=nc(1),rl=(nc(2),nc(3),nc(4));const l2=(nc(5),nc(6),ca(function(f){f.setDate(1),f.setHours(0,0,0,0)},function(f,O){f.setMonth(f.getMonth()+O)},function(f,O){return O.getMonth()-f.getMonth()+12*(O.getFullYear()-f.getFullYear())},function(f){return f.getMonth()}));var d2=ca(function(f){f.setMonth(0,1),f.setHours(0,0,0,0)},function(f,O){f.setFullYear(f.getFullYear()+O)},function(f,O){return O.getFullYear()-f.getFullYear()},function(f){return f.getFullYear()});d2.every=function(f){return isFinite(f=Math.floor(f))&&f>0?ca(function(O){O.setFullYear(Math.floor(O.getFullYear()/f)*f),O.setMonth(0,1),O.setHours(0,0,0,0)},function(O,a){O.setFullYear(O.getFullYear()+a*f)}):null};const Po=d2;const xd=ca(function(f){f.setUTCSeconds(0,0)},function(f,O){f.setTime(+f+O*As)},function(f,O){return(O-f)/As},function(f){return f.getUTCMinutes()});const oh=ca(function(f){f.setUTCMinutes(0,0,0)},function(f,O){f.setTime(+f+O*go)},function(f,O){return(O-f)/go},function(f){return f.getUTCHours()});const u2=ca(function(f){f.setUTCHours(0,0,0,0)},function(f,O){f.setUTCDate(f.getUTCDate()+O)},function(f,O){return(O-f)/Js},function(f){return f.getUTCDate()-1});function Xs(f){return ca(function(O){O.setUTCDate(O.getUTCDate()-(O.getUTCDay()+7-f)%7),O.setUTCHours(0,0,0,0)},function(O,a){O.setUTCDate(O.getUTCDate()+7*a)},function(O,a){return(a-O)/d1})}var g1=Xs(0),al=Xs(1),$s=(Xs(2),Xs(3),Xs(4));const p2=(Xs(5),Xs(6),ca(function(f){f.setUTCDate(1),f.setUTCHours(0,0,0,0)},function(f,O){f.setUTCMonth(f.getUTCMonth()+O)},function(f,O){return O.getUTCMonth()-f.getUTCMonth()+12*(O.getUTCFullYear()-f.getUTCFullYear())},function(f){return f.getUTCMonth()}));var rc=ca(function(f){f.setUTCMonth(0,1),f.setUTCHours(0,0,0,0)},function(f,O){f.setUTCFullYear(f.getUTCFullYear()+O)},function(f,O){return O.getUTCFullYear()-f.getUTCFullYear()},function(f){return f.getUTCFullYear()});rc.every=function(f){return isFinite(f=Math.floor(f))&&f>0?ca(function(O){O.setUTCFullYear(Math.floor(O.getUTCFullYear()/f)*f),O.setUTCMonth(0,1),O.setUTCHours(0,0,0,0)},function(O,a){O.setUTCFullYear(O.getUTCFullYear()+a*f)}):null};const Ro=rc;function g2(f,O,a,x,H,K){const Ee=[[ic,1,po],[ic,5,5e3],[ic,15,15e3],[ic,30,3e4],[K,1,As],[K,5,5*As],[K,15,15*As],[K,30,30*As],[H,1,go],[H,3,3*go],[H,6,6*go],[H,12,12*go],[x,1,Js],[x,2,2*Js],[a,1,d1],[O,1,th],[O,3,3*th],[f,1,r2]];function jt(Yt,di,yi){const wi=Math.abs(di-Yt)/yi,Ai=pd(([,,Di])=>Di).right(Ee,wi);if(Ai===Ee.length)return f.every(tl(Yt/r2,di/r2,yi));if(0===Ai)return o2.every(Math.max(tl(Yt,di,yi),1));const[sn,_n]=Ee[wi/Ee[Ai-1][2]<Ee[Ai][2]/wi?Ai-1:Ai];return sn.every(_n)}return[function ot(Yt,di,yi){const wi=di<Yt;wi&&([Yt,di]=[di,Yt]);const Ai=yi&&"function"==typeof yi.range?yi:jt(Yt,di,yi),sn=Ai?Ai.range(Yt,+di+1):[];return wi?sn.reverse():sn},jt]}const[ch,Sd]=g2(Ro,p2,g1,u2,oh,xd),[eo,_2]=g2(Po,l2,f1,Ls,Pl,Tc);function ac(f){if(0<=f.y&&f.y<100){var O=new Date(-1,f.m,f.d,f.H,f.M,f.S,f.L);return O.setFullYear(f.y),O}return new Date(f.y,f.m,f.d,f.H,f.M,f.S,f.L)}function v2(f){if(0<=f.y&&f.y<100){var O=new Date(Date.UTC(-1,f.m,f.d,f.H,f.M,f.S,f.L));return O.setUTCFullYear(f.y),O}return new Date(Date.UTC(f.y,f.m,f.d,f.H,f.M,f.S,f.L))}function Hl(f,O,a){return{y:f,m:O,d:a,H:0,M:0,S:0,L:0}}var Ed={"-":"",_:" ",0:"0"},ya=/^\s*\d+/,ol=/^%/,b2=/[\\^$*+?|[\]().{}]/g;function nr(f,O,a){var x=f<0?"-":"",H=(x?-f:f)+"",K=H.length;return x+(K<a?new Array(a-K+1).join(O)+H:H)}function Td(f){return f.replace(b2,"\\$&")}function sc(f){return new RegExp("^(?:"+f.map(Td).join("|")+")","i")}function No(f){return new Map(f.map((O,a)=>[O.toLowerCase(),a]))}function Ad(f,O,a){var x=ya.exec(O.slice(a,a+1));return x?(f.w=+x[0],a+x[0].length):-1}function y1(f,O,a){var x=ya.exec(O.slice(a,a+1));return x?(f.u=+x[0],a+x[0].length):-1}function y2(f,O,a){var x=ya.exec(O.slice(a,a+2));return x?(f.U=+x[0],a+x[0].length):-1}function x2(f,O,a){var x=ya.exec(O.slice(a,a+2));return x?(f.V=+x[0],a+x[0].length):-1}function zl(f,O,a){var x=ya.exec(O.slice(a,a+2));return x?(f.W=+x[0],a+x[0].length):-1}function Ld(f,O,a){var x=ya.exec(O.slice(a,a+4));return x?(f.y=+x[0],a+x[0].length):-1}function C2(f,O,a){var x=ya.exec(O.slice(a,a+2));return x?(f.y=+x[0]+(+x[0]>68?1900:2e3),a+x[0].length):-1}function lh(f,O,a){var x=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(O.slice(a,a+6));return x?(f.Z=x[1]?0:-(x[2]+(x[3]||"00")),a+x[0].length):-1}function dh(f,O,a){var x=ya.exec(O.slice(a,a+1));return x?(f.q=3*x[0]-3,a+x[0].length):-1}function Dd(f,O,a){var x=ya.exec(O.slice(a,a+2));return x?(f.m=x[0]-1,a+x[0].length):-1}function w2(f,O,a){var x=ya.exec(O.slice(a,a+2));return x?(f.d=+x[0],a+x[0].length):-1}function M2(f,O,a){var x=ya.exec(O.slice(a,a+3));return x?(f.m=0,f.d=+x[0],a+x[0].length):-1}function Vl(f,O,a){var x=ya.exec(O.slice(a,a+2));return x?(f.H=+x[0],a+x[0].length):-1}function x1(f,O,a){var x=ya.exec(O.slice(a,a+2));return x?(f.M=+x[0],a+x[0].length):-1}function Dc(f,O,a){var x=ya.exec(O.slice(a,a+2));return x?(f.S=+x[0],a+x[0].length):-1}function hh(f,O,a){var x=ya.exec(O.slice(a,a+3));return x?(f.L=+x[0],a+x[0].length):-1}function Id(f,O,a){var x=ya.exec(O.slice(a,a+6));return x?(f.L=Math.floor(x[0]/1e3),a+x[0].length):-1}function Xu(f,O,a){var x=ol.exec(O.slice(a,a+1));return x?a+x[0].length:-1}function uh(f,O,a){var x=ya.exec(O.slice(a));return x?(f.Q=+x[0],a+x[0].length):-1}function C1(f,O,a){var x=ya.exec(O.slice(a));return x?(f.s=+x[0],a+x[0].length):-1}function kd(f,O){return nr(f.getDate(),O,2)}function Od(f,O){return nr(f.getHours(),O,2)}function Bl(f,O){return nr(f.getHours()%12||12,O,2)}function S2(f,O){return nr(1+Ls.count(Po(f),f),O,3)}function E2(f,O){return nr(f.getMilliseconds(),O,3)}function cl(f,O){return E2(f,O)+"000"}function T2(f,O){return nr(f.getMonth()+1,O,2)}function Ic(f,O){return nr(f.getMinutes(),O,2)}function Pd(f,O){return nr(f.getSeconds(),O,2)}function fh(f){var O=f.getDay();return 0===O?7:O}function Rd(f,O){return nr(f1.count(Po(f)-1,f),O,2)}function Nd(f){var O=f.getDay();return O>=4||0===O?rl(f):rl.ceil(f)}function mh(f,O){return f=Nd(f),nr(rl.count(Po(f),f)+(4===Po(f).getDay()),O,2)}function as(f){return f.getDay()}function ll(f,O){return nr(Rl.count(Po(f)-1,f),O,2)}function ph(f,O){return nr(f.getFullYear()%100,O,2)}function Fd(f,O){return nr((f=Nd(f)).getFullYear()%100,O,2)}function gh(f,O){return nr(f.getFullYear()%1e4,O,4)}function _h(f,O){var a=f.getDay();return nr((f=a>=4||0===a?rl(f):rl.ceil(f)).getFullYear()%1e4,O,4)}function vh(f){var O=f.getTimezoneOffset();return(O>0?"-":(O*=-1,"+"))+nr(O/60|0,"0",2)+nr(O%60,"0",2)}function Hd(f,O){return nr(f.getUTCDate(),O,2)}function zd(f,O){return nr(f.getUTCHours(),O,2)}function bh(f,O){return nr(f.getUTCHours()%12||12,O,2)}function yh(f,O){return nr(1+u2.count(Ro(f),f),O,3)}function Vd(f,O){return nr(f.getUTCMilliseconds(),O,3)}function Bd(f,O){return Vd(f,O)+"000"}function w1(f,O){return nr(f.getUTCMonth()+1,O,2)}function vo(f,O){return nr(f.getUTCMinutes(),O,2)}function Ul(f,O){return nr(f.getUTCSeconds(),O,2)}function Ud(f){var O=f.getUTCDay();return 0===O?7:O}function Gd(f,O){return nr(g1.count(Ro(f)-1,f),O,2)}function M1(f){var O=f.getUTCDay();return O>=4||0===O?$s(f):$s.ceil(f)}function $u(f,O){return f=M1(f),nr($s.count(Ro(f),f)+(4===Ro(f).getUTCDay()),O,2)}function Zd(f){return f.getUTCDay()}function e3(f,O){return nr(al.count(Ro(f)-1,f),O,2)}function A2(f,O){return nr(f.getUTCFullYear()%100,O,2)}function S1(f,O){return nr((f=M1(f)).getUTCFullYear()%100,O,2)}function t3(f,O){return nr(f.getUTCFullYear()%1e4,O,4)}function n3(f,O){var a=f.getUTCDay();return nr((f=a>=4||0===a?$s(f):$s.ceil(f)).getUTCFullYear()%1e4,O,4)}function L2(){return"+0000"}function Wd(){return"%"}function Yd(f){return+f}function jd(f){return Math.floor(+f/1e3)}function Qr(f){return null===f?NaN:+f}!function Qd(f){(function b1(f){var O=f.dateTime,a=f.date,x=f.time,H=f.periods,K=f.days,Ee=f.shortDays,ot=f.months,jt=f.shortMonths,Yt=sc(H),di=No(H),yi=sc(K),wi=No(K),Ai=sc(Ee),sn=No(Ee),_n=sc(ot),Di=No(ot),fn=sc(jt),vn=No(jt),pn={a:function Rr(un){return Ee[un.getDay()]},A:function Rs(un){return K[un.getDay()]},b:function Mr(un){return jt[un.getMonth()]},B:function za(un){return ot[un.getMonth()]},c:null,d:kd,e:kd,f:cl,g:Fd,G:_h,H:Od,I:Bl,j:S2,L:E2,m:T2,M:Ic,p:function da(un){return H[+(un.getHours()>=12)]},q:function ha(un){return 1+~~(un.getMonth()/3)},Q:Yd,s:jd,S:Pd,u:fh,U:Rd,V:mh,w:as,W:ll,x:null,X:null,y:ph,Y:gh,Z:vh,"%":Wd},Yn={a:function cd(un){return Ee[un.getUTCDay()]},A:function pc(un){return K[un.getUTCDay()]},b:function Y1(un){return jt[un.getUTCMonth()]},B:function e1(un){return ot[un.getUTCMonth()]},c:null,d:Hd,e:Hd,f:Bd,g:S1,G:n3,H:zd,I:bh,j:yh,L:Vd,m:w1,M:vo,p:function bs(un){return H[+(un.getUTCHours()>=12)]},q:function j1(un){return 1+~~(un.getUTCMonth()/3)},Q:Yd,s:jd,S:Ul,u:Ud,U:Gd,V:$u,w:Zd,W:e3,x:null,X:null,y:A2,Y:t3,Z:L2,"%":Wd},Hn={a:function ra(un,jn,rr){var Ki=Ai.exec(jn.slice(rr));return Ki?(un.w=sn.get(Ki[0].toLowerCase()),rr+Ki[0].length):-1},A:function En(un,jn,rr){var Ki=yi.exec(jn.slice(rr));return Ki?(un.w=wi.get(Ki[0].toLowerCase()),rr+Ki[0].length):-1},b:function Qa(un,jn,rr){var Ki=fn.exec(jn.slice(rr));return Ki?(un.m=vn.get(Ki[0].toLowerCase()),rr+Ki[0].length):-1},B:function _r(un,jn,rr){var Ki=_n.exec(jn.slice(rr));return Ki?(un.m=Di.get(Ki[0].toLowerCase()),rr+Ki[0].length):-1},c:function Pr(un,jn,rr){return Or(un,O,jn,rr)},d:w2,e:w2,f:Id,g:C2,G:Ld,H:Vl,I:Vl,j:M2,L:hh,m:Dd,M:x1,p:function Ps(un,jn,rr){var Ki=Yt.exec(jn.slice(rr));return Ki?(un.p=di.get(Ki[0].toLowerCase()),rr+Ki[0].length):-1},q:dh,Q:uh,s:C1,S:Dc,u:y1,U:y2,V:x2,w:Ad,W:zl,x:function qa(un,jn,rr){return Or(un,a,jn,rr)},X:function Jr(un,jn,rr){return Or(un,x,jn,rr)},y:C2,Y:Ld,Z:lh,"%":Xu};function Sn(un,jn){return function(rr){var ys,Gn,fa,Ki=[],ua=-1,xr=0,ss=un.length;for(rr instanceof Date||(rr=new Date(+rr));++ua<ss;)37===un.charCodeAt(ua)&&(Ki.push(un.slice(xr,ua)),null!=(Gn=Ed[ys=un.charAt(++ua)])?ys=un.charAt(++ua):Gn="e"===ys?" ":"0",(fa=jn[ys])&&(ys=fa(rr,Gn)),Ki.push(ys),xr=ua+1);return Ki.push(un.slice(xr,ua)),Ki.join("")}}function na(un,jn){return function(rr){var xr,ss,Ki=Hl(1900,void 0,1);if(Or(Ki,un,rr+="",0)!=rr.length)return null;if("Q"in Ki)return new Date(Ki.Q);if("s"in Ki)return new Date(1e3*Ki.s+("L"in Ki?Ki.L:0));if(jn&&!("Z"in Ki)&&(Ki.Z=0),"p"in Ki&&(Ki.H=Ki.H%12+12*Ki.p),void 0===Ki.m&&(Ki.m="q"in Ki?Ki.q:0),"V"in Ki){if(Ki.V<1||Ki.V>53)return null;"w"in Ki||(Ki.w=1),"Z"in Ki?(ss=(xr=v2(Hl(Ki.y,0,1))).getUTCDay(),xr=ss>4||0===ss?al.ceil(xr):al(xr),xr=u2.offset(xr,7*(Ki.V-1)),Ki.y=xr.getUTCFullYear(),Ki.m=xr.getUTCMonth(),Ki.d=xr.getUTCDate()+(Ki.w+6)%7):(ss=(xr=ac(Hl(Ki.y,0,1))).getDay(),xr=ss>4||0===ss?Rl.ceil(xr):Rl(xr),xr=Ls.offset(xr,7*(Ki.V-1)),Ki.y=xr.getFullYear(),Ki.m=xr.getMonth(),Ki.d=xr.getDate()+(Ki.w+6)%7)}else("W"in Ki||"U"in Ki)&&("w"in Ki||(Ki.w="u"in Ki?Ki.u%7:"W"in Ki?1:0),ss="Z"in Ki?v2(Hl(Ki.y,0,1)).getUTCDay():ac(Hl(Ki.y,0,1)).getDay(),Ki.m=0,Ki.d="W"in Ki?(Ki.w+6)%7+7*Ki.W-(ss+5)%7:Ki.w+7*Ki.U-(ss+6)%7);return"Z"in Ki?(Ki.H+=Ki.Z/100|0,Ki.M+=Ki.Z%100,v2(Ki)):ac(Ki)}}function Or(un,jn,rr,Ki){for(var ys,Gn,ua=0,xr=jn.length,ss=rr.length;ua<xr;){if(Ki>=ss)return-1;if(37===(ys=jn.charCodeAt(ua++))){if(ys=jn.charAt(ua++),!(Gn=Hn[ys in Ed?jn.charAt(ua++):ys])||(Ki=Gn(un,rr,Ki))<0)return-1}else if(ys!=rr.charCodeAt(Ki++))return-1}return Ki}return pn.x=Sn(a,pn),pn.X=Sn(x,pn),pn.c=Sn(O,pn),Yn.x=Sn(a,Yn),Yn.X=Sn(x,Yn),Yn.c=Sn(O,Yn),{format:function(un){var jn=Sn(un+="",pn);return jn.toString=function(){return un},jn},parse:function(un){var jn=na(un+="",!1);return jn.toString=function(){return un},jn},utcFormat:function(un){var jn=Sn(un+="",Yn);return jn.toString=function(){return un},jn},utcParse:function(un){var jn=na(un+="",!0);return jn.toString=function(){return un},jn}}})(f)}({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 Jd=pd(e2).right,xh=(pd(Qr),Jd);function Ch(f,O){return f=+f,O=+O,function(a){return Math.round(f*(1-a)+O*a)}}function wh(f){return+f}var La=[0,1];function Gl(f){return f}function kc(f,O){return(O-=f=+f)?function(a){return(a-f)/O}:function r3(f){return function(){return f}}(isNaN(O)?NaN:.5)}function Xd(f,O,a){var x=f[0],H=f[1],K=O[0],Ee=O[1];return H<x?(x=kc(H,x),K=a(Ee,K)):(x=kc(x,H),K=a(K,Ee)),function(ot){return K(x(ot))}}function $d(f,O,a){var x=Math.min(f.length,O.length)-1,H=new Array(x),K=new Array(x),Ee=-1;for(f[x]<f[0]&&(f=f.slice().reverse(),O=O.slice().reverse());++Ee<x;)H[Ee]=kc(f[Ee],f[Ee+1]),K[Ee]=a(O[Ee],O[Ee+1]);return function(ot){var jt=xh(f,ot,1,x)-1;return K[jt](H[jt](ot))}}function oc(f,O){return O.domain(f.domain()).range(f.range()).interpolate(f.interpolate()).clamp(f.clamp()).unknown(f.unknown())}function k2(){return function Mh(){var x,H,K,ot,jt,Yt,f=La,O=La,a=qn,Ee=Gl;function di(){var wi=Math.min(f.length,O.length);return Ee!==Gl&&(Ee=function Oc(f,O){var a;return f>O&&(a=f,f=O,O=a),function(x){return Math.max(f,Math.min(O,x))}}(f[0],f[wi-1])),ot=wi>2?$d:Xd,jt=Yt=null,yi}function yi(wi){return null==wi||isNaN(wi=+wi)?K:(jt||(jt=ot(f.map(x),O,a)))(x(Ee(wi)))}return yi.invert=function(wi){return Ee(H((Yt||(Yt=ot(O,f.map(x),Wr)))(wi)))},yi.domain=function(wi){return arguments.length?(f=Array.from(wi,wh),di()):f.slice()},yi.range=function(wi){return arguments.length?(O=Array.from(wi),di()):O.slice()},yi.rangeRound=function(wi){return O=Array.from(wi),a=Ch,di()},yi.clamp=function(wi){return arguments.length?(Ee=!!wi||Gl,di()):Ee!==Gl},yi.interpolate=function(wi){return arguments.length?(a=wi,di()):a},yi.unknown=function(wi){return arguments.length?(K=wi,yi):K},function(wi,Ai){return x=wi,H=Ai,di()}}()(Gl,Gl)}function fl(f,O){switch(arguments.length){case 0:break;case 1:this.range(f);break;default:this.range(O).domain(f)}return this}var O2,t0=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Wl(f){if(!(O=t0.exec(f)))throw new Error("invalid format: "+f);var O;return new Ho({fill:O[1],align:O[2],sign:O[3],symbol:O[4],zero:O[5],width:O[6],comma:O[7],precision:O[8]&&O[8].slice(1),trim:O[9],type:O[10]})}function Ho(f){this.fill=void 0===f.fill?" ":f.fill+"",this.align=void 0===f.align?">":f.align+"",this.sign=void 0===f.sign?"-":f.sign+"",this.symbol=void 0===f.symbol?"":f.symbol+"",this.zero=!!f.zero,this.width=void 0===f.width?void 0:+f.width,this.comma=!!f.comma,this.precision=void 0===f.precision?void 0:+f.precision,this.trim=!!f.trim,this.type=void 0===f.type?"":f.type+""}function ml(f,O){if((a=(f=O?f.toExponential(O-1):f.toExponential()).indexOf("e"))<0)return null;var a,x=f.slice(0,a);return[x.length>1?x[0]+x.slice(2):x,+f.slice(a+1)]}function zo(f){return(f=ml(Math.abs(f)))?f[1]:NaN}function r0(f,O){var a=ml(f,O);if(!a)return f+"";var x=a[0],H=a[1];return H<0?"0."+new Array(-H).join("0")+x:x.length>H+1?x.slice(0,H+1)+"."+x.slice(H+1):x+new Array(H-x.length+2).join("0")}Wl.prototype=Ho.prototype,Ho.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 a0={"%":(f,O)=>(100*f).toFixed(O),b:f=>Math.round(f).toString(2),c:f=>f+"",d:function n0(f){return Math.abs(f=Math.round(f))>=1e21?f.toLocaleString("en").replace(/,/g,""):f.toString(10)},e:(f,O)=>f.toExponential(O),f:(f,O)=>f.toFixed(O),g:(f,O)=>f.toPrecision(O),o:f=>Math.round(f).toString(8),p:(f,O)=>r0(100*f,O),r:r0,s:function P2(f,O){var a=ml(f,O);if(!a)return f+"";var x=a[0],H=a[1],K=H-(O2=3*Math.max(-8,Math.min(8,Math.floor(H/3))))+1,Ee=x.length;return K===Ee?x:K>Ee?x+new Array(K-Ee+1).join("0"):K>0?x.slice(0,K)+"."+x.slice(K):"0."+new Array(1-K).join("0")+ml(f,Math.max(0,O+K-1))[0]},X:f=>Math.round(f).toString(16).toUpperCase(),x:f=>Math.round(f).toString(16)};function R2(f){return f}var A1,cc,o0,Nc=Array.prototype.map,s0=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function F2(f){var O=f.domain;return f.ticks=function(a){var x=O();return function eh(f,O,a){var x,K,Ee,ot,H=-1;if(a=+a,(f=+f)==(O=+O)&&a>0)return[f];if((x=O<f)&&(K=f,f=O,O=K),0===(ot=el(f,O,a))||!isFinite(ot))return[];if(ot>0){let jt=Math.round(f/ot),Yt=Math.round(O/ot);for(jt*ot<f&&++jt,Yt*ot>O&&--Yt,Ee=new Array(K=Yt-jt+1);++H<K;)Ee[H]=(jt+H)*ot}else{ot=-ot;let jt=Math.round(f*ot),Yt=Math.round(O*ot);for(jt/ot<f&&++jt,Yt/ot>O&&--Yt,Ee=new Array(K=Yt-jt+1);++H<K;)Ee[H]=(jt+H)/ot}return x&&Ee.reverse(),Ee}(x[0],x[x.length-1],a??10)},f.tickFormat=function(a,x){var H=O();return function N2(f,O,a,x){var K,H=tl(f,O,a);switch((x=Wl(x??",f")).type){case"s":var Ee=Math.max(Math.abs(f),Math.abs(O));return null==x.precision&&!isNaN(K=function Sh(f,O){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(zo(O)/3)))-zo(Math.abs(f)))}(H,Ee))&&(x.precision=K),o0(x,Ee);case"":case"e":case"g":case"p":case"r":null==x.precision&&!isNaN(K=function l0(f,O){return f=Math.abs(f),O=Math.abs(O)-f,Math.max(0,zo(O)-zo(f))+1}(H,Math.max(Math.abs(f),Math.abs(O))))&&(x.precision=K-("e"===x.type));break;case"f":case"%":null==x.precision&&!isNaN(K=function d0(f){return Math.max(0,-zo(Math.abs(f)))}(H))&&(x.precision=K-2*("%"===x.type))}return cc(x)}(H[0],H[H.length-1],a??10,x)},f.nice=function(a){null==a&&(a=10);var jt,Yt,x=O(),H=0,K=x.length-1,Ee=x[H],ot=x[K],di=10;for(ot<Ee&&(Yt=Ee,Ee=ot,ot=Yt,Yt=H,H=K,K=Yt);di-- >0;){if((Yt=el(Ee,ot,a))===jt)return x[H]=Ee,x[K]=ot,O(x);if(Yt>0)Ee=Math.floor(Ee/Yt)*Yt,ot=Math.ceil(ot/Yt)*Yt;else{if(!(Yt<0))break;Ee=Math.ceil(Ee*Yt)/Yt,ot=Math.floor(ot*Yt)/Yt}jt=Yt}return f},f}function to(){var f=k2();return f.copy=function(){return oc(f,to())},fl.apply(f,arguments),F2(f)}function L1(f,O,a){f=+f,O=+O,a=(H=arguments.length)<2?(O=f,f=0,1):H<3?1:+a;for(var x=-1,H=0|Math.max(0,Math.ceil((O-f)/a)),K=new Array(H);++x<H;)K[x]=f+x*a;return K}!function c0(f){A1=function Eh(f){var O=void 0===f.grouping||void 0===f.thousands?R2:function T1(f,O){return function(a,x){for(var H=a.length,K=[],Ee=0,ot=f[0],jt=0;H>0&&ot>0&&(jt+ot+1>x&&(ot=Math.max(1,x-jt)),K.push(a.substring(H-=ot,H+ot)),!((jt+=ot+1)>x));)ot=f[Ee=(Ee+1)%f.length];return K.reverse().join(O)}}(Nc.call(f.grouping,Number),f.thousands+""),a=void 0===f.currency?"":f.currency[0]+"",x=void 0===f.currency?"":f.currency[1]+"",H=void 0===f.decimal?".":f.decimal+"",K=void 0===f.numerals?R2:function Yl(f){return function(O){return O.replace(/[0-9]/g,function(a){return f[+a]})}}(Nc.call(f.numerals,String)),Ee=void 0===f.percent?"%":f.percent+"",ot=void 0===f.minus?"\u2212":f.minus+"",jt=void 0===f.nan?"NaN":f.nan+"";function Yt(yi){var wi=(yi=Wl(yi)).fill,Ai=yi.align,sn=yi.sign,_n=yi.symbol,Di=yi.zero,fn=yi.width,vn=yi.comma,pn=yi.precision,Yn=yi.trim,Hn=yi.type;"n"===Hn?(vn=!0,Hn="g"):a0[Hn]||(void 0===pn&&(pn=12),Yn=!0,Hn="g"),(Di||"0"===wi&&"="===Ai)&&(Di=!0,wi="0",Ai="=");var Sn="$"===_n?a:"#"===_n&&/[boxX]/.test(Hn)?"0"+Hn.toLowerCase():"",na="$"===_n?x:/[%p]/.test(Hn)?Ee:"",Or=a0[Hn],Ps=/[defgprs%]/.test(Hn);function ra(En){var Pr,qa,Jr,Qa=Sn,_r=na;if("c"===Hn)_r=Or(En)+_r,En="";else{var Rr=(En=+En)<0||1/En<0;if(En=isNaN(En)?jt:Or(Math.abs(En),pn),Yn&&(En=function Rc(f){e:for(var H,O=f.length,a=1,x=-1;a<O;++a)switch(f[a]){case".":x=H=a;break;case"0":0===x&&(x=a),H=a;break;default:if(!+f[a])break e;x>0&&(x=0)}return x>0?f.slice(0,x)+f.slice(H+1):f}(En)),Rr&&0==+En&&"+"!==sn&&(Rr=!1),Qa=(Rr?"("===sn?sn:ot:"-"===sn||"("===sn?"":sn)+Qa,_r=("s"===Hn?s0[8+O2/3]:"")+_r+(Rr&&"("===sn?")":""),Ps)for(Pr=-1,qa=En.length;++Pr<qa;)if(48>(Jr=En.charCodeAt(Pr))||Jr>57){_r=(46===Jr?H+En.slice(Pr+1):En.slice(Pr))+_r,En=En.slice(0,Pr);break}}vn&&!Di&&(En=O(En,1/0));var Rs=Qa.length+En.length+_r.length,Mr=Rs<fn?new Array(fn-Rs+1).join(wi):"";switch(vn&&Di&&(En=O(Mr+En,Mr.length?fn-_r.length:1/0),Mr=""),Ai){case"<":En=Qa+En+_r+Mr;break;case"=":En=Qa+Mr+En+_r;break;case"^":En=Mr.slice(0,Rs=Mr.length>>1)+Qa+En+_r+Mr.slice(Rs);break;default:En=Mr+Qa+En+_r}return K(En)}return pn=void 0===pn?6:/[gprs]/.test(Hn)?Math.max(1,Math.min(21,pn)):Math.max(0,Math.min(20,pn)),ra.toString=function(){return yi+""},ra}return{format:Yt,formatPrefix:function di(yi,wi){var Ai=Yt(((yi=Wl(yi)).type="f",yi)),sn=3*Math.max(-8,Math.min(8,Math.floor(zo(wi)/3))),_n=Math.pow(10,-sn),Di=s0[8+sn/3];return function(fn){return Ai(_n*fn)+Di}}}}(f),cc=A1.format,o0=A1.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});const Pa=Symbol("implicit");function pl(){var f=new Map,O=[],a=[],x=Pa;function H(K){var Ee=K+"",ot=f.get(Ee);if(!ot){if(x!==Pa)return x;f.set(Ee,ot=O.push(K))}return a[(ot-1)%a.length]}return H.domain=function(K){if(!arguments.length)return O.slice();O=[],f=new Map;for(const Ee of K){const ot=Ee+"";f.has(ot)||f.set(ot,O.push(Ee))}return H},H.range=function(K){return arguments.length?(a=Array.from(K),H):a.slice()},H.unknown=function(K){return arguments.length?(x=K,H):x},H.copy=function(){return pl(O,a).unknown(x)},fl.apply(H,arguments),H}function jl(){var K,Ee,f=pl().unknown(void 0),O=f.domain,a=f.range,x=0,H=1,ot=!1,jt=0,Yt=0,di=.5;function yi(){var wi=O().length,Ai=H<x,sn=Ai?H:x,_n=Ai?x:H;K=(_n-sn)/Math.max(1,wi-jt+2*Yt),ot&&(K=Math.floor(K)),sn+=(_n-sn-K*(wi-jt))*di,Ee=K*(1-jt),ot&&(sn=Math.round(sn),Ee=Math.round(Ee));var Di=L1(wi).map(function(fn){return sn+K*fn});return a(Ai?Di.reverse():Di)}return delete f.unknown,f.domain=function(wi){return arguments.length?(O(wi),yi()):O()},f.range=function(wi){return arguments.length?([x,H]=wi,x=+x,H=+H,yi()):[x,H]},f.rangeRound=function(wi){return[x,H]=wi,x=+x,H=+H,ot=!0,yi()},f.bandwidth=function(){return Ee},f.step=function(){return K},f.round=function(wi){return arguments.length?(ot=!!wi,yi()):ot},f.padding=function(wi){return arguments.length?(jt=Math.min(1,Yt=+wi),yi()):jt},f.paddingInner=function(wi){return arguments.length?(jt=Math.min(1,wi),yi()):jt},f.paddingOuter=function(wi){return arguments.length?(Yt=+wi,yi()):Yt},f.align=function(wi){return arguments.length?(di=Math.max(0,Math.min(1,wi)),yi()):di},f.copy=function(){return jl(O(),[x,H]).round(ot).paddingInner(jt).paddingOuter(Yt).align(di)},fl.apply(yi(),arguments)}function h0(f,O,a=Qr){if(x=f.length){if((O=+O)<=0||x<2)return+a(f[0],0,f);if(O>=1)return+a(f[x-1],x-1,f);var x,H=(x-1)*O,K=Math.floor(H),Ee=+a(f[K],K,f);return Ee+(+a(f[K+1],K+1,f)-Ee)*(H-K)}}function H2(){var x,f=[],O=[],a=[];function H(){var Ee=0,ot=Math.max(1,O.length);for(a=new Array(ot-1);++Ee<ot;)a[Ee-1]=h0(f,Ee/ot);return K}function K(Ee){return null==Ee||isNaN(Ee=+Ee)?x:O[xh(a,Ee)]}return K.invertExtent=function(Ee){var ot=O.indexOf(Ee);return ot<0?[NaN,NaN]:[ot>0?a[ot-1]:f[0],ot<a.length?a[ot]:f[f.length-1]]},K.domain=function(Ee){if(!arguments.length)return f.slice();f=[];for(let ot of Ee)null!=ot&&!isNaN(ot=+ot)&&f.push(ot);return f.sort(e2),H()},K.range=function(Ee){return arguments.length?(O=Array.from(Ee),H()):O.slice()},K.unknown=function(Ee){return arguments.length?(x=Ee,K):x},K.quantiles=function(){return a.slice()},K.copy=function(){return H2().domain(f).range(O).unknown(x)},fl.apply(K,arguments)}var Ah=m(5126);const D1=["caretElm"];function z2(f,O){}const Lh=function(f){return{model:f}};function V2(f,O){if(1&f&&(t.TgZ(0,"span"),t.YNc(1,z2,0,0,"ng-template",5),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",a.template)("ngTemplateOutletContext",t.VKq(2,Lh,a.context))}}function gl(f,O){if(1&f&&t._UZ(0,"span",6),2&f){const a=t.oxw();t.Q6J("innerHTML",a.title,t.oJD)}}function Dh(f,O){if(1&f&&(t.TgZ(0,"header",4)(1,"span",5),t._uU(2),t.qZA()()),2&f){const a=t.oxw();t.xp6(2),t.Oqu(a.title)}}function Ih(f,O){if(1&f){const a=t.EpF();t.TgZ(0,"li",6)(1,"ngx-charts-legend-entry",7),t.NdJ("select",function(H){t.CHM(a);const K=t.oxw();return t.KtG(K.labelClick.emit(H))})("activate",function(H){t.CHM(a);const K=t.oxw();return t.KtG(K.activate(H))})("deactivate",function(H){t.CHM(a);const K=t.oxw();return t.KtG(K.deactivate(H))}),t.qZA()()}if(2&f){const a=O.$implicit,x=t.oxw();t.xp6(1),t.Q6J("label",a.label)("formattedLabel",a.formattedLabel)("color",a.color)("isActive",x.isActive(a))}}function u0(f,O){if(1&f&&(t.O4$(),t.kcU(),t._UZ(0,"ngx-charts-scale-legend",4)),2&f){const a=t.oxw();t.Q6J("horizontal",a.legendOptions&&a.legendOptions.position===a.LegendPosition.Below)("valueRange",a.legendOptions.domain)("colors",a.legendOptions.colors)("height",a.view[1])("width",a.legendWidth)}}function kh(f,O){if(1&f){const a=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"ngx-charts-legend",5),t.NdJ("labelClick",function(H){t.CHM(a);const K=t.oxw();return t.KtG(K.legendLabelClick.emit(H))})("labelActivate",function(H){t.CHM(a);const K=t.oxw();return t.KtG(K.legendLabelActivate.emit(H))})("labelDeactivate",function(H){t.CHM(a);const K=t.oxw();return t.KtG(K.legendLabelDeactivate.emit(H))}),t.qZA()}if(2&f){const a=t.oxw();t.Q6J("horizontal",a.legendOptions&&a.legendOptions.position===a.LegendPosition.Below)("data",a.legendOptions.domain)("title",a.legendOptions.title)("colors",a.legendOptions.colors)("height",a.view[1])("width",a.legendWidth)("activeEntries",a.activeEntries)}}const B2=["*"],Oh=["ngx-charts-axis-label",""],I1=["ticksel"],_l=["ngx-charts-x-axis-ticks",""];function Vo(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g",3)(1,"title"),t._uU(2),t.qZA(),t.TgZ(3,"text",4),t._uU(4),t.qZA()()),2&f){const a=O.$implicit,x=t.oxw();t.uIk("transform",x.tickTransform(a)),t.xp6(2),t.Oqu(x.tickFormat(a)),t.xp6(1),t.Udp("font-size","12px"),t.uIk("text-anchor",x.textAnchor)("transform",x.textTransform),t.xp6(1),t.hij(" ",x.tickTrim(x.tickFormat(a))," ")}}function Ph(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t._UZ(1,"line",6),t.qZA()),2&f){const a=t.oxw(2);t.uIk("transform",a.gridLineTransform()),t.xp6(1),t.uIk("y1",-a.gridLineHeight)}}function vl(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Ph,2,2,"g",5),t.qZA()),2&f){const a=O.$implicit,x=t.oxw();t.uIk("transform",x.tickTransform(a)),t.xp6(1),t.Q6J("ngIf",x.showGridLines)}}const f0=["ngx-charts-x-axis",""];function Rh(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("dimensionsChanged",function(H){t.CHM(a);const K=t.oxw();return t.KtG(K.emitTicksHeight(H))}),t.qZA()}if(2&f){const a=t.oxw();t.Q6J("trimTicks",a.trimTicks)("rotateTicks",a.rotateTicks)("maxTickLength",a.maxTickLength)("tickFormatting",a.tickFormatting)("tickArguments",a.tickArguments)("tickStroke",a.tickStroke)("scale",a.xScale)("orient",a.xOrient)("showGridLines",a.showGridLines)("gridLineHeight",a.dims.height)("width",a.dims.width)("tickValues",a.ticks)}}function m0(f,O){if(1&f&&(t.O4$(),t._UZ(0,"g",3)),2&f){const a=t.oxw();t.Q6J("label",a.labelText)("offset",a.labelOffset)("orient",a.orientation.Bottom)("height",a.dims.height)("width",a.dims.width)}}const Nh=["ngx-charts-y-axis-ticks",""];function p0(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g",4)(1,"title"),t._uU(2),t.qZA(),t.TgZ(3,"text",5),t._uU(4),t.qZA()()),2&f){const a=O.$implicit,x=t.oxw();t.uIk("transform",x.transform(a)),t.xp6(2),t.Oqu(x.tickFormat(a)),t.xp6(1),t.Udp("font-size","12px"),t.uIk("dy",x.dy)("x",x.x1)("y",x.y1)("text-anchor",x.textAnchor),t.xp6(1),t.hij(" ",x.tickTrim(x.tickFormat(a))," ")}}function bl(f,O){if(1&f&&(t.O4$(),t._UZ(0,"path",6)),2&f){const a=t.oxw();t.uIk("d",a.referenceAreaPath)("transform",a.gridLineTransform())}}function Fh(f,O){if(1&f&&(t.O4$(),t._UZ(0,"line",9)),2&f){const a=t.oxw(3);t.uIk("x2",a.gridLineWidth)}}function g0(f,O){if(1&f&&(t.O4$(),t._UZ(0,"line",9)),2&f){const a=t.oxw(3);t.uIk("x2",-a.gridLineWidth)}}function Hh(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Fh,1,1,"line",8),t.YNc(2,g0,1,1,"line",8),t.qZA()),2&f){const a=t.oxw(2);t.uIk("transform",a.gridLineTransform()),t.xp6(1),t.Q6J("ngIf",a.orient===a.Orientation.Left),t.xp6(1),t.Q6J("ngIf",a.orient===a.Orientation.Right)}}function zh(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Hh,3,3,"g",7),t.qZA()),2&f){const a=O.$implicit,x=t.oxw();t.uIk("transform",x.transform(a)),t.xp6(1),t.Q6J("ngIf",x.showGridLines)}}function io(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g")(1,"title"),t._uU(2),t.qZA(),t.TgZ(3,"text",11),t._uU(4),t.qZA()()),2&f){const a=t.oxw(2).$implicit,x=t.oxw();t.xp6(2),t.Oqu(x.tickTrim(x.tickFormat(a.value))),t.xp6(1),t.uIk("dy",x.dy)("y",-6)("x",x.gridLineWidth)("text-anchor",x.textAnchor),t.xp6(1),t.hij(" ",a.name," ")}}function _0(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t._UZ(1,"line",10),t.YNc(2,io,5,6,"g",7),t.qZA()),2&f){const a=t.oxw().$implicit,x=t.oxw();t.uIk("transform",x.transform(a.value)),t.xp6(1),t.uIk("x2",x.gridLineWidth)("transform",x.gridLineTransform()),t.xp6(1),t.Q6J("ngIf",x.showRefLabels)}}function v0(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,_0,3,4,"g",7),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngIf",a.showRefLines)}}const Vh=["ngx-charts-y-axis",""];function Bh(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("dimensionsChanged",function(H){t.CHM(a);const K=t.oxw();return t.KtG(K.emitTicksWidth(H))}),t.qZA()}if(2&f){const a=t.oxw();t.Q6J("trimTicks",a.trimTicks)("maxTickLength",a.maxTickLength)("tickFormatting",a.tickFormatting)("tickArguments",a.tickArguments)("tickValues",a.ticks)("tickStroke",a.tickStroke)("scale",a.yScale)("orient",a.yOrient)("showGridLines",a.showGridLines)("gridLineWidth",a.dims.width)("referenceLines",a.referenceLines)("showRefLines",a.showRefLines)("showRefLabels",a.showRefLabels)("height",a.dims.height)}}function b0(f,O){if(1&f&&(t.O4$(),t._UZ(0,"g",3)),2&f){const a=t.oxw();t.Q6J("label",a.labelText)("offset",a.labelOffset)("orient",a.yOrient)("height",a.dims.height)("width",a.dims.width)}}const Kl=["ngx-charts-svg-linear-gradient",""];function Fc(f,O){if(1&f&&(t.O4$(),t._UZ(0,"stop")),2&f){const a=O.$implicit;t.Udp("stop-color",a.color)("stop-opacity",a.opacity),t.uIk("offset",a.offset+"%")}}const W2=["ngx-charts-grid-panel",""],Zh=["ngx-charts-grid-panel-series",""];function Y2(f,O){if(1&f&&(t.O4$(),t._UZ(0,"g",1)),2&f){const a=O.$implicit;t.ekj("grid-panel",!0)("odd","odd"===a.class)("even","even"===a.class),t.Q6J("height",a.height)("width",a.width)("x",a.x)("y",a.y)}}const Wt=["tooltipTemplate"],hn=function(f,O){return[f,O]},xa=".ngx-charts-outer{-webkit-animation:chartFadeIn linear .6s;animation:chartFadeIn linear .6s}@-webkit-keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}@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 .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 .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 .card:focus{outline:none}.ngx-charts .bar.hidden,.ngx-charts .cell.hidden,.ngx-charts .arc.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",q2=["ngx-charts-bar",""];function mn(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"defs"),t._UZ(1,"g",2),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("orientation",a.orientation)("name",a.gradientId)("stops",a.gradientStops)}}const Mn=["ngx-charts-bar-label",""],jh=["ngx-charts-series-vertical",""];function Kh(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("select",function(H){t.CHM(a);const K=t.oxw(2);return t.KtG(K.onClick(H))})("activate",function(H){t.CHM(a);const K=t.oxw(2);return t.KtG(K.activate.emit(H))})("deactivate",function(H){t.CHM(a);const K=t.oxw(2);return t.KtG(K.deactivate.emit(H))}),t.qZA()}if(2&f){const a=O.$implicit,x=t.oxw(2);t.Q6J("@animationState","active")("@.disabled",!x.animations)("width",a.width)("height",a.height)("x",a.x)("y",a.y)("fill",a.color)("stops",a.gradientStops)("data",a.data)("orientation",x.barOrientation.Vertical)("roundEdges",a.roundEdges)("gradient",x.gradient)("ariaLabel",a.ariaLabel)("isActive",x.isActive(a.data))("tooltipDisabled",x.tooltipDisabled)("tooltipPlacement",x.tooltipPlacement)("tooltipType",x.tooltipType)("tooltipTitle",x.tooltipTemplate?void 0:a.tooltipText)("tooltipTemplate",x.tooltipTemplate)("tooltipContext",a.data)("noBarWhenZero",x.noBarWhenZero)("animations",x.animations)}}function T4(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Kh,1,22,"g",1),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngForOf",a.bars)("ngForTrackBy",a.trackBy)}}function d3(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("select",function(H){t.CHM(a);const K=t.oxw(2);return t.KtG(K.onClick(H))})("activate",function(H){t.CHM(a);const K=t.oxw(2);return t.KtG(K.activate.emit(H))})("deactivate",function(H){t.CHM(a);const K=t.oxw(2);return t.KtG(K.deactivate.emit(H))}),t.qZA()}if(2&f){const a=O.$implicit,x=t.oxw(2);t.Q6J("width",a.width)("height",a.height)("x",a.x)("y",a.y)("fill",a.color)("stops",a.gradientStops)("data",a.data)("orientation",x.barOrientation.Vertical)("roundEdges",a.roundEdges)("gradient",x.gradient)("ariaLabel",a.ariaLabel)("isActive",x.isActive(a.data))("tooltipDisabled",x.tooltipDisabled)("tooltipPlacement",x.tooltipPlacement)("tooltipType",x.tooltipType)("tooltipTitle",x.tooltipTemplate?void 0:a.tooltipText)("tooltipTemplate",x.tooltipTemplate)("tooltipContext",a.data)("noBarWhenZero",x.noBarWhenZero)("animations",x.animations)}}function A4(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,d3,1,20,"g",1),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngForOf",a.bars)("ngForTrackBy",a.trackBy)}}function h3(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",4),t.NdJ("dimensionsChanged",function(H){const Ee=t.CHM(a).index,ot=t.oxw(2);return t.KtG(ot.dataLabelHeightChanged.emit({size:H,index:Ee}))}),t.qZA()}if(2&f){const a=O.$implicit,x=t.oxw(2);t.Q6J("barX",a.x)("barY",a.y)("barWidth",a.width)("barHeight",a.height)("value",a.total)("valueFormatting",x.dataLabelFormatting)("orientation",x.barOrientation.Vertical)}}function L4(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,h3,1,7,"g",3),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngForOf",a.barsForDataLabels)("ngForTrackBy",a.trackDataLabelBy)}}function u3(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",5),t.NdJ("dimensionsChanged",function(H){t.CHM(a);const K=t.oxw();return t.KtG(K.updateXAxisHeight(H))}),t.qZA()}if(2&f){const a=t.oxw();t.Q6J("xScale",a.xScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)("xAxisOffset",a.dataLabelMaxHeight.negative)}}function Qh(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",6),t.NdJ("dimensionsChanged",function(H){t.CHM(a);const K=t.oxw();return t.KtG(K.updateYAxisWidth(H))}),t.qZA()}if(2&f){const a=t.oxw();t.Q6J("yScale",a.yScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)}}function D4(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",6),t.NdJ("dimensionsChanged",function(H){t.CHM(a);const K=t.oxw();return t.KtG(K.updateXAxisHeight(H))}),t.qZA()}if(2&f){const a=t.oxw();t.Q6J("xScale",a.groupScale)("dims",a.dims)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)("xAxisOffset",a.dataLabelMaxHeight.negative)}}function qh(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",7),t.NdJ("dimensionsChanged",function(H){t.CHM(a);const K=t.oxw();return t.KtG(K.updateYAxisWidth(H))}),t.qZA()}if(2&f){const a=t.oxw();t.Q6J("yScale",a.valueScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)}}function I4(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",9),t.NdJ("select",function(H){const Ee=t.CHM(a).$implicit,ot=t.oxw(2);return t.KtG(ot.onClick(H,Ee))})("activate",function(H){const Ee=t.CHM(a).$implicit,ot=t.oxw(2);return t.KtG(ot.onActivate(H,Ee))})("deactivate",function(H){const Ee=t.CHM(a).$implicit,ot=t.oxw(2);return t.KtG(ot.onDeactivate(H,Ee))})("dataLabelHeightChanged",function(H){const Ee=t.CHM(a).index,ot=t.oxw(2);return t.KtG(ot.onDataLabelMaxHeightChanged(H,Ee))}),t.qZA()}if(2&f){const a=O.$implicit,x=t.oxw(2);t.Q6J("@animationState","active")("activeEntries",x.activeEntries)("xScale",x.innerScale)("yScale",x.valueScale)("colors",x.colors)("series",a.series)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("seriesName",a.name)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero),t.uIk("transform",x.groupTransform(a))}}function k4(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,I4,1,17,"g",8),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function O4(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",9),t.NdJ("select",function(H){const Ee=t.CHM(a).$implicit,ot=t.oxw(2);return t.KtG(ot.onClick(H,Ee))})("activate",function(H){const Ee=t.CHM(a).$implicit,ot=t.oxw(2);return t.KtG(ot.onActivate(H,Ee))})("deactivate",function(H){const Ee=t.CHM(a).$implicit,ot=t.oxw(2);return t.KtG(ot.onDeactivate(H,Ee))})("dataLabelHeightChanged",function(H){const Ee=t.CHM(a).index,ot=t.oxw(2);return t.KtG(ot.onDataLabelMaxHeightChanged(H,Ee))}),t.qZA()}if(2&f){const a=O.$implicit,x=t.oxw(2);t.Q6J("activeEntries",x.activeEntries)("xScale",x.innerScale)("yScale",x.valueScale)("colors",x.colors)("series",a.series)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("seriesName",a.name)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero),t.uIk("transform",x.groupTransform(a))}}function Zo(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,O4,1,16,"g",8),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function lu(f,O,a){a=a||{};let x,H,K,Ee=null,ot=0;function jt(){ot=!1===a.leading?0:+new Date,Ee=null,K=f.apply(x,H)}return function(){const Yt=+new Date;!ot&&!1===a.leading&&(ot=Yt);const di=O-(Yt-ot);return x=this,H=arguments,di<=0?(clearTimeout(Ee),Ee=null,ot=Yt,K=f.apply(x,H)):!Ee&&!1!==a.trailing&&(Ee=setTimeout(jt,di)),K}}function du(f,O){return function(x,H,K){return{configurable:!0,enumerable:K.enumerable,get:function(){return Object.defineProperty(this,H,{configurable:!0,enumerable:K.enumerable,value:lu(K.value,f,O)}),this[H]}}}}var Jn=(()=>{return(f=Jn||(Jn={})).Top="top",f.Bottom="bottom",f.Left="left",f.Right="right",f.Center="center",Jn;var f})();function k0(f,O,a){return a===Jn.Top?f.top-7:a===Jn.Bottom?f.top+f.height-O.height+7:a===Jn.Center?f.top+f.height/2-O.height/2:void 0}function hu(f,O,a){return a===Jn.Left?f.left-7:a===Jn.Right?f.left+f.width-O.width+7:a===Jn.Center?f.left+f.width/2-O.width/2:void 0}class Ws{static calculateVerticalAlignment(O,a,x){let H=k0(O,a,x);return H+a.height>window.innerHeight&&(H=window.innerHeight-a.height),H}static calculateVerticalCaret(O,a,x,H){let K;H===Jn.Top&&(K=O.height/2-x.height/2+7),H===Jn.Bottom&&(K=a.height-O.height/2-x.height/2-7),H===Jn.Center&&(K=a.height/2-x.height/2);const Ee=k0(O,a,H);return Ee+a.height>window.innerHeight&&(K+=Ee+a.height-window.innerHeight),K}static calculateHorizontalAlignment(O,a,x){let H=hu(O,a,x);return H+a.width>window.innerWidth&&(H=window.innerWidth-a.width),H}static calculateHorizontalCaret(O,a,x,H){let K;H===Jn.Left&&(K=O.width/2-x.width/2+7),H===Jn.Right&&(K=a.width-O.width/2-x.width/2-7),H===Jn.Center&&(K=a.width/2-x.width/2);const Ee=hu(O,a,H);return Ee+a.width>window.innerWidth&&(K+=Ee+a.width-window.innerWidth),K}static shouldFlip(O,a,x,H){let K=!1;return x===Jn.Right&&O.left+O.width+a.width+H>window.innerWidth&&(K=!0),x===Jn.Left&&O.left-a.width-H<0&&(K=!0),x===Jn.Top&&O.top-a.height-H<0&&(K=!0),x===Jn.Bottom&&O.top+O.height+a.height+H>window.innerHeight&&(K=!0),K}static positionCaret(O,a,x,H,K){let Ee=0,ot=0;return O===Jn.Right?(ot=-7,Ee=Ws.calculateVerticalCaret(x,a,H,K)):O===Jn.Left?(ot=a.width,Ee=Ws.calculateVerticalCaret(x,a,H,K)):O===Jn.Top?(Ee=a.height,ot=Ws.calculateHorizontalCaret(x,a,H,K)):O===Jn.Bottom&&(Ee=-7,ot=Ws.calculateHorizontalCaret(x,a,H,K)),{top:Ee,left:ot}}static positionContent(O,a,x,H,K){let Ee=0,ot=0;return O===Jn.Right?(ot=x.left+x.width+H,Ee=Ws.calculateVerticalAlignment(x,a,K)):O===Jn.Left?(ot=x.left-a.width-H,Ee=Ws.calculateVerticalAlignment(x,a,K)):O===Jn.Top?(Ee=x.top-a.height-H,ot=Ws.calculateHorizontalAlignment(x,a,K)):O===Jn.Bottom&&(Ee=x.top+x.height+H,ot=Ws.calculateHorizontalAlignment(x,a,K)),{top:Ee,left:ot}}static determinePlacement(O,a,x,H){if(Ws.shouldFlip(x,a,O,H)){if(O===Jn.Right)return Jn.Left;if(O===Jn.Left)return Jn.Right;if(O===Jn.Top)return Jn.Bottom;if(O===Jn.Bottom)return Jn.Top}return O}}let O3=(()=>{class f{constructor(a,x,H){this.element=a,this.renderer=x,this.platformId=H}get cssClasses(){let a="ngx-charts-tooltip-content";return a+=` position-${this.placement}`,a+=` type-${this.type}`,a+=` ${this.cssClass}`,a}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,e.NF)(this.platformId))return;const a=this.element.nativeElement,x=this.host.nativeElement.getBoundingClientRect();if(!x.height&&!x.width)return;const H=a.getBoundingClientRect();this.checkFlip(x,H),this.positionContent(a,x,H),this.showCaret&&this.positionCaret(x,H),setTimeout(()=>this.renderer.addClass(a,"animate"),1)}positionContent(a,x,H){const{top:K,left:Ee}=Ws.positionContent(this.placement,H,x,this.spacing,this.alignment);this.renderer.setStyle(a,"top",`${K}px`),this.renderer.setStyle(a,"left",`${Ee}px`)}positionCaret(a,x){const H=this.caretElm.nativeElement,K=H.getBoundingClientRect(),{top:Ee,left:ot}=Ws.positionCaret(this.placement,x,a,K,this.alignment);this.renderer.setStyle(H,"top",`${Ee}px`),this.renderer.setStyle(H,"left",`${ot}px`)}checkFlip(a,x){this.placement=Ws.determinePlacement(this.placement,x,a,this.spacing)}onWindowResize(){this.position()}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-tooltip-content"]],viewQuery:function(a,x){if(1&a&&t.Gf(D1,5),2&a){let H;t.iGM(H=t.CRH())&&(x.caretElm=H.first)}},hostVars:2,hostBindings:function(a,x){1&a&&t.NdJ("resize",function(){return x.onWindowResize()},!1,t.Jf7),2&a&&t.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(a,x){1&a&&(t.TgZ(0,"div"),t._UZ(1,"span",0,1),t.TgZ(3,"div",2),t.YNc(4,V2,2,4,"span",3),t.YNc(5,gl,1,1,"span",4),t.qZA()()),2&a&&(t.xp6(1),t.Gre("tooltip-caret position-",x.placement,""),t.Q6J("hidden",!x.showCaret),t.xp6(3),t.Q6J("ngIf",!x.title),t.xp6(1),t.Q6J("ngIf",x.title))},dependencies:[e.O5,e.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,v.gn)([du(100)],f.prototype,"onWindowResize",null),f})();class P3{constructor(O){this.injectionService=O,this.defaults={},this.components=new Map}getByType(O=this.type){return this.components.get(O)}create(O){return this.createByType(this.type,O)}createByType(O,a){a=this.assignDefaults(a);const x=this.injectComponent(O,a);return this.register(O,x),x}destroy(O){const a=this.components.get(O.componentType);if(a&&a.length){const x=a.indexOf(O);x>-1&&(a[x].destroy(),a.splice(x,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(O){const a=this.components.get(O);if(a&&a.length){let x=a.length-1;for(;x>=0;)this.destroy(a[x--])}}injectComponent(O,a){return this.injectionService.appendComponent(O,a)}assignDefaults(O){const a={...this.defaults.inputs},x={...this.defaults.outputs};return!O.inputs&&!O.outputs&&(O={inputs:O}),a&&(O.inputs={...a,...O.inputs}),x&&(O.outputs={...x,...O.outputs}),O}register(O,a){this.components.has(O)||this.components.set(O,[]),this.components.get(O).push(a)}}let R3=(()=>{class f{constructor(a,x,H){this.applicationRef=a,this.componentFactoryResolver=x,this.injector=H}static setGlobalRootViewContainer(a){f.globalRootViewContainer=a}getRootViewContainer(){if(this._container)return this._container;if(f.globalRootViewContainer)return f.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(a){this._container=a}getComponentRootNode(a){return function O0(f){return f.element}(a)?a.element.nativeElement:a.hostView&&a.hostView.rootNodes.length>0?a.hostView.rootNodes[0]:a.location.nativeElement}getRootViewContainerNode(a){return this.getComponentRootNode(a)}projectComponentBindings(a,x){if(x){if(void 0!==x.inputs){const H=Object.getOwnPropertyNames(x.inputs);for(const K of H)a.instance[K]=x.inputs[K]}if(void 0!==x.outputs){const H=Object.getOwnPropertyNames(x.outputs);for(const K of H)a.instance[K]=x.outputs[K]}}return a}appendComponent(a,x={},H){H||(H=this.getRootViewContainer());const K=this.getComponentRootNode(H),Ee=new D.u0(K,this.componentFactoryResolver,this.applicationRef,this.injector),ot=new D.C5(a),jt=Ee.attach(ot);return this.projectComponentBindings(jt,x),jt}}return f.globalRootViewContainer=null,f.\u0275fac=function(a){return new(a||f)(t.LFG(t.z2F),t.LFG(t._Vd),t.LFG(t.zs3))},f.\u0275prov=t.Yz7({token:f,factory:f.\u0275fac}),f})(),P0=(()=>{class f extends P3{constructor(a){super(a),this.type=O3}}return f.\u0275fac=function(a){return new(a||f)(t.LFG(R3))},f.\u0275prov=t.Yz7({token:f,factory:f.\u0275fac}),f})();var Mo=(()=>{return(f=Mo||(Mo={})).Right="right",f.Below="below",Mo;var f})(),uc=(()=>{return(f=uc||(uc={})).ScaleLegend="scaleLegend",f.Legend="legend",uc;var f})(),wn=(()=>{return(f=wn||(wn={})).Time="time",f.Linear="linear",f.Ordinal="ordinal",f.Quantile="quantile",wn;var f})();let R0=(()=>{class f{constructor(){this.horizontal=!1}ngOnChanges(a){const x=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${x})`}gradientString(a,x){x.push(1);const H=[];return a.reverse().forEach((K,Ee)=>{H.push(`${K} ${Math.round(100*x[Ee])}%`)}),H.join(", ")}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},features:[t.TTD],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(a,x){1&a&&(t.TgZ(0,"div",0)(1,"div",1)(2,"span"),t._uU(3),t.qZA()(),t._UZ(4,"div",2),t.TgZ(5,"div",1)(6,"span"),t._uU(7),t.qZA()()()),2&a&&(t.Udp("height",x.horizontal?void 0:x.height,"px")("width",x.width,"px"),t.ekj("horizontal-legend",x.horizontal),t.xp6(3),t.Oqu(x.valueRange[1].toLocaleString()),t.xp6(1),t.Udp("background",x.gradient),t.xp6(3),t.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}),f})();function ql(f){return f instanceof Date?f.toLocaleDateString():f.toLocaleString()}let uu=(()=>{class f{constructor(){this.isActive=!1,this.select=new t.vpe,this.activate=new t.vpe,this.deactivate=new t.vpe,this.toggle=new t.vpe}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(a,x){1&a&&t.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(a,x){1&a&&(t.TgZ(0,"span",0),t.NdJ("click",function(){return x.select.emit(x.formattedLabel)}),t.TgZ(1,"span",1),t.NdJ("click",function(){return x.toggle.emit(x.formattedLabel)}),t.qZA(),t.TgZ(2,"span",2),t._uU(3),t.qZA()()),2&a&&(t.ekj("active",x.isActive),t.Q6J("title",x.formattedLabel),t.xp6(1),t.Udp("background-color",x.color),t.xp6(2),t.hij(" ",x.trimmedLabel," "))},encapsulation:2,changeDetection:0}),f})(),F0=(()=>{class f{constructor(a){this.cd=a,this.horizontal=!1,this.labelClick=new t.vpe,this.labelActivate=new t.vpe,this.labelDeactivate=new t.vpe,this.legendEntries=[]}ngOnChanges(a){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const a=[];for(const x of this.data){const H=ql(x);-1===a.findIndex(Ee=>Ee.label===H)&&a.push({label:x,formattedLabel:H,color:this.colors.getColor(x)})}return a}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(H=>a.label===H.name)}activate(a){this.labelActivate.emit(a)}deactivate(a){this.labelDeactivate.emit(a)}trackBy(a,x){return x.label}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.sBO))},f.\u0275cmp=t.Xpm({type:f,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:[t.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(a,x){1&a&&(t.TgZ(0,"div"),t.YNc(1,Dh,3,1,"header",0),t.TgZ(2,"div",1)(3,"ul",2),t.YNc(4,Ih,2,4,"li",3),t.qZA()()()),2&a&&(t.Udp("width",x.width,"px"),t.xp6(1),t.Q6J("ngIf",(null==x.title?null:x.title.length)>0),t.xp6(2),t.Udp("max-height",x.height-45,"px"),t.ekj("horizontal-legend",x.horizontal),t.xp6(1),t.Q6J("ngForOf",x.legendEntries)("ngForTrackBy",x.trackBy))},dependencies:[uu,e.O5,e.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}),f})(),H0=(()=>{class f{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new t.vpe,this.legendLabelActivate=new t.vpe,this.legendLabelDeactivate=new t.vpe,this.LegendPosition=Mo,this.LegendType=uc}ngOnChanges(a){this.update()}update(){let a=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===Mo.Right)&&(a=this.legendType===uc.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-a)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==Mo.Right?this.chartWidth:Math.floor(this.view[0]*a/12)}getLegendType(){return this.legendOptions.scaleType===wn.Linear?uc.ScaleLegend:uc.Legend}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,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:[t._Bn([P0]),t.TTD],ngContentSelectors:B2,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(a,x){1&a&&(t.F$t(),t.TgZ(0,"div",0),t.O4$(),t.TgZ(1,"svg",1),t.Hsn(2),t.qZA(),t.YNc(3,u0,1,5,"ngx-charts-scale-legend",2),t.YNc(4,kh,1,7,"ngx-charts-legend",3),t.qZA()),2&a&&(t.Udp("width",x.view[0],"px")("height",x.view[1],"px"),t.xp6(1),t.uIk("width",x.chartWidth)("height",x.view[1]),t.xp6(2),t.Q6J("ngIf",x.showLegend&&x.legendType===x.LegendType.ScaleLegend),t.xp6(1),t.Q6J("ngIf",x.showLegend&&x.legendType===x.LegendType.Legend))},dependencies:[R0,F0,e.O5],encapsulation:2,changeDetection:0}),f})(),N3=(()=>{class f{constructor(a,x){this.element=a,this.zone=x,this.visible=new t.vpe,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const a=()=>{if(!this.element)return;const{offsetHeight:x,offsetWidth:H}=this.element.nativeElement;x&&H?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>a(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>a())})}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.SBq),t.Y36(t.R0b))},f.\u0275dir=t.lG2({type:f,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),f})();function fu(f){return"[object Date]"===toString.call(f)}let Wo=(()=>{class f{constructor(a,x,H,K){this.chartElement=a,this.zone=x,this.cd=H,this.platformId=K,this.scheme="cool",this.schemeType=wn.Ordinal,this.animations=!0,this.select=new t.vpe}ngOnInit(){(0,e.PM)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new N3(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(a){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 a=this.getContainerDims();a&&(this.width=a.width,this.height=a.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 a,x;const H=this.chartElement.nativeElement;if((0,e.NF)(this.platformId)&&null!==H.parentNode){const K=H.parentNode.getBoundingClientRect();a=K.width,x=K.height}return a&&x?{width:a,height:x}:null}formatDates(){for(let a=0;a<this.results.length;a++){const x=this.results[a];if(x.label=x.name,fu(x.label)&&(x.label=x.label.toLocaleDateString()),x.series)for(let H=0;H<x.series.length;H++){const K=x.series[H];K.label=K.name,fu(K.label)&&(K.label=K.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){if(!(0,e.NF)(this.platformId))return;const x=(0,o.R)(window,"resize").pipe((0,C.b)(200)).subscribe(H=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=x}cloneData(a){const x=[];for(const H of a){const K={name:H.name};if(void 0!==H.value&&(K.value=H.value),void 0!==H.series){K.series=[];for(const Ee of H.series){const ot=Object.assign({},Ee);K.series.push(ot)}}void 0!==H.extra&&(K.extra=JSON.parse(JSON.stringify(H.extra))),x.push(K)}return x}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},features:[t.TTD],decls:1,vars:0,template:function(a,x){1&a&&t._UZ(0,"div")},encapsulation:2}),f})();var Ha=(()=>{return(f=Ha||(Ha={})).Top="top",f.Bottom="bottom",f.Left="left",f.Right="right",Ha;var f})();let F3=(()=>{class f{constructor(a){this.textHeight=25,this.margin=5,this.element=a.nativeElement}ngOnChanges(a){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case Ha.Top:case Ha.Bottom:this.y=this.offset,this.x=this.width/2;break;case Ha.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case Ha.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.SBq))},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[t.TTD],attrs:Oh,decls:2,vars:6,template:function(a,x){1&a&&(t.O4$(),t.TgZ(0,"text"),t._uU(1),t.qZA()),2&a&&(t.uIk("stroke-width",x.strokeWidth)("x",x.x)("y",x.y)("text-anchor",x.textAnchor)("transform",x.transform),t.xp6(1),t.hij(" ",x.label," "))},encapsulation:2,changeDetection:0}),f})();function rd(f,O=16){return"string"!=typeof f?"number"==typeof f?f+"":"":(f=f.trim()).length<=O?f:`${f.slice(0,O)}...`}function xl(f,O){if(f.length>O){const a=[],x=Math.floor(f.length/O);for(let H=0;H<f.length;H++)H%x==0&&a.push(f[H]);f=a}return f}var Ys=(()=>{return(f=Ys||(Ys={})).Start="start",f.Middle="middle",f.End="end",Ys;var f})();let mu=(()=>{class f{constructor(a){this.platformId=a,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.dimensionsChanged=new t.vpe,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=Ys.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10}ngOnChanges(a){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,e.NF)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const a=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);a!==this.height&&(this.height=a,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const a=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:a.tickFormat?a.tickFormat.apply(a,this.tickArguments):function(H){return"Date"===H.constructor.name?H.toLocaleDateString():H.toLocaleString()};const x=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(H){return this.scale(H)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",x&&0!==x?(this.textTransform=`rotate(${x})`,this.textAnchor=Ys.End,this.verticalSpacing=10):this.textAnchor=Ys.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(a){let x=0;this.maxTicksLength=0;for(let Yt=0;Yt<a.length;Yt++){const di=this.tickFormat(a[Yt]).toString();let yi=di.length;this.trimTicks&&(yi=this.tickTrim(di).length),yi>this.maxTicksLength&&(this.maxTicksLength=yi)}const Ee=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let ot=Ee;const jt=Math.floor(this.width/a.length);for(;ot>jt&&x>-90;)x-=30,ot=Math.cos(x*(Math.PI/180))*Ee;return this.approxHeight=Math.max(Math.abs(Math.sin(x*(Math.PI/180))*Ee),10),x}getTicks(){let a;const x=this.getMaxTicks(20),H=this.getMaxTicks(100);return this.tickValues?a=this.tickValues:this.scale.ticks?a=this.scale.ticks.apply(this.scale,[H]):(a=this.scale.domain(),a=xl(a,x)),a}getMaxTicks(a){return Math.floor(this.width/a)}tickTransform(a){return"translate("+this.adjustedScale(a)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(a){return this.trimTicks?rd(a,this.maxTickLength):a}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(a,x){if(1&a&&t.Gf(I1,5),2&a){let H;t.iGM(H=t.CRH())&&(x.ticksElement=H.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"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:_l,decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[4,"ngIf"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(a,x){1&a&&(t.O4$(),t.TgZ(0,"g",null,0),t.YNc(2,Vo,5,7,"g",1),t.qZA(),t.YNc(3,vl,2,2,"g",2)),2&a&&(t.xp6(2),t.Q6J("ngForOf",x.ticks),t.xp6(1),t.Q6J("ngForOf",x.ticks))},dependencies:[e.sg,e.O5],encapsulation:2,changeDetection:0}),f})(),V0=(()=>{class f{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=Ha.Bottom,this.xAxisOffset=0,this.dimensionsChanged=new t.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=Ha}ngOnChanges(a){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:a}){const x=a+25+5;x!==this.labelOffset&&(this.labelOffset=x,setTimeout(()=>{this.dimensionsChanged.emit({height:a})},0))}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(a,x){if(1&a&&t.Gf(mu,5),2&a){let H;t.iGM(H=t.CRH())&&(x.ticksComponent=H.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"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:f0,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","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","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(a,x){1&a&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Rh,1,12,"g",0),t.YNc(2,m0,1,5,"g",1),t.qZA()),2&a&&(t.uIk("class",x.xAxisClassName)("transform",x.transform),t.xp6(1),t.Q6J("ngIf",x.xScale),t.xp6(1),t.Q6J("ngIf",x.showLabel))},dependencies:[mu,F3,e.O5],encapsulation:2,changeDetection:0}),f})();function Jl(f,O,a,x,H,[K,Ee,ot,jt]){let Yt="";return Yt=`M${[f+H,O]}`,Yt+="h"+((a=0===(a=Math.floor(a))?1:a)-2*H),Yt+=Ee?`a${[H,H]} 0 0 1 ${[H,H]}`:`h${H}v${H}`,Yt+="v"+((x=0===(x=Math.floor(x))?1:x)-2*H),Yt+=jt?`a${[H,H]} 0 0 1 ${[-H,H]}`:`v${H}h${-H}`,Yt+="h"+(2*H-a),Yt+=ot?`a${[H,H]} 0 0 1 ${[-H,-H]}`:`h${-H}v${-H}`,Yt+="v"+(2*H-x),Yt+=K?`a${[H,H]} 0 0 1 ${[H,-H]}`:`v${-H}h${H}`,Yt+="z",Yt}let rf=(()=>{class f{constructor(a){this.platformId=a,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.dimensionsChanged=new t.vpe,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=Ys.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=Ha}ngOnChanges(a){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,e.NF)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const a=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);a!==this.width&&(this.width=a,this.dimensionsChanged.emit({width:a}),setTimeout(()=>this.updateDims()))}update(){const a=this.scale,x=this.orient===Ha.Top||this.orient===Ha.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:a.tickFormat?a.tickFormat.apply(a,this.tickArguments):function(H){return"Date"===H.constructor.name?H.toLocaleDateString():H.toLocaleString()},this.adjustedScale=a.bandwidth?function(H){return a(H)+.5*a.bandwidth()}:a,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case Ha.Top:case Ha.Bottom:this.transform=function(H){return"translate("+this.adjustedScale(H)+",0)"},this.textAnchor=Ys.Middle,this.y2=this.innerTickSize*x,this.y1=this.tickSpacing*x,this.dy=x<0?"0em":".71em";break;case Ha.Left:this.transform=function(H){return"translate(0,"+this.adjustedScale(H)+")"},this.textAnchor=Ys.End,this.x2=this.innerTickSize*-x,this.x1=this.tickSpacing*-x,this.dy=".32em";break;case Ha.Right:this.transform=function(H){return"translate(0,"+this.adjustedScale(H)+")"},this.textAnchor=Ys.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(a=>a.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(a=>a.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=Jl(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let a;const x=this.getMaxTicks(20),H=this.getMaxTicks(50);return this.tickValues?a=this.tickValues:this.scale.ticks?a=this.scale.ticks.apply(this.scale,[H]):(a=this.scale.domain(),a=xl(a,x)),a}getMaxTicks(a){return Math.floor(this.height/a)}tickTransform(a){return`translate(${this.adjustedScale(a)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(a){return this.trimTicks?rd(a,this.maxTickLength):a}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(H=>this.tickTrim(this.tickFormat(H)).length))}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(a,x){if(1&a&&t.Gf(I1,5),2&a){let H;t.iGM(H=t.CRH())&&(x.ticksElement=H.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"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:Nh,decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[1,"reference-area"],[4,"ngIf"],["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(a,x){1&a&&(t.O4$(),t.TgZ(0,"g",null,0),t.YNc(2,p0,5,9,"g",1),t.qZA(),t.YNc(3,bl,1,2,"path",2),t.YNc(4,zh,2,2,"g",3),t.YNc(5,v0,2,1,"g",3)),2&a&&(t.xp6(2),t.Q6J("ngForOf",x.ticks),t.xp6(1),t.Q6J("ngIf",x.referenceLineLength>1&&x.refMax&&x.refMin&&x.showRefLines),t.xp6(1),t.Q6J("ngForOf",x.ticks),t.xp6(1),t.Q6J("ngForOf",x.referenceLines))},dependencies:[e.sg,e.O5],encapsulation:2,changeDetection:0}),f})(),H3=(()=>{class f{constructor(){this.showGridLines=!1,this.yOrient=Ha.Left,this.yAxisOffset=0,this.dimensionsChanged=new t.vpe,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(a){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===Ha.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:a}){a!==this.labelOffset&&this.yOrient===Ha.Right?(this.labelOffset=a+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:a})},0)):a!==this.labelOffset&&(this.labelOffset=a,setTimeout(()=>{this.dimensionsChanged.emit({width:a})},0))}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(a,x){if(1&a&&t.Gf(rf,5),2&a){let H;t.iGM(H=t.CRH())&&(x.ticksComponent=H.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"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:Vh,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","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","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(a,x){1&a&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Bh,1,14,"g",0),t.YNc(2,b0,1,5,"g",1),t.qZA()),2&a&&(t.uIk("class",x.yAxisClassName)("transform",x.transform),t.xp6(1),t.Q6J("ngIf",x.yScale),t.xp6(1),t.Q6J("ngIf",x.showLabel))},dependencies:[rf,F3,e.O5],encapsulation:2,changeDetection:0}),f})(),pu=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[e.ez]]}),f})();var Cl=(()=>{return(f=Cl||(Cl={})).popover="popover",f.tooltip="tooltip",Cl;var f})(),wl=(()=>{return(f=wl||(wl={}))[f.all="all"]="all",f[f.focus="focus"]="focus",f[f.mouseover="mouseover"]="mouseover",wl;var f})();let Ca=(()=>{class f{constructor(a,x,H){this.tooltipService=a,this.viewContainerRef=x,this.renderer=H,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=Jn.Top,this.tooltipAlignment=Jn.Center,this.tooltipType=Cl.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=wl.all,this.tooltipImmediateExit=!1,this.show=new t.vpe,this.hide=new t.vpe}get listensForFocus(){return this.tooltipShowEvent===wl.all||this.tooltipShowEvent===wl.focus}get listensForHover(){return this.tooltipShowEvent===wl.all||this.tooltipShowEvent===wl.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(a){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(a))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(a){if(this.component||this.tooltipDisabled)return;const x=a?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const H=this.createBoundOptions();this.component=this.tooltipService.create(H),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},x)}addHideListeners(a){this.mouseEnterContentEvent=this.renderer.listen(a,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(a,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",x=>{a.contains(x.target)||this.hideTooltip()}))}hideTooltip(a=!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),a?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 f.\u0275fac=function(a){return new(a||f)(t.Y36(P0),t.Y36(t.s_b),t.Y36(t.Qsj))},f.\u0275dir=t.lG2({type:f,selectors:[["","ngx-tooltip",""]],hostBindings:function(a,x){1&a&&t.NdJ("focusin",function(){return x.onFocus()})("blur",function(){return x.onBlur()})("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(K){return x.onMouseLeave(K.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"}}),f})(),B0=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({providers:[R3,P0],imports:[[e.ez]]}),f})();const z3={};function B1(){let f=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return f=`a${f}`,z3[f]?B1():(z3[f]=!0,f)}var ia=(()=>{return(f=ia||(ia={})).Vertical="vertical",f.Horizontal="horizontal",ia;var f})();let U0=(()=>{class f{constructor(){this.orientation=ia.Vertical}ngOnChanges(a){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===ia.Horizontal?this.x2="100%":this.orientation===ia.Vertical&&(this.y1="100%")}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[t.TTD],attrs:Kl,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(a,x){1&a&&(t.O4$(),t.TgZ(0,"linearGradient",0),t.YNc(1,Fc,1,5,"stop",1),t.qZA()),2&a&&(t.Q6J("id",x.name),t.uIk("x1",x.x1)("y1",x.y1)("x2",x.x2)("y2",x.y2),t.xp6(1),t.Q6J("ngForOf",x.stops))},dependencies:[e.sg],encapsulation:2,changeDetection:0}),f})(),gu=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:W2,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(a,x){1&a&&(t.O4$(),t._UZ(0,"rect",0)),2&a&&t.uIk("height",x.height)("width",x.width)("x",x.x)("y",x.y)},encapsulation:2,changeDetection:0}),f})();var G1=(()=>{return(f=G1||(G1={})).Odd="odd",f.Even="even",G1;var f})();let yu,_u=(()=>{class f{ngOnChanges(a){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(a=>{let x,H,K,Ee,ot,jt=G1.Odd;if(this.orient===ia.Vertical){const Yt=this.xScale(a.name);Number.parseInt((Yt/this.xScale.step()).toString(),10)%2==1&&(jt=G1.Even),x=this.xScale.bandwidth()*this.xScale.paddingInner(),H=this.xScale.bandwidth()+x,K=this.dims.height,Ee=this.xScale(a.name)-x/2,ot=0}else if(this.orient===ia.Horizontal){const Yt=this.yScale(a.name);Number.parseInt((Yt/this.yScale.step()).toString(),10)%2==1&&(jt=G1.Even),x=this.yScale.bandwidth()*this.yScale.paddingInner(),H=this.dims.width,K=this.yScale.bandwidth()+x,Ee=0,ot=this.yScale(a.name)-x/2}return{name:a.name,class:jt,height:K,width:H,x:Ee,y:ot}})}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[t.TTD],attrs:Zh,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(a,x){1&a&&t.YNc(0,Y2,1,10,"g",0),2&a&&t.Q6J("ngForOf",x.gridPanels)},dependencies:[gu,e.sg],encapsulation:2,changeDetection:0}),f})();typeof window<"u"?yu=window:typeof global<"u"&&(yu=global);let Eo=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[e.ez,pu,B0],e.ez,pu,B0]}),f})();function Cu({width:f,height:O,margins:a,showXAxis:x=!1,showYAxis:H=!1,xAxisHeight:K=0,yAxisWidth:Ee=0,showXLabel:ot=!1,showYLabel:jt=!1,showLegend:Yt=!1,legendType:di=wn.Ordinal,legendPosition:yi=Mo.Right,columns:wi=12}){let Ai=a[3],sn=f,_n=O-a[0]-a[2];return Yt&&yi===Mo.Right&&(wi-=di===wn.Ordinal?2:1),sn=sn*wi/12,sn=sn-a[1]-a[3],x&&(_n-=5,_n-=K,ot&&(_n-=30)),H&&(sn-=5,sn-=Ee,Ai+=Ee,Ai+=10,jt&&(sn-=30,Ai+=30)),sn=Math.max(0,sn),_n=Math.max(0,_n),{width:Math.floor(sn),height:Math.floor(_n),xOffset:Math.floor(Ai)}}const V3=[{name:"vivid",selectable:!0,group:wn.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:wn.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:wn.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:wn.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:wn.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:wn.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:wn.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:wn.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:wn.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:wn.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:wn.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:wn.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:wn.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:wn.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:wn.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class B3{constructor(O,a,x,H){"string"==typeof O&&(O=V3.find(K=>K.name===O)),this.colorDomain=O.domain,this.scaleType=a,this.domain=x,this.customColors=H,this.scale=this.generateColorScheme(O,a,this.domain)}generateColorScheme(O,a,x){let H;switch("string"==typeof O&&(O=V3.find(K=>K.name===O)),a){case wn.Quantile:H=H2().range(O.domain).domain(x);break;case wn.Ordinal:H=pl().range(O.domain).domain(x);break;case wn.Linear:{const K=[...O.domain];1===K.length&&(K.push(K[0]),this.colorDomain=K);const Ee=L1(0,1,1/K.length);H=to().range(K).domain(Ee)}}return H}getColor(O){if(null==O)throw new Error("Value can not be null");if(this.scaleType===wn.Linear){const a=to().domain(this.domain).range([0,1]);return this.scale(a(O))}{if("function"==typeof this.customColors)return this.customColors(O);const a=O.toString();let x;return this.customColors&&this.customColors.length>0&&(x=this.customColors.find(H=>H.name.toLowerCase()===a.toLowerCase())),x?x.value:this.scale(O)}}getLinearGradientStops(O,a){void 0===a&&(a=this.domain[0]);const x=to().domain(this.domain).range([0,1]),H=jl().domain(this.colorDomain).range([0,1]),K=this.getColor(O),Ee=x(a),ot=this.getColor(a),jt=x(O);let Yt=1,di=Ee;const yi=[];for(yi.push({color:ot,offset:Ee,originalOffset:Ee,opacity:1});di<jt&&Yt<this.colorDomain.length;){const wi=this.colorDomain[Yt],Ai=H(wi);if(Ai<=Ee)Yt++;else{if(Ai.toFixed(4)>=(jt-H.bandwidth()).toFixed(4))break;yi.push({color:wi,offset:Ai,opacity:1}),di=Ai,Yt++}}if(yi[yi.length-1].offset<100&&yi.push({color:K,offset:jt,opacity:1}),jt===Ee)yi[0].offset=0,yi[1].offset=100;else if(100!==yi[yi.length-1].offset)for(const wi of yi)wi.offset=(wi.offset-Ee)/(jt-Ee)*100;return yi}}let Z3=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Eo]]}),f})(),Z0=(()=>{class f{constructor(a){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new t.vpe,this.activate=new t.vpe,this.deactivate=new t.vpe,this.hasGradient=!1,this.hideBar=!1,this.element=a.nativeElement}ngOnChanges(a){a.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+B1().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 a=function St(f){return"string"==typeof f?new Zt([[document.querySelector(f)]],[document.documentElement]):new Zt([[f]],Wi)}(this.element).select(".bar"),x=this.getPath();this.animations?a.transition().duration(500).attr("d",x):a.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,a=this.getRadius();return this.roundEdges?this.orientation===ia.Vertical?(a=Math.min(this.height,a),x=Jl(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===ia.Horizontal&&(a=Math.min(this.width,a),x=Jl(this.x,this.y,1,this.height,0,this.edges)):this.orientation===ia.Vertical?x=Jl(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===ia.Horizontal&&(x=Jl(this.x,this.y,1,this.height,0,this.edges)),x}getPath(){let x,a=this.getRadius();return this.roundEdges?this.orientation===ia.Vertical?(a=Math.min(this.height,a),x=Jl(this.x,this.y,this.width,this.height,a,this.edges)):this.orientation===ia.Horizontal&&(a=Math.min(this.width,a),x=Jl(this.x,this.y,this.width,this.height,a,this.edges)):x=Jl(this.x,this.y,this.width,this.height,a,this.edges),x}getRadius(){let a=0;return this.roundEdges&&this.height>5&&this.width>5&&(a=Math.floor(Math.min(5,this.height/2,this.width/2))),a}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let a=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===ia.Vertical?a=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===ia.Horizontal&&(a=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),a}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===ia.Vertical&&0===this.height||this.orientation===ia.Horizontal&&0===this.width)}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.SBq))},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(a,x){1&a&&t.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:[t.TTD],attrs:q2,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(a,x){1&a&&(t.YNc(0,mn,2,3,"defs",0),t.O4$(),t.TgZ(1,"path",1),t.NdJ("click",function(){return x.select.emit(x.data)}),t.qZA()),2&a&&(t.Q6J("ngIf",x.hasGradient),t.xp6(1),t.ekj("active",x.isActive)("hidden",x.hideBar),t.uIk("d",x.path)("aria-label",x.ariaLabel)("fill",x.hasGradient?x.gradientFill:x.fill))},dependencies:[U0,e.O5],encapsulation:2,changeDetection:0}),f})();var ro=(()=>{return(f=ro||(ro={})).Standard="standard",f.Normalized="normalized",f.Stacked="stacked",ro;var f})(),jo=(()=>{return(f=jo||(jo={})).positive="positive",f.negative="negative",jo;var f})();let Su=(()=>{class f{constructor(a){this.dimensionsChanged=new t.vpe,this.horizontalPadding=2,this.verticalPadding=5,this.element=a.nativeElement}ngOnChanges(a){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):ql(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 f.\u0275fac=function(a){return new(a||f)(t.Y36(t.SBq))},f.\u0275cmp=t.Xpm({type:f,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:[t.TTD],attrs:Mn,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(a,x){1&a&&(t.O4$(),t.TgZ(0,"text",0),t._uU(1),t.qZA()),2&a&&(t.uIk("text-anchor",x.textAnchor)("transform",x.transform)("x",x.x)("y",x.y),t.xp6(1),t.hij(" ",x.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}),f})(),Eu=(()=>{class f{constructor(a){this.platformId=a,this.type=ro.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new t.vpe,this.activate=new t.vpe,this.deactivate=new t.vpe,this.dataLabelHeightChanged=new t.vpe,this.barsForDataLabels=[],this.barOrientation=ia,this.isSSR=!1}ngOnInit(){(0,e.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(a){this.update()}update(){let a;this.updateTooltipSettings(),this.series.length&&(a=this.xScale.bandwidth()),a=Math.round(a);const x=Math.max(this.yScale.domain()[0],0),H={[jo.positive]:0,[jo.negative]:0};let Ee,K=jo.positive;this.type===ro.Normalized&&(Ee=this.series.map(ot=>ot.value).reduce((ot,jt)=>ot+jt,0)),this.bars=this.series.map((ot,jt)=>{let Yt=ot.value;const di=this.getLabel(ot),yi=ql(di);K=Yt>0?jo.positive:jo.negative;const Ai={value:Yt,label:di,roundEdges:this.roundEdges,data:ot,width:a,formattedLabel:yi,height:0,x:0,y:0};if(this.type===ro.Standard)Ai.height=Math.abs(this.yScale(Yt)-this.yScale(x)),Ai.x=this.xScale(di),Ai.y=this.yScale(Yt<0?0:Yt);else if(this.type===ro.Stacked){const _n=H[K],Di=_n+Yt;H[K]+=Yt,Ai.height=this.yScale(_n)-this.yScale(Di),Ai.x=0,Ai.y=this.yScale(Di),Ai.offset0=_n,Ai.offset1=Di}else if(this.type===ro.Normalized){let _n=H[K],Di=_n+Yt;H[K]+=Yt,Ee>0?(_n=100*_n/Ee,Di=100*Di/Ee):(_n=0,Di=0),Ai.height=this.yScale(_n)-this.yScale(Di),Ai.x=0,Ai.y=this.yScale(Di),Ai.offset0=_n,Ai.offset1=Di,Yt=(Di-_n).toFixed(2)+"%"}this.colors.scaleType===wn.Ordinal?Ai.color=this.colors.getColor(di):this.type===ro.Standard?(Ai.color=this.colors.getColor(Yt),Ai.gradientStops=this.colors.getLinearGradientStops(Yt)):(Ai.color=this.colors.getColor(Ai.offset1),Ai.gradientStops=this.colors.getLinearGradientStops(Ai.offset1,Ai.offset0));let sn=yi;return Ai.ariaLabel=yi+" "+Yt.toLocaleString(),null!=this.seriesName&&(sn=`${this.seriesName} \u2022 ${yi}`,Ai.data.series=this.seriesName,Ai.ariaLabel=this.seriesName+" "+Ai.ariaLabel),Ai.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${function N0(f){return f.toLocaleString().replace(/[&'`"<>]/g,O=>({"&":"&","'":"'","`":"`",'"':""","<":"<",">":">"}[O]))}(sn)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(Yt):Yt.toLocaleString()}</span>\n `,Ai}),this.updateDataLabels()}updateDataLabels(){if(this.type===ro.Stacked){this.barsForDataLabels=[];const a={};a.series=this.seriesName;const x=this.series.map(K=>K.value).reduce((K,Ee)=>Ee>0?K+Ee:K,0),H=this.series.map(K=>K.value).reduce((K,Ee)=>Ee<0?K+Ee:K,0);a.total=x+H,a.x=0,a.y=0,a.height=this.yScale(a.total>0?x:H),a.width=this.xScale.bandwidth(),this.barsForDataLabels.push(a)}else this.barsForDataLabels=this.series.map(a=>{const x={};return x.series=this.seriesName??a.label,x.total=a.value,x.x=this.xScale(a.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:Jn.Top,this.tooltipType=this.tooltipDisabled?void 0:Cl.tooltip}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(H=>a.name===H.name&&a.value===H.value)}onClick(a){this.select.emit(a)}getLabel(a){return a.label?a.label:a.name}trackBy(a,x){return x.label}trackDataLabelBy(a,x){return a+"#"+x.series+"#"+x.total}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,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:[t.TTD],attrs:jh,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(a,x){1&a&&(t.YNc(0,T4,2,2,"g",0),t.YNc(1,A4,2,2,"g",0),t.YNc(2,L4,2,2,"g",0)),2&a&&(t.Q6J("ngIf",!x.isSSR),t.xp6(1),t.Q6J("ngIf",x.isSSR),t.xp6(1),t.Q6J("ngIf",x.showDataLabel))},dependencies:[Z0,Su,e.O5,e.sg,Ca],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1}),(0,u.jt)(500,(0,u.oB)({opacity:0}))])])]},changeDetection:0}),f})(),K3=(()=>{class f extends Wo{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Mo.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.activate=new t.vpe,this.deactivate=new t.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=Cu({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 a=this.xDomain.length/(this.dims.width/this.barPadding+1);return jl().range([0,this.dims.width]).paddingInner(a).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const a=to().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?a.nice():a}getXDomain(){return this.results.map(a=>a.label)}getYDomain(){const a=this.results.map(K=>K.value);let x=this.yScaleMin?Math.min(this.yScaleMin,...a):Math.min(0,...a);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(x=Math.min(x,...this.yAxisTicks));let H=this.yScaleMax?Math.max(this.yScaleMax,...a):Math.max(0,...a);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(H=Math.max(H,...this.yAxisTicks)),[x,H]}onClick(a){this.select.emit(a)}setColors(){let a;a=this.schemeType===wn.Ordinal?this.xDomain:this.yDomain,this.colors=new B3(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===wn.Ordinal?(a.domain=this.xDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.yDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onDataLabelMaxHeightChanged(a){a.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,a.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,a.size.height),a.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(a,x=!1){a=this.results.find(K=>x?K.label===a.name:K.name===a.name),!(this.activeEntries.findIndex(K=>K.name===a.name&&K.value===a.value&&K.series===a.series)>-1)&&(this.activeEntries=[a,...this.activeEntries],this.activate.emit({value:a,entries:this.activeEntries}))}onDeactivate(a,x=!1){a=this.results.find(K=>x?K.label===a.name:K.name===a.name);const H=this.activeEntries.findIndex(K=>K.name===a.name&&K.value===a.value&&K.series===a.series);this.activeEntries.splice(H,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:a,entries:this.activeEntries})}}return f.\u0275fac=function(){let O;return function(x){return(O||(O=t.n5z(f)))(x||f)}}(),f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(a,x,H){if(1&a&&t.Suo(H,Wt,5),2&a){let K;t.iGM(K=t.CRH())&&(x.tooltipTemplate=K.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"},outputs:{activate:"activate",deactivate:"deactivate"},features:[t.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","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","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","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"]],template:function(a,x){1&a&&(t.TgZ(0,"ngx-charts-chart",0),t.NdJ("legendLabelClick",function(K){return x.onClick(K)})("legendLabelActivate",function(K){return x.onActivate(K,!0)})("legendLabelDeactivate",function(K){return x.onDeactivate(K,!0)}),t.O4$(),t.TgZ(1,"g",1),t.YNc(2,u3,1,11,"g",2),t.YNc(3,Qh,1,9,"g",3),t.TgZ(4,"g",4),t.NdJ("activate",function(K){return x.onActivate(K)})("deactivate",function(K){return x.onDeactivate(K)})("select",function(K){return x.onClick(K)})("dataLabelHeightChanged",function(K){return x.onDataLabelMaxHeightChanged(K)}),t.qZA()()()),2&a&&(t.Q6J("view",t.WLB(22,hn,x.width,x.height))("showLegend",x.legend)("legendOptions",x.legendOptions)("activeEntries",x.activeEntries)("animations",x.animations),t.xp6(1),t.uIk("transform",x.transform),t.xp6(1),t.Q6J("ngIf",x.xAxis),t.xp6(1),t.Q6J("ngIf",x.yAxis),t.xp6(1),t.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:[H0,V0,H3,Eu,e.O5],styles:[xa],encapsulation:2,changeDetection:0}),f})(),mf=(()=>{class f extends Wo{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Mo.Right,this.tooltipDisabled=!1,this.scaleType=wn.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.activate=new t.vpe,this.deactivate=new t.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=ia,this.trackBy=(a,x)=>x.name}ngOnInit(){(0,e.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=Cu({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(a,x){a.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,a.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,a.size.height),x===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const a=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return jl().rangeRound([0,this.dims.width]).paddingInner(a).paddingOuter(a/2).domain(this.groupDomain)}getInnerScale(){const a=this.groupScale.bandwidth(),x=this.innerDomain.length/(a/this.barPadding+1);return jl().rangeRound([0,a]).paddingInner(x).domain(this.innerDomain)}getValueScale(){const a=to().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?a.nice():a}getGroupDomain(){const a=[];for(const x of this.results)a.includes(x.label)||a.push(x.label);return a}getInnerDomain(){const a=[];for(const x of this.results)for(const H of x.series)a.includes(H.label)||a.push(H.label);return a}getValueDomain(){const a=[];for(const K of this.results)for(const Ee of K.series)a.includes(Ee.value)||a.push(Ee.value);return[Math.min(0,...a),this.yScaleMax?Math.max(this.yScaleMax,...a):Math.max(0,...a)]}groupTransform(a){return`translate(${this.groupScale(a.label)}, 0)`}onClick(a,x){x&&(a.series=x.name),this.select.emit(a)}setColors(){let a;a=this.schemeType===wn.Ordinal?this.innerDomain:this.valueDomain,this.colors=new B3(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===wn.Ordinal?(a.domain=this.innerDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.valueDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onActivate(a,x,H=!1){const K=Object.assign({},a);x&&(K.series=x.name);const Ee=this.results.map(ot=>ot.series).flat().filter(ot=>H?ot.label===K.name:ot.name===K.name&&ot.series===K.series);this.activeEntries=[...Ee],this.activate.emit({value:K,entries:this.activeEntries})}onDeactivate(a,x,H=!1){const K=Object.assign({},a);x&&(K.series=x.name),this.activeEntries=this.activeEntries.filter(Ee=>H?Ee.label!==K.name:!(Ee.name===K.name&&Ee.series===K.series)),this.deactivate.emit({value:K,entries:this.activeEntries})}}return f.\u0275fac=function(){let O;return function(x){return(O||(O=t.n5z(f)))(x||f)}}(),f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(a,x,H){if(1&a&&t.Suo(H,Wt,5),2&a){let K;t.iGM(K=t.CRH())&&(x.tooltipTemplate=K.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"},outputs:{activate:"activate",deactivate:"deactivate"},features:[t.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","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","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(a,x){1&a&&(t.TgZ(0,"ngx-charts-chart",0),t.NdJ("legendLabelActivate",function(K){return x.onActivate(K,void 0,!0)})("legendLabelDeactivate",function(K){return x.onDeactivate(K,void 0,!0)})("legendLabelClick",function(K){return x.onClick(K)}),t.O4$(),t.TgZ(1,"g",1),t._UZ(2,"g",2),t.YNc(3,D4,1,10,"g",3),t.YNc(4,qh,1,9,"g",4),t.YNc(5,k4,2,2,"g",5),t.qZA(),t.YNc(6,Zo,2,2,"g",5),t.qZA()),2&a&&(t.Q6J("view",t.WLB(15,hn,x.width,x.height))("showLegend",x.legend)("legendOptions",x.legendOptions)("activeEntries",x.activeEntries)("animations",x.animations),t.xp6(1),t.uIk("transform",x.transform),t.xp6(1),t.Q6J("xScale",x.groupScale)("yScale",x.valueScale)("data",x.results)("dims",x.dims)("orient",x.barOrientation.Vertical),t.xp6(1),t.Q6J("ngIf",x.xAxis),t.xp6(1),t.Q6J("ngIf",x.yAxis),t.xp6(1),t.Q6J("ngIf",!x.isSSR),t.xp6(1),t.Q6J("ngIf",x.isSSR))},dependencies:[H0,_u,V0,H3,Eu,e.O5,e.sg],styles:[xa],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1,transform:"*"}),(0,u.jt)(500,(0,u.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}),f})(),Q3=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Eo]]}),f})();Ah();let _f=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Eo]]}),f})(),yf=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Eo]]}),f})(),q3=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Eo]]}),f})(),Tu=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Eo]]}),f})();Math;let W0=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Eo]]}),f})(),Du=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Eo,W0,Tu]]}),f})(),Y0=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Eo]]}),f})(),ku=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Eo]]}),f})(),kf=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Eo,W0,Q3]]}),f})(),Pf=(()=>{class f{constructor(){!function Of(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[Eo,Z3,Q3,_f,yf,q3,Tu,Du,Y0,W0,ku,kf]}),f})()},658:(Ve,Q,m)=>{"use strict";function t(I,E,N,z,G,W,Y){try{var X=I[W](Y),ee=X.value}catch(ue){return void N(ue)}X.done?E(ee):Promise.resolve(ee).then(z,G)}m.d(Q,{uU:()=>S,OF:()=>w});var v=m(4650),D=m(6895),o=m(3259);function C(I,E){if(1&I&&v._UZ(0,"canvas",1),2&I){const N=v.oxw();v.Q6J("qrCode",N.value)("qrCodeErrorCorrectionLevel",N.errorCorrectionLevel)("qrCodeCenterImageSrc",N.centerImageSrc)("qrCodeCenterImageWidth",N.centerImageSize)("qrCodeCenterImageHeight",N.centerImageSize)("qrCodeMargin",N.margin)("width",N.size)("height",N.size)("darkColor",N.darkColor)("lightColor",N.lightColor)}}const u=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;let P=(()=>{class I{constructor(N){this.viewContainerRef=N,this.errorCorrectionLevel=I.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var N=this;return function e(I){return function(){var E=this,N=arguments;return new Promise(function(z,G){var W=I.apply(E,N);function Y(ee){t(W,z,G,Y,X,"next",ee)}function X(ee){t(W,z,G,Y,X,"throw",ee)}Y(void 0)})}}(function*(){if(!N.value)return;N.version&&N.version>40?(console.warn("[qrCode] max version is 40, clamping"),N.version=40):N.version&&N.version<1?(console.warn("[qrCode] min version is 1, clamping"),N.version=1):void 0!==N.version&&isNaN(N.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),N.version=void 0);const z=N.viewContainerRef.element.nativeElement;if(!z)return;const G=z.getContext("2d");G&&G.clearRect(0,0,G.canvas.width,G.canvas.height);const W=N.errorCorrectionLevel??I.DEFAULT_ERROR_CORRECTION_LEVEL,Y=u.test(N.darkColor)?N.darkColor:void 0,X=u.test(N.lightColor)?N.lightColor:void 0;(0,v.X6Q)()&&(!Y&&N.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!X&&N.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield o.toCanvas(z,N.value,{version:N.version,errorCorrectionLevel:W,width:N.width,margin:N.margin,color:{dark:Y,light:X}});const ee=N.centerImageSrc,ue=d(N.centerImageWidth,I.DEFAULT_CENTER_IMAGE_SIZE),he=d(N.centerImageHeight,I.DEFAULT_CENTER_IMAGE_SIZE);if(ee&&G){N.centerImage||(N.centerImage=new Image(ue,he));const ie=N.centerImage;ee!==N.centerImage.src&&(ie.src=ee),ue!==N.centerImage.width&&(ie.width=ue),he!==N.centerImage.height&&(ie.height=he);const ce=()=>{G.drawImage(ie,z.width/2-ue/2,z.height/2-he/2,ue,he)};ie.onload=ce,ie.complete&&ce()}})()}}return I.DEFAULT_ERROR_CORRECTION_LEVEL="M",I.DEFAULT_CENTER_IMAGE_SIZE=40,I.\u0275fac=function(N){return new(N||I)(v.Y36(v.s_b))},I.\u0275dir=v.lG2({type:I,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:[v.TTD]}),I})();function d(I,E){return void 0===I||""===I?E:"string"==typeof I?parseInt(I,10):I}let S=(()=>{class I{}return I.\u0275fac=function(N){return new(N||I)},I.\u0275cmp=v.Xpm({type:I,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",4,"ngIf"],[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","width","height","darkColor","lightColor"]],template:function(N,z){1&N&&v.YNc(0,C,1,10,"canvas",0),2&N&&v.Q6J("ngIf",z.value)},dependencies:[D.O5,P],encapsulation:2}),I})(),w=(()=>{class I{}return I.\u0275fac=function(N){return new(N||I)},I.\u0275mod=v.oAB({type:I}),I.\u0275inj=v.cJS({imports:[D.ez]}),I})()},6839:(Ve,Q,m)=>{"use strict";m.d(Q,{op:()=>bt,Vv:()=>ni,$V:()=>at,Xd:()=>ti});var t=m(7579),e=m(4968),v=m(6451),D=m(3601),o=m(2722),C=m(1884),u=m(9718),P=m(4650),d=m(6895);function S(dt){return getComputedStyle(dt)}function w(dt,rt){for(var vt in rt){var ai=rt[vt];"number"==typeof ai&&(ai+="px"),dt.style[vt]=ai}return dt}function I(dt){var rt=document.createElement("div");return rt.className=dt,rt}var E=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function N(dt,rt){if(!E)throw new Error("No element matching method supported");return E.call(dt,rt)}function z(dt){dt.remove?dt.remove():dt.parentNode&&dt.parentNode.removeChild(dt)}function G(dt,rt){return Array.prototype.filter.call(dt.children,function(vt){return N(vt,rt)})}var W_element_thumb=function(dt){return"ps__thumb-"+dt},W_element_rail=function(dt){return"ps__rail-"+dt},W_element_consuming="ps__child--consume",W_state_focus="ps--focus",W_state_clicking="ps--clicking",W_state_active=function(dt){return"ps--active-"+dt},W_state_scrolling=function(dt){return"ps--scrolling-"+dt},Y={x:null,y:null};function X(dt,rt){var vt=dt.element.classList,ai=W_state_scrolling(rt);vt.contains(ai)?clearTimeout(Y[rt]):vt.add(ai)}function ee(dt,rt){Y[rt]=setTimeout(function(){return dt.isAlive&&dt.element.classList.remove(W_state_scrolling(rt))},dt.settings.scrollingThreshold)}var he=function(rt){this.element=rt,this.handlers={}},ie={isEmpty:{configurable:!0}};he.prototype.bind=function(rt,vt){typeof this.handlers[rt]>"u"&&(this.handlers[rt]=[]),this.handlers[rt].push(vt),this.element.addEventListener(rt,vt,!1)},he.prototype.unbind=function(rt,vt){var ai=this;this.handlers[rt]=this.handlers[rt].filter(function(Ut){return!(!vt||Ut===vt)||(ai.element.removeEventListener(rt,Ut,!1),!1)})},he.prototype.unbindAll=function(){for(var rt in this.handlers)this.unbind(rt)},ie.isEmpty.get=function(){var dt=this;return Object.keys(this.handlers).every(function(rt){return 0===dt.handlers[rt].length})},Object.defineProperties(he.prototype,ie);var ce=function(){this.eventElements=[]};function $(dt){if("function"==typeof window.CustomEvent)return new CustomEvent(dt);var rt=document.createEvent("CustomEvent");return rt.initCustomEvent(dt,!1,!1,void 0),rt}function fe(dt,rt,vt,ai,Ut){var Vt;if(void 0===ai&&(ai=!0),void 0===Ut&&(Ut=!1),"top"===rt)Vt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==rt)throw new Error("A proper axis should be provided");Vt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function T(dt,rt,vt,ai,Ut){var Vt=vt[0],Rt=vt[1],je=vt[2],Fe=vt[3],We=vt[4],Je=vt[5];void 0===ai&&(ai=!0),void 0===Ut&&(Ut=!1);var Tt=dt.element;dt.reach[Fe]=null,Tt[je]<1&&(dt.reach[Fe]="start"),Tt[je]>dt[Vt]-dt[Rt]-1&&(dt.reach[Fe]="end"),rt&&(Tt.dispatchEvent($("ps-scroll-"+Fe)),rt<0?Tt.dispatchEvent($("ps-scroll-"+We)):rt>0&&Tt.dispatchEvent($("ps-scroll-"+Je)),ai&&function ue(dt,rt){X(dt,rt),ee(dt,rt)}(dt,Fe)),dt.reach[Fe]&&(rt||Ut)&&Tt.dispatchEvent($("ps-"+Fe+"-reach-"+dt.reach[Fe]))}(dt,vt,Vt,ai,Ut)}function i(dt){return parseInt(dt,10)||0}ce.prototype.eventElement=function(rt){var vt=this.eventElements.filter(function(ai){return ai.element===rt})[0];return vt||(vt=new he(rt),this.eventElements.push(vt)),vt},ce.prototype.bind=function(rt,vt,ai){this.eventElement(rt).bind(vt,ai)},ce.prototype.unbind=function(rt,vt,ai){var Ut=this.eventElement(rt);Ut.unbind(vt,ai),Ut.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(Ut),1)},ce.prototype.unbindAll=function(){this.eventElements.forEach(function(rt){return rt.unbindAll()}),this.eventElements=[]},ce.prototype.once=function(rt,vt,ai){var Ut=this.eventElement(rt),Vt=function(Rt){Ut.unbind(vt,Vt),ai(Rt)};Ut.bind(vt,Vt)};var l={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 y(dt){var rt=dt.element,vt=Math.floor(rt.scrollTop),ai=rt.getBoundingClientRect();dt.containerWidth=Math.round(ai.width),dt.containerHeight=Math.round(ai.height),dt.contentWidth=rt.scrollWidth,dt.contentHeight=rt.scrollHeight,rt.contains(dt.scrollbarXRail)||(G(rt,W_element_rail("x")).forEach(function(Ut){return z(Ut)}),rt.appendChild(dt.scrollbarXRail)),rt.contains(dt.scrollbarYRail)||(G(rt,W_element_rail("y")).forEach(function(Ut){return z(Ut)}),rt.appendChild(dt.scrollbarYRail)),!dt.settings.suppressScrollX&&dt.containerWidth+dt.settings.scrollXMarginOffset<dt.contentWidth?(dt.scrollbarXActive=!0,dt.railXWidth=dt.containerWidth-dt.railXMarginWidth,dt.railXRatio=dt.containerWidth/dt.railXWidth,dt.scrollbarXWidth=A(dt,i(dt.railXWidth*dt.containerWidth/dt.contentWidth)),dt.scrollbarXLeft=i((dt.negativeScrollAdjustment+rt.scrollLeft)*(dt.railXWidth-dt.scrollbarXWidth)/(dt.contentWidth-dt.containerWidth))):dt.scrollbarXActive=!1,!dt.settings.suppressScrollY&&dt.containerHeight+dt.settings.scrollYMarginOffset<dt.contentHeight?(dt.scrollbarYActive=!0,dt.railYHeight=dt.containerHeight-dt.railYMarginHeight,dt.railYRatio=dt.containerHeight/dt.railYHeight,dt.scrollbarYHeight=A(dt,i(dt.railYHeight*dt.containerHeight/dt.contentHeight)),dt.scrollbarYTop=i(vt*(dt.railYHeight-dt.scrollbarYHeight)/(dt.contentHeight-dt.containerHeight))):dt.scrollbarYActive=!1,dt.scrollbarXLeft>=dt.railXWidth-dt.scrollbarXWidth&&(dt.scrollbarXLeft=dt.railXWidth-dt.scrollbarXWidth),dt.scrollbarYTop>=dt.railYHeight-dt.scrollbarYHeight&&(dt.scrollbarYTop=dt.railYHeight-dt.scrollbarYHeight),function k(dt,rt){var vt={width:rt.railXWidth},ai=Math.floor(dt.scrollTop);vt.left=rt.isRtl?rt.negativeScrollAdjustment+dt.scrollLeft+rt.containerWidth-rt.contentWidth:dt.scrollLeft,rt.isScrollbarXUsingBottom?vt.bottom=rt.scrollbarXBottom-ai:vt.top=rt.scrollbarXTop+ai,w(rt.scrollbarXRail,vt);var Ut={top:ai,height:rt.railYHeight};rt.isScrollbarYUsingRight?Ut.right=rt.isRtl?rt.contentWidth-(rt.negativeScrollAdjustment+dt.scrollLeft)-rt.scrollbarYRight-rt.scrollbarYOuterWidth-9:rt.scrollbarYRight-dt.scrollLeft:Ut.left=rt.isRtl?rt.negativeScrollAdjustment+dt.scrollLeft+2*rt.containerWidth-rt.contentWidth-rt.scrollbarYLeft-rt.scrollbarYOuterWidth:rt.scrollbarYLeft+dt.scrollLeft,w(rt.scrollbarYRail,Ut),w(rt.scrollbarX,{left:rt.scrollbarXLeft,width:rt.scrollbarXWidth-rt.railBorderXWidth}),w(rt.scrollbarY,{top:rt.scrollbarYTop,height:rt.scrollbarYHeight-rt.railBorderYWidth})}(rt,dt),dt.scrollbarXActive?rt.classList.add(W_state_active("x")):(rt.classList.remove(W_state_active("x")),dt.scrollbarXWidth=0,dt.scrollbarXLeft=0,rt.scrollLeft=!0===dt.isRtl?dt.contentWidth:0),dt.scrollbarYActive?rt.classList.add(W_state_active("y")):(rt.classList.remove(W_state_active("y")),dt.scrollbarYHeight=0,dt.scrollbarYTop=0,rt.scrollTop=0)}function A(dt,rt){return dt.settings.minScrollbarLength&&(rt=Math.max(rt,dt.settings.minScrollbarLength)),dt.settings.maxScrollbarLength&&(rt=Math.min(rt,dt.settings.maxScrollbarLength)),rt}function b(dt,rt){var vt=rt[0],ai=rt[1],Ut=rt[2],Vt=rt[3],Rt=rt[4],je=rt[5],Fe=rt[6],We=rt[7],Je=rt[8],Tt=dt.element,ui=null,Ei=null,xi=null;function Vi(ye){ye.touches&&ye.touches[0]&&(ye[Ut]=ye.touches[0].pageY),Tt[Fe]=ui+xi*(ye[Ut]-Ei),X(dt,We),y(dt),ye.stopPropagation(),ye.type.startsWith("touch")&&ye.changedTouches.length>1&&ye.preventDefault()}function $e(){ee(dt,We),dt[Je].classList.remove(W_state_clicking),dt.event.unbind(dt.ownerDocument,"mousemove",Vi)}function Mt(ye,Ot){ui=Tt[Fe],Ot&&ye.touches&&(ye[Ut]=ye.touches[0].pageY),Ei=ye[Ut],xi=(dt[ai]-dt[vt])/(dt[Vt]-dt[je]),Ot?dt.event.bind(dt.ownerDocument,"touchmove",Vi):(dt.event.bind(dt.ownerDocument,"mousemove",Vi),dt.event.once(dt.ownerDocument,"mouseup",$e),ye.preventDefault()),dt[Je].classList.add(W_state_clicking),ye.stopPropagation()}dt.event.bind(dt[Rt],"mousedown",function(ye){Mt(ye)}),dt.event.bind(dt[Rt],"touchstart",function(ye){Mt(ye,!0)})}var Ke={"click-rail":function g(dt){dt.event.bind(dt.scrollbarY,"mousedown",function(vt){return vt.stopPropagation()}),dt.event.bind(dt.scrollbarYRail,"mousedown",function(vt){var ai=vt.pageY-window.pageYOffset-dt.scrollbarYRail.getBoundingClientRect().top;dt.element.scrollTop+=(ai>dt.scrollbarYTop?1:-1)*dt.containerHeight,y(dt),vt.stopPropagation()}),dt.event.bind(dt.scrollbarX,"mousedown",function(vt){return vt.stopPropagation()}),dt.event.bind(dt.scrollbarXRail,"mousedown",function(vt){var ai=vt.pageX-window.pageXOffset-dt.scrollbarXRail.getBoundingClientRect().left;dt.element.scrollLeft+=(ai>dt.scrollbarXLeft?1:-1)*dt.containerWidth,y(dt),vt.stopPropagation()})},"drag-thumb":function n(dt){b(dt,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),b(dt,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function U(dt){var rt=dt.element;dt.event.bind(dt.ownerDocument,"keydown",function(Vt){if(!(Vt.isDefaultPrevented&&Vt.isDefaultPrevented()||Vt.defaultPrevented)&&(N(rt,":hover")||N(dt.scrollbarX,":focus")||N(dt.scrollbarY,":focus"))){var Rt=document.activeElement?document.activeElement:dt.ownerDocument.activeElement;if(Rt){if("IFRAME"===Rt.tagName)Rt=Rt.contentDocument.activeElement;else for(;Rt.shadowRoot;)Rt=Rt.shadowRoot.activeElement;if(function r(dt){return N(dt,"input,[contenteditable]")||N(dt,"select,[contenteditable]")||N(dt,"textarea,[contenteditable]")||N(dt,"button,[contenteditable]")}(Rt))return}var je=0,Fe=0;switch(Vt.which){case 37:je=Vt.metaKey?-dt.contentWidth:Vt.altKey?-dt.containerWidth:-30;break;case 38:Fe=Vt.metaKey?dt.contentHeight:Vt.altKey?dt.containerHeight:30;break;case 39:je=Vt.metaKey?dt.contentWidth:Vt.altKey?dt.containerWidth:30;break;case 40:Fe=Vt.metaKey?-dt.contentHeight:Vt.altKey?-dt.containerHeight:-30;break;case 32:Fe=Vt.shiftKey?dt.containerHeight:-dt.containerHeight;break;case 33:Fe=dt.containerHeight;break;case 34:Fe=-dt.containerHeight;break;case 36:Fe=dt.contentHeight;break;case 35:Fe=-dt.contentHeight;break;default:return}dt.settings.suppressScrollX&&0!==je||dt.settings.suppressScrollY&&0!==Fe||(rt.scrollTop-=Fe,rt.scrollLeft+=je,y(dt),function Ut(Vt,Rt){var je=Math.floor(rt.scrollTop);if(0===Vt){if(!dt.scrollbarYActive)return!1;if(0===je&&Rt>0||je>=dt.contentHeight-dt.containerHeight&&Rt<0)return!dt.settings.wheelPropagation}var Fe=rt.scrollLeft;if(0===Rt){if(!dt.scrollbarXActive)return!1;if(0===Fe&&Vt<0||Fe>=dt.contentWidth-dt.containerWidth&&Vt>0)return!dt.settings.wheelPropagation}return!0}(je,Fe)&&Vt.preventDefault())}})},wheel:function V(dt){var rt=dt.element;function Vt(Rt){var je=function ai(Rt){var je=Rt.deltaX,Fe=-1*Rt.deltaY;return(typeof je>"u"||typeof Fe>"u")&&(je=-1*Rt.wheelDeltaX/6,Fe=Rt.wheelDeltaY/6),Rt.deltaMode&&1===Rt.deltaMode&&(je*=10,Fe*=10),je!=je&&Fe!=Fe&&(je=0,Fe=Rt.wheelDelta),Rt.shiftKey?[-Fe,-je]:[je,Fe]}(Rt),Fe=je[0],We=je[1];if(!function Ut(Rt,je,Fe){if(!l.isWebKit&&rt.querySelector("select:focus"))return!0;if(!rt.contains(Rt))return!1;for(var We=Rt;We&&We!==rt;){if(We.classList.contains(W_element_consuming))return!0;var Je=S(We);if(Fe&&Je.overflowY.match(/(scroll|auto)/)){var Tt=We.scrollHeight-We.clientHeight;if(Tt>0&&(We.scrollTop>0&&Fe<0||We.scrollTop<Tt&&Fe>0))return!0}if(je&&Je.overflowX.match(/(scroll|auto)/)){var ui=We.scrollWidth-We.clientWidth;if(ui>0&&(We.scrollLeft>0&&je<0||We.scrollLeft<ui&&je>0))return!0}We=We.parentNode}return!1}(Rt.target,Fe,We)){var Je=!1;dt.settings.useBothWheelAxes?dt.scrollbarYActive&&!dt.scrollbarXActive?(We?rt.scrollTop-=We*dt.settings.wheelSpeed:rt.scrollTop+=Fe*dt.settings.wheelSpeed,Je=!0):dt.scrollbarXActive&&!dt.scrollbarYActive&&(Fe?rt.scrollLeft+=Fe*dt.settings.wheelSpeed:rt.scrollLeft-=We*dt.settings.wheelSpeed,Je=!0):(rt.scrollTop-=We*dt.settings.wheelSpeed,rt.scrollLeft+=Fe*dt.settings.wheelSpeed),y(dt),Je=Je||function vt(Rt,je){var Fe=Math.floor(rt.scrollTop),We=0===rt.scrollTop,Je=Fe+rt.offsetHeight===rt.scrollHeight,Tt=0===rt.scrollLeft,ui=rt.scrollLeft+rt.offsetWidth===rt.scrollWidth;return!(Math.abs(je)>Math.abs(Rt)?We||Je:Tt||ui)||!dt.settings.wheelPropagation}(Fe,We),Je&&!Rt.ctrlKey&&(Rt.stopPropagation(),Rt.preventDefault())}}typeof window.onwheel<"u"?dt.event.bind(rt,"wheel",Vt):typeof window.onmousewheel<"u"&&dt.event.bind(rt,"mousewheel",Vt)},touch:function j(dt){if(l.supportsTouch||l.supportsIePointer){var rt=dt.element,Ut={},Vt=0,Rt={},je=null;l.supportsTouch?(dt.event.bind(rt,"touchstart",Je),dt.event.bind(rt,"touchmove",ui),dt.event.bind(rt,"touchend",Ei)):l.supportsIePointer&&(window.PointerEvent?(dt.event.bind(rt,"pointerdown",Je),dt.event.bind(rt,"pointermove",ui),dt.event.bind(rt,"pointerup",Ei)):window.MSPointerEvent&&(dt.event.bind(rt,"MSPointerDown",Je),dt.event.bind(rt,"MSPointerMove",ui),dt.event.bind(rt,"MSPointerUp",Ei)))}function ai(xi,Vi){rt.scrollTop-=Vi,rt.scrollLeft-=xi,y(dt)}function Fe(xi){return xi.targetTouches?xi.targetTouches[0]:xi}function We(xi){return!(xi.pointerType&&"pen"===xi.pointerType&&0===xi.buttons||!(xi.targetTouches&&1===xi.targetTouches.length||xi.pointerType&&"mouse"!==xi.pointerType&&xi.pointerType!==xi.MSPOINTER_TYPE_MOUSE))}function Je(xi){if(We(xi)){var Vi=Fe(xi);Ut.pageX=Vi.pageX,Ut.pageY=Vi.pageY,Vt=(new Date).getTime(),null!==je&&clearInterval(je)}}function ui(xi){if(We(xi)){var Vi=Fe(xi),$e={pageX:Vi.pageX,pageY:Vi.pageY},Mt=$e.pageX-Ut.pageX,ye=$e.pageY-Ut.pageY;if(function Tt(xi,Vi,$e){if(!rt.contains(xi))return!1;for(var Mt=xi;Mt&&Mt!==rt;){if(Mt.classList.contains(W_element_consuming))return!0;var ye=S(Mt);if($e&&ye.overflowY.match(/(scroll|auto)/)){var Ot=Mt.scrollHeight-Mt.clientHeight;if(Ot>0&&(Mt.scrollTop>0&&$e<0||Mt.scrollTop<Ot&&$e>0))return!0}if(Vi&&ye.overflowX.match(/(scroll|auto)/)){var Kt=Mt.scrollWidth-Mt.clientWidth;if(Kt>0&&(Mt.scrollLeft>0&&Vi<0||Mt.scrollLeft<Kt&&Vi>0))return!0}Mt=Mt.parentNode}return!1}(xi.target,Mt,ye))return;ai(Mt,ye),Ut=$e;var Ot=(new Date).getTime(),Kt=Ot-Vt;Kt>0&&(Rt.x=Mt/Kt,Rt.y=ye/Kt,Vt=Ot),function vt(xi,Vi){var $e=Math.floor(rt.scrollTop),Mt=rt.scrollLeft,ye=Math.abs(xi),Ot=Math.abs(Vi);if(Ot>ye){if(Vi<0&&$e===dt.contentHeight-dt.containerHeight||Vi>0&&0===$e)return 0===window.scrollY&&Vi>0&&l.isChrome}else if(ye>Ot&&(xi<0&&Mt===dt.contentWidth-dt.containerWidth||xi>0&&0===Mt))return!0;return!0}(Mt,ye)&&xi.preventDefault()}}function Ei(){dt.settings.swipeEasing&&(clearInterval(je),je=setInterval(function(){dt.isInitialized?clearInterval(je):Rt.x||Rt.y?Math.abs(Rt.x)<.01&&Math.abs(Rt.y)<.01?clearInterval(je):dt.element?(ai(30*Rt.x,30*Rt.y),Rt.x*=.8,Rt.y*=.8):clearInterval(je):clearInterval(je)},10))}}},qe=function(rt,vt){var ai=this;if(void 0===vt&&(vt={}),"string"==typeof rt&&(rt=document.querySelector(rt)),!rt||!rt.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var Ut in this.element=rt,rt.classList.add("ps"),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},vt)this.settings[Ut]=vt[Ut];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var Je,We,Vt=function(){return rt.classList.add(W_state_focus)},Rt=function(){return rt.classList.remove(W_state_focus)};this.isRtl="rtl"===S(rt).direction,!0===this.isRtl&&rt.classList.add("ps__rtl"),this.isNegativeScroll=(We=rt.scrollLeft,rt.scrollLeft=-1,Je=rt.scrollLeft<0,rt.scrollLeft=We,Je),this.negativeScrollAdjustment=this.isNegativeScroll?rt.scrollWidth-rt.clientWidth:0,this.event=new ce,this.ownerDocument=rt.ownerDocument||document,this.scrollbarXRail=I(W_element_rail("x")),rt.appendChild(this.scrollbarXRail),this.scrollbarX=I(W_element_thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Vt),this.event.bind(this.scrollbarX,"blur",Rt),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var je=S(this.scrollbarXRail);this.scrollbarXBottom=parseInt(je.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=i(je.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=i(je.borderLeftWidth)+i(je.borderRightWidth),w(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=i(je.marginLeft)+i(je.marginRight),w(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=I(W_element_rail("y")),rt.appendChild(this.scrollbarYRail),this.scrollbarY=I(W_element_thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Vt),this.event.bind(this.scrollbarY,"blur",Rt),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var Fe=S(this.scrollbarYRail);this.scrollbarYRight=parseInt(Fe.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=i(Fe.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function h(dt){var rt=S(dt);return i(rt.width)+i(rt.paddingLeft)+i(rt.paddingRight)+i(rt.borderLeftWidth)+i(rt.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=i(Fe.borderTopWidth)+i(Fe.borderBottomWidth),w(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=i(Fe.marginTop)+i(Fe.marginBottom),w(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:rt.scrollLeft<=0?"start":rt.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:rt.scrollTop<=0?"start":rt.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(We){return Ke[We](ai)}),this.lastScrollTop=Math.floor(rt.scrollTop),this.lastScrollLeft=rt.scrollLeft,this.event.bind(this.element,"scroll",function(We){return ai.onScroll(We)}),y(this)};qe.prototype.update=function(){!this.isAlive||(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,w(this.scrollbarXRail,{display:"block"}),w(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=i(S(this.scrollbarXRail).marginLeft)+i(S(this.scrollbarXRail).marginRight),this.railYMarginHeight=i(S(this.scrollbarYRail).marginTop)+i(S(this.scrollbarYRail).marginBottom),w(this.scrollbarXRail,{display:"none"}),w(this.scrollbarYRail,{display:"none"}),y(this),fe(this,"top",0,!1,!0),fe(this,"left",0,!1,!0),w(this.scrollbarXRail,{display:""}),w(this.scrollbarYRail,{display:""}))},qe.prototype.onScroll=function(rt){!this.isAlive||(y(this),fe(this,"top",this.element.scrollTop-this.lastScrollTop),fe(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},qe.prototype.destroy=function(){!this.isAlive||(this.event.unbindAll(),z(this.scrollbarX),z(this.scrollbarY),z(this.scrollbarXRail),z(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},qe.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(rt){return!rt.match(/^ps([-_].+|)$/)}).join(" ")};const ct=qe;var Ie=function(){if(typeof Map<"u")return Map;function dt(rt,vt){var ai=-1;return rt.some(function(Ut,Vt){return Ut[0]===vt&&(ai=Vt,!0)}),ai}return function(){function rt(){this.__entries__=[]}return Object.defineProperty(rt.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),rt.prototype.get=function(vt){var ai=dt(this.__entries__,vt),Ut=this.__entries__[ai];return Ut&&Ut[1]},rt.prototype.set=function(vt,ai){var Ut=dt(this.__entries__,vt);~Ut?this.__entries__[Ut][1]=ai:this.__entries__.push([vt,ai])},rt.prototype.delete=function(vt){var ai=this.__entries__,Ut=dt(ai,vt);~Ut&&ai.splice(Ut,1)},rt.prototype.has=function(vt){return!!~dt(this.__entries__,vt)},rt.prototype.clear=function(){this.__entries__.splice(0)},rt.prototype.forEach=function(vt,ai){void 0===ai&&(ai=null);for(var Ut=0,Vt=this.__entries__;Ut<Vt.length;Ut++){var Rt=Vt[Ut];vt.call(ai,Rt[1],Rt[0])}},rt}()}(),xe=typeof window<"u"&&typeof document<"u"&&window.document===document,le=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),_e="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(le):function(dt){return setTimeout(function(){return dt(Date.now())},1e3/60)},oe=["top","right","bottom","left","width","height","size","weight"],be=typeof MutationObserver<"u",te=function(){function dt(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function Ye(dt,rt){var vt=!1,ai=!1,Ut=0;function Vt(){vt&&(vt=!1,dt()),ai&&je()}function Rt(){_e(Vt)}function je(){var Fe=Date.now();if(vt){if(Fe-Ut<2)return;ai=!0}else vt=!0,ai=!1,setTimeout(Rt,rt);Ut=Fe}return je}(this.refresh.bind(this),20)}return dt.prototype.addObserver=function(rt){~this.observers_.indexOf(rt)||this.observers_.push(rt),this.connected_||this.connect_()},dt.prototype.removeObserver=function(rt){var vt=this.observers_,ai=vt.indexOf(rt);~ai&&vt.splice(ai,1),!vt.length&&this.connected_&&this.disconnect_()},dt.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},dt.prototype.updateObservers_=function(){var rt=this.observers_.filter(function(vt){return vt.gatherActive(),vt.hasActive()});return rt.forEach(function(vt){return vt.broadcastActive()}),rt.length>0},dt.prototype.connect_=function(){!xe||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),be?(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)},dt.prototype.disconnect_=function(){!xe||!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)},dt.prototype.onTransitionEnd_=function(rt){var vt=rt.propertyName,ai=void 0===vt?"":vt;oe.some(function(Vt){return!!~ai.indexOf(Vt)})&&this.refresh()},dt.getInstance=function(){return this.instance_||(this.instance_=new dt),this.instance_},dt.instance_=null,dt}(),Ue=function(dt,rt){for(var vt=0,ai=Object.keys(rt);vt<ai.length;vt++){var Ut=ai[vt];Object.defineProperty(dt,Ut,{value:rt[Ut],enumerable:!1,writable:!1,configurable:!0})}return dt},Be=function(dt){return dt&&dt.ownerDocument&&dt.ownerDocument.defaultView||le},q=ne(0,0,0,0);function de(dt){return parseFloat(dt)||0}function Ce(dt){for(var rt=[],vt=1;vt<arguments.length;vt++)rt[vt-1]=arguments[vt];return rt.reduce(function(ai,Ut){return ai+de(dt["border-"+Ut+"-width"])},0)}var wt=typeof SVGGraphicsElement<"u"?function(dt){return dt instanceof Be(dt).SVGGraphicsElement}:function(dt){return dt instanceof Be(dt).SVGElement&&"function"==typeof dt.getBBox};function qt(dt){return xe?wt(dt)?function ht(dt){var rt=dt.getBBox();return ne(0,0,rt.width,rt.height)}(dt):function nt(dt){var rt=dt.clientWidth,vt=dt.clientHeight;if(!rt&&!vt)return q;var ai=Be(dt).getComputedStyle(dt),Ut=function ke(dt){for(var vt={},ai=0,Ut=["top","right","bottom","left"];ai<Ut.length;ai++){var Vt=Ut[ai];vt[Vt]=de(dt["padding-"+Vt])}return vt}(ai),Vt=Ut.left+Ut.right,Rt=Ut.top+Ut.bottom,je=de(ai.width),Fe=de(ai.height);if("border-box"===ai.boxSizing&&(Math.round(je+Vt)!==rt&&(je-=Ce(ai,"left","right")+Vt),Math.round(Fe+Rt)!==vt&&(Fe-=Ce(ai,"top","bottom")+Rt)),!function it(dt){return dt===Be(dt).document.documentElement}(dt)){var We=Math.round(je+Vt)-rt,Je=Math.round(Fe+Rt)-vt;1!==Math.abs(We)&&(je-=We),1!==Math.abs(Je)&&(Fe-=Je)}return ne(Ut.left,Ut.top,je,Fe)}(dt):q}function ne(dt,rt,vt,ai){return{x:dt,y:rt,width:vt,height:ai}}var Nt=function(){function dt(rt){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ne(0,0,0,0),this.target=rt}return dt.prototype.isActive=function(){var rt=qt(this.target);return this.contentRect_=rt,rt.width!==this.broadcastWidth||rt.height!==this.broadcastHeight},dt.prototype.broadcastRect=function(){var rt=this.contentRect_;return this.broadcastWidth=rt.width,this.broadcastHeight=rt.height,rt},dt}(),De=function dt(rt,vt){var ai=function _t(dt){var rt=dt.x,vt=dt.y,ai=dt.width,Ut=dt.height,Vt=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,Rt=Object.create(Vt.prototype);return Ue(Rt,{x:rt,y:vt,width:ai,height:Ut,top:vt,right:rt+ai,bottom:Ut+vt,left:rt}),Rt}(vt);Ue(this,{target:rt,contentRect:ai})},He=function(){function dt(rt,vt,ai){if(this.activeObservations_=[],this.observations_=new Ie,"function"!=typeof rt)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=rt,this.controller_=vt,this.callbackCtx_=ai}return dt.prototype.observe=function(rt){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(rt instanceof Be(rt).Element))throw new TypeError('parameter 1 is not of type "Element".');var vt=this.observations_;vt.has(rt)||(vt.set(rt,new Nt(rt)),this.controller_.addObserver(this),this.controller_.refresh())}},dt.prototype.unobserve=function(rt){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(rt instanceof Be(rt).Element))throw new TypeError('parameter 1 is not of type "Element".');var vt=this.observations_;!vt.has(rt)||(vt.delete(rt),vt.size||this.controller_.removeObserver(this))}},dt.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},dt.prototype.gatherActive=function(){var rt=this;this.clearActive(),this.observations_.forEach(function(vt){vt.isActive()&&rt.activeObservations_.push(vt)})},dt.prototype.broadcastActive=function(){if(this.hasActive()){var rt=this.callbackCtx_,vt=this.activeObservations_.map(function(ai){return new De(ai.target,ai.broadcastRect())});this.callback_.call(rt,vt,rt),this.clearActive()}},dt.prototype.clearActive=function(){this.activeObservations_.splice(0)},dt.prototype.hasActive=function(){return this.activeObservations_.length>0},dt}(),Ct=typeof WeakMap<"u"?new WeakMap:new Ie,Pe=function dt(rt){if(!(this instanceof dt))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var vt=te.getInstance(),ai=new He(rt,vt,this);Ct.set(this,ai)};["observe","unobserve","disconnect"].forEach(function(dt){Pe.prototype[dt]=function(){var rt;return(rt=Ct.get(this))[dt].apply(rt,arguments)}});const Bt=typeof le.ResizeObserver<"u"?le.ResizeObserver:Pe;function Lt(dt,rt){if(1&dt&&(P.TgZ(0,"div",3),P._UZ(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),P.qZA()),2&dt){const vt=P.oxw();P.ekj("ps-at-top",vt.states.top)("ps-at-left",vt.states.left)("ps-at-right",vt.states.right)("ps-at-bottom",vt.states.bottom),P.xp6(1),P.ekj("ps-indicator-show",vt.indicatorY&&vt.interaction),P.xp6(1),P.ekj("ps-indicator-show",vt.indicatorX&&vt.interaction),P.xp6(1),P.ekj("ps-indicator-show",vt.indicatorX&&vt.interaction),P.xp6(1),P.ekj("ps-indicator-show",vt.indicatorY&&vt.interaction)}}const Ht=["*"],bt=new P.OlP("PERFECT_SCROLLBAR_CONFIG");class Me{constructor(rt,vt,ai,Ut){this.x=rt,this.y=vt,this.w=ai,this.h=Ut}}class J{constructor(rt,vt){this.x=rt,this.y=vt}}const ve=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Re{constructor(rt={}){this.assign(rt)}assign(rt={}){for(const vt in rt)this[vt]=rt[vt]}}let at=(()=>{class dt{constructor(vt,ai,Ut,Vt,Rt){this.zone=vt,this.differs=ai,this.elementRef=Ut,this.platformId=Vt,this.defaults=Rt,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new t.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 vt=new Re(this.defaults);vt.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new ct(this.elementRef.nativeElement,vt)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new Bt(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{ve.forEach(ai=>{const Ut=ai.replace(/([A-Z])/g,Vt=>`-${Vt.toLowerCase()}`);(0,e.R)(this.elementRef.nativeElement,Ut).pipe((0,D.e)(20),(0,o.R)(this.ngDestroy)).subscribe(Vt=>{this[ai].emit(Vt)})})})}}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(vt){vt.disabled&&!vt.disabled.isFirstChange()&&(0,d.NF)(this.platformId)&&vt.disabled.currentValue!==vt.disabled.previousValue&&(!0===vt.disabled.currentValue?this.ngOnDestroy():!1===vt.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(vt="scroll"){return new Me(this.elementRef.nativeElement[vt+"Left"],this.elementRef.nativeElement[vt+"Top"],this.elementRef.nativeElement[vt+"Width"],this.elementRef.nativeElement[vt+"Height"])}position(vt=!1){return!vt&&this.instance?new J(this.instance.reach.x||0,this.instance.reach.y||0):new J(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(vt="any"){const ai=this.elementRef.nativeElement;return"any"===vt?ai.classList.contains("ps--active-x")||ai.classList.contains("ps--active-y"):"both"===vt?ai.classList.contains("ps--active-x")&&ai.classList.contains("ps--active-y"):ai.classList.contains("ps--active-"+vt)}scrollTo(vt,ai,Ut){this.disabled||(null==ai&&null==Ut?this.animateScrolling("scrollTop",vt,Ut):(null!=vt&&this.animateScrolling("scrollLeft",vt,Ut),null!=ai&&this.animateScrolling("scrollTop",ai,Ut)))}scrollToX(vt,ai){this.animateScrolling("scrollLeft",vt,ai)}scrollToY(vt,ai){this.animateScrolling("scrollTop",vt,ai)}scrollToTop(vt,ai){this.animateScrolling("scrollTop",vt||0,ai)}scrollToLeft(vt,ai){this.animateScrolling("scrollLeft",vt||0,ai)}scrollToRight(vt,ai){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(vt||0),ai)}scrollToBottom(vt,ai){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(vt||0),ai)}scrollToElement(vt,ai,Ut){if("string"==typeof vt&&(vt=this.elementRef.nativeElement.querySelector(vt)),vt){const Vt=vt.getBoundingClientRect(),Rt=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",Vt.left-Rt.left+this.elementRef.nativeElement.scrollLeft+(ai||0),Ut),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",Vt.top-Rt.top+this.elementRef.nativeElement.scrollTop+(ai||0),Ut)}}animateScrolling(vt,ai,Ut){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!Ut||typeof window>"u")this.elementRef.nativeElement[vt]=ai;else if(ai!==this.elementRef.nativeElement[vt]){let Vt=0,Rt=0,je=performance.now(),Fe=this.elementRef.nativeElement[vt];const We=(Fe-ai)/2,Je=Tt=>{Rt+=Math.PI/(Ut/(Tt-je)),Vt=Math.round(ai+We+We*Math.cos(Rt)),this.elementRef.nativeElement[vt]===Fe&&(Rt>=Math.PI?this.animateScrolling(vt,ai,0):(this.elementRef.nativeElement[vt]=Vt,Fe=this.elementRef.nativeElement[vt],je=Tt,this.animation=window.requestAnimationFrame(Je)))};window.requestAnimationFrame(Je)}}}return dt.\u0275fac=function(vt){return new(vt||dt)(P.Y36(P.R0b),P.Y36(P.aQg),P.Y36(P.SBq),P.Y36(P.Lbi),P.Y36(bt,8))},dt.\u0275dir=P.lG2({type:dt,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]}),dt})(),ni=(()=>{class dt{constructor(vt,ai,Ut){this.zone=vt,this.cdRef=ai,this.platformId=Ut,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 t.x,this.stateUpdate=new t.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,o.R)(this.ngDestroy),(0,C.x)((vt,ai)=>vt===ai&&!this.stateTimeout)).subscribe(vt=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===vt||"y"===vt?(this.interaction=!1,"x"===vt?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===vt&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===vt||"right"===vt?(this.states.left=!1,this.states.right=!1,this.states[vt]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===vt||"bottom"===vt)&&(this.states.top=!1,this.states.bottom=!1,this.states[vt]=!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 vt=this.directiveRef.elementRef.nativeElement;(0,e.R)(vt,"wheel").pipe((0,o.R)(this.ngDestroy)).subscribe(ai=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(ai,ai.deltaX,ai.deltaY)}),(0,e.R)(vt,"touchmove").pipe((0,o.R)(this.ngDestroy)).subscribe(ai=>{if(!this.disabled&&this.autoPropagation){const Ut=ai.touches[0].clientX,Vt=ai.touches[0].clientY;this.checkPropagation(ai,Ut-this.scrollPositionX,Vt-this.scrollPositionY),this.scrollPositionX=Ut,this.scrollPositionY=Vt}}),(0,v.T)((0,e.R)(vt,"ps-scroll-x").pipe((0,u.h)("x")),(0,e.R)(vt,"ps-scroll-y").pipe((0,u.h)("y")),(0,e.R)(vt,"ps-x-reach-end").pipe((0,u.h)("right")),(0,e.R)(vt,"ps-y-reach-end").pipe((0,u.h)("bottom")),(0,e.R)(vt,"ps-x-reach-start").pipe((0,u.h)("left")),(0,e.R)(vt,"ps-y-reach-start").pipe((0,u.h)("top"))).pipe((0,o.R)(this.ngDestroy)).subscribe(ai=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(ai)})}}),window.setTimeout(()=>{ve.forEach(vt=>{this.directiveRef&&(this.directiveRef[vt]=this[vt])})},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 vt=this.directiveRef.elementRef.nativeElement;this.usePropagationX=vt.classList.contains("ps--active-x"),this.usePropagationY=vt.classList.contains("ps--active-y")}}checkPropagation(vt,ai,Ut){this.interaction=!0;const Vt=ai<0?-1:1,Rt=Ut<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Vt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==Rt))&&(vt.preventDefault(),vt.stopPropagation()),ai&&(this.scrollDirectionX=Vt),Ut&&(this.scrollDirectionY=Rt),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return dt.\u0275fac=function(vt){return new(vt||dt)(P.Y36(P.R0b),P.Y36(P.sBO),P.Y36(P.Lbi))},dt.\u0275cmp=P.Xpm({type:dt,selectors:[["perfect-scrollbar"]],viewQuery:function(vt,ai){if(1&vt&&P.Gf(at,7),2&vt){let Ut;P.iGM(Ut=P.CRH())&&(ai.directiveRef=Ut.first)}},hostVars:4,hostBindings:function(vt,ai){2&vt&&P.ekj("ps-show-limits",ai.autoPropagation)("ps-show-active",ai.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:Ht,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(vt,ai){1&vt&&(P.F$t(),P.TgZ(0,"div",0)(1,"div",1),P.Hsn(2),P.qZA(),P.YNc(3,Lt,5,16,"div",2),P.qZA()),2&vt&&(P.ekj("ps",ai.usePSClass),P.Q6J("perfectScrollbar",ai.config)("disabled",ai.disabled),P.xp6(3),P.Q6J("ngIf",ai.scrollIndicators))},dependencies:[at,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}),dt})(),ti=(()=>{class dt{}return dt.\u0275fac=function(vt){return new(vt||dt)},dt.\u0275mod=P.oAB({type:dt}),dt.\u0275inj=P.cJS({imports:[[d.ez],d.ez]}),dt})()},4946:Ve=>{"use strict";Ve.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:Ve=>{"use strict";Ve.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:Ve=>{"use strict";Ve.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:Ve=>{"use strict";Ve.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:Ve=>{"use strict";Ve.exports={i8:"6.5.4"}},2562:Ve=>{"use strict";Ve.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"}')}},Ve=>{Ve(Ve.s=5415)}]); |