mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-10-31 09:20:27 +00:00
1 line
3.0 MiB
1 line
3.0 MiB
(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[179],{429:(ze,K,m)=>{"use strict";m.d(K,{$A:()=>Le,$W:()=>fe,BL:()=>B,CN:()=>u,CX:()=>I,EG:()=>E,EK:()=>L,El:()=>ee,HI:()=>r,HJ:()=>w,I8:()=>R,JK:()=>Ct,Lu:()=>U,Ly:()=>te,Ni:()=>g,Nr:()=>ye,OG:()=>z,QJ:()=>Ae,RX:()=>A,Rd:()=>we,SN:()=>S,Sf:()=>W,TM:()=>c,UH:()=>Ze,UR:()=>N,VD:()=>q,WM:()=>ue,WO:()=>b,Wi:()=>oe,X3:()=>se,YP:()=>he,YX:()=>y,Z8:()=>re,ZH:()=>ie,Zu:()=>Ee,_9:()=>mt,_E:()=>X,aL:()=>it,as:()=>v,cQ:()=>i,d7:()=>Xt,dh:()=>ke,e9:()=>gt,eF:()=>P,eM:()=>Ue,en:()=>St,g3:()=>Y,g6:()=>De,i9:()=>nt,kL:()=>T,n7:()=>Ve,oV:()=>d,oo:()=>o,pW:()=>n,pd:()=>h,u0:()=>$e,uT:()=>rt,v_:()=>Ke,wD:()=>C,xH:()=>k,xS:()=>Q,yl:()=>de,z:()=>le});var t=m(9653),e=m(7731);const g=(0,t.PH)(e.AB.UPDATE_API_CALL_STATUS_CLN,(0,t.Ky)()),k=(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),h=(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)()),u=(0,t.PH)(e.AB.FETCH_INFO_CLN,(0,t.Ky)()),I=(0,t.PH)(e.AB.SET_INFO_CLN,(0,t.Ky)()),S=(0,t.PH)(e.AB.FETCH_FEES_CLN),A=(0,t.PH)(e.AB.SET_FEES_CLN,(0,t.Ky)()),w=(0,t.PH)(e.AB.FETCH_FEE_RATES_CLN,(0,t.Ky)()),R=(0,t.PH)(e.AB.SET_FEE_RATES_CLN,(0,t.Ky)()),E=(0,t.PH)(e.AB.FETCH_BALANCE_CLN),U=(0,t.PH)(e.AB.SET_BALANCE_CLN,(0,t.Ky)()),Y=(0,t.PH)(e.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),Q=(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)()),fe=((0,t.PH)(e.AB.SET_NEW_ADDRESS_CLN,(0,t.Ky)()),(0,t.PH)(e.AB.FETCH_PEERS_CLN)),re=(0,t.PH)(e.AB.SET_PEERS_CLN,(0,t.Ky)()),ee=(0,t.PH)(e.AB.SAVE_NEW_PEER_CLN,(0,t.Ky)()),se=((0,t.PH)(e.AB.NEWLY_ADDED_PEER_CLN,(0,t.Ky)()),(0,t.PH)(e.AB.ADD_PEER_CLN,(0,t.Ky)())),le=(0,t.PH)(e.AB.DETACH_PEER_CLN,(0,t.Ky)()),L=(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)()),d=(0,t.PH)(e.AB.SEND_PAYMENT_CLN,(0,t.Ky)()),c=(0,t.PH)(e.AB.SEND_PAYMENT_STATUS_CLN,(0,t.Ky)()),b=(0,t.PH)(e.AB.GET_QUERY_ROUTES_CLN,(0,t.Ky)()),T=(0,t.PH)(e.AB.SET_QUERY_ROUTES_CLN,(0,t.Ky)()),N=(0,t.PH)(e.AB.FETCH_CHANNELS_CLN),v=(0,t.PH)(e.AB.SET_CHANNELS_CLN,(0,t.Ky)()),n=(0,t.PH)(e.AB.UPDATE_CHANNEL_CLN,(0,t.Ky)()),y=(0,t.PH)(e.AB.SAVE_NEW_CHANNEL_CLN,(0,t.Ky)()),B=(0,t.PH)(e.AB.CLOSE_CHANNEL_CLN,(0,t.Ky)()),z=(0,t.PH)(e.AB.REMOVE_CHANNEL_CLN,(0,t.Ky)()),W=(0,t.PH)(e.AB.PEER_LOOKUP_CLN,(0,t.Ky)()),Le=(0,t.PH)(e.AB.CHANNEL_LOOKUP_CLN,(0,t.Ky)()),Ve=(0,t.PH)(e.AB.INVOICE_LOOKUP_CLN,(0,t.Ky)()),Ke=(0,t.PH)(e.AB.SET_LOOKUP_CLN,(0,t.Ky)()),$e=(0,t.PH)(e.AB.GET_FORWARDING_HISTORY_CLN,(0,t.Ky)()),Ae=(0,t.PH)(e.AB.SET_FORWARDING_HISTORY_CLN,(0,t.Ky)()),ue=(0,t.PH)(e.AB.FETCH_INVOICES_CLN,(0,t.Ky)()),ye=(0,t.PH)(e.AB.SET_INVOICES_CLN,(0,t.Ky)()),we=(0,t.PH)(e.AB.SAVE_NEW_INVOICE_CLN,(0,t.Ky)()),he=(0,t.PH)(e.AB.ADD_INVOICE_CLN,(0,t.Ky)()),it=(0,t.PH)(e.AB.UPDATE_INVOICE_CLN,(0,t.Ky)()),De=(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)),Ze=(0,t.PH)(e.AB.SET_UTXOS_CLN,(0,t.Ky)()),Ue=(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),Ee=(0,t.PH)(e.AB.SET_OFFERS_CLN,(0,t.Ky)()),ke=(0,t.PH)(e.AB.SAVE_NEW_OFFER_CLN,(0,t.Ky)()),ie=(0,t.PH)(e.AB.ADD_OFFER_CLN,(0,t.Ky)()),nt=(0,t.PH)(e.AB.DISABLE_OFFER_CLN,(0,t.Ky)()),Ct=(0,t.PH)(e.AB.UPDATE_OFFER_CLN,(0,t.Ky)()),rt=(0,t.PH)(e.AB.FETCH_OFFER_BOOKMARKS_CLN),Xt=(0,t.PH)(e.AB.SET_OFFER_BOOKMARKS_CLN,(0,t.Ky)()),gt=(0,t.PH)(e.AB.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,t.Ky)()),mt=(0,t.PH)(e.AB.DELETE_OFFER_BOOKMARK_CLN,(0,t.Ky)()),St=(0,t.PH)(e.AB.REMOVE_OFFER_BOOKMARK_CLN,(0,t.Ky)())},4947:(ze,K,m)=>{"use strict";m.d(K,{J:()=>se});var t=m(493),e=m(7579),g=m(9646),k=m(5577),o=m(2722),C=m(4004),h=m(262),P=m(2340),u=m(1786),I=m(5566),S=m(7731),A=m(7861),w=m(429),R=m(9828),E=m(1462),U=m(4650),Y=m(529),Q=m(9653),X=m(5986),$=m(62),fe=m(5043),re=m(9116),ee=m(7998),ce=m(6895);class se{constructor(L,i,r,d,c,b,T,N,v){this.actions=L,this.httpClient=i,this.store=r,this.sessionService=d,this.commonService=c,this.logger=b,this.router=T,this.wsService=N,this.location=v,this.CHILD_API_URL=P.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,k.z)(n=>(this.flgInitialized=!1,this.store.dispatch((0,A.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,w.Ni)({payload:{action:"FetchInfo",status:S.Bn.INITIATED}})),this.store.dispatch((0,A.ac)({payload:S.m6.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+P.NZ.GETINFO_API).pipe((0,o.R)(this.actions.pipe((0,t.l4)(S.pg.SET_SELECTED_NODE))),(0,C.U)(y=>(this.logger.info(y),y.chains&&y.chains.length&&y.chains[0]&&"object"==typeof y.chains[0]&&y.chains[0].hasOwnProperty("chain")&&y?.chains[0].chain&&y?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&y?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,w.Ni)({payload:{action:"FetchInfo",status:S.Bn.COMPLETED}})),this.store.dispatch((0,A.uO)({payload:S.m6.GET_NODE_INFO})),this.store.dispatch((0,A.ts)()),setTimeout(()=>{this.store.dispatch((0,A.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(y,n.payload.loadPage),this.store.dispatch((0,w.Ni)({payload:{action:"FetchInfo",status:S.Bn.COMPLETED}})),this.store.dispatch((0,A.uO)({payload:S.m6.GET_NODE_INFO})),{type:S.AB.SET_INFO_CLN,payload:y||{}}))),(0,h.K)(y=>{const B=this.commonService.extractErrorCode(y),z="ETIMEDOUT"===B?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(y);return this.router.navigate(["/error"],{state:{errorCode:B,errorMessage:z}}),this.handleErrorWithoutAlert("FetchInfo",S.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:B,error:z}),(0,g.of)({type:S.pg.VOID})})))))),this.fetchFeesCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_FEES_CLN),(0,k.z)(()=>(this.store.dispatch((0,w.Ni)({payload:{action:"FetchFees",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.FEES_API))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.Ni)({payload:{action:"FetchFees",status:S.Bn.COMPLETED}})),{type:S.AB.SET_FEES_CLN,payload:n||{}})),(0,h.K)(n=>(this.handleErrorWithoutAlert("FetchFees",S.m6.NO_SPINNER,"Fetching Fees Failed.",n),(0,g.of)({type:S.pg.VOID}))))),this.fetchFeeRatesCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_FEE_RATES_CLN),(0,k.z)(n=>(this.store.dispatch((0,w.Ni)({payload:{action:"FetchFeeRates"+n.payload,status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/feeRates/"+n.payload).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"FetchFeeRates"+n.payload,status:S.Bn.COMPLETED}})),{type:S.AB.SET_FEE_RATES_CLN,payload:y||{}})),(0,h.K)(y=>(this.handleErrorWithoutAlert("FetchFeeRates"+n.payload,S.m6.NO_SPINNER,"Fetching Fee Rates Failed.",y),(0,g.of)({type:S.pg.VOID})))))))),this.fetchBalanceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_BALANCE_CLN),(0,k.z)(()=>(this.store.dispatch((0,w.Ni)({payload:{action:"FetchBalance",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.BALANCE_API))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.Ni)({payload:{action:"FetchBalance",status:S.Bn.COMPLETED}})),{type:S.AB.SET_BALANCE_CLN,payload:n||{}})),(0,h.K)(n=>(this.handleErrorWithoutAlert("FetchBalance",S.m6.NO_SPINNER,"Fetching Balances Failed.",n),(0,g.of)({type:S.pg.VOID}))))),this.fetchLocalRemoteBalanceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),(0,k.z)(()=>(this.store.dispatch((0,w.Ni)({payload:{action:"FetchLocalRemoteBalance",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/localRemoteBalance"))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.Ni)({payload:{action:"FetchLocalRemoteBalance",status:S.Bn.COMPLETED}})),{type:S.AB.SET_LOCAL_REMOTE_BALANCE_CLN,payload:n||{}})),(0,h.K)(n=>(this.handleErrorWithoutAlert("FetchLocalRemoteBalance",S.m6.NO_SPINNER,"Fetching Balances Failed.",n),(0,g.of)({type:S.pg.VOID}))))),this.getNewAddressCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.GET_NEW_ADDRESS_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:S.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"?type="+n.payload.addressCode).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,A.uO)({payload:S.m6.GENERATE_NEW_ADDRESS})),{type:S.AB.SET_NEW_ADDRESS_CLN,payload:y&&y.address?y.address:{}})),(0,h.K)(y=>(this.handleErrorWithAlert("GenerateNewAddress",S.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"?type="+n.payload.addressId,y),(0,g.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)(n=>(this.logger.info(n.payload),n.payload))),{dispatch:!1}),this.peersFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_PEERS_CLN),(0,k.z)(()=>(this.store.dispatch((0,w.Ni)({payload:{action:"FetchPeers",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.PEERS_API).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.Ni)({payload:{action:"FetchPeers",status:S.Bn.COMPLETED}})),{type:S.AB.SET_PEERS_CLN,payload:n||[]})),(0,h.K)(n=>(this.handleErrorWithoutAlert("FetchPeers",S.m6.NO_SPINNER,"Fetching Peers Failed.",n),(0,g.of)({type:S.pg.VOID})))))))),this.saveNewPeerCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_NEW_PEER_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:S.m6.CONNECT_PEER})),this.store.dispatch((0,w.Ni)({payload:{action:"SaveNewPeer",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.PEERS_API,{id:n.payload.id}).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"SaveNewPeer",status:S.Bn.COMPLETED}})),this.store.dispatch((0,A.uO)({payload:S.m6.CONNECT_PEER})),this.store.dispatch((0,w.Z8)({payload:y||[]})),{type:S.AB.NEWLY_ADDED_PEER_CLN,payload:{peer:y.find(B=>0===n.payload.id.indexOf(B.id?B.id:""))}})),(0,h.K)(y=>(this.handleErrorWithoutAlert("SaveNewPeer",S.m6.CONNECT_PEER,"Peer Connection Failed.",y),(0,g.of)({type:S.pg.VOID})))))))),this.detachPeerCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.DETACH_PEER_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:S.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.PEERS_API+"/"+n.payload.id+"?force="+n.payload.force).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,A.uO)({payload:S.m6.DISCONNECT_PEER})),this.store.dispatch((0,A.jW)({payload:"Peer Disconnected Successfully!"})),{type:S.AB.REMOVE_PEER_CLN,payload:{id:n.payload.id}})),(0,h.K)(y=>(this.handleErrorWithAlert("PeerDisconnect",S.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+P.NZ.PEERS_API+"/"+n.payload.id,y),(0,g.of)({type:S.pg.VOID})))))))),this.channelsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_CHANNELS_CLN),(0,k.z)(()=>(this.store.dispatch((0,w.Ni)({payload:{action:"FetchChannels",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/listChannels"))),(0,C.U)(n=>{this.logger.info(n),this.store.dispatch((0,w.Ni)({payload:{action:"FetchChannels",status:S.Bn.COMPLETED}}));const y={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return n.forEach(B=>{"CHANNELD_NORMAL"===B.state?B.connected?y.activeChannels.push(B):y.inactiveChannels.push(B):y.pendingChannels.push(B)}),{type:S.AB.SET_CHANNELS_CLN,payload:y}}),(0,h.K)(n=>(this.handleErrorWithoutAlert("FetchChannels",S.m6.NO_SPINNER,"Fetching Channels Failed.",n),(0,g.of)({type:S.pg.VOID}))))),this.openNewChannelCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_NEW_CHANNEL_CLN),(0,k.z)(n=>{this.store.dispatch((0,A.ac)({payload:S.m6.OPEN_CHANNEL})),this.store.dispatch((0,w.Ni)({payload:{action:"SaveNewChannel",status:S.Bn.INITIATED}}));const y={id:n.payload.peerId,satoshis:n.payload.satoshis,feeRate:n.payload.feeRate,announce:n.payload.announce};return n.payload.minconf&&(y.minconf=n.payload.minconf),n.payload.utxos&&(y.utxos=n.payload.utxos),n.payload.requestAmount&&(y.request_amt=n.payload.requestAmount),n.payload.compactLease&&(y.compact_lease=n.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+P.NZ.CHANNELS_API,y).pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,w.Ni)({payload:{action:"SaveNewChannel",status:S.Bn.COMPLETED}})),this.store.dispatch((0,A.uO)({payload:S.m6.OPEN_CHANNEL})),this.store.dispatch((0,A.jW)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,w.EG)()),this.store.dispatch((0,w.Ly)()),{type:S.AB.FETCH_CHANNELS_CLN})),(0,h.K)(B=>(this.handleErrorWithoutAlert("SaveNewChannel",S.m6.OPEN_CHANNEL,"Opening Channel Failed.",B),(0,g.of)({type:S.pg.VOID}))))}))),this.updateChannelCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.UPDATE_CHANNEL_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:S.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/setChannelFee",{id:n.payload.channelId,base:n.payload.baseFeeMsat,ppm:n.payload.feeRate}).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,A.uO)({payload:S.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,A.jW)("all"===n.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,h.K)(y=>(this.handleErrorWithAlert("UpdateChannel",S.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+P.NZ.CHANNELS_API,y),(0,g.of)({type:S.pg.VOID})))))))),this.closeChannelCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.CLOSE_CHANNEL_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:n.payload.force?S.m6.FORCE_CLOSE_CHANNEL:S.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/"+n.payload.channelId+(n.payload.force?"?force="+n.payload.force:"")).pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,A.uO)({payload:n.payload.force?S.m6.FORCE_CLOSE_CHANNEL:S.m6.CLOSE_CHANNEL})),this.store.dispatch((0,w.UR)()),this.store.dispatch((0,w.g3)()),this.store.dispatch((0,A.jW)({payload:"Channel Closed Successfully!"})),{type:S.AB.REMOVE_CHANNEL_CLN,payload:n.payload})),(0,h.K)(B=>(this.handleErrorWithAlert("CloseChannel",n.payload.force?S.m6.FORCE_CLOSE_CHANNEL:S.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+P.NZ.CHANNELS_API,B),(0,g.of)({type:S.pg.VOID})))))))),this.paymentsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_PAYMENTS_CLN),(0,k.z)(()=>(this.store.dispatch((0,w.Ni)({payload:{action:"FetchPayments",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.PAYMENTS_API))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.Ni)({payload:{action:"FetchPayments",status:S.Bn.COMPLETED}})),{type:S.AB.SET_PAYMENTS_CLN,payload:n||[]})),(0,h.K)(n=>(this.handleErrorWithoutAlert("FetchPayments",S.m6.NO_SPINNER,"Fetching Payments Failed.",n),(0,g.of)({type:S.pg.VOID}))))),this.fetchOfferInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_OFFER_INVOICE_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:S.m6.FETCH_INVOICE})),this.store.dispatch((0,w.Ni)({payload:{action:"FetchOfferInvoice",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.OFFERS_API+"/fetchOfferInvoice",n.payload).pipe((0,C.U)(y=>{this.logger.info(y),setTimeout(()=>{this.store.dispatch((0,w.Ni)({payload:{action:"FetchOfferInvoice",status:S.Bn.COMPLETED}})),this.store.dispatch((0,A.uO)({payload:S.m6.FETCH_INVOICE})),this.store.dispatch((0,w.VD)({payload:y||{}}))},500)}),(0,h.K)(y=>(this.handleErrorWithoutAlert("FetchOfferInvoice",S.m6.FETCH_INVOICE,"Offer Invoice Fetch Failed",y),(0,g.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)(n=>(this.logger.info(n.payload),n.payload))),{dispatch:!1}),this.sendPaymentCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SEND_PAYMENT_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:n.payload.uiMessage})),this.store.dispatch((0,w.Ni)({payload:{action:"SendPayment",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.PAYMENTS_API,n.payload).pipe((0,C.U)(y=>{this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"SendPayment",status:S.Bn.COMPLETED}}));let B="Payment Sent Successfully!";y.saveToDBError&&(B="Payment Sent Successfully but Offer Saving to Database Failed."),y.saveToDBResponse&&"NA"!==y.saveToDBResponse&&(this.store.dispatch((0,w.e9)({payload:y.saveToDBResponse})),B="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,w.UR)()),this.store.dispatch((0,w.EG)()),this.store.dispatch((0,w.cQ)()),this.store.dispatch((0,A.uO)({payload:n.payload.uiMessage})),this.store.dispatch((0,A.jW)({payload:B})),this.store.dispatch((0,w.TM)({payload:y.paymentResponse}))},1e3)}),(0,h.K)(y=>(this.logger.error("Error: "+JSON.stringify(y)),n.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",n.payload.uiMessage,"Send Payment Failed.",y):this.handleErrorWithAlert("SendPayment",n.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+P.NZ.PAYMENTS_API,y),(0,g.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,k.z)(n=>(this.store.dispatch((0,w.Ni)({payload:{action:"GetQueryRoutes",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/getRoute/"+n.payload.destPubkey+"/"+n.payload.amount).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"GetQueryRoutes",status:S.Bn.COMPLETED}})),{type:S.AB.SET_QUERY_ROUTES_CLN,payload:y})),(0,h.K)(y=>(this.store.dispatch((0,w.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",S.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+P.NZ.NETWORK_API+"/getRoute/"+n.payload.destPubkey+"/"+n.payload.amount,y),(0,g.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)(n=>n.payload)),{dispatch:!1}),this.peerLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.PEER_LOOKUP_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:S.m6.SEARCHING_NODE})),this.store.dispatch((0,w.Ni)({payload:{action:"Lookup",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/listNode/"+n.payload).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"Lookup",status:S.Bn.COMPLETED}})),this.store.dispatch((0,A.uO)({payload:S.m6.SEARCHING_NODE})),{type:S.AB.SET_LOOKUP_CLN,payload:y})),(0,h.K)(y=>(this.handleErrorWithAlert("Lookup",S.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+P.NZ.NETWORK_API+"/listNode/"+n.payload,y),(0,g.of)({type:S.pg.VOID})))))))),this.channelLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.CHANNEL_LOOKUP_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:n.payload.uiMessage})),this.store.dispatch((0,w.Ni)({payload:{action:"Lookup",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/listChannel/"+n.payload.shortChannelID).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"Lookup",status:S.Bn.COMPLETED}})),this.store.dispatch((0,A.uO)({payload:n.payload.uiMessage})),{type:S.AB.SET_LOOKUP_CLN,payload:y})),(0,h.K)(y=>(n.payload.showError?this.handleErrorWithAlert("Lookup",n.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+P.NZ.NETWORK_API+"/listChannel/"+n.payload.shortChannelID,y):this.store.dispatch((0,A.uO)({payload:n.payload.uiMessage})),this.store.dispatch((0,w.v_)({payload:[]})),(0,g.of)({type:S.pg.VOID})))))))),this.invoiceLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.INVOICE_LOOKUP_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:S.m6.SEARCHING_INVOICE})),this.store.dispatch((0,w.Ni)({payload:{action:"Lookup",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.INVOICES_API+"?label="+n.payload).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"Lookup",status:S.Bn.COMPLETED}})),this.store.dispatch((0,A.uO)({payload:S.m6.SEARCHING_INVOICE})),y.invoices&&y.invoices.length&&y.invoices.length>0&&this.store.dispatch((0,w.aL)({payload:y.invoices[0]})),{type:S.AB.SET_LOOKUP_CLN,payload:y.invoices&&y.invoices.length&&y.invoices.length>0?y.invoices[0]:y})),(0,h.K)(y=>(this.handleErrorWithoutAlert("Lookup",S.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",y),this.store.dispatch((0,A.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,g.of)({type:S.pg.VOID})))))))),this.setLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SET_LOOKUP_CLN),(0,C.U)(n=>(this.logger.info(n.payload),n.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.GET_FORWARDING_HISTORY_CLN),(0,k.z)(n=>{const y=n.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,w.Ni)({payload:{action:"FetchForwardingHistory"+y,status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/listForwards?status="+n.payload.status).pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,w.Ni)({payload:{action:"FetchForwardingHistory"+y,status:S.Bn.COMPLETED}})),n.payload.status===S.OO.FAILED?this.store.dispatch((0,w.QJ)({payload:{status:S.OO.FAILED,totalForwards:B.length,listForwards:B}})):n.payload.status===S.OO.LOCAL_FAILED?this.store.dispatch((0,w.QJ)({payload:{status:S.OO.LOCAL_FAILED,totalForwards:B.length,listForwards:B}})):n.payload.status===S.OO.SETTLED&&this.store.dispatch((0,w.QJ)({payload:{status:S.OO.SETTLED,totalForwards:B.length,listForwards:B}})),{type:S.pg.VOID})),(0,h.K)(B=>(this.handleErrorWithAlert("FetchForwardingHistory"+y,S.m6.NO_SPINNER,"Get "+n.payload.status+" Forwarding History Failed",this.CHILD_API_URL+P.NZ.CHANNELS_API+"/listForwards?status="+n.payload.status,B),(0,g.of)({type:S.pg.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.DELETE_EXPIRED_INVOICE_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:S.m6.DELETE_INVOICE})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.INVOICES_API+(n.payload?"?maxexpiry="+n.payload:"")).pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,A.uO)({payload:S.m6.DELETE_INVOICE})),this.store.dispatch((0,A.jW)({payload:"Invoices Deleted Successfully!"})),{type:S.AB.FETCH_INVOICES_CLN,payload:{num_max_invoices:1e6,reversed:!0}})),(0,h.K)(B=>(this.handleErrorWithAlert("DeleteInvoices",S.m6.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+P.NZ.INVOICES_API,B),(0,g.of)({type:S.pg.VOID})))))))),this.saveNewInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_NEW_INVOICE_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:S.m6.ADD_INVOICE})),this.store.dispatch((0,w.Ni)({payload:{action:"SaveNewInvoice",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.INVOICES_API,{label:n.payload.label,amount:n.payload.amount,description:n.payload.description,expiry:n.payload.expiry,private:n.payload.private}).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"SaveNewInvoice",status:S.Bn.COMPLETED}})),this.store.dispatch((0,A.uO)({payload:S.m6.ADD_INVOICE})),y.msatoshi=n.payload.amount,y.label=n.payload.label,y.expires_at=Math.round((new Date).getTime()/1e3+n.payload.expiry),y.description=n.payload.description,y.status="unpaid",setTimeout(()=>{this.store.dispatch((0,A.qR)({payload:{data:{invoice:y,newlyAdded:!0,component:I.y}}}))},200),{type:S.AB.ADD_INVOICE_CLN,payload:y})),(0,h.K)(y=>(this.handleErrorWithoutAlert("SaveNewInvoice",S.m6.ADD_INVOICE,"Add Invoice Failed.",y),(0,g.of)({type:S.pg.VOID})))))))),this.saveNewOfferCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_NEW_OFFER_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:S.m6.CREATE_OFFER})),this.store.dispatch((0,w.Ni)({payload:{action:"SaveNewOffer",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.OFFERS_API,{amount:n.payload.amount,description:n.payload.description,vendor:n.payload.vendor}).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"SaveNewOffer",status:S.Bn.COMPLETED}})),this.store.dispatch((0,A.uO)({payload:S.m6.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,A.qR)({payload:{data:{offer:y,newlyAdded:!0,component:E.k}}}))},100),{type:S.AB.ADD_OFFER_CLN,payload:y})),(0,h.K)(y=>(this.handleErrorWithoutAlert("SaveNewOffer",S.m6.CREATE_OFFER,"Create Offer Failed.",y),(0,g.of)({type:S.pg.VOID})))))))),this.invoicesFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_INVOICES_CLN),(0,k.z)(n=>(this.store.dispatch((0,w.Ni)({payload:{action:"FetchInvoices",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.INVOICES_API+"?num_max_invoices="+(n.payload.num_max_invoices?n.payload.num_max_invoices:1e6)+"&index_offset="+(n.payload.index_offset?n.payload.index_offset:0)+"&reversed="+(!n.payload.reversed||n.payload.reversed)).pipe((0,C.U)(W=>(this.logger.info(W),this.store.dispatch((0,w.Ni)({payload:{action:"FetchInvoices",status:S.Bn.COMPLETED}})),{type:S.AB.SET_INVOICES_CLN,payload:W})),(0,h.K)(W=>(this.handleErrorWithoutAlert("FetchInvoices",S.m6.NO_SPINNER,"Fetching Invoices Failed.",W),(0,g.of)({type:S.pg.VOID})))))))),this.offersFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_OFFERS_CLN),(0,k.z)(n=>(this.store.dispatch((0,w.Ni)({payload:{action:"FetchOffers",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.OFFERS_API).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"FetchOffers",status:S.Bn.COMPLETED}})),{type:S.AB.SET_OFFERS_CLN,payload:y.offers?y.offers:[]})),(0,h.K)(y=>(this.handleErrorWithoutAlert("FetchOffers",S.m6.NO_SPINNER,"Fetching Offers Failed.",y),(0,g.of)({type:S.pg.VOID})))))))),this.offersDisableCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.DISABLE_OFFER_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:S.m6.DISABLE_OFFER})),this.store.dispatch((0,w.Ni)({payload:{action:"DisableOffer",status:S.Bn.INITIATED}})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.OFFERS_API+"/"+n.payload.offer_id).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"DisableOffer",status:S.Bn.COMPLETED}})),this.store.dispatch((0,A.uO)({payload:S.m6.DISABLE_OFFER})),this.store.dispatch((0,A.jW)({payload:"Offer Disabled Successfully!"})),{type:S.AB.UPDATE_OFFER_CLN,payload:{offer:y}})),(0,h.K)(y=>(this.handleErrorWithoutAlert("DisableOffer",S.m6.DISABLE_OFFER,"Disabling Offer Failed.",y),(0,g.of)({type:S.pg.VOID})))))))),this.offerBookmarksFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_OFFER_BOOKMARKS_CLN),(0,k.z)(n=>(this.store.dispatch((0,w.Ni)({payload:{action:"FetchOfferBookmarks",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.OFFERS_API+"/offerbookmarks").pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"FetchOfferBookmarks",status:S.Bn.COMPLETED}})),{type:S.AB.SET_OFFER_BOOKMARKS_CLN,payload:y||[]})),(0,h.K)(y=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",S.m6.NO_SPINNER,"Fetching Offer Bookmarks Failed.",y),(0,g.of)({type:S.pg.VOID})))))))),this.peidOffersDeleteCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.DELETE_OFFER_BOOKMARK_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:S.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,w.Ni)({payload:{action:"DeleteOfferBookmark",status:S.Bn.INITIATED}})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.OFFERS_API+"/offerbookmark/"+n.payload.bolt12).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"DeleteOfferBookmark",status:S.Bn.COMPLETED}})),this.store.dispatch((0,A.uO)({payload:S.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,A.jW)({payload:"Offer Bookmark Deleted Successfully!"})),{type:S.AB.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:n.payload.bolt12}})),(0,h.K)(y=>(this.handleErrorWithAlert("DeleteOfferBookmark",S.m6.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+P.NZ.OFFERS_API+"/offerbookmark/"+n.payload.bolt12,y),(0,g.of)({type:S.pg.VOID})))))))),this.SetChannelTransactionCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SET_CHANNEL_TRANSACTION_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:S.m6.SEND_FUNDS})),this.store.dispatch((0,w.Ni)({payload:{action:"SetChannelTransaction",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.ON_CHAIN_API,n.payload).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"SetChannelTransaction",status:S.Bn.COMPLETED}})),this.store.dispatch((0,A.uO)({payload:S.m6.SEND_FUNDS})),this.store.dispatch((0,w.EG)()),this.store.dispatch((0,w.Ly)()),{type:S.AB.SET_CHANNEL_TRANSACTION_RES_CLN,payload:y})),(0,h.K)(y=>(this.handleErrorWithoutAlert("SetChannelTransaction",S.m6.SEND_FUNDS,"Sending Fund Failed.",y),(0,g.of)({type:S.pg.VOID})))))))),this.utxosFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_UTXOS_CLN),(0,k.z)(()=>(this.store.dispatch((0,w.Ni)({payload:{action:"FetchUTXOs",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"/utxos"))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.Ni)({payload:{action:"FetchUTXOs",status:S.Bn.COMPLETED}})),{type:S.AB.SET_UTXOS_CLN,payload:n.outputs||[]})),(0,h.K)(n=>(this.handleErrorWithoutAlert("FetchUTXOs",S.m6.NO_SPINNER,"Fetching UTXOs Failed.",n),(0,g.of)({type:S.pg.VOID}))))),this.pageSettingsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_PAGE_SETTINGS_CLN),(0,k.z)(()=>(this.store.dispatch((0,w.Ni)({payload:{action:"FetchPageSettings",status:S.Bn.INITIATED}})),this.httpClient.get(P.NZ.PAGE_SETTINGS_API).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.Ni)({payload:{action:"FetchPageSettings",status:S.Bn.COMPLETED}})),{type:S.AB.SET_PAGE_SETTINGS_CLN,payload:n||[]})),(0,h.K)(n=>(this.handleErrorWithoutAlert("FetchPageSettings",S.m6.NO_SPINNER,"Fetching Page Settings Failed.",n),(0,g.of)({type:S.pg.VOID})))))))),this.savePageSettingsCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_PAGE_SETTINGS_CLN),(0,k.z)(n=>(this.store.dispatch((0,A.ac)({payload:S.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,w.Ni)({payload:{action:"SavePageSettings",status:S.Bn.INITIATED}})),this.httpClient.post(P.NZ.PAGE_SETTINGS_API,n.payload).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.Ni)({payload:{action:"SavePageSettings",status:S.Bn.COMPLETED}})),this.store.dispatch((0,A.uO)({payload:S.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,A.jW)({payload:"Page Layout Updated Successfully!"})),{type:S.AB.SET_PAGE_SETTINGS_CLN,payload:y||[]})),(0,h.K)(y=>(this.handleErrorWithAlert("SavePageSettings",S.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",P.NZ.PAGE_SETTINGS_API,y),(0,g.of)({type:S.pg.VOID})))))))),this.store.select(R.yA).pipe((0,o.R)(this.unSubs[0])).subscribe(n=>{n.FetchInfo.status!==S.Bn.COMPLETED&&n.FetchInfo.status!==S.Bn.ERROR||n.FetchFees.status!==S.Bn.COMPLETED&&n.FetchFees.status!==S.Bn.ERROR||n.FetchChannels.status!==S.Bn.COMPLETED&&n.FetchChannels.status!==S.Bn.ERROR||n.FetchBalance.status!==S.Bn.COMPLETED&&n.FetchBalance.status!==S.Bn.ERROR||n.FetchLocalRemoteBalance.status!==S.Bn.COMPLETED&&n.FetchLocalRemoteBalance.status!==S.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,A.uO)({payload:S.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,o.R)(this.unSubs[1])).subscribe(n=>{if(this.logger.info("Received new message from the service: "+JSON.stringify(n)),n)switch(n.event){case S.nM.INVOICE:this.logger.info(n),n&&n.data&&n.data.label&&this.store.dispatch((0,w.aL)({payload:n.data}));break;case S.nM.SEND_PAYMENT:case S.nM.BLOCK_HEIGHT:this.logger.info(n);break;default:this.logger.info("Received Event from WS: "+JSON.stringify(n))}})}initializeRemainingData(L,i){this.sessionService.setItem("clUnlocked","true");const r={identity_pubkey:L.id,alias:L.alias,testnet:"testnet"===L.network.toLowerCase(),chains:L.chains,uris:L.uris,version:L.version,api_version:L.api_version,numberOfPendingChannels:L.num_pending_channels};this.store.dispatch((0,A.ac)({payload:S.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,A._V)({payload:r}));let d=this.location.path();d.includes("/lnd/")?d=d?.replace("/lnd/","/cln/"):d.includes("/ecl/")&&(d=d?.replace("/ecl/","/cln/")),(d.includes("/login")||d.includes("/error")||""===d||"HOME"===i||d.includes("?access-key="))&&(d="/cln/home"),this.router.navigate([d]),this.store.dispatch((0,w.wD)()),this.store.dispatch((0,w.WM)({payload:{num_max_invoices:1e6,index_offset:0,reversed:!0}})),this.store.dispatch((0,w.SN)()),this.store.dispatch((0,w.UR)()),this.store.dispatch((0,w.EG)()),this.store.dispatch((0,w.g3)()),this.store.dispatch((0,w.HJ)({payload:"perkw"})),this.store.dispatch((0,w.HJ)({payload:"perkb"})),this.store.dispatch((0,w.$W)()),this.store.dispatch((0,w.Ly)()),this.store.dispatch((0,w.cQ)())}handleErrorWithoutAlert(L,i,r,d){if(this.logger.error("ERROR IN: "+L+"\n"+JSON.stringify(d)),401===d.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,A.ts)()),this.store.dispatch((0,A.kS)()),this.store.dispatch((0,A.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,A.uO)({payload:i}));const c=this.commonService.extractErrorMessage(d,r);this.store.dispatch((0,w.Ni)({payload:{action:L,status:S.Bn.ERROR,statusCode:d.status.toString(),message:c}}))}}handleErrorWithAlert(L,i,r,d,c){if(this.logger.error(c),401===c.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,A.ts)()),this.store.dispatch((0,A.kS)()),this.store.dispatch((0,A.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,A.uO)({payload:i}));const b=this.commonService.extractErrorMessage(c);this.store.dispatch((0,A.qR)({payload:{data:{type:"ERROR",alertTitle:r,message:{code:c.status,message:b,URL:d},component:u.H}}})),this.store.dispatch((0,w.Ni)({payload:{action:L,status:S.Bn.ERROR,statusCode:c.status.toString(),message:b,URL:d}}))}}ngOnDestroy(){this.unSubs.forEach(L=>{L.next(null),L.complete()})}}se.\u0275fac=function(L){return new(L||se)(U.LFG(t.eX),U.LFG(Y.eN),U.LFG(Q.yh),U.LFG(X.m),U.LFG($.v),U.LFG(fe.mQ),U.LFG(re.F0),U.LFG(ee.d),U.LFG(ce.Ye))},se.\u0275prov=U.Yz7({token:se,factory:se.\u0275fac})},9828:(ze,K,m)=>{"use strict";m.d(K,{AS:()=>k,Ao:()=>ee,Bo:()=>Q,EQ:()=>le,Hz:()=>ce,JG:()=>I,OL:()=>fe,PP:()=>P,Rn:()=>U,T4:()=>R,Wi:()=>u,Wj:()=>Y,Y_:()=>se,ZW:()=>E,ey:()=>o,gc:()=>w,hx:()=>A,jK:()=>re,lK:()=>$,lw:()=>g,xQ:()=>X,yA:()=>h,zm:()=>S});var t=m(9653);const e=(0,t.ZF)("cln"),g=(0,t.P1)(e,i=>i.nodeSettings),k=(0,t.P1)(e,i=>({pageSettings:i.pageSettings,apiCallStatus:i.apisCallStatus.FetchPageSettings})),o=(0,t.P1)(e,i=>i.information),h=((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})),u=(0,t.P1)(e,i=>({peers:i.peers,apiCallStatus:i.apisCallStatus.FetchPeers})),I=(0,t.P1)(e,i=>({fees:i.fees,apiCallStatus:i.apisCallStatus.FetchFees})),S=(0,t.P1)(e,i=>({feeRatesPerKB:i.feeRatesPerKB,apiCallStatus:i.apisCallStatus.FetchFeeRatesperkb})),A=(0,t.P1)(e,i=>({feeRatesPerKW:i.feeRatesPerKW,apiCallStatus:i.apisCallStatus.FetchFeeRatesperkw})),w=(0,t.P1)(e,i=>({listInvoices:i.invoices,apiCallStatus:i.apisCallStatus.FetchInvoices})),R=(0,t.P1)(e,i=>({utxos:i.utxos,apiCallStatus:i.apisCallStatus.FetchUTXOs})),E=(0,t.P1)(e,i=>({activeChannels:i.activeChannels,pendingChannels:i.pendingChannels,inactiveChannels:i.inactiveChannels,apiCallStatus:i.apisCallStatus.FetchChannels})),U=(0,t.P1)(e,i=>({balance:i.balance,apiCallStatus:i.apisCallStatus.FetchBalance})),Y=(0,t.P1)(e,i=>({localRemoteBalance:i.localRemoteBalance,apiCallStatus:i.apisCallStatus.FetchLocalRemoteBalance})),Q=(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})),$=(0,t.P1)(e,i=>({localFailedForwardingHistory:i.localFailedForwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryL})),fe=(0,t.P1)(e,i=>({information:i.information,nodeSettings:i.nodeSettings,balance:i.balance})),re=(0,t.P1)(e,i=>({information:i.information,balance:i.balance,numPeers:i.peers.length})),ee=(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]})),se=(0,t.P1)(e,i=>({offers:i.offers,apiCallStatus:i.apisCallStatus.FetchOffers})),le=(0,t.P1)(e,i=>({offersBookmarks:i.offersBookmarks,apiCallStatus:i.apisCallStatus.FetchOfferBookmarks}))},5566:(ze,K,m)=>{"use strict";m.d(K,{y:()=>De});var t=m(7274),e=m(2687),g=m(7579),k=m(2722),o=m(7731),C=m(9828),h=m(4650),P=m(5043),u=m(62),I=m(7009),S=m(9653),A=m(6895),w=m(2216),R=m(1576),E=m(5829),U=m(4859),Y=m(3546),Q=m(4850),X=m(1572),$=m(266),fe=m(658),re=m(5199),ee=m(3390);function ce(oe,me){if(1&oe&&h._UZ(0,"qr-code",33),2&oe){const te=h.oxw();h.Q6J("value",(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12))("size",te.qrWidth)("errorCorrectionLevel","L")}}function se(oe,me){1&oe&&(h.TgZ(0,"span",34),h._uU(1,"N/A"),h.qZA())}const le=function(oe){return{"mr-0":oe}};function L(oe,me){if(1&oe&&h._UZ(0,"span",35),2&oe){const te=h.oxw();h.Q6J("ngClass",h.VKq(1,le,te.screenSize===te.screenSizeEnum.XS))}}function i(oe,me){if(1&oe&&h._UZ(0,"span",36),2&oe){const te=h.oxw();h.Q6J("ngClass",h.VKq(1,le,te.screenSize===te.screenSizeEnum.XS))}}function r(oe,me){if(1&oe&&h._UZ(0,"span",37),2&oe){const te=h.oxw();h.Q6J("ngClass",h.VKq(1,le,te.screenSize===te.screenSizeEnum.XS))}}function d(oe,me){if(1&oe&&h._UZ(0,"qr-code",33),2&oe){const te=h.oxw();h.Q6J("value",(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12))("size",te.qrWidth)("errorCorrectionLevel","L")}}function c(oe,me){1&oe&&(h.TgZ(0,"span",38),h._uU(1,"QR Code Not Applicable"),h.qZA())}function b(oe,me){1&oe&&h._UZ(0,"mat-divider",39)}function T(oe,me){if(1&oe&&(h.TgZ(0,"div",19)(1,"div",40),h._UZ(2,"fa-icon",41),h.TgZ(3,"span"),h._uU(4),h.qZA()()()),2&oe){const te=h.oxw();h.xp6(2),h.Q6J("icon",te.faExclamationTriangle),h.xp6(2),h.Oqu(null==te.invoice?null:te.invoice.warning_capacity)}}function N(oe,me){1&oe&&(h.ynx(0),h._uU(1," (zero amount) "),h.BQk())}function v(oe,me){1&oe&&h._UZ(0,"span",47)}const n=function(){return[]};function y(oe,me){if(1&oe&&(h.TgZ(0,"div",43)(1,"div",44)(2,"span",45),h._uU(3),h.ALo(4,"number"),h.qZA(),h.YNc(5,v,1,0,"span",46),h.qZA()()),2&oe){const te=h.oxw(2);h.xp6(3),h.hij("",h.lcZ(4,2,(null==te.invoice?null:te.invoice.msatoshi_received)/1e3)," Sats"),h.xp6(2),h.Q6J("ngForOf",h.DdM(4,n).constructor(35))}}function B(oe,me){if(1&oe&&(h.TgZ(0,"div"),h._uU(1),h.ALo(2,"number"),h.qZA()),2&oe){const te=h.oxw(2);h.xp6(1),h.hij("",h.lcZ(2,1,(null==te.invoice?null:te.invoice.msatoshi_received)/1e3)," Sats")}}function z(oe,me){if(1&oe&&(h.ynx(0),h.YNc(1,y,6,5,"div",42),h.YNc(2,B,3,3,"div",23),h.BQk()),2&oe){const te=h.oxw();h.xp6(1),h.Q6J("ngIf",te.flgInvoicePaid),h.xp6(1),h.Q6J("ngIf",!te.flgInvoicePaid)}}function W(oe,me){1&oe&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function Le(oe,me){1&oe&&h._UZ(0,"mat-spinner",49),2&oe&&h.Q6J("diameter",20)}function Ve(oe,me){if(1&oe&&(h.ynx(0),h.YNc(1,W,2,0,"span",23),h.YNc(2,Le,1,1,"mat-spinner",48),h.BQk()),2&oe){const te=h.oxw();h.xp6(1),h.Q6J("ngIf","unpaid"!==(null==te.invoice?null:te.invoice.status)||!te.flgVersionCompatible),h.xp6(1),h.Q6J("ngIf","unpaid"===(null==te.invoice?null:te.invoice.status)&&te.flgVersionCompatible)}}function Ke(oe,me){if(1&oe&&(h.TgZ(0,"div"),h._UZ(1,"mat-divider",25),h.TgZ(2,"div",19)(3,"div",26)(4,"h4",21),h._uU(5,"Payment Hash"),h.qZA(),h.TgZ(6,"span",24),h._uU(7),h.qZA()()(),h._UZ(8,"mat-divider",25),h.TgZ(9,"div",19)(10,"div",26)(11,"h4",21),h._uU(12,"Label"),h.qZA(),h.TgZ(13,"span",24),h._uU(14),h.qZA()()(),h._UZ(15,"mat-divider",25),h.qZA()),2&oe){const te=h.oxw();h.xp6(7),h.Oqu(null==te.invoice?null:te.invoice.payment_hash),h.xp6(7),h.Oqu(null==te.invoice?null:te.invoice.label)}}function $e(oe,me){1&oe&&(h.TgZ(0,"p"),h._uU(1,"Show Advanced"),h.qZA())}function Ae(oe,me){1&oe&&(h.TgZ(0,"p"),h._uU(1,"Hide Advanced"),h.qZA())}function ue(oe,me){if(1&oe){const te=h.EpF();h.TgZ(0,"button",50),h.NdJ("copied",function(Ue){h.CHM(te);const q=h.oxw();return h.KtG(q.onCopyPayment(Ue))}),h._uU(1,"Copy Invoice"),h.qZA()}if(2&oe){const te=h.oxw();h.Q6J("payload",(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12))}}function ye(oe,me){if(1&oe){const te=h.EpF();h.TgZ(0,"button",51),h.NdJ("click",function(){h.CHM(te);const Ue=h.oxw();return h.KtG(Ue.onClose())}),h._uU(1,"OK"),h.qZA()}}const we=function(oe){return{"display-none":oe}},he=function(oe){return{"xs-scroll-y":oe}},it=function(oe,me){return{"mt-2":oe,"mt-1":me}};class De{constructor(me,te,Ze,Ue,q,de){this.dialogRef=me,this.data=te,this.logger=Ze,this.commonService=Ue,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 g.x,new g.x,new g.x,new g.x,new g.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,k.R)(this.unSubs[0])).subscribe(me=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(me.api_version,"0.6.0")}),this.store.select(C.gc).pipe((0,k.R)(this.unSubs[1])).subscribe(me=>{const te=this.invoice.status,Ue=(me.listInvoices.invoices||[])?.find(q=>q.payment_hash===this.invoice.payment_hash)||null;Ue&&(this.invoice=Ue),te!==this.invoice.status&&"paid"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(me)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(me){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+me)}ngOnDestroy(){this.unSubs.forEach(me=>{me.next(null),me.complete()})}}De.\u0275fac=function(me){return new(me||De)(h.Y36(t.so),h.Y36(t.WI),h.Y36(P.mQ),h.Y36(u.v),h.Y36(I.ux),h.Y36(S.yh))},De.\u0275cmp=h.Xpm({type:De,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(me,te){if(1&me&&(h.TgZ(0,"div",0)(1,"div",1),h.YNc(2,ce,1,3,"qr-code",2),h.YNc(3,se,2,0,"span",3),h.qZA(),h.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),h._UZ(7,"fa-icon",7),h.TgZ(8,"span",8),h._uU(9),h.YNc(10,L,1,3,"span",9),h.YNc(11,i,1,3,"span",10),h.YNc(12,r,1,3,"span",11),h.qZA()(),h.TgZ(13,"button",12),h.NdJ("click",function(){return te.onClose()}),h._uU(14,"X"),h.qZA()(),h.TgZ(15,"mat-card-content",13)(16,"div",14)(17,"div",15),h.YNc(18,d,1,3,"qr-code",2),h.YNc(19,c,2,0,"span",16),h.qZA(),h.YNc(20,b,1,0,"mat-divider",17),h.YNc(21,T,5,2,"div",18),h.TgZ(22,"div",19)(23,"div",20)(24,"h4",21),h._uU(25),h.qZA(),h.TgZ(26,"span",22),h._uU(27),h.ALo(28,"number"),h.YNc(29,N,2,0,"ng-container",23),h.qZA()(),h.TgZ(30,"div",20)(31,"h4",21),h._uU(32,"Amount Received"),h.qZA(),h.TgZ(33,"span",24),h.YNc(34,z,3,2,"ng-container",23),h.YNc(35,Ve,3,2,"ng-container",23),h.qZA()()(),h._UZ(36,"mat-divider",25),h.TgZ(37,"div",19)(38,"div",20)(39,"h4",21),h._uU(40,"Date Expiry"),h.qZA(),h.TgZ(41,"span",22),h._uU(42),h.ALo(43,"date"),h.qZA()(),h.TgZ(44,"div",20)(45,"h4",21),h._uU(46,"Date Settled"),h.qZA(),h.TgZ(47,"span",22),h._uU(48),h.ALo(49,"date"),h.qZA()()(),h._UZ(50,"mat-divider",25),h.TgZ(51,"div",19)(52,"div",26)(53,"h4",21),h._uU(54,"Description"),h.qZA(),h.TgZ(55,"span",22),h._uU(56),h.qZA()()(),h._UZ(57,"mat-divider",25),h.TgZ(58,"div",19)(59,"div",26)(60,"h4",21),h._uU(61),h.qZA(),h.TgZ(62,"span",24),h._uU(63),h.qZA()()(),h.YNc(64,Ke,16,2,"div",23),h.TgZ(65,"div",27)(66,"button",28),h.NdJ("click",function(){return te.onShowAdvanced()}),h.YNc(67,$e,2,0,"p",29),h.YNc(68,Ae,2,0,"ng-template",null,30,h.W1O),h.qZA(),h.YNc(70,ue,2,1,"button",31),h.YNc(71,ye,2,0,"button",32),h.qZA()()()()()),2&me){const Ze=h.MAs(69);h.xp6(1),h.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",h.VKq(40,we,te.screenSize===te.screenSizeEnum.XS||te.screenSize===te.screenSizeEnum.SM)),h.xp6(1),h.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)),h.xp6(1),h.Q6J("ngIf",!(null!=te.invoice&&te.invoice.bolt11||null!=te.invoice&&te.invoice.bolt12)),h.xp6(4),h.Q6J("icon",te.faReceipt),h.xp6(2),h.hij(" ",te.screenSize===te.screenSizeEnum.XS?te.newlyAdded?"Created":"Invoice":te.newlyAdded?"Invoice Created":"Invoice Information"," "),h.xp6(1),h.Q6J("ngIf","paid"===(null==te.invoice?null:te.invoice.status)),h.xp6(1),h.Q6J("ngIf","unpaid"===(null==te.invoice?null:te.invoice.status)),h.xp6(1),h.Q6J("ngIf","expired"===(null==te.invoice?null:te.invoice.status)),h.xp6(3),h.Q6J("ngClass",h.VKq(42,he,te.screenSize===te.screenSizeEnum.XS)),h.xp6(2),h.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",h.VKq(44,we,te.screenSize!==te.screenSizeEnum.XS&&te.screenSize!==te.screenSizeEnum.SM)),h.xp6(1),h.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)),h.xp6(1),h.Q6J("ngIf",!(null!=te.invoice&&te.invoice.bolt11||null!=te.invoice&&te.invoice.bolt12)),h.xp6(1),h.Q6J("ngIf",te.screenSize===te.screenSizeEnum.XS||te.screenSize===te.screenSizeEnum.SM),h.xp6(1),h.Q6J("ngIf",null==te.invoice?null:te.invoice.warning_capacity),h.xp6(4),h.Oqu(te.screenSize===te.screenSizeEnum.XS?"Amount":"Amount Requested"),h.xp6(2),h.hij(" ",h.lcZ(28,32,(null==te.invoice?null:te.invoice.msatoshi)/1e3||0)," Sats"),h.xp6(2),h.Q6J("ngIf",!(null!=te.invoice&&te.invoice.msatoshi)||"0"===(null==te.invoice?null:te.invoice.msatoshi)),h.xp6(5),h.Q6J("ngIf","paid"===(null==te.invoice?null:te.invoice.status)),h.xp6(1),h.Q6J("ngIf","paid"!==(null==te.invoice?null:te.invoice.status)),h.xp6(7),h.Oqu(h.xi3(43,34,1e3*(null==te.invoice?null:te.invoice.expires_at),"dd/MMM/y HH:mm")),h.xp6(6),h.Oqu(h.xi3(49,37,1e3*(null==te.invoice?null:te.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),h.xp6(8),h.Oqu((null==te.invoice?null:te.invoice.description)||"-"),h.xp6(5),h.hij("",null!=te.invoice&&te.invoice.bolt12?"Bolt12":null!=te.invoice&&te.invoice.bolt11&&!te.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),h.xp6(2),h.Oqu((null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12)),h.xp6(1),h.Q6J("ngIf",te.showAdvanced),h.xp6(1),h.Q6J("ngClass",h.WLB(46,it,!te.showAdvanced,te.showAdvanced)),h.xp6(2),h.Q6J("ngIf",!te.showAdvanced)("ngIfElse",Ze),h.xp6(3),h.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)),h.xp6(1),h.Q6J("ngIf",!(null!=te.invoice&&te.invoice.bolt11||null!=te.invoice&&te.invoice.bolt12))}},dependencies:[A.mk,A.sg,A.O5,w.BN,R.xw,R.Wh,R.yH,E.oO,U.lW,Y.dn,Y.dk,Q.d,X.Ou,$.gM,fe.uU,re.y,ee.h,A.JJ,A.uU]})},1462:(ze,K,m)=>{"use strict";m.d(K,{k:()=>z});var t=m(7274),e=m(2687),g=m(7579),k=m(2722),o=m(7731),C=m(4650),h=m(5043),P=m(62),u=m(7009),I=m(9653),S=m(8104),A=m(6895),w=m(2216),R=m(1576),E=m(5829),U=m(4859),Y=m(3546),Q=m(4850),X=m(658),$=m(5199),fe=m(3390);function re(W,Le){if(1&W&&C._UZ(0,"qr-code",28),2&W){const Ve=C.oxw();C.Q6J("value",null==Ve.offer?null:Ve.offer.bolt12)("size",Ve.qrWidth)("errorCorrectionLevel","L")}}function ee(W,Le){1&W&&(C.TgZ(0,"span",29),C._uU(1,"N/A"),C.qZA())}function ce(W,Le){if(1&W&&C._UZ(0,"qr-code",28),2&W){const Ve=C.oxw();C.Q6J("value",null==Ve.offer?null:Ve.offer.bolt12)("size",Ve.qrWidth)("errorCorrectionLevel","L")}}function se(W,Le){1&W&&(C.TgZ(0,"span",30),C._uU(1,"QR Code Not Applicable"),C.qZA())}function le(W,Le){1&W&&C._UZ(0,"mat-divider",31),2&W&&C.Q6J("inset",!0)}function L(W,Le){1&W&&C._UZ(0,"mat-divider",19)}function i(W,Le){if(1&W&&(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&W){const Ve=C.oxw(2);C.xp6(5),C.hij(" ",null!=Ve.offer&&Ve.offer.used?null!=Ve.offer&&Ve.offer.used?"Yes":"No":"N/K"," "),C.xp6(5),C.hij(" ",null!=Ve.offer&&Ve.offer.single_use?null!=Ve.offer&&Ve.offer.single_use?"Yes":"No":"N/K"," ")}}function r(W,Le){1&W&&C._UZ(0,"mat-divider",19)}function d(W,Le){if(1&W&&(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&W){const Ve=C.oxw(2);C.xp6(5),C.Oqu((null==Ve.offerDecoded?null:Ve.offerDecoded.vendor)||(null==Ve.offerDecoded?null:Ve.offerDecoded.issuer))}}function c(W,Le){if(1&W&&(C.TgZ(0,"div"),C.YNc(1,L,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,d,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&W){const Ve=C.oxw();C.xp6(1),C.Q6J("ngIf",(null==Ve.offer?null:Ve.offer.used)||(null==Ve.offer?null:Ve.offer.single_use)),C.xp6(1),C.Q6J("ngIf",(null==Ve.offer?null:Ve.offer.used)||(null==Ve.offer?null:Ve.offer.single_use)),C.xp6(1),C.Q6J("ngIf",(null==Ve.offerDecoded?null:Ve.offerDecoded.vendor)||(null==Ve.offerDecoded?null:Ve.offerDecoded.issuer)),C.xp6(1),C.Q6J("ngIf",(null==Ve.offerDecoded?null:Ve.offerDecoded.vendor)||(null==Ve.offerDecoded?null:Ve.offerDecoded.issuer)),C.xp6(7),C.Oqu(Ve.offerDecoded.offer_id)}}function b(W,Le){1&W&&(C.TgZ(0,"p"),C._uU(1,"Show Advanced"),C.qZA())}function T(W,Le){1&W&&(C.TgZ(0,"p"),C._uU(1,"Hide Advanced"),C.qZA())}function N(W,Le){if(1&W){const Ve=C.EpF();C.TgZ(0,"button",35),C.NdJ("copied",function($e){C.CHM(Ve);const Ae=C.oxw();return C.KtG(Ae.onCopyOffer($e))}),C._uU(1,"Copy Offer"),C.qZA()}if(2&W){const Ve=C.oxw();C.Q6J("payload",null==Ve.offer?null:Ve.offer.bolt12)}}function v(W,Le){if(1&W){const Ve=C.EpF();C.TgZ(0,"button",36),C.NdJ("click",function(){C.CHM(Ve);const $e=C.oxw();return C.KtG($e.onClose())}),C._uU(1,"OK"),C.qZA()}}const n=function(W){return{"display-none":W}},y=function(W){return{"xs-scroll-y":W}},B=function(W,Le){return{"mt-2":W,"mt-1":Le}};class z{constructor(Le,Ve,Ke,$e,Ae,ue,ye){this.dialogRef=Le,this.data=Ve,this.logger=Ke,this.commonService=$e,this.snackBar=Ae,this.store=ue,this.dataService=ye,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 g.x,new g.x,new g.x,new g.x,new g.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,k.R)(this.unSubs[1])).subscribe(Le=>{this.offerDecoded=Le,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(Le){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+Le)}ngOnDestroy(){this.unSubs.forEach(Le=>{Le.next(null),Le.complete()})}}z.\u0275fac=function(Le){return new(Le||z)(C.Y36(t.so),C.Y36(t.WI),C.Y36(h.mQ),C.Y36(P.v),C.Y36(u.ux),C.Y36(I.yh),C.Y36(S.D))},z.\u0275cmp=C.Xpm({type:z,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(Le,Ve){if(1&Le&&(C.TgZ(0,"div",0)(1,"div",1),C.YNc(2,re,1,3,"qr-code",2),C.YNc(3,ee,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 Ve.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,se,2,0,"span",13),C.qZA(),C.YNc(17,le,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,c,13,5,"div",21),C.TgZ(45,"div",22)(46,"button",23),C.NdJ("click",function(){return Ve.onShowAdvanced()}),C.YNc(47,b,2,0,"p",24),C.YNc(48,T,2,0,"ng-template",null,25,C.W1O),C.qZA(),C.YNc(50,N,2,1,"button",26),C.YNc(51,v,2,0,"button",27),C.qZA()()()()()),2&Le){const Ke=C.MAs(49);C.xp6(1),C.Q6J("fxLayoutAlign",null!=Ve.offer&&Ve.offer.bolt12&&""!==(null==Ve.offer?null:Ve.offer.bolt12)?"center start":"center center")("ngClass",C.VKq(24,n,Ve.screenSize===Ve.screenSizeEnum.XS||Ve.screenSize===Ve.screenSizeEnum.SM)),C.xp6(1),C.Q6J("ngIf",(null==Ve.offer?null:Ve.offer.bolt12)&&""!==(null==Ve.offer?null:Ve.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=Ve.offer&&Ve.offer.bolt12)||""===(null==Ve.offer?null:Ve.offer.bolt12)),C.xp6(4),C.Q6J("icon",Ve.faReceipt),C.xp6(2),C.Oqu(Ve.screenSize===Ve.screenSizeEnum.XS?Ve.newlyAdded?"Created":"Offer":Ve.newlyAdded?"Offer Created":"Offer Information"),C.xp6(3),C.Q6J("ngClass",C.VKq(26,y,Ve.screenSize===Ve.screenSizeEnum.XS)),C.xp6(2),C.Q6J("fxLayoutAlign",null!=Ve.offer&&Ve.offer.bolt12&&""!==(null==Ve.offer?null:Ve.offer.bolt12)?"center start":"center center")("ngClass",C.VKq(28,n,Ve.screenSize!==Ve.screenSizeEnum.XS&&Ve.screenSize!==Ve.screenSizeEnum.SM)),C.xp6(1),C.Q6J("ngIf",(null==Ve.offer?null:Ve.offer.bolt12)&&""!==(null==Ve.offer?null:Ve.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=Ve.offer&&Ve.offer.bolt12)||""===(null==Ve.offer?null:Ve.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",Ve.screenSize===Ve.screenSizeEnum.XS||Ve.screenSize===Ve.screenSizeEnum.SM),C.xp6(6),C.hij(" ",null!=Ve.offerDecoded&&Ve.offerDecoded.amount_msat&&0!==(null==Ve.offerDecoded?null:Ve.offerDecoded.amount)?C.lcZ(24,22,(null==Ve.offerDecoded?null:Ve.offerDecoded.amount)/1e3):"Open Offer"," "),C.xp6(6),C.hij(" ",null!=Ve.offer&&Ve.offer.active?null!=Ve.offer&&Ve.offer.active?"Active":"Inactive":"N/K"," "),C.xp6(7),C.hij(" ",null==Ve.offerDecoded?null:Ve.offerDecoded.description," "),C.xp6(7),C.Oqu(null==Ve.offer?null:Ve.offer.bolt12),C.xp6(1),C.Q6J("ngIf",Ve.showAdvanced),C.xp6(1),C.Q6J("ngClass",C.WLB(30,B,!Ve.showAdvanced,Ve.showAdvanced)),C.xp6(2),C.Q6J("ngIf",!Ve.showAdvanced)("ngIfElse",Ke),C.xp6(3),C.Q6J("ngIf",(null==Ve.offer?null:Ve.offer.bolt12)&&""!==(null==Ve.offer?null:Ve.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=Ve.offer&&Ve.offer.bolt12)||""===(null==Ve.offer?null:Ve.offer.bolt12))}},dependencies:[A.mk,A.O5,w.BN,R.xw,R.Wh,R.yH,E.oO,U.lW,Y.dn,Y.dk,Q.d,X.uU,$.y,fe.h,A.JJ]})},2994:(ze,K,m)=>{"use strict";m.d(K,{$W:()=>fe,BL:()=>b,Bw:()=>Q,CX:()=>I,DJ:()=>oe,EK:()=>L,El:()=>ee,Fd:()=>k,GD:()=>le,HG:()=>$,HI:()=>v,Iy:()=>Ve,Lf:()=>Le,Nr:()=>Ae,OG:()=>T,On:()=>X,QZ:()=>g,RX:()=>A,SN:()=>S,Sf:()=>he,TM:()=>z,TW:()=>E,UR:()=>w,WM:()=>$e,WO:()=>n,YP:()=>ye,YX:()=>d,Z$:()=>ue,Z8:()=>re,Zr:()=>o,_E:()=>i,aL:()=>we,cQ:()=>N,eF:()=>P,eN:()=>R,i:()=>U,iL:()=>Y,iz:()=>u,kL:()=>y,mC:()=>W,n7:()=>it,oV:()=>B,pW:()=>c,pd:()=>h,ti:()=>me,wD:()=>C});var t=m(9653),e=m(7731);const g=(0,t.PH)(e.lr.UPDATE_API_CALL_STATUS_ECL,(0,t.Ky)()),k=(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),h=(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)()),u=(0,t.PH)(e.lr.FETCH_INFO_ECL,(0,t.Ky)()),I=(0,t.PH)(e.lr.SET_INFO_ECL,(0,t.Ky)()),S=(0,t.PH)(e.lr.FETCH_FEES_ECL),A=(0,t.PH)(e.lr.SET_FEES_ECL,(0,t.Ky)()),w=(0,t.PH)(e.lr.FETCH_CHANNELS_ECL,(0,t.Ky)()),R=(0,t.PH)(e.lr.SET_ACTIVE_CHANNELS_ECL,(0,t.Ky)()),E=(0,t.PH)(e.lr.SET_PENDING_CHANNELS_ECL,(0,t.Ky)()),U=(0,t.PH)(e.lr.SET_INACTIVE_CHANNELS_ECL,(0,t.Ky)()),Y=(0,t.PH)(e.lr.FETCH_ONCHAIN_BALANCE_ECL),Q=(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)()),$=(0,t.PH)(e.lr.SET_CHANNELS_STATUS_ECL,(0,t.Ky)()),fe=(0,t.PH)(e.lr.FETCH_PEERS_ECL),re=(0,t.PH)(e.lr.SET_PEERS_ECL,(0,t.Ky)()),ee=(0,t.PH)(e.lr.SAVE_NEW_PEER_ECL,(0,t.Ky)()),le=((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)())),L=(0,t.PH)(e.lr.REMOVE_PEER_ECL,(0,t.Ky)()),i=(0,t.PH)(e.lr.GET_NEW_ADDRESS_ECL),d=((0,t.PH)(e.lr.SET_NEW_ADDRESS_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.SAVE_NEW_CHANNEL_ECL,(0,t.Ky)())),c=(0,t.PH)(e.lr.UPDATE_CHANNEL_ECL,(0,t.Ky)()),b=(0,t.PH)(e.lr.CLOSE_CHANNEL_ECL,(0,t.Ky)()),T=(0,t.PH)(e.lr.REMOVE_CHANNEL_ECL,(0,t.Ky)()),N=(0,t.PH)(e.lr.FETCH_PAYMENTS_ECL),v=(0,t.PH)(e.lr.SET_PAYMENTS_ECL,(0,t.Ky)()),n=(0,t.PH)(e.lr.GET_QUERY_ROUTES_ECL,(0,t.Ky)()),y=(0,t.PH)(e.lr.SET_QUERY_ROUTES_ECL,(0,t.Ky)()),B=(0,t.PH)(e.lr.SEND_PAYMENT_ECL,(0,t.Ky)()),z=(0,t.PH)(e.lr.SEND_PAYMENT_STATUS_ECL,(0,t.Ky)()),W=(0,t.PH)(e.lr.FETCH_TRANSACTIONS_ECL),Le=(0,t.PH)(e.lr.SET_TRANSACTIONS_ECL,(0,t.Ky)()),Ve=(0,t.PH)(e.lr.SEND_ONCHAIN_FUNDS_ECL,(0,t.Ky)()),$e=((0,t.PH)(e.lr.SEND_ONCHAIN_FUNDS_RES_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.FETCH_INVOICES_ECL)),Ae=(0,t.PH)(e.lr.SET_INVOICES_ECL,(0,t.Ky)()),ue=(0,t.PH)(e.lr.CREATE_INVOICE_ECL,(0,t.Ky)()),ye=(0,t.PH)(e.lr.ADD_INVOICE_ECL,(0,t.Ky)()),we=(0,t.PH)(e.lr.UPDATE_INVOICE_ECL,(0,t.Ky)()),he=(0,t.PH)(e.lr.PEER_LOOKUP_ECL,(0,t.Ky)()),it=(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)())),me=(0,t.PH)(e.lr.UPDATE_RELAYED_PAYMENT_ECL,(0,t.Ky)())},3289:(ze,K,m)=>{"use strict";m.d(K,{o:()=>ce});var t=m(493),e=m(7579),g=m(9646),k=m(5577),o=m(2722),C=m(4004),h=m(262),P=m(2340),u=m(1786),I=m(7731),S=m(7861),A=m(7766),w=m(2994),R=m(2501),E=m(4650),U=m(529),Y=m(9653),Q=m(5986),X=m(62),$=m(5043),fe=m(9116),re=m(7998),ee=m(6895);class ce{constructor(le,L,i,r,d,c,b,T,N){this.actions=le,this.httpClient=L,this.store=i,this.sessionService=r,this.commonService=d,this.logger=c,this.router=b,this.wsService=T,this.location=N,this.CHILD_API_URL=P.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)(I.lr.FETCH_INFO_ECL),(0,k.z)(v=>(this.flgInitialized=!1,this.store.dispatch((0,S.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,S.ac)({payload:I.m6.GET_NODE_INFO})),this.store.dispatch((0,w.QZ)({payload:{action:"FetchInfo",status:I.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.GETINFO_API).pipe((0,o.R)(this.actions.pipe((0,t.l4)(I.pg.SET_SELECTED_NODE))),(0,C.U)(n=>(this.logger.info(n),this.initializeRemainingData(n,v.payload.loadPage),this.store.dispatch((0,w.QZ)({payload:{action:"FetchInfo",status:I.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:I.m6.GET_NODE_INFO})),{type:I.lr.SET_INFO_ECL,payload:n||{}})),(0,h.K)(n=>{const y=this.commonService.extractErrorCode(n),B=503===y?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(n);return this.router.navigate(["/error"],{state:{errorCode:y,errorMessage:B}}),this.handleErrorWithoutAlert("FetchInfo",I.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:y,error:B}),(0,g.of)({type:I.pg.VOID})})))))),this.fetchFees=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.FETCH_FEES_ECL),(0,k.z)(()=>(this.store.dispatch((0,w.QZ)({payload:{action:"FetchFees",status:I.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.FEES_API+"/fees").pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,w.QZ)({payload:{action:"FetchFees",status:I.Bn.COMPLETED}})),{type:I.lr.SET_FEES_ECL,payload:v||{}})),(0,h.K)(v=>(this.handleErrorWithoutAlert("FetchFees",I.m6.NO_SPINNER,"Fetching Fees Failed.",v),(0,g.of)({type:I.pg.VOID})))))))),this.fetchPayments=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.FETCH_PAYMENTS_ECL),(0,k.z)(()=>(this.store.dispatch((0,w.QZ)({payload:{action:"FetchPayments",status:I.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.FEES_API+"/payments").pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,w.QZ)({payload:{action:"FetchPayments",status:I.Bn.COMPLETED}})),{type:I.lr.SET_PAYMENTS_ECL,payload:v||{}})),(0,h.K)(v=>(this.handleErrorWithoutAlert("FetchPayments",I.m6.NO_SPINNER,"Fetching Payments Failed.",v),(0,g.of)({type:I.pg.VOID})))))))),this.channelsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.FETCH_CHANNELS_ECL),(0,k.z)(v=>(this.store.dispatch((0,w.QZ)({payload:{action:"FetchChannels",status:I.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.CHANNELS_API).pipe((0,C.U)(n=>(this.logger.info(n),this.rawChannelsList=n,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,w.QZ)({payload:{action:"FetchChannels",status:I.Bn.COMPLETED}})),v.payload&&v.payload.fetchPayments&&this.store.dispatch((0,w.cQ)()),{type:I.pg.VOID})),(0,h.K)(n=>(this.handleErrorWithoutAlert("FetchChannels",I.m6.NO_SPINNER,"Fetching Channels Failed.",n),(0,g.of)({type:I.pg.VOID})))))))),this.fetchOnchainBalance=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.FETCH_ONCHAIN_BALANCE_ECL),(0,k.z)(()=>(this.store.dispatch((0,w.QZ)({payload:{action:"FetchOnchainBalance",status:I.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"/balance"))),(0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,w.QZ)({payload:{action:"FetchOnchainBalance",status:I.Bn.COMPLETED}})),{type:I.lr.SET_ONCHAIN_BALANCE_ECL,payload:v||{}})),(0,h.K)(v=>(this.handleErrorWithoutAlert("FetchOnchainBalance",I.m6.NO_SPINNER,"Fetching Onchain Balances Failed.",v),(0,g.of)({type:I.pg.VOID}))))),this.peersFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.FETCH_PEERS_ECL),(0,k.z)(()=>(this.store.dispatch((0,w.QZ)({payload:{action:"FetchPeers",status:I.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.PEERS_API).pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,w.QZ)({payload:{action:"FetchPeers",status:I.Bn.COMPLETED}})),{type:I.lr.SET_PEERS_ECL,payload:v||[]})),(0,h.K)(v=>(this.handleErrorWithoutAlert("FetchPeers",I.m6.NO_SPINNER,"Fetching Peers Failed.",v),(0,g.of)({type:I.pg.VOID})))))))),this.getNewAddress=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.GET_NEW_ADDRESS_ECL),(0,k.z)(()=>(this.store.dispatch((0,S.ac)({payload:I.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API).pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,S.uO)({payload:I.m6.GENERATE_NEW_ADDRESS})),{type:I.lr.SET_NEW_ADDRESS_ECL,payload:v})),(0,h.K)(v=>(this.handleErrorWithAlert("GetNewAddress",I.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+P.NZ.ON_CHAIN_API,v),(0,g.of)({type:I.pg.VOID})))))))),this.setNewAddress=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.SET_NEW_ADDRESS_ECL),(0,C.U)(v=>(this.logger.info(v.payload),v.payload))),{dispatch:!1}),this.saveNewPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.SAVE_NEW_PEER_ECL),(0,k.z)(v=>(this.store.dispatch((0,S.ac)({payload:I.m6.CONNECT_PEER})),this.store.dispatch((0,w.QZ)({payload:{action:"SaveNewPeer",status:I.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.PEERS_API+(v.payload.id.includes("@")?"?uri=":"?nodeId=")+v.payload.id,{}).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.QZ)({payload:{action:"SaveNewPeer",status:I.Bn.COMPLETED}})),n=n||[],this.store.dispatch((0,S.uO)({payload:I.m6.CONNECT_PEER})),this.store.dispatch((0,w.Z8)({payload:n})),{type:I.lr.NEWLY_ADDED_PEER_ECL,payload:{peer:n.find(y=>y.nodeId===(v.payload.id.includes("@")?v.payload.id.substring(0,v.payload.id.indexOf("@")):v.payload.id))}})),(0,h.K)(n=>(this.handleErrorWithoutAlert("SaveNewPeer",I.m6.CONNECT_PEER,"Peer Connection Failed.",n),(0,g.of)({type:I.pg.VOID})))))))),this.detachPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.DETACH_PEER_ECL),(0,k.z)(v=>(this.store.dispatch((0,S.ac)({payload:I.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.PEERS_API+"/"+v.payload.nodeId).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,S.uO)({payload:I.m6.DISCONNECT_PEER})),this.store.dispatch((0,S.jW)({payload:"Disconnecting Peer!"})),{type:I.lr.REMOVE_PEER_ECL,payload:{nodeId:v.payload.nodeId}})),(0,h.K)(n=>(this.handleErrorWithAlert("DisconnectPeer",I.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+P.NZ.PEERS_API+"/"+v.payload.nodeId,n),(0,g.of)({type:I.pg.VOID})))))))),this.openNewChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.SAVE_NEW_CHANNEL_ECL),(0,k.z)(v=>{this.store.dispatch((0,S.ac)({payload:I.m6.OPEN_CHANNEL})),this.store.dispatch((0,w.QZ)({payload:{action:"SaveNewChannel",status:I.Bn.INITIATED}}));const n={nodeId:v.payload.nodeId,fundingSatoshis:v.payload.amount,announceChannel:!v.payload.private};return v.payload.feeRate&&v.payload.feeRate>0&&(n.fundingFeerateSatByte=v.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+P.NZ.CHANNELS_API,n).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,w.QZ)({payload:{action:"SaveNewChannel",status:I.Bn.COMPLETED}})),this.store.dispatch((0,w.$W)()),this.store.dispatch((0,w.iL)()),this.store.dispatch((0,S.uO)({payload:I.m6.OPEN_CHANNEL})),this.store.dispatch((0,S.jW)({payload:"Channel Added Successfully!"})),{type:I.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,h.K)(y=>(this.handleErrorWithoutAlert("SaveNewChannel",I.m6.OPEN_CHANNEL,"Opening Channel Failed.",y),(0,g.of)({type:I.pg.VOID}))))}))),this.updateChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.UPDATE_CHANNEL_ECL),(0,k.z)(v=>{this.store.dispatch((0,S.ac)({payload:I.m6.UPDATE_CHAN_POLICY}));let n="?feeBaseMsat="+v.payload.baseFeeMsat+"&feeProportionalMillionths="+v.payload.feeRate;return n=v.payload.nodeIds?n+"&nodeIds="+v.payload.nodeIds:v.payload.nodeId?n+"&nodeId="+v.payload.nodeId:v.payload.channelIds?n+"&channelIds="+v.payload.channelIds:n+"&channelId="+v.payload.channelId,this.httpClient.post(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/updateRelayFee"+n,{}).pipe((0,C.U)(y=>(this.logger.info(y),this.store.dispatch((0,S.uO)({payload:I.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,S.jW)(v.payload.nodeIds||v.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:I.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,h.K)(y=>(this.handleErrorWithAlert("UpdateChannels",I.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+P.NZ.CHANNELS_API,y),(0,g.of)({type:I.pg.VOID}))))}))),this.closeChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.CLOSE_CHANNEL_ECL),(0,k.z)(v=>(this.store.dispatch((0,S.ac)({payload:v.payload.force?I.m6.FORCE_CLOSE_CHANNEL:I.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.CHANNELS_API+"?channelId="+v.payload.channelId+"&force="+v.payload.force).pipe((0,C.U)(n=>(this.logger.info(n),setTimeout(()=>{this.store.dispatch((0,S.uO)({payload:v.payload.force?I.m6.FORCE_CLOSE_CHANNEL:I.m6.CLOSE_CHANNEL})),this.store.dispatch((0,w.UR)({payload:{fetchPayments:!1}})),this.store.dispatch((0,S.jW)({payload:v.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:I.pg.VOID})),(0,h.K)(n=>(this.handleErrorWithAlert("CloseChannel",v.payload.force?I.m6.FORCE_CLOSE_CHANNEL:I.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+P.NZ.CHANNELS_API,n),(0,g.of)({type:I.pg.VOID})))))))),this.queryRoutesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.GET_QUERY_ROUTES_ECL),(0,k.z)(v=>this.httpClient.get(this.CHILD_API_URL+P.NZ.PAYMENTS_API+"/route?nodeId="+v.payload.nodeId+"&amountMsat="+v.payload.amount).pipe((0,C.U)(n=>(this.logger.info(n),{type:I.lr.SET_QUERY_ROUTES_ECL,payload:n})),(0,h.K)(n=>(this.store.dispatch((0,w.kL)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",I.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+P.NZ.PAYMENTS_API+"/route?nodeId="+v.payload.nodeId+"&amountMsat="+v.payload.amount,n),(0,g.of)({type:I.pg.VOID}))))))),this.setQueryRoutes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.SET_QUERY_ROUTES_ECL),(0,C.U)(v=>v.payload)),{dispatch:!1}),this.sendPayment=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.SEND_PAYMENT_ECL),(0,k.z)(v=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,S.ac)({payload:I.m6.SEND_PAYMENT})),this.store.dispatch((0,w.QZ)({payload:{action:"SendPayment",status:I.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.PAYMENTS_API,v.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.latestPaymentRes=n,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:I.pg.VOID})),(0,h.K)(n=>(this.logger.error("Error: "+JSON.stringify(n)),v.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",I.m6.SEND_PAYMENT,"Send Payment Failed.",n):this.handleErrorWithAlert("SendPayment",I.m6.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+P.NZ.PAYMENTS_API,n),(0,g.of)({type:I.pg.VOID})))))))),this.transactionsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.FETCH_TRANSACTIONS_ECL),(0,k.z)(()=>(this.store.dispatch((0,w.QZ)({payload:{action:"FetchTransactions",status:I.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"/transactions?count=1000&skip=0"))),(0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,w.QZ)({payload:{action:"FetchTransactions",status:I.Bn.COMPLETED}})),{type:I.lr.SET_TRANSACTIONS_ECL,payload:v||[]})),(0,h.K)(v=>(this.handleErrorWithoutAlert("FetchTransactions",I.m6.NO_SPINNER,"Fetching Transactions Failed.",v),(0,g.of)({type:I.pg.VOID}))))),this.SendOnchainFunds=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.SEND_ONCHAIN_FUNDS_ECL),(0,k.z)(v=>(this.store.dispatch((0,S.ac)({payload:I.m6.SEND_FUNDS})),this.store.dispatch((0,w.QZ)({payload:{action:"SendOnchainFunds",status:I.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.ON_CHAIN_API,v.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.QZ)({payload:{action:"SendOnchainFunds",status:I.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:I.m6.SEND_FUNDS})),this.store.dispatch((0,w.iL)()),{type:I.lr.SEND_ONCHAIN_FUNDS_RES_ECL,payload:n})),(0,h.K)(n=>(this.handleErrorWithoutAlert("SendOnchainFunds",I.m6.SEND_FUNDS,"Sending Fund Failed.",n),(0,g.of)({type:I.pg.VOID})))))))),this.createInvoice=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.CREATE_INVOICE_ECL),(0,k.z)(v=>(this.store.dispatch((0,S.ac)({payload:I.m6.CREATE_INVOICE})),this.store.dispatch((0,w.QZ)({payload:{action:"CreateInvoice",status:I.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.INVOICES_API,v.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.QZ)({payload:{action:"CreateInvoice",status:I.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:I.m6.CREATE_INVOICE})),n.timestamp=Math.round((new Date).getTime()/1e3),n.expiresAt=Math.round(n.timestamp+v.payload.expireIn),n.description=v.payload.description,n.status="unpaid",setTimeout(()=>{this.store.dispatch((0,S.qR)({payload:{data:{invoice:n,newlyAdded:!0,component:A.R}}}))},200),{type:I.lr.ADD_INVOICE_ECL,payload:n})),(0,h.K)(n=>(this.handleErrorWithoutAlert("CreateInvoice",I.m6.CREATE_INVOICE,"Create Invoice Failed.",n),(0,g.of)({type:I.pg.VOID})))))))),this.invoicesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.FETCH_INVOICES_ECL),(0,k.z)(()=>(this.store.dispatch((0,w.QZ)({payload:{action:"FetchInvoices",status:I.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.INVOICES_API).pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,w.QZ)({payload:{action:"FetchInvoices",status:I.Bn.COMPLETED}})),{type:I.lr.SET_INVOICES_ECL,payload:v})),(0,h.K)(v=>(this.handleErrorWithoutAlert("FetchInvoices",I.m6.NO_SPINNER,"Fetching Invoices Failed.",v),(0,g.of)({type:I.pg.VOID})))))))),this.peerLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.PEER_LOOKUP_ECL),(0,k.z)(v=>(this.store.dispatch((0,S.ac)({payload:I.m6.SEARCHING_NODE})),this.store.dispatch((0,w.QZ)({payload:{action:"Lookup",status:I.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/nodes/"+v.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.QZ)({payload:{action:"Lookup",status:I.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:I.m6.SEARCHING_NODE})),{type:I.lr.SET_LOOKUP_ECL,payload:n})),(0,h.K)(n=>(this.handleErrorWithAlert("Lookup",I.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+P.NZ.NETWORK_API+"/nodes/"+v.payload,n),(0,g.of)({type:I.pg.VOID})))))))),this.invoiceLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.INVOICE_LOOKUP_ECL),(0,k.z)(v=>(this.store.dispatch((0,S.ac)({payload:I.m6.SEARCHING_INVOICE})),this.store.dispatch((0,w.QZ)({payload:{action:"Lookup",status:I.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.INVOICES_API+"/"+v.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.QZ)({payload:{action:"Lookup",status:I.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:I.m6.SEARCHING_INVOICE})),this.store.dispatch((0,w.aL)({payload:n})),{type:I.lr.SET_LOOKUP_ECL,payload:n})),(0,h.K)(n=>(this.handleErrorWithoutAlert("Lookup",I.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",n),this.store.dispatch((0,S.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,g.of)({type:I.pg.VOID})))))))),this.setLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.SET_LOOKUP_ECL),(0,C.U)(v=>(this.logger.info(v.payload),v.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.FETCH_PAGE_SETTINGS_ECL),(0,k.z)(()=>(this.store.dispatch((0,w.QZ)({payload:{action:"FetchPageSettings",status:I.Bn.INITIATED}})),this.httpClient.get(P.NZ.PAGE_SETTINGS_API).pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,w.QZ)({payload:{action:"FetchPageSettings",status:I.Bn.COMPLETED}})),{type:I.lr.SET_PAGE_SETTINGS_ECL,payload:v||[]})),(0,h.K)(v=>(this.handleErrorWithoutAlert("FetchPageSettings",I.m6.NO_SPINNER,"Fetching Page Settings Failed.",v),(0,g.of)({type:I.pg.VOID})))))))),this.savePageSettingsCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.lr.SAVE_PAGE_SETTINGS_ECL),(0,k.z)(v=>(this.store.dispatch((0,S.ac)({payload:I.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,w.QZ)({payload:{action:"SavePageSettings",status:I.Bn.INITIATED}})),this.httpClient.post(P.NZ.PAGE_SETTINGS_API,v.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.QZ)({payload:{action:"SavePageSettings",status:I.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:I.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,S.jW)({payload:"Page Layout Updated Successfully!"})),{type:I.lr.SET_PAGE_SETTINGS_ECL,payload:n||[]})),(0,h.K)(n=>(this.handleErrorWithAlert("SavePageSettings",I.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",P.NZ.PAGE_SETTINGS_API,n),(0,g.of)({type:I.pg.VOID})))))))),this.handleSendPaymentStatus=v=>{this.store.dispatch((0,w.QZ)({payload:{action:"SendPayment",status:I.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:I.m6.SEND_PAYMENT})),this.store.dispatch((0,w.TM)({payload:this.latestPaymentRes})),this.store.dispatch((0,w.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,S.jW)({payload:v}))},this.store.select(R.yA).pipe((0,o.R)(this.unSubs[0])).subscribe(v=>{v.FetchInfo.status!==I.Bn.COMPLETED&&v.FetchInfo.status!==I.Bn.ERROR||v.FetchFees.status!==I.Bn.COMPLETED&&v.FetchFees.status!==I.Bn.ERROR||v.FetchOnchainBalance.status!==I.Bn.COMPLETED&&v.FetchOnchainBalance.status!==I.Bn.ERROR||v.FetchChannels.status!==I.Bn.COMPLETED&&v.FetchChannels.status!==I.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,S.uO)({payload:I.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,o.R)(this.unSubs[1])).subscribe(v=>{this.logger.info("Received new message from the service: "+JSON.stringify(v));let n="";if(v)switch(v.type){case I.$v.PAYMENT_SENT:v&&v.id&&this.latestPaymentRes===v.id&&(this.flgReceivedPaymentUpdateFromWS=!0,n="Payment Sent: "+(v.paymentHash?"with payment hash "+v.paymentHash:JSON.stringify(v)),this.handleSendPaymentStatus(n));break;case I.$v.PAYMENT_FAILED:v&&v.id&&this.latestPaymentRes===v.id&&(this.flgReceivedPaymentUpdateFromWS=!0,n="Payment Failed: "+(v.failures&&v.failures.length&&v.failures.length>0&&v.failures[0].t?v.failures[0].t:v.failures&&v.failures.length&&v.failures.length>0&&v.failures[0].e&&v.failures[0].e.failureMessage?v.failures[0].e.failureMessage:JSON.stringify(v)),this.handleSendPaymentStatus(n));break;case I.$v.PAYMENT_RECEIVED:this.store.dispatch((0,w.aL)({payload:v}));break;case I.$v.PAYMENT_RELAYED:delete v.source,this.store.dispatch((0,w.ti)({payload:v}));break;case I.$v.CHANNEL_STATE_CHANGED:"NORMAL"===v.currentState||"CLOSED"===v.currentState?(this.rawChannelsList=this.rawChannelsList?.map(y=>(y.channelId===v.channelId&&y.nodeId===v.remoteNodeId&&(y.state=v.currentState),y)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,w.DJ)({payload:v}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(v))}})}setChannelsAndStatusAndBalances(){let le=0,L=0,i=0,r={localBalance:0,remoteBalance:0},d=[];const c=[],b=[],T={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((N,v)=>{N&&("NORMAL"===N.state?(le=(N.toLocal||0)+(N.toRemote||0),L+=N.toLocal||0,i+=N.toRemote||0,N.balancedness=0===le?1:+(1-Math.abs(((N.toLocal||0)-(N.toRemote||0))/le)).toFixed(3),d.push(N),T.active.channels=T.active.channels+1,T.active.capacity=T.active.capacity+(N.toLocal||0)):N.state?.includes("WAIT")||N.state?.includes("CLOSING")||N.state?.includes("SYNCING")?(N.state=N.state?.replace(/_/g," "),c.push(N),T.pending.channels=T.pending.channels+1,T.pending.capacity=T.pending.capacity+(N.toLocal||0)):(N.state=N.state?.replace(/_/g," "),b.push(N),T.inactive.channels=T.inactive.channels+1,T.inactive.capacity=T.inactive.capacity+(N.toLocal||0)))}),r={localBalance:L,remoteBalance:i},d=this.commonService.sortDescByKey(d,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(d)),this.logger.info("Pending Channels: "+JSON.stringify(c)),this.logger.info("Inactive Channels: "+JSON.stringify(b)),this.logger.info("Lightning Balances: "+JSON.stringify(r)),this.logger.info("Channels Status: "+JSON.stringify(T)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:d,pending:c,inactive:b,balances:r,status:T})),this.store.dispatch((0,w.eN)({payload:d})),this.store.dispatch((0,w.TW)({payload:c})),this.store.dispatch((0,w.i)({payload:b})),this.store.dispatch((0,w.On)({payload:r})),this.store.dispatch((0,w.HG)({payload:T}))}initializeRemainingData(le,L){this.sessionService.setItem("eclUnlocked","true");const i={identity_pubkey:le.nodeId,alias:le.alias,testnet:"testnet"===le.network,chains:le.publicAddresses,uris:le.uris,version:le.version,numberOfPendingChannels:0};this.store.dispatch((0,S.ac)({payload:I.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,S._V)({payload:i}));let r=this.location.path();r.includes("/lnd/")?r=r?.replace("/lnd/","/ecl/"):r.includes("/cln/")&&(r=r?.replace("/cln/","/ecl/")),(r.includes("/login")||r.includes("/error")||""===r||"HOME"===L||r.includes("?access-key="))&&(r="/ecl/home"),this.router.navigate([r]),this.store.dispatch((0,w.wD)()),this.store.dispatch((0,w.WM)()),this.store.dispatch((0,w.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,w.SN)()),this.store.dispatch((0,w.iL)()),this.store.dispatch((0,w.$W)())}handleErrorWithoutAlert(le,L,i,r){this.logger.error("ERROR IN: "+le+"\n"+JSON.stringify(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."}))):(this.store.dispatch((0,S.uO)({payload:L})),this.store.dispatch((0,w.QZ)({payload:{action:le,status:I.Bn.ERROR,statusCode:r.status.toString(),message:this.commonService.extractErrorMessage(r,i)}})))}handleErrorWithAlert(le,L,i,r,d){if(this.logger.error(d),401===d.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:L}));const c=this.commonService.extractErrorMessage(d);this.store.dispatch((0,S.qR)({payload:{data:{type:"ERROR",alertTitle:i,message:{code:d.status,message:c,URL:r},component:u.H}}})),this.store.dispatch((0,w.QZ)({payload:{action:le,status:I.Bn.ERROR,statusCode:d.status.toString(),message:c,URL:r}}))}}ngOnDestroy(){this.unSubs.forEach(le=>{le.next(null),le.complete()})}}ce.\u0275fac=function(le){return new(le||ce)(E.LFG(t.eX),E.LFG(U.eN),E.LFG(Y.yh),E.LFG(Q.m),E.LFG(X.v),E.LFG($.mQ),E.LFG(fe.F0),E.LFG(re.d),E.LFG(ee.Ye))},ce.\u0275prov=E.Yz7({token:ce,factory:ce.\u0275fac})},2501:(ze,K,m)=>{"use strict";m.d(K,{Bo:()=>Y,Ef:()=>U,JG:()=>I,LR:()=>g,PP:()=>u,T$:()=>C,Xz:()=>R,dx:()=>E,kY:()=>Q,nF:()=>k,yA:()=>P,yD:()=>o});var t=m(9653);const e=(0,t.ZF)("ecl"),g=(0,t.P1)(e,X=>X.nodeSettings),k=(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)),u=(0,t.P1)(e,X=>({payments:X.payments,apiCallStatus:X.apisCallStatus.FetchPayments})),I=(0,t.P1)(e,X=>({fees:X.fees,apiCallStatus:X.apisCallStatus.FetchFees})),R=((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}))),E=(0,t.P1)(e,X=>({transactions:X.transactions,apiCallStatus:X.apisCallStatus.FetchTransactions})),U=(0,t.P1)(e,X=>({invoices:X.invoices,apiCallStatus:X.apisCallStatus.FetchInvoices})),Y=(0,t.P1)(e,X=>({peers:X.peers,apiCallStatus:X.apisCallStatus.FetchPeers})),Q=(0,t.P1)(e,X=>({onchainBalance:X.onchainBalance,apiCallStatus:X.apisCallStatus.FetchOnchainBalance}))},7766:(ze,K,m)=>{"use strict";m.d(K,{R:()=>Ae});var t=m(7274),e=m(2687),g=m(7579),k=m(2722),o=m(7731),C=m(2501),h=m(4650),P=m(5043),u=m(62),I=m(7009),S=m(9653),A=m(6895),w=m(2216),R=m(1576),E=m(5829),U=m(4859),Y=m(3546),Q=m(4850),X=m(1572),$=m(658),fe=m(5199),re=m(3390);function ee(ue,ye){if(1&ue&&h._UZ(0,"qr-code",29),2&ue){const we=h.oxw();h.Q6J("value",null==we.invoice?null:we.invoice.serialized)("size",we.qrWidth)("errorCorrectionLevel","L")}}function ce(ue,ye){1&ue&&(h.TgZ(0,"span",30),h._uU(1,"N/A"),h.qZA())}function se(ue,ye){if(1&ue&&h._UZ(0,"qr-code",29),2&ue){const we=h.oxw();h.Q6J("value",null==we.invoice?null:we.invoice.serialized)("size",we.qrWidth)("errorCorrectionLevel","L")}}function le(ue,ye){1&ue&&(h.TgZ(0,"span",31),h._uU(1,"QR Code Not Applicable"),h.qZA())}function L(ue,ye){1&ue&&h._UZ(0,"mat-divider",32),2&ue&&h.Q6J("inset",!0)}function i(ue,ye){1&ue&&(h.ynx(0),h._uU(1," (zero amount) "),h.BQk())}function r(ue,ye){1&ue&&h._UZ(0,"span",38)}const d=function(){return[]};function c(ue,ye){if(1&ue&&(h.TgZ(0,"div",34)(1,"div",35)(2,"span",36),h._uU(3),h.ALo(4,"number"),h.qZA(),h.YNc(5,r,1,0,"span",37),h.qZA()()),2&ue){const we=h.oxw(2);h.xp6(3),h.hij("",h.lcZ(4,2,null==we.invoice?null:we.invoice.amountSettled)," Sats"),h.xp6(2),h.Q6J("ngForOf",h.DdM(4,d).constructor(35))}}function b(ue,ye){if(1&ue&&(h.TgZ(0,"div"),h._uU(1),h.ALo(2,"number"),h.qZA()),2&ue){const we=h.oxw(2);h.xp6(1),h.hij("",h.lcZ(2,1,null==we.invoice?null:we.invoice.amountSettled)," Sats")}}function T(ue,ye){if(1&ue&&(h.ynx(0),h.YNc(1,c,6,5,"div",33),h.YNc(2,b,3,3,"div",19),h.BQk()),2&ue){const we=h.oxw();h.xp6(1),h.Q6J("ngIf",we.flgInvoicePaid),h.xp6(1),h.Q6J("ngIf",!we.flgInvoicePaid)}}function N(ue,ye){1&ue&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function v(ue,ye){1&ue&&h._UZ(0,"mat-spinner",40),2&ue&&h.Q6J("diameter",20)}function n(ue,ye){if(1&ue&&(h.ynx(0),h.YNc(1,N,2,0,"span",19),h.YNc(2,v,1,1,"mat-spinner",39),h.BQk()),2&ue){const we=h.oxw();h.xp6(1),h.Q6J("ngIf","unpaid"!==(null==we.invoice?null:we.invoice.status)||!we.flgVersionCompatible),h.xp6(1),h.Q6J("ngIf","unpaid"===(null==we.invoice?null:we.invoice.status)&&we.flgVersionCompatible)}}function y(ue,ye){if(1&ue&&(h.TgZ(0,"div"),h._UZ(1,"mat-divider",20),h.TgZ(2,"div",15)(3,"div",41)(4,"h4",17),h._uU(5,"Date Expiry"),h.qZA(),h.TgZ(6,"span",18),h._uU(7),h.ALo(8,"date"),h.qZA()(),h.TgZ(9,"div",42)(10,"h4",17),h._uU(11,"Date Settled"),h.qZA(),h.TgZ(12,"span",21),h._uU(13),h.ALo(14,"date"),h.qZA()()(),h._UZ(15,"mat-divider",20),h.TgZ(16,"div",15)(17,"div",22)(18,"h4",17),h._uU(19,"Payment Hash"),h.qZA(),h.TgZ(20,"span",21),h._uU(21),h.qZA()()(),h._UZ(22,"mat-divider",20),h.TgZ(23,"div",15)(24,"div",22)(25,"h4",17),h._uU(26,"Node ID"),h.qZA(),h.TgZ(27,"span",21),h._uU(28),h.qZA()()(),h._UZ(29,"mat-divider",20),h.qZA()),2&ue){const we=h.oxw();h.xp6(7),h.Oqu(h.xi3(8,4,1e3*(null==we.invoice?null:we.invoice.expiresAt),"dd/MMM/y HH:mm")),h.xp6(6),h.Oqu(h.xi3(14,7,1e3*(null==we.invoice?null:we.invoice.receivedAt),"dd/MMM/y HH:mm")),h.xp6(8),h.Oqu(null==we.invoice?null:we.invoice.paymentHash),h.xp6(7),h.Oqu(null==we.invoice?null:we.invoice.nodeId)}}function B(ue,ye){1&ue&&(h.TgZ(0,"p"),h._uU(1,"Show Advanced"),h.qZA())}function z(ue,ye){1&ue&&(h.TgZ(0,"p"),h._uU(1,"Hide Advanced"),h.qZA())}function W(ue,ye){if(1&ue){const we=h.EpF();h.TgZ(0,"button",43),h.NdJ("copied",function(it){h.CHM(we);const De=h.oxw();return h.KtG(De.onCopyPayment(it))}),h._uU(1,"Copy Invoice"),h.qZA()}if(2&ue){const we=h.oxw();h.Q6J("payload",null==we.invoice?null:we.invoice.serialized)}}function Le(ue,ye){if(1&ue){const we=h.EpF();h.TgZ(0,"button",44),h.NdJ("click",function(){h.CHM(we);const it=h.oxw();return h.KtG(it.onClose())}),h._uU(1,"OK"),h.qZA()}}const Ve=function(ue){return{"display-none":ue}},Ke=function(ue){return{"xs-scroll-y":ue}},$e=function(ue,ye){return{"mt-2":ue,"mt-1":ye}};class Ae{constructor(ye,we,he,it,De,oe){this.dialogRef=ye,this.data=we,this.logger=he,this.commonService=it,this.snackBar=De,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 g.x,new g.x,new g.x,new g.x,new g.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,k.R)(this.unSubs[0])).subscribe(ye=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(ye.version,"0.5.0")}),this.store.select(C.Ef).pipe((0,k.R)(this.unSubs[1])).subscribe(ye=>{const we=this.invoice.status,it=(ye.invoices&&ye.invoices.length>0?ye.invoices:[])?.find(De=>De.paymentHash===this.invoice.paymentHash)||null;it&&(this.invoice=it),we!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(ye)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(ye){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+ye)}ngOnDestroy(){this.unSubs.forEach(ye=>{ye.next(null),ye.complete()})}}Ae.\u0275fac=function(ye){return new(ye||Ae)(h.Y36(t.so),h.Y36(t.WI),h.Y36(P.mQ),h.Y36(u.v),h.Y36(I.ux),h.Y36(S.yh))},Ae.\u0275cmp=h.Xpm({type:Ae,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(ye,we){if(1&ye&&(h.TgZ(0,"div",0)(1,"div",1),h.YNc(2,ee,1,3,"qr-code",2),h.YNc(3,ce,2,0,"span",3),h.qZA(),h.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),h._UZ(7,"fa-icon",7),h.TgZ(8,"span",8),h._uU(9),h.qZA()(),h.TgZ(10,"button",9),h.NdJ("click",function(){return we.onClose()}),h._uU(11,"X"),h.qZA()(),h.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),h.YNc(15,se,1,3,"qr-code",2),h.YNc(16,le,2,0,"span",13),h.qZA(),h.YNc(17,L,1,1,"mat-divider",14),h.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),h._uU(21,"Amount Requested"),h.qZA(),h.TgZ(22,"span",18),h._uU(23),h.ALo(24,"number"),h.YNc(25,i,2,0,"ng-container",19),h.qZA()(),h.TgZ(26,"div",16)(27,"h4",17),h._uU(28,"Amount Settled"),h.qZA(),h.TgZ(29,"span",18),h.YNc(30,T,3,2,"ng-container",19),h.YNc(31,n,3,2,"ng-container",19),h.qZA()()(),h._UZ(32,"mat-divider",20),h.TgZ(33,"div",15)(34,"div",16)(35,"h4",17),h._uU(36,"Date Created"),h.qZA(),h.TgZ(37,"span",21),h._uU(38),h.ALo(39,"date"),h.qZA()(),h.TgZ(40,"div",16)(41,"h4",17),h._uU(42,"Status"),h.qZA(),h.TgZ(43,"span",21),h._uU(44),h.ALo(45,"titlecase"),h.qZA()()(),h._UZ(46,"mat-divider",20),h.TgZ(47,"div",15)(48,"div",22)(49,"h4",17),h._uU(50,"Description"),h.qZA(),h.TgZ(51,"span",18),h._uU(52),h.qZA()()(),h._UZ(53,"mat-divider",20),h.TgZ(54,"div",15)(55,"div",22)(56,"h4",17),h._uU(57,"Invoice"),h.qZA(),h.TgZ(58,"span",21),h._uU(59),h.qZA()()(),h.YNc(60,y,30,10,"div",19),h.TgZ(61,"div",23)(62,"button",24),h.NdJ("click",function(){return we.onShowAdvanced()}),h.YNc(63,B,2,0,"p",25),h.YNc(64,z,2,0,"ng-template",null,26,h.W1O),h.qZA(),h.YNc(66,W,2,1,"button",27),h.YNc(67,Le,2,0,"button",28),h.qZA()()()()()),2&ye){const he=h.MAs(65);h.xp6(1),h.Q6J("fxLayoutAlign",null!=we.invoice&&we.invoice.serialized&&""!==(null==we.invoice?null:we.invoice.serialized)?"center start":"center center")("ngClass",h.VKq(33,Ve,we.screenSize===we.screenSizeEnum.XS||we.screenSize===we.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==we.invoice?null:we.invoice.serialized)&&""!==(null==we.invoice?null:we.invoice.serialized)),h.xp6(1),h.Q6J("ngIf",!(null!=we.invoice&&we.invoice.serialized)||""===(null==we.invoice?null:we.invoice.serialized)),h.xp6(4),h.Q6J("icon",we.faReceipt),h.xp6(2),h.Oqu(we.screenSize===we.screenSizeEnum.XS?we.newlyAdded?"Created":"Invoice":we.newlyAdded?"Invoice Created":"Invoice Information"),h.xp6(3),h.Q6J("ngClass",h.VKq(35,Ke,we.screenSize===we.screenSizeEnum.XS)),h.xp6(2),h.Q6J("fxLayoutAlign",null!=we.invoice&&we.invoice.serialized&&""!==(null==we.invoice?null:we.invoice.serialized)?"center start":"center center")("ngClass",h.VKq(37,Ve,we.screenSize!==we.screenSizeEnum.XS&&we.screenSize!==we.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==we.invoice?null:we.invoice.serialized)&&""!==(null==we.invoice?null:we.invoice.serialized)),h.xp6(1),h.Q6J("ngIf",!(null!=we.invoice&&we.invoice.serialized)||""===(null==we.invoice?null:we.invoice.serialized)),h.xp6(1),h.Q6J("ngIf",we.screenSize===we.screenSizeEnum.XS||we.screenSize===we.screenSizeEnum.SM),h.xp6(6),h.hij("",h.lcZ(24,26,(null==we.invoice?null:we.invoice.amount)||0)," Sats"),h.xp6(2),h.Q6J("ngIf",!(null!=we.invoice&&we.invoice.amount)||"0"===(null==we.invoice?null:we.invoice.amount)),h.xp6(5),h.Q6J("ngIf",null==we.invoice?null:we.invoice.amountSettled),h.xp6(1),h.Q6J("ngIf",!(null!=we.invoice&&we.invoice.amountSettled)),h.xp6(7),h.Oqu(h.xi3(39,28,1e3*(null==we.invoice?null:we.invoice.timestamp),"dd/MMM/y HH:mm")),h.xp6(6),h.Oqu(h.lcZ(45,31,null==we.invoice?null:we.invoice.status)),h.xp6(8),h.Oqu((null==we.invoice?null:we.invoice.description)||"-"),h.xp6(7),h.Oqu((null==we.invoice?null:we.invoice.serialized)||"N/A"),h.xp6(1),h.Q6J("ngIf",we.showAdvanced),h.xp6(1),h.Q6J("ngClass",h.WLB(39,$e,!we.showAdvanced,we.showAdvanced)),h.xp6(2),h.Q6J("ngIf",!we.showAdvanced)("ngIfElse",he),h.xp6(3),h.Q6J("ngIf",(null==we.invoice?null:we.invoice.serialized)&&""!==(null==we.invoice?null:we.invoice.serialized)),h.xp6(1),h.Q6J("ngIf",!(null!=we.invoice&&we.invoice.serialized)||""===(null==we.invoice?null:we.invoice.serialized))}},dependencies:[A.mk,A.sg,A.O5,w.BN,R.xw,R.Wh,R.yH,E.oO,U.lW,Y.dn,Y.dk,Q.d,X.Ou,$.uU,fe.y,re.h,A.JJ,A.rS,A.uU]})},6523:(ze,K,m)=>{"use strict";m.d(K,{$A:()=>St,$W:()=>S,BL:()=>N,B_:()=>Le,Bl:()=>re,CX:()=>I,Cp:()=>y,EK:()=>U,El:()=>w,Fr:()=>bt,HI:()=>me,JT:()=>o,Jl:()=>ee,Jo:()=>Ft,Lf:()=>he,Ll:()=>k,Ly:()=>it,Nr:()=>Ae,OG:()=>v,PC:()=>g,QJ:()=>et,RX:()=>fe,Rd:()=>Y,Rv:()=>ce,SN:()=>$,Sf:()=>mt,TW:()=>r,UH:()=>De,UR:()=>le,Vv:()=>n,WM:()=>$e,WO:()=>Vt,Wi:()=>ke,YP:()=>X,YX:()=>T,Z7:()=>i,Z8:()=>A,Zh:()=>d,_E:()=>de,_L:()=>c,aL:()=>ue,as:()=>L,cQ:()=>oe,dV:()=>Ue,eF:()=>P,fu:()=>nt,kL:()=>Lt,ks:()=>se,mC:()=>we,n7:()=>Ie,oV:()=>te,pW:()=>b,pd:()=>h,qY:()=>ye,sQ:()=>u,tb:()=>W,u0:()=>Pe,vV:()=>Ve,wD:()=>C,xG:()=>gt,y2:()=>rt,yZ:()=>He,z:()=>E});var t=m(9653),e=m(7731);const g=(0,t.PH)(e.uR.UPDATE_API_CALL_STATUS_LND,(0,t.Ky)()),k=(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),h=(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)()),u=(0,t.PH)(e.uR.FETCH_INFO_LND,(0,t.Ky)()),I=(0,t.PH)(e.uR.SET_INFO_LND,(0,t.Ky)()),S=(0,t.PH)(e.uR.FETCH_PEERS_LND),A=(0,t.PH)(e.uR.SET_PEERS_LND,(0,t.Ky)()),w=(0,t.PH)(e.uR.SAVE_NEW_PEER_LND,(0,t.Ky)()),E=((0,t.PH)(e.uR.NEWLY_ADDED_PEER_LND,(0,t.Ky)()),(0,t.PH)(e.uR.DETACH_PEER_LND,(0,t.Ky)())),U=(0,t.PH)(e.uR.REMOVE_PEER_LND,(0,t.Ky)()),Y=(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)())),$=(0,t.PH)(e.uR.FETCH_FEES_LND),fe=(0,t.PH)(e.uR.SET_FEES_LND,(0,t.Ky)()),re=(0,t.PH)(e.uR.FETCH_BLOCKCHAIN_BALANCE_LND),ee=(0,t.PH)(e.uR.SET_BLOCKCHAIN_BALANCE_LND,(0,t.Ky)()),ce=(0,t.PH)(e.uR.FETCH_NETWORK_LND),se=(0,t.PH)(e.uR.SET_NETWORK_LND,(0,t.Ky)()),le=(0,t.PH)(e.uR.FETCH_CHANNELS_LND),L=(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)()),d=(0,t.PH)(e.uR.FETCH_CLOSED_CHANNELS_LND),c=(0,t.PH)(e.uR.SET_CLOSED_CHANNELS_LND,(0,t.Ky)()),b=(0,t.PH)(e.uR.UPDATE_CHANNEL_LND,(0,t.Ky)()),T=(0,t.PH)(e.uR.SAVE_NEW_CHANNEL_LND,(0,t.Ky)()),N=(0,t.PH)(e.uR.CLOSE_CHANNEL_LND,(0,t.Ky)()),v=(0,t.PH)(e.uR.REMOVE_CHANNEL_LND,(0,t.Ky)()),n=(0,t.PH)(e.uR.BACKUP_CHANNELS_LND,(0,t.Ky)()),y=(0,t.PH)(e.uR.VERIFY_CHANNEL_LND,(0,t.Ky)()),W=((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)),Le=(0,t.PH)(e.uR.SET_RESTORE_CHANNELS_LIST_LND,(0,t.Ky)()),Ve=(0,t.PH)(e.uR.RESTORE_CHANNELS_LND,(0,t.Ky)()),$e=((0,t.PH)(e.uR.RESTORE_CHANNELS_RES_LND,(0,t.Ky)()),(0,t.PH)(e.uR.FETCH_INVOICES_LND,(0,t.Ky)())),Ae=(0,t.PH)(e.uR.SET_INVOICES_LND,(0,t.Ky)()),ue=(0,t.PH)(e.uR.UPDATE_INVOICE_LND,(0,t.Ky)()),ye=(0,t.PH)(e.uR.UPDATE_PAYMENT_LND,(0,t.Ky)()),we=(0,t.PH)(e.uR.FETCH_TRANSACTIONS_LND),he=(0,t.PH)(e.uR.SET_TRANSACTIONS_LND,(0,t.Ky)()),it=(0,t.PH)(e.uR.FETCH_UTXOS_LND),De=(0,t.PH)(e.uR.SET_UTXOS_LND,(0,t.Ky)()),oe=(0,t.PH)(e.uR.FETCH_PAYMENTS_LND,(0,t.Ky)()),me=(0,t.PH)(e.uR.SET_PAYMENTS_LND,(0,t.Ky)()),te=(0,t.PH)(e.uR.SEND_PAYMENT_LND,(0,t.Ky)()),Ue=((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)())),rt=((0,t.PH)(e.uR.GEN_SEED_RESPONSE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.INIT_WALLET_LND,(0,t.Ky)())),gt=((0,t.PH)(e.uR.INIT_WALLET_RESPONSE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.UNLOCK_WALLET_LND,(0,t.Ky)())),mt=(0,t.PH)(e.uR.PEER_LOOKUP_LND,(0,t.Ky)()),St=(0,t.PH)(e.uR.CHANNEL_LOOKUP_LND,(0,t.Ky)()),Ie=(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)())),et=(0,t.PH)(e.uR.SET_FORWARDING_HISTORY_LND,(0,t.Ky)()),Vt=(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)()),Ft=(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:(ze,K,m)=>{"use strict";m.d(K,{l:()=>le});var t=m(493),e=m(7579),g=m(9646),k=m(5577),o=m(2722),C=m(4004),h=m(262),P=m(1365),u=m(2340),I=m(8627),S=m(1786),A=m(7731),w=m(7861),R=m(6523),E=m(6529),U=m(4650),Y=m(529),Q=m(9653),X=m(5043),$=m(62),fe=m(5986),re=m(7274),ee=m(9116),ce=m(7998),se=m(6895);class le{constructor(i,r,d,c,b,T,N,v,n,y){this.actions=i,this.httpClient=r,this.store=d,this.logger=c,this.commonService=b,this.sessionService=T,this.dialog=N,this.router=v,this.wsService=n,this.location=y,this.CHILD_API_URL=u.T5+"/lnd",this.invoicesPageSize=A.IV,this.paymentsPageSize=A.IV,this.flgInitialized=!1,this.unSubs=[new e.x,new e.x],this.infoFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.FETCH_INFO_LND),(0,k.z)(B=>(this.flgInitialized=!1,this.store.dispatch((0,w.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,w.ts)()),this.store.dispatch((0,w.ac)({payload:A.m6.GET_NODE_INFO})),this.store.dispatch((0,R.PC)({payload:{action:"FetchInfo",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.GETINFO_API).pipe((0,o.R)(this.actions.pipe((0,t.l4)(A.pg.SET_SELECTED_NODE))),(0,C.U)(z=>(this.logger.info(z),z.chains&&z.chains.length&&z.chains[0]&&("string"==typeof z.chains[0]&&z.chains[0].toLowerCase().indexOf("bitcoin")<0||"object"==typeof z.chains[0]&&z.chains[0].hasOwnProperty("chain")&&z.chains[0].chain&&z.chains[0].chain.toLowerCase().indexOf("bitcoin")<0)?(this.store.dispatch((0,R.PC)({payload:{action:"FetchInfo",status:A.Bn.COMPLETED}})),this.store.dispatch((0,w.ts)()),this.store.dispatch((0,w.qR)({payload:{data:{type:A.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:A.pg.LOGOUT}):z.identity_pubkey?(z.lnImplementation="LND",this.initializeRemainingData(z,B.payload.loadPage),this.store.dispatch((0,R.PC)({payload:{action:"FetchInfo",status:A.Bn.COMPLETED}})),this.store.dispatch((0,w.ts)()),{type:A.uR.SET_INFO_LND,payload:z||{}}):(this.store.dispatch((0,R.PC)({payload:{action:"FetchInfo",status:A.Bn.COMPLETED}})),this.store.dispatch((0,w.ts)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:A.uR.SET_INFO_LND,payload:{}}))),(0,h.K)(z=>{if("string"==typeof z.error.error&&z.error.error.includes("Not Found")||"string"==typeof z.error.error&&z.error.error.includes("wallet locked")||502===z.status&&!z.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",A.m6.GET_NODE_INFO,"Fetching Node Info Failed.",z);else if("string"==typeof z.error.error&&z.error.error.includes("starting up")&&500===z.status)setTimeout(()=>{this.store.dispatch((0,R.sQ)({payload:{loadPage:"HOME"}}))},2e3);else{const W=this.commonService.extractErrorCode(z),Le=503===W?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(z);this.router.navigate(["/error"],{state:{errorCode:W,errorMessage:Le}}),this.handleErrorWithoutAlert("FetchInfo",A.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:W,error:Le})}return(0,g.of)({type:A.pg.VOID})})))))),this.peersFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.FETCH_PEERS_LND),(0,k.z)(()=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchPeers",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.PEERS_API).pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,R.PC)({payload:{action:"FetchPeers",status:A.Bn.COMPLETED}})),{type:A.uR.SET_PEERS_LND,payload:B||[]})),(0,h.K)(B=>(this.handleErrorWithoutAlert("FetchPeers",A.m6.NO_SPINNER,"Fetching Peers Failed.",B),(0,g.of)({type:A.pg.VOID})))))))),this.saveNewPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.SAVE_NEW_PEER_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.CONNECT_PEER})),this.store.dispatch((0,R.PC)({payload:{action:"SaveNewPeer",status:A.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.NZ.PEERS_API,{pubkey:B.payload.pubkey,host:B.payload.host,perm:B.payload.perm}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,R.PC)({payload:{action:"SaveNewPeer",status:A.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:A.m6.CONNECT_PEER})),this.store.dispatch((0,R.Z8)({payload:z||[]})),{type:A.uR.NEWLY_ADDED_PEER_LND,payload:{peer:z[0]}})),(0,h.K)(z=>(this.handleErrorWithoutAlert("SaveNewPeer",A.m6.CONNECT_PEER,"Peer Connection Failed.",z),(0,g.of)({type:A.pg.VOID})))))))),this.detachPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.DETACH_PEER_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+u.NZ.PEERS_API+"/"+B.payload.pubkey).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,w.uO)({payload:A.m6.DISCONNECT_PEER})),this.store.dispatch((0,w.jW)({payload:"Peer Disconnected Successfully."})),{type:A.uR.REMOVE_PEER_LND,payload:{pubkey:B.payload.pubkey}})),(0,h.K)(z=>(this.handleErrorWithAlert("DetachPeer",A.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+u.NZ.PEERS_API+"/"+B.payload.pubkey,z),(0,g.of)({type:A.pg.VOID})))))))),this.saveNewInvoice=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.SAVE_NEW_INVOICE_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:B.payload.uiMessage})),this.store.dispatch((0,R.PC)({payload:{action:"SaveNewInvoice",status:A.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.NZ.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)(z=>(this.logger.info(z),this.store.dispatch((0,R.PC)({payload:{action:"SaveNewInvoice",status:A.Bn.COMPLETED}})),this.store.dispatch((0,R.WM)({payload:{num_max_invoices:B.payload.pageSize,reversed:!0}})),B.payload.openModal?(z.memo=B.payload.memo,z.value=B.payload.value,z.expiry=B.payload.expiry,z.private=B.payload.private,z.is_amp=B.payload.is_amp,z.cltv_expiry="144",z.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{invoice:z,newlyAdded:!0,component:I.v}}}))},200),{type:A.pg.CLOSE_SPINNER,payload:B.payload.uiMessage}):{type:A.uR.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:z.payment_request}})),(0,h.K)(z=>(this.handleErrorWithoutAlert("SaveNewInvoice",B.payload.uiMessage,"Add Invoice Failed.",z),(0,g.of)({type:A.pg.VOID})))))))),this.openNewChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.SAVE_NEW_CHANNEL_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.OPEN_CHANNEL})),this.store.dispatch((0,R.PC)({payload:{action:"SaveNewChannel",status:A.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.NZ.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)(z=>(this.logger.info(z),this.store.dispatch((0,R.PC)({payload:{action:"SaveNewChannel",status:A.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:A.m6.OPEN_CHANNEL})),this.store.dispatch((0,R.Bl)()),this.store.dispatch((0,R.UR)()),this.store.dispatch((0,R.Vv)({payload:{uiMessage:A.m6.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:A.uR.FETCH_PENDING_CHANNELS_LND})),(0,h.K)(z=>(this.handleErrorWithoutAlert("SaveNewChannel",A.m6.OPEN_CHANNEL,"Opening Channel Failed.",z),(0,g.of)({type:A.pg.VOID})))))))),this.updateChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.UPDATE_CHANNEL_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+u.NZ.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)(z=>(this.logger.info(z),this.store.dispatch((0,w.uO)({payload:A.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,w.jW)("all"===B.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:A.uR.FETCH_CHANNELS_LND})),(0,h.K)(z=>(this.handleErrorWithAlert("UpdateChannels",A.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+u.NZ.CHANNELS_API+"/chanPolicy",z),(0,g.of)({type:A.pg.VOID})))))))),this.closeChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.CLOSE_CHANNEL_LND),(0,k.z)(B=>{this.store.dispatch((0,w.ac)({payload:B.payload.forcibly?A.m6.FORCE_CLOSE_CHANNEL:A.m6.CLOSE_CHANNEL}));let z=this.CHILD_API_URL+u.NZ.CHANNELS_API+"/"+B.payload.channelPoint+"?force="+B.payload.forcibly;return B.payload.targetConf&&(z=z+"&target_conf="+B.payload.targetConf),B.payload.satPerByte&&(z=z+"&sat_per_byte="+B.payload.satPerByte),this.httpClient.delete(z).pipe((0,C.U)(W=>(this.logger.info(W),this.store.dispatch((0,w.uO)({payload:B.payload.forcibly?A.m6.FORCE_CLOSE_CHANNEL:A.m6.CLOSE_CHANNEL})),this.store.dispatch((0,R.UR)()),this.store.dispatch((0,R.Z7)()),this.store.dispatch((0,R.Vv)({payload:{uiMessage:A.m6.NO_SPINNER,channelPoint:"ALL",showMessage:W.message}})),{type:A.pg.VOID})),(0,h.K)(W=>(this.handleErrorWithAlert("CloseChannel",B.payload.forcibly?A.m6.FORCE_CLOSE_CHANNEL:A.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+u.NZ.CHANNELS_API+"/"+B.payload.channelPoint+"?force="+B.payload.forcibly,W),(0,g.of)({type:A.pg.VOID}))))}))),this.backupChannels=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.BACKUP_CHANNELS_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:B.payload.uiMessage})),this.store.dispatch((0,R.PC)({payload:{action:"BackupChannels",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.CHANNELS_BACKUP_API+"/"+B.payload.channelPoint).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,R.PC)({payload:{action:"BackupChannels",status:A.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:B.payload.uiMessage})),this.store.dispatch((0,w.jW)({payload:B.payload.showMessage+" "+z.message})),{type:A.uR.BACKUP_CHANNELS_RES_LND,payload:z.message})),(0,h.K)(z=>(this.handleErrorWithAlert("BackupChannels",B.payload.uiMessage,B.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+u.NZ.CHANNELS_BACKUP_API+"/"+B.payload.channelPoint,z),(0,g.of)({type:A.pg.VOID})))))))),this.verifyChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.VERIFY_CHANNEL_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.VERIFY_CHANNEL})),this.store.dispatch((0,R.PC)({payload:{action:"VerifyChannel",status:A.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.NZ.CHANNELS_BACKUP_API+"/verify/"+B.payload.channelPoint,{}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,R.PC)({payload:{action:"VerifyChannel",status:A.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:A.m6.VERIFY_CHANNEL})),this.store.dispatch((0,w.jW)({payload:z.message})),{type:A.uR.VERIFY_CHANNEL_RES_LND,payload:z.message})),(0,h.K)(z=>(this.handleErrorWithAlert("VerifyChannel",A.m6.VERIFY_CHANNEL,"Unable to Verify Channel. Try again later.",this.CHILD_API_URL+u.NZ.CHANNELS_BACKUP_API+"/verify/"+B.payload.channelPoint,z),(0,g.of)({type:A.pg.VOID})))))))),this.restoreChannels=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.RESTORE_CHANNELS_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.RESTORE_CHANNEL})),this.store.dispatch((0,R.PC)({payload:{action:"RestoreChannels",status:A.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.NZ.CHANNELS_BACKUP_API+"/restore/"+B.payload.channelPoint,{}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,R.PC)({payload:{action:"RestoreChannels",status:A.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:A.m6.RESTORE_CHANNEL})),this.store.dispatch((0,w.jW)({payload:z.message})),this.store.dispatch((0,R.B_)({payload:z.list})),{type:A.uR.RESTORE_CHANNELS_RES_LND,payload:z.message})),(0,h.K)(z=>(this.handleErrorWithAlert("RestoreChannels",A.m6.RESTORE_CHANNEL,"Unable to Restore Channel. Try again later.",this.CHILD_API_URL+u.NZ.CHANNELS_BACKUP_API+"/restore/"+B.payload.channelPoint,z),(0,g.of)({type:A.pg.VOID})))))))),this.fetchFees=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.FETCH_FEES_LND),(0,k.z)(()=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchFees",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.FEES_API))),(0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,R.PC)({payload:{action:"FetchFees",status:A.Bn.COMPLETED}})),B.forwarding_events_history&&(this.store.dispatch((0,R.QJ)({payload:B.forwarding_events_history})),delete B.forwarding_events_history),{type:A.uR.SET_FEES_LND,payload:B||{}})),(0,h.K)(B=>(this.handleErrorWithoutAlert("FetchFees",A.m6.NO_SPINNER,"Fetching Fees Failed.",B),(0,g.of)({type:A.pg.VOID}))))),this.balanceBlockchainFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.FETCH_BLOCKCHAIN_BALANCE_LND),(0,k.z)(()=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchBalance",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.BALANCE_API))),(0,C.U)(B=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchBalance",status:A.Bn.COMPLETED}})),this.logger.info(B),{type:A.uR.SET_BLOCKCHAIN_BALANCE_LND,payload:B||{total_balance:""}})),(0,h.K)(B=>(this.handleErrorWithoutAlert("FetchBalance",A.m6.NO_SPINNER,"Fetching Blockchain Balance Failed.",B),(0,g.of)({type:A.pg.VOID}))))),this.networkInfoFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.FETCH_NETWORK_LND),(0,k.z)(()=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchNetwork",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.NETWORK_API+"/info"))),(0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,R.PC)({payload:{action:"FetchNetwork",status:A.Bn.COMPLETED}})),{type:A.uR.SET_NETWORK_LND,payload:B||{}})),(0,h.K)(B=>(this.handleErrorWithoutAlert("FetchNetwork",A.m6.NO_SPINNER,"Fetching Network Failed.",B),(0,g.of)({type:A.pg.VOID}))))),this.channelsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.FETCH_CHANNELS_LND),(0,k.z)(()=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchChannels",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.CHANNELS_API).pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,R.PC)({payload:{action:"FetchChannels",status:A.Bn.COMPLETED}})),{type:A.uR.SET_CHANNELS_LND,payload:B.channels||[]})),(0,h.K)(B=>(this.handleErrorWithoutAlert("FetchChannels",A.m6.NO_SPINNER,"Fetching Channels Failed.",B),(0,g.of)({type:A.pg.VOID})))))))),this.channelsPendingFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.FETCH_PENDING_CHANNELS_LND),(0,k.z)(()=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchPendingChannels",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.CHANNELS_API+"/pending").pipe((0,C.U)(B=>{this.logger.info(B),this.store.dispatch((0,R.PC)({payload:{action:"FetchPendingChannels",status:A.Bn.COMPLETED}}));const z={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&&(z.total_limbo_balance=B.total_limbo_balance,B.pending_closing_channels&&(z.closing.num_channels=B.pending_closing_channels.length,z.total_channels=z.total_channels+B.pending_closing_channels.length,B.pending_closing_channels.forEach(W=>{z.closing.limbo_balance=+z.closing.limbo_balance+(W.channel.local_balance?+W.channel.local_balance:0)})),B.pending_force_closing_channels&&(z.force_closing.num_channels=B.pending_force_closing_channels.length,z.total_channels=z.total_channels+B.pending_force_closing_channels.length,B.pending_force_closing_channels.forEach(W=>{z.force_closing.limbo_balance=+z.force_closing.limbo_balance+(W.channel.local_balance?+W.channel.local_balance:0)})),B.pending_open_channels&&(z.open.num_channels=B.pending_open_channels.length,z.total_channels=z.total_channels+B.pending_open_channels.length,B.pending_open_channels.forEach(W=>{z.open.limbo_balance=+z.open.limbo_balance+(W.channel.local_balance?+W.channel.local_balance:0)})),B.waiting_close_channels&&(z.waiting_close.num_channels=B.waiting_close_channels.length,z.total_channels=z.total_channels+B.waiting_close_channels.length,B.waiting_close_channels.forEach(W=>{z.waiting_close.limbo_balance=+z.waiting_close.limbo_balance+(W.channel.local_balance?+W.channel.local_balance:0)}))),{type:A.uR.SET_PENDING_CHANNELS_LND,payload:B?{pendingChannels:B,pendingChannelsSummary:z}:{pendingChannels:{},pendingChannelsSummary:z}}}),(0,h.K)(B=>(this.handleErrorWithoutAlert("FetchPendingChannels",A.m6.NO_SPINNER,"Fetching Pending Channels Failed.",B),(0,g.of)({type:A.pg.VOID})))))))),this.channelsClosedFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.FETCH_CLOSED_CHANNELS_LND),(0,k.z)(()=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchClosedChannels",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.CHANNELS_API+"/closed").pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,R.PC)({payload:{action:"FetchClosedChannels",status:A.Bn.COMPLETED}})),{type:A.uR.SET_CLOSED_CHANNELS_LND,payload:B.channels||[]})),(0,h.K)(B=>(this.handleErrorWithoutAlert("FetchClosedChannels",A.m6.NO_SPINNER,"Fetching Closed Channels Failed.",B),(0,g.of)({type:A.pg.VOID})))))))),this.invoicesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.FETCH_INVOICES_LND),(0,k.z)(B=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchInvoices",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.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)(Ve=>(this.logger.info(Ve),this.store.dispatch((0,R.PC)({payload:{action:"FetchInvoices",status:A.Bn.COMPLETED}})),B.payload.reversed&&!B.payload.index_offset&&(Ve.total_invoices=+(Ve.last_index_offset||0)),{type:A.uR.SET_INVOICES_LND,payload:Ve})),(0,h.K)(Ve=>(this.handleErrorWithoutAlert("FetchInvoices",A.m6.NO_SPINNER,"Fetching Invoices Failed.",Ve),(0,g.of)({type:A.pg.VOID})))))))),this.transactionsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.FETCH_TRANSACTIONS_LND),(0,k.z)(()=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchTransactions",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.TRANSACTIONS_API))),(0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,R.PC)({payload:{action:"FetchTransactions",status:A.Bn.COMPLETED}})),{type:A.uR.SET_TRANSACTIONS_LND,payload:B||[]})),(0,h.K)(B=>(this.handleErrorWithoutAlert("FetchTransactions",A.m6.NO_SPINNER,"Fetching Transactions Failed.",B),(0,g.of)({type:A.pg.VOID}))))),this.utxosFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.FETCH_UTXOS_LND),(0,P.M)(this.store.select(E.Q5)),(0,k.z)(([B,z])=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchUTXOs",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.WALLET_API+"/getUTXOs?max_confs="+(z&&z.block_height?z.block_height:1e9)))),(0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,R.PC)({payload:{action:"FetchUTXOs",status:A.Bn.COMPLETED}})),{type:A.uR.SET_UTXOS_LND,payload:B||[]})),(0,h.K)(B=>(this.handleErrorWithoutAlert("FetchUTXOs",A.m6.NO_SPINNER,"Fetching UTXOs Failed.",B),(0,g.of)({type:A.pg.VOID}))))),this.paymentsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.FETCH_PAYMENTS_LND),(0,k.z)(B=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchPayments",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.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)(Ve=>(this.logger.info(Ve),this.store.dispatch((0,R.PC)({payload:{action:"FetchPayments",status:A.Bn.COMPLETED}})),{type:A.uR.SET_PAYMENTS_LND,payload:Ve})),(0,h.K)(Ve=>(this.handleErrorWithoutAlert("FetchPayments",A.m6.NO_SPINNER,"Fetching Payments Failed.",Ve),(0,g.of)({type:A.uR.SET_PAYMENTS_LND,payload:{payments:[]}})))))))),this.sendPayment=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.SEND_PAYMENT_LND),(0,k.z)(B=>{this.store.dispatch((0,w.ac)({payload:B.payload.uiMessage})),this.store.dispatch((0,R.PC)({payload:{action:"SendPayment",status:A.Bn.INITIATED}}));const z={};return z.paymentReq=B.payload.paymentReq,B.payload.paymentAmount&&(z.paymentAmount=B.payload.paymentAmount),B.payload.outgoingChannel&&(z.outgoingChannel=B.payload.outgoingChannel.chan_id),B.payload.allowSelfPayment&&(z.allowSelfPayment=B.payload.allowSelfPayment),B.payload.lastHopPubkey&&(z.lastHopPubkey=B.payload.lastHopPubkey),B.payload.feeLimitType&&B.payload.feeLimitType!==A.Vc[0].id&&(z.feeLimit={},z.feeLimit[B.payload.feeLimitType]=B.payload.feeLimit),this.httpClient.post(this.CHILD_API_URL+u.NZ.CHANNELS_API+"/transactions",z).pipe((0,C.U)(W=>{if(this.logger.info(W),this.store.dispatch((0,w.uO)({payload:B.payload.uiMessage})),this.store.dispatch((0,R.PC)({payload:{action:"SendPayment",status:A.Bn.COMPLETED}})),W.payment_error)return B.payload.allowSelfPayment?(this.store.dispatch((0,R.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),{type:A.uR.SEND_PAYMENT_STATUS_LND,payload:W}):(B.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",B.payload.uiMessage,"Send Payment Failed.",W.payment_error):this.handleErrorWithAlert("SendPayment",B.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+u.NZ.CHANNELS_API+"/transactions",W.payment_error),{type:A.pg.VOID});if(this.store.dispatch((0,w.uO)({payload:B.payload.uiMessage})),this.store.dispatch((0,R.PC)({payload:{action:"SendPayment",status:A.Bn.COMPLETED}})),this.store.dispatch((0,R.UR)()),this.store.dispatch((0,R.cQ)({payload:{max_payments:this.paymentsPageSize,reversed:!0}})),B.payload.allowSelfPayment)this.store.dispatch((0,R.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}}));else{let Le="Payment Sent Successfully.";W.payment_route&&W.payment_route.total_fees_msat&&(Le="Payment sent successfully with the total fee "+W.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,w.jW)({payload:Le}))}return{type:A.uR.SEND_PAYMENT_STATUS_LND,payload:W}}),(0,h.K)(W=>(this.logger.error("Error: "+JSON.stringify(W)),B.payload.allowSelfPayment?(this.handleErrorWithoutAlert("SendPayment",B.payload.uiMessage,"Send Payment Failed.",W),this.store.dispatch((0,R.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),(0,g.of)({type:A.uR.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(W)}})):(B.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",B.payload.uiMessage,"Send Payment Failed.",W):this.handleErrorWithAlert("SendPayment",B.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+u.NZ.CHANNELS_API+"/transactions",W),(0,g.of)({type:A.pg.VOID})))))}))),this.graphNodeFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.FETCH_GRAPH_NODE_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,R.PC)({payload:{action:"FetchGraphNode",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.NETWORK_API+"/node/"+B.payload.pubkey).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,w.uO)({payload:A.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,R.PC)({payload:{action:"FetchGraphNode",status:A.Bn.COMPLETED}})),{type:A.uR.SET_GRAPH_NODE_LND,payload:z&&z.node?{node:z.node}:{node:null}})),(0,h.K)(z=>(this.handleErrorWithoutAlert("FetchGraphNode",A.m6.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",z),(0,g.of)({type:A.pg.VOID})))))))),this.setGraphNode=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.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)(A.uR.GET_NEW_ADDRESS_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+u.NZ.NEW_ADDRESS_API+"?type="+B.payload.addressId).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,w.uO)({payload:A.m6.GENERATE_NEW_ADDRESS})),{type:A.uR.SET_NEW_ADDRESS_LND,payload:z&&z.address?z.address:{}})),(0,h.K)(z=>(this.handleErrorWithAlert("GetNewAddress",A.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+u.NZ.NEW_ADDRESS_API+"?type="+B.payload.addressId,z),(0,g.of)({type:A.pg.VOID})))))))),this.setNewAddress=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.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)(A.uR.SET_CHANNEL_TRANSACTION_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.SEND_FUNDS})),this.store.dispatch((0,R.PC)({payload:{action:"SetChannelTransaction",status:A.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.NZ.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)(z=>(this.logger.info(z),this.store.dispatch((0,R.PC)({payload:{action:"SetChannelTransaction",status:A.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:A.m6.SEND_FUNDS})),this.store.dispatch((0,R.mC)()),this.store.dispatch((0,R.Bl)()),this.store.dispatch((0,R.UR)()),{type:A.uR.SET_CHANNEL_TRANSACTION_RES_LND,payload:z})),(0,h.K)(z=>(this.handleErrorWithoutAlert("SetChannelTransaction",A.m6.SEND_FUNDS,"Sending Fund Failed.",z),(0,g.of)({type:A.pg.VOID})))))))),this.fetchForwardingHistory=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.GET_FORWARDING_HISTORY_LND),(0,k.z)(B=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchForwardingHistory",status:A.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.NZ.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)(W=>(this.logger.info(W),this.store.dispatch((0,R.PC)({payload:{action:"FetchForwardingHistory",status:A.Bn.COMPLETED}})),{type:A.uR.SET_FORWARDING_HISTORY_LND,payload:W})),(0,h.K)(W=>(this.handleErrorWithAlert("FetchForwardingHistory",A.m6.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+u.NZ.SWITCH_API,W),(0,g.of)({type:A.pg.VOID})))))))),this.queryRoutesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.GET_QUERY_ROUTES_LND),(0,k.z)(B=>{let z=this.CHILD_API_URL+u.NZ.NETWORK_API+"/routes/"+B.payload.destPubkey+"/"+B.payload.amount;return B.payload.outgoingChanId&&(z=z+"?outgoing_chan_id="+B.payload.outgoingChanId),this.httpClient.get(z).pipe((0,C.U)(W=>(this.logger.info(W),{type:A.uR.SET_QUERY_ROUTES_LND,payload:W})),(0,h.K)(W=>(this.store.dispatch((0,R.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",A.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+u.NZ.NETWORK_API,W),(0,g.of)({type:A.pg.VOID}))))}))),this.setQueryRoutes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.SET_QUERY_ROUTES_LND),(0,C.U)(B=>B.payload)),{dispatch:!1}),this.genSeed=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.GEN_SEED_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+u.NZ.WALLET_API+"/genseed/"+B.payload).pipe((0,C.U)(z=>(this.logger.info("Generated GenSeed!"),this.logger.info(z),this.store.dispatch((0,w.uO)({payload:A.m6.GEN_SEED})),{type:A.uR.GEN_SEED_RESPONSE_LND,payload:z.cipher_seed_mnemonic})),(0,h.K)(z=>(this.handleErrorWithAlert("GenSeed",A.m6.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+u.NZ.WALLET_API+"/genseed/"+B.payload,z),(0,g.of)({type:A.pg.VOID})))))))),this.updateSelNodeOptions=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.pg.UPDATE_SELECTED_NODE_OPTIONS),(0,k.z)(()=>this.httpClient.get(this.CHILD_API_URL+u.NZ.WALLET_API+"/updateSelNodeOptions").pipe((0,C.U)(B=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(B),{type:A.pg.VOID})),(0,h.K)(B=>(this.handleErrorWithAlert("UpdateSelectedNodeOptions",A.m6.NO_SPINNER,"Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",B),(0,g.of)({type:A.pg.VOID}))))))),this.genSeedResponse=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.GEN_SEED_RESPONSE_LND),(0,C.U)(B=>B.payload)),{dispatch:!1}),this.initWalletRes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.INIT_WALLET_RESPONSE_LND),(0,C.U)(B=>B.payload)),{dispatch:!1}),this.initWallet=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.INIT_WALLET_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+u.NZ.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)(z=>(this.logger.info(z),this.store.dispatch((0,w.uO)({payload:A.m6.INITIALIZE_WALLET})),{type:A.uR.INIT_WALLET_RESPONSE_LND,payload:z})),(0,h.K)(z=>(this.handleErrorWithAlert("InitWallet",A.m6.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+u.NZ.WALLET_API+"/initwallet",z),(0,g.of)({type:A.pg.VOID})))))))),this.unlockWallet=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.UNLOCK_WALLET_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+u.NZ.WALLET_API+"/wallet/unlockwallet",{wallet_password:B.payload.pwd}).pipe((0,C.U)(z=>(this.logger.info(z),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,w.uO)({payload:A.m6.UNLOCK_WALLET})),this.store.dispatch((0,w.ac)({payload:A.m6.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,w.uO)({payload:A.m6.WAIT_SYNC_NODE})),this.store.dispatch((0,R.sQ)({payload:{loadPage:"HOME"}}))},5e3),{type:A.pg.VOID})),(0,h.K)(z=>(this.handleErrorWithAlert("UnlockWallet",A.m6.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+u.NZ.WALLET_API+"/unlockwallet",z),(0,g.of)({type:A.pg.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.PEER_LOOKUP_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.SEARCHING_NODE})),this.store.dispatch((0,R.PC)({payload:{action:"Lookup",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.NETWORK_API+"/node/"+B.payload).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,w.uO)({payload:A.m6.SEARCHING_NODE})),this.store.dispatch((0,R.PC)({payload:{action:"Lookup",status:A.Bn.COMPLETED}})),{type:A.uR.SET_LOOKUP_LND,payload:z})),(0,h.K)(z=>(this.handleErrorWithAlert("Lookup",A.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+u.NZ.NETWORK_API+"/node/"+B.payload,z),(0,g.of)({type:A.pg.VOID})))))))),this.channelLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.CHANNEL_LOOKUP_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:B.payload.uiMessage})),this.store.dispatch((0,R.PC)({payload:{action:"Lookup",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.NETWORK_API+"/edge/"+B.payload.channelID).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,w.uO)({payload:B.payload.uiMessage})),this.store.dispatch((0,R.PC)({payload:{action:"Lookup",status:A.Bn.COMPLETED}})),{type:A.uR.SET_LOOKUP_LND,payload:z})),(0,h.K)(z=>(this.handleErrorWithAlert("Lookup",B.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+u.NZ.NETWORK_API+"/edge/"+B.payload.channelID,z),(0,g.of)({type:A.pg.VOID})))))))),this.invoiceLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.INVOICE_LOOKUP_LND),(0,k.z)(B=>{this.store.dispatch((0,w.ac)({payload:A.m6.SEARCHING_INVOICE})),this.store.dispatch((0,R.PC)({payload:{action:"Lookup",status:A.Bn.INITIATED}}));let z=this.CHILD_API_URL+u.NZ.INVOICES_API+"/lookup";return z=B.payload.paymentAddress&&""!==B.payload.paymentAddress?z+"?payment_addr="+B.payload.paymentAddress:z+"?payment_hash="+B.payload.paymentHash,this.httpClient.get(z).pipe((0,C.U)(W=>(this.logger.info(W),this.store.dispatch((0,w.uO)({payload:A.m6.SEARCHING_INVOICE})),this.store.dispatch((0,R.PC)({payload:{action:"Lookup",status:A.Bn.COMPLETED}})),this.store.dispatch((0,R.aL)({payload:W})),{type:A.uR.SET_LOOKUP_LND,payload:W})),(0,h.K)(W=>(this.store.dispatch((0,R.PC)({payload:{action:"Lookup",status:A.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",A.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",W),B.payload.openSnackBar&&this.store.dispatch((0,w.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,g.of)({type:A.uR.SET_LOOKUP_LND,payload:{error:W}}))))}))),this.paymentLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.PAYMENT_LOOKUP_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,R.PC)({payload:{action:"Lookup",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.PAYMENTS_API+"/lookup/"+B.payload).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,w.uO)({payload:A.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,R.PC)({payload:{action:"Lookup",status:A.Bn.COMPLETED}})),this.store.dispatch((0,R.qY)({payload:z})),{type:A.uR.SET_LOOKUP_LND,payload:z})),(0,h.K)(z=>(this.store.dispatch((0,R.PC)({payload:{action:"Lookup",status:A.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",A.m6.SEARCHING_PAYMENT,"Payment Lookup Failed",z),(0,g.of)({type:A.uR.SET_LOOKUP_LND,payload:{error:z}})))))))),this.setLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.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)(A.uR.RESTORE_CHANNELS_LIST_LND),(0,k.z)(()=>(this.store.dispatch((0,R.PC)({payload:{action:"RestoreChannelsList",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.CHANNELS_BACKUP_API+"/restore/list").pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,R.PC)({payload:{action:"RestoreChannelsList",status:A.Bn.COMPLETED}})),{type:A.uR.SET_RESTORE_CHANNELS_LIST_LND,payload:B||{all_restore_exists:!1,files:[]}})),(0,h.K)(B=>(this.handleErrorWithAlert("RestoreChannelsList",A.m6.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+u.NZ.CHANNELS_BACKUP_API,B),(0,g.of)({type:A.pg.VOID})))))))),this.setRestoreChannelList=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.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)(A.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,k.z)(()=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchLightningTransactions",status:A.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.NZ.PAYMENTS_API+"/alltransactions").pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,R.PC)({payload:{action:"FetchLightningTransactions",status:A.Bn.COMPLETED}})),{type:A.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:B})),(0,h.K)(B=>(this.handleErrorWithoutAlert("FetchLightningTransactions",A.m6.NO_SPINNER,"Fetching All Lightning Transaction Failed.",B),(0,g.of)({type:A.pg.VOID})))))))),this.pageSettingsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.FETCH_PAGE_SETTINGS_LND),(0,k.z)(()=>(this.store.dispatch((0,R.PC)({payload:{action:"FetchPageSettings",status:A.Bn.INITIATED}})),this.httpClient.get(u.NZ.PAGE_SETTINGS_API).pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,R.PC)({payload:{action:"FetchPageSettings",status:A.Bn.COMPLETED}})),this.invoicesPageSize=(B&&Object.keys(B).length>0?B.find(z=>"transactions"===z.pageId)?.tables.find(z=>"invoices"===z.tableId):A.gK.find(z=>"transactions"===z.pageId)?.tables.find(z=>"invoices"===z.tableId)).recordsPerPage,this.paymentsPageSize=(B&&Object.keys(B).length>0?B.find(z=>"transactions"===z.pageId)?.tables.find(z=>"payments"===z.tableId):A.gK.find(z=>"transactions"===z.pageId)?.tables.find(z=>"payments"===z.tableId)).recordsPerPage,this.store.dispatch((0,R.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),{type:A.uR.SET_PAGE_SETTINGS_LND,payload:B||[]})),(0,h.K)(B=>(this.handleErrorWithoutAlert("FetchPageSettings",A.m6.NO_SPINNER,"Fetching Page Settings Failed.",B),(0,g.of)({type:A.pg.VOID})))))))),this.savePageSettings=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(A.uR.SAVE_PAGE_SETTINGS_LND),(0,k.z)(B=>(this.store.dispatch((0,w.ac)({payload:A.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,R.PC)({payload:{action:"SavePageSettings",status:A.Bn.INITIATED}})),this.httpClient.post(u.NZ.PAGE_SETTINGS_API,B.payload).pipe((0,C.U)(z=>{this.logger.info(z),this.store.dispatch((0,R.PC)({payload:{action:"SavePageSettings",status:A.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:A.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,w.jW)({payload:"Page Layout Updated Successfully!"}));const W=(z.find(Ve=>"transactions"===Ve.pageId)?.tables.find(Ve=>"invoices"===Ve.tableId)||A.gK.find(Ve=>"transactions"===Ve.pageId)?.tables.find(Ve=>"invoices"===Ve.tableId)).recordsPerPage,Le=(z.find(Ve=>"transactions"===Ve.pageId)?.tables.find(Ve=>"payments"===Ve.tableId)||A.gK.find(Ve=>"transactions"===Ve.pageId)?.tables.find(Ve=>"payments"===Ve.tableId)).recordsPerPage;return W!==this.invoicesPageSize&&(this.invoicesPageSize=W,this.store.dispatch((0,R.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}}))),Le!==this.paymentsPageSize&&(this.paymentsPageSize=Le),{type:A.uR.SET_PAGE_SETTINGS_LND,payload:z||[]}}),(0,h.K)(z=>(this.handleErrorWithAlert("SavePageSettings",A.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",u.NZ.PAGE_SETTINGS_API,z),(0,g.of)({type:A.pg.VOID})))))))),this.store.select(E.yA).pipe((0,o.R)(this.unSubs[0])).subscribe(B=>{B.FetchInfo.status!==A.Bn.COMPLETED&&B.FetchInfo.status!==A.Bn.ERROR||B.FetchFees.status!==A.Bn.COMPLETED&&B.FetchFees.status!==A.Bn.ERROR||B.FetchBalanceBlockchain.status!==A.Bn.COMPLETED&&B.FetchBalanceBlockchain.status!==A.Bn.ERROR||B.FetchAllChannels.status!==A.Bn.COMPLETED&&B.FetchAllChannels.status!==A.Bn.ERROR||B.FetchPendingChannels.status!==A.Bn.COMPLETED&&B.FetchPendingChannels.status!==A.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,w.uO)({payload:A.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===A.g8.INVOICE?(this.logger.info(B),B&&B.result&&B.result.payment_request&&this.store.dispatch((0,R.aL)({payload:B.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(B)))})}initializeRemainingData(i,r){this.sessionService.setItem("lndUnlocked","true");const d={identity_pubkey:i.identity_pubkey,alias:i.alias,testnet:i.testnet,chains:i.chains,uris:i.uris,version:i.version?i.version.split(" ")[0]:""};this.store.dispatch((0,w.ac)({payload:A.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,w._V)({payload:d}));let c=this.location.path();c.includes("/cln/")?c=c?.replace("/cln/","/lnd/"):c.includes("/ecl/")&&(c=c?.replace("/ecl/","/lnd/")),(c.includes("/unlock")||c.includes("/login")||c.includes("/error")||""===c||"HOME"===r||c.includes("?access-key="))&&(c="/lnd/home"),this.router.navigate([c]),this.store.dispatch((0,R.wD)()),this.store.dispatch((0,R.Bl)()),this.store.dispatch((0,R.UR)()),this.store.dispatch((0,R.Z7)()),this.store.dispatch((0,R.Zh)()),this.store.dispatch((0,R.$W)()),this.store.dispatch((0,R.Rv)()),this.store.dispatch((0,R.SN)()),this.store.dispatch((0,R.cQ)({payload:{max_payments:1e5,reversed:!0}}))}handleErrorWithoutAlert(i,r,d,c){this.logger.error("ERROR IN: "+i+"\n"+JSON.stringify(c)),401===c.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."}))):(this.store.dispatch((0,w.uO)({payload:r})),this.store.dispatch((0,R.PC)({payload:{action:i,status:A.Bn.ERROR,statusCode:c.status.toString(),message:this.commonService.extractErrorMessage(c,d)}})))}handleErrorWithAlert(i,r,d,c,b){if(this.logger.error(b),401===b.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:r}));const T=this.commonService.extractErrorMessage(b);this.store.dispatch((0,w.qR)({payload:{data:{type:"ERROR",alertTitle:d,message:{code:b.status,message:T,URL:c},component:S.H}}})),this.store.dispatch((0,R.PC)({payload:{action:i,status:A.Bn.ERROR,statusCode:b.status.toString(),message:T,URL:c}}))}}ngOnDestroy(){this.unSubs.forEach(i=>{i.next(null),i.complete()})}}le.\u0275fac=function(i){return new(i||le)(U.LFG(t.eX),U.LFG(Y.eN),U.LFG(Q.yh),U.LFG(X.mQ),U.LFG($.v),U.LFG(fe.m),U.LFG(re.uw),U.LFG(ee.F0),U.LFG(ce.d),U.LFG(se.Ye))},le.\u0275prov=U.Yz7({token:le,factory:le.\u0275fac})},6529:(ze,K,m)=>{"use strict";m.d(K,{$k:()=>g,Bo:()=>P,Ef:()=>w,JG:()=>I,N7:()=>fe,P2:()=>Y,PP:()=>u,Pr:()=>k,Q5:()=>o,T4:()=>$,Wi:()=>S,ZW:()=>R,_f:()=>ee,bx:()=>ce,dx:()=>A,l5:()=>re,ni:()=>U,qU:()=>Q,yA:()=>h});var t=m(9653);const e=(0,t.ZF)("lnd"),g=(0,t.P1)(e,se=>se.nodeSettings),k=(0,t.P1)(e,se=>({pageSettings:se.pageSettings,apiCallStatus:se.apisCallStatus.FetchPageSettings})),o=(0,t.P1)(e,se=>se.information),h=((0,t.P1)(e,se=>({information:se.information,apiCallStatus:se.apisCallStatus.FetchInfo})),(0,t.P1)(e,se=>se.apisCallStatus)),P=(0,t.P1)(e,se=>({forwardingHistory:se.forwardingHistory,apiCallStatus:se.apisCallStatus.FetchForwardingHistory})),u=(0,t.P1)(e,se=>({listPayments:se.listPayments,apiCallStatus:se.apisCallStatus.FetchPayments})),I=(0,t.P1)(e,se=>({fees:se.fees,apiCallStatus:se.apisCallStatus.FetchFees})),S=(0,t.P1)(e,se=>({peers:se.peers,apiCallStatus:se.apisCallStatus.FetchPeers})),A=(0,t.P1)(e,se=>({transactions:se.transactions,apiCallStatus:se.apisCallStatus.FetchTransactions})),w=(0,t.P1)(e,se=>({listInvoices:se.listInvoices,apiCallStatus:se.apisCallStatus.FetchInvoices})),R=(0,t.P1)(e,se=>({channels:se.channels,channelsSummary:se.channelsSummary,lightningBalance:se.lightningBalance,apiCallStatus:se.apisCallStatus.FetchAllChannels})),U=((0,t.P1)(e,se=>({channelsSummary:se.channelsSummary,pendingChannels:se.pendingChannels,closedChannels:se.closedChannels,apiCallStatus:se.apisCallStatus.FetchAllChannels})),(0,t.P1)(e,se=>({pendingChannels:se.pendingChannels,pendingChannelsSummary:se.pendingChannelsSummary,apiCallStatus:se.apisCallStatus.FetchPendingChannels}))),Y=(0,t.P1)(e,se=>({closedChannels:se.closedChannels,apiCallStatus:se.apisCallStatus.FetchClosedChannels})),Q=(0,t.P1)(e,se=>({blockchainBalance:se.blockchainBalance,apiCallStatus:se.apisCallStatus.FetchBalanceBlockchain})),$=((0,t.P1)(e,se=>({lightningBalance:se.lightningBalance,apiCallStatus:se.apisCallStatus.FetchAllChannels})),(0,t.P1)(e,se=>({utxos:se.utxos,apiCallStatus:se.apisCallStatus.FetchUTXOs}))),fe=(0,t.P1)(e,se=>({networkInfo:se.networkInfo,apiCallStatus:se.apisCallStatus.FetchNetwork})),re=(0,t.P1)(e,se=>({allLightningTransactions:se.allLightningTransactions,apiCallStatus:se.apisCallStatus.FetchLightningTransactions})),ee=(0,t.P1)(e,se=>({channels:se.channels,pendingChannels:se.pendingChannels,closedChannels:se.closedChannels})),ce=(0,t.P1)(e,se=>({information:se.information,nodeSettings:se.nodeSettings,apiCallStatus:se.apisCallStatus.FetchInfo}))},8627:(ze,K,m)=>{"use strict";m.d(K,{v:()=>Ee});var t=m(7274),e=m(2687),g=m(7579),k=m(2722),o=m(7731),C=m(6529),h=m(4650),P=m(5043),u=m(62),I=m(7009),S=m(9653),A=m(6895),w=m(2216),R=m(1576),E=m(5829),U=m(4859),Y=m(3546),Q=m(752),X=m(7392),$=m(4850),fe=m(1572),re=m(266),ee=m(658),ce=m(5199),se=m(3390);const le=["scrollContainer"];function L(ke,ie){if(1&ke&&h._UZ(0,"qr-code",33),2&ke){const nt=h.oxw();h.Q6J("value",null==nt.invoice?null:nt.invoice.payment_request)("size",nt.qrWidth)("errorCorrectionLevel","L")}}function i(ke,ie){1&ke&&(h.TgZ(0,"span",34),h._uU(1,"N/A"),h.qZA())}function r(ke,ie){if(1&ke&&h._UZ(0,"qr-code",33),2&ke){const nt=h.oxw();h.Q6J("value",null==nt.invoice?null:nt.invoice.payment_request)("size",nt.qrWidth)("errorCorrectionLevel","L")}}function d(ke,ie){1&ke&&(h.TgZ(0,"span",35),h._uU(1,"QR Code Not Applicable"),h.qZA())}function c(ke,ie){1&ke&&h._UZ(0,"mat-divider",22),2&ke&&h.Q6J("inset",!0)}function b(ke,ie){1&ke&&(h.ynx(0),h._uU(1," (zero amount) "),h.BQk())}function T(ke,ie){1&ke&&h._UZ(0,"span",41)}const N=function(){return[]};function v(ke,ie){if(1&ke&&(h.TgZ(0,"div",37)(1,"div",38)(2,"span",39),h._uU(3),h.ALo(4,"number"),h.qZA(),h.YNc(5,T,1,0,"span",40),h.qZA()()),2&ke){const nt=h.oxw(2);h.xp6(3),h.hij("",h.lcZ(4,2,null==nt.invoice?null:nt.invoice.amt_paid_sat)," Sats"),h.xp6(2),h.Q6J("ngForOf",h.DdM(4,N).constructor(35))}}function n(ke,ie){if(1&ke&&(h.TgZ(0,"div"),h._uU(1),h.ALo(2,"number"),h.qZA()),2&ke){const nt=h.oxw(2);h.xp6(1),h.hij("",h.lcZ(2,1,null==nt.invoice?null:nt.invoice.amt_paid_sat)," Sats")}}function y(ke,ie){if(1&ke&&(h.ynx(0),h.YNc(1,v,6,5,"div",36),h.YNc(2,n,3,3,"div",21),h.BQk()),2&ke){const nt=h.oxw();h.xp6(1),h.Q6J("ngIf",nt.flgInvoicePaid),h.xp6(1),h.Q6J("ngIf",!nt.flgInvoicePaid)}}function B(ke,ie){1&ke&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function z(ke,ie){1&ke&&h._UZ(0,"mat-spinner",43),2&ke&&h.Q6J("diameter",20)}function W(ke,ie){if(1&ke&&(h.ynx(0),h.YNc(1,B,2,0,"span",21),h.YNc(2,z,1,1,"mat-spinner",42),h.BQk()),2&ke){const nt=h.oxw();h.xp6(1),h.Q6J("ngIf","OPEN"!==(null==nt.invoice?null:nt.invoice.state)||!nt.flgVersionCompatible),h.xp6(1),h.Q6J("ngIf","OPEN"===(null==nt.invoice?null:nt.invoice.state)&&nt.flgVersionCompatible)}}function Le(ke,ie){1&ke&&h.GkF(0)}function Ve(ke,ie){if(1&ke&&(h.TgZ(0,"div"),h.YNc(1,Le,1,0,"ng-container",44),h.qZA()),2&ke){h.oxw();const nt=h.MAs(79);h.xp6(1),h.Q6J("ngTemplateOutlet",nt)}}function Ke(ke,ie){if(1&ke){const nt=h.EpF();h.TgZ(0,"div",45)(1,"button",46),h.NdJ("click",function(){h.CHM(nt);const rt=h.oxw();return h.KtG(rt.onScrollDown())}),h.TgZ(2,"mat-icon",47),h._uU(3,"arrow_downward"),h.qZA()()()}}function $e(ke,ie){1&ke&&(h.TgZ(0,"p"),h._uU(1,"Show Advanced"),h.qZA())}function Ae(ke,ie){1&ke&&(h.TgZ(0,"p"),h._uU(1,"Hide Advanced"),h.qZA())}function ue(ke,ie){if(1&ke){const nt=h.EpF();h.TgZ(0,"button",48),h.NdJ("copied",function(rt){h.CHM(nt);const Xt=h.oxw();return h.KtG(Xt.onCopyPayment(rt))}),h._uU(1),h.qZA()}if(2&ke){const nt=h.oxw();h.Q6J("payload",null==nt.invoice?null:nt.invoice.payment_request),h.xp6(1),h.Oqu(nt.screenSize===nt.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function ye(ke,ie){if(1&ke){const nt=h.EpF();h.TgZ(0,"button",49),h.NdJ("click",function(){h.CHM(nt);const rt=h.oxw();return h.KtG(rt.onClose())}),h._uU(1,"OK"),h.qZA()}}const we=function(ke){return{"mr-0":ke}};function he(ke,ie){if(1&ke&&h._UZ(0,"span",64),2&ke){const nt=h.oxw(4);h.Q6J("ngClass",h.VKq(1,we,nt.screenSize===nt.screenSizeEnum.XS))}}function it(ke,ie){if(1&ke&&h._UZ(0,"span",65),2&ke){const nt=h.oxw(4);h.Q6J("ngClass",h.VKq(1,we,nt.screenSize===nt.screenSizeEnum.XS))}}function De(ke,ie){if(1&ke&&h._UZ(0,"span",66),2&ke){const nt=h.oxw(4);h.Q6J("ngClass",h.VKq(1,we,nt.screenSize===nt.screenSizeEnum.XS))}}function oe(ke,ie){if(1&ke&&(h.TgZ(0,"div",53)(1,"div",58)(2,"span",59),h.YNc(3,he,1,3,"span",60),h.YNc(4,it,1,3,"span",61),h.YNc(5,De,1,3,"span",62),h._uU(6),h.qZA(),h.TgZ(7,"span",63),h._uU(8),h.ALo(9,"number"),h.qZA()(),h._UZ(10,"mat-divider",22),h.qZA()),2&ke){const nt=ie.$implicit,Ct=h.oxw(3);h.xp6(3),h.Q6J("ngIf","SETTLED"===nt.state),h.xp6(1),h.Q6J("ngIf","ACCEPTED"===nt.state),h.xp6(1),h.Q6J("ngIf","CANCELED"===nt.state),h.xp6(1),h.hij(" ",nt.chan_id," "),h.xp6(2),h.Oqu(h.xi3(9,6,+nt.amt_msat/1e3||0,Ct.getDecimalFormat(nt))),h.xp6(2),h.Q6J("inset",!0)}}function me(ke,ie){if(1&ke){const nt=h.EpF();h.TgZ(0,"div",17)(1,"mat-expansion-panel",51),h.NdJ("opened",function(){h.CHM(nt);const rt=h.oxw(2);return h.KtG(rt.flgOpened=!0)})("closed",function(){h.CHM(nt);const rt=h.oxw(2);return h.KtG(rt.onExpansionClosed())}),h.TgZ(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),h._uU(5,"HTLCs"),h.qZA()()(),h.TgZ(6,"div",53)(7,"div",54)(8,"span",55),h._uU(9,"Channel ID"),h.qZA(),h.TgZ(10,"span",56),h._uU(11,"Amount (Sats)"),h.qZA()(),h._UZ(12,"mat-divider",22),h.YNc(13,oe,11,9,"div",57),h.qZA()()()}if(2&ke){const nt=h.oxw(2);h.xp6(12),h.Q6J("inset",!0),h.xp6(1),h.Q6J("ngForOf",null==nt.invoice?null:nt.invoice.htlcs)}}function te(ke,ie){1&ke&&h._UZ(0,"mat-divider",22),2&ke&&h.Q6J("inset",!0)}function Ze(ke,ie){if(1&ke&&(h._UZ(0,"mat-divider",22),h.TgZ(1,"div",17)(2,"div",23)(3,"h4",19),h._uU(4,"Preimage"),h.qZA(),h.TgZ(5,"span",24),h._uU(6),h.qZA()()(),h._UZ(7,"mat-divider",22),h.TgZ(8,"div",17)(9,"div",18)(10,"h4",19),h._uU(11,"State"),h.qZA(),h.TgZ(12,"span",24),h._uU(13),h.qZA()(),h.TgZ(14,"div",18)(15,"h4",19),h._uU(16,"Expiry"),h.qZA(),h.TgZ(17,"span",24),h._uU(18),h.ALo(19,"date"),h.qZA()()(),h._UZ(20,"mat-divider",22),h.TgZ(21,"div",17)(22,"div",18)(23,"h4",19),h._uU(24,"Private Routing Hints"),h.qZA(),h.TgZ(25,"span",24),h._uU(26),h.qZA()(),h.TgZ(27,"div",18)(28,"h4",19),h._uU(29,"AMP Invoice"),h.qZA(),h.TgZ(30,"span",24),h._uU(31),h.qZA()()(),h._UZ(32,"mat-divider",22),h.YNc(33,me,14,2,"div",50),h.YNc(34,te,1,1,"mat-divider",14)),2&ke){const nt=h.oxw();h.Q6J("inset",!0),h.xp6(6),h.Oqu((null==nt.invoice?null:nt.invoice.r_preimage)||"-"),h.xp6(1),h.Q6J("inset",!0),h.xp6(6),h.Oqu(null==nt.invoice?null:nt.invoice.state),h.xp6(5),h.Oqu(h.xi3(19,11,1e3*(+(null==nt.invoice?null:nt.invoice.creation_date)+ +(null==nt.invoice?null:nt.invoice.expiry)),"dd/MMM/y HH:mm")),h.xp6(2),h.Q6J("inset",!0),h.xp6(6),h.Oqu(null!=nt.invoice&&nt.invoice.private?"Yes":"No"),h.xp6(5),h.Oqu(null!=nt.invoice&&nt.invoice.is_amp?"Yes":"No"),h.xp6(1),h.Q6J("inset",!0),h.xp6(1),h.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.htlcs)&&(null==nt.invoice?null:nt.invoice.htlcs.length)>0),h.xp6(1),h.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.htlcs)&&(null==nt.invoice?null:nt.invoice.htlcs.length)>0)}}const Ue=function(ke){return{"display-none":ke}},q=function(ke){return{"xs-scroll-y":ke}},de=function(ke){return{"h-50":ke}};class Ee{constructor(ie,nt,Ct,rt,Xt,gt){this.dialogRef=ie,this.data=nt,this.logger=Ct,this.commonService=rt,this.snackBar=Xt,this.store=gt,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 g.x,new g.x,new g.x,new g.x,new g.x]}set container(ie){ie&&(this.scrollContainer=ie)}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,k.R)(this.unSubs[0])).subscribe(nt=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(nt.version,"0.11.0")});const ie=JSON.parse(JSON.stringify(this.invoice));this.store.select(C.Ef).pipe((0,k.R)(this.unSubs[1])).subscribe(nt=>{const Ct=this.invoice?.state,Xt=(nt.listInvoices.invoices||[]).find(gt=>gt.r_hash===ie.r_hash)||null;Xt&&(this.invoice=Xt),Ct!==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(ie){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+ie)}getDecimalFormat(ie){return ie.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(ie=>{ie.next(null),ie.complete()})}}Ee.\u0275fac=function(ie){return new(ie||Ee)(h.Y36(t.so),h.Y36(t.WI),h.Y36(P.mQ),h.Y36(u.v),h.Y36(I.ux),h.Y36(S.yh))},Ee.\u0275cmp=h.Xpm({type:Ee,selectors:[["rtl-invoice-information"]],viewQuery:function(ie,nt){if(1&ie&&h.Gf(le,5),2&ie){let Ct;h.iGM(Ct=h.CRH())&&(nt.container=Ct.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(ie,nt){if(1&ie&&(h.TgZ(0,"div",0)(1,"div",1),h.YNc(2,L,1,3,"qr-code",2),h.YNc(3,i,2,0,"span",3),h.qZA(),h.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),h._UZ(7,"fa-icon",7),h.TgZ(8,"span",8),h._uU(9),h.qZA()(),h.TgZ(10,"button",9),h.NdJ("click",function(){return nt.onClose()}),h._uU(11,"X"),h.qZA()(),h.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),h.YNc(15,r,1,3,"qr-code",2),h.YNc(16,d,2,0,"span",13),h.qZA(),h.YNc(17,c,1,1,"mat-divider",14),h.TgZ(18,"div",15,16)(20,"div",17)(21,"div",18)(22,"h4",19),h._uU(23),h.qZA(),h.TgZ(24,"span",20),h._uU(25),h.ALo(26,"number"),h.YNc(27,b,2,0,"ng-container",21),h.qZA()(),h.TgZ(28,"div",18)(29,"h4",19),h._uU(30,"Amount Settled"),h.qZA(),h.TgZ(31,"span",20),h.YNc(32,y,3,2,"ng-container",21),h.YNc(33,W,3,2,"ng-container",21),h.qZA()()(),h._UZ(34,"mat-divider",22),h.TgZ(35,"div",17)(36,"div",18)(37,"h4",19),h._uU(38,"Date Created"),h.qZA(),h.TgZ(39,"span",20),h._uU(40),h.ALo(41,"date"),h.qZA()(),h.TgZ(42,"div",18)(43,"h4",19),h._uU(44,"Date Settled"),h.qZA(),h.TgZ(45,"span",20),h._uU(46),h.ALo(47,"date"),h.qZA()()(),h._UZ(48,"mat-divider",22),h.TgZ(49,"div",17)(50,"div",23)(51,"h4",19),h._uU(52,"Memo"),h.qZA(),h.TgZ(53,"span",20),h._uU(54),h.qZA()()(),h._UZ(55,"mat-divider",22),h.TgZ(56,"div",17)(57,"div",23)(58,"h4",19),h._uU(59,"Payment Request"),h.qZA(),h.TgZ(60,"span",24),h._uU(61),h.qZA()()(),h._UZ(62,"mat-divider",22),h.TgZ(63,"div",17)(64,"div",23)(65,"h4",19),h._uU(66,"Payment Hash"),h.qZA(),h.TgZ(67,"span",24),h._uU(68),h.qZA()()(),h.YNc(69,Ve,2,1,"div",21),h.qZA()()(),h.YNc(70,Ke,4,0,"div",25),h.TgZ(71,"div",26)(72,"button",27),h.NdJ("click",function(){return nt.onShowAdvanced()}),h.YNc(73,$e,2,0,"p",28),h.YNc(74,Ae,2,0,"ng-template",null,29,h.W1O),h.qZA(),h.YNc(76,ue,2,2,"button",30),h.YNc(77,ye,2,0,"button",31),h.qZA()()(),h.YNc(78,Ze,35,14,"ng-template",null,32,h.W1O)),2&ie){const Ct=h.MAs(75);h.xp6(1),h.Q6J("fxLayoutAlign",null!=nt.invoice&&nt.invoice.payment_request&&""!==(null==nt.invoice?null:nt.invoice.payment_request)?"center start":"center center")("ngClass",h.VKq(41,Ue,nt.screenSize===nt.screenSizeEnum.XS||nt.screenSize===nt.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.payment_request)&&""!==(null==nt.invoice?null:nt.invoice.payment_request)),h.xp6(1),h.Q6J("ngIf",!(null!=nt.invoice&&nt.invoice.payment_request)||""===(null==nt.invoice?null:nt.invoice.payment_request)),h.xp6(4),h.Q6J("icon",nt.faReceipt),h.xp6(2),h.Oqu(nt.screenSize===nt.screenSizeEnum.XS?nt.newlyAdded?"Created":"Invoice":nt.newlyAdded?"Invoice Created":"Invoice Information"),h.xp6(3),h.Q6J("ngClass",h.VKq(43,q,nt.screenSize===nt.screenSizeEnum.XS)),h.xp6(2),h.Q6J("fxLayoutAlign",null!=nt.invoice&&nt.invoice.payment_request&&""!==(null==nt.invoice?null:nt.invoice.payment_request)?"center start":"center center")("ngClass",h.VKq(45,Ue,nt.screenSize!==nt.screenSizeEnum.XS&&nt.screenSize!==nt.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.payment_request)&&""!==(null==nt.invoice?null:nt.invoice.payment_request)),h.xp6(1),h.Q6J("ngIf",!(null!=nt.invoice&&nt.invoice.payment_request)||""===(null==nt.invoice?null:nt.invoice.payment_request)),h.xp6(1),h.Q6J("ngIf",nt.screenSize===nt.screenSizeEnum.XS||nt.screenSize===nt.screenSizeEnum.SM),h.xp6(1),h.Q6J("ngClass",h.VKq(47,de,(null==nt.invoice?null:nt.invoice.htlcs)&&(null==nt.invoice?null:nt.invoice.htlcs.length)>0&&nt.showAdvanced)),h.xp6(5),h.Oqu(nt.screenSize===nt.screenSizeEnum.XS?"Amount":"Amount Requested"),h.xp6(2),h.hij("",h.lcZ(26,33,(null==nt.invoice?null:nt.invoice.value)||0)," Sats"),h.xp6(2),h.Q6J("ngIf",!(null!=nt.invoice&&nt.invoice.value)||"0"===(null==nt.invoice?null:nt.invoice.value)),h.xp6(5),h.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.amt_paid_sat)&&"OPEN"!==(null==nt.invoice?null:nt.invoice.state)),h.xp6(1),h.Q6J("ngIf",!(null!=nt.invoice&&nt.invoice.amt_paid_sat)||"0"===(null==nt.invoice?null:nt.invoice.amt_paid_sat)),h.xp6(1),h.Q6J("inset",!0),h.xp6(6),h.Oqu(h.xi3(41,35,1e3*(null==nt.invoice?null:nt.invoice.creation_date),"dd/MMM/y HH:mm")),h.xp6(6),h.Oqu(0!=+(null==nt.invoice?null:nt.invoice.settle_date)?h.xi3(47,38,1e3*+(null==nt.invoice?null:nt.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),h.xp6(2),h.Q6J("inset",!0),h.xp6(6),h.Oqu(null==nt.invoice?null:nt.invoice.memo),h.xp6(1),h.Q6J("inset",!0),h.xp6(6),h.Oqu((null==nt.invoice?null:nt.invoice.payment_request)||"N/A"),h.xp6(1),h.Q6J("inset",!0),h.xp6(6),h.Oqu((null==nt.invoice?null:nt.invoice.r_hash)||""),h.xp6(1),h.Q6J("ngIf",nt.showAdvanced),h.xp6(1),h.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.htlcs)&&(null==nt.invoice?null:nt.invoice.htlcs.length)>0&&nt.showAdvanced&&nt.flgOpened),h.xp6(3),h.Q6J("ngIf",!nt.showAdvanced)("ngIfElse",Ct),h.xp6(3),h.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.payment_request)&&""!==(null==nt.invoice?null:nt.invoice.payment_request)),h.xp6(1),h.Q6J("ngIf",!(null!=nt.invoice&&nt.invoice.payment_request)||""===(null==nt.invoice?null:nt.invoice.payment_request))}},dependencies:[A.mk,A.sg,A.O5,A.tP,w.BN,R.xw,R.Wh,R.yH,E.oO,U.lW,U.nh,Y.dn,Y.dk,Q.ib,Q.yz,Q.yK,X.Hw,$.d,fe.Ou,re.gM,ee.uU,ce.y,se.h,A.JJ,A.uU]})},7772:(ze,K,m)=>{"use strict";m.d(K,{J:()=>g,_:()=>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}))])])],g=[(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:(ze,K,m)=>{"use strict";m.d(K,{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:(ze,K,m)=>{"use strict";m.d(K,{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:(ze,K,m)=>{"use strict";m.d(K,{H:()=>S});var t=m(7274),e=m(4650),g=m(5043),k=m(6895),o=m(1576),C=m(4859),h=m(3546),P=m(4850),u=m(3390);function I(A,w){if(1&A&&(e.TgZ(0,"p",14),e._uU(1),e.qZA()),2&A){const R=e.oxw();e.xp6(1),e.Oqu(R.data.titleMessage)}}class S{constructor(w,R,E){this.dialogRef=w,this.data=R,this.logger=E,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)}}S.\u0275fac=function(w){return new(w||S)(e.Y36(t.so),e.Y36(t.WI),e.Y36(g.mQ))},S.\u0275cmp=e.Xpm({type:S,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(w,R){1&w&&(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 R.onClose()}),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"div",7),e.YNc(10,I,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&w&&(e.xp6(5),e.Oqu(R.data.alertTitle||"ERROR"),e.xp6(5),e.Q6J("ngIf",R.data.titleMessage),e.xp6(4),e.Oqu(R.data.message.code),e.xp6(5),e.Oqu(R.errorMessage),e.xp6(5),e.Oqu(R.data.message.URL),e.xp6(3),e.Q6J("mat-dialog-close",!1))},dependencies:[k.O5,o.xw,o.Wh,o.yH,t.ZT,C.lW,h.dn,h.dk,P.d,u.h],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})},2615:(ze,K,m)=>{"use strict";m.d(K,{a:()=>Fi});var t=m(4006),e=m(7579),g=m(2722),k=m(7274),o=m(2687),C=m(7772),h=m(7731),P=m(6529),u=m(4650),I=m(9653),S=m(9107),A=m(6895),w=m(5043),R=m(9116),E=m(62),U=m(1576),Y=m(5829),Q=m(4859),X=m(3546),$=m(752),fe=m(7392),re=m(4144),ee=m(9549),ce=m(3162),se=m(1948),le=m(455),L=m(266),i=m(8425),r=m(3390),d=m(4850);function c(Je,wt){1&Je&&u.GkF(0)}function b(Je,wt){1&Je&&u.GkF(0)}const T=function(Je){return{"h-5":Je}};function N(Je,wt){if(1&Je&&(u.TgZ(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),u._uU(4),u.ALo(5,"number"),u.qZA()()(),u.YNc(6,b,1,0,"ng-container",0),u.qZA()),2&Je){const be=u.oxw(),Pt=u.MAs(4);u.Q6J("expanded",be.panelExpanded)("ngClass",u.VKq(7,T,!be.flgShowPanel)),u.xp6(4),u.AsE("Quote for ",be.termCaption," amount (",u.lcZ(5,5,be.quote.amount)," Sats)"),u.xp6(2),u.Q6J("ngTemplateOutlet",Pt)}}function v(Je,wt){if(1&Je&&(u.TgZ(0,"div",19)(1,"h4",8),u._uU(2," Prepay Amount (Sats) "),u.TgZ(3,"mat-icon",20),u._uU(4,"info_outline"),u.qZA()(),u.TgZ(5,"span",10),u._uU(6),u.ALo(7,"number"),u.qZA()()),2&Je){const be=u.oxw(2);u.xp6(6),u.Oqu(u.lcZ(7,1,null==be.quote?null:be.quote.prepay_amt_sat))}}function n(Je,wt){1&Je&&u._UZ(0,"mat-divider",13)}function y(Je,wt){if(1&Je&&(u.TgZ(0,"div",6)(1,"div",21)(2,"h4",8),u._uU(3," Swap Server Node Pubkey "),u.TgZ(4,"mat-icon",22),u._uU(5,"info_outline"),u.qZA()(),u.TgZ(6,"span",10),u._uU(7),u.qZA()()()),2&Je){const be=u.oxw(2);u.xp6(7),u.Oqu(null==be.quote?null:be.quote.swap_payment_dest)}}function B(Je,wt){if(1&Je&&(u.TgZ(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),u._uU(4," Swap Fee (Sats) "),u.TgZ(5,"mat-icon",9),u._uU(6,"info_outline"),u.qZA()(),u.TgZ(7,"span",10),u._uU(8),u.ALo(9,"number"),u.qZA()(),u.TgZ(10,"div",7)(11,"h4",8),u._uU(12),u.TgZ(13,"mat-icon",11),u._uU(14,"info_outline"),u.qZA()(),u.TgZ(15,"span",10),u._uU(16),u.ALo(17,"number"),u.qZA()(),u.YNc(18,v,8,3,"div",12),u.qZA(),u._UZ(19,"mat-divider",13),u.TgZ(20,"div",6)(21,"div",14)(22,"h4",8),u._uU(23," Max Off-chain Swap Routing Fee (Sats) "),u.TgZ(24,"mat-icon",15),u._uU(25,"info_outline"),u.qZA()(),u.TgZ(26,"span",10),u._uU(27),u.ALo(28,"number"),u.qZA()(),u.TgZ(29,"div",14)(30,"h4",8),u._uU(31," Max Off-chain Prepay Routing Fee (Sats) "),u.TgZ(32,"mat-icon",16),u._uU(33,"info_outline"),u.qZA()(),u.TgZ(34,"span",10),u._uU(35,"36"),u.qZA()()(),u.YNc(36,n,1,0,"mat-divider",17),u.YNc(37,y,8,1,"div",18),u.qZA()),2&Je){const be=u.oxw();u.xp6(2),u.Q6J("fxFlex",null!=be.quote&&be.quote.prepay_amt_sat?"30":"50"),u.xp6(6),u.Oqu(u.lcZ(9,9,null==be.quote?null:be.quote.swap_fee_sat)),u.xp6(2),u.Q6J("fxFlex",null!=be.quote&&be.quote.prepay_amt_sat?"35":"50"),u.xp6(2),u.hij(" ",null!=be.quote&&be.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=be.quote&&be.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),u.xp6(4),u.Oqu(u.lcZ(17,11,null!=be.quote&&be.quote.htlc_sweep_fee_sat?be.quote.htlc_sweep_fee_sat:null!=be.quote&&be.quote.htlc_publish_fee_sat?be.quote.htlc_publish_fee_sat:0)),u.xp6(2),u.Q6J("ngIf",null==be.quote?null:be.quote.prepay_amt_sat),u.xp6(9),u.Oqu(u.lcZ(28,13,(null==be.quote?null:be.quote.amount)*((null!=be.quote&&be.quote.off_chain_swap_routing_fee_percentage?null==be.quote?null:be.quote.off_chain_swap_routing_fee_percentage:2)/100))),u.xp6(9),u.Q6J("ngIf",""!==(null==be.quote?null:be.quote.swap_payment_dest)),u.xp6(1),u.Q6J("ngIf",""!==(null==be.quote?null:be.quote.swap_payment_dest))}}class z{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}}function W(Je,wt){1&Je&&u.GkF(0)}function Le(Je,wt){if(1&Je&&(u.TgZ(0,"div",3)(1,"span",4),u._uU(2),u.qZA()()),2&Je){const be=u.oxw();u.xp6(2),u.Oqu(null!=be.loopStatus&&be.loopStatus.error?null==be.loopStatus?null:be.loopStatus.error:"Unknown Error.")}}function Ve(Je,wt){if(1&Je&&(u.TgZ(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),u._uU(4,"ID"),u.qZA(),u.TgZ(5,"span",4),u._uU(6),u.qZA()()(),u._UZ(7,"mat-divider",8),u.TgZ(8,"div",5)(9,"div",6)(10,"h4",7),u._uU(11,"HTLC Address"),u.qZA(),u.TgZ(12,"span",4),u._uU(13),u.qZA()()()()),2&Je){const be=u.oxw();u.xp6(6),u.Oqu(null==be.loopStatus?null:be.loopStatus.id_bytes),u.xp6(7),u.Oqu(null==be.loopStatus?null:be.loopStatus.htlc_address)}}z.\u0275fac=function(wt){return new(wt||z)},z.\u0275cmp=u.Xpm({type:z,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(wt,be){if(1&wt&&(u.YNc(0,c,1,0,"ng-container",0),u.YNc(1,N,7,9,"ng-template",null,1,u.W1O),u.YNc(3,B,38,15,"ng-template",null,2,u.W1O)),2&wt){const Pt=u.MAs(2),qt=u.MAs(4);u.Q6J("ngTemplateOutlet",be.showPanel?Pt:qt)}},dependencies:[A.mk,A.O5,A.tP,U.xw,U.Wh,U.yH,Y.oO,$.ib,$.yz,$.yK,fe.Hw,d.d,L.gM,A.JJ]});class Ke{constructor(){}}Ke.\u0275fac=function(wt){return new(wt||Ke)},Ke.\u0275cmp=u.Xpm({type:Ke,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(wt,be){if(1&wt&&(u.YNc(0,W,1,0,"ng-container",0),u.YNc(1,Le,3,1,"ng-template",null,1,u.W1O),u.YNc(3,Ve,14,2,"ng-template",null,2,u.W1O)),2&wt){const Pt=u.MAs(2),qt=u.MAs(4);u.Q6J("ngTemplateOutlet",null!=be.loopStatus&&be.loopStatus.error?Pt:qt)}},dependencies:[A.tP,U.xw,U.Wh,U.yH,d.d]});var $e=m(113);function Ae(Je,wt){1&Je&&u.GkF(0)}const ue=function(Je,wt){return{"small-svg":Je,"large-svg":wt}};function ye(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"div",6),u.NdJ("swipe",function(qt){u.CHM(be);const gi=u.oxw();return u.KtG(gi.onSwipe(qt))}),u.O4$(),u.TgZ(1,"svg",7)(2,"desc"),u._uU(3,"Created with Sketch."),u.qZA(),u.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),u._UZ(8,"circle",12)(9,"path",13),u.qZA(),u.TgZ(10,"g",14),u._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),u.qZA()()()()(),u.kcU(),u.TgZ(26,"div",30)(27,"mat-card-title"),u._uU(28,"Loop In explained."),u.qZA()(),u.TgZ(29,"div",31)(30,"mat-card-subtitle",32),u._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),u.qZA()()()}if(2&Je){const be=u.oxw();u.Q6J("@sliderAnimation",be.animationDirection),u.xp6(1),u.Q6J("ngClass",u.WLB(2,ue,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function we(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"div",6),u.NdJ("swipe",function(qt){u.CHM(be);const gi=u.oxw();return u.KtG(gi.onSwipe(qt))}),u.O4$(),u.TgZ(1,"svg",33)(2,"desc"),u._uU(3,"Created with Sketch."),u.qZA(),u.TgZ(4,"defs")(5,"linearGradient",34),u._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),u.qZA()(),u.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),u._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),u.qZA(),u.TgZ(28,"g",56)(29,"g",57)(30,"g",58),u._UZ(31,"path",59)(32,"rect",60)(33,"polygon",61),u.TgZ(34,"g",62),u._UZ(35,"path",63),u.qZA(),u._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),u.qZA(),u.TgZ(45,"g",73),u._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),u.qZA(),u._UZ(59,"path",87),u.qZA()()()()()(),u.kcU(),u.TgZ(60,"div",30)(61,"mat-card-title"),u._uU(62,"Step 1: Deciding to Loop In"),u.qZA()(),u.TgZ(63,"div",31)(64,"mat-card-subtitle",32),u._uU(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),u.qZA()()()}if(2&Je){const be=u.oxw();u.Q6J("@sliderAnimation",be.animationDirection),u.xp6(1),u.Q6J("ngClass",u.WLB(2,ue,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function he(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"div",6),u.NdJ("swipe",function(qt){u.CHM(be);const gi=u.oxw();return u.KtG(gi.onSwipe(qt))}),u.O4$(),u.TgZ(1,"svg",88)(2,"desc"),u._uU(3,"Created with Sketch."),u.qZA(),u.TgZ(4,"defs")(5,"linearGradient",89),u._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),u.qZA()(),u.TgZ(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),u._UZ(14,"circle",95)(15,"path",96),u.TgZ(16,"g",97),u._UZ(17,"polygon",98)(18,"polygon",99)(19,"path",100),u.qZA(),u.TgZ(20,"g",101),u._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),u.TgZ(31,"g",112)(32,"g",113),u._UZ(33,"g",114),u.qZA(),u._UZ(34,"g",115),u.qZA()()(),u.TgZ(35,"g",116)(36,"g",40),u._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),u.qZA(),u.TgZ(53,"g",56)(54,"g",57)(55,"g",58),u._UZ(56,"path",59)(57,"rect",60)(58,"polygon",61),u.TgZ(59,"g",122),u._UZ(60,"path",63),u.qZA(),u._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),u.qZA(),u.TgZ(70,"g",73),u._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),u.qZA(),u._UZ(84,"path",139),u.qZA()()()(),u._UZ(85,"path",140)(86,"path",141),u.qZA()()()(),u.kcU(),u.TgZ(87,"div",30)(88,"mat-card-title"),u._uU(89,"Step 2: Send payment out"),u.qZA()(),u.TgZ(90,"div",31)(91,"mat-card-subtitle",32),u._uU(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),u.qZA()()()}if(2&Je){const be=u.oxw();u.Q6J("@sliderAnimation",be.animationDirection),u.xp6(1),u.Q6J("ngClass",u.WLB(2,ue,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function it(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"div",6),u.NdJ("swipe",function(qt){u.CHM(be);const gi=u.oxw();return u.KtG(gi.onSwipe(qt))}),u.O4$(),u.TgZ(1,"svg",142)(2,"desc"),u._uU(3,"Created with Sketch."),u.qZA(),u.TgZ(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),u._UZ(10,"circle",12)(11,"path",147),u.qZA(),u.TgZ(12,"g",14),u._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),u.qZA()(),u.TgZ(28,"g",149),u._UZ(29,"polygon",150)(30,"polygon",99)(31,"path",151),u.qZA(),u.TgZ(32,"g",152),u._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),u.TgZ(43,"g",112)(44,"g",113),u._UZ(45,"g",114),u.qZA(),u._UZ(46,"g",115),u.qZA()()(),u._UZ(47,"path",153),u.qZA()()()(),u.kcU(),u.TgZ(48,"div",30)(49,"mat-card-title"),u._uU(50,"Step 3: Recieve Funds Off-chain"),u.qZA()(),u.TgZ(51,"div",31)(52,"mat-card-subtitle",32),u._uU(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),u.qZA()()()}if(2&Je){const be=u.oxw();u.Q6J("@sliderAnimation",be.animationDirection),u.xp6(1),u.Q6J("ngClass",u.WLB(2,ue,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function De(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"div",6),u.NdJ("swipe",function(qt){u.CHM(be);const gi=u.oxw();return u.KtG(gi.onSwipe(qt))}),u.O4$(),u.TgZ(1,"svg",154)(2,"desc"),u._uU(3,"Created with Sketch."),u.qZA(),u.TgZ(4,"defs")(5,"linearGradient",34),u._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),u.qZA()(),u.TgZ(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),u._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),u.qZA(),u.TgZ(28,"g",172),u._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),u.qZA(),u._UZ(43,"path",187),u.qZA()(),u._UZ(44,"circle",188),u.qZA()()()(),u.kcU(),u.TgZ(45,"div",30)(46,"mat-card-title"),u._uU(47,"Done!"),u.qZA()(),u.TgZ(48,"div",31)(49,"mat-card-subtitle",32),u._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. "),u.qZA()()()}if(2&Je){const be=u.oxw();u.Q6J("@sliderAnimation",be.animationDirection),u.xp6(1),u.Q6J("ngClass",u.WLB(2,ue,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}class oe{constructor(wt){this.commonService=wt,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new u.vpe,this.screenSize="",this.screenSizeEnum=h.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(wt){2===wt.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===wt.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}function me(Je,wt){1&Je&&u.GkF(0)}oe.\u0275fac=function(wt){return new(wt||oe)(u.Y36(E.v))},oe.\u0275cmp=u.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(wt,be){if(1&wt&&(u.YNc(0,Ae,1,0,"ng-container",0),u.YNc(1,ye,32,5,"ng-template",null,1,u.W1O),u.YNc(3,we,66,5,"ng-template",null,2,u.W1O),u.YNc(5,he,93,5,"ng-template",null,3,u.W1O),u.YNc(7,it,54,5,"ng-template",null,4,u.W1O),u.YNc(9,De,51,5,"ng-template",null,5,u.W1O)),2&wt){const Pt=u.MAs(2),qt=u.MAs(4),gi=u.MAs(6),Si=u.MAs(8),ki=u.MAs(10);u.Q6J("ngTemplateOutlet",1===be.stepNumber?Pt:2===be.stepNumber?qt:3===be.stepNumber?gi:4===be.stepNumber?Si:ki)}},dependencies:[A.mk,A.tP,U.xw,U.Wh,U.yH,Y.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:[$e.l]}});const te=function(Je,wt){return{"small-svg":Je,"large-svg":wt}};function Ze(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"div",6),u.NdJ("swipe",function(qt){u.CHM(be);const gi=u.oxw();return u.KtG(gi.onSwipe(qt))}),u.O4$(),u.TgZ(1,"svg",7)(2,"desc"),u._uU(3,"Created with Sketch."),u.qZA(),u.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),u._UZ(8,"circle",12)(9,"path",13),u.qZA(),u.TgZ(10,"g",14),u._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),u.qZA()()()()(),u.kcU(),u.TgZ(26,"div",30)(27,"mat-card-title"),u._uU(28,"Loop Out explained."),u.qZA()(),u.TgZ(29,"div",31)(30,"mat-card-subtitle",32),u._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),u.qZA()()()}if(2&Je){const be=u.oxw();u.Q6J("@sliderAnimation",be.animationDirection),u.xp6(1),u.Q6J("ngClass",u.WLB(2,te,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function Ue(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"div",6),u.NdJ("swipe",function(qt){u.CHM(be);const gi=u.oxw();return u.KtG(gi.onSwipe(qt))}),u.O4$(),u.TgZ(1,"svg",33)(2,"desc"),u._uU(3,"Created with Sketch."),u.qZA(),u.TgZ(4,"defs")(5,"linearGradient",34),u._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),u.qZA()(),u.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),u._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),u.qZA(),u.TgZ(28,"g",56),u._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),u.qZA(),u._UZ(43,"path",71),u.qZA()(),u._UZ(44,"circle",72),u.qZA()()()(),u.kcU(),u.TgZ(45,"div",30)(46,"mat-card-title"),u._uU(47,"Step 1: Deciding to Loop Out"),u.qZA()(),u.TgZ(48,"div",31)(49,"mat-card-subtitle",32),u._uU(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),u.qZA()()()}if(2&Je){const be=u.oxw();u.Q6J("@sliderAnimation",be.animationDirection),u.xp6(1),u.Q6J("ngClass",u.WLB(2,te,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function q(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"div",6),u.NdJ("swipe",function(qt){u.CHM(be);const gi=u.oxw();return u.KtG(gi.onSwipe(qt))}),u.O4$(),u.TgZ(1,"svg",73)(2,"desc"),u._uU(3,"Created with Sketch."),u.qZA(),u.TgZ(4,"defs")(5,"linearGradient",74),u._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),u.qZA()(),u.TgZ(9,"g",8)(10,"g",75)(11,"g",76),u._UZ(12,"circle",77)(13,"path",78),u.TgZ(14,"g",79),u._UZ(15,"polygon",80)(16,"polygon",81)(17,"path",82),u.qZA(),u.TgZ(18,"g",83),u._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),u.TgZ(29,"g",94)(30,"g",95),u._UZ(31,"g",96),u.qZA(),u._UZ(32,"g",97),u.qZA(),u._UZ(33,"path",98),u.qZA(),u.TgZ(34,"g",99)(35,"g",41)(36,"g",42),u._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),u.qZA(),u.TgZ(52,"g",56),u._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),u.qZA(),u._UZ(67,"path",111),u.qZA()()()()()(),u.kcU(),u.TgZ(68,"div",30)(69,"mat-card-title"),u._uU(70,"Step 2: Send lightning payment"),u.qZA()(),u.TgZ(71,"div",31)(72,"mat-card-subtitle",32),u._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. "),u.qZA()()()}if(2&Je){const be=u.oxw();u.Q6J("@sliderAnimation",be.animationDirection),u.xp6(1),u.Q6J("ngClass",u.WLB(2,te,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function de(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"div",6),u.NdJ("swipe",function(qt){u.CHM(be);const gi=u.oxw();return u.KtG(gi.onSwipe(qt))}),u.O4$(),u.TgZ(1,"svg",112)(2,"desc"),u._uU(3,"Created with Sketch."),u.qZA(),u.TgZ(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),u._UZ(9,"circle",12)(10,"path",117),u.qZA(),u.TgZ(11,"g",14),u._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),u.qZA()(),u.TgZ(27,"g",119),u._UZ(28,"polygon",80)(29,"polygon",120)(30,"path",82),u.qZA(),u.TgZ(31,"g",121),u._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),u.TgZ(42,"g",94)(43,"g",95),u._UZ(44,"g",96),u.qZA(),u._UZ(45,"g",97),u.qZA(),u._UZ(46,"path",123),u.qZA()()()()(),u.kcU(),u.TgZ(47,"div",30)(48,"mat-card-title"),u._uU(49,"Step 3: Receive funds back"),u.qZA()(),u.TgZ(50,"div",31)(51,"mat-card-subtitle",32),u._uU(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),u.qZA()()()}if(2&Je){const be=u.oxw();u.Q6J("@sliderAnimation",be.animationDirection),u.xp6(1),u.Q6J("ngClass",u.WLB(2,te,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function Ee(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"div",6),u.NdJ("swipe",function(qt){u.CHM(be);const gi=u.oxw();return u.KtG(gi.onSwipe(qt))}),u.O4$(),u.TgZ(1,"svg",124)(2,"desc"),u._uU(3,"Created with Sketch."),u.qZA(),u.TgZ(4,"defs")(5,"linearGradient",34),u._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),u.qZA()(),u.TgZ(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),u._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),u.qZA(),u.TgZ(28,"g",142)(29,"g",143)(30,"g",144),u._UZ(31,"path",145)(32,"rect",146)(33,"polygon",147),u.TgZ(34,"g",148),u._UZ(35,"path",149),u.qZA(),u._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),u.qZA(),u.TgZ(45,"g",159),u._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),u.qZA(),u._UZ(59,"path",173),u.qZA()()()()()(),u.kcU(),u.TgZ(60,"div",30)(61,"mat-card-title"),u._uU(62,"Done!"),u.qZA()(),u.TgZ(63,"div",31)(64,"mat-card-subtitle",32),u._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. "),u.qZA()()()}if(2&Je){const be=u.oxw();u.Q6J("@sliderAnimation",be.animationDirection),u.xp6(1),u.Q6J("ngClass",u.WLB(2,te,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}class ke{constructor(wt){this.commonService=wt,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new u.vpe,this.screenSize="",this.screenSizeEnum=h.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(wt){2===wt.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===wt.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}ke.\u0275fac=function(wt){return new(wt||ke)(u.Y36(E.v))},ke.\u0275cmp=u.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(wt,be){if(1&wt&&(u.YNc(0,me,1,0,"ng-container",0),u.YNc(1,Ze,32,5,"ng-template",null,1,u.W1O),u.YNc(3,Ue,51,5,"ng-template",null,2,u.W1O),u.YNc(5,q,74,5,"ng-template",null,3,u.W1O),u.YNc(7,de,53,5,"ng-template",null,4,u.W1O),u.YNc(9,Ee,66,5,"ng-template",null,5,u.W1O)),2&wt){const Pt=u.MAs(2),qt=u.MAs(4),gi=u.MAs(6),Si=u.MAs(8),ki=u.MAs(10);u.Q6J("ngTemplateOutlet",1===be.stepNumber?Pt:2===be.stepNumber?qt:3===be.stepNumber?gi:4===be.stepNumber?Si:ki)}},dependencies:[A.mk,A.tP,U.xw,U.Wh,U.yH,Y.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:[$e.l]}});const ie=["stepper"];function nt(Je,wt){if(1&Je&&(u.TgZ(0,"div",48)(1,"p",49)(2,"strong"),u._uU(3,"Channel Peer:\xa0"),u.qZA(),u._uU(4),u.ALo(5,"titlecase"),u.qZA(),u.TgZ(6,"p",50)(7,"strong"),u._uU(8,"Channel ID:\xa0"),u.qZA(),u._uU(9),u.qZA(),u._UZ(10,"p",50),u.qZA()),2&Je){const be=u.oxw(2);u.xp6(4),u.Oqu(u.lcZ(5,2,be.channel.remote_alias)),u.xp6(5),u.Oqu(be.channel.chan_id)}}function Ct(Je,wt){if(1&Je&&u._uU(0),2&Je){const be=u.oxw(2);u.Oqu(be.inputFormLabel)}}function rt(Je,wt){1&Je&&(u.TgZ(0,"mat-error"),u._uU(1,"Amount is required."),u.qZA())}function Xt(Je,wt){if(1&Je&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"number"),u.qZA()),2&Je){const be=u.oxw(2);u.xp6(1),u.hij("Amount must be greater than or equal to ",u.lcZ(2,1,be.minQuote.amount),".")}}function gt(Je,wt){if(1&Je&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"number"),u.qZA()),2&Je){const be=u.oxw(2);u.xp6(1),u.hij("Amount must be less than or equal to ",u.lcZ(2,1,be.maxQuote.amount),".")}}function mt(Je,wt){1&Je&&(u.TgZ(0,"mat-error"),u._uU(1,"Confirmation target is required."),u.qZA())}function St(Je,wt){1&Je&&(u.TgZ(0,"mat-error"),u._uU(1,"Confirmation target must be a positive number."),u.qZA())}function Ie(Je,wt){1&Je&&(u.TgZ(0,"mat-error"),u._uU(1,"Percentage is required."),u.qZA())}function He(Je,wt){1&Je&&(u.TgZ(0,"mat-error"),u._uU(1,"Percentage must be a positive number."),u.qZA())}function xt(Je,wt){if(1&Je&&(u.TgZ(0,"mat-form-field",50)(1,"mat-label"),u._uU(2,"Max Off-chain Routing Fee (%)"),u.qZA(),u._UZ(3,"input",51),u.YNc(4,Ie,2,0,"mat-error",25),u.YNc(5,He,2,0,"mat-error",25),u.qZA()),2&Je){const be=u.oxw(2);u.xp6(3),u.Q6J("step",1),u.xp6(1),u.Q6J("ngIf",null==be.inputFormGroup.controls.routingFeePercent.errors?null:be.inputFormGroup.controls.routingFeePercent.errors.required),u.xp6(1),u.Q6J("ngIf",null==be.inputFormGroup.controls.routingFeePercent.errors?null:be.inputFormGroup.controls.routingFeePercent.errors.min)}}function Pe(Je,wt){1&Je&&(u.TgZ(0,"div",52)(1,"mat-slide-toggle",53),u._uU(2,"Fast"),u.qZA(),u.TgZ(3,"mat-icon",54),u._uU(4,"info_outline"),u.qZA()())}function et(Je,wt){if(1&Je&&u._uU(0),2&Je){const be=u.oxw(2);u.Oqu(be.quoteFormLabel)}}function Vt(Je,wt){1&Je&&(u.TgZ(0,"p",55)(1,"mat-icon",56),u._uU(2,"close"),u.qZA(),u._uU(3,"Local balance amount is insufficient for swap."),u.qZA())}function Lt(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"button",57),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw(2);return u.KtG(qt.onValidateAmount())}),u._uU(1,"Next"),u.qZA()}}function Ft(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"button",58),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw(2);return u.KtG(qt.onLoop())}),u._uU(1),u.qZA()}if(2&Je){const be=u.oxw(2);u.xp6(1),u.hij("Initiate ",be.loopDirectionCaption,"")}}function bt(Je,wt){if(1&Je&&u._uU(0),2&Je){const be=u.oxw(3);u.Oqu(be.addressFormLabel)}}function Ce(Je,wt){1&Je&&(u.TgZ(0,"mat-error"),u._uU(1,"Address is required."),u.qZA())}function J(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"mat-step",16)(1,"form",17),u.YNc(2,bt,1,1,"ng-template",18),u.TgZ(3,"div",59)(4,"mat-radio-group",60),u.NdJ("change",function(qt){u.CHM(be);const gi=u.oxw(2);return u.KtG(gi.onAddressTypeChange(qt))}),u.TgZ(5,"mat-radio-button",61),u._uU(6,"Node Local Address"),u.qZA(),u.TgZ(7,"mat-radio-button",62),u._uU(8,"External Address"),u.qZA()(),u.TgZ(9,"mat-form-field",63)(10,"mat-label"),u._uU(11,"Address"),u.qZA(),u._UZ(12,"input",64),u.YNc(13,Ce,2,0,"mat-error",25),u.qZA()(),u.TgZ(14,"div",29)(15,"button",65),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw(2);return u.KtG(qt.onLoop())}),u._uU(16),u.qZA()()()()}if(2&Je){const be=u.oxw(2);u.Q6J("stepControl",be.addressFormGroup)("editable",be.flgEditable),u.xp6(1),u.Q6J("formGroup",be.addressFormGroup),u.xp6(11),u.Q6J("required","external"===be.addressFormGroup.controls.addressType.value),u.xp6(1),u.Q6J("ngIf",null==be.addressFormGroup.controls.address.errors?null:be.addressFormGroup.controls.address.errors.required),u.xp6(3),u.hij("Initiate ",be.loopDirectionCaption,"")}}function ve(Je,wt){if(1&Je&&u._uU(0),2&Je){const be=u.oxw(2);u.hij("",be.loopDirectionCaption," Status")}}function Ne(Je,wt){if(1&Je&&(u.TgZ(0,"mat-icon",66),u._uU(1),u.qZA()),2&Je){const be=u.oxw(2);u.xp6(1),u.Oqu(be.loopStatus&&null!=be.loopStatus&&be.loopStatus.id_bytes?"check":"close")}}function st(Je,wt){1&Je&&u._UZ(0,"div")}function ni(Je,wt){1&Je&&u._UZ(0,"mat-progress-bar",67)}function Ut(Je,wt){if(1&Je&&(u.TgZ(0,"h4",68),u._uU(1),u.qZA()),2&Je){const be=u.oxw(2);u.xp6(1),u.Oqu(be.loopStatus&&be.loopStatus.error?be.loopDirectionCaption+" failed.":be.loopStatus&&be.loopStatus.id_bytes&&be.channel?be.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":be.loopDirectionCaption+" request placed successfully.")}}function ti(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"button",69),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw(2);return u.KtG(qt.goToLoop())}),u._uU(1,"Check Status"),u.qZA()}}function dt(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"button",70),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw(2);return u.KtG(qt.onRestart())}),u._uU(1,"Start Again"),u.qZA()}}function at(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),u._uU(5),u.qZA()(),u.TgZ(6,"div",8)(7,"button",9),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw();return u.KtG(qt.showInfo())}),u._uU(8,"?"),u.qZA(),u.TgZ(9,"button",10),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw();return u.KtG(qt.onClose())}),u._uU(10,"X"),u.qZA()()(),u.TgZ(11,"mat-card-content",11)(12,"div",12),u.YNc(13,nt,11,4,"div",13),u.TgZ(14,"mat-vertical-stepper",14,15),u.NdJ("selectionChange",function(qt){u.CHM(be);const gi=u.oxw();return u.KtG(gi.stepSelectionChanged(qt))}),u.TgZ(16,"mat-step",16)(17,"form",17),u.YNc(18,Ct,1,1,"ng-template",18),u.TgZ(19,"div",19),u._UZ(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",20),u.qZA(),u.TgZ(22,"div",21)(23,"mat-form-field",22)(24,"mat-label"),u._uU(25,"Amount"),u.qZA(),u._UZ(26,"input",23),u.TgZ(27,"mat-hint"),u._uU(28),u.ALo(29,"number"),u.ALo(30,"number"),u.qZA(),u.TgZ(31,"span",24),u._uU(32,"Sats"),u.qZA(),u.YNc(33,rt,2,0,"mat-error",25),u.YNc(34,Xt,3,3,"mat-error",25),u.YNc(35,gt,3,3,"mat-error",25),u.qZA(),u.TgZ(36,"mat-form-field",22)(37,"mat-label"),u._uU(38,"Sweep Confirmation Target"),u.qZA(),u._UZ(39,"input",26),u.YNc(40,mt,2,0,"mat-error",25),u.YNc(41,St,2,0,"mat-error",25),u.qZA(),u.YNc(42,xt,6,3,"mat-form-field",27),u.qZA(),u.YNc(43,Pe,5,0,"div",28),u.TgZ(44,"div",29)(45,"button",30),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw();return u.KtG(qt.onEstimateQuote())}),u._uU(46,"Estimate Quote"),u.qZA()()()(),u.TgZ(47,"mat-step",16)(48,"form",17),u.YNc(49,et,1,1,"ng-template",18),u._UZ(50,"rtl-loop-quote",31),u.YNc(51,Vt,4,0,"p",32),u.TgZ(52,"div",29),u.YNc(53,Lt,2,0,"button",33),u.YNc(54,Ft,2,1,"button",34),u.qZA()()(),u.YNc(55,J,17,6,"mat-step",35),u.TgZ(56,"mat-step",36)(57,"form",17),u.YNc(58,ve,1,1,"ng-template",18),u.TgZ(59,"div",37)(60,"mat-expansion-panel",38)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",39),u._uU(64),u.YNc(65,Ne,2,1,"mat-icon",40),u.qZA()()(),u.YNc(66,st,1,0,"div",41),u.qZA(),u.YNc(67,ni,1,0,"mat-progress-bar",42),u.qZA(),u.YNc(68,Ut,2,1,"h4",43),u.TgZ(69,"div",29),u.YNc(70,ti,2,0,"button",44),u.YNc(71,dt,2,0,"button",45),u.qZA()()()(),u.TgZ(72,"div",46)(73,"button",47),u._uU(74,"Close"),u.qZA()()()()()()}if(2&Je){const be=u.oxw(),Pt=u.MAs(2);u.Q6J("@opacityAnimation",void 0),u.xp6(3),u.Q6J("fxFlex",be.screenSize===be.screenSizeEnum.XS||be.screenSize===be.screenSizeEnum.SM?"83":"91"),u.xp6(2),u.Oqu(be.channel?"Channel "+be.loopDirectionCaption:be.loopDirectionCaption),u.xp6(1),u.Q6J("fxFlex",be.screenSize===be.screenSizeEnum.XS||be.screenSize===be.screenSizeEnum.SM?"17":"9"),u.xp6(7),u.Q6J("ngIf",be.channel),u.xp6(1),u.Q6J("linear",!0),u.xp6(2),u.Q6J("stepControl",be.inputFormGroup)("editable",be.flgEditable),u.xp6(1),u.Q6J("formGroup",be.inputFormGroup),u.xp6(3),u.Q6J("quote",be.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),u.xp6(1),u.Q6J("quote",be.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),u.xp6(2),u.Q6J("fxFlex",be.direction===be.LoopTypeEnum.LOOP_OUT?"35":"48"),u.xp6(3),u.Q6J("step",1e3),u.xp6(2),u.AsE("Range: ",u.lcZ(29,51,be.minQuote.amount),"-",u.lcZ(30,53,be.maxQuote.amount),""),u.xp6(5),u.Q6J("ngIf",null==be.inputFormGroup.controls.amount.errors?null:be.inputFormGroup.controls.amount.errors.required),u.xp6(1),u.Q6J("ngIf",null==be.inputFormGroup.controls.amount.errors?null:be.inputFormGroup.controls.amount.errors.min),u.xp6(1),u.Q6J("ngIf",null==be.inputFormGroup.controls.amount.errors?null:be.inputFormGroup.controls.amount.errors.max),u.xp6(1),u.Q6J("fxFlex",be.direction===be.LoopTypeEnum.LOOP_OUT?"30":"48"),u.xp6(3),u.Q6J("step",1),u.xp6(1),u.Q6J("ngIf",null==be.inputFormGroup.controls.sweepConfTarget.errors?null:be.inputFormGroup.controls.sweepConfTarget.errors.required),u.xp6(1),u.Q6J("ngIf",null==be.inputFormGroup.controls.sweepConfTarget.errors?null:be.inputFormGroup.controls.sweepConfTarget.errors.min),u.xp6(1),u.Q6J("ngIf",be.direction===be.LoopTypeEnum.LOOP_OUT),u.xp6(1),u.Q6J("ngIf",be.direction===be.LoopTypeEnum.LOOP_OUT),u.xp6(4),u.Q6J("stepControl",be.quoteFormGroup)("editable",be.flgEditable),u.xp6(1),u.Q6J("formGroup",be.quoteFormGroup),u.xp6(2),u.Q6J("quote",be.quote)("showPanel",!1),u.xp6(1),u.Q6J("ngIf",be.inputFormGroup.controls.amount.value>be.localBalanceToCompare),u.xp6(2),u.Q6J("ngIf",be.direction===be.LoopTypeEnum.LOOP_OUT),u.xp6(1),u.Q6J("ngIf",be.direction===be.LoopTypeEnum.LOOP_IN),u.xp6(1),u.Q6J("ngIf",be.direction===be.LoopTypeEnum.LOOP_OUT),u.xp6(1),u.Q6J("stepControl",be.statusFormGroup),u.xp6(1),u.Q6J("formGroup",be.statusFormGroup),u.xp6(3),u.Q6J("expanded",!!be.loopStatus),u.xp6(4),u.Oqu(be.loopStatus?be.loopStatus.id_bytes?be.loopDirectionCaption+" request details":be.loopDirectionCaption+" error details":"Waiting for "+be.loopDirectionCaption+" request..."),u.xp6(1),u.Q6J("ngIf",be.loopStatus),u.xp6(1),u.Q6J("ngIf",!be.loopStatus)("ngIfElse",Pt),u.xp6(1),u.Q6J("ngIf",!be.loopStatus),u.xp6(1),u.Q6J("ngIf",be.loopStatus),u.xp6(2),u.Q6J("ngIf",be.loopStatus&&be.loopStatus.id_bytes&&be.channel),u.xp6(1),u.Q6J("ngIf",be.loopStatus&&(be.loopStatus.error||!be.loopStatus.id_bytes)),u.xp6(2),u.Q6J("mat-dialog-close",!1)}}function _t(Je,wt){if(1&Je&&u._UZ(0,"rtl-loop-status",71),2&Je){const be=u.oxw();u.Q6J("loopStatus",be.loopStatus)}}function ai(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"rtl-loop-out-info-graphics",88),u.NdJ("stepNumberChange",function(qt){u.CHM(be);const gi=u.oxw(2);return u.KtG(gi.stepNumber=qt)}),u.qZA()}if(2&Je){const be=u.oxw(2);u.Q6J("animationDirection",be.animationDirection)("stepNumber",be.stepNumber)}}function Bt(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"rtl-loop-in-info-graphics",88),u.NdJ("stepNumberChange",function(qt){u.CHM(be);const gi=u.oxw(2);return u.KtG(gi.stepNumber=qt)}),u.qZA()}if(2&Je){const be=u.oxw(2);u.Q6J("animationDirection",be.animationDirection)("stepNumber",be.stepNumber)}}const zt=function(Je,wt){return{"dot-primary":Je,"dot-primary-lighter":wt}};function Nt(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"span",89),u.NdJ("click",function(){const gi=u.CHM(be).$implicit,Si=u.oxw(2);return u.KtG(Si.onStepChanged(gi))}),u._UZ(1,"p",90),u.qZA()}if(2&Je){const be=wt.$implicit,Pt=u.oxw(2);u.xp6(1),u.Q6J("ngClass",u.WLB(1,zt,Pt.stepNumber===be,Pt.stepNumber!==be))}}function je(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"button",91),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw(2);return u.KtG(qt.onReadMore())}),u._uU(1,"Read More"),u.qZA()}}function Fe(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"button",92),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw(2);return u.KtG(qt.onStepChanged(4))}),u._uU(1,"Back"),u.qZA()}}function Ye(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"button",93),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw(2);return qt.flgShowInfo=!1,u.KtG(qt.stepNumber=1)}),u._uU(1,"Close"),u.qZA()}}function qe(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"button",94),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw(2);return qt.flgShowInfo=!1,u.KtG(qt.stepNumber=1)}),u._uU(1,"Close"),u.qZA()}}function Tt(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"button",95),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw(2);return u.KtG(qt.onStepChanged(qt.stepNumber-1))}),u._uU(1,"Back"),u.qZA()}}function mi(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"button",96),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw(2);return u.KtG(qt.onStepChanged(qt.stepNumber+1))}),u._uU(1,"Next"),u.qZA()}}const Ti=function(){return[1,2,3,4,5]};function xi(Je,wt){if(1&Je){const be=u.EpF();u.TgZ(0,"div",72)(1,"div",19)(2,"mat-card-header",73)(3,"div",74),u._UZ(4,"span",7),u.qZA(),u.TgZ(5,"div",75)(6,"button",76),u.NdJ("click",function(){u.CHM(be);const qt=u.oxw();return qt.flgShowInfo=!1,u.KtG(qt.stepNumber=1)}),u._uU(7,"X"),u.qZA()()(),u.TgZ(8,"mat-card-content",77),u.YNc(9,ai,1,2,"rtl-loop-out-info-graphics",78),u.YNc(10,Bt,1,2,"rtl-loop-in-info-graphics",78),u.qZA(),u.TgZ(11,"div",79),u.YNc(12,Nt,2,4,"span",80),u.qZA(),u.TgZ(13,"div",81),u.YNc(14,je,2,0,"button",82),u.YNc(15,Fe,2,0,"button",83),u.YNc(16,Ye,2,0,"button",84),u.YNc(17,qe,2,0,"button",85),u.YNc(18,Tt,2,0,"button",86),u.YNc(19,mi,2,0,"button",87),u.qZA()()()}if(2&Je){const be=u.oxw();u.Q6J("@opacityAnimation",void 0),u.xp6(9),u.Q6J("ngIf",be.direction===be.LoopTypeEnum.LOOP_OUT),u.xp6(1),u.Q6J("ngIf",be.direction===be.LoopTypeEnum.LOOP_IN),u.xp6(2),u.Q6J("ngForOf",u.DdM(10,Ti)),u.xp6(2),u.Q6J("ngIf",5===be.stepNumber),u.xp6(1),u.Q6J("ngIf",5===be.stepNumber),u.xp6(1),u.Q6J("ngIf",5===be.stepNumber),u.xp6(1),u.Q6J("ngIf",be.stepNumber<5),u.xp6(1),u.Q6J("ngIf",be.stepNumber>1&&be.stepNumber<5),u.xp6(1),u.Q6J("ngIf",be.stepNumber<5)}}class Fi{constructor(wt,be,Pt,qt,gi,Si,ki,Gi,Gt){this.dialogRef=wt,this.data=be,this.store=Pt,this.loopService=qt,this.formBuilder=gi,this.decimalPipe=Si,this.logger=ki,this.router=Gi,this.commonService=Gt,this.faInfoCircle=o.sqG,this.LoopTypeEnum=h.$I,this.direction=h.$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=h.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||h.$I.LOOP_OUT,this.loopDirectionCaption=this.direction===h.$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===h.$I.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(P.ZW).pipe((0,g.R)(this.unSubs[6])).subscribe(wt=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:wt.lightningBalance&&wt.lightningBalance.local?+wt.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,g.R)(this.unSubs[4])).subscribe(wt=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===h.$I.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,g.R)(this.unSubs[5])).subscribe(wt=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(wt){"external"===wt.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===h.$I.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===h.$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===h.$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,g.R)(this.unSubs[0])).subscribe({next:wt=>{this.loopStatus=wt,this.loopService.listSwaps(),this.flgEditable=!0},error:wt=>{this.loopStatus={error:wt},this.flgEditable=!0,this.logger.error(wt)}});else{const wt=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),be="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",Pt=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,wt,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),Pt,be).pipe((0,g.R)(this.unSubs[1])).subscribe({next:qt=>{this.loopStatus=qt,this.loopService.listSwaps(),this.flgEditable=!0},error:qt=>{this.loopStatus={error:qt},this.flgEditable=!0,this.logger.error(qt)}})}}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 wt=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===h.$I.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,wt).pipe((0,g.R)(this.unSubs[2])).subscribe(be=>{this.quote=be,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,wt).pipe((0,g.R)(this.unSubs[3])).subscribe(be=>{this.quote=be,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(wt){switch(wt.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===h.$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===h.$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===h.$I.LOOP_OUT&&1!==wt.selectedIndex&&wt.selectedIndex<wt.previouslySelectedIndex||this.direction===h.$I.LOOP_IN&&wt.selectedIndex<wt.previouslySelectedIndex)&&wt.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===h.$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(wt){this.animationDirection=wt<this.stepNumber?"backward":"forward",this.stepNumber=wt}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(wt=>{wt.next(null),wt.complete()})}}Fi.\u0275fac=function(wt){return new(wt||Fi)(u.Y36(k.so),u.Y36(k.WI),u.Y36(I.yh),u.Y36(S.W),u.Y36(t.QS),u.Y36(A.JJ),u.Y36(w.mQ),u.Y36(R.F0),u.Y36(E.v))},Fi.\u0275cmp=u.Xpm({type:Fi,selectors:[["rtl-loop-modal"]],viewQuery:function(wt,be){if(1&wt&&u.Gf(ie,5),2&wt){let Pt;u.iGM(Pt=u.CRH())&&(be.stepper=Pt.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(wt,be){1&wt&&(u.YNc(0,at,75,55,"div",0),u.YNc(1,_t,1,1,"ng-template",null,1,u.W1O),u.YNc(3,xi,20,11,"div",2)),2&wt&&(u.Q6J("ngIf",!be.flgShowInfo),u.xp6(3),u.Q6J("ngIf",be.flgShowInfo))},dependencies:[A.mk,A.sg,A.O5,t._Y,t.Fj,t.wV,t.JJ,t.JL,t.Q7,t.sg,t.u,U.xw,U.Wh,U.yH,Y.oO,k.ZT,Q.lW,X.dn,X.dk,$.ib,$.yz,$.yK,fe.Hw,re.Nt,ee.KE,ee.hX,ee.bx,ee.TO,ee.R9,ce.pW,se.VQ,se.U0,le.Rr,L.gM,i.C0,i.VY,i.Vq,r.h,z,Ke,oe,ke,A.JJ,A.rS],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem}"],data:{animation:[C._]}})},9442:(ze,K,m)=>{"use strict";m.d(K,{w:()=>P});var t=m(2687),e=m(4650),g=m(9116),k=m(2216),o=m(1576),C=m(4859),h=m(3546);class P{constructor(I){this.router=I,this.faTimes=t.NBC}goToHelp(){this.router.navigate(["/help"])}}P.\u0275fac=function(I){return new(I||P)(e.Y36(g.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(I,S){1&I&&(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 S.goToHelp()}),e._uU(12,"Go To Help"),e.qZA()()()()()()),2&I&&(e.xp6(1),e.Q6J("icon",S.faTimes))},dependencies:[k.BN,o.xw,o.Wh,o.yH,C.lW,h.a8,h.dn],encapsulation:2})},3390:(ze,K,m)=>{"use strict";m.d(K,{h:()=>e});var t=m(4650);class e{constructor(k){this.el=k}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}}e.\u0275fac=function(k){return new(k||e)(t.Y36(t.SBq))},e.\u0275dir=t.lG2({type:e,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}})},5199:(ze,K,m)=>{"use strict";m.d(K,{y:()=>e});var t=m(4650);class e{constructor(){this.copied=new t.vpe}onClick(k){k.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(k){return new(k||e)},e.\u0275dir=t.lG2({type:e,selectors:[["","rtlClipboard",""]],hostBindings:function(k,o){1&k&&t.NdJ("click",function(h){return o.onClick(h)})},inputs:{payload:"payload"},outputs:{copied:"copied"}})},9843:(ze,K,m)=>{"use strict";m.d(K,{F:()=>g});var t=m(4006),e=m(4650);class g{validate(o){return this.max?t.kI.max(+this.max)(o):null}}g.\u0275fac=function(o){return new(o||g)},g.\u0275dir=e.lG2({type:g,selectors:[["input","max",""]],inputs:{max:"max"},features:[e._Bn([{provide:t.Cf,useExisting:g,multi:!0}])]})},6534:(ze,K,m)=>{"use strict";m.d(K,{q:()=>g});var t=m(4006),e=m(4650);class g{validate(o){return this.min?t.kI.min(+this.min)(o):null}}g.\u0275fac=function(o){return new(o||g)},g.\u0275dir=e.lG2({type:g,selectors:[["input","min",""]],inputs:{min:"min"},features:[e._Bn([{provide:t.Cf,useExisting:g,multi:!0}])]})},9445:(ze,K,m)=>{"use strict";m.d(K,{D3:()=>o,al:()=>e,h9:()=>g,i1:()=>k});var t=m(4650);class e{transform(h,P){return h?.replace(/^[0]+/g,"")}}e.\u0275fac=function(h){return new(h||e)},e.\u0275pipe=t.Yjl({name:"removeleadingzeros",type:e,pure:!0});class g{transform(h,P){return h?.replace(/(?:^\w|[A-Z]|\b\w)/g,(u,I)=>u.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}}g.\u0275fac=function(h){return new(h||g)},g.\u0275pipe=t.Yjl({name:"camelcase",type:g,pure:!0});class k{transform(h,P,u){return h.replace(/(?:^\w|[A-Z]|\b\w)/g,(I,S)=>" "+I.toUpperCase())}}k.\u0275fac=function(h){return new(h||k)},k.\u0275pipe=t.Yjl({name:"camelCaseWithSpaces",type:k,pure:!0});class o{transform(h,P,u){return h=h?.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "),P&&(h=h.replace(new RegExp(P,"g")," ")),u&&(h=h.replace(new RegExp(u,"g")," ")),h.replace(/(?:^\w|[A-Z]|\b\w)/g,(I,S)=>I.toUpperCase())}}o.\u0275fac=function(h){return new(h||o)},o.\u0275pipe=t.Yjl({name:"camelcaseWithReplace",type:o,pure:!0})},1643:(ze,K,m)=>{"use strict";m.d(K,{QM:()=>C,a1:()=>o,eQ:()=>h,fY:()=>P});var t=m(4004),e=m(4650),g=m(9116),k=m(5986);class o{constructor(I,S){this.router=I,this.sessionService=S}canActivate(I){return!(!this.sessionService.getItem("token")||"settings"!==I.url[0].path&&"auth"!==I.url[0].path&&"true"===this.sessionService.getItem("defaultPassword")&&(this.router.navigate(["/settings/auth"]),1))}}o.\u0275fac=function(I){return new(I||o)(e.LFG(g.F0),e.LFG(k.m))},o.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac});class C{constructor(I){this.sessionService=I}canActivate(){return!!this.sessionService.watchSession().pipe((0,t.U)(I=>I.lndUnlocked))}}C.\u0275fac=function(I){return new(I||C)(e.LFG(k.m))},C.\u0275prov=e.Yz7({token:C,factory:C.\u0275fac});class h{constructor(I){this.sessionService=I}canActivate(){return!!this.sessionService.watchSession().pipe((0,t.U)(I=>I.clUnlocked))}}h.\u0275fac=function(I){return new(I||h)(e.LFG(k.m))},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac});class P{constructor(I){this.sessionService=I}canActivate(){return!!this.sessionService.watchSession().pipe((0,t.U)(I=>I.eclUnlocked))}}P.\u0275fac=function(I){return new(I||P)(e.LFG(k.m))},P.\u0275prov=e.Yz7({token:P,factory:P.\u0275fac})},62:(ze,K,m)=>{"use strict";m.d(K,{v:()=>S});var t=m(1135),e=m(9646),g=m(2843),k=m(5698),o=m(4004),C=m(262),h=m(7731),P=m(4650),u=m(8104),I=m(5043);class S{constructor(w,R){this.dataService=w,this.logger=R,this.currencyUnits=[],this.CurrencyUnitEnum=h.NT,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=h.Bn.UN_INITIATED,this.screenSize=h.cu.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new t.X(this.containerSize)}getScreenSize(){return this.screenSize}setScreenSize(w){this.screenSize=w}getContainerSize(){return this.containerSize}setContainerSize(w,R){this.containerSize={width:w,height:R},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(w,R,E,U="asc"){return w.sort("number"===E?"desc"===U?(Y,Q)=>+Y[R]>+Q[R]?-1:1:(Y,Q)=>+Y[R]>+Q[R]?1:-1:"desc"===U?(Y,Q)=>Y[R]>Q[R]?-1:1:(Y,Q)=>Y[R]>Q[R]?1:-1)}sortDescByKey(w,R){return w.sort((E,U)=>{const Y=+E[R],Q=+U[R];return Y>Q?-1:Y<Q?1:0})}sortAscByKey(w,R){return w.sort((E,U)=>{const Y=+E[R],Q=+U[R];return Y<Q?-1:Y>Q?1:0})}camelCase(w){return w?.replace(/(?:^\w|[A-Z]|\b\w)/g,(R,E)=>R.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(w,R,E){return R&&E&&""!==R&&""!==E&&(w=w?.replace(new RegExp(R,"g"),E)),w.indexOf("!\n")>0||w.indexOf(".\n")>0?w.split("\n")?.reduce((U,Y)=>U+Y.charAt(0).toUpperCase()+Y.substring(1).toLowerCase()+"\n",""):w.indexOf(" ")>0?w.split(" ")?.reduce((U,Y)=>U+Y.charAt(0).toUpperCase()+Y.substring(1).toLowerCase()+" ",""):w.charAt(0).toUpperCase()+w.substring(1).toLowerCase()}convertCurrency(w,R,E,U,Y){const Q=(new Date).valueOf();return Y&&U&&this.ratesAPIStatus!==h.Bn.INITIATED&&(R===h.NT.OTHER||E===h.NT.OTHER)?this.conversionData.data&&this.conversionData.last_fetched&&Q<this.conversionData.last_fetched+3e5?(0,e.of)(this.convertWithFiat(w,R,U)):(this.ratesAPIStatus=h.Bn.INITIATED,this.dataService.getFiatRates().pipe((0,k.q)(1),(0,o.U)(X=>(this.ratesAPIStatus=h.Bn.COMPLETED,this.conversionData.data=X&&"object"==typeof X?X:X&&"string"==typeof X?JSON.parse(X):{},this.conversionData.last_fetched=Q,this.convertWithFiat(w,R,U))),(0,C.K)(X=>(this.ratesAPIStatus=h.Bn.ERROR,(0,g._)(()=>this.extractErrorMessage(X,"Currency Conversion Error.")))))):(0,e.of)(this.convertWithoutFiat(w,R))}convertWithoutFiat(w,R){const E={};switch(E[h.NT.SATS]=0,E[h.NT.BTC]=0,R){case h.NT.SATS:E[h.NT.SATS]=w,E[h.NT.BTC]=1e-8*w;break;case h.NT.BTC:E[h.NT.SATS]=1e8*w,E[h.NT.BTC]=w}return E}convertWithFiat(w,R,E){const U={unit:E,symbol:this.conversionData.data[E].symbol};switch(U[h.NT.SATS]=0,U[h.NT.BTC]=0,U[h.NT.OTHER]=0,R){case h.NT.SATS:U[h.NT.SATS]=w,U[h.NT.BTC]=1e-8*w,U[h.NT.OTHER]=1e-8*w*this.conversionData.data[E].last;break;case h.NT.BTC:U[h.NT.SATS]=1e8*w,U[h.NT.BTC]=w,U[h.NT.OTHER]=w*this.conversionData.data[E].last;break;case h.NT.OTHER:U[h.NT.SATS]=w/this.conversionData.data[E].last*1e8,U[h.NT.BTC]=w/this.conversionData.data[E].last,U[h.NT.OTHER]=w}return U}convertTime(w,R,E){switch(R){case h.Qk.SECS:switch(E){case h.Qk.MINS:w/=60;break;case h.Qk.HOURS:w/=3600;break;case h.Qk.DAYS:w/=86400}break;case h.Qk.MINS:switch(E){case h.Qk.SECS:w*=60;break;case h.Qk.HOURS:w/=60;break;case h.Qk.DAYS:w/=1440}break;case h.Qk.HOURS:switch(E){case h.Qk.SECS:w*=3600;break;case h.Qk.MINS:w*=60;break;case h.Qk.DAYS:w/=24}break;case h.Qk.DAYS:switch(E){case h.Qk.SECS:w=3600*w*24;break;case h.Qk.MINS:w=60*w*24;break;case h.Qk.HOURS:w*=24}}return w}downloadFile(w,R,E=".json",U=".csv"){let Y=new Blob;Y=".json"===E?new Blob(["\ufeff"+this.convertToCSV(w)],{type:"text/csv;charset=utf-8;"}):new Blob([w.toString()],{type:"text/plain;charset=utf-8"});const Q=document.createElement("a"),X=URL.createObjectURL(Y);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&Q.setAttribute("target","_blank"),Q.setAttribute("href",X),Q.setAttribute("download",R+U),Q.style.visibility="hidden",document.body.appendChild(Q),Q.click(),document.body.removeChild(Q)}convertToCSV(w){const R=[];let E="",U="",Y="";return"object"!=typeof w&&(w=JSON.parse(w)),w.forEach((X,$)=>{for(const fe in X)R.findIndex(re=>re===fe)<0&&R.push(fe)}),Y=R.join(",")+"\r\n",w.forEach(X=>{E="",R.forEach($=>{X.hasOwnProperty($)?Array.isArray(X[$])?(U="",X[$].forEach((fe,re)=>{U+="object"==typeof fe?"("+JSON.stringify(fe)?.replace(/\,/g,";")+")":"("+fe+")"}),E+=U+","):E+="object"==typeof X[$]?JSON.stringify(X[$])?.replace(/\,/g,";")+",":X[$]+",":E+=","}),Y+=E.slice(0,-1)+"\r\n"}),Y}isVersionCompatible(w,R){if(w){const E=w.trim()?.replace("v","").split("-")[0].split(".")||[],U=R.split(".");return+E[0]>+U[0]||+E[0]==+U[0]&&+E[1]>+U[1]||+E[0]==+U[0]&&+E[1]==+U[1]&&+E[2]>=+U[2]}return!1}extractErrorMessage(w,R="Unknown Error."){const E=this.titleCase(w.error&&w.error.text&&"string"==typeof w.error.text&&w.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":w.error&&w.error.error&&w.error.error.error&&w.error.error.error.error&&w.error.error.error.error.error&&"string"==typeof w.error.error.error.error.error?w.error.error.error.error.error:w.error&&w.error.error&&w.error.error.error&&w.error.error.error.error&&"string"==typeof w.error.error.error.error?w.error.error.error.error:w.error&&w.error.error&&w.error.error.error&&"string"==typeof w.error.error.error?w.error.error.error:w.error&&w.error.error&&"string"==typeof w.error.error?w.error.error:w.error&&"string"==typeof w.error?w.error:w.error&&w.error.error&&w.error.error.error&&w.error.error.error.error&&w.error.error.error.error.message&&"string"==typeof w.error.error.error.error.message?w.error.error.error.error.message:w.error&&w.error.error&&w.error.error.error&&w.error.error.error.message&&"string"==typeof w.error.error.error.message?w.error.error.error.message:w.error&&w.error.error&&w.error.error.message&&"string"==typeof w.error.error.message?w.error.error.message:w.error&&w.error.message&&"string"==typeof w.error.message?w.error.message:w.message&&"string"==typeof w.message?w.message:R);return this.logger.info("Error Message: "+E),E}extractErrorCode(w,R=500){const E=w.error&&w.error.error&&w.error.error.message&&w.error.error.message.code?w.error.error.message.code:w.error&&w.error.error&&w.error.error.code?w.error.error.code:w.error&&w.error.code?w.error.code:w.code?w.code:w.status?w.status:R;return this.logger.info("Error Code: "+E),E}extractErrorNumber(w,R=500){const E=w.error&&w.error.error&&w.error.error.errno?w.error.error.errno:w.error&&w.error.errno?w.error.errno:w.errno?w.errno:w.status?w.status:R;return this.logger.info("Error Number: "+E),E}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}}S.\u0275fac=function(w){return new(w||S)(P.LFG(u.D),P.LFG(I.mQ))},S.\u0275prov=P.Yz7({token:S,factory:S.\u0275fac})},7731:(ze,K,m)=>{"use strict";m.d(K,{$I:()=>r,$v:()=>R,AB:()=>Ve,At:()=>Ue,Bn:()=>n,Df:()=>$e,Dr:()=>I,Er:()=>o,Fq:()=>i,Gi:()=>re,HW:()=>ce,H_:()=>Ae,IV:()=>h,IX:()=>B,JX:()=>N,LO:()=>C,NT:()=>fe,OJ:()=>X,OO:()=>we,Pi:()=>me,Qk:()=>$,Qw:()=>c,TJ:()=>P,Vc:()=>S,Xk:()=>ke,Xr:()=>z,Xz:()=>k,Zs:()=>L,_t:()=>u,c3:()=>Ee,cu:()=>ee,g8:()=>U,gB:()=>ye,gG:()=>Ze,gK:()=>q,gg:()=>b,hG:()=>de,hZ:()=>ue,hc:()=>d,kO:()=>v,lr:()=>Ke,m6:()=>y,nM:()=>E,n_:()=>Q,ol:()=>Y,op:()=>T,p7:()=>le,pg:()=>W,pt:()=>e,uA:()=>g,uR:()=>Le,vn:()=>A,wZ:()=>w,x$:()=>se,zZ:()=>te});var t=m(8739);function e(ie){const nt=new t.ye;return nt.itemsPerPageLabel=ie+" per page:",nt}const g=["Sats","BTC"],k={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},o=[{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"}],C=["SECS","MINS","HOURS","DAYS"],h=10,P=[5,10,25,100],u=[{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"}],I=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],S=[{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"}],A=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom (Sats/vByte)"}],w={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 R=(()=>{return(ie=R||(R={})).PAYMENT_RECEIVED="payment-received",ie.PAYMENT_RELAYED="payment-relayed",ie.PAYMENT_SENT="payment-sent",ie.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",ie.PAYMENT_FAILED="payment-failed",ie.CHANNEL_OPENED="channel-opened",ie.CHANNEL_STATE_CHANGED="channel-state-changed",ie.CHANNEL_CLOSED="channel-closed",R;var ie})(),E=(()=>{return(ie=E||(E={})).INVOICE="invoice",ie.BLOCK_HEIGHT="block-height",ie.SEND_PAYMENT="send-payment",E;var ie})(),U=(()=>((U||(U={})).INVOICE="invoice",U))(),Y=(()=>{return(ie=Y||(Y={})).OPERATOR="OPERATOR",ie.MERCHANT="MERCHANT",ie.ALL="ALL",Y;var ie})(),Q=(()=>{return(ie=Q||(Q={})).INFORMATION="Information",ie.WARNING="Warning",ie.ERROR="Error",ie.SUCCESS="Success",ie.CONFIRM="Confirm",Q;var ie})(),X=(()=>{return(ie=X||(X={})).JWT="JWT",ie.PASSWORD="PASSWORD",X;var ie})(),$=(()=>{return(ie=$||($={})).SECS="SECS",ie.MINS="MINS",ie.HOURS="HOURS",ie.DAYS="DAYS",$;var ie})(),fe=(()=>{return(ie=fe||(fe={})).SATS="Sats",ie.BTC="BTC",ie.OTHER="OTHER",fe;var ie})(),re=(()=>{return(ie=re||(re={})).ARRAY="ARRAY",ie.NUMBER="NUMBER",ie.STRING="STRING",ie.BOOLEAN="BOOLEAN",ie.PASSWORD="PASSWORD",ie.DATE="DATE",ie.DATE_TIME="DATE_TIME",re;var ie})(),ee=(()=>{return(ie=ee||(ee={})).XS="XS",ie.SM="SM",ie.MD="MD",ie.LG="LG",ie.XL="XL",ee;var ie})();const ce={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"}},se={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 le=(()=>{return(ie=le||(le={})).WIRE_INVALID_ONION_VERSION="Invalid Onion Version",ie.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",ie.WIRE_INVALID_ONION_KEY="Invalid Onion Key",ie.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",ie.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",ie.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",ie.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",ie.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",ie.WIRE_FEE_INSUFFICIENT="Insufficient Fee",ie.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",ie.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",ie.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",ie.WIRE_CHANNEL_DISABLED="Channel Disabled",ie.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",ie.WIRE_INVALID_REALM="Invalid Realm",ie.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",ie.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",ie.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",ie.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",ie.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",ie.WIRE_MPP_TIMEOUT="MPP Timeout",ie.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",ie.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",le;var ie})(),L=(()=>{return(ie=L||(L={})).CHANNELD_NORMAL="Active",ie.OPENINGD="Opening",ie.CHANNELD_AWAITING_LOCKIN="Pending Open",ie.CHANNELD_SHUTTING_DOWN="Shutting Down",ie.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",ie.CLOSINGD_COMPLETE="Closed",ie.AWAITING_UNILATERAL="Awaiting Unilateral Close",ie.FUNDING_SPEND_SEEN="Funding Spend Seen",ie.ONCHAIN="Onchain",ie.DUALOPEND_OPEN_INIT="Dual Open Initialized",ie.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",L;var ie})(),i=(()=>{return(ie=i||(i={})).INITIATED="Initiated",ie.PREIMAGE_REVEALED="Preimage Revealed",ie.HTLC_PUBLISHED="HTLC Published",ie.SUCCESS="Successful",ie.FAILED="Failed",ie.INVOICE_SETTLED="Invoice Settled",i;var ie})(),r=(()=>{return(ie=r||(r={})).LOOP_OUT="LOOP_OUT",ie.LOOP_IN="LOOP_IN",r;var ie})(),d=(()=>{return(ie=d||(d={})).SWAP_OUT="SWAP_OUT",ie.SWAP_IN="SWAP_IN",d;var ie})(),c=(()=>{return(ie=c||(c={}))["swap.created"]="Swap Created",ie["swap.expired"]="Swap Expired",ie["invoice.set"]="Invoice Set",ie["invoice.paid"]="Invoice Paid",ie["invoice.pending"]="Invoice Pending",ie["invoice.settled"]="Invoice Settled",ie["invoice.failedToPay"]="Invoice Failed To Pay",ie["channel.created"]="Channel Created",ie["transaction.failed"]="Transaction Failed",ie["transaction.mempool"]="Transaction Mempool",ie["transaction.claimed"]="Transaction Claimed",ie["transaction.refunded"]="Transaction Refunded",ie["transaction.confirmed"]="Transaction Confirmed",ie["swap.refunded"]="Swap Refunded",ie["swap.abandoned"]="Swap Abandoned",c;var ie})();const b=[{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}],T=["MONTHLY","YEARLY"];var N=(()=>{return(ie=N||(N={})).LOOP="LOOP",ie.BOLTZ="BOLTZ",ie.OFFERS="OFFERS",ie.PEERSWAP="PEERSWAP",N;var ie})();const v=["password","changeme","moneyprintergobrrr"];var n=(()=>{return(ie=n||(n={})).UN_INITIATED="UN_INITIATED",ie.INITIATED="INITIATED",ie.COMPLETED="COMPLETED",ie.ERROR="ERROR",n;var ie})();const y={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 B=(()=>{return(ie=B||(B={})).INVOICE="INVOICE",ie.OFFER="OFFER",ie.KEYSEND="KEYSEND",B;var ie})(),z=(()=>{return(ie=z||(z={})).FEES="FEES",ie.EVENTS="EVENTS",z;var ie})(),W=(()=>{return(ie=W||(W={})).VOID="VOID",ie.SET_API_URL_ECL="SET_API_URL_ECL",ie.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",ie.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",ie.RESET_ROOT_STORE="RESET_ROOT_STORE",ie.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",ie.OPEN_SNACK_BAR="OPEN_SNACKBAR",ie.OPEN_SPINNER="OPEN_SPINNER",ie.CLOSE_SPINNER="CLOSE_SPINNER",ie.OPEN_ALERT="OPEN_ALERT",ie.CLOSE_ALERT="CLOSE_ALERT",ie.OPEN_CONFIRMATION="OPEN_CONFIRMATION",ie.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",ie.SHOW_PUBKEY="SHOW_PUBKEY",ie.FETCH_CONFIG="FETCH_CONFIG",ie.SHOW_CONFIG="SHOW_CONFIG",ie.FETCH_STORE="FETCH_STORE",ie.SET_STORE="SET_STORE",ie.FETCH_RTL_CONFIG="FETCH_RTL_CONFIG",ie.SET_RTL_CONFIG="SET_RTL_CONFIG",ie.SAVE_SSO="SAVE_SSO",ie.SAVE_SETTINGS="SAVE_SETTINGS",ie.TWO_FA_SAVE_SETTINGS="TWO_FA_SAVE_SETTINGS",ie.SET_SELECTED_NODE="SET_SELECTED_NODE",ie.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",ie.UPDATE_SERVICE_SETTINGS="UPDATE_SERVICE_SETTINGS",ie.SET_NODE_DATA="SET_NODE_DATA",ie.IS_AUTHORIZED="IS_AUTHORIZED",ie.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",ie.LOGIN="LOGIN",ie.VERIFY_TWO_FA="VERIFY_TWO_FA",ie.LOGOUT="LOGOUT",ie.RESET_PASSWORD="RESET_PASSWORD",ie.RESET_PASSWORD_RES="RESET_PASSWORD_RES",ie.FETCH_FILE="FETCH_FILE",ie.SHOW_FILE="SHOW_FILE",W;var ie})(),Le=(()=>{return(ie=Le||(Le={})).RESET_LND_STORE="RESET_LND_STORE",ie.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",ie.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",ie.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",ie.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",ie.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",ie.FETCH_INFO_LND="FETCH_INFO_LND",ie.SET_INFO_LND="SET_INFO_LND",ie.FETCH_PEERS_LND="FETCH_PEERS_LND",ie.SET_PEERS_LND="SET_PEERS_LND",ie.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",ie.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",ie.DETACH_PEER_LND="DETACH_PEER_LND",ie.REMOVE_PEER_LND="REMOVE_PEER_LND",ie.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",ie.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",ie.ADD_INVOICE_LND="ADD_INVOICE_LND",ie.FETCH_FEES_LND="FETCH_FEES_LND",ie.SET_FEES_LND="SET_FEES_LND",ie.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",ie.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",ie.FETCH_NETWORK_LND="FETCH_NETWORK_LND",ie.SET_NETWORK_LND="SET_NETWORK_LND",ie.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",ie.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",ie.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",ie.SET_CHANNELS_LND="SET_CHANNELS_LND",ie.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",ie.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",ie.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",ie.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",ie.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",ie.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",ie.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",ie.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",ie.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",ie.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",ie.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",ie.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",ie.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",ie.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",ie.FETCH_INVOICES_LND="FETCH_INVOICES_LND",ie.SET_INVOICES_LND="SET_INVOICES_LND",ie.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",ie.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",ie.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",ie.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",ie.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",ie.FETCH_UTXOS_LND="FETCH_UTXOS_LND",ie.SET_UTXOS_LND="SET_UTXOS_LND",ie.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",ie.SET_PAYMENTS_LND="SET_PAYMENTS_LND",ie.SEND_PAYMENT_LND="SEND_PAYMENT_LND",ie.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",ie.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",ie.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",ie.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",ie.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",ie.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",ie.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",ie.GEN_SEED_LND="GEN_SEED_LND",ie.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",ie.INIT_WALLET_LND="INIT_WALLET_LND",ie.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",ie.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",ie.PEER_LOOKUP_LND="PEER_LOOKUP_LND",ie.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",ie.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",ie.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",ie.SET_LOOKUP_LND="SET_LOOKUP_LND",ie.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",ie.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",ie.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",ie.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",ie.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",ie.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",Le;var ie})(),Ve=(()=>{return(ie=Ve||(Ve={})).RESET_CLN_STORE="RESET_CLN_STORE",ie.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",ie.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",ie.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",ie.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",ie.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",ie.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",ie.SET_INFO_CLN="SET_INFO_CLN",ie.FETCH_FEES_CLN="FETCH_FEES_CLN",ie.SET_FEES_CLN="SET_FEES_CLN",ie.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",ie.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",ie.FETCH_BALANCE_CLN="FETCH_BALANCE_CLN",ie.SET_BALANCE_CLN="SET_BALANCE_CLN",ie.FETCH_LOCAL_REMOTE_BALANCE_CLN="FETCH_LOCAL_REMOTE_BALANCE_CLN",ie.SET_LOCAL_REMOTE_BALANCE_CLN="SET_LOCAL_REMOTE_BALANCE_CLN",ie.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",ie.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",ie.FETCH_UTXOS_CLN="FETCH_UTXOS_CLN",ie.SET_UTXOS_CLN="SET_UTXOS_CLN",ie.FETCH_PEERS_CLN="FETCH_PEERS_CLN",ie.SET_PEERS_CLN="SET_PEERS_CLN",ie.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",ie.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",ie.ADD_PEER_CLN="ADD_PEER_CLN",ie.DETACH_PEER_CLN="DETACH_PEER_CLN",ie.REMOVE_PEER_CLN="REMOVE_PEER_CLN",ie.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",ie.SET_CHANNELS_CLN="SET_CHANNELS_CLN",ie.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",ie.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",ie.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",ie.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",ie.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",ie.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",ie.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",ie.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",ie.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",ie.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",ie.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",ie.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",ie.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",ie.SET_LOOKUP_CLN="SET_LOOKUP_CLN",ie.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",ie.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",ie.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",ie.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",ie.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",ie.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",ie.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",ie.SET_INVOICES_CLN="SET_INVOICES_CLN",ie.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",ie.ADD_INVOICE_CLN="ADD_INVOICE_CLN",ie.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",ie.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",ie.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",ie.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",ie.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",ie.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",ie.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",ie.SET_OFFERS_CLN="SET_OFFERS_CLN",ie.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",ie.ADD_OFFER_CLN="ADD_OFFER_CLN",ie.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",ie.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",ie.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",ie.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",ie.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",ie.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",ie.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",Ve;var ie})(),Ke=(()=>{return(ie=Ke||(Ke={})).RESET_ECL_STORE="RESET_ECL_STORE",ie.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",ie.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",ie.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",ie.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",ie.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",ie.FETCH_INFO_ECL="FETCH_INFO_ECL",ie.SET_INFO_ECL="SET_INFO_ECL",ie.FETCH_FEES_ECL="FETCH_FEES_ECL",ie.SET_FEES_ECL="SET_FEES_ECL",ie.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",ie.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",ie.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",ie.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",ie.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",ie.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",ie.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",ie.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",ie.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",ie.FETCH_PEERS_ECL="FETCH_PEERS_ECL",ie.SET_PEERS_ECL="SET_PEERS_ECL",ie.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",ie.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",ie.ADD_PEER_ECL="ADD_PEER_ECL",ie.DETACH_PEER_ECL="DETACH_PEER_ECL",ie.REMOVE_PEER_ECL="REMOVE_PEER_ECL",ie.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",ie.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",ie.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",ie.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",ie.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",ie.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",ie.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",ie.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",ie.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",ie.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",ie.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",ie.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",ie.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",ie.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",ie.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",ie.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",ie.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",ie.SET_INVOICES_ECL="SET_INVOICES_ECL",ie.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",ie.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",ie.ADD_INVOICE_ECL="ADD_INVOICE_ECL",ie.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",ie.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",ie.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",ie.SET_LOOKUP_ECL="SET_LOOKUP_ECL",ie.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",ie.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",Ke;var ie})();const $e=[{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 Ae=(()=>{return(ie=Ae||(Ae={})).gossip_queries_ex="Gossip queries including additional information",ie.option_anchor_outputs="Anchor outputs",ie.option_data_loss_protect="Extra channel re-establish fields",ie.var_onion_optin="Variable-length routing onion payloads",ie.option_static_remotekey="Static key for remote output",ie.option_support_large_channel="Create large channels",ie.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",ie.payment_secret="Payment secret field",ie.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",ie.basic_mpp="Basic multi-part payments",ie.gossip_queries="More sophisticated gossip control",ie.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",ie.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",ie.amp="AMP",Ae;var ie})(),ue=(()=>{return(ie=ue||(ue={}))["data-loss-protect"]="Extra channel re-establish fields",ie["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",ie["gossip-queries"]="More sophisticated gossip control",ie["tlv-onion"]="Variable-length routing onion payloads",ie["ext-gossip-queries"]="Gossip queries can include additional information",ie["static-remote-key"]="Static key for remote output",ie["payment-addr"]="Payment secret field",ie["multi-path-payments"]="Basic multi-part payments",ie["wumbo-channels"]="Wumbo Channels",ie.anchors="Anchor outputs",ie["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",ie.amp="AMP",ue;var ie})();const ye=[{id:"match",placeholder:"Policy Match (%age)",min:0,max:200},{id:"available",placeholder:"Policy Available (%age)",min:0,max:100},{id:"fixed",placeholder:"Fixed Policy (Sats)",min:0,max:100}];var we=(()=>{return(ie=we||(we={})).OFFERED="offered",ie.SETTLED="settled",ie.FAILED="failed",ie.LOCAL_FAILED="local_failed",we;var ie})(),me=(()=>{return(ie=me||(me={})).ASCENDING="asc",ie.DESCENDING="desc",me;var ie})();const te=["asc","desc"],Ze=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:h,sortBy:"blockheight",sortOrder:me.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:h,sortBy:"blockheight",sortOrder:me.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:h,sortBy:"msatoshi_to_us",sortOrder:me.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:h,sortBy:"state",sortOrder:me.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:h,sortBy:"alias",sortOrder:me.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:h,sortBy:"channel_opening_fee",sortOrder:me.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:h,sortBy:"created_at",sortOrder:me.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:h,sortBy:"expires_at",sortOrder:me.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:h,sortBy:"offer_id",sortOrder:me.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:h,sortBy:"lastUpdatedAt",sortOrder:me.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:h,sortBy:"received_time",sortOrder:me.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:h,sortBy:"total_fee",sortOrder:me.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:h,sortBy:"received_time",sortOrder:me.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:h,sortBy:"received_time",sortOrder:me.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:h,sortBy:"received_time",sortOrder:me.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:h,sortBy:"date",sortOrder:me.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:h,sortBy:"msatoshi",sortOrder:me.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]},{pageId:"peerswap",tables:[{tableId:"swaps",recordsPerPage:h,sortBy:"created_at",sortOrder:me.DESCENDING,columnSelectionSM:["id","state","amount"],columnSelection:["id","alias","short_channel_id","created_at","state","amount"]}]}],Ue={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"}]}}},q=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:h,sortBy:"tx_id",sortOrder:me.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:h,sortBy:"time_stamp",sortOrder:me.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:h,sortBy:"tx_id",sortOrder:me.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:h,sortBy:"balancedness",sortOrder:me.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:me.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:me.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:me.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:me.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:h,sortBy:"close_type",sortOrder:me.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:h,sortBy:"incoming",sortOrder:me.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:h,sortBy:"alias",sortOrder:me.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:h,sortBy:"creation_date",sortOrder:me.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:h,sortBy:"creation_date",sortOrder:me.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:h,sortBy:"timestamp",sortOrder:me.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:h,sortBy:"total_amount",sortOrder:me.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:h,sortBy:"remote_alias",sortOrder:me.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:h,sortBy:"timestamp",sortOrder:me.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:h,sortBy:"date",sortOrder:me.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:h,sortBy:"hop_sequence",sortOrder:me.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:h,sortBy:"initiation_time",sortOrder:me.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:h,sortBy:"status",sortOrder:me.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:h,sortBy:"status",sortOrder:me.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],de={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"}]}}},Ee=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:h,sortBy:"timestamp",sortOrder:me.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:h,sortBy:"alias",sortOrder:me.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:h,sortBy:"alias",sortOrder:me.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:h,sortBy:"alias",sortOrder:me.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:h,sortBy:"alias",sortOrder:me.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:h,sortBy:"firstPartTimestamp",sortOrder:me.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:h,sortBy:"receivedAt",sortOrder:me.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:h,sortBy:"timestamp",sortOrder:me.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:h,sortBy:"totalFee",sortOrder:me.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:h,sortBy:"timestamp",sortOrder:me.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:h,sortBy:"date",sortOrder:me.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],ke={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:(ze,K,m)=>{"use strict";m.d(K,{D:()=>ce});var t=m(529),e=m(1135),g=m(7579),k=m(2843),o=m(9646),C=m(590),h=m(5577),P=m(2722),u=m(4004),I=m(262),S=m(1365),A=m(2340),w=m(7731),R=m(1786),E=m(7861),U=m(6523),Y=m(6529),Q=m(9828),X=m(4650),$=m(9653),fe=m(5043),re=m(7009),ee=m(6895);class ce{constructor(le,L,i,r,d){this.httpClient=le,this.store=L,this.logger=i,this.snackBar=r,this.titleCasePipe=d,this.APIUrl=A.T5,this.lnImplementation="",this.lnImplementationUpdated=new e.X(null),this.unSubs=[new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x],this.mapAliases=(c,b)=>(c&&c.length>0?c.forEach((T,N)=>{if(b&&b.length>0)for(let v=0;v<b.length;v++){if(b[v].short_channel_id&&b[v].short_channel_id===T.in_channel&&(T.in_channel_alias=b[v].alias?b[v].alias:T.in_channel,T.out_channel_alias)||b[v].short_channel_id&&b[v].short_channel_id?.toString()===T.out_channel&&(T.out_channel_alias=b[v].alias?b[v].alias:T.out_channel,T.in_channel_alias))return;v===b.length-1&&(T.in_channel_alias||(T.in_channel_alias=T.in_channel?T.in_channel:"-"),T.out_channel_alias||(T.out_channel_alias=T.out_channel?T.out_channel:"-"))}else T.in_channel_alias=T.in_channel?T.in_channel:"-",T.out_channel_alias=T.out_channel?T.out_channel:"-"}):c=[],c)}setLnImplementation(le){this.lnImplementation=le.toLowerCase(),this.lnImplementationUpdated.next(this.lnImplementation)}getFiatRates(){return this.httpClient.get(A.NZ.CONF_API+"/rates")}decodePayment(le,L){return this.lnImplementationUpdated.pipe((0,C.P)(i=>null!==i),(0,h.z)(i=>{let r=this.APIUrl+"/"+i+A.NZ.PAYMENTS_API+"/decode/"+le;return"cln"===i&&(r=this.APIUrl+"/"+i+A.NZ.UTILITY_API+"/decode/"+le),this.store.dispatch((0,E.ac)({payload:w.m6.DECODE_PAYMENT})),this.httpClient.get(r).pipe((0,P.R)(this.unSubs[0]),(0,u.U)(d=>(this.store.dispatch((0,E.uO)({payload:w.m6.DECODE_PAYMENT})),d)),(0,I.K)(d=>(L?this.handleErrorWithoutAlert("Decode Payment",w.m6.DECODE_PAYMENT,d):this.handleErrorWithAlert("decodePaymentData",w.m6.DECODE_PAYMENT,"Decode Payment Failed",r,d),(0,k._)(()=>new Error(this.extractErrorMessage(d))))))}))}decodePayments(le){return this.lnImplementationUpdated.pipe((0,C.P)(L=>null!==L),(0,h.z)(L=>{let i="",r="";return"ecl"===L?(i=this.APIUrl+"/"+L+A.NZ.PAYMENTS_API+"/getsentinfos",r=w.m6.GET_SENT_PAYMENTS):"cln"===L?(i=this.APIUrl+"/"+L+A.NZ.UTILITY_API,r=w.m6.DECODE_PAYMENTS):(i=this.APIUrl+"/"+L+A.NZ.PAYMENTS_API,r=w.m6.DECODE_PAYMENTS),this.store.dispatch((0,E.ac)({payload:r})),this.httpClient.post(i,{payments:le}).pipe((0,P.R)(this.unSubs[1]),(0,u.U)(d=>(this.store.dispatch((0,E.uO)({payload:r})),d)),(0,I.K)(d=>(this.handleErrorWithAlert("decodePaymentsData",r,r+" Failed",i,d),(0,k._)(()=>new Error(this.extractErrorMessage(d))))))}))}getAliasesFromPubkeys(le,L){return this.lnImplementationUpdated.pipe((0,C.P)(i=>null!==i),(0,h.z)(i=>{if(L){const r=(new t.LE).set("pubkeys",le);return this.httpClient.get(this.APIUrl+"/"+i+A.NZ.NETWORK_API+"/nodes",{params:r})}return this.httpClient.get(this.APIUrl+"/"+i+A.NZ.NETWORK_API+"/node/"+le)}))}signMessage(le){return this.lnImplementationUpdated.pipe((0,C.P)(L=>null!==L),(0,h.z)(L=>{let i=this.APIUrl+"/"+L+A.NZ.MESSAGE_API+"/sign";return"cln"===L&&(i=this.APIUrl+"/"+L+A.NZ.UTILITY_API+"/sign"),this.store.dispatch((0,E.ac)({payload:w.m6.SIGN_MESSAGE})),this.httpClient.post(i,{message:le}).pipe((0,P.R)(this.unSubs[2]),(0,u.U)(r=>(this.store.dispatch((0,E.uO)({payload:w.m6.SIGN_MESSAGE})),r)),(0,I.K)(r=>(this.handleErrorWithAlert("signMessageData",w.m6.SIGN_MESSAGE,"Sign Message Failed",i,r),(0,k._)(()=>new Error(this.extractErrorMessage(r))))))}))}verifyMessage(le,L){return this.lnImplementationUpdated.pipe((0,C.P)(i=>null!==i),(0,h.z)(i=>{let r=this.APIUrl+"/"+i+A.NZ.MESSAGE_API+"/verify";return"cln"===i&&(r=this.APIUrl+"/"+i+A.NZ.UTILITY_API+"/verify"),this.store.dispatch((0,E.ac)({payload:w.m6.VERIFY_MESSAGE})),this.httpClient.post(r,{message:le,signature:L}).pipe((0,P.R)(this.unSubs[3]),(0,u.U)(d=>(this.store.dispatch((0,E.uO)({payload:w.m6.VERIFY_MESSAGE})),d)),(0,I.K)(d=>(this.handleErrorWithAlert("verifyMessageData",w.m6.VERIFY_MESSAGE,"Verify Message Failed",r,d),(0,k._)(()=>new Error(this.extractErrorMessage(d))))))}))}bumpFee(le,L,i,r){return this.lnImplementationUpdated.pipe((0,C.P)(d=>null!==d),(0,h.z)(d=>{const c={txid:le,outputIndex:L};return i&&(c.targetConf=i),r&&(c.satPerByte=r),this.store.dispatch((0,E.ac)({payload:w.m6.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+d+A.NZ.WALLET_API+"/bumpfee",c).pipe((0,P.R)(this.unSubs[4]),(0,u.U)(b=>(this.store.dispatch((0,E.uO)({payload:w.m6.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),b)),(0,I.K)(b=>(this.handleErrorWithoutAlert("Bump Fee",w.m6.BUMP_FEE,b),(0,k._)(()=>new Error(this.extractErrorMessage(b))))))}))}labelUTXO(le,L,i=!0){return this.lnImplementationUpdated.pipe((0,C.P)(r=>null!==r),(0,h.z)(r=>{const d={txid:le,label:L,overwrite:i};return this.store.dispatch((0,E.ac)({payload:w.m6.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+r+A.NZ.WALLET_API+"/label",d).pipe((0,P.R)(this.unSubs[5]),(0,u.U)(c=>(this.store.dispatch((0,E.uO)({payload:w.m6.LABEL_UTXO})),c)),(0,I.K)(c=>(this.handleErrorWithoutAlert("Lease UTXO",w.m6.LABEL_UTXO,c),(0,k._)(()=>new Error(this.extractErrorMessage(c))))))}))}leaseUTXO(le,L){return this.lnImplementationUpdated.pipe((0,C.P)(i=>null!==i),(0,h.z)(i=>{const r={txid:le,outputIndex:L};return this.store.dispatch((0,E.ac)({payload:w.m6.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+i+A.NZ.WALLET_API+"/lease",r).pipe((0,P.R)(this.unSubs[6]),(0,u.U)(d=>{this.store.dispatch((0,E.uO)({payload:w.m6.LEASE_UTXO})),this.store.dispatch((0,U.mC)()),this.store.dispatch((0,U.Ly)());const c=new Date(1e3*d.expiration),b=Math.round(c.getTime())-60*c.getTimezoneOffset();this.snackBar.open("The UTXO has been leased till "+new Date(b).toString().substring(4,21).replace(" ","/").replace(" ","/").toUpperCase()+".")}),(0,I.K)(d=>(this.handleErrorWithoutAlert("Lease UTXO",w.m6.LEASE_UTXO,d),(0,k._)(()=>new Error(this.extractErrorMessage(d))))))}))}getForwardingHistory(le,L,i,r){if("LND"===le){const d={end_time:i,start_time:L};return this.store.dispatch((0,E.ac)({payload:w.m6.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+A.NZ.SWITCH_API,d).pipe((0,P.R)(this.unSubs[7]),(0,S.M)(this.store.select(Y._f)),(0,h.z)(([c,b])=>{if(c.forwarding_events){const T=[...b.channels,...b.closedChannels];c.forwarding_events.forEach(N=>{if(T&&T.length>0)for(let v=0;v<T.length;v++){if(T[v].chan_id?.toString()===N.chan_id_in&&(N.alias_in=T[v].remote_alias?T[v].remote_alias:N.chan_id_in,N.alias_out)||T[v].chan_id?.toString()===N.chan_id_out&&(N.alias_out=T[v].remote_alias?T[v].remote_alias:N.chan_id_out,N.alias_in))return;v===T.length-1&&(N.alias_in||(N.alias_in=N.chan_id_in),N.alias_out||(N.alias_out=N.chan_id_out))}else N.alias_in=N.chan_id_in,N.alias_out=N.chan_id_out})}else c={};return this.store.dispatch((0,E.uO)({payload:w.m6.GET_FORWARDING_HISTORY})),(0,o.of)(c)}),(0,I.K)(c=>(this.handleErrorWithAlert("getForwardingHistoryData",w.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+A.NZ.SWITCH_API,c),(0,k._)(()=>new Error(this.extractErrorMessage(c))))))}return"CLN"===le?(this.store.dispatch((0,E.ac)({payload:w.m6.GET_FORWARDING_HISTORY})),this.httpClient.get(this.APIUrl+"/cln"+A.NZ.CHANNELS_API+"/listForwards?status="+r).pipe((0,P.R)(this.unSubs[8]),(0,S.M)(this.store.select(Q.ZW)),(0,h.z)(([d,c])=>{const b=this.mapAliases(d,[...c.activeChannels,...c.pendingChannels,...c.inactiveChannels]);return this.store.dispatch((0,E.uO)({payload:w.m6.GET_FORWARDING_HISTORY})),(0,o.of)(b)}),(0,I.K)(d=>(this.handleErrorWithAlert("getForwardingHistoryData",w.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+A.NZ.CHANNELS_API+"/listForwards?status="+r+"&start="+L+"&end="+i,d),(0,k._)(()=>new Error(this.extractErrorMessage(d))))))):(0,o.of)({})}listNetworkNodes(le=""){return this.lnImplementationUpdated.pipe((0,C.P)(L=>null!==L),(0,h.z)(L=>(this.store.dispatch((0,E.ac)({payload:w.m6.LIST_NETWORK_NODES})),this.httpClient.get(this.APIUrl+"/"+L+A.NZ.NETWORK_API+"/listNodes"+le).pipe((0,P.R)(this.unSubs[9]),(0,h.z)(i=>(this.store.dispatch((0,E.uO)({payload:w.m6.LIST_NETWORK_NODES})),(0,o.of)(i))),(0,I.K)(i=>(this.handleErrorWithoutAlert("List Network Nodes",w.m6.LIST_NETWORK_NODES,i),(0,k._)(()=>this.extractErrorMessage(i))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,C.P)(le=>null!==le),(0,h.z)(le=>(this.store.dispatch((0,E.ac)({payload:w.m6.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+le+A.NZ.UTILITY_API+"/listConfigs").pipe((0,P.R)(this.unSubs[10]),(0,h.z)(L=>(this.store.dispatch((0,E.uO)({payload:w.m6.GET_LIST_CONFIGS})),(0,o.of)(L))),(0,I.K)(L=>(this.handleErrorWithoutAlert("List Configurations",w.m6.GET_LIST_CONFIGS,L),(0,k._)(()=>this.extractErrorMessage(L))))))))}getOrUpdateFunderPolicy(le,L,i,r,d,c){return this.lnImplementationUpdated.pipe((0,C.P)(b=>null!==b),(0,h.z)(b=>{const T=le?{policy:le,policy_mod:L,lease_fee_base_msat:i,lease_fee_basis:r,channel_fee_max_base_msat:d,channel_fee_max_proportional_thousandths:c}:null;return this.store.dispatch((0,E.ac)({payload:w.m6.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+b+A.NZ.CHANNELS_API+"/funderUpdate",T).pipe((0,P.R)(this.unSubs[11]),(0,u.U)(N=>(this.store.dispatch((0,E.uO)({payload:w.m6.GET_FUNDER_POLICY})),T&&this.store.dispatch((0,E.jW)({payload:"Funder Policy Updated Successfully with Compact Lease: "+N.compact_lease+"!"})),N)),(0,I.K)(N=>(this.handleErrorWithoutAlert("Funder Policy",w.m6.GET_FUNDER_POLICY,N),(0,k._)(()=>new Error(this.extractErrorMessage(N))))))}))}extractErrorMessage(le,L="Unknown Error."){return this.titleCasePipe.transform(le.error.text&&"string"==typeof le.error.text&&le.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":le.error&&le.error.error&&le.error.error.error&&le.error.error.error.error&&le.error.error.error.error.error&&"string"==typeof le.error.error.error.error.error?le.error.error.error.error.error:le.error&&le.error.error&&le.error.error.error&&le.error.error.error.error&&"string"==typeof le.error.error.error.error?le.error.error.error.error:le.error&&le.error.error&&le.error.error.error&&"string"==typeof le.error.error.error?le.error.error.error:le.error&&le.error.error&&"string"==typeof le.error.error?le.error.error:le.error&&"string"==typeof le.error?le.error:le.error&&le.error.error&&le.error.error.error&&le.error.error.error.error&&le.error.error.error.error.message&&"string"==typeof le.error.error.error.error.message?le.error.error.error.error.message:le.error&&le.error.error&&le.error.error.error&&le.error.error.error.message&&"string"==typeof le.error.error.error.message?le.error.error.error.message:le.error&&le.error.error&&le.error.error.message&&"string"==typeof le.error.error.message?le.error.error.message:le.error&&le.error.message&&"string"==typeof le.error.message?le.error.message:le.message&&"string"==typeof le.message?le.message:L)}handleErrorWithoutAlert(le,L,i){i.error.text&&"string"==typeof i.error.text&&i.error.text.includes('<!DOCTYPE html><html lang="en">')&&(i={status:403,error:{message:"API Route Does Not Exist."}}),this.logger.error("ERROR IN: "+le+"\n"+JSON.stringify(i)),401===i.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,E.ts)()),this.store.dispatch((0,E.kS)()),this.store.dispatch((0,E.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,E.uO)({payload:L})),this.store.dispatch((0,E.qi)({payload:{action:le,status:w.Bn.ERROR,statusCode:i.status.toString(),message:this.extractErrorMessage(i)}})))}handleErrorWithAlert(le,L,i,r,d){if(this.logger.error(d),401===d.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,E.ts)()),this.store.dispatch((0,E.kS)()),this.store.dispatch((0,E.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,E.uO)({payload:L}));const c=this.extractErrorMessage(d);this.store.dispatch((0,E.qR)({payload:{data:{type:"ERROR",alertTitle:i,message:{code:d.status?d.status:"Unknown Error",message:c,URL:r},component:R.H}}})),this.store.dispatch((0,E.qi)({payload:{action:le,status:w.Bn.ERROR,statusCode:d.status.toString(),message:c,URL:r}}))}}ngOnDestroy(){this.unSubs.forEach(le=>{le.next(null),le.complete()})}}ce.\u0275fac=function(le){return new(le||ce)(X.LFG(t.eN),X.LFG($.yh),X.LFG(fe.mQ),X.LFG(re.ux),X.LFG(ee.rS))},ce.\u0275prov=X.Yz7({token:ce,factory:ce.\u0275fac})},5043:(ze,K,m)=>{"use strict";m.d(K,{LG:()=>h,mQ:()=>C});var t=m(2340),e=m(4650);const{isDebugMode:g}=t.NZ,k=()=>null;class C{invokeConsoleMethod(u,I){}}C.\u0275fac=function(u){return new(u||C)},C.\u0275prov=e.Yz7({token:C,factory:C.\u0275fac});class h{get info(){return g?console.log.bind(console):k}get warn(){return g?console.warn.bind(console):k}get error(){return g?console.error.bind(console):k}invokeConsoleMethod(u,I){(console[u]||console.log||k).apply(console,[I])}}h.\u0275fac=function(u){return new(u||h)},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac})},9107:(ze,K,m)=>{"use strict";m.d(K,{W:()=>Y});var t=m(529),e=m(1135),g=m(7579),k=m(9646),o=m(2843),C=m(2722),h=m(262),P=m(4004),u=m(2340),I=m(7731),S=m(1786),A=m(7861),w=m(4650),R=m(5043),E=m(9653),U=m(62);class Y{constructor(X,$,fe,re){this.httpClient=X,this.logger=$,this.store=fe,this.commonService=re,this.loopUrl="",this.swaps=[],this.swapsChanged=new e.X([]),this.unSubs=[new g.x,new g.x,new g.x,new g.x,new g.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,A.ac)({payload:I.m6.GET_LOOP_SWAPS})),this.loopUrl=u.T5+u.NZ.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,C.R)(this.unSubs[0])).subscribe({next:X=>{this.store.dispatch((0,A.uO)({payload:I.m6.GET_LOOP_SWAPS})),this.swaps=X,this.swapsChanged.next(this.swaps)},error:X=>this.swapsChanged.error(this.handleErrorWithAlert(I.m6.GET_LOOP_SWAPS,this.loopUrl,X))})}loopOut(X,$,fe,re,ee,ce,se,le,L,i){const r={amount:X,targetConf:fe,swapRoutingFee:re,minerFee:ee,prepayRoutingFee:ce,prepayAmt:se,swapFee:le,swapPublicationDeadline:L,destAddress:i};return""!==$&&(r.chanId=$),this.loopUrl=u.T5+u.NZ.LOOP_API+"/out",this.httpClient.post(this.loopUrl,r).pipe((0,h.K)(d=>this.handleErrorWithoutAlert("Loop Out for Channel: "+$,I.m6.NO_SPINNER,d)))}getLoopOutTerms(){return this.loopUrl=u.T5+u.NZ.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,h.K)(X=>this.handleErrorWithoutAlert("Loop Out Terms",I.m6.NO_SPINNER,X)))}getLoopOutQuote(X,$,fe){let re=new t.LE;return re=re.append("targetConf",$.toString()),re=re.append("swapPublicationDeadline",fe.toString()),this.loopUrl=u.T5+u.NZ.LOOP_API+"/out/quote/"+X,this.store.dispatch((0,A.ac)({payload:I.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:re}).pipe((0,C.R)(this.unSubs[1]),(0,P.U)(ee=>(this.store.dispatch((0,A.uO)({payload:I.m6.GET_QUOTE})),ee)),(0,h.K)(ee=>this.handleErrorWithoutAlert("Loop Out Quote",I.m6.GET_QUOTE,ee)))}getLoopOutTermsAndQuotes(X){let $=new t.LE;return $=$.append("targetConf",X.toString()),$=$.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=u.T5+u.NZ.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,A.ac)({payload:I.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:$}).pipe((0,C.R)(this.unSubs[2]),(0,P.U)(fe=>(this.store.dispatch((0,A.uO)({payload:I.m6.GET_TERMS_QUOTES})),fe)),(0,h.K)(fe=>(0,k.of)(this.handleErrorWithAlert(I.m6.GET_TERMS_QUOTES,this.loopUrl,fe))))}loopIn(X,$,fe,re,ee){const ce={amount:X,swapFee:$,minerFee:fe,lastHop:re,externalHtlc:ee};return this.loopUrl=u.T5+u.NZ.LOOP_API+"/in",this.httpClient.post(this.loopUrl,ce).pipe((0,h.K)(se=>this.handleErrorWithoutAlert("Loop In",I.m6.NO_SPINNER,se)))}getLoopInTerms(){return this.loopUrl=u.T5+u.NZ.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,h.K)(X=>this.handleErrorWithoutAlert("Loop In Terms",I.m6.NO_SPINNER,X)))}getLoopInQuote(X,$,fe){let re=new t.LE;return re=re.append("targetConf",$.toString()),re=re.append("swapPublicationDeadline",fe.toString()),this.loopUrl=u.T5+u.NZ.LOOP_API+"/in/quote/"+X,this.store.dispatch((0,A.ac)({payload:I.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:re}).pipe((0,C.R)(this.unSubs[3]),(0,P.U)(ee=>(this.store.dispatch((0,A.uO)({payload:I.m6.GET_QUOTE})),ee)),(0,h.K)(ee=>this.handleErrorWithoutAlert("Loop In Qoute",I.m6.GET_QUOTE,ee)))}getLoopInTermsAndQuotes(X){let $=new t.LE;return $=$.append("targetConf",X.toString()),$=$.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=u.T5+u.NZ.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,A.ac)({payload:I.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:$}).pipe((0,C.R)(this.unSubs[4]),(0,P.U)(fe=>(this.store.dispatch((0,A.uO)({payload:I.m6.GET_TERMS_QUOTES})),fe)),(0,h.K)(fe=>(0,k.of)(this.handleErrorWithAlert(I.m6.GET_TERMS_QUOTES,this.loopUrl,fe))))}getSwap(X){return this.loopUrl=u.T5+u.NZ.LOOP_API+"/swap/"+X,this.httpClient.get(this.loopUrl).pipe((0,h.K)($=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+X,I.m6.NO_SPINNER,$)))}handleErrorWithoutAlert(X,$,fe){let re="";return this.logger.error("ERROR IN: "+X+"\n"+JSON.stringify(fe)),this.store.dispatch((0,A.uO)({payload:$})),401===fe.status?(re="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,A.kS)())):503===fe.status?(re="Unable to Connect to Loop Server.",this.store.dispatch((0,A.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:fe.status,message:"Unable to Connect to Loop Server",URL:X},component:S.H}}}))):re=this.commonService.extractErrorMessage(fe),(0,o._)(()=>new Error(re))}handleErrorWithAlert(X,$,fe){let re="";if(this.logger.error(fe),this.store.dispatch((0,A.uO)({payload:X})),401===fe.status)re="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,A.kS)());else if(503===fe.status)re="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,A.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:fe.status,message:"Unable to Connect to Loop Server",URL:$},component:S.H}}}))},100);else{re=this.commonService.extractErrorMessage(fe);const ee=fe.error&&fe.error.error&&fe.error.error.code?fe.error.error.code:fe.error&&fe.error.code?fe.error.code:fe.code?fe.code:fe.status;setTimeout(()=>{this.store.dispatch((0,A.qR)({payload:{data:{type:I.n_.ERROR,alertTitle:"ERROR",message:{code:ee,message:re,URL:$},component:S.H}}}))},100)}return{message:re}}ngOnDestroy(){this.unSubs.forEach(X=>{X.next(null),X.complete()})}}Y.\u0275fac=function(X){return new(X||Y)(w.LFG(t.eN),w.LFG(R.mQ),w.LFG(E.yh),w.LFG(U.v))},Y.\u0275prov=w.Yz7({token:Y,factory:Y.\u0275fac})},5986:(ze,K,m)=>{"use strict";m.d(K,{m:()=>g});var t=m(7579),e=m(4650);class g{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)}}g.\u0275fac=function(o){return new(o||g)},g.\u0275prov=e.Yz7({token:g,factory:g.\u0275fac})},7998:(ze,K,m)=>{"use strict";m.d(K,{d:()=>R});var t=m(1135),e=m(7579),g=m(2722),k=m(930),o=m(9751),C=m(727),h=m(4707);const P={url:"",deserializer:E=>JSON.parse(E.data),serializer:E=>JSON.stringify(E)};class I extends e.u{constructor(U,Y){if(super(),this._socket=null,U instanceof o.y)this.destination=Y,this.source=U;else{const Q=this._config=Object.assign({},P);if(this._output=new e.x,"string"==typeof U)Q.url=U;else for(const X in U)U.hasOwnProperty(X)&&(Q[X]=U[X]);if(!Q.WebSocketCtor&&WebSocket)Q.WebSocketCtor=WebSocket;else if(!Q.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new h.t}}lift(U){const Y=new I(this._config,this.destination);return Y.operator=U,Y.source=this,Y}_resetState(){this._socket=null,this.source||(this.destination=new h.t),this._output=new e.x}multiplex(U,Y,Q){const X=this;return new o.y($=>{try{X.next(U())}catch(re){$.error(re)}const fe=X.subscribe({next:re=>{try{Q(re)&&$.next(re)}catch(ee){$.error(ee)}},error:re=>$.error(re),complete:()=>$.complete()});return()=>{try{X.next(Y())}catch(re){$.error(re)}fe.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:U,protocol:Y,url:Q,binaryType:X}=this._config,$=this._output;let fe=null;try{fe=Y?new U(Q,Y):new U(Q),this._socket=fe,X&&(this._socket.binaryType=X)}catch(ee){return void $.error(ee)}const re=new C.w0(()=>{this._socket=null,fe&&1===fe.readyState&&fe.close()});fe.onopen=ee=>{const{_socket:ce}=this;if(!ce)return fe.close(),void this._resetState();const{openObserver:se}=this._config;se&&se.next(ee);const le=this.destination;this.destination=k.Lv.create(L=>{if(1===fe.readyState)try{const{serializer:i}=this._config;fe.send(i(L))}catch(i){this.destination.error(i)}},L=>{const{closingObserver:i}=this._config;i&&i.next(void 0),L&&L.code?fe.close(L.code,L.reason):$.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:L}=this._config;L&&L.next(void 0),fe.close(),this._resetState()}),le&&le instanceof h.t&&re.add(le.subscribe(this.destination))},fe.onerror=ee=>{this._resetState(),$.error(ee)},fe.onclose=ee=>{fe===this._socket&&this._resetState();const{closeObserver:ce}=this._config;ce&&ce.next(ee),ee.wasClean?$.complete():$.error(ee)},fe.onmessage=ee=>{try{const{deserializer:ce}=this._config;$.next(ce(ee))}catch(ce){$.error(ce)}}}_subscribe(U){const{source:Y}=this;return Y?Y.subscribe(U):(this._socket||this._connectSocket(),this._output.subscribe(U),U.add(()=>{const{_socket:Q}=this;0===this._output.observers.length&&(Q&&(1===Q.readyState||0===Q.readyState)&&Q.close(),this._resetState())}),U)}unsubscribe(){const{_socket:U}=this;U&&(1===U.readyState||0===U.readyState)&&U.close(),this._resetState(),super.unsubscribe()}}var S=m(4650),A=m(5043),w=m(5986);class R{constructor(U,Y){this.logger=U,this.sessionService=Y,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(U,Y){(!this.socket||this.socket.closed)&&(this.wsUrl=U,this.nodeIndex=Y,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new I({url:U,protocol:[this.sessionService.getItem("token")||"",Y]}),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,g.R)(this.unSubs[1])).subscribe({next:U=>{if((U="string"==typeof U?JSON.parse(U):U).error)this.handleError(U.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(U)),U.source){case"LND":this.lndWSMessages.next(U);break;case"CLN":this.clWSMessages.next(U);break;case"ECL":this.eclWSMessages.next(U)}},error:U=>this.handleError(U),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(U){this.logger.error(U),this.clWSMessages.error(U),this.eclWSMessages.error(U),this.lndWSMessages.error(U),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()}}R.\u0275fac=function(U){return new(U||R)(S.LFG(A.mQ),S.LFG(w.m))},R.\u0275prov=S.Yz7({token:R,factory:R.\u0275fac})},9470:(ze,K,m)=>{"use strict";m.d(K,{m:()=>ua});var t=m(6895),e=m(9116),g=m(4006),k=m(529),o=m(2216),C=m(4650),h=m(2233),P=m(5829),u=m(1576);m(1281);let Pt=(()=>{class Rt{}return Rt.\u0275fac=function(vt){return new(vt||Rt)},Rt.\u0275mod=C.oAB({type:Rt}),Rt.\u0275inj=C.cJS({imports:[h.IR]}),Rt})(),gi=(()=>{class Rt{constructor(vt,oi){(0,t.PM)(oi)&&!vt&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(vt,oi=[]){return{ngModule:Rt,providers:vt.serverLoaded?[{provide:h.WU,useValue:{...h.g5,...vt}},{provide:h.Bs,useValue:oi,multi:!0},{provide:h.wY,useValue:!0}]:[{provide:h.WU,useValue:{...h.g5,...vt}},{provide:h.Bs,useValue:oi,multi:!0}]}}}return Rt.\u0275fac=function(vt){return new(vt||Rt)(C.LFG(h.wY),C.LFG(C.Lbi))},Rt.\u0275mod=C.oAB({type:Rt}),Rt.\u0275inj=C.cJS({imports:[u.ae,P.aT,Pt,u.ae,P.aT,Pt]}),Rt})();var Si=m(2289),ki=m(3238),Gi=m(7274),Gt=m(7957),di=m(2673),ge=m(4859);m(4761),m(5017);let mr=(()=>{class Rt{}return Rt.\u0275fac=function(vt){return new(vt||Rt)},Rt.\u0275mod=C.oAB({type:Rt}),Rt.\u0275inj=C.cJS({imports:[ki.BQ,ki.si,ki.BQ]}),Rt})();var jr=m(3546),Qr=m(6709),At=m(9602),ci=m(752),li=m(782),Mi=m(7392),Ui=m(4144),zi=m(6338),cn=m(8255),Xn=m(8739),In=m(3162),Kn=m(1572),Tn=m(1948),cr=m(4385),Hr=m(3267),nr=m(455);m(7579);let Wa=(()=>{class Rt{}return Rt.\u0275fac=function(vt){return new(vt||Rt)},Rt.\u0275mod=C.oAB({type:Rt}),Rt.\u0275inj=C.cJS({imports:[ki.BQ,t.ez,ki.si]}),Rt})();var Da=m(7009),ps=m(6308),dr=m(8425),ra=m(671),Ra=m(3848),Ia=m(3683),Ea=m(266),ts=m(5423),zr=m(7331),ka=m(2213),xr=m(658),qr=m(6839),Oa=m(8184),ws=m(3353);class hr extends Oa.Xj{constructor(fi,vt){super(fi,vt)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}}hr.\u0275fac=function(fi){return new(fi||hr)(C.Y36(t.K0),C.Y36(ws.t4))},hr.\u0275dir=C.lG2({type:hr,features:[C.qOj]});var Ya=m(5043),ar=m(7731),Wn=m(9445);class Cr extends ki.LF{constructor(fi,vt){super(fi,vt)}format(fi,vt){if("input"===vt){let oi=fi.getDate().toString();return oi=+oi<10?"0"+oi:oi,oi+"/"+ar.gg[fi.getMonth()].name.toUpperCase()+"/"+fi.getFullYear()}return ar.gg[fi.getMonth()].name.toUpperCase()+" "+fi.getFullYear()}}Cr.\u0275fac=function(fi){return new(fi||Cr)(C.LFG(ki.Ad,8),C.LFG(ws.t4))},Cr.\u0275prov=C.Yz7({token:Cr,factory:Cr.\u0275fac});class ua{}ua.\u0275fac=function(fi){return new(fi||ua)},ua.\u0275mod=C.oAB({type:ua}),ua.\u0275inj=C.cJS({providers:[{provide:Ya.mQ,useClass:Ya.LG},{provide:qr.op,useValue:{suppressScrollX:!1,suppressScrollY:!1}},{provide:Da.Ve,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:Gi.Bq,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog",width:"45%"}},{provide:ki._A,useClass:Cr},{provide:ki.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:Oa.Xj,useClass:hr},t.JJ,t.rS,t.uU,Wn.al,Wn.h9,Wn.D3,Wn.i1],imports:[t.ez,g.u5,g.UX,o.uH,gi,Si.xu,Gi.Is,ge.ot,mr,jr.QW,Qr.p9,ci.To,li.N6,At.FA,ki.XK,Mi.Ps,Ui.c,zi.ie,cn.Tx,In.Cv,Kn.Cq,Tn.Fk,ts.dp,zr.Hi,cr.LD,Hr.SJ,nr.rP,ps.JX,ra.p0,Ia.g0,Ea.AV,di.g,Xn.TU,dr.T5,Wa,Ra.Nh,Da.ZX,Gt.Bb,ka.a4,xr.OF,e.Bz,k.JF,qr.Xd,g.u5,g.UX,o.uH,gi,Si.xu,Gi.Is,ge.ot,mr,jr.QW,Qr.p9,ci.To,li.N6,At.FA,ki.XK,Mi.Ps,Ui.c,zi.ie,cn.Tx,In.Cv,Kn.Cq,Tn.Fk,ts.dp,zr.Hi,cr.LD,Hr.SJ,nr.rP,ps.JX,ra.p0,Ia.g0,Ea.AV,di.g,Xn.TU,dr.T5,Wa,Ra.Nh,Da.ZX,Gt.Bb,ka.a4,xr.OF,qr.Xd]})},7861:(ze,K,m)=>{"use strict";m.d(K,{M6:()=>S,Q2:()=>E,QO:()=>c,Tm:()=>ce,Uy:()=>re,XT:()=>$,_V:()=>le,ac:()=>P,c0:()=>r,c1:()=>A,dc:()=>v,ey:()=>X,fk:()=>ee,jS:()=>se,jW:()=>h,kS:()=>i,lC:()=>k,qR:()=>I,qi:()=>o,tj:()=>R,ts:()=>C,tw:()=>Y,uO:()=>u,vI:()=>Q,x4:()=>T,yb:()=>w,zQ:()=>fe});var t=m(9653),e=m(7731);(0,t.PH)(e.pg.VOID);const k=(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),h=(0,t.PH)(e.pg.OPEN_SNACK_BAR,(0,t.Ky)()),P=(0,t.PH)(e.pg.OPEN_SPINNER,(0,t.Ky)()),u=(0,t.PH)(e.pg.CLOSE_SPINNER,(0,t.Ky)()),I=(0,t.PH)(e.pg.OPEN_ALERT,(0,t.Ky)()),S=(0,t.PH)(e.pg.CLOSE_ALERT,(0,t.Ky)()),A=(0,t.PH)(e.pg.OPEN_CONFIRMATION,(0,t.Ky)()),w=(0,t.PH)(e.pg.CLOSE_CONFIRMATION,(0,t.Ky)()),R=(0,t.PH)(e.pg.SHOW_PUBKEY),E=(0,t.PH)(e.pg.FETCH_CONFIG,(0,t.Ky)()),Y=((0,t.PH)(e.pg.SHOW_CONFIG,(0,t.Ky)()),(0,t.PH)(e.pg.UPDATE_SELECTED_NODE_OPTIONS)),Q=(0,t.PH)(e.pg.RESET_ROOT_STORE,(0,t.Ky)()),X=(0,t.PH)(e.pg.FETCH_RTL_CONFIG),$=(0,t.PH)(e.pg.SET_RTL_CONFIG,(0,t.Ky)()),fe=(0,t.PH)(e.pg.SAVE_SETTINGS,(0,t.Ky)()),re=(0,t.PH)(e.pg.TWO_FA_SAVE_SETTINGS,(0,t.Ky)()),ee=(0,t.PH)(e.pg.SET_SELECTED_NODE,(0,t.Ky)()),ce=(0,t.PH)(e.pg.UPDATE_ROOT_NODE_SETTINGS,(0,t.Ky)()),se=(0,t.PH)(e.pg.UPDATE_SERVICE_SETTINGS,(0,t.Ky)()),le=(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)()),c=((0,t.PH)(e.pg.RESET_PASSWORD_RES,(0,t.Ky)()),(0,t.PH)(e.pg.IS_AUTHORIZED,(0,t.Ky)())),T=((0,t.PH)(e.pg.IS_AUTHORIZED_RES,(0,t.Ky)()),(0,t.PH)(e.pg.LOGIN,(0,t.Ky)())),v=((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:(ze,K,m)=>{"use strict";m.d(K,{V:()=>jt});var t=m(493),e=m(7579),g=m(9646),k=m(9751),o=m(4128),C=m(4004),h=m(5698),P=m(1365),u=m(5577),I=m(262),S=m(2722),A=m(2340),w=m(7731),R=m(7274),E=m(4650),U=m(1576),Y=m(1572);class Q{constructor(si,Yt){this.dialogRef=si,this.data=Yt}}Q.\u0275fac=function(si){return new(si||Q)(E.Y36(R.so),E.Y36(R.WI))},Q.\u0275cmp=E.Xpm({type:Q,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(si,Yt){1&si&&(E.TgZ(0,"div",0),E._UZ(1,"mat-progress-spinner",1),E.TgZ(2,"h2"),E._uU(3),E.qZA()()),2&si&&(E.xp6(3),E.Oqu(Yt.data.titleMessage))},dependencies:[U.xw,U.Wh,Y.Ou],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]});var X=m(5043),$=m(7009),fe=m(62),re=m(6895),ee=m(5829),ce=m(4859),se=m(3546),le=m(7392),L=m(4850),i=m(658),r=m(6839),d=m(5199),c=m(3390);const b=["scrollContainer"];function T(Wt,si){if(1&Wt&&E._UZ(0,"qr-code",15),2&Wt){const Yt=E.oxw();E.Q6J("value",Yt.showQRField)("size",200)("errorCorrectionLevel","L")}}function N(Wt,si){1&Wt&&E.GkF(0)}const v=function(Wt){return{"h-40":Wt}};function n(Wt,si){if(1&Wt&&(E.ynx(0),E.TgZ(1,"mat-card-content",16,17),E.YNc(3,N,1,0,"ng-container",18),E.qZA(),E.BQk()),2&Wt){const Yt=E.oxw(),Bi=E.MAs(20);E.xp6(1),E.Q6J("ngClass",E.VKq(2,v,Yt.data.scrollable)),E.xp6(2),E.Q6J("ngTemplateOutlet",Bi)}}function y(Wt,si){1&Wt&&E.GkF(0)}function B(Wt,si){if(1&Wt&&(E.ynx(0),E.TgZ(1,"mat-card-content",19),E.YNc(2,y,1,0,"ng-container",18),E.qZA(),E.BQk()),2&Wt){E.oxw();const Yt=E.MAs(20);E.xp6(2),E.Q6J("ngTemplateOutlet",Yt)}}function z(Wt,si){1&Wt&&(E.TgZ(0,"mat-icon",23),E._uU(1,"arrow_downward"),E.qZA())}function W(Wt,si){1&Wt&&(E.TgZ(0,"mat-icon",23),E._uU(1,"arrow_upward"),E.qZA())}function Le(Wt,si){if(1&Wt){const Yt=E.EpF();E.TgZ(0,"div",20)(1,"button",21),E.NdJ("click",function(){E.CHM(Yt);const Qi=E.oxw();return E.KtG(Qi.onScroll())}),E.YNc(2,z,2,0,"mat-icon",22),E.YNc(3,W,2,0,"mat-icon",22),E.qZA()()}if(2&Wt){const Yt=E.oxw();E.xp6(2),E.Q6J("ngIf","DOWN"===Yt.scrollDirection),E.xp6(1),E.Q6J("ngIf","UP"===Yt.scrollDirection)}}function Ve(Wt,si){1&Wt&&(E.TgZ(0,"button",24),E._uU(1,"OK"),E.qZA()),2&Wt&&E.Q6J("mat-dialog-close",!1)}function Ke(Wt,si){1&Wt&&(E.TgZ(0,"button",25),E._uU(1,"Close"),E.qZA()),2&Wt&&E.Q6J("mat-dialog-close",!1)}function $e(Wt,si){if(1&Wt){const Yt=E.EpF();E.TgZ(0,"button",26),E.NdJ("copied",function(Qi){E.CHM(Yt);const yn=E.oxw();return E.KtG(yn.onCopyField(Qi))}),E._uU(1),E.qZA()}if(2&Wt){const Yt=E.oxw();E.Q6J("payload",Yt.showCopyField),E.xp6(1),E.hij("Copy ",Yt.showCopyName,"")}}function Ae(Wt,si){1&Wt&&(E.TgZ(0,"button",25),E._uU(1,"Close"),E.qZA()),2&Wt&&E.Q6J("mat-dialog-close",!1)}function ue(Wt,si){if(1&Wt){const Yt=E.EpF();E.TgZ(0,"button",26),E.NdJ("copied",function(Qi){E.CHM(Yt);const yn=E.oxw();return E.KtG(yn.onCopyField(Qi))}),E._uU(1),E.qZA()}if(2&Wt){const Yt=E.oxw();E.Q6J("payload",Yt.showQRField),E.xp6(1),E.hij("Copy ",Yt.showQRName,"")}}function ye(Wt,si){if(1&Wt&&E._UZ(0,"qr-code",15),2&Wt){const Yt=E.oxw(2);E.Q6J("value",Yt.showQRField)("size",200)("errorCorrectionLevel","L")}}function we(Wt,si){if(1&Wt&&(E.TgZ(0,"p",32),E._uU(1),E.qZA()),2&Wt){const Yt=E.oxw(2);E.xp6(1),E.Oqu(Yt.data.titleMessage)}}function he(Wt,si){1&Wt&&E._UZ(0,"span",46),2&Wt&&E.Q6J("innerHTML",si.$implicit,E.oJD)}function it(Wt,si){if(1&Wt&&(E.ynx(0),E.YNc(1,he,1,1,"span",45),E.BQk()),2&Wt){const Yt=E.oxw(2).$implicit;E.xp6(1),E.Q6J("ngForOf",Yt.value)}}function De(Wt,si){if(1&Wt&&(E.ynx(0),E._uU(1),E.ALo(2,"date"),E.BQk()),2&Wt){const Yt=E.oxw(2).$implicit;E.xp6(1),E.Oqu(E.xi3(2,1,1e3*Yt.value,"dd/MMM/y HH:mm"))}}function oe(Wt,si){if(1&Wt&&(E.ynx(0),E._uU(1),E.ALo(2,"number"),E.BQk()),2&Wt){const Yt=E.oxw(2).$implicit;E.xp6(1),E.Oqu(E.xi3(2,1,Yt.value,Yt.digitsInfo?Yt.digitsInfo:"1.0-3"))}}function me(Wt,si){if(1&Wt&&(E.ynx(0),E._uU(1),E.BQk()),2&Wt){const Yt=E.oxw(2).$implicit;E.xp6(1),E.Oqu(Yt.value?"True":"False")}}function te(Wt,si){1&Wt&&(E.TgZ(0,"mat-icon",51),E._uU(1,"info"),E.qZA())}const Ze=function(Wt){return{"failed-status":Wt}};function Ue(Wt,si){if(1&Wt&&(E.TgZ(0,"p",49),E._uU(1),E.YNc(2,te,2,0,"mat-icon",50),E.qZA()),2&Wt){const Yt=E.oxw(3).$implicit,Bi=E.oxw(4);E.Q6J("ngClass",E.VKq(3,Ze,Yt.value===Bi.LoopStateEnum.FAILED)),E.xp6(1),E.hij(" ",Yt.value," "),E.xp6(1),E.Q6J("ngIf",Yt.value===Bi.LoopStateEnum.FAILED)}}function q(Wt,si){if(1&Wt&&E._uU(0),2&Wt){const Yt=E.oxw(3).$implicit;E.Oqu(Yt.value)}}function de(Wt,si){if(1&Wt&&(E.ynx(0),E.YNc(1,Ue,3,5,"p",47),E.YNc(2,q,1,1,"ng-template",null,48,E.W1O),E.BQk()),2&Wt){const Yt=E.MAs(3),Bi=E.oxw(2).$implicit,Qi=E.oxw(4);E.xp6(1),E.Q6J("ngIf","SWAP"===Qi.data.openedBy&&"state"===Bi.key)("ngIfElse",Yt)}}function Ee(Wt,si){if(1&Wt&&(E.TgZ(0,"span")(1,"span",42),E.YNc(2,it,2,1,"ng-container",43),E.YNc(3,De,3,4,"ng-container",43),E.YNc(4,oe,3,4,"ng-container",43),E.YNc(5,me,2,1,"ng-container",43),E.YNc(6,de,4,2,"ng-container",44),E.qZA()()),2&Wt){const Yt=E.oxw().$implicit,Bi=E.oxw(4);E.xp6(1),E.Q6J("ngSwitch",Yt.type),E.xp6(1),E.Q6J("ngSwitchCase",Bi.dataTypeEnum.ARRAY),E.xp6(1),E.Q6J("ngSwitchCase",Bi.dataTypeEnum.DATE_TIME),E.xp6(1),E.Q6J("ngSwitchCase",Bi.dataTypeEnum.NUMBER),E.xp6(1),E.Q6J("ngSwitchCase",Bi.dataTypeEnum.BOOLEAN)}}function ke(Wt,si){1&Wt&&(E.TgZ(0,"span",52),E._uU(1,"\xa0"),E.qZA())}function ie(Wt,si){if(1&Wt&&(E.TgZ(0,"div",37)(1,"h4",38),E._uU(2),E.qZA(),E.YNc(3,Ee,7,5,"span",39),E.YNc(4,ke,2,0,"ng-template",null,40,E.W1O),E._UZ(6,"mat-divider",41),E.qZA()),2&Wt){const Yt=si.$implicit,Bi=E.MAs(5);E.s9C("fxFlex.gt-md",Yt.width),E.xp6(2),E.Oqu(Yt.title),E.xp6(1),E.Q6J("ngIf",Yt&&(!!Yt.value||0===Yt.value))("ngIfElse",Bi)}}function nt(Wt,si){if(1&Wt&&(E.TgZ(0,"div")(1,"div",35),E.YNc(2,ie,7,4,"div",36),E.qZA()()),2&Wt){const Yt=si.$implicit;E.xp6(2),E.Q6J("ngForOf",Yt)}}function Ct(Wt,si){if(1&Wt&&(E.TgZ(0,"div",33),E.YNc(1,nt,3,1,"div",34),E.qZA()),2&Wt){const Yt=E.oxw(2);E.xp6(1),E.Q6J("ngForOf",Yt.messageObjs)}}const rt=function(Wt){return{"display-none":Wt}};function Xt(Wt,si){if(1&Wt&&(E.TgZ(0,"div",27)(1,"div",28),E.YNc(2,ye,1,3,"qr-code",2),E.qZA(),E.TgZ(3,"div",29),E.YNc(4,we,2,1,"p",30),E.YNc(5,Ct,2,1,"div",31),E.qZA()()),2&Wt){const Yt=E.oxw();E.xp6(1),E.Q6J("ngClass",E.VKq(4,rt,""===Yt.showQRField||Yt.screenSize!==Yt.screenSizeEnum.XS&&Yt.screenSize!==Yt.screenSizeEnum.SM)),E.xp6(1),E.Q6J("ngIf",""!==Yt.showQRField),E.xp6(2),E.Q6J("ngIf",Yt.data.titleMessage),E.xp6(1),E.Q6J("ngIf",(null==Yt.messageObjs?null:Yt.messageObjs.length)>0)}}class gt{constructor(si,Yt,Bi,Qi,yn,or){this.dialogRef=si,this.data=Yt,this.logger=Bi,this.snackBar=Qi,this.commonService=yn,this.renderer=or,this.LoopStateEnum=w.Fq,this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=w.n_,this.dataTypeEnum=w.Gi,this.screenSize="",this.screenSizeEnum=w.cu,this.scrollDirection="DOWN",this.shouldScroll=!0}set container(si){si&&(this.scrollContainer=si,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",Yt=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",Yt=>{this.scrollDirection="DOWN"})))}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===w.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(si){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+si)}onClose(){this.dialogRef.close(!1)}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd()}}gt.\u0275fac=function(si){return new(si||gt)(E.Y36(R.so),E.Y36(R.WI),E.Y36(X.mQ),E.Y36($.ux),E.Y36(fe.v),E.Y36(E.Qsj))},gt.\u0275cmp=E.Xpm({type:gt,selectors:[["rtl-alert-message"]],viewQuery:function(si,Yt){if(1&si&&E.Gf(b,5),2&si){let Bi;E.iGM(Bi=E.CRH())&&(Yt.container=Bi.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(si,Yt){1&si&&(E.TgZ(0,"div",0)(1,"div",1),E.YNc(2,T,1,3,"qr-code",2),E.qZA(),E.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5)(6,"span",6),E._uU(7),E.qZA()(),E.TgZ(8,"button",7),E.NdJ("click",function(){return Yt.onClose()}),E._uU(9,"X"),E.qZA()(),E.YNc(10,n,4,4,"ng-container",8),E.YNc(11,B,3,1,"ng-container",8),E.YNc(12,Le,4,2,"div",9),E.TgZ(13,"div",10),E.YNc(14,Ve,2,1,"button",11),E.YNc(15,Ke,2,1,"button",12),E.YNc(16,$e,2,2,"button",13),E.YNc(17,Ae,2,1,"button",12),E.YNc(18,ue,2,2,"button",13),E.qZA()()(),E.YNc(19,Xt,6,6,"ng-template",null,14,E.W1O)),2&si&&(E.xp6(1),E.Q6J("ngClass",E.VKq(12,rt,""===Yt.showQRField||Yt.screenSize===Yt.screenSizeEnum.XS||Yt.screenSize===Yt.screenSizeEnum.SM)),E.xp6(1),E.Q6J("ngIf",""!==Yt.showQRField),E.xp6(1),E.Q6J("fxFlex",""===Yt.showQRField||Yt.screenSize===Yt.screenSizeEnum.XS||Yt.screenSize===Yt.screenSizeEnum.SM?"100":"70"),E.xp6(4),E.Oqu(Yt.data.alertTitle||Yt.alertTypeEnum[Yt.data.type]),E.xp6(3),E.Q6J("ngIf",Yt.data.scrollable),E.xp6(1),E.Q6J("ngIf",!Yt.data.scrollable),E.xp6(1),E.Q6J("ngIf",Yt.data.scrollable&&Yt.shouldScroll),E.xp6(2),E.Q6J("ngIf",(!Yt.showQRField||""===Yt.showQRField)&&""===Yt.showCopyName),E.xp6(1),E.Q6J("ngIf",""!==Yt.showCopyName),E.xp6(1),E.Q6J("ngIf",""!==Yt.showCopyName),E.xp6(1),E.Q6J("ngIf",""!==Yt.showQRField),E.xp6(1),E.Q6J("ngIf",""!==Yt.showQRField))},dependencies:[re.mk,re.sg,re.O5,re.tP,re.RF,re.n9,re.ED,U.xw,U.Wh,U.yH,ee.oO,R.ZT,ce.lW,ce.nh,se.dn,se.dk,le.Hw,L.d,i.uU,r.$V,d.y,c.h,re.JJ,re.uU],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]});var mt=m(2687),St=m(7861),Ie=m(9653),He=m(4006),xt=m(2216),Pe=m(4144),et=m(9549),Vt=m(6534);function Lt(Wt,si){if(1&Wt&&(E.TgZ(0,"div",18),E._UZ(1,"fa-icon",19),E.TgZ(2,"span"),E._uU(3),E.qZA()()),2&Wt){const Yt=E.oxw();E.xp6(1),E.Q6J("icon",Yt.faExclamationTriangle),E.xp6(2),E.Oqu(Yt.warningMessage)}}function Ft(Wt,si){if(1&Wt&&(E.TgZ(0,"div",20),E._UZ(1,"fa-icon",19),E.TgZ(2,"span"),E._uU(3),E.qZA()()),2&Wt){const Yt=E.oxw();E.xp6(1),E.Q6J("icon",Yt.faInfoCircle),E.xp6(2),E.Oqu(Yt.informationMessage)}}function bt(Wt,si){if(1&Wt&&(E.TgZ(0,"p",21),E._uU(1),E.qZA()),2&Wt){const Yt=E.oxw();E.xp6(1),E.Oqu(Yt.data.titleMessage)}}function Ce(Wt,si){1&Wt&&E._UZ(0,"div",36),2&Wt&&E.Q6J("innerHTML",si.$implicit,E.oJD)}function J(Wt,si){if(1&Wt&&(E.ynx(0,34),E.YNc(1,Ce,1,1,"div",35),E.BQk()),2&Wt){const Yt=E.oxw(2).$implicit;E.xp6(1),E.Q6J("ngForOf",Yt.value)}}function ve(Wt,si){if(1&Wt&&(E.ynx(0),E._uU(1),E.ALo(2,"date"),E.BQk()),2&Wt){const Yt=E.oxw(2).$implicit;E.xp6(1),E.Oqu(E.xi3(2,1,1e3*Yt.value,"dd/MMM/y HH:mm"))}}function Ne(Wt,si){if(1&Wt&&(E.ynx(0),E._uU(1),E.ALo(2,"number"),E.BQk()),2&Wt){const Yt=E.oxw(2).$implicit;E.xp6(1),E.Oqu(E.xi3(2,1,Yt.value,"1.0-3"))}}function st(Wt,si){if(1&Wt&&(E.ynx(0),E._uU(1),E.BQk()),2&Wt){const Yt=E.oxw(2).$implicit;E.xp6(1),E.Oqu(!0===Yt.value?"True":"False")}}function ni(Wt,si){if(1&Wt&&(E.ynx(0),E._uU(1),E.BQk()),2&Wt){const Yt=E.oxw(2).$implicit;E.xp6(1),E.Oqu(Yt.value)}}function Ut(Wt,si){if(1&Wt&&(E.TgZ(0,"span")(1,"span",30),E.YNc(2,J,2,1,"ng-container",31),E.YNc(3,ve,3,4,"ng-container",32),E.YNc(4,Ne,3,4,"ng-container",32),E.YNc(5,st,2,1,"ng-container",32),E.YNc(6,ni,2,1,"ng-container",33),E.qZA()()),2&Wt){const Yt=E.oxw().$implicit,Bi=E.oxw(3);E.xp6(1),E.Q6J("ngSwitch",Yt.type),E.xp6(1),E.Q6J("ngSwitchCase",Bi.dataTypeEnum.ARRAY),E.xp6(1),E.Q6J("ngSwitchCase",Bi.dataTypeEnum.DATE_TIME),E.xp6(1),E.Q6J("ngSwitchCase",Bi.dataTypeEnum.NUMBER),E.xp6(1),E.Q6J("ngSwitchCase",Bi.dataTypeEnum.BOOLEAN)}}function ti(Wt,si){1&Wt&&(E.TgZ(0,"span",37),E._uU(1,"\xa0"),E.qZA())}function dt(Wt,si){if(1&Wt&&(E.TgZ(0,"div",25)(1,"h4",26),E._uU(2),E.qZA(),E.YNc(3,Ut,7,5,"span",27),E.YNc(4,ti,2,0,"ng-template",null,28,E.W1O),E._UZ(6,"mat-divider",29),E.qZA()),2&Wt){const Yt=si.$implicit,Bi=E.MAs(5);E.s9C("fxFlex.gt-md",Yt.width),E.xp6(2),E.Oqu(Yt.title),E.xp6(1),E.Q6J("ngIf",Yt&&(!!Yt.value||0===Yt.value))("ngIfElse",Bi)}}function at(Wt,si){if(1&Wt&&(E.TgZ(0,"div")(1,"div",23),E.YNc(2,dt,7,4,"div",24),E.qZA()()),2&Wt){const Yt=si.$implicit;E.xp6(2),E.Q6J("ngForOf",Yt)}}function _t(Wt,si){if(1&Wt&&(E.TgZ(0,"div"),E.YNc(1,at,3,1,"div",22),E.qZA()),2&Wt){const Yt=E.oxw();E.xp6(1),E.Q6J("ngForOf",Yt.messageObjs)}}function ai(Wt,si){if(1&Wt&&(E.TgZ(0,"p",21),E._uU(1),E.qZA()),2&Wt){const Yt=E.oxw(2);E.xp6(1),E.Oqu(Yt.data.titleMessage)}}function Bt(Wt,si){if(1&Wt&&(E.TgZ(0,"mat-error"),E._uU(1),E.qZA()),2&Wt){const Yt=E.oxw(2).$implicit;E.xp6(1),E.hij("",Yt.placeholder," is required.")}}function zt(Wt,si){if(1&Wt){const Yt=E.EpF();E.TgZ(0,"mat-form-field",41)(1,"mat-label"),E._uU(2),E.qZA(),E.TgZ(3,"input",42),E.NdJ("ngModelChange",function(Qi){E.CHM(Yt);const yn=E.oxw().$implicit;return E.KtG(yn.inputValue=Qi)}),E.ALo(4,"lowercase"),E.qZA(),E.YNc(5,Bt,2,1,"mat-error",11),E.TgZ(6,"mat-hint"),E._uU(7),E.qZA()()}if(2&Wt){const Yt=E.oxw(),Bi=Yt.$implicit,Qi=Yt.index;E.Q6J("fxFlex",Bi.width),E.xp6(2),E.Oqu(Bi.placeholder),E.xp6(1),E.MGl("name","input",Qi,""),E.Q6J("autoFocus",0===Qi)("min",Bi.min)("step",Bi.step)("type",E.lcZ(4,11,Bi.inputType))("tabindex",Qi+1)("ngModel",Bi.inputValue),E.xp6(2),E.Q6J("ngIf",!Bi.inputValue),E.xp6(2),E.Oqu(Bi.hintFunction?Bi.hintFunction(Bi.inputValue):Bi.hintText)}}function Nt(Wt,si){if(1&Wt&&(E.ynx(0),E.YNc(1,zt,8,13,"mat-form-field",40),E.BQk()),2&Wt){const Yt=si.$implicit,Bi=E.oxw(2);E.xp6(1),E.Q6J("ngIf",!Yt.advancedField||Bi.showAdvanced)}}function je(Wt,si){if(1&Wt&&(E.TgZ(0,"div",38),E.YNc(1,ai,2,1,"p",10),E.TgZ(2,"div",39),E.YNc(3,Nt,2,1,"ng-container",22),E.qZA()()),2&Wt){const Yt=E.oxw();E.xp6(1),E.Q6J("ngIf",Yt.data.titleMessage),E.xp6(2),E.Q6J("ngForOf",Yt.getInputs)}}function Fe(Wt,si){1&Wt&&(E.TgZ(0,"p"),E._uU(1,"Show Advanced"),E.qZA())}function Ye(Wt,si){1&Wt&&(E.TgZ(0,"p"),E._uU(1,"Hide Advanced"),E.qZA())}function qe(Wt,si){if(1&Wt){const Yt=E.EpF();E.TgZ(0,"button",43),E.NdJ("click",function(){E.CHM(Yt);const Qi=E.oxw();return E.KtG(Qi.onShowAdvanced())}),E.YNc(1,Fe,2,0,"p",27),E.YNc(2,Ye,2,0,"ng-template",null,44,E.W1O),E.qZA()}if(2&Wt){const Yt=E.MAs(3),Bi=E.oxw();E.xp6(1),E.Q6J("ngIf",!Bi.showAdvanced)("ngIfElse",Yt)}}function Tt(Wt,si){if(1&Wt){const Yt=E.EpF();E.TgZ(0,"button",45),E.NdJ("click",function(){E.CHM(Yt);const Qi=E.oxw();return E.KtG(Qi.onClose(Qi.getInputs))}),E._uU(1),E.qZA()}if(2&Wt){const Yt=E.oxw();E.xp6(1),E.Oqu(Yt.yesBtnText)}}function mi(Wt,si){if(1&Wt){const Yt=E.EpF();E.TgZ(0,"button",46),E.NdJ("click",function(){E.CHM(Yt);const Qi=E.oxw();return E.KtG(Qi.onClose(!0))}),E._uU(1),E.qZA()}if(2&Wt){const Yt=E.oxw();E.xp6(1),E.Oqu(Yt.yesBtnText)}}class Ti{constructor(si,Yt,Bi,Qi){this.dialogRef=si,this.data=Yt,this.logger=Bi,this.store=Qi,this.faInfoCircle=mt.sqG,this.faExclamationTriangle=mt.eHv,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=w.n_,this.dataTypeEnum=w.Gi,this.getInputs=[{placeholder:"",inputType:w.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===w.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(si){if(si&&this.getInputs&&this.getInputs.some(Yt=>typeof Yt.inputValue>"u"))return!0;!this.showAdvanced&&si.length&&(si=si?.reduce((Yt,Bi)=>(Bi.advancedField||Yt.push(Bi),Yt),[])),this.store.dispatch((0,St.yb)({payload:si}))}}Ti.\u0275fac=function(si){return new(si||Ti)(E.Y36(R.so),E.Y36(R.WI),E.Y36(X.mQ),E.Y36(Ie.yh))},Ti.\u0275cmp=E.Xpm({type:Ti,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(si,Yt){1&si&&(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 Yt.onClose(!1)}),E._uU(7,"X"),E.qZA()(),E.TgZ(8,"mat-card-content",6)(9,"form",7),E.YNc(10,Lt,4,2,"div",8),E.YNc(11,Ft,4,2,"div",9),E.YNc(12,bt,2,1,"p",10),E.YNc(13,_t,2,1,"div",11),E.YNc(14,je,4,2,"div",12),E.TgZ(15,"div",13)(16,"button",14),E.NdJ("click",function(){return Yt.onClose(!1)}),E._uU(17),E.qZA(),E.YNc(18,qe,4,2,"button",15),E.YNc(19,Tt,2,1,"button",16),E.YNc(20,mi,2,1,"button",17),E.qZA()()()()()),2&si&&(E.xp6(5),E.Oqu(Yt.data.alertTitle||Yt.alertTypeEnum[Yt.data.type]),E.xp6(5),E.Q6J("ngIf",Yt.warningMessage&&""!==Yt.warningMessage),E.xp6(1),E.Q6J("ngIf",Yt.informationMessage&&""!==Yt.informationMessage),E.xp6(1),E.Q6J("ngIf",Yt.data.titleMessage&&!Yt.flgShowInput),E.xp6(1),E.Q6J("ngIf",(null==Yt.messageObjs?null:Yt.messageObjs.length)>0),E.xp6(1),E.Q6J("ngIf",Yt.flgShowInput),E.xp6(3),E.Oqu(Yt.noBtnText),E.xp6(1),E.Q6J("ngIf",Yt.hasAdvanced),E.xp6(1),E.Q6J("ngIf",Yt.flgShowInput),E.xp6(1),E.Q6J("ngIf",!Yt.flgShowInput))},dependencies:[re.sg,re.O5,re.RF,re.n9,re.ED,He._Y,He.Fj,He.JJ,He.JL,He.Q7,He.On,He.F,xt.BN,U.xw,U.Wh,U.yH,ce.lW,se.dn,se.dk,Pe.Nt,et.KE,et.hX,et.bx,et.TO,L.d,c.h,Vt.q,re.i8,re.JJ,re.uU]});var xi=m(1786),Fi=m(4385),Je=m(3238);function wt(Wt,si){if(1&Wt&&(E.TgZ(0,"mat-option",23),E._uU(1),E.qZA()),2&Wt){const Yt=si.$implicit;E.Q6J("value",Yt),E.xp6(1),E.hij(" ",Yt.infoName," ")}}function be(Wt,si){if(1&Wt){const Yt=E.EpF();E.TgZ(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),E.NdJ("valueChange",function(Qi){E.CHM(Yt);const yn=E.oxw();return E.KtG(yn.selInfoType=Qi)}),E.YNc(3,wt,2,2,"mat-option",22),E.qZA()()()}if(2&Wt){const Yt=E.oxw();E.xp6(2),E.Q6J("value",Yt.selInfoType),E.xp6(1),E.Q6J("ngForOf",Yt.infoTypes)}}const Pt=function(Wt){return{"display-none":Wt}};class qt{constructor(si,Yt,Bi,Qi,yn){this.dialogRef=si,this.data=Yt,this.logger=Bi,this.snackBar=Qi,this.commonService=yn,this.faReceipt=mt.dLy,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=w.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((si,Yt)=>{this.infoTypes.push({infoID:Yt+1,infoKey:"node URI "+(Yt+1),infoName:"Node URI "+(Yt+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(si){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+si)}}qt.\u0275fac=function(si){return new(si||qt)(E.Y36(R.so),E.Y36(R.WI),E.Y36(X.mQ),E.Y36($.ux),E.Y36(fe.v))},qt.\u0275cmp=E.Xpm({type:qt,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(si,Yt){1&si&&(E.TgZ(0,"div",0)(1,"div",1),E._UZ(2,"qr-code",2),E.qZA(),E.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5),E._UZ(6,"fa-icon",6),E.TgZ(7,"span",7),E._uU(8),E.qZA()(),E.TgZ(9,"button",8),E.NdJ("click",function(){return Yt.onClose()}),E._uU(10,"X"),E.qZA()(),E.TgZ(11,"mat-card-content",9)(12,"div",10)(13,"div",11),E._UZ(14,"qr-code",2),E.qZA(),E.YNc(15,be,4,2,"div",12),E.TgZ(16,"div",13)(17,"div",14)(18,"h4",15),E._uU(19),E.qZA(),E.TgZ(20,"span",16),E._uU(21),E.qZA()()(),E._UZ(22,"mat-divider",17),E.TgZ(23,"div",18)(24,"button",19),E.NdJ("copied",function(Qi){return Yt.onCopyPubkey(Qi)}),E._uU(25),E.qZA()()()()()()),2&si&&(E.xp6(1),E.Q6J("ngClass",E.VKq(15,Pt,Yt.screenSize===Yt.screenSizeEnum.XS||Yt.screenSize===Yt.screenSizeEnum.SM)),E.xp6(1),E.s9C("value",0===Yt.selInfoType.infoID?Yt.information.identity_pubkey:Yt.information.uris[Yt.selInfoType.infoID-1]),E.Q6J("size",Yt.qrWidth)("errorCorrectionLevel","L"),E.xp6(4),E.Q6J("icon",Yt.faReceipt),E.xp6(2),E.Oqu(Yt.selInfoType.infoName),E.xp6(5),E.Q6J("ngClass",E.VKq(17,Pt,Yt.screenSize!==Yt.screenSizeEnum.XS&&Yt.screenSize!==Yt.screenSizeEnum.SM)),E.xp6(1),E.s9C("value",0===Yt.selInfoType.infoID?Yt.information.identity_pubkey:Yt.information.uris[Yt.selInfoType.infoID-1]),E.Q6J("size",Yt.qrWidth)("errorCorrectionLevel","L"),E.xp6(1),E.Q6J("ngIf",Yt.information.uris&&Yt.information.uris.length>0),E.xp6(4),E.Oqu(Yt.selInfoType.infoName),E.xp6(2),E.Oqu(0===Yt.selInfoType.infoID?Yt.information.identity_pubkey:Yt.information.uris[Yt.selInfoType.infoID-1]),E.xp6(3),E.s9C("payload",0===Yt.selInfoType.infoID?Yt.information.identity_pubkey:Yt.information.uris[Yt.selInfoType.infoID-1]),E.xp6(1),E.hij("Copy ",Yt.selInfoType.infoKey,""))},dependencies:[re.mk,re.sg,re.O5,xt.BN,U.xw,U.Wh,U.yH,ee.oO,ce.lW,se.dn,se.dk,et.KE,L.d,Fi.gD,Je.ey,i.uU,d.y,c.h]});var gi=m(6523),Si=m(429),ki=m(2994),Gi=m(8377),Gt=m(529),di=m(7998),ge=m(5986),Xe=m(8104),Et=m(9116);class jt{constructor(si,Yt,Bi,Qi,yn,or,_n,Yr,mr,jr,Qr){this.actions=si,this.httpClient=Yt,this.store=Bi,this.logger=Qi,this.wsService=yn,this.sessionService=or,this.commonService=_n,this.dataService=Yr,this.dialog=mr,this.snackBar=jr,this.router=Qr,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new e.x,new e.x],this.closeAllDialogs=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.CLOSE_ALL_DIALOGS),(0,C.U)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.OPEN_SNACK_BAR),(0,C.U)(At=>{"string"==typeof At.payload?this.snackBar.open(At.payload):this.snackBar.open(At.payload.message,"","ERROR"===At.payload.type?{duration:At.payload.duration?At.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===At.payload.type?{duration:At.payload.duration?At.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:At.payload.duration?At.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.OPEN_SPINNER),(0,C.U)(At=>{At.payload!==w.m6.NO_SPINNER&&(this.dialogRef=this.dialog.open(Q,{panelClass:"spinner-dialog-panel",data:{titleMessage:At.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.CLOSE_SPINNER),(0,C.U)(At=>{if(At.payload!==w.m6.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===At.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(ci=>{ci.componentInstance&&ci.componentInstance.data&&ci.componentInstance.data.titleMessage&&ci.componentInstance.data.titleMessage===At.payload&&ci.close()})}catch(ci){this.logger.error(ci)}})),{dispatch:!1}),this.openAlert=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.OPEN_ALERT),(0,C.U)(At=>{const ci=JSON.parse(JSON.stringify(At.payload));ci.width||(ci.width=this.alertWidth),this.dialogRef=this.dialog.open(At.payload.data.component?At.payload.data.component:gt,ci)})),{dispatch:!1}),this.closeAlert=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.CLOSE_ALERT),(0,C.U)(At=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(At.payload),At.payload))),{dispatch:!1}),this.openConfirm=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.OPEN_CONFIRMATION),(0,C.U)(At=>{const ci=JSON.parse(JSON.stringify(At.payload));ci.width||(ci.width=this.confirmWidth),this.dialogRef=this.dialog.open(Ti,ci)})),{dispatch:!1}),this.closeConfirm=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.CLOSE_CONFIRMATION),(0,h.q)(1),(0,C.U)(At=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(At.payload),At.payload))),{dispatch:!1}),this.showNodePubkey=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.SHOW_PUBKEY),(0,P.M)(this.store.select(Gi.R4)),(0,u.z)(([At,ci])=>(this.sessionService.getItem("token")&&ci.identity_pubkey?this.store.dispatch((0,St.qR)({payload:{data:{information:ci,component:qt}}})):this.snackBar.open("Node Pubkey does not exist."),(0,g.of)({type:w.pg.VOID}))))),this.appConfigFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.FETCH_RTL_CONFIG),(0,u.z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===w.cu.XS||this.screenSize===w.cu.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===w.cu.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="45%",this.confirmWidth="50%"),this.store.dispatch((0,St.ac)({payload:w.m6.GET_RTL_CONFIG})),this.store.dispatch((0,St.qi)({payload:{action:"FetchRTLConfig",status:w.Bn.INITIATED}})),this.sessionService.getItem("token")?this.httpClient.get(A.NZ.CONF_API+"/rtlconf"):this.httpClient.get(A.NZ.CONF_API+"/rtlconfinit"))),(0,C.U)(At=>{this.logger.info(At),this.store.dispatch((0,St.uO)({payload:w.m6.GET_RTL_CONFIG})),this.store.dispatch((0,St.qi)({payload:{action:"FetchRTLConfig",status:w.Bn.COMPLETED}}));let ci=null;return At.nodes.forEach(li=>{li.settings.currencyUnits=[...w.uA,li.settings?.currencyUnit?li.settings?.currencyUnit:""],+(li.index||-1)===At.selectedNodeIndex&&(ci=li)}),ci?(this.store.dispatch((0,St.fk)({payload:{uiMessage:w.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:ci,isInitialSetup:!0}})),{type:w.pg.SET_RTL_CONFIG,payload:At}):{type:w.pg.VOID}}),(0,I.K)(At=>(this.handleErrorWithAlert("FetchRTLConfig",w.m6.GET_RTL_CONFIG,"Fetch RTL Config Failed!",A.NZ.CONF_API,At),(0,g.of)({type:w.pg.VOID}))))),this.settingSave=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.SAVE_SETTINGS),(0,u.z)(At=>{this.store.dispatch((0,St.ac)({payload:At.payload.uiMessage})),this.store.dispatch((0,St.qi)({payload:{action:"UpdateSettings",status:w.Bn.INITIATED}}));let ci=new k.y;if(At.payload.settings&&At.payload.defaultNodeIndex){const li=this.httpClient.post(A.NZ.CONF_API,{updatedSettings:At.payload.settings}),Mi=this.httpClient.post(A.NZ.CONF_API+"/updateDefaultNode",{defaultNodeIndex:At.payload.defaultNodeIndex});ci=(0,o.D)([li,Mi])}else At.payload.settings&&!At.payload.defaultNodeIndex?ci=this.httpClient.post(A.NZ.CONF_API,{updatedSettings:At.payload.settings}):!At.payload.settings&&At.payload.defaultNodeIndex&&(ci=this.httpClient.post(A.NZ.CONF_API+"/updateDefaultNode",{defaultNodeIndex:At.payload.defaultNodeIndex}));return ci.pipe((0,C.U)(li=>(this.logger.info(li),this.store.dispatch((0,St.qi)({payload:{action:"UpdateSettings",status:w.Bn.COMPLETED}})),this.store.dispatch((0,St.uO)({payload:At.payload.uiMessage})),{type:w.pg.OPEN_SNACK_BAR,payload:li.length?li[0].message+".":li.message+"."})),(0,I.K)(li=>(this.handleErrorWithAlert("UpdateSettings",At.payload.uiMessage,"Update Settings Failed!",A.NZ.CONF_API,li.length?li[0]:li),(0,g.of)({type:w.pg.VOID}))))}))),this.updateServicesettings=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.UPDATE_SERVICE_SETTINGS),(0,u.z)(At=>(this.store.dispatch((0,St.ac)({payload:At.payload.uiMessage})),this.store.dispatch((0,St.qi)({payload:{action:"UpdateServiceSettings",status:w.Bn.INITIATED}})),this.httpClient.post(A.NZ.CONF_API+"/updateServiceSettings",At.payload).pipe((0,C.U)(ci=>(this.logger.info(ci),this.store.dispatch((0,St.qi)({payload:{action:"UpdateServiceSettings",status:w.Bn.COMPLETED}})),this.store.dispatch((0,St.uO)({payload:At.payload.uiMessage})),this.store.dispatch((0,St.Tm)({payload:At.payload})),{type:w.pg.OPEN_SNACK_BAR,payload:ci.message+"."})),(0,I.K)(ci=>(this.handleErrorWithAlert("UpdateServiceSettings",At.payload.uiMessage,"Update Service Settings Failed!",A.NZ.CONF_API,ci),(0,g.of)({type:w.pg.VOID})))))))),this.twoFASettingSave=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.TWO_FA_SAVE_SETTINGS),(0,u.z)(At=>(this.store.dispatch((0,St.ac)({payload:w.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,St.qi)({payload:{action:"Update2FASettings",status:w.Bn.INITIATED}})),this.httpClient.post(A.NZ.CONF_API+"/update2FA",{secret2fa:At.payload.secret2fa}))),(0,P.M)(this.store.select(Gi.Yj)),(0,C.U)(([At,ci])=>{this.logger.info(At),ci.enable2FA=!ci.enable2FA,this.store.dispatch((0,St.qi)({payload:{action:"Update2FASettings",status:w.Bn.COMPLETED}})),this.store.dispatch((0,St.uO)({payload:w.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,St.XT)({payload:ci}))}),(0,I.K)(At=>(this.handleErrorWithAlert("Update2FASettings",w.m6.UPDATE_UI_SETTINGS,"Update 2FA Settings Failed!",A.NZ.CONF_API,At),(0,g.of)({type:w.pg.VOID})))),{dispatch:!1}),this.configFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.FETCH_CONFIG),(0,u.z)(At=>(this.store.dispatch((0,St.ac)({payload:w.m6.OPEN_CONFIG_FILE})),this.store.dispatch((0,St.qi)({payload:{action:"fetchConfig",status:w.Bn.INITIATED}})),this.httpClient.get(A.NZ.CONF_API+"/config/"+At.payload).pipe((0,C.U)(ci=>(this.store.dispatch((0,St.qi)({payload:{action:"fetchConfig",status:w.Bn.COMPLETED}})),this.store.dispatch((0,St.uO)({payload:w.m6.OPEN_CONFIG_FILE})),{type:w.pg.SHOW_CONFIG,payload:ci})),(0,I.K)(ci=>(this.handleErrorWithAlert("fetchConfig",w.m6.OPEN_CONFIG_FILE,"Fetch Config Failed!",A.NZ.CONF_API+"/config/"+At.payload,ci),(0,g.of)({type:w.pg.VOID})))))))),this.showLnConfig=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.SHOW_CONFIG),(0,C.U)(At=>At.payload)),{dispatch:!1}),this.isAuthorized=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.IS_AUTHORIZED),(0,u.z)(At=>(this.store.dispatch((0,St.qi)({payload:{action:"IsAuthorized",status:w.Bn.INITIATED}})),this.httpClient.post(A.NZ.AUTHENTICATE_API,{authenticateWith:At.payload&&""!==At.payload.trim()?w.OJ.PASSWORD:w.OJ.JWT,authenticationValue:At.payload&&""!==At.payload.trim()?At.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,C.U)(ci=>(this.logger.info(ci),this.store.dispatch((0,St.qi)({payload:{action:"IsAuthorized",status:w.Bn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:w.pg.IS_AUTHORIZED_RES,payload:ci})),(0,I.K)(ci=>(this.handleErrorWithAlert("IsAuthorized",w.m6.NO_SPINNER,"Authorization Failed",A.NZ.AUTHENTICATE_API,ci),(0,g.of)({type:w.pg.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.IS_AUTHORIZED_RES),(0,C.U)(At=>At.payload)),{dispatch:!1}),this.authLogin=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.LOGIN),(0,P.M)(this.store.select(Gi.Yj)),(0,u.z)(([At,ci])=>(this.store.dispatch((0,gi.Ll)({payload:null})),this.store.dispatch((0,Si.xH)({payload:null})),this.store.dispatch((0,ki.Fd)({payload:null})),this.store.dispatch((0,St.qi)({payload:{action:"Login",status:w.Bn.INITIATED}})),this.httpClient.post(A.NZ.AUTHENTICATE_API,{authenticateWith:At.payload.password?w.OJ.PASSWORD:w.OJ.JWT,authenticationValue:At.payload.password?At.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:At.payload.twoFAToken?At.payload.twoFAToken:""}).pipe((0,C.U)(li=>{this.logger.info(li),this.store.dispatch((0,St.qi)({payload:{action:"Login",status:w.Bn.COMPLETED}})),this.setLoggedInDetails(At.payload.defaultPassword,li)}),(0,I.K)(li=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",w.m6.NO_SPINNER,li),+ci.sso.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:li.error&&li.error.error?li.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"]),(0,g.of)({type:w.pg.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.VERIFY_TWO_FA),(0,u.z)(At=>(this.store.dispatch((0,St.ac)({payload:w.m6.VERIFY_TOKEN})),this.store.dispatch((0,St.qi)({payload:{action:"VerifyToken",status:w.Bn.INITIATED}})),this.httpClient.post(A.NZ.AUTHENTICATE_API+"/token",{authentication2FA:At.payload.token}).pipe((0,C.U)(ci=>{this.logger.info(ci),this.store.dispatch((0,St.uO)({payload:w.m6.VERIFY_TOKEN})),this.store.dispatch((0,St.qi)({payload:{action:"VerifyToken",status:w.Bn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,At.payload.authResponse)}),(0,I.K)(ci=>(this.handleErrorWithAlert("VerifyToken",w.m6.VERIFY_TOKEN,"Authorization Failed!",A.NZ.AUTHENTICATE_API+"/token",ci),(0,g.of)({type:w.pg.VOID}))))))),{dispatch:!1}),this.logOut=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.LOGOUT),(0,u.z)(At=>(this.store.dispatch((0,St.ac)({payload:w.m6.LOG_OUT})),At.sso&&+At.sso.rtlSSO?window.location.href=At.sso.logoutRedirectLink:this.router.navigate(["./login"]),this.sessionService.clearAll(),this.store.dispatch((0,St._V)({payload:{}})),this.store.dispatch((0,St.uO)({payload:w.m6.LOG_OUT})),this.logger.info("Logged out from browser"),this.httpClient.get(A.NZ.AUTHENTICATE_API+"/logout").pipe((0,C.U)(ci=>{this.logger.info(ci),this.store.dispatch((0,St.uO)({payload:w.m6.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,t.GW)(()=>this.actions.pipe((0,S.R)(this.unSubs[1]),(0,t.l4)(w.pg.RESET_PASSWORD),(0,u.z)(At=>(this.store.dispatch((0,St.qi)({payload:{action:"ResetPassword",status:w.Bn.INITIATED}})),this.httpClient.post(A.NZ.AUTHENTICATE_API+"/reset",{currPassword:At.payload.currPassword,newPassword:At.payload.newPassword}).pipe((0,S.R)(this.unSubs[0]),(0,C.U)(ci=>(this.logger.info(ci),this.store.dispatch((0,St.qi)({payload:{action:"ResetPassword",status:w.Bn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,St.jW)({payload:"Password Reset Successful!"})),this.SetToken(ci.token),{type:w.pg.RESET_PASSWORD_RES,payload:ci.token})),(0,I.K)(ci=>(this.handleErrorWithAlert("ResetPassword",w.m6.NO_SPINNER,"Password Reset Failed!",A.NZ.AUTHENTICATE_API+"/reset",ci),(0,g.of)({type:w.pg.VOID})))))))),this.setSelectedNode=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.SET_SELECTED_NODE),(0,u.z)(At=>(this.store.dispatch((0,St.ac)({payload:At.payload.uiMessage})),this.store.dispatch((0,St.qi)({payload:{action:"UpdateSelNode",status:w.Bn.INITIATED}})),this.httpClient.get(A.NZ.CONF_API+"/updateSelNode/"+At.payload.currentLnNode?.index+"/"+At.payload.prevLnNodeIndex).pipe((0,C.U)(ci=>(this.logger.info(ci),this.store.dispatch((0,St.qi)({payload:{action:"UpdateSelNode",status:w.Bn.COMPLETED}})),this.store.dispatch((0,St.uO)({payload:At.payload.uiMessage})),this.initializeNode(At.payload.currentLnNode,At.payload.isInitialSetup),{type:w.pg.VOID})),(0,I.K)(ci=>(this.handleErrorWithAlert("UpdateSelNode",At.payload.uiMessage,"Update Selected Node Failed!",A.NZ.CONF_API+"/updateSelNode",ci),(0,g.of)({type:w.pg.VOID})))))))),this.fetchFile=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.FETCH_FILE),(0,u.z)(At=>{this.store.dispatch((0,St.ac)({payload:w.m6.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,St.qi)({payload:{action:"FetchFile",status:w.Bn.INITIATED}}));const ci="?channel="+At.payload.channelPoint+(At.payload.path?"&path="+At.payload.path:"");return this.httpClient.get(A.NZ.CONF_API+"/file"+ci).pipe((0,C.U)(li=>(this.store.dispatch((0,St.qi)({payload:{action:"FetchFile",status:w.Bn.COMPLETED}})),this.store.dispatch((0,St.uO)({payload:w.m6.DOWNLOAD_BACKUP_FILE})),{type:w.pg.SHOW_FILE,payload:li})),(0,I.K)(li=>(this.handleErrorWithAlert("fetchFile",w.m6.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",A.NZ.CONF_API+"/file"+ci,{status:this.commonService.extractErrorNumber(li),error:{error:this.commonService.extractErrorCode(li)}}),(0,g.of)({type:w.pg.VOID}))))}))),this.showFile=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.SHOW_FILE),(0,C.U)(At=>At.payload)),{dispatch:!1})}initializeNode(si,Yt){this.logger.info("Initializing node from RTL Effects.");const Bi=Yt?"":"HOME",Qi={userPersona:si.settings.userPersona,channelBackupPath:si.settings.channelBackupPath,unannouncedChannels:!!si.settings.unannouncedChannels,selCurrencyUnit:si.settings.currencyUnit,currencyUnits:w.uA,fiatConversion:si.settings.fiatConversion,lnImplementation:si.lnImplementation,swapServerUrl:si.settings.swapServerUrl,boltzServerUrl:si.settings.boltzServerUrl,enableOffers:si.settings.enableOffers,enablePeerswap:si.settings.enablePeerswap};if(si.settings.fiatConversion&&si.settings.currencyUnit&&(Qi.currencyUnits=[...w.uA,si.settings.currencyUnit]),this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clUnlocked"),this.sessionService.removeItem("eclUnlocked"),this.store.dispatch((0,St.vI)({payload:si})),this.store.dispatch((0,gi.Ll)({payload:Qi})),this.store.dispatch((0,Si.xH)({payload:Qi})),this.store.dispatch((0,ki.Fd)({payload:Qi})),this.sessionService.getItem("token")){const yn=si.lnImplementation?si.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(yn);const or=A.NZ.production&&window.location.origin?window.location.origin+"/rtl/api":A.T5;switch(this.wsService.connectWebSocket(or?.replace(/^http/,"ws")+A.NZ.Web_SOCKET_API,si.index?si.index.toString():"-1"),yn){case"CLN":this.store.dispatch((0,Si.CN)({payload:{loadPage:Bi}}));break;case"ECL":this.store.dispatch((0,ki.iz)({payload:{loadPage:Bi}}));break;default:this.store.dispatch((0,gi.sQ)({payload:{loadPage:Bi}}))}}}SetToken(si){si?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",si)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(si,Yt){this.logger.info("Successfully Authorized!"),this.SetToken(Yt.token),this.sessionService.setItem("defaultPassword",si),si?(this.store.dispatch((0,St.jW)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,St.ey)())}handleErrorWithoutAlert(si,Yt,Bi){this.logger.error("ERROR IN: "+si+"\n"+JSON.stringify(Bi)),401===Bi.status&&"Login"!==si?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,St.ts)()),this.store.dispatch((0,St.kS)()),this.store.dispatch((0,St.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,St.uO)({payload:Yt})),this.store.dispatch((0,St.qi)({payload:{action:si,status:w.Bn.ERROR,statusCode:Bi.status?Bi.status.toString():"",message:this.commonService.extractErrorMessage(Bi)}})))}handleErrorWithAlert(si,Yt,Bi,Qi,yn){if(this.logger.error(yn),0===yn.status&&yn.statusText&&"Unknown Error"===yn.statusText&&(yn={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===yn.status&&"Login"!==si)this.logger.info("Redirecting to Login"),this.store.dispatch((0,St.ts)()),this.store.dispatch((0,St.kS)()),this.store.dispatch((0,St.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,St.uO)({payload:Yt}));const or=this.commonService.extractErrorMessage(yn);this.store.dispatch((0,St.qR)({payload:{data:{type:"ERROR",alertTitle:Bi,message:{code:yn.status?yn.status:"Unknown Error",message:or,URL:Qi},component:xi.H}}})),this.store.dispatch((0,St.qi)({payload:{action:si,status:w.Bn.ERROR,statusCode:yn.status?yn.status.toString():"",message:or,URL:Qi}}))}}ngOnDestroy(){this.unSubs.forEach(si=>{si.next(null),si.complete()})}}jt.\u0275fac=function(si){return new(si||jt)(E.LFG(t.eX),E.LFG(Gt.eN),E.LFG(Ie.yh),E.LFG(X.mQ),E.LFG(di.d),E.LFG(ge.m),E.LFG(fe.v),E.LFG(Xe.D),E.LFG(R.uw),E.LFG($.ux),E.LFG(Et.F0))},jt.\u0275prov=E.Yz7({token:jt,factory:jt.\u0275fac})},8377:(ze,K,m)=>{"use strict";m.d(K,{R4:()=>C,Sr:()=>P,Yj:()=>o,dT:()=>k,gW:()=>u,ul:()=>h});var t=m(9653);const e=(0,t.ZF)("root"),k=((0,t.P1)(e,I=>I.apiURL),(0,t.P1)(e,I=>I.selNode)),o=(0,t.P1)(e,I=>I.appConfig),C=(0,t.P1)(e,I=>I.nodeData),h=(0,t.P1)(e,I=>I.apisCallStatus.Login),P=(0,t.P1)(e,I=>I.apisCallStatus.IsAuthorized),u=(0,t.P1)(e,I=>({nodeDate:I.nodeData,selNode:I.selNode}))},2340:(ze,K,m)=>{"use strict";m.d(K,{NZ:()=>e,T5:()=>t,q4:()=>g});const t="http://localhost:3000/rtl/api",e={production:!1,isDebugMode:!0,AUTHENTICATE_API:t+"/authenticate",CONF_API:t+"/conf",PAGE_SETTINGS_API:t+"/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"},g="0.13.3-beta"},5415:(ze,K,m)=>{"use strict";var t=m(1481),e=m(4650),g=m(7340);function o(F){return new e.vHH(3e3,!1)}function Ve(){return typeof window<"u"&&typeof window.document<"u"}function Ke(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function $e(F){switch(F.length){case 0:return new g.ZN;case 1:return F[0];default:return new g.ZE(F)}}function Ae(F,M,_,Z,pe=new Map,pt=new Map){const Zt=[],ei=[];let pi=-1,Ii=null;if(Z.forEach(en=>{const Wi=en.get("offset"),Pn=Wi==pi,Nn=Pn&&Ii||new Map;en.forEach((hn,Ln)=>{let Jn=Ln,ur=hn;if("offset"!==Ln)switch(Jn=M.normalizePropertyName(Jn,Zt),ur){case g.k1:ur=pe.get(Ln);break;case g.l3:ur=pt.get(Ln);break;default:ur=M.normalizeStyleValue(Ln,Jn,ur,Zt)}Nn.set(Jn,ur)}),Pn||ei.push(Nn),Ii=Nn,pi=Wi}),Zt.length)throw function r(F){return new e.vHH(3502,!1)}();return ei}function ue(F,M,_,Z){switch(M){case"start":F.onStart(()=>Z(_&&ye(_,"start",F)));break;case"done":F.onDone(()=>Z(_&&ye(_,"done",F)));break;case"destroy":F.onDestroy(()=>Z(_&&ye(_,"destroy",F)))}}function ye(F,M,_){const pt=we(F.element,F.triggerName,F.fromState,F.toState,M||F.phaseName,_.totalTime??F.totalTime,!!_.disabled),Zt=F._data;return null!=Zt&&(pt._data=Zt),pt}function we(F,M,_,Z,pe="",pt=0,Zt){return{element:F,triggerName:M,fromState:_,toState:Z,phaseName:pe,totalTime:pt,disabled:!!Zt}}function he(F,M,_){let Z=F.get(M);return Z||F.set(M,Z=_),Z}function it(F){const M=F.indexOf(":");return[F.substring(1,M),F.slice(M+1)]}let De=(F,M)=>!1,oe=(F,M,_)=>[],me=null;function te(F){const M=F.parentNode||F.host;return M===me?null:M}(Ke()||typeof Element<"u")&&(Ve()?(me=(()=>document.documentElement)(),De=(F,M)=>{for(;M;){if(M===F)return!0;M=te(M)}return!1}):De=(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=De,Ct=oe;let Xt=(()=>{class F{validateStyleProperty(_){return function Ee(F){q||(q=function ie(){return typeof document<"u"?document.body:null}()||{},de=!!q.style&&"WebkitAppearance"in q.style);let M=!0;return q.style&&!function Ue(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 Ct(_,Z,pe)}computeStyle(_,Z,pe){return pe||""}animate(_,Z,pe,pt,Zt,ei=[],pi){return new g.ZN(pe,pt)}}return F.\u0275fac=function(_){return new(_||F)},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac}),F})(),gt=(()=>{class F{}return F.NOOP=new Xt,F})();const He="ng-enter",xt="ng-leave",Pe="ng-trigger",et=".ng-trigger",Vt="ng-animating",Lt=".ng-animating";function Ft(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 Ce(F,M,_){return F.hasOwnProperty("duration")?F:function J(F,M,_){let pe,pt=0,Zt="";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 pi=ei[3];null!=pi&&(pt=bt(parseFloat(pi),ei[4]));const Ii=ei[5];Ii&&(Zt=Ii)}else pe=F;if(!_){let ei=!1,pi=M.length;pe<0&&(M.push(function C(){return new e.vHH(3100,!1)}()),ei=!0),pt<0&&(M.push(function h(){return new e.vHH(3101,!1)}()),ei=!0),ei&&M.splice(pi,0,o())}return{duration:pe,delay:pt,easing:Zt}}(F,M,_)}function ve(F,M={}){return Object.keys(F).forEach(_=>{M[_]=F[_]}),M}function Ne(F){const M=new Map;return Object.keys(F).forEach(_=>{M.set(_,F[_])}),M}function Ut(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 at(F,M,_){F.style&&(M.forEach((Z,pe)=>{const pt=qe(pe);_&&!_.has(pe)&&_.set(pe,F.style[pt]),F.style[pt]=Z}),Ke()&&dt(F))}function _t(F,M){F.style&&(M.forEach((_,Z)=>{const pe=qe(Z);F.style[pe]=""}),Ke()&&dt(F))}function ai(F){return Array.isArray(F)?1==F.length?F[0]:(0,g.vP)(F):F}const zt=new RegExp("{{\\s*(.+?)\\s*}}","g");function Nt(F){let M=[];if("string"==typeof F){let _;for(;_=zt.exec(F);)M.push(_[1]);zt.lastIndex=0}return M}function je(F,M,_){const Z=F.toString(),pe=Z.replace(zt,(pt,Zt)=>{let ei=M[Zt];return null==ei&&(_.push(function u(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 Ye=/-+([a-z0-9])/g;function qe(F){return F.replace(Ye,(...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 I(F){return new e.vHH(3004,!1)}()}}function Fi(F,M){return window.getComputedStyle(F)[M]}function Gi(F,M){const _=[];return"string"==typeof F?F.split(/\s*,\s*/).forEach(Z=>function Gt(F,M,_){if(":"==F[0]){const pi=function di(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 se(F){return new e.vHH(3016,!1)}()),"* => *"}}(F,_);if("function"==typeof pi)return void M.push(pi);F=pi}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],pt=Z[2],Zt=Z[3];M.push(Et(pe,Zt));"<"==pt[0]&&!("*"==pe&&"*"==Zt)&&M.push(Et(Zt,pe))}(Z,_,M)):_.push(F),_}const ge=new Set(["true","1"]),Xe=new Set(["false","0"]);function Et(F,M){const _=ge.has(F)||Xe.has(F),Z=ge.has(M)||Xe.has(M);return(pe,pt)=>{let Zt="*"==F||F==pe,ei="*"==M||M==pt;return!Zt&&_&&"boolean"==typeof pe&&(Zt=pe?ge.has(F):Xe.has(F)),!ei&&Z&&"boolean"==typeof pt&&(ei=pt?ge.has(M):Xe.has(M)),Zt&&ei}}const Wt=new RegExp("s*:selfs*,?","g");function si(F,M,_,Z){return new Bi(F).build(M,_,Z)}class Bi{constructor(M){this._driver=M}build(M,_,Z){const pe=new or(_);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 pt=[],Zt=[];return"@"==M.name.charAt(0)&&_.errors.push(function A(){return new e.vHH(3006,!1)}()),M.definitions.forEach(ei=>{if(this._resetContextStyleTimingState(_),0==ei.type){const pi=ei,Ii=pi.name;Ii.toString().split(/\s*,\s*/).forEach(en=>{pi.name=en,pt.push(this.visitState(pi,_))}),pi.name=Ii}else if(1==ei.type){const pi=this.visitTransition(ei,_);Z+=pi.queryCount,pe+=pi.depCount,Zt.push(pi)}else _.errors.push(function w(){return new e.vHH(3007,!1)}())}),{type:7,name:M.name,states:pt,transitions:Zt,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 pt=new Set,Zt=pe||{};Z.styles.forEach(ei=>{ei instanceof Map&&ei.forEach(pi=>{Nt(pi).forEach(Ii=>{Zt.hasOwnProperty(Ii)||pt.add(Ii)})})}),pt.size&&(Fe(pt.values()),_.errors.push(function R(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:Gi(M.expr,_.errors),animation:Z,queryCount:_.queryCount,depCount:_.depCount,options:mr(M.options)}}visitSequence(M,_){return{type:2,steps:M.steps.map(Z=>xi(this,Z,_)),options:mr(M.options)}}visitGroup(M,_){const Z=_.currentTime;let pe=0;const pt=M.steps.map(Zt=>{_.currentTime=Z;const ei=xi(this,Zt,_);return pe=Math.max(pe,_.currentTime),ei});return _.currentTime=pe,{type:3,steps:pt,options:mr(M.options)}}visitAnimate(M,_){const Z=function Yr(F,M){if(F.hasOwnProperty("duration"))return F;if("number"==typeof F)return jr(Ce(F,M).duration,0,"");const _=F;if(_.split(/\s+/).some(pt=>"{"==pt.charAt(0)&&"{"==pt.charAt(1))){const pt=jr(0,0,"");return pt.dynamic=!0,pt.strValue=_,pt}const pe=Ce(_,M);return jr(pe.duration,pe.delay,pe.easing)}(M.timings,_.errors);_.currentAnimateTimings=Z;let pe,pt=M.styles?M.styles:(0,g.oB)({});if(5==pt.type)pe=this.visitKeyframes(pt,_);else{let Zt=M.styles,ei=!1;if(!Zt){ei=!0;const Ii={};Z.easing&&(Ii.easing=Z.easing),Zt=(0,g.oB)(Ii)}_.currentTime+=Z.duration+Z.delay;const pi=this.visitStyle(Zt,_);pi.isEmptyStep=ei,pe=pi}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===g.l3?Z.push(ei):_.errors.push(new e.vHH(3002,!1)):Z.push(Ne(ei));let pt=!1,Zt=null;return Z.forEach(ei=>{if(ei instanceof Map&&(ei.has("easing")&&(Zt=ei.get("easing"),ei.delete("easing")),!pt))for(let pi of ei.values())if(pi.toString().indexOf("{{")>=0){pt=!0;break}}),{type:6,styles:Z,easing:Zt,offset:M.offset,containsDynamicStyles:pt,options:null}}_validateStyleAst(M,_){const Z=_.currentAnimateTimings;let pe=_.currentTime,pt=_.currentTime;Z&&pt>0&&(pt-=Z.duration+Z.delay),M.styles.forEach(Zt=>{"string"!=typeof Zt&&Zt.forEach((ei,pi)=>{const Ii=_.collectedStyles.get(_.currentQuerySelector),en=Ii.get(pi);let Wi=!0;en&&(pt!=pe&&pt>=en.startTime&&pe<=en.endTime&&(_.errors.push(function Y(F,M,_,Z,pe){return new e.vHH(3010,!1)}()),Wi=!1),pt=en.startTime),Wi&&Ii.set(pi,{startTime:pt,endTime:pe}),_.options&&function Bt(F,M,_){const Z=M.params||{},pe=Nt(F);pe.length&&pe.forEach(pt=>{Z.hasOwnProperty(pt)||_.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 Q(){return new e.vHH(3011,!1)}()),Z;let pt=0;const Zt=[];let ei=!1,pi=!1,Ii=0;const en=M.steps.map(ur=>{const Va=this._makeStyleAst(ur,_);let qa=null!=Va.offset?Va.offset:function _n(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}(Va.styles),Ba=0;return null!=qa&&(pt++,Ba=Va.offset=qa),pi=pi||Ba<0||Ba>1,ei=ei||Ba<Ii,Ii=Ba,Zt.push(Ba),Va});pi&&_.errors.push(function X(){return new e.vHH(3012,!1)}()),ei&&_.errors.push(function $(){return new e.vHH(3200,!1)}());const Wi=M.steps.length;let Pn=0;pt>0&&pt<Wi?_.errors.push(function fe(){return new e.vHH(3202,!1)}()):0==pt&&(Pn=1/(Wi-1));const Nn=Wi-1,hn=_.currentTime,Ln=_.currentAnimateTimings,Jn=Ln.duration;return en.forEach((ur,Va)=>{const qa=Pn>0?Va==Nn?1:Pn*Va:Zt[Va],Ba=qa*Jn;_.currentTime=hn+Ln.delay+Ba,Ln.duration=Ba,this._validateStyleAst(ur,_),ur.offset=qa,Z.styles.push(ur)}),Z}visitReference(M,_){return{type:8,animation:xi(this,ai(M.animation),_),options:mr(M.options)}}visitAnimateChild(M,_){return _.depCount++,{type:9,options:mr(M.options)}}visitAnimateRef(M,_){return{type:10,animation:this.visitReference(M.animation,_),options:mr(M.options)}}visitQuery(M,_){const Z=_.currentQuerySelector,pe=M.options||{};_.queryCount++,_.currentQuery=M;const[pt,Zt]=function Qi(F){const M=!!F.split(/\s*,\s*/).find(_=>":self"==_);return M&&(F=F.replace(Wt,"")),F=F.replace(/@\*/g,et).replace(/@\w+/g,_=>et+"-"+_.slice(1)).replace(/:animating/g,Lt),[F,M]}(M.selector);_.currentQuerySelector=Z.length?Z+" "+pt:pt,he(_.collectedStyles,_.currentQuerySelector,new Map);const ei=xi(this,ai(M.animation),_);return _.currentQuery=null,_.currentQuerySelector=Z,{type:11,selector:pt,limit:pe.limit||0,optional:!!pe.optional,includeSelf:Zt,animation:ei,originalSelector:M.selector,options:mr(M.options)}}visitStagger(M,_){_.currentQuery||_.errors.push(function re(){return new e.vHH(3013,!1)}());const Z="full"===M.timings?{duration:0,delay:0,easing:"full"}:Ce(M.timings,_.errors,!0);return{type:12,animation:xi(this,ai(M.animation),_),timings:Z,options:null}}}class or{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 mr(F){return F?(F=ve(F)).params&&(F.params=function yn(F){return F?ve(F):null}(F.params)):F={},F}function jr(F,M,_){return{duration:F,delay:M,easing:_}}function Qr(F,M,_,Z,pe,pt,Zt=null,ei=!1){return{type:1,element:F,keyframes:M,preStyleProps:_,postStyleProps:Z,duration:pe,delay:pt,totalTime:pe+pt,easing:Zt,subTimeline:ei}}class At{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 Mi=new RegExp(":enter","g"),zi=new RegExp(":leave","g");function cn(F,M,_,Z,pe,pt=new Map,Zt=new Map,ei,pi,Ii=[]){return(new Xn).buildKeyframes(F,M,_,Z,pe,pt,Zt,ei,pi,Ii)}class Xn{buildKeyframes(M,_,Z,pe,pt,Zt,ei,pi,Ii,en=[]){Ii=Ii||new At;const Wi=new Kn(M,_,Ii,pe,pt,en,[]);Wi.options=pi;const Pn=pi.delay?Ft(pi.delay):0;Wi.currentTimeline.delayNextStep(Pn),Wi.currentTimeline.setStyles([Zt],null,Wi.errors,pi),xi(this,Z,Wi);const Nn=Wi.timelines.filter(hn=>hn.containsAnimation());if(Nn.length&&ei.size){let hn;for(let Ln=Nn.length-1;Ln>=0;Ln--){const Jn=Nn[Ln];if(Jn.element===_){hn=Jn;break}}hn&&!hn.allowOnlyTimelineStyles()&&hn.setStyles([ei],null,Wi.errors,pi)}return Nn.length?Nn.map(hn=>hn.buildKeyframes()):[Qr(_,[],[],[],0,Pn,"",!1)]}visitTrigger(M,_){}visitState(M,_){}visitTransition(M,_){}visitAnimateChild(M,_){const Z=_.subInstructions.get(_.element);if(Z){const pe=_.createSubContext(M.options),pt=_.currentTimeline.currentTime,Zt=this._visitSubInstructions(Z,pe,pe.options);pt!=Zt&&_.transformIntoNewTimeline(Zt)}_.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 pt=pe?.delay;if(pt){const Zt="number"==typeof pt?pt:Ft(je(pt,pe?.params??{},_.errors));Z.delayNextStep(Zt)}}}_visitSubInstructions(M,_,Z){let pt=_.currentTimeline.currentTime;const Zt=null!=Z.duration?Ft(Z.duration):null,ei=null!=Z.delay?Ft(Z.delay):null;return 0!==Zt&&M.forEach(pi=>{const Ii=_.appendInstructionToTimeline(pi,Zt,ei);pt=Math.max(pt,Ii.duration+Ii.delay)}),pt}visitReference(M,_){_.updateOptions(M.options,!0),xi(this,M.animation,_),_.previousNode=M}visitSequence(M,_){const Z=_.subContextCount;let pe=_;const pt=M.options;if(pt&&(pt.params||pt.delay)&&(pe=_.createSubContext(pt),pe.transformIntoNewTimeline(),null!=pt.delay)){6==pe.previousNode.type&&(pe.currentTimeline.snapshotCurrentStyles(),pe.previousNode=In);const Zt=Ft(pt.delay);pe.delayNextStep(Zt)}M.steps.length&&(M.steps.forEach(Zt=>xi(this,Zt,pe)),pe.currentTimeline.applyStylesToKeyframe(),pe.subContextCount>Z&&pe.transformIntoNewTimeline()),_.previousNode=M}visitGroup(M,_){const Z=[];let pe=_.currentTimeline.currentTime;const pt=M.options&&M.options.delay?Ft(M.options.delay):0;M.steps.forEach(Zt=>{const ei=_.createSubContext(M.options);pt&&ei.delayNextStep(pt),xi(this,Zt,ei),pe=Math.max(pe,ei.currentTimeline.currentTime),Z.push(ei.currentTimeline)}),Z.forEach(Zt=>_.currentTimeline.mergeTimelineCollectedStyles(Zt)),_.transformIntoNewTimeline(pe),_.previousNode=M}_visitTiming(M,_){if(M.dynamic){const Z=M.strValue;return Ce(_.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 pt=M.style;5==pt.type?this.visitKeyframes(pt,_):(_.incrementTime(Z.duration),this.visitStyle(pt,_),pe.applyStylesToKeyframe()),_.currentAnimateTimings=null,_.previousNode=M}visitStyle(M,_){const Z=_.currentTimeline,pe=_.currentAnimateTimings;!pe&&Z.hasCurrentStyleProperties()&&Z.forwardFrame();const pt=pe&&pe.easing||M.easing;M.isEmptyStep?Z.applyEmptyStep(pt):Z.setStyles(M.styles,pt,_.errors,_.options),_.previousNode=M}visitKeyframes(M,_){const Z=_.currentAnimateTimings,pe=_.currentTimeline.duration,pt=Z.duration,ei=_.createSubContext().currentTimeline;ei.easing=Z.easing,M.styles.forEach(pi=>{ei.forwardTime((pi.offset||0)*pt),ei.setStyles(pi.styles,pi.easing,_.errors,_.options),ei.applyStylesToKeyframe()}),_.currentTimeline.mergeTimelineCollectedStyles(ei),_.transformIntoNewTimeline(pe+pt),_.previousNode=M}visitQuery(M,_){const Z=_.currentTimeline.currentTime,pe=M.options||{},pt=pe.delay?Ft(pe.delay):0;pt&&(6===_.previousNode.type||0==Z&&_.currentTimeline.hasCurrentStyleProperties())&&(_.currentTimeline.snapshotCurrentStyles(),_.previousNode=In);let Zt=Z;const ei=_.invokeQuery(M.selector,M.originalSelector,M.limit,M.includeSelf,!!pe.optional,_.errors);_.currentQueryTotal=ei.length;let pi=null;ei.forEach((Ii,en)=>{_.currentQueryIndex=en;const Wi=_.createSubContext(M.options,Ii);pt&&Wi.delayNextStep(pt),Ii===_.element&&(pi=Wi.currentTimeline),xi(this,M.animation,Wi),Wi.currentTimeline.applyStylesToKeyframe(),Zt=Math.max(Zt,Wi.currentTimeline.currentTime)}),_.currentQueryIndex=0,_.currentQueryTotal=0,_.transformIntoNewTimeline(Zt),pi&&(_.currentTimeline.mergeTimelineCollectedStyles(pi),_.currentTimeline.snapshotCurrentStyles()),_.previousNode=M}visitStagger(M,_){const Z=_.parentContext,pe=_.currentTimeline,pt=M.timings,Zt=Math.abs(pt.duration),ei=Zt*(_.currentQueryTotal-1);let pi=Zt*_.currentQueryIndex;switch(pt.duration<0?"reverse":pt.easing){case"reverse":pi=ei-pi;break;case"full":pi=Z.currentStaggerTime}const en=_.currentTimeline;pi&&en.delayNextStep(pi);const Wi=en.currentTime;xi(this,M.animation,_),_.previousNode=M,Z.currentStaggerTime=pe.currentTime-Wi+(pe.startTime-Z.currentTimeline.startTime)}}const In={};class Kn{constructor(M,_,Z,pe,pt,Zt,ei,pi){this._driver=M,this.element=_,this.subInstructions=Z,this._enterClassName=pe,this._leaveClassName=pt,this.errors=Zt,this.timelines=ei,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=In,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=pi||new Tn(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=Ft(Z.duration)),null!=Z.delay&&(pe.delay=Ft(Z.delay));const pt=Z.params;if(pt){let Zt=pe.params;Zt||(Zt=this.options.params={}),Object.keys(pt).forEach(ei=>{(!_||!Zt.hasOwnProperty(ei))&&(Zt[ei]=je(pt[ei],Zt,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,pt=new Kn(this._driver,pe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(pe,Z||0));return pt.previousNode=this.previousNode,pt.currentAnimateTimings=this.currentAnimateTimings,pt.options=this._copyOptions(),pt.updateOptions(M),pt.currentQueryIndex=this.currentQueryIndex,pt.currentQueryTotal=this.currentQueryTotal,pt.parentContext=this,this.subContextCount++,pt}transformIntoNewTimeline(M){return this.previousNode=In,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:""},pt=new cr(this._driver,M.element,M.keyframes,M.preStyleProps,M.postStyleProps,pe,M.stretchStartingKeyframe);return this.timelines.push(pt),pe}incrementTime(M){this.currentTimeline.forwardTime(this.currentTimeline.duration+M)}delayNextStep(M){M>0&&this.currentTimeline.delayNextStep(M)}invokeQuery(M,_,Z,pe,pt,Zt){let ei=[];if(pe&&ei.push(this.element),M.length>0){M=(M=M.replace(Mi,"."+this._enterClassName)).replace(zi,"."+this._leaveClassName);let Ii=this._driver.query(this.element,M,1!=Z);0!==Z&&(Ii=Z<0?Ii.slice(Ii.length+Z,Ii.length):Ii.slice(0,Z)),ei.push(...Ii)}return!pt&&0==ei.length&&Zt.push(function ee(F){return new e.vHH(3014,!1)}()),ei}}class Tn{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 Tn(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||g.l3),this._currentKeyframe.set(_,g.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(M,_,Z,pe){_&&this._previousKeyframe.set("easing",_);const pt=pe&&pe.params||{},Zt=function nr(F,M){const _=new Map;let Z;return F.forEach(pe=>{if("*"===pe){Z=Z||M.keys();for(let pt of Z)_.set(pt,g.l3)}else Ut(pe,_)}),_}(M,this._globalTimelineStyles);for(let[ei,pi]of Zt){const Ii=je(pi,pt,Z);this._pendingStyles.set(ei,Ii),this._localTimelineStyles.has(ei)||this._backFill.set(ei,this._globalTimelineStyles.get(ei)??g.l3),this._updateStyle(ei,Ii)}}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,pi)=>{const Ii=Ut(ei,new Map,this._backFill);Ii.forEach((en,Wi)=>{en===g.k1?M.add(Wi):en===g.l3&&_.add(Wi)}),Z||Ii.set("offset",pi/this.duration),pe.push(Ii)});const pt=M.size?Fe(M.values()):[],Zt=_.size?Fe(_.values()):[];if(Z){const ei=pe[0],pi=new Map(ei);ei.set("offset",0),pi.set("offset",1),pe=[ei,pi]}return Qr(this.element,pe,pt,Zt,this.duration,this.startTime,this.easing,!1)}}class cr extends Tn{constructor(M,_,Z,pe,pt,Zt,ei=!1){super(M,_,Zt.delay),this.keyframes=Z,this.preStyleProps=pe,this.postStyleProps=pt,this._stretchStartingKeyframe=ei,this.timings={duration:Zt.duration,delay:Zt.delay,easing:Zt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let M=this.keyframes,{delay:_,duration:Z,easing:pe}=this.timings;if(this._stretchStartingKeyframe&&_){const pt=[],Zt=Z+_,ei=_/Zt,pi=Ut(M[0]);pi.set("offset",0),pt.push(pi);const Ii=Ut(M[0]);Ii.set("offset",Hr(ei)),pt.push(Ii);const en=M.length-1;for(let Wi=1;Wi<=en;Wi++){let Pn=Ut(M[Wi]);const Nn=Pn.get("offset");Pn.set("offset",Hr((_+Nn*Z)/Zt)),pt.push(Pn)}Z=Zt,_=0,pe="",M=pt}return Qr(this.element,M,this.preStyleProps,this.postStyleProps,Z,_,pe,!0)}}function Hr(F,M=3){const _=Math.pow(10,M-1);return Math.round(F*_)/_}class rr{}const Ma=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 Sa extends rr{normalizePropertyName(M,_){return qe(M)}normalizeStyleValue(M,_,Z,pe){let pt="";const Zt=Z.toString().trim();if(Ma.has(_)&&0!==Z&&"0"!==Z)if("number"==typeof Z)pt="px";else{const ei=Z.match(/^[+-]?[\d\.]+([a-z]*)$/);ei&&0==ei[1].length&&pe.push(function S(F,M){return new e.vHH(3005,!1)}())}return Zt+pt}}function Kr(F,M,_,Z,pe,pt,Zt,ei,pi,Ii,en,Wi,Pn){return{type:0,element:F,triggerName:M,isRemovalTransition:pe,fromState:_,fromStyles:pt,toState:Z,toStyles:Zt,timelines:ei,queriedElements:pi,preStyleProps:Ii,postStyleProps:en,totalTime:Wi,errors:Pn}}const tr={};class Fr{constructor(M,_,Z){this._triggerName=M,this.ast=_,this._stateStyles=Z}match(M,_,Z,pe){return function Fs(F,M,_,Z,pe){return F.some(pt=>pt(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,pt,Zt,ei,pi,Ii,en){const Wi=[],Pn=this.ast.options&&this.ast.options.params||tr,hn=this.buildStyles(Z,ei&&ei.params||tr,Wi),Ln=pi&&pi.params||tr,Jn=this.buildStyles(pe,Ln,Wi),ur=new Set,Va=new Map,qa=new Map,Ba="void"===pe,Nc={params:na(Ln,Pn),delay:this.ast.options?.delay},_o=en?[]:cn(M,_,this.ast.animation,pt,Zt,hn,Jn,Nc,Ii,Wi);let Aa=0;if(_o.forEach(no=>{Aa=Math.max(no.duration+no.delay,Aa)}),Wi.length)return Kr(_,this._triggerName,Z,pe,Ba,hn,Jn,[],[],Va,qa,Aa,Wi);_o.forEach(no=>{const Go=no.element,Kh=he(Va,Go,new Set);no.preStyleProps.forEach(dc=>Kh.add(dc));const vo=he(qa,Go,new Set);no.postStyleProps.forEach(dc=>vo.add(dc)),Go!==_&&ur.add(Go)});const Rc=Fe(ur.values());return Kr(_,this._triggerName,Z,pe,Ba,hn,Jn,_o,Rc,Va,qa,Aa)}}function na(F,M){const _=ve(M);for(const Z in F)F.hasOwnProperty(Z)&&null!=F[Z]&&(_[Z]=F[Z]);return _}class hs{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(pt=>{const Zt=M[pt];null!==Zt&&(pe[pt]=Zt)}),this.styles.styles.forEach(pt=>{"string"!=typeof pt&&pt.forEach((Zt,ei)=>{Zt&&(Zt=je(Zt,pe,_));const pi=this.normalizer.normalizePropertyName(ei,_);Zt=this.normalizer.normalizeStyleValue(ei,pi,Zt,_),Z.set(pi,Zt)})}),Z}}class Tr{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 hs(pe.style,pe.options&&pe.options.params||{},Z))}),Ar(this.states,"true","1"),Ar(this.states,"false","0"),_.transitions.forEach(pe=>{this.transitionFactories.push(new Fr(M,pe,this.states))}),this.fallbackTransition=function qs(F,M,_){return new Fr(F,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Zt,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(Zt=>Zt.match(M,_,Z,pe))||null}matchStyles(M,_,Z){return this.fallbackTransition.buildStyles(M,_,Z)}}function Ar(F,M,_){F.has(M)?F.has(_)||F.set(_,F.get(M)):F.has(_)&&F.set(M,F.get(_))}const us=new At;class fs{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=[],pt=si(this._driver,_,Z,[]);if(Z.length)throw function d(F){return new e.vHH(3503,!1)}();this._animations.set(M,pt)}_buildPlayer(M,_,Z){const pe=M.element,pt=Ae(0,this._normalizer,0,M.keyframes,_,Z);return this._driver.animate(pe,pt,M.duration,M.delay,M.easing,[],!0)}create(M,_,Z={}){const pe=[],pt=this._animations.get(M);let Zt;const ei=new Map;if(pt?(Zt=cn(this._driver,_,pt,He,xt,new Map,new Map,Z,us,pe),Zt.forEach(en=>{const Wi=he(ei,en.element,new Map);en.postStyleProps.forEach(Pn=>Wi.set(Pn,null))})):(pe.push(function c(){return new e.vHH(3300,!1)}()),Zt=[]),pe.length)throw function b(F){return new e.vHH(3504,!1)}();ei.forEach((en,Wi)=>{en.forEach((Pn,Nn)=>{en.set(Nn,this._driver.computeStyle(Wi,Nn,g.l3))})});const Ii=$e(Zt.map(en=>{const Wi=ei.get(en.element);return this._buildPlayer(en,new Map,Wi)}));return this._playersById.set(M,Ii),Ii.onDestroy(()=>this.destroy(M)),this.players.push(Ii),Ii}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 T(F){return new e.vHH(3301,!1)}();return _}listen(M,_,Z,pe){const pt=we(_,"","","");return ue(this._getPlayer(M),Z,pt,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 pt=this._getPlayer(M);switch(Z){case"play":pt.play();break;case"pause":pt.pause();break;case"reset":pt.reset();break;case"restart":pt.restart();break;case"finish":pt.finish();break;case"init":pt.init();break;case"setPosition":pt.setPosition(parseFloat(pe[0]));break;case"destroy":this.destroy(M)}}}const Js="ng-animate-queued",ha="ng-animate-disabled",Wa=[],Da={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ps={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},dr="__ng_removed";class ra{constructor(M,_=""){this.namespaceId=_;const Z=M&&M.hasOwnProperty("value");if(this.value=function xr(F){return F??null}(Z?M.value:M),Z){const pt=ve(M);delete pt.value,this.options=pt}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 Ra="void",Ia=new ra(Ra);class Ea{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,ar(_,this._hostClassName)}listen(M,_,Z,pe){if(!this._triggers.has(_))throw function N(F,M){return new e.vHH(3302,!1)}();if(null==Z||0==Z.length)throw function v(F){return new e.vHH(3303,!1)}();if(!function Oa(F){return"start"==F||"done"==F}(Z))throw function n(F,M){return new e.vHH(3400,!1)}();const pt=he(this._elementListeners,M,[]),Zt={name:_,phase:Z,callback:pe};pt.push(Zt);const ei=he(this._engine.statesByElement,M,new Map);return ei.has(_)||(ar(M,Pe),ar(M,Pe+"-"+_),ei.set(_,Ia)),()=>{this._engine.afterFlush(()=>{const pi=pt.indexOf(Zt);pi>=0&&pt.splice(pi,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 y(F){return new e.vHH(3401,!1)}();return _}trigger(M,_,Z,pe=!0){const pt=this._getTrigger(_),Zt=new zr(this.id,_,M);let ei=this._engine.statesByElement.get(M);ei||(ar(M,Pe),ar(M,Pe+"-"+_),this._engine.statesByElement.set(M,ei=new Map));let pi=ei.get(_);const Ii=new ra(Z,this.id);if(!(Z&&Z.hasOwnProperty("value"))&&pi&&Ii.absorbOptions(pi.options),ei.set(_,Ii),pi||(pi=Ia),Ii.value!==Ra&&pi.value===Ii.value){if(!function ua(F,M){const _=Object.keys(F),Z=Object.keys(M);if(_.length!=Z.length)return!1;for(let pe=0;pe<_.length;pe++){const pt=_[pe];if(!M.hasOwnProperty(pt)||F[pt]!==M[pt])return!1}return!0}(pi.params,Ii.params)){const Ln=[],Jn=pt.matchStyles(pi.value,pi.params,Ln),ur=pt.matchStyles(Ii.value,Ii.params,Ln);Ln.length?this._engine.reportError(Ln):this._engine.afterFlush(()=>{_t(M,Jn),at(M,ur)})}return}const Pn=he(this._engine.playersByElement,M,[]);Pn.forEach(Ln=>{Ln.namespaceId==this.id&&Ln.triggerName==_&&Ln.queued&&Ln.destroy()});let Nn=pt.matchTransition(pi.value,Ii.value,M,Ii.params),hn=!1;if(!Nn){if(!pe)return;Nn=pt.fallbackTransition,hn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:_,transition:Nn,fromState:pi,toState:Ii,player:Zt,isFallbackTransition:hn}),hn||(ar(M,Js),Zt.onStart(()=>{Wn(M,Js)})),Zt.onDone(()=>{let Ln=this.players.indexOf(Zt);Ln>=0&&this.players.splice(Ln,1);const Jn=this._engine.playersByElement.get(M);if(Jn){let ur=Jn.indexOf(Zt);ur>=0&&Jn.splice(ur,1)}}),this.players.push(Zt),Pn.push(Zt),Zt}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,et,!0);Z.forEach(pe=>{if(pe[dr])return;const pt=this._engine.fetchNamespacesByElement(pe);pt.size?pt.forEach(Zt=>Zt.triggerLeaveAnimation(pe,_,!1,!0)):this.clearElementCache(pe)}),this._engine.afterFlushAnimationsDone(()=>Z.forEach(pe=>this.clearElementCache(pe)))}triggerLeaveAnimation(M,_,Z,pe){const pt=this._engine.statesByElement.get(M),Zt=new Map;if(pt){const ei=[];if(pt.forEach((pi,Ii)=>{if(Zt.set(Ii,pi.value),this._triggers.has(Ii)){const en=this.trigger(M,Ii,Ra,pe);en&&ei.push(en)}}),ei.length)return this._engine.markElementAsRemoved(this.id,M,!0,_,Zt),Z&&$e(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(pt=>{const Zt=pt.name;if(pe.has(Zt))return;pe.add(Zt);const pi=this._triggers.get(Zt).fallbackTransition,Ii=Z.get(Zt)||Ia,en=new ra(Ra),Wi=new zr(this.id,Zt,M);this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:Zt,transition:pi,fromState:Ii,toState:en,player:Wi,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 pt=Z.players.length?Z.playersByQueriedElement.get(M):[];if(pt&&pt.length)pe=!0;else{let Zt=M;for(;Zt=Zt.parentNode;)if(Z.statesByElement.get(Zt)){pe=!0;break}}}if(this.prepareLeaveAnimationListeners(M),pe)Z.markElementAsRemoved(this.id,M,!1,_);else{const pt=M[dr];(!pt||pt===Da)&&(Z.afterFlush(()=>this.clearElementCache(M)),Z.destroyInnerAnimations(M),Z._onRemovalComplete(M,_))}}insertNode(M,_){ar(M,this._hostClassName)}drainQueuedTransitions(M){const _=[];return this._queue.forEach(Z=>{const pe=Z.player;if(pe.destroyed)return;const pt=Z.element,Zt=this._elementListeners.get(pt);Zt&&Zt.forEach(ei=>{if(ei.name==Z.triggerName){const pi=we(pt,Z.triggerName,Z.fromState.value,Z.toState.value);pi._data=M,ue(Z.player,ei.phase,pi,ei.callback)}}),pe.markedForDestroy?this._engine.afterFlush(()=>{pe.destroy()}):_.push(Z)}),this._queue=[],_.sort((Z,pe)=>{const pt=Z.transition.ast.depCount,Zt=pe.transition.ast.depCount;return 0==pt||0==Zt?pt-Zt: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 ts{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,pt)=>{}}_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 Ea(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 Zt=!1,ei=this.driver.getParentElement(_);for(;ei;){const pi=pe.get(ei);if(pi){const Ii=Z.indexOf(pi);Z.splice(Ii+1,0,M),Zt=!0;break}ei=this.driver.getParentElement(ei)}Zt||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 pt=this._fetchNamespace(pe.namespaceId);pt&&_.add(pt)}return _}trigger(M,_,Z,pe){if(qr(_)){const pt=this._fetchNamespace(M);if(pt)return pt.trigger(_,Z,pe),!0}return!1}insertNode(M,_,Z,pe){if(!qr(_))return;const pt=_[dr];if(pt&&pt.setForRemoval){pt.setForRemoval=!1,pt.setForMove=!0;const Zt=this.collectedLeaveElements.indexOf(_);Zt>=0&&this.collectedLeaveElements.splice(Zt,1)}if(M){const Zt=this._fetchNamespace(M);Zt&&Zt.insertNode(_,Z)}pe&&this.collectEnterElement(_)}collectEnterElement(M){this.collectedEnterElements.push(M)}markElementAsDisabled(M,_){_?this.disabledNodes.has(M)||(this.disabledNodes.add(M),ar(M,ha)):this.disabledNodes.has(M)&&(this.disabledNodes.delete(M),Wn(M,ha))}removeNode(M,_,Z,pe){if(qr(_)){const pt=M?this._fetchNamespace(M):null;if(pt?pt.removeNode(_,pe):this.markElementAsRemoved(M,_,!1,pe),Z){const Zt=this.namespacesByHostElement.get(_);Zt&&Zt.id!==M&&Zt.removeNode(_,pe)}}else this._onRemovalComplete(_,pe)}markElementAsRemoved(M,_,Z,pe,pt){this.collectedLeaveElements.push(_),_[dr]={namespaceId:M,setForRemoval:pe,hasAnimation:Z,removedBeforeQueried:!1,previousTriggersValues:pt}}listen(M,_,Z,pe,pt){return qr(_)?this._fetchNamespace(M).listen(_,Z,pe,pt):()=>{}}_buildInstruction(M,_,Z,pe,pt){return M.transition.build(this.driver,M.element,M.fromState.value,M.toState.value,Z,pe,M.fromState.options,M.toState.options,_,pt)}destroyInnerAnimations(M){let _=this.driver.query(M,et,!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 $e(this.players).onDone(()=>M());M()})}processLeaveNode(M){const _=M[dr];if(_&&_.setForRemoval){if(M[dr]=Da,_.namespaceId){this.destroyInnerAnimations(M);const Z=this._fetchNamespace(_.namespaceId);Z&&Z.clearElementCache(M)}this._onRemovalComplete(M,_.setForRemoval)}M.classList?.contains(ha)&&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++)ar(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?$e(_).onDone(()=>{Z.forEach(pe=>pe())}):Z.forEach(pe=>pe())}}reportError(M){throw function B(F){return new e.vHH(3402,!1)}()}_flushAnimations(M,_){const Z=new At,pe=[],pt=new Map,Zt=[],ei=new Map,pi=new Map,Ii=new Map,en=new Set;this.disabledNodes.forEach(mn=>{en.add(mn);const Mn=this.driver.query(mn,".ng-animate-queued",!0);for(let Dn=0;Dn<Mn.length;Dn++)en.add(Mn[Dn])});const Wi=this.bodyNode,Pn=Array.from(this.statesByElement.keys()),Nn=Ya(Pn,this.collectedEnterElements),hn=new Map;let Ln=0;Nn.forEach((mn,Mn)=>{const Dn=He+Ln++;hn.set(Mn,Dn),mn.forEach(Qn=>ar(Qn,Dn))});const Jn=[],ur=new Set,Va=new Set;for(let mn=0;mn<this.collectedLeaveElements.length;mn++){const Mn=this.collectedLeaveElements[mn],Dn=Mn[dr];Dn&&Dn.setForRemoval&&(Jn.push(Mn),ur.add(Mn),Dn.hasAnimation?this.driver.query(Mn,".ng-star-inserted",!0).forEach(Qn=>ur.add(Qn)):Va.add(Mn))}const qa=new Map,Ba=Ya(Pn,Array.from(ur));Ba.forEach((mn,Mn)=>{const Dn=xt+Ln++;qa.set(Mn,Dn),mn.forEach(Qn=>ar(Qn,Dn))}),M.push(()=>{Nn.forEach((mn,Mn)=>{const Dn=hn.get(Mn);mn.forEach(Qn=>Wn(Qn,Dn))}),Ba.forEach((mn,Mn)=>{const Dn=qa.get(Mn);mn.forEach(Qn=>Wn(Qn,Dn))}),Jn.forEach(mn=>{this.processLeaveNode(mn)})});const Nc=[],_o=[];for(let mn=this._namespaceList.length-1;mn>=0;mn--)this._namespaceList[mn].drainQueuedTransitions(_).forEach(Dn=>{const Qn=Dn.player,ea=Dn.element;if(Nc.push(Qn),this.collectedEnterElements.length){const Ua=ea[dr];if(Ua&&Ua.setForMove){if(Ua.previousTriggersValues&&Ua.previousTriggersValues.has(Dn.triggerName)){const Zo=Ua.previousTriggersValues.get(Dn.triggerName),Ps=this.statesByElement.get(Dn.element);if(Ps&&Ps.has(Dn.triggerName)){const R1=Ps.get(Dn.triggerName);R1.value=Zo,Ps.set(Dn.triggerName,R1)}}return void Qn.destroy()}}const Os=!Wi||!this.driver.containsElement(Wi,ea),vs=qa.get(ea),bo=hn.get(ea),Wr=this._buildInstruction(Dn,Z,bo,vs,Os);if(Wr.errors&&Wr.errors.length)return void _o.push(Wr);if(Os)return Qn.onStart(()=>_t(ea,Wr.fromStyles)),Qn.onDestroy(()=>at(ea,Wr.toStyles)),void pe.push(Qn);if(Dn.isFallbackTransition)return Qn.onStart(()=>_t(ea,Wr.fromStyles)),Qn.onDestroy(()=>at(ea,Wr.toStyles)),void pe.push(Qn);const $2=[];Wr.timelines.forEach(Ua=>{Ua.stretchStartingKeyframe=!0,this.disabledNodes.has(Ua.element)||$2.push(Ua)}),Wr.timelines=$2,Z.append(ea,Wr.timelines),Zt.push({instruction:Wr,player:Qn,element:ea}),Wr.queriedElements.forEach(Ua=>he(ei,Ua,[]).push(Qn)),Wr.preStyleProps.forEach((Ua,Zo)=>{if(Ua.size){let Ps=pi.get(Zo);Ps||pi.set(Zo,Ps=new Set),Ua.forEach((R1,D0)=>Ps.add(D0))}}),Wr.postStyleProps.forEach((Ua,Zo)=>{let Ps=Ii.get(Zo);Ps||Ii.set(Zo,Ps=new Set),Ua.forEach((R1,D0)=>Ps.add(D0))})});if(_o.length){const mn=[];_o.forEach(Mn=>{mn.push(function W(F,M){return new e.vHH(3505,!1)}())}),Nc.forEach(Mn=>Mn.destroy()),this.reportError(mn)}const Aa=new Map,Rc=new Map;Zt.forEach(mn=>{const Mn=mn.element;Z.has(Mn)&&(Rc.set(Mn,Mn),this._beforeAnimationBuild(mn.player.namespaceId,mn.instruction,Aa))}),pe.forEach(mn=>{const Mn=mn.element;this._getPreviousPlayers(Mn,!1,mn.namespaceId,mn.triggerName,null).forEach(Qn=>{he(Aa,Mn,[]).push(Qn),Qn.destroy()})});const no=Jn.filter(mn=>Rt(mn,pi,Ii)),Go=new Map;hr(Go,this.driver,Va,Ii,g.l3).forEach(mn=>{Rt(mn,pi,Ii)&&no.push(mn)});const vo=new Map;Nn.forEach((mn,Mn)=>{hr(vo,this.driver,new Set(mn),pi,g.k1)}),no.forEach(mn=>{const Mn=Go.get(mn),Dn=vo.get(mn);Go.set(mn,new Map([...Array.from(Mn?.entries()??[]),...Array.from(Dn?.entries()??[])]))});const dc=[],Qh=[],X2={};Zt.forEach(mn=>{const{element:Mn,player:Dn,instruction:Qn}=mn;if(Z.has(Mn)){if(en.has(Mn))return Dn.onDestroy(()=>at(Mn,Qn.toStyles)),Dn.disabled=!0,Dn.overrideTotalTime(Qn.totalTime),void pe.push(Dn);let ea=X2;if(Rc.size>1){let vs=Mn;const bo=[];for(;vs=vs.parentNode;){const Wr=Rc.get(vs);if(Wr){ea=Wr;break}bo.push(vs)}bo.forEach(Wr=>Rc.set(Wr,ea))}const Os=this._buildAnimation(Dn.namespaceId,Qn,Aa,pt,vo,Go);if(Dn.setRealPlayer(Os),ea===X2)dc.push(Dn);else{const vs=this.playersByElement.get(ea);vs&&vs.length&&(Dn.parentPlayer=$e(vs)),pe.push(Dn)}}else _t(Mn,Qn.fromStyles),Dn.onDestroy(()=>at(Mn,Qn.toStyles)),Qh.push(Dn),en.has(Mn)&&pe.push(Dn)}),Qh.forEach(mn=>{const Mn=pt.get(mn.element);if(Mn&&Mn.length){const Dn=$e(Mn);mn.setRealPlayer(Dn)}}),pe.forEach(mn=>{mn.parentPlayer?mn.syncPlayerEvents(mn.parentPlayer):mn.destroy()});for(let mn=0;mn<Jn.length;mn++){const Mn=Jn[mn],Dn=Mn[dr];if(Wn(Mn,xt),Dn&&Dn.hasAnimation)continue;let Qn=[];if(ei.size){let Os=ei.get(Mn);Os&&Os.length&&Qn.push(...Os);let vs=this.driver.query(Mn,Lt,!0);for(let bo=0;bo<vs.length;bo++){let Wr=ei.get(vs[bo]);Wr&&Wr.length&&Qn.push(...Wr)}}const ea=Qn.filter(Os=>!Os.destroyed);ea.length?ja(this,Mn,ea):this.processLeaveNode(Mn)}return Jn.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=_[dr];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,pt){let Zt=[];if(_){const ei=this.playersByQueriedElement.get(M);ei&&(Zt=ei)}else{const ei=this.playersByElement.get(M);if(ei){const pi=!pt||pt==Ra;ei.forEach(Ii=>{Ii.queued||!pi&&Ii.triggerName!=pe||Zt.push(Ii)})}}return(Z||pe)&&(Zt=Zt.filter(ei=>!(Z&&Z!=ei.namespaceId||pe&&pe!=ei.triggerName))),Zt}_beforeAnimationBuild(M,_,Z){const pt=_.element,Zt=_.isRemovalTransition?void 0:M,ei=_.isRemovalTransition?void 0:_.triggerName;for(const pi of _.timelines){const Ii=pi.element,en=Ii!==pt,Wi=he(Z,Ii,[]);this._getPreviousPlayers(Ii,en,Zt,ei,_.toState).forEach(Nn=>{const hn=Nn.getRealPlayer();hn.beforeDestroy&&hn.beforeDestroy(),Nn.destroy(),Wi.push(Nn)})}_t(pt,_.fromStyles)}_buildAnimation(M,_,Z,pe,pt,Zt){const ei=_.triggerName,pi=_.element,Ii=[],en=new Set,Wi=new Set,Pn=_.timelines.map(hn=>{const Ln=hn.element;en.add(Ln);const Jn=Ln[dr];if(Jn&&Jn.removedBeforeQueried)return new g.ZN(hn.duration,hn.delay);const ur=Ln!==pi,Va=function Cr(F){const M=[];return ir(F,M),M}((Z.get(Ln)||Wa).map(Aa=>Aa.getRealPlayer())).filter(Aa=>!!Aa.element&&Aa.element===Ln),qa=pt.get(Ln),Ba=Zt.get(Ln),Nc=Ae(0,this._normalizer,0,hn.keyframes,qa,Ba),_o=this._buildPlayer(hn,Nc,Va);if(hn.subTimeline&&pe&&Wi.add(Ln),ur){const Aa=new zr(M,ei,Ln);Aa.setRealPlayer(_o),Ii.push(Aa)}return _o});Ii.forEach(hn=>{he(this.playersByQueriedElement,hn.element,[]).push(hn),hn.onDone(()=>function ka(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))}),en.forEach(hn=>ar(hn,Vt));const Nn=$e(Pn);return Nn.onDestroy(()=>{en.forEach(hn=>Wn(hn,Vt)),at(pi,_.toStyles)}),Wi.forEach(hn=>{he(pe,hn,[]).push(Nn)}),Nn}_buildPlayer(M,_,Z){return _.length>0?this.driver.animate(M.element,_,M.duration,M.delay,M.easing,Z):new g.ZN(M.duration,M.delay)}}class zr{constructor(M,_,Z){this.namespaceId=M,this.triggerName=_,this.element=Z,this._player=new g.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=>ue(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,_){he(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 qr(F){return F&&1===F.nodeType}function ws(F,M){const _=F.style.display;return F.style.display=M??"none",_}function hr(F,M,_,Z,pe){const pt=[];_.forEach(pi=>pt.push(ws(pi)));const Zt=[];Z.forEach((pi,Ii)=>{const en=new Map;pi.forEach(Wi=>{const Pn=M.computeStyle(Ii,Wi,pe);en.set(Wi,Pn),(!Pn||0==Pn.length)&&(Ii[dr]=ps,Zt.push(Ii))}),F.set(Ii,en)});let ei=0;return _.forEach(pi=>ws(pi,pt[ei++])),Zt}function Ya(F,M){const _=new Map;if(F.forEach(ei=>_.set(ei,[])),0==M.length)return _;const pe=new Set(M),pt=new Map;function Zt(ei){if(!ei)return 1;let pi=pt.get(ei);if(pi)return pi;const Ii=ei.parentNode;return pi=_.has(Ii)?Ii:pe.has(Ii)?1:Zt(Ii),pt.set(ei,pi),pi}return M.forEach(ei=>{const pi=Zt(ei);1!==pi&&_.get(pi).push(ei)}),_}function ar(F,M){F.classList?.add(M)}function Wn(F,M){F.classList?.remove(M)}function ja(F,M,_){$e(_).onDone(()=>F.processLeaveNode(M))}function ir(F,M){for(let _=0;_<F.length;_++){const Z=F[_];Z instanceof g.ZE?ir(Z.players,M):M.push(Z)}}function Rt(F,M,_){const Z=_.get(F);if(!Z)return!1;let pe=M.get(F);return pe?Z.forEach(pt=>pe.add(pt)):M.set(F,Z),_.delete(F),!0}class fi{constructor(M,_,Z){this.bodyNode=M,this._driver=_,this._normalizer=Z,this._triggerCache={},this.onRemovalComplete=(pe,pt)=>{},this._transitionEngine=new ts(M,_,Z),this._timelineEngine=new fs(M,_,Z),this._transitionEngine.onRemovalComplete=(pe,pt)=>this.onRemovalComplete(pe,pt)}registerTrigger(M,_,Z,pe,pt){const Zt=M+"-"+pe;let ei=this._triggerCache[Zt];if(!ei){const pi=[],en=si(this._driver,pt,pi,[]);if(pi.length)throw function i(F,M){return new e.vHH(3404,!1)}();ei=function zs(F,M,_){return new Tr(F,M,_)}(pe,en,this._normalizer),this._triggerCache[Zt]=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[pt,Zt]=it(Z);this._timelineEngine.command(pt,_,Zt,pe)}else this._transitionEngine.trigger(M,_,Z,pe)}listen(M,_,Z,pe,pt){if("@"==Z.charAt(0)){const[Zt,ei]=it(Z);return this._timelineEngine.listen(Zt,_,ei,pt)}return this._transitionEngine.listen(M,_,Z,pe,pt)}flush(M=-1){this._transitionEngine.flush(M)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let oi=(()=>{class F{constructor(_,Z,pe){this._element=_,this._startStyles=Z,this._endStyles=pe,this._state=0;let pt=F.initialStylesByElement.get(_);pt||F.initialStylesByElement.set(_,pt=new Map),this._initialStyles=pt}start(){this._state<1&&(this._startStyles&&at(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(at(this._element,this._initialStyles),this._endStyles&&(at(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(F.initialStylesByElement.delete(this._element),this._startStyles&&(_t(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(_t(this._element,this._endStyles),this._endStyles=null),at(this._element,this._initialStyles),this._state=3)}}return F.initialStylesByElement=new WeakMap,F})();function Hi(F){let M=null;return F.forEach((_,Z)=>{(function tn(F){return"display"===F||"position"===F})(Z)&&(M=M||new Map,M.set(Z,_))}),M}class Yn{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:Fi(this.element,pe))}),this.currentSnapshot=M}triggerCallback(M){const _="start"===M?this._onStartFns:this._onDoneFns;_.forEach(Z=>Z()),_.length=0}}class pr{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 Ct(M,_,Z)}computeStyle(M,_,Z){return window.getComputedStyle(M)[_]}animate(M,_,Z,pe,pt,Zt=[]){const pi={duration:Z,delay:pe,fill:0==pe?"both":"forwards"};pt&&(pi.easing=pt);const Ii=new Map,en=Zt.filter(Nn=>Nn instanceof Yn);(function mi(F,M){return 0===F||0===M})(Z,pe)&&en.forEach(Nn=>{Nn.currentSnapshot.forEach((hn,Ln)=>Ii.set(Ln,hn))});let Wi=function st(F){return F.length?F[0]instanceof Map?F:F.map(M=>Ne(M)):[]}(_).map(Nn=>Ut(Nn));Wi=function Ti(F,M,_){if(_.size&&M.length){let Z=M[0],pe=[];if(_.forEach((pt,Zt)=>{Z.has(Zt)||pe.push(Zt),Z.set(Zt,pt)}),pe.length)for(let pt=1;pt<M.length;pt++){let Zt=M[pt];pe.forEach(ei=>Zt.set(ei,Fi(F,ei)))}}return M}(M,Wi,Ii);const Pn=function vt(F,M){let _=null,Z=null;return Array.isArray(M)&&M.length?(_=Hi(M[0]),M.length>1&&(Z=Hi(M[M.length-1]))):M instanceof Map&&(_=Hi(M)),_||Z?new oi(F,_,Z):null}(M,Wi);return new Yn(M,Wi,pi,Pn)}}var qi=m(6895);let xn=(()=>{class F extends g._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,g.vP)(_):_;return tt(this._renderer,null,Z,"register",[pe]),new aa(Z,this._renderer)}}return F.\u0275fac=function(_){return new(_||F)(e.LFG(e.FYo),e.LFG(qi.K0))},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac}),F})();class aa extends g.LC{constructor(M,_){super(),this._id=M,this._renderer=_}create(M,_){return new ot(this._id,M,_||{},this._renderer)}}class ot{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 tt(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 tt(F,M,_,Z,pe){return F.setProperty(M,`@@${_}:${Z}`,pe)}const kt="@.disabled";let Ei=(()=>{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=(pt,Zt)=>{const ei=Zt?.parentNode(pt);ei&&Zt.removeChild(ei,pt)}}createRenderer(_,Z){const pt=this.delegate.createRenderer(_,Z);if(!(_&&Z&&Z.data&&Z.data.animation)){let en=this._rendererCache.get(pt);return en||(en=new Ki("",pt,this.engine,()=>this._rendererCache.delete(pt)),this._rendererCache.set(pt,en)),en}const Zt=Z.id,ei=Z.id+"-"+this._currentId;this._currentId++,this.engine.register(ei,_);const pi=en=>{Array.isArray(en)?en.forEach(pi):this.engine.registerTrigger(Zt,ei,_,en.name,en)};return Z.data.animation.forEach(pi),new gr(this,ei,pt,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(pt=>{const[Zt,ei]=pt;Zt(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(fi),e.LFG(e.R0b))},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac}),F})();class Ki{constructor(M,_,Z,pe){this.namespaceId=M,this.delegate=_,this.engine=Z,this._onDestroy=pe,this.destroyNode=this.delegate.destroyNode?pt=>_.destroyNode(pt):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)&&_==kt?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 gr extends Ki{constructor(M,_,Z,pe,pt){super(_,Z,pe,pt),this.factory=M,this.namespaceId=_}setProperty(M,_,Z){"@"==_.charAt(0)?"."==_.charAt(1)&&_==kt?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 Oi(F){switch(F){case"body":return document.body;case"document":return document;case"window":return window;default:return F}}(M);let pt=_.slice(1),Zt="";return"@"!=pt.charAt(0)&&([pt,Zt]=function Fn(F){const M=F.indexOf(".");return[F.substring(0,M),F.slice(M+1)]}(pt)),this.engine.listen(this.namespaceId,pe,pt,Zt,ei=>{this.factory.scheduleListenerCallback(ei._data||-1,Z,ei)})}return this.delegate.listen(M,_,Z)}}const Ms=[{provide:g._j,useClass:xn},{provide:rr,useFactory:function qo(){return new Sa}},{provide:fi,useClass:(()=>{class F extends fi{constructor(_,Z,pe,pt){super(_.body,Z,pe)}ngOnDestroy(){this.flush()}}return F.\u0275fac=function(_){return new(_||F)(e.LFG(qi.K0),e.LFG(gt),e.LFG(rr),e.LFG(e.z2F))},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac}),F})()},{provide:e.FYo,useFactory:function Vr(F,M,_){return new Ei(F,M,_)},deps:[t.se,fi,e.R0b]}],is=[{provide:gt,useFactory:()=>new pr},{provide:e.QbO,useValue:"BrowserAnimations"},...Ms],fa=[{provide:gt,useClass:Xt},{provide:e.QbO,useValue:"NoopAnimations"},...Ms];let Bs=(()=>{class F{static withConfig(_){return{ngModule:F,providers:_.disableAnimations?fa:is}}}return F.\u0275fac=function(_){return new(_||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({providers:is,imports:[t.b2]}),F})();var sa=m(529),kn=m(2289),Pi=m(9653),Pa=m(493),gs=m(825),Vi=m(7579),Es=m(6451),Ts=m(4968),so=m(457),Us=m(4986),Mo=m(2805);function oo(F=0,M=Us.z){return F<0&&(F=0),(0,Mo.H)(F,F,M)}var co=m(9646),gc=m(727),Vc=m(4482),_c=m(5403),Xo=m(8737),$o=m(3269),So=m(9672),Lr=m(9300),rs=m(8505),Gs=m(3900),nn=m(2722),Dr=m(8746),oa=m(1884),sr=m(4004);class lo{}let xl=(()=>{class F{constructor(_,Z){this._ngZone=Z,this.timerStart$=new Vi.x,this.idleDetected$=new Vi.x,this.timeout$=new Vi.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,Es.T)((0,Ts.R)(window,"mousemove"),(0,Ts.R)(window,"resize"),(0,Ts.R)(document,"keydown"))),this.idle$=(0,so.D)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function Eo(F,...M){var _,Z;const pe=null!==(_=(0,$o.yG)(M))&&void 0!==_?_:Us.z,pt=null!==(Z=M[0])&&void 0!==Z?Z:null,Zt=M[1]||1/0;return(0,Vc.e)((ei,pi)=>{let Ii=[],en=!1;const Wi=hn=>{const{buffer:Ln,subs:Jn}=hn;Jn.unsubscribe(),(0,Xo.P)(Ii,hn),pi.next(Ln),en&&Pn()},Pn=()=>{if(Ii){const hn=new gc.w0;pi.add(hn);const Jn={buffer:[],subs:hn};Ii.push(Jn),(0,So.f)(hn,pe,()=>Wi(Jn),F)}};null!==pt&&pt>=0?(0,So.f)(pi,pe,Pn,pt,!0):en=!0,Pn();const Nn=(0,_c.x)(pi,hn=>{const Ln=Ii.slice();for(const Jn of Ln){const{buffer:ur}=Jn;ur.push(hn),Zt<=ur.length&&Wi(Jn)}},()=>{for(;Ii?.length;)pi.next(Ii.shift().buffer);Nn?.unsubscribe(),pi.complete(),pi.unsubscribe()},void 0,()=>Ii=null);ei.subscribe(Nn)})}(this.idleSensitivityMillisec),(0,Lr.h)(_=>!_.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,rs.b)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,Gs.w)(()=>this._ngZone.runOutsideAngular(()=>oo(1e3).pipe((0,nn.R)((0,Es.T)(this.activityEvents$,(0,Mo.H)(this.idleMillisec).pipe((0,rs.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,oa.x)(),(0,Gs.w)(_=>_?this.timer$:(0,co.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,Lr.h)(_=>!!_),(0,rs.b)(()=>this.isTimeout=!0),(0,sr.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,co.of)(()=>new Date).pipe((0,sr.U)(Z=>Z()),(0,Gs.w)(Z=>oo(1e3).pipe((0,sr.U)(()=>Math.round(((new Date).valueOf()-Z.valueOf())/1e3)),(0,rs.b)(pe=>{pe>=_&&this.timeout$.next(!0)}))))})}setupPing(_){this.ping$=oo(_).pipe((0,Lr.h)(()=>!this.isTimeout))}}return F.\u0275fac=function(_){return new(_||F)(e.LFG(lo,8),e.LFG(e.R0b))},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),ec=(()=>{class F{static forRoot(_){return{ngModule:F,providers:[{provide:lo,useValue:_}]}}}return F.\u0275fac=function(_){return new(_||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({imports:[[]]}),F})();var Bn=m(9116),Ji=m(2687),Oe=m(8377),ft=m(2216),Te=m(1576),Mt=m(3546),ri=m(3848);const Re=function(){return{initial:!1}};function ht(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,Re)),e.xp6(1),e.Oqu(_.links[1].name)}}function yt(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 Ot{constructor(M,_){this.store=M,this.router=_,this.faUserCog=Ji.gNZ,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new Vi.x,new Vi.x,new Vi.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,Lr.h)(_=>_ instanceof Bn.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()})}}Ot.\u0275fac=function(M){return new(M||Ot)(e.Y36(Pi.yh),e.Y36(Bn.F0))},Ot.\u0275cmp=e.Xpm({type:Ot,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,ht,2,5,"div",7),e.YNc(11,yt,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:[qi.O5,ft.BN,Te.xw,Te.Wh,Te.yH,Mt.a8,Mt.dn,ri.BU,ri.sW,ri.Nj,Bn.lC,Bn.rH]});var Qe=m(7731),Jt=m(7861),hi=m(5043),ii=m(4006),yi=m(4859),Di=m(9549),Yi=m(4385),rn=m(3238),dn=m(6839),wn=m(3390);function wr(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 Br(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 pt=e.oxw();return e.KtG(pt.appConfig.defaultNodeIndex=pe)}),e.YNc(14,wr,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 Ur{constructor(M,_){this.logger=M,this.store=_,this.faInfoCircle=Ji.sqG,this.faWindowRestore=Ji.wyP,this.faPlus=Ji.r8p,this.previousDefaultNode=0,this.unSubs=[new Vi.x,new Vi.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()})}}Ur.\u0275fac=function(M){return new(M||Ur)(e.Y36(hi.mQ),e.Y36(Pi.yh))},Ur.\u0275cmp=e.Xpm({type:Ur,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,Br,21,4,"form",1),e.qZA()),2&M&&(e.xp6(1),e.Q6J("ngIf",_.appConfig.nodes&&_.appConfig.nodes.length&&_.appConfig.nodes.length>0))},dependencies:[qi.sg,qi.O5,ii._Y,ii.JJ,ii.JL,ii.On,ii.F,ft.BN,Te.xw,Te.Wh,Te.yH,yi.lW,Di.KE,Yi.gD,rn.ey,dn.$V,wn.h]});var Gr=m(8012),Or=m(5698),Ir=m(7274),ma=m(5768),Mr=m(3093),as=m(7009),pa=m(4144),ss=m(8425),Sr=m(658),Cl=m(5199);const os=["stepper"];function wl(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw();e.Oqu(_.passwordFormLabel)}}function Bc(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}function Uc(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.Oqu(_.secretFormLabel)}}function X1(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 Ml(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Secret Code is required."),e.qZA())}function Sl(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-step",10)(1,"form",22),e.YNc(2,Uc,1,1,"ng-template",23),e.TgZ(3,"div",24),e.YNc(4,X1,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 pt=e.oxw();return e.KtG(pt.onCopySecret(pe))}),e.qZA(),e.YNc(15,Ml,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 vc(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.Oqu(_.tokenFormLabel)}}function El(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is required."),e.qZA())}function To(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is invalid."),e.qZA())}function $1(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,El,2,0,"mat-error",15),e.YNc(7,To,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 Tl(F,M){1&F&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"Success! You are all set."),e.qZA()())}function Ao(F,M){if(1&F&&(e.TgZ(0,"mat-step",34)(1,"form",35),e.YNc(2,vc,1,1,"ng-template",12),e.YNc(3,$1,11,3,"div",36),e.YNc(4,Tl,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 Lo(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.Oqu(_.disableFormLabel)}}function Do(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 e2(F,M){1&F&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"Two factor authentication removed from RTL."),e.qZA()())}function t2(F,M){if(1&F&&(e.TgZ(0,"mat-step",34)(1,"form",35),e.YNc(2,Lo,1,1,"ng-template",12),e.YNc(3,Do,8,1,"div",36),e.YNc(4,e2,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 Io{constructor(M,_,Z,pe,pt,Zt){this.dialogRef=M,this.data=_,this.store=Z,this.formBuilder=pe,this.rtlEffects=pt,this.snackBar=Zt,this.faExclamationTriangle=Ji.eHv,this.faCopy=Ji.kZ_,this.faInfoCircle=Ji.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 Vi.x,new Vi.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=ma.authenticator.generateSecret();return this.otpauth=ma.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:Gr(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,Or.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=ma.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()})}}Io.\u0275fac=function(M){return new(M||Io)(e.Y36(Ir.so),e.Y36(Ir.WI),e.Y36(Pi.yh),e.Y36(ii.QS),e.Y36(Mr.V),e.Y36(as.ux))},Io.\u0275cmp=e.Xpm({type:Io,selectors:[["rtl-two-factor-auth"]],viewQuery:function(M,_){if(1&M&&e.Gf(os,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,wl,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,Bc,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,Sl,19,8,"mat-step",18),e.YNc(25,Ao,5,4,"mat-step",19),e.YNc(26,t2,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:[qi.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.sg,ii.u,ft.BN,Te.xw,Te.Wh,Te.yH,Ir.ZT,yi.lW,Mt.dn,Mt.dk,pa.Nt,Di.KE,Di.hX,Di.TO,Di.R9,ss.C0,ss.VY,ss.Vq,ss.Ic,Sr.uU,Cl.y,wn.h]});var cs=m(5986),Zs=m(4850);const r1=["authForm"];function Al(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Current password is required."),e.qZA())}function a1(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 Ll(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 Gc(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"form",10,11)(2,"div",12),e._UZ(3,"fa-icon",4),e.TgZ(4,"span",5),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",13),e.NdJ("ngModelChange",function(pe){e.CHM(_);const pt=e.oxw();return e.KtG(pt.currPassword=pe)}),e.qZA(),e.YNc(10,Al,2,0,"mat-error",14),e.qZA(),e.TgZ(11,"mat-form-field")(12,"mat-label"),e._uU(13,"New Password"),e.qZA(),e.TgZ(14,"input",15),e.NdJ("ngModelChange",function(pe){e.CHM(_);const pt=e.oxw();return e.KtG(pt.newPassword=pe)}),e.qZA(),e.YNc(15,a1,2,1,"mat-error",14),e.qZA(),e.TgZ(16,"mat-form-field")(17,"mat-label"),e._uU(18,"Confirm New Password"),e.qZA(),e.TgZ(19,"input",16),e.NdJ("ngModelChange",function(pe){e.CHM(_);const pt=e.oxw();return e.KtG(pt.confirmPassword=pe)}),e.qZA(),e.YNc(20,Ll,2,1,"mat-error",14),e.qZA(),e.TgZ(21,"div",17)(22,"button",18),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",19),e.NdJ("click",function(){e.CHM(_);const pe=e.oxw();return e.KtG(pe.onChangePassword())}),e._uU(25,"Change Password"),e.qZA()(),e.TgZ(26,"div",20),e._UZ(27,"mat-divider"),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 Xs{constructor(M,_,Z,pe,pt){this.logger=M,this.store=_,this.actions=Z,this.router=pe,this.sessionService=pt,this.faInfoCircle=Ji.sqG,this.faUserLock=Ji.FJU,this.faUserClock=Ji.hnx,this.faLock=Ji.byT,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new Vi.x,new Vi.x,new Vi.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,Lr.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:Gr(this.currPassword).toString(),newPassword:Gr(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:Io}}}))}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()})}}Xs.\u0275fac=function(M){return new(M||Xs)(e.Y36(hi.mQ),e.Y36(Pi.yh),e.Y36(Pa.eX),e.Y36(Bn.F0),e.Y36(cs.m))},Xs.\u0275cmp=e.Xpm({type:Xs,selectors:[["rtl-auth-settings"]],viewQuery:function(M,_){if(1&M&&e.Gf(r1,5),2&M){let Z;e.iGM(Z=e.CRH())&&(_.form=Z.first)}},decls:14,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"],["fxLayout","column","fxFlex","100","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"],["fxLayout","column","fxFlex","100","fxLayoutAlign","end stretch",1,"my-2"]],template:function(M,_){1&M&&(e.TgZ(0,"div",0),e.YNc(1,Gc,28,7,"form",1),e.TgZ(2,"div",2)(3,"div",3),e._UZ(4,"fa-icon",4),e.TgZ(5,"span",5),e._uU(6,"Two Factor Authentication"),e.qZA()(),e.TgZ(7,"div",6),e._UZ(8,"fa-icon",7),e.TgZ(9,"span"),e._uU(10,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),e.qZA()(),e.TgZ(11,"div",8)(12,"button",9),e.NdJ("click",function(){return _.on2FAuth()}),e._uU(13),e.qZA()()()()),2&M&&(e.xp6(1),e.Q6J("ngIf",null==_.appConfig?null:_.appConfig.allowPasswordUpdate),e.xp6(3),e.Q6J("icon",_.faUserClock),e.xp6(4),e.Q6J("icon",_.faInfoCircle),e.xp6(5),e.Oqu(_.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[qi.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,ft.BN,Te.xw,Te.Wh,Te.yH,yi.lW,pa.Nt,Di.KE,Di.hX,Di.TO,Zs.d,wn.h]});var Ha=m(6338);function tc(F,M){1&F&&e._UZ(0,"mat-divider",7)}function Dl(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,tc,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 Il(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 ko(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 ud(F,M){1&F&&e._UZ(0,"mat-divider",15),2&F&&e.Q6J("inset",!0)}function Zc(F,M){if(1&F&&(e.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),e.YNc(2,Il,2,1,"h2",10),e.qZA(),e.TgZ(3,"mat-card-subtitle",11),e.YNc(4,ko,2,1,"h4",12),e.qZA(),e.YNc(5,ud,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 _r(F,M){if(1&F&&(e.TgZ(0,"div",8)(1,"mat-list"),e.YNc(2,Zc,6,3,"mat-list-item",9),e.qZA()()),2&F){const _=e.oxw();e.xp6(2),e.Q6J("ngForOf",_.configData)}}class Wc{constructor(M,_,Z){this.store=M,this.rtlEffects=_,this.router=Z,this.configData="",this.fileFormat="INI",this.faCog=Ji.b7W,this.unSubs=[new Vi.x,new Vi.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 fd(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}Wc.\u0275fac=function(M){return new(M||Wc)(e.Y36(Pi.yh),e.Y36(Mr.V),e.Y36(Bn.F0))},Wc.\u0275cmp=e.Xpm({type:Wc,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,Dl,5,4,"div",2),e.YNc(3,_r,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:[qi.sg,qi.O5,Te.xw,Te.Wh,Te.yH,Mt.$j,Ha.i$,Ha.Tg,Zs.d,qi.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});class Yc{constructor(M,_,Z){this.dialogRef=M,this.store=_,this.rtlEffects=Z,this.password="",this.isAuthenticated=!1,this.unSubs=[new Vi.x,new Vi.x]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,Or.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:Gr(this.password)}))}onClose(){this.store.dispatch((0,Jt.M6)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}Yc.\u0275fac=function(M){return new(M||Yc)(e.Y36(Ir.so),e.Y36(Pi.yh),e.Y36(Mr.V))},Yc.\u0275cmp=e.Xpm({type:Yc,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,fd,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:[qi.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,Te.xw,Te.Wh,Te.yH,yi.lW,Mt.dn,Mt.dk,pa.Nt,Di.KE,Di.hX,Di.TO,wn.h]});const n2=function(){return{initial:!1}};function r2(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,n2)),e.xp6(1),e.Oqu(_.links[2].name)}}function Oo(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 _e(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 xe{constructor(M,_,Z,pe){this.store=M,this.router=_,this.rtlEffects=Z,this.activatedRoute=pe,this.faTools=Ji.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 Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.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,Lr.h)(_=>_ instanceof Bn.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:Yc}}})),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 ae(F,M){1&F&&e._UZ(0,"mat-divider",7)}function Be(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,ae,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 lt(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 Dt(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 Ht(F,M){1&F&&e._UZ(0,"mat-divider",15),2&F&&e.Q6J("inset",!0)}function vi(F,M){if(1&F&&(e.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),e.YNc(2,lt,2,1,"h2",10),e.qZA(),e.TgZ(3,"mat-card-subtitle",11),e.YNc(4,Dt,2,1,"h4",12),e.qZA(),e.YNc(5,Ht,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 Ri(F,M){if(1&F&&(e.TgZ(0,"div",8)(1,"mat-list"),e.YNc(2,vi,6,3,"mat-list-item",9),e.qZA()()),2&F){const _=e.oxw();e.xp6(2),e.Q6J("ngForOf",_.configData)}}xe.\u0275fac=function(M){return new(M||xe)(e.Y36(Pi.yh),e.Y36(Bn.F0),e.Y36(Mr.V),e.Y36(Bn.gz))},xe.\u0275cmp=e.Xpm({type:xe,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,r2,2,5,"div",7),e.YNc(13,Oo,2,3,"div",8),e.YNc(14,_e,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:[qi.O5,ft.BN,Te.xw,Te.Wh,Te.yH,Mt.a8,Mt.dn,ri.BU,ri.sW,ri.Nj,Bn.lC,Bn.rH]});class sn{constructor(M,_,Z){this.store=M,this.rtlEffects=_,this.router=Z,this.configData="",this.fileFormat="INI",this.faCog=Ji.b7W,this.unSubs=[new Vi.x,new Vi.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()})}}sn.\u0275fac=function(M){return new(M||sn)(e.Y36(Pi.yh),e.Y36(Mr.V),e.Y36(Bn.F0))},sn.\u0275cmp=e.Xpm({type:sn,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,Be,5,4,"div",2),e.YNc(3,Ri,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:[qi.sg,qi.O5,Te.xw,Te.Wh,Te.yH,Mt.$j,Ha.i$,Ha.Tg,Zs.d,qi.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});var $i=m(2994),on=m(429),En=m(6523),Jr=m(62),kr=m(5829),lr=m(752),Fa=m(1948),Zr=m(455);function Ws(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 ho(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Currency unit is required."),e.qZA())}function ls(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 za(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 md=function(F){return{skin:!0,"selected-color":F}};function a2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"span",38)(1,"div",39),e.NdJ("click",function(){const pt=e.CHM(_).$implicit,Zt=e.oxw();return e.KtG(Zt.changeThemeColor(pt.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,md,Z.selectedThemeColor===_.id)),e.xp6(2),e.hij(" ",_.name," ")}}class ic{constructor(M,_,Z){this.logger=M,this.commonService=_,this.store=Z,this.faExclamationTriangle=Ji.eHv,this.faMoneyBillAlt=Ji.co4,this.faPaintBrush=Ji.XsY,this.faInfoCircle=Ji.sqG,this.faEyeSlash=Ji.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 Vi.x,new Vi.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,En.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,on.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,$i.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,En.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,on.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,$i.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()})}}ic.\u0275fac=function(M){return new(M||ic)(e.Y36(hi.mQ),e.Y36(Jr.v),e.Y36(Pi.yh))},ic.\u0275cmp=e.Xpm({type:ic,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(pe){return _.selNode.settings.unannouncedChannels=pe.checked?_.selNode.settings.unannouncedChannels:null}),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(pe){return _.selNode.settings.currencyUnit=pe.checked?_.selNode.settings.currencyUnit:null}),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,Ws,2,2,"mat-option",17),e.qZA(),e.YNc(42,ho,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,ls,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,za,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,a2,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:[qi.mk,qi.sg,qi.O5,ii._Y,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,ft.BN,Te.xw,Te.Wh,Te.yH,kr.oO,yi.lW,lr.pp,lr.ib,lr.yz,lr.yK,Di.KE,Di.hX,Di.TO,Zs.d,Fa.VQ,Fa.U0,Yi.gD,rn.ey,Zr.Rr,dn.$V,wn.h,qi.i8,qi.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),s2=m(9828),Ys=m(6529),kl=m(2501),uo=m(7392),Kc=m(266),nc=m(9445);const bc=function(F){return{error:F}};function rc(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,bc,_.errorMessage))}}function ih(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 pd(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 yc(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 s1(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 nh(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 pt=e.oxw().$implicit;return e.KtG(pt.columnSelection=pe)})("selectionChange",function(){e.CHM(_);const pe=e.oxw().$implicit,pt=e.oxw(2);return e.KtG(pt.oncolumnSelectionChange(pe))}),e.YNc(4,s1,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 gd(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 Gu=function(F){return{"ml-minus-1":F}};function Qc(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 Zt=e.CHM(_).$implicit;return e.KtG(Zt.recordsPerPage=pe)}),e.YNc(9,ih,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 Zt=e.CHM(_).$implicit;return e.KtG(Zt.sortBy=pe)}),e.YNc(14,pd,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 Zt=e.CHM(_).$implicit;return e.KtG(Zt.sortOrder=pe)}),e.YNc(19,yc,2,2,"mat-option",22),e.qZA()(),e.YNc(20,nh,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 Zt=e.CHM(_).$implicit;return e.KtG(Zt.columnSelectionSM=pe)}),e.YNc(25,gd,4,8,"mat-option",28),e.qZA()(),e.TgZ(26,"button",29),e.NdJ("click",function(){const pt=e.CHM(_).$implicit,Zt=e.oxw().$implicit,ei=e.oxw();return e.KtG(ei.onTableReset(Zt.pageId,pt))}),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,Gu,pe.screenSize===pe.screenSizeEnum.XS||pe.screenSize===pe.screenSizeEnum.SM))}}function xc(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,bc,_.errorMessage))}}const o2=function(F){return{"error-border":F}};function _d(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,Qc,29,25,"div",16),e.YNc(6,xc,1,4,"ng-container",6),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.Q6J("ngClass",e.VKq(7,o2,(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 vd(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 c2(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 bd(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 l2=function(F){return{"error-border p-2":F}};function rh(F,M){if(1&F&&(e.TgZ(0,"div",35),e.YNc(1,vd,3,3,"mat-panel-title",36),e.TgZ(2,"mat-list",37),e.YNc(3,c2,5,1,"mat-list-item",36),e.YNc(4,bd,6,4,"mat-list-item",38),e.qZA()()),2&F){const _=M.error,Z=e.oxw();e.Q6J("ngClass",e.VKq(4,l2,"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 qc{constructor(M,_,Z,pe){this.logger=M,this.commonService=_,this.store=Z,this.actions=pe,this.faPenRuler=Ji.SoD,this.faExclamationTriangle=Ji.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 Vi.x,new Vi.x,new Vi.x,new Vi.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(s2.AS).pipe((0,nn.R)(this.unSubs[1]),(0,jc.M)(this.store.select(s2.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 pt=pe.find(pi=>"transactions"===pi.pageId),Zt=pt?.tables.findIndex(pi=>"offers"===pi.tableId),ei=pt?.tables.findIndex(pi=>"offer_bookmarks"===pi.tableId);Zt>-1&&pt?.tables.splice(Zt,1),ei>-1&&pt?.tables.splice(ei,1)}if(!Z?.enablePeerswap){const pt=pe.findIndex(Zt=>"peerswap"===Zt.pageId);pt>-1&&pe.splice(pt,1)}this.pageSettings=pe,this.initialPageSettings=pe}this.logger.info(pe)}),this.actions.pipe((0,nn.R)(this.unSubs[2]),(0,Lr.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(kl.nF).pipe((0,nn.R)(this.unSubs[1]),(0,jc.M)(this.store.select(kl.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,Lr.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(Ys.Pr).pipe((0,nn.R)(this.unSubs[1]),(0,jc.M)(this.store.select(Ys.$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 pt=pe.findIndex(Zt=>"loop"===Zt.pageId);pt>-1&&pe.splice(pt,1)}if(!Z?.boltzServerUrl||""===Z.boltzServerUrl.trim()){const pt=pe.findIndex(Zt=>"boltz"===Zt.pageId);pt>-1&&pe.splice(pt,1)}if(!Z?.enablePeerswap){const pt=pe.findIndex(Zt=>"peerswap"===Zt.pageId);pt>-1&&pe.splice(pt,1)}this.pageSettings=pe,this.initialPageSettings=pe}this.logger.info(pe)}),this.actions.pipe((0,nn.R)(this.unSubs[2]),(0,Lr.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,on.eF)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,$i.eF)({payload:this.pageSettings}));break;default:this.store.dispatch((0,En.eF)({payload:this.pageSettings}))}}onTableReset(M,_){const Z=this.pageSettings.findIndex(Zt=>Zt.pageId===M),pe=this.pageSettings[Z].tables.findIndex(Zt=>Zt.tableId===_.tableId),pt=this.defaultSettings.find(Zt=>Zt.pageId===M)?.tables.find(Zt=>Zt.tableId===_.tableId)||this.pageSettings.find(Zt=>Zt.pageId===M)?.tables.find(Zt=>Zt.tableId===_.tableId);this.pageSettings[Z].tables.splice(pe,1,pt)}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 Jc(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)}}qc.\u0275fac=function(M){return new(M||qc)(e.Y36(hi.mQ),e.Y36(Jr.v),e.Y36(Pi.yh),e.Y36(Pa.eX))},qc.\u0275cmp=e.Xpm({type:qc,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,rc,1,4,"ng-container",6),e.TgZ(8,"mat-accordion",7),e.YNc(9,_d,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,rh,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:[qi.mk,qi.sg,qi.O5,qi.tP,ii._Y,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,ft.BN,Te.xw,Te.Wh,Te.yH,kr.oO,yi.lW,yi.RK,lr.pp,lr.ib,lr.yz,lr.yK,uo.Hw,Di.KE,Di.hX,Ha.i$,Ha.Tg,Yi.gD,rn.ey,Kc.gM,dn.$V,qi.rS,nc.D3,nc.i1],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]});const fo=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,fo)),e.xp6(1),e.Oqu(_.links[1].name)}}function mo(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 $s{constructor(M,_,Z){this.store=M,this.router=_,this.activatedRoute=Z,this.faLayerGroup=Ji.Krp,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"peerswap",name:"Peerswap"}],this.activeLink="",this.unSubs=[new Vi.x,new Vi.x,new Vi.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,Lr.h)(_=>_ instanceof Bn.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()})}}$s.\u0275fac=function(M){return new(M||$s)(e.Y36(Pi.yh),e.Y36(Bn.F0),e.Y36(Bn.gz))},$s.\u0275cmp=e.Xpm({type:$s,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,Jc,2,3,"div",6),e.YNc(10,As,2,5,"div",7),e.YNc(11,mo,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:[qi.O5,ft.BN,Te.xw,Te.Wh,Te.yH,Mt.a8,Mt.dn,ri.BU,ri.sW,ri.Nj,Bn.lC,Bn.rH]});const o1=["form"];function ah(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Loop server URL is required."),e.qZA())}function d2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Specify the loop server url with 'https://'."),e.qZA())}function h2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Loop macaroon path is required."),e.qZA())}class Po{constructor(M,_){this.logger=M,this.store=_,this.faInfoCircle=Ji.sqG,this.enableLoop=!1,this.unSubs=[new Vi.x,new Vi.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,En.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,on.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,$i.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()})}}Po.\u0275fac=function(M){return new(M||Po)(e.Y36(hi.mQ),e.Y36(Pi.yh))},Po.\u0275cmp=e.Xpm({type:Po,selectors:[["rtl-loop-service-settings"]],viewQuery:function(M,_){if(1&M&&e.Gf(o1,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://localhost:8081"),e.qZA(),e.YNc(24,ah,2,0,"mat-error",11),e.YNc(25,d2,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,h2,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:[qi.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,ft.BN,Te.xw,Te.Wh,Te.yH,yi.lW,pa.Nt,Di.KE,Di.hX,Di.bx,Di.TO,Zr.Rr,dn.$V,wn.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});const ga=["form"];function u2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Boltz server URL is required."),e.qZA())}function f2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Specify the boltz server url with 'https://'."),e.qZA())}function C4(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Boltz macaroon path is required."),e.qZA())}class Xc{constructor(M,_){this.logger=M,this.store=_,this.faInfoCircle=Ji.sqG,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new Vi.x,new Vi.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,En.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,on.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,$i.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()})}}Xc.\u0275fac=function(M){return new(M||Xc)(e.Y36(hi.mQ),e.Y36(Pi.yh))},Xc.\u0275cmp=e.Xpm({type:Xc,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(M,_){if(1&M&&e.Gf(ga,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://localhost:9003"),e.qZA(),e.YNc(24,u2,2,0,"mat-error",11),e.YNc(25,f2,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,C4,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:[qi.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,ft.BN,Te.xw,Te.Wh,Te.yH,yi.lW,pa.Nt,Di.KE,Di.hX,Di.bx,Di.TO,Zr.Rr,dn.$V,wn.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});class ac{constructor(){}}ac.\u0275fac=function(M){return new(M||ac)},ac.\u0275cmp=e.Xpm({type:ac,selectors:[["rtl-ln-services"]],decls:1,vars:0,template:function(M,_){1&M&&e._UZ(0,"router-outlet")},dependencies:[Bn.lC]});var Zu=m(2615),c1=m(9107),Cc=m(8739),$c=m(6308),qn=m(671),Ol=m(3162);function sh(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 l1(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 Wu(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 sc(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"Initiation Time"),e.qZA())}function d1(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 Pl(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"Last Update Time"),e.qZA())}function m2(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 yd(F,M){1&F&&(e.TgZ(0,"th",41),e._uU(1,"Amount (Sats)"),e.qZA())}function el(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 oh(F,M){1&F&&(e.TgZ(0,"th",41),e._uU(1,"Cost Server (Sats)"),e.qZA())}function xd(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 Yu(F,M){1&F&&(e.TgZ(0,"th",41),e._uU(1,"Cost Offchain (Sats)"),e.qZA())}function ju(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 Cd(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 ch(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"HTLC Address"),e.qZA())}const h1=function(F){return{width:F}};function Ka(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,h1,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.htlc_address)}}function wc(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"ID"),e.qZA())}function p2(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,h1,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.id)}}function lh(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"ID (Bytes)"),e.qZA())}function g2(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,h1,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.id_bytes)}}function No(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 Ku(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"td",49)(1,"button",50),e.NdJ("click",function(pe){const Zt=e.CHM(_).$implicit,ei=e.oxw();return e.KtG(ei.onSwapClick(Zt,pe))}),e._uU(2,"View Info"),e.qZA()()}}function _2(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 wd(F,M){if(1&F&&(e.TgZ(0,"td",51),e.YNc(1,_2,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 dh=function(F){return{"display-none":F}};function Md(F,M){if(1&F&&e._UZ(0,"tr",53),2&F){const _=e.oxw();e.Q6J("ngClass",e.VKq(1,dh,(null==_.listSwaps?null:_.listSwaps.data)&&(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)>0))}}function hh(F,M){1&F&&e._UZ(0,"tr",54)}function Sd(F,M){1&F&&e._UZ(0,"tr",55)}const u1=function(){return["all"]},v2=function(F){return{"overflow-auto error-border":F,"overflow-auto":!0}},Nl=function(){return["no_swap"]};class eo{constructor(M,_,Z,pe,pt,Zt){this.logger=M,this.commonService=_,this.store=Z,this.loopService=pe,this.datePipe=pt,this.camelCaseWithReplace=Zt,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=Ji.qO$,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new qn.by([]),this.selFilter="",this.pageSize=Qe.IV,this.pageSizeOptions=Qe.TJ,this.screenSize="",this.screenSizeEnum=Qe.cu,this.unSubs=[new Vi.x,new Vi.x,new Vi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Ys.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 qn.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()})}}eo.\u0275fac=function(M){return new(M||eo)(e.Y36(hi.mQ),e.Y36(Jr.v),e.Y36(Pi.yh),e.Y36(c1.W),e.Y36(qi.uU),e.Y36(nc.D3))},eo.\u0275cmp=e.Xpm({type:eo,selectors:[["rtl-swaps"]],viewQuery:function(M,_){if(1&M&&(e.Gf($c.YE,5),e.Gf(Cc.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:Yi.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:Cc.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,sh,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,l1,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,Wu,2,1,"td",17),e.BQk(),e.ynx(25,18),e.YNc(26,sc,2,0,"th",16),e.YNc(27,d1,3,4,"td",17),e.BQk(),e.ynx(28,19),e.YNc(29,Pl,2,0,"th",16),e.YNc(30,m2,3,4,"td",17),e.BQk(),e.ynx(31,20),e.YNc(32,yd,2,0,"th",21),e.YNc(33,el,4,3,"td",17),e.BQk(),e.ynx(34,22),e.YNc(35,oh,2,0,"th",21),e.YNc(36,xd,4,3,"td",17),e.BQk(),e.ynx(37,23),e.YNc(38,Yu,2,0,"th",21),e.YNc(39,ju,4,3,"td",17),e.BQk(),e.ynx(40,24),e.YNc(41,Ds,2,0,"th",21),e.YNc(42,Cd,4,3,"td",17),e.BQk(),e.ynx(43,25),e.YNc(44,ch,2,0,"th",16),e.YNc(45,Ka,4,4,"td",17),e.BQk(),e.ynx(46,26),e.YNc(47,wc,2,0,"th",16),e.YNc(48,p2,4,4,"td",17),e.BQk(),e.ynx(49,27),e.YNc(50,lh,2,0,"th",16),e.YNc(51,g2,4,4,"td",17),e.BQk(),e.ynx(52,28),e.YNc(53,No,6,0,"th",29),e.YNc(54,Ku,3,0,"td",30),e.BQk(),e.ynx(55,31),e.YNc(56,wd,2,1,"td",32),e.BQk(),e.YNc(57,Md,1,3,"tr",33),e.YNc(58,hh,1,0,"tr",34),e.YNc(59,Sd,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,u1).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,v2,"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:[qi.mk,qi.sg,qi.O5,qi.PC,ii.Fj,ii.JJ,ii.On,ft.BN,Te.xw,Te.Wh,Te.yH,kr.oO,kr.Zl,yi.lW,pa.Nt,Di.KE,Di.hX,Ol.pW,Yi.gD,Yi.$L,rn.ey,$c.YE,$c.nU,qn.BZ,qn.fO,qn.as,qn.w1,qn.Dz,qn.nj,qn.mD,qn.Ke,qn.ge,qn.ev,qn.yh,qn.XQ,qn.Gk,qn.Q2,Cc.NW,dn.Vv,dn.$V,qi.JJ,qi.uU]});const f1=function(F){return["../",F]};function tl(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",11),e.NdJ("click",function(){const pt=e.CHM(_).$implicit,Zt=e.oxw();return e.KtG(Zt.onSelectedIndexChange(pt))}),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,f1,_.link)),e.xp6(1),e.Oqu(_.name)}}class Mc{constructor(M,_,Z){this.router=M,this.loopService=_,this.store=Z,this.faInfinity=Ji.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 Vi.x,new Vi.x,new Vi.x,new Vi.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,Lr.h)(_=>_ instanceof Bn.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:Zu.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:Zu.a}}}))}})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}Mc.\u0275fac=function(M){return new(M||Mc)(e.Y36(Bn.F0),e.Y36(c1.W),e.Y36(Pi.yh))},Mc.\u0275cmp=e.Xpm({type:Mc,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,tl,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:[qi.sg,ft.BN,Te.xw,Te.Wh,Te.yH,yi.lW,Mt.a8,Mt.dn,ri.BU,ri.sW,ri.Nj,Bn.rH,eo]});var b2=m(7772),to=m(1135),m1=m(2843),Rl=m(262),_s=m(2340),p1=m(1786);class oc{constructor(M,_,Z,pe){this.httpClient=M,this.logger=_,this.store=Z,this.commonService=pe,this.swapUrl="",this.swaps={},this.swapsChanged=new to.X({}),this.unSubs=[new Vi.x,new Vi.x,new Vi.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,Jt.ac)({payload:Qe.m6.GET_BOLTZ_SWAPS})),this.swapUrl=_s.T5+_s.NZ.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=_s.T5+_s.NZ.BOLTZ_API+"/swapInfo/"+M,this.httpClient.get(this.swapUrl).pipe((0,Rl.K)(_=>(0,co.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=_s.T5+_s.NZ.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,nn.R)(this.unSubs[1]),(0,sr.U)(M=>(this.store.dispatch((0,Jt.uO)({payload:Qe.m6.GET_SERVICE_INFO})),M)),(0,Rl.K)(M=>(0,co.of)(this.handleErrorWithAlert(Qe.m6.GET_SERVICE_INFO,this.swapUrl,M))))}swapOut(M,_){const Z={amount:M,address:_};return this.swapUrl=_s.T5+_s.NZ.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,Z).pipe((0,Rl.K)(pe=>this.handleErrorWithoutAlert("Swap Out for Address: "+_,Qe.m6.NO_SPINNER,pe)))}swapIn(M){const _={amount:M};return this.swapUrl=_s.T5+_s.NZ.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,_).pipe((0,Rl.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:p1.H}}}))):pe=this.commonService.extractErrorMessage(Z),(0,m1._)(()=>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:p1.H}}}))},100);else{pe=this.commonService.extractErrorMessage(Z);const pt=Z.error&&Z.error.error&&Z.error.error.code?Z.error.error.code:Z.error&&Z.error.code?Z.error.code:Z.code?Z.code:Z.status;setTimeout(()=>{this.store.dispatch((0,Jt.qR)({payload:{data:{type:Qe.n_.ERROR,alertTitle:"ERROR",message:{code:pt,message:pe,URL:_},component:p1.H}}}))},100)}return{message:pe}}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}function Qu(F,M){1&F&&e.GkF(0)}function qu(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 Ju(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 Xu(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)}}oc.\u0275fac=function(M){return new(M||oc)(e.LFG(sa.eN),e.LFG(hi.mQ),e.LFG(Pi.yh),e.LFG(Jr.v))},oc.\u0275prov=e.Yz7({token:oc,factory:oc.\u0275fac});class il{constructor(){this.swapStatus=null,this.direction=Qe.hc.SWAP_OUT,this.swapTypeEnum=Qe.hc}}il.\u0275fac=function(M){return new(M||il)},il.\u0275cmp=e.Xpm({type:il,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,Qu,1,0,"ng-container",0),e.YNc(1,qu,3,1,"ng-template",null,1,e.W1O),e.YNc(3,Ju,25,6,"ng-template",null,2,e.W1O),e.YNc(5,Xu,27,6,"ng-template",null,3,e.W1O)),2&M){const Z=e.MAs(2),pe=e.MAs(4),pt=e.MAs(6);e.Q6J("ngTemplateOutlet",null!=_.swapStatus&&_.swapStatus.error?Z:_.direction===_.swapTypeEnum.SWAP_OUT?pe:pt)}},dependencies:[qi.tP,Te.xw,Te.Wh,Te.yH,Zs.d,qi.JJ]});class nl{constructor(){this.serviceInfo={},this.direction=Qe.hc.SWAP_OUT,this.swapTypeEnum=Qe.hc}}nl.\u0275fac=function(M){return new(M||nl)},nl.\u0275cmp=e.Xpm({type:nl,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:[Te.xw,Te.Wh,Te.yH,lr.ib,lr.yz,lr.yK,Zs.d,qi.JJ]});var y2=m(113);function g1(F,M){1&F&&e.GkF(0)}const Is=function(F,M){return{"small-svg":F,"large-svg":M}};function $u(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const pt=e.oxw();return e.KtG(pt.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,Is,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function x2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const pt=e.oxw();return e.KtG(pt.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,Is,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function uh(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const pt=e.oxw();return e.KtG(pt.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,Is,_.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 pt=e.oxw();return e.KtG(pt.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,Is,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function Sc(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const pt=e.oxw();return e.KtG(pt.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,Is,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}class Ec{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 _1(F,M){1&F&&e.GkF(0)}Ec.\u0275fac=function(M){return new(M||Ec)(e.Y36(Jr.v))},Ec.\u0275cmp=e.Xpm({type:Ec,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,g1,1,0,"ng-container",0),e.YNc(1,$u,18,5,"ng-template",null,1,e.W1O),e.YNc(3,x2,15,5,"ng-template",null,2,e.W1O),e.YNc(5,uh,19,5,"ng-template",null,3,e.W1O),e.YNc(7,Ed,17,5,"ng-template",null,4,e.W1O),e.YNc(9,Sc,13,5,"ng-template",null,5,e.W1O)),2&M){const Z=e.MAs(2),pe=e.MAs(4),pt=e.MAs(6),Zt=e.MAs(8),ei=e.MAs(10);e.Q6J("ngTemplateOutlet",1===_.stepNumber?Z:2===_.stepNumber?pe:3===_.stepNumber?pt:4===_.stepNumber?Zt:ei)}},dependencies:[qi.mk,qi.tP,Te.xw,Te.Wh,Te.yH,kr.oO,Mt.$j,Mt.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:[y2.l]}});const Tc=function(F,M){return{"small-svg":F,"large-svg":M}};function Hl(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const pt=e.oxw();return e.KtG(pt.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,Tc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function v1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const pt=e.oxw();return e.KtG(pt.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,Tc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function Td(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const pt=e.oxw();return e.KtG(pt.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,Tc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function Ta(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const pt=e.oxw();return e.KtG(pt.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,Tc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function Ad(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(pe){e.CHM(_);const pt=e.oxw();return e.KtG(pt.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,Tc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}class Ac{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))}}Ac.\u0275fac=function(M){return new(M||Ac)(e.Y36(Jr.v))},Ac.\u0275cmp=e.Xpm({type:Ac,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,_1,1,0,"ng-container",0),e.YNc(1,Hl,18,5,"ng-template",null,1,e.W1O),e.YNc(3,v1,19,5,"ng-template",null,2,e.W1O),e.YNc(5,Td,19,5,"ng-template",null,3,e.W1O),e.YNc(7,Ta,17,5,"ng-template",null,4,e.W1O),e.YNc(9,Ad,13,5,"ng-template",null,5,e.W1O)),2&M){const Z=e.MAs(2),pe=e.MAs(4),pt=e.MAs(6),Zt=e.MAs(8),ei=e.MAs(10);e.Q6J("ngTemplateOutlet",1===_.stepNumber?Z:2===_.stepNumber?pe:3===_.stepNumber?pt:4===_.stepNumber?Zt:ei)}},dependencies:[qi.mk,qi.tP,Te.xw,Te.Wh,Te.yH,kr.oO,Mt.$j,Mt.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:[y2.l]}});const $n=["stepper"];function Ld(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.Oqu(_.inputFormLabel)}}function cc(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Amount is required."),e.qZA())}function Ro(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 Dd(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 b1(F,M){1&F&&(e.TgZ(0,"button",40),e._uU(1,"Next"),e.qZA())}function C2(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 w2(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(3);e.Oqu(_.addressFormLabel)}}function Fl(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Address is required."),e.qZA())}function Id(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-step",15)(1,"form",16),e.YNc(2,w2,1,1,"ng-template",17),e.TgZ(3,"div",42)(4,"mat-radio-group",43),e.NdJ("change",function(pe){e.CHM(_);const pt=e.oxw(2);return e.KtG(pt.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,Fl,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 M2(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.hij("",_.swapDirectionCaption," Status")}}function fh(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 mh(F,M){1&F&&e._UZ(0,"div")}function kd(F,M){1&F&&e._UZ(0,"mat-progress-bar",50)}function S2(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 E2(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 zl(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 pt=e.oxw();return e.KtG(pt.stepSelectionChanged(pe))}),e.TgZ(15,"mat-step",15)(16,"form",16),e.YNc(17,Ld,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,cc,2,0,"mat-error",24),e.YNc(32,Ro,3,3,"mat-error",24),e.YNc(33,Dd,3,3,"mat-error",24),e.qZA()(),e.TgZ(34,"div",25),e.YNc(35,b1,2,0,"button",26),e.YNc(36,C2,2,1,"button",27),e.qZA()()(),e.YNc(37,Id,17,6,"mat-step",28),e.TgZ(38,"mat-step",29)(39,"form",16),e.YNc(40,M2,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,fh,2,1,"mat-icon",33),e.qZA()()(),e.YNc(48,mh,1,0,"div",34),e.qZA(),e.YNc(49,kd,1,0,"mat-progress-bar",35),e.qZA(),e.YNc(50,S2,2,1,"h4",36),e.TgZ(51,"div",25),e.YNc(52,E2,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 y1(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 Lc(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 pt=e.oxw(2);return e.KtG(pt.stepNumber=pe)}),e.qZA()}if(2&F){const _=e.oxw(2);e.Q6J("animationDirection",_.animationDirection)("stepNumber",_.stepNumber)}}function ph(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 pt=e.oxw(2);return e.KtG(pt.stepNumber=pe)}),e.qZA()}if(2&F){const _=e.oxw(2);e.Q6J("animationDirection",_.animationDirection)("stepNumber",_.stepNumber)}}const Od=function(F,M){return{"dot-primary":F,"dot-primary-lighter":M}};function e3(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"span",71),e.NdJ("click",function(){const pt=e.CHM(_).$implicit,Zt=e.oxw(2);return e.KtG(Zt.onStepChanged(pt))}),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,Od,Z.stepNumber===_,Z.stepNumber!==_))}}function gh(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 x1(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 Pd(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 Nd(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 Vl(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 T2(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 A2=function(){return[1,2,3,4,5]};function Rd(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,Lc,1,2,"rtl-boltz-swapout-info-graphics",60),e.YNc(10,ph,1,2,"rtl-boltz-swapin-info-graphics",60),e.qZA(),e.TgZ(11,"div",61),e.YNc(12,e3,2,4,"span",62),e.qZA(),e.TgZ(13,"div",63),e.YNc(14,gh,2,0,"button",64),e.YNc(15,x1,2,0,"button",65),e.YNc(16,Pd,2,0,"button",66),e.YNc(17,Nd,2,0,"button",67),e.YNc(18,Vl,2,0,"button",68),e.YNc(19,T2,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,A2)),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 Dc{constructor(M,_,Z,pe,pt,Zt,ei){this.dialogRef=M,this.data=_,this.boltzService=Z,this.formBuilder=pe,this.decimalPipe=pt,this.logger=Zt,this.commonService=ei,this.faInfoCircle=Ji.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 Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.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 Ic(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 Hd(F,M){1&F&&e._UZ(0,"mat-progress-bar",43)}function _h(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Status"),e.qZA())}function Fd(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 zd(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Swap ID"),e.qZA())}function vh(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 Ho(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Claim Address"),e.qZA())}Dc.\u0275fac=function(M){return new(M||Dc)(e.Y36(Ir.so),e.Y36(Ir.WI),e.Y36(oc),e.Y36(ii.QS),e.Y36(qi.JJ),e.Y36(hi.mQ),e.Y36(Jr.v))},Dc.\u0275cmp=e.Xpm({type:Dc,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(M,_){if(1&M&&e.Gf($n,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,zl,56,34,"div",0),e.YNc(1,y1,1,2,"ng-template",null,1,e.W1O),e.YNc(3,Rd,20,11,"div",2)),2&M&&(e.Q6J("ngIf",!_.flgShowInfo),e.xp6(3),e.Q6J("ngIf",_.flgShowInfo))},dependencies:[qi.mk,qi.sg,qi.O5,ii._Y,ii.Fj,ii.wV,ii.JJ,ii.JL,ii.Q7,ii.sg,ii.u,Te.xw,Te.Wh,Te.yH,kr.oO,Ir.ZT,yi.lW,Mt.dn,Mt.dk,lr.ib,lr.yz,lr.yK,uo.Hw,pa.Nt,Di.KE,Di.hX,Di.bx,Di.TO,Di.R9,Ol.pW,Fa.VQ,Fa.U0,ss.C0,ss.VY,ss.Vq,ss.Ic,wn.h,il,nl,Ec,Ac,qi.JJ],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem}"],data:{animation:[b2._]}});const js=function(F){return{width:F}};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,js,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.claimAddress)}}function Vd(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Lockup Address"),e.qZA())}function yh(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,js,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.lockupAddress)}}function xh(F,M){1&F&&(e.TgZ(0,"th",48),e._uU(1,"Onchain Amount (Sats)"),e.qZA())}function Ch(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 Bd(F,M){1&F&&(e.TgZ(0,"th",48),e._uU(1,"Expected Amount (Sats)"),e.qZA())}function Ud(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 wh(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Error"),e.qZA())}function Mh(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,js,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.error)}}function Gd(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Private Key"),e.qZA())}function Zd(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,js,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.privateKey)}}function C1(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Preimage"),e.qZA())}function po(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,js,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.preimage)}}function Bl(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Redeem Script"),e.qZA())}function Wd(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,js,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.redeemScript)}}function Yd(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Invoice"),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,js,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.invoice)}}function t3(F,M){1&F&&(e.TgZ(0,"th",48),e._uU(1,"Timeout Block Height"),e.qZA())}function jd(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 n3(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Lockup Tx ID"),e.qZA())}function L2(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 M1(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Claim Tx ID"),e.qZA())}function r3(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 a3(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Refund Tx ID"),e.qZA())}function D2(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 Kd(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 Qd(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"td",54)(1,"button",55),e.NdJ("click",function(pe){const Zt=e.CHM(_).$implicit,ei=e.oxw();return e.KtG(ei.onSwapClick(Zt,pe))}),e._uU(2,"View Info"),e.qZA()()}}function qd(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 rl(F,M){if(1&F&&(e.TgZ(0,"td",56),e.YNc(1,qd,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 I2=function(F){return{"display-none":F}};function S1(F,M){if(1&F&&e._UZ(0,"tr",58),2&F){const _=e.oxw();e.Q6J("ngClass",e.VKq(1,I2,(null==_.listSwaps?null:_.listSwaps.data)&&(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)>0))}}function Jd(F,M){1&F&&e._UZ(0,"tr",59)}function k2(F,M){1&F&&e._UZ(0,"tr",60)}const Xd=function(){return["all"]},Xr=function(F){return{"overflow-auto error-border":F,"overflow-auto":!0}},$d=function(){return["no_swap"]};class al{constructor(M,_,Z,pe,pt){this.logger=M,this.commonService=_,this.store=Z,this.boltzService=pe,this.camelCaseWithReplace=pt,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=Ji.qO$,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new qn.by([]),this.selFilter="",this.pageSize=Qe.IV,this.pageSizeOptions=Qe.TJ,this.screenSize="",this.screenSizeEnum=Qe.cu,this.unSubs=[new Vi.x,new Vi.x,new Vi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Ys.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 qn.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()})}}al.\u0275fac=function(M){return new(M||al)(e.Y36(hi.mQ),e.Y36(Jr.v),e.Y36(Pi.yh),e.Y36(oc),e.Y36(nc.D3))},al.\u0275cmp=e.Xpm({type:al,selectors:[["rtl-boltz-swaps"]],viewQuery:function(M,_){if(1&M&&(e.Gf($c.YE,5),e.Gf(Cc.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:Yi.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:Cc.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,Ic,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,Hd,1,0,"mat-progress-bar",12),e.TgZ(20,"table",13,14),e.ynx(22,15),e.YNc(23,_h,2,0,"th",16),e.YNc(24,Fd,2,1,"td",17),e.BQk(),e.ynx(25,18),e.YNc(26,zd,2,0,"th",16),e.YNc(27,vh,2,1,"td",17),e.BQk(),e.ynx(28,19),e.YNc(29,Ho,2,0,"th",16),e.YNc(30,bh,4,4,"td",17),e.BQk(),e.ynx(31,20),e.YNc(32,Vd,2,0,"th",16),e.YNc(33,yh,4,4,"td",17),e.BQk(),e.ynx(34,21),e.YNc(35,xh,2,0,"th",22),e.YNc(36,Ch,4,3,"td",17),e.BQk(),e.ynx(37,23),e.YNc(38,Bd,2,0,"th",22),e.YNc(39,Ud,4,3,"td",17),e.BQk(),e.ynx(40,24),e.YNc(41,wh,2,0,"th",16),e.YNc(42,Mh,4,4,"td",17),e.BQk(),e.ynx(43,25),e.YNc(44,Gd,2,0,"th",16),e.YNc(45,Zd,4,4,"td",17),e.BQk(),e.ynx(46,26),e.YNc(47,C1,2,0,"th",16),e.YNc(48,po,4,4,"td",17),e.BQk(),e.ynx(49,27),e.YNc(50,Bl,2,0,"th",16),e.YNc(51,Wd,4,4,"td",17),e.BQk(),e.ynx(52,28),e.YNc(53,Yd,2,0,"th",16),e.YNc(54,w1,4,4,"td",17),e.BQk(),e.ynx(55,29),e.YNc(56,t3,2,0,"th",22),e.YNc(57,jd,4,3,"td",17),e.BQk(),e.ynx(58,30),e.YNc(59,n3,2,0,"th",16),e.YNc(60,L2,2,1,"td",17),e.BQk(),e.ynx(61,31),e.YNc(62,M1,2,0,"th",16),e.YNc(63,r3,2,1,"td",17),e.BQk(),e.ynx(64,32),e.YNc(65,a3,2,0,"th",16),e.YNc(66,D2,2,1,"td",17),e.BQk(),e.ynx(67,33),e.YNc(68,Kd,6,0,"th",34),e.YNc(69,Qd,3,0,"td",35),e.BQk(),e.ynx(70,36),e.YNc(71,rl,2,1,"td",37),e.BQk(),e.YNc(72,S1,1,3,"tr",38),e.YNc(73,Jd,1,0,"tr",39),e.YNc(74,k2,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,Xd).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,Xr,"error"===_.flgLoading[0])),e.xp6(52),e.Q6J("matFooterRowDef",e.DdM(19,$d)),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:[qi.mk,qi.sg,qi.O5,qi.PC,ii.Fj,ii.JJ,ii.On,ft.BN,Te.xw,Te.Wh,Te.yH,kr.oO,kr.Zl,yi.lW,pa.Nt,Di.KE,Di.hX,Ol.pW,Yi.gD,Yi.$L,rn.ey,$c.YE,$c.nU,qn.BZ,qn.fO,qn.as,qn.w1,qn.Dz,qn.nj,qn.mD,qn.Ke,qn.ge,qn.ev,qn.yh,qn.XQ,qn.Gk,qn.Q2,Cc.NW,dn.Vv,dn.$V,qi.JJ]});const e0=function(F){return["../",F]};function t0(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",16),e.NdJ("click",function(){const pt=e.CHM(_).$implicit,Zt=e.oxw();return e.KtG(Zt.onSelectedIndexChange(pt))}),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,e0,_.link)),e.xp6(1),e.Oqu(_.name)}}class E1{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 Vi.x,new Vi.x,new Vi.x,new Vi.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,Lr.h)(_=>_ instanceof Bn.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:Dc}}}))}})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}E1.\u0275fac=function(M){return new(M||E1)(e.Y36(Bn.F0),e.Y36(Pi.yh),e.Y36(oc))},E1.\u0275cmp=e.Xpm({type:E1,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,t0,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:[qi.sg,Te.xw,Te.Wh,Te.yH,yi.lW,Mt.a8,Mt.dn,ri.BU,ri.sW,ri.Nj,Bn.rH,al]});class $r{constructor(M){this.help=M}}function kc(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 O2(F,M){if(1&F&&(e.TgZ(0,"div",6),e.YNc(1,kc,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 sl{constructor(M,_){this.store=M,this.sessionService=_,this.helpTopics=[],this.faQuestion=Ji.Psp,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new Vi.x,new Vi.x,new Vi.x,new Vi.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 $r({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 $r({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 $r({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 $r({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 $r({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 $r({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 $r({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 $r({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 $r({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 $r({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 $r({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 $r({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 $r({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 $r({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 $r({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 $r({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 $r({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 $r({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()})}}sl.\u0275fac=function(M){return new(M||sl)(e.Y36(Pi.yh),e.Y36(cs.m))},sl.\u0275cmp=e.Xpm({type:sl,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,O2,2,1,"div",5),e.qZA()()()),2&M&&(e.xp6(2),e.Q6J("icon",_.faQuestion),e.xp6(5),e.Q6J("ngForOf",_.helpTopics))},dependencies:[qi.sg,qi.O5,ft.BN,Te.xw,Te.Wh,Te.yH,lr.ib,lr.yz,lr.yK,lr.u4,Bn.rH],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]});var n0=m(9841);function T1(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is required."),e.qZA())}class Ul{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 P2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}function ol(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," ")}}Ul.\u0275fac=function(M){return new(M||Ul)(e.Y36(Ir.so),e.Y36(Pi.yh))},Ul.\u0275cmp=e.Xpm({type:Ul,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,T1,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:[qi.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,Te.xw,Te.Wh,Te.yH,yi.lW,Mt.dn,Mt.dk,pa.Nt,Di.KE,Di.hX,Di.TO,wn.h]});const r0=function(F){return{"padding-gap-large":F}},N2=function(F,M){return{"font-size-200":F,"font-size-300":M}};class A1{constructor(M,_,Z,pe){this.logger=M,this.store=_,this.rtlEffects=Z,this.commonService=pe,this.faUnlockAlt=Ji.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 Vi.x,new Vi.x,new Vi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,n0.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:Ul}}})),this.rtlEffects.closeAlert.pipe((0,Or.q)(1)).subscribe(M=>{M&&this.store.dispatch((0,Jt.x4)({payload:{password:Gr(this.password),defaultPassword:Qe.kO.includes(this.password.toLowerCase()),twoFAToken:M.twoFAToken}}))})):this.store.dispatch((0,Jt.x4)({payload:{password:Gr(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()})}}A1.\u0275fac=function(M){return new(M||A1)(e.Y36(hi.mQ),e.Y36(Pi.yh),e.Y36(Mr.V),e.Y36(Jr.v))},A1.\u0275cmp=e.Xpm({type:A1,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,P2,2,0,"mat-error",15),e.qZA(),e.YNc(22,ol,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,r0,_.screenSize===_.screenSizeEnum.XS)),e.xp6(2),e.Q6J("ngClass",e.WLB(10,N2,_.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:[qi.mk,qi.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,Te.xw,Te.Wh,Te.yH,kr.oO,yi.lW,yi.RK,Mt.a8,Mt.dn,Mt.dk,Mt.n5,uo.Hw,pa.Nt,Di.KE,Di.hX,Di.TO,Di.R9,wn.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 Gl=m(9442);class cl{constructor(M,_){this.activatedRoute=M,this.router=_,this.error={errorCode:"",errorMessage:""},this.faTimes=Ji.NBC,this.unsubs=[new Vi.x,new Vi.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"])}}cl.\u0275fac=function(M){return new(M||cl)(e.Y36(Bn.gz),e.Y36(Bn.F0))},cl.\u0275cmp=e.Xpm({type:cl,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:[ft.BN,Te.xw,Te.Wh,Te.yH,yi.lW,Mt.a8,Mt.dn,Mt.dk,Mt.n5],encapsulation:2});var _a=m(1643),R2=m(8104),Zl=m(9843),Fo=m(6534);function a0(F,M){1&F&&e._UZ(0,"span",16)}function ll(F,M){1&F&&e._UZ(0,"span",17)}function zo(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 pt=e.oxw(2);return e.KtG(pt.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 Ah(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 L1(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 Wl(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 Oc(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 H2(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 F2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Lease base fee is required."),e.qZA())}function s0(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Lease base basis is required."),e.qZA())}function o0(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Max channel routing base fee is required."),e.qZA())}function z2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Max channel routing fee rate is required."),e.qZA())}const Pc=function(F,M){return{"alert-danger":F,"alert-info":M}};function c0(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,Pc,!!_.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 Lh(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 pt=e.oxw(3);return e.KtG(pt.selPolicyType=pe)})("selectionChange",function(){e.CHM(_);const pe=e.oxw(3);return e.KtG(pe.policyMod=null)}),e.YNc(10,L1,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 pt=e.oxw(3);return e.KtG(pt.policyMod=pe)}),e.qZA(),e.TgZ(16,"mat-hint"),e._uU(17),e.qZA(),e.YNc(18,Wl,2,1,"mat-error",26),e.YNc(19,Oc,2,2,"mat-error",26),e.YNc(20,H2,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 pt=e.oxw(3);return e.KtG(pt.lease_fee_base_sat=pe)}),e.qZA(),e.YNc(26,F2,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 pt=e.oxw(3);return e.KtG(pt.lease_fee_basis=pe)}),e.qZA(),e.YNc(31,s0,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 pt=e.oxw(3);return e.KtG(pt.channelFeeMaxBaseSat=pe)}),e.qZA(),e.YNc(37,o0,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 pt=e.oxw(3);return e.KtG(pt.channelFeeMaxProportional=pe)}),e.qZA(),e.YNc(42,z2,2,0,"mat-error",26),e.qZA()(),e.YNc(43,c0,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 D1(F,M){if(1&F&&(e.TgZ(0,"form",18,4),e.YNc(2,Ah,12,1,"div",26),e.YNc(3,Lh,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 I1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-expansion-panel",9),e.NdJ("opened",function(){const pt=e.CHM(_).index,Zt=e.oxw();return e.KtG(Zt.onPanelExpanded(pt))}),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,a0,1,0,"span",12),e.YNc(7,ll,1,0,"span",13),e._uU(8),e.qZA()()(),e.TgZ(9,"div",14),e.YNc(10,zo,29,5,"form",15),e.YNc(11,D1,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 dl{constructor(M,_,Z,pe){this.logger=M,this.store=_,this.dataService=Z,this.commonService=pe,this.faInfoCircle=Ji.sqG,this.faExclamationTriangle=Ji.eHv,this.faCode=Ji.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 Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.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(s2.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,En.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,on.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,$i.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()})}}dl.\u0275fac=function(M){return new(M||dl)(e.Y36(hi.mQ),e.Y36(Pi.yh),e.Y36(R2.D),e.Y36(Jr.v))},dl.\u0275cmp=e.Xpm({type:dl,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,I1,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:[qi.mk,qi.sg,qi.O5,ii._Y,ii.Fj,ii.wV,ii.JJ,ii.JL,ii.Q7,ii.qQ,ii.Fd,ii.On,ii.F,ft.BN,Te.xw,Te.Wh,Te.yH,kr.oO,yi.lW,lr.pp,lr.ib,lr.yz,lr.yK,pa.Nt,Di.KE,Di.hX,Di.bx,Di.TO,Zs.d,Yi.gD,rn.ey,Zr.Rr,dn.$V,wn.h,Zl.F,Fo.q,qi.rS],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});const d0=Bn.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:[_a.a1]},{path:"cln",loadChildren:()=>Promise.all([m.e(267),m.e(564)]).then(m.bind(m,9564)).then(F=>F.CLNModule),canActivate:[_a.a1]},{path:"ecl",loadChildren:()=>Promise.all([m.e(267),m.e(258)]).then(m.bind(m,7258)).then(F=>F.ECLModule),canActivate:[_a.a1]},{path:"settings",component:Ot,canActivate:[_a.a1],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:Ur,canActivate:[_a.a1]},{path:"auth",component:Xs,canActivate:[_a.a1]},{path:"bconfig",component:Wc,canActivate:[_a.a1]}]},{path:"config",component:xe,canActivate:[_a.a1],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:ic,canActivate:[_a.a1]},{path:"pglayout",component:qc,canActivate:[_a.a1]},{path:"services",component:$s,canActivate:[_a.a1],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:Po,canActivate:[_a.a1]},{path:"boltz",component:Xc,canActivate:[_a.a1]}]},{path:"experimental",component:dl,canActivate:[_a.a1]},{path:"lnconfig",component:sn,canActivate:[_a.a1]}]},{path:"services",component:ac,canActivate:[_a.a1],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:Mc},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:E1}]},{path:"help",component:sl},{path:"login",component:A1},{path:"error",component:cl},{path:"**",component:Gl.w}],{scrollPositionRestoration:"enabled"});var h0=m(9470),V2=m(8878),Dh=m(1572),ks=m(3267),u0=m(3683),go=m(7851),Qa=m(5423);const lc={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Ji.HLz,link:"/lnd/home",userPersona:Qe.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Ji.nNP,link:"/lnd/onchain",userPersona:Qe.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Ji.BDt,link:"/lnd/connections",userPersona:Qe.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Ji.FVb,link:"/lnd/connections",userPersona:Qe.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:Ji.Ssp,link:"/lnd/transactions",userPersona:Qe.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:Ji.SuH,link:"/lnd/routing",userPersona:Qe.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:Ji.koM,link:"/lnd/reports",userPersona:Qe.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Ji.wn1,link:"/lnd/graph",userPersona:Qe.ol.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:Ji.hkK,link:"/lnd/messages",userPersona:Qe.ol.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:Ji.q7m,link:"/lnd/channelbackup",userPersona:Qe.ol.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:Ji.TmZ,link:"/lnd/network",userPersona:Qe.ol.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:Ji.xf3,link:"/lnd/network",userPersona:Qe.ol.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:Ji.Krp,link:"/services/loop",userPersona:Qe.ol.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:Ji.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:Ji.CgH,link:"/config",userPersona:Qe.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:Ji.Psp,link:"/help",userPersona:Qe.ol.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Ji.HLz,link:"/cln/home",userPersona:Qe.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Ji.nNP,link:"/cln/onchain",userPersona:Qe.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Ji.BDt,link:"/cln/connections",userPersona:Qe.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Ji.FVb,link:"/cln/connections",userPersona:Qe.ol.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:Ji.Acd,link:"/cln/liquidityads",userPersona:Qe.ol.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:Ji.Ssp,link:"/cln/transactions",userPersona:Qe.ol.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:Ji.SuH,link:"/cln/routing",userPersona:Qe.ol.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:Ji.koM,link:"/cln/reports",userPersona:Qe.ol.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Ji.wn1,link:"/cln/graph",userPersona:Qe.ol.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:Ji.hkK,link:"/cln/messages",userPersona:Qe.ol.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:Ji.USL,link:"/cln/rates",userPersona:Qe.ol.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:Ji.xf3,link:"/cln/rates",userPersona:Qe.ol.MERCHANT}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:Ji.CgH,link:"/config",userPersona:Qe.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:Ji.Psp,link:"/help",userPersona:Qe.ol.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Ji.HLz,link:"/ecl/home",userPersona:Qe.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Ji.nNP,link:"/ecl/onchain",userPersona:Qe.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Ji.BDt,link:"/ecl/connections",userPersona:Qe.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Ji.FVb,link:"/ecl/connections",userPersona:Qe.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:Ji.Ssp,link:"/ecl/transactions",userPersona:Qe.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:Ji.SuH,link:"/ecl/routing",userPersona:Qe.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:Ji.koM,link:"/ecl/reports",userPersona:Qe.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Ji.wn1,link:"/ecl/graph",userPersona:Qe.ol.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:Ji.CgH,link:"/config",userPersona:Qe.ol.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:Ji.Psp,link:"/help",userPersona:Qe.ol.ALL}]};function c3(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 m0(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-select",9),e.NdJ("selectionChange",function(pe){e.CHM(_);const pt=e.oxw();return e.KtG(pt.onNodeSelectionChange(pe.value))}),e.TgZ(1,"perfect-scrollbar"),e.YNc(2,c3,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 B2(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 Ih(F,M){if(1&F&&e._UZ(0,"fa-icon",23),2&F){const _=e.oxw().$implicit;e.Q6J("icon",_.icon)}}function k1(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 U2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-tree-node",15)(1,"div",16),e.NdJ("click",function(){const pt=e.CHM(_).$implicit,Zt=e.oxw(2);return e.KtG(Zt.onChildNavClicked(pt))}),e.TgZ(2,"div",17),e.YNc(3,B2,2,1,"span",18),e.YNc(4,Ih,1,1,"fa-icon",19),e.YNc(5,k1,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 kh(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 G2(F,M){if(1&F&&e._UZ(0,"fa-icon",23),2&F){const _=e.oxw().$implicit;e.Q6J("icon",_.icon)}}function hl(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 Oh(F,M){if(1&F&&(e.TgZ(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),e.YNc(3,kh,2,1,"span",28),e.YNc(4,G2,1,1,"fa-icon",19),e.YNc(5,hl,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 Ph(F,M){if(1&F&&(e.TgZ(0,"mat-tree",5,12),e.YNc(2,U2,8,5,"mat-tree-node",13),e.YNc(3,Oh,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 p0(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 Nh(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 Z2(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 Rh(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-tree-node",16),e.NdJ("click",function(){const pt=e.CHM(_).$implicit,Zt=e.oxw();return e.KtG(Zt.onShowData(pt))}),e.YNc(1,p0,2,1,"span",18),e.YNc(2,Nh,1,2,"fa-icon",33),e.YNc(3,Z2,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 O1(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 ul(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 Vo(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-tree-node",16),e.NdJ("click",function(){const pt=e.CHM(_).$implicit,Zt=e.oxw(2);return e.KtG(Zt.onClick(pt))}),e.YNc(1,O1,2,1,"span",28),e.YNc(2,ul,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 Hh(F,M){if(1&F&&(e.TgZ(0,"mat-tree",5),e.YNc(1,Vo,5,3,"mat-tree-node",6),e.qZA()),2&F){const _=e.oxw();e.Q6J("dataSource",_.navMenusLogout)("treeControl",_.treeControlLogout)}}function g0(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 P1{constructor(M,_,Z,pe,pt,Zt){this.logger=M,this.commonService=_,this.sessionService=Z,this.store=pe,this.actions=pt,this.rtlEffects=Zt,this.ChildNavClicked=new e.vpe,this.faEject=Ji.KOR,this.faEye=Ji.Mdf,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:Ji.KOR}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:Ji.Mdf}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=Qe.ol,this.unSubs=[new Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x],this.treeControlNested=new go.VY(ei=>ei.children),this.treeControlLogout=new go.VY(ei=>ei.children),this.treeControlShowData=new go.VY(ei=>ei.children),this.navMenus=new Qa.WX,this.navMenusLogout=new Qa.WX,this.navMenusShowData=new Qa.WX,this.hasChild=(ei,pi)=>!!pi.children&&pi.children.length>0,this.version=_s.q4,lc.LNDChildren&&200===lc.LNDChildren[lc.LNDChildren.length-1].id&&lc.LNDChildren.pop(),this.navMenus.data=lc.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,Lr.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(lc.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(lc.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(lc.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()})}}P1.\u0275fac=function(M){return new(M||P1)(e.Y36(hi.mQ),e.Y36(Jr.v),e.Y36(cs.m),e.Y36(Pi.yh),e.Y36(Pa.eX),e.Y36(Mr.V))},P1.\u0275cmp=e.Xpm({type:P1,selectors:[["rtl-side-navigation"]],viewQuery:function(M,_){if(1&M&&e.Gf(Qa.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,m0,3,2,"mat-select",2),e._UZ(3,"mat-divider",3),e.YNc(4,Ph,4,3,"mat-tree",4),e._UZ(5,"mat-divider",3),e.TgZ(6,"mat-tree",5),e.YNc(7,Rh,6,4,"mat-tree-node",6),e.qZA()(),e.TgZ(8,"div",7),e.YNc(9,Hh,2,2,"mat-tree",4),e.qZA()(),e.YNc(10,g0,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:[qi.sg,qi.O5,qi.tP,ft.BN,Te.xw,Te.Wh,Te.yH,yi.RK,uo.Hw,Zs.d,Qa.GZ,Qa.fQ,Qa.eu,Qa.gi,Qa.uo,Qa.Ar,Yi.gD,rn.ey,Kc.gM,Bn.rH,Bn.Od,dn.Vv,dn.$V],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]});var W2=m(8255);function _0(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 Fh(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 v0(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 b0(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 jl{constructor(M,_,Z,pe,pt){this.logger=M,this.sessionService=_,this.store=Z,this.rtlEffects=pe,this.actions=pt,this.faUserCog=Ji.gNZ,this.faCodeBranch=Ji.mh3,this.faCode=Ji.dT$,this.faCog=Ji.b7W,this.faQuestion=Ji.Psp,this.faEject=Ji.KOR,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new Vi.x,new Vi.x,new Vi.x,new Vi.x],this.version=_s.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,Lr.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()})}}jl.\u0275fac=function(M){return new(M||jl)(e.Y36(hi.mQ),e.Y36(cs.m),e.Y36(Pi.yh),e.Y36(Mr.V),e.Y36(Pa.eX))},jl.\u0275cmp=e.Xpm({type:jl,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,_0,4,2,"p",4),e.YNc(7,Fh,4,1,"p",5),e.YNc(8,v0,4,1,"p",6),e.YNc(9,b0,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:[qi.O5,ft.BN,yi.RK,uo.Hw,W2.VK,W2.OP,W2.p6,Bn.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 y0=["sideNavigation"],zh=["sideNavContent"];function Vh(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 io(F,M){1&F&&(e.O4$(),e._UZ(0,"path",20))}function x0(F,M){1&F&&(e.O4$(),e._UZ(0,"path",21))}function C0(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,io,1,0,"path",18),e.YNc(3,x0,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 Bh(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 Uh(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 w0(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 Gh=function(F,M){return[F,M]};class fl{constructor(M,_,Z,pe,pt,Zt,ei,pi,Ii){this.logger=M,this.commonService=_,this.store=Z,this.actions=pe,this.userIdle=pt,this.router=Zt,this.sessionService=ei,this.breakpointObserver=pi,this.renderer=Ii,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 Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x]}ngOnInit(){this.router.events.subscribe(M=>{M instanceof Bn.m2&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([kn.u3.XSmall,kn.u3.TabletPortrait,kn.u3.Small,kn.u3.Medium,kn.u3.Large,kn.u3.XLarge]).pipe((0,nn.R)(this.unSubs[0])).subscribe(M=>{M.breakpoints[kn.u3.XSmall]?(this.commonService.setScreenSize(Qe.cu.XS),this.smallScreen=!0):M.breakpoints[kn.u3.TabletPortrait]?(this.commonService.setScreenSize(Qe.cu.SM),this.smallScreen=!0):M.breakpoints[kn.u3.Small]||M.breakpoints[kn.u3.Medium]?(this.commonService.setScreenSize(Qe.cu.MD),this.smallScreen=!1):M.breakpoints[kn.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,Lr.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:Gr(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()})}}fl.\u0275fac=function(M){return new(M||fl)(e.Y36(hi.mQ),e.Y36(Jr.v),e.Y36(Pi.yh),e.Y36(Pa.eX),e.Y36(xl),e.Y36(Bn.F0),e.Y36(cs.m),e.Y36(kn.Yg),e.Y36(e.Qsj))},fl.\u0275cmp=e.Xpm({type:fl,selectors:[["rtl-app"]],viewQuery:function(M,_){if(1&M&&(e.Gf(y0,5),e.Gf(zh,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,Vh,3,2,"button",2),e.YNc(6,C0,4,3,"button",3),e.qZA(),e.TgZ(7,"div"),e.YNc(8,Bh,2,1,"span",4),e.YNc(9,Uh,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,w0,4,0,"div",13),e.qZA()),2&M&&(e.Q6J("ngClass",e.WLB(12,Gh,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:[qi.mk,qi.O5,Te.xw,Te.Wh,Te.yH,kr.oO,yi.RK,uo.Hw,Dh.Ou,ks.JX,ks.TM,ks.Rh,u0.Ye,Kc.gM,dn.$V,P1,jl,Bn.lC,qi.i8],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[V2.g]}});class ml{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)}}ml.\u0275fac=function(M){return new(M||ml)(e.LFG(cs.m))},ml.\u0275prov=e.Yz7({token:ml,factory:ml.\u0275fac});var Zh=m(7998),Y2=m(711),zn=m(4947),M0=m(3289);const j2={userPersona:"OPERATOR",themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1},K2={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},S0={apiURL:"",apisCallStatus:{Login:{status:Qe.Bn.UN_INITIATED},IsAuthorized:{status:Qe.Bn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:j2,authentication:K2,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,sso:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,allowPasswordUpdate:!0,nodes:[{settings:j2,authentication:K2}]},nodeData:{}},E0=(0,Pi.Lq)(S0,(0,Pi.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,Pi.on)(Jt.vI,(F,{payload:M})=>({...S0,apisCallStatus:F.apisCallStatus,appConfig:F.appConfig,selNode:M})),(0,Pi.on)(Jt.fk,(F,{payload:M})=>({...F,selNode:M.currentLnNode})),(0,Pi.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,Pi.on)(Jt._V,(F,{payload:M})=>({...F,nodeData:M})),(0,Pi.on)(Jt.XT,(F,{payload:M})=>({...F,appConfig:M}))),Q2={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 T0=!1,q2=!1;const A0=(0,Pi.Lq)(Q2,(0,Pi.on)(En.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,Pi.on)(En.JT,(F,{payload:M})=>({...F,nodeSettings:M})),(0,Pi.on)(En.Ll,(F,{payload:M})=>({...Q2,nodeSettings:M})),(0,Pi.on)(En.CX,(F,{payload:M})=>({...F,information:M})),(0,Pi.on)(En.Z8,(F,{payload:M})=>({...F,peers:M})),(0,Pi.on)(En.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,Pi.on)(En.YP,(F,{payload:M})=>{const _=F.listInvoices;return _.invoices?.unshift(M),{...F,listInvoices:_}}),(0,Pi.on)(En.aL,(F,{payload:M})=>{const _=F.listInvoices;return _.invoices=_.invoices?.map(Z=>Z.payment_request===M.payment_request?M:Z),{...F,listInvoices:_}}),(0,Pi.on)(En.qY,(F,{payload:M})=>{const _=F.listPayments;return _.payments=_.payments?.map(Z=>Z.payment_hash===M.payment_hash?M:Z),{...F,listPayments:_}}),(0,Pi.on)(En.RX,(F,{payload:M})=>({...F,fees:M})),(0,Pi.on)(En._L,(F,{payload:M})=>({...F,closedChannels:M})),(0,Pi.on)(En.TW,(F,{payload:M})=>({...F,pendingChannels:M.pendingChannels,pendingChannelsSummary:M.pendingChannelsSummary})),(0,Pi.on)(En.as,(F,{payload:M})=>{let _=0,Z=0,pe=0,pt=0,Zt=0,ei=0;return M&&M.forEach(pi=>{pi.local_balance||(pi.local_balance=0),!0===pi.active?(Zt+=+pi.local_balance,pe+=1,pi.local_balance?_=+_+ +pi.local_balance:pi.local_balance=0,pi.remote_balance?Z=+Z+ +pi.remote_balance:pi.remote_balance=0):(ei+=+pi.local_balance,pt+=1)}),{...F,channels:M,channelsSummary:{active:{num_channels:pe,capacity:Zt},inactive:{num_channels:pt,capacity:ei}},lightningBalance:{local:_,remote:Z}}}),(0,Pi.on)(En.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,Pi.on)(En.Jl,(F,{payload:M})=>({...F,blockchainBalance:M})),(0,Pi.on)(En.ks,(F,{payload:M})=>({...F,networkInfo:M})),(0,Pi.on)(En.Nr,(F,{payload:M})=>(M.total_invoices||(M.total_invoices=F.listInvoices.total_invoices),{...F,listInvoices:M})),(0,Pi.on)(En.Lf,(F,{payload:M})=>{if(T0=!0,M.length&&q2){const _=[...F.utxos];return _.forEach(Z=>{const pe=M.find(pt=>pt.tx_hash===Z.outpoint?.txid_str);Z.label=pe&&pe.label?pe.label:""}),{...F,utxos:_,transactions:M}}return{...F,transactions:M}}),(0,Pi.on)(En.UH,(F,{payload:M})=>{if(q2=!0,M.length&&T0){const _=[...F.transactions];M.forEach(Z=>{const pe=_.find(pt=>pt.tx_hash===Z.outpoint?.txid_str);Z.label=pe&&pe.label?pe.label:""})}return{...F,utxos:M}}),(0,Pi.on)(En.HI,(F,{payload:M})=>{const _={listInvoicesAll:F.allLightningTransactions.listInvoicesAll,listPaymentsAll:M};return{...F,listPayments:M,allLightningTransactions:_}}),(0,Pi.on)(En.Fr,(F,{payload:M})=>{const _={listInvoicesAll:M.listInvoicesAll,listPaymentsAll:F.listPayments};return{...F,allLightningTransactions:_}}),(0,Pi.on)(En.QJ,(F,{payload:M})=>{const _=[...F.channels,...F.closedChannels];let Z=M.forwarding_events?JSON.parse(JSON.stringify(M)):{};return Z.forwarding_events&&(Z=Wh(Z,_)),{...F,forwardingHistory:Z}}),(0,Pi.on)(En.pd,(F,{payload:M})=>{const _=[];return Qe.gK.forEach(Z=>{const pe=M&&M.length&&M.length>0?M.find(pt=>pt.pageId===Z.pageId):null;if(pe){const pt=JSON.parse(JSON.stringify(pe.tables));pe.tables=[],Z.tables.forEach(Zt=>{const ei=pt.find(pi=>pi.tableId===Zt.tableId)||null;pe.tables.push(ei||JSON.parse(JSON.stringify(Zt)))}),_.push(pe)}else _.push(JSON.parse(JSON.stringify(Z)))}),{...F,pageSettings:_}})),Wh=(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),Yh={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:[]},J2=(0,Pi.Lq)(Yh,(0,Pi.on)(on.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,Pi.on)(on.oo,(F,{payload:M})=>({...F,nodeSettings:M})),(0,Pi.on)(on.xH,(F,{payload:M})=>({...Yh,nodeSettings:M})),(0,Pi.on)(on.CX,(F,{payload:M})=>({...F,information:M})),(0,Pi.on)(on.RX,(F,{payload:M})=>({...F,fees:M})),(0,Pi.on)(on.I8,(F,{payload:M})=>M.perkb?{...F,feeRatesPerKB:M}:M.perkw?{...F,feeRatesPerKW:M}:{...F}),(0,Pi.on)(on.Lu,(F,{payload:M})=>({...F,balance:M})),(0,Pi.on)(on.xS,(F,{payload:M})=>({...F,localRemoteBalance:M})),(0,Pi.on)(on.Z8,(F,{payload:M})=>({...F,peers:M})),(0,Pi.on)(on.X3,(F,{payload:M})=>({...F,peers:[...F.peers,M]})),(0,Pi.on)(on.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,Pi.on)(on.as,(F,{payload:M})=>({...F,activeChannels:M.activeChannels,pendingChannels:M.pendingChannels,inactiveChannels:M.inactiveChannels})),(0,Pi.on)(on.OG,(F,{payload:M})=>{const _=[...F.peers];return _.forEach(Z=>{Z.id===M.id&&(Z.connected=!1,delete Z.netaddr)}),{...F,peers:_}}),(0,Pi.on)(on.HI,(F,{payload:M})=>({...F,payments:M})),(0,Pi.on)(on.QJ,(F,{payload:M})=>{const _=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels],Z=L0(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,Pi.on)(on.YP,(F,{payload:M})=>{const _=F.invoices;return _.invoices?.unshift(M),{...F,invoices:_}}),(0,Pi.on)(on.Nr,(F,{payload:M})=>({...F,invoices:M})),(0,Pi.on)(on.aL,(F,{payload:M})=>{const _=F.invoices;return _.invoices=_.invoices?.map(Z=>Z.label===M.label?M:Z),{...F,invoices:_}}),(0,Pi.on)(on.UH,(F,{payload:M})=>({...F,utxos:M})),(0,Pi.on)(on.Zu,(F,{payload:M})=>({...F,offers:M})),(0,Pi.on)(on.ZH,(F,{payload:M})=>{const _=F.offers;return _?.unshift(M),{...F,offers:_}}),(0,Pi.on)(on.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,Pi.on)(on.d7,(F,{payload:M})=>({...F,offersBookmarks:M})),(0,Pi.on)(on.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,Pi.on)(on.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,Pi.on)(on.pd,(F,{payload:M})=>{const _=[];return Qe.gG.forEach(Z=>{const pe=M&&M.length&&M.length>0?M.find(pt=>pt.pageId===Z.pageId):null;if(pe){const pt=JSON.parse(JSON.stringify(pe.tables));pe.tables=[],Z.tables.forEach(Zt=>{const ei=pt.find(pi=>pi.tableId===Zt.tableId)||null;pe.tables.push(ei||JSON.parse(JSON.stringify(Zt)))}),_.push(pe)}else _.push(JSON.parse(JSON.stringify(Z)))}),{...F,pageSettings:_}})),L0=(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),Bo={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:[]},jh=(0,Pi.Lq)(Bo,(0,Pi.on)($i.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,Pi.on)($i.Zr,(F,{payload:M})=>({...F,nodeSettings:M})),(0,Pi.on)($i.Fd,(F,{payload:M})=>({...Bo,nodeSettings:M})),(0,Pi.on)($i.CX,(F,{payload:M})=>({...F,information:M})),(0,Pi.on)($i.RX,(F,{payload:M})=>({...F,fees:M})),(0,Pi.on)($i.eN,(F,{payload:M})=>({...F,activeChannels:M})),(0,Pi.on)($i.TW,(F,{payload:M})=>({...F,pendingChannels:M})),(0,Pi.on)($i.i,(F,{payload:M})=>({...F,inactiveChannels:M})),(0,Pi.on)($i.HG,(F,{payload:M})=>({...F,channelsStatus:M})),(0,Pi.on)($i.Bw,(F,{payload:M})=>({...F,onchainBalance:M})),(0,Pi.on)($i.On,(F,{payload:M})=>({...F,lightningBalance:M})),(0,Pi.on)($i.Z8,(F,{payload:M})=>({...F,peers:M})),(0,Pi.on)($i.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,Pi.on)($i.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,Pi.on)($i.HI,(F,{payload:M})=>{if(M&&M.sent){const _=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels];M.sent?.map(Z=>{const pe=F.peers.find(pt=>pt.nodeId===Z.recipientNodeId);return Z.recipientNodeAlias=pe?pe.alias:Z.recipientNodeId,Z.parts&&Z.parts?.map(pt=>{const Zt=_.find(ei=>ei.channelId===pt.toChannelId);return pt.toChannelAlias=Zt?Zt.alias:pt.toChannelId,Z.parts}),M.sent})}if(M&&M.relayed){const _=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels];M.relayed.forEach(Z=>{Z=N1(Z,_)})}return{...F,payments:M}}),(0,Pi.on)($i.Lf,(F,{payload:M})=>({...F,transactions:M})),(0,Pi.on)($i.YP,(F,{payload:M})=>{const _=F.invoices;return _?.unshift(M),{...F,invoices:_}}),(0,Pi.on)($i.Nr,(F,{payload:M})=>({...F,invoices:M})),(0,Pi.on)($i.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,Pi.on)($i.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,Pi.on)($i.ti,(F,{payload:M})=>{const _=F.payments,Z=N1(M,[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels]);Z.amountIn=Math.round((M.amountIn||0)/1e3),Z.amountOut=Math.round((M.amountOut||0)/1e3),_.relayed?.unshift(Z);const pe=(M.amountIn||0)-(M.amountOut||0),pt={localBalance:F.lightningBalance.localBalance+pe,remoteBalance:F.lightningBalance.remoteBalance-pe},Zt=F.channelsStatus;Zt.active&&(Zt.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},pi=F.activeChannels;let Ii=!1,en=!1;for(const Wi of pi){if(Wi.channelId===M.fromChannelId){Ii=!0;const Pn=(Wi.toLocal||0)+(Wi.toRemote||0);Wi.toLocal=(Wi.toLocal||0)+Z.amountIn,Wi.toRemote=(Wi.toRemote||0)-Z.amountIn,Wi.balancedness=0===Pn?1:+(1-Math.abs((Wi.toLocal-Wi.toRemote)/Pn)).toFixed(3)}if(Wi.channelId===M.toChannelId){en=!0;const Pn=(Wi.toLocal||0)+(Wi.toRemote||0);Wi.toLocal=(Wi.toLocal||0)-Z.amountOut,Wi.toRemote=(Wi.toRemote||0)+Z.amountOut,Wi.balancedness=0===Pn?1:+(1-Math.abs((Wi.toLocal-Wi.toRemote)/Pn)).toFixed(3)}if(en&&Ii)break}return{...F,payments:_,lightningBalance:pt,channelStatus:Zt,fees:ei,activeChannels:pi}}),(0,Pi.on)($i.pd,(F,{payload:M})=>{const _=[];return Qe.c3.forEach(Z=>{const pe=M&&M.length&&M.length>0?M.find(pt=>pt.pageId===Z.pageId):null;if(pe){const pt=JSON.parse(JSON.stringify(pe.tables));pe.tables=[],Z.tables.forEach(Zt=>{const ei=pt.find(pi=>pi.tableId===Zt.tableId)||null;pe.tables.push(ei||JSON.parse(JSON.stringify(Zt)))}),_.push(pe)}else _.push(JSON.parse(JSON.stringify(Z)))}),{...F,pageSettings:_}})),N1=(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};class Uo{}Uo.\u0275fac=function(M){return new(M||Uo)},Uo.\u0275mod=e.oAB({type:Uo,bootstrap:[fl]}),Uo.\u0275inj=e.cJS({providers:[{provide:sa.TP,useClass:ml,multi:!0},_a.a1,cs.m,R2.D,Zh.d,c1.W,Jr.v,oc],imports:[Bs,h0.m,d0,kn.xu,t.t6,ec.forRoot({idle:3590,timeout:10,ping:12e3}),Pi.Aw.forRoot({root:E0,lnd:A0,cln:J2,ecl:jh},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),Pa.sQ.forRoot([Mr.V,Y2.l,zn.J,M0.o]),_s.NZ.production?[]:gs.FT.instrument()]}),_s.NZ.production&&(0,e.G48)(),t.q6().bootstrapModule(Uo).catch(F=>console.log(F))},7854:(ze,K)=>{"use strict";function m(ue){return Object.keys(ue).map(ye=>ue[ye])}var ue;Object.defineProperty(K,"__esModule",{value:!0}),(ue=K.HashAlgorithms||(K.HashAlgorithms={})).SHA1="sha1",ue.SHA256="sha256",ue.SHA512="sha512";const t=m(K.HashAlgorithms);!function(ue){ue.ASCII="ascii",ue.BASE64="base64",ue.HEX="hex",ue.LATIN1="latin1",ue.UTF8="utf8"}(K.KeyEncodings||(K.KeyEncodings={}));const e=m(K.KeyEncodings);!function(ue){ue.HOTP="hotp",ue.TOTP="totp"}(K.Strategy||(K.Strategy={}));const g=m(K.Strategy),k=()=>{throw new Error("Please provide an options.createDigest implementation.")};function o(ue){return/^(\d+)$/.test(ue)}function C(ue,ye,we){return ue.length>=ye?ue:`${Array(ye+1).join(we)}${ue}`.slice(-1*ye)}function h(ue){const ye=`otpauth://${ue.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,we=[];if(g.indexOf(ue.type)<0)throw new Error(`Expecting options.type to be one of ${g.join(", ")}. Received ${ue.type}.`);if("hotp"===ue.type){if(null==ue.counter||"number"!=typeof ue.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');we.push(`&counter=${ue.counter}`)}return"totp"===ue.type&&ue.step&&we.push(`&period=${ue.step}`),ue.digits&&we.push(`&digits=${ue.digits}`),ue.algorithm&&we.push(`&algorithm=${ue.algorithm.toUpperCase()}`),ue.issuer&&we.push(`&issuer=${encodeURIComponent(ue.issuer)}`),ye.replace("{labelPrefix}",encodeURIComponent(ue.issuer||ue.accountName)).replace("{accountName}",encodeURIComponent(ue.accountName)).replace("{secret}",ue.secret).replace("{query}",we.join(""))}class P{constructor(ye={}){this._defaultOptions=Object.freeze({...ye}),this._options=Object.freeze({})}create(ye={}){return new P(ye)}clone(ye={}){const we=this.create({...this._defaultOptions,...ye});return we.options=this._options,we}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(ye){this._options=Object.freeze({...this._options,...ye})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function u(ue){if("function"!=typeof ue.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof ue.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof ue.digits)throw new Error("Expecting options.digits to be a number.");if(!ue.algorithm||t.indexOf(ue.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${t.join(", ")}. Received ${ue.algorithm}.`);if(!ue.encoding||e.indexOf(ue.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${e.join(", ")}. Received ${ue.encoding}.`)}const I=(ue,ye,we)=>Buffer.from(ye,we).toString("hex");function S(){return{algorithm:K.HashAlgorithms.SHA1,createHmacKey:I,createDigest:k,digits:6,encoding:K.KeyEncodings.ASCII}}function A(ue){const ye={...S(),...ue};return u(ye),Object.freeze(ye)}function w(ue){return C(ue.toString(16),16,"0")}function R(ue,ye){const we=Buffer.from(ue,"hex"),he=15&we[we.length-1],De=((127&we[he])<<24|(255&we[he+1])<<16|(255&we[he+2])<<8|255&we[he+3])%Math.pow(10,ye);return C(String(De),ye,"0")}function U(ue,ye,we){const he=we.digest||function E(ue,ye,we){const he=w(ye),it=we.createHmacKey(we.algorithm,ue,we.encoding);return we.createDigest(we.algorithm,it,he)}(ue,ye,we);return R(he,we.digits)}function Y(ue,ye,we,he){return!!o(ue)&&ue===U(ye,we,he)}function Q(ue,ye,we,he,it){return h({algorithm:it.algorithm,digits:it.digits,type:K.Strategy.HOTP,accountName:ue,counter:he,issuer:ye,secret:we})}class X extends P{create(ye={}){return new X(ye)}allOptions(){return A(this.options)}generate(ye,we){return U(ye,we,this.allOptions())}check(ye,we,he){return Y(ye,we,he,this.allOptions())}verify(ye){if("object"!=typeof ye)throw new Error("Expecting argument 0 of verify to be an object");return this.check(ye.token,ye.secret,ye.counter)}keyuri(ye,we,he,it){return Q(ye,we,he,it,this.allOptions())}}function $(ue){if("number"==typeof ue)return[Math.abs(ue),Math.abs(ue)];if(Array.isArray(ue)){const[ye,we]=ue;if("number"==typeof ye&&"number"==typeof we)return[Math.abs(ye),Math.abs(we)]}throw new Error("Expecting options.window to be an number or [number, number].")}function fe(ue){if(u(ue),$(ue.window),"number"!=typeof ue.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof ue.step)throw new Error("Expecting options.step to be a number.")}const re=(ue,ye,we)=>{const he=ue.length,it=Buffer.from(ue,ye).toString("hex");if(he<we){const De=new Array(we-he+1).join(it);return Buffer.from(De,"hex").slice(0,we).toString("hex")}return it},ee=(ue,ye,we)=>{switch(ue){case K.HashAlgorithms.SHA1:return re(ye,we,20);case K.HashAlgorithms.SHA256:return re(ye,we,32);case K.HashAlgorithms.SHA512:return re(ye,we,64);default:throw new Error(`Expecting algorithm to be one of ${t.join(", ")}. Received ${ue}.`)}};function ce(){return{algorithm:K.HashAlgorithms.SHA1,createDigest:k,createHmacKey:ee,digits:6,encoding:K.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function se(ue){const ye={...ce(),...ue};return fe(ye),Object.freeze(ye)}function le(ue,ye){return Math.floor(ue/ye/1e3)}function L(ue,ye){return U(ue,le(ye.epoch,ye.step),ye)}function i(ue,ye,we,he){const it=[];if(0===he)return it;for(let De=1;De<=he;De++)it.push(ue+ye*De*we);return it}function r(ue,ye,we){const he=$(we),it=1e3*ye;return{current:ue,past:i(ue,-1,it,he[0]),future:i(ue,1,it,he[1])}}function d(ue,ye,we){return!!o(ue)&&ue===L(ye,we)}function c(ue,ye,we,he){let it=null;return ue.some((De,oe)=>!!d(ye,we,{...he,epoch:De})&&(it=oe+1,!0)),it}function b(ue,ye,we){if(d(ue,ye,we))return 0;const he=r(we.epoch,we.step,we.window),it=c(he.past,ue,ye,we);return null!==it?-1*it:c(he.future,ue,ye,we)}function T(ue,ye){return Math.floor(ue/1e3)%ye}function N(ue,ye){return ye-T(ue,ye)}function v(ue,ye,we,he){return h({algorithm:he.algorithm,digits:he.digits,step:he.step,type:K.Strategy.TOTP,accountName:ue,issuer:ye,secret:we})}class n extends X{create(ye={}){return new n(ye)}allOptions(){return se(this.options)}generate(ye){return L(ye,this.allOptions())}checkDelta(ye,we){return b(ye,we,this.allOptions())}check(ye,we){return"number"==typeof this.checkDelta(ye,we)}verify(ye){if("object"!=typeof ye)throw new Error("Expecting argument 0 of verify to be an object");return this.check(ye.token,ye.secret)}timeRemaining(){const ye=this.allOptions();return N(ye.epoch,ye.step)}timeUsed(){const ye=this.allOptions();return T(ye.epoch,ye.step)}keyuri(ye,we,he){return v(ye,we,he,this.allOptions())}}function y(ue){if(fe(ue),"function"!=typeof ue.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(ue.keyEncoder&&"function"!=typeof ue.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function B(){return{algorithm:K.HashAlgorithms.SHA1,createDigest:k,createHmacKey:ee,digits:6,encoding:K.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function z(ue){const ye={...B(),...ue};return y(ye),Object.freeze(ye)}function W(ue,ye){return ye.keyEncoder(ue,ye.encoding)}function Le(ue,ye){return ye.keyDecoder(ue,ye.encoding)}function Ve(ue,ye){return W(ye.createRandomBytes(ue,ye.encoding),ye)}function Ke(ue,ye){return L(Le(ue,ye),ye)}function $e(ue,ye,we){return b(ue,Le(ye,we),we)}class Ae extends n{create(ye={}){return new Ae(ye)}allOptions(){return z(this.options)}generate(ye){return Ke(ye,this.allOptions())}checkDelta(ye,we){return $e(ye,we,this.allOptions())}encode(ye){return W(ye,this.allOptions())}decode(ye){return Le(ye,this.allOptions())}generateSecret(ye=10){return Ve(ye,this.allOptions())}}K.Authenticator=Ae,K.HASH_ALGORITHMS=t,K.HOTP=X,K.KEY_ENCODINGS=e,K.OTP=P,K.STRATEGY=g,K.TOTP=n,K.authenticatorCheckWithWindow=$e,K.authenticatorDecoder=Le,K.authenticatorDefaultOptions=B,K.authenticatorEncoder=W,K.authenticatorGenerateSecret=Ve,K.authenticatorOptionValidator=y,K.authenticatorOptions=z,K.authenticatorToken=Ke,K.createDigestPlaceholder=k,K.hotpCheck=Y,K.hotpCounter=w,K.hotpCreateHmacKey=I,K.hotpDefaultOptions=S,K.hotpDigestToToken=R,K.hotpKeyuri=Q,K.hotpOptions=A,K.hotpOptionsValidator=u,K.hotpToken=U,K.isTokenValid=o,K.keyuri=h,K.objectValues=m,K.padStart=C,K.totpCheck=d,K.totpCheckByEpoch=c,K.totpCheckWithWindow=b,K.totpCounter=le,K.totpCreateHmacKey=ee,K.totpDefaultOptions=ce,K.totpEpochAvailable=r,K.totpKeyuri=v,K.totpOptions=se,K.totpOptionsValidator=fe,K.totpPadSecret=re,K.totpTimeRemaining=N,K.totpTimeUsed=T,K.totpToken=L},6098:(ze,K,m)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0});var e=function t(o){return o&&"object"==typeof o&&"default"in o?o.default:o}(m(1348));K.createDigest=(o,C,h)=>e.createHmac(o,Buffer.from(C,"hex")).update(Buffer.from(h,"hex")).digest().toString("hex"),K.createRandomBytes=(o,C)=>e.randomBytes(o).toString(C)},1415:(ze,K,m)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0});var e=function t(o){return o&&"object"==typeof o&&"default"in o?o.default:o}(m(2167));K.keyDecoder=(o,C)=>e.decode(o).toString(C),K.keyEncoder=(o,C)=>e.encode(Buffer.from(o,C).toString("ascii")).toString().replace(/=/g,"")},842:(ze,K,m)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0});var t=m(6098),e=m(1415),g=m(7854);const k=new g.HOTP({createDigest:t.createDigest}),o=new g.TOTP({createDigest:t.createDigest}),C=new g.Authenticator({createDigest:t.createDigest,createRandomBytes:t.createRandomBytes,keyDecoder:e.keyDecoder,keyEncoder:e.keyEncoder});K.authenticator=C,K.hotp=k,K.totp=o},7977:(ze,K,m)=>{"use strict";const t=K;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:(ze,K,m)=>{"use strict";const t=m(1131),e=m(196),g=m(3894);function o(C,h){this.name=C,this.body=h,this.decoders={},this.encoders={}}K.define=function(h,P){return new o(h,P)},o.prototype._createNamed=function(h){const P=this.name;function u(I){this._initNamed(I,P)}return g(u,h),u.prototype._initNamed=function(S,A){h.call(this,S,A)},new u(this)},o.prototype._getDecoder=function(h){return this.decoders.hasOwnProperty(h=h||"der")||(this.decoders[h]=this._createNamed(e[h])),this.decoders[h]},o.prototype.decode=function(h,P,u){return this._getDecoder(P).decode(h,u)},o.prototype._getEncoder=function(h){return this.encoders.hasOwnProperty(h=h||"der")||(this.encoders[h]=this._createNamed(t[h])),this.encoders[h]},o.prototype.encode=function(h,P,u){return this._getEncoder(P).encode(h,u)}},2769:(ze,K,m)=>{"use strict";const t=m(3894),e=m(4919).b,g=m(2038).Buffer;function k(C,h){e.call(this,h),g.isBuffer(C)?(this.base=C,this.offset=0,this.length=C.length):this.error("Input not Buffer")}function o(C,h){if(Array.isArray(C))this.length=0,this.value=C.map(function(P){return o.isEncoderBuffer(P)||(P=new o(P,h)),this.length+=P.length,P},this);else if("number"==typeof C){if(!(0<=C&&C<=255))return h.error("non-byte EncoderBuffer value");this.value=C,this.length=1}else if("string"==typeof C)this.value=C,this.length=g.byteLength(C);else{if(!g.isBuffer(C))return h.error("Unsupported type: "+typeof C);this.value=C,this.length=C.length}}t(k,e),K.C=k,k.isDecoderBuffer=function(h){return h instanceof k||"object"==typeof h&&g.isBuffer(h.base)&&"DecoderBuffer"===h.constructor.name&&"number"==typeof h.offset&&"number"==typeof h.length&&"function"==typeof h.save&&"function"==typeof h.restore&&"function"==typeof h.isEmpty&&"function"==typeof h.readUInt8&&"function"==typeof h.skip&&"function"==typeof h.raw},k.prototype.save=function(){return{offset:this.offset,reporter:e.prototype.save.call(this)}},k.prototype.restore=function(h){const P=new k(this.base);return P.offset=h.offset,P.length=this.offset,this.offset=h.offset,e.prototype.restore.call(this,h.reporter),P},k.prototype.isEmpty=function(){return this.offset===this.length},k.prototype.readUInt8=function(h){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(h||"DecoderBuffer overrun")},k.prototype.skip=function(h,P){if(!(this.offset+h<=this.length))return this.error(P||"DecoderBuffer overrun");const u=new k(this.base);return u._reporterState=this._reporterState,u.offset=this.offset,u.length=this.offset+h,this.offset+=h,u},k.prototype.raw=function(h){return this.base.slice(h?h.offset:this.offset,this.length)},K.R=o,o.isEncoderBuffer=function(h){return h instanceof o||"object"==typeof h&&"EncoderBuffer"===h.constructor.name&&"number"==typeof h.length&&"function"==typeof h.join},o.prototype.join=function(h,P){return h||(h=g.alloc(this.length)),P||(P=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(u){u.join(h,P),P+=u.length}):("number"==typeof this.value?h[P]=this.value:"string"==typeof this.value?h.write(this.value,P):g.isBuffer(this.value)&&this.value.copy(h,P),P+=this.length)),h}},7813:(ze,K,m)=>{"use strict";const t=K;t.Reporter=m(4919).b,t.DecoderBuffer=m(2769).C,t.EncoderBuffer=m(2769).R,t.Node=m(1430)},1430:(ze,K,m)=>{"use strict";const t=m(4919).b,e=m(2769).R,g=m(2769).C,k=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(I,S,A){const w={};this._baseState=w,w.name=A,w.enc=I,w.parent=S||null,w.children=null,w.tag=null,w.args=null,w.reverseArgs=null,w.choice=null,w.optional=!1,w.any=!1,w.obj=!1,w.use=null,w.useDecoder=null,w.key=null,w.default=null,w.explicit=null,w.implicit=null,w.contains=null,w.parent||(w.children=[],this._wrap())}ze.exports=P;const u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];P.prototype.clone=function(){const S=this._baseState,A={};u.forEach(function(R){A[R]=S[R]});const w=new this.constructor(A.parent);return w._baseState=A,w},P.prototype._wrap=function(){const S=this._baseState;C.forEach(function(A){this[A]=function(){const R=new this.constructor(this);return S.children.push(R),R[A].apply(R,arguments)}},this)},P.prototype._init=function(S){const A=this._baseState;k(null===A.parent),S.call(this),A.children=A.children.filter(function(w){return w._baseState.parent===this},this),k.equal(A.children.length,1,"Root node can have only one child")},P.prototype._useArgs=function(S){const A=this._baseState,w=S.filter(function(R){return R instanceof this.constructor},this);S=S.filter(function(R){return!(R instanceof this.constructor)},this),0!==w.length&&(k(null===A.children),A.children=w,w.forEach(function(R){R._baseState.parent=this},this)),0!==S.length&&(k(null===A.args),A.args=S,A.reverseArgs=S.map(function(R){if("object"!=typeof R||R.constructor!==Object)return R;const E={};return Object.keys(R).forEach(function(U){U==(0|U)&&(U|=0),E[R[U]]=U}),E}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(I){P.prototype[I]=function(){throw new Error(I+" not implemented for encoding: "+this._baseState.enc)}}),o.forEach(function(I){P.prototype[I]=function(){const A=this._baseState,w=Array.prototype.slice.call(arguments);return k(null===A.tag),A.tag=I,this._useArgs(w),this}}),P.prototype.use=function(S){k(S);const A=this._baseState;return k(null===A.use),A.use=S,this},P.prototype.optional=function(){return this._baseState.optional=!0,this},P.prototype.def=function(S){const A=this._baseState;return k(null===A.default),A.default=S,A.optional=!0,this},P.prototype.explicit=function(S){const A=this._baseState;return k(null===A.explicit&&null===A.implicit),A.explicit=S,this},P.prototype.implicit=function(S){const A=this._baseState;return k(null===A.explicit&&null===A.implicit),A.implicit=S,this},P.prototype.obj=function(){const S=this._baseState,A=Array.prototype.slice.call(arguments);return S.obj=!0,0!==A.length&&this._useArgs(A),this},P.prototype.key=function(S){const A=this._baseState;return k(null===A.key),A.key=S,this},P.prototype.any=function(){return this._baseState.any=!0,this},P.prototype.choice=function(S){const A=this._baseState;return k(null===A.choice),A.choice=S,this._useArgs(Object.keys(S).map(function(w){return S[w]})),this},P.prototype.contains=function(S){const A=this._baseState;return k(null===A.use),A.contains=S,this},P.prototype._decode=function(S,A){const w=this._baseState;if(null===w.parent)return S.wrapResult(w.children[0]._decode(S,A));let Y,R=w.default,E=!0,U=null;if(null!==w.key&&(U=S.enterKey(w.key)),w.optional){let Q=null;if(null!==w.explicit?Q=w.explicit:null!==w.implicit?Q=w.implicit:null!==w.tag&&(Q=w.tag),null!==Q||w.any){if(E=this._peekTag(S,Q,w.any),S.isError(E))return E}else{const X=S.save();try{null===w.choice?this._decodeGeneric(w.tag,S,A):this._decodeChoice(S,A),E=!0}catch{E=!1}S.restore(X)}}if(w.obj&&E&&(Y=S.enterObject()),E){if(null!==w.explicit){const X=this._decodeTag(S,w.explicit);if(S.isError(X))return X;S=X}const Q=S.offset;if(null===w.use&&null===w.choice){let X;w.any&&(X=S.save());const $=this._decodeTag(S,null!==w.implicit?w.implicit:w.tag,w.any);if(S.isError($))return $;w.any?R=S.raw(X):S=$}if(A&&A.track&&null!==w.tag&&A.track(S.path(),Q,S.length,"tagged"),A&&A.track&&null!==w.tag&&A.track(S.path(),S.offset,S.length,"content"),w.any||(R=null===w.choice?this._decodeGeneric(w.tag,S,A):this._decodeChoice(S,A)),S.isError(R))return R;if(!w.any&&null===w.choice&&null!==w.children&&w.children.forEach(function($){$._decode(S,A)}),w.contains&&("octstr"===w.tag||"bitstr"===w.tag)){const X=new g(R);R=this._getUse(w.contains,S._reporterState.obj)._decode(X,A)}}return w.obj&&E&&(R=S.leaveObject(Y)),null===w.key||null===R&&!0!==E?null!==U&&S.exitKey(U):S.leaveKey(U,w.key,R),R},P.prototype._decodeGeneric=function(S,A,w){const R=this._baseState;return"seq"===S||"set"===S?null:"seqof"===S||"setof"===S?this._decodeList(A,S,R.args[0],w):/str$/.test(S)?this._decodeStr(A,S,w):"objid"===S&&R.args?this._decodeObjid(A,R.args[0],R.args[1],w):"objid"===S?this._decodeObjid(A,null,null,w):"gentime"===S||"utctime"===S?this._decodeTime(A,S,w):"null_"===S?this._decodeNull(A,w):"bool"===S?this._decodeBool(A,w):"objDesc"===S?this._decodeStr(A,S,w):"int"===S||"enum"===S?this._decodeInt(A,R.args&&R.args[0],w):null!==R.use?this._getUse(R.use,A._reporterState.obj)._decode(A,w):A.error("unknown tag: "+S)},P.prototype._getUse=function(S,A){const w=this._baseState;return w.useDecoder=this._use(S,A),k(null===w.useDecoder._baseState.parent),w.useDecoder=w.useDecoder._baseState.children[0],w.implicit!==w.useDecoder._baseState.implicit&&(w.useDecoder=w.useDecoder.clone(),w.useDecoder._baseState.implicit=w.implicit),w.useDecoder},P.prototype._decodeChoice=function(S,A){const w=this._baseState;let R=null,E=!1;return Object.keys(w.choice).some(function(U){const Y=S.save(),Q=w.choice[U];try{const X=Q._decode(S,A);if(S.isError(X))return!1;R={type:U,value:X},E=!0}catch{return S.restore(Y),!1}return!0},this),E?R:S.error("Choice not matched")},P.prototype._createEncoderBuffer=function(S){return new e(S,this.reporter)},P.prototype._encode=function(S,A,w){const R=this._baseState;if(null!==R.default&&R.default===S)return;const E=this._encodeValue(S,A,w);return void 0===E||this._skipDefault(E,A,w)?void 0:E},P.prototype._encodeValue=function(S,A,w){const R=this._baseState;if(null===R.parent)return R.children[0]._encode(S,A||new t);let E=null;if(this.reporter=A,R.optional&&void 0===S){if(null===R.default)return;S=R.default}let U=null,Y=!1;if(R.any)E=this._createEncoderBuffer(S);else if(R.choice)E=this._encodeChoice(S,A);else if(R.contains)U=this._getUse(R.contains,w)._encode(S,A),Y=!0;else if(R.children)U=R.children.map(function(Q){if("null_"===Q._baseState.tag)return Q._encode(null,A,S);if(null===Q._baseState.key)return A.error("Child should have a key");const X=A.enterKey(Q._baseState.key);if("object"!=typeof S)return A.error("Child expected, but input is not object");const $=Q._encode(S[Q._baseState.key],A,S);return A.leaveKey(X),$},this).filter(function(Q){return Q}),U=this._createEncoderBuffer(U);else if("seqof"===R.tag||"setof"===R.tag){if(!R.args||1!==R.args.length)return A.error("Too many args for : "+R.tag);if(!Array.isArray(S))return A.error("seqof/setof, but data is not Array");const Q=this.clone();Q._baseState.implicit=null,U=this._createEncoderBuffer(S.map(function(X){return this._getUse(this._baseState.args[0],S)._encode(X,A)},Q))}else null!==R.use?E=this._getUse(R.use,w)._encode(S,A):(U=this._encodePrimitive(R.tag,S),Y=!0);if(!R.any&&null===R.choice){const Q=null!==R.implicit?R.implicit:R.tag,X=null===R.implicit?"universal":"context";null===Q?null===R.use&&A.error("Tag could be omitted only for .use()"):null===R.use&&(E=this._encodeComposite(Q,Y,X,U))}return null!==R.explicit&&(E=this._encodeComposite(R.explicit,!1,"context",E)),E},P.prototype._encodeChoice=function(S,A){const w=this._baseState,R=w.choice[S.type];return R||k(!1,S.type+" not found in "+JSON.stringify(Object.keys(w.choice))),R._encode(S.value,A)},P.prototype._encodePrimitive=function(S,A){const w=this._baseState;if(/str$/.test(S))return this._encodeStr(A,S);if("objid"===S&&w.args)return this._encodeObjid(A,w.reverseArgs[0],w.args[1]);if("objid"===S)return this._encodeObjid(A,null,null);if("gentime"===S||"utctime"===S)return this._encodeTime(A,S);if("null_"===S)return this._encodeNull();if("int"===S||"enum"===S)return this._encodeInt(A,w.args&&w.reverseArgs[0]);if("bool"===S)return this._encodeBool(A);if("objDesc"===S)return this._encodeStr(A,S);throw new Error("Unsupported tag: "+S)},P.prototype._isNumstr=function(S){return/^[0-9 ]*$/.test(S)},P.prototype._isPrintstr=function(S){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(S)}},4919:(ze,K,m)=>{"use strict";const t=m(3894);function e(k){this._reporterState={obj:null,path:[],options:k||{},errors:[]}}function g(k,o){this.path=k,this.rethrow(o)}K.b=e,e.prototype.isError=function(o){return o instanceof g},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,h){const P=this._reporterState;this.exitKey(o),null!==P.obj&&(P.obj[C]=h)},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,h=C.obj;return C.obj=o,h},e.prototype.error=function(o){let C;const h=this._reporterState,P=o instanceof g;if(C=P?o:new g(h.path.map(function(u){return"["+JSON.stringify(u)+"]"}).join(""),o.message||o,o.stack),!h.options.partial)throw C;return P||h.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(g,Error),g.prototype.rethrow=function(o){if(this.message=o+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,g),!this.stack)try{throw new Error(this.message)}catch(C){this.stack=C.stack}return this}},5496:(ze,K)=>{"use strict";function m(t){const e={};return Object.keys(t).forEach(function(g){(0|g)==g&&(g|=0),e[t[g]]=g}),e}K.tagClass={0:"universal",1:"application",2:"context",3:"private"},K.tagClassByName=m(K.tagClass),K.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"},K.tagByName=m(K.tag)},5459:(ze,K,m)=>{"use strict";const t=K;t._reverse=function(g){const k={};return Object.keys(g).forEach(function(o){(0|o)==o&&(o|=0),k[g[o]]=o}),k},t.der=m(5496)},7127:(ze,K,m)=>{"use strict";const t=m(3894),e=m(3854),g=m(2769).C,k=m(1430),o=m(5496);function C(I){this.enc="der",this.name=I.name,this.entity=I,this.tree=new h,this.tree._init(I.body)}function h(I){k.call(this,"der",I)}function P(I,S){let A=I.readUInt8(S);if(I.isError(A))return A;const w=o.tagClass[A>>6],R=0==(32&A);if(31==(31&A)){let U=A;for(A=0;128==(128&U);){if(U=I.readUInt8(S),I.isError(U))return U;A<<=7,A|=127&U}}else A&=31;return{cls:w,primitive:R,tag:A,tagStr:o.tag[A]}}function u(I,S,A){let w=I.readUInt8(A);if(I.isError(w))return w;if(!S&&128===w)return null;if(0==(128&w))return w;const R=127&w;if(R>4)return I.error("length octect is too long");w=0;for(let E=0;E<R;E++){w<<=8;const U=I.readUInt8(A);if(I.isError(U))return U;w|=U}return w}ze.exports=C,C.prototype.decode=function(S,A){return g.isDecoderBuffer(S)||(S=new g(S,A)),this.tree._decode(S,A)},t(h,k),h.prototype._peekTag=function(S,A,w){if(S.isEmpty())return!1;const R=S.save(),E=P(S,'Failed to peek tag: "'+A+'"');return S.isError(E)?E:(S.restore(R),E.tag===A||E.tagStr===A||E.tagStr+"of"===A||w)},h.prototype._decodeTag=function(S,A,w){const R=P(S,'Failed to decode tag of "'+A+'"');if(S.isError(R))return R;let E=u(S,R.primitive,'Failed to get length of "'+A+'"');if(S.isError(E))return E;if(!w&&R.tag!==A&&R.tagStr!==A&&R.tagStr+"of"!==A)return S.error('Failed to match tag: "'+A+'"');if(R.primitive||null!==E)return S.skip(E,'Failed to match body of: "'+A+'"');const U=S.save(),Y=this._skipUntilEnd(S,'Failed to skip indefinite length body: "'+this.tag+'"');return S.isError(Y)?Y:(E=S.offset-U.offset,S.restore(U),S.skip(E,'Failed to match body of: "'+A+'"'))},h.prototype._skipUntilEnd=function(S,A){for(;;){const w=P(S,A);if(S.isError(w))return w;const R=u(S,w.primitive,A);if(S.isError(R))return R;let E;if(E=w.primitive||null!==R?S.skip(R):this._skipUntilEnd(S,A),S.isError(E))return E;if("end"===w.tagStr)break}},h.prototype._decodeList=function(S,A,w,R){const E=[];for(;!S.isEmpty();){const U=this._peekTag(S,"end");if(S.isError(U))return U;const Y=w.decode(S,"der",R);if(S.isError(Y)&&U)break;E.push(Y)}return E},h.prototype._decodeStr=function(S,A){if("bitstr"===A){const w=S.readUInt8();return S.isError(w)?w:{unused:w,data:S.raw()}}if("bmpstr"===A){const w=S.raw();if(w.length%2==1)return S.error("Decoding of string type: bmpstr length mismatch");let R="";for(let E=0;E<w.length/2;E++)R+=String.fromCharCode(w.readUInt16BE(2*E));return R}if("numstr"===A){const w=S.raw().toString("ascii");return this._isNumstr(w)?w:S.error("Decoding of string type: numstr unsupported characters")}if("octstr"===A)return S.raw();if("objDesc"===A)return S.raw();if("printstr"===A){const w=S.raw().toString("ascii");return this._isPrintstr(w)?w:S.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(A)?S.raw().toString():S.error("Decoding of string type: "+A+" unsupported")},h.prototype._decodeObjid=function(S,A,w){let R;const E=[];let U=0,Y=0;for(;!S.isEmpty();)Y=S.readUInt8(),U<<=7,U|=127&Y,0==(128&Y)&&(E.push(U),U=0);if(128&Y&&E.push(U),R=w?E:[E[0]/40|0,E[0]%40].concat(E.slice(1)),A){let $=A[R.join(" ")];void 0===$&&($=A[R.join(".")]),void 0!==$&&(R=$)}return R},h.prototype._decodeTime=function(S,A){const w=S.raw().toString();let R,E,U,Y,Q,X;if("gentime"===A)R=0|w.slice(0,4),E=0|w.slice(4,6),U=0|w.slice(6,8),Y=0|w.slice(8,10),Q=0|w.slice(10,12),X=0|w.slice(12,14);else{if("utctime"!==A)return S.error("Decoding "+A+" time is not supported yet");R=0|w.slice(0,2),E=0|w.slice(2,4),U=0|w.slice(4,6),Y=0|w.slice(6,8),Q=0|w.slice(8,10),X=0|w.slice(10,12),R=R<70?2e3+R:1900+R}return Date.UTC(R,E-1,U,Y,Q,X,0)},h.prototype._decodeNull=function(){return null},h.prototype._decodeBool=function(S){const A=S.readUInt8();return S.isError(A)?A:0!==A},h.prototype._decodeInt=function(S,A){const w=S.raw();let R=new e(w);return A&&(R=A[R.toString(10)]||R),R},h.prototype._use=function(S,A){return"function"==typeof S&&(S=S(A)),S._getDecoder("der").tree}},196:(ze,K,m)=>{"use strict";const t=K;t.der=m(7127),t.pem=m(9617)},9617:(ze,K,m)=>{"use strict";const t=m(3894),e=m(2038).Buffer,g=m(7127);function k(o){g.call(this,o),this.enc="pem"}t(k,g),ze.exports=k,k.prototype.decode=function(C,h){const P=C.toString().split(/[\r\n]+/g),u=h.label.toUpperCase(),I=/^-----(BEGIN|END) ([^-]+)-----$/;let S=-1,A=-1;for(let E=0;E<P.length;E++){const U=P[E].match(I);if(null!==U&&U[2]===u){if(-1!==S){if("END"!==U[1])break;A=E;break}if("BEGIN"!==U[1])break;S=E}}if(-1===S||-1===A)throw new Error("PEM section not found for: "+u);const w=P.slice(S+1,A).join("");w.replace(/[^a-z0-9+/=]+/gi,"");const R=e.from(w,"base64");return g.prototype.decode.call(this,R,h)}},6374:(ze,K,m)=>{"use strict";const t=m(3894),e=m(2038).Buffer,g=m(1430),k=m(5496);function o(u){this.enc="der",this.name=u.name,this.entity=u,this.tree=new C,this.tree._init(u.body)}function C(u){g.call(this,"der",u)}function h(u){return u<10?"0"+u:u}ze.exports=o,o.prototype.encode=function(I,S){return this.tree._encode(I,S).join()},t(C,g),C.prototype._encodeComposite=function(I,S,A,w){const R=function P(u,I,S,A){let w;if("seqof"===u?u="seq":"setof"===u&&(u="set"),k.tagByName.hasOwnProperty(u))w=k.tagByName[u];else{if("number"!=typeof u||(0|u)!==u)return A.error("Unknown tag: "+u);w=u}return w>=31?A.error("Multi-octet tag encoding unsupported"):(I||(w|=32),w|=k.tagClassByName[S||"universal"]<<6,w)}(I,S,A,this.reporter);if(w.length<128){const Y=e.alloc(2);return Y[0]=R,Y[1]=w.length,this._createEncoderBuffer([Y,w])}let E=1;for(let Y=w.length;Y>=256;Y>>=8)E++;const U=e.alloc(2+E);U[0]=R,U[1]=128|E;for(let Y=1+E,Q=w.length;Q>0;Y--,Q>>=8)U[Y]=255&Q;return this._createEncoderBuffer([U,w])},C.prototype._encodeStr=function(I,S){if("bitstr"===S)return this._createEncoderBuffer([0|I.unused,I.data]);if("bmpstr"===S){const A=e.alloc(2*I.length);for(let w=0;w<I.length;w++)A.writeUInt16BE(I.charCodeAt(w),2*w);return this._createEncoderBuffer(A)}return"numstr"===S?this._isNumstr(I)?this._createEncoderBuffer(I):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===S?this._isPrintstr(I)?this._createEncoderBuffer(I):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(S)||"objDesc"===S?this._createEncoderBuffer(I):this.reporter.error("Encoding of string type: "+S+" unsupported")},C.prototype._encodeObjid=function(I,S,A){if("string"==typeof I){if(!S)return this.reporter.error("string objid given, but no values map found");if(!S.hasOwnProperty(I))return this.reporter.error("objid not found in values map");I=S[I].split(/[\s.]+/g);for(let U=0;U<I.length;U++)I[U]|=0}else if(Array.isArray(I)){I=I.slice();for(let U=0;U<I.length;U++)I[U]|=0}if(!Array.isArray(I))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(I));if(!A){if(I[1]>=40)return this.reporter.error("Second objid identifier OOB");I.splice(0,2,40*I[0]+I[1])}let w=0;for(let U=0;U<I.length;U++){let Y=I[U];for(w++;Y>=128;Y>>=7)w++}const R=e.alloc(w);let E=R.length-1;for(let U=I.length-1;U>=0;U--){let Y=I[U];for(R[E--]=127&Y;(Y>>=7)>0;)R[E--]=128|127&Y}return this._createEncoderBuffer(R)},C.prototype._encodeTime=function(I,S){let A;const w=new Date(I);return"gentime"===S?A=[h(w.getUTCFullYear()),h(w.getUTCMonth()+1),h(w.getUTCDate()),h(w.getUTCHours()),h(w.getUTCMinutes()),h(w.getUTCSeconds()),"Z"].join(""):"utctime"===S?A=[h(w.getUTCFullYear()%100),h(w.getUTCMonth()+1),h(w.getUTCDate()),h(w.getUTCHours()),h(w.getUTCMinutes()),h(w.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+S+" time is not supported yet"),this._encodeStr(A,"octstr")},C.prototype._encodeNull=function(){return this._createEncoderBuffer("")},C.prototype._encodeInt=function(I,S){if("string"==typeof I){if(!S)return this.reporter.error("String int or enum given, but no values map");if(!S.hasOwnProperty(I))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(I));I=S[I]}if("number"!=typeof I&&!e.isBuffer(I)){const R=I.toArray();!I.sign&&128&R[0]&&R.unshift(0),I=e.from(R)}if(e.isBuffer(I)){let R=I.length;0===I.length&&R++;const E=e.alloc(R);return I.copy(E),0===I.length&&(E[0]=0),this._createEncoderBuffer(E)}if(I<128)return this._createEncoderBuffer(I);if(I<256)return this._createEncoderBuffer([0,I]);let A=1;for(let R=I;R>=256;R>>=8)A++;const w=new Array(A);for(let R=w.length-1;R>=0;R--)w[R]=255&I,I>>=8;return 128&w[0]&&w.unshift(0),this._createEncoderBuffer(e.from(w))},C.prototype._encodeBool=function(I){return this._createEncoderBuffer(I?255:0)},C.prototype._use=function(I,S){return"function"==typeof I&&(I=I(S)),I._getEncoder("der").tree},C.prototype._skipDefault=function(I,S,A){const w=this._baseState;let R;if(null===w.default)return!1;const E=I.join();if(void 0===w.defaultBuffer&&(w.defaultBuffer=this._encodeValue(w.default,S,A).join()),E.length!==w.defaultBuffer.length)return!1;for(R=0;R<E.length;R++)if(E[R]!==w.defaultBuffer[R])return!1;return!0}},1131:(ze,K,m)=>{"use strict";const t=K;t.der=m(6374),t.pem=m(3530)},3530:(ze,K,m)=>{"use strict";const t=m(3894),e=m(6374);function g(k){e.call(this,k),this.enc="pem"}t(g,e),ze.exports=g,g.prototype.encode=function(o,C){const P=e.prototype.encode.call(this,o).toString("base64"),u=["-----BEGIN "+C.label+"-----"];for(let I=0;I<P.length;I+=64)u.push(P.slice(I,I+64));return u.push("-----END "+C.label+"-----"),u.join("\n")}},3854:function(ze,K,m){!function(t,e){"use strict";function g(L,i){if(!L)throw new Error(i||"Assertion failed")}function k(L,i){L.super_=i;var r=function(){};r.prototype=i.prototype,L.prototype=new r,L.prototype.constructor=L}function o(L,i,r){if(o.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,null!==L&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(L||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 h(L,i){var r=L.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function P(L,i,r){var d=h(L,r);return r-1>=i&&(d|=h(L,r-1)<<4),d}function u(L,i,r,d){for(var c=0,b=Math.min(L.length,r),T=i;T<b;T++){var N=L.charCodeAt(T)-48;c*=d,c+=N>=49?N-49+10:N>=17?N-17+10:N}return c}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,d){if("number"==typeof i)return this._initNumber(i,r,d);if("object"==typeof i)return this._initArray(i,r,d);"hex"===r&&(r=16),g(r===(0|r)&&r>=2&&r<=36);var c=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(c++,this.negative=1),c<i.length&&(16===r?this._parseHex(i,c,d):(this._parseBase(i,r,c),"le"===d&&this._initArray(this.toArray(),r,d)))},o.prototype._initNumber=function(i,r,d){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):(g(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===d&&this._initArray(this.toArray(),r,d)},o.prototype._initArray=function(i,r,d){if(g("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 c=0;c<this.length;c++)this.words[c]=0;var b,T,N=0;if("be"===d)for(c=i.length-1,b=0;c>=0;c-=3)this.words[b]|=(T=i[c]|i[c-1]<<8|i[c-2]<<16)<<N&67108863,this.words[b+1]=T>>>26-N&67108863,(N+=24)>=26&&(N-=26,b++);else if("le"===d)for(c=0,b=0;c<i.length;c+=3)this.words[b]|=(T=i[c]|i[c+1]<<8|i[c+2]<<16)<<N&67108863,this.words[b+1]=T>>>26-N&67108863,(N+=24)>=26&&(N-=26,b++);return this.strip()},o.prototype._parseHex=function(i,r,d){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var N,b=0,T=0;if("be"===d)for(c=i.length-1;c>=r;c-=2)N=P(i,r,c)<<b,this.words[T]|=67108863&N,b>=18?(b-=18,this.words[T+=1]|=N>>>26):b+=8;else for(c=(i.length-r)%2==0?r+1:r;c<i.length;c+=2)N=P(i,r,c)<<b,this.words[T]|=67108863&N,b>=18?(b-=18,this.words[T+=1]|=N>>>26):b+=8;this.strip()},o.prototype._parseBase=function(i,r,d){this.words=[0],this.length=1;for(var c=0,b=1;b<=67108863;b*=r)c++;c--,b=b/r|0;for(var T=i.length-d,N=T%c,v=Math.min(T,T-N)+d,n=0,y=d;y<v;y+=c)n=u(i,y,y+c,r),this.imuln(b),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==N){var B=1;for(n=u(i,y,i.length,r),y=0;y<N;y++)B*=r;this.imuln(B),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 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"],S=[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],A=[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 R(L,i,r){r.negative=i.negative^L.negative;var d=L.length+i.length|0;r.length=d,d=d-1|0;var c=0|L.words[0],b=0|i.words[0],T=c*b,v=T/67108864|0;r.words[0]=67108863&T;for(var n=1;n<d;n++){for(var y=v>>>26,B=67108863&v,z=Math.min(n,i.length-1),W=Math.max(0,n-L.length+1);W<=z;W++)y+=(T=(c=0|L.words[n-W|0])*(b=0|i.words[W])+B)/67108864|0,B=67108863&T;r.words[n]=0|B,v=0|y}return 0!==v?r.words[n]=0|v:r.length--,r.strip()}o.prototype.toString=function(i,r){var d;if(r=0|r||1,16===(i=i||10)||"hex"===i){d="";for(var c=0,b=0,T=0;T<this.length;T++){var N=this.words[T],v=(16777215&(N<<c|b)).toString(16);d=0!=(b=N>>>24-c&16777215)||T!==this.length-1?I[6-v.length]+v+d:v+d,(c+=2)>=26&&(c-=26,T--)}for(0!==b&&(d=b.toString(16)+d);d.length%r!=0;)d="0"+d;return 0!==this.negative&&(d="-"+d),d}if(i===(0|i)&&i>=2&&i<=36){var n=S[i],y=A[i];d="";var B=this.clone();for(B.negative=0;!B.isZero();){var z=B.modn(y).toString(i);d=(B=B.idivn(y)).isZero()?z+d:I[n-z.length]+z+d}for(this.isZero()&&(d="0"+d);d.length%r!=0;)d="0"+d;return 0!==this.negative&&(d="-"+d),d}g(!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&&g(!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 g(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,d){var c=this.byteLength(),b=d||Math.max(1,c);g(c<=b,"byte array longer than desired length"),g(b>0,"Requested array length <= 0"),this.strip();var v,n,T="le"===r,N=new i(b),y=this.clone();if(T){for(n=0;!y.isZero();n++)v=y.andln(255),y.iushrn(8),N[n]=v;for(;n<b;n++)N[n]=0}else{for(n=0;n<b-c;n++)N[n]=0;for(n=0;!y.isZero();n++)v=y.andln(255),y.iushrn(8),N[b-n-1]=v}return N},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,d=0;return r>=4096&&(d+=13,r>>>=13),r>=64&&(d+=7,r>>>=7),r>=8&&(d+=4,r>>>=4),r>=2&&(d+=2,r>>>=2),d+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,d=0;return 0==(8191&r)&&(d+=13,r>>>=13),0==(127&r)&&(d+=7,r>>>=7),0==(15&r)&&(d+=4,r>>>=4),0==(3&r)&&(d+=2,r>>>=2),0==(1&r)&&d++,d},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 d=this._zeroBits(this.words[r]);if(i+=d,26!==d)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 g(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 d=0;d<r.length;d++)this.words[d]=this.words[d]&i.words[d];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return g(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,d;this.length>i.length?(r=this,d=i):(r=i,d=this);for(var c=0;c<d.length;c++)this.words[c]=r.words[c]^d.words[c];if(this!==r)for(;c<r.length;c++)this.words[c]=r.words[c];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return g(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){g("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),d=i%26;this._expand(r),d>0&&r--;for(var c=0;c<r;c++)this.words[c]=67108863&~this.words[c];return d>0&&(this.words[c]=~this.words[c]&67108863>>26-d),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){g("number"==typeof i&&i>=0);var d=i/26|0,c=i%26;return this._expand(d+1),this.words[d]=r?this.words[d]|1<<c:this.words[d]&~(1<<c),this.strip()},o.prototype.iadd=function(i){var r,d,c;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?(d=this,c=i):(d=i,c=this);for(var b=0,T=0;T<c.length;T++)this.words[T]=67108863&(r=(0|d.words[T])+(0|c.words[T])+b),b=r>>>26;for(;0!==b&&T<d.length;T++)this.words[T]=67108863&(r=(0|d.words[T])+b),b=r>>>26;if(this.length=d.length,0!==b)this.words[this.length]=b,this.length++;else if(d!==this)for(;T<d.length;T++)this.words[T]=d.words[T];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 c,b,d=this.cmp(i);if(0===d)return this.negative=0,this.length=1,this.words[0]=0,this;d>0?(c=this,b=i):(c=i,b=this);for(var T=0,N=0;N<b.length;N++)T=(r=(0|c.words[N])-(0|b.words[N])+T)>>26,this.words[N]=67108863&r;for(;0!==T&&N<c.length;N++)T=(r=(0|c.words[N])+T)>>26,this.words[N]=67108863&r;if(0===T&&N<c.length&&c!==this)for(;N<c.length;N++)this.words[N]=c.words[N];return this.length=Math.max(this.length,N),c!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var E=function(i,r,d){var v,n,y,c=i.words,b=r.words,T=d.words,N=0,B=0|c[0],z=8191&B,W=B>>>13,Le=0|c[1],Ve=8191&Le,Ke=Le>>>13,$e=0|c[2],Ae=8191&$e,ue=$e>>>13,ye=0|c[3],we=8191&ye,he=ye>>>13,it=0|c[4],De=8191&it,oe=it>>>13,me=0|c[5],te=8191&me,Ze=me>>>13,Ue=0|c[6],q=8191&Ue,de=Ue>>>13,Ee=0|c[7],ke=8191&Ee,ie=Ee>>>13,nt=0|c[8],Ct=8191&nt,rt=nt>>>13,Xt=0|c[9],gt=8191&Xt,mt=Xt>>>13,St=0|b[0],Ie=8191&St,He=St>>>13,xt=0|b[1],Pe=8191&xt,et=xt>>>13,Vt=0|b[2],Lt=8191&Vt,Ft=Vt>>>13,bt=0|b[3],Ce=8191&bt,J=bt>>>13,ve=0|b[4],Ne=8191&ve,st=ve>>>13,ni=0|b[5],Ut=8191&ni,ti=ni>>>13,dt=0|b[6],at=8191&dt,_t=dt>>>13,ai=0|b[7],Bt=8191&ai,zt=ai>>>13,Nt=0|b[8],je=8191&Nt,Fe=Nt>>>13,Ye=0|b[9],qe=8191&Ye,Tt=Ye>>>13;d.negative=i.negative^r.negative,d.length=19;var mi=(N+(v=Math.imul(z,Ie))|0)+((8191&(n=(n=Math.imul(z,He))+Math.imul(W,Ie)|0))<<13)|0;N=((y=Math.imul(W,He))+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,v=Math.imul(Ve,Ie),n=(n=Math.imul(Ve,He))+Math.imul(Ke,Ie)|0,y=Math.imul(Ke,He);var Ti=(N+(v=v+Math.imul(z,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(z,et)|0)+Math.imul(W,Pe)|0))<<13)|0;N=((y=y+Math.imul(W,et)|0)+(n>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,v=Math.imul(Ae,Ie),n=(n=Math.imul(Ae,He))+Math.imul(ue,Ie)|0,y=Math.imul(ue,He),v=v+Math.imul(Ve,Pe)|0,n=(n=n+Math.imul(Ve,et)|0)+Math.imul(Ke,Pe)|0,y=y+Math.imul(Ke,et)|0;var xi=(N+(v=v+Math.imul(z,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ft)|0)+Math.imul(W,Lt)|0))<<13)|0;N=((y=y+Math.imul(W,Ft)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(we,Ie),n=(n=Math.imul(we,He))+Math.imul(he,Ie)|0,y=Math.imul(he,He),v=v+Math.imul(Ae,Pe)|0,n=(n=n+Math.imul(Ae,et)|0)+Math.imul(ue,Pe)|0,y=y+Math.imul(ue,et)|0,v=v+Math.imul(Ve,Lt)|0,n=(n=n+Math.imul(Ve,Ft)|0)+Math.imul(Ke,Lt)|0,y=y+Math.imul(Ke,Ft)|0;var Fi=(N+(v=v+Math.imul(z,Ce)|0)|0)+((8191&(n=(n=n+Math.imul(z,J)|0)+Math.imul(W,Ce)|0))<<13)|0;N=((y=y+Math.imul(W,J)|0)+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,v=Math.imul(De,Ie),n=(n=Math.imul(De,He))+Math.imul(oe,Ie)|0,y=Math.imul(oe,He),v=v+Math.imul(we,Pe)|0,n=(n=n+Math.imul(we,et)|0)+Math.imul(he,Pe)|0,y=y+Math.imul(he,et)|0,v=v+Math.imul(Ae,Lt)|0,n=(n=n+Math.imul(Ae,Ft)|0)+Math.imul(ue,Lt)|0,y=y+Math.imul(ue,Ft)|0,v=v+Math.imul(Ve,Ce)|0,n=(n=n+Math.imul(Ve,J)|0)+Math.imul(Ke,Ce)|0,y=y+Math.imul(Ke,J)|0;var Je=(N+(v=v+Math.imul(z,Ne)|0)|0)+((8191&(n=(n=n+Math.imul(z,st)|0)+Math.imul(W,Ne)|0))<<13)|0;N=((y=y+Math.imul(W,st)|0)+(n>>>13)|0)+(Je>>>26)|0,Je&=67108863,v=Math.imul(te,Ie),n=(n=Math.imul(te,He))+Math.imul(Ze,Ie)|0,y=Math.imul(Ze,He),v=v+Math.imul(De,Pe)|0,n=(n=n+Math.imul(De,et)|0)+Math.imul(oe,Pe)|0,y=y+Math.imul(oe,et)|0,v=v+Math.imul(we,Lt)|0,n=(n=n+Math.imul(we,Ft)|0)+Math.imul(he,Lt)|0,y=y+Math.imul(he,Ft)|0,v=v+Math.imul(Ae,Ce)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(ue,Ce)|0,y=y+Math.imul(ue,J)|0,v=v+Math.imul(Ve,Ne)|0,n=(n=n+Math.imul(Ve,st)|0)+Math.imul(Ke,Ne)|0,y=y+Math.imul(Ke,st)|0;var wt=(N+(v=v+Math.imul(z,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(z,ti)|0)+Math.imul(W,Ut)|0))<<13)|0;N=((y=y+Math.imul(W,ti)|0)+(n>>>13)|0)+(wt>>>26)|0,wt&=67108863,v=Math.imul(q,Ie),n=(n=Math.imul(q,He))+Math.imul(de,Ie)|0,y=Math.imul(de,He),v=v+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,et)|0)+Math.imul(Ze,Pe)|0,y=y+Math.imul(Ze,et)|0,v=v+Math.imul(De,Lt)|0,n=(n=n+Math.imul(De,Ft)|0)+Math.imul(oe,Lt)|0,y=y+Math.imul(oe,Ft)|0,v=v+Math.imul(we,Ce)|0,n=(n=n+Math.imul(we,J)|0)+Math.imul(he,Ce)|0,y=y+Math.imul(he,J)|0,v=v+Math.imul(Ae,Ne)|0,n=(n=n+Math.imul(Ae,st)|0)+Math.imul(ue,Ne)|0,y=y+Math.imul(ue,st)|0,v=v+Math.imul(Ve,Ut)|0,n=(n=n+Math.imul(Ve,ti)|0)+Math.imul(Ke,Ut)|0,y=y+Math.imul(Ke,ti)|0;var be=(N+(v=v+Math.imul(z,at)|0)|0)+((8191&(n=(n=n+Math.imul(z,_t)|0)+Math.imul(W,at)|0))<<13)|0;N=((y=y+Math.imul(W,_t)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,v=Math.imul(ke,Ie),n=(n=Math.imul(ke,He))+Math.imul(ie,Ie)|0,y=Math.imul(ie,He),v=v+Math.imul(q,Pe)|0,n=(n=n+Math.imul(q,et)|0)+Math.imul(de,Pe)|0,y=y+Math.imul(de,et)|0,v=v+Math.imul(te,Lt)|0,n=(n=n+Math.imul(te,Ft)|0)+Math.imul(Ze,Lt)|0,y=y+Math.imul(Ze,Ft)|0,v=v+Math.imul(De,Ce)|0,n=(n=n+Math.imul(De,J)|0)+Math.imul(oe,Ce)|0,y=y+Math.imul(oe,J)|0,v=v+Math.imul(we,Ne)|0,n=(n=n+Math.imul(we,st)|0)+Math.imul(he,Ne)|0,y=y+Math.imul(he,st)|0,v=v+Math.imul(Ae,Ut)|0,n=(n=n+Math.imul(Ae,ti)|0)+Math.imul(ue,Ut)|0,y=y+Math.imul(ue,ti)|0,v=v+Math.imul(Ve,at)|0,n=(n=n+Math.imul(Ve,_t)|0)+Math.imul(Ke,at)|0,y=y+Math.imul(Ke,_t)|0;var Pt=(N+(v=v+Math.imul(z,Bt)|0)|0)+((8191&(n=(n=n+Math.imul(z,zt)|0)+Math.imul(W,Bt)|0))<<13)|0;N=((y=y+Math.imul(W,zt)|0)+(n>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,v=Math.imul(Ct,Ie),n=(n=Math.imul(Ct,He))+Math.imul(rt,Ie)|0,y=Math.imul(rt,He),v=v+Math.imul(ke,Pe)|0,n=(n=n+Math.imul(ke,et)|0)+Math.imul(ie,Pe)|0,y=y+Math.imul(ie,et)|0,v=v+Math.imul(q,Lt)|0,n=(n=n+Math.imul(q,Ft)|0)+Math.imul(de,Lt)|0,y=y+Math.imul(de,Ft)|0,v=v+Math.imul(te,Ce)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ze,Ce)|0,y=y+Math.imul(Ze,J)|0,v=v+Math.imul(De,Ne)|0,n=(n=n+Math.imul(De,st)|0)+Math.imul(oe,Ne)|0,y=y+Math.imul(oe,st)|0,v=v+Math.imul(we,Ut)|0,n=(n=n+Math.imul(we,ti)|0)+Math.imul(he,Ut)|0,y=y+Math.imul(he,ti)|0,v=v+Math.imul(Ae,at)|0,n=(n=n+Math.imul(Ae,_t)|0)+Math.imul(ue,at)|0,y=y+Math.imul(ue,_t)|0,v=v+Math.imul(Ve,Bt)|0,n=(n=n+Math.imul(Ve,zt)|0)+Math.imul(Ke,Bt)|0,y=y+Math.imul(Ke,zt)|0;var qt=(N+(v=v+Math.imul(z,je)|0)|0)+((8191&(n=(n=n+Math.imul(z,Fe)|0)+Math.imul(W,je)|0))<<13)|0;N=((y=y+Math.imul(W,Fe)|0)+(n>>>13)|0)+(qt>>>26)|0,qt&=67108863,v=Math.imul(gt,Ie),n=(n=Math.imul(gt,He))+Math.imul(mt,Ie)|0,y=Math.imul(mt,He),v=v+Math.imul(Ct,Pe)|0,n=(n=n+Math.imul(Ct,et)|0)+Math.imul(rt,Pe)|0,y=y+Math.imul(rt,et)|0,v=v+Math.imul(ke,Lt)|0,n=(n=n+Math.imul(ke,Ft)|0)+Math.imul(ie,Lt)|0,y=y+Math.imul(ie,Ft)|0,v=v+Math.imul(q,Ce)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,Ce)|0,y=y+Math.imul(de,J)|0,v=v+Math.imul(te,Ne)|0,n=(n=n+Math.imul(te,st)|0)+Math.imul(Ze,Ne)|0,y=y+Math.imul(Ze,st)|0,v=v+Math.imul(De,Ut)|0,n=(n=n+Math.imul(De,ti)|0)+Math.imul(oe,Ut)|0,y=y+Math.imul(oe,ti)|0,v=v+Math.imul(we,at)|0,n=(n=n+Math.imul(we,_t)|0)+Math.imul(he,at)|0,y=y+Math.imul(he,_t)|0,v=v+Math.imul(Ae,Bt)|0,n=(n=n+Math.imul(Ae,zt)|0)+Math.imul(ue,Bt)|0,y=y+Math.imul(ue,zt)|0,v=v+Math.imul(Ve,je)|0,n=(n=n+Math.imul(Ve,Fe)|0)+Math.imul(Ke,je)|0,y=y+Math.imul(Ke,Fe)|0;var gi=(N+(v=v+Math.imul(z,qe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Tt)|0)+Math.imul(W,qe)|0))<<13)|0;N=((y=y+Math.imul(W,Tt)|0)+(n>>>13)|0)+(gi>>>26)|0,gi&=67108863,v=Math.imul(gt,Pe),n=(n=Math.imul(gt,et))+Math.imul(mt,Pe)|0,y=Math.imul(mt,et),v=v+Math.imul(Ct,Lt)|0,n=(n=n+Math.imul(Ct,Ft)|0)+Math.imul(rt,Lt)|0,y=y+Math.imul(rt,Ft)|0,v=v+Math.imul(ke,Ce)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ie,Ce)|0,y=y+Math.imul(ie,J)|0,v=v+Math.imul(q,Ne)|0,n=(n=n+Math.imul(q,st)|0)+Math.imul(de,Ne)|0,y=y+Math.imul(de,st)|0,v=v+Math.imul(te,Ut)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ze,Ut)|0,y=y+Math.imul(Ze,ti)|0,v=v+Math.imul(De,at)|0,n=(n=n+Math.imul(De,_t)|0)+Math.imul(oe,at)|0,y=y+Math.imul(oe,_t)|0,v=v+Math.imul(we,Bt)|0,n=(n=n+Math.imul(we,zt)|0)+Math.imul(he,Bt)|0,y=y+Math.imul(he,zt)|0,v=v+Math.imul(Ae,je)|0,n=(n=n+Math.imul(Ae,Fe)|0)+Math.imul(ue,je)|0,y=y+Math.imul(ue,Fe)|0;var Si=(N+(v=v+Math.imul(Ve,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ve,Tt)|0)+Math.imul(Ke,qe)|0))<<13)|0;N=((y=y+Math.imul(Ke,Tt)|0)+(n>>>13)|0)+(Si>>>26)|0,Si&=67108863,v=Math.imul(gt,Lt),n=(n=Math.imul(gt,Ft))+Math.imul(mt,Lt)|0,y=Math.imul(mt,Ft),v=v+Math.imul(Ct,Ce)|0,n=(n=n+Math.imul(Ct,J)|0)+Math.imul(rt,Ce)|0,y=y+Math.imul(rt,J)|0,v=v+Math.imul(ke,Ne)|0,n=(n=n+Math.imul(ke,st)|0)+Math.imul(ie,Ne)|0,y=y+Math.imul(ie,st)|0,v=v+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,ti)|0)+Math.imul(de,Ut)|0,y=y+Math.imul(de,ti)|0,v=v+Math.imul(te,at)|0,n=(n=n+Math.imul(te,_t)|0)+Math.imul(Ze,at)|0,y=y+Math.imul(Ze,_t)|0,v=v+Math.imul(De,Bt)|0,n=(n=n+Math.imul(De,zt)|0)+Math.imul(oe,Bt)|0,y=y+Math.imul(oe,zt)|0,v=v+Math.imul(we,je)|0,n=(n=n+Math.imul(we,Fe)|0)+Math.imul(he,je)|0,y=y+Math.imul(he,Fe)|0;var ki=(N+(v=v+Math.imul(Ae,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Tt)|0)+Math.imul(ue,qe)|0))<<13)|0;N=((y=y+Math.imul(ue,Tt)|0)+(n>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(gt,Ce),n=(n=Math.imul(gt,J))+Math.imul(mt,Ce)|0,y=Math.imul(mt,J),v=v+Math.imul(Ct,Ne)|0,n=(n=n+Math.imul(Ct,st)|0)+Math.imul(rt,Ne)|0,y=y+Math.imul(rt,st)|0,v=v+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,ti)|0)+Math.imul(ie,Ut)|0,y=y+Math.imul(ie,ti)|0,v=v+Math.imul(q,at)|0,n=(n=n+Math.imul(q,_t)|0)+Math.imul(de,at)|0,y=y+Math.imul(de,_t)|0,v=v+Math.imul(te,Bt)|0,n=(n=n+Math.imul(te,zt)|0)+Math.imul(Ze,Bt)|0,y=y+Math.imul(Ze,zt)|0,v=v+Math.imul(De,je)|0,n=(n=n+Math.imul(De,Fe)|0)+Math.imul(oe,je)|0,y=y+Math.imul(oe,Fe)|0;var Gi=(N+(v=v+Math.imul(we,qe)|0)|0)+((8191&(n=(n=n+Math.imul(we,Tt)|0)+Math.imul(he,qe)|0))<<13)|0;N=((y=y+Math.imul(he,Tt)|0)+(n>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,v=Math.imul(gt,Ne),n=(n=Math.imul(gt,st))+Math.imul(mt,Ne)|0,y=Math.imul(mt,st),v=v+Math.imul(Ct,Ut)|0,n=(n=n+Math.imul(Ct,ti)|0)+Math.imul(rt,Ut)|0,y=y+Math.imul(rt,ti)|0,v=v+Math.imul(ke,at)|0,n=(n=n+Math.imul(ke,_t)|0)+Math.imul(ie,at)|0,y=y+Math.imul(ie,_t)|0,v=v+Math.imul(q,Bt)|0,n=(n=n+Math.imul(q,zt)|0)+Math.imul(de,Bt)|0,y=y+Math.imul(de,zt)|0,v=v+Math.imul(te,je)|0,n=(n=n+Math.imul(te,Fe)|0)+Math.imul(Ze,je)|0,y=y+Math.imul(Ze,Fe)|0;var Gt=(N+(v=v+Math.imul(De,qe)|0)|0)+((8191&(n=(n=n+Math.imul(De,Tt)|0)+Math.imul(oe,qe)|0))<<13)|0;N=((y=y+Math.imul(oe,Tt)|0)+(n>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,v=Math.imul(gt,Ut),n=(n=Math.imul(gt,ti))+Math.imul(mt,Ut)|0,y=Math.imul(mt,ti),v=v+Math.imul(Ct,at)|0,n=(n=n+Math.imul(Ct,_t)|0)+Math.imul(rt,at)|0,y=y+Math.imul(rt,_t)|0,v=v+Math.imul(ke,Bt)|0,n=(n=n+Math.imul(ke,zt)|0)+Math.imul(ie,Bt)|0,y=y+Math.imul(ie,zt)|0,v=v+Math.imul(q,je)|0,n=(n=n+Math.imul(q,Fe)|0)+Math.imul(de,je)|0,y=y+Math.imul(de,Fe)|0;var di=(N+(v=v+Math.imul(te,qe)|0)|0)+((8191&(n=(n=n+Math.imul(te,Tt)|0)+Math.imul(Ze,qe)|0))<<13)|0;N=((y=y+Math.imul(Ze,Tt)|0)+(n>>>13)|0)+(di>>>26)|0,di&=67108863,v=Math.imul(gt,at),n=(n=Math.imul(gt,_t))+Math.imul(mt,at)|0,y=Math.imul(mt,_t),v=v+Math.imul(Ct,Bt)|0,n=(n=n+Math.imul(Ct,zt)|0)+Math.imul(rt,Bt)|0,y=y+Math.imul(rt,zt)|0,v=v+Math.imul(ke,je)|0,n=(n=n+Math.imul(ke,Fe)|0)+Math.imul(ie,je)|0,y=y+Math.imul(ie,Fe)|0;var ge=(N+(v=v+Math.imul(q,qe)|0)|0)+((8191&(n=(n=n+Math.imul(q,Tt)|0)+Math.imul(de,qe)|0))<<13)|0;N=((y=y+Math.imul(de,Tt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,v=Math.imul(gt,Bt),n=(n=Math.imul(gt,zt))+Math.imul(mt,Bt)|0,y=Math.imul(mt,zt),v=v+Math.imul(Ct,je)|0,n=(n=n+Math.imul(Ct,Fe)|0)+Math.imul(rt,je)|0,y=y+Math.imul(rt,Fe)|0;var Xe=(N+(v=v+Math.imul(ke,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Tt)|0)+Math.imul(ie,qe)|0))<<13)|0;N=((y=y+Math.imul(ie,Tt)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,v=Math.imul(gt,je),n=(n=Math.imul(gt,Fe))+Math.imul(mt,je)|0,y=Math.imul(mt,Fe);var Et=(N+(v=v+Math.imul(Ct,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ct,Tt)|0)+Math.imul(rt,qe)|0))<<13)|0;N=((y=y+Math.imul(rt,Tt)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863;var jt=(N+(v=Math.imul(gt,qe))|0)+((8191&(n=(n=Math.imul(gt,Tt))+Math.imul(mt,qe)|0))<<13)|0;return N=((y=Math.imul(mt,Tt))+(n>>>13)|0)+(jt>>>26)|0,jt&=67108863,T[0]=mi,T[1]=Ti,T[2]=xi,T[3]=Fi,T[4]=Je,T[5]=wt,T[6]=be,T[7]=Pt,T[8]=qt,T[9]=gi,T[10]=Si,T[11]=ki,T[12]=Gi,T[13]=Gt,T[14]=di,T[15]=ge,T[16]=Xe,T[17]=Et,T[18]=jt,0!==N&&(T[19]=N,d.length++),d};function Y(L,i,r){return(new Q).mulp(L,i,r)}function Q(L,i){this.x=L,this.y=i}Math.imul||(E=R),o.prototype.mulTo=function(i,r){var d,c=this.length+i.length;return d=10===this.length&&10===i.length?E(this,i,r):c<63?R(this,i,r):c<1024?function U(L,i,r){r.negative=i.negative^L.negative,r.length=L.length+i.length;for(var d=0,c=0,b=0;b<r.length-1;b++){var T=c;c=0;for(var N=67108863&d,v=Math.min(b,i.length-1),n=Math.max(0,b-L.length+1);n<=v;n++){var W=(0|L.words[b-n])*(0|i.words[n]),Le=67108863&W;N=67108863&(Le=Le+N|0),c+=(T=(T=T+(W/67108864|0)|0)+(Le>>>26)|0)>>>26,T&=67108863}r.words[b]=N,d=T,T=c}return 0!==d?r.words[b]=d:r.length--,r.strip()}(this,i,r):Y(this,i,r),d},Q.prototype.makeRBT=function(i){for(var r=new Array(i),d=o.prototype._countBits(i)-1,c=0;c<i;c++)r[c]=this.revBin(c,d,i);return r},Q.prototype.revBin=function(i,r,d){if(0===i||i===d-1)return i;for(var c=0,b=0;b<r;b++)c|=(1&i)<<r-b-1,i>>=1;return c},Q.prototype.permute=function(i,r,d,c,b,T){for(var N=0;N<T;N++)c[N]=r[i[N]],b[N]=d[i[N]]},Q.prototype.transform=function(i,r,d,c,b,T){this.permute(T,i,r,d,c,b);for(var N=1;N<b;N<<=1)for(var v=N<<1,n=Math.cos(2*Math.PI/v),y=Math.sin(2*Math.PI/v),B=0;B<b;B+=v)for(var z=n,W=y,Le=0;Le<N;Le++){var Ve=d[B+Le],Ke=c[B+Le],$e=d[B+Le+N],Ae=c[B+Le+N],ue=z*$e-W*Ae;Ae=z*Ae+W*$e,d[B+Le]=Ve+($e=ue),c[B+Le]=Ke+Ae,d[B+Le+N]=Ve-$e,c[B+Le+N]=Ke-Ae,Le!==v&&(ue=n*z-y*W,W=n*W+y*z,z=ue)}},Q.prototype.guessLen13b=function(i,r){var d=1|Math.max(r,i),c=1&d,b=0;for(d=d/2|0;d;d>>>=1)b++;return 1<<b+1+c},Q.prototype.conjugate=function(i,r,d){if(!(d<=1))for(var c=0;c<d/2;c++){var b=i[c];i[c]=i[d-c-1],i[d-c-1]=b,b=r[c],r[c]=-r[d-c-1],r[d-c-1]=-b}},Q.prototype.normalize13b=function(i,r){for(var d=0,c=0;c<r/2;c++){var b=8192*Math.round(i[2*c+1]/r)+Math.round(i[2*c]/r)+d;i[c]=67108863&b,d=b<67108864?0:b/67108864|0}return i},Q.prototype.convert13b=function(i,r,d,c){for(var b=0,T=0;T<r;T++)d[2*T]=8191&(b+=0|i[T]),d[2*T+1]=8191&(b>>>=13),b>>>=13;for(T=2*r;T<c;++T)d[T]=0;g(0===b),g(0==(-8192&b))},Q.prototype.stub=function(i){for(var r=new Array(i),d=0;d<i;d++)r[d]=0;return r},Q.prototype.mulp=function(i,r,d){var c=2*this.guessLen13b(i.length,r.length),b=this.makeRBT(c),T=this.stub(c),N=new Array(c),v=new Array(c),n=new Array(c),y=new Array(c),B=new Array(c),z=new Array(c),W=d.words;W.length=c,this.convert13b(i.words,i.length,N,c),this.convert13b(r.words,r.length,y,c),this.transform(N,T,v,n,c,b),this.transform(y,T,B,z,c,b);for(var Le=0;Le<c;Le++){var Ve=v[Le]*B[Le]-n[Le]*z[Le];n[Le]=v[Le]*z[Le]+n[Le]*B[Le],v[Le]=Ve}return this.conjugate(v,n,c),this.transform(v,n,W,T,c,b),this.conjugate(W,T,c),this.normalize13b(W,c),d.negative=i.negative^r.negative,d.length=i.length+r.length,d.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),Y(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var r=0,d=0;d<this.length;d++){var c=(0|this.words[d])*i,b=(67108863&c)+(67108863&r);r>>=26,r+=c/67108864|0,r+=b>>>26,this.words[d]=67108863&b}return 0!==r&&(this.words[d]=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 w(L){for(var i=new Array(L.bitLength()),r=0;r<i.length;r++){var c=r%26;i[r]=(L.words[r/26|0]&1<<c)>>>c}return i}(i);if(0===r.length)return new o(1);for(var d=this,c=0;c<r.length&&0===r[c];c++,d=d.sqr());if(++c<r.length)for(var b=d.sqr();c<r.length;c++,b=b.sqr())0!==r[c]&&(d=d.mul(b));return d},o.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var b,r=i%26,d=(i-r)/26,c=67108863>>>26-r<<26-r;if(0!==r){var T=0;for(b=0;b<this.length;b++){var N=this.words[b]&c;this.words[b]=(0|this.words[b])-N<<r|T,T=N>>>26-r}T&&(this.words[b]=T,this.length++)}if(0!==d){for(b=this.length-1;b>=0;b--)this.words[b+d]=this.words[b];for(b=0;b<d;b++)this.words[b]=0;this.length+=d}return this.strip()},o.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,d){var c;g("number"==typeof i&&i>=0),c=r?(r-r%26)/26:0;var b=i%26,T=Math.min((i-b)/26,this.length),N=67108863^67108863>>>b<<b,v=d;if(c-=T,c=Math.max(0,c),v){for(var n=0;n<T;n++)v.words[n]=this.words[n];v.length=T}if(0!==T)if(this.length>T)for(this.length-=T,n=0;n<this.length;n++)this.words[n]=this.words[n+T];else this.words[0]=0,this.length=1;var y=0;for(n=this.length-1;n>=0&&(0!==y||n>=c);n--){var B=0|this.words[n];this.words[n]=y<<26-b|B>>>b,y=B&N}return v&&0!==y&&(v.words[v.length++]=y),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,d){return g(0===this.negative),this.iushrn(i,r,d)},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){g("number"==typeof i&&i>=0);var r=i%26,d=(i-r)/26;return!(this.length<=d||!(this.words[d]&1<<r))},o.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var r=i%26,d=(i-r)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=d?this:(0!==r&&d++,this.length=Math.min(d,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 g("number"==typeof i),g(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(g("number"==typeof i),g(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,d){var b;this._expand(i.length+d);var T,N=0;for(b=0;b<i.length;b++){T=(0|this.words[b+d])+N;var v=(0|i.words[b])*r;N=((T-=67108863&v)>>26)-(v/67108864|0),this.words[b+d]=67108863&T}for(;b<this.length-d;b++)N=(T=(0|this.words[b+d])+N)>>26,this.words[b+d]=67108863&T;if(0===N)return this.strip();for(g(-1===N),N=0,b=0;b<this.length;b++)N=(T=-(0|this.words[b])+N)>>26,this.words[b]=67108863&T;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var d,c=this.clone(),b=i,T=0|b.words[b.length-1];0!=(d=26-this._countBits(T))&&(b=b.ushln(d),c.iushln(d),T=0|b.words[b.length-1]);var n,v=c.length-b.length;if("mod"!==r){(n=new o(null)).length=v+1,n.words=new Array(n.length);for(var y=0;y<n.length;y++)n.words[y]=0}var B=c.clone()._ishlnsubmul(b,1,v);0===B.negative&&(c=B,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var W=67108864*(0|c.words[b.length+z])+(0|c.words[b.length+z-1]);for(W=Math.min(W/T|0,67108863),c._ishlnsubmul(b,W,z);0!==c.negative;)W--,c.negative=0,c._ishlnsubmul(b,1,z),c.isZero()||(c.negative^=1);n&&(n.words[z]=W)}return n&&n.strip(),c.strip(),"div"!==r&&0!==d&&c.iushrn(d),{div:n||null,mod:c}},o.prototype.divmod=function(i,r,d){return g(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(T=this.neg().divmod(i,r),"mod"!==r&&(c=T.div.neg()),"div"!==r&&(b=T.mod.neg(),d&&0!==b.negative&&b.iadd(i)),{div:c,mod:b}):0===this.negative&&0!==i.negative?(T=this.divmod(i.neg(),r),"mod"!==r&&(c=T.div.neg()),{div:c,mod:T.mod}):0!=(this.negative&i.negative)?(T=this.neg().divmod(i.neg(),r),"div"!==r&&(b=T.mod.neg(),d&&0!==b.negative&&b.isub(i)),{div:T.div,mod:b}):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 c,b,T},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 d=0!==r.div.negative?r.mod.isub(i):r.mod,c=i.ushrn(1),b=i.andln(1),T=d.cmp(c);return T<0||1===b&&0===T?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){g(i<=67108863);for(var r=(1<<26)%i,d=0,c=this.length-1;c>=0;c--)d=(r*d+(0|this.words[c]))%i;return d},o.prototype.idivn=function(i){g(i<=67108863);for(var r=0,d=this.length-1;d>=0;d--){var c=(0|this.words[d])+67108864*r;this.words[d]=c/i|0,r=c%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var r=this,d=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),b=new o(0),T=new o(0),N=new o(1),v=0;r.isEven()&&d.isEven();)r.iushrn(1),d.iushrn(1),++v;for(var n=d.clone(),y=r.clone();!r.isZero();){for(var B=0,z=1;0==(r.words[0]&z)&&B<26;++B,z<<=1);if(B>0)for(r.iushrn(B);B-- >0;)(c.isOdd()||b.isOdd())&&(c.iadd(n),b.isub(y)),c.iushrn(1),b.iushrn(1);for(var W=0,Le=1;0==(d.words[0]&Le)&&W<26;++W,Le<<=1);if(W>0)for(d.iushrn(W);W-- >0;)(T.isOdd()||N.isOdd())&&(T.iadd(n),N.isub(y)),T.iushrn(1),N.iushrn(1);r.cmp(d)>=0?(r.isub(d),c.isub(T),b.isub(N)):(d.isub(r),T.isub(c),N.isub(b))}return{a:T,b:N,gcd:d.iushln(v)}},o.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var B,r=this,d=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),b=new o(0),T=d.clone();r.cmpn(1)>0&&d.cmpn(1)>0;){for(var N=0,v=1;0==(r.words[0]&v)&&N<26;++N,v<<=1);if(N>0)for(r.iushrn(N);N-- >0;)c.isOdd()&&c.iadd(T),c.iushrn(1);for(var n=0,y=1;0==(d.words[0]&y)&&n<26;++n,y<<=1);if(n>0)for(d.iushrn(n);n-- >0;)b.isOdd()&&b.iadd(T),b.iushrn(1);r.cmp(d)>=0?(r.isub(d),c.isub(b)):(d.isub(r),b.isub(c))}return(B=0===r.cmpn(1)?c:b).cmpn(0)<0&&B.iadd(i),B},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),d=i.clone();r.negative=0,d.negative=0;for(var c=0;r.isEven()&&d.isEven();c++)r.iushrn(1),d.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;d.isEven();)d.iushrn(1);var b=r.cmp(d);if(b<0){var T=r;r=d,d=T}else if(0===b||0===d.cmpn(1))break;r.isub(d)}return d.iushln(c)},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){g("number"==typeof i);var r=i%26,d=(i-r)/26,c=1<<r;if(this.length<=d)return this._expand(d+1),this.words[d]|=c,this;for(var b=c,T=d;0!==b&&T<this.length;T++){var N=0|this.words[T];b=(N+=b)>>>26,this.words[T]=N&=67108863}return 0!==b&&(this.words[T]=b,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var d,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)d=1;else{r&&(i=-i),g(i<=67108863,"Number is too big");var c=0|this.words[0];d=c===i?0:c<i?-1:1}return 0!==this.negative?0|-d:d},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,d=this.length-1;d>=0;d--){var c=0|this.words[d],b=0|i.words[d];if(c!==b){c<b?r=-1:c>b&&(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 se(i)},o.prototype.toRed=function(i){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return g(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 g(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return g(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 $(L,i){this.name=L,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 fe(){$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function re(){$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ee(){$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(L){if("string"==typeof L){var i=o._prime(L);this.m=i.p,this.prime=i}else g(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}function le(L){se.call(this,L),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)}$.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},$.prototype.ireduce=function(i){var d,r=i;do{this.split(r,this.tmp),d=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(d>this.n);var c=d<this.n?-1:r.ucmp(this.p);return 0===c?(r.words[0]=0,r.length=1):c>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},$.prototype.split=function(i,r){i.iushrn(this.n,0,r)},$.prototype.imulK=function(i){return i.imul(this.k)},k(fe,$),fe.prototype.split=function(i,r){for(var d=4194303,c=Math.min(i.length,9),b=0;b<c;b++)r.words[b]=i.words[b];if(r.length=c,i.length<=9)return i.words[0]=0,void(i.length=1);var T=i.words[9];for(r.words[r.length++]=T&d,b=10;b<i.length;b++){var N=0|i.words[b];i.words[b-10]=(N&d)<<4|T>>>22,T=N}i.words[b-10]=T>>>=22,i.length-=0===T&&i.length>10?10:9},fe.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,d=0;d<i.length;d++){var c=0|i.words[d];i.words[d]=67108863&(r+=977*c),r=64*c+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},k(re,$),k(ee,$),k(ce,$),ce.prototype.imulK=function(i){for(var r=0,d=0;d<i.length;d++){var c=19*(0|i.words[d])+r,b=67108863&c;c>>>=26,i.words[d]=b,r=c}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 fe;else if("p224"===i)r=new re;else if("p192"===i)r=new ee;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},se.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},se.prototype._verify2=function(i,r){g(0==(i.negative|r.negative),"red works only with positives"),g(i.red&&i.red===r.red,"red works only with red numbers")},se.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},se.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},se.prototype.add=function(i,r){this._verify2(i,r);var d=i.add(r);return d.cmp(this.m)>=0&&d.isub(this.m),d._forceRed(this)},se.prototype.iadd=function(i,r){this._verify2(i,r);var d=i.iadd(r);return d.cmp(this.m)>=0&&d.isub(this.m),d},se.prototype.sub=function(i,r){this._verify2(i,r);var d=i.sub(r);return d.cmpn(0)<0&&d.iadd(this.m),d._forceRed(this)},se.prototype.isub=function(i,r){this._verify2(i,r);var d=i.isub(r);return d.cmpn(0)<0&&d.iadd(this.m),d},se.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},se.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},se.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},se.prototype.isqr=function(i){return this.imul(i,i.clone())},se.prototype.sqr=function(i){return this.mul(i,i)},se.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(g(r%2==1),3===r){var d=this.m.add(new o(1)).iushrn(2);return this.pow(i,d)}for(var c=this.m.subn(1),b=0;!c.isZero()&&0===c.andln(1);)b++,c.iushrn(1);g(!c.isZero());var T=new o(1).toRed(this),N=T.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,v).cmp(N);)n.redIAdd(N);for(var y=this.pow(n,c),B=this.pow(i,c.addn(1).iushrn(1)),z=this.pow(i,c),W=b;0!==z.cmp(T);){for(var Le=z,Ve=0;0!==Le.cmp(T);Ve++)Le=Le.redSqr();g(Ve<W);var Ke=this.pow(y,new o(1).iushln(W-Ve-1));B=B.redMul(Ke),y=Ke.redSqr(),z=z.redMul(y),W=Ve}return B},se.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},se.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var c=new Array(16);c[0]=new o(1).toRed(this),c[1]=i;for(var b=2;b<c.length;b++)c[b]=this.mul(c[b-1],i);var T=c[0],N=0,v=0,n=r.bitLength()%26;for(0===n&&(n=26),b=r.length-1;b>=0;b--){for(var y=r.words[b],B=n-1;B>=0;B--){var z=y>>B&1;T!==c[0]&&(T=this.sqr(T)),0!==z||0!==N?(N<<=1,N|=z,(4==++v||0===b&&0===B)&&(T=this.mul(T,c[N]),v=0,N=0)):v=0}n=26}return T},se.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},se.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new le(i)},k(le,se),le.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},le.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},le.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var d=i.imul(r),c=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=d.isub(c).iushrn(this.shift),T=b;return b.cmp(this.m)>=0?T=b.isub(this.m):b.cmpn(0)<0&&(T=b.iadd(this.m)),T._forceRed(this)},le.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var d=i.mul(r),c=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=d.isub(c).iushrn(this.shift),T=b;return b.cmp(this.m)>=0?T=b.isub(this.m):b.cmpn(0)<0&&(T=b.iadd(this.m)),T._forceRed(this)},le.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(ze=m.nmd(ze),this)},5343:(ze,K)=>{"use strict";K.byteLength=function h(w){var R=C(w),U=R[1];return 3*(R[0]+U)/4-U},K.toByteArray=function u(w){var R,fe,E=C(w),U=E[0],Y=E[1],Q=new e(function P(w,R,E){return 3*(R+E)/4-E}(0,U,Y)),X=0,$=Y>0?U-4:U;for(fe=0;fe<$;fe+=4)R=t[w.charCodeAt(fe)]<<18|t[w.charCodeAt(fe+1)]<<12|t[w.charCodeAt(fe+2)]<<6|t[w.charCodeAt(fe+3)],Q[X++]=R>>16&255,Q[X++]=R>>8&255,Q[X++]=255&R;return 2===Y&&(R=t[w.charCodeAt(fe)]<<2|t[w.charCodeAt(fe+1)]>>4,Q[X++]=255&R),1===Y&&(R=t[w.charCodeAt(fe)]<<10|t[w.charCodeAt(fe+1)]<<4|t[w.charCodeAt(fe+2)]>>2,Q[X++]=R>>8&255,Q[X++]=255&R),Q},K.fromByteArray=function A(w){for(var R,E=w.length,U=E%3,Y=[],Q=16383,X=0,$=E-U;X<$;X+=Q)Y.push(S(w,X,X+Q>$?$:X+Q));return 1===U?Y.push(m[(R=w[E-1])>>2]+m[R<<4&63]+"=="):2===U&&Y.push(m[(R=(w[E-2]<<8)+w[E-1])>>10]+m[R>>4&63]+m[R<<2&63]+"="),Y.join("")};for(var m=[],t=[],e=typeof Uint8Array<"u"?Uint8Array:Array,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",k=0,o=g.length;k<o;++k)m[k]=g[k],t[g.charCodeAt(k)]=k;function C(w){var R=w.length;if(R%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var E=w.indexOf("=");return-1===E&&(E=R),[E,E===R?0:4-E%4]}function I(w){return m[w>>18&63]+m[w>>12&63]+m[w>>6&63]+m[63&w]}function S(w,R,E){for(var Y=[],Q=R;Q<E;Q+=3)Y.push(I((w[Q]<<16&16711680)+(w[Q+1]<<8&65280)+(255&w[Q+2])));return Y.join("")}t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63},8538:function(ze,K,m){!function(t,e){"use strict";function g(d,c){if(!d)throw new Error(c||"Assertion failed")}function k(d,c){d.super_=c;var b=function(){};b.prototype=c.prototype,d.prototype=new b,d.prototype.constructor=d}function o(d,c,b){if(o.isBN(d))return d;this.negative=0,this.words=null,this.length=0,this.red=null,null!==d&&(("le"===c||"be"===c)&&(b=c,c=10),this._init(d||0,c||10,b||"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 h(d,c){var b=d.charCodeAt(c);return b>=48&&b<=57?b-48:b>=65&&b<=70?b-55:b>=97&&b<=102?b-87:void g(!1,"Invalid character in "+d)}function P(d,c,b){var T=h(d,b);return b-1>=c&&(T|=h(d,b-1)<<4),T}function u(d,c,b,T){for(var N=0,v=0,n=Math.min(d.length,b),y=c;y<n;y++){var B=d.charCodeAt(y)-48;N*=T,v=B>=49?B-49+10:B>=17?B-17+10:B,g(B>=0&&v<T,"Invalid character"),N+=v}return N}function I(d,c){d.words=c.words,d.length=c.length,d.negative=c.negative,d.red=c.red}if(o.isBN=function(c){return c instanceof o||null!==c&&"object"==typeof c&&c.constructor.wordSize===o.wordSize&&Array.isArray(c.words)},o.max=function(c,b){return c.cmp(b)>0?c:b},o.min=function(c,b){return c.cmp(b)<0?c:b},o.prototype._init=function(c,b,T){if("number"==typeof c)return this._initNumber(c,b,T);if("object"==typeof c)return this._initArray(c,b,T);"hex"===b&&(b=16),g(b===(0|b)&&b>=2&&b<=36);var N=0;"-"===(c=c.toString().replace(/\s+/g,""))[0]&&(N++,this.negative=1),N<c.length&&(16===b?this._parseHex(c,N,T):(this._parseBase(c,b,N),"le"===T&&this._initArray(this.toArray(),b,T)))},o.prototype._initNumber=function(c,b,T){c<0&&(this.negative=1,c=-c),c<67108864?(this.words=[67108863&c],this.length=1):c<4503599627370496?(this.words=[67108863&c,c/67108864&67108863],this.length=2):(g(c<9007199254740992),this.words=[67108863&c,c/67108864&67108863,1],this.length=3),"le"===T&&this._initArray(this.toArray(),b,T)},o.prototype._initArray=function(c,b,T){if(g("number"==typeof c.length),c.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(c.length/3),this.words=new Array(this.length);for(var N=0;N<this.length;N++)this.words[N]=0;var v,n,y=0;if("be"===T)for(N=c.length-1,v=0;N>=0;N-=3)this.words[v]|=(n=c[N]|c[N-1]<<8|c[N-2]<<16)<<y&67108863,this.words[v+1]=n>>>26-y&67108863,(y+=24)>=26&&(y-=26,v++);else if("le"===T)for(N=0,v=0;N<c.length;N+=3)this.words[v]|=(n=c[N]|c[N+1]<<8|c[N+2]<<16)<<y&67108863,this.words[v+1]=n>>>26-y&67108863,(y+=24)>=26&&(y-=26,v++);return this._strip()},o.prototype._parseHex=function(c,b,T){this.length=Math.ceil((c.length-b)/6),this.words=new Array(this.length);for(var N=0;N<this.length;N++)this.words[N]=0;var y,v=0,n=0;if("be"===T)for(N=c.length-1;N>=b;N-=2)y=P(c,b,N)<<v,this.words[n]|=67108863&y,v>=18?(v-=18,this.words[n+=1]|=y>>>26):v+=8;else for(N=(c.length-b)%2==0?b+1:b;N<c.length;N+=2)y=P(c,b,N)<<v,this.words[n]|=67108863&y,v>=18?(v-=18,this.words[n+=1]|=y>>>26):v+=8;this._strip()},o.prototype._parseBase=function(c,b,T){this.words=[0],this.length=1;for(var N=0,v=1;v<=67108863;v*=b)N++;N--,v=v/b|0;for(var n=c.length-T,y=n%N,B=Math.min(n,n-y)+T,z=0,W=T;W<B;W+=N)z=u(c,W,W+N,b),this.imuln(v),this.words[0]+z<67108864?this.words[0]+=z:this._iaddn(z);if(0!==y){var Le=1;for(z=u(c,W,c.length,b),W=0;W<y;W++)Le*=b;this.imuln(Le),this.words[0]+z<67108864?this.words[0]+=z:this._iaddn(z)}this._strip()},o.prototype.copy=function(c){c.words=new Array(this.length);for(var b=0;b<this.length;b++)c.words[b]=this.words[b];c.length=this.length,c.negative=this.negative,c.red=this.red},o.prototype._move=function(c){I(c,this)},o.prototype.clone=function(){var c=new o(null);return this.copy(c),c},o.prototype._expand=function(c){for(;this.length<c;)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")]=S}catch{o.prototype.inspect=S}else o.prototype.inspect=S;function S(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var A=["","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],R=[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 Y(d,c,b){b.negative=c.negative^d.negative;var T=d.length+c.length|0;b.length=T,T=T-1|0;var N=0|d.words[0],v=0|c.words[0],n=N*v,B=n/67108864|0;b.words[0]=67108863&n;for(var z=1;z<T;z++){for(var W=B>>>26,Le=67108863&B,Ve=Math.min(z,c.length-1),Ke=Math.max(0,z-d.length+1);Ke<=Ve;Ke++)W+=(n=(N=0|d.words[z-Ke|0])*(v=0|c.words[Ke])+Le)/67108864|0,Le=67108863&n;b.words[z]=0|Le,B=0|W}return 0!==B?b.words[z]=0|B:b.length--,b._strip()}o.prototype.toString=function(c,b){var T;if(b=0|b||1,16===(c=c||10)||"hex"===c){T="";for(var N=0,v=0,n=0;n<this.length;n++){var y=this.words[n],B=(16777215&(y<<N|v)).toString(16);v=y>>>24-N&16777215,(N+=2)>=26&&(N-=26,n--),T=0!==v||n!==this.length-1?A[6-B.length]+B+T:B+T}for(0!==v&&(T=v.toString(16)+T);T.length%b!=0;)T="0"+T;return 0!==this.negative&&(T="-"+T),T}if(c===(0|c)&&c>=2&&c<=36){var z=w[c],W=R[c];T="";var Le=this.clone();for(Le.negative=0;!Le.isZero();){var Ve=Le.modrn(W).toString(c);T=(Le=Le.idivn(W)).isZero()?Ve+T:A[z-Ve.length]+Ve+T}for(this.isZero()&&(T="0"+T);T.length%b!=0;)T="0"+T;return 0!==this.negative&&(T="-"+T),T}g(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var c=this.words[0];return 2===this.length?c+=67108864*this.words[1]:3===this.length&&1===this.words[2]?c+=4503599627370496+67108864*this.words[1]:this.length>2&&g(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-c:c},o.prototype.toJSON=function(){return this.toString(16,2)},C&&(o.prototype.toBuffer=function(c,b){return this.toArrayLike(C,c,b)}),o.prototype.toArray=function(c,b){return this.toArrayLike(Array,c,b)},o.prototype.toArrayLike=function(c,b,T){this._strip();var N=this.byteLength(),v=T||Math.max(1,N);g(N<=v,"byte array longer than desired length"),g(v>0,"Requested array length <= 0");var n=function(c,b){return c.allocUnsafe?c.allocUnsafe(b):new c(b)}(c,v);return this["_toArrayLike"+("le"===b?"LE":"BE")](n,N),n},o.prototype._toArrayLikeLE=function(c,b){for(var T=0,N=0,v=0,n=0;v<this.length;v++){var y=this.words[v]<<n|N;c[T++]=255&y,T<c.length&&(c[T++]=y>>8&255),T<c.length&&(c[T++]=y>>16&255),6===n?(T<c.length&&(c[T++]=y>>24&255),N=0,n=0):(N=y>>>24,n+=2)}if(T<c.length)for(c[T++]=N;T<c.length;)c[T++]=0},o.prototype._toArrayLikeBE=function(c,b){for(var T=c.length-1,N=0,v=0,n=0;v<this.length;v++){var y=this.words[v]<<n|N;c[T--]=255&y,T>=0&&(c[T--]=y>>8&255),T>=0&&(c[T--]=y>>16&255),6===n?(T>=0&&(c[T--]=y>>24&255),N=0,n=0):(N=y>>>24,n+=2)}if(T>=0)for(c[T--]=N;T>=0;)c[T--]=0},o.prototype._countBits=Math.clz32?function(c){return 32-Math.clz32(c)}:function(c){var b=c,T=0;return b>=4096&&(T+=13,b>>>=13),b>=64&&(T+=7,b>>>=7),b>=8&&(T+=4,b>>>=4),b>=2&&(T+=2,b>>>=2),T+b},o.prototype._zeroBits=function(c){if(0===c)return 26;var b=c,T=0;return 0==(8191&b)&&(T+=13,b>>>=13),0==(127&b)&&(T+=7,b>>>=7),0==(15&b)&&(T+=4,b>>>=4),0==(3&b)&&(T+=2,b>>>=2),0==(1&b)&&T++,T},o.prototype.bitLength=function(){var b=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+b},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var c=0,b=0;b<this.length;b++){var T=this._zeroBits(this.words[b]);if(c+=T,26!==T)break}return c},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(c){return 0!==this.negative?this.abs().inotn(c).iaddn(1):this.clone()},o.prototype.fromTwos=function(c){return this.testn(c-1)?this.notn(c).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(c){for(;this.length<c.length;)this.words[this.length++]=0;for(var b=0;b<c.length;b++)this.words[b]=this.words[b]|c.words[b];return this._strip()},o.prototype.ior=function(c){return g(0==(this.negative|c.negative)),this.iuor(c)},o.prototype.or=function(c){return this.length>c.length?this.clone().ior(c):c.clone().ior(this)},o.prototype.uor=function(c){return this.length>c.length?this.clone().iuor(c):c.clone().iuor(this)},o.prototype.iuand=function(c){var b;b=this.length>c.length?c:this;for(var T=0;T<b.length;T++)this.words[T]=this.words[T]&c.words[T];return this.length=b.length,this._strip()},o.prototype.iand=function(c){return g(0==(this.negative|c.negative)),this.iuand(c)},o.prototype.and=function(c){return this.length>c.length?this.clone().iand(c):c.clone().iand(this)},o.prototype.uand=function(c){return this.length>c.length?this.clone().iuand(c):c.clone().iuand(this)},o.prototype.iuxor=function(c){var b,T;this.length>c.length?(b=this,T=c):(b=c,T=this);for(var N=0;N<T.length;N++)this.words[N]=b.words[N]^T.words[N];if(this!==b)for(;N<b.length;N++)this.words[N]=b.words[N];return this.length=b.length,this._strip()},o.prototype.ixor=function(c){return g(0==(this.negative|c.negative)),this.iuxor(c)},o.prototype.xor=function(c){return this.length>c.length?this.clone().ixor(c):c.clone().ixor(this)},o.prototype.uxor=function(c){return this.length>c.length?this.clone().iuxor(c):c.clone().iuxor(this)},o.prototype.inotn=function(c){g("number"==typeof c&&c>=0);var b=0|Math.ceil(c/26),T=c%26;this._expand(b),T>0&&b--;for(var N=0;N<b;N++)this.words[N]=67108863&~this.words[N];return T>0&&(this.words[N]=~this.words[N]&67108863>>26-T),this._strip()},o.prototype.notn=function(c){return this.clone().inotn(c)},o.prototype.setn=function(c,b){g("number"==typeof c&&c>=0);var T=c/26|0,N=c%26;return this._expand(T+1),this.words[T]=b?this.words[T]|1<<N:this.words[T]&~(1<<N),this._strip()},o.prototype.iadd=function(c){var b,T,N;if(0!==this.negative&&0===c.negative)return this.negative=0,b=this.isub(c),this.negative^=1,this._normSign();if(0===this.negative&&0!==c.negative)return c.negative=0,b=this.isub(c),c.negative=1,b._normSign();this.length>c.length?(T=this,N=c):(T=c,N=this);for(var v=0,n=0;n<N.length;n++)this.words[n]=67108863&(b=(0|T.words[n])+(0|N.words[n])+v),v=b>>>26;for(;0!==v&&n<T.length;n++)this.words[n]=67108863&(b=(0|T.words[n])+v),v=b>>>26;if(this.length=T.length,0!==v)this.words[this.length]=v,this.length++;else if(T!==this)for(;n<T.length;n++)this.words[n]=T.words[n];return this},o.prototype.add=function(c){var b;return 0!==c.negative&&0===this.negative?(c.negative=0,b=this.sub(c),c.negative^=1,b):0===c.negative&&0!==this.negative?(this.negative=0,b=c.sub(this),this.negative=1,b):this.length>c.length?this.clone().iadd(c):c.clone().iadd(this)},o.prototype.isub=function(c){if(0!==c.negative){c.negative=0;var b=this.iadd(c);return c.negative=1,b._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(c),this.negative=1,this._normSign();var N,v,T=this.cmp(c);if(0===T)return this.negative=0,this.length=1,this.words[0]=0,this;T>0?(N=this,v=c):(N=c,v=this);for(var n=0,y=0;y<v.length;y++)n=(b=(0|N.words[y])-(0|v.words[y])+n)>>26,this.words[y]=67108863&b;for(;0!==n&&y<N.length;y++)n=(b=(0|N.words[y])+n)>>26,this.words[y]=67108863&b;if(0===n&&y<N.length&&N!==this)for(;y<N.length;y++)this.words[y]=N.words[y];return this.length=Math.max(this.length,y),N!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(c){return this.clone().isub(c)};var Q=function(c,b,T){var B,z,W,N=c.words,v=b.words,n=T.words,y=0,Le=0|N[0],Ve=8191&Le,Ke=Le>>>13,$e=0|N[1],Ae=8191&$e,ue=$e>>>13,ye=0|N[2],we=8191&ye,he=ye>>>13,it=0|N[3],De=8191&it,oe=it>>>13,me=0|N[4],te=8191&me,Ze=me>>>13,Ue=0|N[5],q=8191&Ue,de=Ue>>>13,Ee=0|N[6],ke=8191&Ee,ie=Ee>>>13,nt=0|N[7],Ct=8191&nt,rt=nt>>>13,Xt=0|N[8],gt=8191&Xt,mt=Xt>>>13,St=0|N[9],Ie=8191&St,He=St>>>13,xt=0|v[0],Pe=8191&xt,et=xt>>>13,Vt=0|v[1],Lt=8191&Vt,Ft=Vt>>>13,bt=0|v[2],Ce=8191&bt,J=bt>>>13,ve=0|v[3],Ne=8191&ve,st=ve>>>13,ni=0|v[4],Ut=8191&ni,ti=ni>>>13,dt=0|v[5],at=8191&dt,_t=dt>>>13,ai=0|v[6],Bt=8191&ai,zt=ai>>>13,Nt=0|v[7],je=8191&Nt,Fe=Nt>>>13,Ye=0|v[8],qe=8191&Ye,Tt=Ye>>>13,mi=0|v[9],Ti=8191&mi,xi=mi>>>13;T.negative=c.negative^b.negative,T.length=19;var Fi=(y+(B=Math.imul(Ve,Pe))|0)+((8191&(z=(z=Math.imul(Ve,et))+Math.imul(Ke,Pe)|0))<<13)|0;y=((W=Math.imul(Ke,et))+(z>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,B=Math.imul(Ae,Pe),z=(z=Math.imul(Ae,et))+Math.imul(ue,Pe)|0,W=Math.imul(ue,et);var Je=(y+(B=B+Math.imul(Ve,Lt)|0)|0)+((8191&(z=(z=z+Math.imul(Ve,Ft)|0)+Math.imul(Ke,Lt)|0))<<13)|0;y=((W=W+Math.imul(Ke,Ft)|0)+(z>>>13)|0)+(Je>>>26)|0,Je&=67108863,B=Math.imul(we,Pe),z=(z=Math.imul(we,et))+Math.imul(he,Pe)|0,W=Math.imul(he,et),B=B+Math.imul(Ae,Lt)|0,z=(z=z+Math.imul(Ae,Ft)|0)+Math.imul(ue,Lt)|0,W=W+Math.imul(ue,Ft)|0;var wt=(y+(B=B+Math.imul(Ve,Ce)|0)|0)+((8191&(z=(z=z+Math.imul(Ve,J)|0)+Math.imul(Ke,Ce)|0))<<13)|0;y=((W=W+Math.imul(Ke,J)|0)+(z>>>13)|0)+(wt>>>26)|0,wt&=67108863,B=Math.imul(De,Pe),z=(z=Math.imul(De,et))+Math.imul(oe,Pe)|0,W=Math.imul(oe,et),B=B+Math.imul(we,Lt)|0,z=(z=z+Math.imul(we,Ft)|0)+Math.imul(he,Lt)|0,W=W+Math.imul(he,Ft)|0,B=B+Math.imul(Ae,Ce)|0,z=(z=z+Math.imul(Ae,J)|0)+Math.imul(ue,Ce)|0,W=W+Math.imul(ue,J)|0;var be=(y+(B=B+Math.imul(Ve,Ne)|0)|0)+((8191&(z=(z=z+Math.imul(Ve,st)|0)+Math.imul(Ke,Ne)|0))<<13)|0;y=((W=W+Math.imul(Ke,st)|0)+(z>>>13)|0)+(be>>>26)|0,be&=67108863,B=Math.imul(te,Pe),z=(z=Math.imul(te,et))+Math.imul(Ze,Pe)|0,W=Math.imul(Ze,et),B=B+Math.imul(De,Lt)|0,z=(z=z+Math.imul(De,Ft)|0)+Math.imul(oe,Lt)|0,W=W+Math.imul(oe,Ft)|0,B=B+Math.imul(we,Ce)|0,z=(z=z+Math.imul(we,J)|0)+Math.imul(he,Ce)|0,W=W+Math.imul(he,J)|0,B=B+Math.imul(Ae,Ne)|0,z=(z=z+Math.imul(Ae,st)|0)+Math.imul(ue,Ne)|0,W=W+Math.imul(ue,st)|0;var Pt=(y+(B=B+Math.imul(Ve,Ut)|0)|0)+((8191&(z=(z=z+Math.imul(Ve,ti)|0)+Math.imul(Ke,Ut)|0))<<13)|0;y=((W=W+Math.imul(Ke,ti)|0)+(z>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,B=Math.imul(q,Pe),z=(z=Math.imul(q,et))+Math.imul(de,Pe)|0,W=Math.imul(de,et),B=B+Math.imul(te,Lt)|0,z=(z=z+Math.imul(te,Ft)|0)+Math.imul(Ze,Lt)|0,W=W+Math.imul(Ze,Ft)|0,B=B+Math.imul(De,Ce)|0,z=(z=z+Math.imul(De,J)|0)+Math.imul(oe,Ce)|0,W=W+Math.imul(oe,J)|0,B=B+Math.imul(we,Ne)|0,z=(z=z+Math.imul(we,st)|0)+Math.imul(he,Ne)|0,W=W+Math.imul(he,st)|0,B=B+Math.imul(Ae,Ut)|0,z=(z=z+Math.imul(Ae,ti)|0)+Math.imul(ue,Ut)|0,W=W+Math.imul(ue,ti)|0;var qt=(y+(B=B+Math.imul(Ve,at)|0)|0)+((8191&(z=(z=z+Math.imul(Ve,_t)|0)+Math.imul(Ke,at)|0))<<13)|0;y=((W=W+Math.imul(Ke,_t)|0)+(z>>>13)|0)+(qt>>>26)|0,qt&=67108863,B=Math.imul(ke,Pe),z=(z=Math.imul(ke,et))+Math.imul(ie,Pe)|0,W=Math.imul(ie,et),B=B+Math.imul(q,Lt)|0,z=(z=z+Math.imul(q,Ft)|0)+Math.imul(de,Lt)|0,W=W+Math.imul(de,Ft)|0,B=B+Math.imul(te,Ce)|0,z=(z=z+Math.imul(te,J)|0)+Math.imul(Ze,Ce)|0,W=W+Math.imul(Ze,J)|0,B=B+Math.imul(De,Ne)|0,z=(z=z+Math.imul(De,st)|0)+Math.imul(oe,Ne)|0,W=W+Math.imul(oe,st)|0,B=B+Math.imul(we,Ut)|0,z=(z=z+Math.imul(we,ti)|0)+Math.imul(he,Ut)|0,W=W+Math.imul(he,ti)|0,B=B+Math.imul(Ae,at)|0,z=(z=z+Math.imul(Ae,_t)|0)+Math.imul(ue,at)|0,W=W+Math.imul(ue,_t)|0;var gi=(y+(B=B+Math.imul(Ve,Bt)|0)|0)+((8191&(z=(z=z+Math.imul(Ve,zt)|0)+Math.imul(Ke,Bt)|0))<<13)|0;y=((W=W+Math.imul(Ke,zt)|0)+(z>>>13)|0)+(gi>>>26)|0,gi&=67108863,B=Math.imul(Ct,Pe),z=(z=Math.imul(Ct,et))+Math.imul(rt,Pe)|0,W=Math.imul(rt,et),B=B+Math.imul(ke,Lt)|0,z=(z=z+Math.imul(ke,Ft)|0)+Math.imul(ie,Lt)|0,W=W+Math.imul(ie,Ft)|0,B=B+Math.imul(q,Ce)|0,z=(z=z+Math.imul(q,J)|0)+Math.imul(de,Ce)|0,W=W+Math.imul(de,J)|0,B=B+Math.imul(te,Ne)|0,z=(z=z+Math.imul(te,st)|0)+Math.imul(Ze,Ne)|0,W=W+Math.imul(Ze,st)|0,B=B+Math.imul(De,Ut)|0,z=(z=z+Math.imul(De,ti)|0)+Math.imul(oe,Ut)|0,W=W+Math.imul(oe,ti)|0,B=B+Math.imul(we,at)|0,z=(z=z+Math.imul(we,_t)|0)+Math.imul(he,at)|0,W=W+Math.imul(he,_t)|0,B=B+Math.imul(Ae,Bt)|0,z=(z=z+Math.imul(Ae,zt)|0)+Math.imul(ue,Bt)|0,W=W+Math.imul(ue,zt)|0;var Si=(y+(B=B+Math.imul(Ve,je)|0)|0)+((8191&(z=(z=z+Math.imul(Ve,Fe)|0)+Math.imul(Ke,je)|0))<<13)|0;y=((W=W+Math.imul(Ke,Fe)|0)+(z>>>13)|0)+(Si>>>26)|0,Si&=67108863,B=Math.imul(gt,Pe),z=(z=Math.imul(gt,et))+Math.imul(mt,Pe)|0,W=Math.imul(mt,et),B=B+Math.imul(Ct,Lt)|0,z=(z=z+Math.imul(Ct,Ft)|0)+Math.imul(rt,Lt)|0,W=W+Math.imul(rt,Ft)|0,B=B+Math.imul(ke,Ce)|0,z=(z=z+Math.imul(ke,J)|0)+Math.imul(ie,Ce)|0,W=W+Math.imul(ie,J)|0,B=B+Math.imul(q,Ne)|0,z=(z=z+Math.imul(q,st)|0)+Math.imul(de,Ne)|0,W=W+Math.imul(de,st)|0,B=B+Math.imul(te,Ut)|0,z=(z=z+Math.imul(te,ti)|0)+Math.imul(Ze,Ut)|0,W=W+Math.imul(Ze,ti)|0,B=B+Math.imul(De,at)|0,z=(z=z+Math.imul(De,_t)|0)+Math.imul(oe,at)|0,W=W+Math.imul(oe,_t)|0,B=B+Math.imul(we,Bt)|0,z=(z=z+Math.imul(we,zt)|0)+Math.imul(he,Bt)|0,W=W+Math.imul(he,zt)|0,B=B+Math.imul(Ae,je)|0,z=(z=z+Math.imul(Ae,Fe)|0)+Math.imul(ue,je)|0,W=W+Math.imul(ue,Fe)|0;var ki=(y+(B=B+Math.imul(Ve,qe)|0)|0)+((8191&(z=(z=z+Math.imul(Ve,Tt)|0)+Math.imul(Ke,qe)|0))<<13)|0;y=((W=W+Math.imul(Ke,Tt)|0)+(z>>>13)|0)+(ki>>>26)|0,ki&=67108863,B=Math.imul(Ie,Pe),z=(z=Math.imul(Ie,et))+Math.imul(He,Pe)|0,W=Math.imul(He,et),B=B+Math.imul(gt,Lt)|0,z=(z=z+Math.imul(gt,Ft)|0)+Math.imul(mt,Lt)|0,W=W+Math.imul(mt,Ft)|0,B=B+Math.imul(Ct,Ce)|0,z=(z=z+Math.imul(Ct,J)|0)+Math.imul(rt,Ce)|0,W=W+Math.imul(rt,J)|0,B=B+Math.imul(ke,Ne)|0,z=(z=z+Math.imul(ke,st)|0)+Math.imul(ie,Ne)|0,W=W+Math.imul(ie,st)|0,B=B+Math.imul(q,Ut)|0,z=(z=z+Math.imul(q,ti)|0)+Math.imul(de,Ut)|0,W=W+Math.imul(de,ti)|0,B=B+Math.imul(te,at)|0,z=(z=z+Math.imul(te,_t)|0)+Math.imul(Ze,at)|0,W=W+Math.imul(Ze,_t)|0,B=B+Math.imul(De,Bt)|0,z=(z=z+Math.imul(De,zt)|0)+Math.imul(oe,Bt)|0,W=W+Math.imul(oe,zt)|0,B=B+Math.imul(we,je)|0,z=(z=z+Math.imul(we,Fe)|0)+Math.imul(he,je)|0,W=W+Math.imul(he,Fe)|0,B=B+Math.imul(Ae,qe)|0,z=(z=z+Math.imul(Ae,Tt)|0)+Math.imul(ue,qe)|0,W=W+Math.imul(ue,Tt)|0;var Gi=(y+(B=B+Math.imul(Ve,Ti)|0)|0)+((8191&(z=(z=z+Math.imul(Ve,xi)|0)+Math.imul(Ke,Ti)|0))<<13)|0;y=((W=W+Math.imul(Ke,xi)|0)+(z>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,B=Math.imul(Ie,Lt),z=(z=Math.imul(Ie,Ft))+Math.imul(He,Lt)|0,W=Math.imul(He,Ft),B=B+Math.imul(gt,Ce)|0,z=(z=z+Math.imul(gt,J)|0)+Math.imul(mt,Ce)|0,W=W+Math.imul(mt,J)|0,B=B+Math.imul(Ct,Ne)|0,z=(z=z+Math.imul(Ct,st)|0)+Math.imul(rt,Ne)|0,W=W+Math.imul(rt,st)|0,B=B+Math.imul(ke,Ut)|0,z=(z=z+Math.imul(ke,ti)|0)+Math.imul(ie,Ut)|0,W=W+Math.imul(ie,ti)|0,B=B+Math.imul(q,at)|0,z=(z=z+Math.imul(q,_t)|0)+Math.imul(de,at)|0,W=W+Math.imul(de,_t)|0,B=B+Math.imul(te,Bt)|0,z=(z=z+Math.imul(te,zt)|0)+Math.imul(Ze,Bt)|0,W=W+Math.imul(Ze,zt)|0,B=B+Math.imul(De,je)|0,z=(z=z+Math.imul(De,Fe)|0)+Math.imul(oe,je)|0,W=W+Math.imul(oe,Fe)|0,B=B+Math.imul(we,qe)|0,z=(z=z+Math.imul(we,Tt)|0)+Math.imul(he,qe)|0,W=W+Math.imul(he,Tt)|0;var Gt=(y+(B=B+Math.imul(Ae,Ti)|0)|0)+((8191&(z=(z=z+Math.imul(Ae,xi)|0)+Math.imul(ue,Ti)|0))<<13)|0;y=((W=W+Math.imul(ue,xi)|0)+(z>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,B=Math.imul(Ie,Ce),z=(z=Math.imul(Ie,J))+Math.imul(He,Ce)|0,W=Math.imul(He,J),B=B+Math.imul(gt,Ne)|0,z=(z=z+Math.imul(gt,st)|0)+Math.imul(mt,Ne)|0,W=W+Math.imul(mt,st)|0,B=B+Math.imul(Ct,Ut)|0,z=(z=z+Math.imul(Ct,ti)|0)+Math.imul(rt,Ut)|0,W=W+Math.imul(rt,ti)|0,B=B+Math.imul(ke,at)|0,z=(z=z+Math.imul(ke,_t)|0)+Math.imul(ie,at)|0,W=W+Math.imul(ie,_t)|0,B=B+Math.imul(q,Bt)|0,z=(z=z+Math.imul(q,zt)|0)+Math.imul(de,Bt)|0,W=W+Math.imul(de,zt)|0,B=B+Math.imul(te,je)|0,z=(z=z+Math.imul(te,Fe)|0)+Math.imul(Ze,je)|0,W=W+Math.imul(Ze,Fe)|0,B=B+Math.imul(De,qe)|0,z=(z=z+Math.imul(De,Tt)|0)+Math.imul(oe,qe)|0,W=W+Math.imul(oe,Tt)|0;var di=(y+(B=B+Math.imul(we,Ti)|0)|0)+((8191&(z=(z=z+Math.imul(we,xi)|0)+Math.imul(he,Ti)|0))<<13)|0;y=((W=W+Math.imul(he,xi)|0)+(z>>>13)|0)+(di>>>26)|0,di&=67108863,B=Math.imul(Ie,Ne),z=(z=Math.imul(Ie,st))+Math.imul(He,Ne)|0,W=Math.imul(He,st),B=B+Math.imul(gt,Ut)|0,z=(z=z+Math.imul(gt,ti)|0)+Math.imul(mt,Ut)|0,W=W+Math.imul(mt,ti)|0,B=B+Math.imul(Ct,at)|0,z=(z=z+Math.imul(Ct,_t)|0)+Math.imul(rt,at)|0,W=W+Math.imul(rt,_t)|0,B=B+Math.imul(ke,Bt)|0,z=(z=z+Math.imul(ke,zt)|0)+Math.imul(ie,Bt)|0,W=W+Math.imul(ie,zt)|0,B=B+Math.imul(q,je)|0,z=(z=z+Math.imul(q,Fe)|0)+Math.imul(de,je)|0,W=W+Math.imul(de,Fe)|0,B=B+Math.imul(te,qe)|0,z=(z=z+Math.imul(te,Tt)|0)+Math.imul(Ze,qe)|0,W=W+Math.imul(Ze,Tt)|0;var ge=(y+(B=B+Math.imul(De,Ti)|0)|0)+((8191&(z=(z=z+Math.imul(De,xi)|0)+Math.imul(oe,Ti)|0))<<13)|0;y=((W=W+Math.imul(oe,xi)|0)+(z>>>13)|0)+(ge>>>26)|0,ge&=67108863,B=Math.imul(Ie,Ut),z=(z=Math.imul(Ie,ti))+Math.imul(He,Ut)|0,W=Math.imul(He,ti),B=B+Math.imul(gt,at)|0,z=(z=z+Math.imul(gt,_t)|0)+Math.imul(mt,at)|0,W=W+Math.imul(mt,_t)|0,B=B+Math.imul(Ct,Bt)|0,z=(z=z+Math.imul(Ct,zt)|0)+Math.imul(rt,Bt)|0,W=W+Math.imul(rt,zt)|0,B=B+Math.imul(ke,je)|0,z=(z=z+Math.imul(ke,Fe)|0)+Math.imul(ie,je)|0,W=W+Math.imul(ie,Fe)|0,B=B+Math.imul(q,qe)|0,z=(z=z+Math.imul(q,Tt)|0)+Math.imul(de,qe)|0,W=W+Math.imul(de,Tt)|0;var Xe=(y+(B=B+Math.imul(te,Ti)|0)|0)+((8191&(z=(z=z+Math.imul(te,xi)|0)+Math.imul(Ze,Ti)|0))<<13)|0;y=((W=W+Math.imul(Ze,xi)|0)+(z>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,B=Math.imul(Ie,at),z=(z=Math.imul(Ie,_t))+Math.imul(He,at)|0,W=Math.imul(He,_t),B=B+Math.imul(gt,Bt)|0,z=(z=z+Math.imul(gt,zt)|0)+Math.imul(mt,Bt)|0,W=W+Math.imul(mt,zt)|0,B=B+Math.imul(Ct,je)|0,z=(z=z+Math.imul(Ct,Fe)|0)+Math.imul(rt,je)|0,W=W+Math.imul(rt,Fe)|0,B=B+Math.imul(ke,qe)|0,z=(z=z+Math.imul(ke,Tt)|0)+Math.imul(ie,qe)|0,W=W+Math.imul(ie,Tt)|0;var Et=(y+(B=B+Math.imul(q,Ti)|0)|0)+((8191&(z=(z=z+Math.imul(q,xi)|0)+Math.imul(de,Ti)|0))<<13)|0;y=((W=W+Math.imul(de,xi)|0)+(z>>>13)|0)+(Et>>>26)|0,Et&=67108863,B=Math.imul(Ie,Bt),z=(z=Math.imul(Ie,zt))+Math.imul(He,Bt)|0,W=Math.imul(He,zt),B=B+Math.imul(gt,je)|0,z=(z=z+Math.imul(gt,Fe)|0)+Math.imul(mt,je)|0,W=W+Math.imul(mt,Fe)|0,B=B+Math.imul(Ct,qe)|0,z=(z=z+Math.imul(Ct,Tt)|0)+Math.imul(rt,qe)|0,W=W+Math.imul(rt,Tt)|0;var jt=(y+(B=B+Math.imul(ke,Ti)|0)|0)+((8191&(z=(z=z+Math.imul(ke,xi)|0)+Math.imul(ie,Ti)|0))<<13)|0;y=((W=W+Math.imul(ie,xi)|0)+(z>>>13)|0)+(jt>>>26)|0,jt&=67108863,B=Math.imul(Ie,je),z=(z=Math.imul(Ie,Fe))+Math.imul(He,je)|0,W=Math.imul(He,Fe),B=B+Math.imul(gt,qe)|0,z=(z=z+Math.imul(gt,Tt)|0)+Math.imul(mt,qe)|0,W=W+Math.imul(mt,Tt)|0;var Wt=(y+(B=B+Math.imul(Ct,Ti)|0)|0)+((8191&(z=(z=z+Math.imul(Ct,xi)|0)+Math.imul(rt,Ti)|0))<<13)|0;y=((W=W+Math.imul(rt,xi)|0)+(z>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,B=Math.imul(Ie,qe),z=(z=Math.imul(Ie,Tt))+Math.imul(He,qe)|0,W=Math.imul(He,Tt);var si=(y+(B=B+Math.imul(gt,Ti)|0)|0)+((8191&(z=(z=z+Math.imul(gt,xi)|0)+Math.imul(mt,Ti)|0))<<13)|0;y=((W=W+Math.imul(mt,xi)|0)+(z>>>13)|0)+(si>>>26)|0,si&=67108863;var Yt=(y+(B=Math.imul(Ie,Ti))|0)+((8191&(z=(z=Math.imul(Ie,xi))+Math.imul(He,Ti)|0))<<13)|0;return y=((W=Math.imul(He,xi))+(z>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,n[0]=Fi,n[1]=Je,n[2]=wt,n[3]=be,n[4]=Pt,n[5]=qt,n[6]=gi,n[7]=Si,n[8]=ki,n[9]=Gi,n[10]=Gt,n[11]=di,n[12]=ge,n[13]=Xe,n[14]=Et,n[15]=jt,n[16]=Wt,n[17]=si,n[18]=Yt,0!==y&&(n[19]=y,T.length++),T};function X(d,c,b){b.negative=c.negative^d.negative,b.length=d.length+c.length;for(var T=0,N=0,v=0;v<b.length-1;v++){var n=N;N=0;for(var y=67108863&T,B=Math.min(v,c.length-1),z=Math.max(0,v-d.length+1);z<=B;z++){var Ke=(0|d.words[v-z])*(0|c.words[z]),$e=67108863&Ke;y=67108863&($e=$e+y|0),N+=(n=(n=n+(Ke/67108864|0)|0)+($e>>>26)|0)>>>26,n&=67108863}b.words[v]=y,T=n,n=N}return 0!==T?b.words[v]=T:b.length--,b._strip()}function $(d,c,b){return X(d,c,b)}function fe(d,c){this.x=d,this.y=c}Math.imul||(Q=Y),o.prototype.mulTo=function(c,b){var N=this.length+c.length;return 10===this.length&&10===c.length?Q(this,c,b):N<63?Y(this,c,b):N<1024?X(this,c,b):$(this,c,b)},fe.prototype.makeRBT=function(c){for(var b=new Array(c),T=o.prototype._countBits(c)-1,N=0;N<c;N++)b[N]=this.revBin(N,T,c);return b},fe.prototype.revBin=function(c,b,T){if(0===c||c===T-1)return c;for(var N=0,v=0;v<b;v++)N|=(1&c)<<b-v-1,c>>=1;return N},fe.prototype.permute=function(c,b,T,N,v,n){for(var y=0;y<n;y++)N[y]=b[c[y]],v[y]=T[c[y]]},fe.prototype.transform=function(c,b,T,N,v,n){this.permute(n,c,b,T,N,v);for(var y=1;y<v;y<<=1)for(var B=y<<1,z=Math.cos(2*Math.PI/B),W=Math.sin(2*Math.PI/B),Le=0;Le<v;Le+=B)for(var Ve=z,Ke=W,$e=0;$e<y;$e++){var Ae=T[Le+$e],ue=N[Le+$e],ye=T[Le+$e+y],we=N[Le+$e+y],he=Ve*ye-Ke*we;we=Ve*we+Ke*ye,T[Le+$e]=Ae+(ye=he),N[Le+$e]=ue+we,T[Le+$e+y]=Ae-ye,N[Le+$e+y]=ue-we,$e!==B&&(he=z*Ve-W*Ke,Ke=z*Ke+W*Ve,Ve=he)}},fe.prototype.guessLen13b=function(c,b){var T=1|Math.max(b,c),N=1&T,v=0;for(T=T/2|0;T;T>>>=1)v++;return 1<<v+1+N},fe.prototype.conjugate=function(c,b,T){if(!(T<=1))for(var N=0;N<T/2;N++){var v=c[N];c[N]=c[T-N-1],c[T-N-1]=v,v=b[N],b[N]=-b[T-N-1],b[T-N-1]=-v}},fe.prototype.normalize13b=function(c,b){for(var T=0,N=0;N<b/2;N++){var v=8192*Math.round(c[2*N+1]/b)+Math.round(c[2*N]/b)+T;c[N]=67108863&v,T=v<67108864?0:v/67108864|0}return c},fe.prototype.convert13b=function(c,b,T,N){for(var v=0,n=0;n<b;n++)T[2*n]=8191&(v+=0|c[n]),T[2*n+1]=8191&(v>>>=13),v>>>=13;for(n=2*b;n<N;++n)T[n]=0;g(0===v),g(0==(-8192&v))},fe.prototype.stub=function(c){for(var b=new Array(c),T=0;T<c;T++)b[T]=0;return b},fe.prototype.mulp=function(c,b,T){var N=2*this.guessLen13b(c.length,b.length),v=this.makeRBT(N),n=this.stub(N),y=new Array(N),B=new Array(N),z=new Array(N),W=new Array(N),Le=new Array(N),Ve=new Array(N),Ke=T.words;Ke.length=N,this.convert13b(c.words,c.length,y,N),this.convert13b(b.words,b.length,W,N),this.transform(y,n,B,z,N,v),this.transform(W,n,Le,Ve,N,v);for(var $e=0;$e<N;$e++){var Ae=B[$e]*Le[$e]-z[$e]*Ve[$e];z[$e]=B[$e]*Ve[$e]+z[$e]*Le[$e],B[$e]=Ae}return this.conjugate(B,z,N),this.transform(B,z,Ke,n,N,v),this.conjugate(Ke,n,N),this.normalize13b(Ke,N),T.negative=c.negative^b.negative,T.length=c.length+b.length,T._strip()},o.prototype.mul=function(c){var b=new o(null);return b.words=new Array(this.length+c.length),this.mulTo(c,b)},o.prototype.mulf=function(c){var b=new o(null);return b.words=new Array(this.length+c.length),$(this,c,b)},o.prototype.imul=function(c){return this.clone().mulTo(c,this)},o.prototype.imuln=function(c){var b=c<0;b&&(c=-c),g("number"==typeof c),g(c<67108864);for(var T=0,N=0;N<this.length;N++){var v=(0|this.words[N])*c,n=(67108863&v)+(67108863&T);T>>=26,T+=v/67108864|0,T+=n>>>26,this.words[N]=67108863&n}return 0!==T&&(this.words[N]=T,this.length++),b?this.ineg():this},o.prototype.muln=function(c){return this.clone().imuln(c)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(c){var b=function U(d){for(var c=new Array(d.bitLength()),b=0;b<c.length;b++)c[b]=d.words[b/26|0]>>>b%26&1;return c}(c);if(0===b.length)return new o(1);for(var T=this,N=0;N<b.length&&0===b[N];N++,T=T.sqr());if(++N<b.length)for(var v=T.sqr();N<b.length;N++,v=v.sqr())0!==b[N]&&(T=T.mul(v));return T},o.prototype.iushln=function(c){g("number"==typeof c&&c>=0);var v,b=c%26,T=(c-b)/26,N=67108863>>>26-b<<26-b;if(0!==b){var n=0;for(v=0;v<this.length;v++){var y=this.words[v]&N;this.words[v]=(0|this.words[v])-y<<b|n,n=y>>>26-b}n&&(this.words[v]=n,this.length++)}if(0!==T){for(v=this.length-1;v>=0;v--)this.words[v+T]=this.words[v];for(v=0;v<T;v++)this.words[v]=0;this.length+=T}return this._strip()},o.prototype.ishln=function(c){return g(0===this.negative),this.iushln(c)},o.prototype.iushrn=function(c,b,T){var N;g("number"==typeof c&&c>=0),N=b?(b-b%26)/26:0;var v=c%26,n=Math.min((c-v)/26,this.length),y=67108863^67108863>>>v<<v,B=T;if(N-=n,N=Math.max(0,N),B){for(var z=0;z<n;z++)B.words[z]=this.words[z];B.length=n}if(0!==n)if(this.length>n)for(this.length-=n,z=0;z<this.length;z++)this.words[z]=this.words[z+n];else this.words[0]=0,this.length=1;var W=0;for(z=this.length-1;z>=0&&(0!==W||z>=N);z--){var Le=0|this.words[z];this.words[z]=W<<26-v|Le>>>v,W=Le&y}return B&&0!==W&&(B.words[B.length++]=W),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(c,b,T){return g(0===this.negative),this.iushrn(c,b,T)},o.prototype.shln=function(c){return this.clone().ishln(c)},o.prototype.ushln=function(c){return this.clone().iushln(c)},o.prototype.shrn=function(c){return this.clone().ishrn(c)},o.prototype.ushrn=function(c){return this.clone().iushrn(c)},o.prototype.testn=function(c){g("number"==typeof c&&c>=0);var b=c%26,T=(c-b)/26;return!(this.length<=T||!(this.words[T]&1<<b))},o.prototype.imaskn=function(c){g("number"==typeof c&&c>=0);var b=c%26,T=(c-b)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=T?this:(0!==b&&T++,this.length=Math.min(T,this.length),0!==b&&(this.words[this.length-1]&=67108863^67108863>>>b<<b),this._strip())},o.prototype.maskn=function(c){return this.clone().imaskn(c)},o.prototype.iaddn=function(c){return g("number"==typeof c),g(c<67108864),c<0?this.isubn(-c):0!==this.negative?1===this.length&&(0|this.words[0])<=c?(this.words[0]=c-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(c),this.negative=1,this):this._iaddn(c)},o.prototype._iaddn=function(c){this.words[0]+=c;for(var b=0;b<this.length&&this.words[b]>=67108864;b++)this.words[b]-=67108864,b===this.length-1?this.words[b+1]=1:this.words[b+1]++;return this.length=Math.max(this.length,b+1),this},o.prototype.isubn=function(c){if(g("number"==typeof c),g(c<67108864),c<0)return this.iaddn(-c);if(0!==this.negative)return this.negative=0,this.iaddn(c),this.negative=1,this;if(this.words[0]-=c,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var b=0;b<this.length&&this.words[b]<0;b++)this.words[b]+=67108864,this.words[b+1]-=1;return this._strip()},o.prototype.addn=function(c){return this.clone().iaddn(c)},o.prototype.subn=function(c){return this.clone().isubn(c)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(c,b,T){var v;this._expand(c.length+T);var n,y=0;for(v=0;v<c.length;v++){n=(0|this.words[v+T])+y;var B=(0|c.words[v])*b;y=((n-=67108863&B)>>26)-(B/67108864|0),this.words[v+T]=67108863&n}for(;v<this.length-T;v++)y=(n=(0|this.words[v+T])+y)>>26,this.words[v+T]=67108863&n;if(0===y)return this._strip();for(g(-1===y),y=0,v=0;v<this.length;v++)y=(n=-(0|this.words[v])+y)>>26,this.words[v]=67108863&n;return this.negative=1,this._strip()},o.prototype._wordDiv=function(c,b){var T,N=this.clone(),v=c,n=0|v.words[v.length-1];0!=(T=26-this._countBits(n))&&(v=v.ushln(T),N.iushln(T),n=0|v.words[v.length-1]);var z,B=N.length-v.length;if("mod"!==b){(z=new o(null)).length=B+1,z.words=new Array(z.length);for(var W=0;W<z.length;W++)z.words[W]=0}var Le=N.clone()._ishlnsubmul(v,1,B);0===Le.negative&&(N=Le,z&&(z.words[B]=1));for(var Ve=B-1;Ve>=0;Ve--){var Ke=67108864*(0|N.words[v.length+Ve])+(0|N.words[v.length+Ve-1]);for(Ke=Math.min(Ke/n|0,67108863),N._ishlnsubmul(v,Ke,Ve);0!==N.negative;)Ke--,N.negative=0,N._ishlnsubmul(v,1,Ve),N.isZero()||(N.negative^=1);z&&(z.words[Ve]=Ke)}return z&&z._strip(),N._strip(),"div"!==b&&0!==T&&N.iushrn(T),{div:z||null,mod:N}},o.prototype.divmod=function(c,b,T){return g(!c.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===c.negative?(n=this.neg().divmod(c,b),"mod"!==b&&(N=n.div.neg()),"div"!==b&&(v=n.mod.neg(),T&&0!==v.negative&&v.iadd(c)),{div:N,mod:v}):0===this.negative&&0!==c.negative?(n=this.divmod(c.neg(),b),"mod"!==b&&(N=n.div.neg()),{div:N,mod:n.mod}):0!=(this.negative&c.negative)?(n=this.neg().divmod(c.neg(),b),"div"!==b&&(v=n.mod.neg(),T&&0!==v.negative&&v.isub(c)),{div:n.div,mod:v}):c.length>this.length||this.cmp(c)<0?{div:new o(0),mod:this}:1===c.length?"div"===b?{div:this.divn(c.words[0]),mod:null}:"mod"===b?{div:null,mod:new o(this.modrn(c.words[0]))}:{div:this.divn(c.words[0]),mod:new o(this.modrn(c.words[0]))}:this._wordDiv(c,b);var N,v,n},o.prototype.div=function(c){return this.divmod(c,"div",!1).div},o.prototype.mod=function(c){return this.divmod(c,"mod",!1).mod},o.prototype.umod=function(c){return this.divmod(c,"mod",!0).mod},o.prototype.divRound=function(c){var b=this.divmod(c);if(b.mod.isZero())return b.div;var T=0!==b.div.negative?b.mod.isub(c):b.mod,N=c.ushrn(1),v=c.andln(1),n=T.cmp(N);return n<0||1===v&&0===n?b.div:0!==b.div.negative?b.div.isubn(1):b.div.iaddn(1)},o.prototype.modrn=function(c){var b=c<0;b&&(c=-c),g(c<=67108863);for(var T=(1<<26)%c,N=0,v=this.length-1;v>=0;v--)N=(T*N+(0|this.words[v]))%c;return b?-N:N},o.prototype.modn=function(c){return this.modrn(c)},o.prototype.idivn=function(c){var b=c<0;b&&(c=-c),g(c<=67108863);for(var T=0,N=this.length-1;N>=0;N--){var v=(0|this.words[N])+67108864*T;this.words[N]=v/c|0,T=v%c}return this._strip(),b?this.ineg():this},o.prototype.divn=function(c){return this.clone().idivn(c)},o.prototype.egcd=function(c){g(0===c.negative),g(!c.isZero());var b=this,T=c.clone();b=0!==b.negative?b.umod(c):b.clone();for(var N=new o(1),v=new o(0),n=new o(0),y=new o(1),B=0;b.isEven()&&T.isEven();)b.iushrn(1),T.iushrn(1),++B;for(var z=T.clone(),W=b.clone();!b.isZero();){for(var Le=0,Ve=1;0==(b.words[0]&Ve)&&Le<26;++Le,Ve<<=1);if(Le>0)for(b.iushrn(Le);Le-- >0;)(N.isOdd()||v.isOdd())&&(N.iadd(z),v.isub(W)),N.iushrn(1),v.iushrn(1);for(var Ke=0,$e=1;0==(T.words[0]&$e)&&Ke<26;++Ke,$e<<=1);if(Ke>0)for(T.iushrn(Ke);Ke-- >0;)(n.isOdd()||y.isOdd())&&(n.iadd(z),y.isub(W)),n.iushrn(1),y.iushrn(1);b.cmp(T)>=0?(b.isub(T),N.isub(n),v.isub(y)):(T.isub(b),n.isub(N),y.isub(v))}return{a:n,b:y,gcd:T.iushln(B)}},o.prototype._invmp=function(c){g(0===c.negative),g(!c.isZero());var Le,b=this,T=c.clone();b=0!==b.negative?b.umod(c):b.clone();for(var N=new o(1),v=new o(0),n=T.clone();b.cmpn(1)>0&&T.cmpn(1)>0;){for(var y=0,B=1;0==(b.words[0]&B)&&y<26;++y,B<<=1);if(y>0)for(b.iushrn(y);y-- >0;)N.isOdd()&&N.iadd(n),N.iushrn(1);for(var z=0,W=1;0==(T.words[0]&W)&&z<26;++z,W<<=1);if(z>0)for(T.iushrn(z);z-- >0;)v.isOdd()&&v.iadd(n),v.iushrn(1);b.cmp(T)>=0?(b.isub(T),N.isub(v)):(T.isub(b),v.isub(N))}return(Le=0===b.cmpn(1)?N:v).cmpn(0)<0&&Le.iadd(c),Le},o.prototype.gcd=function(c){if(this.isZero())return c.abs();if(c.isZero())return this.abs();var b=this.clone(),T=c.clone();b.negative=0,T.negative=0;for(var N=0;b.isEven()&&T.isEven();N++)b.iushrn(1),T.iushrn(1);for(;;){for(;b.isEven();)b.iushrn(1);for(;T.isEven();)T.iushrn(1);var v=b.cmp(T);if(v<0){var n=b;b=T,T=n}else if(0===v||0===T.cmpn(1))break;b.isub(T)}return T.iushln(N)},o.prototype.invm=function(c){return this.egcd(c).a.umod(c)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(c){return this.words[0]&c},o.prototype.bincn=function(c){g("number"==typeof c);var b=c%26,T=(c-b)/26,N=1<<b;if(this.length<=T)return this._expand(T+1),this.words[T]|=N,this;for(var v=N,n=T;0!==v&&n<this.length;n++){var y=0|this.words[n];v=(y+=v)>>>26,this.words[n]=y&=67108863}return 0!==v&&(this.words[n]=v,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(c){var T,b=c<0;if(0!==this.negative&&!b)return-1;if(0===this.negative&&b)return 1;if(this._strip(),this.length>1)T=1;else{b&&(c=-c),g(c<=67108863,"Number is too big");var N=0|this.words[0];T=N===c?0:N<c?-1:1}return 0!==this.negative?0|-T:T},o.prototype.cmp=function(c){if(0!==this.negative&&0===c.negative)return-1;if(0===this.negative&&0!==c.negative)return 1;var b=this.ucmp(c);return 0!==this.negative?0|-b:b},o.prototype.ucmp=function(c){if(this.length>c.length)return 1;if(this.length<c.length)return-1;for(var b=0,T=this.length-1;T>=0;T--){var N=0|this.words[T],v=0|c.words[T];if(N!==v){N<v?b=-1:N>v&&(b=1);break}}return b},o.prototype.gtn=function(c){return 1===this.cmpn(c)},o.prototype.gt=function(c){return 1===this.cmp(c)},o.prototype.gten=function(c){return this.cmpn(c)>=0},o.prototype.gte=function(c){return this.cmp(c)>=0},o.prototype.ltn=function(c){return-1===this.cmpn(c)},o.prototype.lt=function(c){return-1===this.cmp(c)},o.prototype.lten=function(c){return this.cmpn(c)<=0},o.prototype.lte=function(c){return this.cmp(c)<=0},o.prototype.eqn=function(c){return 0===this.cmpn(c)},o.prototype.eq=function(c){return 0===this.cmp(c)},o.red=function(c){return new i(c)},o.prototype.toRed=function(c){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),c.convertTo(this)._forceRed(c)},o.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(c){return this.red=c,this},o.prototype.forceRed=function(c){return g(!this.red,"Already a number in reduction context"),this._forceRed(c)},o.prototype.redAdd=function(c){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,c)},o.prototype.redIAdd=function(c){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,c)},o.prototype.redSub=function(c){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,c)},o.prototype.redISub=function(c){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,c)},o.prototype.redShl=function(c){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,c)},o.prototype.redMul=function(c){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,c),this.red.mul(this,c)},o.prototype.redIMul=function(c){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,c),this.red.imul(this,c)},o.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(c){return g(this.red&&!c.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,c)};var re={k256:null,p224:null,p192:null,p25519:null};function ee(d,c){this.name=d,this.p=new o(c,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ce(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function se(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function le(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function L(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function i(d){if("string"==typeof d){var c=o._prime(d);this.m=c.p,this.prime=c}else g(d.gtn(1),"modulus must be greater than 1"),this.m=d,this.prime=null}function r(d){i.call(this,d),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 c=new o(null);return c.words=new Array(Math.ceil(this.n/13)),c},ee.prototype.ireduce=function(c){var T,b=c;do{this.split(b,this.tmp),T=(b=(b=this.imulK(b)).iadd(this.tmp)).bitLength()}while(T>this.n);var N=T<this.n?-1:b.ucmp(this.p);return 0===N?(b.words[0]=0,b.length=1):N>0?b.isub(this.p):void 0!==b.strip?b.strip():b._strip(),b},ee.prototype.split=function(c,b){c.iushrn(this.n,0,b)},ee.prototype.imulK=function(c){return c.imul(this.k)},k(ce,ee),ce.prototype.split=function(c,b){for(var T=4194303,N=Math.min(c.length,9),v=0;v<N;v++)b.words[v]=c.words[v];if(b.length=N,c.length<=9)return c.words[0]=0,void(c.length=1);var n=c.words[9];for(b.words[b.length++]=n&T,v=10;v<c.length;v++){var y=0|c.words[v];c.words[v-10]=(y&T)<<4|n>>>22,n=y}c.words[v-10]=n>>>=22,c.length-=0===n&&c.length>10?10:9},ce.prototype.imulK=function(c){c.words[c.length]=0,c.words[c.length+1]=0,c.length+=2;for(var b=0,T=0;T<c.length;T++){var N=0|c.words[T];c.words[T]=67108863&(b+=977*N),b=64*N+(b/67108864|0)}return 0===c.words[c.length-1]&&(c.length--,0===c.words[c.length-1]&&c.length--),c},k(se,ee),k(le,ee),k(L,ee),L.prototype.imulK=function(c){for(var b=0,T=0;T<c.length;T++){var N=19*(0|c.words[T])+b,v=67108863&N;N>>>=26,c.words[T]=v,b=N}return 0!==b&&(c.words[c.length++]=b),c},o._prime=function(c){if(re[c])return re[c];var b;if("k256"===c)b=new ce;else if("p224"===c)b=new se;else if("p192"===c)b=new le;else{if("p25519"!==c)throw new Error("Unknown prime "+c);b=new L}return re[c]=b,b},i.prototype._verify1=function(c){g(0===c.negative,"red works only with positives"),g(c.red,"red works only with red numbers")},i.prototype._verify2=function(c,b){g(0==(c.negative|b.negative),"red works only with positives"),g(c.red&&c.red===b.red,"red works only with red numbers")},i.prototype.imod=function(c){return this.prime?this.prime.ireduce(c)._forceRed(this):(I(c,c.umod(this.m)._forceRed(this)),c)},i.prototype.neg=function(c){return c.isZero()?c.clone():this.m.sub(c)._forceRed(this)},i.prototype.add=function(c,b){this._verify2(c,b);var T=c.add(b);return T.cmp(this.m)>=0&&T.isub(this.m),T._forceRed(this)},i.prototype.iadd=function(c,b){this._verify2(c,b);var T=c.iadd(b);return T.cmp(this.m)>=0&&T.isub(this.m),T},i.prototype.sub=function(c,b){this._verify2(c,b);var T=c.sub(b);return T.cmpn(0)<0&&T.iadd(this.m),T._forceRed(this)},i.prototype.isub=function(c,b){this._verify2(c,b);var T=c.isub(b);return T.cmpn(0)<0&&T.iadd(this.m),T},i.prototype.shl=function(c,b){return this._verify1(c),this.imod(c.ushln(b))},i.prototype.imul=function(c,b){return this._verify2(c,b),this.imod(c.imul(b))},i.prototype.mul=function(c,b){return this._verify2(c,b),this.imod(c.mul(b))},i.prototype.isqr=function(c){return this.imul(c,c.clone())},i.prototype.sqr=function(c){return this.mul(c,c)},i.prototype.sqrt=function(c){if(c.isZero())return c.clone();var b=this.m.andln(3);if(g(b%2==1),3===b){var T=this.m.add(new o(1)).iushrn(2);return this.pow(c,T)}for(var N=this.m.subn(1),v=0;!N.isZero()&&0===N.andln(1);)v++,N.iushrn(1);g(!N.isZero());var n=new o(1).toRed(this),y=n.redNeg(),B=this.m.subn(1).iushrn(1),z=this.m.bitLength();for(z=new o(2*z*z).toRed(this);0!==this.pow(z,B).cmp(y);)z.redIAdd(y);for(var W=this.pow(z,N),Le=this.pow(c,N.addn(1).iushrn(1)),Ve=this.pow(c,N),Ke=v;0!==Ve.cmp(n);){for(var $e=Ve,Ae=0;0!==$e.cmp(n);Ae++)$e=$e.redSqr();g(Ae<Ke);var ue=this.pow(W,new o(1).iushln(Ke-Ae-1));Le=Le.redMul(ue),W=ue.redSqr(),Ve=Ve.redMul(W),Ke=Ae}return Le},i.prototype.invm=function(c){var b=c._invmp(this.m);return 0!==b.negative?(b.negative=0,this.imod(b).redNeg()):this.imod(b)},i.prototype.pow=function(c,b){if(b.isZero())return new o(1).toRed(this);if(0===b.cmpn(1))return c.clone();var N=new Array(16);N[0]=new o(1).toRed(this),N[1]=c;for(var v=2;v<N.length;v++)N[v]=this.mul(N[v-1],c);var n=N[0],y=0,B=0,z=b.bitLength()%26;for(0===z&&(z=26),v=b.length-1;v>=0;v--){for(var W=b.words[v],Le=z-1;Le>=0;Le--){var Ve=W>>Le&1;n!==N[0]&&(n=this.sqr(n)),0!==Ve||0!==y?(y<<=1,y|=Ve,(4==++B||0===v&&0===Le)&&(n=this.mul(n,N[y]),B=0,y=0)):B=0}z=26}return n},i.prototype.convertTo=function(c){var b=c.umod(this.m);return b===c?b.clone():b},i.prototype.convertFrom=function(c){var b=c.clone();return b.red=null,b},o.mont=function(c){return new r(c)},k(r,i),r.prototype.convertTo=function(c){return this.imod(c.ushln(this.shift))},r.prototype.convertFrom=function(c){var b=this.imod(c.mul(this.rinv));return b.red=null,b},r.prototype.imul=function(c,b){if(c.isZero()||b.isZero())return c.words[0]=0,c.length=1,c;var T=c.imul(b),N=T.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=T.isub(N).iushrn(this.shift),n=v;return v.cmp(this.m)>=0?n=v.isub(this.m):v.cmpn(0)<0&&(n=v.iadd(this.m)),n._forceRed(this)},r.prototype.mul=function(c,b){if(c.isZero()||b.isZero())return new o(0)._forceRed(this);var T=c.mul(b),N=T.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=T.isub(N).iushrn(this.shift),n=v;return v.cmp(this.m)>=0?n=v.isub(this.m):v.cmpn(0)<0&&(n=v.iadd(this.m)),n._forceRed(this)},r.prototype.invm=function(c){return this.imod(c._invmp(this.m).mul(this.r2))._forceRed(this)}}(ze=m.nmd(ze),this)},7950:(ze,K,m)=>{var t;function e(k){this.rand=k}if(ze.exports=function(o){return t||(t=new e(null)),t.generate(o)},ze.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),h=0;h<C.length;h++)C[h]=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 g=m(1348);if("function"!=typeof g.randomBytes)throw new Error("Not supported");e.prototype._rand=function(o){return g.randomBytes(o)}}catch{}},1899:(ze,K,m)=>{var t=m(3502).Buffer;function e(P){t.isBuffer(P)||(P=t.from(P));for(var u=P.length/4|0,I=new Array(u),S=0;S<u;S++)I[S]=P.readUInt32BE(4*S);return I}function g(P){for(;0<P.length;P++)P[0]=0}function k(P,u,I,S,A){for(var fe,re,ee,ce,w=I[0],R=I[1],E=I[2],U=I[3],Y=P[0]^u[0],Q=P[1]^u[1],X=P[2]^u[2],$=P[3]^u[3],se=4,le=1;le<A;le++)fe=w[Y>>>24]^R[Q>>>16&255]^E[X>>>8&255]^U[255&$]^u[se++],re=w[Q>>>24]^R[X>>>16&255]^E[$>>>8&255]^U[255&Y]^u[se++],ee=w[X>>>24]^R[$>>>16&255]^E[Y>>>8&255]^U[255&Q]^u[se++],ce=w[$>>>24]^R[Y>>>16&255]^E[Q>>>8&255]^U[255&X]^u[se++],Y=fe,Q=re,X=ee,$=ce;return fe=(S[Y>>>24]<<24|S[Q>>>16&255]<<16|S[X>>>8&255]<<8|S[255&$])^u[se++],re=(S[Q>>>24]<<24|S[X>>>16&255]<<16|S[$>>>8&255]<<8|S[255&Y])^u[se++],ee=(S[X>>>24]<<24|S[$>>>16&255]<<16|S[Y>>>8&255]<<8|S[255&Q])^u[se++],ce=(S[$>>>24]<<24|S[Y>>>16&255]<<16|S[Q>>>8&255]<<8|S[255&X])^u[se++],[fe>>>=0,re>>>=0,ee>>>=0,ce>>>=0]}var o=[0,1,2,4,8,16,32,64,128,27,54],C=function(){for(var P=new Array(256),u=0;u<256;u++)P[u]=u<128?u<<1:u<<1^283;for(var I=[],S=[],A=[[],[],[],[]],w=[[],[],[],[]],R=0,E=0,U=0;U<256;++U){var Y=E^E<<1^E<<2^E<<3^E<<4;I[R]=Y=Y>>>8^255&Y^99,S[Y]=R;var Q=P[R],X=P[Q],$=P[X],fe=257*P[Y]^16843008*Y;A[0][R]=fe<<24|fe>>>8,A[1][R]=fe<<16|fe>>>16,A[2][R]=fe<<8|fe>>>24,A[3][R]=fe,w[0][Y]=(fe=16843009*$^65537*X^257*Q^16843008*R)<<24|fe>>>8,w[1][Y]=fe<<16|fe>>>16,w[2][Y]=fe<<8|fe>>>24,w[3][Y]=fe,0===R?R=E=1:(R=Q^P[P[P[$^Q]]],E^=P[P[E]])}return{SBOX:I,INV_SBOX:S,SUB_MIX:A,INV_SUB_MIX:w}}();function h(P){this._key=e(P),this._reset()}h.blockSize=16,h.keySize=32,h.prototype.blockSize=h.blockSize,h.prototype.keySize=h.keySize,h.prototype._reset=function(){for(var P=this._key,u=P.length,I=u+6,S=4*(I+1),A=[],w=0;w<u;w++)A[w]=P[w];for(w=u;w<S;w++){var R=A[w-1];w%u==0?(R=C.SBOX[(R=R<<8|R>>>24)>>>24]<<24|C.SBOX[R>>>16&255]<<16|C.SBOX[R>>>8&255]<<8|C.SBOX[255&R],R^=o[w/u|0]<<24):u>6&&w%u==4&&(R=C.SBOX[R>>>24]<<24|C.SBOX[R>>>16&255]<<16|C.SBOX[R>>>8&255]<<8|C.SBOX[255&R]),A[w]=A[w-u]^R}for(var E=[],U=0;U<S;U++){var Y=S-U,Q=A[Y-(U%4?0:4)];E[U]=U<4||Y<=4?Q:C.INV_SUB_MIX[0][C.SBOX[Q>>>24]]^C.INV_SUB_MIX[1][C.SBOX[Q>>>16&255]]^C.INV_SUB_MIX[2][C.SBOX[Q>>>8&255]]^C.INV_SUB_MIX[3][C.SBOX[255&Q]]}this._nRounds=I,this._keySchedule=A,this._invKeySchedule=E},h.prototype.encryptBlockRaw=function(P){return k(P=e(P),this._keySchedule,C.SUB_MIX,C.SBOX,this._nRounds)},h.prototype.encryptBlock=function(P){var u=this.encryptBlockRaw(P),I=t.allocUnsafe(16);return I.writeUInt32BE(u[0],0),I.writeUInt32BE(u[1],4),I.writeUInt32BE(u[2],8),I.writeUInt32BE(u[3],12),I},h.prototype.decryptBlock=function(P){var u=(P=e(P))[1];P[1]=P[3],P[3]=u;var I=k(P,this._invKeySchedule,C.INV_SUB_MIX,C.INV_SBOX,this._nRounds),S=t.allocUnsafe(16);return S.writeUInt32BE(I[0],0),S.writeUInt32BE(I[3],4),S.writeUInt32BE(I[2],8),S.writeUInt32BE(I[1],12),S},h.prototype.scrub=function(){g(this._keySchedule),g(this._invKeySchedule),g(this._key)},ze.exports.AES=h},9382:(ze,K,m)=>{var t=m(1899),e=m(3502).Buffer,g=m(1052),k=m(3894),o=m(8857),C=m(8789),h=m(7968);function I(S,A,w,R){g.call(this);var E=e.alloc(4,0);this._cipher=new t.AES(A);var U=this._cipher.encryptBlock(E);this._ghash=new o(U),w=function u(S,A,w){if(12===A.length)return S._finID=e.concat([A,e.from([0,0,0,1])]),e.concat([A,e.from([0,0,0,2])]);var R=new o(w),E=A.length,U=E%16;R.update(A),U&&R.update(e.alloc(U=16-U,0)),R.update(e.alloc(8,0));var Y=8*E,Q=e.alloc(8);Q.writeUIntBE(Y,0,8),R.update(Q),S._finID=R.state;var X=e.from(S._finID);return h(X),X}(this,w,U),this._prev=e.from(w),this._cache=e.allocUnsafe(0),this._secCache=e.allocUnsafe(0),this._decrypt=R,this._alen=0,this._len=0,this._mode=S,this._authTag=null,this._called=!1}k(I,g),I.prototype._update=function(S){if(!this._called&&this._alen){var A=16-this._alen%16;A<16&&(A=e.alloc(A,0),this._ghash.update(A))}this._called=!0;var w=this._mode.encrypt(this,S);return this._ghash.update(this._decrypt?S:w),this._len+=S.length,w},I.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var S=C(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function P(S,A){var w=0;S.length!==A.length&&w++;for(var R=Math.min(S.length,A.length),E=0;E<R;++E)w+=S[E]^A[E];return w}(S,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=S,this._cipher.scrub()},I.prototype.getAuthTag=function(){if(this._decrypt||!e.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},I.prototype.setAuthTag=function(A){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=A},I.prototype.setAAD=function(A){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(A),this._alen+=A.length},ze.exports=I},4330:(ze,K,m)=>{var t=m(6900),e=m(856),g=m(4946);K.createCipher=K.Cipher=t.createCipher,K.createCipheriv=K.Cipheriv=t.createCipheriv,K.createDecipher=K.Decipher=e.createDecipher,K.createDecipheriv=K.Decipheriv=e.createDecipheriv,K.listCiphers=K.getCiphers=function k(){return Object.keys(g)}},856:(ze,K,m)=>{var t=m(9382),e=m(3502).Buffer,g=m(9171),k=m(8441),o=m(1052),C=m(1899),h=m(347);function u(R,E,U){o.call(this),this._cache=new I,this._last=void 0,this._cipher=new C.AES(E),this._prev=e.from(U),this._mode=R,this._autopadding=!0}function I(){this.cache=e.allocUnsafe(0)}function A(R,E,U){var Y=g[R.toLowerCase()];if(!Y)throw new TypeError("invalid suite type");if("string"==typeof U&&(U=e.from(U)),"GCM"!==Y.mode&&U.length!==Y.iv)throw new TypeError("invalid iv length "+U.length);if("string"==typeof E&&(E=e.from(E)),E.length!==Y.key/8)throw new TypeError("invalid key length "+E.length);return"stream"===Y.type?new k(Y.module,E,U,!0):"auth"===Y.type?new t(Y.module,E,U,!0):new u(Y.module,E,U)}m(3894)(u,o),u.prototype._update=function(R){this._cache.add(R);for(var E,U,Y=[];E=this._cache.get(this._autopadding);)U=this._mode.decrypt(this,E),Y.push(U);return e.concat(Y)},u.prototype._final=function(){var R=this._cache.flush();if(this._autopadding)return function S(R){var E=R[15];if(E<1||E>16)throw new Error("unable to decrypt data");for(var U=-1;++U<E;)if(R[U+(16-E)]!==E)throw new Error("unable to decrypt data");if(16!==E)return R.slice(0,16-E)}(this._mode.decrypt(this,R));if(R)throw new Error("data not multiple of block length")},u.prototype.setAutoPadding=function(R){return this._autopadding=!!R,this},I.prototype.add=function(R){this.cache=e.concat([this.cache,R])},I.prototype.get=function(R){var E;if(R){if(this.cache.length>16)return E=this.cache.slice(0,16),this.cache=this.cache.slice(16),E}else if(this.cache.length>=16)return E=this.cache.slice(0,16),this.cache=this.cache.slice(16),E;return null},I.prototype.flush=function(){if(this.cache.length)return this.cache},K.createDecipher=function w(R,E){var U=g[R.toLowerCase()];if(!U)throw new TypeError("invalid suite type");var Y=h(E,!1,U.key,U.iv);return A(R,Y.key,Y.iv)},K.createDecipheriv=A},6900:(ze,K,m)=>{var t=m(9171),e=m(9382),g=m(3502).Buffer,k=m(8441),o=m(1052),C=m(1899),h=m(347);function u(R,E,U){o.call(this),this._cache=new S,this._cipher=new C.AES(E),this._prev=g.from(U),this._mode=R,this._autopadding=!0}m(3894)(u,o),u.prototype._update=function(R){this._cache.add(R);for(var E,U,Y=[];E=this._cache.get();)U=this._mode.encrypt(this,E),Y.push(U);return g.concat(Y)};var I=g.alloc(16,16);function S(){this.cache=g.allocUnsafe(0)}function A(R,E,U){var Y=t[R.toLowerCase()];if(!Y)throw new TypeError("invalid suite type");if("string"==typeof E&&(E=g.from(E)),E.length!==Y.key/8)throw new TypeError("invalid key length "+E.length);if("string"==typeof U&&(U=g.from(U)),"GCM"!==Y.mode&&U.length!==Y.iv)throw new TypeError("invalid iv length "+U.length);return"stream"===Y.type?new k(Y.module,E,U):"auth"===Y.type?new e(Y.module,E,U):new u(Y.module,E,U)}u.prototype._final=function(){var R=this._cache.flush();if(this._autopadding)return R=this._mode.encrypt(this,R),this._cipher.scrub(),R;if(!R.equals(I))throw this._cipher.scrub(),new Error("data not multiple of block length")},u.prototype.setAutoPadding=function(R){return this._autopadding=!!R,this},S.prototype.add=function(R){this.cache=g.concat([this.cache,R])},S.prototype.get=function(){if(this.cache.length>15){var R=this.cache.slice(0,16);return this.cache=this.cache.slice(16),R}return null},S.prototype.flush=function(){for(var R=16-this.cache.length,E=g.allocUnsafe(R),U=-1;++U<R;)E.writeUInt8(R,U);return g.concat([this.cache,E])},K.createCipheriv=A,K.createCipher=function w(R,E){var U=t[R.toLowerCase()];if(!U)throw new TypeError("invalid suite type");var Y=h(E,!1,U.key,U.iv);return A(R,Y.key,Y.iv)}},8857:(ze,K,m)=>{var t=m(3502).Buffer,e=t.alloc(16,0);function k(C){var h=t.allocUnsafe(16);return h.writeUInt32BE(C[0]>>>0,0),h.writeUInt32BE(C[1]>>>0,4),h.writeUInt32BE(C[2]>>>0,8),h.writeUInt32BE(C[3]>>>0,12),h}function o(C){this.h=C,this.state=t.alloc(16,0),this.cache=t.allocUnsafe(0)}o.prototype.ghash=function(C){for(var h=-1;++h<C.length;)this.state[h]^=C[h];this._multiply()},o.prototype._multiply=function(){for(var P,I,C=function g(C){return[C.readUInt32BE(0),C.readUInt32BE(4),C.readUInt32BE(8),C.readUInt32BE(12)]}(this.h),h=[0,0,0,0],S=-1;++S<128;){for(0!=(this.state[~~(S/8)]&1<<7-S%8)&&(h[0]^=C[0],h[1]^=C[1],h[2]^=C[2],h[3]^=C[3]),I=0!=(1&C[3]),P=3;P>0;P--)C[P]=C[P]>>>1|(1&C[P-1])<<31;C[0]=C[0]>>>1,I&&(C[0]=C[0]^225<<24)}this.state=k(h)},o.prototype.update=function(C){this.cache=t.concat([this.cache,C]);for(var h;this.cache.length>=16;)h=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(h)},o.prototype.final=function(C,h){return this.cache.length&&this.ghash(t.concat([this.cache,e],16)),this.ghash(k([0,C,0,h])),this.state},ze.exports=o},7968:ze=>{ze.exports=function K(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:(ze,K,m)=>{var t=m(8789);K.encrypt=function(e,g){var k=t(g,e._prev);return e._prev=e._cipher.encryptBlock(k),e._prev},K.decrypt=function(e,g){var k=e._prev;e._prev=g;var o=e._cipher.decryptBlock(g);return t(o,k)}},9885:(ze,K,m)=>{var t=m(3502).Buffer,e=m(8789);function g(k,o,C){var h=o.length,P=e(o,k._cache);return k._cache=k._cache.slice(h),k._prev=t.concat([k._prev,C?o:P]),P}K.encrypt=function(k,o,C){for(var P,h=t.allocUnsafe(0);o.length;){if(0===k._cache.length&&(k._cache=k._cipher.encryptBlock(k._prev),k._prev=t.allocUnsafe(0)),!(k._cache.length<=o.length)){h=t.concat([h,g(k,o,C)]);break}h=t.concat([h,g(k,o.slice(0,P=k._cache.length),C)]),o=o.slice(P)}return h}},6531:(ze,K,m)=>{var t=m(3502).Buffer;function e(k,o,C){for(var S,A,P=-1,I=0;++P<8;)I+=(128&(A=k._cipher.encryptBlock(k._prev)[0]^(S=o&1<<7-P?128:0)))>>P%8,k._prev=g(k._prev,C?S:A);return I}function g(k,o){var C=k.length,h=-1,P=t.allocUnsafe(k.length);for(k=t.concat([k,t.from([o])]);++h<C;)P[h]=k[h]<<1|k[h+1]>>7;return P}K.encrypt=function(k,o,C){for(var h=o.length,P=t.allocUnsafe(h),u=-1;++u<h;)P[u]=e(k,o[u],C);return P}},1641:(ze,K,m)=>{var t=m(3502).Buffer;function e(g,k,o){var h=g._cipher.encryptBlock(g._prev)[0]^k;return g._prev=t.concat([g._prev.slice(1),t.from([o?k:h])]),h}K.encrypt=function(g,k,o){for(var C=k.length,h=t.allocUnsafe(C),P=-1;++P<C;)h[P]=e(g,k[P],o);return h}},1150:(ze,K,m)=>{var t=m(8789),e=m(3502).Buffer,g=m(7968);function k(C){var h=C._cipher.encryptBlockRaw(C._prev);return g(C._prev),h}K.encrypt=function(C,h){var P=Math.ceil(h.length/16),u=C._cache.length;C._cache=e.concat([C._cache,e.allocUnsafe(16*P)]);for(var I=0;I<P;I++){var S=k(C),A=u+16*I;C._cache.writeUInt32BE(S[0],A+0),C._cache.writeUInt32BE(S[1],A+4),C._cache.writeUInt32BE(S[2],A+8),C._cache.writeUInt32BE(S[3],A+12)}var w=C._cache.slice(0,h.length);return C._cache=C._cache.slice(h.length),t(h,w)}},1704:(ze,K)=>{K.encrypt=function(m,t){return m._cipher.encryptBlock(t)},K.decrypt=function(m,t){return m._cipher.decryptBlock(t)}},9171:(ze,K,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 g in e)e[g].module=t[e[g].mode];ze.exports=e},6816:(ze,K,m)=>{var t=m(8789);function e(g){return g._prev=g._cipher.encryptBlock(g._prev),g._prev}K.encrypt=function(g,k){for(;g._cache.length<k.length;)g._cache=Buffer.concat([g._cache,e(g)]);var o=g._cache.slice(0,k.length);return g._cache=g._cache.slice(k.length),t(k,o)}},8441:(ze,K,m)=>{var t=m(1899),e=m(3502).Buffer,g=m(1052);function o(C,h,P,u){g.call(this),this._cipher=new t.AES(h),this._prev=e.from(P),this._cache=e.allocUnsafe(0),this._secCache=e.allocUnsafe(0),this._decrypt=u,this._mode=C}m(3894)(o,g),o.prototype._update=function(C){return this._mode.encrypt(this,C,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},ze.exports=o},5255:(ze,K,m)=>{var t=m(9004),e=m(4330),g=m(9171),k=m(1115),o=m(347);function P(S,A,w){if(S=S.toLowerCase(),g[S])return e.createCipheriv(S,A,w);if(k[S])return new t({key:A,iv:w,mode:S});throw new TypeError("invalid suite type")}function u(S,A,w){if(S=S.toLowerCase(),g[S])return e.createDecipheriv(S,A,w);if(k[S])return new t({key:A,iv:w,mode:S,decrypt:!0});throw new TypeError("invalid suite type")}K.createCipher=K.Cipher=function C(S,A){var w,R;if(S=S.toLowerCase(),g[S])w=g[S].key,R=g[S].iv;else{if(!k[S])throw new TypeError("invalid suite type");w=8*k[S].key,R=k[S].iv}var E=o(A,!1,w,R);return P(S,E.key,E.iv)},K.createCipheriv=K.Cipheriv=P,K.createDecipher=K.Decipher=function h(S,A){var w,R;if(S=S.toLowerCase(),g[S])w=g[S].key,R=g[S].iv;else{if(!k[S])throw new TypeError("invalid suite type");w=8*k[S].key,R=k[S].iv}var E=o(A,!1,w,R);return u(S,E.key,E.iv)},K.createDecipheriv=K.Decipheriv=u,K.listCiphers=K.getCiphers=function I(){return Object.keys(k).concat(e.getCiphers())}},9004:(ze,K,m)=>{var t=m(1052),e=m(3684),g=m(3894),k=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(h){t.call(this);var I,P=h.mode.toLowerCase(),u=o[P];I=h.decrypt?"decrypt":"encrypt";var S=h.key;k.isBuffer(S)||(S=k.from(S)),("des-ede"===P||"des-ede-cbc"===P)&&(S=k.concat([S,S.slice(0,8)]));var A=h.iv;k.isBuffer(A)||(A=k.from(A)),this._des=u.create({key:S,iv:A,type:I})}o.des=o["des-cbc"],o.des3=o["des-ede3-cbc"],ze.exports=C,g(C,t),C.prototype._update=function(h){return k.from(this._des.update(h))},C.prototype._final=function(){return k.from(this._des.final())}},1115:(ze,K)=>{K["des-ecb"]={key:8,iv:0},K["des-cbc"]=K.des={key:8,iv:8},K["des-ede3-cbc"]=K.des3={key:24,iv:8},K["des-ede3"]={key:24,iv:0},K["des-ede-cbc"]={key:16,iv:8},K["des-ede"]={key:16,iv:0}},8466:(ze,K,m)=>{var t=m(8538),e=m(3753);function k(C){var P,h=C.modulus.byteLength();do{P=new t(e(h))}while(P.cmp(C.modulus)>=0||!P.umod(C.prime1)||!P.umod(C.prime2));return P}function o(C,h){var P=function g(C){var h=k(C);return{blinder:h.toRed(t.mont(C.modulus)).redPow(new t(C.publicExponent)).fromRed(),unblinder:h.invm(C.modulus)}}(h),u=h.modulus.byteLength(),I=new t(C).mul(P.blinder).umod(h.modulus),S=I.toRed(t.mont(h.prime1)),A=I.toRed(t.mont(h.prime2)),w=h.coefficient,R=h.prime1,E=h.prime2,U=S.redPow(h.exponent1).fromRed(),Y=A.redPow(h.exponent2).fromRed(),Q=U.isub(Y).imul(w).umod(R).imul(E);return Y.iadd(Q).imul(P.unblinder).umod(h.modulus).toArrayLike(Buffer,"be",u)}o.getr=k,ze.exports=o},7793:(ze,K,m)=>{ze.exports=m(5207)},3923:(ze,K,m)=>{var t=m(3502).Buffer,e=m(6386),g=m(5685),k=m(3894),o=m(9947),C=m(3946),h=m(5207);function P(A){g.Writable.call(this);var w=h[A];if(!w)throw new Error("Unknown message digest");this._hashType=w.hash,this._hash=e(w.hash),this._tag=w.id,this._signType=w.sign}function u(A){g.Writable.call(this);var w=h[A];if(!w)throw new Error("Unknown message digest");this._hash=e(w.hash),this._tag=w.id,this._signType=w.sign}function I(A){return new P(A)}function S(A){return new u(A)}Object.keys(h).forEach(function(A){h[A].id=t.from(h[A].id,"hex"),h[A.toLowerCase()]=h[A]}),k(P,g.Writable),P.prototype._write=function(w,R,E){this._hash.update(w),E()},P.prototype.update=function(w,R){return"string"==typeof w&&(w=t.from(w,R)),this._hash.update(w),this},P.prototype.sign=function(w,R){this.end();var E=this._hash.digest(),U=o(E,w,this._hashType,this._signType,this._tag);return R?U.toString(R):U},k(u,g.Writable),u.prototype._write=function(w,R,E){this._hash.update(w),E()},u.prototype.update=function(w,R){return"string"==typeof w&&(w=t.from(w,R)),this._hash.update(w),this},u.prototype.verify=function(w,R,E){"string"==typeof R&&(R=t.from(R,E)),this.end();var U=this._hash.digest();return C(R,U,w,this._signType,this._tag)},ze.exports={Sign:I,Verify:S,createSign:I,createVerify:S}},9947:(ze,K,m)=>{var t=m(3502).Buffer,e=m(4529),g=m(8466),k=m(7715).ec,o=m(8538),C=m(2772),h=m(1308);function A(Y,Q,X,$){if((Y=t.from(Y.toArray())).length<Q.byteLength()){var fe=t.alloc(Q.byteLength()-Y.length);Y=t.concat([fe,Y])}var re=X.length,ee=function R(Y,Q){Y=(Y=w(Y,Q)).mod(Q);var X=t.from(Y.toArray());if(X.length<Q.byteLength()){var $=t.alloc(Q.byteLength()-X.length);X=t.concat([$,X])}return X}(X,Q),ce=t.alloc(re);ce.fill(1);var se=t.alloc(re);return se=e($,se).update(ce).update(t.from([0])).update(Y).update(ee).digest(),ce=e($,se).update(ce).digest(),{k:se=e($,se).update(ce).update(t.from([1])).update(Y).update(ee).digest(),v:ce=e($,se).update(ce).digest()}}function w(Y,Q){var X=new o(Y),$=(Y.length<<3)-Q.bitLength();return $>0&&X.ishrn($),X}function E(Y,Q,X){var $,fe;do{for($=t.alloc(0);8*$.length<Y.bitLength();)Q.v=e(X,Q.k).update(Q.v).digest(),$=t.concat([$,Q.v]);fe=w($,Y),Q.k=e(X,Q.k).update(Q.v).update(t.from([0])).digest(),Q.v=e(X,Q.k).update(Q.v).digest()}while(-1!==fe.cmp(Y));return fe}function U(Y,Q,X,$){return Y.toRed(o.mont(X)).redPow(Q).fromRed().mod($)}ze.exports=function P(Y,Q,X,$,fe){var re=C(Q);if(re.curve){if("ecdsa"!==$&&"ecdsa/rsa"!==$)throw new Error("wrong private key type");return function u(Y,Q){var X=h[Q.curve.join(".")];if(!X)throw new Error("unknown curve "+Q.curve.join("."));var re=new k(X).keyFromPrivate(Q.privateKey).sign(Y);return t.from(re.toDER())}(Y,re)}if("dsa"===re.type){if("dsa"!==$)throw new Error("wrong private key type");return function I(Y,Q,X){for(var se,$=Q.params.priv_key,fe=Q.params.p,re=Q.params.q,ee=Q.params.g,ce=new o(0),le=w(Y,re).mod(re),L=!1,i=A($,re,Y,X);!1===L;)ce=U(ee,se=E(re,i,X),fe,re),0===(L=se.invm(re).imul(le.add($.mul(ce))).mod(re)).cmpn(0)&&(L=!1,ce=new o(0));return function S(Y,Q){Y=Y.toArray(),Q=Q.toArray(),128&Y[0]&&(Y=[0].concat(Y)),128&Q[0]&&(Q=[0].concat(Q));var $=[48,Y.length+Q.length+4,2,Y.length];return $=$.concat(Y,[2,Q.length],Q),t.from($)}(ce,L)}(Y,re,X)}if("rsa"!==$&&"ecdsa/rsa"!==$)throw new Error("wrong private key type");Y=t.concat([fe,Y]);for(var ee=re.modulus.byteLength(),ce=[0,1];Y.length+ce.length+1<ee;)ce.push(255);ce.push(0);for(var se=-1;++se<Y.length;)ce.push(Y[se]);return g(ce,re)},ze.exports.getKey=A,ze.exports.makeKey=E},3946:(ze,K,m)=>{var t=m(3502).Buffer,e=m(8538),g=m(7715).ec,k=m(2772),o=m(1308);function u(I,S){if(I.cmpn(0)<=0)throw new Error("invalid sig");if(I.cmp(S)>=S)throw new Error("invalid sig")}ze.exports=function C(I,S,A,w,R){var E=k(A);if("ec"===E.type){if("ecdsa"!==w&&"ecdsa/rsa"!==w)throw new Error("wrong public key type");return function h(I,S,A){var w=o[A.data.algorithm.curve.join(".")];if(!w)throw new Error("unknown curve "+A.data.algorithm.curve.join("."));return new g(w).verify(S,I,A.data.subjectPrivateKey.data)}(I,S,E)}if("dsa"===E.type){if("dsa"!==w)throw new Error("wrong public key type");return function P(I,S,A){var w=A.data.p,R=A.data.q,E=A.data.g,U=A.data.pub_key,Y=k.signature.decode(I,"der"),Q=Y.s,X=Y.r;u(Q,R),u(X,R);var $=e.mont(w),fe=Q.invm(R);return 0===E.toRed($).redPow(new e(S).mul(fe).mod(R)).fromRed().mul(U.toRed($).redPow(X.mul(fe).mod(R)).fromRed()).mod(w).mod(R).cmp(X)}(I,S,E)}if("rsa"!==w&&"ecdsa/rsa"!==w)throw new Error("wrong public key type");S=t.concat([R,S]);for(var U=E.modulus.byteLength(),Y=[1],Q=0;S.length+Y.length+2<U;)Y.push(255),Q++;Y.push(0);for(var X=-1;++X<S.length;)Y.push(S[X]);Y=t.from(Y);var $=e.mont(E.modulus);I=(I=new e(I).toRed($)).redPow(new e(E.publicExponent)),I=t.from(I.fromRed().toArray());var fe=Q<8?1:0;for(U=Math.min(I.length,Y.length),I.length!==Y.length&&(fe=1),X=-1;++X<U;)fe|=I[X]^Y[X];return 0===fe}},8789:ze=>{ze.exports=function(m,t){for(var e=Math.min(m.length,t.length),g=new Buffer(e),k=0;k<e;++k)g[k]=m[k]^t[k];return g}},3172:(ze,K,m)=>{"use strict";var t=m(5343),e=m(8461),g="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;K.Buffer=h,K.SlowBuffer=function Q(oe){return+oe!=oe&&(oe=0),h.alloc(+oe)},K.INSPECT_MAX_BYTES=50;var k=2147483647;function C(oe){if(oe>k)throw new RangeError('The value "'+oe+'" is invalid for option "size"');var me=new Uint8Array(oe);return Object.setPrototypeOf(me,h.prototype),me}function h(oe,me,te){if("number"==typeof oe){if("string"==typeof me)throw new TypeError('The "string" argument must be of type string. Received type number');return S(oe)}return P(oe,me,te)}function P(oe,me,te){if("string"==typeof oe)return function A(oe,me){if(("string"!=typeof me||""===me)&&(me="utf8"),!h.isEncoding(me))throw new TypeError("Unknown encoding: "+me);var te=0|X(oe,me),Ze=C(te),Ue=Ze.write(oe,me);return Ue!==te&&(Ze=Ze.slice(0,Ue)),Ze}(oe,me);if(ArrayBuffer.isView(oe))return function R(oe){if(he(oe,Uint8Array)){var me=new Uint8Array(oe);return E(me.buffer,me.byteOffset,me.byteLength)}return w(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(he(oe,ArrayBuffer)||oe&&he(oe.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(he(oe,SharedArrayBuffer)||oe&&he(oe.buffer,SharedArrayBuffer)))return E(oe,me,te);if("number"==typeof oe)throw new TypeError('The "value" argument must not be of type number. Received type number');var Ze=oe.valueOf&&oe.valueOf();if(null!=Ze&&Ze!==oe)return h.from(Ze,me,te);var Ue=function U(oe){if(h.isBuffer(oe)){var me=0|Y(oe.length),te=C(me);return 0===te.length||oe.copy(te,0,0,me),te}return void 0!==oe.length?"number"!=typeof oe.length||it(oe.length)?C(0):w(oe):"Buffer"===oe.type&&Array.isArray(oe.data)?w(oe.data):void 0}(oe);if(Ue)return Ue;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof oe[Symbol.toPrimitive])return h.from(oe[Symbol.toPrimitive]("string"),me,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 u(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 S(oe){return u(oe),C(oe<0?0:0|Y(oe))}function w(oe){for(var me=oe.length<0?0:0|Y(oe.length),te=C(me),Ze=0;Ze<me;Ze+=1)te[Ze]=255&oe[Ze];return te}function E(oe,me,te){if(me<0||oe.byteLength<me)throw new RangeError('"offset" is outside of buffer bounds');if(oe.byteLength<me+(te||0))throw new RangeError('"length" is outside of buffer bounds');var Ze;return Ze=void 0===me&&void 0===te?new Uint8Array(oe):void 0===te?new Uint8Array(oe,me):new Uint8Array(oe,me,te),Object.setPrototypeOf(Ze,h.prototype),Ze}function Y(oe){if(oe>=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|oe}function X(oe,me){if(h.isBuffer(oe))return oe.length;if(ArrayBuffer.isView(oe)||he(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,Ze=arguments.length>2&&!0===arguments[2];if(!Ze&&0===te)return 0;for(var Ue=!1;;)switch(me){case"ascii":case"latin1":case"binary":return te;case"utf8":case"utf-8":return $e(oe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*te;case"hex":return te>>>1;case"base64":return ye(oe).length;default:if(Ue)return Ze?-1:$e(oe).length;me=(""+me).toLowerCase(),Ue=!0}}function $(oe,me,te){var Ze=!1;if((void 0===me||me<0)&&(me=0),me>this.length||((void 0===te||te>this.length)&&(te=this.length),te<=0)||(te>>>=0)<=(me>>>=0))return"";for(oe||(oe="utf8");;)switch(oe){case"hex":return v(this,me,te);case"utf8":case"utf-8":return d(this,me,te);case"ascii":return T(this,me,te);case"latin1":case"binary":return N(this,me,te);case"base64":return r(this,me,te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,me,te);default:if(Ze)throw new TypeError("Unknown encoding: "+oe);oe=(oe+"").toLowerCase(),Ze=!0}}function fe(oe,me,te){var Ze=oe[me];oe[me]=oe[te],oe[te]=Ze}function re(oe,me,te,Ze,Ue){if(0===oe.length)return-1;if("string"==typeof te?(Ze=te,te=0):te>2147483647?te=2147483647:te<-2147483648&&(te=-2147483648),it(te=+te)&&(te=Ue?0:oe.length-1),te<0&&(te=oe.length+te),te>=oe.length){if(Ue)return-1;te=oe.length-1}else if(te<0){if(!Ue)return-1;te=0}if("string"==typeof me&&(me=h.from(me,Ze)),h.isBuffer(me))return 0===me.length?-1:ee(oe,me,te,Ze,Ue);if("number"==typeof me)return me&=255,"function"==typeof Uint8Array.prototype.indexOf?Ue?Uint8Array.prototype.indexOf.call(oe,me,te):Uint8Array.prototype.lastIndexOf.call(oe,me,te):ee(oe,[me],te,Ze,Ue);throw new TypeError("val must be string, number or Buffer")}function ee(oe,me,te,Ze,Ue){var ie,q=1,de=oe.length,Ee=me.length;if(void 0!==Ze&&("ucs2"===(Ze=String(Ze).toLowerCase())||"ucs-2"===Ze||"utf16le"===Ze||"utf-16le"===Ze)){if(oe.length<2||me.length<2)return-1;q=2,de/=2,Ee/=2,te/=2}function ke(Xt,gt){return 1===q?Xt[gt]:Xt.readUInt16BE(gt*q)}if(Ue){var nt=-1;for(ie=te;ie<de;ie++)if(ke(oe,ie)===ke(me,-1===nt?0:ie-nt)){if(-1===nt&&(nt=ie),ie-nt+1===Ee)return nt*q}else-1!==nt&&(ie-=ie-nt),nt=-1}else for(te+Ee>de&&(te=de-Ee),ie=te;ie>=0;ie--){for(var Ct=!0,rt=0;rt<Ee;rt++)if(ke(oe,ie+rt)!==ke(me,rt)){Ct=!1;break}if(Ct)return ie}return-1}function ce(oe,me,te,Ze){te=Number(te)||0;var Ue=oe.length-te;Ze?(Ze=Number(Ze))>Ue&&(Ze=Ue):Ze=Ue;var q=me.length;Ze>q/2&&(Ze=q/2);for(var de=0;de<Ze;++de){var Ee=parseInt(me.substr(2*de,2),16);if(it(Ee))return de;oe[te+de]=Ee}return de}function se(oe,me,te,Ze){return we($e(me,oe.length-te),oe,te,Ze)}function le(oe,me,te,Ze){return we(function Ae(oe){for(var me=[],te=0;te<oe.length;++te)me.push(255&oe.charCodeAt(te));return me}(me),oe,te,Ze)}function L(oe,me,te,Ze){return we(ye(me),oe,te,Ze)}function i(oe,me,te,Ze){return we(function ue(oe,me){for(var te,Ze,q=[],de=0;de<oe.length&&!((me-=2)<0);++de)Ze=(te=oe.charCodeAt(de))>>8,q.push(te%256),q.push(Ze);return q}(me,oe.length-te),oe,te,Ze)}function r(oe,me,te){return t.fromByteArray(0===me&&te===oe.length?oe:oe.slice(me,te))}function d(oe,me,te){te=Math.min(oe.length,te);for(var Ze=[],Ue=me;Ue<te;){var ke,ie,nt,Ct,q=oe[Ue],de=null,Ee=q>239?4:q>223?3:q>191?2:1;if(Ue+Ee<=te)switch(Ee){case 1:q<128&&(de=q);break;case 2:128==(192&(ke=oe[Ue+1]))&&(Ct=(31&q)<<6|63&ke)>127&&(de=Ct);break;case 3:ie=oe[Ue+2],128==(192&(ke=oe[Ue+1]))&&128==(192&ie)&&(Ct=(15&q)<<12|(63&ke)<<6|63&ie)>2047&&(Ct<55296||Ct>57343)&&(de=Ct);break;case 4:ie=oe[Ue+2],nt=oe[Ue+3],128==(192&(ke=oe[Ue+1]))&&128==(192&ie)&&128==(192&nt)&&(Ct=(15&q)<<18|(63&ke)<<12|(63&ie)<<6|63&nt)>65535&&Ct<1114112&&(de=Ct)}null===de?(de=65533,Ee=1):de>65535&&(Ze.push((de-=65536)>>>10&1023|55296),de=56320|1023&de),Ze.push(de),Ue+=Ee}return function b(oe){var me=oe.length;if(me<=c)return String.fromCharCode.apply(String,oe);for(var te="",Ze=0;Ze<me;)te+=String.fromCharCode.apply(String,oe.slice(Ze,Ze+=c));return te}(Ze)}K.kMaxLength=k,!(h.TYPED_ARRAY_SUPPORT=function o(){try{var oe=new Uint8Array(1),me={foo:function(){return 42}};return Object.setPrototypeOf(me,Uint8Array.prototype),Object.setPrototypeOf(oe,me),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(h.prototype,"parent",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.buffer}}),Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.byteOffset}}),h.poolSize=8192,h.from=function(oe,me,te){return P(oe,me,te)},Object.setPrototypeOf(h.prototype,Uint8Array.prototype),Object.setPrototypeOf(h,Uint8Array),h.alloc=function(oe,me,te){return function I(oe,me,te){return u(oe),oe<=0?C(oe):void 0!==me?"string"==typeof te?C(oe).fill(me,te):C(oe).fill(me):C(oe)}(oe,me,te)},h.allocUnsafe=function(oe){return S(oe)},h.allocUnsafeSlow=function(oe){return S(oe)},h.isBuffer=function(me){return null!=me&&!0===me._isBuffer&&me!==h.prototype},h.compare=function(me,te){if(he(me,Uint8Array)&&(me=h.from(me,me.offset,me.byteLength)),he(te,Uint8Array)&&(te=h.from(te,te.offset,te.byteLength)),!h.isBuffer(me)||!h.isBuffer(te))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(me===te)return 0;for(var Ze=me.length,Ue=te.length,q=0,de=Math.min(Ze,Ue);q<de;++q)if(me[q]!==te[q]){Ze=me[q],Ue=te[q];break}return Ze<Ue?-1:Ue<Ze?1:0},h.isEncoding=function(me){switch(String(me).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}},h.concat=function(me,te){if(!Array.isArray(me))throw new TypeError('"list" argument must be an Array of Buffers');if(0===me.length)return h.alloc(0);var Ze;if(void 0===te)for(te=0,Ze=0;Ze<me.length;++Ze)te+=me[Ze].length;var Ue=h.allocUnsafe(te),q=0;for(Ze=0;Ze<me.length;++Ze){var de=me[Ze];if(he(de,Uint8Array))q+de.length>Ue.length?h.from(de).copy(Ue,q):Uint8Array.prototype.set.call(Ue,de,q);else{if(!h.isBuffer(de))throw new TypeError('"list" argument must be an Array of Buffers');de.copy(Ue,q)}q+=de.length}return Ue},h.byteLength=X,h.prototype._isBuffer=!0,h.prototype.swap16=function(){var me=this.length;if(me%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var te=0;te<me;te+=2)fe(this,te,te+1);return this},h.prototype.swap32=function(){var me=this.length;if(me%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var te=0;te<me;te+=4)fe(this,te,te+3),fe(this,te+1,te+2);return this},h.prototype.swap64=function(){var me=this.length;if(me%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var te=0;te<me;te+=8)fe(this,te,te+7),fe(this,te+1,te+6),fe(this,te+2,te+5),fe(this,te+3,te+4);return this},h.prototype.toLocaleString=h.prototype.toString=function(){var me=this.length;return 0===me?"":0===arguments.length?d(this,0,me):$.apply(this,arguments)},h.prototype.equals=function(me){if(!h.isBuffer(me))throw new TypeError("Argument must be a Buffer");return this===me||0===h.compare(this,me)},h.prototype.inspect=function(){var me="",te=K.INSPECT_MAX_BYTES;return me=this.toString("hex",0,te).replace(/(.{2})/g,"$1 ").trim(),this.length>te&&(me+=" ... "),"<Buffer "+me+">"},g&&(h.prototype[g]=h.prototype.inspect),h.prototype.compare=function(me,te,Ze,Ue,q){if(he(me,Uint8Array)&&(me=h.from(me,me.offset,me.byteLength)),!h.isBuffer(me))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof me);if(void 0===te&&(te=0),void 0===Ze&&(Ze=me?me.length:0),void 0===Ue&&(Ue=0),void 0===q&&(q=this.length),te<0||Ze>me.length||Ue<0||q>this.length)throw new RangeError("out of range index");if(Ue>=q&&te>=Ze)return 0;if(Ue>=q)return-1;if(te>=Ze)return 1;if(this===me)return 0;for(var de=(q>>>=0)-(Ue>>>=0),Ee=(Ze>>>=0)-(te>>>=0),ke=Math.min(de,Ee),ie=this.slice(Ue,q),nt=me.slice(te,Ze),Ct=0;Ct<ke;++Ct)if(ie[Ct]!==nt[Ct]){de=ie[Ct],Ee=nt[Ct];break}return de<Ee?-1:Ee<de?1:0},h.prototype.includes=function(me,te,Ze){return-1!==this.indexOf(me,te,Ze)},h.prototype.indexOf=function(me,te,Ze){return re(this,me,te,Ze,!0)},h.prototype.lastIndexOf=function(me,te,Ze){return re(this,me,te,Ze,!1)},h.prototype.write=function(me,te,Ze,Ue){if(void 0===te)Ue="utf8",Ze=this.length,te=0;else if(void 0===Ze&&"string"==typeof te)Ue=te,Ze=this.length,te=0;else{if(!isFinite(te))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");te>>>=0,isFinite(Ze)?(Ze>>>=0,void 0===Ue&&(Ue="utf8")):(Ue=Ze,Ze=void 0)}var q=this.length-te;if((void 0===Ze||Ze>q)&&(Ze=q),me.length>0&&(Ze<0||te<0)||te>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ue||(Ue="utf8");for(var de=!1;;)switch(Ue){case"hex":return ce(this,me,te,Ze);case"utf8":case"utf-8":return se(this,me,te,Ze);case"ascii":case"latin1":case"binary":return le(this,me,te,Ze);case"base64":return L(this,me,te,Ze);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i(this,me,te,Ze);default:if(de)throw new TypeError("Unknown encoding: "+Ue);Ue=(""+Ue).toLowerCase(),de=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var c=4096;function T(oe,me,te){var Ze="";te=Math.min(oe.length,te);for(var Ue=me;Ue<te;++Ue)Ze+=String.fromCharCode(127&oe[Ue]);return Ze}function N(oe,me,te){var Ze="";te=Math.min(oe.length,te);for(var Ue=me;Ue<te;++Ue)Ze+=String.fromCharCode(oe[Ue]);return Ze}function v(oe,me,te){var Ze=oe.length;(!me||me<0)&&(me=0),(!te||te<0||te>Ze)&&(te=Ze);for(var Ue="",q=me;q<te;++q)Ue+=De[oe[q]];return Ue}function n(oe,me,te){for(var Ze=oe.slice(me,te),Ue="",q=0;q<Ze.length-1;q+=2)Ue+=String.fromCharCode(Ze[q]+256*Ze[q+1]);return Ue}function y(oe,me,te){if(oe%1!=0||oe<0)throw new RangeError("offset is not uint");if(oe+me>te)throw new RangeError("Trying to access beyond buffer length")}function B(oe,me,te,Ze,Ue,q){if(!h.isBuffer(oe))throw new TypeError('"buffer" argument must be a Buffer instance');if(me>Ue||me<q)throw new RangeError('"value" argument is out of bounds');if(te+Ze>oe.length)throw new RangeError("Index out of range")}function z(oe,me,te,Ze,Ue,q){if(te+Ze>oe.length)throw new RangeError("Index out of range");if(te<0)throw new RangeError("Index out of range")}function W(oe,me,te,Ze,Ue){return me=+me,te>>>=0,Ue||z(oe,0,te,4),e.write(oe,me,te,Ze,23,4),te+4}function Le(oe,me,te,Ze,Ue){return me=+me,te>>>=0,Ue||z(oe,0,te,8),e.write(oe,me,te,Ze,52,8),te+8}h.prototype.slice=function(me,te){var Ze=this.length;(me=~~me)<0?(me+=Ze)<0&&(me=0):me>Ze&&(me=Ze),(te=void 0===te?Ze:~~te)<0?(te+=Ze)<0&&(te=0):te>Ze&&(te=Ze),te<me&&(te=me);var Ue=this.subarray(me,te);return Object.setPrototypeOf(Ue,h.prototype),Ue},h.prototype.readUintLE=h.prototype.readUIntLE=function(me,te,Ze){me>>>=0,te>>>=0,Ze||y(me,te,this.length);for(var Ue=this[me],q=1,de=0;++de<te&&(q*=256);)Ue+=this[me+de]*q;return Ue},h.prototype.readUintBE=h.prototype.readUIntBE=function(me,te,Ze){me>>>=0,te>>>=0,Ze||y(me,te,this.length);for(var Ue=this[me+--te],q=1;te>0&&(q*=256);)Ue+=this[me+--te]*q;return Ue},h.prototype.readUint8=h.prototype.readUInt8=function(me,te){return me>>>=0,te||y(me,1,this.length),this[me]},h.prototype.readUint16LE=h.prototype.readUInt16LE=function(me,te){return me>>>=0,te||y(me,2,this.length),this[me]|this[me+1]<<8},h.prototype.readUint16BE=h.prototype.readUInt16BE=function(me,te){return me>>>=0,te||y(me,2,this.length),this[me]<<8|this[me+1]},h.prototype.readUint32LE=h.prototype.readUInt32LE=function(me,te){return me>>>=0,te||y(me,4,this.length),(this[me]|this[me+1]<<8|this[me+2]<<16)+16777216*this[me+3]},h.prototype.readUint32BE=h.prototype.readUInt32BE=function(me,te){return me>>>=0,te||y(me,4,this.length),16777216*this[me]+(this[me+1]<<16|this[me+2]<<8|this[me+3])},h.prototype.readIntLE=function(me,te,Ze){me>>>=0,te>>>=0,Ze||y(me,te,this.length);for(var Ue=this[me],q=1,de=0;++de<te&&(q*=256);)Ue+=this[me+de]*q;return Ue>=(q*=128)&&(Ue-=Math.pow(2,8*te)),Ue},h.prototype.readIntBE=function(me,te,Ze){me>>>=0,te>>>=0,Ze||y(me,te,this.length);for(var Ue=te,q=1,de=this[me+--Ue];Ue>0&&(q*=256);)de+=this[me+--Ue]*q;return de>=(q*=128)&&(de-=Math.pow(2,8*te)),de},h.prototype.readInt8=function(me,te){return me>>>=0,te||y(me,1,this.length),128&this[me]?-1*(255-this[me]+1):this[me]},h.prototype.readInt16LE=function(me,te){me>>>=0,te||y(me,2,this.length);var Ze=this[me]|this[me+1]<<8;return 32768&Ze?4294901760|Ze:Ze},h.prototype.readInt16BE=function(me,te){me>>>=0,te||y(me,2,this.length);var Ze=this[me+1]|this[me]<<8;return 32768&Ze?4294901760|Ze:Ze},h.prototype.readInt32LE=function(me,te){return me>>>=0,te||y(me,4,this.length),this[me]|this[me+1]<<8|this[me+2]<<16|this[me+3]<<24},h.prototype.readInt32BE=function(me,te){return me>>>=0,te||y(me,4,this.length),this[me]<<24|this[me+1]<<16|this[me+2]<<8|this[me+3]},h.prototype.readFloatLE=function(me,te){return me>>>=0,te||y(me,4,this.length),e.read(this,me,!0,23,4)},h.prototype.readFloatBE=function(me,te){return me>>>=0,te||y(me,4,this.length),e.read(this,me,!1,23,4)},h.prototype.readDoubleLE=function(me,te){return me>>>=0,te||y(me,8,this.length),e.read(this,me,!0,52,8)},h.prototype.readDoubleBE=function(me,te){return me>>>=0,te||y(me,8,this.length),e.read(this,me,!1,52,8)},h.prototype.writeUintLE=h.prototype.writeUIntLE=function(me,te,Ze,Ue){me=+me,te>>>=0,Ze>>>=0,Ue||B(this,me,te,Ze,Math.pow(2,8*Ze)-1,0);var de=1,Ee=0;for(this[te]=255&me;++Ee<Ze&&(de*=256);)this[te+Ee]=me/de&255;return te+Ze},h.prototype.writeUintBE=h.prototype.writeUIntBE=function(me,te,Ze,Ue){me=+me,te>>>=0,Ze>>>=0,Ue||B(this,me,te,Ze,Math.pow(2,8*Ze)-1,0);var de=Ze-1,Ee=1;for(this[te+de]=255&me;--de>=0&&(Ee*=256);)this[te+de]=me/Ee&255;return te+Ze},h.prototype.writeUint8=h.prototype.writeUInt8=function(me,te,Ze){return me=+me,te>>>=0,Ze||B(this,me,te,1,255,0),this[te]=255&me,te+1},h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(me,te,Ze){return me=+me,te>>>=0,Ze||B(this,me,te,2,65535,0),this[te]=255&me,this[te+1]=me>>>8,te+2},h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(me,te,Ze){return me=+me,te>>>=0,Ze||B(this,me,te,2,65535,0),this[te]=me>>>8,this[te+1]=255&me,te+2},h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(me,te,Ze){return me=+me,te>>>=0,Ze||B(this,me,te,4,4294967295,0),this[te+3]=me>>>24,this[te+2]=me>>>16,this[te+1]=me>>>8,this[te]=255&me,te+4},h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(me,te,Ze){return me=+me,te>>>=0,Ze||B(this,me,te,4,4294967295,0),this[te]=me>>>24,this[te+1]=me>>>16,this[te+2]=me>>>8,this[te+3]=255&me,te+4},h.prototype.writeIntLE=function(me,te,Ze,Ue){if(me=+me,te>>>=0,!Ue){var q=Math.pow(2,8*Ze-1);B(this,me,te,Ze,q-1,-q)}var de=0,Ee=1,ke=0;for(this[te]=255&me;++de<Ze&&(Ee*=256);)me<0&&0===ke&&0!==this[te+de-1]&&(ke=1),this[te+de]=(me/Ee>>0)-ke&255;return te+Ze},h.prototype.writeIntBE=function(me,te,Ze,Ue){if(me=+me,te>>>=0,!Ue){var q=Math.pow(2,8*Ze-1);B(this,me,te,Ze,q-1,-q)}var de=Ze-1,Ee=1,ke=0;for(this[te+de]=255&me;--de>=0&&(Ee*=256);)me<0&&0===ke&&0!==this[te+de+1]&&(ke=1),this[te+de]=(me/Ee>>0)-ke&255;return te+Ze},h.prototype.writeInt8=function(me,te,Ze){return me=+me,te>>>=0,Ze||B(this,me,te,1,127,-128),me<0&&(me=255+me+1),this[te]=255&me,te+1},h.prototype.writeInt16LE=function(me,te,Ze){return me=+me,te>>>=0,Ze||B(this,me,te,2,32767,-32768),this[te]=255&me,this[te+1]=me>>>8,te+2},h.prototype.writeInt16BE=function(me,te,Ze){return me=+me,te>>>=0,Ze||B(this,me,te,2,32767,-32768),this[te]=me>>>8,this[te+1]=255&me,te+2},h.prototype.writeInt32LE=function(me,te,Ze){return me=+me,te>>>=0,Ze||B(this,me,te,4,2147483647,-2147483648),this[te]=255&me,this[te+1]=me>>>8,this[te+2]=me>>>16,this[te+3]=me>>>24,te+4},h.prototype.writeInt32BE=function(me,te,Ze){return me=+me,te>>>=0,Ze||B(this,me,te,4,2147483647,-2147483648),me<0&&(me=4294967295+me+1),this[te]=me>>>24,this[te+1]=me>>>16,this[te+2]=me>>>8,this[te+3]=255&me,te+4},h.prototype.writeFloatLE=function(me,te,Ze){return W(this,me,te,!0,Ze)},h.prototype.writeFloatBE=function(me,te,Ze){return W(this,me,te,!1,Ze)},h.prototype.writeDoubleLE=function(me,te,Ze){return Le(this,me,te,!0,Ze)},h.prototype.writeDoubleBE=function(me,te,Ze){return Le(this,me,te,!1,Ze)},h.prototype.copy=function(me,te,Ze,Ue){if(!h.isBuffer(me))throw new TypeError("argument should be a Buffer");if(Ze||(Ze=0),!Ue&&0!==Ue&&(Ue=this.length),te>=me.length&&(te=me.length),te||(te=0),Ue>0&&Ue<Ze&&(Ue=Ze),Ue===Ze||0===me.length||0===this.length)return 0;if(te<0)throw new RangeError("targetStart out of bounds");if(Ze<0||Ze>=this.length)throw new RangeError("Index out of range");if(Ue<0)throw new RangeError("sourceEnd out of bounds");Ue>this.length&&(Ue=this.length),me.length-te<Ue-Ze&&(Ue=me.length-te+Ze);var q=Ue-Ze;return this===me&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(te,Ze,Ue):Uint8Array.prototype.set.call(me,this.subarray(Ze,Ue),te),q},h.prototype.fill=function(me,te,Ze,Ue){if("string"==typeof me){if("string"==typeof te?(Ue=te,te=0,Ze=this.length):"string"==typeof Ze&&(Ue=Ze,Ze=this.length),void 0!==Ue&&"string"!=typeof Ue)throw new TypeError("encoding must be a string");if("string"==typeof Ue&&!h.isEncoding(Ue))throw new TypeError("Unknown encoding: "+Ue);if(1===me.length){var q=me.charCodeAt(0);("utf8"===Ue&&q<128||"latin1"===Ue)&&(me=q)}}else"number"==typeof me?me&=255:"boolean"==typeof me&&(me=Number(me));if(te<0||this.length<te||this.length<Ze)throw new RangeError("Out of range index");if(Ze<=te)return this;var de;if(te>>>=0,Ze=void 0===Ze?this.length:Ze>>>0,me||(me=0),"number"==typeof me)for(de=te;de<Ze;++de)this[de]=me;else{var Ee=h.isBuffer(me)?me:h.from(me,Ue),ke=Ee.length;if(0===ke)throw new TypeError('The value "'+me+'" is invalid for argument "value"');for(de=0;de<Ze-te;++de)this[de+te]=Ee[de%ke]}return this};var Ve=/[^+/0-9A-Za-z-_]/g;function $e(oe,me){me=me||1/0;for(var te,Ze=oe.length,Ue=null,q=[],de=0;de<Ze;++de){if((te=oe.charCodeAt(de))>55295&&te<57344){if(!Ue){if(te>56319){(me-=3)>-1&&q.push(239,191,189);continue}if(de+1===Ze){(me-=3)>-1&&q.push(239,191,189);continue}Ue=te;continue}if(te<56320){(me-=3)>-1&&q.push(239,191,189),Ue=te;continue}te=65536+(Ue-55296<<10|te-56320)}else Ue&&(me-=3)>-1&&q.push(239,191,189);if(Ue=null,te<128){if((me-=1)<0)break;q.push(te)}else if(te<2048){if((me-=2)<0)break;q.push(te>>6|192,63&te|128)}else if(te<65536){if((me-=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((me-=4)<0)break;q.push(te>>18|240,te>>12&63|128,te>>6&63|128,63&te|128)}}return q}function ye(oe){return t.toByteArray(function Ke(oe){if((oe=(oe=oe.split("=")[0]).trim().replace(Ve,"")).length<2)return"";for(;oe.length%4!=0;)oe+="=";return oe}(oe))}function we(oe,me,te,Ze){for(var Ue=0;Ue<Ze&&!(Ue+te>=me.length||Ue>=oe.length);++Ue)me[Ue+te]=oe[Ue];return Ue}function he(oe,me){return oe instanceof me||null!=oe&&null!=oe.constructor&&null!=oe.constructor.name&&oe.constructor.name===me.name}function it(oe){return oe!=oe}var De=function(){for(var oe="0123456789abcdef",me=new Array(256),te=0;te<16;++te)for(var Ze=16*te,Ue=0;Ue<16;++Ue)me[Ze+Ue]=oe[te]+oe[Ue];return me}()},1052:(ze,K,m)=>{var t=m(3502).Buffer,e=m(295).Transform,g=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,h,P){"string"==typeof C&&(C=t.from(C,h));var u=this._update(C);return this.hashMode?this:(P&&(u=this._toString(u,P)),u)},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,h,P){var u;try{this.hashMode?this._update(C):this.push(this._update(C))}catch(I){u=I}finally{P(u)}},o.prototype._flush=function(C){var h;try{this.push(this.__final())}catch(P){h=P}C(h)},o.prototype._finalOrDigest=function(C){var h=this.__final()||t.alloc(0);return C&&(h=this._toString(h,C,!0)),h},o.prototype._toString=function(C,h,P){if(this._decoder||(this._decoder=new g(h),this._encoding=h),this._encoding!==h)throw new Error("can't switch encodings");var u=this._decoder.write(C);return P&&(u+=this._decoder.end()),u},ze.exports=o},6128:function(ze){!function(K){"use strict";var m={bytesToHex:function(g){return function t(g){return g.map(function(k){return function e(g,k){return g.length>k?g:Array(k-g.length+1).join("0")+g}(k.toString(16),2)}).join("")}(g)},hexToBytes:function(g){if(g.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===g.indexOf("0x")&&(g=g.slice(2)),g.match(/../g).map(function(k){return parseInt(k,16)})}};ze.exports?ze.exports=m:K.convertHex=m}(this)},5612:function(ze){!function(K){"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)))}},ze.exports?ze.exports=m:K.convertString=m}(this)},4746:(ze,K,m)=>{var t=m(7715),e=m(6422);ze.exports=function(h){return new k(h)};var g={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 k(C){this.curveType=g[C],this.curveType||(this.curveType={name:C}),this.curve=new t.ec(this.curveType.name),this.keys=void 0}function o(C,h,P){Array.isArray(C)||(C=C.toArray());var u=new Buffer(C);if(P&&u.length<P){var I=new Buffer(P-u.length);I.fill(0),u=Buffer.concat([I,u])}return h?u.toString(h):u}g.p224=g.secp224r1,g.p256=g.secp256r1=g.prime256v1,g.p192=g.secp192r1=g.prime192v1,g.p384=g.secp384r1,g.p521=g.secp521r1,k.prototype.generateKeys=function(C,h){return this.keys=this.curve.genKeyPair(),this.getPublicKey(C,h)},k.prototype.computeSecret=function(C,h,P){return h=h||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,h)),o(this.curve.keyFromPublic(C).getPublic().mul(this.keys.getPrivate()).getX(),P,this.curveType.byteLength)},k.prototype.getPublicKey=function(C,h){var P=this.keys.getPublic("compressed"===h,!0);return"hybrid"===h&&(P[0]=P[P.length-1]%2?7:6),o(P,C)},k.prototype.getPrivateKey=function(C){return o(this.keys.getPrivate(),C)},k.prototype.setPublicKey=function(C,h){return h=h||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,h)),this.keys._importPublic(C),this},k.prototype.setPrivateKey=function(C,h){h=h||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,h));var P=new e(C);return P=P.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(P),this}},6422:function(ze,K,m){!function(t,e){"use strict";function g(L,i){if(!L)throw new Error(i||"Assertion failed")}function k(L,i){L.super_=i;var r=function(){};r.prototype=i.prototype,L.prototype=new r,L.prototype.constructor=L}function o(L,i,r){if(o.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,null!==L&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(L||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 h(L,i){var r=L.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function P(L,i,r){var d=h(L,r);return r-1>=i&&(d|=h(L,r-1)<<4),d}function u(L,i,r,d){for(var c=0,b=Math.min(L.length,r),T=i;T<b;T++){var N=L.charCodeAt(T)-48;c*=d,c+=N>=49?N-49+10:N>=17?N-17+10:N}return c}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,d){if("number"==typeof i)return this._initNumber(i,r,d);if("object"==typeof i)return this._initArray(i,r,d);"hex"===r&&(r=16),g(r===(0|r)&&r>=2&&r<=36);var c=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(c++,this.negative=1),c<i.length&&(16===r?this._parseHex(i,c,d):(this._parseBase(i,r,c),"le"===d&&this._initArray(this.toArray(),r,d)))},o.prototype._initNumber=function(i,r,d){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):(g(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===d&&this._initArray(this.toArray(),r,d)},o.prototype._initArray=function(i,r,d){if(g("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 c=0;c<this.length;c++)this.words[c]=0;var b,T,N=0;if("be"===d)for(c=i.length-1,b=0;c>=0;c-=3)this.words[b]|=(T=i[c]|i[c-1]<<8|i[c-2]<<16)<<N&67108863,this.words[b+1]=T>>>26-N&67108863,(N+=24)>=26&&(N-=26,b++);else if("le"===d)for(c=0,b=0;c<i.length;c+=3)this.words[b]|=(T=i[c]|i[c+1]<<8|i[c+2]<<16)<<N&67108863,this.words[b+1]=T>>>26-N&67108863,(N+=24)>=26&&(N-=26,b++);return this.strip()},o.prototype._parseHex=function(i,r,d){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var N,b=0,T=0;if("be"===d)for(c=i.length-1;c>=r;c-=2)N=P(i,r,c)<<b,this.words[T]|=67108863&N,b>=18?(b-=18,this.words[T+=1]|=N>>>26):b+=8;else for(c=(i.length-r)%2==0?r+1:r;c<i.length;c+=2)N=P(i,r,c)<<b,this.words[T]|=67108863&N,b>=18?(b-=18,this.words[T+=1]|=N>>>26):b+=8;this.strip()},o.prototype._parseBase=function(i,r,d){this.words=[0],this.length=1;for(var c=0,b=1;b<=67108863;b*=r)c++;c--,b=b/r|0;for(var T=i.length-d,N=T%c,v=Math.min(T,T-N)+d,n=0,y=d;y<v;y+=c)n=u(i,y,y+c,r),this.imuln(b),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==N){var B=1;for(n=u(i,y,i.length,r),y=0;y<N;y++)B*=r;this.imuln(B),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 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"],S=[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],A=[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 R(L,i,r){r.negative=i.negative^L.negative;var d=L.length+i.length|0;r.length=d,d=d-1|0;var c=0|L.words[0],b=0|i.words[0],T=c*b,v=T/67108864|0;r.words[0]=67108863&T;for(var n=1;n<d;n++){for(var y=v>>>26,B=67108863&v,z=Math.min(n,i.length-1),W=Math.max(0,n-L.length+1);W<=z;W++)y+=(T=(c=0|L.words[n-W|0])*(b=0|i.words[W])+B)/67108864|0,B=67108863&T;r.words[n]=0|B,v=0|y}return 0!==v?r.words[n]=0|v:r.length--,r.strip()}o.prototype.toString=function(i,r){var d;if(r=0|r||1,16===(i=i||10)||"hex"===i){d="";for(var c=0,b=0,T=0;T<this.length;T++){var N=this.words[T],v=(16777215&(N<<c|b)).toString(16);d=0!=(b=N>>>24-c&16777215)||T!==this.length-1?I[6-v.length]+v+d:v+d,(c+=2)>=26&&(c-=26,T--)}for(0!==b&&(d=b.toString(16)+d);d.length%r!=0;)d="0"+d;return 0!==this.negative&&(d="-"+d),d}if(i===(0|i)&&i>=2&&i<=36){var n=S[i],y=A[i];d="";var B=this.clone();for(B.negative=0;!B.isZero();){var z=B.modn(y).toString(i);d=(B=B.idivn(y)).isZero()?z+d:I[n-z.length]+z+d}for(this.isZero()&&(d="0"+d);d.length%r!=0;)d="0"+d;return 0!==this.negative&&(d="-"+d),d}g(!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&&g(!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 g(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,d){var c=this.byteLength(),b=d||Math.max(1,c);g(c<=b,"byte array longer than desired length"),g(b>0,"Requested array length <= 0"),this.strip();var v,n,T="le"===r,N=new i(b),y=this.clone();if(T){for(n=0;!y.isZero();n++)v=y.andln(255),y.iushrn(8),N[n]=v;for(;n<b;n++)N[n]=0}else{for(n=0;n<b-c;n++)N[n]=0;for(n=0;!y.isZero();n++)v=y.andln(255),y.iushrn(8),N[b-n-1]=v}return N},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,d=0;return r>=4096&&(d+=13,r>>>=13),r>=64&&(d+=7,r>>>=7),r>=8&&(d+=4,r>>>=4),r>=2&&(d+=2,r>>>=2),d+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,d=0;return 0==(8191&r)&&(d+=13,r>>>=13),0==(127&r)&&(d+=7,r>>>=7),0==(15&r)&&(d+=4,r>>>=4),0==(3&r)&&(d+=2,r>>>=2),0==(1&r)&&d++,d},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 d=this._zeroBits(this.words[r]);if(i+=d,26!==d)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 g(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 d=0;d<r.length;d++)this.words[d]=this.words[d]&i.words[d];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return g(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,d;this.length>i.length?(r=this,d=i):(r=i,d=this);for(var c=0;c<d.length;c++)this.words[c]=r.words[c]^d.words[c];if(this!==r)for(;c<r.length;c++)this.words[c]=r.words[c];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return g(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){g("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),d=i%26;this._expand(r),d>0&&r--;for(var c=0;c<r;c++)this.words[c]=67108863&~this.words[c];return d>0&&(this.words[c]=~this.words[c]&67108863>>26-d),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){g("number"==typeof i&&i>=0);var d=i/26|0,c=i%26;return this._expand(d+1),this.words[d]=r?this.words[d]|1<<c:this.words[d]&~(1<<c),this.strip()},o.prototype.iadd=function(i){var r,d,c;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?(d=this,c=i):(d=i,c=this);for(var b=0,T=0;T<c.length;T++)this.words[T]=67108863&(r=(0|d.words[T])+(0|c.words[T])+b),b=r>>>26;for(;0!==b&&T<d.length;T++)this.words[T]=67108863&(r=(0|d.words[T])+b),b=r>>>26;if(this.length=d.length,0!==b)this.words[this.length]=b,this.length++;else if(d!==this)for(;T<d.length;T++)this.words[T]=d.words[T];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 c,b,d=this.cmp(i);if(0===d)return this.negative=0,this.length=1,this.words[0]=0,this;d>0?(c=this,b=i):(c=i,b=this);for(var T=0,N=0;N<b.length;N++)T=(r=(0|c.words[N])-(0|b.words[N])+T)>>26,this.words[N]=67108863&r;for(;0!==T&&N<c.length;N++)T=(r=(0|c.words[N])+T)>>26,this.words[N]=67108863&r;if(0===T&&N<c.length&&c!==this)for(;N<c.length;N++)this.words[N]=c.words[N];return this.length=Math.max(this.length,N),c!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var E=function(i,r,d){var v,n,y,c=i.words,b=r.words,T=d.words,N=0,B=0|c[0],z=8191&B,W=B>>>13,Le=0|c[1],Ve=8191&Le,Ke=Le>>>13,$e=0|c[2],Ae=8191&$e,ue=$e>>>13,ye=0|c[3],we=8191&ye,he=ye>>>13,it=0|c[4],De=8191&it,oe=it>>>13,me=0|c[5],te=8191&me,Ze=me>>>13,Ue=0|c[6],q=8191&Ue,de=Ue>>>13,Ee=0|c[7],ke=8191&Ee,ie=Ee>>>13,nt=0|c[8],Ct=8191&nt,rt=nt>>>13,Xt=0|c[9],gt=8191&Xt,mt=Xt>>>13,St=0|b[0],Ie=8191&St,He=St>>>13,xt=0|b[1],Pe=8191&xt,et=xt>>>13,Vt=0|b[2],Lt=8191&Vt,Ft=Vt>>>13,bt=0|b[3],Ce=8191&bt,J=bt>>>13,ve=0|b[4],Ne=8191&ve,st=ve>>>13,ni=0|b[5],Ut=8191&ni,ti=ni>>>13,dt=0|b[6],at=8191&dt,_t=dt>>>13,ai=0|b[7],Bt=8191&ai,zt=ai>>>13,Nt=0|b[8],je=8191&Nt,Fe=Nt>>>13,Ye=0|b[9],qe=8191&Ye,Tt=Ye>>>13;d.negative=i.negative^r.negative,d.length=19;var mi=(N+(v=Math.imul(z,Ie))|0)+((8191&(n=(n=Math.imul(z,He))+Math.imul(W,Ie)|0))<<13)|0;N=((y=Math.imul(W,He))+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,v=Math.imul(Ve,Ie),n=(n=Math.imul(Ve,He))+Math.imul(Ke,Ie)|0,y=Math.imul(Ke,He);var Ti=(N+(v=v+Math.imul(z,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(z,et)|0)+Math.imul(W,Pe)|0))<<13)|0;N=((y=y+Math.imul(W,et)|0)+(n>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,v=Math.imul(Ae,Ie),n=(n=Math.imul(Ae,He))+Math.imul(ue,Ie)|0,y=Math.imul(ue,He),v=v+Math.imul(Ve,Pe)|0,n=(n=n+Math.imul(Ve,et)|0)+Math.imul(Ke,Pe)|0,y=y+Math.imul(Ke,et)|0;var xi=(N+(v=v+Math.imul(z,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ft)|0)+Math.imul(W,Lt)|0))<<13)|0;N=((y=y+Math.imul(W,Ft)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(we,Ie),n=(n=Math.imul(we,He))+Math.imul(he,Ie)|0,y=Math.imul(he,He),v=v+Math.imul(Ae,Pe)|0,n=(n=n+Math.imul(Ae,et)|0)+Math.imul(ue,Pe)|0,y=y+Math.imul(ue,et)|0,v=v+Math.imul(Ve,Lt)|0,n=(n=n+Math.imul(Ve,Ft)|0)+Math.imul(Ke,Lt)|0,y=y+Math.imul(Ke,Ft)|0;var Fi=(N+(v=v+Math.imul(z,Ce)|0)|0)+((8191&(n=(n=n+Math.imul(z,J)|0)+Math.imul(W,Ce)|0))<<13)|0;N=((y=y+Math.imul(W,J)|0)+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,v=Math.imul(De,Ie),n=(n=Math.imul(De,He))+Math.imul(oe,Ie)|0,y=Math.imul(oe,He),v=v+Math.imul(we,Pe)|0,n=(n=n+Math.imul(we,et)|0)+Math.imul(he,Pe)|0,y=y+Math.imul(he,et)|0,v=v+Math.imul(Ae,Lt)|0,n=(n=n+Math.imul(Ae,Ft)|0)+Math.imul(ue,Lt)|0,y=y+Math.imul(ue,Ft)|0,v=v+Math.imul(Ve,Ce)|0,n=(n=n+Math.imul(Ve,J)|0)+Math.imul(Ke,Ce)|0,y=y+Math.imul(Ke,J)|0;var Je=(N+(v=v+Math.imul(z,Ne)|0)|0)+((8191&(n=(n=n+Math.imul(z,st)|0)+Math.imul(W,Ne)|0))<<13)|0;N=((y=y+Math.imul(W,st)|0)+(n>>>13)|0)+(Je>>>26)|0,Je&=67108863,v=Math.imul(te,Ie),n=(n=Math.imul(te,He))+Math.imul(Ze,Ie)|0,y=Math.imul(Ze,He),v=v+Math.imul(De,Pe)|0,n=(n=n+Math.imul(De,et)|0)+Math.imul(oe,Pe)|0,y=y+Math.imul(oe,et)|0,v=v+Math.imul(we,Lt)|0,n=(n=n+Math.imul(we,Ft)|0)+Math.imul(he,Lt)|0,y=y+Math.imul(he,Ft)|0,v=v+Math.imul(Ae,Ce)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(ue,Ce)|0,y=y+Math.imul(ue,J)|0,v=v+Math.imul(Ve,Ne)|0,n=(n=n+Math.imul(Ve,st)|0)+Math.imul(Ke,Ne)|0,y=y+Math.imul(Ke,st)|0;var wt=(N+(v=v+Math.imul(z,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(z,ti)|0)+Math.imul(W,Ut)|0))<<13)|0;N=((y=y+Math.imul(W,ti)|0)+(n>>>13)|0)+(wt>>>26)|0,wt&=67108863,v=Math.imul(q,Ie),n=(n=Math.imul(q,He))+Math.imul(de,Ie)|0,y=Math.imul(de,He),v=v+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,et)|0)+Math.imul(Ze,Pe)|0,y=y+Math.imul(Ze,et)|0,v=v+Math.imul(De,Lt)|0,n=(n=n+Math.imul(De,Ft)|0)+Math.imul(oe,Lt)|0,y=y+Math.imul(oe,Ft)|0,v=v+Math.imul(we,Ce)|0,n=(n=n+Math.imul(we,J)|0)+Math.imul(he,Ce)|0,y=y+Math.imul(he,J)|0,v=v+Math.imul(Ae,Ne)|0,n=(n=n+Math.imul(Ae,st)|0)+Math.imul(ue,Ne)|0,y=y+Math.imul(ue,st)|0,v=v+Math.imul(Ve,Ut)|0,n=(n=n+Math.imul(Ve,ti)|0)+Math.imul(Ke,Ut)|0,y=y+Math.imul(Ke,ti)|0;var be=(N+(v=v+Math.imul(z,at)|0)|0)+((8191&(n=(n=n+Math.imul(z,_t)|0)+Math.imul(W,at)|0))<<13)|0;N=((y=y+Math.imul(W,_t)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,v=Math.imul(ke,Ie),n=(n=Math.imul(ke,He))+Math.imul(ie,Ie)|0,y=Math.imul(ie,He),v=v+Math.imul(q,Pe)|0,n=(n=n+Math.imul(q,et)|0)+Math.imul(de,Pe)|0,y=y+Math.imul(de,et)|0,v=v+Math.imul(te,Lt)|0,n=(n=n+Math.imul(te,Ft)|0)+Math.imul(Ze,Lt)|0,y=y+Math.imul(Ze,Ft)|0,v=v+Math.imul(De,Ce)|0,n=(n=n+Math.imul(De,J)|0)+Math.imul(oe,Ce)|0,y=y+Math.imul(oe,J)|0,v=v+Math.imul(we,Ne)|0,n=(n=n+Math.imul(we,st)|0)+Math.imul(he,Ne)|0,y=y+Math.imul(he,st)|0,v=v+Math.imul(Ae,Ut)|0,n=(n=n+Math.imul(Ae,ti)|0)+Math.imul(ue,Ut)|0,y=y+Math.imul(ue,ti)|0,v=v+Math.imul(Ve,at)|0,n=(n=n+Math.imul(Ve,_t)|0)+Math.imul(Ke,at)|0,y=y+Math.imul(Ke,_t)|0;var Pt=(N+(v=v+Math.imul(z,Bt)|0)|0)+((8191&(n=(n=n+Math.imul(z,zt)|0)+Math.imul(W,Bt)|0))<<13)|0;N=((y=y+Math.imul(W,zt)|0)+(n>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,v=Math.imul(Ct,Ie),n=(n=Math.imul(Ct,He))+Math.imul(rt,Ie)|0,y=Math.imul(rt,He),v=v+Math.imul(ke,Pe)|0,n=(n=n+Math.imul(ke,et)|0)+Math.imul(ie,Pe)|0,y=y+Math.imul(ie,et)|0,v=v+Math.imul(q,Lt)|0,n=(n=n+Math.imul(q,Ft)|0)+Math.imul(de,Lt)|0,y=y+Math.imul(de,Ft)|0,v=v+Math.imul(te,Ce)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ze,Ce)|0,y=y+Math.imul(Ze,J)|0,v=v+Math.imul(De,Ne)|0,n=(n=n+Math.imul(De,st)|0)+Math.imul(oe,Ne)|0,y=y+Math.imul(oe,st)|0,v=v+Math.imul(we,Ut)|0,n=(n=n+Math.imul(we,ti)|0)+Math.imul(he,Ut)|0,y=y+Math.imul(he,ti)|0,v=v+Math.imul(Ae,at)|0,n=(n=n+Math.imul(Ae,_t)|0)+Math.imul(ue,at)|0,y=y+Math.imul(ue,_t)|0,v=v+Math.imul(Ve,Bt)|0,n=(n=n+Math.imul(Ve,zt)|0)+Math.imul(Ke,Bt)|0,y=y+Math.imul(Ke,zt)|0;var qt=(N+(v=v+Math.imul(z,je)|0)|0)+((8191&(n=(n=n+Math.imul(z,Fe)|0)+Math.imul(W,je)|0))<<13)|0;N=((y=y+Math.imul(W,Fe)|0)+(n>>>13)|0)+(qt>>>26)|0,qt&=67108863,v=Math.imul(gt,Ie),n=(n=Math.imul(gt,He))+Math.imul(mt,Ie)|0,y=Math.imul(mt,He),v=v+Math.imul(Ct,Pe)|0,n=(n=n+Math.imul(Ct,et)|0)+Math.imul(rt,Pe)|0,y=y+Math.imul(rt,et)|0,v=v+Math.imul(ke,Lt)|0,n=(n=n+Math.imul(ke,Ft)|0)+Math.imul(ie,Lt)|0,y=y+Math.imul(ie,Ft)|0,v=v+Math.imul(q,Ce)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,Ce)|0,y=y+Math.imul(de,J)|0,v=v+Math.imul(te,Ne)|0,n=(n=n+Math.imul(te,st)|0)+Math.imul(Ze,Ne)|0,y=y+Math.imul(Ze,st)|0,v=v+Math.imul(De,Ut)|0,n=(n=n+Math.imul(De,ti)|0)+Math.imul(oe,Ut)|0,y=y+Math.imul(oe,ti)|0,v=v+Math.imul(we,at)|0,n=(n=n+Math.imul(we,_t)|0)+Math.imul(he,at)|0,y=y+Math.imul(he,_t)|0,v=v+Math.imul(Ae,Bt)|0,n=(n=n+Math.imul(Ae,zt)|0)+Math.imul(ue,Bt)|0,y=y+Math.imul(ue,zt)|0,v=v+Math.imul(Ve,je)|0,n=(n=n+Math.imul(Ve,Fe)|0)+Math.imul(Ke,je)|0,y=y+Math.imul(Ke,Fe)|0;var gi=(N+(v=v+Math.imul(z,qe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Tt)|0)+Math.imul(W,qe)|0))<<13)|0;N=((y=y+Math.imul(W,Tt)|0)+(n>>>13)|0)+(gi>>>26)|0,gi&=67108863,v=Math.imul(gt,Pe),n=(n=Math.imul(gt,et))+Math.imul(mt,Pe)|0,y=Math.imul(mt,et),v=v+Math.imul(Ct,Lt)|0,n=(n=n+Math.imul(Ct,Ft)|0)+Math.imul(rt,Lt)|0,y=y+Math.imul(rt,Ft)|0,v=v+Math.imul(ke,Ce)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ie,Ce)|0,y=y+Math.imul(ie,J)|0,v=v+Math.imul(q,Ne)|0,n=(n=n+Math.imul(q,st)|0)+Math.imul(de,Ne)|0,y=y+Math.imul(de,st)|0,v=v+Math.imul(te,Ut)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ze,Ut)|0,y=y+Math.imul(Ze,ti)|0,v=v+Math.imul(De,at)|0,n=(n=n+Math.imul(De,_t)|0)+Math.imul(oe,at)|0,y=y+Math.imul(oe,_t)|0,v=v+Math.imul(we,Bt)|0,n=(n=n+Math.imul(we,zt)|0)+Math.imul(he,Bt)|0,y=y+Math.imul(he,zt)|0,v=v+Math.imul(Ae,je)|0,n=(n=n+Math.imul(Ae,Fe)|0)+Math.imul(ue,je)|0,y=y+Math.imul(ue,Fe)|0;var Si=(N+(v=v+Math.imul(Ve,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ve,Tt)|0)+Math.imul(Ke,qe)|0))<<13)|0;N=((y=y+Math.imul(Ke,Tt)|0)+(n>>>13)|0)+(Si>>>26)|0,Si&=67108863,v=Math.imul(gt,Lt),n=(n=Math.imul(gt,Ft))+Math.imul(mt,Lt)|0,y=Math.imul(mt,Ft),v=v+Math.imul(Ct,Ce)|0,n=(n=n+Math.imul(Ct,J)|0)+Math.imul(rt,Ce)|0,y=y+Math.imul(rt,J)|0,v=v+Math.imul(ke,Ne)|0,n=(n=n+Math.imul(ke,st)|0)+Math.imul(ie,Ne)|0,y=y+Math.imul(ie,st)|0,v=v+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,ti)|0)+Math.imul(de,Ut)|0,y=y+Math.imul(de,ti)|0,v=v+Math.imul(te,at)|0,n=(n=n+Math.imul(te,_t)|0)+Math.imul(Ze,at)|0,y=y+Math.imul(Ze,_t)|0,v=v+Math.imul(De,Bt)|0,n=(n=n+Math.imul(De,zt)|0)+Math.imul(oe,Bt)|0,y=y+Math.imul(oe,zt)|0,v=v+Math.imul(we,je)|0,n=(n=n+Math.imul(we,Fe)|0)+Math.imul(he,je)|0,y=y+Math.imul(he,Fe)|0;var ki=(N+(v=v+Math.imul(Ae,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Tt)|0)+Math.imul(ue,qe)|0))<<13)|0;N=((y=y+Math.imul(ue,Tt)|0)+(n>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(gt,Ce),n=(n=Math.imul(gt,J))+Math.imul(mt,Ce)|0,y=Math.imul(mt,J),v=v+Math.imul(Ct,Ne)|0,n=(n=n+Math.imul(Ct,st)|0)+Math.imul(rt,Ne)|0,y=y+Math.imul(rt,st)|0,v=v+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,ti)|0)+Math.imul(ie,Ut)|0,y=y+Math.imul(ie,ti)|0,v=v+Math.imul(q,at)|0,n=(n=n+Math.imul(q,_t)|0)+Math.imul(de,at)|0,y=y+Math.imul(de,_t)|0,v=v+Math.imul(te,Bt)|0,n=(n=n+Math.imul(te,zt)|0)+Math.imul(Ze,Bt)|0,y=y+Math.imul(Ze,zt)|0,v=v+Math.imul(De,je)|0,n=(n=n+Math.imul(De,Fe)|0)+Math.imul(oe,je)|0,y=y+Math.imul(oe,Fe)|0;var Gi=(N+(v=v+Math.imul(we,qe)|0)|0)+((8191&(n=(n=n+Math.imul(we,Tt)|0)+Math.imul(he,qe)|0))<<13)|0;N=((y=y+Math.imul(he,Tt)|0)+(n>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,v=Math.imul(gt,Ne),n=(n=Math.imul(gt,st))+Math.imul(mt,Ne)|0,y=Math.imul(mt,st),v=v+Math.imul(Ct,Ut)|0,n=(n=n+Math.imul(Ct,ti)|0)+Math.imul(rt,Ut)|0,y=y+Math.imul(rt,ti)|0,v=v+Math.imul(ke,at)|0,n=(n=n+Math.imul(ke,_t)|0)+Math.imul(ie,at)|0,y=y+Math.imul(ie,_t)|0,v=v+Math.imul(q,Bt)|0,n=(n=n+Math.imul(q,zt)|0)+Math.imul(de,Bt)|0,y=y+Math.imul(de,zt)|0,v=v+Math.imul(te,je)|0,n=(n=n+Math.imul(te,Fe)|0)+Math.imul(Ze,je)|0,y=y+Math.imul(Ze,Fe)|0;var Gt=(N+(v=v+Math.imul(De,qe)|0)|0)+((8191&(n=(n=n+Math.imul(De,Tt)|0)+Math.imul(oe,qe)|0))<<13)|0;N=((y=y+Math.imul(oe,Tt)|0)+(n>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,v=Math.imul(gt,Ut),n=(n=Math.imul(gt,ti))+Math.imul(mt,Ut)|0,y=Math.imul(mt,ti),v=v+Math.imul(Ct,at)|0,n=(n=n+Math.imul(Ct,_t)|0)+Math.imul(rt,at)|0,y=y+Math.imul(rt,_t)|0,v=v+Math.imul(ke,Bt)|0,n=(n=n+Math.imul(ke,zt)|0)+Math.imul(ie,Bt)|0,y=y+Math.imul(ie,zt)|0,v=v+Math.imul(q,je)|0,n=(n=n+Math.imul(q,Fe)|0)+Math.imul(de,je)|0,y=y+Math.imul(de,Fe)|0;var di=(N+(v=v+Math.imul(te,qe)|0)|0)+((8191&(n=(n=n+Math.imul(te,Tt)|0)+Math.imul(Ze,qe)|0))<<13)|0;N=((y=y+Math.imul(Ze,Tt)|0)+(n>>>13)|0)+(di>>>26)|0,di&=67108863,v=Math.imul(gt,at),n=(n=Math.imul(gt,_t))+Math.imul(mt,at)|0,y=Math.imul(mt,_t),v=v+Math.imul(Ct,Bt)|0,n=(n=n+Math.imul(Ct,zt)|0)+Math.imul(rt,Bt)|0,y=y+Math.imul(rt,zt)|0,v=v+Math.imul(ke,je)|0,n=(n=n+Math.imul(ke,Fe)|0)+Math.imul(ie,je)|0,y=y+Math.imul(ie,Fe)|0;var ge=(N+(v=v+Math.imul(q,qe)|0)|0)+((8191&(n=(n=n+Math.imul(q,Tt)|0)+Math.imul(de,qe)|0))<<13)|0;N=((y=y+Math.imul(de,Tt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,v=Math.imul(gt,Bt),n=(n=Math.imul(gt,zt))+Math.imul(mt,Bt)|0,y=Math.imul(mt,zt),v=v+Math.imul(Ct,je)|0,n=(n=n+Math.imul(Ct,Fe)|0)+Math.imul(rt,je)|0,y=y+Math.imul(rt,Fe)|0;var Xe=(N+(v=v+Math.imul(ke,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Tt)|0)+Math.imul(ie,qe)|0))<<13)|0;N=((y=y+Math.imul(ie,Tt)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,v=Math.imul(gt,je),n=(n=Math.imul(gt,Fe))+Math.imul(mt,je)|0,y=Math.imul(mt,Fe);var Et=(N+(v=v+Math.imul(Ct,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ct,Tt)|0)+Math.imul(rt,qe)|0))<<13)|0;N=((y=y+Math.imul(rt,Tt)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863;var jt=(N+(v=Math.imul(gt,qe))|0)+((8191&(n=(n=Math.imul(gt,Tt))+Math.imul(mt,qe)|0))<<13)|0;return N=((y=Math.imul(mt,Tt))+(n>>>13)|0)+(jt>>>26)|0,jt&=67108863,T[0]=mi,T[1]=Ti,T[2]=xi,T[3]=Fi,T[4]=Je,T[5]=wt,T[6]=be,T[7]=Pt,T[8]=qt,T[9]=gi,T[10]=Si,T[11]=ki,T[12]=Gi,T[13]=Gt,T[14]=di,T[15]=ge,T[16]=Xe,T[17]=Et,T[18]=jt,0!==N&&(T[19]=N,d.length++),d};function Y(L,i,r){return(new Q).mulp(L,i,r)}function Q(L,i){this.x=L,this.y=i}Math.imul||(E=R),o.prototype.mulTo=function(i,r){var d,c=this.length+i.length;return d=10===this.length&&10===i.length?E(this,i,r):c<63?R(this,i,r):c<1024?function U(L,i,r){r.negative=i.negative^L.negative,r.length=L.length+i.length;for(var d=0,c=0,b=0;b<r.length-1;b++){var T=c;c=0;for(var N=67108863&d,v=Math.min(b,i.length-1),n=Math.max(0,b-L.length+1);n<=v;n++){var W=(0|L.words[b-n])*(0|i.words[n]),Le=67108863&W;N=67108863&(Le=Le+N|0),c+=(T=(T=T+(W/67108864|0)|0)+(Le>>>26)|0)>>>26,T&=67108863}r.words[b]=N,d=T,T=c}return 0!==d?r.words[b]=d:r.length--,r.strip()}(this,i,r):Y(this,i,r),d},Q.prototype.makeRBT=function(i){for(var r=new Array(i),d=o.prototype._countBits(i)-1,c=0;c<i;c++)r[c]=this.revBin(c,d,i);return r},Q.prototype.revBin=function(i,r,d){if(0===i||i===d-1)return i;for(var c=0,b=0;b<r;b++)c|=(1&i)<<r-b-1,i>>=1;return c},Q.prototype.permute=function(i,r,d,c,b,T){for(var N=0;N<T;N++)c[N]=r[i[N]],b[N]=d[i[N]]},Q.prototype.transform=function(i,r,d,c,b,T){this.permute(T,i,r,d,c,b);for(var N=1;N<b;N<<=1)for(var v=N<<1,n=Math.cos(2*Math.PI/v),y=Math.sin(2*Math.PI/v),B=0;B<b;B+=v)for(var z=n,W=y,Le=0;Le<N;Le++){var Ve=d[B+Le],Ke=c[B+Le],$e=d[B+Le+N],Ae=c[B+Le+N],ue=z*$e-W*Ae;Ae=z*Ae+W*$e,d[B+Le]=Ve+($e=ue),c[B+Le]=Ke+Ae,d[B+Le+N]=Ve-$e,c[B+Le+N]=Ke-Ae,Le!==v&&(ue=n*z-y*W,W=n*W+y*z,z=ue)}},Q.prototype.guessLen13b=function(i,r){var d=1|Math.max(r,i),c=1&d,b=0;for(d=d/2|0;d;d>>>=1)b++;return 1<<b+1+c},Q.prototype.conjugate=function(i,r,d){if(!(d<=1))for(var c=0;c<d/2;c++){var b=i[c];i[c]=i[d-c-1],i[d-c-1]=b,b=r[c],r[c]=-r[d-c-1],r[d-c-1]=-b}},Q.prototype.normalize13b=function(i,r){for(var d=0,c=0;c<r/2;c++){var b=8192*Math.round(i[2*c+1]/r)+Math.round(i[2*c]/r)+d;i[c]=67108863&b,d=b<67108864?0:b/67108864|0}return i},Q.prototype.convert13b=function(i,r,d,c){for(var b=0,T=0;T<r;T++)d[2*T]=8191&(b+=0|i[T]),d[2*T+1]=8191&(b>>>=13),b>>>=13;for(T=2*r;T<c;++T)d[T]=0;g(0===b),g(0==(-8192&b))},Q.prototype.stub=function(i){for(var r=new Array(i),d=0;d<i;d++)r[d]=0;return r},Q.prototype.mulp=function(i,r,d){var c=2*this.guessLen13b(i.length,r.length),b=this.makeRBT(c),T=this.stub(c),N=new Array(c),v=new Array(c),n=new Array(c),y=new Array(c),B=new Array(c),z=new Array(c),W=d.words;W.length=c,this.convert13b(i.words,i.length,N,c),this.convert13b(r.words,r.length,y,c),this.transform(N,T,v,n,c,b),this.transform(y,T,B,z,c,b);for(var Le=0;Le<c;Le++){var Ve=v[Le]*B[Le]-n[Le]*z[Le];n[Le]=v[Le]*z[Le]+n[Le]*B[Le],v[Le]=Ve}return this.conjugate(v,n,c),this.transform(v,n,W,T,c,b),this.conjugate(W,T,c),this.normalize13b(W,c),d.negative=i.negative^r.negative,d.length=i.length+r.length,d.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),Y(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var r=0,d=0;d<this.length;d++){var c=(0|this.words[d])*i,b=(67108863&c)+(67108863&r);r>>=26,r+=c/67108864|0,r+=b>>>26,this.words[d]=67108863&b}return 0!==r&&(this.words[d]=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 w(L){for(var i=new Array(L.bitLength()),r=0;r<i.length;r++){var c=r%26;i[r]=(L.words[r/26|0]&1<<c)>>>c}return i}(i);if(0===r.length)return new o(1);for(var d=this,c=0;c<r.length&&0===r[c];c++,d=d.sqr());if(++c<r.length)for(var b=d.sqr();c<r.length;c++,b=b.sqr())0!==r[c]&&(d=d.mul(b));return d},o.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var b,r=i%26,d=(i-r)/26,c=67108863>>>26-r<<26-r;if(0!==r){var T=0;for(b=0;b<this.length;b++){var N=this.words[b]&c;this.words[b]=(0|this.words[b])-N<<r|T,T=N>>>26-r}T&&(this.words[b]=T,this.length++)}if(0!==d){for(b=this.length-1;b>=0;b--)this.words[b+d]=this.words[b];for(b=0;b<d;b++)this.words[b]=0;this.length+=d}return this.strip()},o.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,d){var c;g("number"==typeof i&&i>=0),c=r?(r-r%26)/26:0;var b=i%26,T=Math.min((i-b)/26,this.length),N=67108863^67108863>>>b<<b,v=d;if(c-=T,c=Math.max(0,c),v){for(var n=0;n<T;n++)v.words[n]=this.words[n];v.length=T}if(0!==T)if(this.length>T)for(this.length-=T,n=0;n<this.length;n++)this.words[n]=this.words[n+T];else this.words[0]=0,this.length=1;var y=0;for(n=this.length-1;n>=0&&(0!==y||n>=c);n--){var B=0|this.words[n];this.words[n]=y<<26-b|B>>>b,y=B&N}return v&&0!==y&&(v.words[v.length++]=y),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,d){return g(0===this.negative),this.iushrn(i,r,d)},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){g("number"==typeof i&&i>=0);var r=i%26,d=(i-r)/26;return!(this.length<=d||!(this.words[d]&1<<r))},o.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var r=i%26,d=(i-r)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=d?this:(0!==r&&d++,this.length=Math.min(d,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 g("number"==typeof i),g(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(g("number"==typeof i),g(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,d){var b;this._expand(i.length+d);var T,N=0;for(b=0;b<i.length;b++){T=(0|this.words[b+d])+N;var v=(0|i.words[b])*r;N=((T-=67108863&v)>>26)-(v/67108864|0),this.words[b+d]=67108863&T}for(;b<this.length-d;b++)N=(T=(0|this.words[b+d])+N)>>26,this.words[b+d]=67108863&T;if(0===N)return this.strip();for(g(-1===N),N=0,b=0;b<this.length;b++)N=(T=-(0|this.words[b])+N)>>26,this.words[b]=67108863&T;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var d,c=this.clone(),b=i,T=0|b.words[b.length-1];0!=(d=26-this._countBits(T))&&(b=b.ushln(d),c.iushln(d),T=0|b.words[b.length-1]);var n,v=c.length-b.length;if("mod"!==r){(n=new o(null)).length=v+1,n.words=new Array(n.length);for(var y=0;y<n.length;y++)n.words[y]=0}var B=c.clone()._ishlnsubmul(b,1,v);0===B.negative&&(c=B,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var W=67108864*(0|c.words[b.length+z])+(0|c.words[b.length+z-1]);for(W=Math.min(W/T|0,67108863),c._ishlnsubmul(b,W,z);0!==c.negative;)W--,c.negative=0,c._ishlnsubmul(b,1,z),c.isZero()||(c.negative^=1);n&&(n.words[z]=W)}return n&&n.strip(),c.strip(),"div"!==r&&0!==d&&c.iushrn(d),{div:n||null,mod:c}},o.prototype.divmod=function(i,r,d){return g(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(T=this.neg().divmod(i,r),"mod"!==r&&(c=T.div.neg()),"div"!==r&&(b=T.mod.neg(),d&&0!==b.negative&&b.iadd(i)),{div:c,mod:b}):0===this.negative&&0!==i.negative?(T=this.divmod(i.neg(),r),"mod"!==r&&(c=T.div.neg()),{div:c,mod:T.mod}):0!=(this.negative&i.negative)?(T=this.neg().divmod(i.neg(),r),"div"!==r&&(b=T.mod.neg(),d&&0!==b.negative&&b.isub(i)),{div:T.div,mod:b}):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 c,b,T},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 d=0!==r.div.negative?r.mod.isub(i):r.mod,c=i.ushrn(1),b=i.andln(1),T=d.cmp(c);return T<0||1===b&&0===T?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){g(i<=67108863);for(var r=(1<<26)%i,d=0,c=this.length-1;c>=0;c--)d=(r*d+(0|this.words[c]))%i;return d},o.prototype.idivn=function(i){g(i<=67108863);for(var r=0,d=this.length-1;d>=0;d--){var c=(0|this.words[d])+67108864*r;this.words[d]=c/i|0,r=c%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var r=this,d=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),b=new o(0),T=new o(0),N=new o(1),v=0;r.isEven()&&d.isEven();)r.iushrn(1),d.iushrn(1),++v;for(var n=d.clone(),y=r.clone();!r.isZero();){for(var B=0,z=1;0==(r.words[0]&z)&&B<26;++B,z<<=1);if(B>0)for(r.iushrn(B);B-- >0;)(c.isOdd()||b.isOdd())&&(c.iadd(n),b.isub(y)),c.iushrn(1),b.iushrn(1);for(var W=0,Le=1;0==(d.words[0]&Le)&&W<26;++W,Le<<=1);if(W>0)for(d.iushrn(W);W-- >0;)(T.isOdd()||N.isOdd())&&(T.iadd(n),N.isub(y)),T.iushrn(1),N.iushrn(1);r.cmp(d)>=0?(r.isub(d),c.isub(T),b.isub(N)):(d.isub(r),T.isub(c),N.isub(b))}return{a:T,b:N,gcd:d.iushln(v)}},o.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var B,r=this,d=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),b=new o(0),T=d.clone();r.cmpn(1)>0&&d.cmpn(1)>0;){for(var N=0,v=1;0==(r.words[0]&v)&&N<26;++N,v<<=1);if(N>0)for(r.iushrn(N);N-- >0;)c.isOdd()&&c.iadd(T),c.iushrn(1);for(var n=0,y=1;0==(d.words[0]&y)&&n<26;++n,y<<=1);if(n>0)for(d.iushrn(n);n-- >0;)b.isOdd()&&b.iadd(T),b.iushrn(1);r.cmp(d)>=0?(r.isub(d),c.isub(b)):(d.isub(r),b.isub(c))}return(B=0===r.cmpn(1)?c:b).cmpn(0)<0&&B.iadd(i),B},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),d=i.clone();r.negative=0,d.negative=0;for(var c=0;r.isEven()&&d.isEven();c++)r.iushrn(1),d.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;d.isEven();)d.iushrn(1);var b=r.cmp(d);if(b<0){var T=r;r=d,d=T}else if(0===b||0===d.cmpn(1))break;r.isub(d)}return d.iushln(c)},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){g("number"==typeof i);var r=i%26,d=(i-r)/26,c=1<<r;if(this.length<=d)return this._expand(d+1),this.words[d]|=c,this;for(var b=c,T=d;0!==b&&T<this.length;T++){var N=0|this.words[T];b=(N+=b)>>>26,this.words[T]=N&=67108863}return 0!==b&&(this.words[T]=b,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var d,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)d=1;else{r&&(i=-i),g(i<=67108863,"Number is too big");var c=0|this.words[0];d=c===i?0:c<i?-1:1}return 0!==this.negative?0|-d:d},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,d=this.length-1;d>=0;d--){var c=0|this.words[d],b=0|i.words[d];if(c!==b){c<b?r=-1:c>b&&(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 se(i)},o.prototype.toRed=function(i){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return g(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 g(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return g(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 $(L,i){this.name=L,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 fe(){$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function re(){$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ee(){$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(L){if("string"==typeof L){var i=o._prime(L);this.m=i.p,this.prime=i}else g(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}function le(L){se.call(this,L),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)}$.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},$.prototype.ireduce=function(i){var d,r=i;do{this.split(r,this.tmp),d=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(d>this.n);var c=d<this.n?-1:r.ucmp(this.p);return 0===c?(r.words[0]=0,r.length=1):c>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},$.prototype.split=function(i,r){i.iushrn(this.n,0,r)},$.prototype.imulK=function(i){return i.imul(this.k)},k(fe,$),fe.prototype.split=function(i,r){for(var d=4194303,c=Math.min(i.length,9),b=0;b<c;b++)r.words[b]=i.words[b];if(r.length=c,i.length<=9)return i.words[0]=0,void(i.length=1);var T=i.words[9];for(r.words[r.length++]=T&d,b=10;b<i.length;b++){var N=0|i.words[b];i.words[b-10]=(N&d)<<4|T>>>22,T=N}i.words[b-10]=T>>>=22,i.length-=0===T&&i.length>10?10:9},fe.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,d=0;d<i.length;d++){var c=0|i.words[d];i.words[d]=67108863&(r+=977*c),r=64*c+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},k(re,$),k(ee,$),k(ce,$),ce.prototype.imulK=function(i){for(var r=0,d=0;d<i.length;d++){var c=19*(0|i.words[d])+r,b=67108863&c;c>>>=26,i.words[d]=b,r=c}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 fe;else if("p224"===i)r=new re;else if("p192"===i)r=new ee;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},se.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},se.prototype._verify2=function(i,r){g(0==(i.negative|r.negative),"red works only with positives"),g(i.red&&i.red===r.red,"red works only with red numbers")},se.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},se.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},se.prototype.add=function(i,r){this._verify2(i,r);var d=i.add(r);return d.cmp(this.m)>=0&&d.isub(this.m),d._forceRed(this)},se.prototype.iadd=function(i,r){this._verify2(i,r);var d=i.iadd(r);return d.cmp(this.m)>=0&&d.isub(this.m),d},se.prototype.sub=function(i,r){this._verify2(i,r);var d=i.sub(r);return d.cmpn(0)<0&&d.iadd(this.m),d._forceRed(this)},se.prototype.isub=function(i,r){this._verify2(i,r);var d=i.isub(r);return d.cmpn(0)<0&&d.iadd(this.m),d},se.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},se.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},se.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},se.prototype.isqr=function(i){return this.imul(i,i.clone())},se.prototype.sqr=function(i){return this.mul(i,i)},se.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(g(r%2==1),3===r){var d=this.m.add(new o(1)).iushrn(2);return this.pow(i,d)}for(var c=this.m.subn(1),b=0;!c.isZero()&&0===c.andln(1);)b++,c.iushrn(1);g(!c.isZero());var T=new o(1).toRed(this),N=T.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,v).cmp(N);)n.redIAdd(N);for(var y=this.pow(n,c),B=this.pow(i,c.addn(1).iushrn(1)),z=this.pow(i,c),W=b;0!==z.cmp(T);){for(var Le=z,Ve=0;0!==Le.cmp(T);Ve++)Le=Le.redSqr();g(Ve<W);var Ke=this.pow(y,new o(1).iushln(W-Ve-1));B=B.redMul(Ke),y=Ke.redSqr(),z=z.redMul(y),W=Ve}return B},se.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},se.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var c=new Array(16);c[0]=new o(1).toRed(this),c[1]=i;for(var b=2;b<c.length;b++)c[b]=this.mul(c[b-1],i);var T=c[0],N=0,v=0,n=r.bitLength()%26;for(0===n&&(n=26),b=r.length-1;b>=0;b--){for(var y=r.words[b],B=n-1;B>=0;B--){var z=y>>B&1;T!==c[0]&&(T=this.sqr(T)),0!==z||0!==N?(N<<=1,N|=z,(4==++v||0===b&&0===B)&&(T=this.mul(T,c[N]),v=0,N=0)):v=0}n=26}return T},se.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},se.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new le(i)},k(le,se),le.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},le.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},le.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var d=i.imul(r),c=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=d.isub(c).iushrn(this.shift),T=b;return b.cmp(this.m)>=0?T=b.isub(this.m):b.cmpn(0)<0&&(T=b.iadd(this.m)),T._forceRed(this)},le.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var d=i.mul(r),c=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=d.isub(c).iushrn(this.shift),T=b;return b.cmp(this.m)>=0?T=b.isub(this.m):b.cmpn(0)<0&&(T=b.iadd(this.m)),T._forceRed(this)},le.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(ze=m.nmd(ze),this)},6386:(ze,K,m)=>{"use strict";var t=m(3894),e=m(8095),g=m(5634),k=m(5244),o=m(1052);function C(h){o.call(this,"digest"),this._hash=h}t(C,o),C.prototype._update=function(h){this._hash.update(h)},C.prototype._final=function(){return this._hash.digest()},ze.exports=function(P){return"md5"===(P=P.toLowerCase())?new e:"rmd160"===P||"ripemd160"===P?new g:new C(k(P))}},5640:(ze,K,m)=>{var t=m(8095);ze.exports=function(e){return(new t).update(e).digest()}},4529:(ze,K,m)=>{"use strict";var t=m(3894),e=m(7309),g=m(1052),k=m(3502).Buffer,o=m(5640),C=m(5634),h=m(5244),P=k.alloc(128);function u(I,S){g.call(this,"digest"),"string"==typeof S&&(S=k.from(S));var A="sha512"===I||"sha384"===I?128:64;this._alg=I,this._key=S,S.length>A?S=("rmd160"===I?new C:h(I)).update(S).digest():S.length<A&&(S=k.concat([S,P],A));for(var R=this._ipad=k.allocUnsafe(A),E=this._opad=k.allocUnsafe(A),U=0;U<A;U++)R[U]=54^S[U],E[U]=92^S[U];this._hash="rmd160"===I?new C:h(I),this._hash.update(R)}t(u,g),u.prototype._update=function(I){this._hash.update(I)},u.prototype._final=function(){var I=this._hash.digest();return("rmd160"===this._alg?new C:h(this._alg)).update(this._opad).update(I).digest()},ze.exports=function(S,A){return"rmd160"===(S=S.toLowerCase())||"ripemd160"===S?new u("rmd160",A):"md5"===S?new e(o,A):new u(S,A)}},7309:(ze,K,m)=>{"use strict";var t=m(3894),e=m(3502).Buffer,g=m(1052),k=e.alloc(128),o=64;function C(h,P){g.call(this,"digest"),"string"==typeof P&&(P=e.from(P)),this._alg=h,this._key=P,P.length>o?P=h(P):P.length<o&&(P=e.concat([P,k],o));for(var u=this._ipad=e.allocUnsafe(o),I=this._opad=e.allocUnsafe(o),S=0;S<o;S++)u[S]=54^P[S],I[S]=92^P[S];this._hash=[u]}t(C,g),C.prototype._update=function(h){this._hash.push(h)},C.prototype._final=function(){var h=this._alg(e.concat(this._hash));return this._alg(e.concat([this._opad,h]))},ze.exports=C},1348:(ze,K,m)=>{"use strict";K.randomBytes=K.rng=K.pseudoRandomBytes=K.prng=m(3753),K.createHash=K.Hash=m(6386),K.createHmac=K.Hmac=m(4529);var t=m(7793),e=Object.keys(t),g=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(e);K.getHashes=function(){return g};var k=m(9357);K.pbkdf2=k.pbkdf2,K.pbkdf2Sync=k.pbkdf2Sync;var o=m(5255);K.Cipher=o.Cipher,K.createCipher=o.createCipher,K.Cipheriv=o.Cipheriv,K.createCipheriv=o.createCipheriv,K.Decipher=o.Decipher,K.createDecipher=o.createDecipher,K.Decipheriv=o.Decipheriv,K.createDecipheriv=o.createDecipheriv,K.getCiphers=o.getCiphers,K.listCiphers=o.listCiphers;var C=m(8829);K.DiffieHellmanGroup=C.DiffieHellmanGroup,K.createDiffieHellmanGroup=C.createDiffieHellmanGroup,K.getDiffieHellman=C.getDiffieHellman,K.createDiffieHellman=C.createDiffieHellman,K.DiffieHellman=C.DiffieHellman;var h=m(3923);K.createSign=h.createSign,K.Sign=h.Sign,K.createVerify=h.createVerify,K.Verify=h.Verify,K.createECDH=m(4746);var P=m(3701);K.publicEncrypt=P.publicEncrypt,K.privateEncrypt=P.privateEncrypt,K.publicDecrypt=P.publicDecrypt,K.privateDecrypt=P.privateDecrypt;var u=m(4275);K.randomFill=u.randomFill,K.randomFillSync=u.randomFillSync,K.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},K.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:(ze,K,m)=>{"use strict";K.utils=m(7451),K.Cipher=m(8170),K.DES=m(4631),K.CBC=m(9454),K.EDE=m(1862)},9454:(ze,K,m)=>{"use strict";var t=m(2391),e=m(3894),g={};function k(C){t.equal(C.length,8,"Invalid IV length"),this.iv=new Array(8);for(var h=0;h<this.iv.length;h++)this.iv[h]=C[h]}K.instantiate=function o(C){function h(S){C.call(this,S),this._cbcInit()}e(h,C);for(var P=Object.keys(g),u=0;u<P.length;u++){var I=P[u];h.prototype[I]=g[I]}return h.create=function(A){return new h(A)},h},g._cbcInit=function(){var h=new k(this.options.iv);this._cbcState=h},g._update=function(h,P,u,I){var A=this.constructor.super_.prototype,w=this._cbcState.iv;if("encrypt"===this.type){for(var R=0;R<this.blockSize;R++)w[R]^=h[P+R];for(A._update.call(this,w,0,u,I),R=0;R<this.blockSize;R++)w[R]=u[I+R]}else{for(A._update.call(this,h,P,u,I),R=0;R<this.blockSize;R++)u[I+R]^=w[R];for(R=0;R<this.blockSize;R++)w[R]=h[P+R]}}},8170:(ze,K,m)=>{"use strict";var t=m(2391);function e(g){this.options=g,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}ze.exports=e,e.prototype._init=function(){},e.prototype.update=function(k){return 0===k.length?[]:"decrypt"===this.type?this._updateDecrypt(k):this._updateEncrypt(k)},e.prototype._buffer=function(k,o){for(var C=Math.min(this.buffer.length-this.bufferOff,k.length-o),h=0;h<C;h++)this.buffer[this.bufferOff+h]=k[o+h];return this.bufferOff+=C,C},e.prototype._flushBuffer=function(k,o){return this._update(this.buffer,0,k,o),this.bufferOff=0,this.blockSize},e.prototype._updateEncrypt=function(k){var o=0,C=0,P=new Array(((this.bufferOff+k.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(o+=this._buffer(k,o),this.bufferOff===this.buffer.length&&(C+=this._flushBuffer(P,C)));for(var u=k.length-(k.length-o)%this.blockSize;o<u;o+=this.blockSize)this._update(k,o,P,C),C+=this.blockSize;for(;o<k.length;o++,this.bufferOff++)this.buffer[this.bufferOff]=k[o];return P},e.prototype._updateDecrypt=function(k){for(var o=0,C=0,h=Math.ceil((this.bufferOff+k.length)/this.blockSize)-1,P=new Array(h*this.blockSize);h>0;h--)o+=this._buffer(k,o),C+=this._flushBuffer(P,C);return o+=this._buffer(k,o),P},e.prototype.final=function(k){var o,C;return k&&(o=this.update(k)),C="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),o?o.concat(C):C},e.prototype._pad=function(k,o){if(0===o)return!1;for(;o<k.length;)k[o++]=0;return!0},e.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var k=new Array(this.blockSize);return this._update(this.buffer,0,k,0),k},e.prototype._unpad=function(k){return k},e.prototype._finalDecrypt=function(){t.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var k=new Array(this.blockSize);return this._flushBuffer(k,0),this._unpad(k)}},4631:(ze,K,m)=>{"use strict";var t=m(2391),e=m(3894),g=m(7451),k=m(8170);function o(){this.tmp=new Array(2),this.keys=null}function C(P){k.call(this,P);var u=new o;this._desState=u,this.deriveKeys(u,P.key)}e(C,k),ze.exports=C,C.create=function(u){return new C(u)};var h=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];C.prototype.deriveKeys=function(u,I){u.keys=new Array(32),t.equal(I.length,this.blockSize,"Invalid key length");var S=g.readUInt32BE(I,0),A=g.readUInt32BE(I,4);g.pc1(S,A,u.tmp,0),S=u.tmp[0],A=u.tmp[1];for(var w=0;w<u.keys.length;w+=2){var R=h[w>>>1];S=g.r28shl(S,R),A=g.r28shl(A,R),g.pc2(S,A,u.keys,w)}},C.prototype._update=function(u,I,S,A){var w=this._desState,R=g.readUInt32BE(u,I),E=g.readUInt32BE(u,I+4);g.ip(R,E,w.tmp,0),R=w.tmp[0],E=w.tmp[1],"encrypt"===this.type?this._encrypt(w,R,E,w.tmp,0):this._decrypt(w,R,E,w.tmp,0),E=w.tmp[1],g.writeUInt32BE(S,R=w.tmp[0],A),g.writeUInt32BE(S,E,A+4)},C.prototype._pad=function(u,I){for(var S=u.length-I,A=I;A<u.length;A++)u[A]=S;return!0},C.prototype._unpad=function(u){for(var I=u[u.length-1],S=u.length-I;S<u.length;S++)t.equal(u[S],I);return u.slice(0,u.length-I)},C.prototype._encrypt=function(u,I,S,A,w){for(var R=I,E=S,U=0;U<u.keys.length;U+=2){var Y=u.keys[U],Q=u.keys[U+1];g.expand(E,u.tmp,0);var X=g.substitute(Y^=u.tmp[0],Q^=u.tmp[1]),fe=E;E=(R^g.permute(X))>>>0,R=fe}g.rip(E,R,A,w)},C.prototype._decrypt=function(u,I,S,A,w){for(var R=S,E=I,U=u.keys.length-2;U>=0;U-=2){var Y=u.keys[U],Q=u.keys[U+1];g.expand(R,u.tmp,0);var X=g.substitute(Y^=u.tmp[0],Q^=u.tmp[1]),fe=R;R=(E^g.permute(X))>>>0,E=fe}g.rip(R,E,A,w)}},1862:(ze,K,m)=>{"use strict";var t=m(2391),e=m(3894),g=m(8170),k=m(4631);function o(h,P){t.equal(P.length,24,"Invalid key length");var u=P.slice(0,8),I=P.slice(8,16),S=P.slice(16,24);this.ciphers="encrypt"===h?[k.create({type:"encrypt",key:u}),k.create({type:"decrypt",key:I}),k.create({type:"encrypt",key:S})]:[k.create({type:"decrypt",key:S}),k.create({type:"encrypt",key:I}),k.create({type:"decrypt",key:u})]}function C(h){g.call(this,h);var P=new o(this.type,this.options.key);this._edeState=P}e(C,g),ze.exports=C,C.create=function(P){return new C(P)},C.prototype._update=function(P,u,I,S){var A=this._edeState;A.ciphers[0]._update(P,u,I,S),A.ciphers[1]._update(I,S,I,S),A.ciphers[2]._update(I,S,I,S)},C.prototype._pad=k.prototype._pad,C.prototype._unpad=k.prototype._unpad},7451:(ze,K)=>{"use strict";K.readUInt32BE=function(k,o){return(k[0+o]<<24|k[1+o]<<16|k[2+o]<<8|k[3+o])>>>0},K.writeUInt32BE=function(k,o,C){k[0+C]=o>>>24,k[1+C]=o>>>16&255,k[2+C]=o>>>8&255,k[3+C]=255&o},K.ip=function(k,o,C,h){for(var P=0,u=0,I=6;I>=0;I-=2){for(var S=0;S<=24;S+=8)P<<=1,P|=o>>>S+I&1;for(S=0;S<=24;S+=8)P<<=1,P|=k>>>S+I&1}for(I=6;I>=0;I-=2){for(S=1;S<=25;S+=8)u<<=1,u|=o>>>S+I&1;for(S=1;S<=25;S+=8)u<<=1,u|=k>>>S+I&1}C[h+0]=P>>>0,C[h+1]=u>>>0},K.rip=function(k,o,C,h){for(var P=0,u=0,I=0;I<4;I++)for(var S=24;S>=0;S-=8)P<<=1,P|=o>>>S+I&1,P<<=1,P|=k>>>S+I&1;for(I=4;I<8;I++)for(S=24;S>=0;S-=8)u<<=1,u|=o>>>S+I&1,u<<=1,u|=k>>>S+I&1;C[h+0]=P>>>0,C[h+1]=u>>>0},K.pc1=function(k,o,C,h){for(var P=0,u=0,I=7;I>=5;I--){for(var S=0;S<=24;S+=8)P<<=1,P|=o>>S+I&1;for(S=0;S<=24;S+=8)P<<=1,P|=k>>S+I&1}for(S=0;S<=24;S+=8)P<<=1,P|=o>>S+I&1;for(I=1;I<=3;I++){for(S=0;S<=24;S+=8)u<<=1,u|=o>>S+I&1;for(S=0;S<=24;S+=8)u<<=1,u|=k>>S+I&1}for(S=0;S<=24;S+=8)u<<=1,u|=k>>S+I&1;C[h+0]=P>>>0,C[h+1]=u>>>0},K.r28shl=function(k,o){return k<<o&268435455|k>>>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];K.pc2=function(k,o,C,h){for(var P=0,u=0,I=m.length>>>1,S=0;S<I;S++)P<<=1,P|=k>>>m[S]&1;for(S=I;S<m.length;S++)u<<=1,u|=o>>>m[S]&1;C[h+0]=P>>>0,C[h+1]=u>>>0},K.expand=function(k,o,C){var h=0,P=0;h=(1&k)<<5|k>>>27;for(var u=23;u>=15;u-=4)h<<=6,h|=k>>>u&63;for(u=11;u>=3;u-=4)P|=k>>>u&63,P<<=6;P|=(31&k)<<1|k>>>31,o[C+0]=h>>>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];K.substitute=function(k,o){for(var C=0,h=0;h<4;h++)C<<=4,C|=t[64*h+(k>>>18-6*h&63)];for(h=0;h<4;h++)C<<=4,C|=t[256+64*h+(o>>>18-6*h&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];K.permute=function(k){for(var o=0,C=0;C<e.length;C++)o<<=1,o|=k>>>e[C]&1;return o>>>0},K.padSplit=function(k,o,C){for(var h=k.toString(2);h.length<o;)h="0"+h;for(var P=[],u=0;u<o;u+=C)P.push(h.slice(u,u+C));return P.join(" ")}},8829:(ze,K,m)=>{var t=m(5563),e=m(9799),g=m(1419),o={binary:!0,hex:!0,base64:!0};K.DiffieHellmanGroup=K.createDiffieHellmanGroup=K.getDiffieHellman=function k(h){var P=new Buffer(e[h].prime,"hex"),u=new Buffer(e[h].gen,"hex");return new g(P,u)},K.createDiffieHellman=K.DiffieHellman=function C(h,P,u,I){return Buffer.isBuffer(P)||void 0===o[P]?C(h,"binary",P,u):(P=P||"binary",I=I||"binary",u=u||new Buffer([2]),Buffer.isBuffer(u)||(u=new Buffer(u,I)),"number"==typeof h?new g(t(h,u),u,!0):(Buffer.isBuffer(h)||(h=new Buffer(h,P)),new g(h,u,!0)))}},1419:(ze,K,m)=>{var t=m(8313),g=new(m(7079)),k=new t(24),o=new t(11),C=new t(10),h=new t(3),P=new t(7),u=m(5563),I=m(3753);function S(Y,Q){return Q=Q||"utf8",Buffer.isBuffer(Y)||(Y=new Buffer(Y,Q)),this._pub=new t(Y),this}function A(Y,Q){return Q=Q||"utf8",Buffer.isBuffer(Y)||(Y=new Buffer(Y,Q)),this._priv=new t(Y),this}ze.exports=E;var w={};function E(Y,Q,X){this.setGenerator(Q),this.__prime=new t(Y),this._prime=t.mont(this.__prime),this._primeLen=Y.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,X?(this.setPublicKey=S,this.setPrivateKey=A):this._primeCode=8}function U(Y,Q){var X=new Buffer(Y.toArray());return Q?X.toString(Q):X}Object.defineProperty(E.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function R(Y,Q){var X=Q.toString("hex"),$=[X,Y.toString(16)].join("_");if($ in w)return w[$];var re,fe=0;if(Y.isEven()||!u.simpleSieve||!u.fermatTest(Y)||!g.test(Y))return fe+=1,w[$]=fe+="02"===X||"05"===X?8:4,fe;switch(g.test(Y.shrn(1))||(fe+=2),X){case"02":Y.mod(k).cmp(o)&&(fe+=8);break;case"05":(re=Y.mod(C)).cmp(h)&&re.cmp(P)&&(fe+=8);break;default:fe+=4}return w[$]=fe,fe}(this.__prime,this.__gen)),this._primeCode}}),E.prototype.generateKeys=function(){return this._priv||(this._priv=new t(I(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},E.prototype.computeSecret=function(Y){var Q=(Y=(Y=new t(Y)).toRed(this._prime)).redPow(this._priv).fromRed(),X=new Buffer(Q.toArray()),$=this.getPrime();if(X.length<$.length){var fe=new Buffer($.length-X.length);fe.fill(0),X=Buffer.concat([fe,X])}return X},E.prototype.getPublicKey=function(Q){return U(this._pub,Q)},E.prototype.getPrivateKey=function(Q){return U(this._priv,Q)},E.prototype.getPrime=function(Y){return U(this.__prime,Y)},E.prototype.getGenerator=function(Y){return U(this._gen,Y)},E.prototype.setGenerator=function(Y,Q){return Q=Q||"utf8",Buffer.isBuffer(Y)||(Y=new Buffer(Y,Q)),this.__gen=Y,this._gen=new t(Y),this}},5563:(ze,K,m)=>{var t=m(3753);ze.exports=fe,fe.simpleSieve=X,fe.fermatTest=$;var e=m(8313),g=new e(24),o=new(m(7079)),C=new e(1),h=new e(2),P=new e(5),S=(new e(16),new e(8),new e(10)),A=new e(3),R=(new e(7),new e(11)),E=new e(4),Y=(new e(12),null);function X(re){for(var ee=function Q(){if(null!==Y)return Y;var ee=[];ee[0]=2;for(var ce=1,se=3;se<1048576;se+=2){for(var le=Math.ceil(Math.sqrt(se)),L=0;L<ce&&ee[L]<=le&&se%ee[L]!=0;L++);ce!==L&&ee[L]<=le||(ee[ce++]=se)}return Y=ee,ee}(),ce=0;ce<ee.length;ce++)if(0===re.modn(ee[ce]))return 0===re.cmpn(ee[ce]);return!0}function $(re){var ee=e.mont(re);return 0===h.toRed(ee).redPow(re.subn(1)).fromRed().cmpn(1)}function fe(re,ee){if(re<16)return new e(2===ee||5===ee?[140,123]:[140,39]);ee=new e(ee);for(var ce,se;;){for(ce=new e(t(Math.ceil(re/8)));ce.bitLength()>re;)ce.ishrn(1);if(ce.isEven()&&ce.iadd(C),ce.testn(1)||ce.iadd(h),ee.cmp(h)){if(!ee.cmp(P))for(;ce.mod(S).cmp(A);)ce.iadd(E)}else for(;ce.mod(g).cmp(R);)ce.iadd(E);if(X(se=ce.shrn(1))&&X(ce)&&$(se)&&$(ce)&&o.test(se)&&o.test(ce))return ce}}},8313:function(ze,K,m){!function(t,e){"use strict";function g(L,i){if(!L)throw new Error(i||"Assertion failed")}function k(L,i){L.super_=i;var r=function(){};r.prototype=i.prototype,L.prototype=new r,L.prototype.constructor=L}function o(L,i,r){if(o.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,null!==L&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(L||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 h(L,i){var r=L.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function P(L,i,r){var d=h(L,r);return r-1>=i&&(d|=h(L,r-1)<<4),d}function u(L,i,r,d){for(var c=0,b=Math.min(L.length,r),T=i;T<b;T++){var N=L.charCodeAt(T)-48;c*=d,c+=N>=49?N-49+10:N>=17?N-17+10:N}return c}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,d){if("number"==typeof i)return this._initNumber(i,r,d);if("object"==typeof i)return this._initArray(i,r,d);"hex"===r&&(r=16),g(r===(0|r)&&r>=2&&r<=36);var c=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(c++,this.negative=1),c<i.length&&(16===r?this._parseHex(i,c,d):(this._parseBase(i,r,c),"le"===d&&this._initArray(this.toArray(),r,d)))},o.prototype._initNumber=function(i,r,d){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):(g(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===d&&this._initArray(this.toArray(),r,d)},o.prototype._initArray=function(i,r,d){if(g("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 c=0;c<this.length;c++)this.words[c]=0;var b,T,N=0;if("be"===d)for(c=i.length-1,b=0;c>=0;c-=3)this.words[b]|=(T=i[c]|i[c-1]<<8|i[c-2]<<16)<<N&67108863,this.words[b+1]=T>>>26-N&67108863,(N+=24)>=26&&(N-=26,b++);else if("le"===d)for(c=0,b=0;c<i.length;c+=3)this.words[b]|=(T=i[c]|i[c+1]<<8|i[c+2]<<16)<<N&67108863,this.words[b+1]=T>>>26-N&67108863,(N+=24)>=26&&(N-=26,b++);return this.strip()},o.prototype._parseHex=function(i,r,d){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var N,b=0,T=0;if("be"===d)for(c=i.length-1;c>=r;c-=2)N=P(i,r,c)<<b,this.words[T]|=67108863&N,b>=18?(b-=18,this.words[T+=1]|=N>>>26):b+=8;else for(c=(i.length-r)%2==0?r+1:r;c<i.length;c+=2)N=P(i,r,c)<<b,this.words[T]|=67108863&N,b>=18?(b-=18,this.words[T+=1]|=N>>>26):b+=8;this.strip()},o.prototype._parseBase=function(i,r,d){this.words=[0],this.length=1;for(var c=0,b=1;b<=67108863;b*=r)c++;c--,b=b/r|0;for(var T=i.length-d,N=T%c,v=Math.min(T,T-N)+d,n=0,y=d;y<v;y+=c)n=u(i,y,y+c,r),this.imuln(b),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==N){var B=1;for(n=u(i,y,i.length,r),y=0;y<N;y++)B*=r;this.imuln(B),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 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"],S=[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],A=[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 R(L,i,r){r.negative=i.negative^L.negative;var d=L.length+i.length|0;r.length=d,d=d-1|0;var c=0|L.words[0],b=0|i.words[0],T=c*b,v=T/67108864|0;r.words[0]=67108863&T;for(var n=1;n<d;n++){for(var y=v>>>26,B=67108863&v,z=Math.min(n,i.length-1),W=Math.max(0,n-L.length+1);W<=z;W++)y+=(T=(c=0|L.words[n-W|0])*(b=0|i.words[W])+B)/67108864|0,B=67108863&T;r.words[n]=0|B,v=0|y}return 0!==v?r.words[n]=0|v:r.length--,r.strip()}o.prototype.toString=function(i,r){var d;if(r=0|r||1,16===(i=i||10)||"hex"===i){d="";for(var c=0,b=0,T=0;T<this.length;T++){var N=this.words[T],v=(16777215&(N<<c|b)).toString(16);d=0!=(b=N>>>24-c&16777215)||T!==this.length-1?I[6-v.length]+v+d:v+d,(c+=2)>=26&&(c-=26,T--)}for(0!==b&&(d=b.toString(16)+d);d.length%r!=0;)d="0"+d;return 0!==this.negative&&(d="-"+d),d}if(i===(0|i)&&i>=2&&i<=36){var n=S[i],y=A[i];d="";var B=this.clone();for(B.negative=0;!B.isZero();){var z=B.modn(y).toString(i);d=(B=B.idivn(y)).isZero()?z+d:I[n-z.length]+z+d}for(this.isZero()&&(d="0"+d);d.length%r!=0;)d="0"+d;return 0!==this.negative&&(d="-"+d),d}g(!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&&g(!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 g(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,d){var c=this.byteLength(),b=d||Math.max(1,c);g(c<=b,"byte array longer than desired length"),g(b>0,"Requested array length <= 0"),this.strip();var v,n,T="le"===r,N=new i(b),y=this.clone();if(T){for(n=0;!y.isZero();n++)v=y.andln(255),y.iushrn(8),N[n]=v;for(;n<b;n++)N[n]=0}else{for(n=0;n<b-c;n++)N[n]=0;for(n=0;!y.isZero();n++)v=y.andln(255),y.iushrn(8),N[b-n-1]=v}return N},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,d=0;return r>=4096&&(d+=13,r>>>=13),r>=64&&(d+=7,r>>>=7),r>=8&&(d+=4,r>>>=4),r>=2&&(d+=2,r>>>=2),d+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,d=0;return 0==(8191&r)&&(d+=13,r>>>=13),0==(127&r)&&(d+=7,r>>>=7),0==(15&r)&&(d+=4,r>>>=4),0==(3&r)&&(d+=2,r>>>=2),0==(1&r)&&d++,d},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 d=this._zeroBits(this.words[r]);if(i+=d,26!==d)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 g(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 d=0;d<r.length;d++)this.words[d]=this.words[d]&i.words[d];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return g(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,d;this.length>i.length?(r=this,d=i):(r=i,d=this);for(var c=0;c<d.length;c++)this.words[c]=r.words[c]^d.words[c];if(this!==r)for(;c<r.length;c++)this.words[c]=r.words[c];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return g(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){g("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),d=i%26;this._expand(r),d>0&&r--;for(var c=0;c<r;c++)this.words[c]=67108863&~this.words[c];return d>0&&(this.words[c]=~this.words[c]&67108863>>26-d),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){g("number"==typeof i&&i>=0);var d=i/26|0,c=i%26;return this._expand(d+1),this.words[d]=r?this.words[d]|1<<c:this.words[d]&~(1<<c),this.strip()},o.prototype.iadd=function(i){var r,d,c;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?(d=this,c=i):(d=i,c=this);for(var b=0,T=0;T<c.length;T++)this.words[T]=67108863&(r=(0|d.words[T])+(0|c.words[T])+b),b=r>>>26;for(;0!==b&&T<d.length;T++)this.words[T]=67108863&(r=(0|d.words[T])+b),b=r>>>26;if(this.length=d.length,0!==b)this.words[this.length]=b,this.length++;else if(d!==this)for(;T<d.length;T++)this.words[T]=d.words[T];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 c,b,d=this.cmp(i);if(0===d)return this.negative=0,this.length=1,this.words[0]=0,this;d>0?(c=this,b=i):(c=i,b=this);for(var T=0,N=0;N<b.length;N++)T=(r=(0|c.words[N])-(0|b.words[N])+T)>>26,this.words[N]=67108863&r;for(;0!==T&&N<c.length;N++)T=(r=(0|c.words[N])+T)>>26,this.words[N]=67108863&r;if(0===T&&N<c.length&&c!==this)for(;N<c.length;N++)this.words[N]=c.words[N];return this.length=Math.max(this.length,N),c!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var E=function(i,r,d){var v,n,y,c=i.words,b=r.words,T=d.words,N=0,B=0|c[0],z=8191&B,W=B>>>13,Le=0|c[1],Ve=8191&Le,Ke=Le>>>13,$e=0|c[2],Ae=8191&$e,ue=$e>>>13,ye=0|c[3],we=8191&ye,he=ye>>>13,it=0|c[4],De=8191&it,oe=it>>>13,me=0|c[5],te=8191&me,Ze=me>>>13,Ue=0|c[6],q=8191&Ue,de=Ue>>>13,Ee=0|c[7],ke=8191&Ee,ie=Ee>>>13,nt=0|c[8],Ct=8191&nt,rt=nt>>>13,Xt=0|c[9],gt=8191&Xt,mt=Xt>>>13,St=0|b[0],Ie=8191&St,He=St>>>13,xt=0|b[1],Pe=8191&xt,et=xt>>>13,Vt=0|b[2],Lt=8191&Vt,Ft=Vt>>>13,bt=0|b[3],Ce=8191&bt,J=bt>>>13,ve=0|b[4],Ne=8191&ve,st=ve>>>13,ni=0|b[5],Ut=8191&ni,ti=ni>>>13,dt=0|b[6],at=8191&dt,_t=dt>>>13,ai=0|b[7],Bt=8191&ai,zt=ai>>>13,Nt=0|b[8],je=8191&Nt,Fe=Nt>>>13,Ye=0|b[9],qe=8191&Ye,Tt=Ye>>>13;d.negative=i.negative^r.negative,d.length=19;var mi=(N+(v=Math.imul(z,Ie))|0)+((8191&(n=(n=Math.imul(z,He))+Math.imul(W,Ie)|0))<<13)|0;N=((y=Math.imul(W,He))+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,v=Math.imul(Ve,Ie),n=(n=Math.imul(Ve,He))+Math.imul(Ke,Ie)|0,y=Math.imul(Ke,He);var Ti=(N+(v=v+Math.imul(z,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(z,et)|0)+Math.imul(W,Pe)|0))<<13)|0;N=((y=y+Math.imul(W,et)|0)+(n>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,v=Math.imul(Ae,Ie),n=(n=Math.imul(Ae,He))+Math.imul(ue,Ie)|0,y=Math.imul(ue,He),v=v+Math.imul(Ve,Pe)|0,n=(n=n+Math.imul(Ve,et)|0)+Math.imul(Ke,Pe)|0,y=y+Math.imul(Ke,et)|0;var xi=(N+(v=v+Math.imul(z,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ft)|0)+Math.imul(W,Lt)|0))<<13)|0;N=((y=y+Math.imul(W,Ft)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(we,Ie),n=(n=Math.imul(we,He))+Math.imul(he,Ie)|0,y=Math.imul(he,He),v=v+Math.imul(Ae,Pe)|0,n=(n=n+Math.imul(Ae,et)|0)+Math.imul(ue,Pe)|0,y=y+Math.imul(ue,et)|0,v=v+Math.imul(Ve,Lt)|0,n=(n=n+Math.imul(Ve,Ft)|0)+Math.imul(Ke,Lt)|0,y=y+Math.imul(Ke,Ft)|0;var Fi=(N+(v=v+Math.imul(z,Ce)|0)|0)+((8191&(n=(n=n+Math.imul(z,J)|0)+Math.imul(W,Ce)|0))<<13)|0;N=((y=y+Math.imul(W,J)|0)+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,v=Math.imul(De,Ie),n=(n=Math.imul(De,He))+Math.imul(oe,Ie)|0,y=Math.imul(oe,He),v=v+Math.imul(we,Pe)|0,n=(n=n+Math.imul(we,et)|0)+Math.imul(he,Pe)|0,y=y+Math.imul(he,et)|0,v=v+Math.imul(Ae,Lt)|0,n=(n=n+Math.imul(Ae,Ft)|0)+Math.imul(ue,Lt)|0,y=y+Math.imul(ue,Ft)|0,v=v+Math.imul(Ve,Ce)|0,n=(n=n+Math.imul(Ve,J)|0)+Math.imul(Ke,Ce)|0,y=y+Math.imul(Ke,J)|0;var Je=(N+(v=v+Math.imul(z,Ne)|0)|0)+((8191&(n=(n=n+Math.imul(z,st)|0)+Math.imul(W,Ne)|0))<<13)|0;N=((y=y+Math.imul(W,st)|0)+(n>>>13)|0)+(Je>>>26)|0,Je&=67108863,v=Math.imul(te,Ie),n=(n=Math.imul(te,He))+Math.imul(Ze,Ie)|0,y=Math.imul(Ze,He),v=v+Math.imul(De,Pe)|0,n=(n=n+Math.imul(De,et)|0)+Math.imul(oe,Pe)|0,y=y+Math.imul(oe,et)|0,v=v+Math.imul(we,Lt)|0,n=(n=n+Math.imul(we,Ft)|0)+Math.imul(he,Lt)|0,y=y+Math.imul(he,Ft)|0,v=v+Math.imul(Ae,Ce)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(ue,Ce)|0,y=y+Math.imul(ue,J)|0,v=v+Math.imul(Ve,Ne)|0,n=(n=n+Math.imul(Ve,st)|0)+Math.imul(Ke,Ne)|0,y=y+Math.imul(Ke,st)|0;var wt=(N+(v=v+Math.imul(z,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(z,ti)|0)+Math.imul(W,Ut)|0))<<13)|0;N=((y=y+Math.imul(W,ti)|0)+(n>>>13)|0)+(wt>>>26)|0,wt&=67108863,v=Math.imul(q,Ie),n=(n=Math.imul(q,He))+Math.imul(de,Ie)|0,y=Math.imul(de,He),v=v+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,et)|0)+Math.imul(Ze,Pe)|0,y=y+Math.imul(Ze,et)|0,v=v+Math.imul(De,Lt)|0,n=(n=n+Math.imul(De,Ft)|0)+Math.imul(oe,Lt)|0,y=y+Math.imul(oe,Ft)|0,v=v+Math.imul(we,Ce)|0,n=(n=n+Math.imul(we,J)|0)+Math.imul(he,Ce)|0,y=y+Math.imul(he,J)|0,v=v+Math.imul(Ae,Ne)|0,n=(n=n+Math.imul(Ae,st)|0)+Math.imul(ue,Ne)|0,y=y+Math.imul(ue,st)|0,v=v+Math.imul(Ve,Ut)|0,n=(n=n+Math.imul(Ve,ti)|0)+Math.imul(Ke,Ut)|0,y=y+Math.imul(Ke,ti)|0;var be=(N+(v=v+Math.imul(z,at)|0)|0)+((8191&(n=(n=n+Math.imul(z,_t)|0)+Math.imul(W,at)|0))<<13)|0;N=((y=y+Math.imul(W,_t)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,v=Math.imul(ke,Ie),n=(n=Math.imul(ke,He))+Math.imul(ie,Ie)|0,y=Math.imul(ie,He),v=v+Math.imul(q,Pe)|0,n=(n=n+Math.imul(q,et)|0)+Math.imul(de,Pe)|0,y=y+Math.imul(de,et)|0,v=v+Math.imul(te,Lt)|0,n=(n=n+Math.imul(te,Ft)|0)+Math.imul(Ze,Lt)|0,y=y+Math.imul(Ze,Ft)|0,v=v+Math.imul(De,Ce)|0,n=(n=n+Math.imul(De,J)|0)+Math.imul(oe,Ce)|0,y=y+Math.imul(oe,J)|0,v=v+Math.imul(we,Ne)|0,n=(n=n+Math.imul(we,st)|0)+Math.imul(he,Ne)|0,y=y+Math.imul(he,st)|0,v=v+Math.imul(Ae,Ut)|0,n=(n=n+Math.imul(Ae,ti)|0)+Math.imul(ue,Ut)|0,y=y+Math.imul(ue,ti)|0,v=v+Math.imul(Ve,at)|0,n=(n=n+Math.imul(Ve,_t)|0)+Math.imul(Ke,at)|0,y=y+Math.imul(Ke,_t)|0;var Pt=(N+(v=v+Math.imul(z,Bt)|0)|0)+((8191&(n=(n=n+Math.imul(z,zt)|0)+Math.imul(W,Bt)|0))<<13)|0;N=((y=y+Math.imul(W,zt)|0)+(n>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,v=Math.imul(Ct,Ie),n=(n=Math.imul(Ct,He))+Math.imul(rt,Ie)|0,y=Math.imul(rt,He),v=v+Math.imul(ke,Pe)|0,n=(n=n+Math.imul(ke,et)|0)+Math.imul(ie,Pe)|0,y=y+Math.imul(ie,et)|0,v=v+Math.imul(q,Lt)|0,n=(n=n+Math.imul(q,Ft)|0)+Math.imul(de,Lt)|0,y=y+Math.imul(de,Ft)|0,v=v+Math.imul(te,Ce)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ze,Ce)|0,y=y+Math.imul(Ze,J)|0,v=v+Math.imul(De,Ne)|0,n=(n=n+Math.imul(De,st)|0)+Math.imul(oe,Ne)|0,y=y+Math.imul(oe,st)|0,v=v+Math.imul(we,Ut)|0,n=(n=n+Math.imul(we,ti)|0)+Math.imul(he,Ut)|0,y=y+Math.imul(he,ti)|0,v=v+Math.imul(Ae,at)|0,n=(n=n+Math.imul(Ae,_t)|0)+Math.imul(ue,at)|0,y=y+Math.imul(ue,_t)|0,v=v+Math.imul(Ve,Bt)|0,n=(n=n+Math.imul(Ve,zt)|0)+Math.imul(Ke,Bt)|0,y=y+Math.imul(Ke,zt)|0;var qt=(N+(v=v+Math.imul(z,je)|0)|0)+((8191&(n=(n=n+Math.imul(z,Fe)|0)+Math.imul(W,je)|0))<<13)|0;N=((y=y+Math.imul(W,Fe)|0)+(n>>>13)|0)+(qt>>>26)|0,qt&=67108863,v=Math.imul(gt,Ie),n=(n=Math.imul(gt,He))+Math.imul(mt,Ie)|0,y=Math.imul(mt,He),v=v+Math.imul(Ct,Pe)|0,n=(n=n+Math.imul(Ct,et)|0)+Math.imul(rt,Pe)|0,y=y+Math.imul(rt,et)|0,v=v+Math.imul(ke,Lt)|0,n=(n=n+Math.imul(ke,Ft)|0)+Math.imul(ie,Lt)|0,y=y+Math.imul(ie,Ft)|0,v=v+Math.imul(q,Ce)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,Ce)|0,y=y+Math.imul(de,J)|0,v=v+Math.imul(te,Ne)|0,n=(n=n+Math.imul(te,st)|0)+Math.imul(Ze,Ne)|0,y=y+Math.imul(Ze,st)|0,v=v+Math.imul(De,Ut)|0,n=(n=n+Math.imul(De,ti)|0)+Math.imul(oe,Ut)|0,y=y+Math.imul(oe,ti)|0,v=v+Math.imul(we,at)|0,n=(n=n+Math.imul(we,_t)|0)+Math.imul(he,at)|0,y=y+Math.imul(he,_t)|0,v=v+Math.imul(Ae,Bt)|0,n=(n=n+Math.imul(Ae,zt)|0)+Math.imul(ue,Bt)|0,y=y+Math.imul(ue,zt)|0,v=v+Math.imul(Ve,je)|0,n=(n=n+Math.imul(Ve,Fe)|0)+Math.imul(Ke,je)|0,y=y+Math.imul(Ke,Fe)|0;var gi=(N+(v=v+Math.imul(z,qe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Tt)|0)+Math.imul(W,qe)|0))<<13)|0;N=((y=y+Math.imul(W,Tt)|0)+(n>>>13)|0)+(gi>>>26)|0,gi&=67108863,v=Math.imul(gt,Pe),n=(n=Math.imul(gt,et))+Math.imul(mt,Pe)|0,y=Math.imul(mt,et),v=v+Math.imul(Ct,Lt)|0,n=(n=n+Math.imul(Ct,Ft)|0)+Math.imul(rt,Lt)|0,y=y+Math.imul(rt,Ft)|0,v=v+Math.imul(ke,Ce)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ie,Ce)|0,y=y+Math.imul(ie,J)|0,v=v+Math.imul(q,Ne)|0,n=(n=n+Math.imul(q,st)|0)+Math.imul(de,Ne)|0,y=y+Math.imul(de,st)|0,v=v+Math.imul(te,Ut)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ze,Ut)|0,y=y+Math.imul(Ze,ti)|0,v=v+Math.imul(De,at)|0,n=(n=n+Math.imul(De,_t)|0)+Math.imul(oe,at)|0,y=y+Math.imul(oe,_t)|0,v=v+Math.imul(we,Bt)|0,n=(n=n+Math.imul(we,zt)|0)+Math.imul(he,Bt)|0,y=y+Math.imul(he,zt)|0,v=v+Math.imul(Ae,je)|0,n=(n=n+Math.imul(Ae,Fe)|0)+Math.imul(ue,je)|0,y=y+Math.imul(ue,Fe)|0;var Si=(N+(v=v+Math.imul(Ve,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ve,Tt)|0)+Math.imul(Ke,qe)|0))<<13)|0;N=((y=y+Math.imul(Ke,Tt)|0)+(n>>>13)|0)+(Si>>>26)|0,Si&=67108863,v=Math.imul(gt,Lt),n=(n=Math.imul(gt,Ft))+Math.imul(mt,Lt)|0,y=Math.imul(mt,Ft),v=v+Math.imul(Ct,Ce)|0,n=(n=n+Math.imul(Ct,J)|0)+Math.imul(rt,Ce)|0,y=y+Math.imul(rt,J)|0,v=v+Math.imul(ke,Ne)|0,n=(n=n+Math.imul(ke,st)|0)+Math.imul(ie,Ne)|0,y=y+Math.imul(ie,st)|0,v=v+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,ti)|0)+Math.imul(de,Ut)|0,y=y+Math.imul(de,ti)|0,v=v+Math.imul(te,at)|0,n=(n=n+Math.imul(te,_t)|0)+Math.imul(Ze,at)|0,y=y+Math.imul(Ze,_t)|0,v=v+Math.imul(De,Bt)|0,n=(n=n+Math.imul(De,zt)|0)+Math.imul(oe,Bt)|0,y=y+Math.imul(oe,zt)|0,v=v+Math.imul(we,je)|0,n=(n=n+Math.imul(we,Fe)|0)+Math.imul(he,je)|0,y=y+Math.imul(he,Fe)|0;var ki=(N+(v=v+Math.imul(Ae,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Tt)|0)+Math.imul(ue,qe)|0))<<13)|0;N=((y=y+Math.imul(ue,Tt)|0)+(n>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(gt,Ce),n=(n=Math.imul(gt,J))+Math.imul(mt,Ce)|0,y=Math.imul(mt,J),v=v+Math.imul(Ct,Ne)|0,n=(n=n+Math.imul(Ct,st)|0)+Math.imul(rt,Ne)|0,y=y+Math.imul(rt,st)|0,v=v+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,ti)|0)+Math.imul(ie,Ut)|0,y=y+Math.imul(ie,ti)|0,v=v+Math.imul(q,at)|0,n=(n=n+Math.imul(q,_t)|0)+Math.imul(de,at)|0,y=y+Math.imul(de,_t)|0,v=v+Math.imul(te,Bt)|0,n=(n=n+Math.imul(te,zt)|0)+Math.imul(Ze,Bt)|0,y=y+Math.imul(Ze,zt)|0,v=v+Math.imul(De,je)|0,n=(n=n+Math.imul(De,Fe)|0)+Math.imul(oe,je)|0,y=y+Math.imul(oe,Fe)|0;var Gi=(N+(v=v+Math.imul(we,qe)|0)|0)+((8191&(n=(n=n+Math.imul(we,Tt)|0)+Math.imul(he,qe)|0))<<13)|0;N=((y=y+Math.imul(he,Tt)|0)+(n>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,v=Math.imul(gt,Ne),n=(n=Math.imul(gt,st))+Math.imul(mt,Ne)|0,y=Math.imul(mt,st),v=v+Math.imul(Ct,Ut)|0,n=(n=n+Math.imul(Ct,ti)|0)+Math.imul(rt,Ut)|0,y=y+Math.imul(rt,ti)|0,v=v+Math.imul(ke,at)|0,n=(n=n+Math.imul(ke,_t)|0)+Math.imul(ie,at)|0,y=y+Math.imul(ie,_t)|0,v=v+Math.imul(q,Bt)|0,n=(n=n+Math.imul(q,zt)|0)+Math.imul(de,Bt)|0,y=y+Math.imul(de,zt)|0,v=v+Math.imul(te,je)|0,n=(n=n+Math.imul(te,Fe)|0)+Math.imul(Ze,je)|0,y=y+Math.imul(Ze,Fe)|0;var Gt=(N+(v=v+Math.imul(De,qe)|0)|0)+((8191&(n=(n=n+Math.imul(De,Tt)|0)+Math.imul(oe,qe)|0))<<13)|0;N=((y=y+Math.imul(oe,Tt)|0)+(n>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,v=Math.imul(gt,Ut),n=(n=Math.imul(gt,ti))+Math.imul(mt,Ut)|0,y=Math.imul(mt,ti),v=v+Math.imul(Ct,at)|0,n=(n=n+Math.imul(Ct,_t)|0)+Math.imul(rt,at)|0,y=y+Math.imul(rt,_t)|0,v=v+Math.imul(ke,Bt)|0,n=(n=n+Math.imul(ke,zt)|0)+Math.imul(ie,Bt)|0,y=y+Math.imul(ie,zt)|0,v=v+Math.imul(q,je)|0,n=(n=n+Math.imul(q,Fe)|0)+Math.imul(de,je)|0,y=y+Math.imul(de,Fe)|0;var di=(N+(v=v+Math.imul(te,qe)|0)|0)+((8191&(n=(n=n+Math.imul(te,Tt)|0)+Math.imul(Ze,qe)|0))<<13)|0;N=((y=y+Math.imul(Ze,Tt)|0)+(n>>>13)|0)+(di>>>26)|0,di&=67108863,v=Math.imul(gt,at),n=(n=Math.imul(gt,_t))+Math.imul(mt,at)|0,y=Math.imul(mt,_t),v=v+Math.imul(Ct,Bt)|0,n=(n=n+Math.imul(Ct,zt)|0)+Math.imul(rt,Bt)|0,y=y+Math.imul(rt,zt)|0,v=v+Math.imul(ke,je)|0,n=(n=n+Math.imul(ke,Fe)|0)+Math.imul(ie,je)|0,y=y+Math.imul(ie,Fe)|0;var ge=(N+(v=v+Math.imul(q,qe)|0)|0)+((8191&(n=(n=n+Math.imul(q,Tt)|0)+Math.imul(de,qe)|0))<<13)|0;N=((y=y+Math.imul(de,Tt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,v=Math.imul(gt,Bt),n=(n=Math.imul(gt,zt))+Math.imul(mt,Bt)|0,y=Math.imul(mt,zt),v=v+Math.imul(Ct,je)|0,n=(n=n+Math.imul(Ct,Fe)|0)+Math.imul(rt,je)|0,y=y+Math.imul(rt,Fe)|0;var Xe=(N+(v=v+Math.imul(ke,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Tt)|0)+Math.imul(ie,qe)|0))<<13)|0;N=((y=y+Math.imul(ie,Tt)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,v=Math.imul(gt,je),n=(n=Math.imul(gt,Fe))+Math.imul(mt,je)|0,y=Math.imul(mt,Fe);var Et=(N+(v=v+Math.imul(Ct,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ct,Tt)|0)+Math.imul(rt,qe)|0))<<13)|0;N=((y=y+Math.imul(rt,Tt)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863;var jt=(N+(v=Math.imul(gt,qe))|0)+((8191&(n=(n=Math.imul(gt,Tt))+Math.imul(mt,qe)|0))<<13)|0;return N=((y=Math.imul(mt,Tt))+(n>>>13)|0)+(jt>>>26)|0,jt&=67108863,T[0]=mi,T[1]=Ti,T[2]=xi,T[3]=Fi,T[4]=Je,T[5]=wt,T[6]=be,T[7]=Pt,T[8]=qt,T[9]=gi,T[10]=Si,T[11]=ki,T[12]=Gi,T[13]=Gt,T[14]=di,T[15]=ge,T[16]=Xe,T[17]=Et,T[18]=jt,0!==N&&(T[19]=N,d.length++),d};function Y(L,i,r){return(new Q).mulp(L,i,r)}function Q(L,i){this.x=L,this.y=i}Math.imul||(E=R),o.prototype.mulTo=function(i,r){var d,c=this.length+i.length;return d=10===this.length&&10===i.length?E(this,i,r):c<63?R(this,i,r):c<1024?function U(L,i,r){r.negative=i.negative^L.negative,r.length=L.length+i.length;for(var d=0,c=0,b=0;b<r.length-1;b++){var T=c;c=0;for(var N=67108863&d,v=Math.min(b,i.length-1),n=Math.max(0,b-L.length+1);n<=v;n++){var W=(0|L.words[b-n])*(0|i.words[n]),Le=67108863&W;N=67108863&(Le=Le+N|0),c+=(T=(T=T+(W/67108864|0)|0)+(Le>>>26)|0)>>>26,T&=67108863}r.words[b]=N,d=T,T=c}return 0!==d?r.words[b]=d:r.length--,r.strip()}(this,i,r):Y(this,i,r),d},Q.prototype.makeRBT=function(i){for(var r=new Array(i),d=o.prototype._countBits(i)-1,c=0;c<i;c++)r[c]=this.revBin(c,d,i);return r},Q.prototype.revBin=function(i,r,d){if(0===i||i===d-1)return i;for(var c=0,b=0;b<r;b++)c|=(1&i)<<r-b-1,i>>=1;return c},Q.prototype.permute=function(i,r,d,c,b,T){for(var N=0;N<T;N++)c[N]=r[i[N]],b[N]=d[i[N]]},Q.prototype.transform=function(i,r,d,c,b,T){this.permute(T,i,r,d,c,b);for(var N=1;N<b;N<<=1)for(var v=N<<1,n=Math.cos(2*Math.PI/v),y=Math.sin(2*Math.PI/v),B=0;B<b;B+=v)for(var z=n,W=y,Le=0;Le<N;Le++){var Ve=d[B+Le],Ke=c[B+Le],$e=d[B+Le+N],Ae=c[B+Le+N],ue=z*$e-W*Ae;Ae=z*Ae+W*$e,d[B+Le]=Ve+($e=ue),c[B+Le]=Ke+Ae,d[B+Le+N]=Ve-$e,c[B+Le+N]=Ke-Ae,Le!==v&&(ue=n*z-y*W,W=n*W+y*z,z=ue)}},Q.prototype.guessLen13b=function(i,r){var d=1|Math.max(r,i),c=1&d,b=0;for(d=d/2|0;d;d>>>=1)b++;return 1<<b+1+c},Q.prototype.conjugate=function(i,r,d){if(!(d<=1))for(var c=0;c<d/2;c++){var b=i[c];i[c]=i[d-c-1],i[d-c-1]=b,b=r[c],r[c]=-r[d-c-1],r[d-c-1]=-b}},Q.prototype.normalize13b=function(i,r){for(var d=0,c=0;c<r/2;c++){var b=8192*Math.round(i[2*c+1]/r)+Math.round(i[2*c]/r)+d;i[c]=67108863&b,d=b<67108864?0:b/67108864|0}return i},Q.prototype.convert13b=function(i,r,d,c){for(var b=0,T=0;T<r;T++)d[2*T]=8191&(b+=0|i[T]),d[2*T+1]=8191&(b>>>=13),b>>>=13;for(T=2*r;T<c;++T)d[T]=0;g(0===b),g(0==(-8192&b))},Q.prototype.stub=function(i){for(var r=new Array(i),d=0;d<i;d++)r[d]=0;return r},Q.prototype.mulp=function(i,r,d){var c=2*this.guessLen13b(i.length,r.length),b=this.makeRBT(c),T=this.stub(c),N=new Array(c),v=new Array(c),n=new Array(c),y=new Array(c),B=new Array(c),z=new Array(c),W=d.words;W.length=c,this.convert13b(i.words,i.length,N,c),this.convert13b(r.words,r.length,y,c),this.transform(N,T,v,n,c,b),this.transform(y,T,B,z,c,b);for(var Le=0;Le<c;Le++){var Ve=v[Le]*B[Le]-n[Le]*z[Le];n[Le]=v[Le]*z[Le]+n[Le]*B[Le],v[Le]=Ve}return this.conjugate(v,n,c),this.transform(v,n,W,T,c,b),this.conjugate(W,T,c),this.normalize13b(W,c),d.negative=i.negative^r.negative,d.length=i.length+r.length,d.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),Y(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var r=0,d=0;d<this.length;d++){var c=(0|this.words[d])*i,b=(67108863&c)+(67108863&r);r>>=26,r+=c/67108864|0,r+=b>>>26,this.words[d]=67108863&b}return 0!==r&&(this.words[d]=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 w(L){for(var i=new Array(L.bitLength()),r=0;r<i.length;r++){var c=r%26;i[r]=(L.words[r/26|0]&1<<c)>>>c}return i}(i);if(0===r.length)return new o(1);for(var d=this,c=0;c<r.length&&0===r[c];c++,d=d.sqr());if(++c<r.length)for(var b=d.sqr();c<r.length;c++,b=b.sqr())0!==r[c]&&(d=d.mul(b));return d},o.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var b,r=i%26,d=(i-r)/26,c=67108863>>>26-r<<26-r;if(0!==r){var T=0;for(b=0;b<this.length;b++){var N=this.words[b]&c;this.words[b]=(0|this.words[b])-N<<r|T,T=N>>>26-r}T&&(this.words[b]=T,this.length++)}if(0!==d){for(b=this.length-1;b>=0;b--)this.words[b+d]=this.words[b];for(b=0;b<d;b++)this.words[b]=0;this.length+=d}return this.strip()},o.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,d){var c;g("number"==typeof i&&i>=0),c=r?(r-r%26)/26:0;var b=i%26,T=Math.min((i-b)/26,this.length),N=67108863^67108863>>>b<<b,v=d;if(c-=T,c=Math.max(0,c),v){for(var n=0;n<T;n++)v.words[n]=this.words[n];v.length=T}if(0!==T)if(this.length>T)for(this.length-=T,n=0;n<this.length;n++)this.words[n]=this.words[n+T];else this.words[0]=0,this.length=1;var y=0;for(n=this.length-1;n>=0&&(0!==y||n>=c);n--){var B=0|this.words[n];this.words[n]=y<<26-b|B>>>b,y=B&N}return v&&0!==y&&(v.words[v.length++]=y),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,d){return g(0===this.negative),this.iushrn(i,r,d)},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){g("number"==typeof i&&i>=0);var r=i%26,d=(i-r)/26;return!(this.length<=d||!(this.words[d]&1<<r))},o.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var r=i%26,d=(i-r)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=d?this:(0!==r&&d++,this.length=Math.min(d,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 g("number"==typeof i),g(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(g("number"==typeof i),g(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,d){var b;this._expand(i.length+d);var T,N=0;for(b=0;b<i.length;b++){T=(0|this.words[b+d])+N;var v=(0|i.words[b])*r;N=((T-=67108863&v)>>26)-(v/67108864|0),this.words[b+d]=67108863&T}for(;b<this.length-d;b++)N=(T=(0|this.words[b+d])+N)>>26,this.words[b+d]=67108863&T;if(0===N)return this.strip();for(g(-1===N),N=0,b=0;b<this.length;b++)N=(T=-(0|this.words[b])+N)>>26,this.words[b]=67108863&T;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var d,c=this.clone(),b=i,T=0|b.words[b.length-1];0!=(d=26-this._countBits(T))&&(b=b.ushln(d),c.iushln(d),T=0|b.words[b.length-1]);var n,v=c.length-b.length;if("mod"!==r){(n=new o(null)).length=v+1,n.words=new Array(n.length);for(var y=0;y<n.length;y++)n.words[y]=0}var B=c.clone()._ishlnsubmul(b,1,v);0===B.negative&&(c=B,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var W=67108864*(0|c.words[b.length+z])+(0|c.words[b.length+z-1]);for(W=Math.min(W/T|0,67108863),c._ishlnsubmul(b,W,z);0!==c.negative;)W--,c.negative=0,c._ishlnsubmul(b,1,z),c.isZero()||(c.negative^=1);n&&(n.words[z]=W)}return n&&n.strip(),c.strip(),"div"!==r&&0!==d&&c.iushrn(d),{div:n||null,mod:c}},o.prototype.divmod=function(i,r,d){return g(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(T=this.neg().divmod(i,r),"mod"!==r&&(c=T.div.neg()),"div"!==r&&(b=T.mod.neg(),d&&0!==b.negative&&b.iadd(i)),{div:c,mod:b}):0===this.negative&&0!==i.negative?(T=this.divmod(i.neg(),r),"mod"!==r&&(c=T.div.neg()),{div:c,mod:T.mod}):0!=(this.negative&i.negative)?(T=this.neg().divmod(i.neg(),r),"div"!==r&&(b=T.mod.neg(),d&&0!==b.negative&&b.isub(i)),{div:T.div,mod:b}):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 c,b,T},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 d=0!==r.div.negative?r.mod.isub(i):r.mod,c=i.ushrn(1),b=i.andln(1),T=d.cmp(c);return T<0||1===b&&0===T?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){g(i<=67108863);for(var r=(1<<26)%i,d=0,c=this.length-1;c>=0;c--)d=(r*d+(0|this.words[c]))%i;return d},o.prototype.idivn=function(i){g(i<=67108863);for(var r=0,d=this.length-1;d>=0;d--){var c=(0|this.words[d])+67108864*r;this.words[d]=c/i|0,r=c%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var r=this,d=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),b=new o(0),T=new o(0),N=new o(1),v=0;r.isEven()&&d.isEven();)r.iushrn(1),d.iushrn(1),++v;for(var n=d.clone(),y=r.clone();!r.isZero();){for(var B=0,z=1;0==(r.words[0]&z)&&B<26;++B,z<<=1);if(B>0)for(r.iushrn(B);B-- >0;)(c.isOdd()||b.isOdd())&&(c.iadd(n),b.isub(y)),c.iushrn(1),b.iushrn(1);for(var W=0,Le=1;0==(d.words[0]&Le)&&W<26;++W,Le<<=1);if(W>0)for(d.iushrn(W);W-- >0;)(T.isOdd()||N.isOdd())&&(T.iadd(n),N.isub(y)),T.iushrn(1),N.iushrn(1);r.cmp(d)>=0?(r.isub(d),c.isub(T),b.isub(N)):(d.isub(r),T.isub(c),N.isub(b))}return{a:T,b:N,gcd:d.iushln(v)}},o.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var B,r=this,d=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),b=new o(0),T=d.clone();r.cmpn(1)>0&&d.cmpn(1)>0;){for(var N=0,v=1;0==(r.words[0]&v)&&N<26;++N,v<<=1);if(N>0)for(r.iushrn(N);N-- >0;)c.isOdd()&&c.iadd(T),c.iushrn(1);for(var n=0,y=1;0==(d.words[0]&y)&&n<26;++n,y<<=1);if(n>0)for(d.iushrn(n);n-- >0;)b.isOdd()&&b.iadd(T),b.iushrn(1);r.cmp(d)>=0?(r.isub(d),c.isub(b)):(d.isub(r),b.isub(c))}return(B=0===r.cmpn(1)?c:b).cmpn(0)<0&&B.iadd(i),B},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),d=i.clone();r.negative=0,d.negative=0;for(var c=0;r.isEven()&&d.isEven();c++)r.iushrn(1),d.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;d.isEven();)d.iushrn(1);var b=r.cmp(d);if(b<0){var T=r;r=d,d=T}else if(0===b||0===d.cmpn(1))break;r.isub(d)}return d.iushln(c)},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){g("number"==typeof i);var r=i%26,d=(i-r)/26,c=1<<r;if(this.length<=d)return this._expand(d+1),this.words[d]|=c,this;for(var b=c,T=d;0!==b&&T<this.length;T++){var N=0|this.words[T];b=(N+=b)>>>26,this.words[T]=N&=67108863}return 0!==b&&(this.words[T]=b,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var d,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)d=1;else{r&&(i=-i),g(i<=67108863,"Number is too big");var c=0|this.words[0];d=c===i?0:c<i?-1:1}return 0!==this.negative?0|-d:d},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,d=this.length-1;d>=0;d--){var c=0|this.words[d],b=0|i.words[d];if(c!==b){c<b?r=-1:c>b&&(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 se(i)},o.prototype.toRed=function(i){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return g(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 g(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return g(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 $(L,i){this.name=L,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 fe(){$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function re(){$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ee(){$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(L){if("string"==typeof L){var i=o._prime(L);this.m=i.p,this.prime=i}else g(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}function le(L){se.call(this,L),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)}$.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},$.prototype.ireduce=function(i){var d,r=i;do{this.split(r,this.tmp),d=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(d>this.n);var c=d<this.n?-1:r.ucmp(this.p);return 0===c?(r.words[0]=0,r.length=1):c>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},$.prototype.split=function(i,r){i.iushrn(this.n,0,r)},$.prototype.imulK=function(i){return i.imul(this.k)},k(fe,$),fe.prototype.split=function(i,r){for(var d=4194303,c=Math.min(i.length,9),b=0;b<c;b++)r.words[b]=i.words[b];if(r.length=c,i.length<=9)return i.words[0]=0,void(i.length=1);var T=i.words[9];for(r.words[r.length++]=T&d,b=10;b<i.length;b++){var N=0|i.words[b];i.words[b-10]=(N&d)<<4|T>>>22,T=N}i.words[b-10]=T>>>=22,i.length-=0===T&&i.length>10?10:9},fe.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,d=0;d<i.length;d++){var c=0|i.words[d];i.words[d]=67108863&(r+=977*c),r=64*c+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},k(re,$),k(ee,$),k(ce,$),ce.prototype.imulK=function(i){for(var r=0,d=0;d<i.length;d++){var c=19*(0|i.words[d])+r,b=67108863&c;c>>>=26,i.words[d]=b,r=c}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 fe;else if("p224"===i)r=new re;else if("p192"===i)r=new ee;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},se.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},se.prototype._verify2=function(i,r){g(0==(i.negative|r.negative),"red works only with positives"),g(i.red&&i.red===r.red,"red works only with red numbers")},se.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},se.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},se.prototype.add=function(i,r){this._verify2(i,r);var d=i.add(r);return d.cmp(this.m)>=0&&d.isub(this.m),d._forceRed(this)},se.prototype.iadd=function(i,r){this._verify2(i,r);var d=i.iadd(r);return d.cmp(this.m)>=0&&d.isub(this.m),d},se.prototype.sub=function(i,r){this._verify2(i,r);var d=i.sub(r);return d.cmpn(0)<0&&d.iadd(this.m),d._forceRed(this)},se.prototype.isub=function(i,r){this._verify2(i,r);var d=i.isub(r);return d.cmpn(0)<0&&d.iadd(this.m),d},se.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},se.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},se.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},se.prototype.isqr=function(i){return this.imul(i,i.clone())},se.prototype.sqr=function(i){return this.mul(i,i)},se.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(g(r%2==1),3===r){var d=this.m.add(new o(1)).iushrn(2);return this.pow(i,d)}for(var c=this.m.subn(1),b=0;!c.isZero()&&0===c.andln(1);)b++,c.iushrn(1);g(!c.isZero());var T=new o(1).toRed(this),N=T.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,v).cmp(N);)n.redIAdd(N);for(var y=this.pow(n,c),B=this.pow(i,c.addn(1).iushrn(1)),z=this.pow(i,c),W=b;0!==z.cmp(T);){for(var Le=z,Ve=0;0!==Le.cmp(T);Ve++)Le=Le.redSqr();g(Ve<W);var Ke=this.pow(y,new o(1).iushln(W-Ve-1));B=B.redMul(Ke),y=Ke.redSqr(),z=z.redMul(y),W=Ve}return B},se.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},se.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var c=new Array(16);c[0]=new o(1).toRed(this),c[1]=i;for(var b=2;b<c.length;b++)c[b]=this.mul(c[b-1],i);var T=c[0],N=0,v=0,n=r.bitLength()%26;for(0===n&&(n=26),b=r.length-1;b>=0;b--){for(var y=r.words[b],B=n-1;B>=0;B--){var z=y>>B&1;T!==c[0]&&(T=this.sqr(T)),0!==z||0!==N?(N<<=1,N|=z,(4==++v||0===b&&0===B)&&(T=this.mul(T,c[N]),v=0,N=0)):v=0}n=26}return T},se.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},se.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new le(i)},k(le,se),le.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},le.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},le.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var d=i.imul(r),c=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=d.isub(c).iushrn(this.shift),T=b;return b.cmp(this.m)>=0?T=b.isub(this.m):b.cmpn(0)<0&&(T=b.iadd(this.m)),T._forceRed(this)},le.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var d=i.mul(r),c=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=d.isub(c).iushrn(this.shift),T=b;return b.cmp(this.m)>=0?T=b.isub(this.m):b.cmpn(0)<0&&(T=b.iadd(this.m)),T._forceRed(this)},le.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(ze=m.nmd(ze),this)},4901:ze=>{"use strict";var K={single_source_shortest_paths:function(m,t,e){var g={},k={};k[t]=0;var C,h,P,u,I,A,o=K.PriorityQueue.make();for(o.push(t,0);!o.empty();)for(P in u=(C=o.pop()).cost,I=m[h=C.value]||{})I.hasOwnProperty(P)&&(A=u+I[P],(typeof k[P]>"u"||k[P]>A)&&(k[P]=A,o.push(P,A),g[P]=h));if(typeof e<"u"&&typeof k[e]>"u"){var E=["Could not find a path from ",t," to ",e,"."].join("");throw new Error(E)}return g},extract_shortest_path_from_predecessor_list:function(m,t){for(var e=[],g=t;g;)e.push(g),g=m[g];return e.reverse(),e},find_path:function(m,t,e){var g=K.single_source_shortest_paths(m,t,e);return K.extract_shortest_path_from_predecessor_list(g,e)},PriorityQueue:{make:function(m){var g,t=K.PriorityQueue,e={};for(g in m=m||{},t)t.hasOwnProperty(g)&&(e[g]=t[g]);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}}};ze.exports=K},7715:(ze,K,m)=>{"use strict";var t=K;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:(ze,K,m)=>{"use strict";var t=m(7433),e=m(1970),g=e.getNAF,k=e.getJSF,o=e.assert;function C(P,u){this.type=P,this.p=new t(u.p,16),this.red=u.prime?t.red(u.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=u.n&&new t(u.n,16),this.g=u.g&&this.pointFromJSON(u.g,u.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 I=this.n&&this.p.div(this.n);!I||I.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function h(P,u){this.curve=P,this.type=u,this.precomputed=null}ze.exports=C,C.prototype.point=function(){throw new Error("Not implemented")},C.prototype.validate=function(){throw new Error("Not implemented")},C.prototype._fixedNafMul=function(u,I){o(u.precomputed);var S=u._getDoubles(),A=g(I,1,this._bitLength),w=(1<<S.step+1)-(S.step%2==0?2:1);w/=3;var E,U,R=[];for(E=0;E<A.length;E+=S.step){U=0;for(var Y=E+S.step-1;Y>=E;Y--)U=(U<<1)+A[Y];R.push(U)}for(var Q=this.jpoint(null,null,null),X=this.jpoint(null,null,null),$=w;$>0;$--){for(E=0;E<R.length;E++)(U=R[E])===$?X=X.mixedAdd(S.points[E]):U===-$&&(X=X.mixedAdd(S.points[E].neg()));Q=Q.add(X)}return Q.toP()},C.prototype._wnafMul=function(u,I){for(var S=4,A=u._getNAFPoints(S),w=A.points,R=g(I,S=A.wnd,this._bitLength),E=this.jpoint(null,null,null),U=R.length-1;U>=0;U--){for(var Y=0;U>=0&&0===R[U];U--)Y++;if(U>=0&&Y++,E=E.dblp(Y),U<0)break;var Q=R[U];o(0!==Q),E="affine"===u.type?E.mixedAdd(Q>0?w[Q-1>>1]:w[-Q-1>>1].neg()):E.add(Q>0?w[Q-1>>1]:w[-Q-1>>1].neg())}return"affine"===u.type?E.toP():E},C.prototype._wnafMulAdd=function(u,I,S,A,w){var Q,X,$,R=this._wnafT1,E=this._wnafT2,U=this._wnafT3,Y=0;for(Q=0;Q<A;Q++){var fe=($=I[Q])._getNAFPoints(u);R[Q]=fe.wnd,E[Q]=fe.points}for(Q=A-1;Q>=1;Q-=2){var re=Q-1,ee=Q;if(1===R[re]&&1===R[ee]){var ce=[I[re],null,null,I[ee]];0===I[re].y.cmp(I[ee].y)?(ce[1]=I[re].add(I[ee]),ce[2]=I[re].toJ().mixedAdd(I[ee].neg())):0===I[re].y.cmp(I[ee].y.redNeg())?(ce[1]=I[re].toJ().mixedAdd(I[ee]),ce[2]=I[re].add(I[ee].neg())):(ce[1]=I[re].toJ().mixedAdd(I[ee]),ce[2]=I[re].toJ().mixedAdd(I[ee].neg()));var se=[-3,-1,-5,-7,0,7,5,1,3],le=k(S[re],S[ee]);for(Y=Math.max(le[0].length,Y),U[re]=new Array(Y),U[ee]=new Array(Y),X=0;X<Y;X++)U[re][X]=se[3*(1+(0|le[0][X]))+(1+(0|le[1][X]))],U[ee][X]=0,E[re]=ce}else U[re]=g(S[re],R[re],this._bitLength),U[ee]=g(S[ee],R[ee],this._bitLength),Y=Math.max(U[re].length,Y),Y=Math.max(U[ee].length,Y)}var r=this.jpoint(null,null,null),d=this._wnafT4;for(Q=Y;Q>=0;Q--){for(var c=0;Q>=0;){var b=!0;for(X=0;X<A;X++)d[X]=0|U[X][Q],0!==d[X]&&(b=!1);if(!b)break;c++,Q--}if(Q>=0&&c++,r=r.dblp(c),Q<0)break;for(X=0;X<A;X++){var T=d[X];0!==T&&(T>0?$=E[X][T-1>>1]:T<0&&($=E[X][-T-1>>1].neg()),r="affine"===$.type?r.mixedAdd($):r.add($))}}for(Q=0;Q<A;Q++)E[Q]=null;return w?r:r.toP()},C.BasePoint=h,h.prototype.eq=function(){throw new Error("Not implemented")},h.prototype.validate=function(){return this.curve.validate(this)},C.prototype.decodePoint=function(u,I){u=e.toArray(u,I);var S=this.p.byteLength();if((4===u[0]||6===u[0]||7===u[0])&&u.length-1==2*S)return 6===u[0]?o(u[u.length-1]%2==0):7===u[0]&&o(u[u.length-1]%2==1),this.point(u.slice(1,1+S),u.slice(1+S,1+2*S));if((2===u[0]||3===u[0])&&u.length-1===S)return this.pointFromX(u.slice(1,1+S),3===u[0]);throw new Error("Unknown point format")},h.prototype.encodeCompressed=function(u){return this.encode(u,!0)},h.prototype._encode=function(u){var I=this.curve.p.byteLength(),S=this.getX().toArray("be",I);return u?[this.getY().isEven()?2:3].concat(S):[4].concat(S,this.getY().toArray("be",I))},h.prototype.encode=function(u,I){return e.encode(this._encode(I),u)},h.prototype.precompute=function(u){if(this.precomputed)return this;var I={doubles:null,naf:null,beta:null};return I.naf=this._getNAFPoints(8),I.doubles=this._getDoubles(4,u),I.beta=this._getBeta(),this.precomputed=I,this},h.prototype._hasDoubles=function(u){if(!this.precomputed)return!1;var I=this.precomputed.doubles;return!!I&&I.points.length>=Math.ceil((u.bitLength()+1)/I.step)},h.prototype._getDoubles=function(u,I){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var S=[this],A=this,w=0;w<I;w+=u){for(var R=0;R<u;R++)A=A.dbl();S.push(A)}return{step:u,points:S}},h.prototype._getNAFPoints=function(u){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var I=[this],S=(1<<u)-1,A=1===S?null:this.dbl(),w=1;w<S;w++)I[w]=I[w-1].add(A);return{wnd:u,points:I}},h.prototype._getBeta=function(){return null},h.prototype.dblp=function(u){for(var I=this,S=0;S<u;S++)I=I.dbl();return I}},3835:(ze,K,m)=>{"use strict";var t=m(1970),e=m(7433),g=m(3894),k=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,k.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 h(P,u,I,S,A){k.BasePoint.call(this,P,"projective"),null===u&&null===I&&null===S?(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(u,16),this.y=new e(I,16),this.z=S?new e(S,16):this.curve.one,this.t=A&&new e(A,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()))))}g(C,k),ze.exports=C,C.prototype._mulA=function(u){return this.mOneA?u.redNeg():this.a.redMul(u)},C.prototype._mulC=function(u){return this.oneC?u:this.c.redMul(u)},C.prototype.jpoint=function(u,I,S,A){return this.point(u,I,S,A)},C.prototype.pointFromX=function(u,I){(u=new e(u,16)).red||(u=u.toRed(this.red));var S=u.redSqr(),A=this.c2.redSub(this.a.redMul(S)),w=this.one.redSub(this.c2.redMul(this.d).redMul(S)),R=A.redMul(w.redInvm()),E=R.redSqrt();if(0!==E.redSqr().redSub(R).cmp(this.zero))throw new Error("invalid point");var U=E.fromRed().isOdd();return(I&&!U||!I&&U)&&(E=E.redNeg()),this.point(u,E)},C.prototype.pointFromY=function(u,I){(u=new e(u,16)).red||(u=u.toRed(this.red));var S=u.redSqr(),A=S.redSub(this.c2),w=S.redMul(this.d).redMul(this.c2).redSub(this.a),R=A.redMul(w.redInvm());if(0===R.cmp(this.zero)){if(I)throw new Error("invalid point");return this.point(this.zero,u)}var E=R.redSqrt();if(0!==E.redSqr().redSub(R).cmp(this.zero))throw new Error("invalid point");return E.fromRed().isOdd()!==I&&(E=E.redNeg()),this.point(E,u)},C.prototype.validate=function(u){if(u.isInfinity())return!0;u.normalize();var I=u.x.redSqr(),S=u.y.redSqr(),A=I.redMul(this.a).redAdd(S),w=this.c2.redMul(this.one.redAdd(this.d.redMul(I).redMul(S)));return 0===A.cmp(w)},g(h,k.BasePoint),C.prototype.pointFromJSON=function(u){return h.fromJSON(this,u)},C.prototype.point=function(u,I,S,A){return new h(this,u,I,S,A)},h.fromJSON=function(u,I){return new h(u,I[0],I[1],I[2])},h.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)+">"},h.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},h.prototype._extDbl=function(){var u=this.x.redSqr(),I=this.y.redSqr(),S=this.z.redSqr();S=S.redIAdd(S);var A=this.curve._mulA(u),w=this.x.redAdd(this.y).redSqr().redISub(u).redISub(I),R=A.redAdd(I),E=R.redSub(S),U=A.redSub(I),Y=w.redMul(E),Q=R.redMul(U),X=w.redMul(U),$=E.redMul(R);return this.curve.point(Y,Q,$,X)},h.prototype._projDbl=function(){var A,w,R,E,U,Y,u=this.x.redAdd(this.y).redSqr(),I=this.x.redSqr(),S=this.y.redSqr();if(this.curve.twisted){var Q=(E=this.curve._mulA(I)).redAdd(S);this.zOne?(A=u.redSub(I).redSub(S).redMul(Q.redSub(this.curve.two)),w=Q.redMul(E.redSub(S)),R=Q.redSqr().redSub(Q).redSub(Q)):(U=this.z.redSqr(),Y=Q.redSub(U).redISub(U),A=u.redSub(I).redISub(S).redMul(Y),w=Q.redMul(E.redSub(S)),R=Q.redMul(Y))}else E=I.redAdd(S),U=this.curve._mulC(this.z).redSqr(),Y=E.redSub(U).redSub(U),A=this.curve._mulC(u.redISub(E)).redMul(Y),w=this.curve._mulC(E).redMul(I.redISub(S)),R=E.redMul(Y);return this.curve.point(A,w,R)},h.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},h.prototype._extAdd=function(u){var I=this.y.redSub(this.x).redMul(u.y.redSub(u.x)),S=this.y.redAdd(this.x).redMul(u.y.redAdd(u.x)),A=this.t.redMul(this.curve.dd).redMul(u.t),w=this.z.redMul(u.z.redAdd(u.z)),R=S.redSub(I),E=w.redSub(A),U=w.redAdd(A),Y=S.redAdd(I),Q=R.redMul(E),X=U.redMul(Y),$=R.redMul(Y),fe=E.redMul(U);return this.curve.point(Q,X,fe,$)},h.prototype._projAdd=function(u){var X,$,I=this.z.redMul(u.z),S=I.redSqr(),A=this.x.redMul(u.x),w=this.y.redMul(u.y),R=this.curve.d.redMul(A).redMul(w),E=S.redSub(R),U=S.redAdd(R),Y=this.x.redAdd(this.y).redMul(u.x.redAdd(u.y)).redISub(A).redISub(w),Q=I.redMul(E).redMul(Y);return this.curve.twisted?(X=I.redMul(U).redMul(w.redSub(this.curve._mulA(A))),$=E.redMul(U)):(X=I.redMul(U).redMul(w.redSub(A)),$=this.curve._mulC(E).redMul(U)),this.curve.point(Q,X,$)},h.prototype.add=function(u){return this.isInfinity()?u:u.isInfinity()?this:this.curve.extended?this._extAdd(u):this._projAdd(u)},h.prototype.mul=function(u){return this._hasDoubles(u)?this.curve._fixedNafMul(this,u):this.curve._wnafMul(this,u)},h.prototype.mulAdd=function(u,I,S){return this.curve._wnafMulAdd(1,[this,I],[u,S],2,!1)},h.prototype.jmulAdd=function(u,I,S){return this.curve._wnafMulAdd(1,[this,I],[u,S],2,!0)},h.prototype.normalize=function(){if(this.zOne)return this;var u=this.z.redInvm();return this.x=this.x.redMul(u),this.y=this.y.redMul(u),this.t&&(this.t=this.t.redMul(u)),this.z=this.curve.one,this.zOne=!0,this},h.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},h.prototype.getX=function(){return this.normalize(),this.x.fromRed()},h.prototype.getY=function(){return this.normalize(),this.y.fromRed()},h.prototype.eq=function(u){return this===u||0===this.getX().cmp(u.getX())&&0===this.getY().cmp(u.getY())},h.prototype.eqXToP=function(u){var I=u.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(I))return!0;for(var S=u.clone(),A=this.curve.redN.redMul(this.z);;){if(S.iadd(this.curve.n),S.cmp(this.curve.p)>=0)return!1;if(I.redIAdd(A),0===this.x.cmp(I))return!0}},h.prototype.toP=h.prototype.normalize,h.prototype.mixedAdd=h.prototype.add},6270:(ze,K,m)=>{"use strict";var t=K;t.base=m(7902),t.short=m(1781),t.mont=m(7064),t.edwards=m(3835)},7064:(ze,K,m)=>{"use strict";var t=m(7433),e=m(3894),g=m(7902),k=m(1970);function o(h){g.call(this,"mont",h),this.a=new t(h.a,16).toRed(this.red),this.b=new t(h.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(h,P,u){g.BasePoint.call(this,h,"projective"),null===P&&null===u?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new t(P,16),this.z=new t(u,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,g),ze.exports=o,o.prototype.validate=function(P){var u=P.normalize().x,I=u.redSqr(),S=I.redMul(u).redAdd(I.redMul(this.a)).redAdd(u);return 0===S.redSqrt().redSqr().cmp(S)},e(C,g.BasePoint),o.prototype.decodePoint=function(P,u){return this.point(k.toArray(P,u),1)},o.prototype.point=function(P,u){return new C(this,P,u)},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,u){return new C(P,u[0],u[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 u=this.x.redAdd(this.z).redSqr(),S=this.x.redSub(this.z).redSqr(),A=u.redSub(S),w=u.redMul(S),R=A.redMul(S.redAdd(this.curve.a24.redMul(A)));return this.curve.point(w,R)},C.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},C.prototype.diffAdd=function(P,u){var I=this.x.redAdd(this.z),S=this.x.redSub(this.z),A=P.x.redAdd(P.z),R=P.x.redSub(P.z).redMul(I),E=A.redMul(S),U=u.z.redMul(R.redAdd(E).redSqr()),Y=u.x.redMul(R.redISub(E).redSqr());return this.curve.point(U,Y)},C.prototype.mul=function(P){for(var u=P.clone(),I=this,S=this.curve.point(null,null),w=[];0!==u.cmpn(0);u.iushrn(1))w.push(u.andln(1));for(var R=w.length-1;R>=0;R--)0===w[R]?(I=I.diffAdd(S,this),S=S.dbl()):(S=I.diffAdd(S,this),I=I.dbl());return S},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:(ze,K,m)=>{"use strict";var t=m(1970),e=m(7433),g=m(3894),k=m(7902),o=t.assert;function C(u){k.call(this,"short",u),this.a=new e(u.a,16).toRed(this.red),this.b=new e(u.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(u),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function h(u,I,S,A){k.BasePoint.call(this,u,"affine"),null===I&&null===S?(this.x=null,this.y=null,this.inf=!0):(this.x=new e(I,16),this.y=new e(S,16),A&&(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(u,I,S,A){k.BasePoint.call(this,u,"jacobian"),null===I&&null===S&&null===A?(this.x=this.curve.one,this.y=this.curve.one,this.z=new e(0)):(this.x=new e(I,16),this.y=new e(S,16),this.z=new e(A,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}g(C,k),ze.exports=C,C.prototype._getEndomorphism=function(I){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var S,A;if(I.beta)S=new e(I.beta,16).toRed(this.red);else{var w=this._getEndoRoots(this.p);S=(S=w[0].cmp(w[1])<0?w[0]:w[1]).toRed(this.red)}if(I.lambda)A=new e(I.lambda,16);else{var R=this._getEndoRoots(this.n);0===this.g.mul(R[0]).x.cmp(this.g.x.redMul(S))?A=R[0]:o(0===this.g.mul(A=R[1]).x.cmp(this.g.x.redMul(S)))}return{beta:S,lambda:A,basis:I.basis?I.basis.map(function(U){return{a:new e(U.a,16),b:new e(U.b,16)}}):this._getEndoBasis(A)}}},C.prototype._getEndoRoots=function(I){var S=I===this.p?this.red:e.mont(I),A=new e(2).toRed(S).redInvm(),w=A.redNeg(),R=new e(3).toRed(S).redNeg().redSqrt().redMul(A);return[w.redAdd(R).fromRed(),w.redSub(R).fromRed()]},C.prototype._getEndoBasis=function(I){for(var Q,X,$,fe,re,ee,ce,le,L,S=this.n.ushrn(Math.floor(this.n.bitLength()/2)),A=I,w=this.n.clone(),R=new e(1),E=new e(0),U=new e(0),Y=new e(1),se=0;0!==A.cmpn(0);){var i=w.div(A);le=w.sub(i.mul(A)),L=U.sub(i.mul(R));var r=Y.sub(i.mul(E));if(!$&&le.cmp(S)<0)Q=ce.neg(),X=R,$=le.neg(),fe=L;else if($&&2==++se)break;ce=le,w=A,A=le,U=R,R=L,Y=E,E=r}re=le.neg(),ee=L;var d=$.sqr().add(fe.sqr());return re.sqr().add(ee.sqr()).cmp(d)>=0&&(re=Q,ee=X),$.negative&&($=$.neg(),fe=fe.neg()),re.negative&&(re=re.neg(),ee=ee.neg()),[{a:$,b:fe},{a:re,b:ee}]},C.prototype._endoSplit=function(I){var S=this.endo.basis,A=S[0],w=S[1],R=w.b.mul(I).divRound(this.n),E=A.b.neg().mul(I).divRound(this.n),U=R.mul(A.a),Y=E.mul(w.a),Q=R.mul(A.b),X=E.mul(w.b);return{k1:I.sub(U).sub(Y),k2:Q.add(X).neg()}},C.prototype.pointFromX=function(I,S){(I=new e(I,16)).red||(I=I.toRed(this.red));var A=I.redSqr().redMul(I).redIAdd(I.redMul(this.a)).redIAdd(this.b),w=A.redSqrt();if(0!==w.redSqr().redSub(A).cmp(this.zero))throw new Error("invalid point");var R=w.fromRed().isOdd();return(S&&!R||!S&&R)&&(w=w.redNeg()),this.point(I,w)},C.prototype.validate=function(I){if(I.inf)return!0;var S=I.x,A=I.y,w=this.a.redMul(S),R=S.redSqr().redMul(S).redIAdd(w).redIAdd(this.b);return 0===A.redSqr().redISub(R).cmpn(0)},C.prototype._endoWnafMulAdd=function(I,S,A){for(var w=this._endoWnafT1,R=this._endoWnafT2,E=0;E<I.length;E++){var U=this._endoSplit(S[E]),Y=I[E],Q=Y._getBeta();U.k1.negative&&(U.k1.ineg(),Y=Y.neg(!0)),U.k2.negative&&(U.k2.ineg(),Q=Q.neg(!0)),w[2*E]=Y,w[2*E+1]=Q,R[2*E]=U.k1,R[2*E+1]=U.k2}for(var X=this._wnafMulAdd(1,w,R,2*E,A),$=0;$<2*E;$++)w[$]=null,R[$]=null;return X},g(h,k.BasePoint),C.prototype.point=function(I,S,A){return new h(this,I,S,A)},C.prototype.pointFromJSON=function(I,S){return h.fromJSON(this,I,S)},h.prototype._getBeta=function(){if(this.curve.endo){var I=this.precomputed;if(I&&I.beta)return I.beta;var S=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(I){var A=this.curve,w=function(R){return A.point(R.x.redMul(A.endo.beta),R.y)};I.beta=S,S.precomputed={beta:null,naf:I.naf&&{wnd:I.naf.wnd,points:I.naf.points.map(w)},doubles:I.doubles&&{step:I.doubles.step,points:I.doubles.points.map(w)}}}return S}},h.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]},h.fromJSON=function(I,S,A){"string"==typeof S&&(S=JSON.parse(S));var w=I.point(S[0],S[1],A);if(!S[2])return w;function R(U){return I.point(U[0],U[1],A)}var E=S[2];return w.precomputed={beta:null,doubles:E.doubles&&{step:E.doubles.step,points:[w].concat(E.doubles.points.map(R))},naf:E.naf&&{wnd:E.naf.wnd,points:[w].concat(E.naf.points.map(R))}},w},h.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)+">"},h.prototype.isInfinity=function(){return this.inf},h.prototype.add=function(I){if(this.inf)return I;if(I.inf)return this;if(this.eq(I))return this.dbl();if(this.neg().eq(I))return this.curve.point(null,null);if(0===this.x.cmp(I.x))return this.curve.point(null,null);var S=this.y.redSub(I.y);0!==S.cmpn(0)&&(S=S.redMul(this.x.redSub(I.x).redInvm()));var A=S.redSqr().redISub(this.x).redISub(I.x),w=S.redMul(this.x.redSub(A)).redISub(this.y);return this.curve.point(A,w)},h.prototype.dbl=function(){if(this.inf)return this;var I=this.y.redAdd(this.y);if(0===I.cmpn(0))return this.curve.point(null,null);var S=this.curve.a,A=this.x.redSqr(),w=I.redInvm(),R=A.redAdd(A).redIAdd(A).redIAdd(S).redMul(w),E=R.redSqr().redISub(this.x.redAdd(this.x)),U=R.redMul(this.x.redSub(E)).redISub(this.y);return this.curve.point(E,U)},h.prototype.getX=function(){return this.x.fromRed()},h.prototype.getY=function(){return this.y.fromRed()},h.prototype.mul=function(I){return I=new e(I,16),this.isInfinity()?this:this._hasDoubles(I)?this.curve._fixedNafMul(this,I):this.curve.endo?this.curve._endoWnafMulAdd([this],[I]):this.curve._wnafMul(this,I)},h.prototype.mulAdd=function(I,S,A){var w=[this,S],R=[I,A];return this.curve.endo?this.curve._endoWnafMulAdd(w,R):this.curve._wnafMulAdd(1,w,R,2)},h.prototype.jmulAdd=function(I,S,A){var w=[this,S],R=[I,A];return this.curve.endo?this.curve._endoWnafMulAdd(w,R,!0):this.curve._wnafMulAdd(1,w,R,2,!0)},h.prototype.eq=function(I){return this===I||this.inf===I.inf&&(this.inf||0===this.x.cmp(I.x)&&0===this.y.cmp(I.y))},h.prototype.neg=function(I){if(this.inf)return this;var S=this.curve.point(this.x,this.y.redNeg());if(I&&this.precomputed){var A=this.precomputed,w=function(R){return R.neg()};S.precomputed={naf:A.naf&&{wnd:A.naf.wnd,points:A.naf.points.map(w)},doubles:A.doubles&&{step:A.doubles.step,points:A.doubles.points.map(w)}}}return S},h.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},g(P,k.BasePoint),C.prototype.jpoint=function(I,S,A){return new P(this,I,S,A)},P.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var I=this.z.redInvm(),S=I.redSqr(),A=this.x.redMul(S),w=this.y.redMul(S).redMul(I);return this.curve.point(A,w)},P.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},P.prototype.add=function(I){if(this.isInfinity())return I;if(I.isInfinity())return this;var S=I.z.redSqr(),A=this.z.redSqr(),w=this.x.redMul(S),R=I.x.redMul(A),E=this.y.redMul(S.redMul(I.z)),U=I.y.redMul(A.redMul(this.z)),Y=w.redSub(R),Q=E.redSub(U);if(0===Y.cmpn(0))return 0!==Q.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var X=Y.redSqr(),$=X.redMul(Y),fe=w.redMul(X),re=Q.redSqr().redIAdd($).redISub(fe).redISub(fe),ee=Q.redMul(fe.redISub(re)).redISub(E.redMul($)),ce=this.z.redMul(I.z).redMul(Y);return this.curve.jpoint(re,ee,ce)},P.prototype.mixedAdd=function(I){if(this.isInfinity())return I.toJ();if(I.isInfinity())return this;var S=this.z.redSqr(),A=this.x,w=I.x.redMul(S),R=this.y,E=I.y.redMul(S).redMul(this.z),U=A.redSub(w),Y=R.redSub(E);if(0===U.cmpn(0))return 0!==Y.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var Q=U.redSqr(),X=Q.redMul(U),$=A.redMul(Q),fe=Y.redSqr().redIAdd(X).redISub($).redISub($),re=Y.redMul($.redISub(fe)).redISub(R.redMul(X)),ee=this.z.redMul(U);return this.curve.jpoint(fe,re,ee)},P.prototype.dblp=function(I){if(0===I)return this;if(this.isInfinity())return this;if(!I)return this.dbl();var S;if(this.curve.zeroA||this.curve.threeA){var A=this;for(S=0;S<I;S++)A=A.dbl();return A}var w=this.curve.a,R=this.curve.tinv,E=this.x,U=this.y,Y=this.z,Q=Y.redSqr().redSqr(),X=U.redAdd(U);for(S=0;S<I;S++){var $=E.redSqr(),fe=X.redSqr(),re=fe.redSqr(),ee=$.redAdd($).redIAdd($).redIAdd(w.redMul(Q)),ce=E.redMul(fe),se=ee.redSqr().redISub(ce.redAdd(ce)),le=ce.redISub(se),L=ee.redMul(le);L=L.redIAdd(L).redISub(re);var i=X.redMul(Y);S+1<I&&(Q=Q.redMul(re)),E=se,Y=i,X=L}return this.curve.jpoint(E,X.redMul(R),Y)},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 I,S,A;if(this.zOne){var w=this.x.redSqr(),R=this.y.redSqr(),E=R.redSqr(),U=this.x.redAdd(R).redSqr().redISub(w).redISub(E);U=U.redIAdd(U);var Y=w.redAdd(w).redIAdd(w),Q=Y.redSqr().redISub(U).redISub(U),X=E.redIAdd(E);X=(X=X.redIAdd(X)).redIAdd(X),I=Q,S=Y.redMul(U.redISub(Q)).redISub(X),A=this.y.redAdd(this.y)}else{var $=this.x.redSqr(),fe=this.y.redSqr(),re=fe.redSqr(),ee=this.x.redAdd(fe).redSqr().redISub($).redISub(re);ee=ee.redIAdd(ee);var ce=$.redAdd($).redIAdd($),se=ce.redSqr(),le=re.redIAdd(re);le=(le=le.redIAdd(le)).redIAdd(le),I=se.redISub(ee).redISub(ee),S=ce.redMul(ee.redISub(I)).redISub(le),A=(A=this.y.redMul(this.z)).redIAdd(A)}return this.curve.jpoint(I,S,A)},P.prototype._threeDbl=function(){var I,S,A;if(this.zOne){var w=this.x.redSqr(),R=this.y.redSqr(),E=R.redSqr(),U=this.x.redAdd(R).redSqr().redISub(w).redISub(E);U=U.redIAdd(U);var Y=w.redAdd(w).redIAdd(w).redIAdd(this.curve.a),Q=Y.redSqr().redISub(U).redISub(U);I=Q;var X=E.redIAdd(E);X=(X=X.redIAdd(X)).redIAdd(X),S=Y.redMul(U.redISub(Q)).redISub(X),A=this.y.redAdd(this.y)}else{var $=this.z.redSqr(),fe=this.y.redSqr(),re=this.x.redMul(fe),ee=this.x.redSub($).redMul(this.x.redAdd($));ee=ee.redAdd(ee).redIAdd(ee);var ce=re.redIAdd(re),se=(ce=ce.redIAdd(ce)).redAdd(ce);I=ee.redSqr().redISub(se),A=this.y.redAdd(this.z).redSqr().redISub(fe).redISub($);var le=fe.redSqr();le=(le=(le=le.redIAdd(le)).redIAdd(le)).redIAdd(le),S=ee.redMul(ce.redISub(I)).redISub(le)}return this.curve.jpoint(I,S,A)},P.prototype._dbl=function(){var I=this.curve.a,S=this.x,A=this.y,w=this.z,R=w.redSqr().redSqr(),E=S.redSqr(),U=A.redSqr(),Y=E.redAdd(E).redIAdd(E).redIAdd(I.redMul(R)),Q=S.redAdd(S),X=(Q=Q.redIAdd(Q)).redMul(U),$=Y.redSqr().redISub(X.redAdd(X)),fe=X.redISub($),re=U.redSqr();re=(re=(re=re.redIAdd(re)).redIAdd(re)).redIAdd(re);var ee=Y.redMul(fe).redISub(re),ce=A.redAdd(A).redMul(w);return this.curve.jpoint($,ee,ce)},P.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var I=this.x.redSqr(),S=this.y.redSqr(),A=this.z.redSqr(),w=S.redSqr(),R=I.redAdd(I).redIAdd(I),E=R.redSqr(),U=this.x.redAdd(S).redSqr().redISub(I).redISub(w),Y=(U=(U=(U=U.redIAdd(U)).redAdd(U).redIAdd(U)).redISub(E)).redSqr(),Q=w.redIAdd(w);Q=(Q=(Q=Q.redIAdd(Q)).redIAdd(Q)).redIAdd(Q);var X=R.redIAdd(U).redSqr().redISub(E).redISub(Y).redISub(Q),$=S.redMul(X);$=($=$.redIAdd($)).redIAdd($);var fe=this.x.redMul(Y).redISub($);fe=(fe=fe.redIAdd(fe)).redIAdd(fe);var re=this.y.redMul(X.redMul(Q.redISub(X)).redISub(U.redMul(Y)));re=(re=(re=re.redIAdd(re)).redIAdd(re)).redIAdd(re);var ee=this.z.redAdd(U).redSqr().redISub(A).redISub(Y);return this.curve.jpoint(fe,re,ee)},P.prototype.mul=function(I,S){return I=new e(I,S),this.curve._wnafMul(this,I)},P.prototype.eq=function(I){if("affine"===I.type)return this.eq(I.toJ());if(this===I)return!0;var S=this.z.redSqr(),A=I.z.redSqr();if(0!==this.x.redMul(A).redISub(I.x.redMul(S)).cmpn(0))return!1;var w=S.redMul(this.z),R=A.redMul(I.z);return 0===this.y.redMul(R).redISub(I.y.redMul(w)).cmpn(0)},P.prototype.eqXToP=function(I){var S=this.z.redSqr(),A=I.toRed(this.curve.red).redMul(S);if(0===this.x.cmp(A))return!0;for(var w=I.clone(),R=this.curve.redN.redMul(S);;){if(w.iadd(this.curve.n),w.cmp(this.curve.p)>=0)return!1;if(A.redIAdd(R),0===this.x.cmp(A))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:(ze,K,m)=>{"use strict";var P,t=K,e=m(7084),g=m(6270),o=m(1970).assert;function C(u){this.curve="short"===u.type?new g.short(u):"edwards"===u.type?new g.edwards(u):new g.mont(u),this.g=this.curve.g,this.n=this.curve.n,this.hash=u.hash,o(this.g.validate(),"Invalid curve"),o(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function h(u,I){Object.defineProperty(t,u,{configurable:!0,enumerable:!0,get:function(){var S=new C(I);return Object.defineProperty(t,u,{configurable:!0,enumerable:!0,value:S}),S}})}t.PresetCurve=C,h("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"]}),h("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"]}),h("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"]}),h("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"]}),h("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"]}),h("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"]}),h("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}h("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:(ze,K,m)=>{"use strict";var t=m(7433),e=m(2438),g=m(1970),k=m(2916),o=m(7950),C=g.assert,h=m(1259),P=m(5957);function u(I){if(!(this instanceof u))return new u(I);"string"==typeof I&&(C(Object.prototype.hasOwnProperty.call(k,I),"Unknown curve "+I),I=k[I]),I instanceof k.PresetCurve&&(I={curve:I}),this.curve=I.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=I.curve.g,this.g.precompute(I.curve.n.bitLength()+1),this.hash=I.hash||I.curve.hash}ze.exports=u,u.prototype.keyPair=function(S){return new h(this,S)},u.prototype.keyFromPrivate=function(S,A){return h.fromPrivate(this,S,A)},u.prototype.keyFromPublic=function(S,A){return h.fromPublic(this,S,A)},u.prototype.genKeyPair=function(S){S||(S={});for(var A=new e({hash:this.hash,pers:S.pers,persEnc:S.persEnc||"utf8",entropy:S.entropy||o(this.hash.hmacStrength),entropyEnc:S.entropy&&S.entropyEnc||"utf8",nonce:this.n.toArray()}),w=this.n.byteLength(),R=this.n.sub(new t(2));;){var E=new t(A.generate(w));if(!(E.cmp(R)>0))return E.iaddn(1),this.keyFromPrivate(E)}},u.prototype._truncateToN=function(S,A){var w=8*S.byteLength()-this.n.bitLength();return w>0&&(S=S.ushrn(w)),!A&&S.cmp(this.n)>=0?S.sub(this.n):S},u.prototype.sign=function(S,A,w,R){"object"==typeof w&&(R=w,w=null),R||(R={}),A=this.keyFromPrivate(A,w),S=this._truncateToN(new t(S,16));for(var E=this.n.byteLength(),U=A.getPrivate().toArray("be",E),Y=S.toArray("be",E),Q=new e({hash:this.hash,entropy:U,nonce:Y,pers:R.pers,persEnc:R.persEnc||"utf8"}),X=this.n.sub(new t(1)),$=0;;$++){var fe=R.k?R.k($):new t(Q.generate(this.n.byteLength()));if(!((fe=this._truncateToN(fe,!0)).cmpn(1)<=0||fe.cmp(X)>=0)){var re=this.g.mul(fe);if(!re.isInfinity()){var ee=re.getX(),ce=ee.umod(this.n);if(0!==ce.cmpn(0)){var se=fe.invm(this.n).mul(ce.mul(A.getPrivate()).iadd(S));if(0!==(se=se.umod(this.n)).cmpn(0)){var le=(re.getY().isOdd()?1:0)|(0!==ee.cmp(ce)?2:0);return R.canonical&&se.cmp(this.nh)>0&&(se=this.n.sub(se),le^=1),new P({r:ce,s:se,recoveryParam:le})}}}}}},u.prototype.verify=function(S,A,w,R){S=this._truncateToN(new t(S,16)),w=this.keyFromPublic(w,R);var E=(A=new P(A,"hex")).r,U=A.s;if(E.cmpn(1)<0||E.cmp(this.n)>=0||U.cmpn(1)<0||U.cmp(this.n)>=0)return!1;var $,Y=U.invm(this.n),Q=Y.mul(S).umod(this.n),X=Y.mul(E).umod(this.n);return this.curve._maxwellTrick?!($=this.g.jmulAdd(Q,w.getPublic(),X)).isInfinity()&&$.eqXToP(E):!($=this.g.mulAdd(Q,w.getPublic(),X)).isInfinity()&&0===$.getX().umod(this.n).cmp(E)},u.prototype.recoverPubKey=function(I,S,A,w){C((3&A)===A,"The recovery param is more than two bits"),S=new P(S,w);var R=this.n,E=new t(I),U=S.r,Y=S.s,Q=1&A,X=A>>1;if(U.cmp(this.curve.p.umod(this.curve.n))>=0&&X)throw new Error("Unable to find sencond key candinate");U=this.curve.pointFromX(X?U.add(this.curve.n):U,Q);var $=S.r.invm(R),fe=R.sub(E).mul($).umod(R),re=Y.mul($).umod(R);return this.g.mulAdd(fe,U,re)},u.prototype.getKeyRecoveryParam=function(I,S,A,w){if(null!==(S=new P(S,w)).recoveryParam)return S.recoveryParam;for(var R=0;R<4;R++){var E;try{E=this.recoverPubKey(I,S,R)}catch{continue}if(E.eq(A))return R}throw new Error("Unable to find valid recovery factor")}},1259:(ze,K,m)=>{"use strict";var t=m(7433),g=m(1970).assert;function k(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)}ze.exports=k,k.fromPublic=function(C,h,P){return h instanceof k?h:new k(C,{pub:h,pubEnc:P})},k.fromPrivate=function(C,h,P){return h instanceof k?h:new k(C,{priv:h,privEnc:P})},k.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"}},k.prototype.getPublic=function(C,h){return"string"==typeof C&&(h=C,C=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),h?this.pub.encode(h,C):this.pub},k.prototype.getPrivate=function(C){return"hex"===C?this.priv.toString(16,2):this.priv},k.prototype._importPrivate=function(C,h){this.priv=new t(C,h||16),this.priv=this.priv.umod(this.ec.curve.n)},k.prototype._importPublic=function(C,h){if(C.x||C.y)return"mont"===this.ec.curve.type?g(C.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&g(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,h)},k.prototype.derive=function(C){return C.validate()||g(C.validate(),"public point not validated"),C.mul(this.priv).getX()},k.prototype.sign=function(C,h,P){return this.ec.sign(C,this,h,P)},k.prototype.verify=function(C,h){return this.ec.verify(C,h,this)},k.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},5957:(ze,K,m)=>{"use strict";var t=m(7433),e=m(1970),g=e.assert;function k(u,I){if(u instanceof k)return u;this._importDER(u,I)||(g(u.r&&u.s,"Signature without r or s"),this.r=new t(u.r,16),this.s=new t(u.s,16),this.recoveryParam=void 0===u.recoveryParam?null:u.recoveryParam)}function o(){this.place=0}function C(u,I){var S=u[I.place++];if(!(128&S))return S;var A=15&S;if(0===A||A>4)return!1;for(var w=0,R=0,E=I.place;R<A;R++,E++)w<<=8,w|=u[E],w>>>=0;return!(w<=127)&&(I.place=E,w)}function h(u){for(var I=0,S=u.length-1;!u[I]&&!(128&u[I+1])&&I<S;)I++;return 0===I?u:u.slice(I)}function P(u,I){if(I<128)u.push(I);else{var S=1+(Math.log(I)/Math.LN2>>>3);for(u.push(128|S);--S;)u.push(I>>>(S<<3)&255);u.push(I)}}ze.exports=k,k.prototype._importDER=function(I,S){I=e.toArray(I,S);var A=new o;if(48!==I[A.place++])return!1;var w=C(I,A);if(!1===w||w+A.place!==I.length||2!==I[A.place++])return!1;var R=C(I,A);if(!1===R)return!1;var E=I.slice(A.place,R+A.place);if(A.place+=R,2!==I[A.place++])return!1;var U=C(I,A);if(!1===U||I.length!==U+A.place)return!1;var Y=I.slice(A.place,U+A.place);if(0===E[0]){if(!(128&E[1]))return!1;E=E.slice(1)}if(0===Y[0]){if(!(128&Y[1]))return!1;Y=Y.slice(1)}return this.r=new t(E),this.s=new t(Y),this.recoveryParam=null,!0},k.prototype.toDER=function(I){var S=this.r.toArray(),A=this.s.toArray();for(128&S[0]&&(S=[0].concat(S)),128&A[0]&&(A=[0].concat(A)),S=h(S),A=h(A);!(A[0]||128&A[1]);)A=A.slice(1);var w=[2];P(w,S.length),(w=w.concat(S)).push(2),P(w,A.length);var R=w.concat(A),E=[48];return P(E,R.length),E=E.concat(R),e.encode(E,I)}},1885:(ze,K,m)=>{"use strict";var t=m(7084),e=m(2916),g=m(1970),k=g.assert,o=g.parseBytes,C=m(7535),h=m(8241);function P(u){if(k("ed25519"===u,"only tested with ed25519 so far"),!(this instanceof P))return new P(u);this.curve=u=e[u].curve,this.g=u.g,this.g.precompute(u.n.bitLength()+1),this.pointClass=u.point().constructor,this.encodingLength=Math.ceil(u.n.bitLength()/8),this.hash=t.sha512}ze.exports=P,P.prototype.sign=function(I,S){I=o(I);var A=this.keyFromSecret(S),w=this.hashInt(A.messagePrefix(),I),R=this.g.mul(w),E=this.encodePoint(R),U=this.hashInt(E,A.pubBytes(),I).mul(A.priv()),Y=w.add(U).umod(this.curve.n);return this.makeSignature({R,S:Y,Rencoded:E})},P.prototype.verify=function(I,S,A){I=o(I),S=this.makeSignature(S);var w=this.keyFromPublic(A),R=this.hashInt(S.Rencoded(),w.pubBytes(),I),E=this.g.mul(S.S());return S.R().add(w.pub().mul(R)).eq(E)},P.prototype.hashInt=function(){for(var I=this.hash(),S=0;S<arguments.length;S++)I.update(arguments[S]);return g.intFromLE(I.digest()).umod(this.curve.n)},P.prototype.keyFromPublic=function(I){return C.fromPublic(this,I)},P.prototype.keyFromSecret=function(I){return C.fromSecret(this,I)},P.prototype.makeSignature=function(I){return I instanceof h?I:new h(this,I)},P.prototype.encodePoint=function(I){var S=I.getY().toArray("le",this.encodingLength);return S[this.encodingLength-1]|=I.getX().isOdd()?128:0,S},P.prototype.decodePoint=function(I){var S=(I=g.parseBytes(I)).length-1,A=I.slice(0,S).concat(-129&I[S]),w=0!=(128&I[S]),R=g.intFromLE(A);return this.curve.pointFromY(R,w)},P.prototype.encodeInt=function(I){return I.toArray("le",this.encodingLength)},P.prototype.decodeInt=function(I){return g.intFromLE(I)},P.prototype.isPoint=function(I){return I instanceof this.pointClass}},7535:(ze,K,m)=>{"use strict";var t=m(1970),e=t.assert,g=t.parseBytes,k=t.cachedProperty;function o(C,h){this.eddsa=C,this._secret=g(h.secret),C.isPoint(h.pub)?this._pub=h.pub:this._pubBytes=g(h.pub)}o.fromPublic=function(h,P){return P instanceof o?P:new o(h,{pub:P})},o.fromSecret=function(h,P){return P instanceof o?P:new o(h,{secret:P})},o.prototype.secret=function(){return this._secret},k(o,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),k(o,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),k(o,"privBytes",function(){var h=this.eddsa,P=this.hash(),u=h.encodingLength-1,I=P.slice(0,h.encodingLength);return I[0]&=248,I[u]&=127,I[u]|=64,I}),k(o,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),k(o,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),k(o,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),o.prototype.sign=function(h){return e(this._secret,"KeyPair can only verify"),this.eddsa.sign(h,this)},o.prototype.verify=function(h,P){return this.eddsa.verify(h,P,this)},o.prototype.getSecret=function(h){return e(this._secret,"KeyPair is public only"),t.encode(this.secret(),h)},o.prototype.getPublic=function(h){return t.encode(this.pubBytes(),h)},ze.exports=o},8241:(ze,K,m)=>{"use strict";var t=m(7433),e=m(1970),g=e.assert,k=e.cachedProperty,o=e.parseBytes;function C(h,P){this.eddsa=h,"object"!=typeof P&&(P=o(P)),Array.isArray(P)&&(P={R:P.slice(0,h.encodingLength),S:P.slice(h.encodingLength)}),g(P.R&&P.S,"Signature without R or S"),h.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}k(C,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),k(C,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),k(C,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),k(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()},ze.exports=C},5150:ze=>{ze.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:(ze,K,m)=>{"use strict";var t=K,e=m(7433),g=m(2391),k=m(8195);t.assert=g,t.toArray=k.toArray,t.zero2=k.zero2,t.toHex=k.toHex,t.encode=k.encode,t.getNAF=function o(I,S,A){var w=new Array(Math.max(I.bitLength(),A)+1);w.fill(0);for(var R=1<<S+1,E=I.clone(),U=0;U<w.length;U++){var Y,Q=E.andln(R-1);E.isOdd()?E.isubn(Y=Q>(R>>1)-1?(R>>1)-Q:Q):Y=0,w[U]=Y,E.iushrn(1)}return w},t.getJSF=function C(I,S){var A=[[],[]];I=I.clone(),S=S.clone();for(var E,w=0,R=0;I.cmpn(-w)>0||S.cmpn(-R)>0;){var Q,X,U=I.andln(3)+w&3,Y=S.andln(3)+R&3;3===U&&(U=-1),3===Y&&(Y=-1),Q=0==(1&U)?0:3!=(E=I.andln(7)+w&7)&&5!==E||2!==Y?U:-U,A[0].push(Q),X=0==(1&Y)?0:3!=(E=S.andln(7)+R&7)&&5!==E||2!==U?Y:-Y,A[1].push(X),2*w===Q+1&&(w=1-w),2*R===X+1&&(R=1-R),I.iushrn(1),S.iushrn(1)}return A},t.cachedProperty=function h(I,S,A){var w="_"+S;I.prototype[S]=function(){return void 0!==this[w]?this[w]:this[w]=A.call(this)}},t.parseBytes=function P(I){return"string"==typeof I?t.toArray(I,"hex"):I},t.intFromLE=function u(I){return new e(I,"hex","le")}},7433:function(ze,K,m){!function(t,e){"use strict";function g(L,i){if(!L)throw new Error(i||"Assertion failed")}function k(L,i){L.super_=i;var r=function(){};r.prototype=i.prototype,L.prototype=new r,L.prototype.constructor=L}function o(L,i,r){if(o.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,null!==L&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(L||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 h(L,i){var r=L.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function P(L,i,r){var d=h(L,r);return r-1>=i&&(d|=h(L,r-1)<<4),d}function u(L,i,r,d){for(var c=0,b=Math.min(L.length,r),T=i;T<b;T++){var N=L.charCodeAt(T)-48;c*=d,c+=N>=49?N-49+10:N>=17?N-17+10:N}return c}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,d){if("number"==typeof i)return this._initNumber(i,r,d);if("object"==typeof i)return this._initArray(i,r,d);"hex"===r&&(r=16),g(r===(0|r)&&r>=2&&r<=36);var c=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(c++,this.negative=1),c<i.length&&(16===r?this._parseHex(i,c,d):(this._parseBase(i,r,c),"le"===d&&this._initArray(this.toArray(),r,d)))},o.prototype._initNumber=function(i,r,d){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):(g(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===d&&this._initArray(this.toArray(),r,d)},o.prototype._initArray=function(i,r,d){if(g("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 c=0;c<this.length;c++)this.words[c]=0;var b,T,N=0;if("be"===d)for(c=i.length-1,b=0;c>=0;c-=3)this.words[b]|=(T=i[c]|i[c-1]<<8|i[c-2]<<16)<<N&67108863,this.words[b+1]=T>>>26-N&67108863,(N+=24)>=26&&(N-=26,b++);else if("le"===d)for(c=0,b=0;c<i.length;c+=3)this.words[b]|=(T=i[c]|i[c+1]<<8|i[c+2]<<16)<<N&67108863,this.words[b+1]=T>>>26-N&67108863,(N+=24)>=26&&(N-=26,b++);return this.strip()},o.prototype._parseHex=function(i,r,d){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var N,b=0,T=0;if("be"===d)for(c=i.length-1;c>=r;c-=2)N=P(i,r,c)<<b,this.words[T]|=67108863&N,b>=18?(b-=18,this.words[T+=1]|=N>>>26):b+=8;else for(c=(i.length-r)%2==0?r+1:r;c<i.length;c+=2)N=P(i,r,c)<<b,this.words[T]|=67108863&N,b>=18?(b-=18,this.words[T+=1]|=N>>>26):b+=8;this.strip()},o.prototype._parseBase=function(i,r,d){this.words=[0],this.length=1;for(var c=0,b=1;b<=67108863;b*=r)c++;c--,b=b/r|0;for(var T=i.length-d,N=T%c,v=Math.min(T,T-N)+d,n=0,y=d;y<v;y+=c)n=u(i,y,y+c,r),this.imuln(b),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==N){var B=1;for(n=u(i,y,i.length,r),y=0;y<N;y++)B*=r;this.imuln(B),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 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"],S=[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],A=[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 R(L,i,r){r.negative=i.negative^L.negative;var d=L.length+i.length|0;r.length=d,d=d-1|0;var c=0|L.words[0],b=0|i.words[0],T=c*b,v=T/67108864|0;r.words[0]=67108863&T;for(var n=1;n<d;n++){for(var y=v>>>26,B=67108863&v,z=Math.min(n,i.length-1),W=Math.max(0,n-L.length+1);W<=z;W++)y+=(T=(c=0|L.words[n-W|0])*(b=0|i.words[W])+B)/67108864|0,B=67108863&T;r.words[n]=0|B,v=0|y}return 0!==v?r.words[n]=0|v:r.length--,r.strip()}o.prototype.toString=function(i,r){var d;if(r=0|r||1,16===(i=i||10)||"hex"===i){d="";for(var c=0,b=0,T=0;T<this.length;T++){var N=this.words[T],v=(16777215&(N<<c|b)).toString(16);d=0!=(b=N>>>24-c&16777215)||T!==this.length-1?I[6-v.length]+v+d:v+d,(c+=2)>=26&&(c-=26,T--)}for(0!==b&&(d=b.toString(16)+d);d.length%r!=0;)d="0"+d;return 0!==this.negative&&(d="-"+d),d}if(i===(0|i)&&i>=2&&i<=36){var n=S[i],y=A[i];d="";var B=this.clone();for(B.negative=0;!B.isZero();){var z=B.modn(y).toString(i);d=(B=B.idivn(y)).isZero()?z+d:I[n-z.length]+z+d}for(this.isZero()&&(d="0"+d);d.length%r!=0;)d="0"+d;return 0!==this.negative&&(d="-"+d),d}g(!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&&g(!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 g(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,d){var c=this.byteLength(),b=d||Math.max(1,c);g(c<=b,"byte array longer than desired length"),g(b>0,"Requested array length <= 0"),this.strip();var v,n,T="le"===r,N=new i(b),y=this.clone();if(T){for(n=0;!y.isZero();n++)v=y.andln(255),y.iushrn(8),N[n]=v;for(;n<b;n++)N[n]=0}else{for(n=0;n<b-c;n++)N[n]=0;for(n=0;!y.isZero();n++)v=y.andln(255),y.iushrn(8),N[b-n-1]=v}return N},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,d=0;return r>=4096&&(d+=13,r>>>=13),r>=64&&(d+=7,r>>>=7),r>=8&&(d+=4,r>>>=4),r>=2&&(d+=2,r>>>=2),d+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,d=0;return 0==(8191&r)&&(d+=13,r>>>=13),0==(127&r)&&(d+=7,r>>>=7),0==(15&r)&&(d+=4,r>>>=4),0==(3&r)&&(d+=2,r>>>=2),0==(1&r)&&d++,d},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 d=this._zeroBits(this.words[r]);if(i+=d,26!==d)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 g(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 d=0;d<r.length;d++)this.words[d]=this.words[d]&i.words[d];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return g(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,d;this.length>i.length?(r=this,d=i):(r=i,d=this);for(var c=0;c<d.length;c++)this.words[c]=r.words[c]^d.words[c];if(this!==r)for(;c<r.length;c++)this.words[c]=r.words[c];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return g(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){g("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),d=i%26;this._expand(r),d>0&&r--;for(var c=0;c<r;c++)this.words[c]=67108863&~this.words[c];return d>0&&(this.words[c]=~this.words[c]&67108863>>26-d),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){g("number"==typeof i&&i>=0);var d=i/26|0,c=i%26;return this._expand(d+1),this.words[d]=r?this.words[d]|1<<c:this.words[d]&~(1<<c),this.strip()},o.prototype.iadd=function(i){var r,d,c;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?(d=this,c=i):(d=i,c=this);for(var b=0,T=0;T<c.length;T++)this.words[T]=67108863&(r=(0|d.words[T])+(0|c.words[T])+b),b=r>>>26;for(;0!==b&&T<d.length;T++)this.words[T]=67108863&(r=(0|d.words[T])+b),b=r>>>26;if(this.length=d.length,0!==b)this.words[this.length]=b,this.length++;else if(d!==this)for(;T<d.length;T++)this.words[T]=d.words[T];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 c,b,d=this.cmp(i);if(0===d)return this.negative=0,this.length=1,this.words[0]=0,this;d>0?(c=this,b=i):(c=i,b=this);for(var T=0,N=0;N<b.length;N++)T=(r=(0|c.words[N])-(0|b.words[N])+T)>>26,this.words[N]=67108863&r;for(;0!==T&&N<c.length;N++)T=(r=(0|c.words[N])+T)>>26,this.words[N]=67108863&r;if(0===T&&N<c.length&&c!==this)for(;N<c.length;N++)this.words[N]=c.words[N];return this.length=Math.max(this.length,N),c!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var E=function(i,r,d){var v,n,y,c=i.words,b=r.words,T=d.words,N=0,B=0|c[0],z=8191&B,W=B>>>13,Le=0|c[1],Ve=8191&Le,Ke=Le>>>13,$e=0|c[2],Ae=8191&$e,ue=$e>>>13,ye=0|c[3],we=8191&ye,he=ye>>>13,it=0|c[4],De=8191&it,oe=it>>>13,me=0|c[5],te=8191&me,Ze=me>>>13,Ue=0|c[6],q=8191&Ue,de=Ue>>>13,Ee=0|c[7],ke=8191&Ee,ie=Ee>>>13,nt=0|c[8],Ct=8191&nt,rt=nt>>>13,Xt=0|c[9],gt=8191&Xt,mt=Xt>>>13,St=0|b[0],Ie=8191&St,He=St>>>13,xt=0|b[1],Pe=8191&xt,et=xt>>>13,Vt=0|b[2],Lt=8191&Vt,Ft=Vt>>>13,bt=0|b[3],Ce=8191&bt,J=bt>>>13,ve=0|b[4],Ne=8191&ve,st=ve>>>13,ni=0|b[5],Ut=8191&ni,ti=ni>>>13,dt=0|b[6],at=8191&dt,_t=dt>>>13,ai=0|b[7],Bt=8191&ai,zt=ai>>>13,Nt=0|b[8],je=8191&Nt,Fe=Nt>>>13,Ye=0|b[9],qe=8191&Ye,Tt=Ye>>>13;d.negative=i.negative^r.negative,d.length=19;var mi=(N+(v=Math.imul(z,Ie))|0)+((8191&(n=(n=Math.imul(z,He))+Math.imul(W,Ie)|0))<<13)|0;N=((y=Math.imul(W,He))+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,v=Math.imul(Ve,Ie),n=(n=Math.imul(Ve,He))+Math.imul(Ke,Ie)|0,y=Math.imul(Ke,He);var Ti=(N+(v=v+Math.imul(z,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(z,et)|0)+Math.imul(W,Pe)|0))<<13)|0;N=((y=y+Math.imul(W,et)|0)+(n>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,v=Math.imul(Ae,Ie),n=(n=Math.imul(Ae,He))+Math.imul(ue,Ie)|0,y=Math.imul(ue,He),v=v+Math.imul(Ve,Pe)|0,n=(n=n+Math.imul(Ve,et)|0)+Math.imul(Ke,Pe)|0,y=y+Math.imul(Ke,et)|0;var xi=(N+(v=v+Math.imul(z,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ft)|0)+Math.imul(W,Lt)|0))<<13)|0;N=((y=y+Math.imul(W,Ft)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(we,Ie),n=(n=Math.imul(we,He))+Math.imul(he,Ie)|0,y=Math.imul(he,He),v=v+Math.imul(Ae,Pe)|0,n=(n=n+Math.imul(Ae,et)|0)+Math.imul(ue,Pe)|0,y=y+Math.imul(ue,et)|0,v=v+Math.imul(Ve,Lt)|0,n=(n=n+Math.imul(Ve,Ft)|0)+Math.imul(Ke,Lt)|0,y=y+Math.imul(Ke,Ft)|0;var Fi=(N+(v=v+Math.imul(z,Ce)|0)|0)+((8191&(n=(n=n+Math.imul(z,J)|0)+Math.imul(W,Ce)|0))<<13)|0;N=((y=y+Math.imul(W,J)|0)+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,v=Math.imul(De,Ie),n=(n=Math.imul(De,He))+Math.imul(oe,Ie)|0,y=Math.imul(oe,He),v=v+Math.imul(we,Pe)|0,n=(n=n+Math.imul(we,et)|0)+Math.imul(he,Pe)|0,y=y+Math.imul(he,et)|0,v=v+Math.imul(Ae,Lt)|0,n=(n=n+Math.imul(Ae,Ft)|0)+Math.imul(ue,Lt)|0,y=y+Math.imul(ue,Ft)|0,v=v+Math.imul(Ve,Ce)|0,n=(n=n+Math.imul(Ve,J)|0)+Math.imul(Ke,Ce)|0,y=y+Math.imul(Ke,J)|0;var Je=(N+(v=v+Math.imul(z,Ne)|0)|0)+((8191&(n=(n=n+Math.imul(z,st)|0)+Math.imul(W,Ne)|0))<<13)|0;N=((y=y+Math.imul(W,st)|0)+(n>>>13)|0)+(Je>>>26)|0,Je&=67108863,v=Math.imul(te,Ie),n=(n=Math.imul(te,He))+Math.imul(Ze,Ie)|0,y=Math.imul(Ze,He),v=v+Math.imul(De,Pe)|0,n=(n=n+Math.imul(De,et)|0)+Math.imul(oe,Pe)|0,y=y+Math.imul(oe,et)|0,v=v+Math.imul(we,Lt)|0,n=(n=n+Math.imul(we,Ft)|0)+Math.imul(he,Lt)|0,y=y+Math.imul(he,Ft)|0,v=v+Math.imul(Ae,Ce)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(ue,Ce)|0,y=y+Math.imul(ue,J)|0,v=v+Math.imul(Ve,Ne)|0,n=(n=n+Math.imul(Ve,st)|0)+Math.imul(Ke,Ne)|0,y=y+Math.imul(Ke,st)|0;var wt=(N+(v=v+Math.imul(z,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(z,ti)|0)+Math.imul(W,Ut)|0))<<13)|0;N=((y=y+Math.imul(W,ti)|0)+(n>>>13)|0)+(wt>>>26)|0,wt&=67108863,v=Math.imul(q,Ie),n=(n=Math.imul(q,He))+Math.imul(de,Ie)|0,y=Math.imul(de,He),v=v+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,et)|0)+Math.imul(Ze,Pe)|0,y=y+Math.imul(Ze,et)|0,v=v+Math.imul(De,Lt)|0,n=(n=n+Math.imul(De,Ft)|0)+Math.imul(oe,Lt)|0,y=y+Math.imul(oe,Ft)|0,v=v+Math.imul(we,Ce)|0,n=(n=n+Math.imul(we,J)|0)+Math.imul(he,Ce)|0,y=y+Math.imul(he,J)|0,v=v+Math.imul(Ae,Ne)|0,n=(n=n+Math.imul(Ae,st)|0)+Math.imul(ue,Ne)|0,y=y+Math.imul(ue,st)|0,v=v+Math.imul(Ve,Ut)|0,n=(n=n+Math.imul(Ve,ti)|0)+Math.imul(Ke,Ut)|0,y=y+Math.imul(Ke,ti)|0;var be=(N+(v=v+Math.imul(z,at)|0)|0)+((8191&(n=(n=n+Math.imul(z,_t)|0)+Math.imul(W,at)|0))<<13)|0;N=((y=y+Math.imul(W,_t)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,v=Math.imul(ke,Ie),n=(n=Math.imul(ke,He))+Math.imul(ie,Ie)|0,y=Math.imul(ie,He),v=v+Math.imul(q,Pe)|0,n=(n=n+Math.imul(q,et)|0)+Math.imul(de,Pe)|0,y=y+Math.imul(de,et)|0,v=v+Math.imul(te,Lt)|0,n=(n=n+Math.imul(te,Ft)|0)+Math.imul(Ze,Lt)|0,y=y+Math.imul(Ze,Ft)|0,v=v+Math.imul(De,Ce)|0,n=(n=n+Math.imul(De,J)|0)+Math.imul(oe,Ce)|0,y=y+Math.imul(oe,J)|0,v=v+Math.imul(we,Ne)|0,n=(n=n+Math.imul(we,st)|0)+Math.imul(he,Ne)|0,y=y+Math.imul(he,st)|0,v=v+Math.imul(Ae,Ut)|0,n=(n=n+Math.imul(Ae,ti)|0)+Math.imul(ue,Ut)|0,y=y+Math.imul(ue,ti)|0,v=v+Math.imul(Ve,at)|0,n=(n=n+Math.imul(Ve,_t)|0)+Math.imul(Ke,at)|0,y=y+Math.imul(Ke,_t)|0;var Pt=(N+(v=v+Math.imul(z,Bt)|0)|0)+((8191&(n=(n=n+Math.imul(z,zt)|0)+Math.imul(W,Bt)|0))<<13)|0;N=((y=y+Math.imul(W,zt)|0)+(n>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,v=Math.imul(Ct,Ie),n=(n=Math.imul(Ct,He))+Math.imul(rt,Ie)|0,y=Math.imul(rt,He),v=v+Math.imul(ke,Pe)|0,n=(n=n+Math.imul(ke,et)|0)+Math.imul(ie,Pe)|0,y=y+Math.imul(ie,et)|0,v=v+Math.imul(q,Lt)|0,n=(n=n+Math.imul(q,Ft)|0)+Math.imul(de,Lt)|0,y=y+Math.imul(de,Ft)|0,v=v+Math.imul(te,Ce)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ze,Ce)|0,y=y+Math.imul(Ze,J)|0,v=v+Math.imul(De,Ne)|0,n=(n=n+Math.imul(De,st)|0)+Math.imul(oe,Ne)|0,y=y+Math.imul(oe,st)|0,v=v+Math.imul(we,Ut)|0,n=(n=n+Math.imul(we,ti)|0)+Math.imul(he,Ut)|0,y=y+Math.imul(he,ti)|0,v=v+Math.imul(Ae,at)|0,n=(n=n+Math.imul(Ae,_t)|0)+Math.imul(ue,at)|0,y=y+Math.imul(ue,_t)|0,v=v+Math.imul(Ve,Bt)|0,n=(n=n+Math.imul(Ve,zt)|0)+Math.imul(Ke,Bt)|0,y=y+Math.imul(Ke,zt)|0;var qt=(N+(v=v+Math.imul(z,je)|0)|0)+((8191&(n=(n=n+Math.imul(z,Fe)|0)+Math.imul(W,je)|0))<<13)|0;N=((y=y+Math.imul(W,Fe)|0)+(n>>>13)|0)+(qt>>>26)|0,qt&=67108863,v=Math.imul(gt,Ie),n=(n=Math.imul(gt,He))+Math.imul(mt,Ie)|0,y=Math.imul(mt,He),v=v+Math.imul(Ct,Pe)|0,n=(n=n+Math.imul(Ct,et)|0)+Math.imul(rt,Pe)|0,y=y+Math.imul(rt,et)|0,v=v+Math.imul(ke,Lt)|0,n=(n=n+Math.imul(ke,Ft)|0)+Math.imul(ie,Lt)|0,y=y+Math.imul(ie,Ft)|0,v=v+Math.imul(q,Ce)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,Ce)|0,y=y+Math.imul(de,J)|0,v=v+Math.imul(te,Ne)|0,n=(n=n+Math.imul(te,st)|0)+Math.imul(Ze,Ne)|0,y=y+Math.imul(Ze,st)|0,v=v+Math.imul(De,Ut)|0,n=(n=n+Math.imul(De,ti)|0)+Math.imul(oe,Ut)|0,y=y+Math.imul(oe,ti)|0,v=v+Math.imul(we,at)|0,n=(n=n+Math.imul(we,_t)|0)+Math.imul(he,at)|0,y=y+Math.imul(he,_t)|0,v=v+Math.imul(Ae,Bt)|0,n=(n=n+Math.imul(Ae,zt)|0)+Math.imul(ue,Bt)|0,y=y+Math.imul(ue,zt)|0,v=v+Math.imul(Ve,je)|0,n=(n=n+Math.imul(Ve,Fe)|0)+Math.imul(Ke,je)|0,y=y+Math.imul(Ke,Fe)|0;var gi=(N+(v=v+Math.imul(z,qe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Tt)|0)+Math.imul(W,qe)|0))<<13)|0;N=((y=y+Math.imul(W,Tt)|0)+(n>>>13)|0)+(gi>>>26)|0,gi&=67108863,v=Math.imul(gt,Pe),n=(n=Math.imul(gt,et))+Math.imul(mt,Pe)|0,y=Math.imul(mt,et),v=v+Math.imul(Ct,Lt)|0,n=(n=n+Math.imul(Ct,Ft)|0)+Math.imul(rt,Lt)|0,y=y+Math.imul(rt,Ft)|0,v=v+Math.imul(ke,Ce)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ie,Ce)|0,y=y+Math.imul(ie,J)|0,v=v+Math.imul(q,Ne)|0,n=(n=n+Math.imul(q,st)|0)+Math.imul(de,Ne)|0,y=y+Math.imul(de,st)|0,v=v+Math.imul(te,Ut)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ze,Ut)|0,y=y+Math.imul(Ze,ti)|0,v=v+Math.imul(De,at)|0,n=(n=n+Math.imul(De,_t)|0)+Math.imul(oe,at)|0,y=y+Math.imul(oe,_t)|0,v=v+Math.imul(we,Bt)|0,n=(n=n+Math.imul(we,zt)|0)+Math.imul(he,Bt)|0,y=y+Math.imul(he,zt)|0,v=v+Math.imul(Ae,je)|0,n=(n=n+Math.imul(Ae,Fe)|0)+Math.imul(ue,je)|0,y=y+Math.imul(ue,Fe)|0;var Si=(N+(v=v+Math.imul(Ve,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ve,Tt)|0)+Math.imul(Ke,qe)|0))<<13)|0;N=((y=y+Math.imul(Ke,Tt)|0)+(n>>>13)|0)+(Si>>>26)|0,Si&=67108863,v=Math.imul(gt,Lt),n=(n=Math.imul(gt,Ft))+Math.imul(mt,Lt)|0,y=Math.imul(mt,Ft),v=v+Math.imul(Ct,Ce)|0,n=(n=n+Math.imul(Ct,J)|0)+Math.imul(rt,Ce)|0,y=y+Math.imul(rt,J)|0,v=v+Math.imul(ke,Ne)|0,n=(n=n+Math.imul(ke,st)|0)+Math.imul(ie,Ne)|0,y=y+Math.imul(ie,st)|0,v=v+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,ti)|0)+Math.imul(de,Ut)|0,y=y+Math.imul(de,ti)|0,v=v+Math.imul(te,at)|0,n=(n=n+Math.imul(te,_t)|0)+Math.imul(Ze,at)|0,y=y+Math.imul(Ze,_t)|0,v=v+Math.imul(De,Bt)|0,n=(n=n+Math.imul(De,zt)|0)+Math.imul(oe,Bt)|0,y=y+Math.imul(oe,zt)|0,v=v+Math.imul(we,je)|0,n=(n=n+Math.imul(we,Fe)|0)+Math.imul(he,je)|0,y=y+Math.imul(he,Fe)|0;var ki=(N+(v=v+Math.imul(Ae,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Tt)|0)+Math.imul(ue,qe)|0))<<13)|0;N=((y=y+Math.imul(ue,Tt)|0)+(n>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(gt,Ce),n=(n=Math.imul(gt,J))+Math.imul(mt,Ce)|0,y=Math.imul(mt,J),v=v+Math.imul(Ct,Ne)|0,n=(n=n+Math.imul(Ct,st)|0)+Math.imul(rt,Ne)|0,y=y+Math.imul(rt,st)|0,v=v+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,ti)|0)+Math.imul(ie,Ut)|0,y=y+Math.imul(ie,ti)|0,v=v+Math.imul(q,at)|0,n=(n=n+Math.imul(q,_t)|0)+Math.imul(de,at)|0,y=y+Math.imul(de,_t)|0,v=v+Math.imul(te,Bt)|0,n=(n=n+Math.imul(te,zt)|0)+Math.imul(Ze,Bt)|0,y=y+Math.imul(Ze,zt)|0,v=v+Math.imul(De,je)|0,n=(n=n+Math.imul(De,Fe)|0)+Math.imul(oe,je)|0,y=y+Math.imul(oe,Fe)|0;var Gi=(N+(v=v+Math.imul(we,qe)|0)|0)+((8191&(n=(n=n+Math.imul(we,Tt)|0)+Math.imul(he,qe)|0))<<13)|0;N=((y=y+Math.imul(he,Tt)|0)+(n>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,v=Math.imul(gt,Ne),n=(n=Math.imul(gt,st))+Math.imul(mt,Ne)|0,y=Math.imul(mt,st),v=v+Math.imul(Ct,Ut)|0,n=(n=n+Math.imul(Ct,ti)|0)+Math.imul(rt,Ut)|0,y=y+Math.imul(rt,ti)|0,v=v+Math.imul(ke,at)|0,n=(n=n+Math.imul(ke,_t)|0)+Math.imul(ie,at)|0,y=y+Math.imul(ie,_t)|0,v=v+Math.imul(q,Bt)|0,n=(n=n+Math.imul(q,zt)|0)+Math.imul(de,Bt)|0,y=y+Math.imul(de,zt)|0,v=v+Math.imul(te,je)|0,n=(n=n+Math.imul(te,Fe)|0)+Math.imul(Ze,je)|0,y=y+Math.imul(Ze,Fe)|0;var Gt=(N+(v=v+Math.imul(De,qe)|0)|0)+((8191&(n=(n=n+Math.imul(De,Tt)|0)+Math.imul(oe,qe)|0))<<13)|0;N=((y=y+Math.imul(oe,Tt)|0)+(n>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,v=Math.imul(gt,Ut),n=(n=Math.imul(gt,ti))+Math.imul(mt,Ut)|0,y=Math.imul(mt,ti),v=v+Math.imul(Ct,at)|0,n=(n=n+Math.imul(Ct,_t)|0)+Math.imul(rt,at)|0,y=y+Math.imul(rt,_t)|0,v=v+Math.imul(ke,Bt)|0,n=(n=n+Math.imul(ke,zt)|0)+Math.imul(ie,Bt)|0,y=y+Math.imul(ie,zt)|0,v=v+Math.imul(q,je)|0,n=(n=n+Math.imul(q,Fe)|0)+Math.imul(de,je)|0,y=y+Math.imul(de,Fe)|0;var di=(N+(v=v+Math.imul(te,qe)|0)|0)+((8191&(n=(n=n+Math.imul(te,Tt)|0)+Math.imul(Ze,qe)|0))<<13)|0;N=((y=y+Math.imul(Ze,Tt)|0)+(n>>>13)|0)+(di>>>26)|0,di&=67108863,v=Math.imul(gt,at),n=(n=Math.imul(gt,_t))+Math.imul(mt,at)|0,y=Math.imul(mt,_t),v=v+Math.imul(Ct,Bt)|0,n=(n=n+Math.imul(Ct,zt)|0)+Math.imul(rt,Bt)|0,y=y+Math.imul(rt,zt)|0,v=v+Math.imul(ke,je)|0,n=(n=n+Math.imul(ke,Fe)|0)+Math.imul(ie,je)|0,y=y+Math.imul(ie,Fe)|0;var ge=(N+(v=v+Math.imul(q,qe)|0)|0)+((8191&(n=(n=n+Math.imul(q,Tt)|0)+Math.imul(de,qe)|0))<<13)|0;N=((y=y+Math.imul(de,Tt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,v=Math.imul(gt,Bt),n=(n=Math.imul(gt,zt))+Math.imul(mt,Bt)|0,y=Math.imul(mt,zt),v=v+Math.imul(Ct,je)|0,n=(n=n+Math.imul(Ct,Fe)|0)+Math.imul(rt,je)|0,y=y+Math.imul(rt,Fe)|0;var Xe=(N+(v=v+Math.imul(ke,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Tt)|0)+Math.imul(ie,qe)|0))<<13)|0;N=((y=y+Math.imul(ie,Tt)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,v=Math.imul(gt,je),n=(n=Math.imul(gt,Fe))+Math.imul(mt,je)|0,y=Math.imul(mt,Fe);var Et=(N+(v=v+Math.imul(Ct,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ct,Tt)|0)+Math.imul(rt,qe)|0))<<13)|0;N=((y=y+Math.imul(rt,Tt)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863;var jt=(N+(v=Math.imul(gt,qe))|0)+((8191&(n=(n=Math.imul(gt,Tt))+Math.imul(mt,qe)|0))<<13)|0;return N=((y=Math.imul(mt,Tt))+(n>>>13)|0)+(jt>>>26)|0,jt&=67108863,T[0]=mi,T[1]=Ti,T[2]=xi,T[3]=Fi,T[4]=Je,T[5]=wt,T[6]=be,T[7]=Pt,T[8]=qt,T[9]=gi,T[10]=Si,T[11]=ki,T[12]=Gi,T[13]=Gt,T[14]=di,T[15]=ge,T[16]=Xe,T[17]=Et,T[18]=jt,0!==N&&(T[19]=N,d.length++),d};function Y(L,i,r){return(new Q).mulp(L,i,r)}function Q(L,i){this.x=L,this.y=i}Math.imul||(E=R),o.prototype.mulTo=function(i,r){var d,c=this.length+i.length;return d=10===this.length&&10===i.length?E(this,i,r):c<63?R(this,i,r):c<1024?function U(L,i,r){r.negative=i.negative^L.negative,r.length=L.length+i.length;for(var d=0,c=0,b=0;b<r.length-1;b++){var T=c;c=0;for(var N=67108863&d,v=Math.min(b,i.length-1),n=Math.max(0,b-L.length+1);n<=v;n++){var W=(0|L.words[b-n])*(0|i.words[n]),Le=67108863&W;N=67108863&(Le=Le+N|0),c+=(T=(T=T+(W/67108864|0)|0)+(Le>>>26)|0)>>>26,T&=67108863}r.words[b]=N,d=T,T=c}return 0!==d?r.words[b]=d:r.length--,r.strip()}(this,i,r):Y(this,i,r),d},Q.prototype.makeRBT=function(i){for(var r=new Array(i),d=o.prototype._countBits(i)-1,c=0;c<i;c++)r[c]=this.revBin(c,d,i);return r},Q.prototype.revBin=function(i,r,d){if(0===i||i===d-1)return i;for(var c=0,b=0;b<r;b++)c|=(1&i)<<r-b-1,i>>=1;return c},Q.prototype.permute=function(i,r,d,c,b,T){for(var N=0;N<T;N++)c[N]=r[i[N]],b[N]=d[i[N]]},Q.prototype.transform=function(i,r,d,c,b,T){this.permute(T,i,r,d,c,b);for(var N=1;N<b;N<<=1)for(var v=N<<1,n=Math.cos(2*Math.PI/v),y=Math.sin(2*Math.PI/v),B=0;B<b;B+=v)for(var z=n,W=y,Le=0;Le<N;Le++){var Ve=d[B+Le],Ke=c[B+Le],$e=d[B+Le+N],Ae=c[B+Le+N],ue=z*$e-W*Ae;Ae=z*Ae+W*$e,d[B+Le]=Ve+($e=ue),c[B+Le]=Ke+Ae,d[B+Le+N]=Ve-$e,c[B+Le+N]=Ke-Ae,Le!==v&&(ue=n*z-y*W,W=n*W+y*z,z=ue)}},Q.prototype.guessLen13b=function(i,r){var d=1|Math.max(r,i),c=1&d,b=0;for(d=d/2|0;d;d>>>=1)b++;return 1<<b+1+c},Q.prototype.conjugate=function(i,r,d){if(!(d<=1))for(var c=0;c<d/2;c++){var b=i[c];i[c]=i[d-c-1],i[d-c-1]=b,b=r[c],r[c]=-r[d-c-1],r[d-c-1]=-b}},Q.prototype.normalize13b=function(i,r){for(var d=0,c=0;c<r/2;c++){var b=8192*Math.round(i[2*c+1]/r)+Math.round(i[2*c]/r)+d;i[c]=67108863&b,d=b<67108864?0:b/67108864|0}return i},Q.prototype.convert13b=function(i,r,d,c){for(var b=0,T=0;T<r;T++)d[2*T]=8191&(b+=0|i[T]),d[2*T+1]=8191&(b>>>=13),b>>>=13;for(T=2*r;T<c;++T)d[T]=0;g(0===b),g(0==(-8192&b))},Q.prototype.stub=function(i){for(var r=new Array(i),d=0;d<i;d++)r[d]=0;return r},Q.prototype.mulp=function(i,r,d){var c=2*this.guessLen13b(i.length,r.length),b=this.makeRBT(c),T=this.stub(c),N=new Array(c),v=new Array(c),n=new Array(c),y=new Array(c),B=new Array(c),z=new Array(c),W=d.words;W.length=c,this.convert13b(i.words,i.length,N,c),this.convert13b(r.words,r.length,y,c),this.transform(N,T,v,n,c,b),this.transform(y,T,B,z,c,b);for(var Le=0;Le<c;Le++){var Ve=v[Le]*B[Le]-n[Le]*z[Le];n[Le]=v[Le]*z[Le]+n[Le]*B[Le],v[Le]=Ve}return this.conjugate(v,n,c),this.transform(v,n,W,T,c,b),this.conjugate(W,T,c),this.normalize13b(W,c),d.negative=i.negative^r.negative,d.length=i.length+r.length,d.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),Y(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var r=0,d=0;d<this.length;d++){var c=(0|this.words[d])*i,b=(67108863&c)+(67108863&r);r>>=26,r+=c/67108864|0,r+=b>>>26,this.words[d]=67108863&b}return 0!==r&&(this.words[d]=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 w(L){for(var i=new Array(L.bitLength()),r=0;r<i.length;r++){var c=r%26;i[r]=(L.words[r/26|0]&1<<c)>>>c}return i}(i);if(0===r.length)return new o(1);for(var d=this,c=0;c<r.length&&0===r[c];c++,d=d.sqr());if(++c<r.length)for(var b=d.sqr();c<r.length;c++,b=b.sqr())0!==r[c]&&(d=d.mul(b));return d},o.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var b,r=i%26,d=(i-r)/26,c=67108863>>>26-r<<26-r;if(0!==r){var T=0;for(b=0;b<this.length;b++){var N=this.words[b]&c;this.words[b]=(0|this.words[b])-N<<r|T,T=N>>>26-r}T&&(this.words[b]=T,this.length++)}if(0!==d){for(b=this.length-1;b>=0;b--)this.words[b+d]=this.words[b];for(b=0;b<d;b++)this.words[b]=0;this.length+=d}return this.strip()},o.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,d){var c;g("number"==typeof i&&i>=0),c=r?(r-r%26)/26:0;var b=i%26,T=Math.min((i-b)/26,this.length),N=67108863^67108863>>>b<<b,v=d;if(c-=T,c=Math.max(0,c),v){for(var n=0;n<T;n++)v.words[n]=this.words[n];v.length=T}if(0!==T)if(this.length>T)for(this.length-=T,n=0;n<this.length;n++)this.words[n]=this.words[n+T];else this.words[0]=0,this.length=1;var y=0;for(n=this.length-1;n>=0&&(0!==y||n>=c);n--){var B=0|this.words[n];this.words[n]=y<<26-b|B>>>b,y=B&N}return v&&0!==y&&(v.words[v.length++]=y),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,d){return g(0===this.negative),this.iushrn(i,r,d)},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){g("number"==typeof i&&i>=0);var r=i%26,d=(i-r)/26;return!(this.length<=d||!(this.words[d]&1<<r))},o.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var r=i%26,d=(i-r)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=d?this:(0!==r&&d++,this.length=Math.min(d,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 g("number"==typeof i),g(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(g("number"==typeof i),g(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,d){var b;this._expand(i.length+d);var T,N=0;for(b=0;b<i.length;b++){T=(0|this.words[b+d])+N;var v=(0|i.words[b])*r;N=((T-=67108863&v)>>26)-(v/67108864|0),this.words[b+d]=67108863&T}for(;b<this.length-d;b++)N=(T=(0|this.words[b+d])+N)>>26,this.words[b+d]=67108863&T;if(0===N)return this.strip();for(g(-1===N),N=0,b=0;b<this.length;b++)N=(T=-(0|this.words[b])+N)>>26,this.words[b]=67108863&T;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var d,c=this.clone(),b=i,T=0|b.words[b.length-1];0!=(d=26-this._countBits(T))&&(b=b.ushln(d),c.iushln(d),T=0|b.words[b.length-1]);var n,v=c.length-b.length;if("mod"!==r){(n=new o(null)).length=v+1,n.words=new Array(n.length);for(var y=0;y<n.length;y++)n.words[y]=0}var B=c.clone()._ishlnsubmul(b,1,v);0===B.negative&&(c=B,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var W=67108864*(0|c.words[b.length+z])+(0|c.words[b.length+z-1]);for(W=Math.min(W/T|0,67108863),c._ishlnsubmul(b,W,z);0!==c.negative;)W--,c.negative=0,c._ishlnsubmul(b,1,z),c.isZero()||(c.negative^=1);n&&(n.words[z]=W)}return n&&n.strip(),c.strip(),"div"!==r&&0!==d&&c.iushrn(d),{div:n||null,mod:c}},o.prototype.divmod=function(i,r,d){return g(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(T=this.neg().divmod(i,r),"mod"!==r&&(c=T.div.neg()),"div"!==r&&(b=T.mod.neg(),d&&0!==b.negative&&b.iadd(i)),{div:c,mod:b}):0===this.negative&&0!==i.negative?(T=this.divmod(i.neg(),r),"mod"!==r&&(c=T.div.neg()),{div:c,mod:T.mod}):0!=(this.negative&i.negative)?(T=this.neg().divmod(i.neg(),r),"div"!==r&&(b=T.mod.neg(),d&&0!==b.negative&&b.isub(i)),{div:T.div,mod:b}):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 c,b,T},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 d=0!==r.div.negative?r.mod.isub(i):r.mod,c=i.ushrn(1),b=i.andln(1),T=d.cmp(c);return T<0||1===b&&0===T?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){g(i<=67108863);for(var r=(1<<26)%i,d=0,c=this.length-1;c>=0;c--)d=(r*d+(0|this.words[c]))%i;return d},o.prototype.idivn=function(i){g(i<=67108863);for(var r=0,d=this.length-1;d>=0;d--){var c=(0|this.words[d])+67108864*r;this.words[d]=c/i|0,r=c%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var r=this,d=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),b=new o(0),T=new o(0),N=new o(1),v=0;r.isEven()&&d.isEven();)r.iushrn(1),d.iushrn(1),++v;for(var n=d.clone(),y=r.clone();!r.isZero();){for(var B=0,z=1;0==(r.words[0]&z)&&B<26;++B,z<<=1);if(B>0)for(r.iushrn(B);B-- >0;)(c.isOdd()||b.isOdd())&&(c.iadd(n),b.isub(y)),c.iushrn(1),b.iushrn(1);for(var W=0,Le=1;0==(d.words[0]&Le)&&W<26;++W,Le<<=1);if(W>0)for(d.iushrn(W);W-- >0;)(T.isOdd()||N.isOdd())&&(T.iadd(n),N.isub(y)),T.iushrn(1),N.iushrn(1);r.cmp(d)>=0?(r.isub(d),c.isub(T),b.isub(N)):(d.isub(r),T.isub(c),N.isub(b))}return{a:T,b:N,gcd:d.iushln(v)}},o.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var B,r=this,d=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),b=new o(0),T=d.clone();r.cmpn(1)>0&&d.cmpn(1)>0;){for(var N=0,v=1;0==(r.words[0]&v)&&N<26;++N,v<<=1);if(N>0)for(r.iushrn(N);N-- >0;)c.isOdd()&&c.iadd(T),c.iushrn(1);for(var n=0,y=1;0==(d.words[0]&y)&&n<26;++n,y<<=1);if(n>0)for(d.iushrn(n);n-- >0;)b.isOdd()&&b.iadd(T),b.iushrn(1);r.cmp(d)>=0?(r.isub(d),c.isub(b)):(d.isub(r),b.isub(c))}return(B=0===r.cmpn(1)?c:b).cmpn(0)<0&&B.iadd(i),B},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),d=i.clone();r.negative=0,d.negative=0;for(var c=0;r.isEven()&&d.isEven();c++)r.iushrn(1),d.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;d.isEven();)d.iushrn(1);var b=r.cmp(d);if(b<0){var T=r;r=d,d=T}else if(0===b||0===d.cmpn(1))break;r.isub(d)}return d.iushln(c)},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){g("number"==typeof i);var r=i%26,d=(i-r)/26,c=1<<r;if(this.length<=d)return this._expand(d+1),this.words[d]|=c,this;for(var b=c,T=d;0!==b&&T<this.length;T++){var N=0|this.words[T];b=(N+=b)>>>26,this.words[T]=N&=67108863}return 0!==b&&(this.words[T]=b,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var d,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)d=1;else{r&&(i=-i),g(i<=67108863,"Number is too big");var c=0|this.words[0];d=c===i?0:c<i?-1:1}return 0!==this.negative?0|-d:d},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,d=this.length-1;d>=0;d--){var c=0|this.words[d],b=0|i.words[d];if(c!==b){c<b?r=-1:c>b&&(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 se(i)},o.prototype.toRed=function(i){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return g(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 g(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return g(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 $(L,i){this.name=L,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 fe(){$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function re(){$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ee(){$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(L){if("string"==typeof L){var i=o._prime(L);this.m=i.p,this.prime=i}else g(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}function le(L){se.call(this,L),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)}$.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},$.prototype.ireduce=function(i){var d,r=i;do{this.split(r,this.tmp),d=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(d>this.n);var c=d<this.n?-1:r.ucmp(this.p);return 0===c?(r.words[0]=0,r.length=1):c>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},$.prototype.split=function(i,r){i.iushrn(this.n,0,r)},$.prototype.imulK=function(i){return i.imul(this.k)},k(fe,$),fe.prototype.split=function(i,r){for(var d=4194303,c=Math.min(i.length,9),b=0;b<c;b++)r.words[b]=i.words[b];if(r.length=c,i.length<=9)return i.words[0]=0,void(i.length=1);var T=i.words[9];for(r.words[r.length++]=T&d,b=10;b<i.length;b++){var N=0|i.words[b];i.words[b-10]=(N&d)<<4|T>>>22,T=N}i.words[b-10]=T>>>=22,i.length-=0===T&&i.length>10?10:9},fe.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,d=0;d<i.length;d++){var c=0|i.words[d];i.words[d]=67108863&(r+=977*c),r=64*c+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},k(re,$),k(ee,$),k(ce,$),ce.prototype.imulK=function(i){for(var r=0,d=0;d<i.length;d++){var c=19*(0|i.words[d])+r,b=67108863&c;c>>>=26,i.words[d]=b,r=c}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 fe;else if("p224"===i)r=new re;else if("p192"===i)r=new ee;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},se.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},se.prototype._verify2=function(i,r){g(0==(i.negative|r.negative),"red works only with positives"),g(i.red&&i.red===r.red,"red works only with red numbers")},se.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},se.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},se.prototype.add=function(i,r){this._verify2(i,r);var d=i.add(r);return d.cmp(this.m)>=0&&d.isub(this.m),d._forceRed(this)},se.prototype.iadd=function(i,r){this._verify2(i,r);var d=i.iadd(r);return d.cmp(this.m)>=0&&d.isub(this.m),d},se.prototype.sub=function(i,r){this._verify2(i,r);var d=i.sub(r);return d.cmpn(0)<0&&d.iadd(this.m),d._forceRed(this)},se.prototype.isub=function(i,r){this._verify2(i,r);var d=i.isub(r);return d.cmpn(0)<0&&d.iadd(this.m),d},se.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},se.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},se.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},se.prototype.isqr=function(i){return this.imul(i,i.clone())},se.prototype.sqr=function(i){return this.mul(i,i)},se.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(g(r%2==1),3===r){var d=this.m.add(new o(1)).iushrn(2);return this.pow(i,d)}for(var c=this.m.subn(1),b=0;!c.isZero()&&0===c.andln(1);)b++,c.iushrn(1);g(!c.isZero());var T=new o(1).toRed(this),N=T.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,v).cmp(N);)n.redIAdd(N);for(var y=this.pow(n,c),B=this.pow(i,c.addn(1).iushrn(1)),z=this.pow(i,c),W=b;0!==z.cmp(T);){for(var Le=z,Ve=0;0!==Le.cmp(T);Ve++)Le=Le.redSqr();g(Ve<W);var Ke=this.pow(y,new o(1).iushln(W-Ve-1));B=B.redMul(Ke),y=Ke.redSqr(),z=z.redMul(y),W=Ve}return B},se.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},se.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var c=new Array(16);c[0]=new o(1).toRed(this),c[1]=i;for(var b=2;b<c.length;b++)c[b]=this.mul(c[b-1],i);var T=c[0],N=0,v=0,n=r.bitLength()%26;for(0===n&&(n=26),b=r.length-1;b>=0;b--){for(var y=r.words[b],B=n-1;B>=0;B--){var z=y>>B&1;T!==c[0]&&(T=this.sqr(T)),0!==z||0!==N?(N<<=1,N|=z,(4==++v||0===b&&0===B)&&(T=this.mul(T,c[N]),v=0,N=0)):v=0}n=26}return T},se.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},se.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new le(i)},k(le,se),le.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},le.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},le.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var d=i.imul(r),c=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=d.isub(c).iushrn(this.shift),T=b;return b.cmp(this.m)>=0?T=b.isub(this.m):b.cmpn(0)<0&&(T=b.iadd(this.m)),T._forceRed(this)},le.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var d=i.mul(r),c=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=d.isub(c).iushrn(this.shift),T=b;return b.cmp(this.m)>=0?T=b.isub(this.m):b.cmpn(0)<0&&(T=b.iadd(this.m)),T._forceRed(this)},le.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(ze=m.nmd(ze),this)},8419:ze=>{"use strict";ze.exports=function(m){for(var t=[],e=m.length,g=0;g<e;g++){var k=m.charCodeAt(g);if(k>=55296&&k<=56319&&e>g+1){var o=m.charCodeAt(g+1);o>=56320&&o<=57343&&(k=1024*(k-55296)+o-56320+65536,g+=1)}k<128?t.push(k):k<2048?(t.push(k>>6|192),t.push(63&k|128)):k<55296||k>=57344&&k<65536?(t.push(k>>12|224),t.push(k>>6&63|128),t.push(63&k|128)):k>=65536&&k<=1114111?(t.push(k>>18|240),t.push(k>>12&63|128),t.push(k>>6&63|128),t.push(63&k|128)):t.push(239,191,189)}return new Uint8Array(t).buffer}},9069:ze=>{"use strict";var t,K="object"==typeof Reflect?Reflect:null,m=K&&"function"==typeof K.apply?K.apply:function($,fe,re){return Function.prototype.apply.call($,fe,re)};t=K&&"function"==typeof K.ownKeys?K.ownKeys:Object.getOwnPropertySymbols?function($){return Object.getOwnPropertyNames($).concat(Object.getOwnPropertySymbols($))}:function($){return Object.getOwnPropertyNames($)};var g=Number.isNaN||function($){return $!=$};function k(){k.init.call(this)}ze.exports=k,ze.exports.once=function U(X,$){return new Promise(function(fe,re){function ee(se){X.removeListener($,ce),re(se)}function ce(){"function"==typeof X.removeListener&&X.removeListener("error",ee),fe([].slice.call(arguments))}Q(X,$,ce,{once:!0}),"error"!==$&&function Y(X,$,fe){"function"==typeof X.on&&Q(X,"error",$,fe)}(X,ee,{once:!0})})},k.EventEmitter=k,k.prototype._events=void 0,k.prototype._eventsCount=0,k.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 h(X){return void 0===X._maxListeners?k.defaultMaxListeners:X._maxListeners}function P(X,$,fe,re){var ee,ce,se;if(C(fe),void 0===(ce=X._events)?(ce=X._events=Object.create(null),X._eventsCount=0):(void 0!==ce.newListener&&(X.emit("newListener",$,fe.listener?fe.listener:fe),ce=X._events),se=ce[$]),void 0===se)se=ce[$]=fe,++X._eventsCount;else if("function"==typeof se?se=ce[$]=re?[fe,se]:[se,fe]:re?se.unshift(fe):se.push(fe),(ee=h(X))>0&&se.length>ee&&!se.warned){se.warned=!0;var le=new Error("Possible EventEmitter memory leak detected. "+se.length+" "+String($)+" listeners added. Use emitter.setMaxListeners() to increase limit");le.name="MaxListenersExceededWarning",le.emitter=X,le.type=$,le.count=se.length,function e(X){console&&console.warn&&console.warn(X)}(le)}return X}function u(){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 I(X,$,fe){var re={fired:!1,wrapFn:void 0,target:X,type:$,listener:fe},ee=u.bind(re);return ee.listener=fe,re.wrapFn=ee,ee}function S(X,$,fe){var re=X._events;if(void 0===re)return[];var ee=re[$];return void 0===ee?[]:"function"==typeof ee?fe?[ee.listener||ee]:[ee]:fe?function E(X){for(var $=new Array(X.length),fe=0;fe<$.length;++fe)$[fe]=X[fe].listener||X[fe];return $}(ee):w(ee,ee.length)}function A(X){var $=this._events;if(void 0!==$){var fe=$[X];if("function"==typeof fe)return 1;if(void 0!==fe)return fe.length}return 0}function w(X,$){for(var fe=new Array($),re=0;re<$;++re)fe[re]=X[re];return fe}function Q(X,$,fe,re){if("function"==typeof X.on)re.once?X.once($,fe):X.on($,fe);else{if("function"!=typeof X.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof X);X.addEventListener($,function ee(ce){re.once&&X.removeEventListener($,ee),fe(ce)})}}Object.defineProperty(k,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(X){if("number"!=typeof X||X<0||g(X))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+X+".");o=X}}),k.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},k.prototype.setMaxListeners=function($){if("number"!=typeof $||$<0||g($))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+$+".");return this._maxListeners=$,this},k.prototype.getMaxListeners=function(){return h(this)},k.prototype.emit=function($){for(var fe=[],re=1;re<arguments.length;re++)fe.push(arguments[re]);var ee="error"===$,ce=this._events;if(void 0!==ce)ee=ee&&void 0===ce.error;else if(!ee)return!1;if(ee){var se;if(fe.length>0&&(se=fe[0]),se instanceof Error)throw se;var le=new Error("Unhandled error."+(se?" ("+se.message+")":""));throw le.context=se,le}var L=ce[$];if(void 0===L)return!1;if("function"==typeof L)m(L,this,fe);else{var i=L.length,r=w(L,i);for(re=0;re<i;++re)m(r[re],this,fe)}return!0},k.prototype.on=k.prototype.addListener=function($,fe){return P(this,$,fe,!1)},k.prototype.prependListener=function($,fe){return P(this,$,fe,!0)},k.prototype.once=function($,fe){return C(fe),this.on($,I(this,$,fe)),this},k.prototype.prependOnceListener=function($,fe){return C(fe),this.prependListener($,I(this,$,fe)),this},k.prototype.off=k.prototype.removeListener=function($,fe){var re,ee,ce,se,le;if(C(fe),void 0===(ee=this._events))return this;if(void 0===(re=ee[$]))return this;if(re===fe||re.listener===fe)0==--this._eventsCount?this._events=Object.create(null):(delete ee[$],ee.removeListener&&this.emit("removeListener",$,re.listener||fe));else if("function"!=typeof re){for(ce=-1,se=re.length-1;se>=0;se--)if(re[se]===fe||re[se].listener===fe){le=re[se].listener,ce=se;break}if(ce<0)return this;0===ce?re.shift():function R(X,$){for(;$+1<X.length;$++)X[$]=X[$+1];X.pop()}(re,ce),1===re.length&&(ee[$]=re[0]),void 0!==ee.removeListener&&this.emit("removeListener",$,le||fe)}return this},k.prototype.removeAllListeners=function($){var fe,re,ee;if(void 0===(re=this._events))return this;if(void 0===re.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==re[$]&&(0==--this._eventsCount?this._events=Object.create(null):delete re[$]),this;if(0===arguments.length){var se,ce=Object.keys(re);for(ee=0;ee<ce.length;++ee)"removeListener"!==(se=ce[ee])&&this.removeAllListeners(se);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(fe=re[$]))this.removeListener($,fe);else if(void 0!==fe)for(ee=fe.length-1;ee>=0;ee--)this.removeListener($,fe[ee]);return this},k.prototype.listeners=function($){return S(this,$,!0)},k.prototype.rawListeners=function($){return S(this,$,!1)},k.listenerCount=function(X,$){return"function"==typeof X.listenerCount?X.listenerCount($):A.call(X,$)},k.prototype.listenerCount=A,k.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},347:(ze,K,m)=>{var t=m(3502).Buffer,e=m(8095);ze.exports=function g(k,o,C,h){if(t.isBuffer(k)||(k=t.from(k,"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,u=t.alloc(P),I=t.alloc(h||0),S=t.alloc(0);P>0||h>0;){var A=new e;A.update(S),A.update(k),o&&A.update(o),S=A.digest();var w=0;if(P>0){var R=u.length-P;w=Math.min(P,S.length),S.copy(u,R,0,w),P-=w}if(w<S.length&&h>0){var E=I.length-h,U=Math.min(h,S.length-w);S.copy(I,E,w,w+U),h-=U}}return S.fill(0),{key:u,iv:I}}},9650:(ze,K,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,h,P){var u=null;try{this.update(C,h)}catch(I){u=I}P(u)},o.prototype._flush=function(C){var h=null;try{this.push(this.digest())}catch(P){h=P}C(h)},o.prototype.update=function(C,h){if(function k(C,h){if(!t.isBuffer(C)&&"string"!=typeof C)throw new TypeError(h+" must be a string or a buffer")}(C,"Data"),this._finalized)throw new Error("Digest already called");t.isBuffer(C)||(C=t.from(C,h));for(var P=this._block,u=0;this._blockOffset+C.length-u>=this._blockSize;){for(var I=this._blockOffset;I<this._blockSize;)P[I++]=C[u++];this._update(),this._blockOffset=0}for(;u<C.length;)P[this._blockOffset++]=C[u++];for(var S=0,A=8*C.length;A>0;++S)this._length[S]+=A,(A=this._length[S]/4294967296|0)>0&&(this._length[S]-=4294967296*A);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 h=this._digest();void 0!==C&&(h=h.toString(C)),this._block.fill(0),this._blockOffset=0;for(var P=0;P<4;++P)this._length[P]=0;return h},o.prototype._digest=function(){throw new Error("_digest is not implemented")},ze.exports=o},7084:(ze,K,m)=>{var t=K;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:(ze,K,m)=>{"use strict";var t=m(9299),e=m(2391);function g(){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}K.BlockHash=g,g.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 h=(o=this.pending).length%this._delta8;this.pending=o.slice(o.length-h,o.length),0===this.pending.length&&(this.pending=null),o=t.join32(o,0,o.length-h,this.endian);for(var P=0;P<o.length;P+=this._delta32)this._update(o,P,P+this._delta32)}return this},g.prototype.digest=function(o){return this.update(this._pad()),e(null===this.pending),this._digest(o)},g.prototype._pad=function(){var o=this.pendingTotal,C=this._delta8,h=C-(o+this.padLength)%C,P=new Array(h+this.padLength);P[0]=128;for(var u=1;u<h;u++)P[u]=0;if(o<<=3,"big"===this.endian){for(var I=8;I<this.padLength;I++)P[u++]=0;P[u++]=0,P[u++]=0,P[u++]=0,P[u++]=0,P[u++]=o>>>24&255,P[u++]=o>>>16&255,P[u++]=o>>>8&255,P[u++]=255&o}else for(P[u++]=255&o,P[u++]=o>>>8&255,P[u++]=o>>>16&255,P[u++]=o>>>24&255,P[u++]=0,P[u++]=0,P[u++]=0,P[u++]=0,I=8;I<this.padLength;I++)P[u++]=0;return P}},2194:(ze,K,m)=>{"use strict";var t=m(9299),e=m(2391);function g(k,o,C){if(!(this instanceof g))return new g(k,o,C);this.Hash=k,this.blockSize=k.blockSize/8,this.outSize=k.outSize/8,this.inner=null,this.outer=null,this._init(t.toArray(o,C))}ze.exports=g,g.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)},g.prototype.update=function(o,C){return this.inner.update(o,C),this},g.prototype.digest=function(o){return this.outer.update(this.inner.digest()),this.outer.digest(o)}},9458:(ze,K,m)=>{"use strict";var t=m(9299),e=m(3800),g=t.rotl32,k=t.sum32,o=t.sum32_3,C=t.sum32_4,h=e.BlockHash;function P(){if(!(this instanceof P))return new P;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function u(U,Y,Q,X){return U<=15?Y^Q^X:U<=31?Y&Q|~Y&X:U<=47?(Y|~Q)^X:U<=63?Y&X|Q&~X:Y^(Q|~X)}function S(U){return U<=15?1352829926:U<=31?1548603684:U<=47?1836072691:U<=63?2053994217:0}t.inherits(P,h),K.ripemd160=P,P.blockSize=512,P.outSize=160,P.hmacStrength=192,P.padLength=64,P.prototype._update=function(Y,Q){for(var X=this.h[0],$=this.h[1],fe=this.h[2],re=this.h[3],ee=this.h[4],ce=X,se=$,le=fe,L=re,i=ee,r=0;r<80;r++){var d=k(g(C(X,u(r,$,fe,re),Y[A[r]+Q],(U=r)<=15?0:U<=31?1518500249:U<=47?1859775393:U<=63?2400959708:2840853838),R[r]),ee);X=ee,ee=re,re=g(fe,10),fe=$,$=d,d=k(g(C(ce,u(79-r,se,le,L),Y[w[r]+Q],S(r)),E[r]),i),ce=i,i=L,L=g(le,10),le=se,se=d}var U;d=o(this.h[1],fe,L),this.h[1]=o(this.h[2],re,i),this.h[2]=o(this.h[3],ee,ce),this.h[3]=o(this.h[4],X,se),this.h[4]=o(this.h[0],$,le),this.h[0]=d},P.prototype._digest=function(Y){return"hex"===Y?t.toHex32(this.h,"little"):t.split32(this.h,"little")};var A=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],w=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],R=[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],E=[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:(ze,K,m)=>{"use strict";K.sha1=m(9007),K.sha224=m(55),K.sha256=m(9342),K.sha384=m(8634),K.sha512=m(39)},9007:(ze,K,m)=>{"use strict";var t=m(9299),e=m(3800),g=m(3113),k=t.rotl32,o=t.sum32,C=t.sum32_5,h=g.ft_1,P=e.BlockHash,u=[1518500249,1859775393,2400959708,3395469782];function I(){if(!(this instanceof I))return new I;P.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}t.inherits(I,P),ze.exports=I,I.blockSize=512,I.outSize=160,I.hmacStrength=80,I.padLength=64,I.prototype._update=function(A,w){for(var R=this.W,E=0;E<16;E++)R[E]=A[w+E];for(;E<R.length;E++)R[E]=k(R[E-3]^R[E-8]^R[E-14]^R[E-16],1);var U=this.h[0],Y=this.h[1],Q=this.h[2],X=this.h[3],$=this.h[4];for(E=0;E<R.length;E++){var fe=~~(E/20),re=C(k(U,5),h(fe,Y,Q,X),$,R[E],u[fe]);$=X,X=Q,Q=k(Y,30),Y=U,U=re}this.h[0]=o(this.h[0],U),this.h[1]=o(this.h[1],Y),this.h[2]=o(this.h[2],Q),this.h[3]=o(this.h[3],X),this.h[4]=o(this.h[4],$)},I.prototype._digest=function(A){return"hex"===A?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},55:(ze,K,m)=>{"use strict";var t=m(9299),e=m(9342);function g(){if(!(this instanceof g))return new g;e.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}t.inherits(g,e),ze.exports=g,g.blockSize=512,g.outSize=224,g.hmacStrength=192,g.padLength=64,g.prototype._digest=function(o){return"hex"===o?t.toHex32(this.h.slice(0,7),"big"):t.split32(this.h.slice(0,7),"big")}},9342:(ze,K,m)=>{"use strict";var t=m(9299),e=m(3800),g=m(3113),k=m(2391),o=t.sum32,C=t.sum32_4,h=t.sum32_5,P=g.ch32,u=g.maj32,I=g.s0_256,S=g.s1_256,A=g.g0_256,w=g.g1_256,R=e.BlockHash,E=[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 U(){if(!(this instanceof U))return new U;R.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=E,this.W=new Array(64)}t.inherits(U,R),ze.exports=U,U.blockSize=512,U.outSize=256,U.hmacStrength=192,U.padLength=64,U.prototype._update=function(Q,X){for(var $=this.W,fe=0;fe<16;fe++)$[fe]=Q[X+fe];for(;fe<$.length;fe++)$[fe]=C(w($[fe-2]),$[fe-7],A($[fe-15]),$[fe-16]);var re=this.h[0],ee=this.h[1],ce=this.h[2],se=this.h[3],le=this.h[4],L=this.h[5],i=this.h[6],r=this.h[7];for(k(this.k.length===$.length),fe=0;fe<$.length;fe++){var d=h(r,S(le),P(le,L,i),this.k[fe],$[fe]),c=o(I(re),u(re,ee,ce));r=i,i=L,L=le,le=o(se,d),se=ce,ce=ee,ee=re,re=o(d,c)}this.h[0]=o(this.h[0],re),this.h[1]=o(this.h[1],ee),this.h[2]=o(this.h[2],ce),this.h[3]=o(this.h[3],se),this.h[4]=o(this.h[4],le),this.h[5]=o(this.h[5],L),this.h[6]=o(this.h[6],i),this.h[7]=o(this.h[7],r)},U.prototype._digest=function(Q){return"hex"===Q?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},8634:(ze,K,m)=>{"use strict";var t=m(9299),e=m(39);function g(){if(!(this instanceof g))return new g;e.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}t.inherits(g,e),ze.exports=g,g.blockSize=1024,g.outSize=384,g.hmacStrength=192,g.padLength=128,g.prototype._digest=function(o){return"hex"===o?t.toHex32(this.h.slice(0,12),"big"):t.split32(this.h.slice(0,12),"big")}},39:(ze,K,m)=>{"use strict";var t=m(9299),e=m(3800),g=m(2391),k=t.rotr64_hi,o=t.rotr64_lo,C=t.shr64_hi,h=t.shr64_lo,P=t.sum64,u=t.sum64_hi,I=t.sum64_lo,S=t.sum64_4_hi,A=t.sum64_4_lo,w=t.sum64_5_hi,R=t.sum64_5_lo,E=e.BlockHash,U=[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 Y(){if(!(this instanceof Y))return new Y;E.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=U,this.W=new Array(160)}function Q(d,c,b,T,N){var v=d&b^~d&N;return v<0&&(v+=4294967296),v}function X(d,c,b,T,N,v){var n=c&T^~c&v;return n<0&&(n+=4294967296),n}function $(d,c,b,T,N){var v=d&b^d&N^b&N;return v<0&&(v+=4294967296),v}function fe(d,c,b,T,N,v){var n=c&T^c&v^T&v;return n<0&&(n+=4294967296),n}function re(d,c){var v=k(d,c,28)^k(c,d,2)^k(c,d,7);return v<0&&(v+=4294967296),v}function ee(d,c){var v=o(d,c,28)^o(c,d,2)^o(c,d,7);return v<0&&(v+=4294967296),v}function ce(d,c){var v=k(d,c,14)^k(d,c,18)^k(c,d,9);return v<0&&(v+=4294967296),v}function se(d,c){var v=o(d,c,14)^o(d,c,18)^o(c,d,9);return v<0&&(v+=4294967296),v}function le(d,c){var v=k(d,c,1)^k(d,c,8)^C(d,c,7);return v<0&&(v+=4294967296),v}function L(d,c){var v=o(d,c,1)^o(d,c,8)^h(d,c,7);return v<0&&(v+=4294967296),v}function i(d,c){var v=k(d,c,19)^k(c,d,29)^C(d,c,6);return v<0&&(v+=4294967296),v}function r(d,c){var v=o(d,c,19)^o(c,d,29)^h(d,c,6);return v<0&&(v+=4294967296),v}t.inherits(Y,E),ze.exports=Y,Y.blockSize=1024,Y.outSize=512,Y.hmacStrength=192,Y.padLength=128,Y.prototype._prepareBlock=function(c,b){for(var T=this.W,N=0;N<32;N++)T[N]=c[b+N];for(;N<T.length;N+=2){var v=i(T[N-4],T[N-3]),n=r(T[N-4],T[N-3]),y=T[N-14],B=T[N-13],z=le(T[N-30],T[N-29]),W=L(T[N-30],T[N-29]),Le=T[N-32],Ve=T[N-31];T[N]=S(v,n,y,B,z,W,Le,Ve),T[N+1]=A(v,n,y,B,z,W,Le,Ve)}},Y.prototype._update=function(c,b){this._prepareBlock(c,b);var T=this.W,N=this.h[0],v=this.h[1],n=this.h[2],y=this.h[3],B=this.h[4],z=this.h[5],W=this.h[6],Le=this.h[7],Ve=this.h[8],Ke=this.h[9],$e=this.h[10],Ae=this.h[11],ue=this.h[12],ye=this.h[13],we=this.h[14],he=this.h[15];g(this.k.length===T.length);for(var it=0;it<T.length;it+=2){var De=we,oe=he,me=ce(Ve,Ke),te=se(Ve,Ke),Ze=Q(Ve,0,$e,0,ue),Ue=X(0,Ke,0,Ae,0,ye),q=this.k[it],de=this.k[it+1],Ee=T[it],ke=T[it+1],ie=w(De,oe,me,te,Ze,Ue,q,de,Ee,ke),nt=R(De,oe,me,te,Ze,Ue,q,de,Ee,ke);De=re(N,v),oe=ee(N,v),me=$(N,0,n,0,B),te=fe(0,v,0,y,0,z);var Ct=u(De,oe,me,te),rt=I(De,oe,me,te);we=ue,he=ye,ue=$e,ye=Ae,$e=Ve,Ae=Ke,Ve=u(W,Le,ie,nt),Ke=I(Le,Le,ie,nt),W=B,Le=z,B=n,z=y,n=N,y=v,N=u(ie,nt,Ct,rt),v=I(ie,nt,Ct,rt)}P(this.h,0,N,v),P(this.h,2,n,y),P(this.h,4,B,z),P(this.h,6,W,Le),P(this.h,8,Ve,Ke),P(this.h,10,$e,Ae),P(this.h,12,ue,ye),P(this.h,14,we,he)},Y.prototype._digest=function(c){return"hex"===c?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},3113:(ze,K,m)=>{"use strict";var e=m(9299).rotr32;function k(S,A,w){return S&A^~S&w}function o(S,A,w){return S&A^S&w^A&w}function C(S,A,w){return S^A^w}K.ft_1=function g(S,A,w,R){return 0===S?k(A,w,R):1===S||3===S?C(A,w,R):2===S?o(A,w,R):void 0},K.ch32=k,K.maj32=o,K.p32=C,K.s0_256=function h(S){return e(S,2)^e(S,13)^e(S,22)},K.s1_256=function P(S){return e(S,6)^e(S,11)^e(S,25)},K.g0_256=function u(S){return e(S,7)^e(S,18)^S>>>3},K.g1_256=function I(S){return e(S,17)^e(S,19)^S>>>10}},9299:(ze,K,m)=>{"use strict";var t=m(2391),e=m(3894);function g(r,d){return!(55296!=(64512&r.charCodeAt(d))||d<0||d+1>=r.length)&&56320==(64512&r.charCodeAt(d+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 u(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}K.inherits=e,K.toArray=function k(r,d){if(Array.isArray(r))return r.slice();if(!r)return[];var c=[];if("string"==typeof r)if(d){if("hex"===d)for((r=r.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(r="0"+r),T=0;T<r.length;T+=2)c.push(parseInt(r[T]+r[T+1],16))}else for(var b=0,T=0;T<r.length;T++){var N=r.charCodeAt(T);N<128?c[b++]=N:N<2048?(c[b++]=N>>6|192,c[b++]=63&N|128):g(r,T)?(N=65536+((1023&N)<<10)+(1023&r.charCodeAt(++T)),c[b++]=N>>18|240,c[b++]=N>>12&63|128,c[b++]=N>>6&63|128,c[b++]=63&N|128):(c[b++]=N>>12|224,c[b++]=N>>6&63|128,c[b++]=63&N|128)}else for(T=0;T<r.length;T++)c[T]=0|r[T];return c},K.toHex=function o(r){for(var d="",c=0;c<r.length;c++)d+=P(r[c].toString(16));return d},K.htonl=C,K.toHex32=function h(r,d){for(var c="",b=0;b<r.length;b++){var T=r[b];"little"===d&&(T=C(T)),c+=u(T.toString(16))}return c},K.zero2=P,K.zero8=u,K.join32=function I(r,d,c,b){var T=c-d;t(T%4==0);for(var N=new Array(T/4),v=0,n=d;v<N.length;v++,n+=4)N[v]=("big"===b?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 N},K.split32=function S(r,d){for(var c=new Array(4*r.length),b=0,T=0;b<r.length;b++,T+=4){var N=r[b];"big"===d?(c[T]=N>>>24,c[T+1]=N>>>16&255,c[T+2]=N>>>8&255,c[T+3]=255&N):(c[T+3]=N>>>24,c[T+2]=N>>>16&255,c[T+1]=N>>>8&255,c[T]=255&N)}return c},K.rotr32=function A(r,d){return r>>>d|r<<32-d},K.rotl32=function w(r,d){return r<<d|r>>>32-d},K.sum32=function R(r,d){return r+d>>>0},K.sum32_3=function E(r,d,c){return r+d+c>>>0},K.sum32_4=function U(r,d,c,b){return r+d+c+b>>>0},K.sum32_5=function Y(r,d,c,b,T){return r+d+c+b+T>>>0},K.sum64=function Q(r,d,c,b){var v=b+r[d+1]>>>0;r[d]=(v<b?1:0)+c+r[d]>>>0,r[d+1]=v},K.sum64_hi=function X(r,d,c,b){return(d+b>>>0<d?1:0)+r+c>>>0},K.sum64_lo=function $(r,d,c,b){return d+b>>>0},K.sum64_4_hi=function fe(r,d,c,b,T,N,v,n){var y=0,B=d;return y+=(B=B+b>>>0)<d?1:0,y+=(B=B+N>>>0)<N?1:0,r+c+T+v+(y+=(B=B+n>>>0)<n?1:0)>>>0},K.sum64_4_lo=function re(r,d,c,b,T,N,v,n){return d+b+N+n>>>0},K.sum64_5_hi=function ee(r,d,c,b,T,N,v,n,y,B){var z=0,W=d;return z+=(W=W+b>>>0)<d?1:0,z+=(W=W+N>>>0)<N?1:0,z+=(W=W+n>>>0)<n?1:0,r+c+T+v+y+(z+=(W=W+B>>>0)<B?1:0)>>>0},K.sum64_5_lo=function ce(r,d,c,b,T,N,v,n,y,B){return d+b+N+n+B>>>0},K.rotr64_hi=function se(r,d,c){return(d<<32-c|r>>>c)>>>0},K.rotr64_lo=function le(r,d,c){return(r<<32-c|d>>>c)>>>0},K.shr64_hi=function L(r,d,c){return r>>>c},K.shr64_lo=function i(r,d,c){return(r<<32-c|d>>>c)>>>0}},2438:(ze,K,m)=>{"use strict";var t=m(7084),e=m(8195),g=m(2391);function k(o){if(!(this instanceof k))return new k(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"),h=e.toArray(o.nonce,o.nonceEnc||"hex"),P=e.toArray(o.pers,o.persEnc||"hex");g(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(C,h,P)}ze.exports=k,k.prototype._init=function(C,h,P){var u=C.concat(h).concat(P);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var I=0;I<this.V.length;I++)this.K[I]=0,this.V[I]=1;this._update(u),this._reseed=1,this.reseedInterval=281474976710656},k.prototype._hmac=function(){return new t.hmac(this.hash,this.K)},k.prototype._update=function(C){var h=this._hmac().update(this.V).update([0]);C&&(h=h.update(C)),this.K=h.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())},k.prototype.reseed=function(C,h,P,u){"string"!=typeof h&&(u=P,P=h,h=null),C=e.toArray(C,h),P=e.toArray(P,u),g(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(C.concat(P||[])),this._reseed=1},k.prototype.generate=function(C,h,P,u){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof h&&(u=P,P=h,h=null),P&&(P=e.toArray(P,u||"hex"),this._update(P));for(var I=[];I.length<C;)this.V=this._hmac().update(this.V).digest(),I=I.concat(this.V);var S=I.slice(0,C);return this._update(P),this._reseed++,e.encode(S,h)}},8461:(ze,K)=>{K.read=function(m,t,e,g,k){var o,C,h=8*k-g-1,P=(1<<h)-1,u=P>>1,I=-7,S=e?k-1:0,A=e?-1:1,w=m[t+S];for(S+=A,o=w&(1<<-I)-1,w>>=-I,I+=h;I>0;o=256*o+m[t+S],S+=A,I-=8);for(C=o&(1<<-I)-1,o>>=-I,I+=g;I>0;C=256*C+m[t+S],S+=A,I-=8);if(0===o)o=1-u;else{if(o===P)return C?NaN:1/0*(w?-1:1);C+=Math.pow(2,g),o-=u}return(w?-1:1)*C*Math.pow(2,o-g)},K.write=function(m,t,e,g,k,o){var C,h,P,u=8*o-k-1,I=(1<<u)-1,S=I>>1,A=23===k?Math.pow(2,-24)-Math.pow(2,-77):0,w=g?0:o-1,R=g?1:-1,E=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(h=isNaN(t)?1:0,C=I):(C=Math.floor(Math.log(t)/Math.LN2),t*(P=Math.pow(2,-C))<1&&(C--,P*=2),(t+=C+S>=1?A/P:A*Math.pow(2,1-S))*P>=2&&(C++,P/=2),C+S>=I?(h=0,C=I):C+S>=1?(h=(t*P-1)*Math.pow(2,k),C+=S):(h=t*Math.pow(2,S-1)*Math.pow(2,k),C=0));k>=8;m[e+w]=255&h,w+=R,h/=256,k-=8);for(C=C<<k|h,u+=k;u>0;m[e+w]=255&C,w+=R,C/=256,u-=8);m[e+w-R]|=128*E}},3894:ze=>{ze.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:(ze,K,m)=>{"use strict";var t=m(3894),e=m(9650),g=m(3502).Buffer,k=new Array(16);function o(){e.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function C(S,A){return S<<A|S>>>32-A}function h(S,A,w,R,E,U,Y){return C(S+(A&w|~A&R)+E+U|0,Y)+A|0}function P(S,A,w,R,E,U,Y){return C(S+(A&R|w&~R)+E+U|0,Y)+A|0}function u(S,A,w,R,E,U,Y){return C(S+(A^w^R)+E+U|0,Y)+A|0}function I(S,A,w,R,E,U,Y){return C(S+(w^(A|~R))+E+U|0,Y)+A|0}t(o,e),o.prototype._update=function(){for(var S=k,A=0;A<16;++A)S[A]=this._block.readInt32LE(4*A);var w=this._a,R=this._b,E=this._c,U=this._d;w=h(w,R,E,U,S[0],3614090360,7),U=h(U,w,R,E,S[1],3905402710,12),E=h(E,U,w,R,S[2],606105819,17),R=h(R,E,U,w,S[3],3250441966,22),w=h(w,R,E,U,S[4],4118548399,7),U=h(U,w,R,E,S[5],1200080426,12),E=h(E,U,w,R,S[6],2821735955,17),R=h(R,E,U,w,S[7],4249261313,22),w=h(w,R,E,U,S[8],1770035416,7),U=h(U,w,R,E,S[9],2336552879,12),E=h(E,U,w,R,S[10],4294925233,17),R=h(R,E,U,w,S[11],2304563134,22),w=h(w,R,E,U,S[12],1804603682,7),U=h(U,w,R,E,S[13],4254626195,12),E=h(E,U,w,R,S[14],2792965006,17),w=P(w,R=h(R,E,U,w,S[15],1236535329,22),E,U,S[1],4129170786,5),U=P(U,w,R,E,S[6],3225465664,9),E=P(E,U,w,R,S[11],643717713,14),R=P(R,E,U,w,S[0],3921069994,20),w=P(w,R,E,U,S[5],3593408605,5),U=P(U,w,R,E,S[10],38016083,9),E=P(E,U,w,R,S[15],3634488961,14),R=P(R,E,U,w,S[4],3889429448,20),w=P(w,R,E,U,S[9],568446438,5),U=P(U,w,R,E,S[14],3275163606,9),E=P(E,U,w,R,S[3],4107603335,14),R=P(R,E,U,w,S[8],1163531501,20),w=P(w,R,E,U,S[13],2850285829,5),U=P(U,w,R,E,S[2],4243563512,9),E=P(E,U,w,R,S[7],1735328473,14),w=u(w,R=P(R,E,U,w,S[12],2368359562,20),E,U,S[5],4294588738,4),U=u(U,w,R,E,S[8],2272392833,11),E=u(E,U,w,R,S[11],1839030562,16),R=u(R,E,U,w,S[14],4259657740,23),w=u(w,R,E,U,S[1],2763975236,4),U=u(U,w,R,E,S[4],1272893353,11),E=u(E,U,w,R,S[7],4139469664,16),R=u(R,E,U,w,S[10],3200236656,23),w=u(w,R,E,U,S[13],681279174,4),U=u(U,w,R,E,S[0],3936430074,11),E=u(E,U,w,R,S[3],3572445317,16),R=u(R,E,U,w,S[6],76029189,23),w=u(w,R,E,U,S[9],3654602809,4),U=u(U,w,R,E,S[12],3873151461,11),E=u(E,U,w,R,S[15],530742520,16),w=I(w,R=u(R,E,U,w,S[2],3299628645,23),E,U,S[0],4096336452,6),U=I(U,w,R,E,S[7],1126891415,10),E=I(E,U,w,R,S[14],2878612391,15),R=I(R,E,U,w,S[5],4237533241,21),w=I(w,R,E,U,S[12],1700485571,6),U=I(U,w,R,E,S[3],2399980690,10),E=I(E,U,w,R,S[10],4293915773,15),R=I(R,E,U,w,S[1],2240044497,21),w=I(w,R,E,U,S[8],1873313359,6),U=I(U,w,R,E,S[15],4264355552,10),E=I(E,U,w,R,S[6],2734768916,15),R=I(R,E,U,w,S[13],1309151649,21),w=I(w,R,E,U,S[4],4149444226,6),U=I(U,w,R,E,S[11],3174756917,10),E=I(E,U,w,R,S[2],718787259,15),R=I(R,E,U,w,S[9],3951481745,21),this._a=this._a+w|0,this._b=this._b+R|0,this._c=this._c+E|0,this._d=this._d+U|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 S=g.allocUnsafe(16);return S.writeInt32LE(this._a,0),S.writeInt32LE(this._b,4),S.writeInt32LE(this._c,8),S.writeInt32LE(this._d,12),S},ze.exports=o},7079:(ze,K,m)=>{var t=m(1378),e=m(7950);function g(k){this.rand=k||new e.Rand}ze.exports=g,g.create=function(o){return new g(o)},g.prototype._randbelow=function(o){var C=o.bitLength(),h=Math.ceil(C/8);do{var P=new t(this.rand.generate(h))}while(P.cmp(o)>=0);return P},g.prototype._randrange=function(o,C){var h=C.sub(o);return o.add(this._randbelow(h))},g.prototype.test=function(o,C,h){var P=o.bitLength(),u=t.mont(o),I=new t(1).toRed(u);C||(C=Math.max(1,P/48|0));for(var S=o.subn(1),A=0;!S.testn(A);A++);for(var w=o.shrn(A),R=S.toRed(u);C>0;C--){var U=this._randrange(new t(2),S);h&&h(U);var Y=U.toRed(u).redPow(w);if(0!==Y.cmp(I)&&0!==Y.cmp(R)){for(var Q=1;Q<A;Q++){if(0===(Y=Y.redSqr()).cmp(I))return!1;if(0===Y.cmp(R))break}if(Q===A)return!1}}return!0},g.prototype.getDivisor=function(o,C){var h=o.bitLength(),P=t.mont(o),u=new t(1).toRed(P);C||(C=Math.max(1,h/48|0));for(var I=o.subn(1),S=0;!I.testn(S);S++);for(var A=o.shrn(S),w=I.toRed(P);C>0;C--){var R=this._randrange(new t(2),I),E=o.gcd(R);if(0!==E.cmpn(1))return E;var U=R.toRed(P).redPow(A);if(0!==U.cmp(u)&&0!==U.cmp(w)){for(var Y=1;Y<S;Y++){if(0===(U=U.redSqr()).cmp(u))return U.fromRed().subn(1).gcd(o);if(0===U.cmp(w))break}if(Y===S)return(U=U.redSqr()).fromRed().subn(1).gcd(o)}}return!1}},1378:function(ze,K,m){!function(t,e){"use strict";function g(L,i){if(!L)throw new Error(i||"Assertion failed")}function k(L,i){L.super_=i;var r=function(){};r.prototype=i.prototype,L.prototype=new r,L.prototype.constructor=L}function o(L,i,r){if(o.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,null!==L&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(L||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 h(L,i){var r=L.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function P(L,i,r){var d=h(L,r);return r-1>=i&&(d|=h(L,r-1)<<4),d}function u(L,i,r,d){for(var c=0,b=Math.min(L.length,r),T=i;T<b;T++){var N=L.charCodeAt(T)-48;c*=d,c+=N>=49?N-49+10:N>=17?N-17+10:N}return c}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,d){if("number"==typeof i)return this._initNumber(i,r,d);if("object"==typeof i)return this._initArray(i,r,d);"hex"===r&&(r=16),g(r===(0|r)&&r>=2&&r<=36);var c=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(c++,this.negative=1),c<i.length&&(16===r?this._parseHex(i,c,d):(this._parseBase(i,r,c),"le"===d&&this._initArray(this.toArray(),r,d)))},o.prototype._initNumber=function(i,r,d){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):(g(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===d&&this._initArray(this.toArray(),r,d)},o.prototype._initArray=function(i,r,d){if(g("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 c=0;c<this.length;c++)this.words[c]=0;var b,T,N=0;if("be"===d)for(c=i.length-1,b=0;c>=0;c-=3)this.words[b]|=(T=i[c]|i[c-1]<<8|i[c-2]<<16)<<N&67108863,this.words[b+1]=T>>>26-N&67108863,(N+=24)>=26&&(N-=26,b++);else if("le"===d)for(c=0,b=0;c<i.length;c+=3)this.words[b]|=(T=i[c]|i[c+1]<<8|i[c+2]<<16)<<N&67108863,this.words[b+1]=T>>>26-N&67108863,(N+=24)>=26&&(N-=26,b++);return this.strip()},o.prototype._parseHex=function(i,r,d){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var N,b=0,T=0;if("be"===d)for(c=i.length-1;c>=r;c-=2)N=P(i,r,c)<<b,this.words[T]|=67108863&N,b>=18?(b-=18,this.words[T+=1]|=N>>>26):b+=8;else for(c=(i.length-r)%2==0?r+1:r;c<i.length;c+=2)N=P(i,r,c)<<b,this.words[T]|=67108863&N,b>=18?(b-=18,this.words[T+=1]|=N>>>26):b+=8;this.strip()},o.prototype._parseBase=function(i,r,d){this.words=[0],this.length=1;for(var c=0,b=1;b<=67108863;b*=r)c++;c--,b=b/r|0;for(var T=i.length-d,N=T%c,v=Math.min(T,T-N)+d,n=0,y=d;y<v;y+=c)n=u(i,y,y+c,r),this.imuln(b),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==N){var B=1;for(n=u(i,y,i.length,r),y=0;y<N;y++)B*=r;this.imuln(B),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 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"],S=[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],A=[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 R(L,i,r){r.negative=i.negative^L.negative;var d=L.length+i.length|0;r.length=d,d=d-1|0;var c=0|L.words[0],b=0|i.words[0],T=c*b,v=T/67108864|0;r.words[0]=67108863&T;for(var n=1;n<d;n++){for(var y=v>>>26,B=67108863&v,z=Math.min(n,i.length-1),W=Math.max(0,n-L.length+1);W<=z;W++)y+=(T=(c=0|L.words[n-W|0])*(b=0|i.words[W])+B)/67108864|0,B=67108863&T;r.words[n]=0|B,v=0|y}return 0!==v?r.words[n]=0|v:r.length--,r.strip()}o.prototype.toString=function(i,r){var d;if(r=0|r||1,16===(i=i||10)||"hex"===i){d="";for(var c=0,b=0,T=0;T<this.length;T++){var N=this.words[T],v=(16777215&(N<<c|b)).toString(16);d=0!=(b=N>>>24-c&16777215)||T!==this.length-1?I[6-v.length]+v+d:v+d,(c+=2)>=26&&(c-=26,T--)}for(0!==b&&(d=b.toString(16)+d);d.length%r!=0;)d="0"+d;return 0!==this.negative&&(d="-"+d),d}if(i===(0|i)&&i>=2&&i<=36){var n=S[i],y=A[i];d="";var B=this.clone();for(B.negative=0;!B.isZero();){var z=B.modn(y).toString(i);d=(B=B.idivn(y)).isZero()?z+d:I[n-z.length]+z+d}for(this.isZero()&&(d="0"+d);d.length%r!=0;)d="0"+d;return 0!==this.negative&&(d="-"+d),d}g(!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&&g(!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 g(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,d){var c=this.byteLength(),b=d||Math.max(1,c);g(c<=b,"byte array longer than desired length"),g(b>0,"Requested array length <= 0"),this.strip();var v,n,T="le"===r,N=new i(b),y=this.clone();if(T){for(n=0;!y.isZero();n++)v=y.andln(255),y.iushrn(8),N[n]=v;for(;n<b;n++)N[n]=0}else{for(n=0;n<b-c;n++)N[n]=0;for(n=0;!y.isZero();n++)v=y.andln(255),y.iushrn(8),N[b-n-1]=v}return N},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,d=0;return r>=4096&&(d+=13,r>>>=13),r>=64&&(d+=7,r>>>=7),r>=8&&(d+=4,r>>>=4),r>=2&&(d+=2,r>>>=2),d+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,d=0;return 0==(8191&r)&&(d+=13,r>>>=13),0==(127&r)&&(d+=7,r>>>=7),0==(15&r)&&(d+=4,r>>>=4),0==(3&r)&&(d+=2,r>>>=2),0==(1&r)&&d++,d},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 d=this._zeroBits(this.words[r]);if(i+=d,26!==d)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 g(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 d=0;d<r.length;d++)this.words[d]=this.words[d]&i.words[d];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return g(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,d;this.length>i.length?(r=this,d=i):(r=i,d=this);for(var c=0;c<d.length;c++)this.words[c]=r.words[c]^d.words[c];if(this!==r)for(;c<r.length;c++)this.words[c]=r.words[c];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return g(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){g("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),d=i%26;this._expand(r),d>0&&r--;for(var c=0;c<r;c++)this.words[c]=67108863&~this.words[c];return d>0&&(this.words[c]=~this.words[c]&67108863>>26-d),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){g("number"==typeof i&&i>=0);var d=i/26|0,c=i%26;return this._expand(d+1),this.words[d]=r?this.words[d]|1<<c:this.words[d]&~(1<<c),this.strip()},o.prototype.iadd=function(i){var r,d,c;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?(d=this,c=i):(d=i,c=this);for(var b=0,T=0;T<c.length;T++)this.words[T]=67108863&(r=(0|d.words[T])+(0|c.words[T])+b),b=r>>>26;for(;0!==b&&T<d.length;T++)this.words[T]=67108863&(r=(0|d.words[T])+b),b=r>>>26;if(this.length=d.length,0!==b)this.words[this.length]=b,this.length++;else if(d!==this)for(;T<d.length;T++)this.words[T]=d.words[T];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 c,b,d=this.cmp(i);if(0===d)return this.negative=0,this.length=1,this.words[0]=0,this;d>0?(c=this,b=i):(c=i,b=this);for(var T=0,N=0;N<b.length;N++)T=(r=(0|c.words[N])-(0|b.words[N])+T)>>26,this.words[N]=67108863&r;for(;0!==T&&N<c.length;N++)T=(r=(0|c.words[N])+T)>>26,this.words[N]=67108863&r;if(0===T&&N<c.length&&c!==this)for(;N<c.length;N++)this.words[N]=c.words[N];return this.length=Math.max(this.length,N),c!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var E=function(i,r,d){var v,n,y,c=i.words,b=r.words,T=d.words,N=0,B=0|c[0],z=8191&B,W=B>>>13,Le=0|c[1],Ve=8191&Le,Ke=Le>>>13,$e=0|c[2],Ae=8191&$e,ue=$e>>>13,ye=0|c[3],we=8191&ye,he=ye>>>13,it=0|c[4],De=8191&it,oe=it>>>13,me=0|c[5],te=8191&me,Ze=me>>>13,Ue=0|c[6],q=8191&Ue,de=Ue>>>13,Ee=0|c[7],ke=8191&Ee,ie=Ee>>>13,nt=0|c[8],Ct=8191&nt,rt=nt>>>13,Xt=0|c[9],gt=8191&Xt,mt=Xt>>>13,St=0|b[0],Ie=8191&St,He=St>>>13,xt=0|b[1],Pe=8191&xt,et=xt>>>13,Vt=0|b[2],Lt=8191&Vt,Ft=Vt>>>13,bt=0|b[3],Ce=8191&bt,J=bt>>>13,ve=0|b[4],Ne=8191&ve,st=ve>>>13,ni=0|b[5],Ut=8191&ni,ti=ni>>>13,dt=0|b[6],at=8191&dt,_t=dt>>>13,ai=0|b[7],Bt=8191&ai,zt=ai>>>13,Nt=0|b[8],je=8191&Nt,Fe=Nt>>>13,Ye=0|b[9],qe=8191&Ye,Tt=Ye>>>13;d.negative=i.negative^r.negative,d.length=19;var mi=(N+(v=Math.imul(z,Ie))|0)+((8191&(n=(n=Math.imul(z,He))+Math.imul(W,Ie)|0))<<13)|0;N=((y=Math.imul(W,He))+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,v=Math.imul(Ve,Ie),n=(n=Math.imul(Ve,He))+Math.imul(Ke,Ie)|0,y=Math.imul(Ke,He);var Ti=(N+(v=v+Math.imul(z,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(z,et)|0)+Math.imul(W,Pe)|0))<<13)|0;N=((y=y+Math.imul(W,et)|0)+(n>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,v=Math.imul(Ae,Ie),n=(n=Math.imul(Ae,He))+Math.imul(ue,Ie)|0,y=Math.imul(ue,He),v=v+Math.imul(Ve,Pe)|0,n=(n=n+Math.imul(Ve,et)|0)+Math.imul(Ke,Pe)|0,y=y+Math.imul(Ke,et)|0;var xi=(N+(v=v+Math.imul(z,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ft)|0)+Math.imul(W,Lt)|0))<<13)|0;N=((y=y+Math.imul(W,Ft)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(we,Ie),n=(n=Math.imul(we,He))+Math.imul(he,Ie)|0,y=Math.imul(he,He),v=v+Math.imul(Ae,Pe)|0,n=(n=n+Math.imul(Ae,et)|0)+Math.imul(ue,Pe)|0,y=y+Math.imul(ue,et)|0,v=v+Math.imul(Ve,Lt)|0,n=(n=n+Math.imul(Ve,Ft)|0)+Math.imul(Ke,Lt)|0,y=y+Math.imul(Ke,Ft)|0;var Fi=(N+(v=v+Math.imul(z,Ce)|0)|0)+((8191&(n=(n=n+Math.imul(z,J)|0)+Math.imul(W,Ce)|0))<<13)|0;N=((y=y+Math.imul(W,J)|0)+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,v=Math.imul(De,Ie),n=(n=Math.imul(De,He))+Math.imul(oe,Ie)|0,y=Math.imul(oe,He),v=v+Math.imul(we,Pe)|0,n=(n=n+Math.imul(we,et)|0)+Math.imul(he,Pe)|0,y=y+Math.imul(he,et)|0,v=v+Math.imul(Ae,Lt)|0,n=(n=n+Math.imul(Ae,Ft)|0)+Math.imul(ue,Lt)|0,y=y+Math.imul(ue,Ft)|0,v=v+Math.imul(Ve,Ce)|0,n=(n=n+Math.imul(Ve,J)|0)+Math.imul(Ke,Ce)|0,y=y+Math.imul(Ke,J)|0;var Je=(N+(v=v+Math.imul(z,Ne)|0)|0)+((8191&(n=(n=n+Math.imul(z,st)|0)+Math.imul(W,Ne)|0))<<13)|0;N=((y=y+Math.imul(W,st)|0)+(n>>>13)|0)+(Je>>>26)|0,Je&=67108863,v=Math.imul(te,Ie),n=(n=Math.imul(te,He))+Math.imul(Ze,Ie)|0,y=Math.imul(Ze,He),v=v+Math.imul(De,Pe)|0,n=(n=n+Math.imul(De,et)|0)+Math.imul(oe,Pe)|0,y=y+Math.imul(oe,et)|0,v=v+Math.imul(we,Lt)|0,n=(n=n+Math.imul(we,Ft)|0)+Math.imul(he,Lt)|0,y=y+Math.imul(he,Ft)|0,v=v+Math.imul(Ae,Ce)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(ue,Ce)|0,y=y+Math.imul(ue,J)|0,v=v+Math.imul(Ve,Ne)|0,n=(n=n+Math.imul(Ve,st)|0)+Math.imul(Ke,Ne)|0,y=y+Math.imul(Ke,st)|0;var wt=(N+(v=v+Math.imul(z,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(z,ti)|0)+Math.imul(W,Ut)|0))<<13)|0;N=((y=y+Math.imul(W,ti)|0)+(n>>>13)|0)+(wt>>>26)|0,wt&=67108863,v=Math.imul(q,Ie),n=(n=Math.imul(q,He))+Math.imul(de,Ie)|0,y=Math.imul(de,He),v=v+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,et)|0)+Math.imul(Ze,Pe)|0,y=y+Math.imul(Ze,et)|0,v=v+Math.imul(De,Lt)|0,n=(n=n+Math.imul(De,Ft)|0)+Math.imul(oe,Lt)|0,y=y+Math.imul(oe,Ft)|0,v=v+Math.imul(we,Ce)|0,n=(n=n+Math.imul(we,J)|0)+Math.imul(he,Ce)|0,y=y+Math.imul(he,J)|0,v=v+Math.imul(Ae,Ne)|0,n=(n=n+Math.imul(Ae,st)|0)+Math.imul(ue,Ne)|0,y=y+Math.imul(ue,st)|0,v=v+Math.imul(Ve,Ut)|0,n=(n=n+Math.imul(Ve,ti)|0)+Math.imul(Ke,Ut)|0,y=y+Math.imul(Ke,ti)|0;var be=(N+(v=v+Math.imul(z,at)|0)|0)+((8191&(n=(n=n+Math.imul(z,_t)|0)+Math.imul(W,at)|0))<<13)|0;N=((y=y+Math.imul(W,_t)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,v=Math.imul(ke,Ie),n=(n=Math.imul(ke,He))+Math.imul(ie,Ie)|0,y=Math.imul(ie,He),v=v+Math.imul(q,Pe)|0,n=(n=n+Math.imul(q,et)|0)+Math.imul(de,Pe)|0,y=y+Math.imul(de,et)|0,v=v+Math.imul(te,Lt)|0,n=(n=n+Math.imul(te,Ft)|0)+Math.imul(Ze,Lt)|0,y=y+Math.imul(Ze,Ft)|0,v=v+Math.imul(De,Ce)|0,n=(n=n+Math.imul(De,J)|0)+Math.imul(oe,Ce)|0,y=y+Math.imul(oe,J)|0,v=v+Math.imul(we,Ne)|0,n=(n=n+Math.imul(we,st)|0)+Math.imul(he,Ne)|0,y=y+Math.imul(he,st)|0,v=v+Math.imul(Ae,Ut)|0,n=(n=n+Math.imul(Ae,ti)|0)+Math.imul(ue,Ut)|0,y=y+Math.imul(ue,ti)|0,v=v+Math.imul(Ve,at)|0,n=(n=n+Math.imul(Ve,_t)|0)+Math.imul(Ke,at)|0,y=y+Math.imul(Ke,_t)|0;var Pt=(N+(v=v+Math.imul(z,Bt)|0)|0)+((8191&(n=(n=n+Math.imul(z,zt)|0)+Math.imul(W,Bt)|0))<<13)|0;N=((y=y+Math.imul(W,zt)|0)+(n>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,v=Math.imul(Ct,Ie),n=(n=Math.imul(Ct,He))+Math.imul(rt,Ie)|0,y=Math.imul(rt,He),v=v+Math.imul(ke,Pe)|0,n=(n=n+Math.imul(ke,et)|0)+Math.imul(ie,Pe)|0,y=y+Math.imul(ie,et)|0,v=v+Math.imul(q,Lt)|0,n=(n=n+Math.imul(q,Ft)|0)+Math.imul(de,Lt)|0,y=y+Math.imul(de,Ft)|0,v=v+Math.imul(te,Ce)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ze,Ce)|0,y=y+Math.imul(Ze,J)|0,v=v+Math.imul(De,Ne)|0,n=(n=n+Math.imul(De,st)|0)+Math.imul(oe,Ne)|0,y=y+Math.imul(oe,st)|0,v=v+Math.imul(we,Ut)|0,n=(n=n+Math.imul(we,ti)|0)+Math.imul(he,Ut)|0,y=y+Math.imul(he,ti)|0,v=v+Math.imul(Ae,at)|0,n=(n=n+Math.imul(Ae,_t)|0)+Math.imul(ue,at)|0,y=y+Math.imul(ue,_t)|0,v=v+Math.imul(Ve,Bt)|0,n=(n=n+Math.imul(Ve,zt)|0)+Math.imul(Ke,Bt)|0,y=y+Math.imul(Ke,zt)|0;var qt=(N+(v=v+Math.imul(z,je)|0)|0)+((8191&(n=(n=n+Math.imul(z,Fe)|0)+Math.imul(W,je)|0))<<13)|0;N=((y=y+Math.imul(W,Fe)|0)+(n>>>13)|0)+(qt>>>26)|0,qt&=67108863,v=Math.imul(gt,Ie),n=(n=Math.imul(gt,He))+Math.imul(mt,Ie)|0,y=Math.imul(mt,He),v=v+Math.imul(Ct,Pe)|0,n=(n=n+Math.imul(Ct,et)|0)+Math.imul(rt,Pe)|0,y=y+Math.imul(rt,et)|0,v=v+Math.imul(ke,Lt)|0,n=(n=n+Math.imul(ke,Ft)|0)+Math.imul(ie,Lt)|0,y=y+Math.imul(ie,Ft)|0,v=v+Math.imul(q,Ce)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,Ce)|0,y=y+Math.imul(de,J)|0,v=v+Math.imul(te,Ne)|0,n=(n=n+Math.imul(te,st)|0)+Math.imul(Ze,Ne)|0,y=y+Math.imul(Ze,st)|0,v=v+Math.imul(De,Ut)|0,n=(n=n+Math.imul(De,ti)|0)+Math.imul(oe,Ut)|0,y=y+Math.imul(oe,ti)|0,v=v+Math.imul(we,at)|0,n=(n=n+Math.imul(we,_t)|0)+Math.imul(he,at)|0,y=y+Math.imul(he,_t)|0,v=v+Math.imul(Ae,Bt)|0,n=(n=n+Math.imul(Ae,zt)|0)+Math.imul(ue,Bt)|0,y=y+Math.imul(ue,zt)|0,v=v+Math.imul(Ve,je)|0,n=(n=n+Math.imul(Ve,Fe)|0)+Math.imul(Ke,je)|0,y=y+Math.imul(Ke,Fe)|0;var gi=(N+(v=v+Math.imul(z,qe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Tt)|0)+Math.imul(W,qe)|0))<<13)|0;N=((y=y+Math.imul(W,Tt)|0)+(n>>>13)|0)+(gi>>>26)|0,gi&=67108863,v=Math.imul(gt,Pe),n=(n=Math.imul(gt,et))+Math.imul(mt,Pe)|0,y=Math.imul(mt,et),v=v+Math.imul(Ct,Lt)|0,n=(n=n+Math.imul(Ct,Ft)|0)+Math.imul(rt,Lt)|0,y=y+Math.imul(rt,Ft)|0,v=v+Math.imul(ke,Ce)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ie,Ce)|0,y=y+Math.imul(ie,J)|0,v=v+Math.imul(q,Ne)|0,n=(n=n+Math.imul(q,st)|0)+Math.imul(de,Ne)|0,y=y+Math.imul(de,st)|0,v=v+Math.imul(te,Ut)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ze,Ut)|0,y=y+Math.imul(Ze,ti)|0,v=v+Math.imul(De,at)|0,n=(n=n+Math.imul(De,_t)|0)+Math.imul(oe,at)|0,y=y+Math.imul(oe,_t)|0,v=v+Math.imul(we,Bt)|0,n=(n=n+Math.imul(we,zt)|0)+Math.imul(he,Bt)|0,y=y+Math.imul(he,zt)|0,v=v+Math.imul(Ae,je)|0,n=(n=n+Math.imul(Ae,Fe)|0)+Math.imul(ue,je)|0,y=y+Math.imul(ue,Fe)|0;var Si=(N+(v=v+Math.imul(Ve,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ve,Tt)|0)+Math.imul(Ke,qe)|0))<<13)|0;N=((y=y+Math.imul(Ke,Tt)|0)+(n>>>13)|0)+(Si>>>26)|0,Si&=67108863,v=Math.imul(gt,Lt),n=(n=Math.imul(gt,Ft))+Math.imul(mt,Lt)|0,y=Math.imul(mt,Ft),v=v+Math.imul(Ct,Ce)|0,n=(n=n+Math.imul(Ct,J)|0)+Math.imul(rt,Ce)|0,y=y+Math.imul(rt,J)|0,v=v+Math.imul(ke,Ne)|0,n=(n=n+Math.imul(ke,st)|0)+Math.imul(ie,Ne)|0,y=y+Math.imul(ie,st)|0,v=v+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,ti)|0)+Math.imul(de,Ut)|0,y=y+Math.imul(de,ti)|0,v=v+Math.imul(te,at)|0,n=(n=n+Math.imul(te,_t)|0)+Math.imul(Ze,at)|0,y=y+Math.imul(Ze,_t)|0,v=v+Math.imul(De,Bt)|0,n=(n=n+Math.imul(De,zt)|0)+Math.imul(oe,Bt)|0,y=y+Math.imul(oe,zt)|0,v=v+Math.imul(we,je)|0,n=(n=n+Math.imul(we,Fe)|0)+Math.imul(he,je)|0,y=y+Math.imul(he,Fe)|0;var ki=(N+(v=v+Math.imul(Ae,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Tt)|0)+Math.imul(ue,qe)|0))<<13)|0;N=((y=y+Math.imul(ue,Tt)|0)+(n>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(gt,Ce),n=(n=Math.imul(gt,J))+Math.imul(mt,Ce)|0,y=Math.imul(mt,J),v=v+Math.imul(Ct,Ne)|0,n=(n=n+Math.imul(Ct,st)|0)+Math.imul(rt,Ne)|0,y=y+Math.imul(rt,st)|0,v=v+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,ti)|0)+Math.imul(ie,Ut)|0,y=y+Math.imul(ie,ti)|0,v=v+Math.imul(q,at)|0,n=(n=n+Math.imul(q,_t)|0)+Math.imul(de,at)|0,y=y+Math.imul(de,_t)|0,v=v+Math.imul(te,Bt)|0,n=(n=n+Math.imul(te,zt)|0)+Math.imul(Ze,Bt)|0,y=y+Math.imul(Ze,zt)|0,v=v+Math.imul(De,je)|0,n=(n=n+Math.imul(De,Fe)|0)+Math.imul(oe,je)|0,y=y+Math.imul(oe,Fe)|0;var Gi=(N+(v=v+Math.imul(we,qe)|0)|0)+((8191&(n=(n=n+Math.imul(we,Tt)|0)+Math.imul(he,qe)|0))<<13)|0;N=((y=y+Math.imul(he,Tt)|0)+(n>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,v=Math.imul(gt,Ne),n=(n=Math.imul(gt,st))+Math.imul(mt,Ne)|0,y=Math.imul(mt,st),v=v+Math.imul(Ct,Ut)|0,n=(n=n+Math.imul(Ct,ti)|0)+Math.imul(rt,Ut)|0,y=y+Math.imul(rt,ti)|0,v=v+Math.imul(ke,at)|0,n=(n=n+Math.imul(ke,_t)|0)+Math.imul(ie,at)|0,y=y+Math.imul(ie,_t)|0,v=v+Math.imul(q,Bt)|0,n=(n=n+Math.imul(q,zt)|0)+Math.imul(de,Bt)|0,y=y+Math.imul(de,zt)|0,v=v+Math.imul(te,je)|0,n=(n=n+Math.imul(te,Fe)|0)+Math.imul(Ze,je)|0,y=y+Math.imul(Ze,Fe)|0;var Gt=(N+(v=v+Math.imul(De,qe)|0)|0)+((8191&(n=(n=n+Math.imul(De,Tt)|0)+Math.imul(oe,qe)|0))<<13)|0;N=((y=y+Math.imul(oe,Tt)|0)+(n>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,v=Math.imul(gt,Ut),n=(n=Math.imul(gt,ti))+Math.imul(mt,Ut)|0,y=Math.imul(mt,ti),v=v+Math.imul(Ct,at)|0,n=(n=n+Math.imul(Ct,_t)|0)+Math.imul(rt,at)|0,y=y+Math.imul(rt,_t)|0,v=v+Math.imul(ke,Bt)|0,n=(n=n+Math.imul(ke,zt)|0)+Math.imul(ie,Bt)|0,y=y+Math.imul(ie,zt)|0,v=v+Math.imul(q,je)|0,n=(n=n+Math.imul(q,Fe)|0)+Math.imul(de,je)|0,y=y+Math.imul(de,Fe)|0;var di=(N+(v=v+Math.imul(te,qe)|0)|0)+((8191&(n=(n=n+Math.imul(te,Tt)|0)+Math.imul(Ze,qe)|0))<<13)|0;N=((y=y+Math.imul(Ze,Tt)|0)+(n>>>13)|0)+(di>>>26)|0,di&=67108863,v=Math.imul(gt,at),n=(n=Math.imul(gt,_t))+Math.imul(mt,at)|0,y=Math.imul(mt,_t),v=v+Math.imul(Ct,Bt)|0,n=(n=n+Math.imul(Ct,zt)|0)+Math.imul(rt,Bt)|0,y=y+Math.imul(rt,zt)|0,v=v+Math.imul(ke,je)|0,n=(n=n+Math.imul(ke,Fe)|0)+Math.imul(ie,je)|0,y=y+Math.imul(ie,Fe)|0;var ge=(N+(v=v+Math.imul(q,qe)|0)|0)+((8191&(n=(n=n+Math.imul(q,Tt)|0)+Math.imul(de,qe)|0))<<13)|0;N=((y=y+Math.imul(de,Tt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,v=Math.imul(gt,Bt),n=(n=Math.imul(gt,zt))+Math.imul(mt,Bt)|0,y=Math.imul(mt,zt),v=v+Math.imul(Ct,je)|0,n=(n=n+Math.imul(Ct,Fe)|0)+Math.imul(rt,je)|0,y=y+Math.imul(rt,Fe)|0;var Xe=(N+(v=v+Math.imul(ke,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Tt)|0)+Math.imul(ie,qe)|0))<<13)|0;N=((y=y+Math.imul(ie,Tt)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,v=Math.imul(gt,je),n=(n=Math.imul(gt,Fe))+Math.imul(mt,je)|0,y=Math.imul(mt,Fe);var Et=(N+(v=v+Math.imul(Ct,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ct,Tt)|0)+Math.imul(rt,qe)|0))<<13)|0;N=((y=y+Math.imul(rt,Tt)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863;var jt=(N+(v=Math.imul(gt,qe))|0)+((8191&(n=(n=Math.imul(gt,Tt))+Math.imul(mt,qe)|0))<<13)|0;return N=((y=Math.imul(mt,Tt))+(n>>>13)|0)+(jt>>>26)|0,jt&=67108863,T[0]=mi,T[1]=Ti,T[2]=xi,T[3]=Fi,T[4]=Je,T[5]=wt,T[6]=be,T[7]=Pt,T[8]=qt,T[9]=gi,T[10]=Si,T[11]=ki,T[12]=Gi,T[13]=Gt,T[14]=di,T[15]=ge,T[16]=Xe,T[17]=Et,T[18]=jt,0!==N&&(T[19]=N,d.length++),d};function Y(L,i,r){return(new Q).mulp(L,i,r)}function Q(L,i){this.x=L,this.y=i}Math.imul||(E=R),o.prototype.mulTo=function(i,r){var d,c=this.length+i.length;return d=10===this.length&&10===i.length?E(this,i,r):c<63?R(this,i,r):c<1024?function U(L,i,r){r.negative=i.negative^L.negative,r.length=L.length+i.length;for(var d=0,c=0,b=0;b<r.length-1;b++){var T=c;c=0;for(var N=67108863&d,v=Math.min(b,i.length-1),n=Math.max(0,b-L.length+1);n<=v;n++){var W=(0|L.words[b-n])*(0|i.words[n]),Le=67108863&W;N=67108863&(Le=Le+N|0),c+=(T=(T=T+(W/67108864|0)|0)+(Le>>>26)|0)>>>26,T&=67108863}r.words[b]=N,d=T,T=c}return 0!==d?r.words[b]=d:r.length--,r.strip()}(this,i,r):Y(this,i,r),d},Q.prototype.makeRBT=function(i){for(var r=new Array(i),d=o.prototype._countBits(i)-1,c=0;c<i;c++)r[c]=this.revBin(c,d,i);return r},Q.prototype.revBin=function(i,r,d){if(0===i||i===d-1)return i;for(var c=0,b=0;b<r;b++)c|=(1&i)<<r-b-1,i>>=1;return c},Q.prototype.permute=function(i,r,d,c,b,T){for(var N=0;N<T;N++)c[N]=r[i[N]],b[N]=d[i[N]]},Q.prototype.transform=function(i,r,d,c,b,T){this.permute(T,i,r,d,c,b);for(var N=1;N<b;N<<=1)for(var v=N<<1,n=Math.cos(2*Math.PI/v),y=Math.sin(2*Math.PI/v),B=0;B<b;B+=v)for(var z=n,W=y,Le=0;Le<N;Le++){var Ve=d[B+Le],Ke=c[B+Le],$e=d[B+Le+N],Ae=c[B+Le+N],ue=z*$e-W*Ae;Ae=z*Ae+W*$e,d[B+Le]=Ve+($e=ue),c[B+Le]=Ke+Ae,d[B+Le+N]=Ve-$e,c[B+Le+N]=Ke-Ae,Le!==v&&(ue=n*z-y*W,W=n*W+y*z,z=ue)}},Q.prototype.guessLen13b=function(i,r){var d=1|Math.max(r,i),c=1&d,b=0;for(d=d/2|0;d;d>>>=1)b++;return 1<<b+1+c},Q.prototype.conjugate=function(i,r,d){if(!(d<=1))for(var c=0;c<d/2;c++){var b=i[c];i[c]=i[d-c-1],i[d-c-1]=b,b=r[c],r[c]=-r[d-c-1],r[d-c-1]=-b}},Q.prototype.normalize13b=function(i,r){for(var d=0,c=0;c<r/2;c++){var b=8192*Math.round(i[2*c+1]/r)+Math.round(i[2*c]/r)+d;i[c]=67108863&b,d=b<67108864?0:b/67108864|0}return i},Q.prototype.convert13b=function(i,r,d,c){for(var b=0,T=0;T<r;T++)d[2*T]=8191&(b+=0|i[T]),d[2*T+1]=8191&(b>>>=13),b>>>=13;for(T=2*r;T<c;++T)d[T]=0;g(0===b),g(0==(-8192&b))},Q.prototype.stub=function(i){for(var r=new Array(i),d=0;d<i;d++)r[d]=0;return r},Q.prototype.mulp=function(i,r,d){var c=2*this.guessLen13b(i.length,r.length),b=this.makeRBT(c),T=this.stub(c),N=new Array(c),v=new Array(c),n=new Array(c),y=new Array(c),B=new Array(c),z=new Array(c),W=d.words;W.length=c,this.convert13b(i.words,i.length,N,c),this.convert13b(r.words,r.length,y,c),this.transform(N,T,v,n,c,b),this.transform(y,T,B,z,c,b);for(var Le=0;Le<c;Le++){var Ve=v[Le]*B[Le]-n[Le]*z[Le];n[Le]=v[Le]*z[Le]+n[Le]*B[Le],v[Le]=Ve}return this.conjugate(v,n,c),this.transform(v,n,W,T,c,b),this.conjugate(W,T,c),this.normalize13b(W,c),d.negative=i.negative^r.negative,d.length=i.length+r.length,d.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),Y(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var r=0,d=0;d<this.length;d++){var c=(0|this.words[d])*i,b=(67108863&c)+(67108863&r);r>>=26,r+=c/67108864|0,r+=b>>>26,this.words[d]=67108863&b}return 0!==r&&(this.words[d]=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 w(L){for(var i=new Array(L.bitLength()),r=0;r<i.length;r++){var c=r%26;i[r]=(L.words[r/26|0]&1<<c)>>>c}return i}(i);if(0===r.length)return new o(1);for(var d=this,c=0;c<r.length&&0===r[c];c++,d=d.sqr());if(++c<r.length)for(var b=d.sqr();c<r.length;c++,b=b.sqr())0!==r[c]&&(d=d.mul(b));return d},o.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var b,r=i%26,d=(i-r)/26,c=67108863>>>26-r<<26-r;if(0!==r){var T=0;for(b=0;b<this.length;b++){var N=this.words[b]&c;this.words[b]=(0|this.words[b])-N<<r|T,T=N>>>26-r}T&&(this.words[b]=T,this.length++)}if(0!==d){for(b=this.length-1;b>=0;b--)this.words[b+d]=this.words[b];for(b=0;b<d;b++)this.words[b]=0;this.length+=d}return this.strip()},o.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,d){var c;g("number"==typeof i&&i>=0),c=r?(r-r%26)/26:0;var b=i%26,T=Math.min((i-b)/26,this.length),N=67108863^67108863>>>b<<b,v=d;if(c-=T,c=Math.max(0,c),v){for(var n=0;n<T;n++)v.words[n]=this.words[n];v.length=T}if(0!==T)if(this.length>T)for(this.length-=T,n=0;n<this.length;n++)this.words[n]=this.words[n+T];else this.words[0]=0,this.length=1;var y=0;for(n=this.length-1;n>=0&&(0!==y||n>=c);n--){var B=0|this.words[n];this.words[n]=y<<26-b|B>>>b,y=B&N}return v&&0!==y&&(v.words[v.length++]=y),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,d){return g(0===this.negative),this.iushrn(i,r,d)},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){g("number"==typeof i&&i>=0);var r=i%26,d=(i-r)/26;return!(this.length<=d||!(this.words[d]&1<<r))},o.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var r=i%26,d=(i-r)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=d?this:(0!==r&&d++,this.length=Math.min(d,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 g("number"==typeof i),g(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(g("number"==typeof i),g(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,d){var b;this._expand(i.length+d);var T,N=0;for(b=0;b<i.length;b++){T=(0|this.words[b+d])+N;var v=(0|i.words[b])*r;N=((T-=67108863&v)>>26)-(v/67108864|0),this.words[b+d]=67108863&T}for(;b<this.length-d;b++)N=(T=(0|this.words[b+d])+N)>>26,this.words[b+d]=67108863&T;if(0===N)return this.strip();for(g(-1===N),N=0,b=0;b<this.length;b++)N=(T=-(0|this.words[b])+N)>>26,this.words[b]=67108863&T;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var d,c=this.clone(),b=i,T=0|b.words[b.length-1];0!=(d=26-this._countBits(T))&&(b=b.ushln(d),c.iushln(d),T=0|b.words[b.length-1]);var n,v=c.length-b.length;if("mod"!==r){(n=new o(null)).length=v+1,n.words=new Array(n.length);for(var y=0;y<n.length;y++)n.words[y]=0}var B=c.clone()._ishlnsubmul(b,1,v);0===B.negative&&(c=B,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var W=67108864*(0|c.words[b.length+z])+(0|c.words[b.length+z-1]);for(W=Math.min(W/T|0,67108863),c._ishlnsubmul(b,W,z);0!==c.negative;)W--,c.negative=0,c._ishlnsubmul(b,1,z),c.isZero()||(c.negative^=1);n&&(n.words[z]=W)}return n&&n.strip(),c.strip(),"div"!==r&&0!==d&&c.iushrn(d),{div:n||null,mod:c}},o.prototype.divmod=function(i,r,d){return g(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(T=this.neg().divmod(i,r),"mod"!==r&&(c=T.div.neg()),"div"!==r&&(b=T.mod.neg(),d&&0!==b.negative&&b.iadd(i)),{div:c,mod:b}):0===this.negative&&0!==i.negative?(T=this.divmod(i.neg(),r),"mod"!==r&&(c=T.div.neg()),{div:c,mod:T.mod}):0!=(this.negative&i.negative)?(T=this.neg().divmod(i.neg(),r),"div"!==r&&(b=T.mod.neg(),d&&0!==b.negative&&b.isub(i)),{div:T.div,mod:b}):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 c,b,T},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 d=0!==r.div.negative?r.mod.isub(i):r.mod,c=i.ushrn(1),b=i.andln(1),T=d.cmp(c);return T<0||1===b&&0===T?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){g(i<=67108863);for(var r=(1<<26)%i,d=0,c=this.length-1;c>=0;c--)d=(r*d+(0|this.words[c]))%i;return d},o.prototype.idivn=function(i){g(i<=67108863);for(var r=0,d=this.length-1;d>=0;d--){var c=(0|this.words[d])+67108864*r;this.words[d]=c/i|0,r=c%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var r=this,d=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),b=new o(0),T=new o(0),N=new o(1),v=0;r.isEven()&&d.isEven();)r.iushrn(1),d.iushrn(1),++v;for(var n=d.clone(),y=r.clone();!r.isZero();){for(var B=0,z=1;0==(r.words[0]&z)&&B<26;++B,z<<=1);if(B>0)for(r.iushrn(B);B-- >0;)(c.isOdd()||b.isOdd())&&(c.iadd(n),b.isub(y)),c.iushrn(1),b.iushrn(1);for(var W=0,Le=1;0==(d.words[0]&Le)&&W<26;++W,Le<<=1);if(W>0)for(d.iushrn(W);W-- >0;)(T.isOdd()||N.isOdd())&&(T.iadd(n),N.isub(y)),T.iushrn(1),N.iushrn(1);r.cmp(d)>=0?(r.isub(d),c.isub(T),b.isub(N)):(d.isub(r),T.isub(c),N.isub(b))}return{a:T,b:N,gcd:d.iushln(v)}},o.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var B,r=this,d=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),b=new o(0),T=d.clone();r.cmpn(1)>0&&d.cmpn(1)>0;){for(var N=0,v=1;0==(r.words[0]&v)&&N<26;++N,v<<=1);if(N>0)for(r.iushrn(N);N-- >0;)c.isOdd()&&c.iadd(T),c.iushrn(1);for(var n=0,y=1;0==(d.words[0]&y)&&n<26;++n,y<<=1);if(n>0)for(d.iushrn(n);n-- >0;)b.isOdd()&&b.iadd(T),b.iushrn(1);r.cmp(d)>=0?(r.isub(d),c.isub(b)):(d.isub(r),b.isub(c))}return(B=0===r.cmpn(1)?c:b).cmpn(0)<0&&B.iadd(i),B},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),d=i.clone();r.negative=0,d.negative=0;for(var c=0;r.isEven()&&d.isEven();c++)r.iushrn(1),d.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;d.isEven();)d.iushrn(1);var b=r.cmp(d);if(b<0){var T=r;r=d,d=T}else if(0===b||0===d.cmpn(1))break;r.isub(d)}return d.iushln(c)},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){g("number"==typeof i);var r=i%26,d=(i-r)/26,c=1<<r;if(this.length<=d)return this._expand(d+1),this.words[d]|=c,this;for(var b=c,T=d;0!==b&&T<this.length;T++){var N=0|this.words[T];b=(N+=b)>>>26,this.words[T]=N&=67108863}return 0!==b&&(this.words[T]=b,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var d,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)d=1;else{r&&(i=-i),g(i<=67108863,"Number is too big");var c=0|this.words[0];d=c===i?0:c<i?-1:1}return 0!==this.negative?0|-d:d},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,d=this.length-1;d>=0;d--){var c=0|this.words[d],b=0|i.words[d];if(c!==b){c<b?r=-1:c>b&&(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 se(i)},o.prototype.toRed=function(i){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return g(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 g(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return g(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 $(L,i){this.name=L,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 fe(){$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function re(){$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ee(){$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(L){if("string"==typeof L){var i=o._prime(L);this.m=i.p,this.prime=i}else g(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}function le(L){se.call(this,L),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)}$.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},$.prototype.ireduce=function(i){var d,r=i;do{this.split(r,this.tmp),d=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(d>this.n);var c=d<this.n?-1:r.ucmp(this.p);return 0===c?(r.words[0]=0,r.length=1):c>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},$.prototype.split=function(i,r){i.iushrn(this.n,0,r)},$.prototype.imulK=function(i){return i.imul(this.k)},k(fe,$),fe.prototype.split=function(i,r){for(var d=4194303,c=Math.min(i.length,9),b=0;b<c;b++)r.words[b]=i.words[b];if(r.length=c,i.length<=9)return i.words[0]=0,void(i.length=1);var T=i.words[9];for(r.words[r.length++]=T&d,b=10;b<i.length;b++){var N=0|i.words[b];i.words[b-10]=(N&d)<<4|T>>>22,T=N}i.words[b-10]=T>>>=22,i.length-=0===T&&i.length>10?10:9},fe.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,d=0;d<i.length;d++){var c=0|i.words[d];i.words[d]=67108863&(r+=977*c),r=64*c+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},k(re,$),k(ee,$),k(ce,$),ce.prototype.imulK=function(i){for(var r=0,d=0;d<i.length;d++){var c=19*(0|i.words[d])+r,b=67108863&c;c>>>=26,i.words[d]=b,r=c}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 fe;else if("p224"===i)r=new re;else if("p192"===i)r=new ee;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},se.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},se.prototype._verify2=function(i,r){g(0==(i.negative|r.negative),"red works only with positives"),g(i.red&&i.red===r.red,"red works only with red numbers")},se.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},se.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},se.prototype.add=function(i,r){this._verify2(i,r);var d=i.add(r);return d.cmp(this.m)>=0&&d.isub(this.m),d._forceRed(this)},se.prototype.iadd=function(i,r){this._verify2(i,r);var d=i.iadd(r);return d.cmp(this.m)>=0&&d.isub(this.m),d},se.prototype.sub=function(i,r){this._verify2(i,r);var d=i.sub(r);return d.cmpn(0)<0&&d.iadd(this.m),d._forceRed(this)},se.prototype.isub=function(i,r){this._verify2(i,r);var d=i.isub(r);return d.cmpn(0)<0&&d.iadd(this.m),d},se.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},se.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},se.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},se.prototype.isqr=function(i){return this.imul(i,i.clone())},se.prototype.sqr=function(i){return this.mul(i,i)},se.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(g(r%2==1),3===r){var d=this.m.add(new o(1)).iushrn(2);return this.pow(i,d)}for(var c=this.m.subn(1),b=0;!c.isZero()&&0===c.andln(1);)b++,c.iushrn(1);g(!c.isZero());var T=new o(1).toRed(this),N=T.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,v).cmp(N);)n.redIAdd(N);for(var y=this.pow(n,c),B=this.pow(i,c.addn(1).iushrn(1)),z=this.pow(i,c),W=b;0!==z.cmp(T);){for(var Le=z,Ve=0;0!==Le.cmp(T);Ve++)Le=Le.redSqr();g(Ve<W);var Ke=this.pow(y,new o(1).iushln(W-Ve-1));B=B.redMul(Ke),y=Ke.redSqr(),z=z.redMul(y),W=Ve}return B},se.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},se.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var c=new Array(16);c[0]=new o(1).toRed(this),c[1]=i;for(var b=2;b<c.length;b++)c[b]=this.mul(c[b-1],i);var T=c[0],N=0,v=0,n=r.bitLength()%26;for(0===n&&(n=26),b=r.length-1;b>=0;b--){for(var y=r.words[b],B=n-1;B>=0;B--){var z=y>>B&1;T!==c[0]&&(T=this.sqr(T)),0!==z||0!==N?(N<<=1,N|=z,(4==++v||0===b&&0===B)&&(T=this.mul(T,c[N]),v=0,N=0)):v=0}n=26}return T},se.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},se.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new le(i)},k(le,se),le.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},le.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},le.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var d=i.imul(r),c=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=d.isub(c).iushrn(this.shift),T=b;return b.cmp(this.m)>=0?T=b.isub(this.m):b.cmpn(0)<0&&(T=b.iadd(this.m)),T._forceRed(this)},le.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var d=i.mul(r),c=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=d.isub(c).iushrn(this.shift),T=b;return b.cmp(this.m)>=0?T=b.isub(this.m):b.cmpn(0)<0&&(T=b.iadd(this.m)),T._forceRed(this)},le.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(ze=m.nmd(ze),this)},2391:ze=>{function K(m,t){if(!m)throw new Error(t||"Assertion failed")}ze.exports=K,K.equal=function(t,e,g){if(t!=e)throw new Error(g||"Assertion failed: "+t+" != "+e)}},8195:(ze,K)=>{"use strict";var m=K;function e(k){return 1===k.length?"0"+k:k}function g(k){for(var o="",C=0;C<k.length;C++)o+=e(k[C].toString(16));return o}m.toArray=function t(k,o){if(Array.isArray(k))return k.slice();if(!k)return[];var C=[];if("string"!=typeof k){for(var h=0;h<k.length;h++)C[h]=0|k[h];return C}if("hex"===o)for((k=k.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(k="0"+k),h=0;h<k.length;h+=2)C.push(parseInt(k[h]+k[h+1],16));else for(h=0;h<k.length;h++){var P=k.charCodeAt(h),u=P>>8,I=255&P;u?C.push(u,I):C.push(I)}return C},m.zero2=e,m.toHex=g,m.encode=function(o,C){return"hex"===C?g(o):o}},5768:(ze,K,m)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0});var t=m(842);Object.keys(t).forEach(function(e){"default"!==e&&Object.defineProperty(K,e,{enumerable:!0,get:function(){return t[e]}})})},2999:(ze,K,m)=>{"use strict";var t=m(7977);K.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())});K.RSAPrivateKey=e;var g=t.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});K.RSAPublicKey=g;var k=t.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())});K.PublicKey=k;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())});K.PrivateKey=C;var h=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())});K.EncryptedPrivateKey=h;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())});K.DSAPrivateKey=P,K.DSAparam=t.define("DSAparam",function(){this.int()});var u=t.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(I),this.key("publicKey").optional().explicit(1).bitstr())});K.ECPrivateKey=u;var I=t.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});K.signature=t.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},2390:(ze,K,m)=>{"use strict";var t=m(7977),e=t.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),g=t.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),k=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(k),this.key("subjectPublicKey").bitstr())}),C=t.define("RelativeDistinguishedName",function(){this.setof(g)}),h=t.define("RDNSequence",function(){this.seqof(C)}),P=t.define("Name",function(){this.choice({rdnSequence:this.use(h)})}),u=t.define("Validity",function(){this.seq().obj(this.key("notBefore").use(e),this.key("notAfter").use(e))}),I=t.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),S=t.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(k),this.key("issuer").use(P),this.key("validity").use(u),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(I).optional())}),A=t.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(S),this.key("signatureAlgorithm").use(k),this.key("signatureValue").bitstr())});ze.exports=A},5269:(ze,K,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,g=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,k=m(347),o=m(4330),C=m(3502).Buffer;ze.exports=function(h,P){var S,u=h.toString(),I=u.match(t);if(I){var w="aes"+I[1],R=C.from(I[2],"hex"),E=C.from(I[3].replace(/[\r\n]/g,""),"base64"),U=k(P,R.slice(0,8),parseInt(I[1],10)).key,Y=[],Q=o.createDecipheriv(w,U,R);Y.push(Q.update(E)),Y.push(Q.final()),S=C.concat(Y)}else{var A=u.match(g);S=C.from(A[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(e)[1],data:S}}},2772:(ze,K,m)=>{var t=m(2999),e=m(2562),g=m(5269),k=m(4330),o=m(9357),C=m(3502).Buffer;function h(u){var I;"object"==typeof u&&!C.isBuffer(u)&&(I=u.passphrase,u=u.key),"string"==typeof u&&(u=C.from(u));var R,E,S=g(u,I),A=S.tag,w=S.data;switch(A){case"CERTIFICATE":E=t.certificate.decode(w,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(E||(E=t.PublicKey.decode(w,"der")),R=E.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return t.RSAPublicKey.decode(E.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return E.subjectPrivateKey=E.subjectPublicKey,{type:"ec",data:E};case"1.2.840.10040.4.1":return E.algorithm.params.pub_key=t.DSAparam.decode(E.subjectPublicKey.data,"der"),{type:"dsa",data:E.algorithm.params};default:throw new Error("unknown key id "+R)}case"ENCRYPTED PRIVATE KEY":w=function P(u,I){var S=u.algorithm.decrypt.kde.kdeparams.salt,A=parseInt(u.algorithm.decrypt.kde.kdeparams.iters.toString(),10),w=e[u.algorithm.decrypt.cipher.algo.join(".")],R=u.algorithm.decrypt.cipher.iv,E=u.subjectPrivateKey,U=parseInt(w.split("-")[1],10)/8,Y=o.pbkdf2Sync(I,S,A,U,"sha1"),Q=k.createDecipheriv(w,Y,R),X=[];return X.push(Q.update(E)),X.push(Q.final()),C.concat(X)}(w=t.EncryptedPrivateKey.decode(w,"der"),I);case"PRIVATE KEY":switch(R=(E=t.PrivateKey.decode(w,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return t.RSAPrivateKey.decode(E.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:E.algorithm.curve,privateKey:t.ECPrivateKey.decode(E.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return E.algorithm.params.priv_key=t.DSAparam.decode(E.subjectPrivateKey,"der"),{type:"dsa",params:E.algorithm.params};default:throw new Error("unknown key id "+R)}case"RSA PUBLIC KEY":return t.RSAPublicKey.decode(w,"der");case"RSA PRIVATE KEY":return t.RSAPrivateKey.decode(w,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:t.DSAPrivateKey.decode(w,"der")};case"EC PRIVATE KEY":return{curve:(w=t.ECPrivateKey.decode(w,"der")).parameters.value,privateKey:w.privateKey};default:throw new Error("unknown key type "+A)}}ze.exports=h,h.signature=t.signature},9357:(ze,K,m)=>{K.pbkdf2=m(415),K.pbkdf2Sync=m(7472)},415:(ze,K,m)=>{var C,S,t=m(3502).Buffer,e=m(2697),g=m(8867),k=m(7472),o=m(4566),h=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"},u=[];function A(){return S||(S=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function w(E,U,Y,Q,X){return h.importKey("raw",E,{name:"PBKDF2"},!1,["deriveBits"]).then(function($){return h.deriveBits({name:"PBKDF2",salt:U,iterations:Y,hash:{name:X}},$,Q<<3)}).then(function($){return t.from($)})}ze.exports=function(E,U,Y,Q,X,$){"function"==typeof X&&($=X,X=void 0);var fe=P[(X=X||"sha1").toLowerCase()];if(fe&&"function"==typeof global.Promise){if(e(Y,Q),E=o(E,g,"Password"),U=o(U,g,"Salt"),"function"!=typeof $)throw new Error("No callback provided to pbkdf2");!function R(E,U){E.then(function(Y){A()(function(){U(null,Y)})},function(Y){A()(function(){U(Y)})})}(function I(E){if(global.process&&!global.process.browser||!h||!h.importKey||!h.deriveBits)return Promise.resolve(!1);if(void 0!==u[E])return u[E];var U=w(C=C||t.alloc(8),C,10,128,E).then(function(){return!0}).catch(function(){return!1});return u[E]=U,U}(fe).then(function(re){return re?w(E,U,Y,Q,fe):k(E,U,Y,Q,X)}),$)}else A()(function(){var re;try{re=k(E,U,Y,Q,X)}catch(ee){return $(ee)}$(null,re)})}},8867:ze=>{var K;K=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",ze.exports=K},2697:ze=>{var K=Math.pow(2,30)-1;ze.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>K||t!=t)throw new TypeError("Bad key length")}},7472:(ze,K,m)=>{var t=m(5640),e=m(5634),g=m(5244),k=m(3502).Buffer,o=m(2697),C=m(8867),h=m(4566),P=k.alloc(128),u={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function I(w,R,E){var U=function S(w){return"rmd160"===w||"ripemd160"===w?function E(U){return(new e).update(U).digest()}:"md5"===w?t:function R(U){return g(w).update(U).digest()}}(w),Y="sha512"===w||"sha384"===w?128:64;R.length>Y?R=U(R):R.length<Y&&(R=k.concat([R,P],Y));for(var Q=k.allocUnsafe(Y+u[w]),X=k.allocUnsafe(Y+u[w]),$=0;$<Y;$++)Q[$]=54^R[$],X[$]=92^R[$];var fe=k.allocUnsafe(Y+E+4);Q.copy(fe,0,0,Y),this.ipad1=fe,this.ipad2=Q,this.opad=X,this.alg=w,this.blocksize=Y,this.hash=U,this.size=u[w]}I.prototype.run=function(w,R){return w.copy(R,this.blocksize),this.hash(R).copy(this.opad,this.blocksize),this.hash(this.opad)},ze.exports=function A(w,R,E,U,Y){o(E,U);var Q=new I(Y=Y||"sha1",w=h(w,C,"Password"),(R=h(R,C,"Salt")).length),X=k.allocUnsafe(U),$=k.allocUnsafe(R.length+4);R.copy($,0,0,R.length);for(var fe=0,re=u[Y],ee=Math.ceil(U/re),ce=1;ce<=ee;ce++){$.writeUInt32BE(ce,R.length);for(var se=Q.run($,Q.ipad1),le=se,L=1;L<E;L++){le=Q.run(le,Q.ipad2);for(var i=0;i<re;i++)se[i]^=le[i]}se.copy(X,fe),fe+=re}return X}},4566:(ze,K,m)=>{var t=m(3502).Buffer;ze.exports=function(e,g,k){if(t.isBuffer(e))return e;if("string"==typeof e)return t.from(e,g);if(ArrayBuffer.isView(e))return t.from(e.buffer);throw new TypeError(k+" must be a string, a Buffer, a typed array or a DataView")}},3701:(ze,K,m)=>{K.publicEncrypt=m(6562),K.privateDecrypt=m(6705),K.privateEncrypt=function(e,g){return K.publicEncrypt(e,g,!0)},K.publicDecrypt=function(e,g){return K.privateDecrypt(e,g,!0)}},6945:(ze,K,m)=>{var t=m(6386),e=m(3502).Buffer;function g(k){var o=e.allocUnsafe(4);return o.writeUInt32BE(k,0),o}ze.exports=function(k,o){for(var P,C=e.alloc(0),h=0;C.length<o;)P=g(h++),C=e.concat([C,t("sha1").update(k).update(P).digest()]);return C.slice(0,o)}},2057:function(ze,K,m){!function(t,e){"use strict";function g(L,i){if(!L)throw new Error(i||"Assertion failed")}function k(L,i){L.super_=i;var r=function(){};r.prototype=i.prototype,L.prototype=new r,L.prototype.constructor=L}function o(L,i,r){if(o.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,null!==L&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(L||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 h(L,i){var r=L.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function P(L,i,r){var d=h(L,r);return r-1>=i&&(d|=h(L,r-1)<<4),d}function u(L,i,r,d){for(var c=0,b=Math.min(L.length,r),T=i;T<b;T++){var N=L.charCodeAt(T)-48;c*=d,c+=N>=49?N-49+10:N>=17?N-17+10:N}return c}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,d){if("number"==typeof i)return this._initNumber(i,r,d);if("object"==typeof i)return this._initArray(i,r,d);"hex"===r&&(r=16),g(r===(0|r)&&r>=2&&r<=36);var c=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(c++,this.negative=1),c<i.length&&(16===r?this._parseHex(i,c,d):(this._parseBase(i,r,c),"le"===d&&this._initArray(this.toArray(),r,d)))},o.prototype._initNumber=function(i,r,d){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):(g(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===d&&this._initArray(this.toArray(),r,d)},o.prototype._initArray=function(i,r,d){if(g("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 c=0;c<this.length;c++)this.words[c]=0;var b,T,N=0;if("be"===d)for(c=i.length-1,b=0;c>=0;c-=3)this.words[b]|=(T=i[c]|i[c-1]<<8|i[c-2]<<16)<<N&67108863,this.words[b+1]=T>>>26-N&67108863,(N+=24)>=26&&(N-=26,b++);else if("le"===d)for(c=0,b=0;c<i.length;c+=3)this.words[b]|=(T=i[c]|i[c+1]<<8|i[c+2]<<16)<<N&67108863,this.words[b+1]=T>>>26-N&67108863,(N+=24)>=26&&(N-=26,b++);return this.strip()},o.prototype._parseHex=function(i,r,d){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var N,b=0,T=0;if("be"===d)for(c=i.length-1;c>=r;c-=2)N=P(i,r,c)<<b,this.words[T]|=67108863&N,b>=18?(b-=18,this.words[T+=1]|=N>>>26):b+=8;else for(c=(i.length-r)%2==0?r+1:r;c<i.length;c+=2)N=P(i,r,c)<<b,this.words[T]|=67108863&N,b>=18?(b-=18,this.words[T+=1]|=N>>>26):b+=8;this.strip()},o.prototype._parseBase=function(i,r,d){this.words=[0],this.length=1;for(var c=0,b=1;b<=67108863;b*=r)c++;c--,b=b/r|0;for(var T=i.length-d,N=T%c,v=Math.min(T,T-N)+d,n=0,y=d;y<v;y+=c)n=u(i,y,y+c,r),this.imuln(b),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==N){var B=1;for(n=u(i,y,i.length,r),y=0;y<N;y++)B*=r;this.imuln(B),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 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"],S=[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],A=[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 R(L,i,r){r.negative=i.negative^L.negative;var d=L.length+i.length|0;r.length=d,d=d-1|0;var c=0|L.words[0],b=0|i.words[0],T=c*b,v=T/67108864|0;r.words[0]=67108863&T;for(var n=1;n<d;n++){for(var y=v>>>26,B=67108863&v,z=Math.min(n,i.length-1),W=Math.max(0,n-L.length+1);W<=z;W++)y+=(T=(c=0|L.words[n-W|0])*(b=0|i.words[W])+B)/67108864|0,B=67108863&T;r.words[n]=0|B,v=0|y}return 0!==v?r.words[n]=0|v:r.length--,r.strip()}o.prototype.toString=function(i,r){var d;if(r=0|r||1,16===(i=i||10)||"hex"===i){d="";for(var c=0,b=0,T=0;T<this.length;T++){var N=this.words[T],v=(16777215&(N<<c|b)).toString(16);d=0!=(b=N>>>24-c&16777215)||T!==this.length-1?I[6-v.length]+v+d:v+d,(c+=2)>=26&&(c-=26,T--)}for(0!==b&&(d=b.toString(16)+d);d.length%r!=0;)d="0"+d;return 0!==this.negative&&(d="-"+d),d}if(i===(0|i)&&i>=2&&i<=36){var n=S[i],y=A[i];d="";var B=this.clone();for(B.negative=0;!B.isZero();){var z=B.modn(y).toString(i);d=(B=B.idivn(y)).isZero()?z+d:I[n-z.length]+z+d}for(this.isZero()&&(d="0"+d);d.length%r!=0;)d="0"+d;return 0!==this.negative&&(d="-"+d),d}g(!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&&g(!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 g(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,d){var c=this.byteLength(),b=d||Math.max(1,c);g(c<=b,"byte array longer than desired length"),g(b>0,"Requested array length <= 0"),this.strip();var v,n,T="le"===r,N=new i(b),y=this.clone();if(T){for(n=0;!y.isZero();n++)v=y.andln(255),y.iushrn(8),N[n]=v;for(;n<b;n++)N[n]=0}else{for(n=0;n<b-c;n++)N[n]=0;for(n=0;!y.isZero();n++)v=y.andln(255),y.iushrn(8),N[b-n-1]=v}return N},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,d=0;return r>=4096&&(d+=13,r>>>=13),r>=64&&(d+=7,r>>>=7),r>=8&&(d+=4,r>>>=4),r>=2&&(d+=2,r>>>=2),d+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,d=0;return 0==(8191&r)&&(d+=13,r>>>=13),0==(127&r)&&(d+=7,r>>>=7),0==(15&r)&&(d+=4,r>>>=4),0==(3&r)&&(d+=2,r>>>=2),0==(1&r)&&d++,d},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 d=this._zeroBits(this.words[r]);if(i+=d,26!==d)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 g(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 d=0;d<r.length;d++)this.words[d]=this.words[d]&i.words[d];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return g(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,d;this.length>i.length?(r=this,d=i):(r=i,d=this);for(var c=0;c<d.length;c++)this.words[c]=r.words[c]^d.words[c];if(this!==r)for(;c<r.length;c++)this.words[c]=r.words[c];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return g(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){g("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),d=i%26;this._expand(r),d>0&&r--;for(var c=0;c<r;c++)this.words[c]=67108863&~this.words[c];return d>0&&(this.words[c]=~this.words[c]&67108863>>26-d),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){g("number"==typeof i&&i>=0);var d=i/26|0,c=i%26;return this._expand(d+1),this.words[d]=r?this.words[d]|1<<c:this.words[d]&~(1<<c),this.strip()},o.prototype.iadd=function(i){var r,d,c;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?(d=this,c=i):(d=i,c=this);for(var b=0,T=0;T<c.length;T++)this.words[T]=67108863&(r=(0|d.words[T])+(0|c.words[T])+b),b=r>>>26;for(;0!==b&&T<d.length;T++)this.words[T]=67108863&(r=(0|d.words[T])+b),b=r>>>26;if(this.length=d.length,0!==b)this.words[this.length]=b,this.length++;else if(d!==this)for(;T<d.length;T++)this.words[T]=d.words[T];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 c,b,d=this.cmp(i);if(0===d)return this.negative=0,this.length=1,this.words[0]=0,this;d>0?(c=this,b=i):(c=i,b=this);for(var T=0,N=0;N<b.length;N++)T=(r=(0|c.words[N])-(0|b.words[N])+T)>>26,this.words[N]=67108863&r;for(;0!==T&&N<c.length;N++)T=(r=(0|c.words[N])+T)>>26,this.words[N]=67108863&r;if(0===T&&N<c.length&&c!==this)for(;N<c.length;N++)this.words[N]=c.words[N];return this.length=Math.max(this.length,N),c!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var E=function(i,r,d){var v,n,y,c=i.words,b=r.words,T=d.words,N=0,B=0|c[0],z=8191&B,W=B>>>13,Le=0|c[1],Ve=8191&Le,Ke=Le>>>13,$e=0|c[2],Ae=8191&$e,ue=$e>>>13,ye=0|c[3],we=8191&ye,he=ye>>>13,it=0|c[4],De=8191&it,oe=it>>>13,me=0|c[5],te=8191&me,Ze=me>>>13,Ue=0|c[6],q=8191&Ue,de=Ue>>>13,Ee=0|c[7],ke=8191&Ee,ie=Ee>>>13,nt=0|c[8],Ct=8191&nt,rt=nt>>>13,Xt=0|c[9],gt=8191&Xt,mt=Xt>>>13,St=0|b[0],Ie=8191&St,He=St>>>13,xt=0|b[1],Pe=8191&xt,et=xt>>>13,Vt=0|b[2],Lt=8191&Vt,Ft=Vt>>>13,bt=0|b[3],Ce=8191&bt,J=bt>>>13,ve=0|b[4],Ne=8191&ve,st=ve>>>13,ni=0|b[5],Ut=8191&ni,ti=ni>>>13,dt=0|b[6],at=8191&dt,_t=dt>>>13,ai=0|b[7],Bt=8191&ai,zt=ai>>>13,Nt=0|b[8],je=8191&Nt,Fe=Nt>>>13,Ye=0|b[9],qe=8191&Ye,Tt=Ye>>>13;d.negative=i.negative^r.negative,d.length=19;var mi=(N+(v=Math.imul(z,Ie))|0)+((8191&(n=(n=Math.imul(z,He))+Math.imul(W,Ie)|0))<<13)|0;N=((y=Math.imul(W,He))+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,v=Math.imul(Ve,Ie),n=(n=Math.imul(Ve,He))+Math.imul(Ke,Ie)|0,y=Math.imul(Ke,He);var Ti=(N+(v=v+Math.imul(z,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(z,et)|0)+Math.imul(W,Pe)|0))<<13)|0;N=((y=y+Math.imul(W,et)|0)+(n>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,v=Math.imul(Ae,Ie),n=(n=Math.imul(Ae,He))+Math.imul(ue,Ie)|0,y=Math.imul(ue,He),v=v+Math.imul(Ve,Pe)|0,n=(n=n+Math.imul(Ve,et)|0)+Math.imul(Ke,Pe)|0,y=y+Math.imul(Ke,et)|0;var xi=(N+(v=v+Math.imul(z,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ft)|0)+Math.imul(W,Lt)|0))<<13)|0;N=((y=y+Math.imul(W,Ft)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(we,Ie),n=(n=Math.imul(we,He))+Math.imul(he,Ie)|0,y=Math.imul(he,He),v=v+Math.imul(Ae,Pe)|0,n=(n=n+Math.imul(Ae,et)|0)+Math.imul(ue,Pe)|0,y=y+Math.imul(ue,et)|0,v=v+Math.imul(Ve,Lt)|0,n=(n=n+Math.imul(Ve,Ft)|0)+Math.imul(Ke,Lt)|0,y=y+Math.imul(Ke,Ft)|0;var Fi=(N+(v=v+Math.imul(z,Ce)|0)|0)+((8191&(n=(n=n+Math.imul(z,J)|0)+Math.imul(W,Ce)|0))<<13)|0;N=((y=y+Math.imul(W,J)|0)+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,v=Math.imul(De,Ie),n=(n=Math.imul(De,He))+Math.imul(oe,Ie)|0,y=Math.imul(oe,He),v=v+Math.imul(we,Pe)|0,n=(n=n+Math.imul(we,et)|0)+Math.imul(he,Pe)|0,y=y+Math.imul(he,et)|0,v=v+Math.imul(Ae,Lt)|0,n=(n=n+Math.imul(Ae,Ft)|0)+Math.imul(ue,Lt)|0,y=y+Math.imul(ue,Ft)|0,v=v+Math.imul(Ve,Ce)|0,n=(n=n+Math.imul(Ve,J)|0)+Math.imul(Ke,Ce)|0,y=y+Math.imul(Ke,J)|0;var Je=(N+(v=v+Math.imul(z,Ne)|0)|0)+((8191&(n=(n=n+Math.imul(z,st)|0)+Math.imul(W,Ne)|0))<<13)|0;N=((y=y+Math.imul(W,st)|0)+(n>>>13)|0)+(Je>>>26)|0,Je&=67108863,v=Math.imul(te,Ie),n=(n=Math.imul(te,He))+Math.imul(Ze,Ie)|0,y=Math.imul(Ze,He),v=v+Math.imul(De,Pe)|0,n=(n=n+Math.imul(De,et)|0)+Math.imul(oe,Pe)|0,y=y+Math.imul(oe,et)|0,v=v+Math.imul(we,Lt)|0,n=(n=n+Math.imul(we,Ft)|0)+Math.imul(he,Lt)|0,y=y+Math.imul(he,Ft)|0,v=v+Math.imul(Ae,Ce)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(ue,Ce)|0,y=y+Math.imul(ue,J)|0,v=v+Math.imul(Ve,Ne)|0,n=(n=n+Math.imul(Ve,st)|0)+Math.imul(Ke,Ne)|0,y=y+Math.imul(Ke,st)|0;var wt=(N+(v=v+Math.imul(z,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(z,ti)|0)+Math.imul(W,Ut)|0))<<13)|0;N=((y=y+Math.imul(W,ti)|0)+(n>>>13)|0)+(wt>>>26)|0,wt&=67108863,v=Math.imul(q,Ie),n=(n=Math.imul(q,He))+Math.imul(de,Ie)|0,y=Math.imul(de,He),v=v+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,et)|0)+Math.imul(Ze,Pe)|0,y=y+Math.imul(Ze,et)|0,v=v+Math.imul(De,Lt)|0,n=(n=n+Math.imul(De,Ft)|0)+Math.imul(oe,Lt)|0,y=y+Math.imul(oe,Ft)|0,v=v+Math.imul(we,Ce)|0,n=(n=n+Math.imul(we,J)|0)+Math.imul(he,Ce)|0,y=y+Math.imul(he,J)|0,v=v+Math.imul(Ae,Ne)|0,n=(n=n+Math.imul(Ae,st)|0)+Math.imul(ue,Ne)|0,y=y+Math.imul(ue,st)|0,v=v+Math.imul(Ve,Ut)|0,n=(n=n+Math.imul(Ve,ti)|0)+Math.imul(Ke,Ut)|0,y=y+Math.imul(Ke,ti)|0;var be=(N+(v=v+Math.imul(z,at)|0)|0)+((8191&(n=(n=n+Math.imul(z,_t)|0)+Math.imul(W,at)|0))<<13)|0;N=((y=y+Math.imul(W,_t)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,v=Math.imul(ke,Ie),n=(n=Math.imul(ke,He))+Math.imul(ie,Ie)|0,y=Math.imul(ie,He),v=v+Math.imul(q,Pe)|0,n=(n=n+Math.imul(q,et)|0)+Math.imul(de,Pe)|0,y=y+Math.imul(de,et)|0,v=v+Math.imul(te,Lt)|0,n=(n=n+Math.imul(te,Ft)|0)+Math.imul(Ze,Lt)|0,y=y+Math.imul(Ze,Ft)|0,v=v+Math.imul(De,Ce)|0,n=(n=n+Math.imul(De,J)|0)+Math.imul(oe,Ce)|0,y=y+Math.imul(oe,J)|0,v=v+Math.imul(we,Ne)|0,n=(n=n+Math.imul(we,st)|0)+Math.imul(he,Ne)|0,y=y+Math.imul(he,st)|0,v=v+Math.imul(Ae,Ut)|0,n=(n=n+Math.imul(Ae,ti)|0)+Math.imul(ue,Ut)|0,y=y+Math.imul(ue,ti)|0,v=v+Math.imul(Ve,at)|0,n=(n=n+Math.imul(Ve,_t)|0)+Math.imul(Ke,at)|0,y=y+Math.imul(Ke,_t)|0;var Pt=(N+(v=v+Math.imul(z,Bt)|0)|0)+((8191&(n=(n=n+Math.imul(z,zt)|0)+Math.imul(W,Bt)|0))<<13)|0;N=((y=y+Math.imul(W,zt)|0)+(n>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,v=Math.imul(Ct,Ie),n=(n=Math.imul(Ct,He))+Math.imul(rt,Ie)|0,y=Math.imul(rt,He),v=v+Math.imul(ke,Pe)|0,n=(n=n+Math.imul(ke,et)|0)+Math.imul(ie,Pe)|0,y=y+Math.imul(ie,et)|0,v=v+Math.imul(q,Lt)|0,n=(n=n+Math.imul(q,Ft)|0)+Math.imul(de,Lt)|0,y=y+Math.imul(de,Ft)|0,v=v+Math.imul(te,Ce)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ze,Ce)|0,y=y+Math.imul(Ze,J)|0,v=v+Math.imul(De,Ne)|0,n=(n=n+Math.imul(De,st)|0)+Math.imul(oe,Ne)|0,y=y+Math.imul(oe,st)|0,v=v+Math.imul(we,Ut)|0,n=(n=n+Math.imul(we,ti)|0)+Math.imul(he,Ut)|0,y=y+Math.imul(he,ti)|0,v=v+Math.imul(Ae,at)|0,n=(n=n+Math.imul(Ae,_t)|0)+Math.imul(ue,at)|0,y=y+Math.imul(ue,_t)|0,v=v+Math.imul(Ve,Bt)|0,n=(n=n+Math.imul(Ve,zt)|0)+Math.imul(Ke,Bt)|0,y=y+Math.imul(Ke,zt)|0;var qt=(N+(v=v+Math.imul(z,je)|0)|0)+((8191&(n=(n=n+Math.imul(z,Fe)|0)+Math.imul(W,je)|0))<<13)|0;N=((y=y+Math.imul(W,Fe)|0)+(n>>>13)|0)+(qt>>>26)|0,qt&=67108863,v=Math.imul(gt,Ie),n=(n=Math.imul(gt,He))+Math.imul(mt,Ie)|0,y=Math.imul(mt,He),v=v+Math.imul(Ct,Pe)|0,n=(n=n+Math.imul(Ct,et)|0)+Math.imul(rt,Pe)|0,y=y+Math.imul(rt,et)|0,v=v+Math.imul(ke,Lt)|0,n=(n=n+Math.imul(ke,Ft)|0)+Math.imul(ie,Lt)|0,y=y+Math.imul(ie,Ft)|0,v=v+Math.imul(q,Ce)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,Ce)|0,y=y+Math.imul(de,J)|0,v=v+Math.imul(te,Ne)|0,n=(n=n+Math.imul(te,st)|0)+Math.imul(Ze,Ne)|0,y=y+Math.imul(Ze,st)|0,v=v+Math.imul(De,Ut)|0,n=(n=n+Math.imul(De,ti)|0)+Math.imul(oe,Ut)|0,y=y+Math.imul(oe,ti)|0,v=v+Math.imul(we,at)|0,n=(n=n+Math.imul(we,_t)|0)+Math.imul(he,at)|0,y=y+Math.imul(he,_t)|0,v=v+Math.imul(Ae,Bt)|0,n=(n=n+Math.imul(Ae,zt)|0)+Math.imul(ue,Bt)|0,y=y+Math.imul(ue,zt)|0,v=v+Math.imul(Ve,je)|0,n=(n=n+Math.imul(Ve,Fe)|0)+Math.imul(Ke,je)|0,y=y+Math.imul(Ke,Fe)|0;var gi=(N+(v=v+Math.imul(z,qe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Tt)|0)+Math.imul(W,qe)|0))<<13)|0;N=((y=y+Math.imul(W,Tt)|0)+(n>>>13)|0)+(gi>>>26)|0,gi&=67108863,v=Math.imul(gt,Pe),n=(n=Math.imul(gt,et))+Math.imul(mt,Pe)|0,y=Math.imul(mt,et),v=v+Math.imul(Ct,Lt)|0,n=(n=n+Math.imul(Ct,Ft)|0)+Math.imul(rt,Lt)|0,y=y+Math.imul(rt,Ft)|0,v=v+Math.imul(ke,Ce)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ie,Ce)|0,y=y+Math.imul(ie,J)|0,v=v+Math.imul(q,Ne)|0,n=(n=n+Math.imul(q,st)|0)+Math.imul(de,Ne)|0,y=y+Math.imul(de,st)|0,v=v+Math.imul(te,Ut)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ze,Ut)|0,y=y+Math.imul(Ze,ti)|0,v=v+Math.imul(De,at)|0,n=(n=n+Math.imul(De,_t)|0)+Math.imul(oe,at)|0,y=y+Math.imul(oe,_t)|0,v=v+Math.imul(we,Bt)|0,n=(n=n+Math.imul(we,zt)|0)+Math.imul(he,Bt)|0,y=y+Math.imul(he,zt)|0,v=v+Math.imul(Ae,je)|0,n=(n=n+Math.imul(Ae,Fe)|0)+Math.imul(ue,je)|0,y=y+Math.imul(ue,Fe)|0;var Si=(N+(v=v+Math.imul(Ve,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ve,Tt)|0)+Math.imul(Ke,qe)|0))<<13)|0;N=((y=y+Math.imul(Ke,Tt)|0)+(n>>>13)|0)+(Si>>>26)|0,Si&=67108863,v=Math.imul(gt,Lt),n=(n=Math.imul(gt,Ft))+Math.imul(mt,Lt)|0,y=Math.imul(mt,Ft),v=v+Math.imul(Ct,Ce)|0,n=(n=n+Math.imul(Ct,J)|0)+Math.imul(rt,Ce)|0,y=y+Math.imul(rt,J)|0,v=v+Math.imul(ke,Ne)|0,n=(n=n+Math.imul(ke,st)|0)+Math.imul(ie,Ne)|0,y=y+Math.imul(ie,st)|0,v=v+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,ti)|0)+Math.imul(de,Ut)|0,y=y+Math.imul(de,ti)|0,v=v+Math.imul(te,at)|0,n=(n=n+Math.imul(te,_t)|0)+Math.imul(Ze,at)|0,y=y+Math.imul(Ze,_t)|0,v=v+Math.imul(De,Bt)|0,n=(n=n+Math.imul(De,zt)|0)+Math.imul(oe,Bt)|0,y=y+Math.imul(oe,zt)|0,v=v+Math.imul(we,je)|0,n=(n=n+Math.imul(we,Fe)|0)+Math.imul(he,je)|0,y=y+Math.imul(he,Fe)|0;var ki=(N+(v=v+Math.imul(Ae,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Tt)|0)+Math.imul(ue,qe)|0))<<13)|0;N=((y=y+Math.imul(ue,Tt)|0)+(n>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(gt,Ce),n=(n=Math.imul(gt,J))+Math.imul(mt,Ce)|0,y=Math.imul(mt,J),v=v+Math.imul(Ct,Ne)|0,n=(n=n+Math.imul(Ct,st)|0)+Math.imul(rt,Ne)|0,y=y+Math.imul(rt,st)|0,v=v+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,ti)|0)+Math.imul(ie,Ut)|0,y=y+Math.imul(ie,ti)|0,v=v+Math.imul(q,at)|0,n=(n=n+Math.imul(q,_t)|0)+Math.imul(de,at)|0,y=y+Math.imul(de,_t)|0,v=v+Math.imul(te,Bt)|0,n=(n=n+Math.imul(te,zt)|0)+Math.imul(Ze,Bt)|0,y=y+Math.imul(Ze,zt)|0,v=v+Math.imul(De,je)|0,n=(n=n+Math.imul(De,Fe)|0)+Math.imul(oe,je)|0,y=y+Math.imul(oe,Fe)|0;var Gi=(N+(v=v+Math.imul(we,qe)|0)|0)+((8191&(n=(n=n+Math.imul(we,Tt)|0)+Math.imul(he,qe)|0))<<13)|0;N=((y=y+Math.imul(he,Tt)|0)+(n>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,v=Math.imul(gt,Ne),n=(n=Math.imul(gt,st))+Math.imul(mt,Ne)|0,y=Math.imul(mt,st),v=v+Math.imul(Ct,Ut)|0,n=(n=n+Math.imul(Ct,ti)|0)+Math.imul(rt,Ut)|0,y=y+Math.imul(rt,ti)|0,v=v+Math.imul(ke,at)|0,n=(n=n+Math.imul(ke,_t)|0)+Math.imul(ie,at)|0,y=y+Math.imul(ie,_t)|0,v=v+Math.imul(q,Bt)|0,n=(n=n+Math.imul(q,zt)|0)+Math.imul(de,Bt)|0,y=y+Math.imul(de,zt)|0,v=v+Math.imul(te,je)|0,n=(n=n+Math.imul(te,Fe)|0)+Math.imul(Ze,je)|0,y=y+Math.imul(Ze,Fe)|0;var Gt=(N+(v=v+Math.imul(De,qe)|0)|0)+((8191&(n=(n=n+Math.imul(De,Tt)|0)+Math.imul(oe,qe)|0))<<13)|0;N=((y=y+Math.imul(oe,Tt)|0)+(n>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,v=Math.imul(gt,Ut),n=(n=Math.imul(gt,ti))+Math.imul(mt,Ut)|0,y=Math.imul(mt,ti),v=v+Math.imul(Ct,at)|0,n=(n=n+Math.imul(Ct,_t)|0)+Math.imul(rt,at)|0,y=y+Math.imul(rt,_t)|0,v=v+Math.imul(ke,Bt)|0,n=(n=n+Math.imul(ke,zt)|0)+Math.imul(ie,Bt)|0,y=y+Math.imul(ie,zt)|0,v=v+Math.imul(q,je)|0,n=(n=n+Math.imul(q,Fe)|0)+Math.imul(de,je)|0,y=y+Math.imul(de,Fe)|0;var di=(N+(v=v+Math.imul(te,qe)|0)|0)+((8191&(n=(n=n+Math.imul(te,Tt)|0)+Math.imul(Ze,qe)|0))<<13)|0;N=((y=y+Math.imul(Ze,Tt)|0)+(n>>>13)|0)+(di>>>26)|0,di&=67108863,v=Math.imul(gt,at),n=(n=Math.imul(gt,_t))+Math.imul(mt,at)|0,y=Math.imul(mt,_t),v=v+Math.imul(Ct,Bt)|0,n=(n=n+Math.imul(Ct,zt)|0)+Math.imul(rt,Bt)|0,y=y+Math.imul(rt,zt)|0,v=v+Math.imul(ke,je)|0,n=(n=n+Math.imul(ke,Fe)|0)+Math.imul(ie,je)|0,y=y+Math.imul(ie,Fe)|0;var ge=(N+(v=v+Math.imul(q,qe)|0)|0)+((8191&(n=(n=n+Math.imul(q,Tt)|0)+Math.imul(de,qe)|0))<<13)|0;N=((y=y+Math.imul(de,Tt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,v=Math.imul(gt,Bt),n=(n=Math.imul(gt,zt))+Math.imul(mt,Bt)|0,y=Math.imul(mt,zt),v=v+Math.imul(Ct,je)|0,n=(n=n+Math.imul(Ct,Fe)|0)+Math.imul(rt,je)|0,y=y+Math.imul(rt,Fe)|0;var Xe=(N+(v=v+Math.imul(ke,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Tt)|0)+Math.imul(ie,qe)|0))<<13)|0;N=((y=y+Math.imul(ie,Tt)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,v=Math.imul(gt,je),n=(n=Math.imul(gt,Fe))+Math.imul(mt,je)|0,y=Math.imul(mt,Fe);var Et=(N+(v=v+Math.imul(Ct,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ct,Tt)|0)+Math.imul(rt,qe)|0))<<13)|0;N=((y=y+Math.imul(rt,Tt)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863;var jt=(N+(v=Math.imul(gt,qe))|0)+((8191&(n=(n=Math.imul(gt,Tt))+Math.imul(mt,qe)|0))<<13)|0;return N=((y=Math.imul(mt,Tt))+(n>>>13)|0)+(jt>>>26)|0,jt&=67108863,T[0]=mi,T[1]=Ti,T[2]=xi,T[3]=Fi,T[4]=Je,T[5]=wt,T[6]=be,T[7]=Pt,T[8]=qt,T[9]=gi,T[10]=Si,T[11]=ki,T[12]=Gi,T[13]=Gt,T[14]=di,T[15]=ge,T[16]=Xe,T[17]=Et,T[18]=jt,0!==N&&(T[19]=N,d.length++),d};function Y(L,i,r){return(new Q).mulp(L,i,r)}function Q(L,i){this.x=L,this.y=i}Math.imul||(E=R),o.prototype.mulTo=function(i,r){var d,c=this.length+i.length;return d=10===this.length&&10===i.length?E(this,i,r):c<63?R(this,i,r):c<1024?function U(L,i,r){r.negative=i.negative^L.negative,r.length=L.length+i.length;for(var d=0,c=0,b=0;b<r.length-1;b++){var T=c;c=0;for(var N=67108863&d,v=Math.min(b,i.length-1),n=Math.max(0,b-L.length+1);n<=v;n++){var W=(0|L.words[b-n])*(0|i.words[n]),Le=67108863&W;N=67108863&(Le=Le+N|0),c+=(T=(T=T+(W/67108864|0)|0)+(Le>>>26)|0)>>>26,T&=67108863}r.words[b]=N,d=T,T=c}return 0!==d?r.words[b]=d:r.length--,r.strip()}(this,i,r):Y(this,i,r),d},Q.prototype.makeRBT=function(i){for(var r=new Array(i),d=o.prototype._countBits(i)-1,c=0;c<i;c++)r[c]=this.revBin(c,d,i);return r},Q.prototype.revBin=function(i,r,d){if(0===i||i===d-1)return i;for(var c=0,b=0;b<r;b++)c|=(1&i)<<r-b-1,i>>=1;return c},Q.prototype.permute=function(i,r,d,c,b,T){for(var N=0;N<T;N++)c[N]=r[i[N]],b[N]=d[i[N]]},Q.prototype.transform=function(i,r,d,c,b,T){this.permute(T,i,r,d,c,b);for(var N=1;N<b;N<<=1)for(var v=N<<1,n=Math.cos(2*Math.PI/v),y=Math.sin(2*Math.PI/v),B=0;B<b;B+=v)for(var z=n,W=y,Le=0;Le<N;Le++){var Ve=d[B+Le],Ke=c[B+Le],$e=d[B+Le+N],Ae=c[B+Le+N],ue=z*$e-W*Ae;Ae=z*Ae+W*$e,d[B+Le]=Ve+($e=ue),c[B+Le]=Ke+Ae,d[B+Le+N]=Ve-$e,c[B+Le+N]=Ke-Ae,Le!==v&&(ue=n*z-y*W,W=n*W+y*z,z=ue)}},Q.prototype.guessLen13b=function(i,r){var d=1|Math.max(r,i),c=1&d,b=0;for(d=d/2|0;d;d>>>=1)b++;return 1<<b+1+c},Q.prototype.conjugate=function(i,r,d){if(!(d<=1))for(var c=0;c<d/2;c++){var b=i[c];i[c]=i[d-c-1],i[d-c-1]=b,b=r[c],r[c]=-r[d-c-1],r[d-c-1]=-b}},Q.prototype.normalize13b=function(i,r){for(var d=0,c=0;c<r/2;c++){var b=8192*Math.round(i[2*c+1]/r)+Math.round(i[2*c]/r)+d;i[c]=67108863&b,d=b<67108864?0:b/67108864|0}return i},Q.prototype.convert13b=function(i,r,d,c){for(var b=0,T=0;T<r;T++)d[2*T]=8191&(b+=0|i[T]),d[2*T+1]=8191&(b>>>=13),b>>>=13;for(T=2*r;T<c;++T)d[T]=0;g(0===b),g(0==(-8192&b))},Q.prototype.stub=function(i){for(var r=new Array(i),d=0;d<i;d++)r[d]=0;return r},Q.prototype.mulp=function(i,r,d){var c=2*this.guessLen13b(i.length,r.length),b=this.makeRBT(c),T=this.stub(c),N=new Array(c),v=new Array(c),n=new Array(c),y=new Array(c),B=new Array(c),z=new Array(c),W=d.words;W.length=c,this.convert13b(i.words,i.length,N,c),this.convert13b(r.words,r.length,y,c),this.transform(N,T,v,n,c,b),this.transform(y,T,B,z,c,b);for(var Le=0;Le<c;Le++){var Ve=v[Le]*B[Le]-n[Le]*z[Le];n[Le]=v[Le]*z[Le]+n[Le]*B[Le],v[Le]=Ve}return this.conjugate(v,n,c),this.transform(v,n,W,T,c,b),this.conjugate(W,T,c),this.normalize13b(W,c),d.negative=i.negative^r.negative,d.length=i.length+r.length,d.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),Y(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var r=0,d=0;d<this.length;d++){var c=(0|this.words[d])*i,b=(67108863&c)+(67108863&r);r>>=26,r+=c/67108864|0,r+=b>>>26,this.words[d]=67108863&b}return 0!==r&&(this.words[d]=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 w(L){for(var i=new Array(L.bitLength()),r=0;r<i.length;r++){var c=r%26;i[r]=(L.words[r/26|0]&1<<c)>>>c}return i}(i);if(0===r.length)return new o(1);for(var d=this,c=0;c<r.length&&0===r[c];c++,d=d.sqr());if(++c<r.length)for(var b=d.sqr();c<r.length;c++,b=b.sqr())0!==r[c]&&(d=d.mul(b));return d},o.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var b,r=i%26,d=(i-r)/26,c=67108863>>>26-r<<26-r;if(0!==r){var T=0;for(b=0;b<this.length;b++){var N=this.words[b]&c;this.words[b]=(0|this.words[b])-N<<r|T,T=N>>>26-r}T&&(this.words[b]=T,this.length++)}if(0!==d){for(b=this.length-1;b>=0;b--)this.words[b+d]=this.words[b];for(b=0;b<d;b++)this.words[b]=0;this.length+=d}return this.strip()},o.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,d){var c;g("number"==typeof i&&i>=0),c=r?(r-r%26)/26:0;var b=i%26,T=Math.min((i-b)/26,this.length),N=67108863^67108863>>>b<<b,v=d;if(c-=T,c=Math.max(0,c),v){for(var n=0;n<T;n++)v.words[n]=this.words[n];v.length=T}if(0!==T)if(this.length>T)for(this.length-=T,n=0;n<this.length;n++)this.words[n]=this.words[n+T];else this.words[0]=0,this.length=1;var y=0;for(n=this.length-1;n>=0&&(0!==y||n>=c);n--){var B=0|this.words[n];this.words[n]=y<<26-b|B>>>b,y=B&N}return v&&0!==y&&(v.words[v.length++]=y),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,d){return g(0===this.negative),this.iushrn(i,r,d)},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){g("number"==typeof i&&i>=0);var r=i%26,d=(i-r)/26;return!(this.length<=d||!(this.words[d]&1<<r))},o.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var r=i%26,d=(i-r)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=d?this:(0!==r&&d++,this.length=Math.min(d,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 g("number"==typeof i),g(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(g("number"==typeof i),g(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,d){var b;this._expand(i.length+d);var T,N=0;for(b=0;b<i.length;b++){T=(0|this.words[b+d])+N;var v=(0|i.words[b])*r;N=((T-=67108863&v)>>26)-(v/67108864|0),this.words[b+d]=67108863&T}for(;b<this.length-d;b++)N=(T=(0|this.words[b+d])+N)>>26,this.words[b+d]=67108863&T;if(0===N)return this.strip();for(g(-1===N),N=0,b=0;b<this.length;b++)N=(T=-(0|this.words[b])+N)>>26,this.words[b]=67108863&T;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var d,c=this.clone(),b=i,T=0|b.words[b.length-1];0!=(d=26-this._countBits(T))&&(b=b.ushln(d),c.iushln(d),T=0|b.words[b.length-1]);var n,v=c.length-b.length;if("mod"!==r){(n=new o(null)).length=v+1,n.words=new Array(n.length);for(var y=0;y<n.length;y++)n.words[y]=0}var B=c.clone()._ishlnsubmul(b,1,v);0===B.negative&&(c=B,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var W=67108864*(0|c.words[b.length+z])+(0|c.words[b.length+z-1]);for(W=Math.min(W/T|0,67108863),c._ishlnsubmul(b,W,z);0!==c.negative;)W--,c.negative=0,c._ishlnsubmul(b,1,z),c.isZero()||(c.negative^=1);n&&(n.words[z]=W)}return n&&n.strip(),c.strip(),"div"!==r&&0!==d&&c.iushrn(d),{div:n||null,mod:c}},o.prototype.divmod=function(i,r,d){return g(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(T=this.neg().divmod(i,r),"mod"!==r&&(c=T.div.neg()),"div"!==r&&(b=T.mod.neg(),d&&0!==b.negative&&b.iadd(i)),{div:c,mod:b}):0===this.negative&&0!==i.negative?(T=this.divmod(i.neg(),r),"mod"!==r&&(c=T.div.neg()),{div:c,mod:T.mod}):0!=(this.negative&i.negative)?(T=this.neg().divmod(i.neg(),r),"div"!==r&&(b=T.mod.neg(),d&&0!==b.negative&&b.isub(i)),{div:T.div,mod:b}):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 c,b,T},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 d=0!==r.div.negative?r.mod.isub(i):r.mod,c=i.ushrn(1),b=i.andln(1),T=d.cmp(c);return T<0||1===b&&0===T?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){g(i<=67108863);for(var r=(1<<26)%i,d=0,c=this.length-1;c>=0;c--)d=(r*d+(0|this.words[c]))%i;return d},o.prototype.idivn=function(i){g(i<=67108863);for(var r=0,d=this.length-1;d>=0;d--){var c=(0|this.words[d])+67108864*r;this.words[d]=c/i|0,r=c%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var r=this,d=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),b=new o(0),T=new o(0),N=new o(1),v=0;r.isEven()&&d.isEven();)r.iushrn(1),d.iushrn(1),++v;for(var n=d.clone(),y=r.clone();!r.isZero();){for(var B=0,z=1;0==(r.words[0]&z)&&B<26;++B,z<<=1);if(B>0)for(r.iushrn(B);B-- >0;)(c.isOdd()||b.isOdd())&&(c.iadd(n),b.isub(y)),c.iushrn(1),b.iushrn(1);for(var W=0,Le=1;0==(d.words[0]&Le)&&W<26;++W,Le<<=1);if(W>0)for(d.iushrn(W);W-- >0;)(T.isOdd()||N.isOdd())&&(T.iadd(n),N.isub(y)),T.iushrn(1),N.iushrn(1);r.cmp(d)>=0?(r.isub(d),c.isub(T),b.isub(N)):(d.isub(r),T.isub(c),N.isub(b))}return{a:T,b:N,gcd:d.iushln(v)}},o.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var B,r=this,d=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),b=new o(0),T=d.clone();r.cmpn(1)>0&&d.cmpn(1)>0;){for(var N=0,v=1;0==(r.words[0]&v)&&N<26;++N,v<<=1);if(N>0)for(r.iushrn(N);N-- >0;)c.isOdd()&&c.iadd(T),c.iushrn(1);for(var n=0,y=1;0==(d.words[0]&y)&&n<26;++n,y<<=1);if(n>0)for(d.iushrn(n);n-- >0;)b.isOdd()&&b.iadd(T),b.iushrn(1);r.cmp(d)>=0?(r.isub(d),c.isub(b)):(d.isub(r),b.isub(c))}return(B=0===r.cmpn(1)?c:b).cmpn(0)<0&&B.iadd(i),B},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),d=i.clone();r.negative=0,d.negative=0;for(var c=0;r.isEven()&&d.isEven();c++)r.iushrn(1),d.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;d.isEven();)d.iushrn(1);var b=r.cmp(d);if(b<0){var T=r;r=d,d=T}else if(0===b||0===d.cmpn(1))break;r.isub(d)}return d.iushln(c)},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){g("number"==typeof i);var r=i%26,d=(i-r)/26,c=1<<r;if(this.length<=d)return this._expand(d+1),this.words[d]|=c,this;for(var b=c,T=d;0!==b&&T<this.length;T++){var N=0|this.words[T];b=(N+=b)>>>26,this.words[T]=N&=67108863}return 0!==b&&(this.words[T]=b,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var d,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)d=1;else{r&&(i=-i),g(i<=67108863,"Number is too big");var c=0|this.words[0];d=c===i?0:c<i?-1:1}return 0!==this.negative?0|-d:d},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,d=this.length-1;d>=0;d--){var c=0|this.words[d],b=0|i.words[d];if(c!==b){c<b?r=-1:c>b&&(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 se(i)},o.prototype.toRed=function(i){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return g(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 g(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return g(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 $(L,i){this.name=L,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 fe(){$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function re(){$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ee(){$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(L){if("string"==typeof L){var i=o._prime(L);this.m=i.p,this.prime=i}else g(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}function le(L){se.call(this,L),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)}$.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},$.prototype.ireduce=function(i){var d,r=i;do{this.split(r,this.tmp),d=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(d>this.n);var c=d<this.n?-1:r.ucmp(this.p);return 0===c?(r.words[0]=0,r.length=1):c>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},$.prototype.split=function(i,r){i.iushrn(this.n,0,r)},$.prototype.imulK=function(i){return i.imul(this.k)},k(fe,$),fe.prototype.split=function(i,r){for(var d=4194303,c=Math.min(i.length,9),b=0;b<c;b++)r.words[b]=i.words[b];if(r.length=c,i.length<=9)return i.words[0]=0,void(i.length=1);var T=i.words[9];for(r.words[r.length++]=T&d,b=10;b<i.length;b++){var N=0|i.words[b];i.words[b-10]=(N&d)<<4|T>>>22,T=N}i.words[b-10]=T>>>=22,i.length-=0===T&&i.length>10?10:9},fe.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,d=0;d<i.length;d++){var c=0|i.words[d];i.words[d]=67108863&(r+=977*c),r=64*c+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},k(re,$),k(ee,$),k(ce,$),ce.prototype.imulK=function(i){for(var r=0,d=0;d<i.length;d++){var c=19*(0|i.words[d])+r,b=67108863&c;c>>>=26,i.words[d]=b,r=c}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 fe;else if("p224"===i)r=new re;else if("p192"===i)r=new ee;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},se.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},se.prototype._verify2=function(i,r){g(0==(i.negative|r.negative),"red works only with positives"),g(i.red&&i.red===r.red,"red works only with red numbers")},se.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},se.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},se.prototype.add=function(i,r){this._verify2(i,r);var d=i.add(r);return d.cmp(this.m)>=0&&d.isub(this.m),d._forceRed(this)},se.prototype.iadd=function(i,r){this._verify2(i,r);var d=i.iadd(r);return d.cmp(this.m)>=0&&d.isub(this.m),d},se.prototype.sub=function(i,r){this._verify2(i,r);var d=i.sub(r);return d.cmpn(0)<0&&d.iadd(this.m),d._forceRed(this)},se.prototype.isub=function(i,r){this._verify2(i,r);var d=i.isub(r);return d.cmpn(0)<0&&d.iadd(this.m),d},se.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},se.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},se.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},se.prototype.isqr=function(i){return this.imul(i,i.clone())},se.prototype.sqr=function(i){return this.mul(i,i)},se.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(g(r%2==1),3===r){var d=this.m.add(new o(1)).iushrn(2);return this.pow(i,d)}for(var c=this.m.subn(1),b=0;!c.isZero()&&0===c.andln(1);)b++,c.iushrn(1);g(!c.isZero());var T=new o(1).toRed(this),N=T.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,v).cmp(N);)n.redIAdd(N);for(var y=this.pow(n,c),B=this.pow(i,c.addn(1).iushrn(1)),z=this.pow(i,c),W=b;0!==z.cmp(T);){for(var Le=z,Ve=0;0!==Le.cmp(T);Ve++)Le=Le.redSqr();g(Ve<W);var Ke=this.pow(y,new o(1).iushln(W-Ve-1));B=B.redMul(Ke),y=Ke.redSqr(),z=z.redMul(y),W=Ve}return B},se.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},se.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var c=new Array(16);c[0]=new o(1).toRed(this),c[1]=i;for(var b=2;b<c.length;b++)c[b]=this.mul(c[b-1],i);var T=c[0],N=0,v=0,n=r.bitLength()%26;for(0===n&&(n=26),b=r.length-1;b>=0;b--){for(var y=r.words[b],B=n-1;B>=0;B--){var z=y>>B&1;T!==c[0]&&(T=this.sqr(T)),0!==z||0!==N?(N<<=1,N|=z,(4==++v||0===b&&0===B)&&(T=this.mul(T,c[N]),v=0,N=0)):v=0}n=26}return T},se.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},se.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new le(i)},k(le,se),le.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},le.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},le.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var d=i.imul(r),c=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=d.isub(c).iushrn(this.shift),T=b;return b.cmp(this.m)>=0?T=b.isub(this.m):b.cmpn(0)<0&&(T=b.iadd(this.m)),T._forceRed(this)},le.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var d=i.mul(r),c=d.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=d.isub(c).iushrn(this.shift),T=b;return b.cmp(this.m)>=0?T=b.isub(this.m):b.cmpn(0)<0&&(T=b.iadd(this.m)),T._forceRed(this)},le.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(ze=m.nmd(ze),this)},6705:(ze,K,m)=>{var t=m(2772),e=m(6945),g=m(9401),k=m(2057),o=m(8466),C=m(6386),h=m(8651),P=m(3502).Buffer;ze.exports=function(w,R,E){var U;U=w.padding?w.padding:E?1:4;var X,Y=t(w),Q=Y.modulus.byteLength();if(R.length>Q||new k(R).cmp(Y.modulus)>=0)throw new Error("decryption error");X=E?h(new k(R),Y):o(R,Y);var $=P.alloc(Q-X.length);if(X=P.concat([$,X],Q),4===U)return function u(A,w){var R=A.modulus.byteLength(),E=C("sha1").update(P.alloc(0)).digest(),U=E.length;if(0!==w[0])throw new Error("decryption error");var Y=w.slice(1,U+1),Q=w.slice(U+1),X=g(Y,e(Q,U)),$=g(Q,e(X,R-U-1));if(function S(A,w){A=P.from(A),w=P.from(w);var R=0,E=A.length;A.length!==w.length&&(R++,E=Math.min(A.length,w.length));for(var U=-1;++U<E;)R+=A[U]^w[U];return R}(E,$.slice(0,U)))throw new Error("decryption error");for(var fe=U;0===$[fe];)fe++;if(1!==$[fe++])throw new Error("decryption error");return $.slice(fe)}(Y,X);if(1===U)return function I(A,w,R){for(var E=w.slice(0,2),U=2,Y=0;0!==w[U++];)if(U>=w.length){Y++;break}var Q=w.slice(2,U-1);if(("0002"!==E.toString("hex")&&!R||"0001"!==E.toString("hex")&&R)&&Y++,Q.length<8&&Y++,Y)throw new Error("decryption error");return w.slice(U)}(0,X,E);if(3===U)return X;throw new Error("unknown padding")}},6562:(ze,K,m)=>{var t=m(2772),e=m(3753),g=m(6386),k=m(6945),o=m(9401),C=m(2057),h=m(8651),P=m(8466),u=m(3502).Buffer;ze.exports=function(R,E,U){var Y;Y=R.padding?R.padding:U?1:4;var X,Q=t(R);if(4===Y)X=function I(w,R){var E=w.modulus.byteLength(),U=R.length,Y=g("sha1").update(u.alloc(0)).digest(),Q=Y.length,X=2*Q;if(U>E-X-2)throw new Error("message too long");var $=u.alloc(E-U-X-2),fe=E-Q-1,re=e(Q),ee=o(u.concat([Y,$,u.alloc(1,1),R],fe),k(re,fe)),ce=o(re,k(ee,Q));return new C(u.concat([u.alloc(1),ce,ee],E))}(Q,E);else if(1===Y)X=function S(w,R,E){var Q,U=R.length,Y=w.modulus.byteLength();if(U>Y-11)throw new Error("message too long");return Q=E?u.alloc(Y-U-3,255):function A(w){for(var Q,R=u.allocUnsafe(w),E=0,U=e(2*w),Y=0;E<w;)Y===U.length&&(U=e(2*w),Y=0),(Q=U[Y++])&&(R[E++]=Q);return R}(Y-U-3),new C(u.concat([u.from([0,E?1:2]),Q,u.alloc(1),R],Y))}(Q,E,U);else{if(3!==Y)throw new Error("unknown padding");if((X=new C(E)).cmp(Q.modulus)>=0)throw new Error("data too long for modulus")}return U?P(X,Q):h(X,Q)}},8651:(ze,K,m)=>{var t=m(2057),e=m(3502).Buffer;ze.exports=function g(k,o){return e.from(k.toRed(t.mont(o.modulus)).redPow(new t(o.publicExponent)).fromRed().toArray())}},9401:ze=>{ze.exports=function(m,t){for(var e=m.length,g=-1;++g<e;)m[g]^=t[g];return m}},3259:(ze,K,m)=>{const t=m(8695),e=m(1465),g=m(3210),k=m(2334);function o(C,h,P,u,I){const S=[].slice.call(arguments,1),A=S.length,w="function"==typeof S[A-1];if(!w&&!t())throw new Error("Callback required as last argument");if(!w){if(A<1)throw new Error("Too few arguments provided");return 1===A?(P=h,h=u=void 0):2===A&&!h.getContext&&(u=P,P=h,h=void 0),new Promise(function(R,E){try{const U=e.create(P,u);R(C(U,h,u))}catch(U){E(U)}})}if(A<2)throw new Error("Too few arguments provided");2===A?(I=P,P=h,h=u=void 0):3===A&&(h.getContext&&typeof I>"u"?(I=u,u=void 0):(I=u,u=P,P=h,h=void 0));try{const R=e.create(P,u);I(null,C(R,h,u))}catch(R){I(R)}}K.create=e.create,K.toCanvas=o.bind(null,g.render),K.toDataURL=o.bind(null,g.renderToDataURL),K.toString=o.bind(null,function(C,h,P){return k.render(C,P)})},8695:ze=>{ze.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6221:(ze,K,m)=>{const t=m(4792).getSymbolSize;K.getRowColCoords=function(g){if(1===g)return[];const k=Math.floor(g/7)+2,o=t(g),C=145===o?26:2*Math.ceil((o-13)/(2*k-2)),h=[o-7];for(let P=1;P<k-1;P++)h[P]=h[P-1]-C;return h.push(6),h.reverse()},K.getPositions=function(g){const k=[],o=K.getRowColCoords(g),C=o.length;for(let h=0;h<C;h++)for(let P=0;P<C;P++)0===h&&0===P||0===h&&P===C-1||h===C-1&&0===P||k.push([o[h],o[P]]);return k}},2424:(ze,K,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 g(k){this.mode=t.ALPHANUMERIC,this.data=k}g.getBitsLength=function(o){return 11*Math.floor(o/2)+o%2*6},g.prototype.getLength=function(){return this.data.length},g.prototype.getBitsLength=function(){return g.getBitsLength(this.data.length)},g.prototype.write=function(o){let C;for(C=0;C+2<=this.data.length;C+=2){let h=45*e.indexOf(this.data[C]);h+=e.indexOf(this.data[C+1]),o.put(h,11)}this.data.length%2&&o.put(e.indexOf(this.data[C]),6)},ze.exports=g},2118:ze=>{function K(){this.buffer=[],this.length=0}K.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++}},ze.exports=K},4425:ze=>{function K(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)}K.prototype.set=function(m,t,e,g){const k=m*this.size+t;this.data[k]=e,g&&(this.reservedBit[k]=!0)},K.prototype.get=function(m,t){return this.data[m*this.size+t]},K.prototype.xor=function(m,t,e){this.data[m*this.size+t]^=e},K.prototype.isReserved=function(m,t){return this.reservedBit[m*this.size+t]},ze.exports=K},5663:(ze,K,m)=>{const t=m(8419),e=m(4016);function g(k){this.mode=e.BYTE,"string"==typeof k&&(k=t(k)),this.data=new Uint8Array(k)}g.getBitsLength=function(o){return 8*o},g.prototype.getLength=function(){return this.data.length},g.prototype.getBitsLength=function(){return g.getBitsLength(this.data.length)},g.prototype.write=function(k){for(let o=0,C=this.data.length;o<C;o++)k.put(this.data[o],8)},ze.exports=g},4655:(ze,K,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],g=[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];K.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}},K.getTotalCodewordsCount=function(o,C){switch(C){case t.L:return g[4*(o-1)+0];case t.M:return g[4*(o-1)+1];case t.Q:return g[4*(o-1)+2];case t.H:return g[4*(o-1)+3];default:return}}},2259:(ze,K)=>{K.L={bit:1},K.M={bit:0},K.Q={bit:3},K.H={bit:2},K.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4},K.from=function(e,g){if(K.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 K.L;case"m":case"medium":return K.M;case"q":case"quartile":return K.Q;case"h":case"high":return K.H;default:throw new Error("Unknown EC Level: "+t)}}(e)}catch{return g}}},3114:(ze,K,m)=>{const t=m(4792).getSymbolSize;K.getPositions=function(k){const o=t(k);return[[0,0],[o-7,0],[0,o-7]]}},7078:(ze,K,m)=>{const t=m(4792),k=t.getBCHDigit(1335);K.getEncodedBits=function(C,h){const P=C.bit<<3|h;let u=P<<10;for(;t.getBCHDigit(u)-k>=0;)u^=1335<<t.getBCHDigit(u)-k;return 21522^(P<<10|u)}},5339:(ze,K)=>{const m=new Uint8Array(512),t=new Uint8Array(256);(function(){let g=1;for(let k=0;k<255;k++)m[k]=g,t[g]=k,g<<=1,256&g&&(g^=285);for(let k=255;k<512;k++)m[k]=m[k-255]})(),K.log=function(g){if(g<1)throw new Error("log("+g+")");return t[g]},K.exp=function(g){return m[g]},K.mul=function(g,k){return 0===g||0===k?0:m[t[g]+t[k]]}},449:(ze,K,m)=>{const t=m(4016),e=m(4792);function g(k){this.mode=t.KANJI,this.data=k}g.getBitsLength=function(o){return 13*o},g.prototype.getLength=function(){return this.data.length},g.prototype.getBitsLength=function(){return g.getBitsLength(this.data.length)},g.prototype.write=function(k){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),k.put(C,13)}},ze.exports=g},3667:(ze,K)=>{K.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function t(e,g,k){switch(e){case K.Patterns.PATTERN000:return(g+k)%2==0;case K.Patterns.PATTERN001:return g%2==0;case K.Patterns.PATTERN010:return k%3==0;case K.Patterns.PATTERN011:return(g+k)%3==0;case K.Patterns.PATTERN100:return(Math.floor(g/2)+Math.floor(k/3))%2==0;case K.Patterns.PATTERN101:return g*k%2+g*k%3==0;case K.Patterns.PATTERN110:return(g*k%2+g*k%3)%2==0;case K.Patterns.PATTERN111:return(g*k%3+(g+k)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}K.isValid=function(g){return null!=g&&""!==g&&!isNaN(g)&&g>=0&&g<=7},K.from=function(g){return K.isValid(g)?parseInt(g,10):void 0},K.getPenaltyN1=function(g){const k=g.size;let o=0,C=0,h=0,P=null,u=null;for(let I=0;I<k;I++){C=h=0,P=u=null;for(let S=0;S<k;S++){let A=g.get(I,S);A===P?C++:(C>=5&&(o+=C-5+3),P=A,C=1),A=g.get(S,I),A===u?h++:(h>=5&&(o+=h-5+3),u=A,h=1)}C>=5&&(o+=C-5+3),h>=5&&(o+=h-5+3)}return o},K.getPenaltyN2=function(g){const k=g.size;let o=0;for(let C=0;C<k-1;C++)for(let h=0;h<k-1;h++){const P=g.get(C,h)+g.get(C,h+1)+g.get(C+1,h)+g.get(C+1,h+1);(4===P||0===P)&&o++}return 3*o},K.getPenaltyN3=function(g){const k=g.size;let o=0,C=0,h=0;for(let P=0;P<k;P++){C=h=0;for(let u=0;u<k;u++)C=C<<1&2047|g.get(P,u),u>=10&&(1488===C||93===C)&&o++,h=h<<1&2047|g.get(u,P),u>=10&&(1488===h||93===h)&&o++}return 40*o},K.getPenaltyN4=function(g){let k=0;const o=g.data.length;for(let h=0;h<o;h++)k+=g.data[h];return 10*Math.abs(Math.ceil(100*k/o/5)-10)},K.applyMask=function(g,k){const o=k.size;for(let C=0;C<o;C++)for(let h=0;h<o;h++)k.isReserved(h,C)||k.xor(h,C,t(g,h,C))},K.getBestMask=function(g,k){const o=Object.keys(K.Patterns).length;let C=0,h=1/0;for(let P=0;P<o;P++){k(P),K.applyMask(P,g);const u=K.getPenaltyN1(g)+K.getPenaltyN2(g)+K.getPenaltyN3(g)+K.getPenaltyN4(g);K.applyMask(P,g),u<h&&(h=u,C=P)}return C}},4016:(ze,K,m)=>{const t=m(4406),e=m(2699);K.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},K.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},K.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},K.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},K.MIXED={bit:-1},K.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]},K.getBestModeForData=function(o){return e.testNumeric(o)?K.NUMERIC:e.testAlphanumeric(o)?K.ALPHANUMERIC:e.testKanji(o)?K.KANJI:K.BYTE},K.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},K.isValid=function(o){return o&&o.bit&&o.ccBits},K.from=function(o,C){if(K.isValid(o))return o;try{return function g(k){if("string"!=typeof k)throw new Error("Param is not a string");switch(k.toLowerCase()){case"numeric":return K.NUMERIC;case"alphanumeric":return K.ALPHANUMERIC;case"kanji":return K.KANJI;case"byte":return K.BYTE;default:throw new Error("Unknown mode: "+k)}}(o)}catch{return C}}},7783:(ze,K,m)=>{const t=m(4016);function e(g){this.mode=t.NUMERIC,this.data=g.toString()}e.getBitsLength=function(k){return 10*Math.floor(k/3)+(k%3?k%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(k){let o,C,h;for(o=0;o+3<=this.data.length;o+=3)C=this.data.substr(o,3),h=parseInt(C,10),k.put(h,10);const P=this.data.length-o;P>0&&(C=this.data.substr(o),h=parseInt(C,10),k.put(h,3*P+1))},ze.exports=e},1106:(ze,K,m)=>{const t=m(5339);K.mul=function(g,k){const o=new Uint8Array(g.length+k.length-1);for(let C=0;C<g.length;C++)for(let h=0;h<k.length;h++)o[C+h]^=t.mul(g[C],k[h]);return o},K.mod=function(g,k){let o=new Uint8Array(g);for(;o.length-k.length>=0;){const C=o[0];for(let P=0;P<k.length;P++)o[P]^=t.mul(k[P],C);let h=0;for(;h<o.length&&0===o[h];)h++;o=o.slice(h)}return o},K.generateECPolynomial=function(g){let k=new Uint8Array([1]);for(let o=0;o<g;o++)k=K.mul(k,new Uint8Array([1,t.exp(o)]));return k}},1465:(ze,K,m)=>{const t=m(4792),e=m(2259),g=m(2118),k=m(4425),o=m(6221),C=m(3114),h=m(3667),P=m(4655),u=m(2636),I=m(2088),S=m(7078),A=m(4016),w=m(2033);function Q(ee,ce,se){const le=ee.size,L=S.getEncodedBits(ce,se);let i,r;for(i=0;i<15;i++)r=1==(L>>i&1),ee.set(i<6?i:i<8?i+1:le-15+i,8,r,!0),ee.set(8,i<8?le-i-1:i<9?15-i-1+1:15-i-1,r,!0);ee.set(le-8,8,1,!0)}function re(ee,ce,se,le){let L;if(Array.isArray(ee))L=w.fromArray(ee);else{if("string"!=typeof ee)throw new Error("Invalid data");{let b=ce;if(!b){const T=w.rawSplit(ee);b=I.getBestVersionForData(T,se)}L=w.fromString(ee,b||40)}}const i=I.getBestVersionForData(L,se);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,ce,se){const le=new g;se.forEach(function(c){le.put(c.mode.bit,4),le.put(c.getLength(),A.getCharCountIndicator(c.mode,ee)),c.write(le)});const r=8*(t.getSymbolTotalCodewords(ee)-P.getTotalCodewordsCount(ee,ce));for(le.getLengthInBits()+4<=r&&le.put(0,4);le.getLengthInBits()%8!=0;)le.putBit(0);const d=(r-le.getLengthInBits())/8;for(let c=0;c<d;c++)le.put(c%2?17:236,8);return function fe(ee,ce,se){const le=t.getSymbolTotalCodewords(ce),i=le-P.getTotalCodewordsCount(ce,se),r=P.getBlocksCount(ce,se),c=r-le%r,b=Math.floor(le/r),T=Math.floor(i/r),N=T+1,v=b-T,n=new u(v);let y=0;const B=new Array(r),z=new Array(r);let W=0;const Le=new Uint8Array(ee.buffer);for(let ue=0;ue<r;ue++){const ye=ue<c?T:N;B[ue]=Le.slice(y,y+ye),z[ue]=n.encode(B[ue]),y+=ye,W=Math.max(W,ye)}const Ve=new Uint8Array(le);let $e,Ae,Ke=0;for($e=0;$e<W;$e++)for(Ae=0;Ae<r;Ae++)$e<B[Ae].length&&(Ve[Ke++]=B[Ae][$e]);for($e=0;$e<v;$e++)for(Ae=0;Ae<r;Ae++)Ve[Ke++]=z[Ae][$e];return Ve}(le,ee,ce)}(ce,se,L),d=t.getSymbolSize(ce),c=new k(d);return function R(ee,ce){const se=ee.size,le=C.getPositions(ce);for(let L=0;L<le.length;L++){const i=le[L][0],r=le[L][1];for(let d=-1;d<=7;d++)if(!(i+d<=-1||se<=i+d))for(let c=-1;c<=7;c++)r+c<=-1||se<=r+c||ee.set(i+d,r+c,d>=0&&d<=6&&(0===c||6===c)||c>=0&&c<=6&&(0===d||6===d)||d>=2&&d<=4&&c>=2&&c<=4,!0)}}(c,ce),function E(ee){const ce=ee.size;for(let se=8;se<ce-8;se++){const le=se%2==0;ee.set(se,6,le,!0),ee.set(6,se,le,!0)}}(c),function U(ee,ce){const se=o.getPositions(ce);for(let le=0;le<se.length;le++){const L=se[le][0],i=se[le][1];for(let r=-2;r<=2;r++)for(let d=-2;d<=2;d++)ee.set(L+r,i+d,-2===r||2===r||-2===d||2===d||0===r&&0===d,!0)}}(c,ce),Q(c,se,0),ce>=7&&function Y(ee,ce){const se=ee.size,le=I.getEncodedBits(ce);let L,i,r;for(let d=0;d<18;d++)L=Math.floor(d/3),i=d%3+se-8-3,r=1==(le>>d&1),ee.set(L,i,r,!0),ee.set(i,L,r,!0)}(c,ce),function X(ee,ce){const se=ee.size;let le=-1,L=se-1,i=7,r=0;for(let d=se-1;d>0;d-=2)for(6===d&&d--;;){for(let c=0;c<2;c++)if(!ee.isReserved(L,d-c)){let b=!1;r<ce.length&&(b=1==(ce[r]>>>i&1)),ee.set(L,d-c,b),i--,-1===i&&(r++,i=7)}if(L+=le,L<0||se<=L){L-=le,le=-le;break}}}(c,r),isNaN(le)&&(le=h.getBestMask(c,Q.bind(null,c,se))),h.applyMask(le,c),Q(c,se,le),{modules:c,version:ce,errorCorrectionLevel:se,maskPattern:le,segments:L}}K.create=function(ce,se){if(typeof ce>"u"||""===ce)throw new Error("No input text");let L,i,le=e.M;return typeof se<"u"&&(le=e.from(se.errorCorrectionLevel,e.M),L=I.from(se.version),i=h.from(se.maskPattern),se.toSJISFunc&&t.setToSJISFunction(se.toSJISFunc)),re(ce,L,le,i)}},2636:(ze,K,m)=>{const t=m(1106);function e(g){this.genPoly=void 0,this.degree=g,this.degree&&this.initialize(this.degree)}e.prototype.initialize=function(k){this.degree=k,this.genPoly=t.generateECPolynomial(this.degree)},e.prototype.encode=function(k){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(k.length+this.degree);o.set(k);const C=t.mod(o,this.genPoly),h=this.degree-C.length;if(h>0){const P=new Uint8Array(this.degree);return P.set(C,h),P}return C},ze.exports=e},2699:(ze,K)=>{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 g="(?:(?![A-Z0-9 $%*+\\-./:]|"+e+")(?:.|[\r\n]))+";K.KANJI=new RegExp(e,"g"),K.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),K.BYTE=new RegExp(g,"g"),K.NUMERIC=new RegExp(m,"g"),K.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const k=new RegExp("^"+e+"$"),o=new RegExp("^"+m+"$"),C=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");K.testKanji=function(P){return k.test(P)},K.testNumeric=function(P){return o.test(P)},K.testAlphanumeric=function(P){return C.test(P)}},2033:(ze,K,m)=>{const t=m(4016),e=m(7783),g=m(2424),k=m(5663),o=m(449),C=m(2699),h=m(4792),P=m(4901);function u(Y){return unescape(encodeURIComponent(Y)).length}function I(Y,Q,X){const $=[];let fe;for(;null!==(fe=Y.exec(X));)$.push({data:fe[0],index:fe.index,mode:Q,length:fe[0].length});return $}function S(Y){const Q=I(C.NUMERIC,t.NUMERIC,Y),X=I(C.ALPHANUMERIC,t.ALPHANUMERIC,Y);let $,fe;return h.isKanjiModeEnabled()?($=I(C.BYTE,t.BYTE,Y),fe=I(C.KANJI,t.KANJI,Y)):($=I(C.BYTE_KANJI,t.BYTE,Y),fe=[]),Q.concat(X,$,fe).sort(function(ee,ce){return ee.index-ce.index}).map(function(ee){return{data:ee.data,mode:ee.mode,length:ee.length}})}function A(Y,Q){switch(Q){case t.NUMERIC:return e.getBitsLength(Y);case t.ALPHANUMERIC:return g.getBitsLength(Y);case t.KANJI:return o.getBitsLength(Y);case t.BYTE:return k.getBitsLength(Y)}}function U(Y,Q){let X;const $=t.getBestModeForData(Y);if(X=t.from(Q,$),X!==t.BYTE&&X.bit<$.bit)throw new Error('"'+Y+'" cannot be encoded with mode '+t.toString(X)+".\n Suggested mode is: "+t.toString($));switch(X===t.KANJI&&!h.isKanjiModeEnabled()&&(X=t.BYTE),X){case t.NUMERIC:return new e(Y);case t.ALPHANUMERIC:return new g(Y);case t.KANJI:return new o(Y);case t.BYTE:return new k(Y)}}K.fromArray=function(Q){return Q.reduce(function(X,$){return"string"==typeof $?X.push(U($,null)):$.data&&X.push(U($.data,$.mode)),X},[])},K.fromString=function(Q,X){const fe=function R(Y){const Q=[];for(let X=0;X<Y.length;X++){const $=Y[X];switch($.mode){case t.NUMERIC:Q.push([$,{data:$.data,mode:t.ALPHANUMERIC,length:$.length},{data:$.data,mode:t.BYTE,length:$.length}]);break;case t.ALPHANUMERIC:Q.push([$,{data:$.data,mode:t.BYTE,length:$.length}]);break;case t.KANJI:Q.push([$,{data:$.data,mode:t.BYTE,length:u($.data)}]);break;case t.BYTE:Q.push([{data:$.data,mode:t.BYTE,length:u($.data)}])}}return Q}(S(Q,h.isKanjiModeEnabled())),re=function E(Y,Q){const X={},$={start:{}};let fe=["start"];for(let re=0;re<Y.length;re++){const ee=Y[re],ce=[];for(let se=0;se<ee.length;se++){const le=ee[se],L=""+re+se;ce.push(L),X[L]={node:le,lastCount:0},$[L]={};for(let i=0;i<fe.length;i++){const r=fe[i];X[r]&&X[r].node.mode===le.mode?($[r][L]=A(X[r].lastCount+le.length,le.mode)-A(X[r].lastCount,le.mode),X[r].lastCount+=le.length):(X[r]&&(X[r].lastCount=le.length),$[r][L]=A(le.length,le.mode)+4+t.getCharCountIndicator(le.mode,Q))}}fe=ce}for(let re=0;re<fe.length;re++)$[fe[re]].end=0;return{map:$,table:X}}(fe,X),ee=P.find_path(re.map,"start","end"),ce=[];for(let se=1;se<ee.length-1;se++)ce.push(re.table[ee[se]].node);return K.fromArray(function w(Y){return Y.reduce(function(Q,X){const $=Q.length-1>=0?Q[Q.length-1]:null;return $&&$.mode===X.mode?(Q[Q.length-1].data+=X.data,Q):(Q.push(X),Q)},[])}(ce))},K.rawSplit=function(Q){return K.fromArray(S(Q,h.isKanjiModeEnabled()))}},4792:(ze,K)=>{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];K.getSymbolSize=function(g){if(!g)throw new Error('"version" cannot be null or undefined');if(g<1||g>40)throw new Error('"version" should be in range from 1 to 40');return 4*g+17},K.getSymbolTotalCodewords=function(g){return t[g]},K.getBCHDigit=function(e){let g=0;for(;0!==e;)g++,e>>>=1;return g},K.setToSJISFunction=function(g){if("function"!=typeof g)throw new Error('"toSJISFunc" is not a valid function.');m=g},K.isKanjiModeEnabled=function(){return typeof m<"u"},K.toSJIS=function(g){return m(g)}},4406:(ze,K)=>{K.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},2088:(ze,K,m)=>{const t=m(4792),e=m(4655),g=m(2259),k=m(4016),o=m(4406),h=t.getBCHDigit(7973);function u(A,w){return k.getCharCountIndicator(A,w)+4}function I(A,w){let R=0;return A.forEach(function(E){const U=u(E.mode,w);R+=U+E.getBitsLength()}),R}K.from=function(w,R){return o.isValid(w)?parseInt(w,10):R},K.getCapacity=function(w,R,E){if(!o.isValid(w))throw new Error("Invalid QR Code version");typeof E>"u"&&(E=k.BYTE);const Q=8*(t.getSymbolTotalCodewords(w)-e.getTotalCodewordsCount(w,R));if(E===k.MIXED)return Q;const X=Q-u(E,w);switch(E){case k.NUMERIC:return Math.floor(X/10*3);case k.ALPHANUMERIC:return Math.floor(X/11*2);case k.KANJI:return Math.floor(X/13);default:return Math.floor(X/8)}},K.getBestVersionForData=function(w,R){let E;const U=g.from(R,g.M);if(Array.isArray(w)){if(w.length>1)return function S(A,w){for(let R=1;R<=40;R++)if(I(A,R)<=K.getCapacity(R,w,k.MIXED))return R}(w,U);if(0===w.length)return 1;E=w[0]}else E=w;return function P(A,w,R){for(let E=1;E<=40;E++)if(w<=K.getCapacity(E,R,A))return E}(E.mode,E.getLength(),U)},K.getEncodedBits=function(w){if(!o.isValid(w)||w<7)throw new Error("Invalid QR Code version");let R=w<<12;for(;t.getBCHDigit(R)-h>=0;)R^=7973<<t.getBCHDigit(R)-h;return w<<12|R}},3210:(ze,K,m)=>{const t=m(6355);K.render=function(o,C,h){let P=h,u=C;typeof P>"u"&&(!C||!C.getContext)&&(P=C,C=void 0),C||(u=function g(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),P=t.getOptions(P);const I=t.getImageWidth(o.modules.size,P),S=u.getContext("2d"),A=S.createImageData(I,I);return t.qrToImageData(A.data,o,P),function e(k,o,C){k.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"}(S,u,I),S.putImageData(A,0,0),u},K.renderToDataURL=function(o,C,h){let P=h;return typeof P>"u"&&(!C||!C.getContext)&&(P=C,C=void 0),P||(P={}),K.render(o,C,P).toDataURL(P.type||"image/png",(P.rendererOpts||{}).quality)}},2334:(ze,K,m)=>{const t=m(6355);function e(o,C){const h=o.a/255,P=C+'="'+o.hex+'"';return h<1?P+" "+C+'-opacity="'+h.toFixed(2).slice(1)+'"':P}function g(o,C,h){let P=o+C;return typeof h<"u"&&(P+=" "+h),P}K.render=function(C,h,P){const u=t.getOptions(h),I=C.modules.size,S=C.modules.data,A=I+2*u.margin,w=u.color.light.a?"<path "+e(u.color.light,"fill")+' d="M0 0h'+A+"v"+A+'H0z"/>':"",R="<path "+e(u.color.dark,"stroke")+' d="'+function k(o,C,h){let P="",u=0,I=!1,S=0;for(let A=0;A<o.length;A++){const w=Math.floor(A%C),R=Math.floor(A/C);!w&&!I&&(I=!0),o[A]?(S++,A>0&&w>0&&o[A-1]||(P+=I?g("M",w+h,.5+R+h):g("m",u,0),u=0,I=!1),w+1<C&&o[A+1]||(P+=g("h",S),S=0)):u++}return P}(S,I,u.margin)+'"/>',Y='<svg xmlns="http://www.w3.org/2000/svg" '+(u.width?'width="'+u.width+'" height="'+u.width+'" ':"")+'viewBox="0 0 '+A+" "+A+'" shape-rendering="crispEdges">'+w+R+"</svg>\n";return"function"==typeof P&&P(null,Y),Y}},6355:(ze,K)=>{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(k){return[k,k]}))),6===e.length&&e.push("F","F");const g=parseInt(e.join(""),16);return{r:g>>24&255,g:g>>16&255,b:g>>8&255,a:255&g,hex:"#"+e.slice(0,6).join("")}}K.getOptions=function(e){e||(e={}),e.color||(e.color={});const k=e.width&&e.width>=21?e.width:void 0;return{width:k,scale:k?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||{}}},K.getScale=function(e,g){return g.width&&g.width>=e+2*g.margin?g.width/(e+2*g.margin):g.scale},K.getImageWidth=function(e,g){const k=K.getScale(e,g);return Math.floor((e+2*g.margin)*k)},K.qrToImageData=function(e,g,k){const o=g.modules.size,C=g.modules.data,h=K.getScale(o,k),P=Math.floor((o+2*k.margin)*h),u=k.margin*h,I=[k.color.light,k.color.dark];for(let S=0;S<P;S++)for(let A=0;A<P;A++){let w=4*(S*P+A),R=k.color.light;S>=u&&A>=u&&S<P-u&&A<P-u&&(R=I[C[Math.floor((S-u)/h)*o+Math.floor((A-u)/h)]?1:0]),e[w++]=R.r,e[w++]=R.g,e[w++]=R.b,e[w]=R.a}}},3753:(ze,K,m)=>{"use strict";var t=65536,k=m(3502).Buffer,o=global.crypto||global.msCrypto;ze.exports=o&&o.getRandomValues?function C(h,P){if(h>4294967295)throw new RangeError("requested too many random bytes");var u=k.allocUnsafe(h);if(h>0)if(h>t)for(var I=0;I<h;I+=t)o.getRandomValues(u.slice(I,I+t));else o.getRandomValues(u);return"function"==typeof P?process.nextTick(function(){P(null,u)}):u}:function g(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},4275:(ze,K,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),g=m(3753),k=e.Buffer,o=e.kMaxLength,C=global.crypto||global.msCrypto,h=Math.pow(2,32)-1;function P(w,R){if("number"!=typeof w||w!=w)throw new TypeError("offset must be a number");if(w>h||w<0)throw new TypeError("offset must be a uint32");if(w>o||w>R)throw new RangeError("offset out of range")}function u(w,R,E){if("number"!=typeof w||w!=w)throw new TypeError("size must be a number");if(w>h||w<0)throw new TypeError("size must be a uint32");if(w+R>E||w>o)throw new RangeError("buffer too small")}function S(w,R,E,U){if(process.browser){var Q=new Uint8Array(w.buffer,R,E);return C.getRandomValues(Q),U?void process.nextTick(function(){U(null,w)}):w}if(!U)return g(E).copy(w,R),w;g(E,function($,fe){if($)return U($);fe.copy(w,R),U(null,w)})}C&&C.getRandomValues||!process.browser?(K.randomFill=function I(w,R,E,U){if(!(k.isBuffer(w)||w instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof R)U=R,R=0,E=w.length;else if("function"==typeof E)U=E,E=w.length-R;else if("function"!=typeof U)throw new TypeError('"cb" argument must be a function');return P(R,w.length),u(E,R,w.length),S(w,R,E,U)},K.randomFillSync=function A(w,R,E){if(typeof R>"u"&&(R=0),!(k.isBuffer(w)||w instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return P(R,w.length),void 0===E&&(E=w.length-R),u(E,R,w.length),S(w,R,E)}):(K.randomFill=t,K.randomFillSync=t)},891:ze=>{"use strict";var m={};function t(C,h,P){P||(P=Error);var I=function(S){function A(w,R,E){return S.call(this,function u(S,A,w){return"string"==typeof h?h:h(S,A,w)}(w,R,E))||this}return function K(C,h){C.prototype=Object.create(h.prototype),C.prototype.constructor=C,C.__proto__=h}(A,S),A}(P);I.prototype.name=P.name,I.prototype.code=C,m[C]=I}function e(C,h){if(Array.isArray(C)){var P=C.length;return C=C.map(function(u){return String(u)}),P>2?"one of ".concat(h," ").concat(C.slice(0,P-1).join(", "),", or ")+C[P-1]:2===P?"one of ".concat(h," ").concat(C[0]," or ").concat(C[1]):"of ".concat(h," ").concat(C[0])}return"of ".concat(h," ").concat(String(C))}t("ERR_INVALID_OPT_VALUE",function(C,h){return'The value "'+h+'" is invalid for option "'+C+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(C,h,P){var u,I;if("string"==typeof h&&function g(C,h,P){return C.substr(!P||P<0?0:+P,h.length)===h}(h,"not ")?(u="must not be",h=h.replace(/^not /,"")):u="must be",function k(C,h,P){return(void 0===P||P>C.length)&&(P=C.length),C.substring(P-h.length,P)===h}(C," argument"))I="The ".concat(C," ").concat(u," ").concat(e(h,"type"));else{var S=function o(C,h,P){return"number"!=typeof P&&(P=0),!(P+h.length>C.length)&&-1!==C.indexOf(h,P)}(C,".")?"property":"argument";I='The "'.concat(C,'" ').concat(S," ").concat(u," ").concat(e(h,"type"))}return I+". 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"),ze.exports.q=m},1339:(ze,K,m)=>{"use strict";var t=Object.keys||function(I){var S=[];for(var A in I)S.push(A);return S};ze.exports=h;var e=m(3154),g=m(520);m(3894)(h,e);for(var k=t(g.prototype),o=0;o<k.length;o++){var C=k[o];h.prototype[C]||(h.prototype[C]=g.prototype[C])}function h(I){if(!(this instanceof h))return new h(I);e.call(this,I),g.call(this,I),this.allowHalfOpen=!0,I&&(!1===I.readable&&(this.readable=!1),!1===I.writable&&(this.writable=!1),!1===I.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",P)))}function P(){this._writableState.ended||process.nextTick(u,this)}function u(I){I.end()}Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(h.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(h.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(S){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=S,this._writableState.destroyed=S)}})},6071:(ze,K,m)=>{"use strict";ze.exports=e;var t=m(6025);function e(g){if(!(this instanceof e))return new e(g);t.call(this,g)}m(3894)(e,t),e.prototype._transform=function(g,k,o){o(null,g)}},3154:(ze,K,m)=>{"use strict";var t;ze.exports=L,L.ReadableState=le,m(9069);var I,g=function(it,De){return it.listeners(De).length},k=m(4970),o=m(3172).Buffer,C=global.Uint8Array||function(){},u=m(4616);I=u&&u.debuglog?u.debuglog("stream"):function(){};var $,fe,re,S=m(5019),A=m(1920),R=m(7102).getHighWaterMark,E=m(891).q,U=E.ERR_INVALID_ARG_TYPE,Y=E.ERR_STREAM_PUSH_AFTER_EOF,Q=E.ERR_METHOD_NOT_IMPLEMENTED,X=E.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;m(3894)(L,k);var ee=A.errorOrDestroy,ce=["error","close","destroy","pause","resume"];function le(he,it,De){t=t||m(1339),"boolean"!=typeof De&&(De=it instanceof t),this.objectMode=!!(he=he||{}).objectMode,De&&(this.objectMode=this.objectMode||!!he.readableObjectMode),this.highWaterMark=R(this,he,"readableHighWaterMark",De),this.buffer=new S,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!==he.emitClose,this.autoDestroy=!!he.autoDestroy,this.destroyed=!1,this.defaultEncoding=he.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,he.encoding&&($||($=m(3054).s),this.decoder=new $(he.encoding),this.encoding=he.encoding)}function L(he){if(t=t||m(1339),!(this instanceof L))return new L(he);this._readableState=new le(he,this,this instanceof t),this.readable=!0,he&&("function"==typeof he.read&&(this._read=he.read),"function"==typeof he.destroy&&(this._destroy=he.destroy)),k.call(this)}function i(he,it,De,oe,me){I("readableAddChunk",it);var Ze,te=he._readableState;if(null===it)te.reading=!1,function N(he,it){if(I("onEofChunk"),!it.ended){if(it.decoder){var De=it.decoder.end();De&&De.length&&(it.buffer.push(De),it.length+=it.objectMode?1:De.length)}it.ended=!0,it.sync?v(he):(it.needReadable=!1,it.emittedReadable||(it.emittedReadable=!0,n(he)))}}(he,te);else if(me||(Ze=function d(he,it){var De;return!function P(he){return o.isBuffer(he)||he instanceof C}(it)&&"string"!=typeof it&&void 0!==it&&!he.objectMode&&(De=new U("chunk",["string","Buffer","Uint8Array"],it)),De}(te,it)),Ze)ee(he,Ze);else if(te.objectMode||it&&it.length>0)if("string"!=typeof it&&!te.objectMode&&Object.getPrototypeOf(it)!==o.prototype&&(it=function h(he){return o.from(he)}(it)),oe)te.endEmitted?ee(he,new X):r(he,te,it,!0);else if(te.ended)ee(he,new Y);else{if(te.destroyed)return!1;te.reading=!1,te.decoder&&!De?(it=te.decoder.write(it),te.objectMode||0!==it.length?r(he,te,it,!1):y(he,te)):r(he,te,it,!1)}else oe||(te.reading=!1,y(he,te));return!te.ended&&(te.length<te.highWaterMark||0===te.length)}function r(he,it,De,oe){it.flowing&&0===it.length&&!it.sync?(it.awaitDrain=0,he.emit("data",De)):(it.length+=it.objectMode?1:De.length,oe?it.buffer.unshift(De):it.buffer.push(De),it.needReadable&&v(he)),y(he,it)}Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(it){!this._readableState||(this._readableState.destroyed=it)}}),L.prototype.destroy=A.destroy,L.prototype._undestroy=A.undestroy,L.prototype._destroy=function(he,it){it(he)},L.prototype.push=function(he,it){var oe,De=this._readableState;return De.objectMode?oe=!0:"string"==typeof he&&((it=it||De.defaultEncoding)!==De.encoding&&(he=o.from(he,it),it=""),oe=!0),i(this,he,it,!1,oe)},L.prototype.unshift=function(he){return i(this,he,null,!0,!1)},L.prototype.isPaused=function(){return!1===this._readableState.flowing},L.prototype.setEncoding=function(he){$||($=m(3054).s);var it=new $(he);this._readableState.decoder=it,this._readableState.encoding=this._readableState.decoder.encoding;for(var De=this._readableState.buffer.head,oe="";null!==De;)oe+=it.write(De.data),De=De.next;return this._readableState.buffer.clear(),""!==oe&&this._readableState.buffer.push(oe),this._readableState.length=oe.length,this};var c=1073741824;function T(he,it){return he<=0||0===it.length&&it.ended?0:it.objectMode?1:he!=he?it.flowing&&it.length?it.buffer.head.data.length:it.length:(he>it.highWaterMark&&(it.highWaterMark=function b(he){return he>=c?he=c:(he--,he|=he>>>1,he|=he>>>2,he|=he>>>4,he|=he>>>8,he|=he>>>16,he++),he}(he)),he<=it.length?he:it.ended?it.length:(it.needReadable=!0,0))}function v(he){var it=he._readableState;I("emitReadable",it.needReadable,it.emittedReadable),it.needReadable=!1,it.emittedReadable||(I("emitReadable",it.flowing),it.emittedReadable=!0,process.nextTick(n,he))}function n(he){var it=he._readableState;I("emitReadable_",it.destroyed,it.length,it.ended),!it.destroyed&&(it.length||it.ended)&&(he.emit("readable"),it.emittedReadable=!1),it.needReadable=!it.flowing&&!it.ended&&it.length<=it.highWaterMark,$e(he)}function y(he,it){it.readingMore||(it.readingMore=!0,process.nextTick(B,he,it))}function B(he,it){for(;!it.reading&&!it.ended&&(it.length<it.highWaterMark||it.flowing&&0===it.length);){var De=it.length;if(I("maybeReadMore read 0"),he.read(0),De===it.length)break}it.readingMore=!1}function W(he){var it=he._readableState;it.readableListening=he.listenerCount("readable")>0,it.resumeScheduled&&!it.paused?it.flowing=!0:he.listenerCount("data")>0&&he.resume()}function Le(he){I("readable nexttick read 0"),he.read(0)}function Ke(he,it){I("resume",it.reading),it.reading||he.read(0),it.resumeScheduled=!1,he.emit("resume"),$e(he),it.flowing&&!it.reading&&he.read(0)}function $e(he){var it=he._readableState;for(I("flow",it.flowing);it.flowing&&null!==he.read(););}function Ae(he,it){return 0===it.length?null:(it.objectMode?De=it.buffer.shift():!he||he>=it.length?(De=it.decoder?it.buffer.join(""):1===it.buffer.length?it.buffer.first():it.buffer.concat(it.length),it.buffer.clear()):De=it.buffer.consume(he,it.decoder),De);var De}function ue(he){var it=he._readableState;I("endReadable",it.endEmitted),it.endEmitted||(it.ended=!0,process.nextTick(ye,it,he))}function ye(he,it){if(I("endReadableNT",he.endEmitted,he.length),!he.endEmitted&&0===he.length&&(he.endEmitted=!0,it.readable=!1,it.emit("end"),he.autoDestroy)){var De=it._writableState;(!De||De.autoDestroy&&De.finished)&&it.destroy()}}function we(he,it){for(var De=0,oe=he.length;De<oe;De++)if(he[De]===it)return De;return-1}L.prototype.read=function(he){I("read",he),he=parseInt(he,10);var it=this._readableState,De=he;if(0!==he&&(it.emittedReadable=!1),0===he&&it.needReadable&&((0!==it.highWaterMark?it.length>=it.highWaterMark:it.length>0)||it.ended))return I("read: emitReadable",it.length,it.ended),0===it.length&&it.ended?ue(this):v(this),null;if(0===(he=T(he,it))&&it.ended)return 0===it.length&&ue(this),null;var me,oe=it.needReadable;return I("need readable",oe),(0===it.length||it.length-he<it.highWaterMark)&&I("length less than watermark",oe=!0),it.ended||it.reading?I("reading or ended",oe=!1):oe&&(I("do read"),it.reading=!0,it.sync=!0,0===it.length&&(it.needReadable=!0),this._read(it.highWaterMark),it.sync=!1,it.reading||(he=T(De,it))),null===(me=he>0?Ae(he,it):null)?(it.needReadable=it.length<=it.highWaterMark,he=0):(it.length-=he,it.awaitDrain=0),0===it.length&&(it.ended||(it.needReadable=!0),De!==he&&it.ended&&ue(this)),null!==me&&this.emit("data",me),me},L.prototype._read=function(he){ee(this,new Q("_read()"))},L.prototype.pipe=function(he,it){var De=this,oe=this._readableState;switch(oe.pipesCount){case 0:oe.pipes=he;break;case 1:oe.pipes=[oe.pipes,he];break;default:oe.pipes.push(he)}oe.pipesCount+=1,I("pipe count=%d opts=%j",oe.pipesCount,it);var te=it&&!1===it.end||he===process.stdout||he===process.stderr?rt:Ue;function Ue(){I("onend"),he.end()}oe.endEmitted?process.nextTick(te):De.once("end",te),he.on("unpipe",function Ze(Xt,gt){I("onunpipe"),Xt===De&>&&!1===gt.hasUnpiped&&(gt.hasUnpiped=!0,function Ee(){I("cleanup"),he.removeListener("close",nt),he.removeListener("finish",Ct),he.removeListener("drain",q),he.removeListener("error",ie),he.removeListener("unpipe",Ze),De.removeListener("end",Ue),De.removeListener("end",rt),De.removeListener("data",ke),de=!0,oe.awaitDrain&&(!he._writableState||he._writableState.needDrain)&&q()}())});var q=function z(he){return function(){var De=he._readableState;I("pipeOnDrain",De.awaitDrain),De.awaitDrain&&De.awaitDrain--,0===De.awaitDrain&&g(he,"data")&&(De.flowing=!0,$e(he))}}(De);he.on("drain",q);var de=!1;function ke(Xt){I("ondata");var gt=he.write(Xt);I("dest.write",gt),!1===gt&&((1===oe.pipesCount&&oe.pipes===he||oe.pipesCount>1&&-1!==we(oe.pipes,he))&&!de&&(I("false write response, pause",oe.awaitDrain),oe.awaitDrain++),De.pause())}function ie(Xt){I("onerror",Xt),rt(),he.removeListener("error",ie),0===g(he,"error")&&ee(he,Xt)}function nt(){he.removeListener("finish",Ct),rt()}function Ct(){I("onfinish"),he.removeListener("close",nt),rt()}function rt(){I("unpipe"),De.unpipe(he)}return De.on("data",ke),function se(he,it,De){if("function"==typeof he.prependListener)return he.prependListener(it,De);he._events&&he._events[it]?Array.isArray(he._events[it])?he._events[it].unshift(De):he._events[it]=[De,he._events[it]]:he.on(it,De)}(he,"error",ie),he.once("close",nt),he.once("finish",Ct),he.emit("pipe",De),oe.flowing||(I("pipe resume"),De.resume()),he},L.prototype.unpipe=function(he){var it=this._readableState,De={hasUnpiped:!1};if(0===it.pipesCount)return this;if(1===it.pipesCount)return he&&he!==it.pipes||(he||(he=it.pipes),it.pipes=null,it.pipesCount=0,it.flowing=!1,he&&he.emit("unpipe",this,De)),this;if(!he){var oe=it.pipes,me=it.pipesCount;it.pipes=null,it.pipesCount=0,it.flowing=!1;for(var te=0;te<me;te++)oe[te].emit("unpipe",this,{hasUnpiped:!1});return this}var Ze=we(it.pipes,he);return-1===Ze||(it.pipes.splice(Ze,1),it.pipesCount-=1,1===it.pipesCount&&(it.pipes=it.pipes[0]),he.emit("unpipe",this,De)),this},L.prototype.addListener=L.prototype.on=function(he,it){var De=k.prototype.on.call(this,he,it),oe=this._readableState;return"data"===he?(oe.readableListening=this.listenerCount("readable")>0,!1!==oe.flowing&&this.resume()):"readable"===he&&!oe.endEmitted&&!oe.readableListening&&(oe.readableListening=oe.needReadable=!0,oe.flowing=!1,oe.emittedReadable=!1,I("on readable",oe.length,oe.reading),oe.length?v(this):oe.reading||process.nextTick(Le,this)),De},L.prototype.removeListener=function(he,it){var De=k.prototype.removeListener.call(this,he,it);return"readable"===he&&process.nextTick(W,this),De},L.prototype.removeAllListeners=function(he){var it=k.prototype.removeAllListeners.apply(this,arguments);return("readable"===he||void 0===he)&&process.nextTick(W,this),it},L.prototype.resume=function(){var he=this._readableState;return he.flowing||(I("resume"),he.flowing=!he.readableListening,function Ve(he,it){it.resumeScheduled||(it.resumeScheduled=!0,process.nextTick(Ke,he,it))}(this,he)),he.paused=!1,this},L.prototype.pause=function(){return I("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(I("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},L.prototype.wrap=function(he){var it=this,De=this._readableState,oe=!1;for(var me in he.on("end",function(){if(I("wrapped end"),De.decoder&&!De.ended){var Ze=De.decoder.end();Ze&&Ze.length&&it.push(Ze)}it.push(null)}),he.on("data",function(Ze){I("wrapped data"),De.decoder&&(Ze=De.decoder.write(Ze)),De.objectMode&&null==Ze||!(De.objectMode||Ze&&Ze.length)||it.push(Ze)||(oe=!0,he.pause())}),he)void 0===this[me]&&"function"==typeof he[me]&&(this[me]=function(Ue){return function(){return he[Ue].apply(he,arguments)}}(me));for(var te=0;te<ce.length;te++)he.on(ce[te],this.emit.bind(this,ce[te]));return this._read=function(Ze){I("wrapped _read",Ze),oe&&(oe=!1,he.resume())},this},"function"==typeof Symbol&&(L.prototype[Symbol.asyncIterator]=function(){return void 0===fe&&(fe=m(3872)),fe(this)}),Object.defineProperty(L.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(L.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(L.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(it){this._readableState&&(this._readableState.flowing=it)}}),L._fromList=Ae,Object.defineProperty(L.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(L.from=function(he,it){return void 0===re&&(re=m(7412)),re(L,he,it)})},6025:(ze,K,m)=>{"use strict";ze.exports=P;var t=m(891).q,e=t.ERR_METHOD_NOT_IMPLEMENTED,g=t.ERR_MULTIPLE_CALLBACK,k=t.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=t.ERR_TRANSFORM_WITH_LENGTH_0,C=m(1339);function h(S,A){var w=this._transformState;w.transforming=!1;var R=w.writecb;if(null===R)return this.emit("error",new g);w.writechunk=null,w.writecb=null,null!=A&&this.push(A),R(S);var E=this._readableState;E.reading=!1,(E.needReadable||E.length<E.highWaterMark)&&this._read(E.highWaterMark)}function P(S){if(!(this instanceof P))return new P(S);C.call(this,S),this._transformState={afterTransform:h.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,S&&("function"==typeof S.transform&&(this._transform=S.transform),"function"==typeof S.flush&&(this._flush=S.flush)),this.on("prefinish",u)}function u(){var S=this;"function"!=typeof this._flush||this._readableState.destroyed?I(this,null,null):this._flush(function(A,w){I(S,A,w)})}function I(S,A,w){if(A)return S.emit("error",A);if(null!=w&&S.push(w),S._writableState.length)throw new o;if(S._transformState.transforming)throw new k;return S.push(null)}m(3894)(P,C),P.prototype.push=function(S,A){return this._transformState.needTransform=!1,C.prototype.push.call(this,S,A)},P.prototype._transform=function(S,A,w){w(new e("_transform()"))},P.prototype._write=function(S,A,w){var R=this._transformState;if(R.writecb=w,R.writechunk=S,R.writeencoding=A,!R.transforming){var E=this._readableState;(R.needTransform||E.needReadable||E.length<E.highWaterMark)&&this._read(E.highWaterMark)}},P.prototype._read=function(S){var A=this._transformState;null===A.writechunk||A.transforming?A.needTransform=!0:(A.transforming=!0,this._transform(A.writechunk,A.writeencoding,A.afterTransform))},P.prototype._destroy=function(S,A){C.prototype._destroy.call(this,S,function(w){A(w)})}},520:(ze,K,m)=>{"use strict";function e($e){var Ae=this;this.next=null,this.entry=null,this.finish=function(){!function Ke($e,Ae,ue){var ye=$e.entry;for($e.entry=null;ye;){var we=ye.callback;Ae.pendingcb--,we(ue),ye=ye.next}Ae.corkedRequestsFree.next=$e}(Ae,$e)}}var g;ze.exports=le,le.WritableState=ce;var se,k={deprecate:m(4364)},o=m(4970),C=m(3172).Buffer,h=global.Uint8Array||function(){},I=m(1920),A=m(7102).getHighWaterMark,w=m(891).q,R=w.ERR_INVALID_ARG_TYPE,E=w.ERR_METHOD_NOT_IMPLEMENTED,U=w.ERR_MULTIPLE_CALLBACK,Y=w.ERR_STREAM_CANNOT_PIPE,Q=w.ERR_STREAM_DESTROYED,X=w.ERR_STREAM_NULL_VALUES,$=w.ERR_STREAM_WRITE_AFTER_END,fe=w.ERR_UNKNOWN_ENCODING,re=I.errorOrDestroy;function ee(){}function ce($e,Ae,ue){g=g||m(1339),"boolean"!=typeof ue&&(ue=Ae instanceof g),this.objectMode=!!($e=$e||{}).objectMode,ue&&(this.objectMode=this.objectMode||!!$e.writableObjectMode),this.highWaterMark=A(this,$e,"writableHighWaterMark",ue),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===$e.decodeStrings),this.defaultEncoding=$e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(we){!function N($e,Ae){var ue=$e._writableState,ye=ue.sync,we=ue.writecb;if("function"!=typeof we)throw new U;if(function T($e){$e.writing=!1,$e.writecb=null,$e.length-=$e.writelen,$e.writelen=0}(ue),Ae)!function b($e,Ae,ue,ye,we){--Ae.pendingcb,ue?(process.nextTick(we,ye),process.nextTick(Le,$e,Ae),$e._writableState.errorEmitted=!0,re($e,ye)):(we(ye),$e._writableState.errorEmitted=!0,re($e,ye),Le($e,Ae))}($e,ue,ye,Ae,we);else{var he=B(ue)||$e.destroyed;!he&&!ue.corked&&!ue.bufferProcessing&&ue.bufferedRequest&&y($e,ue),ye?process.nextTick(v,$e,ue,he,we):v($e,ue,he,we)}}(Ae,we)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==$e.emitClose,this.autoDestroy=!!$e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function le($e){var Ae=this instanceof(g=g||m(1339));if(!Ae&&!se.call(le,this))return new le($e);this._writableState=new ce($e,this,Ae),this.writable=!0,$e&&("function"==typeof $e.write&&(this._write=$e.write),"function"==typeof $e.writev&&(this._writev=$e.writev),"function"==typeof $e.destroy&&(this._destroy=$e.destroy),"function"==typeof $e.final&&(this._final=$e.final)),o.call(this)}function c($e,Ae,ue,ye,we,he,it){Ae.writelen=ye,Ae.writecb=it,Ae.writing=!0,Ae.sync=!0,Ae.destroyed?Ae.onwrite(new Q("write")):ue?$e._writev(we,Ae.onwrite):$e._write(we,he,Ae.onwrite),Ae.sync=!1}function v($e,Ae,ue,ye){ue||function n($e,Ae){0===Ae.length&&Ae.needDrain&&(Ae.needDrain=!1,$e.emit("drain"))}($e,Ae),Ae.pendingcb--,ye(),Le($e,Ae)}function y($e,Ae){Ae.bufferProcessing=!0;var ue=Ae.bufferedRequest;if($e._writev&&ue&&ue.next){var we=new Array(Ae.bufferedRequestCount),he=Ae.corkedRequestsFree;he.entry=ue;for(var it=0,De=!0;ue;)we[it]=ue,ue.isBuf||(De=!1),ue=ue.next,it+=1;we.allBuffers=De,c($e,Ae,!0,Ae.length,we,"",he.finish),Ae.pendingcb++,Ae.lastBufferedRequest=null,he.next?(Ae.corkedRequestsFree=he.next,he.next=null):Ae.corkedRequestsFree=new e(Ae),Ae.bufferedRequestCount=0}else{for(;ue;){var oe=ue.chunk;if(c($e,Ae,!1,Ae.objectMode?1:oe.length,oe,ue.encoding,ue.callback),ue=ue.next,Ae.bufferedRequestCount--,Ae.writing)break}null===ue&&(Ae.lastBufferedRequest=null)}Ae.bufferedRequest=ue,Ae.bufferProcessing=!1}function B($e){return $e.ending&&0===$e.length&&null===$e.bufferedRequest&&!$e.finished&&!$e.writing}function z($e,Ae){$e._final(function(ue){Ae.pendingcb--,ue&&re($e,ue),Ae.prefinished=!0,$e.emit("prefinish"),Le($e,Ae)})}function Le($e,Ae){var ue=B(Ae);if(ue&&(function W($e,Ae){!Ae.prefinished&&!Ae.finalCalled&&("function"!=typeof $e._final||Ae.destroyed?(Ae.prefinished=!0,$e.emit("prefinish")):(Ae.pendingcb++,Ae.finalCalled=!0,process.nextTick(z,$e,Ae)))}($e,Ae),0===Ae.pendingcb&&(Ae.finished=!0,$e.emit("finish"),Ae.autoDestroy))){var ye=$e._readableState;(!ye||ye.autoDestroy&&ye.endEmitted)&&$e.destroy()}return ue}m(3894)(le,o),ce.prototype.getBuffer=function(){for(var Ae=this.bufferedRequest,ue=[];Ae;)ue.push(Ae),Ae=Ae.next;return ue},function(){try{Object.defineProperty(ce.prototype,"buffer",{get:k.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]?(se=Function.prototype[Symbol.hasInstance],Object.defineProperty(le,Symbol.hasInstance,{value:function(Ae){return!!se.call(this,Ae)||this===le&&Ae&&Ae._writableState instanceof ce}})):se=function(Ae){return Ae instanceof this},le.prototype.pipe=function(){re(this,new Y)},le.prototype.write=function($e,Ae,ue){var ye=this._writableState,we=!1,he=!ye.objectMode&&function u($e){return C.isBuffer($e)||$e instanceof h}($e);return he&&!C.isBuffer($e)&&($e=function P($e){return C.from($e)}($e)),"function"==typeof Ae&&(ue=Ae,Ae=null),he?Ae="buffer":Ae||(Ae=ye.defaultEncoding),"function"!=typeof ue&&(ue=ee),ye.ending?function L($e,Ae){var ue=new $;re($e,ue),process.nextTick(Ae,ue)}(this,ue):(he||function i($e,Ae,ue,ye){var we;return null===ue?we=new X:"string"!=typeof ue&&!Ae.objectMode&&(we=new R("chunk",["string","Buffer"],ue)),!we||(re($e,we),process.nextTick(ye,we),!1)}(this,ye,$e,ue))&&(ye.pendingcb++,we=function d($e,Ae,ue,ye,we,he){if(!ue){var it=function r($e,Ae,ue){return!$e.objectMode&&!1!==$e.decodeStrings&&"string"==typeof Ae&&(Ae=C.from(Ae,ue)),Ae}(Ae,ye,we);ye!==it&&(ue=!0,we="buffer",ye=it)}var De=Ae.objectMode?1:ye.length;Ae.length+=De;var oe=Ae.length<Ae.highWaterMark;if(oe||(Ae.needDrain=!0),Ae.writing||Ae.corked){var me=Ae.lastBufferedRequest;Ae.lastBufferedRequest={chunk:ye,encoding:we,isBuf:ue,callback:he,next:null},me?me.next=Ae.lastBufferedRequest:Ae.bufferedRequest=Ae.lastBufferedRequest,Ae.bufferedRequestCount+=1}else c($e,Ae,!1,De,ye,we,he);return oe}(this,ye,he,$e,Ae,ue)),we},le.prototype.cork=function(){this._writableState.corked++},le.prototype.uncork=function(){var $e=this._writableState;$e.corked&&($e.corked--,!$e.writing&&!$e.corked&&!$e.bufferProcessing&&$e.bufferedRequest&&y(this,$e))},le.prototype.setDefaultEncoding=function(Ae){if("string"==typeof Ae&&(Ae=Ae.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ae+"").toLowerCase())>-1))throw new fe(Ae);return this._writableState.defaultEncoding=Ae,this},Object.defineProperty(le.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(le.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),le.prototype._write=function($e,Ae,ue){ue(new E("_write()"))},le.prototype._writev=null,le.prototype.end=function($e,Ae,ue){var ye=this._writableState;return"function"==typeof $e?(ue=$e,$e=null,Ae=null):"function"==typeof Ae&&(ue=Ae,Ae=null),null!=$e&&this.write($e,Ae),ye.corked&&(ye.corked=1,this.uncork()),ye.ending||function Ve($e,Ae,ue){Ae.ending=!0,Le($e,Ae),ue&&(Ae.finished?process.nextTick(ue):$e.once("finish",ue)),Ae.ended=!0,$e.writable=!1}(this,ye,ue),this},Object.defineProperty(le.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(le.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(Ae){!this._writableState||(this._writableState.destroyed=Ae)}}),le.prototype.destroy=I.destroy,le.prototype._undestroy=I.undestroy,le.prototype._destroy=function($e,Ae){Ae($e)}},3872:(ze,K,m)=>{"use strict";var t;function e(Q,X,$){return X in Q?Object.defineProperty(Q,X,{value:$,enumerable:!0,configurable:!0,writable:!0}):Q[X]=$,Q}var g=m(7542),k=Symbol("lastResolve"),o=Symbol("lastReject"),C=Symbol("error"),h=Symbol("ended"),P=Symbol("lastPromise"),u=Symbol("handlePromise"),I=Symbol("stream");function S(Q,X){return{value:Q,done:X}}function A(Q){var X=Q[k];if(null!==X){var $=Q[I].read();null!==$&&(Q[P]=null,Q[k]=null,Q[o]=null,X(S($,!1)))}}function w(Q){process.nextTick(A,Q)}var E=Object.getPrototypeOf(function(){}),U=Object.setPrototypeOf((e(t={get stream(){return this[I]},next:function(){var X=this,$=this[C];if(null!==$)return Promise.reject($);if(this[h])return Promise.resolve(S(void 0,!0));if(this[I].destroyed)return new Promise(function(ce,se){process.nextTick(function(){X[C]?se(X[C]):ce(S(void 0,!0))})});var re,fe=this[P];if(fe)re=new Promise(function R(Q,X){return function($,fe){Q.then(function(){X[h]?$(S(void 0,!0)):X[u]($,fe)},fe)}}(fe,this));else{var ee=this[I].read();if(null!==ee)return Promise.resolve(S(ee,!1));re=new Promise(this[u])}return this[P]=re,re}},Symbol.asyncIterator,function(){return this}),e(t,"return",function(){var X=this;return new Promise(function($,fe){X[I].destroy(null,function(re){re?fe(re):$(S(void 0,!0))})})}),t),E);ze.exports=function(X){var $,fe=Object.create(U,(e($={},I,{value:X,writable:!0}),e($,k,{value:null,writable:!0}),e($,o,{value:null,writable:!0}),e($,C,{value:null,writable:!0}),e($,h,{value:X._readableState.endEmitted,writable:!0}),e($,u,{value:function(ee,ce){var se=fe[I].read();se?(fe[P]=null,fe[k]=null,fe[o]=null,ee(S(se,!1))):(fe[k]=ee,fe[o]=ce)},writable:!0}),$));return fe[P]=null,g(X,function(re){if(re&&"ERR_STREAM_PREMATURE_CLOSE"!==re.code){var ee=fe[o];return null!==ee&&(fe[P]=null,fe[k]=null,fe[o]=null,ee(re)),void(fe[C]=re)}var ce=fe[k];null!==ce&&(fe[P]=null,fe[k]=null,fe[o]=null,ce(S(void 0,!0))),fe[h]=!0}),X.on("readable",w.bind(null,fe)),fe}},5019:(ze,K,m)=>{"use strict";function t(w,R){var E=Object.keys(w);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(w);R&&(U=U.filter(function(Y){return Object.getOwnPropertyDescriptor(w,Y).enumerable})),E.push.apply(E,U)}return E}function g(w,R,E){return R in w?Object.defineProperty(w,R,{value:E,enumerable:!0,configurable:!0,writable:!0}):w[R]=E,w}function o(w,R){for(var E=0;E<R.length;E++){var U=R[E];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(w,U.key,U)}}var P=m(3172).Buffer,I=m(2361).inspect,S=I&&I.custom||"inspect";function A(w,R,E){P.prototype.copy.call(w,R,E)}ze.exports=function(){function w(){(function k(w,R){if(!(w instanceof R))throw new TypeError("Cannot call a class as a function")})(this,w),this.head=null,this.tail=null,this.length=0}return function C(w,R,E){R&&o(w.prototype,R),E&&o(w,E)}(w,[{key:"push",value:function(E){var U={data:E,next:null};this.length>0?this.tail.next=U:this.head=U,this.tail=U,++this.length}},{key:"unshift",value:function(E){var U={data:E,next:this.head};0===this.length&&(this.tail=U),this.head=U,++this.length}},{key:"shift",value:function(){if(0!==this.length){var E=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,E}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(E){if(0===this.length)return"";for(var U=this.head,Y=""+U.data;U=U.next;)Y+=E+U.data;return Y}},{key:"concat",value:function(E){if(0===this.length)return P.alloc(0);for(var U=P.allocUnsafe(E>>>0),Y=this.head,Q=0;Y;)A(Y.data,U,Q),Q+=Y.data.length,Y=Y.next;return U}},{key:"consume",value:function(E,U){var Y;return E<this.head.data.length?(Y=this.head.data.slice(0,E),this.head.data=this.head.data.slice(E)):Y=E===this.head.data.length?this.shift():U?this._getString(E):this._getBuffer(E),Y}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(E){var U=this.head,Y=1,Q=U.data;for(E-=Q.length;U=U.next;){var X=U.data,$=E>X.length?X.length:E;if(Q+=$===X.length?X:X.slice(0,E),0==(E-=$)){$===X.length?(++Y,this.head=U.next?U.next:this.tail=null):(this.head=U,U.data=X.slice($));break}++Y}return this.length-=Y,Q}},{key:"_getBuffer",value:function(E){var U=P.allocUnsafe(E),Y=this.head,Q=1;for(Y.data.copy(U),E-=Y.data.length;Y=Y.next;){var X=Y.data,$=E>X.length?X.length:E;if(X.copy(U,U.length-E,0,$),0==(E-=$)){$===X.length?(++Q,this.head=Y.next?Y.next:this.tail=null):(this.head=Y,Y.data=X.slice($));break}++Q}return this.length-=Q,U}},{key:S,value:function(E,U){return I(this,function e(w){for(var R=1;R<arguments.length;R++){var E=null!=arguments[R]?arguments[R]:{};R%2?t(Object(E),!0).forEach(function(U){g(w,U,E[U])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(E)):t(Object(E)).forEach(function(U){Object.defineProperty(w,U,Object.getOwnPropertyDescriptor(E,U))})}return w}({},U,{depth:0,customInspect:!1}))}}]),w}()},1920:ze=>{"use strict";function m(o,C){g(o,C),t(o)}function t(o){o._writableState&&!o._writableState.emitClose||o._readableState&&!o._readableState.emitClose||o.emit("close")}function g(o,C){o.emit("error",C)}ze.exports={destroy:function K(o,C){var h=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(g,this,o)):process.nextTick(g,this,o)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(o||null,function(I){!C&&I?h._writableState?h._writableState.errorEmitted?process.nextTick(t,h):(h._writableState.errorEmitted=!0,process.nextTick(m,h,I)):process.nextTick(m,h,I):C?(process.nextTick(t,h),C(I)):process.nextTick(t,h)}),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 k(o,C){var h=o._readableState,P=o._writableState;h&&h.autoDestroy||P&&P.autoDestroy?o.destroy(C):o.emit("error",C)}}},7542:(ze,K,m)=>{"use strict";var t=m(891).q.ERR_STREAM_PREMATURE_CLOSE;function g(){}ze.exports=function o(C,h,P){if("function"==typeof h)return o(C,null,h);h||(h={}),P=function e(C){var h=!1;return function(){if(!h){h=!0;for(var P=arguments.length,u=new Array(P),I=0;I<P;I++)u[I]=arguments[I];C.apply(this,u)}}}(P||g);var u=h.readable||!1!==h.readable&&C.readable,I=h.writable||!1!==h.writable&&C.writable,S=function(){C.writable||w()},A=C._writableState&&C._writableState.finished,w=function(){I=!1,A=!0,u||P.call(C)},R=C._readableState&&C._readableState.endEmitted,E=function(){u=!1,R=!0,I||P.call(C)},U=function($){P.call(C,$)},Y=function(){var $;return u&&!R?((!C._readableState||!C._readableState.ended)&&($=new t),P.call(C,$)):I&&!A?((!C._writableState||!C._writableState.ended)&&($=new t),P.call(C,$)):void 0},Q=function(){C.req.on("finish",w)};return function k(C){return C.setHeader&&"function"==typeof C.abort}(C)?(C.on("complete",w),C.on("abort",Y),C.req?Q():C.on("request",Q)):I&&!C._writableState&&(C.on("end",S),C.on("close",S)),C.on("end",E),C.on("finish",w),!1!==h.error&&C.on("error",U),C.on("close",Y),function(){C.removeListener("complete",w),C.removeListener("abort",Y),C.removeListener("request",Q),C.req&&C.req.removeListener("finish",w),C.removeListener("end",S),C.removeListener("close",S),C.removeListener("finish",w),C.removeListener("end",E),C.removeListener("error",U),C.removeListener("close",Y)}}},7412:ze=>{ze.exports=function(){throw new Error("Readable.from is not available in the browser")}},954:(ze,K,m)=>{"use strict";var t,g=m(891).q,k=g.ERR_MISSING_ARGS,o=g.ERR_STREAM_DESTROYED;function C(w){if(w)throw w}function P(w,R,E,U){U=function e(w){var R=!1;return function(){R||(R=!0,w.apply(void 0,arguments))}}(U);var Y=!1;w.on("close",function(){Y=!0}),void 0===t&&(t=m(7542)),t(w,{readable:R,writable:E},function(X){if(X)return U(X);Y=!0,U()});var Q=!1;return function(X){if(!Y&&!Q){if(Q=!0,function h(w){return w.setHeader&&"function"==typeof w.abort}(w))return w.abort();if("function"==typeof w.destroy)return w.destroy();U(X||new o("pipe"))}}}function u(w){w()}function I(w,R){return w.pipe(R)}function S(w){return w.length&&"function"==typeof w[w.length-1]?w.pop():C}ze.exports=function A(){for(var w=arguments.length,R=new Array(w),E=0;E<w;E++)R[E]=arguments[E];var U=S(R);if(Array.isArray(R[0])&&(R=R[0]),R.length<2)throw new k("streams");var Y,Q=R.map(function(X,$){var fe=$<R.length-1;return P(X,fe,$>0,function(ee){Y||(Y=ee),ee&&Q.forEach(u),!fe&&(Q.forEach(u),U(Y))})});return R.reduce(I)}},7102:(ze,K,m)=>{"use strict";var t=m(891).q.ERR_INVALID_OPT_VALUE;ze.exports={getHighWaterMark:function g(k,o,C,h){var P=function e(k,o,C){return null!=k.highWaterMark?k.highWaterMark:o?k[C]:null}(o,h,C);if(null!=P){if(!isFinite(P)||Math.floor(P)!==P||P<0)throw new t(h?C:"highWaterMark",P);return Math.floor(P)}return k.objectMode?16:16384}}},4970:(ze,K,m)=>{ze.exports=m(9069).EventEmitter},5685:(ze,K,m)=>{(K=ze.exports=m(3154)).Stream=K,K.Readable=K,K.Writable=m(520),K.Duplex=m(1339),K.Transform=m(6025),K.PassThrough=m(6071),K.finished=m(7542),K.pipeline=m(954)},5126:ze=>{"use strict";function K(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}ze.exports=function m(e){return(e=e||{}).circles?function t(e){var g=[],k=[];return e.proto?function h(P){if("object"!=typeof P||null===P)return P;if(P instanceof Date)return new Date(P);if(Array.isArray(P))return o(P,h);if(P instanceof Map)return new Map(o(Array.from(P),h));if(P instanceof Set)return new Set(o(Array.from(P),h));var u={};for(var I in g.push(P),k.push(u),P){var S=P[I];if("object"!=typeof S||null===S)u[I]=S;else if(S instanceof Date)u[I]=new Date(S);else if(S instanceof Map)u[I]=new Map(o(Array.from(S),h));else if(S instanceof Set)u[I]=new Set(o(Array.from(S),h));else if(ArrayBuffer.isView(S))u[I]=K(S);else{var A=g.indexOf(S);u[I]=-1!==A?k[A]:h(S)}}return g.pop(),k.pop(),u}: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 u={};for(var I in g.push(P),k.push(u),P)if(!1!==Object.hasOwnProperty.call(P,I)){var S=P[I];if("object"!=typeof S||null===S)u[I]=S;else if(S instanceof Date)u[I]=new Date(S);else if(S instanceof Map)u[I]=new Map(o(Array.from(S),C));else if(S instanceof Set)u[I]=new Set(o(Array.from(S),C));else if(ArrayBuffer.isView(S))u[I]=K(S);else{var A=g.indexOf(S);u[I]=-1!==A?k[A]:C(S)}}return g.pop(),k.pop(),u};function o(P,u){for(var I=Object.keys(P),S=new Array(I.length),A=0;A<I.length;A++){var w=I[A],R=P[w];if("object"!=typeof R||null===R)S[w]=R;else if(R instanceof Date)S[w]=new Date(R);else if(ArrayBuffer.isView(R))S[w]=K(R);else{var E=g.indexOf(R);S[w]=-1!==E?k[E]:u(R)}}return S}}(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 g(C,o);if(C instanceof Map)return new Map(g(Array.from(C),o));if(C instanceof Set)return new Set(g(Array.from(C),o));var h={};for(var P in C){var u=C[P];h[P]="object"!=typeof u||null===u?u:u instanceof Date?new Date(u):u instanceof Map?new Map(g(Array.from(u),o)):u instanceof Set?new Set(g(Array.from(u),o)):ArrayBuffer.isView(u)?K(u):o(u)}return h}:function k(C){if("object"!=typeof C||null===C)return C;if(C instanceof Date)return new Date(C);if(Array.isArray(C))return g(C,k);if(C instanceof Map)return new Map(g(Array.from(C),k));if(C instanceof Set)return new Set(g(Array.from(C),k));var h={};for(var P in C)if(!1!==Object.hasOwnProperty.call(C,P)){var u=C[P];h[P]="object"!=typeof u||null===u?u:u instanceof Date?new Date(u):u instanceof Map?new Map(g(Array.from(u),k)):u instanceof Set?new Set(g(Array.from(u),k)):ArrayBuffer.isView(u)?K(u):k(u)}return h};function g(C,h){for(var P=Object.keys(C),u=new Array(P.length),I=0;I<P.length;I++){var S=P[I],A=C[S];u[S]="object"!=typeof A||null===A?A:A instanceof Date?new Date(A):ArrayBuffer.isView(A)?K(A):h(A)}return u}}},5634:(ze,K,m)=>{"use strict";var t=m(3172).Buffer,e=m(3894),g=m(9650),k=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],h=[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],u=[0,1518500249,1859775393,2400959708,2840853838],I=[1352829926,1548603684,1836072691,2053994217,0];function S(){g.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function A(Q,X){return Q<<X|Q>>>32-X}function w(Q,X,$,fe,re,ee,ce,se){return A(Q+(X^$^fe)+ee+ce|0,se)+re|0}function R(Q,X,$,fe,re,ee,ce,se){return A(Q+(X&$|~X&fe)+ee+ce|0,se)+re|0}function E(Q,X,$,fe,re,ee,ce,se){return A(Q+((X|~$)^fe)+ee+ce|0,se)+re|0}function U(Q,X,$,fe,re,ee,ce,se){return A(Q+(X&fe|$&~fe)+ee+ce|0,se)+re|0}function Y(Q,X,$,fe,re,ee,ce,se){return A(Q+(X^($|~fe))+ee+ce|0,se)+re|0}e(S,g),S.prototype._update=function(){for(var Q=k,X=0;X<16;++X)Q[X]=this._block.readInt32LE(4*X);for(var $=0|this._a,fe=0|this._b,re=0|this._c,ee=0|this._d,ce=0|this._e,se=0|this._a,le=0|this._b,L=0|this._c,i=0|this._d,r=0|this._e,d=0;d<80;d+=1){var c,b;d<16?(c=w($,fe,re,ee,ce,Q[o[d]],u[0],h[d]),b=Y(se,le,L,i,r,Q[C[d]],I[0],P[d])):d<32?(c=R($,fe,re,ee,ce,Q[o[d]],u[1],h[d]),b=U(se,le,L,i,r,Q[C[d]],I[1],P[d])):d<48?(c=E($,fe,re,ee,ce,Q[o[d]],u[2],h[d]),b=E(se,le,L,i,r,Q[C[d]],I[2],P[d])):d<64?(c=U($,fe,re,ee,ce,Q[o[d]],u[3],h[d]),b=R(se,le,L,i,r,Q[C[d]],I[3],P[d])):(c=Y($,fe,re,ee,ce,Q[o[d]],u[4],h[d]),b=w(se,le,L,i,r,Q[C[d]],I[4],P[d])),$=ce,ce=ee,ee=A(re,10),re=fe,fe=c,se=r,r=i,i=A(L,10),L=le,le=b}var T=this._b+re+i|0;this._b=this._c+ee+r|0,this._c=this._d+ce+se|0,this._d=this._e+$+le|0,this._e=this._a+fe+L|0,this._a=T},S.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 Q=t.alloc?t.alloc(20):new t(20);return Q.writeInt32LE(this._a,0),Q.writeInt32LE(this._b,4),Q.writeInt32LE(this._c,8),Q.writeInt32LE(this._d,12),Q.writeInt32LE(this._e,16),Q},ze.exports=S},1135:(ze,K,m)=>{"use strict";m.d(K,{X:()=>e});var t=m(7579);class e extends t.x{constructor(k){super(),this._value=k}get value(){return this.getValue()}_subscribe(k){const o=super._subscribe(k);return!o.closed&&k.next(this._value),o}getValue(){const{hasError:k,thrownError:o,_value:C}=this;if(k)throw o;return this._throwIfClosed(),C}next(k){super.next(this._value=k)}}},9751:(ze,K,m)=>{"use strict";m.d(K,{y:()=>P});var t=m(930),e=m(727),g=m(8822),k=m(9635),o=m(2416),C=m(576),h=m(2806);let P=(()=>{class A{constructor(R){R&&(this._subscribe=R)}lift(R){const E=new A;return E.source=this,E.operator=R,E}subscribe(R,E,U){const Y=function S(A){return A&&A instanceof t.Lv||function I(A){return A&&(0,C.m)(A.next)&&(0,C.m)(A.error)&&(0,C.m)(A.complete)}(A)&&(0,e.Nn)(A)}(R)?R:new t.Hp(R,E,U);return(0,h.x)(()=>{const{operator:Q,source:X}=this;Y.add(Q?Q.call(Y,X):X?this._subscribe(Y):this._trySubscribe(Y))}),Y}_trySubscribe(R){try{return this._subscribe(R)}catch(E){R.error(E)}}forEach(R,E){return new(E=u(E))((U,Y)=>{const Q=new t.Hp({next:X=>{try{R(X)}catch($){Y($),Q.unsubscribe()}},error:Y,complete:U});this.subscribe(Q)})}_subscribe(R){var E;return null===(E=this.source)||void 0===E?void 0:E.subscribe(R)}[g.L](){return this}pipe(...R){return(0,k.U)(R)(this)}toPromise(R){return new(R=u(R))((E,U)=>{let Y;this.subscribe(Q=>Y=Q,Q=>U(Q),()=>E(Y))})}}return A.create=w=>new A(w),A})();function u(A){var w;return null!==(w=A??o.v.Promise)&&void 0!==w?w:Promise}},4707:(ze,K,m)=>{"use strict";m.d(K,{t:()=>g});var t=m(7579),e=m(6063);class g extends t.x{constructor(o=1/0,C=1/0,h=e.l){super(),this._bufferSize=o,this._windowTime=C,this._timestampProvider=h,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:h,_infiniteTimeWindow:P,_timestampProvider:u,_windowTime:I}=this;C||(h.push(o),!P&&h.push(u.now()+I)),this._trimBuffer(),super.next(o)}_subscribe(o){this._throwIfClosed(),this._trimBuffer();const C=this._innerSubscribe(o),{_infiniteTimeWindow:h,_buffer:P}=this,u=P.slice();for(let I=0;I<u.length&&!o.closed;I+=h?1:2)o.next(u[I]);return this._checkFinalizedStatuses(o),C}_trimBuffer(){const{_bufferSize:o,_timestampProvider:C,_buffer:h,_infiniteTimeWindow:P}=this,u=(P?1:2)*o;if(o<1/0&&u<h.length&&h.splice(0,h.length-u),!P){const I=C.now();let S=0;for(let A=1;A<h.length&&h[A]<=I;A+=2)S=A;S&&h.splice(0,S+1)}}}},7579:(ze,K,m)=>{"use strict";m.d(K,{u:()=>P,x:()=>h});var t=m(9751),e=m(727);const k=(0,m(3888).d)(u=>function(){u(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var o=m(8737),C=m(2806);let h=(()=>{class u extends t.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(S){const A=new P(this,this);return A.operator=S,A}_throwIfClosed(){if(this.closed)throw new k}next(S){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const A of this.currentObservers)A.next(S)}})}error(S){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=S;const{observers:A}=this;for(;A.length;)A.shift().error(S)}})}complete(){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:S}=this;for(;S.length;)S.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var S;return(null===(S=this.observers)||void 0===S?void 0:S.length)>0}_trySubscribe(S){return this._throwIfClosed(),super._trySubscribe(S)}_subscribe(S){return this._throwIfClosed(),this._checkFinalizedStatuses(S),this._innerSubscribe(S)}_innerSubscribe(S){const{hasError:A,isStopped:w,observers:R}=this;return A||w?e.Lc:(this.currentObservers=null,R.push(S),new e.w0(()=>{this.currentObservers=null,(0,o.P)(R,S)}))}_checkFinalizedStatuses(S){const{hasError:A,thrownError:w,isStopped:R}=this;A?S.error(w):R&&S.complete()}asObservable(){const S=new t.y;return S.source=this,S}}return u.create=(I,S)=>new P(I,S),u})();class P extends h{constructor(I,S){super(),this.destination=I,this.source=S}next(I){var S,A;null===(A=null===(S=this.destination)||void 0===S?void 0:S.next)||void 0===A||A.call(S,I)}error(I){var S,A;null===(A=null===(S=this.destination)||void 0===S?void 0:S.error)||void 0===A||A.call(S,I)}complete(){var I,S;null===(S=null===(I=this.destination)||void 0===I?void 0:I.complete)||void 0===S||S.call(I)}_subscribe(I){var S,A;return null!==(A=null===(S=this.source)||void 0===S?void 0:S.subscribe(I))&&void 0!==A?A:e.Lc}}},930:(ze,K,m)=>{"use strict";m.d(K,{Hp:()=>U,Lv:()=>A});var t=m(576),e=m(727),g=m(2416),k=m(7849),o=m(5032);const C=u("C",void 0,void 0);function u(fe,re,ee){return{kind:fe,value:re,error:ee}}var I=m(3410),S=m(2806);class A extends e.w0{constructor(re){super(),this.isStopped=!1,re?(this.destination=re,(0,e.Nn)(re)&&re.add(this)):this.destination=$}static create(re,ee,ce){return new U(re,ee,ce)}next(re){this.isStopped?X(function P(fe){return u("N",fe,void 0)}(re),this):this._next(re)}error(re){this.isStopped?X(function h(fe){return u("E",void 0,fe)}(re),this):(this.isStopped=!0,this._error(re))}complete(){this.isStopped?X(C,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(re){this.destination.next(re)}_error(re){try{this.destination.error(re)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const w=Function.prototype.bind;function R(fe,re){return w.call(fe,re)}class E{constructor(re){this.partialObserver=re}next(re){const{partialObserver:ee}=this;if(ee.next)try{ee.next(re)}catch(ce){Y(ce)}}error(re){const{partialObserver:ee}=this;if(ee.error)try{ee.error(re)}catch(ce){Y(ce)}else Y(re)}complete(){const{partialObserver:re}=this;if(re.complete)try{re.complete()}catch(ee){Y(ee)}}}class U extends A{constructor(re,ee,ce){let se;if(super(),(0,t.m)(re)||!re)se={next:re??void 0,error:ee??void 0,complete:ce??void 0};else{let le;this&&g.v.useDeprecatedNextContext?(le=Object.create(re),le.unsubscribe=()=>this.unsubscribe(),se={next:re.next&&R(re.next,le),error:re.error&&R(re.error,le),complete:re.complete&&R(re.complete,le)}):se=re}this.destination=new E(se)}}function Y(fe){g.v.useDeprecatedSynchronousErrorHandling?(0,S.O)(fe):(0,k.h)(fe)}function X(fe,re){const{onStoppedNotification:ee}=g.v;ee&&I.z.setTimeout(()=>ee(fe,re))}const $={closed:!0,next:o.Z,error:function Q(fe){throw fe},complete:o.Z}},727:(ze,K,m)=>{"use strict";m.d(K,{Lc:()=>C,w0:()=>o,Nn:()=>h});var t=m(576);const g=(0,m(3888).d)(u=>function(S){u(this),this.message=S?`${S.length} errors occurred during unsubscription:\n${S.map((A,w)=>`${w+1}) ${A.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=S});var k=m(8737);class o{constructor(I){this.initialTeardown=I,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let I;if(!this.closed){this.closed=!0;const{_parentage:S}=this;if(S)if(this._parentage=null,Array.isArray(S))for(const R of S)R.remove(this);else S.remove(this);const{initialTeardown:A}=this;if((0,t.m)(A))try{A()}catch(R){I=R instanceof g?R.errors:[R]}const{_finalizers:w}=this;if(w){this._finalizers=null;for(const R of w)try{P(R)}catch(E){I=I??[],E instanceof g?I=[...I,...E.errors]:I.push(E)}}if(I)throw new g(I)}}add(I){var S;if(I&&I!==this)if(this.closed)P(I);else{if(I instanceof o){if(I.closed||I._hasParent(this))return;I._addParent(this)}(this._finalizers=null!==(S=this._finalizers)&&void 0!==S?S:[]).push(I)}}_hasParent(I){const{_parentage:S}=this;return S===I||Array.isArray(S)&&S.includes(I)}_addParent(I){const{_parentage:S}=this;this._parentage=Array.isArray(S)?(S.push(I),S):S?[S,I]:I}_removeParent(I){const{_parentage:S}=this;S===I?this._parentage=null:Array.isArray(S)&&(0,k.P)(S,I)}remove(I){const{_finalizers:S}=this;S&&(0,k.P)(S,I),I instanceof o&&I._removeParent(this)}}o.EMPTY=(()=>{const u=new o;return u.closed=!0,u})();const C=o.EMPTY;function h(u){return u instanceof o||u&&"closed"in u&&(0,t.m)(u.remove)&&(0,t.m)(u.add)&&(0,t.m)(u.unsubscribe)}function P(u){(0,t.m)(u)?u():u.unsubscribe()}},2416:(ze,K,m)=>{"use strict";m.d(K,{v:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(ze,K,m)=>{"use strict";m.d(K,{c:()=>C});var t=m(9751),e=m(727),g=m(8343),k=m(5403),o=m(4482);class C extends t.y{constructor(P,u){super(),this.source=P,this.subjectFactory=u,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 u=this.getSubject();P.add(this.source.subscribe((0,k.x)(u,void 0,()=>{this._teardown(),u.complete()},I=>{this._teardown(),u.error(I)},()=>this._teardown()))),P.closed&&(this._connection=null,P=e.w0.EMPTY)}return P}refCount(){return(0,g.x)()(this)}}},9841:(ze,K,m)=>{"use strict";m.d(K,{a:()=>I});var t=m(9751),e=m(4742),g=m(457),k=m(4671),o=m(3268),C=m(3269),h=m(1810),P=m(5403),u=m(9672);function I(...w){const R=(0,C.yG)(w),E=(0,C.jO)(w),{args:U,keys:Y}=(0,e.D)(w);if(0===U.length)return(0,g.D)([],R);const Q=new t.y(function S(w,R,E=k.y){return U=>{A(R,()=>{const{length:Y}=w,Q=new Array(Y);let X=Y,$=Y;for(let fe=0;fe<Y;fe++)A(R,()=>{const re=(0,g.D)(w[fe],R);let ee=!1;re.subscribe((0,P.x)(U,ce=>{Q[fe]=ce,ee||(ee=!0,$--),$||U.next(E(Q.slice()))},()=>{--X||U.complete()}))},U)},U)}}(U,R,Y?X=>(0,h.n)(Y,X):k.y));return E?Q.pipe((0,o.Z)(E)):Q}function A(w,R,E){w?(0,u.f)(E,w,R):R()}},7272:(ze,K,m)=>{"use strict";m.d(K,{z:()=>o});var t=m(8189),g=m(3269),k=m(457);function o(...C){return function e(){return(0,t.J)(1)}()((0,k.D)(C,(0,g.yG)(C)))}},9770:(ze,K,m)=>{"use strict";m.d(K,{P:()=>g});var t=m(9751),e=m(8421);function g(k){return new t.y(o=>{(0,e.Xf)(k()).subscribe(o)})}},515:(ze,K,m)=>{"use strict";m.d(K,{E:()=>e});const e=new(m(9751).y)(o=>o.complete())},4128:(ze,K,m)=>{"use strict";m.d(K,{D:()=>P});var t=m(9751),e=m(4742),g=m(8421),k=m(3269),o=m(5403),C=m(3268),h=m(1810);function P(...u){const I=(0,k.jO)(u),{args:S,keys:A}=(0,e.D)(u),w=new t.y(R=>{const{length:E}=S;if(!E)return void R.complete();const U=new Array(E);let Y=E,Q=E;for(let X=0;X<E;X++){let $=!1;(0,g.Xf)(S[X]).subscribe((0,o.x)(R,fe=>{$||($=!0,Q--),U[X]=fe},()=>Y--,void 0,()=>{(!Y||!$)&&(Q||R.next(A?(0,h.n)(A,U):U),R.complete())}))}});return I?w.pipe((0,C.Z)(I)):w}},457:(ze,K,m)=>{"use strict";m.d(K,{D:()=>ee});var t=m(8421),e=m(5363),g=m(4482);function k(ce,se=0){return(0,g.e)((le,L)=>{L.add(ce.schedule(()=>le.subscribe(L),se))})}var h=m(9751),u=m(2202),I=m(576),S=m(9672);function w(ce,se){if(!ce)throw new Error("Iterable cannot be null");return new h.y(le=>{(0,S.f)(le,se,()=>{const L=ce[Symbol.asyncIterator]();(0,S.f)(le,se,()=>{L.next().then(i=>{i.done?le.complete():le.next(i.value)})},0,!0)})})}var R=m(3670),E=m(8239),U=m(1144),Y=m(6495),Q=m(2206),X=m(4532),$=m(3260);function ee(ce,se){return se?function re(ce,se){if(null!=ce){if((0,R.c)(ce))return function o(ce,se){return(0,t.Xf)(ce).pipe(k(se),(0,e.Q)(se))}(ce,se);if((0,U.z)(ce))return function P(ce,se){return new h.y(le=>{let L=0;return se.schedule(function(){L===ce.length?le.complete():(le.next(ce[L++]),le.closed||this.schedule())})})}(ce,se);if((0,E.t)(ce))return function C(ce,se){return(0,t.Xf)(ce).pipe(k(se),(0,e.Q)(se))}(ce,se);if((0,Q.D)(ce))return w(ce,se);if((0,Y.T)(ce))return function A(ce,se){return new h.y(le=>{let L;return(0,S.f)(le,se,()=>{L=ce[u.h](),(0,S.f)(le,se,()=>{let i,r;try{({value:i,done:r}=L.next())}catch(d){return void le.error(d)}r?le.complete():le.next(i)},0,!0)}),()=>(0,I.m)(L?.return)&&L.return()})}(ce,se);if((0,$.L)(ce))return function fe(ce,se){return w((0,$.Q)(ce),se)}(ce,se)}throw(0,X.z)(ce)}(ce,se):(0,t.Xf)(ce)}},4968:(ze,K,m)=>{"use strict";m.d(K,{R:()=>I});var t=m(8421),e=m(9751),g=m(5577),k=m(1144),o=m(576),C=m(3268);const h=["addListener","removeListener"],P=["addEventListener","removeEventListener"],u=["on","off"];function I(E,U,Y,Q){if((0,o.m)(Y)&&(Q=Y,Y=void 0),Q)return I(E,U,Y).pipe((0,C.Z)(Q));const[X,$]=function R(E){return(0,o.m)(E.addEventListener)&&(0,o.m)(E.removeEventListener)}(E)?P.map(fe=>re=>E[fe](U,re,Y)):function A(E){return(0,o.m)(E.addListener)&&(0,o.m)(E.removeListener)}(E)?h.map(S(E,U)):function w(E){return(0,o.m)(E.on)&&(0,o.m)(E.off)}(E)?u.map(S(E,U)):[];if(!X&&(0,k.z)(E))return(0,g.z)(fe=>I(fe,U,Y))((0,t.Xf)(E));if(!X)throw new TypeError("Invalid event target");return new e.y(fe=>{const re=(...ee)=>fe.next(1<ee.length?ee:ee[0]);return X(re),()=>$(re)})}function S(E,U){return Y=>Q=>E[Y](U,Q)}},8421:(ze,K,m)=>{"use strict";m.d(K,{Xf:()=>w});var t=m(655),e=m(1144),g=m(8239),k=m(9751),o=m(3670),C=m(2206),h=m(4532),P=m(6495),u=m(3260),I=m(576),S=m(7849),A=m(8822);function w(fe){if(fe instanceof k.y)return fe;if(null!=fe){if((0,o.c)(fe))return function R(fe){return new k.y(re=>{const ee=fe[A.L]();if((0,I.m)(ee.subscribe))return ee.subscribe(re);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(fe);if((0,e.z)(fe))return function E(fe){return new k.y(re=>{for(let ee=0;ee<fe.length&&!re.closed;ee++)re.next(fe[ee]);re.complete()})}(fe);if((0,g.t)(fe))return function U(fe){return new k.y(re=>{fe.then(ee=>{re.closed||(re.next(ee),re.complete())},ee=>re.error(ee)).then(null,S.h)})}(fe);if((0,C.D)(fe))return Q(fe);if((0,P.T)(fe))return function Y(fe){return new k.y(re=>{for(const ee of fe)if(re.next(ee),re.closed)return;re.complete()})}(fe);if((0,u.L)(fe))return function X(fe){return Q((0,u.Q)(fe))}(fe)}throw(0,h.z)(fe)}function Q(fe){return new k.y(re=>{(function $(fe,re){var ee,ce,se,le;return(0,t.mG)(this,void 0,void 0,function*(){try{for(ee=(0,t.KL)(fe);!(ce=yield ee.next()).done;)if(re.next(ce.value),re.closed)return}catch(L){se={error:L}}finally{try{ce&&!ce.done&&(le=ee.return)&&(yield le.call(ee))}finally{if(se)throw se.error}}re.complete()})})(fe,re).catch(ee=>re.error(ee))})}},6451:(ze,K,m)=>{"use strict";m.d(K,{T:()=>C});var t=m(8189),e=m(8421),g=m(515),k=m(3269),o=m(457);function C(...h){const P=(0,k.yG)(h),u=(0,k._6)(h,1/0),I=h;return I.length?1===I.length?(0,e.Xf)(I[0]):(0,t.J)(u)((0,o.D)(I,P)):g.E}},9646:(ze,K,m)=>{"use strict";m.d(K,{of:()=>g});var t=m(3269),e=m(457);function g(...k){const o=(0,t.yG)(k);return(0,e.D)(k,o)}},2843:(ze,K,m)=>{"use strict";m.d(K,{_:()=>g});var t=m(9751),e=m(576);function g(k,o){const C=(0,e.m)(k)?k:()=>k,h=P=>P.error(C());return new t.y(o?P=>o.schedule(h,0,P):h)}},2805:(ze,K,m)=>{"use strict";m.d(K,{H:()=>o});var t=m(9751),e=m(4986),g=m(3532),k=m(1165);function o(C=0,h,P=e.P){let u=-1;return null!=h&&((0,g.K)(h)?P=h:u=h),new t.y(I=>{let S=(0,k.q)(C)?+C-P.now():C;S<0&&(S=0);let A=0;return P.schedule(function(){I.closed||(I.next(A++),0<=u?this.schedule(void 0,u):I.complete())},S)})}},5403:(ze,K,m)=>{"use strict";m.d(K,{Q:()=>g,x:()=>e});var t=m(930);function e(k,o,C,h,P){return new g(k,o,C,h,P)}class g extends t.Lv{constructor(o,C,h,P,u,I){super(o),this.onFinalize=u,this.shouldUnsubscribe=I,this._next=C?function(S){try{C(S)}catch(A){o.error(A)}}:super._next,this._error=P?function(S){try{P(S)}catch(A){o.error(A)}finally{this.unsubscribe()}}:super._error,this._complete=h?function(){try{h()}catch(S){o.error(S)}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:(ze,K,m)=>{"use strict";m.d(K,{e:()=>h});var t=m(4986),e=m(4482),g=m(8421),k=m(5403),C=m(2805);function h(P,u=t.z){return function o(P){return(0,e.e)((u,I)=>{let S=!1,A=null,w=null,R=!1;const E=()=>{if(w?.unsubscribe(),w=null,S){S=!1;const Y=A;A=null,I.next(Y)}R&&I.complete()},U=()=>{w=null,R&&I.complete()};u.subscribe((0,k.x)(I,Y=>{S=!0,A=Y,w||(0,g.Xf)(P(Y)).subscribe(w=(0,k.x)(I,E,U))},()=>{R=!0,(!S||!w||w.closed)&&I.complete()}))})}(()=>(0,C.H)(P,u))}},262:(ze,K,m)=>{"use strict";m.d(K,{K:()=>k});var t=m(8421),e=m(5403),g=m(4482);function k(o){return(0,g.e)((C,h)=>{let I,P=null,u=!1;P=C.subscribe((0,e.x)(h,void 0,void 0,S=>{I=(0,t.Xf)(o(S,k(o)(C))),P?(P.unsubscribe(),P=null,I.subscribe(h)):u=!0})),u&&(P.unsubscribe(),P=null,I.subscribe(h))})}},4351:(ze,K,m)=>{"use strict";m.d(K,{b:()=>g});var t=m(5577),e=m(576);function g(k,o){return(0,e.m)(o)?(0,t.z)(k,o,1):(0,t.z)(k,1)}},8372:(ze,K,m)=>{"use strict";m.d(K,{b:()=>k});var t=m(4986),e=m(4482),g=m(5403);function k(o,C=t.z){return(0,e.e)((h,P)=>{let u=null,I=null,S=null;const A=()=>{if(u){u.unsubscribe(),u=null;const R=I;I=null,P.next(R)}};function w(){const R=S+o,E=C.now();if(E<R)return u=this.schedule(void 0,R-E),void P.add(u);A()}h.subscribe((0,g.x)(P,R=>{I=R,S=C.now(),u||(u=C.schedule(w,o),P.add(u))},()=>{A(),P.complete()},void 0,()=>{I=u=null}))})}},6590:(ze,K,m)=>{"use strict";m.d(K,{d:()=>g});var t=m(4482),e=m(5403);function g(k){return(0,t.e)((o,C)=>{let h=!1;o.subscribe((0,e.x)(C,P=>{h=!0,C.next(P)},()=>{h||C.next(k),C.complete()}))})}},4086:(ze,K,m)=>{"use strict";m.d(K,{g:()=>u});var t=m(4986),e=m(7272),g=m(5698),k=m(8502),o=m(9718),C=m(5577);function h(I,S){return S?A=>(0,e.z)(S.pipe((0,g.q)(1),(0,k.l)()),A.pipe(h(I))):(0,C.z)((A,w)=>I(A,w).pipe((0,g.q)(1),(0,o.h)(A)))}var P=m(2805);function u(I,S=t.z){const A=(0,P.H)(I,S);return h(()=>A)}},1884:(ze,K,m)=>{"use strict";m.d(K,{x:()=>k});var t=m(4671),e=m(4482),g=m(5403);function k(C,h=t.y){return C=C??o,(0,e.e)((P,u)=>{let I,S=!0;P.subscribe((0,g.x)(u,A=>{const w=h(A);(S||!C(I,w))&&(S=!1,I=w,u.next(A))}))})}function o(C,h){return C===h}},9300:(ze,K,m)=>{"use strict";m.d(K,{h:()=>g});var t=m(4482),e=m(5403);function g(k,o){return(0,t.e)((C,h)=>{let P=0;C.subscribe((0,e.x)(h,u=>k.call(o,u,P++)&&h.next(u)))})}},8746:(ze,K,m)=>{"use strict";m.d(K,{x:()=>e});var t=m(4482);function e(g){return(0,t.e)((k,o)=>{try{k.subscribe(o)}finally{o.add(g)}})}},590:(ze,K,m)=>{"use strict";m.d(K,{P:()=>h});var t=m(6805),e=m(9300),g=m(5698),k=m(6590),o=m(8068),C=m(4671);function h(P,u){const I=arguments.length>=2;return S=>S.pipe(P?(0,e.h)((A,w)=>P(A,w,S)):C.y,(0,g.q)(1),I?(0,k.d)(u):(0,o.T)(()=>new t.K))}},8502:(ze,K,m)=>{"use strict";m.d(K,{l:()=>k});var t=m(4482),e=m(5403),g=m(5032);function k(){return(0,t.e)((o,C)=>{o.subscribe((0,e.x)(C,g.Z))})}},4004:(ze,K,m)=>{"use strict";m.d(K,{U:()=>g});var t=m(4482),e=m(5403);function g(k,o){return(0,t.e)((C,h)=>{let P=0;C.subscribe((0,e.x)(h,u=>{h.next(k.call(o,u,P++))}))})}},9718:(ze,K,m)=>{"use strict";m.d(K,{h:()=>e});var t=m(4004);function e(g){return(0,t.U)(()=>g)}},8189:(ze,K,m)=>{"use strict";m.d(K,{J:()=>g});var t=m(5577),e=m(4671);function g(k=1/0){return(0,t.z)(e.y,k)}},5577:(ze,K,m)=>{"use strict";m.d(K,{z:()=>P});var t=m(4004),e=m(8421),g=m(4482),k=m(9672),o=m(5403),h=m(576);function P(u,I,S=1/0){return(0,h.m)(I)?P((A,w)=>(0,t.U)((R,E)=>I(A,R,w,E))((0,e.Xf)(u(A,w))),S):("number"==typeof I&&(S=I),(0,g.e)((A,w)=>function C(u,I,S,A,w,R,E,U){const Y=[];let Q=0,X=0,$=!1;const fe=()=>{$&&!Y.length&&!Q&&I.complete()},re=ce=>Q<A?ee(ce):Y.push(ce),ee=ce=>{R&&I.next(ce),Q++;let se=!1;(0,e.Xf)(S(ce,X++)).subscribe((0,o.x)(I,le=>{w?.(le),R?re(le):I.next(le)},()=>{se=!0},void 0,()=>{if(se)try{for(Q--;Y.length&&Q<A;){const le=Y.shift();E?(0,k.f)(I,E,()=>ee(le)):ee(le)}fe()}catch(le){I.error(le)}}))};return u.subscribe((0,o.x)(I,re,()=>{$=!0,fe()})),()=>{U?.()}}(A,w,u,S)))}},5363:(ze,K,m)=>{"use strict";m.d(K,{Q:()=>k});var t=m(9672),e=m(4482),g=m(5403);function k(o,C=0){return(0,e.e)((h,P)=>{h.subscribe((0,g.x)(P,u=>(0,t.f)(P,o,()=>P.next(u),C),()=>(0,t.f)(P,o,()=>P.complete(),C),u=>(0,t.f)(P,o,()=>P.error(u),C)))})}},8343:(ze,K,m)=>{"use strict";m.d(K,{x:()=>g});var t=m(4482),e=m(5403);function g(){return(0,t.e)((k,o)=>{let C=null;k._refCount++;const h=(0,e.x)(o,void 0,void 0,void 0,()=>{if(!k||k._refCount<=0||0<--k._refCount)return void(C=null);const P=k._connection,u=C;C=null,P&&(!u||P===u)&&P.unsubscribe(),o.unsubscribe()});k.subscribe(h),h.closed||(C=k.connect())})}},5026:(ze,K,m)=>{"use strict";m.d(K,{R:()=>k});var t=m(4482),e=m(5403);function g(o,C,h,P,u){return(I,S)=>{let A=h,w=C,R=0;I.subscribe((0,e.x)(S,E=>{const U=R++;w=A?o(w,E,U):(A=!0,E),P&&S.next(w)},u&&(()=>{A&&S.next(w),S.complete()})))}}function k(o,C){return(0,t.e)(g(o,C,arguments.length>=2,!0))}},3099:(ze,K,m)=>{"use strict";m.d(K,{B:()=>o});var t=m(8421),e=m(7579),g=m(930),k=m(4482);function o(h={}){const{connector:P=(()=>new e.x),resetOnError:u=!0,resetOnComplete:I=!0,resetOnRefCountZero:S=!0}=h;return A=>{let w,R,E,U=0,Y=!1,Q=!1;const X=()=>{R?.unsubscribe(),R=void 0},$=()=>{X(),w=E=void 0,Y=Q=!1},fe=()=>{const re=w;$(),re?.unsubscribe()};return(0,k.e)((re,ee)=>{U++,!Q&&!Y&&X();const ce=E=E??P();ee.add(()=>{U--,0===U&&!Q&&!Y&&(R=C(fe,S))}),ce.subscribe(ee),!w&&U>0&&(w=new g.Hp({next:se=>ce.next(se),error:se=>{Q=!0,X(),R=C($,u,se),ce.error(se)},complete:()=>{Y=!0,X(),R=C($,I),ce.complete()}}),(0,t.Xf)(re).subscribe(w))})(A)}}function C(h,P,...u){if(!0===P)return void h();if(!1===P)return;const I=new g.Hp({next:()=>{I.unsubscribe(),h()}});return P(...u).subscribe(I)}},5684:(ze,K,m)=>{"use strict";m.d(K,{T:()=>e});var t=m(9300);function e(g){return(0,t.h)((k,o)=>g<=o)}},8675:(ze,K,m)=>{"use strict";m.d(K,{O:()=>k});var t=m(7272),e=m(3269),g=m(4482);function k(...o){const C=(0,e.yG)(o);return(0,g.e)((h,P)=>{(C?(0,t.z)(o,h,C):(0,t.z)(o,h)).subscribe(P)})}},3900:(ze,K,m)=>{"use strict";m.d(K,{w:()=>k});var t=m(8421),e=m(4482),g=m(5403);function k(o,C){return(0,e.e)((h,P)=>{let u=null,I=0,S=!1;const A=()=>S&&!u&&P.complete();h.subscribe((0,g.x)(P,w=>{u?.unsubscribe();let R=0;const E=I++;(0,t.Xf)(o(w,E)).subscribe(u=(0,g.x)(P,U=>P.next(C?C(w,U,E,R++):U),()=>{u=null,A()}))},()=>{S=!0,A()}))})}},5698:(ze,K,m)=>{"use strict";m.d(K,{q:()=>k});var t=m(515),e=m(4482),g=m(5403);function k(o){return o<=0?()=>t.E:(0,e.e)((C,h)=>{let P=0;C.subscribe((0,g.x)(h,u=>{++P<=o&&(h.next(u),o<=P&&h.complete())}))})}},2722:(ze,K,m)=>{"use strict";m.d(K,{R:()=>o});var t=m(4482),e=m(5403),g=m(8421),k=m(5032);function o(C){return(0,t.e)((h,P)=>{(0,g.Xf)(C).subscribe((0,e.x)(P,()=>P.complete(),k.Z)),!P.closed&&h.subscribe(P)})}},2529:(ze,K,m)=>{"use strict";m.d(K,{o:()=>g});var t=m(4482),e=m(5403);function g(k,o=!1){return(0,t.e)((C,h)=>{let P=0;C.subscribe((0,e.x)(h,u=>{const I=k(u,P++);(I||o)&&h.next(u),!I&&h.complete()}))})}},8505:(ze,K,m)=>{"use strict";m.d(K,{b:()=>o});var t=m(576),e=m(4482),g=m(5403),k=m(4671);function o(C,h,P){const u=(0,t.m)(C)||h||P?{next:C,error:h,complete:P}:C;return u?(0,e.e)((I,S)=>{var A;null===(A=u.subscribe)||void 0===A||A.call(u);let w=!0;I.subscribe((0,g.x)(S,R=>{var E;null===(E=u.next)||void 0===E||E.call(u,R),S.next(R)},()=>{var R;w=!1,null===(R=u.complete)||void 0===R||R.call(u),S.complete()},R=>{var E;w=!1,null===(E=u.error)||void 0===E||E.call(u,R),S.error(R)},()=>{var R,E;w&&(null===(R=u.unsubscribe)||void 0===R||R.call(u)),null===(E=u.finalize)||void 0===E||E.call(u)}))}):k.y}},8068:(ze,K,m)=>{"use strict";m.d(K,{T:()=>k});var t=m(6805),e=m(4482),g=m(5403);function k(C=o){return(0,e.e)((h,P)=>{let u=!1;h.subscribe((0,g.x)(P,I=>{u=!0,P.next(I)},()=>u?P.complete():P.error(C())))})}function o(){return new t.K}},7414:(ze,K,m)=>{"use strict";m.d(K,{V:()=>u});var t=m(4986),e=m(1165),g=m(4482),k=m(8421),o=m(3888),C=m(5403),h=m(9672);const P=(0,o.d)(S=>function(w=null){S(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=w});function u(S,A){const{first:w,each:R,with:E=I,scheduler:U=A??t.z,meta:Y=null}=(0,e.q)(S)?{first:S}:"number"==typeof S?{each:S}:S;if(null==w&&null==R)throw new TypeError("No timeout provided.");return(0,g.e)((Q,X)=>{let $,fe,re=null,ee=0;const ce=se=>{fe=(0,h.f)(X,U,()=>{try{$.unsubscribe(),(0,k.Xf)(E({meta:Y,lastValue:re,seen:ee})).subscribe(X)}catch(le){X.error(le)}},se)};$=Q.subscribe((0,C.x)(X,se=>{fe?.unsubscribe(),ee++,X.next(re=se),R>0&&ce(R)},void 0,void 0,()=>{fe?.closed||fe?.unsubscribe(),re=null})),!ee&&ce(null!=w?"number"==typeof w?w:+w-U.now():R)})}function I(S){throw new P(S)}},1365:(ze,K,m)=>{"use strict";m.d(K,{M:()=>h});var t=m(4482),e=m(5403),g=m(8421),k=m(4671),o=m(5032),C=m(3269);function h(...P){const u=(0,C.jO)(P);return(0,t.e)((I,S)=>{const A=P.length,w=new Array(A);let R=P.map(()=>!1),E=!1;for(let U=0;U<A;U++)(0,g.Xf)(P[U]).subscribe((0,e.x)(S,Y=>{w[U]=Y,!E&&!R[U]&&(R[U]=!0,(E=R.every(k.y))&&(R=null))},o.Z));I.subscribe((0,e.x)(S,U=>{if(E){const Y=[U,...w];S.next(u?u(...Y):Y)}}))})}},4408:(ze,K,m)=>{"use strict";m.d(K,{o:()=>o});var t=m(727);class e extends t.w0{constructor(h,P){super()}schedule(h,P=0){return this}}const g={setInterval(C,h,...P){const{delegate:u}=g;return u?.setInterval?u.setInterval(C,h,...P):setInterval(C,h,...P)},clearInterval(C){const{delegate:h}=g;return(h?.clearInterval||clearInterval)(C)},delegate:void 0};var k=m(8737);class o extends e{constructor(h,P){super(h,P),this.scheduler=h,this.work=P,this.pending=!1}schedule(h,P=0){var u;if(this.closed)return this;this.state=h;const I=this.id,S=this.scheduler;return null!=I&&(this.id=this.recycleAsyncId(S,I,P)),this.pending=!0,this.delay=P,this.id=null!==(u=this.id)&&void 0!==u?u:this.requestAsyncId(S,this.id,P),this}requestAsyncId(h,P,u=0){return g.setInterval(h.flush.bind(h,this),u)}recycleAsyncId(h,P,u=0){if(null!=u&&this.delay===u&&!1===this.pending)return P;null!=P&&g.clearInterval(P)}execute(h,P){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const u=this._execute(h,P);if(u)return u;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(h,P){let I,u=!1;try{this.work(h)}catch(S){u=!0,I=S||new Error("Scheduled action threw falsy error")}if(u)return this.unsubscribe(),I}unsubscribe(){if(!this.closed){const{id:h,scheduler:P}=this,{actions:u}=P;this.work=this.state=this.scheduler=null,this.pending=!1,(0,k.P)(u,this),null!=h&&(this.id=this.recycleAsyncId(P,h,null)),this.delay=null,super.unsubscribe()}}}},7565:(ze,K,m)=>{"use strict";m.d(K,{v:()=>g});var t=m(6063);class e{constructor(o,C=e.now){this.schedulerActionCtor=o,this.now=C}schedule(o,C=0,h){return new this.schedulerActionCtor(this,o).schedule(h,C)}}e.now=t.l.now;class g 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 h;this._active=!0;do{if(h=o.execute(o.state,o.delay))break}while(o=C.shift());if(this._active=!1,h){for(;o=C.shift();)o.unsubscribe();throw h}}}},3101:(ze,K,m)=>{"use strict";m.d(K,{E:()=>R});var t=m(4408);let g,e=1;const k={};function o(U){return U in k&&(delete k[U],!0)}const C={setImmediate(U){const Y=e++;return k[Y]=!0,g||(g=Promise.resolve()),g.then(()=>o(Y)&&U()),Y},clearImmediate(U){o(U)}},{setImmediate:P,clearImmediate:u}=C,I={setImmediate(...U){const{delegate:Y}=I;return(Y?.setImmediate||P)(...U)},clearImmediate(U){const{delegate:Y}=I;return(Y?.clearImmediate||u)(U)},delegate:void 0};var A=m(7565);const R=new class w extends A.v{flush(Y){this._active=!0;const Q=this._scheduled;this._scheduled=void 0;const{actions:X}=this;let $;Y=Y||X.shift();do{if($=Y.execute(Y.state,Y.delay))break}while((Y=X[0])&&Y.id===Q&&X.shift());if(this._active=!1,$){for(;(Y=X[0])&&Y.id===Q&&X.shift();)Y.unsubscribe();throw $}}}(class S extends t.o{constructor(Y,Q){super(Y,Q),this.scheduler=Y,this.work=Q}requestAsyncId(Y,Q,X=0){return null!==X&&X>0?super.requestAsyncId(Y,Q,X):(Y.actions.push(this),Y._scheduled||(Y._scheduled=I.setImmediate(Y.flush.bind(Y,void 0))))}recycleAsyncId(Y,Q,X=0){var $;if(null!=X?X>0:this.delay>0)return super.recycleAsyncId(Y,Q,X);const{actions:fe}=Y;null!=Q&&(null===($=fe[fe.length-1])||void 0===$?void 0:$.id)!==Q&&(I.clearImmediate(Q),Y._scheduled=void 0)}})},4986:(ze,K,m)=>{"use strict";m.d(K,{P:()=>k,z:()=>g});var t=m(4408);const g=new(m(7565).v)(t.o),k=g},6063:(ze,K,m)=>{"use strict";m.d(K,{l:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},233:(ze,K,m)=>{"use strict";m.d(K,{N:()=>o});var t=m(4408),g=m(7565);const o=new class k extends g.v{}(class e extends t.o{constructor(P,u){super(P,u),this.scheduler=P,this.work=u}schedule(P,u=0){return u>0?super.schedule(P,u):(this.delay=u,this.state=P,this.scheduler.flush(this),this)}execute(P,u){return u>0||this.closed?super.execute(P,u):this._execute(P,u)}requestAsyncId(P,u,I=0){return null!=I&&I>0||null==I&&this.delay>0?super.requestAsyncId(P,u,I):(P.flush(this),0)}})},3410:(ze,K,m)=>{"use strict";m.d(K,{z:()=>t});const t={setTimeout(e,g,...k){const{delegate:o}=t;return o?.setTimeout?o.setTimeout(e,g,...k):setTimeout(e,g,...k)},clearTimeout(e){const{delegate:g}=t;return(g?.clearTimeout||clearTimeout)(e)},delegate:void 0}},2202:(ze,K,m)=>{"use strict";m.d(K,{h:()=>e});const e=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(ze,K,m)=>{"use strict";m.d(K,{L:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(ze,K,m)=>{"use strict";m.d(K,{K:()=>e});const e=(0,m(3888).d)(g=>function(){g(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(ze,K,m)=>{"use strict";m.d(K,{_6:()=>C,jO:()=>k,yG:()=>o});var t=m(576),e=m(3532);function g(h){return h[h.length-1]}function k(h){return(0,t.m)(g(h))?h.pop():void 0}function o(h){return(0,e.K)(g(h))?h.pop():void 0}function C(h,P){return"number"==typeof g(h)?h.pop():P}},4742:(ze,K,m)=>{"use strict";m.d(K,{D:()=>o});const{isArray:t}=Array,{getPrototypeOf:e,prototype:g,keys:k}=Object;function o(h){if(1===h.length){const P=h[0];if(t(P))return{args:P,keys:null};if(function C(h){return h&&"object"==typeof h&&e(h)===g}(P)){const u=k(P);return{args:u.map(I=>P[I]),keys:u}}}return{args:h,keys:null}}},8737:(ze,K,m)=>{"use strict";function t(e,g){if(e){const k=e.indexOf(g);0<=k&&e.splice(k,1)}}m.d(K,{P:()=>t})},3888:(ze,K,m)=>{"use strict";function t(e){const k=e(o=>{Error.call(o),o.stack=(new Error).stack});return k.prototype=Object.create(Error.prototype),k.prototype.constructor=k,k}m.d(K,{d:()=>t})},1810:(ze,K,m)=>{"use strict";function t(e,g){return e.reduce((k,o,C)=>(k[o]=g[C],k),{})}m.d(K,{n:()=>t})},2806:(ze,K,m)=>{"use strict";m.d(K,{O:()=>k,x:()=>g});var t=m(2416);let e=null;function g(o){if(t.v.useDeprecatedSynchronousErrorHandling){const C=!e;if(C&&(e={errorThrown:!1,error:null}),o(),C){const{errorThrown:h,error:P}=e;if(e=null,h)throw P}}else o()}function k(o){t.v.useDeprecatedSynchronousErrorHandling&&e&&(e.errorThrown=!0,e.error=o)}},9672:(ze,K,m)=>{"use strict";function t(e,g,k,o=0,C=!1){const h=g.schedule(function(){k(),C?e.add(this.schedule(null,o)):this.unsubscribe()},o);if(e.add(h),!C)return h}m.d(K,{f:()=>t})},4671:(ze,K,m)=>{"use strict";function t(e){return e}m.d(K,{y:()=>t})},1144:(ze,K,m)=>{"use strict";m.d(K,{z:()=>t});const t=e=>e&&"number"==typeof e.length&&"function"!=typeof e},2206:(ze,K,m)=>{"use strict";m.d(K,{D:()=>e});var t=m(576);function e(g){return Symbol.asyncIterator&&(0,t.m)(g?.[Symbol.asyncIterator])}},1165:(ze,K,m)=>{"use strict";function t(e){return e instanceof Date&&!isNaN(e)}m.d(K,{q:()=>t})},576:(ze,K,m)=>{"use strict";function t(e){return"function"==typeof e}m.d(K,{m:()=>t})},3670:(ze,K,m)=>{"use strict";m.d(K,{c:()=>g});var t=m(8822),e=m(576);function g(k){return(0,e.m)(k[t.L])}},6495:(ze,K,m)=>{"use strict";m.d(K,{T:()=>g});var t=m(2202),e=m(576);function g(k){return(0,e.m)(k?.[t.h])}},5191:(ze,K,m)=>{"use strict";m.d(K,{b:()=>g});var t=m(9751),e=m(576);function g(k){return!!k&&(k instanceof t.y||(0,e.m)(k.lift)&&(0,e.m)(k.subscribe))}},8239:(ze,K,m)=>{"use strict";m.d(K,{t:()=>e});var t=m(576);function e(g){return(0,t.m)(g?.then)}},3260:(ze,K,m)=>{"use strict";m.d(K,{L:()=>k,Q:()=>g});var t=m(655),e=m(576);function g(o){return(0,t.FC)(this,arguments,function*(){const h=o.getReader();try{for(;;){const{value:P,done:u}=yield(0,t.qq)(h.read());if(u)return yield(0,t.qq)(void 0);yield yield(0,t.qq)(P)}}finally{h.releaseLock()}})}function k(o){return(0,e.m)(o?.getReader)}},3532:(ze,K,m)=>{"use strict";m.d(K,{K:()=>e});var t=m(576);function e(g){return g&&(0,t.m)(g.schedule)}},4482:(ze,K,m)=>{"use strict";m.d(K,{A:()=>e,e:()=>g});var t=m(576);function e(k){return(0,t.m)(k?.lift)}function g(k){return o=>{if(e(o))return o.lift(function(C){try{return k(C,this)}catch(h){this.error(h)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(ze,K,m)=>{"use strict";m.d(K,{Z:()=>k});var t=m(4004);const{isArray:e}=Array;function k(o){return(0,t.U)(C=>function g(o,C){return e(C)?o(...C):o(C)}(o,C))}},5032:(ze,K,m)=>{"use strict";function t(){}m.d(K,{Z:()=>t})},9635:(ze,K,m)=>{"use strict";m.d(K,{U:()=>g,z:()=>e});var t=m(4671);function e(...k){return g(k)}function g(k){return 0===k.length?t.y:1===k.length?k[0]:function(C){return k.reduce((h,P)=>P(h),C)}}},7849:(ze,K,m)=>{"use strict";m.d(K,{h:()=>g});var t=m(2416),e=m(3410);function g(k){e.z.setTimeout(()=>{const{onUnhandledError:o}=t.v;if(!o)throw k;o(k)})}},4532:(ze,K,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(K,{z:()=>t})},3502:(ze,K,m)=>{var t=m(3172),e=t.Buffer;function g(o,C){for(var h in o)C[h]=o[h]}function k(o,C,h){return e(o,C,h)}e.from&&e.alloc&&e.allocUnsafe&&e.allocUnsafeSlow?ze.exports=t:(g(t,K),K.Buffer=k),k.prototype=Object.create(e.prototype),g(e,k),k.from=function(o,C,h){if("number"==typeof o)throw new TypeError("Argument must not be a number");return e(o,C,h)},k.alloc=function(o,C,h){if("number"!=typeof o)throw new TypeError("Argument must be a number");var P=e(o);return void 0!==C?"string"==typeof h?P.fill(C,h):P.fill(C):P.fill(0),P},k.allocUnsafe=function(o){if("number"!=typeof o)throw new TypeError("Argument must be a number");return e(o)},k.allocUnsafeSlow=function(o){if("number"!=typeof o)throw new TypeError("Argument must be a number");return t.SlowBuffer(o)}},2038:(ze,K,m)=>{"use strict";var k,t=m(3172),e=t.Buffer,g={};for(k in t)!t.hasOwnProperty(k)||"SlowBuffer"===k||"Buffer"===k||(g[k]=t[k]);var o=g.Buffer={};for(k in e)!e.hasOwnProperty(k)||"allocUnsafe"===k||"allocUnsafeSlow"===k||(o[k]=e[k]);if(g.Buffer.prototype=e.prototype,(!o.from||o.from===Uint8Array.from)&&(o.from=function(C,h,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,h,P)}),o.alloc||(o.alloc=function(C,h,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 u=e(C);return h&&0!==h.length?"string"==typeof P?u.fill(h,P):u.fill(h):u.fill(0),u}),!g.kStringMaxLength)try{g.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}g.constants||(g.constants={MAX_LENGTH:g.kMaxLength},g.kStringMaxLength&&(g.constants.MAX_STRING_LENGTH=g.kStringMaxLength)),ze.exports=g},6692:(ze,K,m)=>{var t=m(3502).Buffer;function e(g,k){this._block=t.alloc(g),this._finalSize=k,this._blockSize=g,this._len=0}e.prototype.update=function(g,k){"string"==typeof g&&(g=t.from(g,k=k||"utf8"));for(var o=this._block,C=this._blockSize,h=g.length,P=this._len,u=0;u<h;){for(var I=P%C,S=Math.min(h-u,C-I),A=0;A<S;A++)o[I+A]=g[u+A];u+=S,(P+=S)%C==0&&this._update(o)}return this._len+=h,this},e.prototype.digest=function(g){var k=this._len%this._blockSize;this._block[k]=128,this._block.fill(0,k+1),k>=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 g?P.toString(g):P},e.prototype._update=function(){throw new Error("_update must be implemented by subclass")},ze.exports=e},5244:(ze,K,m)=>{var t=ze.exports=function(g){g=g.toLowerCase();var k=t[g];if(!k)throw new Error(g+" is not supported (we accept pull requests)");return new k};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:(ze,K,m)=>{var t=m(3894),e=m(6692),g=m(3502).Buffer,k=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function C(){this.init(),this._w=o,e.call(this,64,56)}function h(I){return I<<5|I>>>27}function P(I){return I<<30|I>>>2}function u(I,S,A,w){return 0===I?S&A|~S&w:2===I?S&A|S&w|A&w:S^A^w}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(I){for(var S=this._w,A=0|this._a,w=0|this._b,R=0|this._c,E=0|this._d,U=0|this._e,Y=0;Y<16;++Y)S[Y]=I.readInt32BE(4*Y);for(;Y<80;++Y)S[Y]=S[Y-3]^S[Y-8]^S[Y-14]^S[Y-16];for(var Q=0;Q<80;++Q){var X=~~(Q/20),$=h(A)+u(X,w,R,E)+U+S[Q]+k[X]|0;U=E,E=R,R=P(w),w=A,A=$}this._a=A+this._a|0,this._b=w+this._b|0,this._c=R+this._c|0,this._d=E+this._d|0,this._e=U+this._e|0},C.prototype._hash=function(){var I=g.allocUnsafe(20);return I.writeInt32BE(0|this._a,0),I.writeInt32BE(0|this._b,4),I.writeInt32BE(0|this._c,8),I.writeInt32BE(0|this._d,12),I.writeInt32BE(0|this._e,16),I},ze.exports=C},7736:(ze,K,m)=>{var t=m(3894),e=m(6692),g=m(3502).Buffer,k=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function C(){this.init(),this._w=o,e.call(this,64,56)}function h(S){return S<<1|S>>>31}function P(S){return S<<5|S>>>27}function u(S){return S<<30|S>>>2}function I(S,A,w,R){return 0===S?A&w|~A&R:2===S?A&w|A&R|w&R:A^w^R}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 A=this._w,w=0|this._a,R=0|this._b,E=0|this._c,U=0|this._d,Y=0|this._e,Q=0;Q<16;++Q)A[Q]=S.readInt32BE(4*Q);for(;Q<80;++Q)A[Q]=h(A[Q-3]^A[Q-8]^A[Q-14]^A[Q-16]);for(var X=0;X<80;++X){var $=~~(X/20),fe=P(w)+I($,R,E,U)+Y+A[X]+k[$]|0;Y=U,U=E,E=u(R),R=w,w=fe}this._a=w+this._a|0,this._b=R+this._b|0,this._c=E+this._c|0,this._d=U+this._d|0,this._e=Y+this._e|0},C.prototype._hash=function(){var S=g.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},ze.exports=C},5044:(ze,K,m)=>{var t=m(3894),e=m(5014),g=m(6692),k=m(3502).Buffer,o=new Array(64);function C(){this.init(),this._w=o,g.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 h=k.allocUnsafe(28);return h.writeInt32BE(this._a,0),h.writeInt32BE(this._b,4),h.writeInt32BE(this._c,8),h.writeInt32BE(this._d,12),h.writeInt32BE(this._e,16),h.writeInt32BE(this._f,20),h.writeInt32BE(this._g,24),h},ze.exports=C},5014:(ze,K,m)=>{var t=m(3894),e=m(6692),g=m(3502).Buffer,k=[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 h(w,R,E){return E^w&(R^E)}function P(w,R,E){return w&R|E&(w|R)}function u(w){return(w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10)}function I(w){return(w>>>6|w<<26)^(w>>>11|w<<21)^(w>>>25|w<<7)}function S(w){return(w>>>7|w<<25)^(w>>>18|w<<14)^w>>>3}function A(w){return(w>>>17|w<<15)^(w>>>19|w<<13)^w>>>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(w){for(var R=this._w,E=0|this._a,U=0|this._b,Y=0|this._c,Q=0|this._d,X=0|this._e,$=0|this._f,fe=0|this._g,re=0|this._h,ee=0;ee<16;++ee)R[ee]=w.readInt32BE(4*ee);for(;ee<64;++ee)R[ee]=A(R[ee-2])+R[ee-7]+S(R[ee-15])+R[ee-16]|0;for(var ce=0;ce<64;++ce){var se=re+I(X)+h(X,$,fe)+k[ce]+R[ce]|0,le=u(E)+P(E,U,Y)|0;re=fe,fe=$,$=X,X=Q+se|0,Q=Y,Y=U,U=E,E=se+le|0}this._a=E+this._a|0,this._b=U+this._b|0,this._c=Y+this._c|0,this._d=Q+this._d|0,this._e=X+this._e|0,this._f=$+this._f|0,this._g=fe+this._g|0,this._h=re+this._h|0},C.prototype._hash=function(){var w=g.allocUnsafe(32);return w.writeInt32BE(this._a,0),w.writeInt32BE(this._b,4),w.writeInt32BE(this._c,8),w.writeInt32BE(this._d,12),w.writeInt32BE(this._e,16),w.writeInt32BE(this._f,20),w.writeInt32BE(this._g,24),w.writeInt32BE(this._h,28),w},ze.exports=C},6540:(ze,K,m)=>{var t=m(3894),e=m(117),g=m(6692),k=m(3502).Buffer,o=new Array(160);function C(){this.init(),this._w=o,g.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 h=k.allocUnsafe(48);function P(u,I,S){h.writeInt32BE(u,S),h.writeInt32BE(I,S+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),h},ze.exports=C},117:(ze,K,m)=>{var t=m(3894),e=m(6692),g=m(3502).Buffer,k=[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 h(U,Y,Q){return Q^U&(Y^Q)}function P(U,Y,Q){return U&Y|Q&(U|Y)}function u(U,Y){return(U>>>28|Y<<4)^(Y>>>2|U<<30)^(Y>>>7|U<<25)}function I(U,Y){return(U>>>14|Y<<18)^(U>>>18|Y<<14)^(Y>>>9|U<<23)}function S(U,Y){return(U>>>1|Y<<31)^(U>>>8|Y<<24)^U>>>7}function A(U,Y){return(U>>>1|Y<<31)^(U>>>8|Y<<24)^(U>>>7|Y<<25)}function w(U,Y){return(U>>>19|Y<<13)^(Y>>>29|U<<3)^U>>>6}function R(U,Y){return(U>>>19|Y<<13)^(Y>>>29|U<<3)^(U>>>6|Y<<26)}function E(U,Y){return U>>>0<Y>>>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(U){for(var Y=this._w,Q=0|this._ah,X=0|this._bh,$=0|this._ch,fe=0|this._dh,re=0|this._eh,ee=0|this._fh,ce=0|this._gh,se=0|this._hh,le=0|this._al,L=0|this._bl,i=0|this._cl,r=0|this._dl,d=0|this._el,c=0|this._fl,b=0|this._gl,T=0|this._hl,N=0;N<32;N+=2)Y[N]=U.readInt32BE(4*N),Y[N+1]=U.readInt32BE(4*N+4);for(;N<160;N+=2){var v=Y[N-30],n=Y[N-30+1],y=S(v,n),B=A(n,v),z=w(v=Y[N-4],n=Y[N-4+1]),W=R(n,v),Ke=Y[N-32],$e=Y[N-32+1],Ae=B+Y[N-14+1]|0,ue=y+Y[N-14]+E(Ae,B)|0;ue=(ue=ue+z+E(Ae=Ae+W|0,W)|0)+Ke+E(Ae=Ae+$e|0,$e)|0,Y[N]=ue,Y[N+1]=Ae}for(var ye=0;ye<160;ye+=2){ue=Y[ye],Ae=Y[ye+1];var we=P(Q,X,$),he=P(le,L,i),it=u(Q,le),De=u(le,Q),oe=I(re,d),me=I(d,re),te=k[ye],Ze=k[ye+1],Ue=h(re,ee,ce),q=h(d,c,b),de=T+me|0,Ee=se+oe+E(de,T)|0;Ee=(Ee=(Ee=Ee+Ue+E(de=de+q|0,q)|0)+te+E(de=de+Ze|0,Ze)|0)+ue+E(de=de+Ae|0,Ae)|0;var ke=De+he|0,ie=it+we+E(ke,De)|0;se=ce,T=b,ce=ee,b=c,ee=re,c=d,re=fe+Ee+E(d=r+de|0,r)|0,fe=$,r=i,$=X,i=L,X=Q,L=le,Q=Ee+ie+E(le=de+ke|0,de)|0}this._al=this._al+le|0,this._bl=this._bl+L|0,this._cl=this._cl+i|0,this._dl=this._dl+r|0,this._el=this._el+d|0,this._fl=this._fl+c|0,this._gl=this._gl+b|0,this._hl=this._hl+T|0,this._ah=this._ah+Q+E(this._al,le)|0,this._bh=this._bh+X+E(this._bl,L)|0,this._ch=this._ch+$+E(this._cl,i)|0,this._dh=this._dh+fe+E(this._dl,r)|0,this._eh=this._eh+re+E(this._el,d)|0,this._fh=this._fh+ee+E(this._fl,c)|0,this._gh=this._gh+ce+E(this._gl,b)|0,this._hh=this._hh+se+E(this._hl,T)|0},C.prototype._hash=function(){var U=g.allocUnsafe(64);function Y(Q,X,$){U.writeInt32BE(Q,$),U.writeInt32BE(X,$+4)}return Y(this._ah,this._al,0),Y(this._bh,this._bl,8),Y(this._ch,this._cl,16),Y(this._dh,this._dl,24),Y(this._eh,this._el,32),Y(this._fh,this._fl,40),Y(this._gh,this._gl,48),Y(this._hh,this._hl,56),U},ze.exports=C},8012:function(ze,K,m){!function(t){"use strict";var e={};ze.exports?(e.bytesToHex=m(6128).bytesToHex,e.convertString=m(5612),ze.exports=P):(e.bytesToHex=t.convertHex.bytesToHex,e.convertString=t.convertString,t.sha256=P);var g=[];!function(){function u(w){for(var R=Math.sqrt(w),E=2;E<=R;E++)if(!(w%E))return!1;return!0}for(var S=2,A=0;A<64;)u(S)&&(g[A]=4294967296*((w=Math.pow(S,1/3))-(0|w))|0,A++),S++;var w}();var C=[],h=function(u,I,S){for(var A=u[0],w=u[1],R=u[2],E=u[3],U=u[4],Y=u[5],Q=u[6],X=u[7],$=0;$<64;$++){if($<16)C[$]=0|I[S+$];else{var fe=C[$-15],ee=C[$-2];C[$]=((fe<<25|fe>>>7)^(fe<<14|fe>>>18)^fe>>>3)+C[$-7]+((ee<<15|ee>>>17)^(ee<<13|ee>>>19)^ee>>>10)+C[$-16]}var le=A&w^A&R^w&R,r=X+((U<<26|U>>>6)^(U<<21|U>>>11)^(U<<7|U>>>25))+(U&Y^~U&Q)+g[$]+C[$];X=Q,Q=Y,Y=U,U=E+r|0,E=R,R=w,w=A,A=r+(((A<<30|A>>>2)^(A<<19|A>>>13)^(A<<10|A>>>22))+le)|0}u[0]=u[0]+A|0,u[1]=u[1]+w|0,u[2]=u[2]+R|0,u[3]=u[3]+E|0,u[4]=u[4]+U|0,u[5]=u[5]+Y|0,u[6]=u[6]+Q|0,u[7]=u[7]+X|0};function P(u,I){u.constructor===String&&(u=e.convertString.UTF8.stringToBytes(u));var S=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],A=function(u){for(var I=[],S=0,A=0;S<u.length;S++,A+=8)I[A>>>5]|=u[S]<<24-A%32;return I}(u),w=8*u.length;A[w>>5]|=128<<24-w%32,A[15+(w+64>>9<<4)]=w;for(var R=0;R<A.length;R+=16)h(S,A,R);var E=function(u){for(var I=[],S=0;S<32*u.length;S+=8)I.push(u[S>>>5]>>>24-S%32&255);return I}(S);return I&&I.asBytes?E:I&&I.asString?e.convertString.bytesToString(E):e.bytesToHex(E)}P.x2=function(u,I){return P(P(u,{asBytes:!0}),I)}}(this)},295:(ze,K,m)=>{ze.exports=g;var t=m(9069).EventEmitter;function g(){t.call(this)}m(3894)(g,t),g.Readable=m(3154),g.Writable=m(520),g.Duplex=m(1339),g.Transform=m(6025),g.PassThrough=m(6071),g.finished=m(7542),g.pipeline=m(954),g.Stream=g,g.prototype.pipe=function(k,o){var C=this;function h(R){k.writable&&!1===k.write(R)&&C.pause&&C.pause()}function P(){C.readable&&C.resume&&C.resume()}C.on("data",h),k.on("drain",P),!k._isStdio&&(!o||!1!==o.end)&&(C.on("end",I),C.on("close",S));var u=!1;function I(){u||(u=!0,k.end())}function S(){u||(u=!0,"function"==typeof k.destroy&&k.destroy())}function A(R){if(w(),0===t.listenerCount(this,"error"))throw R}function w(){C.removeListener("data",h),k.removeListener("drain",P),C.removeListener("end",I),C.removeListener("close",S),C.removeListener("error",A),k.removeListener("error",A),C.removeListener("end",w),C.removeListener("close",w),k.removeListener("close",w)}return C.on("error",A),k.on("error",A),C.on("end",w),C.on("close",w),k.on("close",w),k.emit("pipe",C),k}},3054:(ze,K,m)=>{"use strict";var t=m(3502).Buffer,e=t.isEncoding||function(Q){switch((Q=""+Q)&&Q.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(Q){var X;switch(this.encoding=function k(Q){var X=function g(Q){if(!Q)return"utf8";for(var X;;)switch(Q){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 Q;default:if(X)return;Q=(""+Q).toLowerCase(),X=!0}}(Q);if("string"!=typeof X&&(t.isEncoding===e||!e(Q)))throw new Error("Unknown encoding: "+Q);return X||Q}(Q),this.encoding){case"utf16le":this.text=A,this.end=w,X=4;break;case"utf8":this.fillLast=u,X=4;break;case"base64":this.text=R,this.end=E,X=3;break;default:return this.write=U,void(this.end=Y)}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(X)}function C(Q){return Q<=127?0:Q>>5==6?2:Q>>4==14?3:Q>>3==30?4:Q>>6==2?-1:-2}function u(Q){var X=this.lastTotal-this.lastNeed,$=function P(Q,X,$){if(128!=(192&X[0]))return Q.lastNeed=0,"\ufffd";if(Q.lastNeed>1&&X.length>1){if(128!=(192&X[1]))return Q.lastNeed=1,"\ufffd";if(Q.lastNeed>2&&X.length>2&&128!=(192&X[2]))return Q.lastNeed=2,"\ufffd"}}(this,Q);return void 0!==$?$:this.lastNeed<=Q.length?(Q.copy(this.lastChar,X,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(Q.copy(this.lastChar,X,0,Q.length),void(this.lastNeed-=Q.length))}function A(Q,X){if((Q.length-X)%2==0){var $=Q.toString("utf16le",X);if($){var fe=$.charCodeAt($.length-1);if(fe>=55296&&fe<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Q[Q.length-2],this.lastChar[1]=Q[Q.length-1],$.slice(0,-1)}return $}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Q[Q.length-1],Q.toString("utf16le",X,Q.length-1)}function w(Q){var X=Q&&Q.length?this.write(Q):"";return this.lastNeed?X+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):X}function R(Q,X){var $=(Q.length-X)%3;return 0===$?Q.toString("base64",X):(this.lastNeed=3-$,this.lastTotal=3,1===$?this.lastChar[0]=Q[Q.length-1]:(this.lastChar[0]=Q[Q.length-2],this.lastChar[1]=Q[Q.length-1]),Q.toString("base64",X,Q.length-$))}function E(Q){var X=Q&&Q.length?this.write(Q):"";return this.lastNeed?X+this.lastChar.toString("base64",0,3-this.lastNeed):X}function U(Q){return Q.toString(this.encoding)}function Y(Q){return Q&&Q.length?this.write(Q):""}K.s=o,o.prototype.write=function(Q){if(0===Q.length)return"";var X,$;if(this.lastNeed){if(void 0===(X=this.fillLast(Q)))return"";$=this.lastNeed,this.lastNeed=0}else $=0;return $<Q.length?X?X+this.text(Q,$):this.text(Q,$):X||""},o.prototype.end=function S(Q){var X=Q&&Q.length?this.write(Q):"";return this.lastNeed?X+"\ufffd":X},o.prototype.text=function I(Q,X){var $=function h(Q,X,$){var fe=X.length-1;if(fe<$)return 0;var re=C(X[fe]);return re>=0?(re>0&&(Q.lastNeed=re-1),re):--fe<$||-2===re?0:(re=C(X[fe]))>=0?(re>0&&(Q.lastNeed=re-2),re):--fe<$||-2===re?0:(re=C(X[fe]))>=0?(re>0&&(2===re?re=0:Q.lastNeed=re-3),re):0}(this,Q,X);if(!this.lastNeed)return Q.toString("utf8",X);this.lastTotal=$;var fe=Q.length-($-this.lastNeed);return Q.copy(this.lastChar,0,fe),Q.toString("utf8",X,fe)},o.prototype.fillLast=function(Q){if(this.lastNeed<=Q.length)return Q.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Q.copy(this.lastChar,this.lastTotal-this.lastNeed,0,Q.length),this.lastNeed-=Q.length}},2167:(ze,K,m)=>{var t=m(4606);K.encode=t.encode,K.decode=t.decode},4606:(ze,K)=>{"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];K.encode=function(g){Buffer.isBuffer(g)||(g=new Buffer(g));for(var k=0,o=0,C=0,h=0,P=new Buffer(8*function e(g){var k=Math.floor(g.length/5);return g.length%5==0?k:k+1}(g));k<g.length;){var u=g[k];C>3?(h=(h=u&255>>C)<<(C=(C+5)%8)|(k+1<g.length?g[k+1]:0)>>8-C,k++):(h=u>>8-(C+5)&31,0==(C=(C+5)%8)&&k++),P[o]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(h),o++}for(k=o;k<P.length;k++)P[k]=61;return P},K.decode=function(g){var C,k=0,o=0,h=0;Buffer.isBuffer(g)||(g=new Buffer(g));for(var P=new Buffer(Math.ceil(5*g.length/8)),u=0;u<g.length&&61!==g[u];u++){var I=g[u]-48;if(!(I<t.length))throw new Error("Invalid input - it is not base32 encoded string");o=t[I],k<=3?0==(k=(k+5)%8)?(P[h]=C|=o,h++,C=0):C|=255&o<<8-k:(P[h]=C|=255&o>>>(k=(k+5)%8),h++,C=255&o<<8-k)}return P.slice(0,h)}},4364:ze=>{function m(t){try{if(!global.localStorage)return!1}catch{return!1}var e=global.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}ze.exports=function K(t,e){if(m("noDeprecation"))return t;var g=!1;return function k(){if(!g){if(m("throwDeprecation"))throw new Error(e);m("traceDeprecation")?console.trace(e):console.warn(e),g=!0}return t.apply(this,arguments)}}},655:(ze,K,m)=>{"use strict";function o(i,r,d,c){var N,b=arguments.length,T=b<3?r:null===c?c=Object.getOwnPropertyDescriptor(r,d):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)T=Reflect.decorate(i,r,d,c);else for(var v=i.length-1;v>=0;v--)(N=i[v])&&(T=(b<3?N(T):b>3?N(r,d,T):N(r,d))||T);return b>3&&T&&Object.defineProperty(r,d,T),T}function P(i,r,d,c){return new(d||(d=Promise))(function(T,N){function v(B){try{y(c.next(B))}catch(z){N(z)}}function n(B){try{y(c.throw(B))}catch(z){N(z)}}function y(B){B.done?T(B.value):function b(T){return T instanceof d?T:new d(function(N){N(T)})}(B.value).then(v,n)}y((c=c.apply(i,r||[])).next())})}function Y(i){return this instanceof Y?(this.v=i,this):new Y(i)}function Q(i,r,d){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var b,c=d.apply(i,r||[]),T=[];return b={},N("next"),N("throw"),N("return"),b[Symbol.asyncIterator]=function(){return this},b;function N(W){c[W]&&(b[W]=function(Le){return new Promise(function(Ve,Ke){T.push([W,Le,Ve,Ke])>1||v(W,Le)})})}function v(W,Le){try{!function n(W){W.value instanceof Y?Promise.resolve(W.value.v).then(y,B):z(T[0][2],W)}(c[W](Le))}catch(Ve){z(T[0][3],Ve)}}function y(W){v("next",W)}function B(W){v("throw",W)}function z(W,Le){W(Le),T.shift(),T.length&&v(T[0][0],T[0][1])}}function $(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d,r=i[Symbol.asyncIterator];return r?r.call(i):(i=function A(i){var r="function"==typeof Symbol&&Symbol.iterator,d=r&&i[r],c=0;if(d)return d.call(i);if(i&&"number"==typeof i.length)return{next:function(){return i&&c>=i.length&&(i=void 0),{value:i&&i[c++],done:!i}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),d={},c("next"),c("throw"),c("return"),d[Symbol.asyncIterator]=function(){return this},d);function c(T){d[T]=i[T]&&function(N){return new Promise(function(v,n){!function b(T,N,v,n){Promise.resolve(n).then(function(y){T({value:y,done:v})},N)}(v,n,(N=i[T](N)).done,N.value)})}}}m.d(K,{FC:()=>Q,KL:()=>$,gn:()=>o,mG:()=>P,qq:()=>Y})},950:()=>{},6601:()=>{},8623:()=>{},7748:()=>{},5568:()=>{},6619:()=>{},7108:()=>{},2361:()=>{},4616:()=>{},7340:(ze,K,m)=>{"use strict";m.d(K,{F4:()=>I,IO:()=>E,LC:()=>e,SB:()=>u,X$:()=>k,ZE:()=>X,ZN:()=>Q,_j:()=>t,eR:()=>S,jt:()=>o,k1:()=>$,l3:()=>g,oB:()=>P,pV:()=>w,ru:()=>C,vP:()=>h});class t{}class e{}const g="*";function k(fe,re){return{type:7,name:fe,definitions:re,options:{}}}function o(fe,re=null){return{type:4,styles:re,timings:fe}}function C(fe,re=null){return{type:3,steps:fe,options:re}}function h(fe,re=null){return{type:2,steps:fe,options:re}}function P(fe){return{type:6,styles:fe,offset:null}}function u(fe,re,ee){return{type:0,name:fe,styles:re,options:ee}}function I(fe){return{type:5,steps:fe}}function S(fe,re,ee=null){return{type:1,expr:fe,animation:re,options:ee}}function w(fe=null){return{type:9,options:fe}}function E(fe,re,ee=null){return{type:11,selector:fe,animation:re,options:ee}}function Y(fe){Promise.resolve().then(fe)}class Q{constructor(re=0,ee=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=re+ee}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(re=>re()),this._onDoneFns=[])}onStart(re){this._originalOnStartFns.push(re),this._onStartFns.push(re)}onDone(re){this._originalOnDoneFns.push(re),this._onDoneFns.push(re)}onDestroy(re){this._onDestroyFns.push(re)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Y(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(re=>re()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(re=>re()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(re){this._position=this.totalTime?re*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(re){const ee="start"==re?this._onStartFns:this._onDoneFns;ee.forEach(ce=>ce()),ee.length=0}}class X{constructor(re){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=re;let ee=0,ce=0,se=0;const le=this.players.length;0==le?Y(()=>this._onFinish()):this.players.forEach(L=>{L.onDone(()=>{++ee==le&&this._onFinish()}),L.onDestroy(()=>{++ce==le&&this._onDestroy()}),L.onStart(()=>{++se==le&&this._onStart()})}),this.totalTime=this.players.reduce((L,i)=>Math.max(L,i.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(re=>re()),this._onDoneFns=[])}init(){this.players.forEach(re=>re.init())}onStart(re){this._onStartFns.push(re)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(re=>re()),this._onStartFns=[])}onDone(re){this._onDoneFns.push(re)}onDestroy(re){this._onDestroyFns.push(re)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(re=>re.play())}pause(){this.players.forEach(re=>re.pause())}restart(){this.players.forEach(re=>re.restart())}finish(){this._onFinish(),this.players.forEach(re=>re.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(re=>re.destroy()),this._onDestroyFns.forEach(re=>re()),this._onDestroyFns=[])}reset(){this.players.forEach(re=>re.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(re){const ee=re*this.totalTime;this.players.forEach(ce=>{const se=ce.totalTime?Math.min(1,ee/ce.totalTime):1;ce.setPosition(se)})}getPosition(){const re=this.players.reduce((ee,ce)=>null===ee||ce.totalTime>ee.totalTime?ce:ee,null);return null!=re?re.getPosition():0}beforeDestroy(){this.players.forEach(re=>{re.beforeDestroy&&re.beforeDestroy()})}triggerCallback(re){const ee="start"==re?this._onStartFns:this._onDoneFns;ee.forEach(ce=>ce()),ee.length=0}}const $="!"},4761:(ze,K,m)=>{"use strict";m.d(K,{$s:()=>i,Em:()=>T,Kd:()=>mt,X6:()=>Ue,ic:()=>v,kH:()=>Pe,mK:()=>it,qV:()=>he,qm:()=>Ft,rt:()=>bt,s1:()=>b,tE:()=>xt,yG:()=>q});var t=m(6895),e=m(4650),g=m(3353),k=m(7579),o=m(727),C=m(1135),h=m(9646),P=m(9521),u=m(8505),I=m(8372),S=m(9300),A=m(4004),w=m(5698),R=m(5684),E=m(1884),U=m(2722),Y=m(1281),Q=m(9643),X=m(2289);function ee(Ce,J){return(Ce.getAttribute(J)||"").match(/\S+/g)||[]}const se="cdk-describedby-message",le="cdk-describedby-host";let L=0,i=(()=>{class Ce{constructor(ve,Ne){this._platform=Ne,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+L++,this._document=ve,this._id=(0,e.f3M)(e.AFp)+"-"+L++}describe(ve,Ne,st){if(!this._canBeDescribed(ve,Ne))return;const ni=r(Ne,st);"string"!=typeof Ne?(d(Ne,this._id),this._messageRegistry.set(ni,{messageElement:Ne,referenceCount:0})):this._messageRegistry.has(ni)||this._createMessageElement(Ne,st),this._isElementDescribedByMessage(ve,ni)||this._addMessageReference(ve,ni)}removeDescription(ve,Ne,st){if(!Ne||!this._isElementNode(ve))return;const ni=r(Ne,st);if(this._isElementDescribedByMessage(ve,ni)&&this._removeMessageReference(ve,ni),"string"==typeof Ne){const Ut=this._messageRegistry.get(ni);Ut&&0===Ut.referenceCount&&this._deleteMessageElement(ni)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const ve=this._document.querySelectorAll(`[${le}="${this._id}"]`);for(let Ne=0;Ne<ve.length;Ne++)this._removeCdkDescribedByReferenceIds(ve[Ne]),ve[Ne].removeAttribute(le);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(ve,Ne){const st=this._document.createElement("div");d(st,this._id),st.textContent=ve,Ne&&st.setAttribute("role",Ne),this._createMessagesContainer(),this._messagesContainer.appendChild(st),this._messageRegistry.set(r(ve,Ne),{messageElement:st,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",Ne=this._document.querySelectorAll(`.${ve}[platform="server"]`);for(let ni=0;ni<Ne.length;ni++)Ne[ni].remove();const st=this._document.createElement("div");st.style.visibility="hidden",st.classList.add(ve),st.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&st.setAttribute("platform","server"),this._document.body.appendChild(st),this._messagesContainer=st}_removeCdkDescribedByReferenceIds(ve){const Ne=ee(ve,"aria-describedby").filter(st=>0!=st.indexOf(se));ve.setAttribute("aria-describedby",Ne.join(" "))}_addMessageReference(ve,Ne){const st=this._messageRegistry.get(Ne);(function fe(Ce,J,ve){const Ne=ee(Ce,J);Ne.some(st=>st.trim()==ve.trim())||(Ne.push(ve.trim()),Ce.setAttribute(J,Ne.join(" ")))})(ve,"aria-describedby",st.messageElement.id),ve.setAttribute(le,this._id),st.referenceCount++}_removeMessageReference(ve,Ne){const st=this._messageRegistry.get(Ne);st.referenceCount--,function re(Ce,J,ve){const st=ee(Ce,J).filter(ni=>ni!=ve.trim());st.length?Ce.setAttribute(J,st.join(" ")):Ce.removeAttribute(J)}(ve,"aria-describedby",st.messageElement.id),ve.removeAttribute(le)}_isElementDescribedByMessage(ve,Ne){const st=ee(ve,"aria-describedby"),ni=this._messageRegistry.get(Ne),Ut=ni&&ni.messageElement.id;return!!Ut&&-1!=st.indexOf(Ut)}_canBeDescribed(ve,Ne){if(!this._isElementNode(ve))return!1;if(Ne&&"object"==typeof Ne)return!0;const st=null==Ne?"":`${Ne}`.trim(),ni=ve.getAttribute("aria-label");return!(!st||ni&&ni.trim()===st)}_isElementNode(ve){return ve.nodeType===this._document.ELEMENT_NODE}}return Ce.\u0275fac=function(ve){return new(ve||Ce)(e.LFG(t.K0),e.LFG(g.t4))},Ce.\u0275prov=e.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"}),Ce})();function r(Ce,J){return"string"==typeof Ce?`${J||""}/${Ce}`:Ce}function d(Ce,J){Ce.id||(Ce.id=`${se}-${J}-${L++}`)}class c{constructor(J){this._items=J,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new k.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 k.x,this.change=new k.x,J instanceof e.n_E&&(this._itemChangesSubscription=J.changes.subscribe(ve=>{if(this._activeItem){const st=ve.toArray().indexOf(this._activeItem);st>-1&&st!==this._activeItemIndex&&(this._activeItemIndex=st)}}))}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,u.b)(ve=>this._pressedLetters.push(ve)),(0,I.b)(J),(0,S.h)(()=>this._pressedLetters.length>0),(0,A.U)(()=>this._pressedLetters.join(""))).subscribe(ve=>{const Ne=this._getItemsArray();for(let st=1;st<Ne.length+1;st++){const ni=(this._activeItemIndex+st)%Ne.length,Ut=Ne[ni];if(!this._skipPredicateFn(Ut)&&0===Ut.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,st=["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&&st){this.setNextItemActive();break}return;case P.LH:if(this._vertical&&st){this.setPreviousItemActive();break}return;case P.SV:if(this._horizontal&&st){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case P.oh:if(this._horizontal&&st){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case P.Sd:if(this._homeAndEnd&&st){this.setFirstItemActive();break}return;case P.uR:if(this._homeAndEnd&&st){this.setLastItemActive();break}return;case P.Ku:if(this._pageUpAndDown.enabled&&st){const ni=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(ni>0?ni:0,1);break}return;case P.VM:if(this._pageUpAndDown.enabled&&st){const ni=this._activeItemIndex+this._pageUpAndDown.delta,Ut=this._getItemsArray().length;this._setActiveItemByIndex(ni<Ut?ni:Ut-1,-1);break}return;default:return void((st||(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(),Ne="number"==typeof J?J:ve.indexOf(J);this._activeItem=ve[Ne]??null,this._activeItemIndex=Ne}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 Ne=1;Ne<=ve.length;Ne++){const st=(this._activeItemIndex+J*Ne+ve.length)%ve.length;if(!this._skipPredicateFn(ve[st]))return void this.setActiveItem(st)}}_setActiveInDefaultMode(J){this._setActiveItemByIndex(this._activeItemIndex+J,J)}_setActiveItemByIndex(J,ve){const Ne=this._getItemsArray();if(Ne[J]){for(;this._skipPredicateFn(Ne[J]);)if(!Ne[J+=ve])return;this.setActiveItem(J)}}_getItemsArray(){return this._items instanceof e.n_E?this._items.toArray():this._items}}class b extends c{setActiveItem(J){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(J),this.activeItem&&this.activeItem.setActiveStyles()}}class T extends c{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 v=(()=>{class Ce{constructor(ve){this._platform=ve}isDisabled(ve){return ve.hasAttribute("disabled")}isVisible(ve){return function y(Ce){return!!(Ce.offsetWidth||Ce.offsetHeight||"function"==typeof Ce.getClientRects&&Ce.getClientRects().length)}(ve)&&"visible"===getComputedStyle(ve).visibility}isTabbable(ve){if(!this._platform.isBrowser)return!1;const Ne=function n(Ce){try{return Ce.frameElement}catch{return null}}(function ye(Ce){return Ce.ownerDocument&&Ce.ownerDocument.defaultView||window}(ve));if(Ne&&(-1===$e(Ne)||!this.isVisible(Ne)))return!1;let st=ve.nodeName.toLowerCase(),ni=$e(ve);return ve.hasAttribute("contenteditable")?-1!==ni:!("iframe"===st||"object"===st||this._platform.WEBKIT&&this._platform.IOS&&!function Ae(Ce){let J=Ce.nodeName.toLowerCase(),ve="input"===J&&Ce.type;return"text"===ve||"password"===ve||"select"===J||"textarea"===J}(ve))&&("audio"===st?!!ve.hasAttribute("controls")&&-1!==ni:"video"===st?-1!==ni&&(null!==ni||this._platform.FIREFOX||ve.hasAttribute("controls")):ve.tabIndex>=0)}isFocusable(ve,Ne){return function ue(Ce){return!function z(Ce){return function Le(Ce){return"input"==Ce.nodeName.toLowerCase()}(Ce)&&"hidden"==Ce.type}(Ce)&&(function B(Ce){let J=Ce.nodeName.toLowerCase();return"input"===J||"select"===J||"button"===J||"textarea"===J}(Ce)||function W(Ce){return function Ve(Ce){return"a"==Ce.nodeName.toLowerCase()}(Ce)&&Ce.hasAttribute("href")}(Ce)||Ce.hasAttribute("contenteditable")||Ke(Ce))}(ve)&&!this.isDisabled(ve)&&(Ne?.ignoreVisibility||this.isVisible(ve))}}return Ce.\u0275fac=function(ve){return new(ve||Ce)(e.LFG(g.t4))},Ce.\u0275prov=e.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"}),Ce})();function Ke(Ce){if(!Ce.hasAttribute("tabindex")||void 0===Ce.tabIndex)return!1;let J=Ce.getAttribute("tabindex");return!(!J||isNaN(parseInt(J,10)))}function $e(Ce){if(!Ke(Ce))return null;const J=parseInt(Ce.getAttribute("tabindex")||"",10);return isNaN(J)?-1:J}class we{constructor(J,ve,Ne,st,ni=!1){this._element=J,this._checker=ve,this._ngZone=Ne,this._document=st,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 Ne=this._getFirstTabbableElement(ve);return Ne?.focus(J),!!Ne}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 Ne=0;Ne<ve.length;Ne++){const st=ve[Ne].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(ve[Ne]):null;if(st)return st}return null}_getLastTabbableElement(J){if(this._checker.isFocusable(J)&&this._checker.isTabbable(J))return J;const ve=J.children;for(let Ne=ve.length-1;Ne>=0;Ne--){const st=ve[Ne].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(ve[Ne]):null;if(st)return st}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,w.q)(1)).subscribe(J)}}let he=(()=>{class Ce{constructor(ve,Ne,st){this._checker=ve,this._ngZone=Ne,this._document=st}create(ve,Ne=!1){return new we(ve,this._checker,this._ngZone,this._document,Ne)}}return Ce.\u0275fac=function(ve){return new(ve||Ce)(e.LFG(v),e.LFG(e.R0b),e.LFG(t.K0))},Ce.\u0275prov=e.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"}),Ce})(),it=(()=>{class Ce{constructor(ve,Ne,st){this._elementRef=ve,this._focusTrapFactory=Ne,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,Y.Ig)(ve)}get autoCapture(){return this._autoCapture}set autoCapture(ve){this._autoCapture=(0,Y.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 Ne=ve.autoCapture;Ne&&!Ne.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,g.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return Ce.\u0275fac=function(ve){return new(ve||Ce)(e.Y36(e.SBq),e.Y36(he),e.Y36(t.K0))},Ce.\u0275dir=e.lG2({type:Ce,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[e.TTD]}),Ce})();function Ue(Ce){return 0===Ce.buttons||0===Ce.offsetX&&0===Ce.offsetY}function q(Ce){const J=Ce.touches&&Ce.touches[0]||Ce.changedTouches&&Ce.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"),Ee={ignoreKeys:[P.zL,P.jx,P.b2,P.MW,P.JU]},ie=(0,g.i$)({passive:!0,capture:!0});let nt=(()=>{class Ce{constructor(ve,Ne,st,ni){this._platform=ve,this._mostRecentTarget=null,this._modality=new C.X(null),this._lastTouchMs=0,this._onKeydown=Ut=>{this._options?.ignoreKeys?.some(ti=>ti===Ut.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(Ut))},this._onMousedown=Ut=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ue(Ut)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(Ut))},this._onTouchstart=Ut=>{q(Ut)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(Ut))},this._options={...Ee,...ni},this.modalityDetected=this._modality.pipe((0,R.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,E.x)()),ve.isBrowser&&Ne.runOutsideAngular(()=>{st.addEventListener("keydown",this._onKeydown,ie),st.addEventListener("mousedown",this._onMousedown,ie),st.addEventListener("touchstart",this._onTouchstart,ie)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ie),document.removeEventListener("mousedown",this._onMousedown,ie),document.removeEventListener("touchstart",this._onTouchstart,ie))}}return Ce.\u0275fac=function(ve){return new(ve||Ce)(e.LFG(g.t4),e.LFG(e.R0b),e.LFG(t.K0),e.LFG(de,8))},Ce.\u0275prov=e.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"}),Ce})();const Ct=new e.OlP("liveAnnouncerElement",{providedIn:"root",factory:function rt(){return null}}),Xt=new e.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let gt=0,mt=(()=>{class Ce{constructor(ve,Ne,st,ni){this._ngZone=Ne,this._defaultOptions=ni,this._document=st,this._liveElement=ve||this._createLiveElement()}announce(ve,...Ne){const st=this._defaultOptions;let ni,Ut;return 1===Ne.length&&"number"==typeof Ne[0]?Ut=Ne[0]:[ni,Ut]=Ne,this.clear(),clearTimeout(this._previousTimeout),ni||(ni=st&&st.politeness?st.politeness:"polite"),null==Ut&&st&&(Ut=st.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 Ut&&(this._previousTimeout=setTimeout(()=>this.clear(),Ut)),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",Ne=this._document.getElementsByClassName(ve),st=this._document.createElement("div");for(let ni=0;ni<Ne.length;ni++)Ne[ni].remove();return st.classList.add(ve),st.classList.add("cdk-visually-hidden"),st.setAttribute("aria-atomic","true"),st.setAttribute("aria-live","polite"),st.id="cdk-live-announcer-"+gt++,this._document.body.appendChild(st),st}_exposeAnnouncerToModals(ve){const Ne=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let st=0;st<Ne.length;st++){const ni=Ne[st],Ut=ni.getAttribute("aria-owns");Ut?-1===Ut.indexOf(ve)&&ni.setAttribute("aria-owns",Ut+" "+ve):ni.setAttribute("aria-owns",ve)}}}return Ce.\u0275fac=function(ve){return new(ve||Ce)(e.LFG(Ct,8),e.LFG(e.R0b),e.LFG(t.K0),e.LFG(Xt,8))},Ce.\u0275prov=e.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"}),Ce})();const Ie=new e.OlP("cdk-focus-monitor-default-options"),He=(0,g.i$)({passive:!0,capture:!0});let xt=(()=>{class Ce{constructor(ve,Ne,st,ni,Ut){this._ngZone=ve,this._platform=Ne,this._inputModalityDetector=st,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 k.x,this._rootNodeFocusAndBlurListener=ti=>{for(let at=(0,g.sA)(ti);at;at=at.parentElement)"focus"===ti.type?this._onFocus(ti,at):this._onBlur(ti,at)},this._document=ni,this._detectionMode=Ut?.detectionMode||0}monitor(ve,Ne=!1){const st=(0,Y.fI)(ve);if(!this._platform.isBrowser||1!==st.nodeType)return(0,h.of)(null);const ni=(0,g.kV)(st)||this._getDocument(),Ut=this._elementInfo.get(st);if(Ut)return Ne&&(Ut.checkChildren=!0),Ut.subject;const ti={checkChildren:Ne,subject:new k.x,rootNode:ni};return this._elementInfo.set(st,ti),this._registerGlobalListeners(ti),ti.subject}stopMonitoring(ve){const Ne=(0,Y.fI)(ve),st=this._elementInfo.get(Ne);st&&(st.subject.complete(),this._setClasses(Ne),this._elementInfo.delete(Ne),this._removeGlobalListeners(st))}focusVia(ve,Ne,st){const ni=(0,Y.fI)(ve);ni===this._getDocument().activeElement?this._getClosestElementsInfo(ni).forEach(([ti,dt])=>this._originChanged(ti,Ne,dt)):(this._setOrigin(Ne),"function"==typeof ni.focus&&ni.focus(st))}ngOnDestroy(){this._elementInfo.forEach((ve,Ne)=>this.stopMonitoring(Ne))}_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,Ne){ve.classList.toggle("cdk-focused",!!Ne),ve.classList.toggle("cdk-touch-focused","touch"===Ne),ve.classList.toggle("cdk-keyboard-focused","keyboard"===Ne),ve.classList.toggle("cdk-mouse-focused","mouse"===Ne),ve.classList.toggle("cdk-program-focused","program"===Ne)}_setOrigin(ve,Ne=!1){this._ngZone.runOutsideAngular(()=>{this._origin=ve,this._originFromTouchInteraction="touch"===ve&&Ne,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(ve,Ne){const st=this._elementInfo.get(Ne),ni=(0,g.sA)(ve);!st||!st.checkChildren&&Ne!==ni||this._originChanged(Ne,this._getFocusOrigin(ni),st)}_onBlur(ve,Ne){const st=this._elementInfo.get(Ne);!st||st.checkChildren&&ve.relatedTarget instanceof Node&&Ne.contains(ve.relatedTarget)||(this._setClasses(Ne),this._emitOrigin(st,null))}_emitOrigin(ve,Ne){ve.subject.observers.length&&this._ngZone.run(()=>ve.subject.next(Ne))}_registerGlobalListeners(ve){if(!this._platform.isBrowser)return;const Ne=ve.rootNode,st=this._rootNodeFocusListenerCount.get(Ne)||0;st||this._ngZone.runOutsideAngular(()=>{Ne.addEventListener("focus",this._rootNodeFocusAndBlurListener,He),Ne.addEventListener("blur",this._rootNodeFocusAndBlurListener,He)}),this._rootNodeFocusListenerCount.set(Ne,st+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,U.R)(this._stopInputModalityDetector)).subscribe(ni=>{this._setOrigin(ni,!0)}))}_removeGlobalListeners(ve){const Ne=ve.rootNode;if(this._rootNodeFocusListenerCount.has(Ne)){const st=this._rootNodeFocusListenerCount.get(Ne);st>1?this._rootNodeFocusListenerCount.set(Ne,st-1):(Ne.removeEventListener("focus",this._rootNodeFocusAndBlurListener,He),Ne.removeEventListener("blur",this._rootNodeFocusAndBlurListener,He),this._rootNodeFocusListenerCount.delete(Ne))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(ve,Ne,st){this._setClasses(ve,Ne),this._emitOrigin(st,Ne),this._lastFocusOrigin=Ne}_getClosestElementsInfo(ve){const Ne=[];return this._elementInfo.forEach((st,ni)=>{(ni===ve||st.checkChildren&&ni.contains(ve))&&Ne.push([ni,st])}),Ne}_isLastInteractionFromInputLabel(ve){const{_mostRecentTarget:Ne,mostRecentModality:st}=this._inputModalityDetector;if("mouse"!==st||!Ne||Ne===ve||"INPUT"!==ve.nodeName&&"TEXTAREA"!==ve.nodeName||ve.disabled)return!1;const ni=ve.labels;if(ni)for(let Ut=0;Ut<ni.length;Ut++)if(ni[Ut].contains(Ne))return!0;return!1}}return Ce.\u0275fac=function(ve){return new(ve||Ce)(e.LFG(e.R0b),e.LFG(g.t4),e.LFG(nt),e.LFG(t.K0,8),e.LFG(Ie,8))},Ce.\u0275prov=e.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"}),Ce})(),Pe=(()=>{class Ce{constructor(ve,Ne){this._elementRef=ve,this._focusMonitor=Ne,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(Ne=>{this._focusOrigin=Ne,this.cdkFocusChange.emit(Ne)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return Ce.\u0275fac=function(ve){return new(ve||Ce)(e.Y36(e.SBq),e.Y36(xt))},Ce.\u0275dir=e.lG2({type:Ce,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),Ce})();const et="cdk-high-contrast-black-on-white",Vt="cdk-high-contrast-white-on-black",Lt="cdk-high-contrast-active";let Ft=(()=>{class Ce{constructor(ve,Ne){this._platform=ve,this._document=Ne,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 Ne=this._document.defaultView||window,st=Ne&&Ne.getComputedStyle?Ne.getComputedStyle(ve):null,ni=(st&&st.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,et,Vt),this._hasCheckedHighContrastMode=!0;const Ne=this.getHighContrastMode();1===Ne?ve.add(Lt,et):2===Ne&&ve.add(Lt,Vt)}}}return Ce.\u0275fac=function(ve){return new(ve||Ce)(e.LFG(g.t4),e.LFG(t.K0))},Ce.\u0275prov=e.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"}),Ce})(),bt=(()=>{class Ce{constructor(ve){ve._applyBodyHighContrastModeCssClasses()}}return Ce.\u0275fac=function(ve){return new(ve||Ce)(e.LFG(Ft))},Ce.\u0275mod=e.oAB({type:Ce}),Ce.\u0275inj=e.cJS({imports:[Q.Q8]}),Ce})()},445:(ze,K,m)=>{"use strict";m.d(K,{Is:()=>h,vT:()=>u});var t=m(4650),e=m(6895);const g=new t.OlP("cdk-dir-doc",{providedIn:"root",factory:function k(){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 h=(()=>{class I{constructor(A){if(this.value="ltr",this.change=new t.vpe,A){const R=A.documentElement?A.documentElement.dir:null;this.value=function C(I){const S=I?.toLowerCase()||"";return"auto"===S&&typeof navigator<"u"&&navigator?.language?o.test(navigator.language)?"rtl":"ltr":"rtl"===S?"rtl":"ltr"}((A.body?A.body.dir:null)||R||"ltr")}}ngOnDestroy(){this.change.complete()}}return I.\u0275fac=function(A){return new(A||I)(t.LFG(g,8))},I.\u0275prov=t.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),u=(()=>{class I{}return I.\u0275fac=function(A){return new(A||I)},I.\u0275mod=t.oAB({type:I}),I.\u0275inj=t.cJS({}),I})()},1281:(ze,K,m)=>{"use strict";m.d(K,{Eq:()=>o,HM:()=>C,Ig:()=>e,du:()=>P,fI:()=>h,su:()=>g,t6:()=>k});var t=m(4650);function e(u){return null!=u&&"false"!=`${u}`}function g(u,I=0){return k(u)?Number(u):I}function k(u){return!isNaN(parseFloat(u))&&!isNaN(Number(u))}function o(u){return Array.isArray(u)?u:[u]}function C(u){return null==u?"":"string"==typeof u?u:`${u}px`}function h(u){return u instanceof t.SBq?u.nativeElement:u}function P(u,I=/\s+/){const S=[];if(null!=u){const A=Array.isArray(u)?u:`${u}`.split(I);for(const w of A){const R=`${w}`.trim();R&&S.push(R)}}return S}},5017:(ze,K,m)=>{"use strict";m.d(K,{A8:()=>S,Ov:()=>u,Z9:()=>o,eX:()=>P,k:()=>A,o2:()=>k,yy:()=>h});var t=m(4033),e=m(7579),g=m(4650);class k{}function o(w){return w&&"function"==typeof w.connect&&!(w instanceof t.c)}class h{applyChanges(R,E,U,Y,Q){R.forEachOperation((X,$,fe)=>{let re,ee;if(null==X.previousIndex){const ce=U(X,$,fe);re=E.createEmbeddedView(ce.templateRef,ce.context,ce.index),ee=1}else null==fe?(E.remove($),ee=3):(re=E.get($),E.move(re,fe),ee=2);Q&&Q({context:re?.context,operation:ee,record:X})})}detach(){}}class P{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(R,E,U,Y,Q){R.forEachOperation((X,$,fe)=>{let re,ee;null==X.previousIndex?(re=this._insertView(()=>U(X,$,fe),fe,E,Y(X)),ee=re?1:0):null==fe?(this._detachAndCacheView($,E),ee=3):(re=this._moveView($,fe,E,Y(X)),ee=2),Q&&Q({context:re?.context,operation:ee,record:X})})}detach(){for(const R of this._viewCache)R.destroy();this._viewCache=[]}_insertView(R,E,U,Y){const Q=this._insertViewFromCache(E,U);if(Q)return void(Q.context.$implicit=Y);const X=R();return U.createEmbeddedView(X.templateRef,X.context,X.index)}_detachAndCacheView(R,E){const U=E.detach(R);this._maybeCacheView(U,E)}_moveView(R,E,U,Y){const Q=U.get(R);return U.move(Q,E),Q.context.$implicit=Y,Q}_maybeCacheView(R,E){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(R);else{const U=E.indexOf(R);-1===U?R.destroy():E.remove(U)}}_insertViewFromCache(R,E){const U=this._viewCache.pop();return U&&E.insert(U,R),U||null}}class u{constructor(R=!1,E,U=!0,Y){this._multiple=R,this._emitChanges=U,this.compareWith=Y,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new e.x,E&&E.length&&(R?E.forEach(Q=>this._markSelected(Q)):this._markSelected(E[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...R){this._verifyValueAssignment(R),R.forEach(U=>this._markSelected(U));const E=this._hasQueuedChanges();return this._emitChangeEvent(),E}deselect(...R){this._verifyValueAssignment(R),R.forEach(U=>this._unmarkSelected(U));const E=this._hasQueuedChanges();return this._emitChangeEvent(),E}setSelection(...R){this._verifyValueAssignment(R);const E=this.selected,U=new Set(R);R.forEach(Q=>this._markSelected(Q)),E.filter(Q=>!U.has(Q)).forEach(Q=>this._unmarkSelected(Q));const Y=this._hasQueuedChanges();return this._emitChangeEvent(),Y}toggle(R){return this.isSelected(R)?this.deselect(R):this.select(R)}clear(R=!0){this._unmarkAll();const E=this._hasQueuedChanges();return R&&this._emitChangeEvent(),E}isSelected(R){if(this.compareWith){for(const E of this._selection)if(this.compareWith(E,R))return!0;return!1}return this._selection.has(R)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(R){this._multiple&&this.selected&&this._selected.sort(R)}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(R){this.isSelected(R)||(this._multiple||this._unmarkAll(),this.isSelected(R)||this._selection.add(R),this._emitChanges&&this._selectedToEmit.push(R))}_unmarkSelected(R){this.isSelected(R)&&(this._selection.delete(R),this._emitChanges&&this._deselectedToEmit.push(R))}_unmarkAll(){this.isEmpty()||this._selection.forEach(R=>this._unmarkSelected(R))}_verifyValueAssignment(R){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let S=(()=>{class w{constructor(){this._listeners=[]}notify(E,U){for(let Y of this._listeners)Y(E,U)}listen(E){return this._listeners.push(E),()=>{this._listeners=this._listeners.filter(U=>E!==U)}}ngOnDestroy(){this._listeners=[]}}return w.\u0275fac=function(E){return new(E||w)},w.\u0275prov=g.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})();const A=new g.OlP("_ViewRepeater")},9521:(ze,K,m)=>{"use strict";m.d(K,{A:()=>z,JH:()=>$,JU:()=>C,K5:()=>o,Ku:()=>w,LH:()=>Q,L_:()=>A,MW:()=>Xt,Mf:()=>g,SV:()=>X,Sd:()=>U,VM:()=>R,Vb:()=>Bi,Z:()=>rt,ZH:()=>e,aO:()=>N,b2:()=>Yt,hY:()=>S,jx:()=>h,oh:()=>Y,uR:()=>E,xE:()=>se,yY:()=>ce,zL:()=>P});const e=8,g=9,o=13,C=16,h=17,P=18,S=27,A=32,w=33,R=34,E=35,U=36,Y=37,Q=38,X=39,$=40,ce=46,se=48,N=57,z=65,rt=90,Xt=91,Yt=224;function Bi(Qi,...yn){return yn.length?yn.some(or=>Qi[or]):Qi.altKey||Qi.shiftKey||Qi.ctrlKey||Qi.metaKey}},2289:(ze,K,m)=>{"use strict";m.d(K,{Yg:()=>$,u3:()=>re,xu:()=>R});var t=m(4650),e=m(1281),g=m(7579),k=m(9841),o=m(7272),C=m(9751),h=m(5698),P=m(5684),u=m(8372),I=m(4004),S=m(8675),A=m(2722),w=m(3353);let R=(()=>{class ee{}return ee.\u0275fac=function(se){return new(se||ee)},ee.\u0275mod=t.oAB({type:ee}),ee.\u0275inj=t.cJS({}),ee})();const E=new Set;let U,Y=(()=>{class ee{constructor(se){this._platform=se,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):X}matchMedia(se){return(this._platform.WEBKIT||this._platform.BLINK)&&function Q(ee){if(!E.has(ee))try{U||(U=document.createElement("style"),U.setAttribute("type","text/css"),document.head.appendChild(U)),U.sheet&&(U.sheet.insertRule(`@media ${ee} {body{ }}`,0),E.add(ee))}catch(ce){console.error(ce)}}(se),this._matchMedia(se)}}return ee.\u0275fac=function(se){return new(se||ee)(t.LFG(w.t4))},ee.\u0275prov=t.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();function X(ee){return{matches:"all"===ee||""===ee,media:ee,addListener:()=>{},removeListener:()=>{}}}let $=(()=>{class ee{constructor(se,le){this._mediaMatcher=se,this._zone=le,this._queries=new Map,this._destroySubject=new g.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(se){return fe((0,e.Eq)(se)).some(L=>this._registerQuery(L).mql.matches)}observe(se){const L=fe((0,e.Eq)(se)).map(r=>this._registerQuery(r).observable);let i=(0,k.a)(L);return i=(0,o.z)(i.pipe((0,h.q)(1)),i.pipe((0,P.T)(1),(0,u.b)(0))),i.pipe((0,I.U)(r=>{const d={matches:!1,breakpoints:{}};return r.forEach(({matches:c,query:b})=>{d.matches=d.matches||c,d.breakpoints[b]=c}),d}))}_registerQuery(se){if(this._queries.has(se))return this._queries.get(se);const le=this._mediaMatcher.matchMedia(se),i={observable:new C.y(r=>{const d=c=>this._zone.run(()=>r.next(c));return le.addListener(d),()=>{le.removeListener(d)}}).pipe((0,S.O)(le),(0,I.U)(({matches:r})=>({query:se,matches:r})),(0,A.R)(this._destroySubject)),mql:le};return this._queries.set(se,i),i}}return ee.\u0275fac=function(se){return new(se||ee)(t.LFG(Y),t.LFG(t.R0b))},ee.\u0275prov=t.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();function fe(ee){return ee.map(ce=>ce.split(",")).reduce((ce,se)=>ce.concat(se)).map(ce=>ce.trim())}const re={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:(ze,K,m)=>{"use strict";m.d(K,{Q8:()=>u,wD:()=>P});var t=m(1281),e=m(4650),g=m(9751),k=m(7579),o=m(8372);let C=(()=>{class I{create(A){return typeof MutationObserver>"u"?null:new MutationObserver(A)}}return I.\u0275fac=function(A){return new(A||I)},I.\u0275prov=e.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),h=(()=>{class I{constructor(A){this._mutationObserverFactory=A,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((A,w)=>this._cleanupObserver(w))}observe(A){const w=(0,t.fI)(A);return new g.y(R=>{const U=this._observeElement(w).subscribe(R);return()=>{U.unsubscribe(),this._unobserveElement(w)}})}_observeElement(A){if(this._observedElements.has(A))this._observedElements.get(A).count++;else{const w=new k.x,R=this._mutationObserverFactory.create(E=>w.next(E));R&&R.observe(A,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(A,{observer:R,stream:w,count:1})}return this._observedElements.get(A).stream}_unobserveElement(A){this._observedElements.has(A)&&(this._observedElements.get(A).count--,this._observedElements.get(A).count||this._cleanupObserver(A))}_cleanupObserver(A){if(this._observedElements.has(A)){const{observer:w,stream:R}=this._observedElements.get(A);w&&w.disconnect(),R.complete(),this._observedElements.delete(A)}}}return I.\u0275fac=function(A){return new(A||I)(e.LFG(C))},I.\u0275prov=e.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),P=(()=>{class I{constructor(A,w,R){this._contentObserver=A,this._elementRef=w,this._ngZone=R,this.event=new e.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(A){this._disabled=(0,t.Ig)(A),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(A){this._debounce=(0,t.su)(A),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const A=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?A.pipe((0,o.b)(this.debounce)):A).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return I.\u0275fac=function(A){return new(A||I)(e.Y36(h),e.Y36(e.SBq),e.Y36(e.R0b))},I.\u0275dir=e.lG2({type:I,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),I})(),u=(()=>{class I{}return I.\u0275fac=function(A){return new(A||I)},I.\u0275mod=e.oAB({type:I}),I.\u0275inj=e.cJS({providers:[C]}),I})()},8184:(ze,K,m)=>{"use strict";m.d(K,{Iu:()=>N,U8:()=>te,X_:()=>ce,Xj:()=>T,_G:()=>y,aV:()=>ye,pI:()=>De,xu:()=>it});var t=m(531),e=m(6895),g=m(4650),k=m(1281),o=m(3353),C=m(445),h=m(4080),P=m(7579),u=m(727),I=m(6451),S=m(5698),A=m(2722),w=m(2529),R=m(9521);const E=(0,o.Mq)();class U{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,k.HM)(-this._previousScrollPosition.left),q.style.top=(0,k.HM)(-this._previousScrollPosition.top),q.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const q=this._document.documentElement,Ee=q.style,ke=this._document.body.style,ie=Ee.scrollBehavior||"",nt=ke.scrollBehavior||"";this._isEnabled=!1,Ee.left=this._previousHTMLStyles.left,Ee.top=this._previousHTMLStyles.top,q.classList.remove("cdk-global-scrollblock"),E&&(Ee.scrollBehavior=ke.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),E&&(Ee.scrollBehavior=ie,ke.scrollBehavior=nt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const de=this._document.body,Ee=this._viewportRuler.getViewportSize();return de.scrollHeight>Ee.height||de.scrollWidth>Ee.width}}class Q{constructor(q,de,Ee,ke){this._scrollDispatcher=q,this._ngZone=de,this._viewportRuler=Ee,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 $(Ue,q){return q.some(de=>Ue.bottom<de.top||Ue.top>de.bottom||Ue.right<de.left||Ue.left>de.right)}function fe(Ue,q){return q.some(de=>Ue.top<de.top||Ue.bottom>de.bottom||Ue.left<de.left||Ue.right>de.right)}class re{constructor(q,de,Ee,ke){this._scrollDispatcher=q,this._viewportRuler=de,this._ngZone=Ee,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:Ee,height:ke}=this._viewportRuler.getViewportSize();$(de,[{width:Ee,height:ke,bottom:ke,right:Ee,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 ee=(()=>{class Ue{constructor(de,Ee,ke,ie){this._scrollDispatcher=de,this._viewportRuler=Ee,this._ngZone=ke,this.noop=()=>new X,this.close=nt=>new Q(this._scrollDispatcher,this._ngZone,this._viewportRuler,nt),this.block=()=>new U(this._viewportRuler,this._document),this.reposition=nt=>new re(this._scrollDispatcher,this._viewportRuler,this._ngZone,nt),this._document=ie}}return Ue.\u0275fac=function(de){return new(de||Ue)(g.LFG(t.mF),g.LFG(t.rL),g.LFG(g.R0b),g.LFG(e.K0))},Ue.\u0275prov=g.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})();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 Ee of de)void 0!==q[Ee]&&(this[Ee]=q[Ee])}}}class L{constructor(q,de){this.connectionPair=q,this.scrollableViewProperties=de}}let d=(()=>{class Ue{constructor(de){this._attachedOverlays=[],this._document=de}ngOnDestroy(){this.detach()}add(de){this.remove(de),this._attachedOverlays.push(de)}remove(de){const Ee=this._attachedOverlays.indexOf(de);Ee>-1&&this._attachedOverlays.splice(Ee,1),0===this._attachedOverlays.length&&this.detach()}}return Ue.\u0275fac=function(de){return new(de||Ue)(g.LFG(e.K0))},Ue.\u0275prov=g.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})(),c=(()=>{class Ue extends d{constructor(de,Ee){super(de),this._ngZone=Ee,this._keydownListener=ke=>{const ie=this._attachedOverlays;for(let nt=ie.length-1;nt>-1;nt--)if(ie[nt]._keydownEvents.observers.length>0){const Ct=ie[nt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Ct.next(ke)):Ct.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 Ue.\u0275fac=function(de){return new(de||Ue)(g.LFG(e.K0),g.LFG(g.R0b,8))},Ue.\u0275prov=g.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})(),b=(()=>{class Ue extends d{constructor(de,Ee,ke){super(de),this._platform=Ee,this._ngZone=ke,this._cursorStyleIsSet=!1,this._pointerDownListener=ie=>{this._pointerDownEventTarget=(0,o.sA)(ie)},this._clickListener=ie=>{const nt=(0,o.sA)(ie),Ct="click"===ie.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:nt;this._pointerDownEventTarget=null;const rt=this._attachedOverlays.slice();for(let Xt=rt.length-1;Xt>-1;Xt--){const gt=rt[Xt];if(gt._outsidePointerEvents.observers.length<1||!gt.hasAttached())continue;if(gt.overlayElement.contains(nt)||gt.overlayElement.contains(Ct))break;const mt=gt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>mt.next(ie)):mt.next(ie)}}}add(de){if(super.add(de),!this._isAttached){const Ee=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Ee)):this._addEventListeners(Ee),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ee.style.cursor,Ee.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 Ue.\u0275fac=function(de){return new(de||Ue)(g.LFG(e.K0),g.LFG(o.t4),g.LFG(g.R0b,8))},Ue.\u0275prov=g.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})(),T=(()=>{class Ue{constructor(de,Ee){this._platform=Ee,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 ie=0;ie<ke.length;ie++)ke[ie].remove()}const Ee=this._document.createElement("div");Ee.classList.add(de),(0,o.Oy)()?Ee.setAttribute("platform","test"):this._platform.isBrowser||Ee.setAttribute("platform","server"),this._document.body.appendChild(Ee),this._containerElement=Ee}}return Ue.\u0275fac=function(de){return new(de||Ue)(g.LFG(e.K0),g.LFG(o.t4))},Ue.\u0275prov=g.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})();class N{constructor(q,de,Ee,ke,ie,nt,Ct,rt,Xt,gt=!1){this._portalOutlet=q,this._host=de,this._pane=Ee,this._config=ke,this._ngZone=ie,this._keyboardDispatcher=nt,this._document=Ct,this._location=rt,this._outsideClickDispatcher=Xt,this._animationsDisabled=gt,this._backdropElement=null,this._backdropClick=new P.x,this._attachments=new P.x,this._detachments=new P.x,this._locationChanges=u.w0.EMPTY,this._backdropClickHandler=mt=>this._backdropClick.next(mt),this._backdropTransitionendHandler=mt=>{this._disposeBackdrop(mt.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,S.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,k.HM)(this._config.width),q.height=(0,k.HM)(this._config.height),q.minWidth=(0,k.HM)(this._config.minWidth),q.minHeight=(0,k.HM)(this._config.minHeight),q.maxWidth=(0,k.HM)(this._config.maxWidth),q.maxHeight=(0,k.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,Ee){const ke=(0,k.Eq)(de||[]).filter(ie=>!!ie);ke.length&&(Ee?q.classList.add(...ke):q.classList.remove(...ke))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const q=this._ngZone.onStable.pipe((0,A.R)((0,I.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 v="cdk-overlay-connected-position-bounding-box",n=/([A-Za-z%]+)$/;class y{constructor(q,de,Ee,ke,ie){this._viewportRuler=de,this._document=Ee,this._platform=ke,this._overlayContainer=ie,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new P.x,this._resizeSubscription=u.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(v),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,Ee=this._viewportRect,ke=this._containerRect,ie=[];let nt;for(let Ct of this._preferredPositions){let rt=this._getOriginPoint(q,ke,Ct),Xt=this._getOverlayPoint(rt,de,Ct),gt=this._getOverlayFit(Xt,de,Ee,Ct);if(gt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Ct,rt);this._canFitWithFlexibleDimensions(gt,Xt,Ee)?ie.push({position:Ct,origin:rt,overlayRect:de,boundingBoxRect:this._calculateBoundingBoxRect(rt,Ct)}):(!nt||nt.overlayFit.visibleArea<gt.visibleArea)&&(nt={overlayFit:gt,overlayPoint:Xt,originPoint:rt,position:Ct,overlayRect:de})}if(ie.length){let Ct=null,rt=-1;for(const Xt of ie){const gt=Xt.boundingBoxRect.width*Xt.boundingBoxRect.height*(Xt.position.weight||1);gt>rt&&(rt=gt,Ct=Xt)}return this._isPushed=!1,void this._applyPosition(Ct.position,Ct.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&&B(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(v),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,Ee){let ke,ie;if("center"==Ee.originX)ke=q.left+q.width/2;else{const nt=this._isRtl()?q.right:q.left,Ct=this._isRtl()?q.left:q.right;ke="start"==Ee.originX?nt:Ct}return de.left<0&&(ke-=de.left),ie="center"==Ee.originY?q.top+q.height/2:"top"==Ee.originY?q.top:q.bottom,de.top<0&&(ie-=de.top),{x:ke,y:ie}}_getOverlayPoint(q,de,Ee){let ke,ie;return ke="center"==Ee.overlayX?-de.width/2:"start"===Ee.overlayX?this._isRtl()?-de.width:0:this._isRtl()?0:-de.width,ie="center"==Ee.overlayY?-de.height/2:"top"==Ee.overlayY?0:-de.height,{x:q.x+ke,y:q.y+ie}}_getOverlayFit(q,de,Ee,ke){const ie=W(de);let{x:nt,y:Ct}=q,rt=this._getOffset(ke,"x"),Xt=this._getOffset(ke,"y");rt&&(nt+=rt),Xt&&(Ct+=Xt);let St=0-Ct,Ie=Ct+ie.height-Ee.height,He=this._subtractOverflows(ie.width,0-nt,nt+ie.width-Ee.width),xt=this._subtractOverflows(ie.height,St,Ie),Pe=He*xt;return{visibleArea:Pe,isCompletelyWithinViewport:ie.width*ie.height===Pe,fitsInViewportVertically:xt===ie.height,fitsInViewportHorizontally:He==ie.width}}_canFitWithFlexibleDimensions(q,de,Ee){if(this._hasFlexibleDimensions){const ke=Ee.bottom-de.y,ie=Ee.right-de.x,nt=z(this._overlayRef.getConfig().minHeight),Ct=z(this._overlayRef.getConfig().minWidth),Xt=q.fitsInViewportHorizontally||null!=Ct&&Ct<=ie;return(q.fitsInViewportVertically||null!=nt&&nt<=ke)&&Xt}return!1}_pushOverlayOnScreen(q,de,Ee){if(this._previousPushAmount&&this._positionLocked)return{x:q.x+this._previousPushAmount.x,y:q.y+this._previousPushAmount.y};const ke=W(de),ie=this._viewportRect,nt=Math.max(q.x+ke.width-ie.width,0),Ct=Math.max(q.y+ke.height-ie.height,0),rt=Math.max(ie.top-Ee.top-q.y,0),Xt=Math.max(ie.left-Ee.left-q.x,0);let gt=0,mt=0;return gt=ke.width<=ie.width?Xt||-nt:q.x<this._viewportMargin?ie.left-Ee.left-q.x:0,mt=ke.height<=ie.height?rt||-Ct:q.y<this._viewportMargin?ie.top-Ee.top-q.y:0,this._previousPushAmount={x:gt,y:mt},{x:q.x+gt,y:q.y+mt}}_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 Ee=this._getScrollVisibility(),ke=new L(q,Ee);this._positionChanges.next(ke)}this._isInitialRender=!1}_setTransformOrigin(q){if(!this._transformOriginSelector)return;const de=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Ee,ke=q.overlayY;Ee="center"===q.overlayX?"center":this._isRtl()?"start"===q.overlayX?"right":"left":"start"===q.overlayX?"left":"right";for(let ie=0;ie<de.length;ie++)de[ie].style.transformOrigin=`${Ee} ${ke}`}_calculateBoundingBoxRect(q,de){const Ee=this._viewportRect,ke=this._isRtl();let ie,nt,Ct,gt,mt,St;if("top"===de.overlayY)nt=q.y,ie=Ee.height-nt+this._viewportMargin;else if("bottom"===de.overlayY)Ct=Ee.height-q.y+2*this._viewportMargin,ie=Ee.height-Ct+this._viewportMargin;else{const Ie=Math.min(Ee.bottom-q.y+Ee.top,q.y),He=this._lastBoundingBoxSize.height;ie=2*Ie,nt=q.y-Ie,ie>He&&!this._isInitialRender&&!this._growAfterOpen&&(nt=q.y-He/2)}if("end"===de.overlayX&&!ke||"start"===de.overlayX&&ke)St=Ee.width-q.x+this._viewportMargin,gt=q.x-this._viewportMargin;else if("start"===de.overlayX&&!ke||"end"===de.overlayX&&ke)mt=q.x,gt=Ee.right-q.x;else{const Ie=Math.min(Ee.right-q.x+Ee.left,q.x),He=this._lastBoundingBoxSize.width;gt=2*Ie,mt=q.x-Ie,gt>He&&!this._isInitialRender&&!this._growAfterOpen&&(mt=q.x-He/2)}return{top:nt,left:mt,bottom:Ct,right:St,width:gt,height:ie}}_setBoundingBoxStyles(q,de){const Ee=this._calculateBoundingBoxRect(q,de);!this._isInitialRender&&!this._growAfterOpen&&(Ee.height=Math.min(Ee.height,this._lastBoundingBoxSize.height),Ee.width=Math.min(Ee.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 ie=this._overlayRef.getConfig().maxHeight,nt=this._overlayRef.getConfig().maxWidth;ke.height=(0,k.HM)(Ee.height),ke.top=(0,k.HM)(Ee.top),ke.bottom=(0,k.HM)(Ee.bottom),ke.width=(0,k.HM)(Ee.width),ke.left=(0,k.HM)(Ee.left),ke.right=(0,k.HM)(Ee.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",ie&&(ke.maxHeight=(0,k.HM)(ie)),nt&&(ke.maxWidth=(0,k.HM)(nt))}this._lastBoundingBoxSize=Ee,B(this._boundingBox.style,ke)}_resetBoundingBoxStyles(){B(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){B(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(q,de){const Ee={},ke=this._hasExactPosition(),ie=this._hasFlexibleDimensions,nt=this._overlayRef.getConfig();if(ke){const gt=this._viewportRuler.getViewportScrollPosition();B(Ee,this._getExactOverlayY(de,q,gt)),B(Ee,this._getExactOverlayX(de,q,gt))}else Ee.position="static";let Ct="",rt=this._getOffset(de,"x"),Xt=this._getOffset(de,"y");rt&&(Ct+=`translateX(${rt}px) `),Xt&&(Ct+=`translateY(${Xt}px)`),Ee.transform=Ct.trim(),nt.maxHeight&&(ke?Ee.maxHeight=(0,k.HM)(nt.maxHeight):ie&&(Ee.maxHeight="")),nt.maxWidth&&(ke?Ee.maxWidth=(0,k.HM)(nt.maxWidth):ie&&(Ee.maxWidth="")),B(this._pane.style,Ee)}_getExactOverlayY(q,de,Ee){let ke={top:"",bottom:""},ie=this._getOverlayPoint(de,this._overlayRect,q);return this._isPushed&&(ie=this._pushOverlayOnScreen(ie,this._overlayRect,Ee)),"bottom"===q.overlayY?ke.bottom=this._document.documentElement.clientHeight-(ie.y+this._overlayRect.height)+"px":ke.top=(0,k.HM)(ie.y),ke}_getExactOverlayX(q,de,Ee){let nt,ke={left:"",right:""},ie=this._getOverlayPoint(de,this._overlayRect,q);return this._isPushed&&(ie=this._pushOverlayOnScreen(ie,this._overlayRect,Ee)),nt=this._isRtl()?"end"===q.overlayX?"left":"right":"end"===q.overlayX?"right":"left","right"===nt?ke.right=this._document.documentElement.clientWidth-(ie.x+this._overlayRect.width)+"px":ke.left=(0,k.HM)(ie.x),ke}_getScrollVisibility(){const q=this._getOriginRect(),de=this._pane.getBoundingClientRect(),Ee=this._scrollables.map(ke=>ke.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:fe(q,Ee),isOriginOutsideView:$(q,Ee),isOverlayClipped:fe(de,Ee),isOverlayOutsideView:$(de,Ee)}}_subtractOverflows(q,...de){return de.reduce((Ee,ke)=>Ee-Math.max(ke,0),q)}_getNarrowedViewportRect(){const q=this._document.documentElement.clientWidth,de=this._document.documentElement.clientHeight,Ee=this._viewportRuler.getViewportScrollPosition();return{top:Ee.top+this._viewportMargin,left:Ee.left+this._viewportMargin,right:Ee.left+q-this._viewportMargin,bottom:Ee.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,k.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 g.SBq)return q.nativeElement.getBoundingClientRect();if(q instanceof Element)return q.getBoundingClientRect();const de=q.width||0,Ee=q.height||0;return{top:q.y,bottom:q.y+Ee,left:q.x,right:q.x+de,height:Ee,width:de}}}function B(Ue,q){for(let de in q)q.hasOwnProperty(de)&&(Ue[de]=q[de]);return Ue}function z(Ue){if("number"!=typeof Ue&&null!=Ue){const[q,de]=Ue.split(n);return de&&"px"!==de?null:parseFloat(q)}return Ue||null}function W(Ue){return{top:Math.floor(Ue.top),right:Math.floor(Ue.right),bottom:Math.floor(Ue.bottom),left:Math.floor(Ue.left),width:Math.floor(Ue.width),height:Math.floor(Ue.height)}}const Ke="cdk-global-overlay-wrapper";class $e{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(Ke),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,Ee=this._overlayRef.getConfig(),{width:ke,height:ie,maxWidth:nt,maxHeight:Ct}=Ee,rt=!("100%"!==ke&&"100vw"!==ke||nt&&"100%"!==nt&&"100vw"!==nt),Xt=!("100%"!==ie&&"100vh"!==ie||Ct&&"100%"!==Ct&&"100vh"!==Ct),gt=this._xPosition,mt=this._xOffset,St="rtl"===this._overlayRef.getConfig().direction;let Ie="",He="",xt="";rt?xt="flex-start":"center"===gt?(xt="center",St?He=mt:Ie=mt):St?"left"===gt||"end"===gt?(xt="flex-end",Ie=mt):("right"===gt||"start"===gt)&&(xt="flex-start",He=mt):"left"===gt||"start"===gt?(xt="flex-start",Ie=mt):("right"===gt||"end"===gt)&&(xt="flex-end",He=mt),q.position=this._cssPosition,q.marginLeft=rt?"0":Ie,q.marginTop=Xt?"0":this._topOffset,q.marginBottom=this._bottomOffset,q.marginRight=rt?"0":He,de.justifyContent=xt,de.alignItems=Xt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const q=this._overlayRef.overlayElement.style,de=this._overlayRef.hostElement,Ee=de.style;de.classList.remove(Ke),Ee.justifyContent=Ee.alignItems=q.marginTop=q.marginBottom=q.marginLeft=q.marginRight=q.position="",this._overlayRef=null,this._isDisposed=!0}}let Ae=(()=>{class Ue{constructor(de,Ee,ke,ie){this._viewportRuler=de,this._document=Ee,this._platform=ke,this._overlayContainer=ie}global(){return new $e}flexibleConnectedTo(de){return new y(de,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Ue.\u0275fac=function(de){return new(de||Ue)(g.LFG(t.rL),g.LFG(e.K0),g.LFG(o.t4),g.LFG(T))},Ue.\u0275prov=g.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})(),ue=0,ye=(()=>{class Ue{constructor(de,Ee,ke,ie,nt,Ct,rt,Xt,gt,mt,St,Ie){this.scrollStrategies=de,this._overlayContainer=Ee,this._componentFactoryResolver=ke,this._positionBuilder=ie,this._keyboardDispatcher=nt,this._injector=Ct,this._ngZone=rt,this._document=Xt,this._directionality=gt,this._location=mt,this._outsideClickDispatcher=St,this._animationsModuleType=Ie}create(de){const Ee=this._createHostElement(),ke=this._createPaneElement(Ee),ie=this._createPortalOutlet(ke),nt=new ce(de);return nt.direction=nt.direction||this._directionality.value,new N(ie,Ee,ke,nt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(de){const Ee=this._document.createElement("div");return Ee.id="cdk-overlay-"+ue++,Ee.classList.add("cdk-overlay-pane"),de.appendChild(Ee),Ee}_createHostElement(){const de=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(de),de}_createPortalOutlet(de){return this._appRef||(this._appRef=this._injector.get(g.z2F)),new h.u0(de,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Ue.\u0275fac=function(de){return new(de||Ue)(g.LFG(ee),g.LFG(T),g.LFG(g._Vd),g.LFG(Ae),g.LFG(c),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(e.K0),g.LFG(C.Is),g.LFG(e.Ye),g.LFG(b),g.LFG(g.QbO,8))},Ue.\u0275prov=g.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})();const we=[{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"}],he=new g.OlP("cdk-connected-overlay-scroll-strategy");let it=(()=>{class Ue{constructor(de){this.elementRef=de}}return Ue.\u0275fac=function(de){return new(de||Ue)(g.Y36(g.SBq))},Ue.\u0275dir=g.lG2({type:Ue,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),Ue})(),De=(()=>{class Ue{constructor(de,Ee,ke,ie,nt){this._overlay=de,this._dir=nt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=u.w0.EMPTY,this._attachSubscription=u.w0.EMPTY,this._detachSubscription=u.w0.EMPTY,this._positionSubscription=u.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new g.vpe,this.positionChange=new g.vpe,this.attach=new g.vpe,this.detach=new g.vpe,this.overlayKeydown=new g.vpe,this.overlayOutsideClick=new g.vpe,this._templatePortal=new h.UE(Ee,ke),this._scrollStrategyFactory=ie,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,k.Ig)(de)}get lockPosition(){return this._lockPosition}set lockPosition(de){this._lockPosition=(0,k.Ig)(de)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(de){this._flexibleDimensions=(0,k.Ig)(de)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(de){this._growAfterOpen=(0,k.Ig)(de)}get push(){return this._push}set push(de){this._push=(0,k.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=we);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(Ee=>{this.overlayKeydown.next(Ee),Ee.keyCode===R.hY&&!this.disableClose&&!(0,R.Vb)(Ee)&&(Ee.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Ee=>{this.overlayOutsideClick.next(Ee)})}_buildConfig(){const de=this._position=this.positionStrategy||this._createPositionStrategy(),Ee=new ce({direction:this._dir,positionStrategy:de,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Ee.width=this.width),(this.height||0===this.height)&&(Ee.height=this.height),(this.minWidth||0===this.minWidth)&&(Ee.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Ee.minHeight=this.minHeight),this.backdropClass&&(Ee.backdropClass=this.backdropClass),this.panelClass&&(Ee.panelClass=this.panelClass),Ee}_updatePositionStrategy(de){const Ee=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(Ee).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 it?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,w.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 Ue.\u0275fac=function(de){return new(de||Ue)(g.Y36(ye),g.Y36(g.Rgc),g.Y36(g.s_b),g.Y36(he),g.Y36(C.Is,8))},Ue.\u0275dir=g.lG2({type:Ue,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:[g.TTD]}),Ue})();const me={provide:he,deps:[ye],useFactory:function oe(Ue){return()=>Ue.scrollStrategies.reposition()}};let te=(()=>{class Ue{}return Ue.\u0275fac=function(de){return new(de||Ue)},Ue.\u0275mod=g.oAB({type:Ue}),Ue.\u0275inj=g.cJS({providers:[ye,me],imports:[C.vT,h.eL,t.Cl,t.Cl]}),Ue})()},3353:(ze,K,m)=>{"use strict";m.d(K,{Mq:()=>R,Oy:()=>fe,_i:()=>E,ht:()=>X,i$:()=>S,kV:()=>Q,qK:()=>P,sA:()=>$,t4:()=>k});var t=m(4650),e=m(6895);let g;try{g=typeof Intl<"u"&&Intl.v8BreakIterator}catch{g=!1}let C,k=(()=>{class re{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&&!g)&&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 re.\u0275fac=function(ce){return new(ce||re)(t.LFG(t.Lbi))},re.\u0275prov=t.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})();const h=["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(h),C;let re=document.createElement("input");return C=new Set(h.filter(ee=>(re.setAttribute("type",ee),re.type===ee))),C}let u,A,w,U;function S(re){return function I(){if(null==u&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>u=!0}))}finally{u=u||!1}return u}()?re:!!re.capture}function R(){if(null==w){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return w=!1,w;if("scrollBehavior"in document.documentElement.style)w=!0;else{const re=Element.prototype.scrollTo;w=!!re&&!/\{\s*\[native code\]\s*\}/.test(re.toString())}}return w}function E(){if("object"!=typeof document||!document)return 0;if(null==A){const re=document.createElement("div"),ee=re.style;re.dir="rtl",ee.width="1px",ee.overflow="auto",ee.visibility="hidden",ee.pointerEvents="none",ee.position="absolute";const ce=document.createElement("div"),se=ce.style;se.width="2px",se.height="1px",re.appendChild(ce),document.body.appendChild(re),A=0,0===re.scrollLeft&&(re.scrollLeft=1,A=0===re.scrollLeft?1:2),re.remove()}return A}function Q(re){if(function Y(){if(null==U){const re=typeof document<"u"?document.head:null;U=!(!re||!re.createShadowRoot&&!re.attachShadow)}return U}()){const ee=re.getRootNode?re.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ee instanceof ShadowRoot)return ee}return null}function X(){let re=typeof document<"u"&&document?document.activeElement:null;for(;re&&re.shadowRoot;){const ee=re.shadowRoot.activeElement;if(ee===re)break;re=ee}return re}function $(re){return re.composedPath?re.composedPath()[0]:re.target}function fe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(ze,K,m)=>{"use strict";m.d(K,{C5:()=>I,Pl:()=>X,UE:()=>S,eL:()=>fe,en:()=>w,ig:()=>Y,u0:()=>E});var t=m(4650),e=m(6895);class u{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 I extends u{constructor(ce,se,le,L,i){super(),this.component=ce,this.viewContainerRef=se,this.injector=le,this.componentFactoryResolver=L,this.projectableNodes=i}}class S extends u{constructor(ce,se,le,L){super(),this.templateRef=ce,this.viewContainerRef=se,this.context=le,this.injector=L}get origin(){return this.templateRef.elementRef}attach(ce,se=this.context){return this.context=se,super.attach(ce)}detach(){return this.context=void 0,super.detach()}}class A extends u{constructor(ce){super(),this.element=ce instanceof t.SBq?ce.nativeElement:ce}}class w{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ce){return ce instanceof I?(this._attachedPortal=ce,this.attachComponentPortal(ce)):ce instanceof S?(this._attachedPortal=ce,this.attachTemplatePortal(ce)):this.attachDomPortal&&ce instanceof A?(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 E extends w{constructor(ce,se,le,L,i){super(),this.outletElement=ce,this._componentFactoryResolver=se,this._appRef=le,this._defaultInjector=L,this.attachDomPortal=r=>{const d=r.element,c=this._document.createComment("dom-portal");d.parentNode.insertBefore(c,d),this.outletElement.appendChild(d),this._attachedPortal=r,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(d,c)})},this._document=i}attachComponentPortal(ce){const le=(ce.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ce.component);let L;return ce.viewContainerRef?(L=ce.viewContainerRef.createComponent(le,ce.viewContainerRef.length,ce.injector||ce.viewContainerRef.injector,ce.projectableNodes||void 0),this.setDisposeFn(()=>L.destroy())):(L=le.create(ce.injector||this._defaultInjector||t.zs3.NULL),this._appRef.attachView(L.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(L.hostView),L.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(L)),this._attachedPortal=ce,L}attachTemplatePortal(ce){let se=ce.viewContainerRef,le=se.createEmbeddedView(ce.templateRef,ce.context,{injector:ce.injector});return le.rootNodes.forEach(L=>this.outletElement.appendChild(L)),le.detectChanges(),this.setDisposeFn(()=>{let L=se.indexOf(le);-1!==L&&se.remove(L)}),this._attachedPortal=ce,le}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ce){return ce.hostView.rootNodes[0]}}let Y=(()=>{class ee extends S{constructor(se,le){super(se,le)}}return ee.\u0275fac=function(se){return new(se||ee)(t.Y36(t.Rgc),t.Y36(t.s_b))},ee.\u0275dir=t.lG2({type:ee,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[t.qOj]}),ee})(),X=(()=>{class ee extends w{constructor(se,le,L){super(),this._componentFactoryResolver=se,this._viewContainerRef=le,this._isInitialized=!1,this.attached=new t.vpe,this.attachDomPortal=i=>{const r=i.element,d=this._document.createComment("dom-portal");i.setAttachedHost(this),r.parentNode.insertBefore(d,r),this._getRootNode().appendChild(r),this._attachedPortal=i,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(r,d)})},this._document=L}get portal(){return this._attachedPortal}set portal(se){this.hasAttached()&&!se&&!this._isInitialized||(this.hasAttached()&&super.detach(),se&&super.attach(se),this._attachedPortal=se||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(se){se.setAttachedHost(this);const le=null!=se.viewContainerRef?se.viewContainerRef:this._viewContainerRef,i=(se.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(se.component),r=le.createComponent(i,le.length,se.injector||le.injector,se.projectableNodes||void 0);return le!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=se,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(se){se.setAttachedHost(this);const le=this._viewContainerRef.createEmbeddedView(se.templateRef,se.context,{injector:se.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=se,this._attachedRef=le,this.attached.emit(le),le}_getRootNode(){const se=this._viewContainerRef.element.nativeElement;return se.nodeType===se.ELEMENT_NODE?se:se.parentNode}}return ee.\u0275fac=function(se){return new(se||ee)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36(e.K0))},ee.\u0275dir=t.lG2({type:ee,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[t.qOj]}),ee})(),fe=(()=>{class ee{}return ee.\u0275fac=function(se){return new(se||ee)},ee.\u0275mod=t.oAB({type:ee}),ee.\u0275inj=t.cJS({}),ee})()},531:(ze,K,m)=>{"use strict";m.d(K,{PQ:()=>d,ZD:()=>Ve,mF:()=>r,Cl:()=>Ke,rL:()=>b});var t=m(1281),e=m(4650),g=m(7579),k=m(9646),o=m(9751),C=m(4968),h=m(4408),P=m(727);const u={schedule($e){let Ae=requestAnimationFrame,ue=cancelAnimationFrame;const{delegate:ye}=u;ye&&(Ae=ye.requestAnimationFrame,ue=ye.cancelAnimationFrame);const we=Ae(he=>{ue=void 0,$e(he)});return new P.w0(()=>ue?.(we))},requestAnimationFrame(...$e){const{delegate:Ae}=u;return(Ae?.requestAnimationFrame||requestAnimationFrame)(...$e)},cancelAnimationFrame(...$e){const{delegate:Ae}=u;return(Ae?.cancelAnimationFrame||cancelAnimationFrame)(...$e)},delegate:void 0};var S=m(7565);new class A extends S.v{flush(Ae){this._active=!0;const ue=this._scheduled;this._scheduled=void 0;const{actions:ye}=this;let we;Ae=Ae||ye.shift();do{if(we=Ae.execute(Ae.state,Ae.delay))break}while((Ae=ye[0])&&Ae.id===ue&&ye.shift());if(this._active=!1,we){for(;(Ae=ye[0])&&Ae.id===ue&&ye.shift();)Ae.unsubscribe();throw we}}}(class I extends h.o{constructor(Ae,ue){super(Ae,ue),this.scheduler=Ae,this.work=ue}requestAsyncId(Ae,ue,ye=0){return null!==ye&&ye>0?super.requestAsyncId(Ae,ue,ye):(Ae.actions.push(this),Ae._scheduled||(Ae._scheduled=u.requestAnimationFrame(()=>Ae.flush(void 0))))}recycleAsyncId(Ae,ue,ye=0){var we;if(null!=ye?ye>0:this.delay>0)return super.recycleAsyncId(Ae,ue,ye);const{actions:he}=Ae;null!=ue&&(null===(we=he[he.length-1])||void 0===we?void 0:we.id)!==ue&&(u.cancelAnimationFrame(ue),Ae._scheduled=void 0)}});m(3101);var U=m(3601),Y=m(9300),Q=m(2722),X=m(3353),$=m(6895),fe=m(445);let r=(()=>{class $e{constructor(ue,ye,we){this._ngZone=ue,this._platform=ye,this._scrolled=new g.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=we}register(ue){this.scrollContainers.has(ue)||this.scrollContainers.set(ue,ue.elementScrolled().subscribe(()=>this._scrolled.next(ue)))}deregister(ue){const ye=this.scrollContainers.get(ue);ye&&(ye.unsubscribe(),this.scrollContainers.delete(ue))}scrolled(ue=20){return this._platform.isBrowser?new o.y(ye=>{this._globalSubscription||this._addGlobalListener();const we=ue>0?this._scrolled.pipe((0,U.e)(ue)).subscribe(ye):this._scrolled.subscribe(ye);return this._scrolledCount++,()=>{we.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,k.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ue,ye)=>this.deregister(ye)),this._scrolled.complete()}ancestorScrolled(ue,ye){const we=this.getAncestorScrollContainers(ue);return this.scrolled(ye).pipe((0,Y.h)(he=>!he||we.indexOf(he)>-1))}getAncestorScrollContainers(ue){const ye=[];return this.scrollContainers.forEach((we,he)=>{this._scrollableContainsElement(he,ue)&&ye.push(he)}),ye}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ue,ye){let we=(0,t.fI)(ye),he=ue.getElementRef().nativeElement;do{if(we==he)return!0}while(we=we.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ue=this._getWindow();return(0,C.R)(ue.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return $e.\u0275fac=function(ue){return new(ue||$e)(e.LFG(e.R0b),e.LFG(X.t4),e.LFG($.K0,8))},$e.\u0275prov=e.Yz7({token:$e,factory:$e.\u0275fac,providedIn:"root"}),$e})(),d=(()=>{class $e{constructor(ue,ye,we,he){this.elementRef=ue,this.scrollDispatcher=ye,this.ngZone=we,this.dir=he,this._destroyed=new g.x,this._elementScrolled=new o.y(it=>this.ngZone.runOutsideAngular(()=>(0,C.R)(this.elementRef.nativeElement,"scroll").pipe((0,Q.R)(this._destroyed)).subscribe(it)))}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(ue){const ye=this.elementRef.nativeElement,we=this.dir&&"rtl"==this.dir.value;null==ue.left&&(ue.left=we?ue.end:ue.start),null==ue.right&&(ue.right=we?ue.start:ue.end),null!=ue.bottom&&(ue.top=ye.scrollHeight-ye.clientHeight-ue.bottom),we&&0!=(0,X._i)()?(null!=ue.left&&(ue.right=ye.scrollWidth-ye.clientWidth-ue.left),2==(0,X._i)()?ue.left=ue.right:1==(0,X._i)()&&(ue.left=ue.right?-ue.right:ue.right)):null!=ue.right&&(ue.left=ye.scrollWidth-ye.clientWidth-ue.right),this._applyScrollToOptions(ue)}_applyScrollToOptions(ue){const ye=this.elementRef.nativeElement;(0,X.Mq)()?ye.scrollTo(ue):(null!=ue.top&&(ye.scrollTop=ue.top),null!=ue.left&&(ye.scrollLeft=ue.left))}measureScrollOffset(ue){const ye="left",he=this.elementRef.nativeElement;if("top"==ue)return he.scrollTop;if("bottom"==ue)return he.scrollHeight-he.clientHeight-he.scrollTop;const it=this.dir&&"rtl"==this.dir.value;return"start"==ue?ue=it?"right":ye:"end"==ue&&(ue=it?ye:"right"),it&&2==(0,X._i)()?ue==ye?he.scrollWidth-he.clientWidth-he.scrollLeft:he.scrollLeft:it&&1==(0,X._i)()?ue==ye?he.scrollLeft+he.scrollWidth-he.clientWidth:-he.scrollLeft:ue==ye?he.scrollLeft:he.scrollWidth-he.clientWidth-he.scrollLeft}}return $e.\u0275fac=function(ue){return new(ue||$e)(e.Y36(e.SBq),e.Y36(r),e.Y36(e.R0b),e.Y36(fe.Is,8))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),$e})(),b=(()=>{class $e{constructor(ue,ye,we){this._platform=ue,this._change=new g.x,this._changeListener=he=>{this._change.next(he)},this._document=we,ye.runOutsideAngular(()=>{if(ue.isBrowser){const he=this._getWindow();he.addEventListener("resize",this._changeListener),he.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ue=this._getWindow();ue.removeEventListener("resize",this._changeListener),ue.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ue={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ue}getViewportRect(){const ue=this.getViewportScrollPosition(),{width:ye,height:we}=this.getViewportSize();return{top:ue.top,left:ue.left,bottom:ue.top+we,right:ue.left+ye,height:we,width:ye}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ue=this._document,ye=this._getWindow(),we=ue.documentElement,he=we.getBoundingClientRect();return{top:-he.top||ue.body.scrollTop||ye.scrollY||we.scrollTop||0,left:-he.left||ue.body.scrollLeft||ye.scrollX||we.scrollLeft||0}}change(ue=20){return ue>0?this._change.pipe((0,U.e)(ue)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ue=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ue.innerWidth,height:ue.innerHeight}:{width:0,height:0}}}return $e.\u0275fac=function(ue){return new(ue||$e)(e.LFG(X.t4),e.LFG(e.R0b),e.LFG($.K0,8))},$e.\u0275prov=e.Yz7({token:$e,factory:$e.\u0275fac,providedIn:"root"}),$e})(),Ve=(()=>{class $e{}return $e.\u0275fac=function(ue){return new(ue||$e)},$e.\u0275mod=e.oAB({type:$e}),$e.\u0275inj=e.cJS({}),$e})(),Ke=(()=>{class $e{}return $e.\u0275fac=function(ue){return new(ue||$e)},$e.\u0275mod=e.oAB({type:$e}),$e.\u0275inj=e.cJS({imports:[fe.vT,Ve,fe.vT,Ve]}),$e})()},2138:(ze,K,m)=>{"use strict";m.d(K,{B8:()=>$,KL:()=>w,U5:()=>ee,be:()=>X,gx:()=>Q,po:()=>re,st:()=>fe,u6:()=>R});var t=m(4761),e=m(445),g=m(1281),k=m(9521),o=m(4650),C=m(3353),h=m(7579),P=m(9646),u=m(8675),I=m(2722);function S(ce,se){1&ce&&o.Hsn(0)}const A=["*"];let w=(()=>{class ce{constructor(le){this._elementRef=le}focus(){this._elementRef.nativeElement.focus()}}return ce.\u0275fac=function(le){return new(le||ce)(o.Y36(o.SBq))},ce.\u0275dir=o.lG2({type:ce,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),ce})(),R=(()=>{class ce{constructor(le){this.template=le}}return ce.\u0275fac=function(le){return new(le||ce)(o.Y36(o.Rgc))},ce.\u0275dir=o.lG2({type:ce,selectors:[["","cdkStepLabel",""]]}),ce})(),E=0;const Q=new o.OlP("STEPPER_GLOBAL_OPTIONS");let X=(()=>{class ce{constructor(le,L){this._stepper=le,this.interacted=!1,this.interactedStream=new o.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=L||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(le){this._editable=(0,g.Ig)(le)}get optional(){return this._optional}set optional(le){this._optional=(0,g.Ig)(le)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(le){this._completedOverride=(0,g.Ig)(le)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(le){this._customError=(0,g.Ig)(le)}_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(le){return new(le||ce)(o.Y36((0,o.Gpc)(()=>$)),o.Y36(Q,8))},ce.\u0275cmp=o.Xpm({type:ce,selectors:[["cdk-step"]],contentQueries:function(le,L,i){if(1&le&&o.Suo(i,R,5),2&le){let r;o.iGM(r=o.CRH())&&(L.stepLabel=r.first)}},viewQuery:function(le,L){if(1&le&&o.Gf(o.Rgc,7),2&le){let i;o.iGM(i=o.CRH())&&(L.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:A,decls:1,vars:0,template:function(le,L){1&le&&(o.F$t(),o.YNc(0,S,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),ce})(),$=(()=>{class ce{constructor(le,L,i){this._dir=le,this._changeDetectorRef=L,this._elementRef=i,this._destroyed=new h.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=E++}get linear(){return this._linear}set linear(le){this._linear=(0,g.Ig)(le)}get selectedIndex(){return this._selectedIndex}set selectedIndex(le){const L=(0,g.su)(le);this.steps&&this._steps?(this._isValidIndex(L),this.selected?._markAsInteracted(),this._selectedIndex!==L&&!this._anyControlsInvalidOrPending(L)&&(L>=this._selectedIndex||this.steps.toArray()[L].editable)&&this._updateSelectedItemIndex(L)):this._selectedIndex=L}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(le){this.selectedIndex=le&&this.steps?this.steps.toArray().indexOf(le):-1}get orientation(){return this._orientation}set orientation(le){this._orientation=le,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===le)}ngAfterContentInit(){this._steps.changes.pipe((0,u.O)(this._steps),(0,I.R)(this._destroyed)).subscribe(le=>{this.steps.reset(le.filter(L=>L._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,u.O)(this._stepHeader),(0,I.R)(this._destroyed)).subscribe(le=>{this._sortedHeaders.reset(le.toArray().sort((L,i)=>L._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,u.O)(this._layoutDirection()),(0,I.R)(this._destroyed)).subscribe(le=>this._keyManager.withHorizontalOrientation(le)),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(le=>le.reset()),this._stateChanged()}_getStepLabelId(le){return`cdk-step-label-${this._groupId}-${le}`}_getStepContentId(le){return`cdk-step-content-${this._groupId}-${le}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(le){const L=le-this._selectedIndex;return L<0?"rtl"===this._layoutDirection()?"next":"previous":L>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(le,L="number"){const i=this.steps.toArray()[le],r=this._isCurrentStep(le);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,r):this._getGuidelineLogic(i,r,L)}_getDefaultIndicatorLogic(le,L){return le._showError()&&le.hasError&&!L?"error":!le.completed||L?"number":le.editable?"edit":"done"}_getGuidelineLogic(le,L,i="number"){return le._showError()&&le.hasError&&!L?"error":le.completed&&!L?"done":le.completed&&L?i:le.editable&&L?"edit":i}_isCurrentStep(le){return this._selectedIndex===le}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(le){const L=this.steps.toArray();this.selectionChange.emit({selectedIndex:le,previouslySelectedIndex:this._selectedIndex,selectedStep:L[le],previouslySelectedStep:L[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(le):this._keyManager.updateActiveItem(le),this._selectedIndex=le,this._stateChanged()}_onKeydown(le){const L=(0,k.Vb)(le),i=le.keyCode,r=this._keyManager;null==r.activeItemIndex||L||i!==k.L_&&i!==k.K5?r.onKeydown(le):(this.selectedIndex=r.activeItemIndex,le.preventDefault())}_anyControlsInvalidOrPending(le){return!!(this._linear&&le>=0)&&this.steps.toArray().slice(0,le).some(L=>{const i=L.stepControl;return(i?i.invalid||i.pending||!L.interacted:!L.completed)&&!L.optional&&!L._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const le=this._elementRef.nativeElement,L=(0,C.ht)();return le===L||le.contains(L)}_isValidIndex(le){return le>-1&&(!this.steps||le<this.steps.length)}}return ce.\u0275fac=function(le){return new(le||ce)(o.Y36(e.Is,8),o.Y36(o.sBO),o.Y36(o.SBq))},ce.\u0275dir=o.lG2({type:ce,selectors:[["","cdkStepper",""]],contentQueries:function(le,L,i){if(1&le&&(o.Suo(i,X,5),o.Suo(i,w,5)),2&le){let r;o.iGM(r=o.CRH())&&(L._steps=r),o.iGM(r=o.CRH())&&(L._stepHeader=r)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),ce})(),fe=(()=>{class ce{constructor(le){this._stepper=le,this.type="submit"}}return ce.\u0275fac=function(le){return new(le||ce)(o.Y36($))},ce.\u0275dir=o.lG2({type:ce,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(le,L){1&le&&o.NdJ("click",function(){return L._stepper.next()}),2&le&&o.Ikx("type",L.type)},inputs:{type:"type"}}),ce})(),re=(()=>{class ce{constructor(le){this._stepper=le,this.type="button"}}return ce.\u0275fac=function(le){return new(le||ce)(o.Y36($))},ce.\u0275dir=o.lG2({type:ce,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(le,L){1&le&&o.NdJ("click",function(){return L._stepper.previous()}),2&le&&o.Ikx("type",L.type)},inputs:{type:"type"}}),ce})(),ee=(()=>{class ce{}return ce.\u0275fac=function(le){return new(le||ce)},ce.\u0275mod=o.oAB({type:ce}),ce.\u0275inj=o.cJS({imports:[e.vT]}),ce})()},7851:(ze,K,m)=>{"use strict";m.d(K,{HI:()=>E,Hs:()=>se,Ud:()=>c,VY:()=>R,XJ:()=>d,Xx:()=>i,_0:()=>ce,cu:()=>U,nZ:()=>T,rO:()=>Q});var t=m(5017),e=m(5191),g=m(7579),k=m(1135),o=m(9646),C=m(5698),h=m(9300),P=m(2722),u=m(4650),I=m(1281),S=m(445);class A{constructor(){this.expansionModel=new t.Ov(!0)}toggle(v){this.expansionModel.toggle(this._trackByValue(v))}expand(v){this.expansionModel.select(this._trackByValue(v))}collapse(v){this.expansionModel.deselect(this._trackByValue(v))}isExpanded(v){return this.expansionModel.isSelected(this._trackByValue(v))}toggleDescendants(v){this.expansionModel.isSelected(this._trackByValue(v))?this.collapseDescendants(v):this.expandDescendants(v)}collapseAll(){this.expansionModel.clear()}expandDescendants(v){let n=[v];n.push(...this.getDescendants(v)),this.expansionModel.select(...n.map(y=>this._trackByValue(y)))}collapseDescendants(v){let n=[v];n.push(...this.getDescendants(v)),this.expansionModel.deselect(...n.map(y=>this._trackByValue(y)))}_trackByValue(v){return this.trackBy?this.trackBy(v):v}}class R extends A{constructor(v,n){super(),this.getChildren=v,this.options=n,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const v=this.dataNodes.reduce((n,y)=>[...n,...this.getDescendants(y),y],[]);this.expansionModel.select(...v.map(n=>this._trackByValue(n)))}getDescendants(v){const n=[];return this._getDescendants(n,v),n.splice(1)}_getDescendants(v,n){v.push(n);const y=this.getChildren(n);Array.isArray(y)?y.forEach(B=>this._getDescendants(v,B)):(0,e.b)(y)&&y.pipe((0,C.q)(1),(0,h.h)(Boolean)).subscribe(B=>{for(const z of B)this._getDescendants(v,z)})}}const E=new u.OlP("CDK_TREE_NODE_OUTLET_NODE");let U=(()=>{class N{constructor(n,y){this.viewContainer=n,this._node=y}}return N.\u0275fac=function(n){return new(n||N)(u.Y36(u.s_b),u.Y36(E,8))},N.\u0275dir=u.lG2({type:N,selectors:[["","cdkTreeNodeOutlet",""]]}),N})();class Y{constructor(v){this.$implicit=v}}let Q=(()=>{class N{constructor(n){this.template=n}}return N.\u0275fac=function(n){return new(n||N)(u.Y36(u.Rgc))},N.\u0275dir=u.lG2({type:N,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),N})(),ce=(()=>{class N{constructor(n,y){this._differs=n,this._changeDetectorRef=y,this._onDestroy=new g.x,this._levels=new Map,this.viewChange=new k.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(y=>!y.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(y=>this.renderNodeChanges(y)))}renderNodeChanges(n,y=this._dataDiffer,B=this._nodeOutlet.viewContainer,z){const W=y.diff(n);!W||(W.forEachOperation((Le,Ve,Ke)=>{if(null==Le.previousIndex)this.insertNode(n[Ke],Ke,B,z);else if(null==Ke)B.remove(Ve),this._levels.delete(Le.item);else{const $e=B.get(Ve);B.move($e,Ke)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(n,y){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(z=>z.when&&z.when(y,n))||this._defaultNodeDef}insertNode(n,y,B,z){const W=this._getNodeDef(n,y),Le=new Y(n);Le.level=this.treeControl.getLevel?this.treeControl.getLevel(n):typeof z<"u"&&this._levels.has(z)?this._levels.get(z)+1:0,this._levels.set(n,Le.level),(B||this._nodeOutlet.viewContainer).createEmbeddedView(W.template,Le,y),se.mostRecentTreeNode&&(se.mostRecentTreeNode.data=n)}}return N.\u0275fac=function(n){return new(n||N)(u.Y36(u.ZZ4),u.Y36(u.sBO))},N.\u0275cmp=u.Xpm({type:N,selectors:[["cdk-tree"]],contentQueries:function(n,y,B){if(1&n&&u.Suo(B,Q,5),2&n){let z;u.iGM(z=u.CRH())&&(y._nodeDefs=z)}},viewQuery:function(n,y){if(1&n&&u.Gf(U,7),2&n){let B;u.iGM(B=u.CRH())&&(y._nodeOutlet=B.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,y){1&n&&u.GkF(0,0)},dependencies:[U],encapsulation:2}),N})(),se=(()=>{class N{constructor(n,y){this._elementRef=n,this._tree=y,this._destroyed=new g.x,this._dataChanges=new g.x,N.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 le(N){let v=N.parentElement;for(;v&&!L(v);)v=v.parentElement;return v?v.classList.contains("cdk-nested-tree-node")?(0,I.su)(v.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){N.mostRecentTreeNode===this&&(N.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return N.mostRecentTreeNode=null,N.\u0275fac=function(n){return new(n||N)(u.Y36(u.SBq),u.Y36(ce))},N.\u0275dir=u.lG2({type:N,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(n,y){2&n&&u.uIk("aria-expanded",y.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),N})();function L(N){const v=N.classList;return!(!v?.contains("cdk-nested-tree-node")&&!v?.contains("cdk-tree"))}let i=(()=>{class N extends se{constructor(n,y,B){super(n,y),this._differs=B}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(y=>this.updateChildrenNodes(y)),this.nodeOutlet.changes.pipe((0,P.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(n){const y=this._getNodeOutlet();n&&(this._children=n),y&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,y.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(y=>!y._node||y._node===this)}}return N.\u0275fac=function(n){return new(n||N)(u.Y36(u.SBq),u.Y36(ce),u.Y36(u.ZZ4))},N.\u0275dir=u.lG2({type:N,selectors:[["cdk-nested-tree-node"]],contentQueries:function(n,y,B){if(1&n&&u.Suo(B,U,5),2&n){let z;u.iGM(z=u.CRH())&&(y.nodeOutlet=z)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[u._Bn([{provide:se,useExisting:N},{provide:E,useExisting:N}]),u.qOj]}),N})();const r=/([A-Za-z%]+)$/;let d=(()=>{class N{constructor(n,y,B,z){this._treeNode=n,this._tree=y,this._element=B,this._dir=z,this._destroyed=new g.x,this.indentUnits="px",this._indent=40,this._setPadding(),z&&z.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,y=null==this._level?n:this._level;return"number"==typeof y?`${y*this._indent}${this.indentUnits}`:null}_setPadding(n=!1){const y=this._paddingIndent();if(y!==this._currentPadding||n){const B=this._element.nativeElement,z=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",W="paddingLeft"===z?"paddingRight":"paddingLeft";B.style[z]=y||"",B.style[W]="",this._currentPadding=y}}_setLevelInput(n){this._level=(0,I.su)(n,null),this._setPadding()}_setIndentInput(n){let y=n,B="px";if("string"==typeof n){const z=n.split(r);y=z[0],B=z[1]||B}this.indentUnits=B,this._indent=(0,I.su)(y),this._setPadding()}}return N.\u0275fac=function(n){return new(n||N)(u.Y36(se),u.Y36(ce),u.Y36(u.SBq),u.Y36(S.Is,8))},N.\u0275dir=u.lG2({type:N,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),N})(),c=(()=>{class N{constructor(n,y){this._tree=n,this._treeNode=y,this._recursive=!1}get recursive(){return this._recursive}set recursive(n){this._recursive=(0,I.Ig)(n)}_toggle(n){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),n.stopPropagation()}}return N.\u0275fac=function(n){return new(n||N)(u.Y36(ce),u.Y36(se))},N.\u0275dir=u.lG2({type:N,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(n,y){1&n&&u.NdJ("click",function(z){return y._toggle(z)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),N})(),T=(()=>{class N{}return N.\u0275fac=function(n){return new(n||N)},N.\u0275mod=u.oAB({type:N}),N.\u0275inj=u.cJS({}),N})()},6895:(ze,K,m)=>{"use strict";m.d(K,{Do:()=>X,ED:()=>jr,EM:()=>Ra,HT:()=>k,JF:()=>ka,JJ:()=>zs,K0:()=>C,Mx:()=>di,NF:()=>Wa,Nd:()=>na,O5:()=>Qi,OU:()=>fs,Ov:()=>Tn,PC:()=>li,PM:()=>Da,RF:()=>Yr,S$:()=>U,Ts:()=>yr,V_:()=>u,Ye:()=>$,b0:()=>Q,bD:()=>ha,ez:()=>$a,gd:()=>ia,i8:()=>cr,mk:()=>ge,n9:()=>mr,q:()=>g,rS:()=>nr,sg:()=>si,tP:()=>Mi,uU:()=>Sa,w_:()=>o});var t=m(4650);let e=null;function g(){return e}function k(Oe){e||(e=Oe)}class o{}const C=new t.OlP("DocumentToken");let h=(()=>{class Oe{historyGo(Te){throw new Error("Not implemented")}}return Oe.\u0275fac=function(Te){return new(Te||Oe)},Oe.\u0275prov=t.Yz7({token:Oe,factory:function(){return function P(){return(0,t.LFG)(I)}()},providedIn:"platform"}),Oe})();const u=new t.OlP("Location Initialized");let I=(()=>{class Oe extends h{constructor(Te){super(),this._doc=Te,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(Te){const Mt=g().getGlobalEventTarget(this._doc,"window");return Mt.addEventListener("popstate",Te,!1),()=>Mt.removeEventListener("popstate",Te)}onHashChange(Te){const Mt=g().getGlobalEventTarget(this._doc,"window");return Mt.addEventListener("hashchange",Te,!1),()=>Mt.removeEventListener("hashchange",Te)}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(Te){this.location.pathname=Te}pushState(Te,Mt,ri){S()?this._history.pushState(Te,Mt,ri):this.location.hash=ri}replaceState(Te,Mt,ri){S()?this._history.replaceState(Te,Mt,ri):this.location.hash=ri}forward(){this._history.forward()}back(){this._history.back()}historyGo(Te=0){this._history.go(Te)}getState(){return this._history.state}}return Oe.\u0275fac=function(Te){return new(Te||Oe)(t.LFG(C))},Oe.\u0275prov=t.Yz7({token:Oe,factory:function(){return function A(){return new I((0,t.LFG)(C))}()},providedIn:"platform"}),Oe})();function S(){return!!window.history.pushState}function w(Oe,ft){if(0==Oe.length)return ft;if(0==ft.length)return Oe;let Te=0;return Oe.endsWith("/")&&Te++,ft.startsWith("/")&&Te++,2==Te?Oe+ft.substring(1):1==Te?Oe+ft:Oe+"/"+ft}function R(Oe){const ft=Oe.match(/#|\?|$/),Te=ft&&ft.index||Oe.length;return Oe.slice(0,Te-("/"===Oe[Te-1]?1:0))+Oe.slice(Te)}function E(Oe){return Oe&&"?"!==Oe[0]?"?"+Oe:Oe}let U=(()=>{class Oe{historyGo(Te){throw new Error("Not implemented")}}return Oe.\u0275fac=function(Te){return new(Te||Oe)},Oe.\u0275prov=t.Yz7({token:Oe,factory:function(){return(0,t.f3M)(Q)},providedIn:"root"}),Oe})();const Y=new t.OlP("appBaseHref");let Q=(()=>{class Oe extends U{constructor(Te,Mt){super(),this._platformLocation=Te,this._removeListenerFns=[],this._baseHref=Mt??this._platformLocation.getBaseHrefFromDOM()??(0,t.f3M)(C).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Te){this._removeListenerFns.push(this._platformLocation.onPopState(Te),this._platformLocation.onHashChange(Te))}getBaseHref(){return this._baseHref}prepareExternalUrl(Te){return w(this._baseHref,Te)}path(Te=!1){const Mt=this._platformLocation.pathname+E(this._platformLocation.search),ri=this._platformLocation.hash;return ri&&Te?`${Mt}${ri}`:Mt}pushState(Te,Mt,ri,Re){const ht=this.prepareExternalUrl(ri+E(Re));this._platformLocation.pushState(Te,Mt,ht)}replaceState(Te,Mt,ri,Re){const ht=this.prepareExternalUrl(ri+E(Re));this._platformLocation.replaceState(Te,Mt,ht)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Te=0){this._platformLocation.historyGo?.(Te)}}return Oe.\u0275fac=function(Te){return new(Te||Oe)(t.LFG(h),t.LFG(Y,8))},Oe.\u0275prov=t.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:"root"}),Oe})(),X=(()=>{class Oe extends U{constructor(Te,Mt){super(),this._platformLocation=Te,this._baseHref="",this._removeListenerFns=[],null!=Mt&&(this._baseHref=Mt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Te){this._removeListenerFns.push(this._platformLocation.onPopState(Te),this._platformLocation.onHashChange(Te))}getBaseHref(){return this._baseHref}path(Te=!1){let Mt=this._platformLocation.hash;return null==Mt&&(Mt="#"),Mt.length>0?Mt.substring(1):Mt}prepareExternalUrl(Te){const Mt=w(this._baseHref,Te);return Mt.length>0?"#"+Mt:Mt}pushState(Te,Mt,ri,Re){let ht=this.prepareExternalUrl(ri+E(Re));0==ht.length&&(ht=this._platformLocation.pathname),this._platformLocation.pushState(Te,Mt,ht)}replaceState(Te,Mt,ri,Re){let ht=this.prepareExternalUrl(ri+E(Re));0==ht.length&&(ht=this._platformLocation.pathname),this._platformLocation.replaceState(Te,Mt,ht)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Te=0){this._platformLocation.historyGo?.(Te)}}return Oe.\u0275fac=function(Te){return new(Te||Oe)(t.LFG(h),t.LFG(Y,8))},Oe.\u0275prov=t.Yz7({token:Oe,factory:Oe.\u0275fac}),Oe})(),$=(()=>{class Oe{constructor(Te){this._subject=new t.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Te;const Mt=this._locationStrategy.getBaseHref();this._basePath=function ce(Oe){if(/^(https?:)?\/\//.test(Oe)){const[,ft]=Oe.split(/\/\/[^\/]+/);return ft}return Oe}(R(ee(Mt))),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(Te=!1){return this.normalize(this._locationStrategy.path(Te))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Te,Mt=""){return this.path()==this.normalize(Te+E(Mt))}normalize(Te){return Oe.stripTrailingSlash(function re(Oe,ft){return Oe&&ft.startsWith(Oe)?ft.substring(Oe.length):ft}(this._basePath,ee(Te)))}prepareExternalUrl(Te){return Te&&"/"!==Te[0]&&(Te="/"+Te),this._locationStrategy.prepareExternalUrl(Te)}go(Te,Mt="",ri=null){this._locationStrategy.pushState(ri,"",Te,Mt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Te+E(Mt)),ri)}replaceState(Te,Mt="",ri=null){this._locationStrategy.replaceState(ri,"",Te,Mt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Te+E(Mt)),ri)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Te=0){this._locationStrategy.historyGo?.(Te)}onUrlChange(Te){return this._urlChangeListeners.push(Te),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Mt=>{this._notifyUrlChangeListeners(Mt.url,Mt.state)})),()=>{const Mt=this._urlChangeListeners.indexOf(Te);this._urlChangeListeners.splice(Mt,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Te="",Mt){this._urlChangeListeners.forEach(ri=>ri(Te,Mt))}subscribe(Te,Mt,ri){return this._subject.subscribe({next:Te,error:Mt,complete:ri})}}return Oe.normalizeQueryParams=E,Oe.joinWithSlash=w,Oe.stripTrailingSlash=R,Oe.\u0275fac=function(Te){return new(Te||Oe)(t.LFG(U))},Oe.\u0275prov=t.Yz7({token:Oe,factory:function(){return function fe(){return new $((0,t.LFG)(U))}()},providedIn:"root"}),Oe})();function ee(Oe){return Oe.replace(/\/index.html$/,"")}var le=(()=>((le=le||{})[le.Decimal=0]="Decimal",le[le.Percent=1]="Percent",le[le.Currency=2]="Currency",le[le.Scientific=3]="Scientific",le))(),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))(),d=(()=>((d=d||{})[d.Short=0]="Short",d[d.Medium=1]="Medium",d[d.Long=2]="Long",d[d.Full=3]="Full",d))(),c=(()=>((c=c||{})[c.Decimal=0]="Decimal",c[c.Group=1]="Group",c[c.List=2]="List",c[c.PercentSign=3]="PercentSign",c[c.PlusSign=4]="PlusSign",c[c.MinusSign=5]="MinusSign",c[c.Exponential=6]="Exponential",c[c.SuperscriptingExponent=7]="SuperscriptingExponent",c[c.PerMille=8]="PerMille",c[c.Infinity=9]="Infinity",c[c.NaN=10]="NaN",c[c.TimeSeparator=11]="TimeSeparator",c[c.CurrencyDecimal=12]="CurrencyDecimal",c[c.CurrencyGroup=13]="CurrencyGroup",c))();function W(Oe,ft){return te((0,t.cg1)(Oe)[t.wAp.DateFormat],ft)}function Le(Oe,ft){return te((0,t.cg1)(Oe)[t.wAp.TimeFormat],ft)}function Ve(Oe,ft){return te((0,t.cg1)(Oe)[t.wAp.DateTimeFormat],ft)}function Ke(Oe,ft){const Te=(0,t.cg1)(Oe),Mt=Te[t.wAp.NumberSymbols][ft];if(typeof Mt>"u"){if(ft===c.CurrencyDecimal)return Te[t.wAp.NumberSymbols][c.Decimal];if(ft===c.CurrencyGroup)return Te[t.wAp.NumberSymbols][c.Group]}return Mt}function it(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,ft){for(let Te=ft;Te>-1;Te--)if(typeof Oe[Te]<"u")return Oe[Te];throw new Error("Locale data API: locale data undefined")}function Ze(Oe){const[ft,Te]=Oe.split(":");return{hours:+ft,minutes:+Te}}const Ee=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ke={},ie=/((?:[^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))(),Ct=(()=>((Ct=Ct||{})[Ct.FullYear=0]="FullYear",Ct[Ct.Month=1]="Month",Ct[Ct.Date=2]="Date",Ct[Ct.Hours=3]="Hours",Ct[Ct.Minutes=4]="Minutes",Ct[Ct.Seconds=5]="Seconds",Ct[Ct.FractionalSeconds=6]="FractionalSeconds",Ct[Ct.Day=7]="Day",Ct))(),rt=(()=>((rt=rt||{})[rt.DayPeriods=0]="DayPeriods",rt[rt.Days=1]="Days",rt[rt.Months=2]="Months",rt[rt.Eras=3]="Eras",rt))();function Xt(Oe,ft,Te,Mt){let ri=function at(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,Re=1,ht=1]=Oe.split("-").map(yt=>+yt);return gt(ri,Re-1,ht)}const Te=parseFloat(Oe);if(!isNaN(Oe-Te))return new Date(Te);let Mt;if(Mt=Oe.match(Ee))return function _t(Oe){const ft=new Date(0);let Te=0,Mt=0;const ri=Oe[8]?ft.setUTCFullYear:ft.setFullYear,Re=Oe[8]?ft.setUTCHours:ft.setHours;Oe[9]&&(Te=Number(Oe[9]+Oe[10]),Mt=Number(Oe[9]+Oe[11])),ri.call(ft,Number(Oe[1]),Number(Oe[2])-1,Number(Oe[3]));const ht=Number(Oe[4]||0)-Te,yt=Number(Oe[5]||0)-Mt,Ot=Number(Oe[6]||0),Qe=Math.floor(1e3*parseFloat("0."+(Oe[7]||0)));return Re.call(ft,ht,yt,Ot,Qe),ft}(Mt)}const ft=new Date(Oe);if(!ai(ft))throw new Error(`Unable to convert "${Oe}" into a date`);return ft}(Oe);ft=mt(Te,ft)||ft;let yt,ht=[];for(;ft;){if(yt=ie.exec(ft),!yt){ht.push(ft);break}{ht=ht.concat(yt.slice(1));const Jt=ht.pop();if(!Jt)break;ft=Jt}}let Ot=ri.getTimezoneOffset();Mt&&(Ot=Ut(Mt,Ot),ri=function dt(Oe,ft,Te){const Mt=Te?-1:1,ri=Oe.getTimezoneOffset();return function ti(Oe,ft){return(Oe=new Date(Oe.getTime())).setMinutes(Oe.getMinutes()+ft),Oe}(Oe,Mt*(Ut(ft,ri)-ri))}(ri,Mt,!0));let Qe="";return ht.forEach(Jt=>{const hi=function ni(Oe){if(st[Oe])return st[Oe];let ft;switch(Oe){case"G":case"GG":case"GGG":ft=et(rt.Eras,r.Abbreviated);break;case"GGGG":ft=et(rt.Eras,r.Wide);break;case"GGGGG":ft=et(rt.Eras,r.Narrow);break;case"y":ft=xt(Ct.FullYear,1,0,!1,!0);break;case"yy":ft=xt(Ct.FullYear,2,0,!0,!0);break;case"yyy":ft=xt(Ct.FullYear,3,0,!1,!0);break;case"yyyy":ft=xt(Ct.FullYear,4,0,!1,!0);break;case"Y":ft=Ne(1);break;case"YY":ft=Ne(2,!0);break;case"YYY":ft=Ne(3);break;case"YYYY":ft=Ne(4);break;case"M":case"L":ft=xt(Ct.Month,1,1);break;case"MM":case"LL":ft=xt(Ct.Month,2,1);break;case"MMM":ft=et(rt.Months,r.Abbreviated);break;case"MMMM":ft=et(rt.Months,r.Wide);break;case"MMMMM":ft=et(rt.Months,r.Narrow);break;case"LLL":ft=et(rt.Months,r.Abbreviated,i.Standalone);break;case"LLLL":ft=et(rt.Months,r.Wide,i.Standalone);break;case"LLLLL":ft=et(rt.Months,r.Narrow,i.Standalone);break;case"w":ft=ve(1);break;case"ww":ft=ve(2);break;case"W":ft=ve(1,!0);break;case"d":ft=xt(Ct.Date,1);break;case"dd":ft=xt(Ct.Date,2);break;case"c":case"cc":ft=xt(Ct.Day,1);break;case"ccc":ft=et(rt.Days,r.Abbreviated,i.Standalone);break;case"cccc":ft=et(rt.Days,r.Wide,i.Standalone);break;case"ccccc":ft=et(rt.Days,r.Narrow,i.Standalone);break;case"cccccc":ft=et(rt.Days,r.Short,i.Standalone);break;case"E":case"EE":case"EEE":ft=et(rt.Days,r.Abbreviated);break;case"EEEE":ft=et(rt.Days,r.Wide);break;case"EEEEE":ft=et(rt.Days,r.Narrow);break;case"EEEEEE":ft=et(rt.Days,r.Short);break;case"a":case"aa":case"aaa":ft=et(rt.DayPeriods,r.Abbreviated);break;case"aaaa":ft=et(rt.DayPeriods,r.Wide);break;case"aaaaa":ft=et(rt.DayPeriods,r.Narrow);break;case"b":case"bb":case"bbb":ft=et(rt.DayPeriods,r.Abbreviated,i.Standalone,!0);break;case"bbbb":ft=et(rt.DayPeriods,r.Wide,i.Standalone,!0);break;case"bbbbb":ft=et(rt.DayPeriods,r.Narrow,i.Standalone,!0);break;case"B":case"BB":case"BBB":ft=et(rt.DayPeriods,r.Abbreviated,i.Format,!0);break;case"BBBB":ft=et(rt.DayPeriods,r.Wide,i.Format,!0);break;case"BBBBB":ft=et(rt.DayPeriods,r.Narrow,i.Format,!0);break;case"h":ft=xt(Ct.Hours,1,-12);break;case"hh":ft=xt(Ct.Hours,2,-12);break;case"H":ft=xt(Ct.Hours,1);break;case"HH":ft=xt(Ct.Hours,2);break;case"m":ft=xt(Ct.Minutes,1);break;case"mm":ft=xt(Ct.Minutes,2);break;case"s":ft=xt(Ct.Seconds,1);break;case"ss":ft=xt(Ct.Seconds,2);break;case"S":ft=xt(Ct.FractionalSeconds,1);break;case"SS":ft=xt(Ct.FractionalSeconds,2);break;case"SSS":ft=xt(Ct.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":ft=Lt(nt.Short);break;case"ZZZZZ":ft=Lt(nt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":ft=Lt(nt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":ft=Lt(nt.Long);break;default:return null}return st[Oe]=ft,ft}(Jt);Qe+=hi?hi(ri,Te,Ot):"''"===Jt?"'":Jt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Qe}function gt(Oe,ft,Te){const Mt=new Date(0);return Mt.setFullYear(Oe,ft,Te),Mt.setHours(0,0,0),Mt}function mt(Oe,ft){const Te=function T(Oe){return(0,t.cg1)(Oe)[t.wAp.LocaleId]}(Oe);if(ke[Te]=ke[Te]||{},ke[Te][ft])return ke[Te][ft];let Mt="";switch(ft){case"shortDate":Mt=W(Oe,d.Short);break;case"mediumDate":Mt=W(Oe,d.Medium);break;case"longDate":Mt=W(Oe,d.Long);break;case"fullDate":Mt=W(Oe,d.Full);break;case"shortTime":Mt=Le(Oe,d.Short);break;case"mediumTime":Mt=Le(Oe,d.Medium);break;case"longTime":Mt=Le(Oe,d.Long);break;case"fullTime":Mt=Le(Oe,d.Full);break;case"short":const ri=mt(Oe,"shortTime"),Re=mt(Oe,"shortDate");Mt=St(Ve(Oe,d.Short),[ri,Re]);break;case"medium":const ht=mt(Oe,"mediumTime"),yt=mt(Oe,"mediumDate");Mt=St(Ve(Oe,d.Medium),[ht,yt]);break;case"long":const Ot=mt(Oe,"longTime"),Qe=mt(Oe,"longDate");Mt=St(Ve(Oe,d.Long),[Ot,Qe]);break;case"full":const Jt=mt(Oe,"fullTime"),hi=mt(Oe,"fullDate");Mt=St(Ve(Oe,d.Full),[Jt,hi])}return Mt&&(ke[Te][ft]=Mt),Mt}function St(Oe,ft){return ft&&(Oe=Oe.replace(/\{([^}]+)}/g,function(Te,Mt){return null!=ft&&Mt in ft?ft[Mt]:Te})),Oe}function Ie(Oe,ft,Te="-",Mt,ri){let Re="";(Oe<0||ri&&Oe<=0)&&(ri?Oe=1-Oe:(Oe=-Oe,Re=Te));let ht=String(Oe);for(;ht.length<ft;)ht="0"+ht;return Mt&&(ht=ht.slice(ht.length-ft)),Re+ht}function xt(Oe,ft,Te=0,Mt=!1,ri=!1){return function(Re,ht){let yt=function Pe(Oe,ft){switch(Oe){case Ct.FullYear:return ft.getFullYear();case Ct.Month:return ft.getMonth();case Ct.Date:return ft.getDate();case Ct.Hours:return ft.getHours();case Ct.Minutes:return ft.getMinutes();case Ct.Seconds:return ft.getSeconds();case Ct.FractionalSeconds:return ft.getMilliseconds();case Ct.Day:return ft.getDay();default:throw new Error(`Unknown DateType value "${Oe}".`)}}(Oe,Re);if((Te>0||yt>-Te)&&(yt+=Te),Oe===Ct.Hours)0===yt&&-12===Te&&(yt=12);else if(Oe===Ct.FractionalSeconds)return function He(Oe,ft){return Ie(Oe,3).substring(0,ft)}(yt,ft);const Ot=Ke(ht,c.MinusSign);return Ie(yt,ft,Ot,Mt,ri)}}function et(Oe,ft,Te=i.Format,Mt=!1){return function(ri,Re){return function Vt(Oe,ft,Te,Mt,ri,Re){switch(Te){case rt.Months:return function n(Oe,ft,Te){const Mt=(0,t.cg1)(Oe),Re=te([Mt[t.wAp.MonthsFormat],Mt[t.wAp.MonthsStandalone]],ft);return te(Re,Te)}(ft,ri,Mt)[Oe.getMonth()];case rt.Days:return function v(Oe,ft,Te){const Mt=(0,t.cg1)(Oe),Re=te([Mt[t.wAp.DaysFormat],Mt[t.wAp.DaysStandalone]],ft);return te(Re,Te)}(ft,ri,Mt)[Oe.getDay()];case rt.DayPeriods:const ht=Oe.getHours(),yt=Oe.getMinutes();if(Re){const Qe=function De(Oe){const ft=(0,t.cg1)(Oe);return it(ft),(ft[t.wAp.ExtraData][2]||[]).map(Mt=>"string"==typeof Mt?Ze(Mt):[Ze(Mt[0]),Ze(Mt[1])])}(ft),Jt=function oe(Oe,ft,Te){const Mt=(0,t.cg1)(Oe);it(Mt);const Re=te([Mt[t.wAp.ExtraData][0],Mt[t.wAp.ExtraData][1]],ft)||[];return te(Re,Te)||[]}(ft,ri,Mt),hi=Qe.findIndex(ii=>{if(Array.isArray(ii)){const[yi,Di]=ii,Yi=ht>=yi.hours&&yt>=yi.minutes,rn=ht<Di.hours||ht===Di.hours&&yt<Di.minutes;if(yi.hours<Di.hours){if(Yi&&rn)return!0}else if(Yi||rn)return!0}else if(ii.hours===ht&&ii.minutes===yt)return!0;return!1});if(-1!==hi)return Jt[hi]}return function N(Oe,ft,Te){const Mt=(0,t.cg1)(Oe),Re=te([Mt[t.wAp.DayPeriodsFormat],Mt[t.wAp.DayPeriodsStandalone]],ft);return te(Re,Te)}(ft,ri,Mt)[ht<12?0:1];case rt.Eras:return function y(Oe,ft){return te((0,t.cg1)(Oe)[t.wAp.Eras],ft)}(ft,Mt)[Oe.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${Te}`)}}(ri,Re,Oe,ft,Te,Mt)}}function Lt(Oe){return function(ft,Te,Mt){const ri=-1*Mt,Re=Ke(Te,c.MinusSign),ht=ri>0?Math.floor(ri/60):Math.ceil(ri/60);switch(Oe){case nt.Short:return(ri>=0?"+":"")+Ie(ht,2,Re)+Ie(Math.abs(ri%60),2,Re);case nt.ShortGMT:return"GMT"+(ri>=0?"+":"")+Ie(ht,1,Re);case nt.Long:return"GMT"+(ri>=0?"+":"")+Ie(ht,2,Re)+":"+Ie(Math.abs(ri%60),2,Re);case nt.Extended:return 0===Mt?"Z":(ri>=0?"+":"")+Ie(ht,2,Re)+":"+Ie(Math.abs(ri%60),2,Re);default:throw new Error(`Unknown zone width "${Oe}"`)}}}function J(Oe){return gt(Oe.getFullYear(),Oe.getMonth(),Oe.getDate()+(4-Oe.getDay()))}function ve(Oe,ft=!1){return function(Te,Mt){let ri;if(ft){const Re=new Date(Te.getFullYear(),Te.getMonth(),1).getDay()-1,ht=Te.getDate();ri=1+Math.floor((ht+Re)/7)}else{const Re=J(Te),ht=function Ce(Oe){const ft=gt(Oe,0,1).getDay();return gt(Oe,0,1+(ft<=4?4:11)-ft)}(Re.getFullYear()),yt=Re.getTime()-ht.getTime();ri=1+Math.round(yt/6048e5)}return Ie(ri,Oe,Ke(Mt,c.MinusSign))}}function Ne(Oe,ft=!1){return function(Te,Mt){return Ie(J(Te).getFullYear(),Oe,Ke(Mt,c.MinusSign),ft)}}const st={};function Ut(Oe,ft){Oe=Oe.replace(/:/g,"");const Te=Date.parse("Jan 01, 1970 00:00:00 "+Oe)/6e4;return isNaN(Te)?ft:Te}function ai(Oe){return Oe instanceof Date&&!isNaN(Oe.valueOf())}const Bt=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function gi(Oe){const ft=parseInt(Oe);if(isNaN(ft))throw new Error("Invalid integer literal when parsing "+Oe);return ft}function di(Oe,ft){ft=encodeURIComponent(ft);for(const Te of Oe.split(";")){const Mt=Te.indexOf("="),[ri,Re]=-1==Mt?[Te,""]:[Te.slice(0,Mt),Te.slice(Mt+1)];if(ri.trim()===ft)return decodeURIComponent(Re)}return null}let ge=(()=>{class Oe{constructor(Te,Mt,ri,Re){this._iterableDiffers=Te,this._keyValueDiffers=Mt,this._ngEl=ri,this._renderer=Re,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(Te){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof Te?Te.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(Te){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof Te?Te.split(/\s+/):Te,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 Te=this._iterableDiffer.diff(this._rawClass);Te&&this._applyIterableChanges(Te)}else if(this._keyValueDiffer){const Te=this._keyValueDiffer.diff(this._rawClass);Te&&this._applyKeyValueChanges(Te)}}_applyKeyValueChanges(Te){Te.forEachAddedItem(Mt=>this._toggleClass(Mt.key,Mt.currentValue)),Te.forEachChangedItem(Mt=>this._toggleClass(Mt.key,Mt.currentValue)),Te.forEachRemovedItem(Mt=>{Mt.previousValue&&this._toggleClass(Mt.key,!1)})}_applyIterableChanges(Te){Te.forEachAddedItem(Mt=>{if("string"!=typeof Mt.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,t.AaK)(Mt.item)}`);this._toggleClass(Mt.item,!0)}),Te.forEachRemovedItem(Mt=>this._toggleClass(Mt.item,!1))}_applyClasses(Te){Te&&(Array.isArray(Te)||Te instanceof Set?Te.forEach(Mt=>this._toggleClass(Mt,!0)):Object.keys(Te).forEach(Mt=>this._toggleClass(Mt,!!Te[Mt])))}_removeClasses(Te){Te&&(Array.isArray(Te)||Te instanceof Set?Te.forEach(Mt=>this._toggleClass(Mt,!1)):Object.keys(Te).forEach(Mt=>this._toggleClass(Mt,!1)))}_toggleClass(Te,Mt){(Te=Te.trim())&&Te.split(/\s+/g).forEach(ri=>{Mt?this._renderer.addClass(this._ngEl.nativeElement,ri):this._renderer.removeClass(this._ngEl.nativeElement,ri)})}}return Oe.\u0275fac=function(Te){return new(Te||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 Wt{constructor(ft,Te,Mt,ri){this.$implicit=ft,this.ngForOf=Te,this.index=Mt,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 si=(()=>{class Oe{constructor(Te,Mt,ri){this._viewContainer=Te,this._template=Mt,this._differs=ri,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(Te){this._ngForOf=Te,this._ngForOfDirty=!0}set ngForTrackBy(Te){this._trackByFn=Te}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(Te){Te&&(this._template=Te)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Te=this._ngForOf;!this._differ&&Te&&(this._differ=this._differs.find(Te).create(this.ngForTrackBy))}if(this._differ){const Te=this._differ.diff(this._ngForOf);Te&&this._applyChanges(Te)}}_applyChanges(Te){const Mt=this._viewContainer;Te.forEachOperation((ri,Re,ht)=>{if(null==ri.previousIndex)Mt.createEmbeddedView(this._template,new Wt(ri.item,this._ngForOf,-1,-1),null===ht?void 0:ht);else if(null==ht)Mt.remove(null===Re?void 0:Re);else if(null!==Re){const yt=Mt.get(Re);Mt.move(yt,ht),Yt(yt,ri)}});for(let ri=0,Re=Mt.length;ri<Re;ri++){const yt=Mt.get(ri).context;yt.index=ri,yt.count=Re,yt.ngForOf=this._ngForOf}Te.forEachIdentityChange(ri=>{Yt(Mt.get(ri.currentIndex),ri)})}static ngTemplateContextGuard(Te,Mt){return!0}}return Oe.\u0275fac=function(Te){return new(Te||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 Yt(Oe,ft){Oe.context.$implicit=ft.item}let Qi=(()=>{class Oe{constructor(Te,Mt){this._viewContainer=Te,this._context=new yn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Mt}set ngIf(Te){this._context.$implicit=this._context.ngIf=Te,this._updateView()}set ngIfThen(Te){or("ngIfThen",Te),this._thenTemplateRef=Te,this._thenViewRef=null,this._updateView()}set ngIfElse(Te){or("ngIfElse",Te),this._elseTemplateRef=Te,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(Te,Mt){return!0}}return Oe.\u0275fac=function(Te){return new(Te||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 yn{constructor(){this.$implicit=null,this.ngIf=null}}function or(Oe,ft){if(ft&&!ft.createEmbeddedView)throw new Error(`${Oe} must be a TemplateRef, but received '${(0,t.AaK)(ft)}'.`)}class _n{constructor(ft,Te){this._viewContainerRef=ft,this._templateRef=Te,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(ft){ft&&!this._created?this.create():!ft&&this._created&&this.destroy()}}let Yr=(()=>{class Oe{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Te){this._ngSwitch=Te,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Te){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(Te)}_matchCase(Te){const Mt=Te==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Mt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Mt}_updateDefaultCases(Te){if(this._defaultViews&&Te!==this._defaultUsed){this._defaultUsed=Te;for(let Mt=0;Mt<this._defaultViews.length;Mt++)this._defaultViews[Mt].enforceState(Te)}}}return Oe.\u0275fac=function(Te){return new(Te||Oe)},Oe.\u0275dir=t.lG2({type:Oe,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),Oe})(),mr=(()=>{class Oe{constructor(Te,Mt,ri){this.ngSwitch=ri,ri._addCase(),this._view=new _n(Te,Mt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return Oe.\u0275fac=function(Te){return new(Te||Oe)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(Yr,9))},Oe.\u0275dir=t.lG2({type:Oe,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),Oe})(),jr=(()=>{class Oe{constructor(Te,Mt,ri){ri._addDefault(new _n(Te,Mt))}}return Oe.\u0275fac=function(Te){return new(Te||Oe)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(Yr,9))},Oe.\u0275dir=t.lG2({type:Oe,selectors:[["","ngSwitchDefault",""]],standalone:!0}),Oe})(),li=(()=>{class Oe{constructor(Te,Mt,ri){this._ngEl=Te,this._differs=Mt,this._renderer=ri,this._ngStyle=null,this._differ=null}set ngStyle(Te){this._ngStyle=Te,!this._differ&&Te&&(this._differ=this._differs.find(Te).create())}ngDoCheck(){if(this._differ){const Te=this._differ.diff(this._ngStyle);Te&&this._applyChanges(Te)}}_setStyle(Te,Mt){const[ri,Re]=Te.split("."),ht=-1===ri.indexOf("-")?void 0:t.JOm.DashCase;null!=Mt?this._renderer.setStyle(this._ngEl.nativeElement,ri,Re?`${Mt}${Re}`:Mt,ht):this._renderer.removeStyle(this._ngEl.nativeElement,ri,ht)}_applyChanges(Te){Te.forEachRemovedItem(Mt=>this._setStyle(Mt.key,null)),Te.forEachAddedItem(Mt=>this._setStyle(Mt.key,Mt.currentValue)),Te.forEachChangedItem(Mt=>this._setStyle(Mt.key,Mt.currentValue))}}return Oe.\u0275fac=function(Te){return new(Te||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})(),Mi=(()=>{class Oe{constructor(Te){this._viewContainerRef=Te,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Te){if(Te.ngTemplateOutlet||Te.ngTemplateOutletInjector){const Mt=this._viewContainerRef;if(this._viewRef&&Mt.remove(Mt.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ri,ngTemplateOutletContext:Re,ngTemplateOutletInjector:ht}=this;this._viewRef=Mt.createEmbeddedView(ri,Re,ht?{injector:ht}:void 0)}else this._viewRef=null}else this._viewRef&&Te.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return Oe.\u0275fac=function(Te){return new(Te||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 zi(Oe,ft){return new t.vHH(2100,!1)}class cn{createSubscription(ft,Te){return ft.subscribe({next:Te,error:Mt=>{throw Mt}})}dispose(ft){ft.unsubscribe()}}class Xn{createSubscription(ft,Te){return ft.then(Te,Mt=>{throw Mt})}dispose(ft){}}const In=new Xn,Kn=new cn;let Tn=(()=>{class Oe{constructor(Te){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Te}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Te){return this._obj?Te!==this._obj?(this._dispose(),this.transform(Te)):this._latestValue:(Te&&this._subscribe(Te),this._latestValue)}_subscribe(Te){this._obj=Te,this._strategy=this._selectStrategy(Te),this._subscription=this._strategy.createSubscription(Te,Mt=>this._updateLatestValue(Te,Mt))}_selectStrategy(Te){if((0,t.QGY)(Te))return In;if((0,t.F4k)(Te))return Kn;throw zi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Te,Mt){Te===this._obj&&(this._latestValue=Mt,this._ref.markForCheck())}}return Oe.\u0275fac=function(Te){return new(Te||Oe)(t.Y36(t.sBO,16))},Oe.\u0275pipe=t.Yjl({name:"async",type:Oe,pure:!1,standalone:!0}),Oe})(),cr=(()=>{class Oe{transform(Te){if(null==Te)return null;if("string"!=typeof Te)throw zi();return Te.toLowerCase()}}return Oe.\u0275fac=function(Te){return new(Te||Oe)},Oe.\u0275pipe=t.Yjl({name:"lowercase",type:Oe,pure:!0,standalone:!0}),Oe})();const Hr=/(?:[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 nr=(()=>{class Oe{transform(Te){if(null==Te)return null;if("string"!=typeof Te)throw zi();return Te.replace(Hr,Mt=>Mt[0].toUpperCase()+Mt.slice(1).toLowerCase())}}return Oe.\u0275fac=function(Te){return new(Te||Oe)},Oe.\u0275pipe=t.Yjl({name:"titlecase",type:Oe,pure:!0,standalone:!0}),Oe})(),ia=(()=>{class Oe{transform(Te){if(null==Te)return null;if("string"!=typeof Te)throw zi();return Te.toUpperCase()}}return Oe.\u0275fac=function(Te){return new(Te||Oe)},Oe.\u0275pipe=t.Yjl({name:"uppercase",type:Oe,pure:!0,standalone:!0}),Oe})();const br=new t.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Ma=new t.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Sa=(()=>{class Oe{constructor(Te,Mt,ri){this.locale=Te,this.defaultTimezone=Mt,this.defaultOptions=ri}transform(Te,Mt,ri,Re){if(null==Te||""===Te||Te!=Te)return null;try{return Xt(Te,Mt??this.defaultOptions?.dateFormat??"mediumDate",Re||this.locale,ri??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ht){throw zi()}}}return Oe.\u0275fac=function(Te){return new(Te||Oe)(t.Y36(t.soG,16),t.Y36(br,24),t.Y36(Ma,24))},Oe.\u0275pipe=t.Yjl({name:"date",type:Oe,pure:!0,standalone:!0}),Oe})(),yr=(()=>{class Oe{transform(Te){return JSON.stringify(Te,null,2)}}return Oe.\u0275fac=function(Te){return new(Te||Oe)},Oe.\u0275pipe=t.Yjl({name:"json",type:Oe,pure:!1,standalone:!0}),Oe})(),na=(()=>{class Oe{constructor(Te){this.differs=Te,this.keyValues=[],this.compareFn=hs}transform(Te,Mt=hs){if(!Te||!(Te instanceof Map)&&"object"!=typeof Te)return null;this.differ||(this.differ=this.differs.find(Te).create());const ri=this.differ.diff(Te),Re=Mt!==this.compareFn;return ri&&(this.keyValues=[],ri.forEachItem(ht=>{this.keyValues.push(function Fs(Oe,ft){return{key:Oe,value:ft}}(ht.key,ht.currentValue))})),(ri||Re)&&(this.keyValues.sort(Mt),this.compareFn=Mt),this.keyValues}}return Oe.\u0275fac=function(Te){return new(Te||Oe)(t.Y36(t.aQg,16))},Oe.\u0275pipe=t.Yjl({name:"keyvalue",type:Oe,pure:!1,standalone:!0}),Oe})();function hs(Oe,ft){const Te=Oe.key,Mt=ft.key;if(Te===Mt)return 0;if(void 0===Te)return 1;if(void 0===Mt)return-1;if(null===Te)return 1;if(null===Mt)return-1;if("string"==typeof Te&&"string"==typeof Mt)return Te<Mt?-1:1;if("number"==typeof Te&&"number"==typeof Mt)return Te-Mt;if("boolean"==typeof Te&&"boolean"==typeof Mt)return Te<Mt?-1:1;const ri=String(Te),Re=String(Mt);return ri==Re?0:ri<Re?-1:1}let zs=(()=>{class Oe{constructor(Te){this._locale=Te}transform(Te,Mt,ri){if(!function Ar(Oe){return!(null==Oe||""===Oe||Oe!=Oe)}(Te))return null;ri=ri||this._locale;try{return function Je(Oe,ft,Te){return function Ti(Oe,ft,Te,Mt,ri,Re,ht=!1){let yt="",Ot=!1;if(isFinite(Oe)){let Qe=function Pt(Oe){let Mt,ri,Re,ht,yt,ft=Math.abs(Oe)+"",Te=0;for((ri=ft.indexOf("."))>-1&&(ft=ft.replace(".","")),(Re=ft.search(/e/i))>0?(ri<0&&(ri=Re),ri+=+ft.slice(Re+1),ft=ft.substring(0,Re)):ri<0&&(ri=ft.length),Re=0;"0"===ft.charAt(Re);Re++);if(Re===(yt=ft.length))Mt=[0],ri=1;else{for(yt--;"0"===ft.charAt(yt);)yt--;for(ri-=Re,Mt=[],ht=0;Re<=yt;Re++,ht++)Mt[ht]=Number(ft.charAt(Re))}return ri>22&&(Mt=Mt.splice(0,21),Te=ri-1,ri=1),{digits:Mt,exponent:Te,integerLen:ri}}(Oe);ht&&(Qe=function be(Oe){if(0===Oe.digits[0])return Oe;const ft=Oe.digits.length-Oe.integerLen;return Oe.exponent?Oe.exponent+=2:(0===ft?Oe.digits.push(0,0):1===ft&&Oe.digits.push(0),Oe.integerLen+=2),Oe}(Qe));let Jt=ft.minInt,hi=ft.minFrac,ii=ft.maxFrac;if(Re){const wn=Re.match(Bt);if(null===wn)throw new Error(`${Re} is not a valid digit info`);const wr=wn[1],Br=wn[3],Ur=wn[5];null!=wr&&(Jt=gi(wr)),null!=Br&&(hi=gi(Br)),null!=Ur?ii=gi(Ur):null!=Br&&hi>ii&&(ii=hi)}!function qt(Oe,ft,Te){if(ft>Te)throw new Error(`The minimum number of digits after fraction (${ft}) is higher than the maximum (${Te}).`);let Mt=Oe.digits,ri=Mt.length-Oe.integerLen;const Re=Math.min(Math.max(ft,ri),Te);let ht=Re+Oe.integerLen,yt=Mt[ht];if(ht>0){Mt.splice(Math.max(Oe.integerLen,ht));for(let hi=ht;hi<Mt.length;hi++)Mt[hi]=0}else{ri=Math.max(0,ri),Oe.integerLen=1,Mt.length=Math.max(1,ht=Re+1),Mt[0]=0;for(let hi=1;hi<ht;hi++)Mt[hi]=0}if(yt>=5)if(ht-1<0){for(let hi=0;hi>ht;hi--)Mt.unshift(0),Oe.integerLen++;Mt.unshift(1),Oe.integerLen++}else Mt[ht-1]++;for(;ri<Math.max(0,Re);ri++)Mt.push(0);let Ot=0!==Re;const Qe=ft+Oe.integerLen,Jt=Mt.reduceRight(function(hi,ii,yi,Di){return Di[yi]=(ii+=hi)<10?ii:ii-10,Ot&&(0===Di[yi]&&yi>=Qe?Di.pop():Ot=!1),ii>=10?1:0},0);Jt&&(Mt.unshift(Jt),Oe.integerLen++)}(Qe,hi,ii);let yi=Qe.digits,Di=Qe.integerLen;const Yi=Qe.exponent;let rn=[];for(Ot=yi.every(wn=>!wn);Di<Jt;Di++)yi.unshift(0);for(;Di<0;Di++)yi.unshift(0);Di>0?rn=yi.splice(Di,yi.length):(rn=yi,yi=[0]);const dn=[];for(yi.length>=ft.lgSize&&dn.unshift(yi.splice(-ft.lgSize,yi.length).join(""));yi.length>ft.gSize;)dn.unshift(yi.splice(-ft.gSize,yi.length).join(""));yi.length&&dn.unshift(yi.join("")),yt=dn.join(Ke(Te,Mt)),rn.length&&(yt+=Ke(Te,ri)+rn.join("")),Yi&&(yt+=Ke(Te,c.Exponential)+"+"+Yi)}else yt=Ke(Te,c.Infinity);return yt=Oe<0&&!Ot?ft.negPre+yt+ft.negSuf:ft.posPre+yt+ft.posSuf,yt}(Oe,function wt(Oe,ft="-"){const Te={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Mt=Oe.split(";"),ri=Mt[0],Re=Mt[1],ht=-1!==ri.indexOf(".")?ri.split("."):[ri.substring(0,ri.lastIndexOf("0")+1),ri.substring(ri.lastIndexOf("0")+1)],yt=ht[0],Ot=ht[1]||"";Te.posPre=yt.substring(0,yt.indexOf("#"));for(let Jt=0;Jt<Ot.length;Jt++){const hi=Ot.charAt(Jt);"0"===hi?Te.minFrac=Te.maxFrac=Jt+1:"#"===hi?Te.maxFrac=Jt+1:Te.posSuf+=hi}const Qe=yt.split(",");if(Te.gSize=Qe[1]?Qe[1].length:0,Te.lgSize=Qe[2]||Qe[1]?(Qe[2]||Qe[1]).length:0,Re){const Jt=ri.length-Te.posPre.length-Te.posSuf.length,hi=Re.indexOf("#");Te.negPre=Re.substring(0,hi).replace(/'/g,""),Te.negSuf=Re.slice(hi+Jt).replace(/'/g,"")}else Te.negPre=ft+Te.posPre,Te.negSuf=Te.posSuf;return Te}(function $e(Oe,ft){return(0,t.cg1)(Oe)[t.wAp.NumberFormats][ft]}(ft,le.Decimal),Ke(ft,c.MinusSign)),ft,c.Group,c.Decimal,Te)}(function us(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}(Te),ri,Mt)}catch(Re){throw zi()}}}return Oe.\u0275fac=function(Te){return new(Te||Oe)(t.Y36(t.soG,16))},Oe.\u0275pipe=t.Yjl({name:"number",type:Oe,pure:!0,standalone:!0}),Oe})();let fs=(()=>{class Oe{transform(Te,Mt,ri){if(null==Te)return null;if(!this.supports(Te))throw zi();return Te.slice(Mt,ri)}supports(Te){return"string"==typeof Te||Array.isArray(Te)}}return Oe.\u0275fac=function(Te){return new(Te||Oe)},Oe.\u0275pipe=t.Yjl({name:"slice",type:Oe,pure:!1,standalone:!0}),Oe})(),$a=(()=>{class Oe{}return Oe.\u0275fac=function(Te){return new(Te||Oe)},Oe.\u0275mod=t.oAB({type:Oe}),Oe.\u0275inj=t.cJS({}),Oe})();const ha="browser";function Wa(Oe){return Oe===ha}function Da(Oe){return"server"===Oe}let Ra=(()=>{class Oe{}return Oe.\u0275prov=(0,t.Yz7)({token:Oe,providedIn:"root",factory:()=>new Ia((0,t.LFG)(C),window)}),Oe})();class Ia{constructor(ft,Te){this.document=ft,this.window=Te,this.offset=()=>[0,0]}setOffset(ft){this.offset=Array.isArray(ft)?()=>ft:ft}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(ft){this.supportsScrolling()&&this.window.scrollTo(ft[0],ft[1])}scrollToAnchor(ft){if(!this.supportsScrolling())return;const Te=function ts(Oe,ft){const Te=Oe.getElementById(ft)||Oe.getElementsByName(ft)[0];if(Te)return Te;if("function"==typeof Oe.createTreeWalker&&Oe.body&&(Oe.body.createShadowRoot||Oe.body.attachShadow)){const Mt=Oe.createTreeWalker(Oe.body,NodeFilter.SHOW_ELEMENT);let ri=Mt.currentNode;for(;ri;){const Re=ri.shadowRoot;if(Re){const ht=Re.getElementById(ft)||Re.querySelector(`[name="${ft}"]`);if(ht)return ht}ri=Mt.nextNode()}}return null}(this.document,ft);Te&&(this.scrollToElement(Te),Te.focus())}setHistoryScrollRestoration(ft){if(this.supportScrollRestoration()){const Te=this.window.history;Te&&Te.scrollRestoration&&(Te.scrollRestoration=ft)}}scrollToElement(ft){const Te=ft.getBoundingClientRect(),Mt=Te.left+this.window.pageXOffset,ri=Te.top+this.window.pageYOffset,Re=this.offset();this.window.scrollTo(Mt-Re[0],ri-Re[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const ft=Ea(this.window.history)||Ea(Object.getPrototypeOf(this.window.history));return!(!ft||!ft.writable&&!ft.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Ea(Oe){return Object.getOwnPropertyDescriptor(Oe,"scrollRestoration")}class ka{}},529:(ze,K,m)=>{"use strict";m.d(K,{JF:()=>Lt,LE:()=>Q,TP:()=>y,eN:()=>T});var t=m(6895),e=m(4650),g=m(9646),k=m(9751),o=m(4351),C=m(9300),h=m(4004);class P{}class u{}class I{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 Ne=ve.indexOf(":");if(Ne>0){const st=ve.slice(0,Ne),ni=st.toLowerCase(),Ut=ve.slice(Ne+1).trim();this.maybeSetNormalizedName(st,ni),this.headers.has(ni)?this.headers.get(ni).push(Ut):this.headers.set(ni,[Ut])}})}:()=>{this.headers=new Map,Object.keys(J).forEach(ve=>{let Ne=J[ve];const st=ve.toLowerCase();"string"==typeof Ne&&(Ne=[Ne]),Ne.length>0&&(this.headers.set(st,Ne),this.maybeSetNormalizedName(ve,st))})}: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 I?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 I;return ve.lazyInit=this.lazyInit&&this.lazyInit instanceof I?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 Ne=J.value;if("string"==typeof Ne&&(Ne=[Ne]),0===Ne.length)return;this.maybeSetNormalizedName(J.name,ve);const st=("a"===J.op?this.headers.get(ve):void 0)||[];st.push(...Ne),this.headers.set(ve,st);break;case"d":const ni=J.value;if(ni){let Ut=this.headers.get(ve);if(!Ut)return;Ut=Ut.filter(ti=>-1===ni.indexOf(ti)),0===Ut.length?(this.headers.delete(ve),this.normalizedNames.delete(ve)):this.headers.set(ve,Ut)}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 A{encodeKey(J){return U(J)}encodeValue(J){return U(J)}decodeKey(J){return decodeURIComponent(J)}decodeValue(J){return decodeURIComponent(J)}}const R=/%(\d[a-f0-9])/gi,E={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function U(Ce){return encodeURIComponent(Ce).replace(R,(J,ve)=>E[ve]??J)}function Y(Ce){return`${Ce}`}class Q{constructor(J={}){if(this.updates=null,this.cloneFrom=null,this.encoder=J.encoder||new A,J.fromString){if(J.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function w(Ce,J){const ve=new Map;return Ce.length>0&&Ce.replace(/^\?/,"").split("&").forEach(st=>{const ni=st.indexOf("="),[Ut,ti]=-1==ni?[J.decodeKey(st),""]:[J.decodeKey(st.slice(0,ni)),J.decodeValue(st.slice(ni+1))],dt=ve.get(Ut)||[];dt.push(ti),ve.set(Ut,dt)}),ve}(J.fromString,this.encoder)}else J.fromObject?(this.map=new Map,Object.keys(J.fromObject).forEach(ve=>{const Ne=J.fromObject[ve],st=Array.isArray(Ne)?Ne.map(Y):[Y(Ne)];this.map.set(ve,st)})):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(Ne=>{const st=J[Ne];Array.isArray(st)?st.forEach(ni=>{ve.push({param:Ne,value:ni,op:"a"})}):ve.push({param:Ne,value:st,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(Ne=>ve+"="+this.encoder.encodeValue(Ne)).join("&")}).filter(J=>""!==J).join("&")}clone(J){const ve=new Q({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(Y(J.value)),this.map.set(J.param,ve);break;case"d":if(void 0===J.value){this.map.delete(J.param);break}{let Ne=this.map.get(J.param)||[];const st=Ne.indexOf(Y(J.value));-1!==st&&Ne.splice(st,1),Ne.length>0?this.map.set(J.param,Ne):this.map.delete(J.param)}}}),this.cloneFrom=this.updates=null)}}class ${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 re(Ce){return typeof ArrayBuffer<"u"&&Ce instanceof ArrayBuffer}function ee(Ce){return typeof Blob<"u"&&Ce instanceof Blob}function ce(Ce){return typeof FormData<"u"&&Ce instanceof FormData}class le{constructor(J,ve,Ne,st){let ni;if(this.url=ve,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=J.toUpperCase(),function fe(Ce){switch(Ce){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||st?(this.body=void 0!==Ne?Ne:null,ni=st):ni=Ne,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 I),this.context||(this.context=new $),this.params){const Ut=this.params.toString();if(0===Ut.length)this.urlWithParams=ve;else{const ti=ve.indexOf("?");this.urlWithParams=ve+(-1===ti?"?":ti<ve.length-1?"&":"")+Ut}}else this.params=new Q,this.urlWithParams=ve}serializeBody(){return null===this.body?null:re(this.body)||ee(this.body)||ce(this.body)||function se(Ce){return typeof URLSearchParams<"u"&&Ce instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Q?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:ee(this.body)?this.body.type||null:re(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Q?"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,Ne=J.url||this.url,st=J.responseType||this.responseType,ni=void 0!==J.body?J.body:this.body,Ut=void 0!==J.withCredentials?J.withCredentials:this.withCredentials,ti=void 0!==J.reportProgress?J.reportProgress:this.reportProgress;let dt=J.headers||this.headers,at=J.params||this.params;const _t=J.context??this.context;return void 0!==J.setHeaders&&(dt=Object.keys(J.setHeaders).reduce((ai,Bt)=>ai.set(Bt,J.setHeaders[Bt]),dt)),J.setParams&&(at=Object.keys(J.setParams).reduce((ai,Bt)=>ai.set(Bt,J.setParams[Bt]),at)),new le(ve,Ne,ni,{params:at,headers:dt,context:_t,reportProgress:ti,responseType:st,withCredentials:Ut})}}var L=(()=>((L=L||{})[L.Sent=0]="Sent",L[L.UploadProgress=1]="UploadProgress",L[L.ResponseHeader=2]="ResponseHeader",L[L.DownloadProgress=3]="DownloadProgress",L[L.Response=4]="Response",L[L.User=5]="User",L))();class i{constructor(J,ve=200,Ne="OK"){this.headers=J.headers||new I,this.status=void 0!==J.status?J.status:ve,this.statusText=J.statusText||Ne,this.url=J.url||null,this.ok=this.status>=200&&this.status<300}}class r extends i{constructor(J={}){super(J),this.type=L.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 d extends i{constructor(J={}){super(J),this.type=L.Response,this.body=void 0!==J.body?J.body:null}clone(J={}){return new d({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 c 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 b(Ce,J){return{body:J,headers:Ce.headers,context:Ce.context,observe:Ce.observe,params:Ce.params,reportProgress:Ce.reportProgress,responseType:Ce.responseType,withCredentials:Ce.withCredentials}}let T=(()=>{class Ce{constructor(ve){this.handler=ve}request(ve,Ne,st={}){let ni;if(ve instanceof le)ni=ve;else{let dt,at;dt=st.headers instanceof I?st.headers:new I(st.headers),st.params&&(at=st.params instanceof Q?st.params:new Q({fromObject:st.params})),ni=new le(ve,Ne,void 0!==st.body?st.body:null,{headers:dt,context:st.context,params:at,reportProgress:st.reportProgress,responseType:st.responseType||"json",withCredentials:st.withCredentials})}const Ut=(0,g.of)(ni).pipe((0,o.b)(dt=>this.handler.handle(dt)));if(ve instanceof le||"events"===st.observe)return Ut;const ti=Ut.pipe((0,C.h)(dt=>dt instanceof d));switch(st.observe||"body"){case"body":switch(ni.responseType){case"arraybuffer":return ti.pipe((0,h.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,h.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,h.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,h.U)(dt=>dt.body))}case"response":return ti;default:throw new Error(`Unreachable: unhandled observe type ${st.observe}}`)}}delete(ve,Ne={}){return this.request("DELETE",ve,Ne)}get(ve,Ne={}){return this.request("GET",ve,Ne)}head(ve,Ne={}){return this.request("HEAD",ve,Ne)}jsonp(ve,Ne){return this.request("JSONP",ve,{params:(new Q).append(Ne,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ve,Ne={}){return this.request("OPTIONS",ve,Ne)}patch(ve,Ne,st={}){return this.request("PATCH",ve,b(st,Ne))}post(ve,Ne,st={}){return this.request("POST",ve,b(st,Ne))}put(ve,Ne,st={}){return this.request("PUT",ve,b(st,Ne))}}return Ce.\u0275fac=function(ve){return new(ve||Ce)(e.LFG(P))},Ce.\u0275prov=e.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();function N(Ce,J){return J(Ce)}function v(Ce,J){return(ve,Ne)=>J.intercept(ve,{handle:st=>Ce(st,Ne)})}const y=new e.OlP("HTTP_INTERCEPTORS"),B=new e.OlP("HTTP_INTERCEPTOR_FNS");function z(){let Ce=null;return(J,ve)=>(null===Ce&&(Ce=((0,e.f3M)(y,{optional:!0})??[]).reduceRight(v,N)),Ce(J,ve))}let W=(()=>{class Ce extends P{constructor(ve,Ne){super(),this.backend=ve,this.injector=Ne,this.chain=null}handle(ve){if(null===this.chain){const Ne=Array.from(new Set(this.injector.get(B)));this.chain=Ne.reduceRight((st,ni)=>function n(Ce,J,ve){return(Ne,st)=>ve.runInContext(()=>J(Ne,ni=>Ce(ni,st)))}(st,ni,this.injector),N)}return this.chain(ve,Ne=>this.backend.handle(Ne))}}return Ce.\u0275fac=function(ve){return new(ve||Ce)(e.LFG(u),e.LFG(e.lqb))},Ce.\u0275prov=e.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();const oe=/^\)\]\}',?\n/;let te=(()=>{class Ce{constructor(ve){this.xhrFactory=ve}handle(ve){if("JSONP"===ve.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new k.y(Ne=>{const st=this.xhrFactory.build();if(st.open(ve.method,ve.urlWithParams),ve.withCredentials&&(st.withCredentials=!0),ve.headers.forEach((zt,Nt)=>st.setRequestHeader(zt,Nt.join(","))),ve.headers.has("Accept")||st.setRequestHeader("Accept","application/json, text/plain, */*"),!ve.headers.has("Content-Type")){const zt=ve.detectContentTypeHeader();null!==zt&&st.setRequestHeader("Content-Type",zt)}if(ve.responseType){const zt=ve.responseType.toLowerCase();st.responseType="json"!==zt?zt:"text"}const ni=ve.serializeBody();let Ut=null;const ti=()=>{if(null!==Ut)return Ut;const zt=st.statusText||"OK",Nt=new I(st.getAllResponseHeaders()),je=function me(Ce){return"responseURL"in Ce&&Ce.responseURL?Ce.responseURL:/^X-Request-URL:/m.test(Ce.getAllResponseHeaders())?Ce.getResponseHeader("X-Request-URL"):null}(st)||ve.url;return Ut=new r({headers:Nt,status:st.status,statusText:zt,url:je}),Ut},dt=()=>{let{headers:zt,status:Nt,statusText:je,url:Fe}=ti(),Ye=null;204!==Nt&&(Ye=typeof st.response>"u"?st.responseText:st.response),0===Nt&&(Nt=Ye?200:0);let qe=Nt>=200&&Nt<300;if("json"===ve.responseType&&"string"==typeof Ye){const Tt=Ye;Ye=Ye.replace(oe,"");try{Ye=""!==Ye?JSON.parse(Ye):null}catch(mi){Ye=Tt,qe&&(qe=!1,Ye={error:mi,text:Ye})}}qe?(Ne.next(new d({body:Ye,headers:zt,status:Nt,statusText:je,url:Fe||void 0})),Ne.complete()):Ne.error(new c({error:Ye,headers:zt,status:Nt,statusText:je,url:Fe||void 0}))},at=zt=>{const{url:Nt}=ti(),je=new c({error:zt,status:st.status||0,statusText:st.statusText||"Unknown Error",url:Nt||void 0});Ne.error(je)};let _t=!1;const ai=zt=>{_t||(Ne.next(ti()),_t=!0);let Nt={type:L.DownloadProgress,loaded:zt.loaded};zt.lengthComputable&&(Nt.total=zt.total),"text"===ve.responseType&&!!st.responseText&&(Nt.partialText=st.responseText),Ne.next(Nt)},Bt=zt=>{let Nt={type:L.UploadProgress,loaded:zt.loaded};zt.lengthComputable&&(Nt.total=zt.total),Ne.next(Nt)};return st.addEventListener("load",dt),st.addEventListener("error",at),st.addEventListener("timeout",at),st.addEventListener("abort",at),ve.reportProgress&&(st.addEventListener("progress",ai),null!==ni&&st.upload&&st.upload.addEventListener("progress",Bt)),st.send(ni),Ne.next({type:L.Sent}),()=>{st.removeEventListener("error",at),st.removeEventListener("abort",at),st.removeEventListener("load",dt),st.removeEventListener("timeout",at),ve.reportProgress&&(st.removeEventListener("progress",ai),null!==ni&&st.upload&&st.upload.removeEventListener("progress",Bt)),st.readyState!==st.DONE&&st.abort()}})}}return Ce.\u0275fac=function(ve){return new(ve||Ce)(e.LFG(t.JF))},Ce.\u0275prov=e.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();const Ze=new e.OlP("XSRF_ENABLED"),Ue="XSRF-TOKEN",q=new e.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Ue}),de="X-XSRF-TOKEN",Ee=new e.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>de});class ke{}let ie=(()=>{class Ce{constructor(ve,Ne,st){this.doc=ve,this.platform=Ne,this.cookieName=st,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 Ce.\u0275fac=function(ve){return new(ve||Ce)(e.LFG(t.K0),e.LFG(e.Lbi),e.LFG(q))},Ce.\u0275prov=e.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();function nt(Ce,J){const ve=Ce.url.toLowerCase();if(!(0,e.f3M)(Ze)||"GET"===Ce.method||"HEAD"===Ce.method||ve.startsWith("http://")||ve.startsWith("https://"))return J(Ce);const Ne=(0,e.f3M)(ke).getToken(),st=(0,e.f3M)(Ee);return null!=Ne&&!Ce.headers.has(st)&&(Ce=Ce.clone({headers:Ce.headers.set(st,Ne)})),J(Ce)}var rt=(()=>((rt=rt||{})[rt.Interceptors=0]="Interceptors",rt[rt.LegacyInterceptors=1]="LegacyInterceptors",rt[rt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",rt[rt.NoXsrfProtection=3]="NoXsrfProtection",rt[rt.JsonpSupport=4]="JsonpSupport",rt[rt.RequestsMadeViaParent=5]="RequestsMadeViaParent",rt))();function Xt(Ce,J){return{\u0275kind:Ce,\u0275providers:J}}function gt(...Ce){const J=[T,te,W,{provide:P,useExisting:W},{provide:u,useExisting:te},{provide:B,useValue:nt,multi:!0},{provide:Ze,useValue:!0},{provide:ke,useClass:ie}];for(const ve of Ce)J.push(...ve.\u0275providers);return(0,e.MR2)(J)}const St=new e.OlP("LEGACY_INTERCEPTOR_FN");function He({cookieName:Ce,headerName:J}){const ve=[];return void 0!==Ce&&ve.push({provide:q,useValue:Ce}),void 0!==J&&ve.push({provide:Ee,useValue:J}),Xt(rt.CustomXsrfConfiguration,ve)}let Lt=(()=>{class Ce{}return Ce.\u0275fac=function(ve){return new(ve||Ce)},Ce.\u0275mod=e.oAB({type:Ce}),Ce.\u0275inj=e.cJS({providers:[gt(Xt(rt.LegacyInterceptors,[{provide:St,useFactory:z},{provide:B,useExisting:St,multi:!0}]),He({cookieName:Ue,headerName:de}))]}),Ce})()},4650:(ze,K,m)=>{"use strict";m.d(K,{$8M:()=>Gc,$Z:()=>dc,AFp:()=>Ep,ALo:()=>U6,AaK:()=>P,AsE:()=>Ko,BQk:()=>hu,CHM:()=>Vs,CRH:()=>X6,CZH:()=>u4,CqO:()=>jn,D6c:()=>Q8,DdM:()=>N6,Dn7:()=>G6,EJc:()=>v8,EiD:()=>Jd,EpF:()=>nf,F$t:()=>z0,F4k:()=>fu,FYo:()=>f0,FiY:()=>nc,G48:()=>Qp,Gf:()=>J6,GfV:()=>B2,GkF:()=>O3,Gpc:()=>S,Gre:()=>Q3,HOy:()=>Y3,Hsn:()=>xo,Ikx:()=>Iu,JOm:()=>Ls,JVY:()=>Vd,JZr:()=>U,Jf7:()=>Z2,KtG:()=>qo,L6k:()=>yh,LAX:()=>Ch,LFG:()=>Ft,Lbi:()=>g8,Lck:()=>kg,MAs:()=>tf,MGl:()=>Cn,MMx:()=>zf,MR2:()=>Ul,NdJ:()=>hc,O4$:()=>lo,OlP:()=>_r,Oqu:()=>Q0,P3R:()=>Th,PXZ:()=>I8,Q6J:()=>I3,QGY:()=>uu,QP$:()=>Gt,QbO:()=>Lp,Qsj:()=>lc,R0b:()=>Qo,RDi:()=>Pd,Rgc:()=>zu,SBq:()=>Qa,Sil:()=>y8,Suo:()=>am,TTD:()=>Ia,TgZ:()=>lu,Tol:()=>Mu,Udp:()=>xu,VKq:()=>Zf,W1O:()=>ip,WFA:()=>H0,WLB:()=>R6,X6Q:()=>N8,XFs:()=>Ue,Xpm:()=>Ti,Xts:()=>O2,Y36:()=>vo,YKP:()=>E6,YNc:()=>ef,Yjl:()=>gi,Yz7:()=>Ke,Z0I:()=>ye,ZZ4:()=>x4,_Bn:()=>S6,_UZ:()=>k3,_Vd:()=>ks,_c5:()=>ag,_uU:()=>W3,aQg:()=>Em,c2e:()=>_8,cJS:()=>Ae,cg1:()=>ku,d8E:()=>$3,dDg:()=>A8,dqk:()=>nt,eBb:()=>xh,eFA:()=>Gp,ekj:()=>Cu,eoX:()=>Fp,f3M:()=>Ce,g9A:()=>Ap,h0i:()=>X0,hGG:()=>K8,hYB:()=>V0,hij:()=>ro,iGM:()=>q6,ifc:()=>ai,ip1:()=>Sp,jDz:()=>A6,kEZ:()=>Wf,kL8:()=>q0,kcU:()=>ec,lG2:()=>qt,lcZ:()=>Yf,lnq:()=>Au,lqb:()=>Oc,lri:()=>Rp,mCW:()=>C1,n5z:()=>r1,n_E:()=>r4,oAB:()=>wt,oJD:()=>$d,oxw:()=>F0,pB0:()=>Bd,q3G:()=>Xr,qLn:()=>hl,qOj:()=>C3,qZA:()=>ad,qzn:()=>js,rWj:()=>Hp,s9C:()=>uc,sBO:()=>H8,sIi:()=>O0,s_b:()=>s4,soG:()=>m4,tBr:()=>Kc,tb:()=>um,tp0:()=>rc,uIk:()=>T3,vHH:()=>Y,vpe:()=>yl,wAp:()=>On,xi3:()=>jf,xp6:()=>M0,ynx:()=>du,z2F:()=>g4,z3N:()=>Ho,zSh:()=>ll,zs3:()=>Bo});var t=m(7579),e=m(727),g=m(9751),k=m(6451),o=m(3099);function C(s){for(let l in s)if(s[l]===C)return l;throw Error("Could not find renamed property on target object.")}function h(s,l){for(const p in l)l.hasOwnProperty(p)&&!s.hasOwnProperty(p)&&(s[p]=l[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 l=s.toString();if(null==l)return""+l;const p=l.indexOf("\n");return-1===p?l:l.substring(0,p)}function u(s,l){return null==s||""===s?null===l?"":l:null==l||""===l?s:s+" "+l}const I=C({__forward_ref__:C});function S(s){return s.__forward_ref__=S,s.toString=function(){return P(this())},s}function A(s){return w(s)?s():s}function w(s){return"function"==typeof s&&s.hasOwnProperty(I)&&s.__forward_ref__===S}function R(s){return s&&!!s.\u0275providers}const U="https://g.co/ng/security#xss";class Y extends Error{constructor(l,p){super(function Q(s,l){return`NG0${Math.abs(s)}${l?": "+l.trim():""}`}(l,p)),this.code=l}}function X(s){return"string"==typeof s?s:null==s?"":String(s)}function ce(s,l){throw new Y(-201,!1)}function B(s,l){null==s&&function z(s,l,p,D){throw new Error(`ASSERTION ERROR: ${s}`+(null==D?"":` [Expected=> ${p} ${D} ${l} <=Actual]`))}(l,s,null,"!=")}function Ke(s){return{token:s.token,providedIn:s.providedIn||null,factory:s.factory,value:void 0}}function Ae(s){return{providers:s.providers||[],imports:s.imports||[]}}function ue(s){return we(s,oe)||we(s,te)}function ye(s){return null!==ue(s)}function we(s,l){return s.hasOwnProperty(l)?s[l]:null}function De(s){return s&&(s.hasOwnProperty(me)||s.hasOwnProperty(Ze))?s[me]:null}const oe=C({\u0275prov:C}),me=C({\u0275inj:C}),te=C({ngInjectableDef:C}),Ze=C({ngInjectorDef:C});var Ue=(()=>((Ue=Ue||{})[Ue.Default=0]="Default",Ue[Ue.Host=1]="Host",Ue[Ue.Self=2]="Self",Ue[Ue.SkipSelf=4]="SkipSelf",Ue[Ue.Optional=8]="Optional",Ue))();let q;function Ee(s){const l=q;return q=s,l}function ke(s,l,p){const D=ue(s);return D&&"root"==D.providedIn?void 0===D.value?D.value=D.factory():D.value:p&Ue.Optional?null:void 0!==l?l: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)(),gt={},mt="__NG_DI_FLAG__",St="ngTempTokenPath",He=/\n/gm,Pe="__source";let et;function Vt(s){const l=et;return et=s,l}function Lt(s,l=Ue.Default){if(void 0===et)throw new Y(-203,!1);return null===et?ke(s,void 0,l):et.get(s,l&Ue.Optional?null:void 0,l)}function Ft(s,l=Ue.Default){return(function de(){return q}()||Lt)(A(s),l)}function Ce(s,l=Ue.Default){return Ft(s,J(l))}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 l=[];for(let p=0;p<s.length;p++){const D=A(s[p]);if(Array.isArray(D)){if(0===D.length)throw new Y(900,!1);let H,G=Ue.Default;for(let ne=0;ne<D.length;ne++){const Me=D[ne],We=st(Me);"number"==typeof We?-1===We?H=Me.token:G|=We:H=Me}l.push(Ft(H,G))}else l.push(Ft(D))}return l}function Ne(s,l){return s[mt]=l,s.prototype[mt]=l,s}function st(s){return s[mt]}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 Bt={},zt=[],Nt=C({\u0275cmp:C}),je=C({\u0275dir:C}),Fe=C({\u0275pipe:C}),Ye=C({\u0275mod:C}),qe=C({\u0275fac:C}),Tt=C({__NG_ELEMENT_ID__:C});let mi=0;function Ti(s){return ti(()=>{const p=!0===s.standalone,D={},H={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:D,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||zt,viewQuery:s.viewQuery||null,features:s.features||null,data:s.data||{},encapsulation:s.encapsulation||ai.Emulated,id:"c"+mi++,styles:s.styles||zt,_:null,setInput:null,schemas:s.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},G=s.dependencies,ne=s.features;return H.inputs=Pt(s.inputs,D),H.outputs=Pt(s.outputs),ne&&ne.forEach(Me=>Me(H)),H.directiveDefs=G?()=>("function"==typeof G?G():G).map(Fi).filter(Je):null,H.pipeDefs=G?()=>("function"==typeof G?G():G).map(Gi).filter(Je):null,H})}function Fi(s){return Si(s)||ki(s)}function Je(s){return null!==s}function wt(s){return ti(()=>({type:s.type,bootstrap:s.bootstrap||zt,declarations:s.declarations||zt,imports:s.imports||zt,exports:s.exports||zt,transitiveCompileScopes:null,schemas:s.schemas||null,id:s.id||null}))}function Pt(s,l){if(null==s)return Bt;const p={};for(const D in s)if(s.hasOwnProperty(D)){let H=s[D],G=H;Array.isArray(H)&&(G=H[1],H=H[0]),p[H]=D,l&&(l[H]=G)}return p}const qt=Ti;function gi(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 Si(s){return s[Nt]||null}function ki(s){return s[je]||null}function Gi(s){return s[Fe]||null}function Gt(s){const l=Si(s)||ki(s)||Gi(s);return null!==l&&l.standalone}function di(s,l){const p=s[Ye]||null;if(!p&&!0===l)throw new Error(`Type ${P(s)} does not have '\u0275mod' property.`);return p}function rr(s){return Array.isArray(s)&&"object"==typeof s[1]}function br(s){return Array.isArray(s)&&!0===s[1]}function Ma(s){return 0!=(4&s.flags)}function Sa(s){return s.componentOffset>-1}function Kr(s){return 1==(1&s.flags)}function tr(s){return null!==s.template}function Fr(s){return 0!=(256&s[2])}function ra(s,l){return s.hasOwnProperty(qe)?s[qe]:null}class Ra{constructor(l,p,D){this.previousValue=l,this.currentValue=p,this.firstChange=D}isFirstChange(){return this.firstChange}}function Ia(){return Ea}function Ea(s){return s.type.prototype.ngOnChanges&&(s.setInput=zr),ts}function ts(){const s=xr(this),l=s?.current;if(l){const p=s.previous;if(p===Bt)s.previous=l;else for(let D in l)p[D]=l[D];s.current=null,this.ngOnChanges(l)}}function zr(s,l,p,D){const H=this.declaredInputs[p],G=xr(s)||function qr(s,l){return s[ka]=l}(s,{previous:Bt,current:null}),ne=G.current||(G.current={}),Me=G.previous,We=Me[H];ne[H]=new Ra(We&&We.currentValue,l,Me===Bt),s[D]=l}Ia.ngInherit=!0;const ka="__ngSimpleChanges__";function xr(s){return s[ka]||null}function Wn(s){for(;Array.isArray(s);)s=s[0];return s}function Cr(s,l){return Wn(l[s])}function ir(s,l){return Wn(l[s.index])}function Rt(s,l){return s.data[l]}function fi(s,l){return s[l]}function vt(s,l){const p=l[s];return rr(p)?p:p[0]}function Hi(s){return 64==(64&s[2])}function Yn(s,l){return null==l?null:s[l]}function pr(s){s[18]=0}function qi(s,l){s[5]+=l;let p=s,D=s[3];for(;null!==D&&(1===l&&1===p[5]||-1===l&&0===p[5]);)D[5]+=l,p=D,D=D[3]}const xn={lFrame:So(null),bindingsEnabled:!0};function Ei(){return xn.bindingsEnabled}function Oi(){return xn.lFrame.lView}function Fn(){return xn.lFrame.tView}function Vs(s){return xn.lFrame.contextLView=s,s[8]}function qo(s){return xn.lFrame.contextLView=null,s}function Vr(){let s=Ms();for(;null!==s&&64===s.type;)s=s.parent;return s}function Ms(){return xn.lFrame.currentTNode}function fa(s,l){const p=xn.lFrame;p.currentTNode=s,p.isParent=l}function Bs(){return xn.lFrame.isParent}function ns(){xn.lFrame.isParent=!1}function kn(){const s=xn.lFrame;let l=s.bindingRootIndex;return-1===l&&(l=s.bindingRootIndex=s.tView.bindingStartIndex),l}function Pi(){return xn.lFrame.bindingIndex}function gs(){return xn.lFrame.bindingIndex++}function Vi(s){const l=xn.lFrame,p=l.bindingIndex;return l.bindingIndex=l.bindingIndex+s,p}function so(s,l){const p=xn.lFrame;p.bindingIndex=p.bindingRootIndex=s,Mo(l)}function Mo(s){xn.lFrame.currentDirectiveIndex=s}function oo(s){const l=xn.lFrame.currentDirectiveIndex;return-1===l?null:s[l]}function co(){return xn.lFrame.currentQueryIndex}function gc(s){xn.lFrame.currentQueryIndex=s}function Vc(s){const l=s[1];return 2===l.type?l.declTNode:1===l.type?s[6]:null}function _c(s,l,p){if(p&Ue.SkipSelf){let H=l,G=s;for(;!(H=H.parent,null!==H||p&Ue.Host||(H=Vc(G),null===H||(G=G[15],10&H.type))););if(null===H)return!1;l=H,s=G}const D=xn.lFrame=$o();return D.currentTNode=l,D.lView=s,!0}function Xo(s){const l=$o(),p=s[1];xn.lFrame=l,l.currentTNode=p.firstChild,l.lView=s,l.tView=p,l.contextLView=s,l.bindingIndex=p.bindingStartIndex,l.inI18n=!1}function $o(){const s=xn.lFrame,l=null===s?null:s.child;return null===l?So(s):l}function So(s){const l={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=l),l}function Eo(){const s=xn.lFrame;return xn.lFrame=s.parent,s.currentTNode=null,s.lView=null,s}const Lr=Eo;function rs(){const s=Eo();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 oa(s){xn.lFrame.selectedIndex=s}function sr(){const s=xn.lFrame;return Rt(s.tView,s.selectedIndex)}function lo(){xn.lFrame.currentNamespace="svg"}function ec(){!function Bn(){xn.lFrame.currentNamespace=null}()}function ft(s,l){for(let p=l.directiveStart,D=l.directiveEnd;p<D;p++){const G=s.data[p].type.prototype,{ngAfterContentInit:ne,ngAfterContentChecked:Me,ngAfterViewInit:We,ngAfterViewChecked:ut,ngOnDestroy:It}=G;ne&&(s.contentHooks||(s.contentHooks=[])).push(-p,ne),Me&&((s.contentHooks||(s.contentHooks=[])).push(p,Me),(s.contentCheckHooks||(s.contentCheckHooks=[])).push(p,Me)),We&&(s.viewHooks||(s.viewHooks=[])).push(-p,We),ut&&((s.viewHooks||(s.viewHooks=[])).push(p,ut),(s.viewCheckHooks||(s.viewCheckHooks=[])).push(p,ut)),null!=It&&(s.destroyHooks||(s.destroyHooks=[])).push(p,It)}}function Te(s,l,p){Re(s,l,3,p)}function Mt(s,l,p,D){(3&s[2])===p&&Re(s,l,p,D)}function ri(s,l){let p=s[2];(3&p)===l&&(p&=2047,p+=1,s[2]=p)}function Re(s,l,p,D){const G=D??-1,ne=l.length-1;let Me=0;for(let We=void 0!==D?65535&s[18]:0;We<ne;We++)if("number"==typeof l[We+1]){if(Me=l[We],null!=D&&Me>=D)break}else l[We]<0&&(s[18]+=65536),(Me<G||-1==G)&&(ht(s,p,l,We),s[18]=(4294901760&s[18])+We+2),We++}function ht(s,l,p,D){const H=p[D]<0,G=p[D+1],Me=s[H?-p[D]:p[D]];if(H){if(s[2]>>11<s[18]>>16&&(3&s[2])===l){s[2]+=2048;try{G.call(Me)}finally{}}}else try{G.call(Me)}finally{}}class Ot{constructor(l,p,D){this.factory=l,this.resolving=!1,this.canSeeViewProviders=p,this.injectImpl=D}}function dn(s,l,p){let D=0;for(;D<p.length;){const H=p[D];if("number"==typeof H){if(0!==H)break;D++;const G=p[D++],ne=p[D++],Me=p[D++];s.setAttribute(l,ne,Me,G)}else{const G=H,ne=p[++D];wr(G)?s.setProperty(l,G,ne):s.setAttribute(l,G,ne),D++}}return D}function wn(s){return 3===s||4===s||6===s}function wr(s){return 64===s.charCodeAt(0)}function Br(s,l){if(null!==l&&0!==l.length)if(null===s||0===s.length)s=l.slice();else{let p=-1;for(let D=0;D<l.length;D++){const H=l[D];"number"==typeof H?p=H:0===p||Ur(s,p,H,null,-1===p||2===p?l[++D]:null)}}return s}function Ur(s,l,p,D,H){let G=0,ne=s.length;if(-1===l)ne=-1;else for(;G<s.length;){const Me=s[G++];if("number"==typeof Me){if(Me===l){ne=-1;break}if(Me>l){ne=G-1;break}}}for(;G<s.length;){const Me=s[G];if("number"==typeof Me)break;if(Me===p){if(null===D)return void(null!==H&&(s[G+1]=H));if(D===s[G+1])return void(s[G+2]=H)}G++,null!==D&&G++,null!==H&&G++}-1!==ne&&(s.splice(ne,0,l),G=ne+1),s.splice(G++,0,p),null!==D&&s.splice(G++,0,D),null!==H&&s.splice(G++,0,H)}function Gr(s){return-1!==s}function Or(s){return 32767&s}function ma(s,l){let p=function Ir(s){return s>>16}(s),D=l;for(;p>0;)D=D[15],p--;return D}let Mr=!0;function as(s){const l=Mr;return Mr=s,l}let Cl=0;const os={};function Bc(s,l){const p=X1(s,l);if(-1!==p)return p;const D=l[1];D.firstCreatePass&&(s.injectorIndex=l.length,Uc(D.data,s),Uc(l,null),Uc(D.blueprint,null));const H=Ml(s,l),G=s.injectorIndex;if(Gr(H)){const ne=Or(H),Me=ma(H,l),We=Me[1].data;for(let ut=0;ut<8;ut++)l[G+ut]=Me[ne+ut]|We[ne+ut]}return l[G+8]=H,G}function Uc(s,l){s.push(0,0,0,0,0,0,0,0,l)}function X1(s,l){return-1===s.injectorIndex||s.parent&&s.parent.injectorIndex===s.injectorIndex||null===l[s.injectorIndex+8]?-1:s.injectorIndex}function Ml(s,l){if(s.parent&&-1!==s.parent.injectorIndex)return s.parent.injectorIndex;let p=0,D=null,H=l;for(;null!==H;){if(D=Ll(H),null===D)return-1;if(p++,H=H[15],-1!==D.injectorIndex)return D.injectorIndex|p<<16}return-1}function Sl(s,l,p){!function wl(s,l,p){let D;"string"==typeof p?D=p.charCodeAt(0)||0:p.hasOwnProperty(Tt)&&(D=p[Tt]),null==D&&(D=p[Tt]=Cl++);const H=255&D;l.data[s+(H>>5)]|=1<<H}(s,l,p)}function El(s,l,p){if(p&Ue.Optional||void 0!==s)return s;ce()}function To(s,l,p,D){if(p&Ue.Optional&&void 0===D&&(D=null),0==(p&(Ue.Self|Ue.Host))){const H=s[9],G=Ee(void 0);try{return H?H.get(l,D,p&Ue.Optional):ke(l,D,p&Ue.Optional)}finally{Ee(G)}}return El(D,0,p)}function $1(s,l,p,D=Ue.Default,H){if(null!==s){if(1024&l[2]){const ne=function a1(s,l,p,D,H){let G=s,ne=l;for(;null!==G&&null!==ne&&1024&ne[2]&&!(256&ne[2]);){const Me=Tl(G,ne,p,D|Ue.Self,os);if(Me!==os)return Me;let We=G.parent;if(!We){const ut=ne[21];if(ut){const It=ut.get(p,os,D);if(It!==os)return It}We=Ll(ne),ne=ne[15]}G=We}return H}(s,l,p,D,os);if(ne!==os)return ne}const G=Tl(s,l,p,D,os);if(G!==os)return G}return To(l,p,D,H)}function Tl(s,l,p,D,H){const G=function e2(s){if("string"==typeof s)return s.charCodeAt(0)||0;const l=s.hasOwnProperty(Tt)?s[Tt]:void 0;return"number"==typeof l?l>=0?255&l:Zs:l}(p);if("function"==typeof G){if(!_c(l,s,D))return D&Ue.Host?El(H,0,D):To(l,p,D,H);try{const ne=G(D);if(null!=ne||D&Ue.Optional)return ne;ce()}finally{Lr()}}else if("number"==typeof G){let ne=null,Me=X1(s,l),We=-1,ut=D&Ue.Host?l[16][6]:null;for((-1===Me||D&Ue.SkipSelf)&&(We=-1===Me?Ml(s,l):l[Me+8],-1!==We&&Io(D,!1)?(ne=l[1],Me=Or(We),l=ma(We,l)):Me=-1);-1!==Me;){const It=l[1];if(t2(G,Me,It.data)){const $t=Ao(Me,l,p,ne,D,ut);if($t!==os)return $t}We=l[Me+8],-1!==We&&Io(D,l[1].data[Me+8]===ut)&&t2(G,Me,l)?(ne=It,Me=Or(We),l=ma(We,l)):Me=-1}}return H}function Ao(s,l,p,D,H,G){const ne=l[1],Me=ne.data[s+8],It=Lo(Me,ne,p,null==D?Sa(Me)&&Mr:D!=ne&&0!=(3&Me.type),H&Ue.Host&&G===Me);return null!==It?Do(l,ne,It,Me):os}function Lo(s,l,p,D,H){const G=s.providerIndexes,ne=l.data,Me=1048575&G,We=s.directiveStart,It=G>>20,_i=H?Me+It:s.directiveEnd;for(let Ci=D?Me:Me+It;Ci<_i;Ci++){const Ni=ne[Ci];if(Ci<We&&p===Ni||Ci>=We&&Ni.type===p)return Ci}if(H){const Ci=ne[We];if(Ci&&tr(Ci)&&Ci.type===p)return We}return null}function Do(s,l,p,D){let H=s[p];const G=l.data;if(function Qe(s){return s instanceof Ot}(H)){const ne=H;ne.resolving&&function fe(s,l){const p=l?`. Dependency path: ${l.join(" > ")} > ${s}`:"";throw new Y(-200,`Circular dependency in DI detected for ${s}${p}`)}(function $(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)}(G[p]));const Me=as(ne.canSeeViewProviders);ne.resolving=!0;const We=ne.injectImpl?Ee(ne.injectImpl):null;_c(s,D,Ue.Default);try{H=s[p]=ne.factory(void 0,G,s,D),l.firstCreatePass&&p>=D.directiveStart&&function Oe(s,l,p){const{ngOnChanges:D,ngOnInit:H,ngDoCheck:G}=l.type.prototype;if(D){const ne=Ea(l);(p.preOrderHooks||(p.preOrderHooks=[])).push(s,ne),(p.preOrderCheckHooks||(p.preOrderCheckHooks=[])).push(s,ne)}H&&(p.preOrderHooks||(p.preOrderHooks=[])).push(0-s,H),G&&((p.preOrderHooks||(p.preOrderHooks=[])).push(s,G),(p.preOrderCheckHooks||(p.preOrderCheckHooks=[])).push(s,G))}(p,G[p],l)}finally{null!==We&&Ee(We),as(Me),ne.resolving=!1,Lr()}}return H}function t2(s,l,p){return!!(p[l+(s>>5)]&1<<s)}function Io(s,l){return!(s&Ue.Self||s&Ue.Host&&l)}class cs{constructor(l,p){this._tNode=l,this._lView=p}get(l,p,D){return $1(this._tNode,this._lView,l,J(D),p)}}function Zs(){return new cs(Vr(),Oi())}function r1(s){return ti(()=>{const l=s.prototype.constructor,p=l[qe]||Al(l),D=Object.prototype;let H=Object.getPrototypeOf(s.prototype).constructor;for(;H&&H!==D;){const G=H[qe]||Al(H);if(G&&G!==p)return G;H=Object.getPrototypeOf(H)}return G=>new G})}function Al(s){return w(s)?()=>{const l=Al(A(s));return l&&l()}:ra(s)}function Ll(s){const l=s[1],p=l.type;return 2===p?l.declTNode:1===p?s[6]:null}function Gc(s){return function vc(s,l){if("class"===l)return s.classes;if("style"===l)return s.styles;const p=s.attrs;if(p){const D=p.length;let H=0;for(;H<D;){const G=p[H];if(wn(G))break;if(0===G)H+=2;else if("number"==typeof G)for(H++;H<D&&"string"==typeof p[H];)H++;else{if(G===l)return p[H+1];H+=2}}}return null}(Vr(),s)}const Ha="__parameters__";function ko(s,l,p){return ti(()=>{const D=function Il(s){return function(...p){if(s){const D=s(...p);for(const H in D)this[H]=D[H]}}}(l);function H(...G){if(this instanceof H)return D.apply(this,G),this;const ne=new H(...G);return Me.annotation=ne,Me;function Me(We,ut,It){const $t=We.hasOwnProperty(Ha)?We[Ha]:Object.defineProperty(We,Ha,{value:[]})[Ha];for(;$t.length<=It;)$t.push(null);return($t[It]=$t[It]||[]).push(ne),We}}return p&&(H.prototype=Object.create(p.prototype)),H.prototype.ngMetadataName=s,H.annotationCls=H,H})}class _r{constructor(l,p){this._desc=l,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof p?this.__NG_ELEMENT_ID__=p:void 0!==p&&(this.\u0275prov=Ke({token:this,providedIn:p.providedIn||"root",factory:p.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function sn(s,l){s.forEach(p=>Array.isArray(p)?sn(p,l):l(p))}function $i(s,l,p){l>=s.length?s.push(p):s.splice(l,0,p)}function on(s,l){return l>=s.length-1?s.pop():s.splice(l,1)[0]}function En(s,l){const p=[];for(let D=0;D<s;D++)p.push(l);return p}function Zr(s,l,p){let D=ho(s,l);return D>=0?s[1|D]=p:(D=~D,function lr(s,l,p,D){let H=s.length;if(H==l)s.push(p,D);else if(1===H)s.push(D,s[0]),s[0]=p;else{for(H--,s.push(s[H-1],s[H]);H>l;)s[H]=s[H-2],H--;s[l]=p,s[l+1]=D}}(s,D,l,p)),D}function Ws(s,l){const p=ho(s,l);if(p>=0)return s[1|p]}function ho(s,l){return function za(s,l,p){let D=0,H=s.length>>p;for(;H!==D;){const G=D+(H-D>>1),ne=s[G<<p];if(l===ne)return G<<p;ne>l?H=G:D=G+1}return~(H<<p)}(s,l,1)}const Kc=Ne(ko("Inject",s=>({token:s})),-1),nc=Ne(ko("Optional"),8),rc=Ne(ko("SkipSelf"),4);var Ls=(()=>((Ls=Ls||{})[Ls.Important=1]="Important",Ls[Ls.DashCase=2]="DashCase",Ls))();const m2=new Map;let yd=0;const h1="__ngContext__";function Ka(s,l){rr(l)?(s[h1]=l[20],function oh(s){m2.set(s[20],s)}(l)):s[h1]=l}function u1(s,l){return undefined(s,l)}function Nl(s){const l=s[3];return br(l)?l[3]:l}function tl(s){return b2(s[13])}function Mc(s){return b2(s[4])}function b2(s){for(;null!==s&&!br(s);)s=s[4];return s}function to(s,l,p,D,H){if(null!=D){let G,ne=!1;br(D)?G=D:rr(D)&&(ne=!0,D=D[0]);const Me=Wn(D);0===s&&null!==p?null==H?Ec(l,p,Me):Sc(l,p,Me,H||null,!0):1===s&&null!==p?Sc(l,p,Me,H||null,!0):2===s?function C2(s,l,p){const D=v1(s,l);D&&function Tc(s,l,p,D){s.removeChild(l,p,D)}(s,D,l,p)}(l,Me,ne):3===s&&l.destroyNode(Me),null!=G&&function fh(s,l,p,D,H){const G=p[7];G!==Wn(p)&&to(l,s,D,G,H);for(let Me=10;Me<p.length;Me++){const We=p[Me];Fl(We[1],We,s,l,D,G)}}(l,s,G,p,H)}}function p1(s,l,p){return s.createElement(l,p)}function nl(s,l){const p=s[9],D=p.indexOf(l),H=l[3];512&l[2]&&(l[2]&=-513,qi(H,-1)),p.splice(D,1)}function y2(s,l){if(s.length<=10)return;const p=10+l,D=s[p];if(D){const H=D[17];null!==H&&H!==s&&nl(H,D),l>0&&(s[p-1][4]=D[4]);const G=on(s,10+l);!function oc(s,l){Fl(s,l,l[11],2,null,null),l[0]=null,l[6]=null}(D[1],D);const ne=G[19];null!==ne&&ne.detachView(G[1]),D[3]=null,D[4]=null,D[2]&=-65}return D}function g1(s,l){if(!(128&l[2])){const p=l[11];p.destroyNode&&Fl(s,l,p,3,null,null),function Ju(s){let l=s[13];if(!l)return Is(s[1],s);for(;l;){let p=null;if(rr(l))p=l[13];else{const D=l[10];D&&(p=D)}if(!p){for(;l&&!l[4]&&l!==s;)rr(l)&&Is(l[1],l),l=l[3];null===l&&(l=s),rr(l)&&Is(l[1],l),p=l&&l[4]}l=p}}(l)}}function Is(s,l){if(!(128&l[2])){l[2]&=-65,l[2]|=128,function x2(s,l){let p;if(null!=s&&null!=(p=s.destroyHooks))for(let D=0;D<p.length;D+=2){const H=l[p[D]];if(!(H instanceof Ot)){const G=p[D+1];if(Array.isArray(G))for(let ne=0;ne<G.length;ne+=2){const Me=H[G[ne]],We=G[ne+1];try{We.call(Me)}finally{}}else try{G.call(H)}finally{}}}}(s,l),function $u(s,l){const p=s.cleanup,D=l[7];let H=-1;if(null!==p)for(let G=0;G<p.length-1;G+=2)if("string"==typeof p[G]){const ne=p[G+3];ne>=0?D[H=ne]():D[H=-ne].unsubscribe(),G+=2}else{const ne=D[H=p[G+1]];p[G].call(ne)}if(null!==D){for(let G=H+1;G<D.length;G++)(0,D[G])();l[7]=null}}(s,l),1===l[1].type&&l[11].destroy();const p=l[17];if(null!==p&&br(l[3])){p!==l[3]&&nl(p,l);const D=l[19];null!==D&&D.detachView(s)}!function Yu(s){m2.delete(s[20])}(l)}}function uh(s,l,p){return function Ed(s,l,p){let D=l;for(;null!==D&&40&D.type;)D=(l=D).parent;if(null===D)return p[0];{const{componentOffset:H}=D;if(H>-1){const{encapsulation:G}=s.data[D.directiveStart+H];if(G===ai.None||G===ai.Emulated)return null}return ir(D,p)}}(s,l.parent,p)}function Sc(s,l,p,D,H){s.insertBefore(l,p,D,H)}function Ec(s,l,p){s.appendChild(l,p)}function _1(s,l,p,D,H){null!==D?Sc(s,l,p,D,H):Ec(s,l,p)}function v1(s,l){return s.parentNode(l)}function Ta(s,l,p){return Ac(s,l,p)}let zl,x1,Vl,Ac=function Ad(s,l,p){return 40&s.type?ir(s,p):null};function cc(s,l,p,D){const H=uh(s,D,l),G=l[11],Me=Ta(D.parent||l[6],D,l);if(null!=H)if(Array.isArray(p))for(let We=0;We<p.length;We++)_1(G,H,p[We],Me,!1);else _1(G,H,p,Me,!1)}function Ro(s,l){if(null!==l){const p=l.type;if(3&p)return ir(l,s);if(4&p)return b1(-1,s[l.index]);if(8&p){const D=l.child;if(null!==D)return Ro(s,D);{const H=s[l.index];return br(H)?b1(-1,H):Wn(H)}}if(32&p)return u1(l,s)()||Wn(s[l.index]);{const D=Dd(s,l);return null!==D?Array.isArray(D)?D[0]:Ro(Nl(s[16]),D):Ro(s,l.next)}}return null}function Dd(s,l){return null!==l?s[16][6].projection[l.projection]:null}function b1(s,l){const p=10+s+1;if(p<l.length){const D=l[p],H=D[1].firstChild;if(null!==H)return Ro(D,H)}return l[7]}function w2(s,l,p,D,H,G,ne){for(;null!=p;){const Me=D[p.index],We=p.type;if(ne&&0===l&&(Me&&Ka(Wn(Me),D),p.flags|=2),32!=(32&p.flags))if(8&We)w2(s,l,p.child,D,H,G,!1),to(l,s,H,Me,G);else if(32&We){const ut=u1(p,D);let It;for(;It=ut();)to(l,s,H,It,G);to(l,s,H,Me,G)}else 16&We?M2(s,l,D,p,H,G):to(l,s,H,Me,G);p=ne?p.projectionNext:p.next}}function Fl(s,l,p,D,H,G){w2(p,D,s.firstChild,l,H,G,!1)}function M2(s,l,p,D,H,G){const ne=p[16],We=ne[6].projection[D.projection];if(Array.isArray(We))for(let ut=0;ut<We.length;ut++)to(l,s,H,We[ut],G);else w2(s,l,We,ne[3],H,G,!0)}function S2(s,l,p){""===p?s.removeAttribute(l,"class"):s.setAttribute(l,"class",p)}function E2(s,l,p){const{mergedAttrs:D,classes:H,styles:G}=p;null!==D&&dn(s,l,D),null!==H&&S2(s,l,H),null!==G&&function kd(s,l,p){s.setAttribute(l,"style",p)}(s,l,G)}function Lc(s){return function y1(){if(void 0===zl&&(zl=null,nt.trustedTypes))try{zl=nt.trustedTypes.createPolicy("angular",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch{}return zl}()?.createHTML(s)||s}function Pd(s){x1=s}function T2(){if(void 0===Vl&&(Vl=null,nt.trustedTypes))try{Vl=nt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch{}return Vl}function A2(s){return T2()?.createHTML(s)||s}function Dc(s){return T2()?.createScriptURL(s)||s}class Ic{constructor(l){this.changingThisBreaksApplicationSecurity=l}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${U})`}}class Hd extends Ic{getTypeName(){return"HTML"}}class _h extends Ic{getTypeName(){return"Style"}}class Fd extends Ic{getTypeName(){return"Script"}}class zd extends Ic{getTypeName(){return"URL"}}class vh extends Ic{getTypeName(){return"ResourceURL"}}function Ho(s){return s instanceof Ic?s.changingThisBreaksApplicationSecurity:s}function js(s,l){const p=function bh(s){return s instanceof Ic&&s.getTypeName()||null}(s);if(null!=p&&p!==l){if("ResourceURL"===p&&"URL"===l)return!0;throw new Error(`Required a safe ${l}, got a ${p} (see ${U})`)}return p===l}function Vd(s){return new Hd(s)}function yh(s){return new _h(s)}function xh(s){return new Fd(s)}function Ch(s){return new zd(s)}function Bd(s){return new vh(s)}class wh{constructor(l){this.inertDocumentHelper=l}getInertBodyElement(l){l="<body><remove></remove>"+l;try{const p=(new window.DOMParser).parseFromString(Lc(l),"text/html").body;return null===p?this.inertDocumentHelper.getInertBodyElement(l):(p.removeChild(p.firstChild),p)}catch{return null}}}class Mh{constructor(l){if(this.defaultDoc=l,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const p=this.inertDocument.createElement("html");this.inertDocument.appendChild(p);const D=this.inertDocument.createElement("body");p.appendChild(D)}}getInertBodyElement(l){const p=this.inertDocument.createElement("template");if("content"in p)return p.innerHTML=Lc(l),p;const D=this.inertDocument.createElement("body");return D.innerHTML=Lc(l),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(D),D}stripCustomNsAttrs(l){const p=l.attributes;for(let H=p.length-1;0<H;H--){const ne=p.item(H).name;("xmlns:ns1"===ne||0===ne.indexOf("ns1:"))&&l.removeAttribute(ne)}let D=l.firstChild;for(;D;)D.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(D),D=D.nextSibling}}const Zd=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function C1(s){return(s=String(s)).match(Zd)?s:"unsafe:"+s}function po(s){const l={};for(const p of s.split(","))l[p]=!0;return l}function Bl(...s){const l={};for(const p of s)for(const D in p)p.hasOwnProperty(D)&&(l[D]=!0);return l}const Wd=po("area,br,col,hr,img,wbr"),Yd=po("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),w1=po("rp,rt"),L2=Bl(Wd,Bl(Yd,po("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")),Bl(w1,po("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")),Bl(w1,Yd)),M1=po("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),D2=Bl(M1,po("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"),po("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")),Kd=po("script,style,template");class Qd{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(l){let p=l.firstChild,D=!0;for(;p;)if(p.nodeType===Node.ELEMENT_NODE?D=this.startElement(p):p.nodeType===Node.TEXT_NODE?this.chars(p.nodeValue):this.sanitizedSomething=!0,D&&p.firstChild)p=p.firstChild;else for(;p;){p.nodeType===Node.ELEMENT_NODE&&this.endElement(p);let H=this.checkClobberedElement(p,p.nextSibling);if(H){p=H;break}p=this.checkClobberedElement(p,p.parentNode)}return this.buf.join("")}startElement(l){const p=l.nodeName.toLowerCase();if(!L2.hasOwnProperty(p))return this.sanitizedSomething=!0,!Kd.hasOwnProperty(p);this.buf.push("<"),this.buf.push(p);const D=l.attributes;for(let H=0;H<D.length;H++){const G=D.item(H),ne=G.name,Me=ne.toLowerCase();if(!D2.hasOwnProperty(Me)){this.sanitizedSomething=!0;continue}let We=G.value;M1[Me]&&(We=C1(We)),this.buf.push(" ",ne,'="',I2(We),'"')}return this.buf.push(">"),!0}endElement(l){const p=l.nodeName.toLowerCase();L2.hasOwnProperty(p)&&!Wd.hasOwnProperty(p)&&(this.buf.push("</"),this.buf.push(p),this.buf.push(">"))}chars(l){this.buf.push(I2(l))}checkClobberedElement(l,p){if(p&&(l.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${l.outerHTML}`);return p}}const qd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rl=/([^\#-~ |!])/g;function I2(s){return s.replace(/&/g,"&").replace(qd,function(l){return"&#"+(1024*(l.charCodeAt(0)-55296)+(l.charCodeAt(1)-56320)+65536)+";"}).replace(rl,function(l){return"&#"+l.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let S1;function Jd(s,l){let p=null;try{S1=S1||function Ud(s){const l=new Mh(s);return function Gd(){try{return!!(new window.DOMParser).parseFromString(Lc(""),"text/html")}catch{return!1}}()?new wh(l):l}(s);let D=l?String(l):"";p=S1.getInertBodyElement(D);let H=5,G=D;do{if(0===H)throw new Error("Failed to sanitize html because the input is unstable");H--,D=G,G=p.innerHTML,p=S1.getInertBodyElement(D)}while(D!==G);return Lc((new Qd).sanitizeChildren(k2(p)||p))}finally{if(p){const D=k2(p)||p;for(;D.firstChild;)D.removeChild(D.firstChild)}}}function k2(s){return"content"in s&&function Xd(s){return s.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===s.nodeName}(s)?s.content:null}var Xr=(()=>((Xr=Xr||{})[Xr.NONE=0]="NONE",Xr[Xr.HTML=1]="HTML",Xr[Xr.STYLE=2]="STYLE",Xr[Xr.SCRIPT=3]="SCRIPT",Xr[Xr.URL=4]="URL",Xr[Xr.RESOURCE_URL=5]="RESOURCE_URL",Xr))();function $d(s){const l=kc();return l?A2(l.sanitize(Xr.HTML,s)||""):js(s,"HTML")?A2(Ho(s)):Jd(function Nd(){return void 0!==x1?x1:typeof document<"u"?document:void 0}(),X(s))}function e0(s){const l=kc();return l?l.sanitize(Xr.URL,s)||"":js(s,"URL")?Ho(s):C1(X(s))}function t0(s){const l=kc();if(l)return Dc(l.sanitize(Xr.RESOURCE_URL,s)||"");if(js(s,"ResourceURL"))return Dc(Ho(s));throw new Y(904,!1)}function Th(s,l,p){return function s3(s,l){return"src"===l&&("embed"===s||"frame"===s||"iframe"===s||"media"===s||"script"===s)||"href"===l&&("base"===s||"link"===s)?t0:e0}(l,p)(s)}function kc(){const s=Oi();return s&&s[12]}const O2=new _r("ENVIRONMENT_INITIALIZER"),sl=new _r("INJECTOR",-1),n0=new _r("INJECTOR_DEF_TYPES");class T1{get(l,p=gt){if(p===gt){const D=new Error(`NullInjectorError: No provider for ${P(l)}!`);throw D.name="NullInjectorError",D}return p}}function Ul(s){return{\u0275providers:s}}function P2(...s){return{\u0275providers:ol(0,s),\u0275fromNgModule:!0}}function ol(s,...l){const p=[],D=new Set;let H;return sn(l,G=>{const ne=G;N2(ne,p,[],D)&&(H||(H=[]),H.push(ne))}),void 0!==H&&r0(H,p),p}function r0(s,l){for(let p=0;p<s.length;p++){const{providers:H}=s[p];Gl(H,G=>{l.push(G)})}}function N2(s,l,p,D){if(!(s=A(s)))return!1;let H=null,G=De(s);const ne=!G&&Si(s);if(G||ne){if(ne&&!ne.standalone)return!1;H=s}else{const We=s.ngModule;if(G=De(We),!G)return!1;H=We}const Me=D.has(H);if(ne){if(Me)return!1;if(D.add(H),ne.dependencies){const We="function"==typeof ne.dependencies?ne.dependencies():ne.dependencies;for(const ut of We)N2(ut,l,p,D)}}else{if(!G)return!1;{if(null!=G.imports&&!Me){let ut;D.add(H);try{sn(G.imports,It=>{N2(It,l,p,D)&&(ut||(ut=[]),ut.push(It))})}finally{}void 0!==ut&&r0(ut,l)}if(!Me){const ut=ra(H)||(()=>new H);l.push({provide:H,useFactory:ut,deps:zt},{provide:n0,useValue:H,multi:!0},{provide:O2,useValue:()=>Ft(H),multi:!0})}const We=G.providers;null==We||Me||Gl(We,It=>{l.push(It)})}}return H!==s&&void 0!==s.providers}function Gl(s,l){for(let p of s)R(p)&&(p=p.\u0275providers),Array.isArray(p)?Gl(p,l):l(p)}const cl=C({provide:String,useValue:C});function _a(s){return null!==s&&"object"==typeof s&&cl in s}function Fo(s){return"function"==typeof s}const ll=new _r("Set Injector scope."),zo={},Ah={};let L1;function Wl(){return void 0===L1&&(L1=new T1),L1}class Oc{}class H2 extends Oc{constructor(l,p,D,H){super(),this.parent=p,this.source=D,this.scopes=H,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,I1(l,ne=>this.processProvider(ne)),this.records.set(sl,Pc(void 0,this)),H.has("environment")&&this.records.set(Oc,Pc(void 0,this));const G=this.records.get(ll);null!=G&&"string"==typeof G.value&&this.scopes.add(G.value),this.injectorDefTypes=new Set(this.get(n0.multi,zt,Ue.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const l of this._ngOnDestroyHooks)l.ngOnDestroy();for(const l of this._onDestroyHooks)l()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(l){this._onDestroyHooks.push(l)}runInContext(l){this.assertNotDestroyed();const p=Vt(this),D=Ee(void 0);try{return l()}finally{Vt(p),Ee(D)}}get(l,p=gt,D=Ue.Default){this.assertNotDestroyed(),D=J(D);const H=Vt(this),G=Ee(void 0);try{if(!(D&Ue.SkipSelf)){let Me=this.records.get(l);if(void 0===Me){const We=function D1(s){return"function"==typeof s||"object"==typeof s&&s instanceof _r}(l)&&ue(l);Me=We&&this.injectableDefInScope(We)?Pc(F2(l),zo):null,this.records.set(l,Me)}if(null!=Me)return this.hydrate(l,Me)}return(D&Ue.Self?Wl():this.parent).get(l,p=D&Ue.Optional&&p===gt?null:p)}catch(ne){if("NullInjectorError"===ne.name){if((ne[St]=ne[St]||[]).unshift(P(l)),H)throw ne;return function ni(s,l,p,D){const H=s[St];throw l[Pe]&&H.unshift(l[Pe]),s.message=function Ut(s,l,p,D=null){s=s&&"\n"===s.charAt(0)&&"\u0275"==s.charAt(1)?s.slice(2):s;let H=P(l);if(Array.isArray(l))H=l.map(P).join(" -> ");else if("object"==typeof l){let G=[];for(let ne in l)if(l.hasOwnProperty(ne)){let Me=l[ne];G.push(ne+":"+("string"==typeof Me?JSON.stringify(Me):P(Me)))}H=`{${G.join(", ")}}`}return`${p}${D?"("+D+")":""}[${H}]: ${s.replace(He,"\n ")}`}("\n"+s.message,H,p,D),s.ngTokenPath=H,s[St]=null,s}(ne,l,"R3InjectorError",this.source)}throw ne}finally{Ee(G),Vt(H)}}resolveInjectorInitializers(){const l=Vt(this),p=Ee(void 0);try{const D=this.get(O2.multi,zt,Ue.Self);for(const H of D)H()}finally{Vt(l),Ee(p)}}toString(){const l=[],p=this.records;for(const D of p.keys())l.push(P(D));return`R3Injector[${l.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Y(205,!1)}processProvider(l){let p=Fo(l=A(l))?l:A(l&&l.provide);const D=function o0(s){return _a(s)?Pc(void 0,s.useValue):Pc(z2(s),zo)}(l);if(Fo(l)||!0!==l.multi)this.records.get(p);else{let H=this.records.get(p);H||(H=Pc(void 0,zo,!0),H.factory=()=>ve(H.multi),this.records.set(p,H)),p=l,H.multi.push(l)}this.records.set(p,D)}hydrate(l,p){return p.value===zo&&(p.value=Ah,p.value=p.factory()),"object"==typeof p.value&&p.value&&function Lh(s){return null!==s&&"object"==typeof s&&"function"==typeof s.ngOnDestroy}(p.value)&&this._ngOnDestroyHooks.add(p.value),p.value}injectableDefInScope(l){if(!l.providedIn)return!1;const p=A(l.providedIn);return"string"==typeof p?"any"===p||this.scopes.has(p):this.injectorDefTypes.has(p)}}function F2(s){const l=ue(s),p=null!==l?l.factory:ra(s);if(null!==p)return p;if(s instanceof _r)throw new Y(204,!1);if(s instanceof Function)return function s0(s){const l=s.length;if(l>0)throw En(l,"?"),new Y(204,!1);const p=function he(s){const l=s&&(s[oe]||s[te]);if(l){const p=function it(s){if(s.hasOwnProperty("name"))return s.name;const l=(""+s).match(/^function\s*([^\s(]+)/);return null===l?"":l[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.`),l}return null}(s);return null!==p?()=>p.factory(s):()=>new s}(s);throw new Y(204,!1)}function z2(s,l,p){let D;if(Fo(s)){const H=A(s);return ra(H)||F2(H)}if(_a(s))D=()=>A(s.useValue);else if(function Zl(s){return!(!s||!s.useFactory)}(s))D=()=>s.useFactory(...ve(s.deps||[]));else if(function R2(s){return!(!s||!s.useExisting)}(s))D=()=>Ft(A(s.useExisting));else{const H=A(s&&(s.useClass||s.provide));if(!function c0(s){return!!s.deps}(s))return ra(H)||F2(H);D=()=>new H(...ve(s.deps))}return D}function Pc(s,l,p=!1){return{factory:s,value:l,multi:p?[]:void 0}}function I1(s,l){for(const p of s)Array.isArray(p)?I1(p,l):p&&R(p)?I1(p.\u0275providers,l):l(p)}class dl{}class l0{}class Dh{resolveComponentFactory(l){throw function d0(s){const l=Error(`No component factory found for ${P(s)}. Did you add it to @NgModule.entryComponents?`);return l.ngComponent=s,l}(l)}}let ks=(()=>{class s{}return s.NULL=new Dh,s})();function u0(){return go(Vr(),Oi())}function go(s,l){return new Qa(ir(s,l))}let Qa=(()=>{class s{constructor(p){this.nativeElement=p}}return s.__NG_ELEMENT_ID__=u0,s})();function Yl(s){return s instanceof Qa?s.nativeElement:s}class f0{}let lc=(()=>{class s{}return s.__NG_ELEMENT_ID__=()=>function c3(){const s=Oi(),p=vt(Vr().index,s);return(rr(p)?p:s)[11]}(),s})(),m0=(()=>{class s{}return s.\u0275prov=Ke({token:s,providedIn:"root",factory:()=>null}),s})();class B2{constructor(l){this.full=l,this.major=l.split(".")[0],this.minor=l.split(".")[1],this.patch=l.split(".").slice(2).join(".")}}const Ih=new B2("15.0.3"),k1={};function G2(s){return s.ngOriginalError}class hl{constructor(){this._console=console}handleError(l){const p=this._findOriginalError(l);this._console.error("ERROR",l),p&&this._console.error("ORIGINAL ERROR",p)}_findOriginalError(l){let p=l&&G2(l);for(;p&&G2(p);)p=G2(p);return p||null}}function Z2(s){return s.ownerDocument.defaultView}function Vo(s){return s instanceof Function?s():s}function v0(s,l,p){let D=s.length;for(;;){const H=s.indexOf(l,p);if(-1===H)return H;if(0===H||s.charCodeAt(H-1)<=32){const G=l.length;if(H+G===D||s.charCodeAt(H+G)<=32)return H}p=H+1}}const b0="ng-template";function jl(s,l,p){let D=0;for(;D<s.length;){let H=s[D++];if(p&&"class"===H){if(H=s[D],-1!==v0(H.toLowerCase(),l,0))return!0}else if(1===H){for(;D<s.length&&"string"==typeof(H=s[D++]);)if(H.toLowerCase()===l)return!0;return!1}}return!1}function y0(s){return 4===s.type&&s.value!==b0}function zh(s,l,p){return l===(4!==s.type||p?s.value:b0)}function Vh(s,l,p){let D=4;const H=s.attrs||[],G=function Uh(s){for(let l=0;l<s.length;l++)if(wn(s[l]))return l;return s.length}(H);let ne=!1;for(let Me=0;Me<l.length;Me++){const We=l[Me];if("number"!=typeof We){if(!ne)if(4&D){if(D=2|1&D,""!==We&&!zh(s,We,p)||""===We&&1===l.length){if(io(D))return!1;ne=!0}}else{const ut=8&D?We:l[++Me];if(8&D&&null!==s.attrs){if(!jl(s.attrs,ut,p)){if(io(D))return!1;ne=!0}continue}const $t=x0(8&D?"class":We,H,y0(s),p);if(-1===$t){if(io(D))return!1;ne=!0;continue}if(""!==ut){let _i;_i=$t>G?"":H[$t+1].toLowerCase();const Ci=8&D?_i:null;if(Ci&&-1!==v0(Ci,ut,0)||2&D&&ut!==_i){if(io(D))return!1;ne=!0}}}}else{if(!ne&&!io(D)&&!io(We))return!1;if(ne&&io(We))continue;ne=!1,D=We|1&D}}return io(D)||ne}function io(s){return 0==(1&s)}function x0(s,l,p,D){if(null===l)return-1;let H=0;if(D||!p){let G=!1;for(;H<l.length;){const ne=l[H];if(ne===s)return H;if(3===ne||6===ne)G=!0;else{if(1===ne||2===ne){let Me=l[++H];for(;"string"==typeof Me;)Me=l[++H];continue}if(4===ne)break;if(0===ne){H+=4;continue}}H+=G?1:2}return-1}return function w0(s,l){let p=s.indexOf(4);if(p>-1)for(p++;p<s.length;){const D=s[p];if("number"==typeof D)return-1;if(D===l)return p;p++}return-1}(l,s)}function C0(s,l,p=!1){for(let D=0;D<l.length;D++)if(Vh(s,l[D],p))return!0;return!1}function Gh(s,l){e:for(let p=0;p<l.length;p++){const D=l[p];if(s.length===D.length){for(let H=0;H<s.length;H++)if(s[H]!==D[H])continue e;return!0}}return!1}function fl(s,l){return s?":not("+l.trim()+")":l}function ml(s){let l=s[0],p=1,D=2,H="",G=!1;for(;p<s.length;){let ne=s[p];if("string"==typeof ne)if(2&D){const Me=s[++p];H+="["+ne+(Me.length>0?'="'+Me+'"':"")+"]"}else 8&D?H+="."+ne:4&D&&(H+=" "+ne);else""!==H&&!io(ne)&&(l+=fl(G,H),H=""),D=ne,G=G||!io(D);p++}return""!==H&&(l+=fl(G,H)),l}const zn={};function M0(s){j2(Fn(),Oi(),Dr()+s,!1)}function j2(s,l,p,D){if(!D)if(3==(3&l[2])){const G=s.preOrderCheckHooks;null!==G&&Te(l,G,p)}else{const G=s.preOrderHooks;null!==G&&Mt(l,G,0,p)}oa(p)}function J2(s,l=null,p=null,D){const H=L0(s,l,p,D);return H.resolveInjectorInitializers(),H}function L0(s,l=null,p=null,D,H=new Set){const G=[p||zt,P2(s)];return D=D||("object"==typeof s?void 0:P(s)),new H2(G,l||Wl(),D||null,H)}let Bo=(()=>{class s{static create(p,D){if(Array.isArray(p))return J2({name:""},D,p,"");{const H=p.name??"";return J2({name:H},p.parent,p.providers,H)}}}return s.THROW_IF_NOT_FOUND=gt,s.NULL=new T1,s.\u0275prov=Ke({token:s,providedIn:"any",factory:()=>Ft(sl)}),s.__NG_ELEMENT_ID__=-1,s})();function vo(s,l=Ue.Default){const p=Oi();return null===p?Ft(s,l):$1(Vr(),p,A(s),l)}function dc(){throw new Error("invalid")}function X2(s,l){const p=s.contentQueries;if(null!==p)for(let D=0;D<p.length;D+=2){const H=p[D],G=p[D+1];if(-1!==G){const ne=s.data[G];gc(H),ne.contentQueries(2,l[G],G)}}}function Dn(s,l,p,D,H,G,ne,Me,We,ut,It){const $t=l.blueprint.slice();return $t[0]=H,$t[2]=76|D,(null!==It||s&&1024&s[2])&&($t[2]|=1024),pr($t),$t[3]=$t[15]=s,$t[8]=p,$t[10]=ne||s&&s[10],$t[11]=Me||s&&s[11],$t[12]=We||s&&s[12]||null,$t[9]=ut||s&&s[9]||null,$t[6]=G,$t[20]=function el(){return yd++}(),$t[21]=It,$t[16]=2==l.type?s[16]:$t,$t}function Qn(s,l,p,D,H){let G=s.data[l];if(null===G)G=function ea(s,l,p,D,H){const G=Ms(),ne=Bs(),We=s.data[l]=function w4(s,l,p,D,H,G){return{type:p,index:D,insertBeforeIndex:null,injectorIndex:l?l.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:H,attrs:G,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:l,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,ne?G:G&&G.parent,p,l,D,H);return null===s.firstChild&&(s.firstChild=We),null!==G&&(ne?null==G.child&&null!==We.parent&&(G.child=We):null===G.next&&(G.next=We)),We}(s,l,p,D,H),function Es(){return xn.lFrame.inI18n}()&&(G.flags|=32);else if(64&G.type){G.type=p,G.value=D,G.attrs=H;const ne=function is(){const s=xn.lFrame,l=s.currentTNode;return s.isParent?l:l.parent}();G.injectorIndex=null===ne?-1:ne.injectorIndex}return fa(G,!0),G}function Os(s,l,p,D){if(0===p)return-1;const H=l.length;for(let G=0;G<p;G++)l.push(D),s.blueprint.push(D),s.data.push(null);return H}function vs(s,l,p){Xo(l);try{const D=s.viewQuery;null!==D&&iu(1,D,p);const H=s.template;null!==H&&Wr(s,l,H,1,p),s.firstCreatePass&&(s.firstCreatePass=!1),s.staticContentQueries&&X2(s,l),s.staticViewQueries&&iu(2,s.viewQuery,p);const G=s.components;null!==G&&function Mn(s,l){for(let p=0;p<l.length;p++)eu(s,l[p])}(l,G)}catch(D){throw s.firstCreatePass&&(s.incompleteFirstPass=!0,s.firstCreatePass=!1),D}finally{l[2]&=-5,rs()}}function bo(s,l,p,D){const H=l[2];if(128!=(128&H)){Xo(l);try{pr(l),function Pa(s){return xn.lFrame.bindingIndex=s}(s.bindingStartIndex),null!==p&&Wr(s,l,p,2,D);const ne=3==(3&H);if(ne){const ut=s.preOrderCheckHooks;null!==ut&&Te(l,ut,null)}else{const ut=s.preOrderHooks;null!==ut&&Mt(l,ut,0,null),ri(l,0)}if(function Om(s){for(let l=tl(s);null!==l;l=Mc(l)){if(!l[2])continue;const p=l[9];for(let D=0;D<p.length;D++){const H=p[D],G=H[3];0==(512&H[2])&&qi(G,1),H[2]|=512}}}(l),function p3(s){for(let l=tl(s);null!==l;l=Mc(l))for(let p=10;p<l.length;p++){const D=l[p],H=D[1];Hi(D)&&bo(H,D,H.template,D[8])}}(l),null!==s.contentQueries&&X2(s,l),ne){const ut=s.contentCheckHooks;null!==ut&&Te(l,ut)}else{const ut=s.contentHooks;null!==ut&&Mt(l,ut,1),ri(l,1)}!function Qh(s,l){const p=s.hostBindingOpCodes;if(null!==p)try{for(let D=0;D<p.length;D++){const H=p[D];if(H<0)oa(~H);else{const G=H,ne=p[++D],Me=p[++D];so(ne,G),Me(2,l[G])}}}finally{oa(-1)}}(s,l);const Me=s.components;null!==Me&&function mn(s,l){for(let p=0;p<l.length;p++)Pm(s,l[p])}(l,Me);const We=s.viewQuery;if(null!==We&&iu(2,We,D),ne){const ut=s.viewCheckHooks;null!==ut&&Te(l,ut)}else{const ut=s.viewHooks;null!==ut&&Mt(l,ut,2),ri(l,2)}!0===s.firstUpdatePass&&(s.firstUpdatePass=!1),l[2]&=-41,512&l[2]&&(l[2]&=-513,qi(l[3],-1))}finally{rs()}}}function Wr(s,l,p,D,H){const G=Dr(),ne=2&D;try{oa(-1),ne&&l.length>22&&j2(s,l,22,!1),p(D,H)}finally{oa(G)}}function $2(s,l,p){if(Ma(l)){const H=l.directiveEnd;for(let G=l.directiveStart;G<H;G++){const ne=s.data[G];ne.contentQueries&&ne.contentQueries(1,p[G],G)}}}function ed(s,l,p){!Ei()||(function A4(s,l,p,D){const H=p.directiveStart,G=p.directiveEnd;Sa(p)&&function O4(s,l,p){const D=ir(l,s),H=Zo(p),G=s[10],ne=I0(s,Dn(s,H,null,p.onPush?32:16,D,l,G,G.createRenderer(D,p),null,null,null));s[l.index]=ne}(l,p,s.data[H+p.componentOffset]),s.firstCreatePass||Bc(p,l),Ka(D,l);const ne=p.initialInputs;for(let Me=H;Me<G;Me++){const We=s.data[Me],ut=Do(l,s,Me,p);Ka(ut,l),null!==ne&&P4(0,Me-H,ut,We,0,ne),tr(We)&&(vt(p.index,l)[8]=Do(l,s,Me,p))}}(s,l,p,ir(p,l)),64==(64&p.flags)&&u3(s,l,p))}function Ua(s,l,p=ir){const D=l.localNames;if(null!==D){let H=l.index+1;for(let G=0;G<D.length;G+=2){const ne=D[G+1],Me=-1===ne?p(l,s):s[ne];s[H++]=Me}}}function Zo(s){const l=s.tView;return null===l||l.incompleteFirstPass?s.tView=Ps(1,null,s.template,s.decls,s.vars,s.directiveDefs,s.pipeDefs,s.viewQuery,s.schemas,s.consts):l}function Ps(s,l,p,D,H,G,ne,Me,We,ut){const It=22+D,$t=It+H,_i=function R1(s,l){const p=[];for(let D=0;D<l;D++)p.push(D<s?null:zn);return p}(It,$t),Ci="function"==typeof ut?ut():ut;return _i[1]={type:s,blueprint:_i,template:p,queries:null,viewQuery:Me,declTNode:l,data:_i.slice().fill(null,It),bindingStartIndex:It,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 G?G():G,pipeRegistry:"function"==typeof ne?ne():ne,firstChild:null,schemas:We,consts:Ci,incompleteFirstPass:!1}}function l3(s,l,p,D){const H=v3(l);null===p?H.push(D):(H.push(p),s.firstCreatePass&&H4(s).push(D,H.length-1))}function d3(s,l,p,D){for(let H in s)if(s.hasOwnProperty(H)){p=null===p?{}:p;const G=s[H];null===D?M4(p,l,H,G):D.hasOwnProperty(H)&&M4(p,l,D[H],G)}return p}function M4(s,l,p,D){s.hasOwnProperty(p)?s[p].push(l,D):s[p]=[l,D]}function Ns(s,l,p,D,H,G,ne,Me){const We=ir(l,p);let It,ut=l.inputs;!Me&&null!=ut&&(It=ut[D])?(nu(s,p,It,D,H),Sa(l)&&S4(p,l.index)):3&l.type&&(D=function Im(s){return"class"===s?"className":"for"===s?"htmlFor":"formaction"===s?"formAction":"innerHtml"===s?"innerHTML":"readonly"===s?"readOnly":"tabindex"===s?"tabIndex":s}(D),H=null!=ne?ne(H,l.value||"",D):H,G.setProperty(We,D,H))}function S4(s,l){const p=vt(l,s);16&p[2]||(p[2]|=32)}function qh(s,l,p,D){let H=!1;if(Ei()){const G=null===D?null:{"":-1},ne=function f3(s,l){const p=s.directiveRegistry;let D=null,H=null;if(p)for(let G=0;G<p.length;G++){const ne=p[G];if(C0(l,ne.selectors,!1))if(D||(D=[]),tr(ne))if(null!==ne.findHostDirectiveDefs){const Me=[];H=H||new Map,ne.findHostDirectiveDefs(ne,Me,H),D.unshift(...Me,ne),Xh(s,l,Me.length)}else D.unshift(ne),Xh(s,l,0);else H=H||new Map,ne.findHostDirectiveDefs?.(ne,D,H),D.push(ne)}return null===D?null:[D,H]}(s,p);let Me,We;null===ne?Me=We=null:[Me,We]=ne,null!==Me&&(H=!0,Jh(s,l,p,Me,G,We)),G&&function D4(s,l,p){if(l){const D=s.localNames=[];for(let H=0;H<l.length;H+=2){const G=p[l[H+1]];if(null==G)throw new Y(-301,!1);D.push(l[H],G)}}}(p,D,G)}return p.mergedAttrs=Br(p.mergedAttrs,p.attrs),H}function Jh(s,l,p,D,H,G){for(let ut=0;ut<D.length;ut++)Sl(Bc(p,l),s,D[ut].type);!function I4(s,l,p){s.flags|=1,s.directiveStart=l,s.directiveEnd=l+p,s.providerIndexes=l}(p,s.data.length,D.length);for(let ut=0;ut<D.length;ut++){const It=D[ut];It.providersResolver&&It.providersResolver(It)}let ne=!1,Me=!1,We=Os(s,l,D.length,null);for(let ut=0;ut<D.length;ut++){const It=D[ut];p.mergedAttrs=Br(p.mergedAttrs,It.hostAttrs),k4(s,p,l,We,It),$h(We,It,H),null!==It.contentQueries&&(p.flags|=4),(null!==It.hostBindings||null!==It.hostAttrs||0!==It.hostVars)&&(p.flags|=64);const $t=It.type.prototype;!ne&&($t.ngOnChanges||$t.ngOnInit||$t.ngDoCheck)&&((s.preOrderHooks||(s.preOrderHooks=[])).push(p.index),ne=!0),!Me&&($t.ngOnChanges||$t.ngDoCheck)&&((s.preOrderCheckHooks||(s.preOrderCheckHooks=[])).push(p.index),Me=!0),We++}!function Dm(s,l,p){const H=l.directiveEnd,G=s.data,ne=l.attrs,Me=[];let We=null,ut=null;for(let It=l.directiveStart;It<H;It++){const $t=G[It],_i=p?p.get($t):null,Ni=_i?_i.outputs:null;We=d3($t.inputs,It,We,_i?_i.inputs:null),ut=d3($t.outputs,It,ut,Ni);const Xi=null===We||null===ne||y0(l)?null:N4(We,It,ne);Me.push(Xi)}null!==We&&(We.hasOwnProperty("class")&&(l.flags|=8),We.hasOwnProperty("style")&&(l.flags|=16)),l.initialInputs=Me,l.inputs=We,l.outputs=ut}(s,p,G)}function u3(s,l,p){const D=p.directiveStart,H=p.directiveEnd,G=p.index,ne=function Us(){return xn.lFrame.currentDirectiveIndex}();try{oa(G);for(let Me=D;Me<H;Me++){const We=s.data[Me],ut=l[Me];Mo(Me),(null!==We.hostBindings||0!==We.hostVars||null!==We.hostAttrs)&&L4(We,ut)}}finally{oa(-1),Mo(ne)}}function L4(s,l){null!==s.hostBindings&&s.hostBindings(1,l)}function Xh(s,l,p){l.componentOffset=p,(s.components||(s.components=[])).push(l.index)}function $h(s,l,p){if(p){if(l.exportAs)for(let D=0;D<l.exportAs.length;D++)p[l.exportAs[D]]=s;tr(l)&&(p[""]=s)}}function k4(s,l,p,D,H){s.data[D]=H;const G=H.factory||(H.factory=ra(H.type)),ne=new Ot(G,tr(H),vo);s.blueprint[D]=ne,p[D]=ne,function T4(s,l,p,D,H){const G=H.hostBindings;if(G){let ne=s.hostBindingOpCodes;null===ne&&(ne=s.hostBindingOpCodes=[]);const Me=~l.index;(function h3(s){let l=s.length;for(;l>0;){const p=s[--l];if("number"==typeof p&&p<0)return p}return 0})(ne)!=Me&&ne.push(Me),ne.push(p,D,G)}}(s,l,D,Os(s,p,H.hostVars,zn),H)}function Wo(s,l,p,D,H,G){const ne=ir(s,l);!function m3(s,l,p,D,H,G,ne){if(null==G)s.removeAttribute(l,H,p);else{const Me=null==ne?X(G):ne(G,D||"",H);s.setAttribute(l,H,Me,p)}}(l[11],ne,G,s.value,p,D,H)}function P4(s,l,p,D,H,G){const ne=G[l];if(null!==ne){const Me=D.setInput;for(let We=0;We<ne.length;){const ut=ne[We++],It=ne[We++],$t=ne[We++];null!==Me?D.setInput(p,$t,ut,It):p[It]=$t}}}function N4(s,l,p){let D=null,H=0;for(;H<p.length;){const G=p[H];if(0!==G)if(5!==G){if("number"==typeof G)break;if(s.hasOwnProperty(G)){null===D&&(D=[]);const ne=s[G];for(let Me=0;Me<ne.length;Me+=2)if(ne[Me]===l){D.push(G,ne[Me+1],p[H+1]);break}}H+=2}else H+=2;else H+=4}return D}function R4(s,l,p,D){return[s,!0,!1,l,null,0,D,p,null,null]}function Pm(s,l){const p=vt(l,s);if(Hi(p)){const D=p[1];48&p[2]?bo(D,p,D.template,p[8]):p[5]>0&&g3(p)}}function g3(s){for(let D=tl(s);null!==D;D=Mc(D))for(let H=10;H<D.length;H++){const G=D[H];if(Hi(G))if(512&G[2]){const ne=G[1];bo(ne,G,ne.template,G[8])}else G[5]>0&&g3(G)}const p=s[1].components;if(null!==p)for(let D=0;D<p.length;D++){const H=vt(p[D],s);Hi(H)&&H[5]>0&&g3(H)}}function eu(s,l){const p=vt(l,s),D=p[1];(function Nm(s,l){for(let p=l.length;p<s.blueprint.length;p++)l.push(s.blueprint[p])})(D,p),vs(D,p,p[8])}function I0(s,l){return s[13]?s[14][4]=l:s[13]=l,s[14]=l,l}function _3(s){for(;s;){s[2]|=32;const l=Nl(s);if(Fr(s)&&!l)return s;s=l}return null}function tu(s,l,p,D=!0){const H=l[10];H.begin&&H.begin();try{bo(s,l,s.template,p)}catch(ne){throw D&&y3(l,ne),ne}finally{H.end&&H.end()}}function iu(s,l,p){gc(0),l(s,p)}function v3(s){return s[7]||(s[7]=[])}function H4(s){return s.cleanup||(s.cleanup=[])}function b3(s,l,p){return(null===s||tr(s))&&(p=function ja(s){for(;Array.isArray(s);){if("object"==typeof s[1])return s;s=s[0]}return null}(p[l.index])),p[11]}function y3(s,l){const p=s[9],D=p?p.get(hl,null):null;D&&D.handleError(l)}function nu(s,l,p,D,H){for(let G=0;G<p.length;){const ne=p[G++],Me=p[G++],We=l[ne],ut=s.data[ne];null!==ut.setInput?ut.setInput(We,H,D,Me):We[Me]=H}}function pl(s,l,p){const D=Cr(l,s);!function Rl(s,l,p){s.setValue(l,p)}(s[11],D,p)}function ru(s,l,p){let D=p?s.styles:null,H=p?s.classes:null,G=0;if(null!==l)for(let ne=0;ne<l.length;ne++){const Me=l[ne];"number"==typeof Me?G=Me:1==G?H=u(H,Me):2==G&&(D=u(D,Me+": "+l[++ne]+";"))}p?s.styles=D:s.stylesWithoutHost=D,p?s.classes=H:s.classesWithoutHost=H}function k0(s,l,p,D,H=!1){for(;null!==p;){const G=l[p.index];if(null!==G&&D.push(Wn(G)),br(G))for(let Me=10;Me<G.length;Me++){const We=G[Me],ut=We[1].firstChild;null!==ut&&k0(We[1],We,ut,D)}const ne=p.type;if(8&ne)k0(s,l,p.child,D);else if(32&ne){const Me=u1(p,l);let We;for(;We=Me();)D.push(We)}else if(16&ne){const Me=Dd(l,p);if(Array.isArray(Me))D.push(...Me);else{const We=Nl(l[16]);k0(We[1],We,Me,D,!0)}}p=H?p.projectionNext:p.next}return D}class td{constructor(l,p){this._lView=l,this._cdRefInjectingView=p,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const l=this._lView,p=l[1];return k0(p,l,p.firstChild,[])}get context(){return this._lView[8]}set context(l){this._lView[8]=l}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const l=this._lView[3];if(br(l)){const p=l[8],D=p?p.indexOf(this):-1;D>-1&&(y2(l,D),on(p,D))}this._attachedToViewContainer=!1}g1(this._lView[1],this._lView)}onDestroy(l){l3(this._lView[1],this._lView,null,l)}markForCheck(){_3(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){tu(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function qu(s,l){Fl(s,l,l[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(l){if(this._attachedToViewContainer)throw new Y(902,!1);this._appRef=l}}class F4 extends td{constructor(l){super(l),this._view=l}detectChanges(){const l=this._view;tu(l[1],l,l[8],!1)}checkNoChanges(){}get context(){return null}}class x3 extends ks{constructor(l){super(),this.ngModule=l}resolveComponentFactory(l){const p=Si(l);return new id(p,this.ngModule)}}function z4(s){const l=[];for(let p in s)s.hasOwnProperty(p)&&l.push({propName:s[p],templateName:p});return l}class V4{constructor(l,p){this.injector=l,this.parentInjector=p}get(l,p,D){D=J(D);const H=this.injector.get(l,k1,D);return H!==k1||p===k1?H:this.parentInjector.get(l,p,D)}}class id extends l0{constructor(l,p){super(),this.componentDef=l,this.ngModule=p,this.componentType=l.type,this.selector=function Zh(s){return s.map(ml).join(",")}(l.selectors),this.ngContentSelectors=l.ngContentSelectors?l.ngContentSelectors:[],this.isBoundToModule=!!p}get inputs(){return z4(this.componentDef.inputs)}get outputs(){return z4(this.componentDef.outputs)}create(l,p,D,H){let G=(H=H||this.ngModule)instanceof Oc?H:H?.injector;G&&null!==this.componentDef.getStandaloneInjector&&(G=this.componentDef.getStandaloneInjector(G)||G);const ne=G?new V4(l,G):l,Me=ne.get(f0,null);if(null===Me)throw new Y(407,!1);const We=ne.get(m0,null),ut=Me.createRenderer(null,this.componentDef),It=this.componentDef.selectors[0][0]||"div",$t=D?function D0(s,l,p){return s.selectRootElement(l,p===ai.ShadowDom)}(ut,D,this.componentDef.encapsulation):p1(ut,It,function Rm(s){const l=s.toLowerCase();return"svg"===l?"svg":"math"===l?"math":null}(It)),_i=this.componentDef.onPush?288:272,Ci=Ps(0,null,null,1,0,null,null,null,null,null),Ni=Dn(null,Ci,null,_i,null,null,Me,ut,We,ne,null);let Xi,ln;Xo(Ni);try{const gn=this.componentDef;let Rn,Zi=null;gn.findHostDirectiveDefs?(Rn=[],Zi=new Map,gn.findHostDirectiveDefs(gn,Rn,Zi),Rn.push(gn)):Rn=[gn];const Zn=function Fm(s,l){const p=s[1];return s[22]=l,Qn(p,22,2,"#host",null)}(Ni,$t),wa=function zm(s,l,p,D,H,G,ne,Me){const We=H[1];!function Vm(s,l,p,D){for(const H of s)l.mergedAttrs=Br(l.mergedAttrs,H.hostAttrs);null!==l.mergedAttrs&&(ru(l,l.mergedAttrs,!0),null!==p&&E2(D,p,l))}(D,s,l,ne);const ut=G.createRenderer(l,p),It=Dn(H,Zo(p),null,p.onPush?32:16,H[s.index],s,G,ut,Me||null,null,null);return We.firstCreatePass&&Xh(We,s,D.length-1),I0(H,It),H[s.index]=It}(Zn,$t,gn,Rn,Ni,Me,ut);ln=Rt(Ci,22),$t&&function Um(s,l,p,D){if(D)dn(s,p,["ng-version",Ih.full]);else{const{attrs:H,classes:G}=function Y2(s){const l=[],p=[];let D=1,H=2;for(;D<s.length;){let G=s[D];if("string"==typeof G)2===H?""!==G&&l.push(G,s[++D]):8===H&&p.push(G);else{if(!io(H))break;H=G}D++}return{attrs:l,classes:p}}(l.selectors[0]);H&&dn(s,p,H),G&&G.length>0&&S2(s,p,G.join(" "))}}(ut,gn,$t,D),void 0!==p&&function B4(s,l,p){const D=s.projection=[];for(let H=0;H<l.length;H++){const G=p[H];D.push(null!=G?Array.from(G):null)}}(ln,this.ngContentSelectors,p),Xi=function Bm(s,l,p,D,H,G){const ne=Vr(),Me=H[1],We=ir(ne,H);Jh(Me,H,ne,p,null,D);for(let It=0;It<p.length;It++)Ka(Do(H,Me,ne.directiveStart+It,ne),H);u3(Me,H,ne),We&&Ka(We,H);const ut=Do(H,Me,ne.directiveStart+ne.componentOffset,ne);if(s[8]=H[8]=ut,null!==G)for(const It of G)It(ut,l);return $2(Me,ne,s),ut}(wa,gn,Rn,Zi,Ni,[Gm]),vs(Ci,Ni,null)}finally{rs()}return new Hm(this.componentType,Xi,go(ln,Ni),Ni,ln)}}class Hm extends dl{constructor(l,p,D,H,G){super(),this.location=D,this._rootLView=H,this._tNode=G,this.instance=p,this.hostView=this.changeDetectorRef=new F4(H),this.componentType=l}setInput(l,p){const D=this._tNode.inputs;let H;if(null!==D&&(H=D[l])){const G=this._rootLView;nu(G[1],G,H,l,p),S4(G,this._tNode.index)}}get injector(){return new cs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(l){this.hostView.onDestroy(l)}}function Gm(){const s=Vr();ft(Oi()[1],s)}function C3(s){let l=function U4(s){return Object.getPrototypeOf(s.prototype).constructor}(s.type),p=!0;const D=[s];for(;l;){let H;if(tr(s))H=l.\u0275cmp||l.\u0275dir;else{if(l.\u0275cmp)throw new Y(903,!1);H=l.\u0275dir}if(H){if(p){D.push(H);const ne=s;ne.inputs=au(s.inputs),ne.declaredInputs=au(s.declaredInputs),ne.outputs=au(s.outputs);const Me=H.hostBindings;Me&&Zm(s,Me);const We=H.viewQuery,ut=H.contentQueries;if(We&&Z4(s,We),ut&&W4(s,ut),h(s.inputs,H.inputs),h(s.declaredInputs,H.declaredInputs),h(s.outputs,H.outputs),tr(H)&&H.data.animation){const It=s.data;It.animation=(It.animation||[]).concat(H.data.animation)}}const G=H.features;if(G)for(let ne=0;ne<G.length;ne++){const Me=G[ne];Me&&Me.ngInherit&&Me(s),Me===C3&&(p=!1)}}l=Object.getPrototypeOf(l)}!function G4(s){let l=0,p=null;for(let D=s.length-1;D>=0;D--){const H=s[D];H.hostVars=l+=H.hostVars,H.hostAttrs=Br(H.hostAttrs,p=Br(p,H.hostAttrs))}}(D)}function au(s){return s===Bt?{}:s===zt?[]:s}function Z4(s,l){const p=s.viewQuery;s.viewQuery=p?(D,H)=>{l(D,H),p(D,H)}:l}function W4(s,l){const p=s.contentQueries;s.contentQueries=p?(D,H,G)=>{l(D,H,G),p(D,H,G)}:l}function Zm(s,l){const p=s.hostBindings;s.hostBindings=p?(D,H)=>{l(D,H),p(D,H)}:l}let ou=null;function Hc(){if(!ou){const s=nt.Symbol;if(s&&s.iterator)ou=s.iterator;else{const l=Object.getOwnPropertyNames(Map.prototype);for(let p=0;p<l.length;++p){const D=l[p];"entries"!==D&&"size"!==D&&Map.prototype[D]===Map.prototype.entries&&(ou=D)}}}return ou}function O0(s){return!!E3(s)&&(Array.isArray(s)||!(s instanceof Map)&&Hc()in s)}function E3(s){return null!==s&&("function"==typeof s||"object"==typeof s)}function Fc(s,l,p){return s[l]=p}function bs(s,l,p){return!Object.is(s[l],p)&&(s[l]=p,!0)}function H1(s,l,p,D){const H=bs(s,l,p);return bs(s,l+1,D)||H}function N0(s,l,p,D,H){const G=H1(s,l,p,D);return bs(s,l+2,H)||G}function T3(s,l,p,D){const H=Oi();return bs(H,gs(),l)&&(Fn(),Wo(sr(),H,s,l,p,D)),T3}function nd(s,l,p,D){return bs(s,gs(),p)?l+X(p)+D:zn}function z1(s,l,p,D,H,G){const Me=H1(s,Pi(),p,H);return Vi(2),Me?l+X(p)+D+X(H)+G:zn}function B1(s,l,p,D,H,G,ne,Me,We,ut){const $t=function yo(s,l,p,D,H,G){const ne=H1(s,l,p,D);return H1(s,l+2,H,G)||ne}(s,Pi(),p,H,ne,We);return Vi(4),$t?l+X(p)+D+X(H)+G+X(ne)+Me+X(We)+ut:zn}function ef(s,l,p,D,H,G,ne,Me){const We=Oi(),ut=Fn(),It=s+22,$t=ut.firstCreatePass?function qm(s,l,p,D,H,G,ne,Me,We){const ut=l.consts,It=Qn(l,s,4,ne||null,Yn(ut,Me));qh(l,p,It,Yn(ut,We)),ft(l,It);const $t=It.tViews=Ps(2,It,D,H,G,l.directiveRegistry,l.pipeRegistry,null,l.schemas,ut);return null!==l.queries&&(l.queries.template(l,It),$t.queries=l.queries.embeddedTView(It)),It}(It,ut,We,l,p,D,H,G,ne):ut.data[It];fa($t,!1);const _i=We[11].createComment("");cc(ut,We,_i,$t),Ka(_i,We),I0(We,We[It]=R4(_i,We,_i,$t)),Kr($t)&&ed(ut,We,$t),null!=ne&&Ua(We,$t,Me)}function tf(s){return fi(function Ss(){return xn.lFrame.contextLView}(),22+s)}function I3(s,l,p){const D=Oi();return bs(D,gs(),l)&&Ns(Fn(),sr(),D,s,l,D[11],p,!1),I3}function cu(s,l,p,D,H){const ne=H?"class":"style";nu(s,p,l.inputs[ne],ne,D)}function lu(s,l,p,D){const H=Oi(),G=Fn(),ne=22+s,Me=H[11],We=H[ne]=p1(Me,l,function Ji(){return xn.lFrame.currentNamespace}()),ut=G.firstCreatePass?function Xm(s,l,p,D,H,G,ne){const Me=l.consts,ut=Qn(l,s,2,H,Yn(Me,G));return qh(l,p,ut,Yn(Me,ne)),null!==ut.attrs&&ru(ut,ut.attrs,!1),null!==ut.mergedAttrs&&ru(ut,ut.mergedAttrs,!0),null!==l.queries&&l.queries.elementStart(l,ut),ut}(ne,G,H,0,l,p,D):G.data[ne];return fa(ut,!0),E2(Me,We,ut),32!=(32&ut.flags)&&cc(G,H,We,ut),0===function tt(){return xn.lFrame.elementDepthCount}()&&Ka(We,H),function Ge(){xn.lFrame.elementDepthCount++}(),Kr(ut)&&(ed(G,H,ut),$2(G,ut,H)),null!==D&&Ua(H,ut),lu}function ad(){let s=Vr();Bs()?ns():(s=s.parent,fa(s,!1));const l=s;!function kt(){xn.lFrame.elementDepthCount--}();const p=Fn();return p.firstCreatePass&&(ft(p,s),Ma(s)&&p.queries.elementEnd(s)),null!=l.classesWithoutHost&&function yi(s){return 0!=(8&s.flags)}(l)&&cu(p,l,Oi(),l.classesWithoutHost,!0),null!=l.stylesWithoutHost&&function Di(s){return 0!=(16&s.flags)}(l)&&cu(p,l,Oi(),l.stylesWithoutHost,!1),ad}function k3(s,l,p,D){return lu(s,l,p,D),ad(),k3}function du(s,l,p){const D=Oi(),H=Fn(),G=s+22,ne=H.firstCreatePass?function $m(s,l,p,D,H){const G=l.consts,ne=Yn(G,D),Me=Qn(l,s,8,"ng-container",ne);return null!==ne&&ru(Me,ne,!0),qh(l,p,Me,Yn(G,H)),null!==l.queries&&l.queries.elementStart(l,Me),Me}(G,H,D,l,p):H.data[G];fa(ne,!0);const Me=D[G]=D[11].createComment("");return cc(H,D,Me,ne),Ka(Me,D),Kr(ne)&&(ed(H,D,ne),$2(H,ne,D)),null!=p&&Ua(D,ne),du}function hu(){let s=Vr();const l=Fn();return Bs()?ns():(s=s.parent,fa(s,!1)),l.firstCreatePass&&(ft(l,s),Ma(s)&&l.queries.elementEnd(s)),hu}function O3(s,l,p){return du(s,l,p),hu(),O3}function nf(){return Oi()}function uu(s){return!!s&&"function"==typeof s.then}function fu(s){return!!s&&"function"==typeof s.subscribe}const jn=fu;function hc(s,l,p,D){const H=Oi(),G=Fn(),ne=Vr();return Ks(G,H,H[11],ne,s,l,D),hc}function H0(s,l){const p=Vr(),D=Oi(),H=Fn();return Ks(H,D,b3(oo(H.data),p,D),p,s,l),H0}function Ks(s,l,p,D,H,G,ne){const Me=Kr(D),ut=s.firstCreatePass&&H4(s),It=l[8],$t=v3(l);let _i=!0;if(3&D.type||ne){const Xi=ir(D,l),ln=ne?ne(Xi):Xi,gn=$t.length,Rn=ne?Zn=>ne(Wn(Zn[D.index])):D.index;let Zi=null;if(!ne&&Me&&(Zi=function mu(s,l,p,D){const H=s.cleanup;if(null!=H)for(let G=0;G<H.length-1;G+=2){const ne=H[G];if(ne===p&&H[G+1]===D){const Me=l[7],We=H[G+2];return Me.length>We?Me[We]:null}"string"==typeof ne&&(G+=2)}return null}(s,l,H,D.index)),null!==Zi)(Zi.__ngLastListenerFn__||Zi).__ngNextListenerFn__=G,Zi.__ngLastListenerFn__=G,_i=!1;else{G=N3(D,l,It,G,!1);const Zn=p.listen(ln,H,G);$t.push(G,Zn),ut&&ut.push(H,Rn,gn,gn+1)}}else G=N3(D,l,It,G,!1);const Ci=D.outputs;let Ni;if(_i&&null!==Ci&&(Ni=Ci[H])){const Xi=Ni.length;if(Xi)for(let ln=0;ln<Xi;ln+=2){const wa=l[Ni[ln]][Ni[ln+1]].subscribe(G),Na=$t.length;$t.push(G,wa),ut&&ut.push(H,D.index,Na,-(Na+1))}}}function P3(s,l,p,D){try{return!1!==p(D)}catch(H){return y3(s,H),!1}}function N3(s,l,p,D,H){return function G(ne){if(ne===Function)return D;_3(s.componentOffset>-1?vt(s.index,l):l);let We=P3(l,0,D,ne),ut=G.__ngNextListenerFn__;for(;ut;)We=P3(l,0,ut,ne)&&We,ut=ut.__ngNextListenerFn__;return H&&!1===We&&(ne.preventDefault(),ne.returnValue=!1),We}}function F0(s=1){return function Gs(s){return(xn.lFrame.contextLView=function nn(s,l){for(;s>0;)l=l[15],s--;return l}(s,xn.lFrame.contextLView))[8]}(s)}function R3(s,l){let p=null;const D=function Bh(s){const l=s.attrs;if(null!=l){const p=l.indexOf(5);if(0==(1&p))return l[p+1]}return null}(s);for(let H=0;H<l.length;H++){const G=l[H];if("*"!==G){if(null===D?C0(s,G,!0):Gh(D,G))return H}else p=H}return p}function z0(s){const l=Oi()[16][6];if(!l.projection){const D=l.projection=En(s?s.length:1,null),H=D.slice();let G=l.child;for(;null!==G;){const ne=s?R3(G,s):0;null!==ne&&(H[ne]?H[ne].projectionNext=G:D[ne]=G,H[ne]=G),G=G.next}}}function xo(s,l=0,p){const D=Oi(),H=Fn(),G=Qn(H,22+s,16,null,p||null);null===G.projection&&(G.projection=l),ns(),32!=(32&G.flags)&&function Id(s,l,p){M2(l[11],0,l,p,uh(s,p,l),Ta(p.parent||l[6],p,l))}(H,D,G)}function uc(s,l,p){return Cn(s,"",l,"",p),uc}function Cn(s,l,p,D,H){const G=Oi(),ne=nd(G,l,p,D);return ne!==zn&&Ns(Fn(),sr(),G,s,ne,G[11],H,!1),Cn}function V0(s,l,p,D,H,G,ne){const Me=Oi(),We=z1(Me,l,p,D,H,G);return We!==zn&&Ns(Fn(),sr(),Me,s,We,Me[11],ne,!1),V0}function Z0(s,l){return s<<17|l<<2}function Yo(s){return s>>17&32767}function sd(s){return 2|s}function gl(s){return(131068&s)>>2}function Qs(s,l){return-131069&s|l<<2}function W0(s){return 1|s}function _l(s,l,p,D,H){const G=s[p+1],ne=null===l;let Me=D?Yo(G):gl(G),We=!1;for(;0!==Me&&(!1===We||ne);){const It=s[Me+1];vl(s[Me],l)&&(We=!0,s[Me+1]=D?W0(It):sd(It)),Me=D?Yo(It):gl(It)}We&&(s[p+1]=D?sd(G):W0(G))}function vl(s,l){return null===s||null==l||(Array.isArray(s)?s[1]:s)===l||!(!Array.isArray(s)||"string"!=typeof l)&&ho(s,l)>=0}const La={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Y0(s){return s.substring(La.key,La.keyEnd)}function ca(s,l){const p=La.textEnd;return p===l?-1:(l=La.keyEnd=function bu(s,l,p){for(;l<p&&s.charCodeAt(l)>32;)l++;return l}(s,La.key=l,p),W1(s,l,p))}function W1(s,l,p){for(;l<p&&s.charCodeAt(l)<=32;)l++;return l}function xu(s,l,p){return fc(s,l,p,!1),xu}function Cu(s,l){return fc(s,l,null,!0),Cu}function Mu(s){mc(Zr,Co,s,!0)}function Co(s,l){for(let p=function Z1(s){return function Jl(s){La.key=0,La.keyEnd=0,La.value=0,La.valueEnd=0,La.textEnd=s.length}(s),ca(s,W1(s,0,La.textEnd))}(l);p>=0;p=ca(l,p))Zr(s,Y0(l),!0)}function fc(s,l,p,D){const H=Oi(),G=Fn(),ne=Vi(2);G.firstUpdatePass&&lf(G,s,ne,D),l!==zn&&bs(H,ne,l)&&hf(G,G.data[Dr()],H,H[11],s,H[ne+1]=function i6(s,l){return null==s||("string"==typeof l?s+=l:"object"==typeof s&&(s=P(Ho(s)))),s}(l,p),D,ne)}function mc(s,l,p,D){const H=Fn(),G=Vi(2);H.firstUpdatePass&&lf(H,null,G,D);const ne=Oi();if(p!==zn&&bs(ne,G,p)){const Me=H.data[Dr()];if(Z3(Me,D)&&!cf(H,G)){let We=D?Me.classesWithoutHost:Me.stylesWithoutHost;null!==We&&(p=u(We,p||"")),cu(H,Me,ne,p,D)}else!function t6(s,l,p,D,H,G,ne,Me){H===zn&&(H=zt);let We=0,ut=0,It=0<H.length?H[0]:null,$t=0<G.length?G[0]:null;for(;null!==It||null!==$t;){const _i=We<H.length?H[We+1]:void 0,Ci=ut<G.length?G[ut+1]:void 0;let Xi,Ni=null;It===$t?(We+=2,ut+=2,_i!==Ci&&(Ni=$t,Xi=Ci)):null===$t||null!==It&&It<$t?(We+=2,Ni=It):(ut+=2,Ni=$t,Xi=Ci),null!==Ni&&hf(s,l,p,D,Ni,Xi,ne,Me),It=We<H.length?H[We]:null,$t=ut<G.length?G[ut]:null}}(H,Me,ne,ne[11],ne[G+1],ne[G+1]=function e6(s,l,p){if(null==p||""===p)return zt;const D=[],H=Ho(p);if(Array.isArray(H))for(let G=0;G<H.length;G++)s(D,H[G],!0);else if("object"==typeof H)for(const G in H)H.hasOwnProperty(G)&&s(D,G,H[G]);else"string"==typeof H&&l(D,H);return D}(s,l,p),D,G)}}function cf(s,l){return l>=s.expandoStartIndex}function lf(s,l,p,D){const H=s.data;if(null===H[p+1]){const G=H[Dr()],ne=cf(s,p);Z3(G,D)&&null===l&&!ne&&(l=!1),l=function wo(s,l,p,D){const H=oo(s);let G=D?l.residualClasses:l.residualStyles;if(null===H)0===(D?l.classBindings:l.styleBindings)&&(p=cd(p=Eu(null,s,l,p,D),l.attrs,D),G=null);else{const ne=l.directiveStylingLast;if(-1===ne||s[ne]!==H)if(p=Eu(H,s,l,p,D),null===G){let We=function Su(s,l,p){const D=p?l.classBindings:l.styleBindings;if(0!==gl(D))return s[Yo(D)]}(s,l,D);void 0!==We&&Array.isArray(We)&&(We=Eu(null,s,l,We[1],D),We=cd(We,l.attrs,D),function B3(s,l,p,D){s[Yo(p?l.classBindings:l.styleBindings)]=D}(s,l,D,We))}else G=function U3(s,l,p){let D;const H=l.directiveEnd;for(let G=1+l.directiveStylingLast;G<H;G++)D=cd(D,s[G].hostAttrs,p);return cd(D,l.attrs,p)}(s,l,D)}return void 0!==G&&(D?l.residualClasses=G:l.residualStyles=G),p}(H,G,l,D),function z3(s,l,p,D,H,G){let ne=G?l.classBindings:l.styleBindings,Me=Yo(ne),We=gl(ne);s[D]=p;let It,ut=!1;if(Array.isArray(p)){const $t=p;It=$t[1],(null===It||ho($t,It)>0)&&(ut=!0)}else It=p;if(H)if(0!==We){const _i=Yo(s[Me+1]);s[D+1]=Z0(_i,Me),0!==_i&&(s[_i+1]=Qs(s[_i+1],D)),s[Me+1]=function F3(s,l){return 131071&s|l<<17}(s[Me+1],D)}else s[D+1]=Z0(Me,0),0!==Me&&(s[Me+1]=Qs(s[Me+1],D)),Me=D;else s[D+1]=Z0(We,0),0===Me?Me=D:s[We+1]=Qs(s[We+1],D),We=D;ut&&(s[D+1]=sd(s[D+1])),_l(s,It,D,!0),_l(s,It,D,!1),function vu(s,l,p,D,H){const G=H?s.residualClasses:s.residualStyles;null!=G&&"string"==typeof l&&ho(G,l)>=0&&(p[D+1]=W0(p[D+1]))}(l,It,s,D,G),ne=Z0(Me,We),G?l.classBindings=ne:l.styleBindings=ne}(H,G,l,p,ne,D)}}function Eu(s,l,p,D,H){let G=null;const ne=p.directiveEnd;let Me=p.directiveStylingLast;for(-1===Me?Me=p.directiveStart:Me++;Me<ne&&(G=l[Me],D=cd(D,G.hostAttrs,H),G!==s);)Me++;return null!==s&&(p.directiveStylingLast=Me),D}function cd(s,l,p){const D=p?1:2;let H=-1;if(null!==l)for(let G=0;G<l.length;G++){const ne=l[G];"number"==typeof ne?H=ne:H===D&&(Array.isArray(s)||(s=void 0===s?[]:["",s]),Zr(s,ne,!!p||l[++G]))}return void 0===s?null:s}function hf(s,l,p,D,H,G,ne,Me){if(!(3&l.type))return;const We=s.data,ut=We[Me+1],It=function _u(s){return 1==(1&s)}(ut)?G3(We,l,p,H,gl(ut),ne):void 0;Tu(It)||(Tu(G)||function Ga(s){return 2==(2&s)}(ut)&&(G=G3(We,null,p,H,Me,ne)),function mh(s,l,p,D,H){if(l)H?s.addClass(p,D):s.removeClass(p,D);else{let G=-1===D.indexOf("-")?void 0:Ls.DashCase;null==H?s.removeStyle(p,D,G):("string"==typeof H&&H.endsWith("!important")&&(H=H.slice(0,-10),G|=Ls.Important),s.setStyle(p,D,H,G))}}(D,ne,Cr(Dr(),p),H,G))}function G3(s,l,p,D,H,G){const ne=null===l;let Me;for(;H>0;){const We=s[H],ut=Array.isArray(We),It=ut?We[1]:We,$t=null===It;let _i=p[H+1];_i===zn&&(_i=$t?zt:void 0);let Ci=$t?Ws(_i,D):It===D?_i:void 0;if(ut&&!Tu(Ci)&&(Ci=Ws(We,D)),Tu(Ci)&&(Me=Ci,ne))return Me;const Ni=s[H+1];H=ne?Yo(Ni):gl(Ni)}if(null!==l){let We=G?l.residualClasses:l.residualStyles;null!=We&&(Me=Ws(We,D))}return Me}function Tu(s){return void 0!==s}function Z3(s,l){return 0!=(s.flags&(l?8:16))}function W3(s,l=""){const p=Oi(),D=Fn(),H=s+22,G=D.firstCreatePass?Qn(D,H,1,l,null):D.data[H],ne=p[H]=function m1(s,l){return s.createText(l)}(p[11],l);cc(D,p,ne,G),fa(G,!1)}function Q0(s){return ro("",s,""),Q0}function ro(s,l,p){const D=Oi(),H=nd(D,s,l,p);return H!==zn&&pl(D,Dr(),H),ro}function Ko(s,l,p,D,H){const G=Oi(),ne=z1(G,s,l,p,D,H);return ne!==zn&&pl(G,Dr(),ne),Ko}function Au(s,l,p,D,H,G,ne){const Me=Oi(),We=function V1(s,l,p,D,H,G,ne,Me){const ut=N0(s,Pi(),p,H,ne);return Vi(3),ut?l+X(p)+D+X(H)+G+X(ne)+Me:zn}(Me,s,l,p,D,H,G,ne);return We!==zn&&pl(Me,Dr(),We),Au}function Y3(s,l,p,D,H,G,ne,Me,We){const ut=Oi(),It=B1(ut,s,l,p,D,H,G,ne,Me,We);return It!==zn&&pl(ut,Dr(),It),Y3}function Q3(s,l,p){mc(Zr,Co,nd(Oi(),s,l,p),!0)}function Iu(s,l,p){const D=Oi();return bs(D,gs(),l)&&Ns(Fn(),sr(),D,s,l,D[11],p,!0),Iu}function $3(s,l,p){const D=Oi();if(bs(D,gs(),l)){const G=Fn(),ne=sr();Ns(G,ne,D,s,l,b3(oo(G.data),ne,D),p,!0)}return $3}const Xl=void 0;var e4=["en",[["a","p"],["AM","PM"],Xl],[["AM","PM"],Xl,Xl],[["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"]],Xl,[["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"]],Xl,[["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}",Xl,"{1} 'at' {0}",Xl],[".",",",";","%","+","-","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)),D=s.toString().replace(/^[^.]*\.?/,"").length;return 1===p&&0===D?1:5}];let ld={};function ku(s){const l=function m6(s){return s.toLowerCase().replace(/_/g,"-")}(s);let p=Ou(l);if(p)return p;const D=l.split("-")[0];if(p=Ou(D),p)return p;if("en"===D)return e4;throw new Y(701,!1)}function q0(s){return ku(s)[On.PluralCase]}function Ou(s){return s in ld||(ld[s]=nt.ng&&nt.ng.common&&nt.ng.common.locales&&nt.ng.common.locales[s]),ld[s]}var On=(()=>((On=On||{})[On.LocaleId=0]="LocaleId",On[On.DayPeriodsFormat=1]="DayPeriodsFormat",On[On.DayPeriodsStandalone=2]="DayPeriodsStandalone",On[On.DaysFormat=3]="DaysFormat",On[On.DaysStandalone=4]="DaysStandalone",On[On.MonthsFormat=5]="MonthsFormat",On[On.MonthsStandalone=6]="MonthsStandalone",On[On.Eras=7]="Eras",On[On.FirstDayOfWeek=8]="FirstDayOfWeek",On[On.WeekendRange=9]="WeekendRange",On[On.DateFormat=10]="DateFormat",On[On.TimeFormat=11]="TimeFormat",On[On.DateTimeFormat=12]="DateTimeFormat",On[On.NumberSymbols=13]="NumberSymbols",On[On.NumberFormats=14]="NumberFormats",On[On.CurrencyCode=15]="CurrencyCode",On[On.CurrencySymbol=16]="CurrencySymbol",On[On.CurrencyName=17]="CurrencyName",On[On.Currencies=18]="Currencies",On[On.Directionality=19]="Directionality",On[On.PluralCase=20]="PluralCase",On[On.ExtraData=21]="ExtraData",On))();const j1="en-US";let t4=j1;function Ru(s,l,p,D,H){if(s=A(s),Array.isArray(s))for(let G=0;G<s.length;G++)Ru(s[G],l,p,D,H);else{const G=Fn(),ne=Oi();let Me=Fo(s)?s:A(s.provide),We=z2(s);const ut=Vr(),It=1048575&ut.providerIndexes,$t=ut.directiveStart,_i=ut.providerIndexes>>20;if(Fo(s)||!s.multi){const Ci=new Ot(We,H,vo),Ni=Rf(Me,l,H?It:It+_i,$t);-1===Ni?(Sl(Bc(ut,ne),G,Me),Nf(G,s,l.length),l.push(Me),ut.directiveStart++,ut.directiveEnd++,H&&(ut.providerIndexes+=1048576),p.push(Ci),ne.push(Ci)):(p[Ni]=Ci,ne[Ni]=Ci)}else{const Ci=Rf(Me,l,It+_i,$t),Ni=Rf(Me,l,It,It+_i),Xi=Ci>=0&&p[Ci],ln=Ni>=0&&p[Ni];if(H&&!ln||!H&&!Xi){Sl(Bc(ut,ne),G,Me);const gn=function Ig(s,l,p,D,H){const G=new Ot(s,p,vo);return G.multi=[],G.index=l,G.componentProviders=0,w6(G,H,D&&!p),G}(H?M6:Dg,p.length,H,D,We);!H&&ln&&(p[Ni].providerFactory=gn),Nf(G,s,l.length,0),l.push(Me),ut.directiveStart++,ut.directiveEnd++,H&&(ut.providerIndexes+=1048576),p.push(gn),ne.push(gn)}else Nf(G,s,Ci>-1?Ci:Ni,w6(p[H?Ni:Ci],We,!H&&D));!H&&D&&ln&&p[Ni].componentProviders++}}}function Nf(s,l,p,D){const H=Fo(l),G=function a0(s){return!!s.useClass}(l);if(H||G){const We=(G?A(l.useClass):l).prototype.ngOnDestroy;if(We){const ut=s.destroyHooks||(s.destroyHooks=[]);if(!H&&l.multi){const It=ut.indexOf(p);-1===It?ut.push(p,[D,We]):ut[It+1].push(D,We)}else ut.push(p,We)}}}function w6(s,l,p){return p&&s.componentProviders++,s.multi.push(l)-1}function Rf(s,l,p,D){for(let H=p;H<D;H++)if(l[H]===s)return H;return-1}function Dg(s,l,p,D){return Hf(this.multi,[])}function M6(s,l,p,D){const H=this.multi;let G;if(this.providerFactory){const ne=this.providerFactory.componentProviders,Me=Do(p,p[1],this.providerFactory.index,D);G=Me.slice(0,ne),Hf(H,G);for(let We=ne;We<Me.length;We++)G.push(Me[We])}else G=[],Hf(H,G);return G}function Hf(s,l){for(let p=0;p<s.length;p++)l.push((0,s[p])());return l}function S6(s,l=[]){return p=>{p.providersResolver=(D,H)=>function Lg(s,l,p){const D=Fn();if(D.firstCreatePass){const H=tr(s);Ru(p,D.data,D.blueprint,H,!0),Ru(l,D.data,D.blueprint,H,!1)}}(D,H?H(s):s,l)}}class X0{}class E6{}function kg(s,l){return new T6(s,l??null)}class T6 extends X0{constructor(l,p){super(),this._parent=p,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new x3(this);const D=di(l);this._bootstrapComponents=Vo(D.bootstrap),this._r3Injector=L0(l,p,[{provide:X0,useValue:this},{provide:ks,useValue:this.componentFactoryResolver}],P(l),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(l)}get injector(){return this._r3Injector}destroy(){const l=this._r3Injector;!l.destroyed&&l.destroy(),this.destroyCbs.forEach(p=>p()),this.destroyCbs=null}onDestroy(l){this.destroyCbs.push(l)}}class Ff extends E6{constructor(l){super(),this.moduleType=l}create(l){return new T6(this.moduleType,l)}}class Og extends X0{constructor(l,p,D){super(),this.componentFactoryResolver=new x3(this),this.instance=null;const H=new H2([...l,{provide:X0,useValue:this},{provide:ks,useValue:this.componentFactoryResolver}],p||Wl(),D,new Set(["environment"]));this.injector=H,H.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(l){this.injector.onDestroy(l)}}function zf(s,l,p=null){return new Og(s,l,p).injector}let Pg=(()=>{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 D=ol(0,p.type),H=D.length>0?zf([D],this._injector,`Standalone[${p.type.name}]`):null;this.cachedInjectors.set(p.id,H)}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=Ke({token:s,providedIn:"environment",factory:()=>new s(Ft(Oc))}),s})();function A6(s){s.getStandaloneInjector=l=>l.get(Pg).getOrCreateStandaloneInjector(s)}function N6(s,l,p){const D=kn()+s,H=Oi();return H[D]===zn?Fc(H,D,p?l.call(p):l()):function P0(s,l){return s[l]}(H,D)}function Zf(s,l,p,D){return F6(Oi(),kn(),s,l,p,D)}function R6(s,l,p,D,H){return z6(Oi(),kn(),s,l,p,D,H)}function Wf(s,l,p,D,H,G){return V6(Oi(),kn(),s,l,p,D,H,G)}function Hu(s,l){const p=s[l];return p===zn?void 0:p}function F6(s,l,p,D,H,G){const ne=l+p;return bs(s,ne,H)?Fc(s,ne+1,G?D.call(G,H):D(H)):Hu(s,ne+1)}function z6(s,l,p,D,H,G,ne){const Me=l+p;return H1(s,Me,H,G)?Fc(s,Me+2,ne?D.call(ne,H,G):D(H,G)):Hu(s,Me+2)}function V6(s,l,p,D,H,G,ne,Me){const We=l+p;return N0(s,We,H,G,ne)?Fc(s,We+3,Me?D.call(Me,H,G,ne):D(H,G,ne)):Hu(s,We+3)}function U6(s,l){const p=Fn();let D;const H=s+22;p.firstCreatePass?(D=function Wg(s,l){if(l)for(let p=l.length-1;p>=0;p--){const D=l[p];if(s===D.name)return D}}(l,p.pipeRegistry),p.data[H]=D,D.onDestroy&&(p.destroyHooks||(p.destroyHooks=[])).push(H,D.onDestroy)):D=p.data[H];const G=D.factory||(D.factory=ra(D.type)),ne=Ee(vo);try{const Me=as(!1),We=G();return as(Me),function Jm(s,l,p,D){p>=s.data.length&&(s.data[p]=null,s.blueprint[p]=null),l[p]=D}(p,Oi(),H,We),We}finally{Ee(ne)}}function Yf(s,l,p){const D=s+22,H=Oi(),G=fi(H,D);return Fu(H,D)?F6(H,kn(),l,G.transform,p,G):G.transform(p)}function jf(s,l,p,D){const H=s+22,G=Oi(),ne=fi(G,H);return Fu(G,H)?z6(G,kn(),l,ne.transform,p,D,ne):ne.transform(p,D)}function G6(s,l,p,D,H){const G=s+22,ne=Oi(),Me=fi(ne,G);return Fu(ne,G)?V6(ne,kn(),l,Me.transform,p,D,H,Me):Me.transform(p,D,H)}function Fu(s,l){return s[1].data[l].pure}function Kf(s){return l=>{setTimeout(s,void 0,l)}}const yl=class Z6 extends t.x{constructor(l=!1){super(),this.__isAsync=l}emit(l){super.next(l)}subscribe(l,p,D){let H=l,G=p||(()=>null),ne=D;if(l&&"object"==typeof l){const We=l;H=We.next?.bind(We),G=We.error?.bind(We),ne=We.complete?.bind(We)}this.__isAsync&&(G=Kf(G),H&&(H=Kf(H)),ne&&(ne=Kf(ne)));const Me=super.subscribe({next:H,error:G,complete:ne});return l instanceof e.w0&&l.add(Me),Me}};function Kg(){return this._results[Hc()]()}class r4{constructor(l=!1){this._emitDistinctChangesOnly=l,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const p=Hc(),D=r4.prototype;D[p]||(D[p]=Kg)}get changes(){return this._changes||(this._changes=new yl)}get(l){return this._results[l]}map(l){return this._results.map(l)}filter(l){return this._results.filter(l)}find(l){return this._results.find(l)}reduce(l,p){return this._results.reduce(l,p)}forEach(l){this._results.forEach(l)}some(l){return this._results.some(l)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(l,p){const D=this;D.dirty=!1;const H=function Ri(s){return s.flat(Number.POSITIVE_INFINITY)}(l);(this._changesDetected=!function vi(s,l,p){if(s.length!==l.length)return!1;for(let D=0;D<s.length;D++){let H=s[D],G=l[D];if(p&&(H=p(H),G=p(G)),G!==H)return!1}return!0}(D._results,H,p))&&(D._results=H,D.length=H.length,D.last=H[this.length-1],D.first=H[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let zu=(()=>{class s{}return s.__NG_ELEMENT_ID__=W6,s})();const Qg=zu,qg=class extends Qg{constructor(l,p,D){super(),this._declarationLView=l,this._declarationTContainer=p,this.elementRef=D}createEmbeddedView(l,p){const D=this._declarationTContainer.tViews,H=Dn(this._declarationLView,D,l,16,null,D.declTNode,null,null,null,null,p||null);H[17]=this._declarationLView[this._declarationTContainer.index];const ne=this._declarationLView[19];return null!==ne&&(H[19]=ne.createEmbeddedView(D)),vs(D,H,l),new td(H)}};function W6(){return a4(Vr(),Oi())}function a4(s,l){return 4&s.type?new qg(l,s,go(s,l)):null}let s4=(()=>{class s{}return s.__NG_ELEMENT_ID__=Y6,s})();function Y6(){return Xf(Vr(),Oi())}const Jg=s4,Qf=class extends Jg{constructor(l,p,D){super(),this._lContainer=l,this._hostTNode=p,this._hostLView=D}get element(){return go(this._hostTNode,this._hostLView)}get injector(){return new cs(this._hostTNode,this._hostLView)}get parentInjector(){const l=Ml(this._hostTNode,this._hostLView);if(Gr(l)){const p=ma(l,this._hostLView),D=Or(l);return new cs(p[1].data[D+8],p)}return new cs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(l){const p=qf(this._lContainer);return null!==p&&p[l]||null}get length(){return this._lContainer.length-10}createEmbeddedView(l,p,D){let H,G;"number"==typeof D?H=D:null!=D&&(H=D.index,G=D.injector);const ne=l.createEmbeddedView(p||{},G);return this.insert(ne,H),ne}createComponent(l,p,D,H,G){const ne=l&&!function Ht(s){return"function"==typeof s}(l);let Me;if(ne)Me=p;else{const $t=p||{};Me=$t.index,D=$t.injector,H=$t.projectableNodes,G=$t.environmentInjector||$t.ngModuleRef}const We=ne?l:new id(Si(l)),ut=D||this.parentInjector;if(!G&&null==We.ngModule){const _i=(ne?ut:this.parentInjector).get(Oc,null);_i&&(G=_i)}const It=We.create(ut,H,void 0,G);return this.insert(It.hostView,Me),It}insert(l,p){const D=l._lView,H=D[1];if(function tn(s){return br(s[3])}(D)){const It=this.indexOf(l);if(-1!==It)this.detach(It);else{const $t=D[3],_i=new Qf($t,$t[6],$t[3]);_i.detach(_i.indexOf(l))}}const G=this._adjustIndex(p),ne=this._lContainer;!function Xu(s,l,p,D){const H=10+D,G=p.length;D>0&&(p[H-1][4]=l),D<G-10?(l[4]=p[H],$i(p,10+D,l)):(p.push(l),l[4]=null),l[3]=p;const ne=l[17];null!==ne&&p!==ne&&function il(s,l){const p=s[9];l[16]!==l[3][3][16]&&(s[2]=!0),null===p?s[9]=[l]:p.push(l)}(ne,l);const Me=l[19];null!==Me&&Me.insertView(s),l[2]|=64}(H,D,ne,G);const Me=b1(G,ne),We=D[11],ut=v1(We,ne[7]);return null!==ut&&function Qu(s,l,p,D,H,G){D[0]=H,D[6]=l,Fl(s,D,p,1,H,G)}(H,ne[6],We,D,ut,Me),l.attachToViewContainerRef(),$i(Jf(ne),G,l),l}move(l,p){return this.insert(l,p)}indexOf(l){const p=qf(this._lContainer);return null!==p?p.indexOf(l):-1}remove(l){const p=this._adjustIndex(l,-1),D=y2(this._lContainer,p);D&&(on(Jf(this._lContainer),p),g1(D[1],D))}detach(l){const p=this._adjustIndex(l,-1),D=y2(this._lContainer,p);return D&&null!=on(Jf(this._lContainer),p)?new td(D):null}_adjustIndex(l,p=0){return l??this.length+p}};function qf(s){return s[8]}function Jf(s){return s[8]||(s[8]=[])}function Xf(s,l){let p;const D=l[s.index];if(br(D))p=D;else{let H;if(8&s.type)H=Wn(D);else{const G=l[11];H=G.createComment("");const ne=ir(s,l);Sc(G,v1(G,ne),H,function Td(s,l){return s.nextSibling(l)}(G,ne),!1)}l[s.index]=p=R4(D,l,H,s),I0(l,p)}return new Qf(p,s,l)}class $f{constructor(l){this.queryList=l,this.matches=null}clone(){return new $f(this.queryList)}setDirty(){this.queryList.setDirty()}}class em{constructor(l=[]){this.queries=l}createEmbeddedView(l){const p=l.queries;if(null!==p){const D=null!==l.contentQueries?l.contentQueries[0]:p.length,H=[];for(let G=0;G<D;G++){const ne=p.getByIndex(G);H.push(this.queries[ne.indexInDeclarationView].clone())}return new em(H)}return null}insertView(l){this.dirtyQueriesWithMatches(l)}detachView(l){this.dirtyQueriesWithMatches(l)}dirtyQueriesWithMatches(l){for(let p=0;p<this.queries.length;p++)null!==tp(l,p).matches&&this.queries[p].setDirty()}}class j6{constructor(l,p,D=null){this.predicate=l,this.flags=p,this.read=D}}class tm{constructor(l=[]){this.queries=l}elementStart(l,p){for(let D=0;D<this.queries.length;D++)this.queries[D].elementStart(l,p)}elementEnd(l){for(let p=0;p<this.queries.length;p++)this.queries[p].elementEnd(l)}embeddedTView(l){let p=null;for(let D=0;D<this.length;D++){const H=null!==p?p.length:0,G=this.getByIndex(D).embeddedTView(l,H);G&&(G.indexInDeclarationView=D,null!==p?p.push(G):p=[G])}return null!==p?new tm(p):null}template(l,p){for(let D=0;D<this.queries.length;D++)this.queries[D].template(l,p)}getByIndex(l){return this.queries[l]}get length(){return this.queries.length}track(l){this.queries.push(l)}}class im{constructor(l,p=-1){this.metadata=l,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=p}elementStart(l,p){this.isApplyingToNode(p)&&this.matchTNode(l,p)}elementEnd(l){this._declarationNodeIndex===l.index&&(this._appliesToNextNode=!1)}template(l,p){this.elementStart(l,p)}embeddedTView(l,p){return this.isApplyingToNode(l)?(this.crossesNgTemplate=!0,this.addMatch(-l.index,p),new im(this.metadata)):null}isApplyingToNode(l){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const p=this._declarationNodeIndex;let D=l.parent;for(;null!==D&&8&D.type&&D.index!==p;)D=D.parent;return p===(null!==D?D.index:-1)}return this._appliesToNextNode}matchTNode(l,p){const D=this.metadata.predicate;if(Array.isArray(D))for(let H=0;H<D.length;H++){const G=D[H];this.matchTNodeWithReadOption(l,p,nm(p,G)),this.matchTNodeWithReadOption(l,p,Lo(p,l,G,!1,!1))}else D===zu?4&p.type&&this.matchTNodeWithReadOption(l,p,-1):this.matchTNodeWithReadOption(l,p,Lo(p,l,D,!1,!1))}matchTNodeWithReadOption(l,p,D){if(null!==D){const H=this.metadata.read;if(null!==H)if(H===Qa||H===s4||H===zu&&4&p.type)this.addMatch(p.index,-2);else{const G=Lo(p,l,H,!1,!1);null!==G&&this.addMatch(p.index,G)}else this.addMatch(p.index,D)}}addMatch(l,p){null===this.matches?this.matches=[l,p]:this.matches.push(l,p)}}function nm(s,l){const p=s.localNames;if(null!==p)for(let D=0;D<p.length;D+=2)if(p[D]===l)return p[D+1];return null}function $g(s,l,p,D){return-1===p?function Xg(s,l){return 11&s.type?go(s,l):4&s.type?a4(s,l):null}(l,s):-2===p?function K6(s,l,p){return p===Qa?go(l,s):p===zu?a4(l,s):p===s4?Xf(l,s):void 0}(s,l,D):Do(s,s[1],p,l)}function Q6(s,l,p,D){const H=l[19].queries[D];if(null===H.matches){const G=s.data,ne=p.matches,Me=[];for(let We=0;We<ne.length;We+=2){const ut=ne[We];Me.push(ut<0?null:$g(l,G[ut],ne[We+1],p.metadata.read))}H.matches=Me}return H.matches}function rm(s,l,p,D){const H=s.queries.getByIndex(p),G=H.matches;if(null!==G){const ne=Q6(s,l,H,p);for(let Me=0;Me<G.length;Me+=2){const We=G[Me];if(We>0)D.push(ne[Me/2]);else{const ut=G[Me+1],It=l[-We];for(let $t=10;$t<It.length;$t++){const _i=It[$t];_i[17]===_i[3]&&rm(_i[1],_i,ut,D)}if(null!==It[9]){const $t=It[9];for(let _i=0;_i<$t.length;_i++){const Ci=$t[_i];rm(Ci[1],Ci,ut,D)}}}}}return D}function q6(s){const l=Oi(),p=Fn(),D=co();gc(D+1);const H=tp(p,D);if(s.dirty&&function oi(s){return 4==(4&s[2])}(l)===(2==(2&H.metadata.flags))){if(null===H.matches)s.reset([]);else{const G=H.crossesNgTemplate?rm(p,l,D,[]):Q6(p,l,H,D);s.reset(G,Yl),s.notifyOnChanges()}return!0}return!1}function J6(s,l,p){const D=Fn();D.firstCreatePass&&(ep(D,new j6(s,l,p),-1),2==(2&l)&&(D.staticViewQueries=!0)),$6(D,Oi(),l)}function am(s,l,p,D){const H=Fn();if(H.firstCreatePass){const G=Vr();ep(H,new j6(l,p,D),G.index),function t8(s,l){const p=s.contentQueries||(s.contentQueries=[]);l!==(p.length?p[p.length-1]:-1)&&p.push(s.queries.length-1,l)}(H,s),2==(2&p)&&(H.staticContentQueries=!0)}$6(H,Oi(),p)}function X6(){return function e8(s,l){return s[19].queries[l].queryList}(Oi(),co())}function $6(s,l,p){const D=new r4(4==(4&p));l3(s,l,D,D.destroy),null===l[19]&&(l[19]=new em),l[19].queries.push(new $f(D))}function ep(s,l,p){null===s.queries&&(s.queries=new tm),s.queries.track(new im(l,p))}function tp(s,l){return s.queries.getByIndex(l)}function ip(s,l){return a4(s,l)}function h4(...s){}const Sp=new _r("Application Initializer");let u4=(()=>{class s{constructor(p){this.appInits=p,this.resolve=h4,this.reject=h4,this.initialized=!1,this.done=!1,this.donePromise=new Promise((D,H)=>{this.resolve=D,this.reject=H})}runInitializers(){if(this.initialized)return;const p=[],D=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let H=0;H<this.appInits.length;H++){const G=this.appInits[H]();if(uu(G))p.push(G);else if(jn(G)){const ne=new Promise((Me,We)=>{G.subscribe({complete:Me,error:We})});p.push(ne)}}Promise.all(p).then(()=>{D()}).catch(H=>{this.reject(H)}),0===p.length&&D(),this.initialized=!0}}return s.\u0275fac=function(p){return new(p||s)(Ft(Sp,8))},s.\u0275prov=Ke({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const Ep=new _r("AppId",{providedIn:"root",factory:function Tp(){return`${f4()}${f4()}${f4()}`}});function f4(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ap=new _r("Platform Initializer"),g8=new _r("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),um=new _r("appBootstrapListener"),Lp=new _r("AnimationModuleType");let _8=(()=>{class s{log(p){console.log(p)}warn(p){console.warn(p)}}return s.\u0275fac=function(p){return new(p||s)},s.\u0275prov=Ke({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})();const m4=new _r("LocaleId",{providedIn:"root",factory:()=>Ce(m4,Ue.Optional|Ue.SkipSelf)||function Dp(){return typeof $localize<"u"&&$localize.locale||j1}()}),v8=new _r("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class b8{constructor(l,p){this.ngModuleFactory=l,this.componentFactories=p}}let y8=(()=>{class s{compileModuleSync(p){return new Ff(p)}compileModuleAsync(p){return Promise.resolve(this.compileModuleSync(p))}compileModuleAndAllComponentsSync(p){const D=this.compileModuleSync(p),G=Vo(di(p).declarations).reduce((ne,Me)=>{const We=Si(Me);return We&&ne.push(new id(We)),ne},[]);return new b8(D,G)}compileModuleAndAllComponentsAsync(p){return Promise.resolve(this.compileModuleAndAllComponentsSync(p))}clearCache(){}clearCacheFor(p){}getModuleId(p){}}return s.\u0275fac=function(p){return new(p||s)},s.\u0275prov=Ke({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 Qo{constructor({enableLongStackTrace:l=!1,shouldCoalesceEventChangeDetection:p=!1,shouldCoalesceRunChangeDetection:D=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new yl(!1),this.onMicrotaskEmpty=new yl(!1),this.onStable=new yl(!1),this.onError=new yl(!1),typeof Zone>"u")throw new Y(908,!1);Zone.assertZonePatched();const H=this;H._nesting=0,H._outer=H._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(H._inner=H._inner.fork(new Zone.TaskTrackingZoneSpec)),l&&Zone.longStackTraceZoneSpec&&(H._inner=H._inner.fork(Zone.longStackTraceZoneSpec)),H.shouldCoalesceEventChangeDetection=!D&&p,H.shouldCoalesceRunChangeDetection=D,H.lastRequestAnimationFrameId=-1,H.nativeRequestAnimationFrame=function M8(){let s=nt.requestAnimationFrame,l=nt.cancelAnimationFrame;if(typeof Zone<"u"&&s&&l){const p=s[Zone.__symbol__("OriginalDelegate")];p&&(s=p);const D=l[Zone.__symbol__("OriginalDelegate")];D&&(l=D)}return{nativeRequestAnimationFrame:s,nativeCancelAnimationFrame:l}}().nativeRequestAnimationFrame,function T8(s){const l=()=>{!function E8(s){s.isCheckStableRunning||-1!==s.lastRequestAnimationFrameId||(s.lastRequestAnimationFrameId=s.nativeRequestAnimationFrame.call(nt,()=>{s.fakeTopEventTask||(s.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{s.lastRequestAnimationFrameId=-1,p4(s),s.isCheckStableRunning=!0,mm(s),s.isCheckStableRunning=!1},void 0,()=>{},()=>{})),s.fakeTopEventTask.invoke()}),p4(s))}(s)};s._inner=s._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(p,D,H,G,ne,Me)=>{try{return Op(s),p.invokeTask(H,G,ne,Me)}finally{(s.shouldCoalesceEventChangeDetection&&"eventTask"===G.type||s.shouldCoalesceRunChangeDetection)&&l(),Pp(s)}},onInvoke:(p,D,H,G,ne,Me,We)=>{try{return Op(s),p.invoke(H,G,ne,Me,We)}finally{s.shouldCoalesceRunChangeDetection&&l(),Pp(s)}},onHasTask:(p,D,H,G)=>{p.hasTask(H,G),D===H&&("microTask"==G.change?(s._hasPendingMicrotasks=G.microTask,p4(s),mm(s)):"macroTask"==G.change&&(s.hasPendingMacrotasks=G.macroTask))},onHandleError:(p,D,H,G)=>(p.handleError(H,G),s.runOutsideAngular(()=>s.onError.emit(G)),!1)})}(H)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Qo.isInAngularZone())throw new Y(909,!1)}static assertNotInAngularZone(){if(Qo.isInAngularZone())throw new Y(909,!1)}run(l,p,D){return this._inner.run(l,p,D)}runTask(l,p,D,H){const G=this._inner,ne=G.scheduleEventTask("NgZoneEvent: "+H,l,S8,h4,h4);try{return G.runTask(ne,p,D)}finally{G.cancelTask(ne)}}runGuarded(l,p,D){return this._inner.runGuarded(l,p,D)}runOutsideAngular(l){return this._outer.run(l)}}const S8={};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 p4(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 Np{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new yl,this.onMicrotaskEmpty=new yl,this.onStable=new yl,this.onError=new yl}run(l,p,D){return l.apply(p,D)}runGuarded(l,p,D){return l.apply(p,D)}runOutsideAngular(l){return l()}runTask(l,p,D,H){return l.apply(p,D)}}const Rp=new _r(""),Hp=new _r("");let pm,A8=(()=>{class s{constructor(p,D,H){this._ngZone=p,this.registry=D,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,pm||(function L8(s){pm=s}(H),H.addToWindow(D)),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:()=>{Qo.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(D=>!D.updateCb||!D.updateCb(p)||(clearTimeout(D.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,D,H){let G=-1;D&&D>0&&(G=setTimeout(()=>{this._callbacks=this._callbacks.filter(ne=>ne.timeoutId!==G),p(this._didWork,this.getPendingTasks())},D)),this._callbacks.push({doneCb:p,timeoutId:G,updateCb:H})}whenStable(p,D,H){if(H&&!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,D,H),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(p){this.registry.registerApplication(p,this)}unregisterApplication(p){this.registry.unregisterApplication(p)}findProviders(p,D,H){return[]}}return s.\u0275fac=function(p){return new(p||s)(Ft(Qo),Ft(Fp),Ft(Hp))},s.\u0275prov=Ke({token:s,factory:s.\u0275fac}),s})(),Fp=(()=>{class s{constructor(){this._applications=new Map}registerApplication(p,D){this._applications.set(p,D)}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,D=!0){return pm?.findTestabilityInTree(this,p,D)??null}}return s.\u0275fac=function(p){return new(p||s)},s.\u0275prov=Ke({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})(),t1=null;const zp=new _r("AllowMultipleToken"),gm=new _r("PlatformDestroyListeners");class I8{constructor(l,p){this.name=l,this.token=p}}function Gp(s,l,p=[]){const D=`Platform: ${l}`,H=new _r(D);return(G=[])=>{let ne=vm();if(!ne||ne.injector.get(zp,!1)){const Me=[...p,...G,{provide:H,useValue:!0}];s?s(Me):function Bp(s){if(t1&&!t1.get(zp,!1))throw new Y(400,!1);t1=s;const l=s.get(Zp);(function Up(s){const l=s.get(Ap,null);l&&l.forEach(p=>p())})(s)}(function _m(s=[],l){return Bo.create({name:l,providers:[{provide:ll,useValue:"platform"},{provide:gm,useValue:new Set([()=>t1=null])},...s]})}(Me,D))}return function O8(s){const l=vm();if(!l)throw new Y(401,!1);return l}()}}function vm(){return t1?.get(Zp)??null}let Zp=(()=>{class s{constructor(p){this._injector=p,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(p,D){const H=function Yp(s,l){let p;return p="noop"===s?new Np:("zone.js"===s?void 0:s)||new Qo(l),p}(D?.ngZone,function Wp(s){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!s||!s.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!s||!s.ngZoneRunCoalescing)||!1}}(D)),G=[{provide:Qo,useValue:H}];return H.run(()=>{const ne=Bo.create({providers:G,parent:this.injector,name:p.moduleType.name}),Me=p.create(ne),We=Me.injector.get(hl,null);if(!We)throw new Y(402,!1);return H.runOutsideAngular(()=>{const ut=H.onError.subscribe({next:It=>{We.handleError(It)}});Me.onDestroy(()=>{_4(this._modules,Me),ut.unsubscribe()})}),function jp(s,l,p){try{const D=p();return uu(D)?D.catch(H=>{throw l.runOutsideAngular(()=>s.handleError(H)),H}):D}catch(D){throw l.runOutsideAngular(()=>s.handleError(D)),D}}(We,H,()=>{const ut=Me.injector.get(u4);return ut.runInitializers(),ut.donePromise.then(()=>(function Nu(s){B(s,"Expected localeId to be defined"),"string"==typeof s&&(t4=s.toLowerCase().replace(/_/g,"-"))}(Me.injector.get(m4,j1)||j1),this._moduleDoBootstrap(Me),Me))})})}bootstrapModule(p,D=[]){const H=bm({},D);return function Vp(s,l,p){const D=new Ff(p);return Promise.resolve(D)}(0,0,p).then(G=>this.bootstrapModuleFactory(G,H))}_moduleDoBootstrap(p){const D=p.injector.get(g4);if(p._bootstrapComponents.length>0)p._bootstrapComponents.forEach(H=>D.bootstrap(H));else{if(!p.instance.ngDoBootstrap)throw new Y(403,!1);p.instance.ngDoBootstrap(D)}this._modules.push(p)}onDestroy(p){this._destroyListeners.push(p)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Y(404,!1);this._modules.slice().forEach(D=>D.destroy()),this._destroyListeners.forEach(D=>D());const p=this._injector.get(gm,null);p&&(p.forEach(D=>D()),p.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return s.\u0275fac=function(p){return new(p||s)(Ft(Bo))},s.\u0275prov=Ke({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})();function bm(s,l){return Array.isArray(l)?l.reduce(bm,s):{...s,...l}}let g4=(()=>{class s{constructor(p,D,H){this._zone=p,this._injector=D,this._exceptionHandler=H,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 G=new g.y(Me=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Me.next(this._stable),Me.complete()})}),ne=new g.y(Me=>{let We;this._zone.runOutsideAngular(()=>{We=this._zone.onStable.subscribe(()=>{Qo.assertNotInAngularZone(),fm(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Me.next(!0))})})});const ut=this._zone.onUnstable.subscribe(()=>{Qo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Me.next(!1)}))});return()=>{We.unsubscribe(),ut.unsubscribe()}});this.isStable=(0,k.T)(G,ne.pipe((0,o.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(p,D){const H=p instanceof l0;if(!this._injector.get(u4).done)throw!H&&Gt(p),new Y(405,false);let ne;ne=H?p:this._injector.get(ks).resolveComponentFactory(p),this.componentTypes.push(ne.componentType);const Me=function D8(s){return s.isBoundToModule}(ne)?void 0:this._injector.get(X0),ut=ne.create(Bo.NULL,[],D||ne.selector,Me),It=ut.location.nativeElement,$t=ut.injector.get(Rp,null);return $t?.registerApplication(It),ut.onDestroy(()=>{this.detachView(ut.hostView),_4(this.components,ut),$t?.unregisterApplication(It)}),this._loadComponent(ut),ut}tick(){if(this._runningTick)throw new Y(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 D=p;this._views.push(D),D.attachToAppRef(this)}detachView(p){const D=p;_4(this._views,D),D.detachFromAppRef()}_loadComponent(p){this.attachView(p.hostView),this.tick(),this.components.push(p),this._injector.get(um,[]).concat(this._bootstrapListeners).forEach(H=>H(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),()=>_4(this._destroyListeners,p)}destroy(){if(this._destroyed)throw new Y(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)(Ft(Qo),Ft(Oc),Ft(hl))},s.\u0275prov=Ke({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function _4(s,l){const p=s.indexOf(l);p>-1&&s.splice(p,1)}function N8(){return!1}function Qp(){}let H8=(()=>{class s{}return s.__NG_ELEMENT_ID__=xm,s})();function xm(s){return function F8(s,l,p){if(Sa(s)&&!p){const D=vt(s.index,l);return new td(D,D)}return 47&s.type?new td(l[16],l):null}(Vr(),Oi(),16==(16&s))}class Jp{constructor(){}supports(l){return O0(l)}create(l){return new Z8(l)}}const G8=(s,l)=>l;class Z8{constructor(l){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=l||G8}forEachItem(l){let p;for(p=this._itHead;null!==p;p=p._next)l(p)}forEachOperation(l){let p=this._itHead,D=this._removalsHead,H=0,G=null;for(;p||D;){const ne=!D||p&&p.currentIndex<y4(D,H,G)?p:D,Me=y4(ne,H,G),We=ne.currentIndex;if(ne===D)H--,D=D._nextRemoved;else if(p=p._next,null==ne.previousIndex)H++;else{G||(G=[]);const ut=Me-H,It=We-H;if(ut!=It){for(let _i=0;_i<ut;_i++){const Ci=_i<G.length?G[_i]:G[_i]=0,Ni=Ci+_i;It<=Ni&&Ni<ut&&(G[_i]=Ci+1)}G[ne.previousIndex]=It-ut}}Me!==We&&l(ne,Me,We)}}forEachPreviousItem(l){let p;for(p=this._previousItHead;null!==p;p=p._nextPrevious)l(p)}forEachAddedItem(l){let p;for(p=this._additionsHead;null!==p;p=p._nextAdded)l(p)}forEachMovedItem(l){let p;for(p=this._movesHead;null!==p;p=p._nextMoved)l(p)}forEachRemovedItem(l){let p;for(p=this._removalsHead;null!==p;p=p._nextRemoved)l(p)}forEachIdentityChange(l){let p;for(p=this._identityChangesHead;null!==p;p=p._nextIdentityChange)l(p)}diff(l){if(null==l&&(l=[]),!O0(l))throw new Y(900,!1);return this.check(l)?this:null}onDestroy(){}check(l){this._reset();let H,G,ne,p=this._itHead,D=!1;if(Array.isArray(l)){this.length=l.length;for(let Me=0;Me<this.length;Me++)G=l[Me],ne=this._trackByFn(Me,G),null!==p&&Object.is(p.trackById,ne)?(D&&(p=this._verifyReinsertion(p,G,ne,Me)),Object.is(p.item,G)||this._addIdentityChange(p,G)):(p=this._mismatch(p,G,ne,Me),D=!0),p=p._next}else H=0,function S3(s,l){if(Array.isArray(s))for(let p=0;p<s.length;p++)l(s[p]);else{const p=s[Hc()]();let D;for(;!(D=p.next()).done;)l(D.value)}}(l,Me=>{ne=this._trackByFn(H,Me),null!==p&&Object.is(p.trackById,ne)?(D&&(p=this._verifyReinsertion(p,Me,ne,H)),Object.is(p.item,Me)||this._addIdentityChange(p,Me)):(p=this._mismatch(p,Me,ne,H),D=!0),p=p._next,H++}),this.length=H;return this._truncate(p),this.collection=l,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let l;for(l=this._previousItHead=this._itHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._additionsHead;null!==l;l=l._nextAdded)l.previousIndex=l.currentIndex;for(this._additionsHead=this._additionsTail=null,l=this._movesHead;null!==l;l=l._nextMoved)l.previousIndex=l.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(l,p,D,H){let G;return null===l?G=this._itTail:(G=l._prev,this._remove(l)),null!==(l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(D,null))?(Object.is(l.item,p)||this._addIdentityChange(l,p),this._reinsertAfter(l,G,H)):null!==(l=null===this._linkedRecords?null:this._linkedRecords.get(D,H))?(Object.is(l.item,p)||this._addIdentityChange(l,p),this._moveAfter(l,G,H)):l=this._addAfter(new W8(p,D),G,H),l}_verifyReinsertion(l,p,D,H){let G=null===this._unlinkedRecords?null:this._unlinkedRecords.get(D,null);return null!==G?l=this._reinsertAfter(G,l._prev,H):l.currentIndex!=H&&(l.currentIndex=H,this._addToMoves(l,H)),l}_truncate(l){for(;null!==l;){const p=l._next;this._addToRemovals(this._unlink(l)),l=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(l,p,D){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(l);const H=l._prevRemoved,G=l._nextRemoved;return null===H?this._removalsHead=G:H._nextRemoved=G,null===G?this._removalsTail=H:G._prevRemoved=H,this._insertAfter(l,p,D),this._addToMoves(l,D),l}_moveAfter(l,p,D){return this._unlink(l),this._insertAfter(l,p,D),this._addToMoves(l,D),l}_addAfter(l,p,D){return this._insertAfter(l,p,D),this._additionsTail=null===this._additionsTail?this._additionsHead=l:this._additionsTail._nextAdded=l,l}_insertAfter(l,p,D){const H=null===p?this._itHead:p._next;return l._next=H,l._prev=p,null===H?this._itTail=l:H._prev=l,null===p?this._itHead=l:p._next=l,null===this._linkedRecords&&(this._linkedRecords=new $p),this._linkedRecords.put(l),l.currentIndex=D,l}_remove(l){return this._addToRemovals(this._unlink(l))}_unlink(l){null!==this._linkedRecords&&this._linkedRecords.remove(l);const p=l._prev,D=l._next;return null===p?this._itHead=D:p._next=D,null===D?this._itTail=p:D._prev=p,l}_addToMoves(l,p){return l.previousIndex===p||(this._movesTail=null===this._movesTail?this._movesHead=l:this._movesTail._nextMoved=l),l}_addToRemovals(l){return null===this._unlinkedRecords&&(this._unlinkedRecords=new $p),this._unlinkedRecords.put(l),l.currentIndex=null,l._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=l,l._prevRemoved=null):(l._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=l),l}_addIdentityChange(l,p){return l.item=p,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=l:this._identityChangesTail._nextIdentityChange=l,l}}class W8{constructor(l,p){this.item=l,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 Xp{constructor(){this._head=null,this._tail=null}add(l){null===this._head?(this._head=this._tail=l,l._nextDup=null,l._prevDup=null):(this._tail._nextDup=l,l._prevDup=this._tail,l._nextDup=null,this._tail=l)}get(l,p){let D;for(D=this._head;null!==D;D=D._nextDup)if((null===p||p<=D.currentIndex)&&Object.is(D.trackById,l))return D;return null}remove(l){const p=l._prevDup,D=l._nextDup;return null===p?this._head=D:p._nextDup=D,null===D?this._tail=p:D._prevDup=p,null===this._head}}class $p{constructor(){this.map=new Map}put(l){const p=l.trackById;let D=this.map.get(p);D||(D=new Xp,this.map.set(p,D)),D.add(l)}get(l,p){const H=this.map.get(l);return H?H.get(l,p):null}remove(l){const p=l.trackById;return this.map.get(p).remove(l)&&this.map.delete(p),l}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function y4(s,l,p){const D=s.previousIndex;if(null===D)return D;let H=0;return p&&D<p.length&&(H=p[D]),D+l+H}class eg{constructor(){}supports(l){return l instanceof Map||E3(l)}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(l){let p;for(p=this._mapHead;null!==p;p=p._next)l(p)}forEachPreviousItem(l){let p;for(p=this._previousMapHead;null!==p;p=p._nextPrevious)l(p)}forEachChangedItem(l){let p;for(p=this._changesHead;null!==p;p=p._nextChanged)l(p)}forEachAddedItem(l){let p;for(p=this._additionsHead;null!==p;p=p._nextAdded)l(p)}forEachRemovedItem(l){let p;for(p=this._removalsHead;null!==p;p=p._nextRemoved)l(p)}diff(l){if(l){if(!(l instanceof Map||E3(l)))throw new Y(900,!1)}else l=new Map;return this.check(l)?this:null}onDestroy(){}check(l){this._reset();let p=this._mapHead;if(this._appendAfter=null,this._forEach(l,(D,H)=>{if(p&&p.key===H)this._maybeAddToChanges(p,D),this._appendAfter=p,p=p._next;else{const G=this._getOrCreateRecordForKey(H,D);p=this._insertBeforeOrAppend(p,G)}}),p){p._prev&&(p._prev._next=null),this._removalsHead=p;for(let D=p;null!==D;D=D._nextRemoved)D===this._mapHead&&(this._mapHead=null),this._records.delete(D.key),D._nextRemoved=D._next,D.previousValue=D.currentValue,D.currentValue=null,D._prev=null,D._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(l,p){if(l){const D=l._prev;return p._next=l,p._prev=D,l._prev=p,D&&(D._next=p),l===this._mapHead&&(this._mapHead=p),this._appendAfter=l,l}return this._appendAfter?(this._appendAfter._next=p,p._prev=this._appendAfter):this._mapHead=p,this._appendAfter=p,null}_getOrCreateRecordForKey(l,p){if(this._records.has(l)){const H=this._records.get(l);this._maybeAddToChanges(H,p);const G=H._prev,ne=H._next;return G&&(G._next=ne),ne&&(ne._prev=G),H._next=null,H._prev=null,H}const D=new tg(l);return this._records.set(l,D),D.currentValue=p,this._addToAdditions(D),D}_reset(){if(this.isDirty){let l;for(this._previousMapHead=this._mapHead,l=this._previousMapHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._changesHead;null!==l;l=l._nextChanged)l.previousValue=l.currentValue;for(l=this._additionsHead;null!=l;l=l._nextAdded)l.previousValue=l.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(l,p){Object.is(p,l.currentValue)||(l.previousValue=l.currentValue,l.currentValue=p,this._addToChanges(l))}_addToAdditions(l){null===this._additionsHead?this._additionsHead=this._additionsTail=l:(this._additionsTail._nextAdded=l,this._additionsTail=l)}_addToChanges(l){null===this._changesHead?this._changesHead=this._changesTail=l:(this._changesTail._nextChanged=l,this._changesTail=l)}_forEach(l,p){l instanceof Map?l.forEach(p):Object.keys(l).forEach(D=>p(l[D],D))}}class tg{constructor(l){this.key=l,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 ig(){return new x4([new Jp])}let x4=(()=>{class s{constructor(p){this.factories=p}static create(p,D){if(null!=D){const H=D.factories.slice();p=p.concat(H)}return new s(p)}static extend(p){return{provide:s,useFactory:D=>s.create(p,D||ig()),deps:[[s,new rc,new nc]]}}find(p){const D=this.factories.find(H=>H.supports(p));if(null!=D)return D;throw new Y(901,!1)}}return s.\u0275prov=Ke({token:s,providedIn:"root",factory:ig}),s})();function ng(){return new Em([new eg])}let Em=(()=>{class s{constructor(p){this.factories=p}static create(p,D){if(D){const H=D.factories.slice();p=p.concat(H)}return new s(p)}static extend(p){return{provide:s,useFactory:D=>s.create(p,D||ng()),deps:[[s,new rc,new nc]]}}find(p){const D=this.factories.find(H=>H.supports(p));if(D)return D;throw new Y(901,!1)}}return s.\u0275prov=Ke({token:s,providedIn:"root",factory:ng}),s})();const ag=Gp(null,"core",[]);let K8=(()=>{class s{constructor(p){}}return s.\u0275fac=function(p){return new(p||s)(Ft(g4))},s.\u0275mod=wt({type:s}),s.\u0275inj=Ae({}),s})();function Q8(s){return"boolean"==typeof s?s:null!=s&&"false"!==s}},5863:(ze,K,m)=>{"use strict";function t(I){for(let S in I){let A=I[S]??"";switch(S){case"display":I.display="flex"===A?["-webkit-flex","flex"]:"inline-flex"===A?["-webkit-inline-flex","inline-flex"]:A;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":I["-webkit-"+S]=A;break;case"flex-direction":I["-webkit-flex-direction"]=A,I["flex-direction"]=A;break;case"order":I.order=I["-webkit-"+S]=isNaN(+A)?"0":A}}return I}m.d(K,{Ar:()=>k,GK:()=>t,iQ:()=>g,kt:()=>u,tj:()=>C});const e="inline",g=["row","column","row-reverse","column-reverse"];function k(I){let[S,A,w]=o(I);return function P(I,S=null,A=!1){return{display:A?"inline-flex":"flex","box-sizing":"border-box","flex-direction":I,"flex-wrap":S||null}}(S,A,w)}function o(I){I=I?.toLowerCase()??"";let[S,A,w]=I.split(" ");return g.find(R=>R===S)||(S=g[0]),A===e&&(A=w!==e?w:"",w=e),[S,h(A),!!w]}function C(I){let[S]=o(I);return S.indexOf("row")>-1}function h(I){if(I)switch(I.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":I="wrap-reverse";break;case"no":case"none":case"nowrap":I="nowrap";break;default:I="wrap"}return I}function u(I,...S){if(null==I)throw TypeError("Cannot convert undefined or null to object");for(let A of S)if(null!=A)for(let w in A)A.hasOwnProperty(w)&&(I[w]=A[w]);return I}},2233:(ze,K,m)=>{"use strict";m.d(K,{Bs:()=>X,FL:()=>Ie,IR:()=>w,Ot:()=>gt,QI:()=>fe,RK:()=>re,WU:()=>Y,g5:()=>U,iR:()=>q,wY:()=>Q,yB:()=>Ze});var t=m(4650),e=m(6895),g=m(1135),k=m(9751),o=m(6451),C=m(7579),h=m(5863),P=m(9300),u=m(8505);const S={provide:t.tb,useFactory:function I(He,xt){return()=>{if((0,e.NF)(xt)){const Pe=Array.from(He.querySelectorAll(`[class*=${A}]`)),et=/\bflex-layout-.+?\b/g;Pe.forEach(Vt=>{Vt.classList.contains(`${A}ssr`)&&Vt.parentNode?Vt.parentNode.removeChild(Vt):Vt.className.replace(et,"")})}}},deps:[e.K0,t.Lbi],multi:!0},A="flex-layout-";let w=(()=>{class He{}return He.\u0275fac=function(Pe){return new(Pe||He)},He.\u0275mod=t.oAB({type:He}),He.\u0275inj=t.cJS({providers:[S]}),He})();class R{constructor(xt=!1,Pe="all",et="",Vt="",Lt=0){this.matches=xt,this.mediaQuery=Pe,this.mqAlias=et,this.suffix=Vt,this.priority=Lt,this.property=""}clone(){return new R(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let E=(()=>{class He{constructor(){this.stylesheet=new Map}addStyleToElement(Pe,et,Vt){const Lt=this.stylesheet.get(Pe);Lt?Lt.set(et,Vt):this.stylesheet.set(Pe,new Map([[et,Vt]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(Pe,et){const Vt=this.stylesheet.get(Pe);let Lt="";if(Vt){const Ft=Vt.get(et);("number"==typeof Ft||"string"==typeof Ft)&&(Lt=Ft+"")}return Lt}}return He.\u0275fac=function(Pe){return new(Pe||He)},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();const U={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Y=new t.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>U}),Q=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 $(He,xt){return He=He?.clone()??new R,xt&&(He.mqAlias=xt.alias,He.mediaQuery=xt.mediaQuery,He.suffix=xt.suffix,He.priority=xt.priority),He}class fe{constructor(){this.shouldCache=!0}sideEffect(xt,Pe,et){}}let re=(()=>{class He{constructor(Pe,et,Vt,Lt){this._serverStylesheet=Pe,this._serverModuleLoaded=et,this._platformId=Vt,this.layoutConfig=Lt}applyStyleToElement(Pe,et,Vt=null){let Lt={};"string"==typeof et&&(Lt[et]=Vt,et=Lt),Lt=this.layoutConfig.disableVendorPrefixes?et:(0,h.GK)(et),this._applyMultiValueStyleToElement(Lt,Pe)}applyStyleToElements(Pe,et=[]){const Vt=this.layoutConfig.disableVendorPrefixes?Pe:(0,h.GK)(Pe);et.forEach(Lt=>{this._applyMultiValueStyleToElement(Vt,Lt)})}getFlowDirection(Pe){const et="flex-direction";let Vt=this.lookupStyle(Pe,et);return[Vt||"row",this.lookupInlineStyle(Pe,et)||(0,e.PM)(this._platformId)&&this._serverModuleLoaded?Vt:""]}hasWrap(Pe){return"wrap"===this.lookupStyle(Pe,"flex-wrap")}lookupAttributeValue(Pe,et){return Pe.getAttribute(et)??""}lookupInlineStyle(Pe,et){return(0,e.NF)(this._platformId)?Pe.style.getPropertyValue(et):function ee(He,xt){return le(He)[xt]??""}(Pe,et)}lookupStyle(Pe,et,Vt=!1){let Lt="";return Pe&&((Lt=this.lookupInlineStyle(Pe,et))||((0,e.NF)(this._platformId)?Vt||(Lt=getComputedStyle(Pe).getPropertyValue(et)):this._serverModuleLoaded&&(Lt=this._serverStylesheet.getStyleForElement(Pe,et)))),Lt?Lt.trim():""}_applyMultiValueStyleToElement(Pe,et){Object.keys(Pe).sort().forEach(Vt=>{const Lt=Pe[Vt],Ft=Array.isArray(Lt)?Lt:[Lt];Ft.sort();for(let bt of Ft)bt=bt?bt+"":"",(0,e.NF)(this._platformId)||!this._serverModuleLoaded?(0,e.NF)(this._platformId)?et.style.setProperty(Vt,bt):ce(et,Vt,bt):this._serverStylesheet.addStyleToElement(et,Vt,bt)})}}return He.\u0275fac=function(Pe){return new(Pe||He)(t.LFG(E),t.LFG(Q),t.LFG(t.Lbi),t.LFG(Y))},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();function ce(He,xt,Pe){xt=xt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const et=le(He);et[xt]=Pe??"",function se(He,xt){let Pe="";for(const et in xt)xt[et]&&(Pe+=`${et}:${xt[et]};`);He.setAttribute("style",Pe)}(He,et)}function le(He){const xt={},Pe=He.getAttribute("style");if(Pe){const et=Pe.split(/;+/g);for(let Vt=0;Vt<et.length;Vt++){const Lt=et[Vt].trim();if(Lt.length>0){const Ft=Lt.indexOf(":");if(-1===Ft)throw new Error(`Invalid CSS style: ${Lt}`);xt[Lt.substr(0,Ft).trim()]=Lt.substr(Ft+1).trim()}}}return xt}function L(He,xt){return(xt&&xt.priority||0)-(He&&He.priority||0)}function i(He,xt){return(He.priority||0)-(xt.priority||0)}let r=(()=>{class He{constructor(Pe,et,Vt){this._zone=Pe,this._platformId=et,this._document=Vt,this.source=new g.X(new R(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const Pe=[];return this.registry.forEach((et,Vt)=>{et.matches&&Pe.push(Vt)}),Pe}isActive(Pe){return this.registry.get(Pe)?.matches??this.registerQuery(Pe).some(Vt=>Vt.matches)}observe(Pe,et=!1){if(Pe&&Pe.length){const Vt=this._observable$.pipe((0,P.h)(Ft=>!et||Pe.indexOf(Ft.mediaQuery)>-1)),Lt=new k.y(Ft=>{const bt=this.registerQuery(Pe);if(bt.length){const Ce=bt.pop();bt.forEach(J=>{Ft.next(J)}),this.source.next(Ce)}Ft.complete()});return(0,o.T)(Lt,Vt)}return this._observable$}registerQuery(Pe){const et=Array.isArray(Pe)?Pe:[Pe],Vt=[];return function c(He,xt){const Pe=He.filter(et=>!d[et]);if(Pe.length>0){const et=Pe.join(", ");try{const Vt=xt.createElement("style");Vt.setAttribute("type","text/css"),Vt.styleSheet||Vt.appendChild(xt.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${et} {.fx-query-test{ }}\n`)),xt.head.appendChild(Vt),Pe.forEach(Lt=>d[Lt]=Vt)}catch(Vt){console.error(Vt)}}}(et,this._document),et.forEach(Lt=>{const Ft=Ce=>{this._zone.run(()=>this.source.next(new R(Ce.matches,Lt)))};let bt=this.registry.get(Lt);bt||(bt=this.buildMQL(Lt),bt.addListener(Ft),this.pendingRemoveListenerFns.push(()=>bt.removeListener(Ft)),this.registry.set(Lt,bt)),bt.matches&&Vt.push(new R(!0,Lt))}),Vt}ngOnDestroy(){let Pe;for(;Pe=this.pendingRemoveListenerFns.pop();)Pe()}buildMQL(Pe){return function T(He,xt){return xt&&window.matchMedia("all").addListener?window.matchMedia(He):function b(He){const xt=new EventTarget;return xt.matches="all"===He||""===He,xt.media=He,xt.addListener=()=>{},xt.removeListener=()=>{},xt.addEventListener=()=>{},xt.dispatchEvent=()=>!1,xt.onchange=null,xt}(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 d={},N=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],v="(orientation: portrait) and (max-width: 599.98px)",n="(orientation: landscape) and (max-width: 959.98px)",y="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",B="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",z="(orientation: portrait) and (min-width: 840px)",W="(orientation: landscape) and (min-width: 1280px)",Le={HANDSET:`${v}, ${n}`,TABLET:`${y} , ${B}`,WEB:`${z}, ${W} `,HANDSET_PORTRAIT:`${v}`,TABLET_PORTRAIT:`${y} `,WEB_PORTRAIT:`${z}`,HANDSET_LANDSCAPE:`${n}`,TABLET_LANDSCAPE:`${B}`,WEB_LANDSCAPE:`${W}`},Ve=[{alias:"handset",priority:2e3,mediaQuery:Le.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Le.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Le.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Le.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Le.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Le.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Le.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Le.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Le.WEB_PORTRAIT,overlapping:!0}],Ke=/(\.|-|_)/g;function $e(He){let xt=He.length>0?He.charAt(0):"",Pe=He.length>1?He.slice(1):"";return xt.toUpperCase()+Pe}const we=new t.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const He=(0,t.f3M)(X),xt=(0,t.f3M)(Y),Pe=[].concat.apply([],(He||[]).map(Vt=>Array.isArray(Vt)?Vt:[Vt]));return function ye(He,xt=[]){const Pe={};return He.forEach(et=>{Pe[et.alias]=et}),xt.forEach(et=>{Pe[et.alias]?(0,h.kt)(Pe[et.alias],et):Pe[et.alias]=et}),function ue(He){return He.forEach(xt=>{xt.suffix||(xt.suffix=function Ae(He){return He.replace(Ke,"|").split("|").map($e).join("")}(xt.alias),xt.overlapping=!!xt.overlapping)}),He}(Object.keys(Pe).map(et=>Pe[et]))}((xt.disableDefaultBps?[]:N).concat(xt.addOrientationBps?Ve:[]),Pe)}});let he=(()=>{class He{constructor(Pe){this.findByMap=new Map,this.items=[...Pe].sort(i)}findByAlias(Pe){return Pe?this.findWithPredicate(Pe,et=>et.alias===Pe):null}findByQuery(Pe){return this.findWithPredicate(Pe,et=>et.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,et){let Vt=this.findByMap.get(Pe);return Vt||(Vt=this.items.find(et)??null,this.findByMap.set(Pe,Vt)),Vt??null}}return He.\u0275fac=function(Pe){return new(Pe||He)(t.LFG(we))},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();const it="print",De={alias:it,mediaQuery:it,priority:1e3};let oe=(()=>{class He{constructor(Pe,et,Vt){this.breakpoints=Pe,this.layoutConfig=et,this._document=Vt,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new me,this.deactivations=[]}withPrintQuery(Pe){return[...Pe,it]}isPrintEvent(Pe){return Pe.mediaQuery.startsWith(it)}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 et=this.breakpoints.findByQuery(Pe);return(et?[...this.printBreakPoints,et]:this.printBreakPoints).sort(L)}updateEvent(Pe){let et=this.breakpoints.findByQuery(Pe.mediaQuery);return this.isPrintEvent(Pe)&&(et=this.getEventBreakpoints(Pe)[0],Pe.mediaQuery=et?.mediaQuery??""),$(Pe,et)}registerBeforeAfterPrintHooks(Pe){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const et=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(Pe,this.getEventBreakpoints(new R(!0,it))),Pe.updateStyles())},Vt=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(Pe),Pe.updateStyles())};this._document.defaultView.addEventListener("beforeprint",et),this._document.defaultView.addEventListener("afterprint",Vt),this.beforePrintEventListeners.push(et),this.afterPrintEventListeners.push(Vt)}interceptEvents(Pe){return et=>{this.isPrintEvent(et)?et.matches&&!this.isPrinting?(this.startPrinting(Pe,this.getEventBreakpoints(et)),Pe.updateStyles()):!et.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(Pe),Pe.updateStyles()):this.collectActivations(Pe,et)}}blockPropagation(){return Pe=>!(this.isPrinting||this.isPrintEvent(Pe))}startPrinting(Pe,et){this.isPrinting=!0,this.formerActivations=Pe.activatedBreakpoints,Pe.activatedBreakpoints=this.queue.addPrintBreakpoints(et)}stopPrinting(Pe){Pe.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(Pe,et){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!et.matches){const Vt=this.breakpoints.findByQuery(et.mediaQuery);if(Vt){const Lt=this.formerActivations&&this.formerActivations.includes(Vt),Ft=!this.formerActivations&&Pe.activatedBreakpoints.includes(Vt);(Lt||Ft)&&(this.deactivations.push(Vt),this.deactivations.sort(L))}}}}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(he),t.LFG(Y),t.LFG(e.K0))},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();class me{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(xt){return xt.push(De),xt.sort(L),xt.forEach(Pe=>this.addBreakpoint(Pe)),this.printBreakpoints}addBreakpoint(xt){xt&&void 0===this.printBreakpoints.find(et=>et.mediaQuery===xt.mediaQuery)&&(this.printBreakpoints=function te(He){return He?.mediaQuery.startsWith(it)??!1}(xt)?[xt,...this.printBreakpoints]:[...this.printBreakpoints,xt])}clear(){this.printBreakpoints=[]}}let Ze=(()=>{class He{constructor(Pe,et,Vt){this.matchMedia=Pe,this.breakpoints=et,this.hook=Vt,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 et=this.findByQuery(Pe.mediaQuery);if(et){Pe=$(Pe,et);const Vt=this.activatedBreakpoints.indexOf(et);Pe.matches&&-1===Vt?(this._activatedBreakpoints.push(et),this._activatedBreakpoints.sort(L),this.updateStyles()):!Pe.matches&&-1!==Vt&&(this._activatedBreakpoints.splice(Vt,1),this._activatedBreakpoints.sort(L),this.updateStyles())}}init(Pe,et,Vt,Lt,Ft=[]){Ue(this.updateMap,Pe,et,Vt),Ue(this.clearMap,Pe,et,Lt),this.buildElementKeyMap(Pe,et),this.watchExtraTriggers(Pe,et,Ft)}getValue(Pe,et,Vt){const Lt=this.elementMap.get(Pe);if(Lt){const Ft=void 0!==Vt?Lt.get(Vt):this.getActivatedValues(Lt,et);if(Ft)return Ft.get(et)}}hasValue(Pe,et){const Vt=this.elementMap.get(Pe);if(Vt){const Lt=this.getActivatedValues(Vt,et);if(Lt)return void 0!==Lt.get(et)||!1}return!1}setValue(Pe,et,Vt,Lt){let Ft=this.elementMap.get(Pe);if(Ft){const Ce=(Ft.get(Lt)??new Map).set(et,Vt);Ft.set(Lt,Ce),this.elementMap.set(Pe,Ft)}else Ft=(new Map).set(Lt,(new Map).set(et,Vt)),this.elementMap.set(Pe,Ft);const bt=this.getValue(Pe,et);void 0!==bt&&this.updateElement(Pe,et,bt)}trackValue(Pe,et){return this.subject.asObservable().pipe((0,P.h)(Vt=>Vt.element===Pe&&Vt.key===et))}updateStyles(){this.elementMap.forEach((Pe,et)=>{const Vt=new Set(this.elementKeyMap.get(et));let Lt=this.getActivatedValues(Pe);Lt&&Lt.forEach((Ft,bt)=>{this.updateElement(et,bt,Ft),Vt.delete(bt)}),Vt.forEach(Ft=>{if(Lt=this.getActivatedValues(Pe,Ft),Lt){const bt=Lt.get(Ft);this.updateElement(et,Ft,bt)}else this.clearElement(et,Ft)})})}clearElement(Pe,et){const Vt=this.clearMap.get(Pe);if(Vt){const Lt=Vt.get(et);Lt&&(Lt(),this.subject.next({element:Pe,key:et,value:""}))}}updateElement(Pe,et,Vt){const Lt=this.updateMap.get(Pe);if(Lt){const Ft=Lt.get(et);Ft&&(Ft(Vt),this.subject.next({element:Pe,key:et,value:Vt}))}}releaseElement(Pe){const et=this.watcherMap.get(Pe);et&&(et.forEach(Lt=>Lt.unsubscribe()),this.watcherMap.delete(Pe));const Vt=this.elementMap.get(Pe);Vt&&(Vt.forEach((Lt,Ft)=>Vt.delete(Ft)),this.elementMap.delete(Pe))}triggerUpdate(Pe,et){const Vt=this.elementMap.get(Pe);if(Vt){const Lt=this.getActivatedValues(Vt,et);Lt&&(et?this.updateElement(Pe,et,Lt.get(et)):Lt.forEach((Ft,bt)=>this.updateElement(Pe,bt,Ft)))}}buildElementKeyMap(Pe,et){let Vt=this.elementKeyMap.get(Pe);Vt||(Vt=new Set,this.elementKeyMap.set(Pe,Vt)),Vt.add(et)}watchExtraTriggers(Pe,et,Vt){if(Vt&&Vt.length){let Lt=this.watcherMap.get(Pe);if(Lt||(Lt=new Map,this.watcherMap.set(Pe,Lt)),!Lt.get(et)){const bt=(0,o.T)(...Vt).subscribe(()=>{const Ce=this.getValue(Pe,et);this.updateElement(Pe,et,Ce)});Lt.set(et,bt)}}}findByQuery(Pe){return this.breakpoints.findByQuery(Pe)}getActivatedValues(Pe,et){for(let Lt=0;Lt<this.activatedBreakpoints.length;Lt++){const bt=Pe.get(this.activatedBreakpoints[Lt].alias);if(bt&&(void 0===et||bt.has(et)&&null!=bt.get(et)))return bt}if(!this._useFallbacks)return;const Vt=Pe.get("");return void 0===et||Vt&&Vt.has(et)?Vt:void 0}observeActivations(){const Pe=this.breakpoints.items.map(et=>et.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(Pe)).pipe((0,u.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(he),t.LFG(oe))},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();function Ue(He,xt,Pe,et){if(void 0!==et){const Vt=He.get(xt)??new Map;Vt.set(Pe,et),He.set(xt,Vt)}}let q=(()=>{class He{constructor(Pe,et,Vt,Lt){this.elementRef=Pe,this.styleBuilder=et,this.styler=Vt,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(et=>{if(-1!==this.inputs.indexOf(et)){const Vt=et.split(".").slice(1).join(".");this.setValue(Pe[et].currentValue,Vt)}})}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,et){const Vt=this.styleBuilder,Lt=Vt.shouldCache;let Ft=this.styleCache.get(Pe);(!Ft||!Lt)&&(Ft=Vt.buildStyles(Pe,et),Lt&&this.styleCache.set(Pe,Ft)),this.mru={...Ft},this.applyStyleToElement(Ft),Vt.sideEffect(Pe,Ft,et)}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,et=!1){if(Pe){const[Vt,Lt]=this.styler.getFlowDirection(Pe);if(!Lt&&et){const Ft=(0,h.Ar)(Vt);this.styler.applyStyleToElements(Ft,[Pe])}return Vt.trim()}return"row"}hasWrap(Pe){return this.styler.hasWrap(Pe)}applyStyleToElement(Pe,et,Vt=this.nativeElement){this.styler.applyStyleToElement(Vt,Pe,et)}setValue(Pe,et){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Pe,et)}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(fe),t.Y36(re),t.Y36(Ze))},He.\u0275dir=t.lG2({type:He,features:[t.TTD]}),He})();class Ee extends EventTarget{constructor(xt){super(),this._mediaQuery=xt,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(xt=>{xt.call(this,{matches:this.matches,media:this.media})})),this}deactivate(){return this._isActive&&(this._isActive=!1,this._listeners.forEach(xt=>{xt.call(this,{matches:this.matches,media:this.media})})),this}addListener(xt){-1===this._listeners.indexOf(xt)&&this._listeners.push(xt),this._isActive&&xt.call(this,{matches:this.matches,media:this.media})}removeListener(xt){}dispatchEvent(xt){return!1}}function gt(He,xt="1",Pe="1"){let et=[xt,Pe,He],Vt=He.indexOf("calc");if(Vt>0){et[2]=mt(He.substring(Vt).trim());let Lt=He.substr(0,Vt).trim().split(" ");2==Lt.length&&(et[0]=Lt[0],et[1]=Lt[1])}else if(0==Vt)et[2]=mt(He.trim());else{let Lt=He.split(" ");et=3===Lt.length?Lt:[xt,Pe,He]}return et}function mt(He){return He.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function Ie(He,xt){if(void 0===xt)return He;const Pe=et=>{const Vt=+et.slice(0,-"x".length);return He.endsWith("x")&&!isNaN(Vt)?`${Vt*xt.value}${xt.unit}`:He};return He.includes(" ")?He.split(" ").map(Pe).join(" "):Pe(He)}},5829:(ze,K,m)=>{"use strict";m.d(K,{Zl:()=>T,aT:()=>n,oO:()=>U});var t=m(4650),e=m(2233),g=m(6895),C=(m(1281),m(2722),m(1481));let w=(()=>{class y extends e.iR{constructor(z,W,Le,Ve,Ke,$e,Ae){super(z,null,W,Le),this.ngClassInstance=Ae,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new g.mk(Ve,Ke,z,$e)),this.init(),this.setValue("","")}set klass(z){this.ngClassInstance.klass=z,this.setValue(z,"")}updateWithValue(z){this.ngClassInstance.ngClass=z,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return y.\u0275fac=function(z){return new(z||y)(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(g.mk,10))},y.\u0275dir=t.lG2({type:y,inputs:{klass:["class","klass"]},features:[t.qOj]}),y})();const R=["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 U=(()=>{class y extends w{constructor(){super(...arguments),this.inputs=R}}return y.\u0275fac=function(){let B;return function(W){return(B||(B=t.n5z(y)))(W||y)}}(),y.\u0275dir=t.lG2({type:y,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]}),y})();class ee{constructor(B,z,W=!0){this.key=B,this.value=z,this.key=W?B.replace(/['"]/g,"").trim():B.trim(),this.value=W?z.replace(/['"]/g,"").trim():z.trim(),this.value=this.value.replace(/;/,"")}}function ce(y){let B=typeof y;return"object"===B?y.constructor===Array?"array":y.constructor===Set?"set":"object":B}function i(y){const[B,...z]=y.split(":");return new ee(B,z.join(":"))}function r(y,B){return B.key&&(y[B.key]=B.value),y}let d=(()=>{class y extends e.iR{constructor(z,W,Le,Ve,Ke,$e,Ae,ue,ye){super(z,null,W,Le),this.sanitizer=Ve,this.ngStyleInstance=Ae,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new g.PC(z,Ke,$e)),this.init();const we=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(we),this.isServer=ue&&(0,g.PM)(ye)}updateWithValue(z){const W=this.buildStyleMap(z);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...W},this.isServer&&this.applyStyleToElement(W),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(z){const W=Le=>this.sanitizer.sanitize(t.q3G.STYLE,Le)??"";if(z)switch(ce(z)){case"string":return N(function se(y,B=";"){return String(y).trim().split(B).map(z=>z.trim()).filter(z=>""!==z)}(z),W);case"array":return N(z,W);default:return function L(y,B){let z=[];return"set"===ce(y)?y.forEach(W=>z.push(W)):Object.keys(y).forEach(W=>{z.push(`${W}:${y[W]}`)}),function le(y,B){return y.map(i).filter(W=>!!W).map(W=>(B&&(W.value=B(W.value)),W)).reduce(r,{})}(z,B)}(z,W)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return y.\u0275fac=function(z){return new(z||y)(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(g.PC,10),t.Y36(e.wY),t.Y36(t.Lbi))},y.\u0275dir=t.lG2({type:y,features:[t.qOj]}),y})();const c=["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 T=(()=>{class y extends d{constructor(){super(...arguments),this.inputs=c}}return y.\u0275fac=function(){let B;return function(W){return(B||(B=t.n5z(y)))(W||y)}}(),y.\u0275dir=t.lG2({type:y,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]}),y})();function N(y,B){return y.map(i).filter(W=>!!W).map(W=>(B&&(W.value=B(W.value)),W)).reduce(r,{})}let n=(()=>{class y{}return y.\u0275fac=function(z){return new(z||y)},y.\u0275mod=t.oAB({type:y}),y.\u0275inj=t.cJS({imports:[e.IR]}),y})()},1576:(ze,K,m)=>{"use strict";m.d(K,{Wh:()=>gt,ae:()=>Ft,xw:()=>S,yH:()=>b});var t=m(4650),e=m(445),g=m(2233),k=m(5863),C=(m(7579),m(2722));let h=(()=>{class bt extends g.QI{buildStyles(J,{display:ve}){const Ne=(0,k.Ar)(J);return{...Ne,display:"none"===ve?ve:Ne.display}}}return bt.\u0275fac=function(){let Ce;return function(ve){return(Ce||(Ce=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 I=(()=>{class bt extends g.iR{constructor(J,ve,Ne,st,ni){super(J,Ne,ve,st),this._config=ni,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(J){const Ne=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=A.get(Ne)??new Map,A.set(Ne,this.styleCache),this.currentValue!==J&&(this.addStyles(J,{display:Ne}),this.currentValue=J)}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.SBq),t.Y36(g.RK),t.Y36(h),t.Y36(g.yB),t.Y36(g.WU))},bt.\u0275dir=t.lG2({type:bt,features:[t.qOj]}),bt})(),S=(()=>{class bt extends I{constructor(){super(...arguments),this.inputs=P}}return bt.\u0275fac=function(){let Ce;return function(ve){return(Ce||(Ce=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 A=new Map;let i=(()=>{class bt extends g.QI{constructor(J){super(),this.layoutConfig=J}buildStyles(J,ve){let[Ne,st,...ni]=J.split(" "),Ut=ni.join(" ");const ti=ve.direction.indexOf("column")>-1?"column":"row",dt=(0,k.tj)(ti)?"max-width":"max-height",at=(0,k.tj)(ti)?"min-width":"min-height",_t=String(Ut).indexOf("calc")>-1,ai=_t||"auto"===Ut,Bt=String(Ut).indexOf("%")>-1&&!_t,zt=String(Ut).indexOf("px")>-1||String(Ut).indexOf("rem")>-1||String(Ut).indexOf("em")>-1||String(Ut).indexOf("vw")>-1||String(Ut).indexOf("vh")>-1;let Nt=_t||zt;Ne="0"==Ne?0:Ne,st="0"==st?0:st;const je=!Ne&&!st;let Fe={};const Ye={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Ut||""){case"":const qe=!1!==this.layoutConfig.useColumnBasisZero;Ut="row"===ti?"0%":qe?"0.000000001px":"auto";break;case"initial":case"nogrow":Ne=0,Ut="auto";break;case"grow":Ut="100%";break;case"noshrink":st=0,Ut="auto";break;case"auto":break;case"none":Ne=0,st=0,Ut="auto";break;default:!Nt&&!Bt&&!isNaN(Ut)&&(Ut+="%"),"0%"===Ut&&(Nt=!0),"0px"===Ut&&(Ut="0%"),Fe=(0,k.kt)(Ye,_t?{"flex-grow":Ne,"flex-shrink":st,"flex-basis":Nt?Ut:"100%"}:{flex:`${Ne} ${st} ${Nt?Ut:"100%"}`})}return Fe.flex||Fe["flex-grow"]||(Fe=(0,k.kt)(Ye,_t?{"flex-grow":Ne,"flex-shrink":st,"flex-basis":Ut}:{flex:`${Ne} ${st} ${Ut}`})),"0%"!==Ut&&"0px"!==Ut&&"0.000000001px"!==Ut&&"auto"!==Ut&&(Fe[at]=je||Nt&&Ne?Ut:null,Fe[dt]=je||!ai&&st?Ut:null),Fe[at]||Fe[dt]?ve.hasWrap&&(Fe[_t?"flex-basis":"flex"]=Fe[dt]?_t?Fe[dt]:`${Ne} ${st} ${Fe[dt]}`:_t?Fe[at]:`${Ne} ${st} ${Fe[at]}`):Fe=(0,k.kt)(Ye,_t?{"flex-grow":Ne,"flex-shrink":st,"flex-basis":Ut}:{flex:`${Ne} ${st} ${Ut}`}),(0,k.kt)(Fe,{"box-sizing":"border-box"})}}return bt.\u0275fac=function(J){return new(J||bt)(t.LFG(g.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 c=(()=>{class bt extends g.iR{constructor(J,ve,Ne,st,ni){super(J,st,ve,ni),this.layoutConfig=Ne,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 Ne=J.value.split(" ");this.direction=Ne[0],this.wrap=void 0!==Ne[1]&&"wrap"===Ne[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 Ne=this.direction,st=Ne.startsWith("row"),ni=this.wrap;st&&ni?this.styleCache=v:st&&!ni?this.styleCache=T:!st&&ni?this.styleCache=n:!st&&!ni&&(this.styleCache=N);const Ut=String(J).replace(";",""),ti=(0,g.Ot)(Ut,this.flexGrow,this.flexShrink);this.addStyles(ti.join(" "),{direction:Ne,hasWrap:ni})}triggerReflow(){const J=this.activatedValue;if(void 0!==J){const ve=(0,g.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(g.RK),t.Y36(g.WU),t.Y36(i),t.Y36(g.yB))},bt.\u0275dir=t.lG2({type:bt,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[t.qOj]}),bt})(),b=(()=>{class bt extends c{constructor(){super(...arguments),this.inputs=r}}return bt.\u0275fac=function(){let Ce;return function(ve){return(Ce||(Ce=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 T=new Map,N=new Map,v=new Map,n=new Map;let nt=(()=>{class bt extends g.QI{buildStyles(J,ve){const Ne={},[st,ni]=J.split(" ");switch(st){case"center":Ne["justify-content"]="center";break;case"space-around":Ne["justify-content"]="space-around";break;case"space-between":Ne["justify-content"]="space-between";break;case"space-evenly":Ne["justify-content"]="space-evenly";break;case"end":case"flex-end":Ne["justify-content"]="flex-end";break;default:Ne["justify-content"]="flex-start"}switch(ni){case"start":case"flex-start":Ne["align-items"]=Ne["align-content"]="flex-start";break;case"center":Ne["align-items"]=Ne["align-content"]="center";break;case"end":case"flex-end":Ne["align-items"]=Ne["align-content"]="flex-end";break;case"space-between":Ne["align-content"]="space-between",Ne["align-items"]="stretch";break;case"space-around":Ne["align-content"]="space-around",Ne["align-items"]="stretch";break;case"baseline":Ne["align-content"]="stretch",Ne["align-items"]="baseline";break;default:Ne["align-items"]=Ne["align-content"]="stretch"}return(0,k.kt)(Ne,{display:ve.inline?"inline-flex":"flex","flex-direction":ve.layout,"box-sizing":"border-box","max-width":"stretch"===ni?(0,k.tj)(ve.layout)?null:"100%":null,"max-height":"stretch"===ni&&(0,k.tj)(ve.layout)?"100%":null})}}return bt.\u0275fac=function(){let Ce;return function(ve){return(Ce||(Ce=t.n5z(bt)))(ve||bt)}}(),bt.\u0275prov=t.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"}),bt})();const Ct=["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 Xt=(()=>{class bt extends g.iR{constructor(J,ve,Ne,st){super(J,Ne,ve,st),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",Ne=this.inline;"row"===ve&&Ne?this.styleCache=xt:"row"!==ve||Ne?"row-reverse"===ve&&Ne?this.styleCache=et:"row-reverse"!==ve||Ne?"column"===ve&&Ne?this.styleCache=Pe:"column"!==ve||Ne?"column-reverse"===ve&&Ne?this.styleCache=Vt:"column-reverse"===ve&&!Ne&&(this.styleCache=He):this.styleCache=St:this.styleCache=Ie:this.styleCache=mt,this.addStyles(J,{layout:ve,inline:Ne})}onLayoutChange(J){const ve=J.value.split(" ");this.layout=ve[0],this.inline=J.value.includes("inline"),k.iQ.find(Ne=>Ne===this.layout)||(this.layout="row"),this.triggerUpdate()}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.SBq),t.Y36(g.RK),t.Y36(nt),t.Y36(g.yB))},bt.\u0275dir=t.lG2({type:bt,features:[t.qOj]}),bt})(),gt=(()=>{class bt extends Xt{constructor(){super(...arguments),this.inputs=Ct}}return bt.\u0275fac=function(){let Ce;return function(ve){return(Ce||(Ce=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 mt=new Map,St=new Map,Ie=new Map,He=new Map,xt=new Map,Pe=new Map,et=new Map,Vt=new Map;let Ft=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[g.IR,e.vT]}),bt})()},4006:(ze,K,m)=>{"use strict";m.d(K,{Cf:()=>Q,F:()=>Yt,Fd:()=>Ra,Fj:()=>R,JJ:()=>te,JL:()=>Ze,JU:()=>P,On:()=>zi,Q7:()=>ka,QS:()=>xn,UX:()=>vt,Zs:()=>xr,_Y:()=>cn,a5:()=>it,kI:()=>fe,oH:()=>Sa,p4:()=>or,qQ:()=>Ea,sg:()=>tr,u:()=>Tr,u5:()=>fi,wV:()=>In});var t=m(4650),e=m(6895),g=m(457),k=m(4128),o=m(4004);let C=(()=>{class ot{constructor(Ge,kt){this._renderer=Ge,this._elementRef=kt,this.onChange=Ei=>{},this.onTouched=()=>{}}setProperty(Ge,kt){this._renderer.setProperty(this._elementRef.nativeElement,Ge,kt)}registerOnTouched(Ge){this.onTouched=Ge}registerOnChange(Ge){this.onChange=Ge}setDisabledState(Ge){this.setProperty("disabled",Ge)}}return ot.\u0275fac=function(Ge){return new(Ge||ot)(t.Y36(t.Qsj),t.Y36(t.SBq))},ot.\u0275dir=t.lG2({type:ot}),ot})(),h=(()=>{class ot extends C{}return ot.\u0275fac=function(){let tt;return function(kt){return(tt||(tt=t.n5z(ot)))(kt||ot)}}(),ot.\u0275dir=t.lG2({type:ot,features:[t.qOj]}),ot})();const P=new t.OlP("NgValueAccessor"),S={provide:P,useExisting:(0,t.Gpc)(()=>R),multi:!0},w=new t.OlP("CompositionEventMode");let R=(()=>{class ot extends C{constructor(Ge,kt,Ei){super(Ge,kt),this._compositionMode=Ei,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function A(){const ot=(0,e.q)()?(0,e.q)().getUserAgent():"";return/android (\d+)/.test(ot.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 ot.\u0275fac=function(Ge){return new(Ge||ot)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(w,8))},ot.\u0275dir=t.lG2({type:ot,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,kt){1&Ge&&t.NdJ("input",function(Ki){return kt._handleInput(Ki.target.value)})("blur",function(){return kt.onTouched()})("compositionstart",function(){return kt._compositionStart()})("compositionend",function(Ki){return kt._compositionEnd(Ki.target.value)})},features:[t._Bn([S]),t.qOj]}),ot})();function U(ot){return null==ot||("string"==typeof ot||Array.isArray(ot))&&0===ot.length}function Y(ot){return null!=ot&&"number"==typeof ot.length}const Q=new t.OlP("NgValidators"),X=new t.OlP("NgAsyncValidators"),$=/^(?=.{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 fe{static min(tt){return re(tt)}static max(tt){return ee(tt)}static required(tt){return ce(tt)}static requiredTrue(tt){return se(tt)}static email(tt){return function le(ot){return U(ot.value)||$.test(ot.value)?null:{email:!0}}(tt)}static minLength(tt){return function L(ot){return tt=>U(tt.value)||!Y(tt.value)?null:tt.value.length<ot?{minlength:{requiredLength:ot,actualLength:tt.value.length}}:null}(tt)}static maxLength(tt){return function i(ot){return tt=>Y(tt.value)&&tt.value.length>ot?{maxlength:{requiredLength:ot,actualLength:tt.value.length}}:null}(tt)}static pattern(tt){return function r(ot){if(!ot)return d;let tt,Ge;return"string"==typeof ot?(Ge="","^"!==ot.charAt(0)&&(Ge+="^"),Ge+=ot,"$"!==ot.charAt(ot.length-1)&&(Ge+="$"),tt=new RegExp(Ge)):(Ge=ot.toString(),tt=ot),kt=>{if(U(kt.value))return null;const Ei=kt.value;return tt.test(Ei)?null:{pattern:{requiredPattern:Ge,actualValue:Ei}}}}(tt)}static nullValidator(tt){return null}static compose(tt){return y(tt)}static composeAsync(tt){return z(tt)}}function re(ot){return tt=>{if(U(tt.value)||U(ot))return null;const Ge=parseFloat(tt.value);return!isNaN(Ge)&&Ge<ot?{min:{min:ot,actual:tt.value}}:null}}function ee(ot){return tt=>{if(U(tt.value)||U(ot))return null;const Ge=parseFloat(tt.value);return!isNaN(Ge)&&Ge>ot?{max:{max:ot,actual:tt.value}}:null}}function ce(ot){return U(ot.value)?{required:!0}:null}function se(ot){return!0===ot.value?null:{required:!0}}function d(ot){return null}function c(ot){return null!=ot}function b(ot){return(0,t.QGY)(ot)?(0,g.D)(ot):ot}function T(ot){let tt={};return ot.forEach(Ge=>{tt=null!=Ge?{...tt,...Ge}:tt}),0===Object.keys(tt).length?null:tt}function N(ot,tt){return tt.map(Ge=>Ge(ot))}function n(ot){return ot.map(tt=>function v(ot){return!ot.validate}(tt)?tt:Ge=>tt.validate(Ge))}function y(ot){if(!ot)return null;const tt=ot.filter(c);return 0==tt.length?null:function(Ge){return T(N(Ge,tt))}}function B(ot){return null!=ot?y(n(ot)):null}function z(ot){if(!ot)return null;const tt=ot.filter(c);return 0==tt.length?null:function(Ge){const kt=N(Ge,tt).map(b);return(0,k.D)(kt).pipe((0,o.U)(T))}}function W(ot){return null!=ot?z(n(ot)):null}function Le(ot,tt){return null===ot?[tt]:Array.isArray(ot)?[...ot,tt]:[ot,tt]}function Ve(ot){return ot._rawValidators}function Ke(ot){return ot._rawAsyncValidators}function $e(ot){return ot?Array.isArray(ot)?ot:[ot]:[]}function Ae(ot,tt){return Array.isArray(ot)?ot.includes(tt):ot===tt}function ue(ot,tt){const Ge=$e(tt);return $e(ot).forEach(Ei=>{Ae(Ge,Ei)||Ge.push(Ei)}),Ge}function ye(ot,tt){return $e(tt).filter(Ge=>!Ae(ot,Ge))}class we{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(tt){this._rawValidators=tt||[],this._composedValidatorFn=B(this._rawValidators)}_setAsyncValidators(tt){this._rawAsyncValidators=tt||[],this._composedAsyncValidatorFn=W(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(tt){this._onDestroyCallbacks.push(tt)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(tt=>tt()),this._onDestroyCallbacks=[]}reset(tt){this.control&&this.control.reset(tt)}hasError(tt,Ge){return!!this.control&&this.control.hasError(tt,Ge)}getError(tt,Ge){return this.control?this.control.getError(tt,Ge):null}}class he extends we{get formDirective(){return null}get path(){return null}}class it extends we{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class De{constructor(tt){this._cd=tt}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 ot extends De{constructor(Ge){super(Ge)}}return ot.\u0275fac=function(Ge){return new(Ge||ot)(t.Y36(it,2))},ot.\u0275dir=t.lG2({type:ot,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ge,kt){2&Ge&&t.ekj("ng-untouched",kt.isUntouched)("ng-touched",kt.isTouched)("ng-pristine",kt.isPristine)("ng-dirty",kt.isDirty)("ng-valid",kt.isValid)("ng-invalid",kt.isInvalid)("ng-pending",kt.isPending)},features:[t.qOj]}),ot})(),Ze=(()=>{class ot extends De{constructor(Ge){super(Ge)}}return ot.\u0275fac=function(Ge){return new(Ge||ot)(t.Y36(he,10))},ot.\u0275dir=t.lG2({type:ot,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ge,kt){2&Ge&&t.ekj("ng-untouched",kt.isUntouched)("ng-touched",kt.isTouched)("ng-pristine",kt.isPristine)("ng-dirty",kt.isDirty)("ng-valid",kt.isValid)("ng-invalid",kt.isInvalid)("ng-pending",kt.isPending)("ng-submitted",kt.isSubmitted)},features:[t.qOj]}),ot})();const Vt="VALID",Lt="INVALID",Ft="PENDING",bt="DISABLED";function Ce(ot){return(st(ot)?ot.validators:ot)||null}function ve(ot,tt){return(st(tt)?tt.asyncValidators:ot)||null}function st(ot){return null!=ot&&!Array.isArray(ot)&&"object"==typeof ot}function ni(ot,tt,Ge){const kt=ot.controls;if(!(tt?Object.keys(kt):kt).length)throw new t.vHH(1e3,"");if(!kt[Ge])throw new t.vHH(1001,"")}function Ut(ot,tt,Ge){ot._forEachChild((kt,Ei)=>{if(void 0===Ge[Ei])throw new t.vHH(1002,"")})}class ti{constructor(tt,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(tt),this._assignAsyncValidators(Ge)}get validator(){return this._composedValidatorFn}set validator(tt){this._rawValidators=this._composedValidatorFn=tt}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(tt){this._rawAsyncValidators=this._composedAsyncValidatorFn=tt}get parent(){return this._parent}get valid(){return this.status===Vt}get invalid(){return this.status===Lt}get pending(){return this.status==Ft}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(tt){this._assignValidators(tt)}setAsyncValidators(tt){this._assignAsyncValidators(tt)}addValidators(tt){this.setValidators(ue(tt,this._rawValidators))}addAsyncValidators(tt){this.setAsyncValidators(ue(tt,this._rawAsyncValidators))}removeValidators(tt){this.setValidators(ye(tt,this._rawValidators))}removeAsyncValidators(tt){this.setAsyncValidators(ye(tt,this._rawAsyncValidators))}hasValidator(tt){return Ae(this._rawValidators,tt)}hasAsyncValidator(tt){return Ae(this._rawAsyncValidators,tt)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(tt={}){this.touched=!0,this._parent&&!tt.onlySelf&&this._parent.markAsTouched(tt)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(tt=>tt.markAllAsTouched())}markAsUntouched(tt={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Ge=>{Ge.markAsUntouched({onlySelf:!0})}),this._parent&&!tt.onlySelf&&this._parent._updateTouched(tt)}markAsDirty(tt={}){this.pristine=!1,this._parent&&!tt.onlySelf&&this._parent.markAsDirty(tt)}markAsPristine(tt={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Ge=>{Ge.markAsPristine({onlySelf:!0})}),this._parent&&!tt.onlySelf&&this._parent._updatePristine(tt)}markAsPending(tt={}){this.status=Ft,!1!==tt.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!tt.onlySelf&&this._parent.markAsPending(tt)}disable(tt={}){const Ge=this._parentMarkedDirty(tt.onlySelf);this.status=bt,this.errors=null,this._forEachChild(kt=>{kt.disable({...tt,onlySelf:!0})}),this._updateValue(),!1!==tt.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...tt,skipPristineCheck:Ge}),this._onDisabledChange.forEach(kt=>kt(!0))}enable(tt={}){const Ge=this._parentMarkedDirty(tt.onlySelf);this.status=Vt,this._forEachChild(kt=>{kt.enable({...tt,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:tt.emitEvent}),this._updateAncestors({...tt,skipPristineCheck:Ge}),this._onDisabledChange.forEach(kt=>kt(!1))}_updateAncestors(tt){this._parent&&!tt.onlySelf&&(this._parent.updateValueAndValidity(tt),tt.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(tt){this._parent=tt}getRawValue(){return this.value}updateValueAndValidity(tt={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Vt||this.status===Ft)&&this._runAsyncValidator(tt.emitEvent)),!1!==tt.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!tt.onlySelf&&this._parent.updateValueAndValidity(tt)}_updateTreeValidity(tt={emitEvent:!0}){this._forEachChild(Ge=>Ge._updateTreeValidity(tt)),this.updateValueAndValidity({onlySelf:!0,emitEvent:tt.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?bt:Vt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(tt){if(this.asyncValidator){this.status=Ft,this._hasOwnPendingAsyncValidator=!0;const Ge=b(this.asyncValidator(this));this._asyncValidationSubscription=Ge.subscribe(kt=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(kt,{emitEvent:tt})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(tt,Ge={}){this.errors=tt,this._updateControlsErrors(!1!==Ge.emitEvent)}get(tt){let Ge=tt;return null==Ge||(Array.isArray(Ge)||(Ge=Ge.split(".")),0===Ge.length)?null:Ge.reduce((kt,Ei)=>kt&&kt._find(Ei),this)}getError(tt,Ge){const kt=Ge?this.get(Ge):this;return kt&&kt.errors?kt.errors[tt]:null}hasError(tt,Ge){return!!this.getError(tt,Ge)}get root(){let tt=this;for(;tt._parent;)tt=tt._parent;return tt}_updateControlsErrors(tt){this.status=this._calculateStatus(),tt&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(tt)}_initObservables(){this.valueChanges=new t.vpe,this.statusChanges=new t.vpe}_calculateStatus(){return this._allControlsDisabled()?bt:this.errors?Lt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ft)?Ft:this._anyControlsHaveStatus(Lt)?Lt:Vt}_anyControlsHaveStatus(tt){return this._anyControls(Ge=>Ge.status===tt)}_anyControlsDirty(){return this._anyControls(tt=>tt.dirty)}_anyControlsTouched(){return this._anyControls(tt=>tt.touched)}_updatePristine(tt={}){this.pristine=!this._anyControlsDirty(),this._parent&&!tt.onlySelf&&this._parent._updatePristine(tt)}_updateTouched(tt={}){this.touched=this._anyControlsTouched(),this._parent&&!tt.onlySelf&&this._parent._updateTouched(tt)}_registerOnCollectionChange(tt){this._onCollectionChange=tt}_setUpdateStrategy(tt){st(tt)&&null!=tt.updateOn&&(this._updateOn=tt.updateOn)}_parentMarkedDirty(tt){return!tt&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(tt){return null}_assignValidators(tt){this._rawValidators=Array.isArray(tt)?tt.slice():tt,this._composedValidatorFn=function J(ot){return Array.isArray(ot)?B(ot):ot||null}(this._rawValidators)}_assignAsyncValidators(tt){this._rawAsyncValidators=Array.isArray(tt)?tt.slice():tt,this._composedAsyncValidatorFn=function Ne(ot){return Array.isArray(ot)?W(ot):ot||null}(this._rawAsyncValidators)}}class dt extends ti{constructor(tt,Ge,kt){super(Ce(Ge),ve(kt,Ge)),this.controls=tt,this._initObservables(),this._setUpdateStrategy(Ge),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(tt,Ge){return this.controls[tt]?this.controls[tt]:(this.controls[tt]=Ge,Ge.setParent(this),Ge._registerOnCollectionChange(this._onCollectionChange),Ge)}addControl(tt,Ge,kt={}){this.registerControl(tt,Ge),this.updateValueAndValidity({emitEvent:kt.emitEvent}),this._onCollectionChange()}removeControl(tt,Ge={}){this.controls[tt]&&this.controls[tt]._registerOnCollectionChange(()=>{}),delete this.controls[tt],this.updateValueAndValidity({emitEvent:Ge.emitEvent}),this._onCollectionChange()}setControl(tt,Ge,kt={}){this.controls[tt]&&this.controls[tt]._registerOnCollectionChange(()=>{}),delete this.controls[tt],Ge&&this.registerControl(tt,Ge),this.updateValueAndValidity({emitEvent:kt.emitEvent}),this._onCollectionChange()}contains(tt){return this.controls.hasOwnProperty(tt)&&this.controls[tt].enabled}setValue(tt,Ge={}){Ut(this,0,tt),Object.keys(tt).forEach(kt=>{ni(this,!0,kt),this.controls[kt].setValue(tt[kt],{onlySelf:!0,emitEvent:Ge.emitEvent})}),this.updateValueAndValidity(Ge)}patchValue(tt,Ge={}){null!=tt&&(Object.keys(tt).forEach(kt=>{const Ei=this.controls[kt];Ei&&Ei.patchValue(tt[kt],{onlySelf:!0,emitEvent:Ge.emitEvent})}),this.updateValueAndValidity(Ge))}reset(tt={},Ge={}){this._forEachChild((kt,Ei)=>{kt.reset(tt[Ei],{onlySelf:!0,emitEvent:Ge.emitEvent})}),this._updatePristine(Ge),this._updateTouched(Ge),this.updateValueAndValidity(Ge)}getRawValue(){return this._reduceChildren({},(tt,Ge,kt)=>(tt[kt]=Ge.getRawValue(),tt))}_syncPendingControls(){let tt=this._reduceChildren(!1,(Ge,kt)=>!!kt._syncPendingControls()||Ge);return tt&&this.updateValueAndValidity({onlySelf:!0}),tt}_forEachChild(tt){Object.keys(this.controls).forEach(Ge=>{const kt=this.controls[Ge];kt&&tt(kt,Ge)})}_setUpControls(){this._forEachChild(tt=>{tt.setParent(this),tt._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(tt){for(const[Ge,kt]of Object.entries(this.controls))if(this.contains(Ge)&&tt(kt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ge,kt,Ei)=>((kt.enabled||this.disabled)&&(Ge[Ei]=kt.value),Ge))}_reduceChildren(tt,Ge){let kt=tt;return this._forEachChild((Ei,Ki)=>{kt=Ge(kt,Ei,Ki)}),kt}_allControlsDisabled(){for(const tt of Object.keys(this.controls))if(this.controls[tt].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(tt){return this.controls.hasOwnProperty(tt)?this.controls[tt]:null}}class ai extends dt{}const zt=new t.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Nt}),Nt="always";function je(ot,tt){return[...tt.path,ot]}function Fe(ot,tt,Ge=Nt){mi(ot,tt),tt.valueAccessor.writeValue(ot.value),(ot.disabled||"always"===Ge)&&tt.valueAccessor.setDisabledState?.(ot.disabled),function xi(ot,tt){tt.valueAccessor.registerOnChange(Ge=>{ot._pendingValue=Ge,ot._pendingChange=!0,ot._pendingDirty=!0,"change"===ot.updateOn&&Je(ot,tt)})}(ot,tt),function wt(ot,tt){const Ge=(kt,Ei)=>{tt.valueAccessor.writeValue(kt),Ei&&tt.viewToModelUpdate(kt)};ot.registerOnChange(Ge),tt._registerOnDestroy(()=>{ot._unregisterOnChange(Ge)})}(ot,tt),function Fi(ot,tt){tt.valueAccessor.registerOnTouched(()=>{ot._pendingTouched=!0,"blur"===ot.updateOn&&ot._pendingChange&&Je(ot,tt),"submit"!==ot.updateOn&&ot.markAsTouched()})}(ot,tt),function Tt(ot,tt){if(tt.valueAccessor.setDisabledState){const Ge=kt=>{tt.valueAccessor.setDisabledState(kt)};ot.registerOnDisabledChange(Ge),tt._registerOnDestroy(()=>{ot._unregisterOnDisabledChange(Ge)})}}(ot,tt)}function Ye(ot,tt,Ge=!0){const kt=()=>{};tt.valueAccessor&&(tt.valueAccessor.registerOnChange(kt),tt.valueAccessor.registerOnTouched(kt)),Ti(ot,tt),ot&&(tt._invokeOnDestroyCallbacks(),ot._registerOnCollectionChange(()=>{}))}function qe(ot,tt){ot.forEach(Ge=>{Ge.registerOnValidatorChange&&Ge.registerOnValidatorChange(tt)})}function mi(ot,tt){const Ge=Ve(ot);null!==tt.validator?ot.setValidators(Le(Ge,tt.validator)):"function"==typeof Ge&&ot.setValidators([Ge]);const kt=Ke(ot);null!==tt.asyncValidator?ot.setAsyncValidators(Le(kt,tt.asyncValidator)):"function"==typeof kt&&ot.setAsyncValidators([kt]);const Ei=()=>ot.updateValueAndValidity();qe(tt._rawValidators,Ei),qe(tt._rawAsyncValidators,Ei)}function Ti(ot,tt){let Ge=!1;if(null!==ot){if(null!==tt.validator){const Ei=Ve(ot);if(Array.isArray(Ei)&&Ei.length>0){const Ki=Ei.filter(gr=>gr!==tt.validator);Ki.length!==Ei.length&&(Ge=!0,ot.setValidators(Ki))}}if(null!==tt.asyncValidator){const Ei=Ke(ot);if(Array.isArray(Ei)&&Ei.length>0){const Ki=Ei.filter(gr=>gr!==tt.asyncValidator);Ki.length!==Ei.length&&(Ge=!0,ot.setAsyncValidators(Ki))}}}const kt=()=>{};return qe(tt._rawValidators,kt),qe(tt._rawAsyncValidators,kt),Ge}function Je(ot,tt){ot._pendingDirty&&ot.markAsDirty(),ot.setValue(ot._pendingValue,{emitModelToViewChange:!1}),tt.viewToModelUpdate(ot._pendingValue),ot._pendingChange=!1}function be(ot,tt){mi(ot,tt)}function Gt(ot,tt){if(!ot.hasOwnProperty("model"))return!1;const Ge=ot.model;return!!Ge.isFirstChange()||!Object.is(tt,Ge.currentValue)}function ge(ot,tt){ot._syncPendingControls(),tt.forEach(Ge=>{const kt=Ge.control;"submit"===kt.updateOn&&kt._pendingChange&&(Ge.viewToModelUpdate(kt._pendingValue),kt._pendingChange=!1)})}function Xe(ot,tt){if(!tt)return null;let Ge,kt,Ei;return Array.isArray(tt),tt.forEach(Ki=>{Ki.constructor===R?Ge=Ki:function di(ot){return Object.getPrototypeOf(ot.constructor)===h}(Ki)?kt=Ki:Ei=Ki}),Ei||kt||Ge||null}const Wt={provide:he,useExisting:(0,t.Gpc)(()=>Yt)},si=(()=>Promise.resolve())();let Yt=(()=>{class ot extends he{constructor(Ge,kt,Ei){super(),this.callSetDisabledState=Ei,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.vpe,this.form=new dt({},B(Ge),W(kt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Ge){si.then(()=>{const kt=this._findContainer(Ge.path);Ge.control=kt.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){si.then(()=>{const kt=this._findContainer(Ge.path);kt&&kt.removeControl(Ge.name),this._directives.delete(Ge)})}addFormGroup(Ge){si.then(()=>{const kt=this._findContainer(Ge.path),Ei=new dt({});be(Ei,Ge),kt.registerControl(Ge.name,Ei),Ei.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Ge){si.then(()=>{const kt=this._findContainer(Ge.path);kt&&kt.removeControl(Ge.name)})}getFormGroup(Ge){return this.form.get(Ge.path)}updateModel(Ge,kt){si.then(()=>{this.form.get(Ge.path).setValue(kt)})}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 ot.\u0275fac=function(Ge){return new(Ge||ot)(t.Y36(Q,10),t.Y36(X,10),t.Y36(zt,8))},ot.\u0275dir=t.lG2({type:ot,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ge,kt){1&Ge&&t.NdJ("submit",function(Ki){return kt.onSubmit(Ki)})("reset",function(){return kt.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([Wt]),t.qOj]}),ot})();function Bi(ot,tt){const Ge=ot.indexOf(tt);Ge>-1&&ot.splice(Ge,1)}function Qi(ot){return"object"==typeof ot&&null!==ot&&2===Object.keys(ot).length&&"value"in ot&&"disabled"in ot}const yn=class extends ti{constructor(tt=null,Ge,kt){super(Ce(Ge),ve(kt,Ge)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(tt),this._setUpdateStrategy(Ge),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),st(Ge)&&(Ge.nonNullable||Ge.initialValueIsDefault)&&(this.defaultValue=Qi(tt)?tt.value:tt)}setValue(tt,Ge={}){this.value=this._pendingValue=tt,this._onChange.length&&!1!==Ge.emitModelToViewChange&&this._onChange.forEach(kt=>kt(this.value,!1!==Ge.emitViewToModelChange)),this.updateValueAndValidity(Ge)}patchValue(tt,Ge={}){this.setValue(tt,Ge)}reset(tt=this.defaultValue,Ge={}){this._applyFormState(tt),this.markAsPristine(Ge),this.markAsUntouched(Ge),this.setValue(this.value,Ge),this._pendingChange=!1}_updateValue(){}_anyControls(tt){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(tt){this._onChange.push(tt)}_unregisterOnChange(tt){Bi(this._onChange,tt)}registerOnDisabledChange(tt){this._onDisabledChange.push(tt)}_unregisterOnDisabledChange(tt){Bi(this._onDisabledChange,tt)}_forEachChild(tt){}_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(tt){Qi(tt)?(this.value=this._pendingValue=tt.value,tt.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=tt}},or=yn,Mi={provide:it,useExisting:(0,t.Gpc)(()=>zi)},Ui=(()=>Promise.resolve())();let zi=(()=>{class ot extends it{constructor(Ge,kt,Ei,Ki,gr,Oi){super(),this._changeDetectorRef=gr,this.callSetDisabledState=Oi,this.control=new yn,this._registered=!1,this.update=new t.vpe,this._parent=Ge,this._setValidators(kt),this._setAsyncValidators(Ei),this.valueAccessor=Xe(0,Ki)}ngOnChanges(Ge){if(this._checkForErrors(),!this._registered||"name"in Ge){if(this._registered&&(this._checkName(),this.formDirective)){const kt=Ge.name.previousValue;this.formDirective.removeControl({name:kt,path:this._getPath(kt)})}this._setUpControl()}"isDisabled"in Ge&&this._updateDisabled(Ge),Gt(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){Ui.then(()=>{this.control.setValue(Ge,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Ge){const kt=Ge.isDisabled.currentValue,Ei=0!==kt&&(0,t.D6c)(kt);Ui.then(()=>{Ei&&!this.control.disabled?this.control.disable():!Ei&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Ge){return this._parent?je(Ge,this._parent):[Ge]}}return ot.\u0275fac=function(Ge){return new(Ge||ot)(t.Y36(he,9),t.Y36(Q,10),t.Y36(X,10),t.Y36(P,10),t.Y36(t.sBO,8),t.Y36(zt,8))},ot.\u0275dir=t.lG2({type:ot,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([Mi]),t.qOj,t.TTD]}),ot})(),cn=(()=>{class ot{}return ot.\u0275fac=function(Ge){return new(Ge||ot)},ot.\u0275dir=t.lG2({type:ot,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),ot})();const Xn={provide:P,useExisting:(0,t.Gpc)(()=>In),multi:!0};let In=(()=>{class ot extends h{writeValue(Ge){this.setProperty("value",Ge??"")}registerOnChange(Ge){this.onChange=kt=>{Ge(""==kt?null:parseFloat(kt))}}}return ot.\u0275fac=function(){let tt;return function(kt){return(tt||(tt=t.n5z(ot)))(kt||ot)}}(),ot.\u0275dir=t.lG2({type:ot,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ge,kt){1&Ge&&t.NdJ("input",function(Ki){return kt.onChange(Ki.target.value)})("blur",function(){return kt.onTouched()})},features:[t._Bn([Xn]),t.qOj]}),ot})(),cr=(()=>{class ot{}return ot.\u0275fac=function(Ge){return new(Ge||ot)},ot.\u0275mod=t.oAB({type:ot}),ot.\u0275inj=t.cJS({}),ot})();const br=new t.OlP("NgModelWithFormControlWarning"),Ma={provide:it,useExisting:(0,t.Gpc)(()=>Sa)};let Sa=(()=>{class ot extends it{constructor(Ge,kt,Ei,Ki,gr){super(),this._ngModelWarningConfig=Ki,this.callSetDisabledState=gr,this.update=new t.vpe,this._ngModelWarningSent=!1,this._setValidators(Ge),this._setAsyncValidators(kt),this.valueAccessor=Xe(0,Ei)}set isDisabled(Ge){}ngOnChanges(Ge){if(this._isControlChanged(Ge)){const kt=Ge.form.previousValue;kt&&Ye(kt,this,!1),Fe(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Gt(Ge,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ye(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 ot._ngModelWarningSentOnce=!1,ot.\u0275fac=function(Ge){return new(Ge||ot)(t.Y36(Q,10),t.Y36(X,10),t.Y36(P,10),t.Y36(br,8),t.Y36(zt,8))},ot.\u0275dir=t.lG2({type:ot,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t._Bn([Ma]),t.qOj,t.TTD]}),ot})();const Kr={provide:he,useExisting:(0,t.Gpc)(()=>tr)};let tr=(()=>{class ot extends he{constructor(Ge,kt,Ei){super(),this.callSetDisabledState=Ei,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.vpe,this._setValidators(Ge),this._setAsyncValidators(kt)}ngOnChanges(Ge){this._checkFormPresent(),Ge.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ti(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 kt=this.form.get(Ge.path);return Fe(kt,Ge,this.callSetDisabledState),kt.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ge),kt}getControl(Ge){return this.form.get(Ge.path)}removeControl(Ge){Ye(Ge.control||null,Ge,!1),function Et(ot,tt){const Ge=ot.indexOf(tt);Ge>-1&&ot.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,kt){this.form.get(Ge.path).setValue(kt)}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 kt=Ge.control,Ei=this.form.get(Ge.path);kt!==Ei&&(Ye(kt||null,Ge),(ot=>ot instanceof yn)(Ei)&&(Fe(Ei,Ge,this.callSetDisabledState),Ge.control=Ei))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ge){const kt=this.form.get(Ge.path);be(kt,Ge),kt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ge){if(this.form){const kt=this.form.get(Ge.path);kt&&function Pt(ot,tt){return Ti(ot,tt)}(kt,Ge)&&kt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){mi(this.form,this),this._oldForm&&Ti(this._oldForm,this)}_checkFormPresent(){}}return ot.\u0275fac=function(Ge){return new(Ge||ot)(t.Y36(Q,10),t.Y36(X,10),t.Y36(zt,8))},ot.\u0275dir=t.lG2({type:ot,selectors:[["","formGroup",""]],hostBindings:function(Ge,kt){1&Ge&&t.NdJ("submit",function(Ki){return kt.onSubmit(Ki)})("reset",function(){return kt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([Kr]),t.qOj,t.TTD]}),ot})();const zs={provide:it,useExisting:(0,t.Gpc)(()=>Tr)};let Tr=(()=>{class ot extends it{constructor(Ge,kt,Ei,Ki,gr){super(),this._ngModelWarningConfig=gr,this._added=!1,this.update=new t.vpe,this._ngModelWarningSent=!1,this._parent=Ge,this._setValidators(kt),this._setAsyncValidators(Ei),this.valueAccessor=Xe(0,Ki)}set isDisabled(Ge){}ngOnChanges(Ge){this._added||this._setUpControl(),Gt(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 ot._ngModelWarningSentOnce=!1,ot.\u0275fac=function(Ge){return new(Ge||ot)(t.Y36(he,13),t.Y36(Q,10),t.Y36(X,10),t.Y36(P,10),t.Y36(br,8))},ot.\u0275dir=t.lG2({type:ot,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[t._Bn([zs]),t.qOj,t.TTD]}),ot})();function ps(ot){return"number"==typeof ot?ot:parseFloat(ot)}let dr=(()=>{class ot{constructor(){this._validator=d}ngOnChanges(Ge){if(this.inputName in Ge){const kt=this.normalizeInput(Ge[this.inputName].currentValue);this._enabled=this.enabled(kt),this._validator=this._enabled?this.createValidator(kt):d,this._onChange&&this._onChange()}}validate(Ge){return this._validator(Ge)}registerOnValidatorChange(Ge){this._onChange=Ge}enabled(Ge){return null!=Ge}}return ot.\u0275fac=function(Ge){return new(Ge||ot)},ot.\u0275dir=t.lG2({type:ot,features:[t.TTD]}),ot})();const ra={provide:Q,useExisting:(0,t.Gpc)(()=>Ra),multi:!0};let Ra=(()=>{class ot extends dr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Ge=>ps(Ge),this.createValidator=Ge=>ee(Ge)}}return ot.\u0275fac=function(){let tt;return function(kt){return(tt||(tt=t.n5z(ot)))(kt||ot)}}(),ot.\u0275dir=t.lG2({type:ot,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Ge,kt){2&Ge&&t.uIk("max",kt._enabled?kt.max:null)},inputs:{max:"max"},features:[t._Bn([ra]),t.qOj]}),ot})();const Ia={provide:Q,useExisting:(0,t.Gpc)(()=>Ea),multi:!0};let Ea=(()=>{class ot extends dr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Ge=>ps(Ge),this.createValidator=Ge=>re(Ge)}}return ot.\u0275fac=function(){let tt;return function(kt){return(tt||(tt=t.n5z(ot)))(kt||ot)}}(),ot.\u0275dir=t.lG2({type:ot,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Ge,kt){2&Ge&&t.uIk("min",kt._enabled?kt.min:null)},inputs:{min:"min"},features:[t._Bn([Ia]),t.qOj]}),ot})();const ts={provide:Q,useExisting:(0,t.Gpc)(()=>ka),multi:!0},zr={provide:Q,useExisting:(0,t.Gpc)(()=>xr),multi:!0};let ka=(()=>{class ot extends dr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.D6c,this.createValidator=Ge=>ce}enabled(Ge){return Ge}}return ot.\u0275fac=function(){let tt;return function(kt){return(tt||(tt=t.n5z(ot)))(kt||ot)}}(),ot.\u0275dir=t.lG2({type:ot,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ge,kt){2&Ge&&t.uIk("required",kt._enabled?"":null)},inputs:{required:"required"},features:[t._Bn([ts]),t.qOj]}),ot})(),xr=(()=>{class ot extends ka{constructor(){super(...arguments),this.createValidator=Ge=>se}}return ot.\u0275fac=function(){let tt;return function(kt){return(tt||(tt=t.n5z(ot)))(kt||ot)}}(),ot.\u0275dir=t.lG2({type:ot,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Ge,kt){2&Ge&&t.uIk("required",kt._enabled?"":null)},features:[t._Bn([zr]),t.qOj]}),ot})(),Rt=(()=>{class ot{}return ot.\u0275fac=function(Ge){return new(Ge||ot)},ot.\u0275mod=t.oAB({type:ot}),ot.\u0275inj=t.cJS({imports:[cr]}),ot})(),fi=(()=>{class ot{static withConfig(Ge){return{ngModule:ot,providers:[{provide:zt,useValue:Ge.callSetDisabledState??Nt}]}}}return ot.\u0275fac=function(Ge){return new(Ge||ot)},ot.\u0275mod=t.oAB({type:ot}),ot.\u0275inj=t.cJS({imports:[Rt]}),ot})(),vt=(()=>{class ot{static withConfig(Ge){return{ngModule:ot,providers:[{provide:br,useValue:Ge.warnOnNgModelWithFormControl??"always"},{provide:zt,useValue:Ge.callSetDisabledState??Nt}]}}}return ot.\u0275fac=function(Ge){return new(Ge||ot)},ot.\u0275mod=t.oAB({type:ot}),ot.\u0275inj=t.cJS({imports:[Rt]}),ot})();class oi extends ti{constructor(tt,Ge,kt){super(Ce(Ge),ve(kt,Ge)),this.controls=tt,this._initObservables(),this._setUpdateStrategy(Ge),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(tt){return this.controls[this._adjustIndex(tt)]}push(tt,Ge={}){this.controls.push(tt),this._registerControl(tt),this.updateValueAndValidity({emitEvent:Ge.emitEvent}),this._onCollectionChange()}insert(tt,Ge,kt={}){this.controls.splice(tt,0,Ge),this._registerControl(Ge),this.updateValueAndValidity({emitEvent:kt.emitEvent})}removeAt(tt,Ge={}){let kt=this._adjustIndex(tt);kt<0&&(kt=0),this.controls[kt]&&this.controls[kt]._registerOnCollectionChange(()=>{}),this.controls.splice(kt,1),this.updateValueAndValidity({emitEvent:Ge.emitEvent})}setControl(tt,Ge,kt={}){let Ei=this._adjustIndex(tt);Ei<0&&(Ei=0),this.controls[Ei]&&this.controls[Ei]._registerOnCollectionChange(()=>{}),this.controls.splice(Ei,1),Ge&&(this.controls.splice(Ei,0,Ge),this._registerControl(Ge)),this.updateValueAndValidity({emitEvent:kt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(tt,Ge={}){Ut(this,0,tt),tt.forEach((kt,Ei)=>{ni(this,!1,Ei),this.at(Ei).setValue(kt,{onlySelf:!0,emitEvent:Ge.emitEvent})}),this.updateValueAndValidity(Ge)}patchValue(tt,Ge={}){null!=tt&&(tt.forEach((kt,Ei)=>{this.at(Ei)&&this.at(Ei).patchValue(kt,{onlySelf:!0,emitEvent:Ge.emitEvent})}),this.updateValueAndValidity(Ge))}reset(tt=[],Ge={}){this._forEachChild((kt,Ei)=>{kt.reset(tt[Ei],{onlySelf:!0,emitEvent:Ge.emitEvent})}),this._updatePristine(Ge),this._updateTouched(Ge),this.updateValueAndValidity(Ge)}getRawValue(){return this.controls.map(tt=>tt.getRawValue())}clear(tt={}){this.controls.length<1||(this._forEachChild(Ge=>Ge._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:tt.emitEvent}))}_adjustIndex(tt){return tt<0?tt+this.length:tt}_syncPendingControls(){let tt=this.controls.reduce((Ge,kt)=>!!kt._syncPendingControls()||Ge,!1);return tt&&this.updateValueAndValidity({onlySelf:!0}),tt}_forEachChild(tt){this.controls.forEach((Ge,kt)=>{tt(Ge,kt)})}_updateValue(){this.value=this.controls.filter(tt=>tt.enabled||this.disabled).map(tt=>tt.value)}_anyControls(tt){return this.controls.some(Ge=>Ge.enabled&&tt(Ge))}_setUpControls(){this._forEachChild(tt=>this._registerControl(tt))}_allControlsDisabled(){for(const tt of this.controls)if(tt.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(tt){tt.setParent(this),tt._registerOnCollectionChange(this._onCollectionChange)}_find(tt){return this.at(tt)??null}}function Yn(ot){return!!ot&&(void 0!==ot.asyncValidators||void 0!==ot.validators||void 0!==ot.updateOn)}let pr=(()=>{class ot{constructor(){this.useNonNullable=!1}get nonNullable(){const Ge=new ot;return Ge.useNonNullable=!0,Ge}group(Ge,kt=null){const Ei=this._reduceControls(Ge);let Ki={};return Yn(kt)?Ki=kt:null!==kt&&(Ki.validators=kt.validator,Ki.asyncValidators=kt.asyncValidator),new dt(Ei,Ki)}record(Ge,kt=null){const Ei=this._reduceControls(Ge);return new ai(Ei,kt)}control(Ge,kt,Ei){let Ki={};return this.useNonNullable?(Yn(kt)?Ki=kt:(Ki.validators=kt,Ki.asyncValidators=Ei),new yn(Ge,{...Ki,nonNullable:!0})):new yn(Ge,kt,Ei)}array(Ge,kt,Ei){const Ki=Ge.map(gr=>this._createControl(gr));return new oi(Ki,kt,Ei)}_reduceControls(Ge){const kt={};return Object.keys(Ge).forEach(Ei=>{kt[Ei]=this._createControl(Ge[Ei])}),kt}_createControl(Ge){return Ge instanceof yn||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 ot.\u0275fac=function(Ge){return new(Ge||ot)},ot.\u0275prov=t.Yz7({token:ot,factory:ot.\u0275fac,providedIn:vt}),ot})(),xn=(()=>{class ot extends pr{group(Ge,kt=null){return super.group(Ge,kt)}control(Ge,kt,Ei){return super.control(Ge,kt,Ei)}array(Ge,kt,Ei){return super.array(Ge,kt,Ei)}}return ot.\u0275fac=function(){let tt;return function(kt){return(tt||(tt=t.n5z(ot)))(kt||ot)}}(),ot.\u0275prov=t.Yz7({token:ot,factory:ot.\u0275fac,providedIn:vt}),ot})()},7957:(ze,K,m)=>{"use strict";m.d(K,{Bb:()=>we,XC:()=>B,ZL:()=>ye});var t=m(4650),e=m(3238),g=m(6895),k=m(531),o=m(8184),C=m(4761),h=m(1281),P=m(3353),u=m(7340),I=m(727),S=m(7579),A=m(9770),w=m(6451),R=m(9646),E=m(4968),U=m(445),Y=m(9521),Q=m(4080),X=m(4006),$=m(9549),fe=m(8675),re=m(3900),ee=m(5698),ce=m(9300),se=m(4004),le=m(8505),L=m(4086);const i=["panel"];function r(he,it){if(1&he&&(t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA()),2&he){const De=it.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(De))}}const d=["*"],c=(0,u.X$)("panelAnimation",[(0,u.SB)("void, hidden",(0,u.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,u.eR)(":enter, hidden => visible",[(0,u.ru)([(0,u.jt)("0.03s linear",(0,u.oB)({opacity:1})),(0,u.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,u.oB)({transform:"scaleY(1)"}))])]),(0,u.eR)(":leave, visible => hidden",[(0,u.jt)("0.075s linear",(0,u.oB)({opacity:0}))])]);let b=0;class T{constructor(it,De){this.source=it,this.option=De}}const N=(0,e.Kr)(class{}),v=new t.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function n(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let y=(()=>{class he extends N{constructor(De,oe,me,te){super(),this._changeDetectorRef=De,this._elementRef=oe,this._activeOptionChanges=I.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-"+b++,this.inertGroups=te?.SAFARI||!1,this._autoActiveFirstOption=!!me.autoActiveFirstOption,this._autoSelectActiveOption=!!me.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(De){this._autoActiveFirstOption=(0,h.Ig)(De)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(De){this._autoSelectActiveOption=(0,h.Ig)(De)}set classList(De){this._classList=De&&De.length?(0,h.du)(De).reduce((oe,me)=>(oe[me]=!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(De=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[De]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(De){this.panel&&(this.panel.nativeElement.scrollTop=De)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(De){const oe=new T(this,De);this.optionSelected.emit(oe)}_getPanelAriaLabelledby(De){return this.ariaLabel?null:this.ariaLabelledby?(De?De+" ":"")+this.ariaLabelledby:De}_setVisibilityClasses(De){De[this._visibleClass]=this.showPanel,De[this._hiddenClass]=!this.showPanel}}return he.\u0275fac=function(De){return new(De||he)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(v),t.Y36(P.t4))},he.\u0275dir=t.lG2({type:he,viewQuery:function(De,oe){if(1&De&&(t.Gf(t.Rgc,7),t.Gf(i,5)),2&De){let me;t.iGM(me=t.CRH())&&(oe.template=me.first),t.iGM(me=t.CRH())&&(oe.panel=me.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]}),he})(),B=(()=>{class he extends y{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden"}}return he.\u0275fac=function(){let it;return function(oe){return(it||(it=t.n5z(he)))(oe||he)}}(),he.\u0275cmp=t.Xpm({type:he,selectors:[["mat-autocomplete"]],contentQueries:function(De,oe,me){if(1&De&&(t.Suo(me,e.K7,5),t.Suo(me,e.ey,5)),2&De){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:he}]),t.qOj],ngContentSelectors:d,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(De,oe){1&De&&(t.F$t(),t.YNc(0,r,3,5,"ng-template"))},dependencies:[g.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:[c]},changeDetection:0}),he})();const Le={provide:X.JU,useExisting:(0,t.Gpc)(()=>ye),multi:!0},Ke=new t.OlP("mat-autocomplete-scroll-strategy"),Ae={provide:Ke,deps:[o.aV],useFactory:function $e(he){return()=>he.scrollStrategies.reposition()}};let ue=(()=>{class he{constructor(De,oe,me,te,Ze,Ue,q,de,Ee,ke,ie){this._element=De,this._overlay=oe,this._viewContainerRef=me,this._zone=te,this._changeDetectorRef=Ze,this._dir=q,this._formField=de,this._document=Ee,this._viewportRuler=ke,this._defaults=ie,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=I.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new S.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,A.P)(()=>{const nt=this.autocomplete?this.autocomplete.options:null;return nt?nt.changes.pipe((0,fe.O)(nt),(0,re.w)(()=>(0,w.T)(...nt.map(Ct=>Ct.onSelectionChange)))):this._zone.onStable.pipe((0,ee.q)(1),(0,re.w)(()=>this.optionSelections))}),this._scrollStrategy=Ue}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(De){this._autocompleteDisabled=(0,h.Ig)(De)}ngAfterViewInit(){const De=this._getWindow();typeof De<"u"&&this._zone.runOutsideAngular(()=>De.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(De){De.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const De=this._getWindow();typeof De<"u"&&De.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}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,w.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,R.of)()).pipe((0,se.U)(De=>De instanceof e.rN?De:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,w.T)((0,E.R)(this._document,"click"),(0,E.R)(this._document,"auxclick"),(0,E.R)(this._document,"touchend")).pipe((0,ce.h)(De=>{const oe=(0,P.sA)(De),me=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&&(!me||!me.contains(oe))&&(!te||!te.contains(oe))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(oe)}))}writeValue(De){Promise.resolve(null).then(()=>this._assignOptionValue(De))}registerOnChange(De){this._onChange=De}registerOnTouched(De){this._onTouched=De}setDisabledState(De){this._element.nativeElement.disabled=De}_handleKeydown(De){const oe=De.keyCode,me=(0,Y.Vb)(De);if(oe===Y.hY&&!me&&De.preventDefault(),this.activeOption&&oe===Y.K5&&this.panelOpen&&!me)this.activeOption._selectViaInteraction(),this._resetActiveItem(),De.preventDefault();else if(this.autocomplete){const te=this.autocomplete._keyManager.activeItem,Ze=oe===Y.LH||oe===Y.JH;oe===Y.Mf||Ze&&!me&&this.panelOpen?this.autocomplete._keyManager.onKeydown(De):Ze&&this._canOpen()&&this.openPanel(),(Ze||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(De){let oe=De.target,me=oe.value;"number"===oe.type&&(me=""==me?null:parseFloat(me)),this._previousValue!==me&&(this._previousValue=me,this._pendingAutoselectedOption=null,this._onChange(me),this._canOpen()&&this._document.activeElement===De.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(De=!1){this._formField&&"auto"===this._formField.floatLabel&&(De?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const De=this._zone.onStable.pipe((0,ee.q)(1)),oe=this.autocomplete.options.changes.pipe((0,le.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,L.g)(0));return(0,w.T)(De,oe).pipe((0,re.w)(()=>(this._zone.run(()=>{const me=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),me!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,ee.q)(1)).subscribe(me=>this._setValueAndClose(me))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(De){const oe=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(De):De;this._updateNativeInputValue(oe??"")}_updateNativeInputValue(De){this._formField?this._formField._control.value=De:this._element.nativeElement.value=De,this._previousValue=De}_setValueAndClose(De){const oe=De?De.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(De){this.autocomplete.options.forEach(oe=>{oe!==De&&oe.selected&&oe.deselect()})}_attachOverlay(){let De=this._overlayRef;De?(this._positionStrategy.setOrigin(this._getConnectedElement()),De.updateSize({width:this._getPanelWidth()})):(this._portal=new Q.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),De=this._overlay.create(this._getOverlayConfig()),this._overlayRef=De,this._handleOverlayEvents(De),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&De&&De.updateSize({width:this._getPanelWidth()})})),De&&!De.hasAttached()&&(De.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 De=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(De),this._positionStrategy=De,De}_setStrategyPositions(De){const oe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],me=this._aboveClass,te=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:me},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:me}];let Ze;Ze="above"===this.position?te:"below"===this.position?oe:[...oe,...te],De.withPositions(Ze)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const De=this.autocomplete;De.autoActiveFirstOption?De._keyManager.setFirstItemActive():De._keyManager.setActiveItem(-1)}_canOpen(){const De=this._element.nativeElement;return!De.readOnly&&!De.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(De){const oe=this.autocomplete,me=(0,e.CB)(De,oe.options,oe.optionGroups);if(0===De&&1===me)oe._setScrollTop(0);else if(oe.panel){const te=oe.options.toArray()[De];if(te){const Ze=te._getHostElement(),Ue=(0,e.jH)(Ze.offsetTop,Ze.offsetHeight,oe._getScrollTop(),oe.panel.nativeElement.offsetHeight);oe._setScrollTop(Ue)}}}_handleOverlayEvents(De){De.keydownEvents().subscribe(oe=>{(oe.keyCode===Y.hY&&!(0,Y.Vb)(oe)||oe.keyCode===Y.LH&&(0,Y.Vb)(oe,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),oe.stopPropagation(),oe.preventDefault())}),De.outsidePointerEvents().subscribe()}}return he.\u0275fac=function(De){return new(De||he)(t.Y36(t.SBq),t.Y36(o.aV),t.Y36(t.s_b),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(Ke),t.Y36(U.Is,8),t.Y36($.G_,9),t.Y36(g.K0,8),t.Y36(k.rL),t.Y36(v,8))},he.\u0275dir=t.lG2({type:he,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[t.TTD]}),he})(),ye=(()=>{class he extends ue{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return he.\u0275fac=function(){let it;return function(oe){return(it||(it=t.n5z(he)))(oe||he)}}(),he.\u0275dir=t.lG2({type:he,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(De,oe){1&De&&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&De&&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([Le]),t.qOj]}),he})(),we=(()=>{class he{}return he.\u0275fac=function(De){return new(De||he)},he.\u0275mod=t.oAB({type:he}),he.\u0275inj=t.cJS({providers:[Ae],imports:[o.U8,e.Ng,e.BQ,g.ez,k.ZD,e.Ng,e.BQ]}),he})()},2673:(ze,K,m)=>{"use strict";m.d(K,{g:()=>u,k:()=>P});var t=m(4650),e=m(3238),g=m(4761),k=m(1281);let o=0;const C=(0,e.Id)(class{}),h="mat-badge-content";let P=(()=>{class I extends C{constructor(A,w,R,E,U){super(),this._ngZone=A,this._elementRef=w,this._ariaDescriber=R,this._renderer=E,this._animationMode=U,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(A){this._setColor(A),this._color=A}get overlap(){return this._overlap}set overlap(A){this._overlap=(0,k.Ig)(A)}get content(){return this._content}set content(A){this._updateRenderedContent(A)}get description(){return this._description}set description(A){this._updateHostAriaDescription(A)}get hidden(){return this._hidden}set hidden(A){this._hidden=(0,k.Ig)(A)}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 A=this._renderer.createElement("span"),w="mat-badge-active";return A.setAttribute("id",`mat-badge-content-${this._id}`),A.setAttribute("aria-hidden","true"),A.classList.add(h),"NoopAnimations"===this._animationMode&&A.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(A),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{A.classList.add(w)})}):A.classList.add(w),A}_updateRenderedContent(A){const w=`${A??""}`.trim();this._isInitialized&&w&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=w),this._content=w}_updateHostAriaDescription(A){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),A&&this._ariaDescriber.describe(this._elementRef.nativeElement,A),this._description=A}_setColor(A){const w=this._elementRef.nativeElement.classList;w.remove(`mat-badge-${this._color}`),A&&w.add(`mat-badge-${A}`)}_clearExistingBadges(){const A=this._elementRef.nativeElement.querySelectorAll(`:scope > .${h}`);for(const w of Array.from(A))w!==this._badgeElement&&w.remove()}}return I.\u0275fac=function(A){return new(A||I)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(g.$s),t.Y36(t.Qsj),t.Y36(t.QbO,8))},I.\u0275dir=t.lG2({type:I,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(A,w){2&A&&t.ekj("mat-badge-overlap",w.overlap)("mat-badge-above",w.isAbove())("mat-badge-below",!w.isAbove())("mat-badge-before",!w.isAfter())("mat-badge-after",w.isAfter())("mat-badge-small","small"===w.size)("mat-badge-medium","medium"===w.size)("mat-badge-large","large"===w.size)("mat-badge-hidden",w.hidden||!w.content)("mat-badge-disabled",w.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]}),I})(),u=(()=>{class I{}return I.\u0275fac=function(A){return new(A||I)},I.\u0275mod=t.oAB({type:I}),I.\u0275inj=t.cJS({imports:[g.rt,e.BQ,e.BQ]}),I})()},4859:(ze,K,m)=>{"use strict";m.d(K,{RK:()=>N,lW:()=>ce,nh:()=>c,ot:()=>n});var t=m(3353),e=m(4650),g=m(4761),k=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",""]]],h=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],S=["mat-mini-fab",""],w=["mat-icon-button",""],R=["*"],Q=[{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,k.pj)((0,k.Id)((0,k.Kr)(class{constructor(y){this._elementRef=y}})));let $=(()=>{class y extends X{constructor(z,W,Le,Ve){super(z),this._platform=W,this._ngZone=Le,this._animationMode=Ve,this._focusMonitor=(0,e.f3M)(g.tE),this._isFab=!1;const Ke=z.nativeElement.classList;for(const $e of Q)this._hasHostAttributes($e.selector)&&$e.mdcClasses.forEach(Ae=>{Ke.add(Ae)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(z="program",W){z?this._focusMonitor.focusVia(this._elementRef.nativeElement,z,W):this._elementRef.nativeElement.focus(W)}_hasHostAttributes(...z){return z.some(W=>this._elementRef.nativeElement.hasAttribute(W))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return y.\u0275fac=function(z){e.$Z()},y.\u0275dir=e.lG2({type:y,viewQuery:function(z,W){if(1&z&&e.Gf(k.wG,5),2&z){let Le;e.iGM(Le=e.CRH())&&(W.ripple=Le.first)}},features:[e.qOj]}),y})(),ce=(()=>{class y extends ${constructor(z,W,Le,Ve){super(z,W,Le,Ve)}}return y.\u0275fac=function(z){return new(z||y)(e.Y36(e.SBq),e.Y36(t.t4),e.Y36(e.R0b),e.Y36(e.QbO,8))},y.\u0275cmp=e.Xpm({type:y,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(z,W){2&z&&(e.uIk("disabled",W.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===W._animationMode)("mat-unthemed",!W.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:o,ngContentSelectors:h,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(z,W){1&z&&(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&z&&(e.ekj("mdc-button__ripple",!W._isFab)("mdc-fab__ripple",W._isFab),e.xp6(6),e.Q6J("matRippleDisabled",W._isRippleDisabled())("matRippleTrigger",W._elementRef.nativeElement))},dependencies:[k.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}),y})();const le=new e.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:L});function L(){return{color:"accent"}}const i=L();let c=(()=>{class y extends ${constructor(z,W,Le,Ve,Ke){super(z,W,Le,Ve),this._options=Ke,this._isFab=!0,this._options=this._options||i,this.color=this.defaultColor=this._options.color||i.color}}return y.\u0275fac=function(z){return new(z||y)(e.Y36(e.SBq),e.Y36(t.t4),e.Y36(e.R0b),e.Y36(e.QbO,8),e.Y36(le,8))},y.\u0275cmp=e.Xpm({type:y,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(z,W){2&z&&(e.uIk("disabled",W.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===W._animationMode)("mat-unthemed",!W.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:S,ngContentSelectors:h,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(z,W){1&z&&(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&z&&(e.ekj("mdc-button__ripple",!W._isFab)("mdc-fab__ripple",W._isFab),e.xp6(6),e.Q6J("matRippleDisabled",W._isRippleDisabled())("matRippleTrigger",W._elementRef.nativeElement))},dependencies:[k.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}),y})(),N=(()=>{class y extends ${constructor(z,W,Le,Ve){super(z,W,Le,Ve)}}return y.\u0275fac=function(z){return new(z||y)(e.Y36(e.SBq),e.Y36(t.t4),e.Y36(e.R0b),e.Y36(e.QbO,8))},y.\u0275cmp=e.Xpm({type:y,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(z,W){2&z&&(e.uIk("disabled",W.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===W._animationMode)("mat-unthemed",!W.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:w,ngContentSelectors:R,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(z,W){1&z&&(e.F$t(),e._UZ(0,"span",0),e.Hsn(1),e._UZ(2,"span",1)(3,"span",2)(4,"span",3)),2&z&&(e.xp6(3),e.Q6J("matRippleDisabled",W._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",W._elementRef.nativeElement))},dependencies:[k.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}),y})(),n=(()=>{class y{}return y.\u0275fac=function(z){return new(z||y)},y.\u0275mod=e.oAB({type:y}),y.\u0275inj=e.cJS({imports:[k.BQ,k.si,k.BQ]}),y})()},3546:(ze,K,m)=>{"use strict";m.d(K,{$j:()=>R,QW:()=>se,a8:()=>I,dk:()=>U,dn:()=>w,n5:()=>S});var t=m(4650),e=m(6895),g=m(3238);const k=["*"],h=[[["","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]","*"],u=new t.OlP("MAT_CARD_CONFIG");let I=(()=>{class le{constructor(i){this.appearance=i?.appearance||"raised"}}return le.\u0275fac=function(i){return new(i||le)(t.Y36(u,8))},le.\u0275cmp=t.Xpm({type:le,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:k,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}),le})(),S=(()=>{class le{}return le.\u0275fac=function(i){return new(i||le)},le.\u0275dir=t.lG2({type:le,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),le})(),w=(()=>{class le{}return le.\u0275fac=function(i){return new(i||le)},le.\u0275dir=t.lG2({type:le,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),le})(),R=(()=>{class le{}return le.\u0275fac=function(i){return new(i||le)},le.\u0275dir=t.lG2({type:le,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]}),le})(),U=(()=>{class le{}return le.\u0275fac=function(i){return new(i||le)},le.\u0275cmp=t.Xpm({type:le,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(h),t.Hsn(0),t.TgZ(1,"div",0),t.Hsn(2,1),t.qZA(),t.Hsn(3,2))},encapsulation:2,changeDetection:0}),le})(),se=(()=>{class le{}return le.\u0275fac=function(i){return new(i||le)},le.\u0275mod=t.oAB({type:le}),le.\u0275inj=t.cJS({imports:[g.BQ,e.ez,g.BQ]}),le})()},6709:(ze,K,m)=>{"use strict";m.d(K,{oG:()=>U,p9:()=>$});var t=m(4650),e=m(4006),g=m(3238),k=m(1281);const o=["input"],C=["label"],h=["*"],P=new t.OlP("mat-checkbox-default-options",{providedIn:"root",factory:u});function u(){return{color:"accent",clickAction:"check-indeterminate"}}const I={provide:e.JU,useExisting:(0,t.Gpc)(()=>U),multi:!0};class S{}let A=0;const w=u(),R=(0,g.sb)((0,g.pj)((0,g.Kr)((0,g.Id)(class{constructor(fe){this._elementRef=fe}}))));let E=(()=>{class fe extends R{constructor(ee,ce,se,le,L,i,r){super(ce),this._changeDetectorRef=se,this._ngZone=le,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||w,this.color=this.defaultColor=this._options.color||w.color,this.tabIndex=parseInt(L)||0,this.id=this._uniqueId=`${ee}${++A}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(ee){this._required=(0,k.Ig)(ee)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(ee){const ce=(0,k.Ig)(ee);ce!=this.checked&&(this._checked=ce,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ee){const ce=(0,k.Ig)(ee);ce!==this.disabled&&(this._disabled=ce,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(ee){const ce=ee!=this._indeterminate;this._indeterminate=(0,k.Ig)(ee),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(ee){this.checked=!!ee}registerOnChange(ee){this._controlValueAccessorChangeFn=ee}registerOnTouched(ee){this._onTouched=ee}setDisabledState(ee){this.disabled=ee}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(ee){let ce=this._currentCheckState,se=this._getAnimationTargetElement();if(ce!==ee&&se&&(this._currentAnimationClass&&se.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ce,ee),this._currentCheckState=ee,this._currentAnimationClass.length>0)){se.classList.add(this._currentAnimationClass);const le=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{se.classList.remove(le)},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 ee=this._options?.clickAction;this.disabled||"noop"===ee?!this.disabled&&"noop"===ee&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==ee&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(ee){ee.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(ee,ce){if("NoopAnimations"===this._animationMode)return"";switch(ee){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(ee){const ce=this._inputElement;ce&&(ce.nativeElement.indeterminate=ee)}}return fe.\u0275fac=function(ee){t.$Z()},fe.\u0275dir=t.lG2({type:fe,viewQuery:function(ee,ce){if(1&ee&&(t.Gf(o,5),t.Gf(C,5),t.Gf(g.wG,5)),2&ee){let se;t.iGM(se=t.CRH())&&(ce._inputElement=se.first),t.iGM(se=t.CRH())&&(ce._labelElement=se.first),t.iGM(se=t.CRH())&&(ce.ripple=se.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]}),fe})(),U=(()=>{class fe extends E{constructor(ee,ce,se,le,L,i){super("mat-mdc-checkbox-",ee,ce,se,le,L,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(ee){const ce=new S;return ce.source=this,ce.checked=ee,ce}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_preventBubblingFromLabel(ee){ee.target&&this._labelElement.nativeElement.contains(ee.target)&&ee.stopPropagation()}}return fe.\u0275fac=function(ee){return new(ee||fe)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.$8M("tabindex"),t.Y36(t.QbO,8),t.Y36(P,8))},fe.\u0275cmp=t.Xpm({type:fe,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(ee,ce){2&ee&&(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([I]),t.qOj],ngContentSelectors:h,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(ee,ce){if(1&ee&&(t.F$t(),t.TgZ(0,"div",0),t.NdJ("click",function(le){return ce._preventBubblingFromLabel(le)}),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(le){return ce._onInteractionEvent(le)}),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&ee){const se=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",se)("matRippleDisabled",ce.disableRipple||ce.disabled)("matRippleCentered",!0),t.xp6(1),t.Q6J("for",ce.inputId)}},dependencies:[g.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}),fe})(),X=(()=>{class fe{}return fe.\u0275fac=function(ee){return new(ee||fe)},fe.\u0275mod=t.oAB({type:fe}),fe.\u0275inj=t.cJS({}),fe})(),$=(()=>{class fe{}return fe.\u0275fac=function(ee){return new(ee||fe)},fe.\u0275mod=t.oAB({type:fe}),fe.\u0275inj=t.cJS({imports:[g.BQ,g.si,X,g.BQ,X]}),fe})()},7331:(ze,K,m)=>{"use strict";m.d(K,{HS:()=>we,Hi:()=>gt});var t=m(1281),e=m(4650),g=m(6895),k=m(3238),o=m(4761),C=m(7579),P=(m(6451),m(5698)),A=(m(2722),m(8675),m(3900),m(9521));function U(mt,St){1&mt&&(e.TgZ(0,"span",8),e.Hsn(1,1),e.qZA())}function Y(mt,St){1&mt&&(e.TgZ(0,"span",9),e.Hsn(1,2),e.qZA())}m(445),m(4006),m(9549);const Q=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],X=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],v=new e.OlP("mat-chips-default-options"),n=new e.OlP("MatChipAvatar"),y=new e.OlP("MatChipTrailingIcon"),B=new e.OlP("MatChipRemove"),z=new e.OlP("MatChip");class W{}const Le=(0,k.sb)(W,-1);let Ve=(()=>{class mt extends Le{constructor(Ie,He){super(),this._elementRef=Ie,this._parentChip=He,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===Ie.nativeElement.nodeName&&Ie.nativeElement.setAttribute("type","button")}get disabled(){return this._disabled||this._parentChip.disabled}set disabled(Ie){this._disabled=(0,t.Ig)(Ie)}_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(Ie){!this.disabled&&this.isInteractive&&this._isPrimary&&(Ie.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(Ie){(Ie.keyCode===A.K5||Ie.keyCode===A.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&(Ie.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return mt.\u0275fac=function(Ie){return new(Ie||mt)(e.Y36(e.SBq),e.Y36(z))},mt.\u0275dir=e.lG2({type:mt,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(Ie,He){1&Ie&&e.NdJ("click",function(Pe){return He._handleClick(Pe)})("keydown",function(Pe){return He._handleKeydown(Pe)}),2&Ie&&(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]}),mt})(),ue=0;const ye=(0,k.sb)((0,k.pj)((0,k.Kr)((0,k.Id)(class{constructor(mt){this._elementRef=mt}})),"primary"),-1);let we=(()=>{class mt extends ye{constructor(Ie,He,xt,Pe,et,Vt,Lt,Ft){super(He),this._changeDetectorRef=Ie,this._ngZone=xt,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-"+ue++,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=et,this._animationsDisabled="NoopAnimations"===Vt,this._isBasicChip=bt.hasAttribute(this.basicChipAttrName)||bt.tagName.toLowerCase()===this.basicChipAttrName,null!=Ft&&(this.tabIndex=parseInt(Ft)??this.defaultTabIndex),this._monitorFocus()}_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(Ie){this._value=Ie}get removable(){return this._removable}set removable(Ie){this._removable=(0,t.Ig)(Ie)}get highlighted(){return this._highlighted}set highlighted(Ie){this._highlighted=(0,t.Ig)(Ie)}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(Ie){(Ie.keyCode===A.ZH||Ie.keyCode===A.yY)&&(Ie.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(Ie){return this._getActions().find(He=>{const xt=He._elementRef.nativeElement;return xt===Ie||xt.contains(Ie)})}_getActions(){const Ie=[];return this.primaryAction&&Ie.push(this.primaryAction),this.removeIcon&&Ie.push(this.removeIcon),this.trailingIcon&&Ie.push(this.trailingIcon),Ie}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Ie=>{const He=null!==Ie;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 mt.\u0275fac=function(Ie){return new(Ie||mt)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(o.tE),e.Y36(g.K0),e.Y36(e.QbO,8),e.Y36(k.Y2,8),e.$8M("tabindex"))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["mat-basic-chip"],["mat-chip"]],contentQueries:function(Ie,He,xt){if(1&Ie&&(e.Suo(xt,n,5),e.Suo(xt,y,5),e.Suo(xt,B,5)),2&Ie){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(Ie,He){if(1&Ie&&(e.Gf(k.wG,5),e.Gf(Ve,5)),2&Ie){let xt;e.iGM(xt=e.CRH())&&(He.ripple=xt.first),e.iGM(xt=e.CRH())&&(He.primaryAction=xt.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(Ie,He){1&Ie&&e.NdJ("keydown",function(Pe){return He._handleKeydown(Pe)}),2&Ie&&(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:z,useExisting:mt}]),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(Ie,He){1&Ie&&(e.F$t(Q),e._UZ(0,"span",0)(1,"span",1),e.TgZ(2,"span",2)(3,"div",3),e.YNc(4,U,2,0,"span",4),e.TgZ(5,"span",5),e.Hsn(6),e._UZ(7,"span",6),e.qZA()()(),e.YNc(8,Y,2,0,"span",7)),2&Ie&&(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:[g.O5,k.wG,Ve],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}),mt})(),gt=(()=>{class mt{}return mt.\u0275fac=function(Ie){return new(Ie||mt)},mt.\u0275mod=e.oAB({type:mt}),mt.\u0275inj=e.cJS({providers:[k.rD,{provide:v,useValue:{separatorKeyCodes:[A.K5]}}],imports:[k.BQ,g.ez,k.si,k.BQ]}),mt})()},3238:(ze,K,m)=>{"use strict";m.d(K,{yN:()=>X,mZ:()=>$,_A:()=>v,rD:()=>$e,sG:()=>n,Ad:()=>T,K7:()=>St,HF:()=>rt,Y2:()=>Ee,BQ:()=>ee,uc:()=>we,XK:()=>Ve,ey:()=>et,Ng:()=>Ft,rN:()=>xt,us:()=>Ct,wG:()=>ke,si:()=>ie,LF:()=>z,IR:()=>q,CB:()=>Vt,jH:()=>Lt,pj:()=>i,Kr:()=>r,Id:()=>L,FD:()=>c,dB:()=>b,sb:()=>d});var t=m(4650),e=m(4761),g=m(445),o=m(6895),C=m(3353),h=m(1281),P=m(9751),u=m(7579),I=m(9521);const w=["text"];function R(bt,Ce){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 E(bt,Ce){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 U=[[["mat-icon"]],"*"],Y=["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})(),$=(()=>{class bt{}return bt.COMPLEX="375ms",bt.ENTERING="225ms",bt.EXITING="195ms",bt})();const re=new t.OlP("mat-sanity-checks",{providedIn:"root",factory:function fe(){return!0}});let ee=(()=>{class bt{constructor(J,ve,Ne){this._sanityChecks=ve,this._document=Ne,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(re,8),t.LFG(o.K0))},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[g.vT,g.vT]}),bt})();function L(bt){return class extends bt{constructor(...Ce){super(...Ce),this._disabled=!1}get disabled(){return this._disabled}set disabled(Ce){this._disabled=(0,h.Ig)(Ce)}}}function i(bt,Ce){return class extends bt{constructor(...J){super(...J),this.defaultColor=Ce,this.color=Ce}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(...Ce){super(...Ce),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ce){this._disableRipple=(0,h.Ig)(Ce)}}}function d(bt,Ce=0){return class extends bt{constructor(...J){super(...J),this._tabIndex=Ce,this.defaultTabIndex=Ce}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(J){this._tabIndex=null!=J?(0,h.su)(J):this.defaultTabIndex}}}function c(bt){return class extends bt{constructor(...Ce){super(...Ce),this.errorState=!1}updateErrorState(){const Ce=this.errorState,st=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);st!==Ce&&(this.errorState=st,this.stateChanges.next())}}}function b(bt){return class extends bt{constructor(...Ce){super(...Ce),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(Ce){Ce.next(),Ce.complete()}}}const T=new t.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function N(){return(0,t.f3M)(t.soG)}});class v{constructor(){this._localeChanges=new u.x,this.localeChanges=this._localeChanges}getValidDateOrNull(Ce){return this.isDateInstance(Ce)&&this.isValid(Ce)?Ce:null}deserialize(Ce){return null==Ce||this.isDateInstance(Ce)&&this.isValid(Ce)?Ce:this.invalid()}setLocale(Ce){this.locale=Ce,this._localeChanges.next()}compareDate(Ce,J){return this.getYear(Ce)-this.getYear(J)||this.getMonth(Ce)-this.getMonth(J)||this.getDate(Ce)-this.getDate(J)}sameDate(Ce,J){if(Ce&&J){let ve=this.isValid(Ce),Ne=this.isValid(J);return ve&&Ne?!this.compareDate(Ce,J):ve==Ne}return Ce==J}clampDate(Ce,J,ve){return J&&this.compareDate(Ce,J)<0?J:ve&&this.compareDate(Ce,ve)>0?ve:Ce}}const n=new t.OlP("mat-date-formats"),y=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function B(bt,Ce){const J=Array(bt);for(let ve=0;ve<bt;ve++)J[ve]=Ce(ve);return J}let z=(()=>{class bt extends v{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 B(12,Ne=>this._format(ve,new Date(2017,Ne,1)))}getDateNames(){const J=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return B(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 B(7,Ne=>this._format(ve,new Date(2017,0,Ne+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,Ne){let st=this._createDateWithOverflow(J,ve,Ne);return st.getMonth(),st}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 Ne=new Intl.DateTimeFormat(this.locale,{...ve,timeZone:"utc"});return this._format(Ne,J)}addCalendarYears(J,ve){return this.addCalendarMonths(J,12*ve)}addCalendarMonths(J,ve){let Ne=this._createDateWithOverflow(this.getYear(J),this.getMonth(J)+ve,this.getDate(J));return this.getMonth(Ne)!=((this.getMonth(J)+ve)%12+12)%12&&(Ne=this._createDateWithOverflow(this.getYear(Ne),this.getMonth(Ne),0)),Ne}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(y.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,Ne){const st=new Date;return st.setFullYear(J,ve,Ne),st.setHours(0,0,0,0),st}_2digit(J){return("00"+J).slice(-2)}_format(J,ve){const Ne=new Date;return Ne.setUTCFullYear(ve.getFullYear(),ve.getMonth(),ve.getDate()),Ne.setUTCHours(ve.getHours(),ve.getMinutes(),ve.getSeconds(),ve.getMilliseconds()),J.format(Ne)}}return bt.\u0275fac=function(J){return new(J||bt)(t.LFG(T,8),t.LFG(C.t4))},bt.\u0275prov=t.Yz7({token:bt,factory:bt.\u0275fac}),bt})();const W={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 Le=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({providers:[{provide:v,useClass:z}]}),bt})(),Ve=(()=>{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:W}],imports:[Le]}),bt})(),$e=(()=>{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})(),we=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[ee,ee]}),bt})();class he{constructor(Ce,J,ve,Ne=!1){this._renderer=Ce,this.element=J,this.config=ve,this._animationForciblyDisabledThroughCss=Ne,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const it=(0,C.i$)({passive:!0,capture:!0});class De{constructor(){this._events=new Map,this._delegateEventHandler=Ce=>{const J=(0,C.sA)(Ce);J&&this._events.get(Ce.type)?.forEach((ve,Ne)=>{(Ne===J||Ne.contains(J))&&ve.forEach(st=>st.handleEvent(Ce))})}}addHandler(Ce,J,ve,Ne){const st=this._events.get(J);if(st){const ni=st.get(ve);ni?ni.add(Ne):st.set(ve,new Set([Ne]))}else this._events.set(J,new Map([[ve,new Set([Ne])]])),Ce.runOutsideAngular(()=>{document.addEventListener(J,this._delegateEventHandler,it)})}removeHandler(Ce,J,ve){const Ne=this._events.get(Ce);if(!Ne)return;const st=Ne.get(J);!st||(st.delete(ve),0===st.size&&Ne.delete(J),0===Ne.size&&(this._events.delete(Ce),document.removeEventListener(Ce,this._delegateEventHandler,it)))}}const oe={enterDuration:225,exitDuration:150},te=(0,C.i$)({passive:!0,capture:!0}),Ze=["mousedown","touchstart"],Ue=["mouseup","mouseleave","touchend","touchcancel"];class q{constructor(Ce,J,ve,Ne){this._target=Ce,this._ngZone=J,this._platform=Ne,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Ne.isBrowser&&(this._containerElement=(0,h.fI)(ve))}fadeInRipple(Ce,J,ve={}){const Ne=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),st={...oe,...ve.animation};ve.centered&&(Ce=Ne.left+Ne.width/2,J=Ne.top+Ne.height/2);const ni=ve.radius||function de(bt,Ce,J){const ve=Math.max(Math.abs(bt-J.left),Math.abs(bt-J.right)),Ne=Math.max(Math.abs(Ce-J.top),Math.abs(Ce-J.bottom));return Math.sqrt(ve*ve+Ne*Ne)}(Ce,J,Ne),Ut=Ce-Ne.left,ti=J-Ne.top,dt=st.enterDuration,at=document.createElement("div");at.classList.add("mat-ripple-element"),at.style.left=Ut-ni+"px",at.style.top=ti-ni+"px",at.style.height=2*ni+"px",at.style.width=2*ni+"px",null!=ve.color&&(at.style.backgroundColor=ve.color),at.style.transitionDuration=`${dt}ms`,this._containerElement.appendChild(at);const _t=window.getComputedStyle(at),Bt=_t.transitionDuration,zt="none"===_t.transitionProperty||"0s"===Bt||"0s, 0s"===Bt||0===Ne.width&&0===Ne.height,Nt=new he(this,at,ve,zt);at.style.transform="scale3d(1, 1, 1)",Nt.state=0,ve.persistent||(this._mostRecentTransientRipple=Nt);let je=null;return!zt&&(dt||st.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Fe=()=>this._finishRippleTransition(Nt),Ye=()=>this._destroyRipple(Nt);at.addEventListener("transitionend",Fe),at.addEventListener("transitioncancel",Ye),je={onTransitionEnd:Fe,onTransitionCancel:Ye}}),this._activeRipples.set(Nt,je),(zt||!dt)&&this._finishRippleTransition(Nt),Nt}fadeOutRipple(Ce){if(2===Ce.state||3===Ce.state)return;const J=Ce.element,ve={...oe,...Ce.config.animation};J.style.transitionDuration=`${ve.exitDuration}ms`,J.style.opacity="0",Ce.state=2,(Ce._animationForciblyDisabledThroughCss||!ve.exitDuration)&&this._finishRippleTransition(Ce)}fadeOutAll(){this._getActiveRipples().forEach(Ce=>Ce.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Ce=>{Ce.config.persistent||Ce.fadeOut()})}setupTriggerEvents(Ce){const J=(0,h.fI)(Ce);!this._platform.isBrowser||!J||J===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=J,Ze.forEach(ve=>{q._eventManager.addHandler(this._ngZone,ve,J,this)}))}handleEvent(Ce){"mousedown"===Ce.type?this._onMousedown(Ce):"touchstart"===Ce.type?this._onTouchStart(Ce):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ue.forEach(J=>{this._triggerElement.addEventListener(J,this,te)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Ce){0===Ce.state?this._startFadeOutTransition(Ce):2===Ce.state&&this._destroyRipple(Ce)}_startFadeOutTransition(Ce){const J=Ce===this._mostRecentTransientRipple,{persistent:ve}=Ce.config;Ce.state=1,!ve&&(!J||!this._isPointerDown)&&Ce.fadeOut()}_destroyRipple(Ce){const J=this._activeRipples.get(Ce)??null;this._activeRipples.delete(Ce),this._activeRipples.size||(this._containerRect=null),Ce===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Ce.state=3,null!==J&&(Ce.element.removeEventListener("transitionend",J.onTransitionEnd),Ce.element.removeEventListener("transitioncancel",J.onTransitionCancel)),Ce.element.remove()}_onMousedown(Ce){const J=(0,e.X6)(Ce),ve=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!J&&!ve&&(this._isPointerDown=!0,this.fadeInRipple(Ce.clientX,Ce.clientY,this._target.rippleConfig))}_onTouchStart(Ce){if(!this._target.rippleDisabled&&!(0,e.yG)(Ce)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const J=Ce.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(Ce=>{!Ce.config.persistent&&(1===Ce.state||Ce.config.terminateOnPointerUp&&0===Ce.state)&&Ce.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Ce=this._triggerElement;Ce&&(Ze.forEach(J=>q._eventManager.removeHandler(J,Ce,this)),this._pointerUpEventsRegistered&&Ue.forEach(J=>Ce.removeEventListener(J,this,te)))}}q._eventManager=new De;const Ee=new t.OlP("mat-ripple-global-options");let ke=(()=>{class bt{constructor(J,ve,Ne,st,ni){this._elementRef=J,this._animationMode=ni,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=st||{},this._rippleRenderer=new q(this,ve,J,Ne)}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,Ne){return"number"==typeof J?this._rippleRenderer.fadeInRipple(J,ve,{...this.rippleConfig,...Ne}):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(Ee,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})(),ie=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[ee,ee]}),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})(),Ct=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[ee]}),bt})();const rt=new t.OlP("MAT_OPTION_PARENT_COMPONENT"),St=new t.OlP("MatOptgroup");let He=0;class xt{constructor(Ce,J=!1){this.source=Ce,this.isUserInput=J}}let Pe=(()=>{class bt{constructor(J,ve,Ne,st){this._element=J,this._changeDetectorRef=ve,this._parent=Ne,this.group=st,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+He++,this.onSelectionChange=new t.vpe,this._stateChanges=new u.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,h.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 Ne=this._getHostElement();"function"==typeof Ne.focus&&Ne.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===I.K5||J.keyCode===I.L_)&&!(0,I.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 xt(this,J))}}return bt.\u0275fac=function(J){t.$Z()},bt.\u0275dir=t.lG2({type:bt,viewQuery:function(J,ve){if(1&J&&t.Gf(w,7),2&J){let Ne;t.iGM(Ne=t.CRH())&&(ve._text=Ne.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),bt})(),et=(()=>{class bt extends Pe{constructor(J,ve,Ne,st){super(J,ve,Ne,st)}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(rt,8),t.Y36(St,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(st){return ve._handleKeydown(st)}),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:Y,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(U),t.YNc(0,R,1,2,"mat-pseudo-checkbox",0),t.Hsn(1),t.TgZ(2,"span",1,2),t.Hsn(4,1),t.qZA(),t.YNc(5,E,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 Vt(bt,Ce,J){if(J.length){let ve=Ce.toArray(),Ne=J.toArray(),st=0;for(let ni=0;ni<bt+1;ni++)ve[ni].group&&ve[ni].group===Ne[st]&&st++;return st}return 0}function Lt(bt,Ce,J,ve){return bt<J?bt:bt+Ce>J+ve?Math.max(0,bt-ve+Ce):J}let Ft=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[ie,o.ez,ee,Ct]}),bt})()},9602:(ze,K,m)=>{"use strict";m.d(K,{FA:()=>Gi,Mq:()=>ti,hl:()=>zt,nW:()=>je});var t=m(4761),e=m(8184),g=m(4080),k=m(6895),o=m(4650),C=m(4859),h=m(531),P=m(3238),u=m(7579),I=m(727),S=m(6451),A=m(9646),w=m(9521),R=m(445),E=m(5698),U=m(8675),Y=m(9300),Q=m(1281),X=m(3353),$=m(7340),fe=m(4006),re=m(9549),ee=m(4144);const ce=["mat-calendar-body",""];function se(Gt,di){if(1&Gt&&(o.TgZ(0,"tr",3)(1,"td",4),o._uU(2),o.qZA()()),2&Gt){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 le(Gt,di){if(1&Gt&&(o.TgZ(0,"td",4),o._uU(1),o.qZA()),2&Gt){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 L(Gt,di){if(1&Gt){const ge=o.EpF();o.TgZ(0,"td",8)(1,"button",9),o.NdJ("click",function(Et){const Wt=o.CHM(ge).$implicit,si=o.oxw(2);return o.KtG(si._cellClicked(Wt,Et))})("focus",function(Et){const Wt=o.CHM(ge).$implicit,si=o.oxw(2);return o.KtG(si._emitActiveDateChange(Wt,Et))}),o.TgZ(2,"div",10),o._uU(3),o.qZA(),o._UZ(4,"div",11),o.qZA()()}if(2&Gt){const ge=di.$implicit,Xe=di.index,Et=o.oxw().index,jt=o.oxw();o.Udp("width",jt._cellWidth)("padding-top",jt._cellPadding)("padding-bottom",jt._cellPadding),o.uIk("data-mat-row",Et)("data-mat-col",Xe),o.xp6(1),o.ekj("mat-calendar-body-disabled",!ge.enabled)("mat-calendar-body-active",jt._isActiveCell(Et,Xe))("mat-calendar-body-range-start",jt._isRangeStart(ge.compareValue))("mat-calendar-body-range-end",jt._isRangeEnd(ge.compareValue))("mat-calendar-body-in-range",jt._isInRange(ge.compareValue))("mat-calendar-body-comparison-bridge-start",jt._isComparisonBridgeStart(ge.compareValue,Et,Xe))("mat-calendar-body-comparison-bridge-end",jt._isComparisonBridgeEnd(ge.compareValue,Et,Xe))("mat-calendar-body-comparison-start",jt._isComparisonStart(ge.compareValue))("mat-calendar-body-comparison-end",jt._isComparisonEnd(ge.compareValue))("mat-calendar-body-in-comparison-range",jt._isInComparisonRange(ge.compareValue))("mat-calendar-body-preview-start",jt._isPreviewStart(ge.compareValue))("mat-calendar-body-preview-end",jt._isPreviewEnd(ge.compareValue))("mat-calendar-body-in-preview",jt._isInPreview(ge.compareValue)),o.Q6J("ngClass",ge.cssClasses)("tabindex",jt._isActiveCell(Et,Xe)?0:-1),o.uIk("aria-label",ge.ariaLabel)("aria-disabled",!ge.enabled||null)("aria-pressed",jt._isSelected(ge.compareValue))("aria-current",jt.todayValue===ge.compareValue?"date":null)("aria-describedby",jt._getDescribedby(ge.compareValue)),o.xp6(1),o.ekj("mat-calendar-body-selected",jt._isSelected(ge.compareValue))("mat-calendar-body-comparison-identical",jt._isComparisonIdentical(ge.compareValue))("mat-calendar-body-today",jt.todayValue===ge.compareValue),o.xp6(1),o.hij(" ",ge.displayValue," ")}}function i(Gt,di){if(1&Gt&&(o.TgZ(0,"tr",5),o.YNc(1,le,2,6,"td",6),o.YNc(2,L,5,48,"td",7),o.qZA()),2&Gt){const ge=di.$implicit,Xe=di.index,Et=o.oxw();o.xp6(1),o.Q6J("ngIf",0===Xe&&Et._firstRowOffset),o.xp6(1),o.Q6J("ngForOf",ge)}}function r(Gt,di){if(1&Gt&&(o.TgZ(0,"th",5)(1,"span",6),o._uU(2),o.qZA(),o.TgZ(3,"span",7),o._uU(4),o.qZA()()),2&Gt){const ge=di.$implicit;o.xp6(2),o.Oqu(ge.long),o.xp6(2),o.Oqu(ge.narrow)}}const d=["*"];function c(Gt,di){}function b(Gt,di){if(1&Gt){const ge=o.EpF();o.TgZ(0,"mat-month-view",5),o.NdJ("activeDateChange",function(Et){o.CHM(ge);const jt=o.oxw();return o.KtG(jt.activeDate=Et)})("_userSelection",function(Et){o.CHM(ge);const jt=o.oxw();return o.KtG(jt._dateSelected(Et))}),o.qZA()}if(2&Gt){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 T(Gt,di){if(1&Gt){const ge=o.EpF();o.TgZ(0,"mat-year-view",6),o.NdJ("activeDateChange",function(Et){o.CHM(ge);const jt=o.oxw();return o.KtG(jt.activeDate=Et)})("monthSelected",function(Et){o.CHM(ge);const jt=o.oxw();return o.KtG(jt._monthSelectedInYearView(Et))})("selectedChange",function(Et){o.CHM(ge);const jt=o.oxw();return o.KtG(jt._goToDateInView(Et,"month"))}),o.qZA()}if(2&Gt){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 N(Gt,di){if(1&Gt){const ge=o.EpF();o.TgZ(0,"mat-multi-year-view",7),o.NdJ("activeDateChange",function(Et){o.CHM(ge);const jt=o.oxw();return o.KtG(jt.activeDate=Et)})("yearSelected",function(Et){o.CHM(ge);const jt=o.oxw();return o.KtG(jt._yearSelectedInMultiYearView(Et))})("selectedChange",function(Et){o.CHM(ge);const jt=o.oxw();return o.KtG(jt._goToDateInView(Et,"year"))}),o.qZA()}if(2&Gt){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 v(Gt,di){}const n=["button"];function y(Gt,di){1&Gt&&(o.O4$(),o.TgZ(0,"svg",3),o._UZ(1,"path",4),o.qZA())}const B=[[["","matDatepickerToggleIcon",""]]],z=["[matDatepickerToggleIcon]"];let $e=(()=>{class Gt{constructor(){this.changes=new u.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 Gt.\u0275fac=function(ge){return new(ge||Gt)},Gt.\u0275prov=o.Yz7({token:Gt,factory:Gt.\u0275fac,providedIn:"root"}),Gt})();class Ae{constructor(di,ge,Xe,Et,jt={},Wt=di,si){this.value=di,this.displayValue=ge,this.ariaLabel=Xe,this.enabled=Et,this.cssClasses=jt,this.compareValue=Wt,this.rawValue=si}}let ue=1,ye=(()=>{class Gt{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=Et=>{if(this._skipNextFocus&&"focus"===Et.type)this._skipNextFocus=!1;else if(Et.target&&this.isRange){const jt=this._getCellFromElement(Et.target);jt&&this._ngZone.run(()=>this.previewChange.emit({value:jt.enabled?jt:null,event:Et}))}},this._leaveHandler=Et=>{null!==this.previewEnd&&this.isRange&&Et.target&&this._getCellFromElement(Et.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Et}))},this._id="mat-calendar-body-"+ue++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,Xe.runOutsideAngular(()=>{const Et=ge.nativeElement;Et.addEventListener("mouseenter",this._enterHandler,!0),Et.addEventListener("focus",this._enterHandler,!0),Et.addEventListener("mouseleave",this._leaveHandler,!0),Et.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:Et,numCols:jt}=this;(ge.rows||Xe)&&(this._firstRowOffset=Et&&Et.length&&Et[0].length?jt-Et[0].length:0),(ge.cellAspectRatio||Xe||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/jt+"%"),(Xe||!this._cellWidth)&&(this._cellWidth=100/jt+"%")}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 Et=ge*this.numCols+Xe;return ge&&(Et-=this._firstRowOffset),Et==this.activeCell}_focusActiveCell(ge=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,E.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 he(ge,this.startValue,this.endValue)}_isRangeEnd(ge){return it(ge,this.startValue,this.endValue)}_isInRange(ge){return De(ge,this.startValue,this.endValue,this.isRange)}_isComparisonStart(ge){return he(ge,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(ge,Xe,Et){if(!this._isComparisonStart(ge)||this._isRangeStart(ge)||!this._isInRange(ge))return!1;let jt=this.rows[Xe][Et-1];if(!jt){const Wt=this.rows[Xe-1];jt=Wt&&Wt[Wt.length-1]}return jt&&!this._isRangeEnd(jt.compareValue)}_isComparisonBridgeEnd(ge,Xe,Et){if(!this._isComparisonEnd(ge)||this._isRangeEnd(ge)||!this._isInRange(ge))return!1;let jt=this.rows[Xe][Et+1];if(!jt){const Wt=this.rows[Xe+1];jt=Wt&&Wt[0]}return jt&&!this._isRangeStart(jt.compareValue)}_isComparisonEnd(ge){return it(ge,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(ge){return De(ge,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(ge){return this.comparisonStart===this.comparisonEnd&&ge===this.comparisonStart}_isPreviewStart(ge){return he(ge,this.previewStart,this.previewEnd)}_isPreviewEnd(ge){return it(ge,this.previewStart,this.previewEnd)}_isInPreview(ge){return De(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(we(ge)?Xe=ge:we(ge.parentNode)&&(Xe=ge.parentNode),Xe){const Et=Xe.getAttribute("data-mat-row"),jt=Xe.getAttribute("data-mat-col");if(Et&&jt)return this.rows[parseInt(Et)][parseInt(jt)]}return null}}return Gt.\u0275fac=function(ge){return new(ge||Gt)(o.Y36(o.SBq),o.Y36(o.R0b))},Gt.\u0275cmp=o.Xpm({type:Gt,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,se,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:[k.mk,k.sg,k.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}),Gt})();function we(Gt){return"TD"===Gt.nodeName}function he(Gt,di,ge){return null!==ge&&di!==ge&&Gt<ge&&Gt===di}function it(Gt,di,ge){return null!==di&&di!==ge&&Gt>=di&&Gt===ge}function De(Gt,di,ge,Xe){return Xe&&null!==di&&null!==ge&&di!==ge&&Gt>=di&&Gt<=ge}class oe{constructor(di,ge){this.start=di,this.end=ge}}let me=(()=>{class Gt{constructor(ge,Xe){this.selection=ge,this._adapter=Xe,this._selectionChanged=new u.x,this.selectionChanged=this._selectionChanged,this.selection=ge}updateSelection(ge,Xe){const Et=this.selection;this.selection=ge,this._selectionChanged.next({selection:ge,source:Xe,oldValue:Et})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(ge){return this._adapter.isDateInstance(ge)&&this._adapter.isValid(ge)}}return Gt.\u0275fac=function(ge){o.$Z()},Gt.\u0275prov=o.Yz7({token:Gt,factory:Gt.\u0275fac}),Gt})(),te=(()=>{class Gt extends me{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 Gt(this._adapter);return ge.updateSelection(this.selection,this),ge}}return Gt.\u0275fac=function(ge){return new(ge||Gt)(o.LFG(P._A))},Gt.\u0275prov=o.Yz7({token:Gt,factory:Gt.\u0275fac}),Gt})();const q={provide:me,deps:[[new o.FiY,new o.tp0,me],P._A],useFactory:function Ue(Gt,di){return Gt||new te(di)}},ke=new o.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let Xt=(()=>{class Gt{constructor(ge,Xe,Et,jt,Wt){this._changeDetectorRef=ge,this._dateFormats=Xe,this._dateAdapter=Et,this._dir=jt,this._rangeStrategy=Wt,this._rerenderSubscription=I.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,Et=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Et,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,U.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,Et=this._getDateFromDayOfMonth(Xe);let jt,Wt;this._selected instanceof oe?(jt=this._getDateInCurrentMonth(this._selected.start),Wt=this._getDateInCurrentMonth(this._selected.end)):jt=Wt=this._getDateInCurrentMonth(this._selected),(jt!==Xe||Wt!==Xe)&&this.selectedChange.emit(Et),this._userSelection.emit({value:Et,event:ge.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_updateActiveDate(ge){const Et=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(ge.value),this._dateAdapter.compareDate(Et,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(ge){const Xe=this._activeDate,Et=this._isRtl();switch(ge.keyCode){case w.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Et?1:-1);break;case w.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Et?-1:1);break;case w.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case w.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case w.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case w.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case w.Ku:this.activeDate=ge.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case w.VM:this.activeDate=ge.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case w.K5:case w.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&ge.preventDefault());case w.hY:return void(null!=this._previewEnd&&!(0,w.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===w.L_||ge.keyCode===w.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 jt=this._rangeStrategy.createPreview(Xe?Xe.rawValue:null,this.selected,ge);this._previewStart=this._getCellCompareValue(jt.start),this._previewEnd=this._getCellCompareValue(jt.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 jt=this._dateAdapter.getDayOfWeekNames("long").map((Wt,si)=>({long:Wt,narrow:Xe[si]}));this._weekdays=jt.slice(ge).concat(jt.slice(0,ge))}_createWeekCells(){const ge=this._dateAdapter.getNumDaysInMonth(this.activeDate),Xe=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Et=0,jt=this._firstWeekOffset;Et<ge;Et++,jt++){7==jt&&(this._weeks.push([]),jt=0);const Wt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Et+1),si=this._shouldEnableDate(Wt),Yt=this._dateAdapter.format(Wt,this._dateFormats.display.dateA11yLabel),Bi=this.dateClass?this.dateClass(Wt,"month"):void 0;this._weeks[this._weeks.length-1].push(new Ae(Et+1,Xe[Et],Yt,si,Bi,this._getCellCompareValue(Wt),Wt))}}_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),Et=this._dateAdapter.getMonth(ge),jt=this._dateAdapter.getDate(ge);return new Date(Xe,Et,jt).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 Gt.\u0275fac=function(ge){return new(ge||Gt)(o.Y36(o.sBO),o.Y36(P.sG,8),o.Y36(P._A,8),o.Y36(R.Is,8),o.Y36(ke,8))},Gt.\u0275cmp=o.Xpm({type:Gt,selectors:[["mat-month-view"]],viewQuery:function(ge,Xe){if(1&ge&&o.Gf(ye,5),2&ge){let Et;o.iGM(Et=o.CRH())&&(Xe._matCalendarBody=Et.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(jt){return Xe._dateSelected(jt)})("activeDateChange",function(jt){return Xe._updateActiveDate(jt)})("previewChange",function(jt){return Xe._previewChanged(jt)})("keyup",function(jt){return Xe._handleCalendarBodyKeyup(jt)})("keydown",function(jt){return Xe._handleCalendarBodyKeydown(jt)}),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:[k.sg,ye],encapsulation:2,changeDetection:0}),Gt})(),St=(()=>{class Gt{constructor(ge,Xe,Et){this._changeDetectorRef=ge,this._dateAdapter=Xe,this._dir=Et,this._rerenderSubscription=I.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 Et=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Et,this.minDate,this.maxDate),Ie(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,U.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 Et=0,jt=[];Et<24;Et++)jt.push(Xe+Et),4==jt.length&&(this._years.push(jt.map(Wt=>this._createCellForYear(Wt))),jt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(ge){const Xe=ge.value,Et=this._dateAdapter.createDate(Xe,0,1),jt=this._getDateFromYear(Xe);this.yearSelected.emit(Et),this.selectedChange.emit(jt)}_updateActiveDate(ge){const Et=this._activeDate;this.activeDate=this._getDateFromYear(ge.value),this._dateAdapter.compareDate(Et,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(ge){const Xe=this._activeDate,Et=this._isRtl();switch(ge.keyCode){case w.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Et?1:-1);break;case w.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Et?-1:1);break;case w.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case w.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case w.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-He(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case w.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-He(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case w.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ge.altKey?-240:-24);break;case w.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ge.altKey?240:24);break;case w.K5:case w.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===w.L_||ge.keyCode===w.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),Et=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(ge,Xe,1));return this._dateAdapter.createDate(ge,Xe,Math.min(this._dateAdapter.getDate(this.activeDate),Et))}_createCellForYear(ge){const Xe=this._dateAdapter.createDate(ge,0,1),Et=this._dateAdapter.getYearName(Xe),jt=this.dateClass?this.dateClass(Xe,"multi-year"):void 0;return new Ae(ge,Et,Et,this._shouldEnableYear(ge),jt)}_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 Et=this._dateAdapter.createDate(ge,0,1);this._dateAdapter.getYear(Et)==ge;Et=this._dateAdapter.addCalendarDays(Et,1))if(this.dateFilter(Et))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 Gt.\u0275fac=function(ge){return new(ge||Gt)(o.Y36(o.sBO),o.Y36(P._A,8),o.Y36(R.Is,8))},Gt.\u0275cmp=o.Xpm({type:Gt,selectors:[["mat-multi-year-view"]],viewQuery:function(ge,Xe){if(1&ge&&o.Gf(ye,5),2&ge){let Et;o.iGM(Et=o.CRH())&&(Xe._matCalendarBody=Et.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(jt){return Xe._yearSelected(jt)})("activeDateChange",function(jt){return Xe._updateActiveDate(jt)})("keyup",function(jt){return Xe._handleCalendarBodyKeyup(jt)})("keydown",function(jt){return Xe._handleCalendarBodyKeydown(jt)}),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:[ye],encapsulation:2,changeDetection:0}),Gt})();function Ie(Gt,di,ge,Xe,Et){const jt=Gt.getYear(di),Wt=Gt.getYear(ge),si=xt(Gt,Xe,Et);return Math.floor((jt-si)/24)===Math.floor((Wt-si)/24)}function He(Gt,di,ge,Xe){return function Pe(Gt,di){return(Gt%di+di)%di}(Gt.getYear(di)-xt(Gt,ge,Xe),24)}function xt(Gt,di,ge){let Xe=0;return ge?Xe=Gt.getYear(ge)-24+1:di&&(Xe=Gt.getYear(di)),Xe}let et=(()=>{class Gt{constructor(ge,Xe,Et,jt){this._changeDetectorRef=ge,this._dateFormats=Xe,this._dateAdapter=Et,this._dir=jt,this._rerenderSubscription=I.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 Et=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ge))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Et,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,U.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(ge){const Xe=ge.value,Et=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Xe,1);this.monthSelected.emit(Et);const jt=this._getDateFromMonth(Xe);this.selectedChange.emit(jt)}_updateActiveDate(ge){const Et=this._activeDate;this.activeDate=this._getDateFromMonth(ge.value),this._dateAdapter.compareDate(Et,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(ge){const Xe=this._activeDate,Et=this._isRtl();switch(ge.keyCode){case w.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Et?1:-1);break;case w.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Et?-1:1);break;case w.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case w.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case w.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case w.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case w.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ge.altKey?-10:-1);break;case w.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ge.altKey?10:1);break;case w.K5:case w.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===w.L_||ge.keyCode===w.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(Et=>this._createCellForMonth(Et,ge[Et]))),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),Et=this._dateAdapter.getNumDaysInMonth(Xe);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),ge,Math.min(this._dateAdapter.getDate(this.activeDate),Et))}_createCellForMonth(ge,Xe){const Et=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),ge,1),jt=this._dateAdapter.format(Et,this._dateFormats.display.monthYearA11yLabel),Wt=this.dateClass?this.dateClass(Et,"year"):void 0;return new Ae(ge,Xe.toLocaleUpperCase(),jt,this._shouldEnableMonth(ge),Wt)}_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 jt=this._dateAdapter.createDate(Xe,ge,1);this._dateAdapter.getMonth(jt)==ge;jt=this._dateAdapter.addCalendarDays(jt,1))if(this.dateFilter(jt))return!0;return!1}_isYearAndMonthAfterMaxDate(ge,Xe){if(this.maxDate){const Et=this._dateAdapter.getYear(this.maxDate),jt=this._dateAdapter.getMonth(this.maxDate);return ge>Et||ge===Et&&Xe>jt}return!1}_isYearAndMonthBeforeMinDate(ge,Xe){if(this.minDate){const Et=this._dateAdapter.getYear(this.minDate),jt=this._dateAdapter.getMonth(this.minDate);return ge<Et||ge===Et&&Xe<jt}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 Gt.\u0275fac=function(ge){return new(ge||Gt)(o.Y36(o.sBO),o.Y36(P.sG,8),o.Y36(P._A,8),o.Y36(R.Is,8))},Gt.\u0275cmp=o.Xpm({type:Gt,selectors:[["mat-year-view"]],viewQuery:function(ge,Xe){if(1&ge&&o.Gf(ye,5),2&ge){let Et;o.iGM(Et=o.CRH())&&(Xe._matCalendarBody=Et.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(jt){return Xe._monthSelected(jt)})("activeDateChange",function(jt){return Xe._updateActiveDate(jt)})("keyup",function(jt){return Xe._handleCalendarBodyKeyup(jt)})("keydown",function(jt){return Xe._handleCalendarBodyKeydown(jt)}),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:[ye],encapsulation:2,changeDetection:0}),Gt})(),Vt=1,Lt=(()=>{class Gt{constructor(ge,Xe,Et,jt,Wt){this._intl=ge,this.calendar=Xe,this._dateAdapter=Et,this._dateFormats=jt,this._id="mat-calendar-header-"+Vt++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>Wt.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):Ie(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),Et=Xe+24-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(Xe,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Et,0,1))]}}return Gt.\u0275fac=function(ge){return new(ge||Gt)(o.Y36($e),o.Y36((0,o.Gpc)(()=>Ft)),o.Y36(P._A,8),o.Y36(P.sG,8),o.Y36(o.sBO))},Gt.\u0275cmp=o.Xpm({type:Gt,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:d,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}),Gt})(),Ft=(()=>{class Gt{constructor(ge,Xe,Et,jt){this._dateAdapter=Xe,this._dateFormats=Et,this._changeDetectorRef=jt,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 u.x,this._intlChanges=ge.changes.subscribe(()=>{jt.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 g.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,Et=ge.maxDate&&!this._dateAdapter.sameDate(ge.maxDate.previousValue,ge.maxDate.currentValue)?ge.maxDate:void 0,jt=Xe||Et||ge.dateFilter;if(jt&&!jt.firstChange){const Wt=this._getCurrentViewComponent();Wt&&(this._changeDetectorRef.detectChanges(),Wt._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 Gt.\u0275fac=function(ge){return new(ge||Gt)(o.Y36($e),o.Y36(P._A,8),o.Y36(P.sG,8),o.Y36(o.sBO))},Gt.\u0275cmp=o.Xpm({type:Gt,selectors:[["mat-calendar"]],viewQuery:function(ge,Xe){if(1&ge&&(o.Gf(Xt,5),o.Gf(et,5),o.Gf(St,5)),2&ge){let Et;o.iGM(Et=o.CRH())&&(Xe.monthView=Et.first),o.iGM(Et=o.CRH())&&(Xe.yearView=Et.first),o.iGM(Et=o.CRH())&&(Xe.multiYearView=Et.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,c,0,0,"ng-template",0),o.TgZ(1,"div",1),o.YNc(2,b,1,10,"mat-month-view",2),o.YNc(3,T,1,6,"mat-year-view",3),o.YNc(4,N,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:[k.RF,k.n9,t.kH,g.Pl,Xt,et,St],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}),Gt})();const bt={transformPanel:(0,$.X$)("transformPanel",[(0,$.eR)("void => enter-dropdown",(0,$.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,$.F4)([(0,$.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,$.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,$.eR)("void => enter-dialog",(0,$.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,$.F4)([(0,$.oB)({opacity:0,transform:"scale(0.7)"}),(0,$.oB)({transform:"none",opacity:1})]))),(0,$.eR)("* => void",(0,$.jt)("100ms linear",(0,$.oB)({opacity:0})))]),fadeInCalendar:(0,$.X$)("fadeInCalendar",[(0,$.SB)("void",(0,$.oB)({opacity:0})),(0,$.SB)("enter",(0,$.oB)({opacity:1})),(0,$.eR)("void => *",(0,$.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Ce=0;const J=new o.OlP("mat-datepicker-scroll-strategy"),Ne={provide:J,deps:[e.aV],useFactory:function ve(Gt){return()=>Gt.scrollStrategies.reposition()}},st=(0,P.pj)(class{constructor(Gt){this._elementRef=Gt}});let ni=(()=>{class Gt extends st{constructor(ge,Xe,Et,jt,Wt,si){super(ge),this._changeDetectorRef=Xe,this._globalModel=Et,this._dateAdapter=jt,this._rangeSelectionStrategy=Wt,this._subscriptions=new I.w0,this._animationDone=new u.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=si.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,Et=ge.value,jt=Xe instanceof oe;if(jt&&this._rangeSelectionStrategy){const Wt=this._rangeSelectionStrategy.selectionFinished(Et,Xe,ge.event);this._model.updateSelection(Wt,this)}else Et&&(jt||!this._dateAdapter.sameDate(Et,Xe))&&this._model.add(Et);(!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 Gt.\u0275fac=function(ge){return new(ge||Gt)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(me),o.Y36(P._A),o.Y36(ke,8),o.Y36($e))},Gt.\u0275cmp=o.Xpm({type:Gt,selectors:[["mat-datepicker-content"]],viewQuery:function(ge,Xe){if(1&ge&&o.Gf(Ft,5),2&ge){let Et;o.iGM(Et=o.CRH())&&(Xe._calendar=Et.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(ge,Xe){1&ge&&o.WFA("@transformPanel.start",function(jt){return Xe._handleAnimationEvent(jt)})("@transformPanel.done",function(jt){return Xe._handleAnimationEvent(jt)}),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(jt){return Xe.datepicker._selectYear(jt)})("monthSelected",function(jt){return Xe.datepicker._selectMonth(jt)})("viewChanged",function(jt){return Xe.datepicker._viewChanged(jt)})("_userSelection",function(jt){return Xe._handleUserSelection(jt)}),o.qZA(),o.YNc(2,v,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 Et;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!==(Et=Xe._dialogLabelId)&&void 0!==Et?Et: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:[k.mk,C.lW,t.mK,g.Pl,Ft],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}),Gt})(),Ut=(()=>{class Gt{constructor(ge,Xe,Et,jt,Wt,si,Yt){this._overlay=ge,this._ngZone=Xe,this._viewContainerRef=Et,this._dateAdapter=Wt,this._dir=si,this._model=Yt,this._inputStateChanges=I.w0.EMPTY,this._document=(0,o.f3M)(k.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-"+Ce++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new u.x,this._scrollStrategy=jt}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,Q.Ig)(ge)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(ge){const Xe=(0,Q.Ig)(ge);Xe!==this._disabled&&(this._disabled=Xe,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(ge){this._restoreFocus=(0,Q.Ig)(ge)}get panelClass(){return this._panelClass}set panelClass(ge){this._panelClass=(0,Q.du)(ge)}get opened(){return this._opened}set opened(ge){(0,Q.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 Et=this._overlayRef.getConfig().positionStrategy;Et instanceof e._G&&(this._setConnectedPositions(Et),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(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:Et,location:jt}=this._componentRef;Et._startExitAnimation(),Et._animationDone.pipe((0,E.q)(1)).subscribe(()=>{const Wt=this._document.activeElement;ge&&(!Wt||Wt===this._document.activeElement||jt.nativeElement.contains(Wt))&&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 g.C5(ni,this._viewContainerRef),Et=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(Et).subscribe(jt=>{jt&&jt.preventDefault(),this.close()}),Et.keydownEvents().subscribe(jt=>{const Wt=jt.keyCode;(Wt===w.LH||Wt===w.JH||Wt===w.oh||Wt===w.SV||Wt===w.Ku||Wt===w.VM)&&jt.preventDefault()}),this._componentRef=Et.attach(Xe),this._forwardContentValues(this._componentRef.instance),ge||this._ngZone.onStable.pipe((0,E.q)(1)).subscribe(()=>Et.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const 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",Et="start"===Xe?"end":"start",jt="above"===this.yPosition?"bottom":"top",Wt="top"===jt?"bottom":"top";return ge.withPositions([{originX:Xe,originY:Wt,overlayX:Xe,overlayY:jt},{originX:Xe,originY:jt,overlayX:Xe,overlayY:Wt},{originX:Et,originY:Wt,overlayX:Et,overlayY:jt},{originX:Et,originY:jt,overlayX:Et,overlayY:Wt}])}_getCloseStream(ge){return(0,S.T)(ge.backdropClick(),ge.detachments(),ge.keydownEvents().pipe((0,Y.h)(Xe=>Xe.keyCode===w.hY&&!(0,w.Vb)(Xe)||this.datepickerInput&&(0,w.Vb)(Xe,"altKey")&&Xe.keyCode===w.LH)))}}return Gt.\u0275fac=function(ge){return new(ge||Gt)(o.Y36(e.aV),o.Y36(o.R0b),o.Y36(o.s_b),o.Y36(J),o.Y36(P._A,8),o.Y36(R.Is,8),o.Y36(me))},Gt.\u0275dir=o.lG2({type:Gt,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]}),Gt})(),ti=(()=>{class Gt extends Ut{}return Gt.\u0275fac=function(){let di;return function(Xe){return(di||(di=o.n5z(Gt)))(Xe||Gt)}}(),Gt.\u0275cmp=o.Xpm({type:Gt,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[o._Bn([q,{provide:Ut,useExisting:Gt}]),o.qOj],decls:0,vars:0,template:function(ge,Xe){},encapsulation:2,changeDetection:0}),Gt})();class dt{constructor(di,ge){this.target=di,this.targetElement=ge,this.value=this.target.value}}let at=(()=>{class Gt{constructor(ge,Xe,Et){this._elementRef=ge,this._dateAdapter=Xe,this._dateFormats=Et,this.dateChange=new o.vpe,this.dateInput=new o.vpe,this.stateChanges=new u.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=I.w0.EMPTY,this._localeSubscription=I.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=jt=>{const Wt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(jt.value));return!Wt||this._matchesFilter(Wt)?null:{matDatepickerFilter:!0}},this._minValidator=jt=>{const Wt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(jt.value)),si=this._getMinDate();return!si||!Wt||this._dateAdapter.compareDate(si,Wt)<=0?null:{matDatepickerMin:{min:si,actual:Wt}}},this._maxValidator=jt=>{const Wt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(jt.value)),si=this._getMaxDate();return!si||!Wt||this._dateAdapter.compareDate(si,Wt)>=0?null:{matDatepickerMax:{max:si,actual:Wt}}},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,Q.Ig)(ge),Et=this._elementRef.nativeElement;this._disabled!==Xe&&(this._disabled=Xe,this.stateChanges.next(void 0)),Xe&&this._isInitialized&&Et.blur&&Et.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 Et=this._getValueFromModel(Xe.selection);this._lastValueValid=this._isValidValue(Et),this._cvaOnChange(Et),this._onTouched(),this._formatValue(Et),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 _t(Gt,di){const ge=Object.keys(Gt);for(let Xe of ge){const{previousValue:Et,currentValue:jt}=Gt[Xe];if(!di.isDateInstance(Et)||!di.isDateInstance(jt))return!0;if(!di.sameDate(Et,jt))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===w.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),ge.preventDefault())}_onInput(ge){const Xe=this._lastValueValid;let Et=this._dateAdapter.parse(ge,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Et),Et=this._dateAdapter.getValidDateOrNull(Et);const jt=!this._dateAdapter.sameDate(Et,this.value);!Et||jt?this._cvaOnChange(Et):(ge&&!this.value&&this._cvaOnChange(Et),Xe!==this._lastValueValid&&this._validatorOnChange()),jt&&(this._assignValue(Et),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 Gt.\u0275fac=function(ge){return new(ge||Gt)(o.Y36(o.SBq),o.Y36(P._A,8),o.Y36(P.sG,8))},Gt.\u0275dir=o.lG2({type:Gt,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[o.TTD]}),Gt})();const ai={provide:fe.JU,useExisting:(0,o.Gpc)(()=>zt),multi:!0},Bt={provide:fe.Cf,useExisting:(0,o.Gpc)(()=>zt),multi:!0};let zt=(()=>{class Gt extends at{constructor(ge,Xe,Et,jt){super(ge,Xe,Et),this._formField=jt,this._closedSubscription=I.w0.EMPTY,this._validator=fe.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 Gt.\u0275fac=function(ge){return new(ge||Gt)(o.Y36(o.SBq),o.Y36(P._A,8),o.Y36(P.sG,8),o.Y36(re.G_,8))},Gt.\u0275dir=o.lG2({type:Gt,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(ge,Xe){1&ge&&o.NdJ("input",function(jt){return Xe._onInput(jt.target.value)})("change",function(){return Xe._onChange()})("blur",function(){return Xe._onBlur()})("keydown",function(jt){return Xe._onKeydown(jt)}),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,Bt,{provide:ee.Jk,useExisting:Gt}]),o.qOj]}),Gt})(),Nt=(()=>{class Gt{}return Gt.\u0275fac=function(ge){return new(ge||Gt)},Gt.\u0275dir=o.lG2({type:Gt,selectors:[["","matDatepickerToggleIcon",""]]}),Gt})(),je=(()=>{class Gt{constructor(ge,Xe,Et){this._intl=ge,this._changeDetectorRef=Xe,this._stateChanges=I.w0.EMPTY;const jt=Number(Et);this.tabIndex=jt||0===jt?jt:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(ge){this._disabled=(0,Q.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,A.of)(),Xe=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,A.of)(),Et=this.datepicker?(0,S.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,A.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,S.T)(this._intl.changes,ge,Xe,Et).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Gt.\u0275fac=function(ge){return new(ge||Gt)(o.Y36($e),o.Y36(o.sBO),o.$8M("tabindex"))},Gt.\u0275cmp=o.Xpm({type:Gt,selectors:[["mat-datepicker-toggle"]],contentQueries:function(ge,Xe,Et){if(1&ge&&o.Suo(Et,Nt,5),2&ge){let jt;o.iGM(jt=o.CRH())&&(Xe._customIcon=jt.first)}},viewQuery:function(ge,Xe){if(1&ge&&o.Gf(n,5),2&ge){let Et;o.iGM(Et=o.CRH())&&(Xe._button=Et.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(ge,Xe){1&ge&&o.NdJ("click",function(jt){return Xe._open(jt)}),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:z,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(B),o.TgZ(0,"button",0,1),o.YNc(2,y,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:[k.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}),Gt})(),Gi=(()=>{class Gt{}return Gt.\u0275fac=function(ge){return new(ge||Gt)},Gt.\u0275mod=o.oAB({type:Gt}),Gt.\u0275inj=o.cJS({providers:[$e,Ne],imports:[k.ez,C.ot,e.U8,t.rt,g.eL,P.BQ,h.ZD]}),Gt})()},7274:(ze,K,m)=>{"use strict";m.d(K,{WI:()=>$e,Bq:()=>Ae,uw:()=>oe,ZT:()=>te,Is:()=>Ee,so:()=>Ve});var t=m(8184),e=m(6895),g=m(4650),k=m(4761),o_OPEN="mdc-dialog--open",h_DIALOG_ANIMATION_CLOSE_TIME_MS=(["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),75),P=m(3353),u=m(4080),I=m(9521),S=m(7579),A=m(9770),w=m(9646),R=m(445),E=m(8675);function U(nt,Ct){}class Y{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 u.en{constructor(rt,Xt,gt,mt,St,Ie,He,xt){super(),this._elementRef=rt,this._focusTrapFactory=Xt,this._config=mt,this._interactivityChecker=St,this._ngZone=Ie,this._overlayRef=He,this._focusMonitor=xt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Pe=>{this._portalOutlet.hasAttached();const et=this._portalOutlet.attachDomPortal(Pe);return this._contentAttached(),et},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=gt}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(rt){this._portalOutlet.hasAttached();const Xt=this._portalOutlet.attachComponentPortal(rt);return this._contentAttached(),Xt}attachTemplatePortal(rt){this._portalOutlet.hasAttached();const Xt=this._portalOutlet.attachTemplatePortal(rt);return this._contentAttached(),Xt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(rt,Xt){this._interactivityChecker.isFocusable(rt)||(rt.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const gt=()=>{rt.removeEventListener("blur",gt),rt.removeEventListener("mousedown",gt),rt.removeAttribute("tabindex")};rt.addEventListener("blur",gt),rt.addEventListener("mousedown",gt)})),rt.focus(Xt)}_focusByCssSelector(rt,Xt){let gt=this._elementRef.nativeElement.querySelector(rt);gt&&this._forceFocus(gt,Xt)}_trapFocus(){const rt=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||rt.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Xt=>{Xt||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 rt=this._config.restoreFocus;let Xt=null;if("string"==typeof rt?Xt=this._document.querySelector(rt):"boolean"==typeof rt?Xt=rt?this._elementFocusedBeforeDialogWasOpened:null:rt&&(Xt=rt),this._config.restoreFocus&&Xt&&"function"==typeof Xt.focus){const gt=(0,P.ht)(),mt=this._elementRef.nativeElement;(!gt||gt===this._document.body||gt===mt||mt.contains(gt))&&(this._focusMonitor?(this._focusMonitor.focusVia(Xt,this._closeInteractionType),this._closeInteractionType=null):Xt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const rt=this._elementRef.nativeElement,Xt=(0,P.ht)();return rt===Xt||rt.contains(Xt)}_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(rt){return new(rt||nt)(g.Y36(g.SBq),g.Y36(k.qV),g.Y36(e.K0,8),g.Y36(Y),g.Y36(k.ic),g.Y36(g.R0b),g.Y36(t.Iu),g.Y36(k.tE))},nt.\u0275cmp=g.Xpm({type:nt,selectors:[["cdk-dialog-container"]],viewQuery:function(rt,Xt){if(1&rt&&g.Gf(u.Pl,7),2&rt){let gt;g.iGM(gt=g.CRH())&&(Xt._portalOutlet=gt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(rt,Xt){2&rt&&g.uIk("id",Xt._config.id||null)("role",Xt._config.role)("aria-modal",Xt._config.ariaModal)("aria-labelledby",Xt._config.ariaLabel?null:Xt._ariaLabelledBy)("aria-label",Xt._config.ariaLabel)("aria-describedby",Xt._config.ariaDescribedBy||null)},features:[g.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(rt,Xt){1&rt&&g.YNc(0,U,0,0,"ng-template",0)},dependencies:[u.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),nt})();class ${constructor(Ct,rt){this.overlayRef=Ct,this.config=rt,this.closed=new S.x,this.disableClose=rt.disableClose,this.backdropClick=Ct.backdropClick(),this.keydownEvents=Ct.keydownEvents(),this.outsidePointerEvents=Ct.outsidePointerEvents(),this.id=rt.id,this.keydownEvents.subscribe(Xt=>{Xt.keyCode===I.hY&&!this.disableClose&&!(0,I.Vb)(Xt)&&(Xt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(Ct,rt){if(this.containerInstance){const Xt=this.closed;this.containerInstance._closeInteractionType=rt?.focusOrigin||"program",this.overlayRef.dispose(),Xt.next(Ct),Xt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Ct="",rt=""){return this.overlayRef.updateSize({width:Ct,height:rt}),this}addPanelClass(Ct){return this.overlayRef.addPanelClass(Ct),this}removePanelClass(Ct){return this.overlayRef.removePanelClass(Ct),this}}const fe=new g.OlP("DialogScrollStrategy"),re=new g.OlP("DialogData"),ee=new g.OlP("DefaultDialogConfig"),se={provide:fe,deps:[t.aV],useFactory:function ce(nt){return()=>nt.scrollStrategies.block()}};let le=0,L=(()=>{class nt{constructor(rt,Xt,gt,mt,St,Ie){this._overlay=rt,this._injector=Xt,this._defaultOptions=gt,this._parentDialog=mt,this._overlayContainer=St,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new S.x,this._afterOpenedAtThisLevel=new S.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,A.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,E.O)(void 0))),this._scrollStrategy=Ie}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(rt,Xt){(Xt={...this._defaultOptions||new Y,...Xt}).id=Xt.id||"cdk-dialog-"+le++,Xt.id&&this.getDialogById(Xt.id);const mt=this._getOverlayConfig(Xt),St=this._overlay.create(mt),Ie=new $(St,Xt),He=this._attachContainer(St,Ie,Xt);return Ie.containerInstance=He,this._attachDialogContent(rt,Ie,He,Xt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Ie),Ie.closed.subscribe(()=>this._removeOpenDialog(Ie,!0)),this.afterOpened.next(Ie),Ie}closeAll(){i(this.openDialogs,rt=>rt.close())}getDialogById(rt){return this.openDialogs.find(Xt=>Xt.id===rt)}ngOnDestroy(){i(this._openDialogsAtThisLevel,rt=>{!1===rt.config.closeOnDestroy&&this._removeOpenDialog(rt,!1)}),i(this._openDialogsAtThisLevel,rt=>rt.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(rt){const Xt=new t.X_({positionStrategy:rt.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:rt.scrollStrategy||this._scrollStrategy(),panelClass:rt.panelClass,hasBackdrop:rt.hasBackdrop,direction:rt.direction,minWidth:rt.minWidth,minHeight:rt.minHeight,maxWidth:rt.maxWidth,maxHeight:rt.maxHeight,width:rt.width,height:rt.height,disposeOnNavigation:rt.closeOnNavigation});return rt.backdropClass&&(Xt.backdropClass=rt.backdropClass),Xt}_attachContainer(rt,Xt,gt){const mt=gt.injector||gt.viewContainerRef?.injector,St=[{provide:Y,useValue:gt},{provide:$,useValue:Xt},{provide:t.Iu,useValue:rt}];let Ie;gt.container?"function"==typeof gt.container?Ie=gt.container:(Ie=gt.container.type,St.push(...gt.container.providers(gt))):Ie=X;const He=new u.C5(Ie,gt.viewContainerRef,g.zs3.create({parent:mt||this._injector,providers:St}),gt.componentFactoryResolver);return rt.attach(He).instance}_attachDialogContent(rt,Xt,gt,mt){if(rt instanceof g.Rgc){const St=this._createInjector(mt,Xt,gt,void 0);let Ie={$implicit:mt.data,dialogRef:Xt};mt.templateContext&&(Ie={...Ie,..."function"==typeof mt.templateContext?mt.templateContext():mt.templateContext}),gt.attachTemplatePortal(new u.UE(rt,null,Ie,St))}else{const St=this._createInjector(mt,Xt,gt,this._injector),Ie=gt.attachComponentPortal(new u.C5(rt,mt.viewContainerRef,St,mt.componentFactoryResolver));Xt.componentInstance=Ie.instance}}_createInjector(rt,Xt,gt,mt){const St=rt.injector||rt.viewContainerRef?.injector,Ie=[{provide:re,useValue:rt.data},{provide:$,useValue:Xt}];return rt.providers&&("function"==typeof rt.providers?Ie.push(...rt.providers(Xt,rt,gt)):Ie.push(...rt.providers)),rt.direction&&(!St||!St.get(R.Is,null,{optional:!0}))&&Ie.push({provide:R.Is,useValue:{value:rt.direction,change:(0,w.of)()}}),g.zs3.create({parent:St||mt,providers:Ie})}_removeOpenDialog(rt,Xt){const gt=this.openDialogs.indexOf(rt);gt>-1&&(this.openDialogs.splice(gt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((mt,St)=>{mt?St.setAttribute("aria-hidden",mt):St.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Xt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const rt=this._overlayContainer.getContainerElement();if(rt.parentElement){const Xt=rt.parentElement.children;for(let gt=Xt.length-1;gt>-1;gt--){const mt=Xt[gt];mt!==rt&&"SCRIPT"!==mt.nodeName&&"STYLE"!==mt.nodeName&&!mt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(mt,mt.getAttribute("aria-hidden")),mt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const rt=this._parentDialog;return rt?rt._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return nt.\u0275fac=function(rt){return new(rt||nt)(g.LFG(t.aV),g.LFG(g.zs3),g.LFG(ee,8),g.LFG(nt,12),g.LFG(t.Xj),g.LFG(fe))},nt.\u0275prov=g.Yz7({token:nt,factory:nt.\u0275fac}),nt})();function i(nt,Ct){let rt=nt.length;for(;rt--;)Ct(nt[rt])}let r=(()=>{class nt{}return nt.\u0275fac=function(rt){return new(rt||nt)},nt.\u0275mod=g.oAB({type:nt}),nt.\u0275inj=g.cJS({providers:[L,se],imports:[t.U8,u.eL,k.rt,u.eL]}),nt})();var d=m(1281),c=m(6451),b=m(9300),T=m(5698),N=m(3238);function n(nt,Ct){}m(7340);class y{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 B=(()=>{class nt extends X{constructor(rt,Xt,gt,mt,St,Ie,He,xt){super(rt,Xt,gt,mt,St,Ie,He,xt),this._animationStateChanged=new g.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(rt){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:rt})}}return nt.\u0275fac=function(rt){return new(rt||nt)(g.Y36(g.SBq),g.Y36(k.qV),g.Y36(e.K0,8),g.Y36(y),g.Y36(k.ic),g.Y36(g.R0b),g.Y36(t.Iu),g.Y36(k.tE))},nt.\u0275cmp=g.Xpm({type:nt,selectors:[["ng-component"]],features:[g.qOj],decls:0,vars:0,template:function(rt,Xt){},encapsulation:2}),nt})();const z="--mat-dialog-transition-duration";function W(nt){return null==nt?null:"number"==typeof nt?nt:nt.endsWith("ms")?(0,d.su)(nt.substring(0,nt.length-2)):nt.endsWith("s")?1e3*(0,d.su)(nt.substring(0,nt.length-1)):"0"===nt?0:null}let Le=(()=>{class nt extends B{constructor(rt,Xt,gt,mt,St,Ie,He,xt,Pe){super(rt,Xt,gt,mt,St,Ie,He,Pe),this._animationMode=xt,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?W(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?W(this._config.exitAnimationDuration)??h_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(z,`${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(z,`${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(rt,Xt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Xt,rt)}}return nt.\u0275fac=function(rt){return new(rt||nt)(g.Y36(g.SBq),g.Y36(k.qV),g.Y36(e.K0,8),g.Y36(y),g.Y36(k.ic),g.Y36(g.R0b),g.Y36(t.Iu),g.Y36(g.QbO,8),g.Y36(k.tE))},nt.\u0275cmp=g.Xpm({type:nt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(rt,Xt){2&rt&&(g.Ikx("id",Xt._config.id),g.uIk("aria-modal",Xt._config.ariaModal)("role",Xt._config.role)("aria-labelledby",Xt._config.ariaLabel?null:Xt._ariaLabelledBy)("aria-label",Xt._config.ariaLabel)("aria-describedby",Xt._config.ariaDescribedBy||null),g.ekj("_mat-animation-noopable",!Xt._animationsEnabled))},features:[g.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(rt,Xt){1&rt&&(g.TgZ(0,"div",0)(1,"div",1),g.YNc(2,n,0,0,"ng-template",2),g.qZA()())},dependencies:[u.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 Ve{constructor(Ct,rt,Xt){this._ref=Ct,this._containerInstance=Xt,this._afterOpened=new S.x,this._beforeClosed=new S.x,this._state=0,this.disableClose=rt.disableClose,this.id=Ct.id,Xt._animationStateChanged.pipe((0,b.h)(gt=>"opened"===gt.state),(0,T.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Xt._animationStateChanged.pipe((0,b.h)(gt=>"closed"===gt.state),(0,T.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Ct.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,c.T)(this.backdropClick(),this.keydownEvents().pipe((0,b.h)(gt=>gt.keyCode===I.hY&&!this.disableClose&&!(0,I.Vb)(gt)))).subscribe(gt=>{this.disableClose||(gt.preventDefault(),Ke(this,"keydown"===gt.type?"keyboard":"mouse"))})}close(Ct){this._result=Ct,this._containerInstance._animationStateChanged.pipe((0,b.h)(rt=>"closing"===rt.state),(0,T.q)(1)).subscribe(rt=>{this._beforeClosed.next(Ct),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),rt.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(Ct){let rt=this._ref.config.positionStrategy;return Ct&&(Ct.left||Ct.right)?Ct.left?rt.left(Ct.left):rt.right(Ct.right):rt.centerHorizontally(),Ct&&(Ct.top||Ct.bottom)?Ct.top?rt.top(Ct.top):rt.bottom(Ct.bottom):rt.centerVertically(),this._ref.updatePosition(),this}updateSize(Ct="",rt=""){return this._ref.updateSize(Ct,rt),this}addPanelClass(Ct){return this._ref.addPanelClass(Ct),this}removePanelClass(Ct){return this._ref.removePanelClass(Ct),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Ke(nt,Ct,rt){return nt._closeInteractionType=Ct,nt.close(rt)}const $e=new g.OlP("MatMdcDialogData"),Ae=new g.OlP("mat-mdc-dialog-default-options"),ue=new g.OlP("mat-mdc-dialog-scroll-strategy"),we={provide:ue,deps:[t.aV],useFactory:function ye(nt){return()=>nt.scrollStrategies.block()}};let it=0,De=(()=>{class nt{constructor(rt,Xt,gt,mt,St,Ie,He,xt,Pe,et){this._overlay=rt,this._defaultOptions=gt,this._parentDialog=mt,this._dialogRefConstructor=He,this._dialogContainerType=xt,this._dialogDataToken=Pe,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new S.x,this._afterOpenedAtThisLevel=new S.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=y,this.afterAllClosed=(0,A.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,E.O)(void 0))),this._scrollStrategy=Ie,this._dialog=Xt.get(L)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const rt=this._parentDialog;return rt?rt._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(rt,Xt){let gt;(Xt={...this._defaultOptions||new y,...Xt}).id=Xt.id||`${this._idPrefix}${it++}`,Xt.scrollStrategy=Xt.scrollStrategy||this._scrollStrategy();const mt=this._dialog.open(rt,{...Xt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Xt},{provide:Y,useValue:Xt}]},templateContext:()=>({dialogRef:gt}),providers:(St,Ie,He)=>(gt=new this._dialogRefConstructor(St,Xt,He),gt.updatePosition(Xt?.position),[{provide:this._dialogContainerType,useValue:He},{provide:this._dialogDataToken,useValue:Ie.data},{provide:this._dialogRefConstructor,useValue:gt}])});return gt.componentInstance=mt.componentInstance,this.openDialogs.push(gt),this.afterOpened.next(gt),gt.afterClosed().subscribe(()=>{const St=this.openDialogs.indexOf(gt);St>-1&&(this.openDialogs.splice(St,1),this.openDialogs.length||this._getAfterAllClosed().next())}),gt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(rt){return this.openDialogs.find(Xt=>Xt.id===rt)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(rt){let Xt=rt.length;for(;Xt--;)rt[Xt].close()}}return nt.\u0275fac=function(rt){g.$Z()},nt.\u0275prov=g.Yz7({token:nt,factory:nt.\u0275fac}),nt})(),oe=(()=>{class nt extends De{constructor(rt,Xt,gt,mt,St,Ie,He,xt){super(rt,Xt,mt,Ie,He,St,Ve,Le,$e,xt),this._idPrefix="mat-mdc-dialog-"}}return nt.\u0275fac=function(rt){return new(rt||nt)(g.LFG(t.aV),g.LFG(g.zs3),g.LFG(e.Ye,8),g.LFG(Ae,8),g.LFG(ue),g.LFG(nt,12),g.LFG(t.Xj),g.LFG(g.QbO,8))},nt.\u0275prov=g.Yz7({token:nt,factory:nt.\u0275fac}),nt})(),te=(()=>{class nt{constructor(rt,Xt,gt){this.dialogRef=rt,this._elementRef=Xt,this._dialog=gt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function de(nt,Ct){let rt=nt.nativeElement.parentElement;for(;rt&&!rt.classList.contains("mat-mdc-dialog-container");)rt=rt.parentElement;return rt?Ct.find(Xt=>Xt.id===rt.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(rt){const Xt=rt._matDialogClose||rt._matDialogCloseResult;Xt&&(this.dialogResult=Xt.currentValue)}_onButtonClick(rt){Ke(this.dialogRef,0===rt.screenX&&0===rt.screenY?"keyboard":"mouse",this.dialogResult)}}return nt.\u0275fac=function(rt){return new(rt||nt)(g.Y36(Ve,8),g.Y36(g.SBq),g.Y36(oe))},nt.\u0275dir=g.lG2({type:nt,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(rt,Xt){1&rt&&g.NdJ("click",function(mt){return Xt._onButtonClick(mt)}),2&rt&&g.uIk("aria-label",Xt.ariaLabel||null)("type",Xt.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[g.TTD]}),nt})(),Ee=(()=>{class nt{}return nt.\u0275fac=function(rt){return new(rt||nt)},nt.\u0275mod=g.oAB({type:nt}),nt.\u0275inj=g.cJS({providers:[oe,we],imports:[r,t.U8,u.eL,N.BQ,N.BQ]}),nt})()},4850:(ze,K,m)=>{"use strict";m.d(K,{d:()=>k,t:()=>o});var t=m(4650),e=m(1281),g=m(3238);let k=(()=>{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,u){2&P&&(t.uIk("aria-orientation",u.vertical?"vertical":"horizontal"),t.ekj("mat-divider-vertical",u.vertical)("mat-divider-horizontal",!u.vertical)("mat-divider-inset",u.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(P,u){},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:[g.BQ,g.BQ]}),C})()},752:(ze,K,m)=>{"use strict";m.d(K,{pp:()=>Ae,To:()=>ue,ib:()=>B,u4:()=>Ke,yz:()=>Ve,yK:()=>$e});var t=m(4650),e=m(5017),g=m(1281),k=m(7579),o=m(727);let C=0;const h=new t.OlP("CdkAccordion");let P=(()=>{class ye{constructor(){this._stateChanges=new k.x,this._openCloseAllActions=new k.x,this.id="cdk-accordion-"+C++,this._multi=!1}get multi(){return this._multi}set multi(he){this._multi=(0,g.Ig)(he)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(he){this._stateChanges.next(he)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return ye.\u0275fac=function(he){return new(he||ye)},ye.\u0275dir=t.lG2({type:ye,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[t._Bn([{provide:h,useExisting:ye}]),t.TTD]}),ye})(),u=0,I=(()=>{class ye{constructor(he,it,De){this.accordion=he,this._changeDetectorRef=it,this._expansionDispatcher=De,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-"+u++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=De.listen((oe,me)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===me&&this.id!==oe&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(he){he=(0,g.Ig)(he),this._expanded!==he&&(this._expanded=he,this.expandedChange.emit(he),he?(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(he){this._disabled=(0,g.Ig)(he)}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(he=>{this.disabled||(this.expanded=he)})}}return ye.\u0275fac=function(he){return new(he||ye)(t.Y36(h,12),t.Y36(t.sBO),t.Y36(e.A8))},ye.\u0275dir=t.lG2({type:ye,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:h,useValue:void 0}])]}),ye})(),S=(()=>{class ye{}return ye.\u0275fac=function(he){return new(he||ye)},ye.\u0275mod=t.oAB({type:ye}),ye.\u0275inj=t.cJS({}),ye})();var A=m(4080),w=m(6895),R=m(3238),E=m(4761),U=m(1884),Y=m(8675),Q=m(9300),X=m(5698),$=m(9521),fe=m(515),re=m(6451),ee=m(7340);const ce=["body"];function se(ye,we){}const le=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],L=["mat-expansion-panel-header","*","mat-action-row"];function i(ye,we){if(1&ye&&t._UZ(0,"span",2),2&ye){const he=t.oxw();t.Q6J("@indicatorRotate",he._getExpandedState())}}const r=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],d=["mat-panel-title","mat-panel-description","*"],c=new t.OlP("MAT_ACCORDION"),b="225ms cubic-bezier(0.4,0.0,0.2,1)",T={indicatorRotate:(0,ee.X$)("indicatorRotate",[(0,ee.SB)("collapsed, void",(0,ee.oB)({transform:"rotate(0deg)"})),(0,ee.SB)("expanded",(0,ee.oB)({transform:"rotate(180deg)"})),(0,ee.eR)("expanded <=> collapsed, void => collapsed",(0,ee.jt)(b))]),bodyExpansion:(0,ee.X$)("bodyExpansion",[(0,ee.SB)("collapsed, void",(0,ee.oB)({height:"0px",visibility:"hidden"})),(0,ee.SB)("expanded",(0,ee.oB)({height:"*",visibility:"visible"})),(0,ee.eR)("expanded <=> collapsed, void => collapsed",(0,ee.jt)(b))])},N=new t.OlP("MAT_EXPANSION_PANEL");let v=(()=>{class ye{constructor(he,it){this._template=he,this._expansionPanel=it}}return ye.\u0275fac=function(he){return new(he||ye)(t.Y36(t.Rgc),t.Y36(N,8))},ye.\u0275dir=t.lG2({type:ye,selectors:[["ng-template","matExpansionPanelContent",""]]}),ye})(),n=0;const y=new t.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let B=(()=>{class ye extends I{constructor(he,it,De,oe,me,te,Ze){super(he,it,De),this._viewContainerRef=oe,this._animationMode=te,this._hideToggle=!1,this.afterExpand=new t.vpe,this.afterCollapse=new t.vpe,this._inputChanges=new k.x,this._headerId="mat-expansion-panel-header-"+n++,this._bodyAnimationDone=new k.x,this.accordion=he,this._document=me,this._bodyAnimationDone.pipe((0,U.x)((Ue,q)=>Ue.fromState===q.fromState&&Ue.toState===q.toState)).subscribe(Ue=>{"void"!==Ue.fromState&&("expanded"===Ue.toState?this.afterExpand.emit():"collapsed"===Ue.toState&&this.afterCollapse.emit())}),Ze&&(this.hideToggle=Ze.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(he){this._hideToggle=(0,g.Ig)(he)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(he){this._togglePosition=he}_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,Y.O)(null),(0,Q.h)(()=>this.expanded&&!this._portal),(0,X.q)(1)).subscribe(()=>{this._portal=new A.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(he){this._inputChanges.next(he)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const he=this._document.activeElement,it=this._body.nativeElement;return he===it||it.contains(he)}return!1}}return ye.\u0275fac=function(he){return new(he||ye)(t.Y36(c,12),t.Y36(t.sBO),t.Y36(e.A8),t.Y36(t.s_b),t.Y36(w.K0),t.Y36(t.QbO,8),t.Y36(y,8))},ye.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-expansion-panel"]],contentQueries:function(he,it,De){if(1&he&&t.Suo(De,v,5),2&he){let oe;t.iGM(oe=t.CRH())&&(it._lazyContent=oe.first)}},viewQuery:function(he,it){if(1&he&&t.Gf(ce,5),2&he){let De;t.iGM(De=t.CRH())&&(it._body=De.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(he,it){2&he&&t.ekj("mat-expanded",it.expanded)("_mat-animation-noopable","NoopAnimations"===it._animationMode)("mat-expansion-panel-spacing",it._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:c,useValue:void 0},{provide:N,useExisting:ye}]),t.qOj,t.TTD],ngContentSelectors:L,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(he,it){1&he&&(t.F$t(le),t.Hsn(0),t.TgZ(1,"div",0,1),t.NdJ("@bodyExpansion.done",function(oe){return it._bodyAnimationDone.next(oe)}),t.TgZ(3,"div",2),t.Hsn(4,1),t.YNc(5,se,0,0,"ng-template",3),t.qZA(),t.Hsn(6,2),t.qZA()),2&he&&(t.xp6(1),t.Q6J("@bodyExpansion",it._getExpandedState())("id",it.id),t.uIk("aria-labelledby",it._headerId),t.xp6(4),t.Q6J("cdkPortalOutlet",it._portal))},dependencies:[A.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:[T.bodyExpansion]},changeDetection:0}),ye})();class W{}const Le=(0,R.sb)(W);let Ve=(()=>{class ye extends Le{constructor(he,it,De,oe,me,te,Ze){super(),this.panel=he,this._element=it,this._focusMonitor=De,this._changeDetectorRef=oe,this._animationMode=te,this._parentChangeSubscription=o.w0.EMPTY;const Ue=he.accordion?he.accordion._stateChanges.pipe((0,Q.h)(q=>!(!q.hideToggle&&!q.togglePosition))):fe.E;this.tabIndex=parseInt(Ze||"")||0,this._parentChangeSubscription=(0,re.T)(he.opened,he.closed,Ue,he._inputChanges.pipe((0,Q.h)(q=>!!(q.hideToggle||q.disabled||q.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),he.closed.pipe((0,Q.h)(()=>he._containsFocus())).subscribe(()=>De.focusVia(it,"program")),me&&(this.expandedHeight=me.expandedHeight,this.collapsedHeight=me.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 he=this._isExpanded();return he&&this.expandedHeight?this.expandedHeight:!he&&this.collapsedHeight?this.collapsedHeight:null}_keydown(he){switch(he.keyCode){case $.L_:case $.K5:(0,$.Vb)(he)||(he.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(he))}}focus(he,it){he?this._focusMonitor.focusVia(this._element,he,it):this._element.nativeElement.focus(it)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(he=>{he&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return ye.\u0275fac=function(he){return new(he||ye)(t.Y36(B,1),t.Y36(t.SBq),t.Y36(E.tE),t.Y36(t.sBO),t.Y36(y,8),t.Y36(t.QbO,8),t.$8M("tabindex"))},ye.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(he,it){1&he&&t.NdJ("click",function(){return it._toggle()})("keydown",function(oe){return it._keydown(oe)}),2&he&&(t.uIk("id",it.panel._headerId)("tabindex",it.tabIndex)("aria-controls",it._getPanelId())("aria-expanded",it._isExpanded())("aria-disabled",it.panel.disabled),t.Udp("height",it._getHeaderHeight()),t.ekj("mat-expanded",it._isExpanded())("mat-expansion-toggle-indicator-after","after"===it._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===it._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===it._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[t.qOj],ngContentSelectors:d,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(he,it){1&he&&(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&he&&(t.ekj("mat-content-hide-toggle",!it._showToggle()),t.xp6(4),t.Q6J("ngIf",it._showToggle()))},dependencies:[w.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:[T.indicatorRotate]},changeDetection:0}),ye})(),Ke=(()=>{class ye{}return ye.\u0275fac=function(he){return new(he||ye)},ye.\u0275dir=t.lG2({type:ye,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),ye})(),$e=(()=>{class ye{}return ye.\u0275fac=function(he){return new(he||ye)},ye.\u0275dir=t.lG2({type:ye,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),ye})(),Ae=(()=>{class ye 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(he){this._hideToggle=(0,g.Ig)(he)}ngAfterContentInit(){this._headers.changes.pipe((0,Y.O)(this._headers)).subscribe(he=>{this._ownHeaders.reset(he.filter(it=>it.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new E.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(he){this._keyManager.onKeydown(he)}_handleHeaderFocus(he){this._keyManager.updateActiveItem(he)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}return ye.\u0275fac=function(){let we;return function(it){return(we||(we=t.n5z(ye)))(it||ye)}}(),ye.\u0275dir=t.lG2({type:ye,selectors:[["mat-accordion"]],contentQueries:function(he,it,De){if(1&he&&t.Suo(De,Ve,5),2&he){let oe;t.iGM(oe=t.CRH())&&(it._headers=oe)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(he,it){2&he&&t.ekj("mat-accordion-multi",it.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[t._Bn([{provide:c,useExisting:ye}]),t.qOj]}),ye})(),ue=(()=>{class ye{}return ye.\u0275fac=function(he){return new(he||ye)},ye.\u0275mod=t.oAB({type:ye}),ye.\u0275inj=t.cJS({imports:[w.ez,R.BQ,S,A.eL]}),ye})()},9549:(ze,K,m)=>{"use strict";m.d(K,{Eo:()=>me,G_:()=>q,KE:()=>rt,R9:()=>Ae,TO:()=>z,bx:()=>Le,hX:()=>n,lN:()=>Xt});var t=m(4650),e=m(445),g=m(3353),k=m(7579),o=m(6451),C=m(2722),h=m(6895),P=m(1281),u=m(7340),I=m(9643),S=m(3238);const A=["matFormFieldNotchedOutline",""],w=["*"],R=["textField"],E=["iconPrefixContainer"],U=["textPrefixContainer"];function Y(gt,mt){1>&&t._UZ(0,"span",19)}function Q(gt,mt){if(1>){const St=t.EpF();t.TgZ(0,"label",17),t.NdJ("cdkObserveContent",function(){t.CHM(St);const He=t.oxw(2);return t.KtG(He._refreshOutlineNotchWidth())}),t.Hsn(1,1),t.YNc(2,Y,1,0,"span",18),t.qZA()}if(2>){const St=t.oxw(2);t.Q6J("floating",St._shouldLabelFloat())("cdkObserveContentDisabled",!St._hasOutline())("id",St._labelId),t.uIk("for",St._control.id)("aria-owns",St._control.id),t.xp6(2),t.Q6J("ngIf",!St.hideRequiredMarker&&St._control.required)}}function X(gt,mt){if(1>&&t.YNc(0,Q,3,6,"label",16),2>){const St=t.oxw();t.Q6J("ngIf",St._hasFloatingLabel())}}function $(gt,mt){1>&&t._UZ(0,"div",20)}function fe(gt,mt){}function re(gt,mt){if(1>&&t.YNc(0,fe,0,0,"ng-template",22),2>){t.oxw(2);const St=t.MAs(1);t.Q6J("ngTemplateOutlet",St)}}function ee(gt,mt){if(1>&&(t.TgZ(0,"div",21),t.YNc(1,re,1,1,"ng-template",9),t.qZA()),2>){const St=t.oxw();t.Q6J("matFormFieldNotchedOutlineOpen",St._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",St._labelWidth),t.xp6(1),t.Q6J("ngIf",!St._forceDisplayInfixLabel())}}function ce(gt,mt){1>&&(t.TgZ(0,"div",23,24),t.Hsn(2,2),t.qZA())}function se(gt,mt){1>&&(t.TgZ(0,"div",25,26),t.Hsn(2,3),t.qZA())}function le(gt,mt){}function L(gt,mt){if(1>&&t.YNc(0,le,0,0,"ng-template",22),2>){t.oxw();const St=t.MAs(1);t.Q6J("ngTemplateOutlet",St)}}function i(gt,mt){1>&&(t.TgZ(0,"div",27),t.Hsn(1,4),t.qZA())}function r(gt,mt){1>&&(t.TgZ(0,"div",28),t.Hsn(1,5),t.qZA())}function d(gt,mt){1>&&t._UZ(0,"div",29)}function c(gt,mt){if(1>&&(t.TgZ(0,"div",30),t.Hsn(1,6),t.qZA()),2>){const St=t.oxw();t.Q6J("@transitionMessages",St._subscriptAnimationState)}}function b(gt,mt){if(1>&&(t.TgZ(0,"mat-hint",34),t._uU(1),t.qZA()),2>){const St=t.oxw(2);t.Q6J("id",St._hintLabelId),t.xp6(1),t.Oqu(St.hintLabel)}}function T(gt,mt){if(1>&&(t.TgZ(0,"div",31),t.YNc(1,b,2,2,"mat-hint",32),t.Hsn(2,7),t._UZ(3,"div",33),t.Hsn(4,8),t.qZA()),2>){const St=t.oxw();t.Q6J("@transitionMessages",St._subscriptAnimationState),t.xp6(1),t.Q6J("ngIf",St.hintLabel)}}const N=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],v=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let n=(()=>{class gt{}return gt.\u0275fac=function(St){return new(St||gt)},gt.\u0275dir=t.lG2({type:gt,selectors:[["mat-label"]]}),gt})(),y=0;const B=new t.OlP("MatError");let z=(()=>{class gt{constructor(St,Ie){this.id="mat-mdc-error-"+y++,St||Ie.nativeElement.setAttribute("aria-live","polite")}}return gt.\u0275fac=function(St){return new(St||gt)(t.$8M("aria-live"),t.Y36(t.SBq))},gt.\u0275dir=t.lG2({type:gt,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(St,Ie){2&St&&t.Ikx("id",Ie.id)},inputs:{id:"id"},features:[t._Bn([{provide:B,useExisting:gt}])]}),gt})(),W=0,Le=(()=>{class gt{constructor(){this.align="start",this.id="mat-mdc-hint-"+W++}}return gt.\u0275fac=function(St){return new(St||gt)},gt.\u0275dir=t.lG2({type:gt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(St,Ie){2&St&&(t.Ikx("id",Ie.id),t.uIk("align",null),t.ekj("mat-mdc-form-field-hint-end","end"===Ie.align))},inputs:{align:"align",id:"id"}}),gt})();const Ve=new t.OlP("MatPrefix"),$e=new t.OlP("MatSuffix");let Ae=(()=>{class gt{constructor(){this._isText=!1}set _isTextSelector(St){this._isText=!0}}return gt.\u0275fac=function(St){return new(St||gt)},gt.\u0275dir=t.lG2({type:gt,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[t._Bn([{provide:$e,useExisting:gt}])]}),gt})(),ue=(()=>{class gt{constructor(St){this._elementRef=St,this.floating=!1}getWidth(){return function ye(gt){if(null!==gt.offsetParent)return gt.scrollWidth;const St=gt.cloneNode(!0);St.style.setProperty("position","absolute"),St.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(St);const Ie=St.scrollWidth;return St.remove(),Ie}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return gt.\u0275fac=function(St){return new(St||gt)(t.Y36(t.SBq))},gt.\u0275dir=t.lG2({type:gt,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(St,Ie){2&St&&t.ekj("mdc-floating-label--float-above",Ie.floating)},inputs:{floating:"floating"}}),gt})();const we="mdc-line-ripple--active",he="mdc-line-ripple--deactivating";let it=(()=>{class gt{constructor(St,Ie){this._elementRef=St,this._handleTransitionEnd=He=>{const xt=this._elementRef.nativeElement.classList,Pe=xt.contains(he);"opacity"===He.propertyName&&Pe&&xt.remove(we,he)},Ie.runOutsideAngular(()=>{St.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const St=this._elementRef.nativeElement.classList;St.remove(he),St.add(we)}deactivate(){this._elementRef.nativeElement.classList.add(he)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return gt.\u0275fac=function(St){return new(St||gt)(t.Y36(t.SBq),t.Y36(t.R0b))},gt.\u0275dir=t.lG2({type:gt,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),gt})(),De=(()=>{class gt{constructor(St,Ie){this._elementRef=St,this._ngZone=Ie,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const St=this._elementRef.nativeElement.querySelector(".mdc-floating-label");St?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(St.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>St.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 gt.\u0275fac=function(St){return new(St||gt)(t.Y36(t.SBq),t.Y36(t.R0b))},gt.\u0275cmp=t.Xpm({type:gt,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(St,Ie){2&St&&t.ekj("mdc-notched-outline--notched",Ie.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:A,ngContentSelectors:w,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(St,Ie){1&St&&(t.F$t(),t._UZ(0,"div",0),t.TgZ(1,"div",1),t.Hsn(2),t.qZA(),t._UZ(3,"div",2)),2&St&&(t.xp6(1),t.Udp("width",Ie._getNotchWidth()))},encapsulation:2,changeDetection:0}),gt})();const oe={transitionMessages:(0,u.X$)("transitionMessages",[(0,u.SB)("enter",(0,u.oB)({opacity:1,transform:"translateY(0%)"})),(0,u.eR)("void => enter",[(0,u.oB)({opacity:0,transform:"translateY(-5px)"}),(0,u.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let me=(()=>{class gt{}return gt.\u0275fac=function(St){return new(St||gt)},gt.\u0275dir=t.lG2({type:gt}),gt})();const q=new t.OlP("MatFormField"),de=new t.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ee=0,rt=(()=>{class gt{constructor(St,Ie,He,xt,Pe,et,Vt,Lt){this._elementRef=St,this._changeDetectorRef=Ie,this._ngZone=He,this._dir=xt,this._platform=Pe,this._defaults=et,this._animationMode=Vt,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-"+Ee++,this._hintLabelId="mat-mdc-hint-"+Ee++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new k.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,et&&(et.appearance&&(this.appearance=et.appearance),this._hideRequiredMarker=Boolean(et?.hideRequiredMarker),et.color&&(this.color=et.color))}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(St){this._hideRequiredMarker=(0,P.Ig)(St)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(St){St!==this._floatLabel&&(this._floatLabel=St,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(St){const Ie=this._appearance;this._appearance=St||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Ie&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(St){this._subscriptSizing=St||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(St){this._hintLabel=St,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(St){this._explicitFormFieldControl=St}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 St=this._control;St.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${St.controlType}`),St.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),St.ngControl&&St.ngControl.valueChanges&&St.ngControl.valueChanges.pipe((0,C.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(St=>!St._isText),this._hasTextPrefix=!!this._prefixChildren.find(St=>St._isText),this._hasIconSuffix=!!this._suffixChildren.find(St=>!St._isText),this._hasTextSuffix=!!this._suffixChildren.find(St=>St._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(St){const Ie=this._control?this._control.ngControl:null;return Ie&&Ie[St]}_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 St=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&St.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Ie=this._hintChildren?this._hintChildren.find(xt=>"start"===xt.align):null,He=this._hintChildren?this._hintChildren.find(xt=>"end"===xt.align):null;Ie?St.push(Ie.id):this._hintLabel&&St.push(this._hintLabelId),He&&St.push(He.id)}else this._errorChildren&&St.push(...this._errorChildren.map(Ie=>Ie.id));this._control.setDescribedByIds(St)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const St=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(St.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Ie=this._iconPrefixContainer?.nativeElement,He=this._textPrefixContainer?.nativeElement,xt=Ie?.getBoundingClientRect().width??0,Pe=He?.getBoundingClientRect().width??0;St.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${xt+Pe}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const St=this._elementRef.nativeElement;if(St.getRootNode){const Ie=St.getRootNode();return Ie&&Ie!==St}return document.documentElement.contains(St)}}return gt.\u0275fac=function(St){return new(St||gt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.Y36(e.Is),t.Y36(g.t4),t.Y36(de,8),t.Y36(t.QbO,8),t.Y36(h.K0))},gt.\u0275cmp=t.Xpm({type:gt,selectors:[["mat-form-field"]],contentQueries:function(St,Ie,He){if(1&St&&(t.Suo(He,n,5),t.Suo(He,n,7),t.Suo(He,me,5),t.Suo(He,Ve,5),t.Suo(He,$e,5),t.Suo(He,B,5),t.Suo(He,Le,5)),2&St){let xt;t.iGM(xt=t.CRH())&&(Ie._labelChildNonStatic=xt.first),t.iGM(xt=t.CRH())&&(Ie._labelChildStatic=xt.first),t.iGM(xt=t.CRH())&&(Ie._formFieldControl=xt.first),t.iGM(xt=t.CRH())&&(Ie._prefixChildren=xt),t.iGM(xt=t.CRH())&&(Ie._suffixChildren=xt),t.iGM(xt=t.CRH())&&(Ie._errorChildren=xt),t.iGM(xt=t.CRH())&&(Ie._hintChildren=xt)}},viewQuery:function(St,Ie){if(1&St&&(t.Gf(R,5),t.Gf(E,5),t.Gf(U,5),t.Gf(ue,5),t.Gf(De,5),t.Gf(it,5)),2&St){let He;t.iGM(He=t.CRH())&&(Ie._textField=He.first),t.iGM(He=t.CRH())&&(Ie._iconPrefixContainer=He.first),t.iGM(He=t.CRH())&&(Ie._textPrefixContainer=He.first),t.iGM(He=t.CRH())&&(Ie._floatingLabel=He.first),t.iGM(He=t.CRH())&&(Ie._notchedOutline=He.first),t.iGM(He=t.CRH())&&(Ie._lineRipple=He.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(St,Ie){2&St&&t.ekj("mat-mdc-form-field-label-always-float",Ie._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Ie._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Ie._hasIconSuffix)("mat-form-field-invalid",Ie._control.errorState)("mat-form-field-disabled",Ie._control.disabled)("mat-form-field-autofilled",Ie._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Ie._animationMode)("mat-form-field-appearance-fill","fill"==Ie.appearance)("mat-form-field-appearance-outline","outline"==Ie.appearance)("mat-form-field-hide-placeholder",Ie._hasFloatingLabel()&&!Ie._shouldLabelFloat())("mat-focused",Ie._control.focused)("mat-primary","accent"!==Ie.color&&"warn"!==Ie.color)("mat-accent","accent"===Ie.color)("mat-warn","warn"===Ie.color)("ng-untouched",Ie._shouldForward("untouched"))("ng-touched",Ie._shouldForward("touched"))("ng-pristine",Ie._shouldForward("pristine"))("ng-dirty",Ie._shouldForward("dirty"))("ng-valid",Ie._shouldForward("valid"))("ng-invalid",Ie._shouldForward("invalid"))("ng-pending",Ie._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[t._Bn([{provide:q,useExisting:gt}])],ngContentSelectors:v,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(St,Ie){1&St&&(t.F$t(N),t.YNc(0,X,1,1,"ng-template",null,0,t.W1O),t.TgZ(2,"div",1,2),t.NdJ("click",function(xt){return Ie._control.onContainerClick&&Ie._control.onContainerClick(xt)}),t.YNc(4,$,1,0,"div",3),t.TgZ(5,"div",4),t.YNc(6,ee,2,3,"div",5),t.YNc(7,ce,3,0,"div",6),t.YNc(8,se,3,0,"div",7),t.TgZ(9,"div",8),t.YNc(10,L,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,d,1,0,"div",12),t.qZA(),t.TgZ(15,"div",13),t.YNc(16,c,2,1,"div",14),t.YNc(17,T,5,2,"div",15),t.qZA()),2&St&&(t.xp6(2),t.ekj("mdc-text-field--filled",!Ie._hasOutline())("mdc-text-field--outlined",Ie._hasOutline())("mdc-text-field--no-label",!Ie._hasFloatingLabel())("mdc-text-field--disabled",Ie._control.disabled)("mdc-text-field--invalid",Ie._control.errorState),t.xp6(2),t.Q6J("ngIf",!Ie._hasOutline()&&!Ie._control.disabled),t.xp6(2),t.Q6J("ngIf",Ie._hasOutline()),t.xp6(1),t.Q6J("ngIf",Ie._hasIconPrefix),t.xp6(1),t.Q6J("ngIf",Ie._hasTextPrefix),t.xp6(2),t.Q6J("ngIf",!Ie._hasOutline()||Ie._forceDisplayInfixLabel()),t.xp6(2),t.Q6J("ngIf",Ie._hasTextSuffix),t.xp6(1),t.Q6J("ngIf",Ie._hasIconSuffix),t.xp6(1),t.Q6J("ngIf",!Ie._hasOutline()),t.xp6(1),t.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Ie.subscriptSizing),t.Q6J("ngSwitch",Ie._getDisplayedMessages()),t.xp6(1),t.Q6J("ngSwitchCase","error"),t.xp6(1),t.Q6J("ngSwitchCase","hint"))},dependencies:[h.O5,h.tP,h.RF,h.n9,I.wD,Le,ue,De,it],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}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}),gt})(),Xt=(()=>{class gt{}return gt.\u0275fac=function(St){return new(St||gt)},gt.\u0275mod=t.oAB({type:gt}),gt.\u0275inj=t.cJS({imports:[S.BQ,h.ez,I.Q8,S.BQ]}),gt})()},782:(ze,K,m)=>{"use strict";m.d(K,{DX:()=>A,Il:()=>se,N6:()=>le});var t=m(4650),e=m(3238),g=m(1281),k=m(445);const o=["*"];class u{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,d){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(r),this.tracker.fill(0,0,this.tracker.length),this.positions=d.map(c=>this._trackTile(c))}_trackTile(r){const d=this._findMatchingGap(r.colspan);return this._markTilePosition(d,r),this.columnIndex=d+r.colspan,new I(this.rowIndex,d)}_findMatchingGap(r){let d=-1,c=-1;do{this.columnIndex+r>this.tracker.length?(this._nextRow(),d=this.tracker.indexOf(0,this.columnIndex),c=this._findGapEndIndex(d)):(d=this.tracker.indexOf(0,this.columnIndex),-1!=d?(c=this._findGapEndIndex(d),this.columnIndex=d+1):(this._nextRow(),d=this.tracker.indexOf(0,this.columnIndex),c=this._findGapEndIndex(d)))}while(c-d<r||0==c);return Math.max(d,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 d=r+1;d<this.tracker.length;d++)if(0!=this.tracker[d])return d;return this.tracker.length}_markTilePosition(r,d){for(let c=0;c<d.colspan;c++)this.tracker[r+c]=d.rowspan}}class I{constructor(r,d){this.row=r,this.col=d}}const S=new t.OlP("MAT_GRID_LIST");let A=(()=>{class i{constructor(d,c){this._element=d,this._gridList=c,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(d){this._rowspan=Math.round((0,g.su)(d))}get colspan(){return this._colspan}set colspan(d){this._colspan=Math.round((0,g.su)(d))}_setStyle(d,c){this._element.nativeElement.style[d]=c}}return i.\u0275fac=function(d){return new(d||i)(t.Y36(t.SBq),t.Y36(S,8))},i.\u0275cmp=t.Xpm({type:i,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(d,c){2&d&&t.uIk("rowspan",c.rowspan)("colspan",c.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:o,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(d,c){1&d&&(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 Y=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class Q{constructor(){this._rows=0,this._rowspan=0}init(r,d,c,b){this._gutterSize=ee(r),this._rows=d.rowCount,this._rowspan=d.rowspan,this._cols=c,this._direction=b}getBaseTileSize(r,d){return`(${r}% - (${this._gutterSize} * ${d}))`}getTilePosition(r,d){return 0===d?"0":re(`(${r} + ${this._gutterSize}) * ${d}`)}getTileSize(r,d){return`(${r} * ${d}) + (${d-1} * ${this._gutterSize})`}setStyle(r,d,c){let b=100/this._cols,T=(this._cols-1)/this._cols;this.setColStyles(r,c,b,T),this.setRowStyles(r,d,b,T)}setColStyles(r,d,c,b){let T=this.getBaseTileSize(c,b);r._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(T,d)),r._setStyle("width",re(this.getTileSize(T,r.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(r){return`${this._rowspan} * ${this.getTileSize(r,1)}`}getComputedHeight(){return null}}class X extends Q{constructor(r){super(),this.fixedRowHeight=r}init(r,d,c,b){super.init(r,d,c,b),this.fixedRowHeight=ee(this.fixedRowHeight),Y.test(this.fixedRowHeight)}setRowStyles(r,d){r._setStyle("top",this.getTilePosition(this.fixedRowHeight,d)),r._setStyle("height",re(this.getTileSize(this.fixedRowHeight,r.rowspan)))}getComputedHeight(){return["height",re(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(r){r._setListStyle(["height",null]),r._tiles&&r._tiles.forEach(d=>{d._setStyle("top",null),d._setStyle("height",null)})}}class $ extends Q{constructor(r){super(),this._parseRatio(r)}setRowStyles(r,d,c,b){this.baseTileHeight=this.getBaseTileSize(c/this.rowHeightRatio,b),r._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,d)),r._setStyle("paddingTop",re(this.getTileSize(this.baseTileHeight,r.rowspan)))}getComputedHeight(){return["paddingBottom",re(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(r){r._setListStyle(["paddingBottom",null]),r._tiles.forEach(d=>{d._setStyle("marginTop",null),d._setStyle("paddingTop",null)})}_parseRatio(r){const d=r.split(":");this.rowHeightRatio=parseFloat(d[0])/parseFloat(d[1])}}class fe extends Q{setRowStyles(r,d){let T=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);r._setStyle("top",this.getTilePosition(T,d)),r._setStyle("height",re(this.getTileSize(T,r.rowspan)))}reset(r){r._tiles&&r._tiles.forEach(d=>{d._setStyle("top",null),d._setStyle("height",null)})}}function re(i){return`calc(${i})`}function ee(i){return i.match(/([A-Za-z%]+)$/)?i:`${i}px`}let se=(()=>{class i{constructor(d,c){this._element=d,this._dir=c,this._gutter="1px"}get cols(){return this._cols}set cols(d){this._cols=Math.max(1,Math.round((0,g.su)(d)))}get gutterSize(){return this._gutter}set gutterSize(d){this._gutter=`${d??""}`}get rowHeight(){return this._rowHeight}set rowHeight(d){const c=`${d??""}`;c!==this._rowHeight&&(this._rowHeight=c,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(d){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===d?new fe:d&&d.indexOf(":")>-1?new $(d):new X(d)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new u);const d=this._tileCoordinator,c=this._tiles.filter(T=>!T._gridList||T._gridList===this),b=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,c),this._tileStyler.init(this.gutterSize,d,this.cols,b),c.forEach((T,N)=>{const v=d.positions[N];this._tileStyler.setStyle(T,v.row,v.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(d){d&&(this._element.nativeElement.style[d[0]]=d[1])}}return i.\u0275fac=function(d){return new(d||i)(t.Y36(t.SBq),t.Y36(k.Is,8))},i.\u0275cmp=t.Xpm({type:i,selectors:[["mat-grid-list"]],contentQueries:function(d,c,b){if(1&d&&t.Suo(b,A,5),2&d){let T;t.iGM(T=t.CRH())&&(c._tiles=T)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(d,c){2&d&&t.uIk("cols",c.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[t._Bn([{provide:S,useExisting:i}])],ngContentSelectors:o,decls:2,vars:0,template:function(d,c){1&d&&(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})(),le=(()=>{class i{}return i.\u0275fac=function(d){return new(d||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[e.uc,e.BQ,e.uc,e.BQ]}),i})()},7392:(ze,K,m)=>{"use strict";m.d(K,{Hw:()=>z,Ps:()=>W});var t=m(4650),e=m(3238),g=m(1281),k=m(6895),o=m(9646),C=m(2843),h=m(4128),P=m(727),u=m(8505),I=m(4004),S=m(262),A=m(8746),w=m(3099),R=m(5698),E=m(529),U=m(1481);const Y=["*"];let Q;function $(Le){return function X(){if(void 0===Q&&(Q=null,typeof window<"u")){const Le=window;void 0!==Le.trustedTypes&&(Q=Le.trustedTypes.createPolicy("angular#components",{createHTML:Ve=>Ve}))}return Q}()?.createHTML(Le)||Le}function fe(Le){return Error(`Unable to find icon with the name "${Le}"`)}function ee(Le){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Le}".`)}function ce(Le){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Le}".`)}class se{constructor(Ve,Ke,$e){this.url=Ve,this.svgText=Ke,this.options=$e}}let le=(()=>{class Le{constructor(Ke,$e,Ae,ue){this._httpClient=Ke,this._sanitizer=$e,this._errorHandler=ue,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=Ae}addSvgIcon(Ke,$e,Ae){return this.addSvgIconInNamespace("",Ke,$e,Ae)}addSvgIconLiteral(Ke,$e,Ae){return this.addSvgIconLiteralInNamespace("",Ke,$e,Ae)}addSvgIconInNamespace(Ke,$e,Ae,ue){return this._addSvgIconConfig(Ke,$e,new se(Ae,null,ue))}addSvgIconResolver(Ke){return this._resolvers.push(Ke),this}addSvgIconLiteralInNamespace(Ke,$e,Ae,ue){const ye=this._sanitizer.sanitize(t.q3G.HTML,Ae);if(!ye)throw ce(Ae);const we=$(ye);return this._addSvgIconConfig(Ke,$e,new se("",we,ue))}addSvgIconSet(Ke,$e){return this.addSvgIconSetInNamespace("",Ke,$e)}addSvgIconSetLiteral(Ke,$e){return this.addSvgIconSetLiteralInNamespace("",Ke,$e)}addSvgIconSetInNamespace(Ke,$e,Ae){return this._addSvgIconSetConfig(Ke,new se($e,null,Ae))}addSvgIconSetLiteralInNamespace(Ke,$e,Ae){const ue=this._sanitizer.sanitize(t.q3G.HTML,$e);if(!ue)throw ce($e);const ye=$(ue);return this._addSvgIconSetConfig(Ke,new se("",ye,Ae))}registerFontClassAlias(Ke,$e=Ke){return this._fontCssClassesByAlias.set(Ke,$e),this}classNameForFontAlias(Ke){return this._fontCssClassesByAlias.get(Ke)||Ke}setDefaultFontSetClass(...Ke){return this._defaultFontSetClass=Ke,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ke){const $e=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,Ke);if(!$e)throw ee(Ke);const Ae=this._cachedIconsByUrl.get($e);return Ae?(0,o.of)(r(Ae)):this._loadSvgIconFromConfig(new se(Ke,null)).pipe((0,u.b)(ue=>this._cachedIconsByUrl.set($e,ue)),(0,I.U)(ue=>r(ue)))}getNamedSvgIcon(Ke,$e=""){const Ae=d($e,Ke);let ue=this._svgIconConfigs.get(Ae);if(ue)return this._getSvgFromConfig(ue);if(ue=this._getIconConfigFromResolvers($e,Ke),ue)return this._svgIconConfigs.set(Ae,ue),this._getSvgFromConfig(ue);const ye=this._iconSetConfigs.get($e);return ye?this._getSvgFromIconSetConfigs(Ke,ye):(0,C._)(fe(Ae))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ke){return Ke.svgText?(0,o.of)(r(this._svgElementFromConfig(Ke))):this._loadSvgIconFromConfig(Ke).pipe((0,I.U)($e=>r($e)))}_getSvgFromIconSetConfigs(Ke,$e){const Ae=this._extractIconWithNameFromAnySet(Ke,$e);if(Ae)return(0,o.of)(Ae);const ue=$e.filter(ye=>!ye.svgText).map(ye=>this._loadSvgIconSetFromConfig(ye).pipe((0,S.K)(we=>{const it=`Loading icon set URL: ${this._sanitizer.sanitize(t.q3G.RESOURCE_URL,ye.url)} failed: ${we.message}`;return this._errorHandler.handleError(new Error(it)),(0,o.of)(null)})));return(0,h.D)(ue).pipe((0,I.U)(()=>{const ye=this._extractIconWithNameFromAnySet(Ke,$e);if(!ye)throw fe(Ke);return ye}))}_extractIconWithNameFromAnySet(Ke,$e){for(let Ae=$e.length-1;Ae>=0;Ae--){const ue=$e[Ae];if(ue.svgText&&ue.svgText.toString().indexOf(Ke)>-1){const ye=this._svgElementFromConfig(ue),we=this._extractSvgIconFromSet(ye,Ke,ue.options);if(we)return we}}return null}_loadSvgIconFromConfig(Ke){return this._fetchIcon(Ke).pipe((0,u.b)($e=>Ke.svgText=$e),(0,I.U)(()=>this._svgElementFromConfig(Ke)))}_loadSvgIconSetFromConfig(Ke){return Ke.svgText?(0,o.of)(null):this._fetchIcon(Ke).pipe((0,u.b)($e=>Ke.svgText=$e))}_extractSvgIconFromSet(Ke,$e,Ae){const ue=Ke.querySelector(`[id="${$e}"]`);if(!ue)return null;const ye=ue.cloneNode(!0);if(ye.removeAttribute("id"),"svg"===ye.nodeName.toLowerCase())return this._setSvgAttributes(ye,Ae);if("symbol"===ye.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(ye),Ae);const we=this._svgElementFromString($("<svg></svg>"));return we.appendChild(ye),this._setSvgAttributes(we,Ae)}_svgElementFromString(Ke){const $e=this._document.createElement("DIV");$e.innerHTML=Ke;const Ae=$e.querySelector("svg");if(!Ae)throw Error("<svg> tag not found");return Ae}_toSvgElement(Ke){const $e=this._svgElementFromString($("<svg></svg>")),Ae=Ke.attributes;for(let ue=0;ue<Ae.length;ue++){const{name:ye,value:we}=Ae[ue];"id"!==ye&&$e.setAttribute(ye,we)}for(let ue=0;ue<Ke.childNodes.length;ue++)Ke.childNodes[ue].nodeType===this._document.ELEMENT_NODE&&$e.appendChild(Ke.childNodes[ue].cloneNode(!0));return $e}_setSvgAttributes(Ke,$e){return Ke.setAttribute("fit",""),Ke.setAttribute("height","100%"),Ke.setAttribute("width","100%"),Ke.setAttribute("preserveAspectRatio","xMidYMid meet"),Ke.setAttribute("focusable","false"),$e&&$e.viewBox&&Ke.setAttribute("viewBox",$e.viewBox),Ke}_fetchIcon(Ke){const{url:$e,options:Ae}=Ke,ue=Ae?.withCredentials??!1;if(!this._httpClient)throw function re(){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==$e)throw Error(`Cannot fetch icon from URL "${$e}".`);const ye=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,$e);if(!ye)throw ee($e);const we=this._inProgressUrlFetches.get(ye);if(we)return we;const he=this._httpClient.get(ye,{responseType:"text",withCredentials:ue}).pipe((0,I.U)(it=>$(it)),(0,A.x)(()=>this._inProgressUrlFetches.delete(ye)),(0,w.B)());return this._inProgressUrlFetches.set(ye,he),he}_addSvgIconConfig(Ke,$e,Ae){return this._svgIconConfigs.set(d(Ke,$e),Ae),this}_addSvgIconSetConfig(Ke,$e){const Ae=this._iconSetConfigs.get(Ke);return Ae?Ae.push($e):this._iconSetConfigs.set(Ke,[$e]),this}_svgElementFromConfig(Ke){if(!Ke.svgElement){const $e=this._svgElementFromString(Ke.svgText);this._setSvgAttributes($e,Ke.options),Ke.svgElement=$e}return Ke.svgElement}_getIconConfigFromResolvers(Ke,$e){for(let Ae=0;Ae<this._resolvers.length;Ae++){const ue=this._resolvers[Ae]($e,Ke);if(ue)return c(ue)?new se(ue.url,null,ue.options):new se(ue,null)}}}return Le.\u0275fac=function(Ke){return new(Ke||Le)(t.LFG(E.eN,8),t.LFG(U.H7),t.LFG(k.K0,8),t.LFG(t.qLn))},Le.\u0275prov=t.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})();function r(Le){return Le.cloneNode(!0)}function d(Le,Ve){return Le+":"+Ve}function c(Le){return!(!Le.url||!Le.options)}const b=(0,e.pj)(class{constructor(Le){this._elementRef=Le}}),T=new t.OlP("MAT_ICON_DEFAULT_OPTIONS"),N=new t.OlP("mat-icon-location",{providedIn:"root",factory:function v(){const Le=(0,t.f3M)(k.K0),Ve=Le?Le.location:null;return{getPathname:()=>Ve?Ve.pathname+Ve.search:""}}}),n=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],y=n.map(Le=>`[${Le}]`).join(", "),B=/^url\(['"]?#(.*?)['"]?\)$/;let z=(()=>{class Le extends b{constructor(Ke,$e,Ae,ue,ye,we){super(Ke),this._iconRegistry=$e,this._location=ue,this._errorHandler=ye,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=P.w0.EMPTY,we&&(we.color&&(this.color=this.defaultColor=we.color),we.fontSet&&(this.fontSet=we.fontSet)),Ae||Ke.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Ke){this._inline=(0,g.Ig)(Ke)}get svgIcon(){return this._svgIcon}set svgIcon(Ke){Ke!==this._svgIcon&&(Ke?this._updateSvgIcon(Ke):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ke)}get fontSet(){return this._fontSet}set fontSet(Ke){const $e=this._cleanupFontValue(Ke);$e!==this._fontSet&&(this._fontSet=$e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ke){const $e=this._cleanupFontValue(Ke);$e!==this._fontIcon&&(this._fontIcon=$e,this._updateFontIconClasses())}_splitIconName(Ke){if(!Ke)return["",""];const $e=Ke.split(":");switch($e.length){case 1:return["",$e[0]];case 2:return $e;default:throw Error(`Invalid icon name: "${Ke}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ke=this._elementsWithExternalReferences;if(Ke&&Ke.size){const $e=this._location.getPathname();$e!==this._previousPath&&(this._previousPath=$e,this._prependPathToReferences($e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ke){this._clearSvgElement();const $e=this._location.getPathname();this._previousPath=$e,this._cacheChildrenWithExternalReferences(Ke),this._prependPathToReferences($e),this._elementRef.nativeElement.appendChild(Ke)}_clearSvgElement(){const Ke=this._elementRef.nativeElement;let $e=Ke.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();$e--;){const Ae=Ke.childNodes[$e];(1!==Ae.nodeType||"svg"===Ae.nodeName.toLowerCase())&&Ae.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ke=this._elementRef.nativeElement,$e=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ae=>Ae.length>0);this._previousFontSetClass.forEach(Ae=>Ke.classList.remove(Ae)),$e.forEach(Ae=>Ke.classList.add(Ae)),this._previousFontSetClass=$e,this.fontIcon!==this._previousFontIconClass&&!$e.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ke.classList.remove(this._previousFontIconClass),this.fontIcon&&Ke.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ke){return"string"==typeof Ke?Ke.trim().split(" ")[0]:Ke}_prependPathToReferences(Ke){const $e=this._elementsWithExternalReferences;$e&&$e.forEach((Ae,ue)=>{Ae.forEach(ye=>{ue.setAttribute(ye.name,`url('${Ke}#${ye.value}')`)})})}_cacheChildrenWithExternalReferences(Ke){const $e=Ke.querySelectorAll(y),Ae=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let ue=0;ue<$e.length;ue++)n.forEach(ye=>{const we=$e[ue],he=we.getAttribute(ye),it=he?he.match(B):null;if(it){let De=Ae.get(we);De||(De=[],Ae.set(we,De)),De.push({name:ye,value:it[1]})}})}_updateSvgIcon(Ke){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ke){const[$e,Ae]=this._splitIconName(Ke);$e&&(this._svgNamespace=$e),Ae&&(this._svgName=Ae),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ae,$e).pipe((0,R.q)(1)).subscribe(ue=>this._setSvgElement(ue),ue=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${$e}:${Ae}! ${ue.message}`))})}}}return Le.\u0275fac=function(Ke){return new(Ke||Le)(t.Y36(t.SBq),t.Y36(le),t.$8M("aria-hidden"),t.Y36(N),t.Y36(t.qLn),t.Y36(T,8))},Le.\u0275cmp=t.Xpm({type:Le,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(Ke,$e){2&Ke&&(t.uIk("data-mat-icon-type",$e._usingFontIcon()?"font":"svg")("data-mat-icon-name",$e._svgName||$e.fontIcon)("data-mat-icon-namespace",$e._svgNamespace||$e.fontSet)("fontIcon",$e._usingFontIcon()?$e.fontIcon:null),t.ekj("mat-icon-inline",$e.inline)("mat-icon-no-color","primary"!==$e.color&&"accent"!==$e.color&&"warn"!==$e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[t.qOj],ngContentSelectors:Y,decls:1,vars:0,template:function(Ke,$e){1&Ke&&(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}),Le})(),W=(()=>{class Le{}return Le.\u0275fac=function(Ke){return new(Ke||Le)},Le.\u0275mod=t.oAB({type:Le}),Le.\u0275inj=t.cJS({imports:[e.BQ,e.BQ]}),Le})()},4144:(ze,K,m)=>{"use strict";m.d(K,{Jk:()=>E,Nt:()=>X,c:()=>$});var t=m(1281),e=m(3353),g=m(4650),k=m(515),o=m(7579);const C=(0,e.i$)({passive:!0});let h=(()=>{class fe{constructor(ee,ce){this._platform=ee,this._ngZone=ce,this._monitoredElements=new Map}monitor(ee){if(!this._platform.isBrowser)return k.E;const ce=(0,t.fI)(ee),se=this._monitoredElements.get(ce);if(se)return se.subject;const le=new o.x,L="cdk-text-field-autofilled",i=r=>{"cdk-text-field-autofill-start"!==r.animationName||ce.classList.contains(L)?"cdk-text-field-autofill-end"===r.animationName&&ce.classList.contains(L)&&(ce.classList.remove(L),this._ngZone.run(()=>le.next({target:r.target,isAutofilled:!1}))):(ce.classList.add(L),this._ngZone.run(()=>le.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:le,unlisten:()=>{ce.removeEventListener("animationstart",i,C)}}),le}stopMonitoring(ee){const ce=(0,t.fI)(ee),se=this._monitoredElements.get(ce);se&&(se.unlisten(),se.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((ee,ce)=>this.stopMonitoring(ce))}}return fe.\u0275fac=function(ee){return new(ee||fe)(g.LFG(e.t4),g.LFG(g.R0b))},fe.\u0275prov=g.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),I=(()=>{class fe{}return fe.\u0275fac=function(ee){return new(ee||fe)},fe.\u0275mod=g.oAB({type:fe}),fe.\u0275inj=g.cJS({}),fe})();var S=m(4006),A=m(3238),w=m(9549);const E=new g.OlP("MAT_INPUT_VALUE_ACCESSOR"),U=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Y=0;const Q=(0,A.FD)(class{constructor(fe,re,ee,ce){this._defaultErrorStateMatcher=fe,this._parentForm=re,this._parentFormGroup=ee,this.ngControl=ce,this.stateChanges=new o.x}});let X=(()=>{class fe extends Q{constructor(ee,ce,se,le,L,i,r,d,c,b){super(i,le,L,se),this._elementRef=ee,this._platform=ce,this._autofillMonitor=d,this._formField=b,this._uid="mat-input-"+Y++,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(v=>(0,e.qK)().has(v)),this._iOSKeyupListener=v=>{const n=v.target;!n.value&&0===n.selectionStart&&0===n.selectionEnd&&(n.setSelectionRange(1,1),n.setSelectionRange(0,0))};const T=this._elementRef.nativeElement,N=T.nodeName.toLowerCase();this._inputValueAccessor=r||T,this._previousNativeValue=this.value,this.id=this.id,ce.IOS&&c.runOutsideAngular(()=>{ee.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===N,this._isTextarea="textarea"===N,this._isInFormField=!!b,this._isNativeSelect&&(this.controlType=T.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this._disabled}set disabled(ee){this._disabled=(0,t.Ig)(ee),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ee){this._id=ee||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(S.kI.required)??!1}set required(ee){this._required=(0,t.Ig)(ee)}get type(){return this._type}set type(ee){this._type=ee||"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(ee){ee!==this.value&&(this._inputValueAccessor.value=ee,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ee){this._readonly=(0,t.Ig)(ee)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ee=>{this.autofilled=ee.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(ee){this._elementRef.nativeElement.focus(ee)}_focusChanged(ee){ee!==this.focused&&(this.focused=ee,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const ee=this._elementRef.nativeElement.value;this._previousNativeValue!==ee&&(this._previousNativeValue=ee,this.stateChanges.next())}_dirtyCheckPlaceholder(){const ee=this._getPlaceholder();if(ee!==this._previousPlaceholder){const ce=this._elementRef.nativeElement;this._previousPlaceholder=ee,ee?ce.setAttribute("placeholder",ee):ce.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){U.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ee=this._elementRef.nativeElement.validity;return ee&&ee.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ee=this._elementRef.nativeElement,ce=ee.options[0];return this.focused||ee.multiple||!this.empty||!!(ee.selectedIndex>-1&&ce&&ce.label)}return this.focused||!this.empty}setDescribedByIds(ee){ee.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ee.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ee=this._elementRef.nativeElement;return this._isNativeSelect&&(ee.multiple||ee.size>1)}}return fe.\u0275fac=function(ee){return new(ee||fe)(g.Y36(g.SBq),g.Y36(e.t4),g.Y36(S.a5,10),g.Y36(S.F,8),g.Y36(S.sg,8),g.Y36(A.rD),g.Y36(E,10),g.Y36(h),g.Y36(g.R0b),g.Y36(w.G_,8))},fe.\u0275dir=g.lG2({type:fe,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(ee,ce){1&ee&&g.NdJ("focus",function(){return ce._focusChanged(!0)})("blur",function(){return ce._focusChanged(!1)})("input",function(){return ce._onInput()}),2&ee&&(g.Ikx("id",ce.id)("disabled",ce.disabled)("required",ce.required),g.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),g.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:[g._Bn([{provide:w.Eo,useExisting:fe}]),g.qOj,g.TTD]}),fe})(),$=(()=>{class fe{}return fe.\u0275fac=function(ee){return new(ee||fe)},fe.\u0275mod=g.oAB({type:fe}),fe.\u0275inj=g.cJS({imports:[A.BQ,w.lN,w.lN,I,A.BQ]}),fe})()},6338:(ze,K,m)=>{"use strict";m.d(K,{Tg:()=>ye,i$:()=>ue,ie:()=>Ue});var t=m(4650),e=m(1281),g=m(3353),k=m(3238),o=m(727),C=m(6451),P=(m(7579),m(9643)),u=m(6895),I=m(4850);m(4761),m(5017),m(9521),m(4006),m(2722);const U=["*"],Q=["unscopedContent"],X=["text"],$=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],fe=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],N=new t.OlP("ListOption");let v=(()=>{class q{constructor(Ee){this._elementRef=Ee}}return q.\u0275fac=function(Ee){return new(Ee||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(Ee){this._elementRef=Ee}}return q.\u0275fac=function(Ee){return new(Ee||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})(),y=(()=>{class q{}return q.\u0275fac=function(Ee){return new(Ee||q)},q.\u0275dir=t.lG2({type:q,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),q})(),B=(()=>{class q{constructor(Ee){this._listOption=Ee}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getCheckboxPosition()}}return q.\u0275fac=function(Ee){return new(Ee||q)(t.Y36(N,8))},q.\u0275dir=t.lG2({type:q,hostVars:4,hostBindings:function(Ee,ke){2&Ee&&t.ekj("mdc-list-item__start",ke._isAlignedAtStart())("mdc-list-item__end",!ke._isAlignedAtStart())}}),q})(),z=(()=>{class q extends B{}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})(),W=(()=>{class q extends B{}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})(),Le=(()=>{class q{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ee){this._disableRipple=(0,e.Ig)(Ee)}get disabled(){return this._disabled}set disabled(Ee){this._disabled=(0,e.Ig)(Ee)}}return q.\u0275fac=function(Ee){return new(Ee||q)},q.\u0275dir=t.lG2({type:q,hostVars:1,hostBindings:function(Ee,ke){2&Ee&&t.uIk("aria-disabled",ke.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),q})(),Ve=(()=>{class q{constructor(Ee,ke,ie,nt,Ct,rt){this._elementRef=Ee,this._ngZone=ke,this._listBase=ie,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=Ct||{},this._hostElement=this._elementRef.nativeElement,this._noopAnimations="NoopAnimations"===rt,ie&&!ie._isNonInteractive&&this._initInteractiveListItem(),"button"===this._hostElement.nodeName.toLowerCase()&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}set lines(Ee){this._explicitLines=(0,e.su)(Ee,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(Ee){this._disableRipple=(0,e.Ig)(Ee)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(Ee){this._disabled=(0,e.Ig)(Ee)}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 k.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(Ee){if(!this._lines||!this._titles||!this._unscopedContent)return;Ee&&this._checkDomForUnscopedTextContent();const ke=this._explicitLines??this._inferLinesFromContent(),ie=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;ie.classList.toggle("mdc-list-item__primary-text",nt),ie.classList.toggle("mdc-list-item__secondary-text",!nt)}else ie.classList.remove("mdc-list-item__primary-text"),ie.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let Ee=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(Ee+=1),Ee}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(Ee=>Ee.nodeType!==Ee.COMMENT_NODE).some(Ee=>!(!Ee.textContent||!Ee.textContent.trim()))}}return q.\u0275fac=function(Ee){return new(Ee||q)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(Le,8),t.Y36(g.t4),t.Y36(k.Y2,8),t.Y36(t.QbO,8))},q.\u0275dir=t.lG2({type:q,contentQueries:function(Ee,ke,ie){if(1&Ee&&(t.Suo(ie,z,4),t.Suo(ie,W,4)),2&Ee){let nt;t.iGM(nt=t.CRH())&&(ke._avatars=nt),t.iGM(nt=t.CRH())&&(ke._icons=nt)}},hostVars:3,hostBindings:function(Ee,ke){2&Ee&&(t.uIk("aria-disabled",ke.disabled),t.ekj("mdc-list-item--disabled",ke.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),q})(),ue=(()=>{class q extends Le{}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:Le,useExisting:q}]),t.qOj],ngContentSelectors:U,decls:1,vars:0,template:function(Ee,ke){1&Ee&&(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})(),ye=(()=>{class q extends Ve{constructor(Ee,ke,ie,nt,Ct,rt){super(Ee,ke,ie,nt,Ct,rt),this._activated=!1}get activated(){return this._activated}set activated(Ee){this._activated=(0,e.Ig)(Ee)}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}return q.\u0275fac=function(Ee){return new(Ee||q)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(Le,8),t.Y36(g.t4),t.Y36(k.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(Ee,ke,ie){if(1&Ee&&(t.Suo(ie,n,5),t.Suo(ie,v,5),t.Suo(ie,y,5)),2&Ee){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(Ee,ke){if(1&Ee&&(t.Gf(Q,5),t.Gf(X,5)),2&Ee){let ie;t.iGM(ie=t.CRH())&&(ke._unscopedContent=ie.first),t.iGM(ie=t.CRH())&&(ke._itemText=ie.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(Ee,ke){2&Ee&&(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:fe,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(Ee,ke){1&Ee&&(t.F$t($),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})(),Ue=(()=>{class q{}return q.\u0275fac=function(Ee){return new(Ee||q)},q.\u0275mod=t.oAB({type:q}),q.\u0275inj=t.cJS({imports:[P.Q8,u.ez,k.BQ,k.si,k.us,I.t]}),q})()},8255:(ze,K,m)=>{"use strict";m.d(K,{OP:()=>b,Tx:()=>te,VK:()=>ue,p6:()=>me});var t=m(4650),e=m(4761),g=m(1281),k=m(9521),o=m(7579),C=m(6451),h=m(727),P=m(9646),u=m(3101),I=m(8675),S=m(3900),A=m(5698),w=m(2722),R=m(9300),E=m(4086),U=m(3238),Y=m(6895),Q=m(4080),X=m(7340),$=m(445),fe=m(8184),re=m(3353),ee=m(531);const ce=["mat-menu-item",""];function se(Ze,Ue){1&Ze&&(t.O4$(),t.TgZ(0,"svg",3),t._UZ(1,"polygon",4),t.qZA())}const le=[[["mat-icon"]],"*"],L=["mat-icon","*"];function i(Ze,Ue){if(1&Ze){const q=t.EpF();t.TgZ(0,"div",0),t.NdJ("keydown",function(Ee){t.CHM(q);const ke=t.oxw();return t.KtG(ke._handleKeydown(Ee))})("click",function(){t.CHM(q);const Ee=t.oxw();return t.KtG(Ee.closed.emit("click"))})("@transformMenu.start",function(Ee){t.CHM(q);const ke=t.oxw();return t.KtG(ke._onAnimationStart(Ee))})("@transformMenu.done",function(Ee){t.CHM(q);const ke=t.oxw();return t.KtG(ke._onAnimationDone(Ee))}),t.TgZ(1,"div",1),t.Hsn(2),t.qZA()()}if(2&Ze){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=["*"],d=new t.OlP("MAT_MENU_PANEL"),c=(0,U.Kr)((0,U.Id)(class{}));let b=(()=>{class Ze extends c{constructor(q,de,Ee,ke,ie){super(),this._elementRef=q,this._document=de,this._focusMonitor=Ee,this._parentMenu=ke,this._changeDetectorRef=ie,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 Ee=0;Ee<de.length;Ee++)de[Ee].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 Ze.\u0275fac=function(q){return new(q||Ze)(t.Y36(t.SBq),t.Y36(Y.K0),t.Y36(e.tE),t.Y36(d,8),t.Y36(t.sBO))},Ze.\u0275cmp=t.Xpm({type:Ze,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:L,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(le),t.Hsn(0),t.TgZ(1,"span",0),t.Hsn(2,1),t.qZA(),t._UZ(3,"div",1),t.YNc(4,se,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:[Y.O5,U.wG],encapsulation:2,changeDetection:0}),Ze})();const n=new t.OlP("MatMenuContent"),z={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 Ve=0;const Ke=new t.OlP("mat-menu-default-options",{providedIn:"root",factory:function $e(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Ae=(()=>{class Ze{constructor(q,de,Ee,ke){this._elementRef=q,this._ngZone=de,this._defaultOptions=Ee,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-"+Ve++}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,g.Ig)(q)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(q){this._hasBackdrop=(0,g.Ig)(q)}set panelClass(q){const de=this._previousPanelClass;de&&de.length&&de.split(" ").forEach(Ee=>{this._classList[Ee]=!1}),this._previousPanelClass=q,q&&q.length&&(q.split(" ").forEach(Ee=>{this._classList[Ee]=!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,I.O)(this._directDescendantItems),(0,S.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 Ee=q.toArray(),ke=Math.max(0,Math.min(Ee.length-1,de.activeItemIndex||0));Ee[ke]&&!Ee[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,I.O)(this._directDescendantItems),(0,S.w)(de=>(0,C.T)(...de.map(Ee=>Ee._hovered))))}addItem(q){}removeItem(q){}_handleKeydown(q){const de=q.keyCode,Ee=this._keyManager;switch(de){case k.hY:(0,k.Vb)(q)||(q.preventDefault(),this.closed.emit("keydown"));break;case k.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case k.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(de===k.LH||de===k.JH)&&Ee.setFocusOrigin("keyboard"),void Ee.onKeydown(q)}q.stopPropagation()}focusFirstItem(q="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,A.q)(1)).subscribe(()=>{let de=null;if(this._directDescendantItems.length&&(de=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!de||!de.contains(document.activeElement)){const Ee=this._keyManager;Ee.setFocusOrigin(q).setFirstItemActive(),!Ee.activeItem&&de&&de.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(q){const de=Math.min(this._baseElevation+q,24),Ee=`${this._elevationPrefix}${de}`,ke=Object.keys(this._classList).find(ie=>ie.startsWith(this._elevationPrefix));(!ke||ke===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Ee]=!0,this._previousElevation=Ee)}setPositionClasses(q=this.xPosition,de=this.yPosition){const Ee=this._classList;Ee["mat-menu-before"]="before"===q,Ee["mat-menu-after"]="after"===q,Ee["mat-menu-above"]="above"===de,Ee["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,I.O)(this._allItems)).subscribe(q=>{this._directDescendantItems.reset(q.filter(de=>de._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return Ze.\u0275fac=function(q){return new(q||Ze)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(Ke),t.Y36(t.sBO))},Ze.\u0275dir=t.lG2({type:Ze,contentQueries:function(q,de,Ee){if(1&q&&(t.Suo(Ee,n,5),t.Suo(Ee,b,5),t.Suo(Ee,b,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 Ee;t.iGM(Ee=t.CRH())&&(de.templateRef=Ee.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"}}),Ze})(),ue=(()=>{class Ze extends Ae{constructor(q,de,Ee,ke){super(q,de,Ee,ke),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return Ze.\u0275fac=function(q){return new(q||Ze)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(Ke),t.Y36(t.sBO))},Ze.\u0275cmp=t.Xpm({type:Ze,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:d,useExisting:Ze}]),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:[Y.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:[z.transformMenu,z.fadeInItems]},changeDetection:0}),Ze})();const ye=new t.OlP("mat-menu-scroll-strategy"),he={provide:ye,deps:[fe.aV],useFactory:function we(Ze){return()=>Ze.scrollStrategies.reposition()}},it=(0,re.i$)({passive:!0});let oe=(()=>{class Ze{constructor(q,de,Ee,ke,ie,nt,Ct,rt,Xt){this._overlay=q,this._element=de,this._viewContainerRef=Ee,this._menuItemInstance=nt,this._dir=Ct,this._focusMonitor=rt,this._ngZone=Xt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=h.w0.EMPTY,this._hoverSubscription=h.w0.EMPTY,this._menuCloseSubscription=h.w0.EMPTY,this._handleTouchStart=gt=>{(0,e.yG)(gt)||(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=ie instanceof Ae?ie:void 0,de.nativeElement.addEventListener("touchstart",this._handleTouchStart,it)}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,it),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),Ee=de.getConfig(),ke=Ee.positionStrategy;this._setPosition(q,ke),Ee.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 Ae&&(q._startAnimation(),q._directDescendantItems.changes.pipe((0,w.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 Ae?(de._resetAnimation(),de.lazyContent?de._animationDone.pipe((0,R.h)(Ee=>"void"===Ee.toState),(0,A.q)(1),(0,w.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,Ee=q.parentMenu;for(;Ee;)de++,Ee=Ee.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 fe.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(Ee=>{const ke="start"===Ee.connectionPair.overlayX?"after":"before",ie="top"===Ee.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>q.setPositionClasses(ke,ie)):q.setPositionClasses(ke,ie)})}_setPosition(q,de){let[Ee,ke]="before"===q.xPosition?["end","start"]:["start","end"],[ie,nt]="above"===q.yPosition?["bottom","top"]:["top","bottom"],[Ct,rt]=[ie,nt],[Xt,gt]=[Ee,ke],mt=0;if(this.triggersSubmenu()){if(gt=Ee="before"===q.xPosition?"start":"end",ke=Xt="end"===Ee?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const St=this._parentMaterialMenu.items.first;this._parentInnerPadding=St?St._getHostElement().offsetTop:0}mt="bottom"===ie?this._parentInnerPadding:-this._parentInnerPadding}}else q.overlapTrigger||(Ct="top"===ie?"bottom":"top",rt="top"===nt?"bottom":"top");de.withPositions([{originX:Ee,originY:Ct,overlayX:Xt,overlayY:ie,offsetY:mt},{originX:ke,originY:Ct,overlayX:gt,overlayY:ie,offsetY:mt},{originX:Ee,originY:rt,overlayX:Xt,overlayY:nt,offsetY:-mt},{originX:ke,originY:rt,overlayX:gt,overlayY:nt,offsetY:-mt}])}_menuClosingActions(){const q=this._overlayRef.backdropClick(),de=this._overlayRef.detachments(),Ee=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,P.of)(),ke=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,R.h)(ie=>ie!==this._menuItemInstance),(0,R.h)(()=>this._menuOpen)):(0,P.of)();return(0,C.T)(q,Ee,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===k.K5||de===k.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(de===k.SV&&"ltr"===this.dir||de===k.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,R.h)(q=>q===this._menuItemInstance&&!q.disabled),(0,E.g)(0,u.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ae&&this.menu._isAnimating?this.menu._animationDone.pipe((0,A.q)(1),(0,E.g)(0,u.E),(0,w.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(q){return(!this._portal||this._portal.templateRef!==q.templateRef)&&(this._portal=new Q.UE(q.templateRef,this._viewContainerRef)),this._portal}}return Ze.\u0275fac=function(q){return new(q||Ze)(t.Y36(fe.aV),t.Y36(t.SBq),t.Y36(t.s_b),t.Y36(ye),t.Y36(d,8),t.Y36(b,10),t.Y36($.Is,8),t.Y36(e.tE),t.Y36(t.R0b))},Ze.\u0275dir=t.lG2({type:Ze,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"}}),Ze})(),me=(()=>{class Ze extends oe{}return Ze.\u0275fac=function(){let Ue;return function(de){return(Ue||(Ue=t.n5z(Ze)))(de||Ze)}}(),Ze.\u0275dir=t.lG2({type:Ze,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[t.qOj]}),Ze})(),te=(()=>{class Ze{}return Ze.\u0275fac=function(q){return new(q||Ze)},Ze.\u0275mod=t.oAB({type:Ze}),Ze.\u0275inj=t.cJS({providers:[he],imports:[Y.ez,U.si,U.BQ,fe.U8,ee.ZD,U.BQ]}),Ze})()},8739:(ze,K,m)=>{"use strict";m.d(K,{NW:()=>se,TU:()=>le,ye:()=>U});var t=m(6895),e=m(4650),g=m(7579),k=m(4859),o=m(4385),C=m(266),h=m(3238),P=m(1281),u=m(9549);function I(L,i){if(1&L&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&L){const r=i.$implicit;e.Q6J("value",r),e.xp6(1),e.hij(" ",r," ")}}function S(L,i){if(1&L){const r=e.EpF();e.TgZ(0,"mat-form-field",16)(1,"mat-select",17),e.NdJ("selectionChange",function(c){e.CHM(r);const b=e.oxw(2);return e.KtG(b._changePageSize(c.value))}),e.YNc(2,I,2,2,"mat-option",18),e.qZA()()}if(2&L){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 A(L,i){if(1&L&&(e.TgZ(0,"div",20),e._uU(1),e.qZA()),2&L){const r=e.oxw(2);e.xp6(1),e.Oqu(r.pageSize)}}function w(L,i){if(1&L&&(e.TgZ(0,"div",12)(1,"div",13),e._uU(2),e.qZA(),e.YNc(3,S,3,8,"mat-form-field",14),e.YNc(4,A,2,1,"div",15),e.qZA()),2&L){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 R(L,i){if(1&L){const r=e.EpF();e.TgZ(0,"button",21),e.NdJ("click",function(){e.CHM(r);const c=e.oxw();return e.KtG(c.firstPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",22),e.qZA()()}if(2&L){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 E(L,i){if(1&L){const r=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"button",23),e.NdJ("click",function(){e.CHM(r);const c=e.oxw();return e.KtG(c.lastPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",24),e.qZA()()}if(2&L){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 U=(()=>{class L{constructor(){this.changes=new g.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,d,c)=>{if(0==c||0==d)return`0 of ${c}`;const b=r*d;return`${b+1} \u2013 ${b<(c=Math.max(c,0))?Math.min(b+d,c):b+d} of ${c}`}}}return L.\u0275fac=function(r){return new(r||L)},L.\u0275prov=e.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();const Q={provide:U,deps:[[new e.FiY,new e.tp0,U]],useFactory:function Y(L){return L||new U}},fe=new e.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),re=(0,h.Id)((0,h.dB)(class{}));let ee=(()=>{class L extends re{constructor(r,d,c){if(super(),this._intl=r,this._changeDetectorRef=d,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()),c){const{pageSize:b,pageSizeOptions:T,hidePageSize:N,showFirstLastButtons:v}=c;null!=b&&(this._pageSize=b),null!=T&&(this._pageSizeOptions=T),null!=N&&(this._hidePageSize=N),null!=v&&(this._showFirstLastButtons=v)}}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(d=>(0,P.su)(d)),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 c=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/r)||0,this.pageSize=r,this._emitPageEvent(c)}_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,d)=>r-d),this._changeDetectorRef.markForCheck())}_emitPageEvent(r){this.page.emit({previousPageIndex:r,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return L.\u0275fac=function(r){e.$Z()},L.\u0275dir=e.lG2({type:L,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[e.qOj]}),L})(),ce=0,se=(()=>{class L extends ee{constructor(r,d,c){super(r,d,c),this._pageSizeLabelId="mat-paginator-page-size-label-"+ce++,this._formFieldAppearance=c?.formFieldAppearance||"outline"}}return L.\u0275fac=function(r){return new(r||L)(e.Y36(U),e.Y36(e.sBO),e.Y36(fe,8))},L.\u0275cmp=e.Xpm({type:L,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,d){1&r&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,w,5,4,"div",2),e.TgZ(3,"div",3)(4,"div",4),e._uU(5),e.qZA(),e.YNc(6,R,3,5,"button",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return d.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 d.nextPage()}),e.O4$(),e.TgZ(11,"svg",7),e._UZ(12,"path",10),e.qZA()(),e.YNc(13,E,3,5,"button",11),e.qZA()()()),2&r&&(e.xp6(2),e.Q6J("ngIf",!d.hidePageSize),e.xp6(3),e.hij(" ",d._intl.getRangeLabel(d.pageIndex,d.pageSize,d.length)," "),e.xp6(1),e.Q6J("ngIf",d.showFirstLastButtons),e.xp6(1),e.Q6J("matTooltip",d._intl.previousPageLabel)("matTooltipDisabled",d._previousButtonsDisabled())("matTooltipPosition","above")("disabled",d._previousButtonsDisabled()),e.uIk("aria-label",d._intl.previousPageLabel),e.xp6(3),e.Q6J("matTooltip",d._intl.nextPageLabel)("matTooltipDisabled",d._nextButtonsDisabled())("matTooltipPosition","above")("disabled",d._nextButtonsDisabled()),e.uIk("aria-label",d._intl.nextPageLabel),e.xp6(3),e.Q6J("ngIf",d.showFirstLastButtons))},dependencies:[t.sg,t.O5,k.RK,u.KE,o.gD,h.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}),L})(),le=(()=>{class L{}return L.\u0275fac=function(r){return new(r||L)},L.\u0275mod=e.oAB({type:L}),L.\u0275inj=e.cJS({providers:[Q],imports:[t.ez,k.ot,o.LD,C.AV]}),L})()},3162:(ze,K,m)=>{"use strict";m.d(K,{Cv:()=>S,pW:()=>u});var t=m(4650),g=(m(6895),m(3238)),k=m(1281);const o=new t.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),P=(0,g.pj)(class{constructor(A){this._elementRef=A}},"primary");let u=(()=>{class A extends P{constructor(R,E,U,Y,Q){super(R),this._ngZone=E,this._changeDetectorRef=U,this._animationMode=Y,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"===Y,Q&&(Q.color&&(this.color=this.defaultColor=Q.color),this.mode=Q.mode||this.mode)}get value(){return this._value}set value(R){this._value=I((0,k.su)(R)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(R){this._bufferValue=I((0,k.su)(R)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(R){this._mode=R,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 A.\u0275fac=function(R){return new(R||A)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(t.QbO,8),t.Y36(o,8))},A.\u0275cmp=t.Xpm({type:A,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(R,E){2&R&&(t.uIk("aria-valuenow",E._isIndeterminate()?null:E.value)("mode",E.mode),t.ekj("_mat-animation-noopable",E._isNoopAnimation)("mdc-linear-progress--animation-ready",!E._isNoopAnimation)("mdc-linear-progress--indeterminate",E._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(R,E){1&R&&(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&R&&(t.xp6(1),t.Udp("flex-basis",E._getBufferBarFlexBasis()),t.xp6(2),t.Udp("transform",E._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}),A})();function I(A,w=0,R=100){return Math.max(w,Math.min(R,A))}let S=(()=>{class A{}return A.\u0275fac=function(R){return new(R||A)},A.\u0275mod=t.oAB({type:A}),A.\u0275inj=t.cJS({imports:[g.BQ]}),A})()},1572:(ze,K,m)=>{"use strict";m.d(K,{Cq:()=>R,Ou:()=>A});var t=m(4650),e=m(3238),g=m(1281),k=m(6895);const o=["determinateSpinner"];function C(E,U){if(1&E&&(t.O4$(),t.TgZ(0,"svg",11),t._UZ(1,"circle",12),t.qZA()),2&E){const Y=t.oxw();t.uIk("viewBox",Y._viewBox()),t.xp6(1),t.Udp("stroke-dasharray",Y._strokeCircumference(),"px")("stroke-dashoffset",Y._strokeCircumference()/2,"px")("stroke-width",Y._circleStrokeWidth(),"%"),t.uIk("r",Y._circleRadius())}}const h=(0,e.pj)(class{constructor(E){this._elementRef=E}},"primary"),P=new t.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function u(){return{diameter:I}}}),I=100;let A=(()=>{class E extends h{constructor(Y,Q,X){super(Y),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=I,this._noopAnimations="NoopAnimations"===Q&&!!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(Y){this._value=Math.max(0,Math.min(100,(0,g.su)(Y)))}get diameter(){return this._diameter}set diameter(Y){this._diameter=(0,g.su)(Y)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(Y){this._strokeWidth=(0,g.su)(Y)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const Y=2*this._circleRadius()+this.strokeWidth;return`0 0 ${Y} ${Y}`}_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 E.\u0275fac=function(Y){return new(Y||E)(t.Y36(t.SBq),t.Y36(t.QbO,8),t.Y36(P))},E.\u0275cmp=t.Xpm({type:E,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(Y,Q){if(1&Y&&t.Gf(o,5),2&Y){let X;t.iGM(X=t.CRH())&&(Q._determinateCircle=X.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(Y,Q){2&Y&&(t.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===Q.mode?Q.value:null)("mode",Q.mode),t.Udp("width",Q.diameter,"px")("height",Q.diameter,"px"),t.ekj("_mat-animation-noopable",Q._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===Q.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(Y,Q){if(1&Y&&(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&Y){const X=t.MAs(1);t.xp6(4),t.uIk("viewBox",Q._viewBox()),t.xp6(1),t.Udp("stroke-dasharray",Q._strokeCircumference(),"px")("stroke-dashoffset",Q._strokeDashOffset(),"px")("stroke-width",Q._circleStrokeWidth(),"%"),t.uIk("r",Q._circleRadius()),t.xp6(4),t.Q6J("ngTemplateOutlet",X),t.xp6(2),t.Q6J("ngTemplateOutlet",X),t.xp6(2),t.Q6J("ngTemplateOutlet",X)}},dependencies:[k.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}),E})(),R=(()=>{class E{}return E.\u0275fac=function(Y){return new(Y||E)},E.\u0275mod=t.oAB({type:E}),E.\u0275inj=t.cJS({imports:[k.ez,e.BQ]}),E})()},1948:(ze,K,m)=>{"use strict";m.d(K,{Fk:()=>re,U0:()=>fe,VQ:()=>$});var t=m(4650),e=m(3238),g=m(4761),k=m(1281),o=m(5017),C=m(4006),h=m(6895);const P=["input"],u=["*"];let I=0;class S{constructor(ce,se){this.source=ce,this.value=se}}const A={provide:C.JU,useExisting:(0,t.Gpc)(()=>$),multi:!0},w=new t.OlP("MatRadioGroup"),R=new t.OlP("mat-radio-default-options",{providedIn:"root",factory:function E(){return{color:"accent"}}});let U=(()=>{class ee{constructor(se){this._changeDetector=se,this._value=null,this._name="mat-radio-group-"+I++,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(se){this._name=se,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(se){this._labelPosition="before"===se?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(se){this._value!==se&&(this._value=se,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(se){this._selected=se,this.value=se?se.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(se){this._disabled=(0,k.Ig)(se),this._markRadiosForCheck()}get required(){return this._required}set required(se){this._required=(0,k.Ig)(se),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(se=>{se.name=this.name,se._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(le=>{le.checked=this.value===le.value,le.checked&&(this._selected=le)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new S(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(se=>se._markForCheck())}writeValue(se){this.value=se,this._changeDetector.markForCheck()}registerOnChange(se){this._controlValueAccessorChangeFn=se}registerOnTouched(se){this.onTouched=se}setDisabledState(se){this.disabled=se,this._changeDetector.markForCheck()}}return ee.\u0275fac=function(se){return new(se||ee)(t.Y36(t.sBO))},ee.\u0275dir=t.lG2({type:ee,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),ee})();class Y{constructor(ce){this._elementRef=ce}}const Q=(0,e.Kr)((0,e.sb)(Y));let X=(()=>{class ee extends Q{constructor(se,le,L,i,r,d,c,b){super(le),this._changeDetector=L,this._focusMonitor=i,this._radioDispatcher=r,this._providerOverride=c,this._uniqueId="mat-radio-"+ ++I,this.id=this._uniqueId,this.change=new t.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=se,this._noopAnimations="NoopAnimations"===d,b&&(this.tabIndex=(0,k.su)(b,0))}get checked(){return this._checked}set checked(se){const le=(0,k.Ig)(se);this._checked!==le&&(this._checked=le,le&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!le&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),le&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(se){this._value!==se&&(this._value=se,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===se),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(se){this._labelPosition=se}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(se){this._setDisabled((0,k.Ig)(se))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(se){this._required=(0,k.Ig)(se)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(se){this._color=se}get inputId(){return`${this.id||this._uniqueId}-input`}focus(se,le){le?this._focusMonitor.focusVia(this._inputElement,le,se):this._inputElement.nativeElement.focus(se)}_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((se,le)=>{se!==this.id&&le===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(se=>{!se&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new S(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(se){se.stopPropagation()}_onInputInteraction(se){if(se.stopPropagation(),!this.checked&&!this.disabled){const le=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),le&&this.radioGroup._emitChangeEvent())}}_setDisabled(se){this._disabled!==se&&(this._disabled=se,this._changeDetector.markForCheck())}_updateTabIndex(){const se=this.radioGroup;let le;if(le=se&&se.selected&&!this.disabled?se.selected===this?this.tabIndex:-1:this.tabIndex,le!==this._previousTabIndex){const L=this._inputElement?.nativeElement;L&&(L.setAttribute("tabindex",le+""),this._previousTabIndex=le)}}}return ee.\u0275fac=function(se){t.$Z()},ee.\u0275dir=t.lG2({type:ee,viewQuery:function(se,le){if(1&se&&t.Gf(P,5),2&se){let L;t.iGM(L=t.CRH())&&(le._inputElement=L.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]}),ee})(),$=(()=>{class ee extends U{}return ee.\u0275fac=function(){let ce;return function(le){return(ce||(ce=t.n5z(ee)))(le||ee)}}(),ee.\u0275dir=t.lG2({type:ee,selectors:[["mat-radio-group"]],contentQueries:function(se,le,L){if(1&se&&t.Suo(L,fe,5),2&se){let i;t.iGM(i=t.CRH())&&(le._radios=i)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],exportAs:["matRadioGroup"],features:[t._Bn([A,{provide:w,useExisting:ee}]),t.qOj]}),ee})(),fe=(()=>{class ee extends X{constructor(se,le,L,i,r,d,c,b){super(se,le,L,i,r,d,c,b)}}return ee.\u0275fac=function(se){return new(se||ee)(t.Y36(w,8),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(g.tE),t.Y36(o.A8),t.Y36(t.QbO,8),t.Y36(R,8),t.$8M("tabindex"))},ee.\u0275cmp=t.Xpm({type:ee,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(se,le){1&se&&t.NdJ("focus",function(){return le._inputElement.nativeElement.focus()}),2&se&&(t.uIk("id",le.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),t.ekj("mat-primary","primary"===le.color)("mat-accent","accent"===le.color)("mat-warn","warn"===le.color)("mat-mdc-radio-checked",le.checked)("_mat-animation-noopable",le._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[t.qOj],ngContentSelectors:u,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(se,le){if(1&se&&(t.F$t(),t.TgZ(0,"div",0,1)(2,"div",2)(3,"div",3),t.NdJ("click",function(i){return le._onInputInteraction(i)}),t.qZA(),t.TgZ(4,"input",4,5),t.NdJ("change",function(i){return le._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&se){const L=t.MAs(1);t.ekj("mdc-form-field--align-end","before"==le.labelPosition),t.xp6(2),t.ekj("mdc-radio--disabled",le.disabled),t.xp6(2),t.Q6J("id",le.inputId)("checked",le.checked)("disabled",le.disabled)("required",le.required),t.uIk("name",le.name)("value",le.value)("aria-label",le.ariaLabel)("aria-labelledby",le.ariaLabelledby)("aria-describedby",le.ariaDescribedby),t.xp6(5),t.Q6J("matRippleTrigger",L)("matRippleDisabled",le._isRippleDisabled())("matRippleCentered",!0),t.xp6(2),t.Q6J("for",le.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}),ee})(),re=(()=>{class ee{}return ee.\u0275fac=function(se){return new(se||ee)},ee.\u0275mod=t.oAB({type:ee}),ee.\u0275inj=t.cJS({imports:[e.BQ,h.ez,e.si,e.BQ]}),ee})()},4385:(ze,K,m)=>{"use strict";m.d(K,{$L:()=>ue,LD:()=>we,PG:()=>W,gD:()=>ye});var t=m(8184),e=m(6895),g=m(4650),k=m(3238),o=m(9549),C=m(531),h=m(4761),P=m(445),u=m(1281),I=m(5017),S=m(9521),A=m(4006),w=m(7579),R=m(9770),E=m(6451),U=m(8675),Y=m(3900),Q=m(5698),X=m(9300),$=m(4004),fe=m(1884),re=m(2722),ee=m(7340);const ce=["trigger"],se=["panel"];function le(he,it){if(1&he&&(g.TgZ(0,"span",10),g._uU(1),g.qZA()),2&he){const De=g.oxw();g.xp6(1),g.Oqu(De.placeholder)}}function L(he,it){if(1&he&&(g.TgZ(0,"span",14),g._uU(1),g.qZA()),2&he){const De=g.oxw(2);g.xp6(1),g.Oqu(De.triggerValue)}}function i(he,it){1&he&&g.Hsn(0,0,["*ngSwitchCase","true"])}function r(he,it){if(1&he&&(g.TgZ(0,"span",11),g.YNc(1,L,2,1,"span",12),g.YNc(2,i,1,0,"ng-content",13),g.qZA()),2&he){const De=g.oxw();g.Q6J("ngSwitch",!!De.customTrigger),g.xp6(2),g.Q6J("ngSwitchCase",!0)}}function d(he,it){if(1&he){const De=g.EpF();g.O4$(),g.kcU(),g.TgZ(0,"div",15,16),g.NdJ("@transformPanel.done",function(me){g.CHM(De);const te=g.oxw();return g.KtG(te._panelDoneAnimatingStream.next(me.toState))})("keydown",function(me){g.CHM(De);const te=g.oxw();return g.KtG(te._handleKeydown(me))}),g.Hsn(2,1),g.qZA()}if(2&he){const De=g.oxw();g.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",De._getPanelTheme(),""),g.Q6J("ngClass",De.panelClass)("@transformPanel","showing"),g.uIk("id",De.id+"-panel")("aria-multiselectable",De.multiple)("aria-label",De.ariaLabel||null)("aria-labelledby",De._getPanelAriaLabelledby())}}const c=[[["mat-select-trigger"]],"*"],b=["mat-select-trigger","*"],T={transformPanelWrap:(0,ee.X$)("transformPanelWrap",[(0,ee.eR)("* => void",(0,ee.IO)("@transformPanel",[(0,ee.pV)()],{optional:!0}))]),transformPanel:(0,ee.X$)("transformPanel",[(0,ee.SB)("void",(0,ee.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,ee.eR)("void => showing",(0,ee.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,ee.eR)("* => void",(0,ee.jt)("100ms linear",(0,ee.oB)({opacity:0})))])};let y=0;const B=new g.OlP("mat-select-scroll-strategy"),W=new g.OlP("MAT_SELECT_CONFIG"),Le={provide:B,deps:[t.aV],useFactory:function z(he){return()=>he.scrollStrategies.reposition()}},Ve=new g.OlP("MatSelectTrigger");class Ke{constructor(it,De){this.source=it,this.value=De}}const $e=(0,k.Kr)((0,k.sb)((0,k.Id)((0,k.FD)(class{constructor(he,it,De,oe,me){this._elementRef=he,this._defaultErrorStateMatcher=it,this._parentForm=De,this._parentFormGroup=oe,this.ngControl=me,this.stateChanges=new w.x}}))));let Ae=(()=>{class he extends $e{constructor(De,oe,me,te,Ze,Ue,q,de,Ee,ke,ie,nt,Ct,rt){super(Ze,te,q,de,ke),this._viewportRuler=De,this._changeDetectorRef=oe,this._ngZone=me,this._dir=Ue,this._parentFormField=Ee,this._liveAnnouncer=Ct,this._defaultOptions=rt,this._panelOpen=!1,this._compareWith=(Xt,gt)=>Xt===gt,this._uid="mat-select-"+y++,this._triggerAriaLabelledBy=null,this._destroy=new w.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+y++,this._panelDoneAnimatingStream=new w.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,R.P)(()=>{const Xt=this.options;return Xt?Xt.changes.pipe((0,U.O)(Xt),(0,Y.w)(()=>(0,E.T)(...Xt.map(gt=>gt.onSelectionChange)))):this._ngZone.onStable.pipe((0,Q.q)(1),(0,Y.w)(()=>this.optionSelectionChanges))}),this.openedChange=new g.vpe,this._openedStream=this.openedChange.pipe((0,X.h)(Xt=>Xt),(0,$.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,X.h)(Xt=>!Xt),(0,$.U)(()=>{})),this.selectionChange=new g.vpe,this.valueChange=new g.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=rt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=rt.typeaheadDebounceInterval),this._scrollStrategyFactory=nt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(ie)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(De){this._placeholder=De,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(A.kI.required)??!1}set required(De){this._required=(0,u.Ig)(De),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(De){this._multiple=(0,u.Ig)(De)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(De){this._disableOptionCentering=(0,u.Ig)(De)}get compareWith(){return this._compareWith}set compareWith(De){this._compareWith=De,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(De){this._assignValue(De)&&this._onChange(De)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(De){this._typeaheadDebounceInterval=(0,u.su)(De)}get id(){return this._id}set id(De){this._id=De||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new I.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,fe.x)(),(0,re.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,re.R)(this._destroy)).subscribe(De=>{De.added.forEach(oe=>oe.select()),De.removed.forEach(oe=>oe.deselect())}),this.options.changes.pipe((0,U.O)(null),(0,re.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const De=this._getTriggerAriaLabelledby(),oe=this.ngControl;if(De!==this._triggerAriaLabelledBy){const me=this._elementRef.nativeElement;this._triggerAriaLabelledBy=De,De?me.setAttribute("aria-labelledby",De):me.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(De){(De.disabled||De.userAriaDescribedBy)&&this.stateChanges.next(),De.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(De){this._assignValue(De)}registerOnChange(De){this._onChange=De}registerOnTouched(De){this._onTouched=De}setDisabledState(De){this.disabled=De,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 De=this._selectionModel.selected.map(oe=>oe.viewValue);return this._isRtl()&&De.reverse(),De.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(De){this.disabled||(this.panelOpen?this._handleOpenKeydown(De):this._handleClosedKeydown(De))}_handleClosedKeydown(De){const oe=De.keyCode,me=oe===S.JH||oe===S.LH||oe===S.oh||oe===S.SV,te=oe===S.K5||oe===S.L_,Ze=this._keyManager;if(!Ze.isTyping()&&te&&!(0,S.Vb)(De)||(this.multiple||De.altKey)&&me)De.preventDefault(),this.open();else if(!this.multiple){const Ue=this.selected;Ze.onKeydown(De);const q=this.selected;q&&Ue!==q&&this._liveAnnouncer.announce(q.viewValue,1e4)}}_handleOpenKeydown(De){const oe=this._keyManager,me=De.keyCode,te=me===S.JH||me===S.LH,Ze=oe.isTyping();if(te&&De.altKey)De.preventDefault(),this.close();else if(Ze||me!==S.K5&&me!==S.L_||!oe.activeItem||(0,S.Vb)(De))if(!Ze&&this._multiple&&me===S.A&&De.ctrlKey){De.preventDefault();const Ue=this.options.some(q=>!q.disabled&&!q.selected);this.options.forEach(q=>{q.disabled||(Ue?q.select():q.deselect())})}else{const Ue=oe.activeItemIndex;oe.onKeydown(De),this._multiple&&te&&De.shiftKey&&oe.activeItem&&oe.activeItemIndex!==Ue&&oe.activeItem._selectViaInteraction()}else De.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,Q.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(De){if(this._selectionModel.selected.forEach(oe=>oe.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&De)Array.isArray(De),De.forEach(oe=>this._selectOptionByValue(oe)),this._sortValues();else{const oe=this._selectOptionByValue(De);oe?this._keyManager.updateActiveItem(oe):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(De){const oe=this.options.find(me=>{if(this._selectionModel.isSelected(me))return!1;try{return null!=me.value&&this._compareWith(me.value,De)}catch{return!1}});return oe&&this._selectionModel.select(oe),oe}_assignValue(De){return!!(De!==this._value||this._multiple&&Array.isArray(De))&&(this.options&&this._setSelectionByValue(De),this._value=De,!0)}_initKeyManager(){this._keyManager=new h.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 De=(0,E.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,re.R)(De)).subscribe(oe=>{this._onSelect(oe.source,oe.isUserInput),oe.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,E.T)(...this.options.map(oe=>oe._stateChanges)).pipe((0,re.R)(De)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(De,oe){const me=this._selectionModel.isSelected(De);null!=De.value||this._multiple?(me!==De.selected&&(De.selected?this._selectionModel.select(De):this._selectionModel.deselect(De)),oe&&this._keyManager.setActiveItem(De),this.multiple&&(this._sortValues(),oe&&this.focus())):(De.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(De.value)),me!==this._selectionModel.isSelected(De)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const De=this.options.toArray();this._selectionModel.sort((oe,me)=>this.sortComparator?this.sortComparator(oe,me,De):De.indexOf(oe)-De.indexOf(me)),this.stateChanges.next()}}_propagateChanges(De){let oe=null;oe=this.multiple?this.selected.map(me=>me.value):this.selected?this.selected.value:De,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(De){this._elementRef.nativeElement.focus(De)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const De=this._parentFormField?.getLabelId();return this.ariaLabelledby?(De?De+" ":"")+this.ariaLabelledby:De}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const De=this._parentFormField?.getLabelId();let oe=(De?De+" ":"")+this._valueId;return this.ariaLabelledby&&(oe+=" "+this.ariaLabelledby),oe}_panelDoneAnimating(De){this.openedChange.emit(De)}setDescribedByIds(De){De.length?this._elementRef.nativeElement.setAttribute("aria-describedby",De.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return he.\u0275fac=function(De){return new(De||he)(g.Y36(C.rL),g.Y36(g.sBO),g.Y36(g.R0b),g.Y36(k.rD),g.Y36(g.SBq),g.Y36(P.Is,8),g.Y36(A.F,8),g.Y36(A.sg,8),g.Y36(o.G_,8),g.Y36(A.a5,10),g.$8M("tabindex"),g.Y36(B),g.Y36(h.Kd),g.Y36(W,8))},he.\u0275dir=g.lG2({type:he,viewQuery:function(De,oe){if(1&De&&(g.Gf(ce,5),g.Gf(se,5),g.Gf(t.pI,5)),2&De){let me;g.iGM(me=g.CRH())&&(oe.trigger=me.first),g.iGM(me=g.CRH())&&(oe.panel=me.first),g.iGM(me=g.CRH())&&(oe._overlayDir=me.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:[g.qOj,g.TTD]}),he})(),ue=(()=>{class he{}return he.\u0275fac=function(De){return new(De||he)},he.\u0275dir=g.lG2({type:he,selectors:[["mat-select-trigger"]],features:[g._Bn([{provide:Ve,useExisting:he}])]}),he})(),ye=(()=>{class he extends Ae{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,re.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(De){const oe=this.options.toArray()[De];if(oe){const me=this.panel.nativeElement,te=(0,k.CB)(De,this.options,this.optionGroups),Ze=oe._getHostElement();me.scrollTop=0===De&&1===te?0:(0,k.jH)(Ze.offsetTop,Ze.offsetHeight,me.scrollTop,me.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(De){return new Ke(this,De)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof t.xu?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}}return he.\u0275fac=function(){let it;return function(oe){return(it||(it=g.n5z(he)))(oe||he)}}(),he.\u0275cmp=g.Xpm({type:he,selectors:[["mat-select"]],contentQueries:function(De,oe,me){if(1&De&&(g.Suo(me,Ve,5),g.Suo(me,k.ey,5),g.Suo(me,k.K7,5)),2&De){let te;g.iGM(te=g.CRH())&&(oe.customTrigger=te.first),g.iGM(te=g.CRH())&&(oe.options=te),g.iGM(te=g.CRH())&&(oe.optionGroups=te)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(De,oe){1&De&&g.NdJ("keydown",function(te){return oe._handleKeydown(te)})("focus",function(){return oe._onFocus()})("blur",function(){return oe._onBlur()}),2&De&&(g.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()),g.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:[g._Bn([{provide:o.Eo,useExisting:he},{provide:k.HF,useExisting:he}]),g.qOj],ngContentSelectors:b,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(De,oe){if(1&De&&(g.F$t(c),g.TgZ(0,"div",0,1),g.NdJ("click",function(){return oe.toggle()}),g.TgZ(3,"div",2),g.YNc(4,le,2,1,"span",3),g.YNc(5,r,3,2,"span",4),g.qZA(),g.TgZ(6,"div",5)(7,"div",6),g.O4$(),g.TgZ(8,"svg",7),g._UZ(9,"path",8),g.qZA()()()(),g.YNc(10,d,3,9,"ng-template",9),g.NdJ("backdropClick",function(){return oe.close()})("attach",function(){return oe._onAttached()})("detach",function(){return oe.close()})),2&De){const me=g.MAs(1);g.uIk("aria-owns",oe.panelOpen?oe.id+"-panel":null),g.xp6(3),g.Q6J("ngSwitch",oe.empty),g.uIk("id",oe._valueId),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngSwitchCase",!1),g.xp6(5),g.Q6J("cdkConnectedOverlayPanelClass",oe._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",oe._scrollStrategy)("cdkConnectedOverlayOrigin",oe._preferredOverlayOrigin||me)("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:[T.transformPanel]},changeDetection:0}),he})(),we=(()=>{class he{}return he.\u0275fac=function(De){return new(De||he)},he.\u0275mod=g.oAB({type:he}),he.\u0275inj=g.cJS({providers:[Le],imports:[e.ez,t.U8,k.Ng,k.BQ,C.ZD,o.lN,k.Ng,k.BQ]}),he})()},3267:(ze,K,m)=>{"use strict";m.d(K,{JX:()=>Ve,Rh:()=>Le,SJ:()=>$e,TM:()=>Ke});var t=m(531),e=m(6895),g=m(4650),k=m(3238),o=m(4761),C=m(445),h=m(1281),P=m(9521),u=m(3353),I=m(7579),S=m(4968),A=m(6451),w=m(9300),R=m(4004),E=m(9718),U=m(2722),Y=m(1884),Q=m(5698),X=m(8675),$=m(8372),fe=m(7340);const re=["*"],ee=["content"];function ce(Ae,ue){if(1&Ae){const ye=g.EpF();g.TgZ(0,"div",2),g.NdJ("click",function(){g.CHM(ye);const he=g.oxw();return g.KtG(he._onBackdropClicked())}),g.qZA()}if(2&Ae){const ye=g.oxw();g.ekj("mat-drawer-shown",ye._isShowingBackdrop())}}function se(Ae,ue){1&Ae&&(g.TgZ(0,"mat-drawer-content"),g.Hsn(1,2),g.qZA())}const le=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],L=["mat-drawer","mat-drawer-content","*"];function i(Ae,ue){if(1&Ae){const ye=g.EpF();g.TgZ(0,"div",2),g.NdJ("click",function(){g.CHM(ye);const he=g.oxw();return g.KtG(he._onBackdropClicked())}),g.qZA()}if(2&Ae){const ye=g.oxw();g.ekj("mat-drawer-shown",ye._isShowingBackdrop())}}function r(Ae,ue){1&Ae&&(g.TgZ(0,"mat-sidenav-content"),g.Hsn(1,2),g.qZA())}const d=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],c=["mat-sidenav","mat-sidenav-content","*"],T={transformDrawer:(0,fe.X$)("transform",[(0,fe.SB)("open, open-instant",(0,fe.oB)({transform:"none",visibility:"visible"})),(0,fe.SB)("void",(0,fe.oB)({"box-shadow":"none",visibility:"hidden"})),(0,fe.eR)("void => open-instant",(0,fe.jt)("0ms")),(0,fe.eR)("void <=> open, open-instant => void",(0,fe.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},v=new g.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function y(){return!1}}),n=new g.OlP("MAT_DRAWER_CONTAINER");let B=(()=>{class Ae extends t.PQ{constructor(ye,we,he,it,De){super(he,it,De),this._changeDetectorRef=ye,this._container=we}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return Ae.\u0275fac=function(ye){return new(ye||Ae)(g.Y36(g.sBO),g.Y36((0,g.Gpc)(()=>W)),g.Y36(g.SBq),g.Y36(t.mF),g.Y36(g.R0b))},Ae.\u0275cmp=g.Xpm({type:Ae,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(ye,we){2&ye&&g.Udp("margin-left",we._container._contentMargins.left,"px")("margin-right",we._container._contentMargins.right,"px")},features:[g._Bn([{provide:t.PQ,useExisting:Ae}]),g.qOj],ngContentSelectors:re,decls:1,vars:0,template:function(ye,we){1&ye&&(g.F$t(),g.Hsn(0))},encapsulation:2,changeDetection:0}),Ae})(),z=(()=>{class Ae{constructor(ye,we,he,it,De,oe,me,te){this._elementRef=ye,this._focusTrapFactory=we,this._focusMonitor=he,this._platform=it,this._ngZone=De,this._interactivityChecker=oe,this._doc=me,this._container=te,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new I.x,this._animationEnd=new I.x,this._animationState="void",this.openedChange=new g.vpe(!0),this._openedStream=this.openedChange.pipe((0,w.h)(Ze=>Ze),(0,R.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,w.h)(Ze=>Ze.fromState!==Ze.toState&&0===Ze.toState.indexOf("open")),(0,E.h)(void 0)),this._closedStream=this.openedChange.pipe((0,w.h)(Ze=>!Ze),(0,R.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,w.h)(Ze=>Ze.fromState!==Ze.toState&&"void"===Ze.toState),(0,E.h)(void 0)),this._destroyed=new I.x,this.onPositionChanged=new g.vpe,this._modeChanged=new I.x,this.openedChange.subscribe(Ze=>{Ze?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,S.R)(this._elementRef.nativeElement,"keydown").pipe((0,w.h)(Ze=>Ze.keyCode===P.hY&&!this.disableClose&&!(0,P.Vb)(Ze)),(0,U.R)(this._destroyed)).subscribe(Ze=>this._ngZone.run(()=>{this.close(),Ze.stopPropagation(),Ze.preventDefault()}))}),this._animationEnd.pipe((0,Y.x)((Ze,Ue)=>Ze.fromState===Ue.fromState&&Ze.toState===Ue.toState)).subscribe(Ze=>{const{fromState:Ue,toState:q}=Ze;(0===q.indexOf("open")&&"void"===Ue||"void"===q&&0===Ue.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(ye){(ye="end"===ye?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(ye),this._position=ye,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(ye){this._mode=ye,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(ye){this._disableClose=(0,h.Ig)(ye)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(ye){("true"===ye||"false"===ye||null==ye)&&(ye=(0,h.Ig)(ye)),this._autoFocus=ye}get opened(){return this._opened}set opened(ye){this.toggle((0,h.Ig)(ye))}_forceFocus(ye,we){this._interactivityChecker.isFocusable(ye)||(ye.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const he=()=>{ye.removeEventListener("blur",he),ye.removeEventListener("mousedown",he),ye.removeAttribute("tabindex")};ye.addEventListener("blur",he),ye.addEventListener("mousedown",he)})),ye.focus(we)}_focusByCssSelector(ye,we){let he=this._elementRef.nativeElement.querySelector(ye);he&&this._forceFocus(he,we)}_takeFocus(){if(!this._focusTrap)return;const ye=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(we=>{!we&&"function"==typeof this._elementRef.nativeElement.focus&&ye.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(ye){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,ye):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const ye=this._doc.activeElement;return!!ye&&this._elementRef.nativeElement.contains(ye)}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(ye){return this.toggle(!0,ye)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(ye=!this.opened,we){ye&&we&&(this._openedVia=we);const he=this._setOpen(ye,!ye&&this._isFocusWithinDrawer(),this._openedVia||"program");return ye||(this._openedVia=null),he}_setOpen(ye,we,he){return this._opened=ye,ye?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",we&&this._restoreFocus(he)),this._updateFocusTrapState(),new Promise(it=>{this.openedChange.pipe((0,Q.q)(1)).subscribe(De=>it(De?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(ye){const we=this._elementRef.nativeElement,he=we.parentNode;"end"===ye?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),he.insertBefore(this._anchor,we)),he.appendChild(we)):this._anchor&&this._anchor.parentNode.insertBefore(we,this._anchor)}}return Ae.\u0275fac=function(ye){return new(ye||Ae)(g.Y36(g.SBq),g.Y36(o.qV),g.Y36(o.tE),g.Y36(u.t4),g.Y36(g.R0b),g.Y36(o.ic),g.Y36(e.K0,8),g.Y36(n,8))},Ae.\u0275cmp=g.Xpm({type:Ae,selectors:[["mat-drawer"]],viewQuery:function(ye,we){if(1&ye&&g.Gf(ee,5),2&ye){let he;g.iGM(he=g.CRH())&&(we._content=he.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(ye,we){1&ye&&g.WFA("@transform.start",function(it){return we._animationStarted.next(it)})("@transform.done",function(it){return we._animationEnd.next(it)}),2&ye&&(g.uIk("align",null),g.d8E("@transform",we._animationState),g.ekj("mat-drawer-end","end"===we.position)("mat-drawer-over","over"===we.mode)("mat-drawer-push","push"===we.mode)("mat-drawer-side","side"===we.mode)("mat-drawer-opened",we.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:re,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(ye,we){1&ye&&(g.F$t(),g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA())},dependencies:[t.PQ],encapsulation:2,data:{animation:[T.transformDrawer]},changeDetection:0}),Ae})(),W=(()=>{class Ae{constructor(ye,we,he,it,De,oe=!1,me){this._dir=ye,this._element=we,this._ngZone=he,this._changeDetectorRef=it,this._animationMode=me,this._drawers=new g.n_E,this.backdropClick=new g.vpe,this._destroyed=new I.x,this._doCheckSubject=new I.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new I.x,ye&&ye.change.pipe((0,U.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),De.change().pipe((0,U.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(ye){this._autosize=(0,h.Ig)(ye)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(ye){this._backdropOverride=null==ye?null:(0,h.Ig)(ye)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,X.O)(this._allDrawers),(0,U.R)(this._destroyed)).subscribe(ye=>{this._drawers.reset(ye.filter(we=>!we._container||we._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,X.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(ye=>{this._watchDrawerToggle(ye),this._watchDrawerPosition(ye),this._watchDrawerMode(ye)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,$.b)(10),(0,U.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(ye=>ye.open())}close(){this._drawers.forEach(ye=>ye.close())}updateContentMargins(){let ye=0,we=0;if(this._left&&this._left.opened)if("side"==this._left.mode)ye+=this._left._getWidth();else if("push"==this._left.mode){const he=this._left._getWidth();ye+=he,we-=he}if(this._right&&this._right.opened)if("side"==this._right.mode)we+=this._right._getWidth();else if("push"==this._right.mode){const he=this._right._getWidth();we+=he,ye-=he}ye=ye||null,we=we||null,(ye!==this._contentMargins.left||we!==this._contentMargins.right)&&(this._contentMargins={left:ye,right:we},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(ye){ye._animationStarted.pipe((0,w.h)(we=>we.fromState!==we.toState),(0,U.R)(this._drawers.changes)).subscribe(we=>{"open-instant"!==we.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==ye.mode&&ye.openedChange.pipe((0,U.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(ye.opened))}_watchDrawerPosition(ye){!ye||ye.onPositionChanged.pipe((0,U.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Q.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(ye){ye&&ye._modeChanged.pipe((0,U.R)((0,A.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(ye){const we=this._element.nativeElement.classList,he="mat-drawer-container-has-open";ye?we.add(he):we.remove(he)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(ye=>{"end"==ye.position?this._end=ye:this._start=ye}),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(ye=>ye&&!ye.disableClose&&this._canHaveBackdrop(ye)).forEach(ye=>ye._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(ye){return"side"!==ye.mode||!!this._backdropOverride}_isDrawerOpen(ye){return null!=ye&&ye.opened}}return Ae.\u0275fac=function(ye){return new(ye||Ae)(g.Y36(C.Is,8),g.Y36(g.SBq),g.Y36(g.R0b),g.Y36(g.sBO),g.Y36(t.rL),g.Y36(v),g.Y36(g.QbO,8))},Ae.\u0275cmp=g.Xpm({type:Ae,selectors:[["mat-drawer-container"]],contentQueries:function(ye,we,he){if(1&ye&&(g.Suo(he,B,5),g.Suo(he,z,5)),2&ye){let it;g.iGM(it=g.CRH())&&(we._content=it.first),g.iGM(it=g.CRH())&&(we._allDrawers=it)}},viewQuery:function(ye,we){if(1&ye&&g.Gf(B,5),2&ye){let he;g.iGM(he=g.CRH())&&(we._userContent=he.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(ye,we){2&ye&&g.ekj("mat-drawer-container-explicit-backdrop",we._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[g._Bn([{provide:n,useExisting:Ae}])],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(ye,we){1&ye&&(g.F$t(le),g.YNc(0,ce,1,2,"div",0),g.Hsn(1),g.Hsn(2,1),g.YNc(3,se,2,0,"mat-drawer-content",1)),2&ye&&(g.Q6J("ngIf",we.hasBackdrop),g.xp6(3),g.Q6J("ngIf",!we._content))},dependencies:[e.O5,B],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}),Ae})(),Le=(()=>{class Ae extends B{constructor(ye,we,he,it,De){super(ye,we,he,it,De)}}return Ae.\u0275fac=function(ye){return new(ye||Ae)(g.Y36(g.sBO),g.Y36((0,g.Gpc)(()=>Ke)),g.Y36(g.SBq),g.Y36(t.mF),g.Y36(g.R0b))},Ae.\u0275cmp=g.Xpm({type:Ae,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(ye,we){2&ye&&g.Udp("margin-left",we._container._contentMargins.left,"px")("margin-right",we._container._contentMargins.right,"px")},features:[g._Bn([{provide:t.PQ,useExisting:Ae}]),g.qOj],ngContentSelectors:re,decls:1,vars:0,template:function(ye,we){1&ye&&(g.F$t(),g.Hsn(0))},encapsulation:2,changeDetection:0}),Ae})(),Ve=(()=>{class Ae extends z{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(ye){this._fixedInViewport=(0,h.Ig)(ye)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(ye){this._fixedTopGap=(0,h.su)(ye)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(ye){this._fixedBottomGap=(0,h.su)(ye)}}return Ae.\u0275fac=function(){let ue;return function(we){return(ue||(ue=g.n5z(Ae)))(we||Ae)}}(),Ae.\u0275cmp=g.Xpm({type:Ae,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(ye,we){2&ye&&(g.uIk("align",null),g.Udp("top",we.fixedInViewport?we.fixedTopGap:null,"px")("bottom",we.fixedInViewport?we.fixedBottomGap:null,"px"),g.ekj("mat-drawer-end","end"===we.position)("mat-drawer-over","over"===we.mode)("mat-drawer-push","push"===we.mode)("mat-drawer-side","side"===we.mode)("mat-drawer-opened",we.opened)("mat-sidenav-fixed",we.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[g.qOj],ngContentSelectors:re,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(ye,we){1&ye&&(g.F$t(),g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA())},dependencies:[t.PQ],encapsulation:2,data:{animation:[T.transformDrawer]},changeDetection:0}),Ae})(),Ke=(()=>{class Ae extends W{}return Ae.\u0275fac=function(){let ue;return function(we){return(ue||(ue=g.n5z(Ae)))(we||Ae)}}(),Ae.\u0275cmp=g.Xpm({type:Ae,selectors:[["mat-sidenav-container"]],contentQueries:function(ye,we,he){if(1&ye&&(g.Suo(he,Le,5),g.Suo(he,Ve,5)),2&ye){let it;g.iGM(it=g.CRH())&&(we._content=it.first),g.iGM(it=g.CRH())&&(we._allDrawers=it)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(ye,we){2&ye&&g.ekj("mat-drawer-container-explicit-backdrop",we._backdropOverride)},exportAs:["matSidenavContainer"],features:[g._Bn([{provide:n,useExisting:Ae}]),g.qOj],ngContentSelectors:c,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(ye,we){1&ye&&(g.F$t(d),g.YNc(0,i,1,2,"div",0),g.Hsn(1),g.Hsn(2,1),g.YNc(3,r,2,0,"mat-sidenav-content",1)),2&ye&&(g.Q6J("ngIf",we.hasBackdrop),g.xp6(3),g.Q6J("ngIf",!we._content))},dependencies:[e.O5,Le],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}),Ae})(),$e=(()=>{class Ae{}return Ae.\u0275fac=function(ye){return new(ye||Ae)},Ae.\u0275mod=g.oAB({type:Ae}),Ae.\u0275inj=g.cJS({imports:[e.ez,k.BQ,t.ZD,t.ZD,k.BQ]}),Ae})()},455:(ze,K,m)=>{"use strict";m.d(K,{Rr:()=>E,rP:()=>X});var t=m(4650),e=m(4006),g=m(4761),k=m(3238),o=m(1281),C=m(6895);const h=["switch"],P=["*"],u=new t.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),I={provide:e.JU,useExisting:(0,t.Gpc)(()=>E),multi:!0};class S{constructor(fe,re){this.source=fe,this.checked=re}}let A=0;const w=(0,k.sb)((0,k.pj)((0,k.Kr)((0,k.Id)(class{constructor($){this._elementRef=$}}))));let R=(()=>{class $ extends w{constructor(re,ee,ce,se,le,L,i){super(re),this._focusMonitor=ee,this._changeDetectorRef=ce,this.defaults=le,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(se)||0,this.color=this.defaultColor=le.color||"accent",this._noopAnimations="NoopAnimations"===L,this.id=this._uniqueId=`${i}${++A}`}get required(){return this._required}set required(re){this._required=(0,o.Ig)(re)}get checked(){return this._checked}set checked(re){this._checked=(0,o.Ig)(re),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(re=>{"keyboard"===re||"program"===re?(this._focused=!0,this._changeDetectorRef.markForCheck()):re||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(re){this.checked=!!re}registerOnChange(re){this._onChange=re}registerOnTouched(re){this._onTouched=re}setDisabledState(re){this.disabled=re,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 $.\u0275fac=function(re){t.$Z()},$.\u0275dir=t.lG2({type:$,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]}),$})(),E=(()=>{class $ extends R{constructor(re,ee,ce,se,le,L){super(re,ee,ce,se,le,L,"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 S(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(re){return new S(this,re)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return $.\u0275fac=function(re){return new(re||$)(t.Y36(t.SBq),t.Y36(g.tE),t.Y36(t.sBO),t.$8M("tabindex"),t.Y36(u),t.Y36(t.QbO,8))},$.\u0275cmp=t.Xpm({type:$,selectors:[["mat-slide-toggle"]],viewQuery:function(re,ee){if(1&re&&t.Gf(h,5),2&re){let ce;t.iGM(ce=t.CRH())&&(ee._switchElement=ce.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(re,ee){2&re&&(t.Ikx("id",ee.id),t.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),t.ekj("mat-mdc-slide-toggle-focused",ee._focused)("mat-mdc-slide-toggle-checked",ee.checked)("_mat-animation-noopable",ee._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[t._Bn([I]),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(re,ee){if(1&re&&(t.F$t(),t.TgZ(0,"div",0)(1,"button",1,2),t.NdJ("click",function(){return ee._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(se){return se.stopPropagation()}),t.Hsn(16),t.qZA()()),2&re){const ce=t.MAs(2);t.ekj("mdc-form-field--align-end","before"==ee.labelPosition),t.xp6(1),t.ekj("mdc-switch--selected",ee.checked)("mdc-switch--unselected",!ee.checked)("mdc-switch--checked",ee.checked)("mdc-switch--disabled",ee.disabled),t.Q6J("tabIndex",ee.tabIndex)("disabled",ee.disabled),t.uIk("id",ee.buttonId)("name",ee.name)("aria-label",ee.ariaLabel)("aria-labelledby",ee._getAriaLabelledBy())("aria-describedby",ee.ariaDescribedby)("aria-required",ee.required||null)("aria-checked",ee.checked),t.xp6(8),t.Q6J("matRippleTrigger",ce)("matRippleDisabled",ee.disableRipple||ee.disabled)("matRippleCentered",!0),t.xp6(6),t.Q6J("for",ee.buttonId),t.uIk("id",ee._labelId)}},dependencies:[k.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}),$})(),Q=(()=>{class ${}return $.\u0275fac=function(re){return new(re||$)},$.\u0275mod=t.oAB({type:$}),$.\u0275inj=t.cJS({}),$})(),X=(()=>{class ${}return $.\u0275fac=function(re){return new(re||$)},$.\u0275mod=t.oAB({type:$}),$.\u0275inj=t.cJS({imports:[Q,k.BQ,k.si,C.ez,Q,k.BQ]}),$})()},7009:(ze,K,m)=>{"use strict";m.d(K,{Ve:()=>d,ZX:()=>i,ux:()=>b});var t=m(4650),e=m(7579),g=m(6895),k=m(4859),o=m(7340),C=m(4080),h=m(3353),P=m(5698),u=m(2722),I=m(4761),S=m(2289),A=m(8184),w=m(3238);function R(T,N){if(1&T){const v=t.EpF();t.TgZ(0,"div",2)(1,"button",3),t.NdJ("click",function(){t.CHM(v);const y=t.oxw();return t.KtG(y.action())}),t._uU(2),t.qZA()()}if(2&T){const v=t.oxw();t.xp6(2),t.hij(" ",v.data.action," ")}}const E=["label"];function U(T,N){}const Y=Math.pow(2,31)-1;class Q{constructor(N,v){this._overlayRef=v,this._afterDismissed=new e.x,this._afterOpened=new e.x,this._onAction=new e.x,this._dismissedByAction=!1,this.containerInstance=N,N._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(N){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(N,Y))}_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 ${constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let fe=(()=>{class T{}return T.\u0275fac=function(v){return new(v||T)},T.\u0275dir=t.lG2({type:T,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),T})(),re=(()=>{class T{}return T.\u0275fac=function(v){return new(v||T)},T.\u0275dir=t.lG2({type:T,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),T})(),ee=(()=>{class T{}return T.\u0275fac=function(v){return new(v||T)},T.\u0275dir=t.lG2({type:T,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),T})(),ce=(()=>{class T{constructor(v,n){this.snackBarRef=v,this.data=n}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return T.\u0275fac=function(v){return new(v||T)(t.Y36(Q),t.Y36(X))},T.\u0275cmp=t.Xpm({type:T,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(v,n){1&v&&(t.TgZ(0,"div",0),t._uU(1),t.qZA(),t.YNc(2,R,3,1,"div",1)),2&v&&(t.xp6(1),t.hij(" ",n.data.message,"\n"),t.xp6(1),t.Q6J("ngIf",n.hasAction))},dependencies:[g.O5,k.lW,fe,re,ee],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),T})();const se={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 le=(()=>{class T extends C.en{constructor(v,n,y,B,z){super(),this._ngZone=v,this._elementRef=n,this._changeDetectorRef=y,this._platform=B,this.snackBarConfig=z,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=W=>{this._assertNotAttached();const Le=this._portalOutlet.attachDomPortal(W);return this._afterPortalAttached(),Le},this._live="assertive"!==z.politeness||z.announcementMessage?"off"===z.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(v){this._assertNotAttached();const n=this._portalOutlet.attachComponentPortal(v);return this._afterPortalAttached(),n}attachTemplatePortal(v){this._assertNotAttached();const n=this._portalOutlet.attachTemplatePortal(v);return this._afterPortalAttached(),n}onAnimationEnd(v){const{fromState:n,toState:y}=v;if(("void"===y&&"void"!==n||"hidden"===y)&&this._completeExit(),"visible"===y){const B=this._onEnter;this._ngZone.run(()=>{B.next(),B.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 v=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;n&&(Array.isArray(n)?n.forEach(y=>v.classList.add(y)):v.classList.add(n))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const v=this._elementRef.nativeElement.querySelector("[aria-hidden]"),n=this._elementRef.nativeElement.querySelector("[aria-live]");if(v&&n){let y=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&v.contains(document.activeElement)&&(y=document.activeElement),v.removeAttribute("aria-hidden"),n.appendChild(v),y?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return T.\u0275fac=function(v){return new(v||T)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(h.t4),t.Y36($))},T.\u0275dir=t.lG2({type:T,viewQuery:function(v,n){if(1&v&&t.Gf(C.Pl,7),2&v){let y;t.iGM(y=t.CRH())&&(n._portalOutlet=y.first)}},features:[t.qOj]}),T})(),L=(()=>{class T extends le{_afterPortalAttached(){super._afterPortalAttached();const v=this._label.nativeElement,n="mdc-snackbar__label";v.classList.toggle(n,!v.querySelector(`.${n}`))}}return T.\u0275fac=function(){let N;return function(n){return(N||(N=t.n5z(T)))(n||T)}}(),T.\u0275cmp=t.Xpm({type:T,selectors:[["mat-snack-bar-container"]],viewQuery:function(v,n){if(1&v&&t.Gf(E,7),2&v){let y;t.iGM(y=t.CRH())&&(n._label=y.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(v,n){1&v&&t.WFA("@state.done",function(B){return n.onAnimationEnd(B)}),2&v&&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(v,n){1&v&&(t.TgZ(0,"div",0)(1,"div",1,2)(3,"div",3),t.YNc(4,U,0,0,"ng-template",4),t.qZA(),t._UZ(5,"div"),t.qZA()()),2&v&&(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:[se.snackBarState]}}),T})(),i=(()=>{class T{}return T.\u0275fac=function(v){return new(v||T)},T.\u0275mod=t.oAB({type:T}),T.\u0275inj=t.cJS({imports:[A.U8,C.eL,g.ez,k.ot,w.BQ,w.BQ]}),T})();const d=new t.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function r(){return new $}});let c=(()=>{class T{constructor(v,n,y,B,z,W){this._overlay=v,this._live=n,this._injector=y,this._breakpointObserver=B,this._parentSnackBar=z,this._defaultConfig=W,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const v=this._parentSnackBar;return v?v._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(v){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=v:this._snackBarRefAtThisLevel=v}openFromComponent(v,n){return this._attach(v,n)}openFromTemplate(v,n){return this._attach(v,n)}open(v,n="",y){const B={...this._defaultConfig,...y};return B.data={message:v,action:n},B.announcementMessage===v&&(B.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,B)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(v,n){const B=t.zs3.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:$,useValue:n}]}),z=new C.C5(this.snackBarContainerComponent,n.viewContainerRef,B),W=v.attach(z);return W.instance.snackBarConfig=n,W.instance}_attach(v,n){const y={...new $,...this._defaultConfig,...n},B=this._createOverlay(y),z=this._attachSnackBarContainer(B,y),W=new Q(z,B);if(v instanceof t.Rgc){const Le=new C.UE(v,null,{$implicit:y.data,snackBarRef:W});W.instance=z.attachTemplatePortal(Le)}else{const Le=this._createInjector(y,W),Ve=new C.C5(v,void 0,Le),Ke=z.attachComponentPortal(Ve);W.instance=Ke.instance}return this._breakpointObserver.observe(S.u3.HandsetPortrait).pipe((0,u.R)(B.detachments())).subscribe(Le=>{B.overlayElement.classList.toggle(this.handsetCssClass,Le.matches)}),y.announcementMessage&&z._onAnnounce.subscribe(()=>{this._live.announce(y.announcementMessage,y.politeness)}),this._animateSnackBar(W,y),this._openedSnackBarRef=W,this._openedSnackBarRef}_animateSnackBar(v,n){v.afterDismissed().subscribe(()=>{this._openedSnackBarRef==v&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{v.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):v.containerInstance.enter(),n.duration&&n.duration>0&&v.afterOpened().subscribe(()=>v._dismissAfter(n.duration))}_createOverlay(v){const n=new A.X_;n.direction=v.direction;let y=this._overlay.position().global();const B="rtl"===v.direction,z="left"===v.horizontalPosition||"start"===v.horizontalPosition&&!B||"end"===v.horizontalPosition&&B,W=!z&&"center"!==v.horizontalPosition;return z?y.left("0"):W?y.right("0"):y.centerHorizontally(),"top"===v.verticalPosition?y.top("0"):y.bottom("0"),n.positionStrategy=y,this._overlay.create(n)}_createInjector(v,n){return t.zs3.create({parent:v&&v.viewContainerRef&&v.viewContainerRef.injector||this._injector,providers:[{provide:Q,useValue:n},{provide:X,useValue:v.data}]})}}return T.\u0275fac=function(v){return new(v||T)(t.LFG(A.aV),t.LFG(I.Kd),t.LFG(t.zs3),t.LFG(S.Yg),t.LFG(T,12),t.LFG(d))},T.\u0275prov=t.Yz7({token:T,factory:T.\u0275fac}),T})(),b=(()=>{class T extends c{constructor(v,n,y,B,z,W){super(v,n,y,B,z,W),this.simpleSnackBarComponent=ce,this.snackBarContainerComponent=L,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return T.\u0275fac=function(v){return new(v||T)(t.LFG(A.aV),t.LFG(I.Kd),t.LFG(t.zs3),t.LFG(S.Yg),t.LFG(T,12),t.LFG(d))},T.\u0275prov=t.Yz7({token:T,factory:T.\u0275fac,providedIn:i}),T})()},6308:(ze,K,m)=>{"use strict";m.d(K,{JX:()=>i,YE:()=>X,nU:()=>L});var t=m(4650),e=m(4761),g=m(1281),k=m(9521),o=m(3238),C=m(7579),h=m(6451),P=m(7340),u=m(6895);const I=["mat-sort-header",""];function S(r,d){if(1&r){const c=t.EpF();t.TgZ(0,"div",3),t.NdJ("@arrowPosition.start",function(){t.CHM(c);const T=t.oxw();return t.KtG(T._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){t.CHM(c);const T=t.oxw();return t.KtG(T._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 c=t.oxw();t.Q6J("@arrowOpacity",c._getArrowViewState())("@arrowPosition",c._getArrowViewState())("@allowChildren",c._getArrowDirectionState()),t.xp6(2),t.Q6J("@indicator",c._getArrowDirectionState()),t.xp6(1),t.Q6J("@leftPointer",c._getArrowDirectionState()),t.xp6(1),t.Q6J("@rightPointer",c._getArrowDirectionState())}}const A=["*"],Y=new t.OlP("MAT_SORT_DEFAULT_OPTIONS"),Q=(0,o.dB)((0,o.Id)(class{}));let X=(()=>{class r extends Q{constructor(c){super(),this._defaultOptions=c,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(c){this._direction=c}get disableClear(){return this._disableClear}set disableClear(c){this._disableClear=(0,g.Ig)(c)}register(c){this.sortables.set(c.id,c)}deregister(c){this.sortables.delete(c.id)}sort(c){this.active!=c.id?(this.active=c.id,this.direction=c.start?c.start:this.start):this.direction=this.getNextSortDirection(c),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(c){if(!c)return"";let T=function $(r,d){let c=["asc","desc"];return"desc"==r&&c.reverse(),d||c.push(""),c}(c.start||this.start,c?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),N=T.indexOf(this.direction)+1;return N>=T.length&&(N=0),T[N]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return r.\u0275fac=function(c){return new(c||r)(t.Y36(Y,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 fe=o.mZ.ENTERING+" "+o.yN.STANDARD_CURVE,re={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)(fe))]),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)(fe))]),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)(fe))]),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)(fe))]),arrowPosition:(0,P.X$)("arrowPosition",[(0,P.eR)("* => desc-to-hint, * => desc-to-active",(0,P.jt)(fe,(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)(fe,(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)(fe,(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)(fe,(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 ee=(()=>{class r{constructor(){this.changes=new C.x}}return r.\u0275fac=function(c){return new(c||r)},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const se={provide:ee,deps:[[new t.FiY,new t.tp0,ee]],useFactory:function ce(r){return r||new ee}},le=(0,o.Id)(class{});let L=(()=>{class r extends le{constructor(c,b,T,N,v,n,y,B){super(),this._intl=c,this._changeDetectorRef=b,this._sort=T,this._columnDef=N,this._focusMonitor=v,this._elementRef=n,this._ariaDescriber=y,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",B?.arrowPosition&&(this.arrowPosition=B?.arrowPosition),this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(c){this._updateSortActionDescription(c)}get disableClear(){return this._disableClear}set disableClear(c){this._disableClear=(0,g.Ig)(c)}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(c=>{const b=!!c;b!==this._showIndicatorHint&&(this._setIndicatorHintVisible(b),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(c){this._isDisabled()&&c||(this._showIndicatorHint=c,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(c){this._viewState=c||{},this._disableViewStateAnimation&&(this._viewState={toState:c.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(c){!this._isDisabled()&&(c.keyCode===k.L_||c.keyCode===k.K5)&&(c.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 c=this._viewState.fromState;return(c?`${c}-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(c){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,c)),this._sortActionDescription=c}_handleStateChanges(){this._rerenderSubscription=(0,h.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(c){return new(c||r)(t.Y36(ee),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(Y,8))},r.\u0275cmp=t.Xpm({type:r,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(c,b){1&c&&t.NdJ("click",function(){return b._handleClick()})("keydown",function(N){return b._handleKeydown(N)})("mouseenter",function(){return b._setIndicatorHintVisible(!0)})("mouseleave",function(){return b._setIndicatorHintVisible(!1)}),2&c&&(t.uIk("aria-sort",b._getAriaSortAttribute()),t.ekj("mat-sort-header-disabled",b._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[t.qOj],attrs:I,ngContentSelectors:A,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(c,b){1&c&&(t.F$t(),t.TgZ(0,"div",0)(1,"div",1),t.Hsn(2),t.qZA(),t.YNc(3,S,6,6,"div",2),t.qZA()),2&c&&(t.ekj("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before","before"===b.arrowPosition),t.uIk("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),t.xp6(3),t.Q6J("ngIf",b._renderArrow()))},dependencies:[u.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:[re.indicator,re.leftPointer,re.rightPointer,re.arrowOpacity,re.arrowPosition,re.allowChildren]},changeDetection:0}),r})(),i=(()=>{class r{}return r.\u0275fac=function(c){return new(c||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({providers:[se],imports:[u.ez,o.BQ]}),r})()},8425:(ze,K,m)=>{"use strict";m.d(K,{C0:()=>De,Ic:()=>me,T5:()=>Ze,VY:()=>W,Vq:()=>oe,fd:()=>te,z9:()=>he});var t=m(4080),e=m(2138),g=m(6895),k=m(4650),o=m(3238),C=m(7392),h=m(4761),P=m(7579),u=m(727),I=m(445),S=m(3900),A=m(4004),w=m(8675),R=m(2722),E=m(1884),U=m(7340);function Y(Ue,q){if(1&Ue&&k.GkF(0,8),2&Ue){const de=k.oxw();k.Q6J("ngTemplateOutlet",de.iconOverrides[de.state])("ngTemplateOutletContext",de._getIconContext())}}function Q(Ue,q){if(1&Ue&&(k.TgZ(0,"span",13),k._uU(1),k.qZA()),2&Ue){const de=k.oxw(2);k.xp6(1),k.Oqu(de._getDefaultTextForState(de.state))}}function X(Ue,q){if(1&Ue&&(k.TgZ(0,"span",14),k._uU(1),k.qZA()),2&Ue){const de=k.oxw(2);k.xp6(1),k.Oqu(de._intl.completedLabel)}}function $(Ue,q){if(1&Ue&&(k.TgZ(0,"span",14),k._uU(1),k.qZA()),2&Ue){const de=k.oxw(2);k.xp6(1),k.Oqu(de._intl.editableLabel)}}function fe(Ue,q){if(1&Ue&&(k.TgZ(0,"mat-icon",13),k._uU(1),k.qZA()),2&Ue){const de=k.oxw(2);k.xp6(1),k.Oqu(de._getDefaultTextForState(de.state))}}function re(Ue,q){if(1&Ue&&(k.ynx(0,9),k.YNc(1,Q,2,1,"span",10),k.YNc(2,X,2,1,"span",11),k.YNc(3,$,2,1,"span",11),k.YNc(4,fe,2,1,"mat-icon",12),k.BQk()),2&Ue){const de=k.oxw();k.Q6J("ngSwitch",de.state),k.xp6(1),k.Q6J("ngSwitchCase","number"),k.xp6(1),k.Q6J("ngIf","done"===de.state),k.xp6(1),k.Q6J("ngIf","edit"===de.state)}}function ee(Ue,q){if(1&Ue&&(k.TgZ(0,"div",15),k.GkF(1,16),k.qZA()),2&Ue){const de=k.oxw();k.xp6(1),k.Q6J("ngTemplateOutlet",de._templateLabel().template)}}function ce(Ue,q){if(1&Ue&&(k.TgZ(0,"div",15),k._uU(1),k.qZA()),2&Ue){const de=k.oxw();k.xp6(1),k.Oqu(de.label)}}function se(Ue,q){if(1&Ue&&(k.TgZ(0,"div",17),k._uU(1),k.qZA()),2&Ue){const de=k.oxw();k.xp6(1),k.Oqu(de._intl.optionalLabel)}}function le(Ue,q){if(1&Ue&&(k.TgZ(0,"div",18),k._uU(1),k.qZA()),2&Ue){const de=k.oxw();k.xp6(1),k.Oqu(de.errorMessage)}}function L(Ue,q){}function i(Ue,q){if(1&Ue&&(k.Hsn(0),k.YNc(1,L,0,0,"ng-template",0)),2&Ue){const de=k.oxw();k.xp6(1),k.Q6J("cdkPortalOutlet",de._portal)}}const r=["*"];function d(Ue,q){1&Ue&&k._UZ(0,"div",11)}const c=function(Ue,q){return{step:Ue,i:q}};function b(Ue,q){if(1&Ue&&(k.ynx(0),k.GkF(1,9),k.YNc(2,d,1,0,"div",10),k.BQk()),2&Ue){const de=q.$implicit,Ee=q.index,ke=q.last;k.oxw(2);const ie=k.MAs(4);k.xp6(1),k.Q6J("ngTemplateOutlet",ie)("ngTemplateOutletContext",k.WLB(3,c,de,Ee)),k.xp6(1),k.Q6J("ngIf",!ke)}}const T=function(Ue){return{animationDuration:Ue}},N=function(Ue,q){return{value:Ue,params:q}};function v(Ue,q){if(1&Ue){const de=k.EpF();k.TgZ(0,"div",12),k.NdJ("@horizontalStepTransition.done",function(ke){k.CHM(de);const ie=k.oxw(2);return k.KtG(ie._animationDone.next(ke))}),k.GkF(1,13),k.qZA()}if(2&Ue){const de=q.$implicit,Ee=q.index,ke=k.oxw(2);k.ekj("mat-horizontal-stepper-content-inactive",ke.selectedIndex!==Ee),k.Q6J("@horizontalStepTransition",k.WLB(8,N,ke._getAnimationDirection(Ee),k.VKq(6,T,ke._getAnimationDuration())))("id",ke._getStepContentId(Ee)),k.uIk("aria-labelledby",ke._getStepLabelId(Ee)),k.xp6(1),k.Q6J("ngTemplateOutlet",de.content)}}function n(Ue,q){if(1&Ue&&(k.TgZ(0,"div",4)(1,"div",5),k.YNc(2,b,3,6,"ng-container",6),k.qZA(),k.TgZ(3,"div",7),k.YNc(4,v,2,11,"div",8),k.qZA()()),2&Ue){const de=k.oxw();k.xp6(2),k.Q6J("ngForOf",de.steps),k.xp6(2),k.Q6J("ngForOf",de.steps)}}function y(Ue,q){if(1&Ue){const de=k.EpF();k.TgZ(0,"div",15),k.GkF(1,9),k.TgZ(2,"div",16)(3,"div",17),k.NdJ("@verticalStepTransition.done",function(ke){k.CHM(de);const ie=k.oxw(2);return k.KtG(ie._animationDone.next(ke))}),k.TgZ(4,"div",18),k.GkF(5,13),k.qZA()()()()}if(2&Ue){const de=q.$implicit,Ee=q.index,ke=q.last,ie=k.oxw(2),nt=k.MAs(4);k.xp6(1),k.Q6J("ngTemplateOutlet",nt)("ngTemplateOutletContext",k.WLB(10,c,de,Ee)),k.xp6(1),k.ekj("mat-stepper-vertical-line",!ke),k.xp6(1),k.ekj("mat-vertical-stepper-content-inactive",ie.selectedIndex!==Ee),k.Q6J("@verticalStepTransition",k.WLB(15,N,ie._getAnimationDirection(Ee),k.VKq(13,T,ie._getAnimationDuration())))("id",ie._getStepContentId(Ee)),k.uIk("aria-labelledby",ie._getStepLabelId(Ee)),k.xp6(2),k.Q6J("ngTemplateOutlet",de.content)}}function B(Ue,q){if(1&Ue&&(k.ynx(0),k.YNc(1,y,6,18,"div",14),k.BQk()),2&Ue){const de=k.oxw();k.xp6(1),k.Q6J("ngForOf",de.steps)}}function z(Ue,q){if(1&Ue){const de=k.EpF();k.TgZ(0,"mat-step-header",19),k.NdJ("click",function(){const ie=k.CHM(de).step;return k.KtG(ie.select())})("keydown",function(ke){k.CHM(de);const ie=k.oxw();return k.KtG(ie._onKeydown(ke))}),k.qZA()}if(2&Ue){const de=q.step,Ee=q.i,ke=k.oxw();k.ekj("mat-horizontal-stepper-header","horizontal"===ke.orientation)("mat-vertical-stepper-header","vertical"===ke.orientation),k.Q6J("tabIndex",ke._getFocusIndex()===Ee?0:-1)("id",ke._getStepLabelId(Ee))("index",Ee)("state",ke._getIndicatorType(Ee,de.state))("label",de.stepLabel||de.label)("selected",ke.selectedIndex===Ee)("active",ke._stepIsNavigable(Ee,de))("optional",de.optional)("errorMessage",de.errorMessage)("iconOverrides",ke._iconOverrides)("disableRipple",ke.disableRipple||!ke._stepIsNavigable(Ee,de))("color",de.color||ke.color),k.uIk("aria-posinset",Ee+1)("aria-setsize",ke.steps.length)("aria-controls",ke._getStepContentId(Ee))("aria-selected",ke.selectedIndex==Ee)("aria-label",de.ariaLabel||null)("aria-labelledby",!de.ariaLabel&&de.ariaLabelledby?de.ariaLabelledby:null)("aria-disabled",!ke._stepIsNavigable(Ee,de)||null)}}let W=(()=>{class Ue extends e.u6{}return Ue.\u0275fac=function(){let q;return function(Ee){return(q||(q=k.n5z(Ue)))(Ee||Ue)}}(),Ue.\u0275dir=k.lG2({type:Ue,selectors:[["","matStepLabel",""]],features:[k.qOj]}),Ue})(),Le=(()=>{class Ue{constructor(){this.changes=new P.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return Ue.\u0275fac=function(de){return new(de||Ue)},Ue.\u0275prov=k.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})();const Ke={provide:Le,deps:[[new k.FiY,new k.tp0,Le]],useFactory:function Ve(Ue){return Ue||new Le}},$e=(0,o.pj)(class extends e.KL{constructor(q){super(q)}},"primary");let Ae=(()=>{class Ue extends $e{constructor(de,Ee,ke,ie){super(ke),this._intl=de,this._focusMonitor=Ee,this._intlSubscription=de.changes.subscribe(()=>ie.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(de,Ee){de?this._focusMonitor.focusVia(this._elementRef,de,Ee):this._elementRef.nativeElement.focus(Ee)}_stringLabel(){return this.label instanceof W?null:this.label}_templateLabel(){return this.label instanceof W?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 Ue.\u0275fac=function(de){return new(de||Ue)(k.Y36(Le),k.Y36(h.tE),k.Y36(k.SBq),k.Y36(k.sBO))},Ue.\u0275cmp=k.Xpm({type:Ue,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:[k.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,Ee){1&de&&(k._UZ(0,"div",0),k.TgZ(1,"div")(2,"div",1),k.YNc(3,Y,1,2,"ng-container",2),k.YNc(4,re,5,4,"ng-container",3),k.qZA()(),k.TgZ(5,"div",4),k.YNc(6,ee,2,1,"div",5),k.YNc(7,ce,2,1,"div",5),k.YNc(8,se,2,1,"div",6),k.YNc(9,le,2,1,"div",7),k.qZA()),2&de&&(k.Q6J("matRippleTrigger",Ee._getHostElement())("matRippleDisabled",Ee.disableRipple),k.xp6(1),k.Gre("mat-step-icon-state-",Ee.state," mat-step-icon"),k.ekj("mat-step-icon-selected",Ee.selected),k.xp6(1),k.Q6J("ngSwitch",!(!Ee.iconOverrides||!Ee.iconOverrides[Ee.state])),k.xp6(1),k.Q6J("ngSwitchCase",!0),k.xp6(2),k.ekj("mat-step-label-active",Ee.active)("mat-step-label-selected",Ee.selected)("mat-step-label-error","error"==Ee.state),k.xp6(1),k.Q6J("ngIf",Ee._templateLabel()),k.xp6(1),k.Q6J("ngIf",Ee._stringLabel()),k.xp6(1),k.Q6J("ngIf",Ee.optional&&"error"!=Ee.state),k.xp6(1),k.Q6J("ngIf","error"==Ee.state))},dependencies:[g.O5,g.tP,g.RF,g.n9,g.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}),Ue})();const we={horizontalStepTransition:(0,U.X$)("horizontalStepTransition",[(0,U.SB)("previous",(0,U.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,U.SB)("current",(0,U.oB)({transform:"none",visibility:"inherit"})),(0,U.SB)("next",(0,U.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,U.eR)("* => *",(0,U.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,U.X$)("verticalStepTransition",[(0,U.SB)("previous",(0,U.oB)({height:"0px",visibility:"hidden"})),(0,U.SB)("next",(0,U.oB)({height:"0px",visibility:"hidden"})),(0,U.SB)("current",(0,U.oB)({height:"*",visibility:"inherit"})),(0,U.eR)("* <=> current",(0,U.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:"225ms"}})])};let he=(()=>{class Ue{constructor(de){this.templateRef=de}}return Ue.\u0275fac=function(de){return new(de||Ue)(k.Y36(k.Rgc))},Ue.\u0275dir=k.lG2({type:Ue,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),Ue})(),it=(()=>{class Ue{constructor(de){this._template=de}}return Ue.\u0275fac=function(de){return new(de||Ue)(k.Y36(k.Rgc))},Ue.\u0275dir=k.lG2({type:Ue,selectors:[["ng-template","matStepContent",""]]}),Ue})(),De=(()=>{class Ue extends e.be{constructor(de,Ee,ke,ie){super(de,ie),this._errorStateMatcher=Ee,this._viewContainerRef=ke,this._isSelected=u.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,S.w)(()=>this._stepper.selectionChange.pipe((0,A.U)(de=>de.selectedStep===this),(0,w.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,Ee){return this._errorStateMatcher.isErrorState(de,Ee)||!!(de&&de.invalid&&this.interacted)}}return Ue.\u0275fac=function(de){return new(de||Ue)(k.Y36((0,k.Gpc)(()=>oe)),k.Y36(o.rD,4),k.Y36(k.s_b),k.Y36(e.gx,8))},Ue.\u0275cmp=k.Xpm({type:Ue,selectors:[["mat-step"]],contentQueries:function(de,Ee,ke){if(1&de&&(k.Suo(ke,W,5),k.Suo(ke,it,5)),2&de){let ie;k.iGM(ie=k.CRH())&&(Ee.stepLabel=ie.first),k.iGM(ie=k.CRH())&&(Ee._lazyContent=ie.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[k._Bn([{provide:o.rD,useExisting:Ue},{provide:e.be,useExisting:Ue}]),k.qOj],ngContentSelectors:r,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(de,Ee){1&de&&(k.F$t(),k.YNc(0,i,2,1,"ng-template"))},dependencies:[t.Pl],encapsulation:2,changeDetection:0}),Ue})(),oe=(()=>{class Ue extends e.B8{constructor(de,Ee,ke){super(de,Ee,ke),this.steps=new k.n_E,this.animationDone=new k.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new P.x,this._animationDuration="";const ie=ke.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===ie?"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:Ee})=>this._iconOverrides[de]=Ee),this.steps.changes.pipe((0,R.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,E.x)((de,Ee)=>de.fromState===Ee.fromState&&de.toState===Ee.toState),(0,R.R)(this._destroyed)).subscribe(de=>{"current"===de.toState&&this.animationDone.emit()})}_stepIsNavigable(de,Ee){return Ee.completed||this.selectedIndex===de||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}}return Ue.\u0275fac=function(de){return new(de||Ue)(k.Y36(I.Is,8),k.Y36(k.sBO),k.Y36(k.SBq))},Ue.\u0275cmp=k.Xpm({type:Ue,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(de,Ee,ke){if(1&de&&(k.Suo(ke,De,5),k.Suo(ke,he,5)),2&de){let ie;k.iGM(ie=k.CRH())&&(Ee._steps=ie),k.iGM(ie=k.CRH())&&(Ee._icons=ie)}},viewQuery:function(de,Ee){if(1&de&&k.Gf(Ae,5),2&de){let ke;k.iGM(ke=k.CRH())&&(Ee._stepHeader=ke)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(de,Ee){2&de&&(k.uIk("aria-orientation",Ee.orientation),k.ekj("mat-stepper-horizontal","horizontal"===Ee.orientation)("mat-stepper-vertical","vertical"===Ee.orientation)("mat-stepper-label-position-end","horizontal"===Ee.orientation&&"end"==Ee.labelPosition)("mat-stepper-label-position-bottom","horizontal"===Ee.orientation&&"bottom"==Ee.labelPosition)("mat-stepper-header-position-bottom","bottom"===Ee.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[k._Bn([{provide:e.B8,useExisting:Ue}]),k.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,Ee){1&de&&(k.ynx(0,0),k.YNc(1,n,5,2,"div",1),k.YNc(2,B,2,1,"ng-container",2),k.BQk(),k.YNc(3,z,1,23,"ng-template",null,3,k.W1O)),2&de&&(k.Q6J("ngSwitch",Ee.orientation),k.xp6(1),k.Q6J("ngSwitchCase","horizontal"),k.xp6(1),k.Q6J("ngSwitchCase","vertical"))},dependencies:[g.sg,g.O5,g.tP,g.RF,g.n9,Ae],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:[we.horizontalStepTransition,we.verticalStepTransition]},changeDetection:0}),Ue})(),me=(()=>{class Ue extends e.st{}return Ue.\u0275fac=function(){let q;return function(Ee){return(q||(q=k.n5z(Ue)))(Ee||Ue)}}(),Ue.\u0275dir=k.lG2({type:Ue,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(de,Ee){2&de&&k.Ikx("type",Ee.type)},inputs:{type:"type"},features:[k.qOj]}),Ue})(),te=(()=>{class Ue extends e.po{}return Ue.\u0275fac=function(){let q;return function(Ee){return(q||(q=k.n5z(Ue)))(Ee||Ue)}}(),Ue.\u0275dir=k.lG2({type:Ue,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(de,Ee){2&de&&k.Ikx("type",Ee.type)},inputs:{type:"type"},features:[k.qOj]}),Ue})(),Ze=(()=>{class Ue{}return Ue.\u0275fac=function(de){return new(de||Ue)},Ue.\u0275mod=k.oAB({type:Ue}),Ue.\u0275inj=k.cJS({providers:[Ke,o.rD],imports:[o.BQ,g.ez,t.eL,e.U5,C.Ps,o.si,o.BQ]}),Ue})()},671:(ze,K,m)=>{"use strict";m.d(K,{ev:()=>_t,Dz:()=>st,w1:()=>ti,yh:()=>at,mD:()=>Ut,Q2:()=>je,Ke:()=>Bt,ge:()=>dt,fO:()=>ni,XQ:()=>Nt,as:()=>ai,Gk:()=>Fe,nj:()=>zt,BZ:()=>Ne,by:()=>Fi,p0:()=>mi});var t=m(4650),e=m(445),g=m(1281),k=m(5017),o=m(3353),C=m(531),h=m(6895),P=m(7579),u=m(457),I=m(1135),S=m(5191),A=m(9646),w=m(2722),R=m(5698);const E=[[["caption"]],[["colgroup"],["col"]]],U=["caption","colgroup, col"];function X(Je){return class extends Je{constructor(...wt){super(...wt),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(wt){const be=this._sticky;this._sticky=(0,g.Ig)(wt),this._hasStickyChanged=be!==this._sticky}hasStickyChanged(){const wt=this._hasStickyChanged;return this._hasStickyChanged=!1,wt}resetStickyChanged(){this._hasStickyChanged=!1}}}const $=new t.OlP("CDK_TABLE");let re=(()=>{class Je{constructor(be){this.template=be}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkCellDef",""]]}),Je})(),ee=(()=>{class Je{constructor(be){this.template=be}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkHeaderCellDef",""]]}),Je})(),ce=(()=>{class Je{constructor(be){this.template=be}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkFooterCellDef",""]]}),Je})();class se{}const le=X(se);let L=(()=>{class Je extends le{constructor(be){super(),this._table=be,this._stickyEnd=!1}get name(){return this._name}set name(be){this._setNameInput(be)}get stickyEnd(){return this._stickyEnd}set stickyEnd(be){const Pt=this._stickyEnd;this._stickyEnd=(0,g.Ig)(be),this._hasStickyChanged=Pt!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(be){be&&(this._name=be,this.cssClassFriendlyName=be.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36($,8))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkColumnDef",""]],contentQueries:function(be,Pt,qt){if(1&be&&(t.Suo(qt,re,5),t.Suo(qt,ee,5),t.Suo(qt,ce,5)),2&be){let gi;t.iGM(gi=t.CRH())&&(Pt.cell=gi.first),t.iGM(gi=t.CRH())&&(Pt.headerCell=gi.first),t.iGM(gi=t.CRH())&&(Pt.footerCell=gi.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[t._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Je}]),t.qOj]}),Je})();class i{constructor(wt,be){be.nativeElement.classList.add(...wt._columnCssClassName)}}let r=(()=>{class Je extends i{constructor(be,Pt){super(be,Pt)}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(L),t.Y36(t.SBq))},Je.\u0275dir=t.lG2({type:Je,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[t.qOj]}),Je})(),d=(()=>{class Je extends i{constructor(be,Pt){if(super(be,Pt),1===be._table?._elementRef.nativeElement.nodeType){const qt=be._table._elementRef.nativeElement.getAttribute("role");Pt.nativeElement.setAttribute("role","grid"===qt||"treegrid"===qt?"gridcell":"cell")}}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(L),t.Y36(t.SBq))},Je.\u0275dir=t.lG2({type:Je,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[t.qOj]}),Je})(),c=(()=>{class Je extends i{constructor(be,Pt){if(super(be,Pt),1===be._table?._elementRef.nativeElement.nodeType){const qt=be._table._elementRef.nativeElement.getAttribute("role");Pt.nativeElement.setAttribute("role","grid"===qt||"treegrid"===qt?"gridcell":"cell")}}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(L),t.Y36(t.SBq))},Je.\u0275dir=t.lG2({type:Je,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[t.qOj]}),Je})();class b{constructor(){this.tasks=[],this.endTasks=[]}}const T=new t.OlP("_COALESCED_STYLE_SCHEDULER");let N=(()=>{class Je{constructor(be){this._ngZone=be,this._currentSchedule=null,this._destroyed=new P.x}schedule(be){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(be)}scheduleEnd(be){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(be)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new b,this._getScheduleObservable().pipe((0,w.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const be=this._currentSchedule;this._currentSchedule=new b;for(const Pt of be.tasks)Pt();for(const Pt of be.endTasks)Pt()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,u.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,R.q)(1))}}return Je.\u0275fac=function(be){return new(be||Je)(t.LFG(t.R0b))},Je.\u0275prov=t.Yz7({token:Je,factory:Je.\u0275fac}),Je})(),n=(()=>{class Je{constructor(be,Pt){this.template=be,this._differs=Pt}ngOnChanges(be){if(!this._columnsDiffer){const Pt=be.columns&&be.columns.currentValue||[];this._columnsDiffer=this._differs.find(Pt).create(),this._columnsDiffer.diff(Pt)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(be){return this instanceof z?be.headerCell.template:this instanceof Ve?be.footerCell.template:be.cell.template}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc),t.Y36(t.ZZ4))},Je.\u0275dir=t.lG2({type:Je,features:[t.TTD]}),Je})();class y extends n{}const B=X(y);let z=(()=>{class Je extends B{constructor(be,Pt,qt){super(be,Pt),this._table=qt}ngOnChanges(be){super.ngOnChanges(be)}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36($,8))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[t.qOj,t.TTD]}),Je})();class W extends n{}const Le=X(W);let Ve=(()=>{class Je extends Le{constructor(be,Pt,qt){super(be,Pt),this._table=qt}ngOnChanges(be){super.ngOnChanges(be)}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36($,8))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[t.qOj,t.TTD]}),Je})(),Ke=(()=>{class Je extends n{constructor(be,Pt,qt){super(be,Pt),this._table=qt}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36($,8))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[t.qOj]}),Je})(),$e=(()=>{class Je{constructor(be){this._viewContainer=be,Je.mostRecentCellOutlet=this}ngOnDestroy(){Je.mostRecentCellOutlet===this&&(Je.mostRecentCellOutlet=null)}}return Je.mostRecentCellOutlet=null,Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.s_b))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkCellOutlet",""]]}),Je})(),Ae=(()=>{class Je{}return Je.\u0275fac=function(be){return new(be||Je)},Je.\u0275cmp=t.Xpm({type:Je,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(be,Pt){1&be&&t.GkF(0,0)},dependencies:[$e],encapsulation:2}),Je})(),ue=(()=>{class Je{}return Je.\u0275fac=function(be){return new(be||Je)},Je.\u0275cmp=t.Xpm({type:Je,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(be,Pt){1&be&&t.GkF(0,0)},dependencies:[$e],encapsulation:2}),Je})(),ye=(()=>{class Je{}return Je.\u0275fac=function(be){return new(be||Je)},Je.\u0275cmp=t.Xpm({type:Je,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(be,Pt){1&be&&t.GkF(0,0)},dependencies:[$e],encapsulation:2}),Je})(),we=(()=>{class Je{constructor(be){this.templateRef=be,this._contentClassName="cdk-no-data-row"}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc))},Je.\u0275dir=t.lG2({type:Je,selectors:[["ng-template","cdkNoDataRow",""]]}),Je})();const he=["top","bottom","left","right"];class it{constructor(wt,be,Pt,qt,gi=!0,Si=!0,ki){this._isNativeHtmlTable=wt,this._stickCellCss=be,this.direction=Pt,this._coalescedStyleScheduler=qt,this._isBrowser=gi,this._needsPositionStickyOnElement=Si,this._positionListener=ki,this._cachedCellWidths=[],this._borderCellCss={top:`${be}-border-elem-top`,bottom:`${be}-border-elem-bottom`,left:`${be}-border-elem-left`,right:`${be}-border-elem-right`}}clearStickyPositioning(wt,be){const Pt=[];for(const qt of wt)if(qt.nodeType===qt.ELEMENT_NODE){Pt.push(qt);for(let gi=0;gi<qt.children.length;gi++)Pt.push(qt.children[gi])}this._coalescedStyleScheduler.schedule(()=>{for(const qt of Pt)this._removeStickyStyle(qt,be)})}updateStickyColumns(wt,be,Pt,qt=!0){if(!wt.length||!this._isBrowser||!be.some(Xe=>Xe)&&!Pt.some(Xe=>Xe))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const gi=wt[0],Si=gi.children.length,ki=this._getCellWidths(gi,qt),Gi=this._getStickyStartColumnPositions(ki,be),Gt=this._getStickyEndColumnPositions(ki,Pt),di=be.lastIndexOf(!0),ge=Pt.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Xe="rtl"===this.direction,Et=Xe?"right":"left",jt=Xe?"left":"right";for(const Wt of wt)for(let si=0;si<Si;si++){const Yt=Wt.children[si];be[si]&&this._addStickyStyle(Yt,Et,Gi[si],si===di),Pt[si]&&this._addStickyStyle(Yt,jt,Gt[si],si===ge)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===di?[]:ki.slice(0,di+1).map((Wt,si)=>be[si]?Wt:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===ge?[]:ki.slice(ge).map((Wt,si)=>Pt[si+ge]?Wt:null).reverse()}))})}stickRows(wt,be,Pt){if(!this._isBrowser)return;const qt="bottom"===Pt?wt.slice().reverse():wt,gi="bottom"===Pt?be.slice().reverse():be,Si=[],ki=[],Gi=[];for(let di=0,ge=0;di<qt.length;di++){if(!gi[di])continue;Si[di]=ge;const Xe=qt[di];Gi[di]=this._isNativeHtmlTable?Array.from(Xe.children):[Xe];const Et=Xe.getBoundingClientRect().height;ge+=Et,ki[di]=Et}const Gt=gi.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let di=0;di<qt.length;di++){if(!gi[di])continue;const ge=Si[di],Xe=di===Gt;for(const Et of Gi[di])this._addStickyStyle(Et,Pt,ge,Xe)}"top"===Pt?this._positionListener?.stickyHeaderRowsUpdated({sizes:ki,offsets:Si,elements:Gi}):this._positionListener?.stickyFooterRowsUpdated({sizes:ki,offsets:Si,elements:Gi})})}updateStickyFooterContainer(wt,be){if(!this._isNativeHtmlTable)return;const Pt=wt.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{be.some(qt=>!qt)?this._removeStickyStyle(Pt,["bottom"]):this._addStickyStyle(Pt,"bottom",0,!1)})}_removeStickyStyle(wt,be){for(const qt of be)wt.style[qt]="",wt.classList.remove(this._borderCellCss[qt]);he.some(qt=>-1===be.indexOf(qt)&&wt.style[qt])?wt.style.zIndex=this._getCalculatedZIndex(wt):(wt.style.zIndex="",this._needsPositionStickyOnElement&&(wt.style.position=""),wt.classList.remove(this._stickCellCss))}_addStickyStyle(wt,be,Pt,qt){wt.classList.add(this._stickCellCss),qt&&wt.classList.add(this._borderCellCss[be]),wt.style[be]=`${Pt}px`,wt.style.zIndex=this._getCalculatedZIndex(wt),this._needsPositionStickyOnElement&&(wt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(wt){const be={top:100,bottom:10,left:1,right:1};let Pt=0;for(const qt of he)wt.style[qt]&&(Pt+=be[qt]);return Pt?`${Pt}`:""}_getCellWidths(wt,be=!0){if(!be&&this._cachedCellWidths.length)return this._cachedCellWidths;const Pt=[],qt=wt.children;for(let gi=0;gi<qt.length;gi++)Pt.push(qt[gi].getBoundingClientRect().width);return this._cachedCellWidths=Pt,Pt}_getStickyStartColumnPositions(wt,be){const Pt=[];let qt=0;for(let gi=0;gi<wt.length;gi++)be[gi]&&(Pt[gi]=qt,qt+=wt[gi]);return Pt}_getStickyEndColumnPositions(wt,be){const Pt=[];let qt=0;for(let gi=wt.length;gi>0;gi--)be[gi]&&(Pt[gi]=qt,qt+=wt[gi]);return Pt}}const Ee=new t.OlP("CDK_SPL");let ie=(()=>{class Je{constructor(be,Pt){this.viewContainer=be,this.elementRef=Pt}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.s_b),t.Y36(t.SBq))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","rowOutlet",""]]}),Je})(),nt=(()=>{class Je{constructor(be,Pt){this.viewContainer=be,this.elementRef=Pt}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.s_b),t.Y36(t.SBq))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","headerRowOutlet",""]]}),Je})(),Ct=(()=>{class Je{constructor(be,Pt){this.viewContainer=be,this.elementRef=Pt}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.s_b),t.Y36(t.SBq))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","footerRowOutlet",""]]}),Je})(),rt=(()=>{class Je{constructor(be,Pt){this.viewContainer=be,this.elementRef=Pt}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.s_b),t.Y36(t.SBq))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","noDataRowOutlet",""]]}),Je})(),mt=(()=>{class Je{constructor(be,Pt,qt,gi,Si,ki,Gi,Gt,di,ge,Xe,Et){this._differs=be,this._changeDetectorRef=Pt,this._elementRef=qt,this._dir=Si,this._platform=Gi,this._viewRepeater=Gt,this._coalescedStyleScheduler=di,this._viewportRuler=ge,this._stickyPositioningListener=Xe,this._ngZone=Et,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 I.X({start:0,end:Number.MAX_VALUE}),gi||this._elementRef.nativeElement.setAttribute("role","table"),this._document=ki,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(be){this._trackByFn=be}get dataSource(){return this._dataSource}set dataSource(be){this._dataSource!==be&&this._switchDataSource(be)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(be){this._multiTemplateDataRows=(0,g.Ig)(be),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(be){this._fixedLayout=(0,g.Ig)(be),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((be,Pt)=>this.trackBy?this.trackBy(Pt.dataIndex,Pt.data):Pt),this._viewportRuler.change().pipe((0,w.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Pt=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Pt,this._forceRecalculateCellWidths=Pt,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(be=>{be.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,k.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const be=this._dataDiffer.diff(this._renderRows);if(!be)return this._updateNoDataRow(),void this.contentChanged.next();const Pt=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(be,Pt,(qt,gi,Si)=>this._getEmbeddedViewArgs(qt.item,Si),qt=>qt.item.data,qt=>{1===qt.operation&&qt.context&&this._renderCellTemplateForItem(qt.record.item.rowDef,qt.context)}),this._updateRowIndexContext(),be.forEachIdentityChange(qt=>{Pt.get(qt.currentIndex).context.$implicit=qt.item.data}),this._updateNoDataRow(),this._ngZone&&t.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,R.q)(1),(0,w.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(be){this._customColumnDefs.add(be)}removeColumnDef(be){this._customColumnDefs.delete(be)}addRowDef(be){this._customRowDefs.add(be)}removeRowDef(be){this._customRowDefs.delete(be)}addHeaderRowDef(be){this._customHeaderRowDefs.add(be),this._headerRowDefChanged=!0}removeHeaderRowDef(be){this._customHeaderRowDefs.delete(be),this._headerRowDefChanged=!0}addFooterRowDef(be){this._customFooterRowDefs.add(be),this._footerRowDefChanged=!0}removeFooterRowDef(be){this._customFooterRowDefs.delete(be),this._footerRowDefChanged=!0}setNoDataRow(be){this._customNoDataRow=be}updateStickyHeaderRowStyles(){const be=this._getRenderedRows(this._headerRowOutlet),qt=this._elementRef.nativeElement.querySelector("thead");qt&&(qt.style.display=be.length?"":"none");const gi=this._headerRowDefs.map(Si=>Si.sticky);this._stickyStyler.clearStickyPositioning(be,["top"]),this._stickyStyler.stickRows(be,gi,"top"),this._headerRowDefs.forEach(Si=>Si.resetStickyChanged())}updateStickyFooterRowStyles(){const be=this._getRenderedRows(this._footerRowOutlet),qt=this._elementRef.nativeElement.querySelector("tfoot");qt&&(qt.style.display=be.length?"":"none");const gi=this._footerRowDefs.map(Si=>Si.sticky);this._stickyStyler.clearStickyPositioning(be,["bottom"]),this._stickyStyler.stickRows(be,gi,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,gi),this._footerRowDefs.forEach(Si=>Si.resetStickyChanged())}updateStickyColumnStyles(){const be=this._getRenderedRows(this._headerRowOutlet),Pt=this._getRenderedRows(this._rowOutlet),qt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...be,...Pt,...qt],["left","right"]),this._stickyColumnStylesNeedReset=!1),be.forEach((gi,Si)=>{this._addStickyColumnStyles([gi],this._headerRowDefs[Si])}),this._rowDefs.forEach(gi=>{const Si=[];for(let ki=0;ki<Pt.length;ki++)this._renderRows[ki].rowDef===gi&&Si.push(Pt[ki]);this._addStickyColumnStyles(Si,gi)}),qt.forEach((gi,Si)=>{this._addStickyColumnStyles([gi],this._footerRowDefs[Si])}),Array.from(this._columnDefsByName.values()).forEach(gi=>gi.resetStickyChanged())}_getAllRenderRows(){const be=[],Pt=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let qt=0;qt<this._data.length;qt++){let gi=this._data[qt];const Si=this._getRenderRowsForData(gi,qt,Pt.get(gi));this._cachedRenderRowsMap.has(gi)||this._cachedRenderRowsMap.set(gi,new WeakMap);for(let ki=0;ki<Si.length;ki++){let Gi=Si[ki];const Gt=this._cachedRenderRowsMap.get(Gi.data);Gt.has(Gi.rowDef)?Gt.get(Gi.rowDef).push(Gi):Gt.set(Gi.rowDef,[Gi]),be.push(Gi)}}return be}_getRenderRowsForData(be,Pt,qt){return this._getRowDefs(be,Pt).map(Si=>{const ki=qt&&qt.has(Si)?qt.get(Si):[];if(ki.length){const Gi=ki.shift();return Gi.dataIndex=Pt,Gi}return{data:be,rowDef:Si,dataIndex:Pt}})}_cacheColumnDefs(){this._columnDefsByName.clear(),St(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Pt=>{this._columnDefsByName.has(Pt.name),this._columnDefsByName.set(Pt.name,Pt)})}_cacheRowDefs(){this._headerRowDefs=St(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=St(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=St(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const be=this._rowDefs.filter(Pt=>!Pt.when);this._defaultRowDef=be[0]}_renderUpdatedColumns(){const be=(Si,ki)=>Si||!!ki.getColumnsDiff(),Pt=this._rowDefs.reduce(be,!1);Pt&&this._forceRenderDataRows();const qt=this._headerRowDefs.reduce(be,!1);qt&&this._forceRenderHeaderRows();const gi=this._footerRowDefs.reduce(be,!1);return gi&&this._forceRenderFooterRows(),Pt||qt||gi}_switchDataSource(be){this._data=[],(0,k.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),be||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=be}_observeRenderChanges(){if(!this.dataSource)return;let be;(0,k.Z9)(this.dataSource)?be=this.dataSource.connect(this):(0,S.b)(this.dataSource)?be=this.dataSource:Array.isArray(this.dataSource)&&(be=(0,A.of)(this.dataSource)),this._renderChangeSubscription=be.pipe((0,w.R)(this._onDestroy)).subscribe(Pt=>{this._data=Pt||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((be,Pt)=>this._renderRow(this._headerRowOutlet,be,Pt)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((be,Pt)=>this._renderRow(this._footerRowOutlet,be,Pt)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(be,Pt){const qt=Array.from(Pt.columns||[]).map(ki=>this._columnDefsByName.get(ki)),gi=qt.map(ki=>ki.sticky),Si=qt.map(ki=>ki.stickyEnd);this._stickyStyler.updateStickyColumns(be,gi,Si,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(be){const Pt=[];for(let qt=0;qt<be.viewContainer.length;qt++){const gi=be.viewContainer.get(qt);Pt.push(gi.rootNodes[0])}return Pt}_getRowDefs(be,Pt){if(1==this._rowDefs.length)return[this._rowDefs[0]];let qt=[];if(this.multiTemplateDataRows)qt=this._rowDefs.filter(gi=>!gi.when||gi.when(Pt,be));else{let gi=this._rowDefs.find(Si=>Si.when&&Si.when(Pt,be))||this._defaultRowDef;gi&&qt.push(gi)}return qt}_getEmbeddedViewArgs(be,Pt){return{templateRef:be.rowDef.template,context:{$implicit:be.data},index:Pt}}_renderRow(be,Pt,qt,gi={}){const Si=be.viewContainer.createEmbeddedView(Pt.template,gi,qt);return this._renderCellTemplateForItem(Pt,gi),Si}_renderCellTemplateForItem(be,Pt){for(let qt of this._getCellTemplates(be))$e.mostRecentCellOutlet&&$e.mostRecentCellOutlet._viewContainer.createEmbeddedView(qt,Pt);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const be=this._rowOutlet.viewContainer;for(let Pt=0,qt=be.length;Pt<qt;Pt++){const Si=be.get(Pt).context;Si.count=qt,Si.first=0===Pt,Si.last=Pt===qt-1,Si.even=Pt%2==0,Si.odd=!Si.even,this.multiTemplateDataRows?(Si.dataIndex=this._renderRows[Pt].dataIndex,Si.renderIndex=Pt):Si.index=this._renderRows[Pt].dataIndex}}_getCellTemplates(be){return be&&be.columns?Array.from(be.columns,Pt=>{const qt=this._columnDefsByName.get(Pt);return be.extractCellTemplate(qt)}):[]}_applyNativeTableSections(){const be=this._document.createDocumentFragment(),Pt=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const qt of Pt){const gi=this._document.createElement(qt.tag);gi.setAttribute("role","rowgroup");for(const Si of qt.outlets)gi.appendChild(Si.elementRef.nativeElement);be.appendChild(gi)}this._elementRef.nativeElement.appendChild(be)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const be=(Pt,qt)=>Pt||qt.hasStickyChanged();this._headerRowDefs.reduce(be,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(be,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(be,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new it(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,A.of)()).pipe((0,w.R)(this._onDestroy)).subscribe(Pt=>{this._stickyStyler.direction=Pt,this.updateStickyColumnStyles()})}_getOwnDefs(be){return be.filter(Pt=>!Pt._table||Pt._table===this)}_updateNoDataRow(){const be=this._customNoDataRow||this._noDataRow;if(!be)return;const Pt=0===this._rowOutlet.viewContainer.length;if(Pt===this._isShowingNoDataRow)return;const qt=this._noDataRowOutlet.viewContainer;if(Pt){const gi=qt.createEmbeddedView(be.templateRef),Si=gi.rootNodes[0];1===gi.rootNodes.length&&Si?.nodeType===this._document.ELEMENT_NODE&&(Si.setAttribute("role","row"),Si.classList.add(be._contentClassName))}else qt.clear();this._isShowingNoDataRow=Pt}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.ZZ4),t.Y36(t.sBO),t.Y36(t.SBq),t.$8M("role"),t.Y36(e.Is,8),t.Y36(h.K0),t.Y36(o.t4),t.Y36(k.k),t.Y36(T),t.Y36(C.rL),t.Y36(Ee,12),t.Y36(t.R0b,8))},Je.\u0275cmp=t.Xpm({type:Je,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(be,Pt,qt){if(1&be&&(t.Suo(qt,we,5),t.Suo(qt,L,5),t.Suo(qt,Ke,5),t.Suo(qt,z,5),t.Suo(qt,Ve,5)),2&be){let gi;t.iGM(gi=t.CRH())&&(Pt._noDataRow=gi.first),t.iGM(gi=t.CRH())&&(Pt._contentColumnDefs=gi),t.iGM(gi=t.CRH())&&(Pt._contentRowDefs=gi),t.iGM(gi=t.CRH())&&(Pt._contentHeaderRowDefs=gi),t.iGM(gi=t.CRH())&&(Pt._contentFooterRowDefs=gi)}},viewQuery:function(be,Pt){if(1&be&&(t.Gf(ie,7),t.Gf(nt,7),t.Gf(Ct,7),t.Gf(rt,7)),2&be){let qt;t.iGM(qt=t.CRH())&&(Pt._rowOutlet=qt.first),t.iGM(qt=t.CRH())&&(Pt._headerRowOutlet=qt.first),t.iGM(qt=t.CRH())&&(Pt._footerRowOutlet=qt.first),t.iGM(qt=t.CRH())&&(Pt._noDataRowOutlet=qt.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(be,Pt){2&be&&t.ekj("cdk-table-fixed-layout",Pt.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[t._Bn([{provide:$,useExisting:Je},{provide:k.k,useClass:k.yy},{provide:T,useClass:N},{provide:Ee,useValue:null}])],ngContentSelectors:U,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(be,Pt){1&be&&(t.F$t(E),t.Hsn(0),t.Hsn(1,1),t.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[ie,nt,Ct,rt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),Je})();function St(Je,wt){return Je.concat(Array.from(wt))}let xt=(()=>{class Je{}return Je.\u0275fac=function(be){return new(be||Je)},Je.\u0275mod=t.oAB({type:Je}),Je.\u0275inj=t.cJS({imports:[C.Cl]}),Je})();var Pe=m(3238),et=m(6451),Vt=m(9841),Lt=m(4004);const Ft=[[["caption"]],[["colgroup"],["col"]]],bt=["caption","colgroup, col"];let Ne=(()=>{class Je extends mt{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 Je.\u0275fac=function(){let wt;return function(Pt){return(wt||(wt=t.n5z(Je)))(Pt||Je)}}(),Je.\u0275cmp=t.Xpm({type:Je,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(be,Pt){2&be&&t.ekj("mdc-table-fixed-layout",Pt.fixedLayout)},exportAs:["matTable"],features:[t._Bn([{provide:mt,useExisting:Je},{provide:$,useExisting:Je},{provide:T,useClass:N},{provide:k.k,useClass:k.yy},{provide:Ee,useValue:null}]),t.qOj],ngContentSelectors:bt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(be,Pt){1&be&&(t.F$t(Ft),t.Hsn(0),t.Hsn(1,1),t.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[ie,nt,Ct,rt],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}),Je})(),st=(()=>{class Je extends re{}return Je.\u0275fac=function(){let wt;return function(Pt){return(wt||(wt=t.n5z(Je)))(Pt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["","matCellDef",""]],features:[t._Bn([{provide:re,useExisting:Je}]),t.qOj]}),Je})(),ni=(()=>{class Je extends ee{}return Je.\u0275fac=function(){let wt;return function(Pt){return(wt||(wt=t.n5z(Je)))(Pt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["","matHeaderCellDef",""]],features:[t._Bn([{provide:ee,useExisting:Je}]),t.qOj]}),Je})(),Ut=(()=>{class Je extends ce{}return Je.\u0275fac=function(){let wt;return function(Pt){return(wt||(wt=t.n5z(Je)))(Pt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["","matFooterCellDef",""]],features:[t._Bn([{provide:ce,useExisting:Je}]),t.qOj]}),Je})(),ti=(()=>{class Je extends L{get name(){return this._name}set name(be){this._setNameInput(be)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return Je.\u0275fac=function(){let wt;return function(Pt){return(wt||(wt=t.n5z(Je)))(Pt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[t._Bn([{provide:L,useExisting:Je},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Je}]),t.qOj]}),Je})(),dt=(()=>{class Je extends r{}return Je.\u0275fac=function(){let wt;return function(Pt){return(wt||(wt=t.n5z(Je)))(Pt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[t.qOj]}),Je})(),at=(()=>{class Je extends d{}return Je.\u0275fac=function(){let wt;return function(Pt){return(wt||(wt=t.n5z(Je)))(Pt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[t.qOj]}),Je})(),_t=(()=>{class Je extends c{}return Je.\u0275fac=function(){let wt;return function(Pt){return(wt||(wt=t.n5z(Je)))(Pt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[t.qOj]}),Je})(),ai=(()=>{class Je extends z{}return Je.\u0275fac=function(){let wt;return function(Pt){return(wt||(wt=t.n5z(Je)))(Pt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[t._Bn([{provide:z,useExisting:Je}]),t.qOj]}),Je})(),Bt=(()=>{class Je extends Ve{}return Je.\u0275fac=function(){let wt;return function(Pt){return(wt||(wt=t.n5z(Je)))(Pt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[t._Bn([{provide:Ve,useExisting:Je}]),t.qOj]}),Je})(),zt=(()=>{class Je extends Ke{}return Je.\u0275fac=function(){let wt;return function(Pt){return(wt||(wt=t.n5z(Je)))(Pt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[t._Bn([{provide:Ke,useExisting:Je}]),t.qOj]}),Je})(),Nt=(()=>{class Je extends Ae{}return Je.\u0275fac=function(){let wt;return function(Pt){return(wt||(wt=t.n5z(Je)))(Pt||Je)}}(),Je.\u0275cmp=t.Xpm({type:Je,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:Ae,useExisting:Je}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(be,Pt){1&be&&t.GkF(0,0)},dependencies:[$e],encapsulation:2}),Je})(),je=(()=>{class Je extends ue{}return Je.\u0275fac=function(){let wt;return function(Pt){return(wt||(wt=t.n5z(Je)))(Pt||Je)}}(),Je.\u0275cmp=t.Xpm({type:Je,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:ue,useExisting:Je}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(be,Pt){1&be&&t.GkF(0,0)},dependencies:[$e],encapsulation:2}),Je})(),Fe=(()=>{class Je extends ye{}return Je.\u0275fac=function(){let wt;return function(Pt){return(wt||(wt=t.n5z(Je)))(Pt||Je)}}(),Je.\u0275cmp=t.Xpm({type:Je,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[t._Bn([{provide:ye,useExisting:Je}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(be,Pt){1&be&&t.GkF(0,0)},dependencies:[$e],encapsulation:2}),Je})(),mi=(()=>{class Je{}return Je.\u0275fac=function(be){return new(be||Je)},Je.\u0275mod=t.oAB({type:Je}),Je.\u0275inj=t.cJS({imports:[Pe.BQ,xt,Pe.BQ]}),Je})();class xi extends k.o2{constructor(wt=[]){super(),this._renderData=new I.X([]),this._filter=new I.X(""),this._internalPageChanges=new P.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(be,Pt)=>{const qt=be[Pt];if((0,g.t6)(qt)){const gi=Number(qt);return gi<9007199254740991?gi:qt}return qt},this.sortData=(be,Pt)=>{const qt=Pt.active,gi=Pt.direction;return qt&&""!=gi?be.sort((Si,ki)=>{let Gi=this.sortingDataAccessor(Si,qt),Gt=this.sortingDataAccessor(ki,qt);const di=typeof Gi,ge=typeof Gt;di!==ge&&("number"===di&&(Gi+=""),"number"===ge&&(Gt+=""));let Xe=0;return null!=Gi&&null!=Gt?Gi>Gt?Xe=1:Gi<Gt&&(Xe=-1):null!=Gi?Xe=1:null!=Gt&&(Xe=-1),Xe*("asc"==gi?1:-1)}):be},this.filterPredicate=(be,Pt)=>{const qt=Object.keys(be).reduce((Si,ki)=>Si+be[ki]+"\u25ec","").toLowerCase(),gi=Pt.trim().toLowerCase();return-1!=qt.indexOf(gi)},this._data=new I.X(wt),this._updateChangeSubscription()}get data(){return this._data.value}set data(wt){wt=Array.isArray(wt)?wt:[],this._data.next(wt),this._renderChangesSubscription||this._filterData(wt)}get filter(){return this._filter.value}set filter(wt){this._filter.next(wt),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(wt){this._sort=wt,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(wt){this._paginator=wt,this._updateChangeSubscription()}_updateChangeSubscription(){const wt=this._sort?(0,et.T)(this._sort.sortChange,this._sort.initialized):(0,A.of)(null),be=this._paginator?(0,et.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,A.of)(null),qt=(0,Vt.a)([this._data,this._filter]).pipe((0,Lt.U)(([ki])=>this._filterData(ki))),gi=(0,Vt.a)([qt,wt]).pipe((0,Lt.U)(([ki])=>this._orderData(ki))),Si=(0,Vt.a)([gi,be]).pipe((0,Lt.U)(([ki])=>this._pageData(ki)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Si.subscribe(ki=>this._renderData.next(ki))}_filterData(wt){return this.filteredData=null==this.filter||""===this.filter?wt:wt.filter(be=>this.filterPredicate(be,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(wt){return this.sort?this.sortData(wt.slice(),this.sort):wt}_pageData(wt){if(!this.paginator)return wt;const be=this.paginator.pageIndex*this.paginator.pageSize;return wt.slice(be,be+this.paginator.pageSize)}_updatePaginator(wt){Promise.resolve().then(()=>{const be=this.paginator;if(be&&(be.length=wt,be.pageIndex>0)){const Pt=Math.ceil(be.length/be.pageSize)-1||0,qt=Math.min(be.pageIndex,Pt);qt!==be.pageIndex&&(be.pageIndex=qt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class Fi extends xi{}},3848:(ze,K,m)=>{"use strict";m.d(K,{BU:()=>ai,Nh:()=>Nt,Nj:()=>Bt,SP:()=>st,sW:()=>zt,uD:()=>Ue,uX:()=>He});var t=m(6895),e=m(4650),g=m(3238),k=m(4080),o=m(9643),C=m(4761),h=m(445),P=m(727),u=m(7579),I=m(4968),S=m(9646),A=m(6451),w=m(515),R=m(9751),E=m(2805),U=m(1135),Y=m(8675),Q=m(1884),X=m(2722),$=m(5698),fe=m(3900),re=m(5684),ee=m(9300),ce=m(7340),se=m(1281),le=m(531),L=m(3353),i=m(9521);function r(je,Fe){}const d=function(je){return{animationDuration:je}},c=function(je,Fe){return{value:je,params:Fe}};function b(je,Fe){1&je&&e.Hsn(0)}const T=["*"],N=["tabListContainer"],v=["tabList"],n=["tabListInner"],y=["nextPaginator"],B=["previousPaginator"],z=["tabBodyWrapper"],W=["tabHeader"];function Le(je,Fe){}function Ve(je,Fe){if(1&je&&e.YNc(0,Le,0,0,"ng-template",14),2&je){const Ye=e.oxw().$implicit;e.Q6J("cdkPortalOutlet",Ye.templateLabel)}}function Ke(je,Fe){if(1&je&&e._uU(0),2&je){const Ye=e.oxw().$implicit;e.Oqu(Ye.textLabel)}}function $e(je,Fe){if(1&je){const Ye=e.EpF();e.TgZ(0,"div",6,7),e.NdJ("click",function(){const Tt=e.CHM(Ye),mi=Tt.$implicit,Ti=Tt.index,xi=e.oxw(),Fi=e.MAs(1);return e.KtG(xi._handleClick(mi,Fi,Ti))})("cdkFocusChange",function(Tt){const Ti=e.CHM(Ye).index,xi=e.oxw();return e.KtG(xi._tabFocusChanged(Tt,Ti))}),e._UZ(2,"span",8)(3,"div",9),e.TgZ(4,"span",10)(5,"span",11),e.YNc(6,Ve,1,1,"ng-template",12),e.YNc(7,Ke,1,1,"ng-template",null,13,e.W1O),e.qZA()()()}if(2&je){const Ye=Fe.$implicit,qe=Fe.index,Tt=e.MAs(1),mi=e.MAs(8),Ti=e.oxw();e.ekj("mdc-tab--active",Ti.selectedIndex===qe),e.Q6J("id",Ti._getTabLabelId(qe))("ngClass",Ye.labelClass)("disabled",Ye.disabled)("fitInkBarToContent",Ti.fitInkBarToContent),e.uIk("tabIndex",Ti._getTabIndex(Ye,qe))("aria-posinset",qe+1)("aria-setsize",Ti._tabs.length)("aria-controls",Ti._getTabContentId(qe))("aria-selected",Ti.selectedIndex===qe)("aria-label",Ye.ariaLabel||null)("aria-labelledby",!Ye.ariaLabel&&Ye.ariaLabelledby?Ye.ariaLabelledby:null),e.xp6(3),e.Q6J("matRippleTrigger",Tt)("matRippleDisabled",Ye.disabled||Ti.disableRipple),e.xp6(3),e.Q6J("ngIf",Ye.templateLabel)("ngIfElse",mi)}}function Ae(je,Fe){if(1&je){const Ye=e.EpF();e.TgZ(0,"mat-tab-body",15),e.NdJ("_onCentered",function(){e.CHM(Ye);const Tt=e.oxw();return e.KtG(Tt._removeTabBodyWrapperHeight())})("_onCentering",function(Tt){e.CHM(Ye);const mi=e.oxw();return e.KtG(mi._setTabBodyWrapperHeight(Tt))}),e.qZA()}if(2&je){const Ye=Fe.$implicit,qe=Fe.index,Tt=e.oxw();e.ekj("mat-mdc-tab-body-active",Tt.selectedIndex===qe),e.Q6J("id",Tt._getTabContentId(qe))("ngClass",Ye.bodyClass)("content",Ye.content)("position",Ye.position)("origin",Ye.origin)("animationDuration",Tt.animationDuration)("preserveContent",Tt.preserveContent),e.uIk("tabindex",null!=Tt.contentTabIndex&&Tt.selectedIndex===qe?Tt.contentTabIndex:null)("aria-labelledby",Tt._getTabLabelId(qe))}}const ue=["mat-tab-nav-bar",""],ye=["mat-tab-link",""],we={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 he=(()=>{class je extends k.Pl{constructor(Ye,qe,Tt,mi){super(Ye,qe,mi),this._host=Tt,this._centeringSub=P.w0.EMPTY,this._leavingSub=P.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,Y.O)(this._host._isCenterPosition(this._host._position))).subscribe(Ye=>{Ye&&!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(Ye){return new(Ye||je)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36((0,e.Gpc)(()=>De)),e.Y36(t.K0))},je.\u0275dir=e.lG2({type:je,selectors:[["","matTabBodyHost",""]],features:[e.qOj]}),je})(),it=(()=>{class je{constructor(Ye,qe,Tt){this._elementRef=Ye,this._dir=qe,this._dirChangeSubscription=P.w0.EMPTY,this._translateTabComplete=new u.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,qe&&(this._dirChangeSubscription=qe.change.subscribe(mi=>{this._computePositionAnimationState(mi),Tt.markForCheck()})),this._translateTabComplete.pipe((0,Q.x)((mi,Ti)=>mi.fromState===Ti.fromState&&mi.toState===Ti.toState)).subscribe(mi=>{this._isCenterPosition(mi.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(mi.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(Ye){this._positionIndex=Ye,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(Ye){const qe=this._isCenterPosition(Ye.toState);this._beforeCentering.emit(qe),qe&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Ye){return"center"==Ye||"left-origin-center"==Ye||"right-origin-center"==Ye}_computePositionAnimationState(Ye=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Ye?"left":"right":this._positionIndex>0?"ltr"==Ye?"right":"left":"center"}_computePositionFromOrigin(Ye){const qe=this._getLayoutDirection();return"ltr"==qe&&Ye<=0||"rtl"==qe&&Ye>0?"left-origin-center":"right-origin-center"}}return je.\u0275fac=function(Ye){return new(Ye||je)(e.Y36(e.SBq),e.Y36(h.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})(),De=(()=>{class je extends it{constructor(Ye,qe,Tt){super(Ye,qe,Tt)}}return je.\u0275fac=function(Ye){return new(Ye||je)(e.Y36(e.SBq),e.Y36(h.Is,8),e.Y36(e.sBO))},je.\u0275cmp=e.Xpm({type:je,selectors:[["mat-tab-body"]],viewQuery:function(Ye,qe){if(1&Ye&&e.Gf(k.Pl,5),2&Ye){let Tt;e.iGM(Tt=e.CRH())&&(qe._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(Ye,qe){1&Ye&&(e.TgZ(0,"div",0,1),e.NdJ("@translateTab.start",function(mi){return qe._onTranslateTabStarted(mi)})("@translateTab.done",function(mi){return qe._translateTabComplete.next(mi)}),e.YNc(2,r,0,0,"ng-template",2),e.qZA()),2&Ye&&e.Q6J("@translateTab",e.WLB(3,c,qe._position,e.VKq(1,d,qe.animationDuration)))},dependencies:[he],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:[we.translateTab]}}),je})();const oe=new e.OlP("MatTabContent");let me=(()=>{class je{constructor(Ye){this.template=Ye}}return je.\u0275fac=function(Ye){return new(Ye||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"),Ze=new e.OlP("MAT_TAB");let Ue=(()=>{class je extends k.ig{constructor(Ye,qe,Tt){super(Ye,qe),this._closestTab=Tt}}return je.\u0275fac=function(Ye){return new(Ye||je)(e.Y36(e.Rgc),e.Y36(e.s_b),e.Y36(Ze,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 Ee{constructor(Fe){this._items=Fe}hide(){this._items.forEach(Fe=>Fe.deactivateInkBar())}alignToElement(Fe){const Ye=this._items.find(Tt=>Tt.elementRef.nativeElement===Fe),qe=this._currentItem;if(qe?.deactivateInkBar(),Ye){const Tt=qe?.elementRef.nativeElement.getBoundingClientRect?.();Ye.activateInkBar(Tt),this._currentItem=Ye}}}function ke(je){return class extends je{constructor(...Fe){super(...Fe),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Fe){const Ye=(0,se.Ig)(Fe);this._fitToContent!==Ye&&(this._fitToContent=Ye,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Fe){const Ye=this.elementRef.nativeElement;if(!Fe||!Ye.getBoundingClientRect||!this._inkBarContentElement)return void Ye.classList.add(q);const qe=Ye.getBoundingClientRect(),Tt=Fe.width/qe.width,mi=Fe.left-qe.left;Ye.classList.add(de),this._inkBarContentElement.style.setProperty("transform",`translateX(${mi}px) scaleX(${Tt})`),Ye.getBoundingClientRect(),Ye.classList.remove(de),Ye.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 Ct=(0,g.Id)(class{}),Xt=ke((()=>{class je extends Ct{constructor(Ye){super(),this.elementRef=Ye}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return je.\u0275fac=function(Ye){return new(Ye||je)(e.Y36(e.SBq))},je.\u0275dir=e.lG2({type:je,features:[e.qOj]}),je})());let gt=(()=>{class je extends Xt{}return je.\u0275fac=function(){let Fe;return function(qe){return(Fe||(Fe=e.n5z(je)))(qe||je)}}(),je.\u0275dir=e.lG2({type:je,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Ye,qe){2&Ye&&(e.uIk("aria-disabled",!!qe.disabled),e.ekj("mat-mdc-tab-disabled",qe.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[e.qOj]}),je})();const mt=(0,g.Id)(class{}),St=new e.OlP("MAT_TAB_GROUP");let Ie=(()=>{class je extends mt{constructor(Ye,qe){super(),this._viewContainerRef=Ye,this._closestTabGroup=qe,this.textLabel="",this._contentPortal=null,this._stateChanges=new u.x,this.position=null,this.origin=null,this.isActive=!1}get content(){return this._contentPortal}ngOnChanges(Ye){(Ye.hasOwnProperty("textLabel")||Ye.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new k.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Ye){Ye&&Ye._closestTab===this&&(this._templateLabel=Ye)}}return je.\u0275fac=function(Ye){return new(Ye||je)(e.Y36(e.s_b),e.Y36(St,8))},je.\u0275dir=e.lG2({type:je,viewQuery:function(Ye,qe){if(1&Ye&&e.Gf(e.Rgc,7),2&Ye){let Tt;e.iGM(Tt=e.CRH())&&(qe._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 Ie{get templateLabel(){return this._templateLabel}set templateLabel(Ye){this._setTemplateLabelInput(Ye)}}return je.\u0275fac=function(){let Fe;return function(qe){return(Fe||(Fe=e.n5z(je)))(qe||je)}}(),je.\u0275cmp=e.Xpm({type:je,selectors:[["mat-tab"]],contentQueries:function(Ye,qe,Tt){if(1&Ye&&(e.Suo(Tt,me,7,e.Rgc),e.Suo(Tt,Ue,5)),2&Ye){let mi;e.iGM(mi=e.CRH())&&(qe._explicitContent=mi.first),e.iGM(mi=e.CRH())&&(qe.templateLabel=mi.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[e._Bn([{provide:Ze,useExisting:je}]),e.qOj],ngContentSelectors:T,decls:1,vars:0,template:function(Ye,qe){1&Ye&&(e.F$t(),e.YNc(0,b,1,0,"ng-template"))},encapsulation:2}),je})();const xt=(0,L.i$)({passive:!0});let Lt=(()=>{class je{constructor(Ye,qe,Tt,mi,Ti,xi,Fi){this._elementRef=Ye,this._changeDetectorRef=qe,this._viewportRuler=Tt,this._dir=mi,this._ngZone=Ti,this._platform=xi,this._animationMode=Fi,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new u.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new u.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new e.vpe,this.indexFocused=new e.vpe,Ti.runOutsideAngular(()=>{(0,I.R)(Ye.nativeElement,"mouseleave").pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(Ye){this._disablePagination=(0,se.Ig)(Ye)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Ye){Ye=(0,se.su)(Ye),this._selectedIndex!=Ye&&(this._selectedIndexChanged=!0,this._selectedIndex=Ye,this._keyManager&&this._keyManager.updateActiveItem(Ye))}ngAfterViewInit(){(0,I.R)(this._previousPaginator.nativeElement,"touchstart",xt).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,I.R)(this._nextPaginator.nativeElement,"touchstart",xt).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Ye=this._dir?this._dir.change:(0,S.of)("ltr"),qe=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,$.q)(1)).subscribe(Tt),(0,A.T)(Ye,qe,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(mi=>{this.indexFocused.emit(mi),this._setTabFocus(mi)})}_itemsResized(){return"function"!=typeof ResizeObserver?w.E:this._items.changes.pipe((0,Y.O)(this._items),(0,fe.w)(Ye=>new R.y(qe=>this._ngZone.runOutsideAngular(()=>{const Tt=new ResizeObserver(mi=>qe.next(mi));return Ye.forEach(mi=>Tt.observe(mi.elementRef.nativeElement)),()=>{Tt.disconnect()}}))),(0,re.T)(1),(0,ee.h)(Ye=>Ye.some(qe=>qe.contentRect.width>0&&qe.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(Ye){if(!(0,i.Vb)(Ye))switch(Ye.keyCode){case i.K5:case i.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Ye));break;default:this._keyManager.onKeydown(Ye)}}_onContentChanges(){const Ye=this._elementRef.nativeElement.textContent;Ye!==this._currentTextContent&&(this._currentTextContent=Ye||"",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(Ye){!this._isValidIndex(Ye)||this.focusIndex===Ye||!this._keyManager||this._keyManager.setActiveItem(Ye)}_isValidIndex(Ye){if(!this._items)return!0;const qe=this._items?this._items.toArray()[Ye]:null;return!!qe&&!qe.disabled}_setTabFocus(Ye){if(this._showPaginationControls&&this._scrollToLabel(Ye),this._items&&this._items.length){this._items.toArray()[Ye].focus();const qe=this._tabListContainer.nativeElement;qe.scrollLeft="ltr"==this._getLayoutDirection()?0:qe.scrollWidth-qe.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Ye=this.scrollDistance,qe="ltr"===this._getLayoutDirection()?-Ye:Ye;this._tabList.nativeElement.style.transform=`translateX(${Math.round(qe)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Ye){this._scrollTo(Ye)}_scrollHeader(Ye){return this._scrollTo(this._scrollDistance+("before"==Ye?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Ye){this._stopInterval(),this._scrollHeader(Ye)}_scrollToLabel(Ye){if(this.disablePagination)return;const qe=this._items?this._items.toArray()[Ye]:null;if(!qe)return;const Tt=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:mi,offsetWidth:Ti}=qe.elementRef.nativeElement;let xi,Fi;"ltr"==this._getLayoutDirection()?(xi=mi,Fi=xi+Ti):(Fi=this._tabListInner.nativeElement.offsetWidth-mi,xi=Fi-Ti);const Je=this.scrollDistance,wt=this.scrollDistance+Tt;xi<Je?this.scrollDistance-=Je-xi+60:Fi>wt&&(this.scrollDistance+=Fi-wt+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Ye=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Ye||(this.scrollDistance=0),Ye!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Ye}}_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 Ye=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,qe=Ye?Ye.elementRef.nativeElement:null;qe?this._inkBar.alignToElement(qe):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Ye,qe){qe&&null!=qe.button&&0!==qe.button||(this._stopInterval(),(0,E.H)(650,100).pipe((0,X.R)((0,A.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Tt,distance:mi}=this._scrollHeader(Ye);(0===mi||mi>=Tt)&&this._stopInterval()}))}_scrollTo(Ye){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const qe=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(qe,Ye)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:qe,distance:this._scrollDistance}}}return je.\u0275fac=function(Ye){return new(Ye||je)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(le.rL),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(L.t4),e.Y36(e.QbO,8))},je.\u0275dir=e.lG2({type:je,inputs:{disablePagination:"disablePagination"}}),je})(),Ft=(()=>{class je extends Lt{constructor(Ye,qe,Tt,mi,Ti,xi,Fi){super(Ye,qe,Tt,mi,Ti,xi,Fi),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ye){this._disableRipple=(0,se.Ig)(Ye)}_itemSelected(Ye){Ye.preventDefault()}}return je.\u0275fac=function(Ye){return new(Ye||je)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(le.rL),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(L.t4),e.Y36(e.QbO,8))},je.\u0275dir=e.lG2({type:je,inputs:{disableRipple:"disableRipple"},features:[e.qOj]}),je})(),bt=(()=>{class je extends Ft{constructor(Ye,qe,Tt,mi,Ti,xi,Fi){super(Ye,qe,Tt,mi,Ti,xi,Fi)}ngAfterContentInit(){this._inkBar=new Ee(this._items),super.ngAfterContentInit()}}return je.\u0275fac=function(Ye){return new(Ye||je)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(le.rL),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(L.t4),e.Y36(e.QbO,8))},je.\u0275cmp=e.Xpm({type:je,selectors:[["mat-tab-header"]],contentQueries:function(Ye,qe,Tt){if(1&Ye&&e.Suo(Tt,gt,4),2&Ye){let mi;e.iGM(mi=e.CRH())&&(qe._items=mi)}},viewQuery:function(Ye,qe){if(1&Ye&&(e.Gf(N,7),e.Gf(v,7),e.Gf(n,7),e.Gf(y,5),e.Gf(B,5)),2&Ye){let Tt;e.iGM(Tt=e.CRH())&&(qe._tabListContainer=Tt.first),e.iGM(Tt=e.CRH())&&(qe._tabList=Tt.first),e.iGM(Tt=e.CRH())&&(qe._tabListInner=Tt.first),e.iGM(Tt=e.CRH())&&(qe._nextPaginator=Tt.first),e.iGM(Tt=e.CRH())&&(qe._previousPaginator=Tt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(Ye,qe){2&Ye&&e.ekj("mat-mdc-tab-header-pagination-controls-enabled",qe._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==qe._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[e.qOj],ngContentSelectors:T,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(Ye,qe){1&Ye&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return qe._handlePaginatorClick("before")})("mousedown",function(mi){return qe._handlePaginatorPress("before",mi)})("touchend",function(){return qe._stopInterval()}),e._UZ(2,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.NdJ("keydown",function(mi){return qe._handleKeydown(mi)}),e.TgZ(5,"div",5,6),e.NdJ("cdkObserveContent",function(){return qe._onContentChanges()}),e.TgZ(7,"div",7,8),e.Hsn(9),e.qZA()()(),e.TgZ(10,"button",9,10),e.NdJ("mousedown",function(mi){return qe._handlePaginatorPress("after",mi)})("click",function(){return qe._handlePaginatorClick("after")})("touchend",function(){return qe._stopInterval()}),e._UZ(12,"div",2),e.qZA()),2&Ye&&(e.ekj("mat-mdc-tab-header-pagination-disabled",qe._disableScrollBefore),e.Q6J("matRippleDisabled",qe._disableScrollBefore||qe.disableRipple)("disabled",qe._disableScrollBefore||null),e.xp6(3),e.ekj("_mat-animation-noopable","NoopAnimations"===qe._animationMode),e.xp6(7),e.ekj("mat-mdc-tab-header-pagination-disabled",qe._disableScrollAfter),e.Q6J("matRippleDisabled",qe._disableScrollAfter||qe.disableRipple)("disabled",qe._disableScrollAfter||null))},dependencies:[g.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 Ce=new e.OlP("MAT_TABS_CONFIG");let J=0;const ve=(0,g.pj)((0,g.Kr)(class{constructor(je){this._elementRef=je}}),"primary");let Ne=(()=>{class je extends ve{constructor(Ye,qe,Tt,mi){super(Ye),this._changeDetectorRef=qe,this._animationMode=mi,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(Ye){this._dynamicHeight=(0,se.Ig)(Ye)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Ye){this._indexToSelect=(0,se.su)(Ye,null)}get animationDuration(){return this._animationDuration}set animationDuration(Ye){this._animationDuration=/^\d+$/.test(Ye+"")?Ye+"ms":Ye}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Ye){this._contentTabIndex=(0,se.su)(Ye,null)}get disablePagination(){return this._disablePagination}set disablePagination(Ye){this._disablePagination=(0,se.Ig)(Ye)}get preserveContent(){return this._preserveContent}set preserveContent(Ye){this._preserveContent=(0,se.Ig)(Ye)}get backgroundColor(){return this._backgroundColor}set backgroundColor(Ye){const qe=this._elementRef.nativeElement.classList;qe.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Ye&&qe.add("mat-tabs-with-background",`mat-background-${Ye}`),this._backgroundColor=Ye}ngAfterContentChecked(){const Ye=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Ye){const qe=null==this._selectedIndex;if(!qe){this.selectedTabChange.emit(this._createChangeEvent(Ye));const Tt=this._tabBodyWrapper.nativeElement;Tt.style.minHeight=Tt.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Tt,mi)=>Tt.isActive=mi===Ye),qe||(this.selectedIndexChange.emit(Ye),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((qe,Tt)=>{qe.position=Tt-Ye,null!=this._selectedIndex&&0==qe.position&&!qe.origin&&(qe.origin=Ye-this._selectedIndex)}),this._selectedIndex!==Ye&&(this._selectedIndex=Ye,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Ye=this._clampTabIndex(this._indexToSelect);if(Ye===this._selectedIndex){const qe=this._tabs.toArray();let Tt;for(let mi=0;mi<qe.length;mi++)if(qe[mi].isActive){this._indexToSelect=this._selectedIndex=mi,this._lastFocusedTabIndex=null,Tt=qe[mi];break}!Tt&&qe[Ye]&&Promise.resolve().then(()=>{qe[Ye].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Ye))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,Y.O)(this._allTabs)).subscribe(Ye=>{this._tabs.reset(Ye.filter(qe=>qe._closestTabGroup===this||!qe._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(Ye){const qe=this._tabHeader;qe&&(qe.focusIndex=Ye)}_focusChanged(Ye){this._lastFocusedTabIndex=Ye,this.focusChange.emit(this._createChangeEvent(Ye))}_createChangeEvent(Ye){const qe=new ni;return qe.index=Ye,this._tabs&&this._tabs.length&&(qe.tab=this._tabs.toArray()[Ye]),qe}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,A.T)(...this._tabs.map(Ye=>Ye._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Ye){return Math.min(this._tabs.length-1,Math.max(Ye||0,0))}_getTabLabelId(Ye){return`mat-tab-label-${this._groupId}-${Ye}`}_getTabContentId(Ye){return`mat-tab-content-${this._groupId}-${Ye}`}_setTabBodyWrapperHeight(Ye){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const qe=this._tabBodyWrapper.nativeElement;qe.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(qe.style.height=Ye+"px")}_removeTabBodyWrapperHeight(){const Ye=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Ye.clientHeight,Ye.style.height="",this.animationDone.emit()}_handleClick(Ye,qe,Tt){Ye.disabled||(this.selectedIndex=qe.focusIndex=Tt)}_getTabIndex(Ye,qe){return Ye.disabled?null:qe===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Ye,qe){Ye&&"mouse"!==Ye&&"touch"!==Ye&&(this._tabHeader.focusIndex=qe)}}return je.\u0275fac=function(Ye){return new(Ye||je)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ce,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})(),st=(()=>{class je extends Ne{constructor(Ye,qe,Tt,mi){super(Ye,qe,Tt,mi),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!Tt||null==Tt.fitInkBarToContent)&&Tt.fitInkBarToContent}get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(Ye){this._fitInkBarToContent=(0,se.Ig)(Ye),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(Ye){this._stretchTabs=(0,se.Ig)(Ye)}}return je.\u0275fac=function(Ye){return new(Ye||je)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ce,8),e.Y36(e.QbO,8))},je.\u0275cmp=e.Xpm({type:je,selectors:[["mat-tab-group"]],contentQueries:function(Ye,qe,Tt){if(1&Ye&&e.Suo(Tt,He,5),2&Ye){let mi;e.iGM(mi=e.CRH())&&(qe._allTabs=mi)}},viewQuery:function(Ye,qe){if(1&Ye&&(e.Gf(z,5),e.Gf(W,5)),2&Ye){let Tt;e.iGM(Tt=e.CRH())&&(qe._tabBodyWrapper=Tt.first),e.iGM(Tt=e.CRH())&&(qe._tabHeader=Tt.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(Ye,qe){2&Ye&&e.ekj("mat-mdc-tab-group-dynamic-height",qe.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===qe.headerPosition)("mat-mdc-tab-group-stretch-tabs",qe.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[e._Bn([{provide:St,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(Ye,qe){1&Ye&&(e.TgZ(0,"mat-tab-header",0,1),e.NdJ("indexFocused",function(mi){return qe._focusChanged(mi)})("selectFocusedIndex",function(mi){return qe.selectedIndex=mi}),e.YNc(2,$e,9,17,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.YNc(5,Ae,1,11,"mat-tab-body",5),e.qZA()),2&Ye&&(e.Q6J("selectedIndex",qe.selectedIndex||0)("disableRipple",qe.disableRipple),e.xp6(2),e.Q6J("ngForOf",qe._tabs),e.xp6(1),e.ekj("_mat-animation-noopable","NoopAnimations"===qe._animationMode),e.xp6(2),e.Q6J("ngForOf",qe._tabs))},dependencies:[t.mk,t.sg,t.O5,k.Pl,g.wG,C.kH,De,gt,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-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background.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-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background.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-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-tabs-with-background.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background.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-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background.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-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background.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 Ut=0,ti=(()=>{class je extends Lt{constructor(Ye,qe,Tt,mi,Ti,xi,Fi){super(Ye,mi,Ti,qe,Tt,xi,Fi),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(Ye){const qe=this._elementRef.nativeElement.classList;qe.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Ye&&qe.add("mat-tabs-with-background",`mat-background-${Ye}`),this._backgroundColor=Ye}get disableRipple(){return this._disableRipple}set disableRipple(Ye){this._disableRipple=(0,se.Ig)(Ye)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,Y.O)(null),(0,X.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const Ye=this._items.toArray();for(let qe=0;qe<Ye.length;qe++)if(Ye[qe].active)return this.selectedIndex=qe,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=Ye[qe].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return je.\u0275fac=function(Ye){return new(Ye||je)(e.Y36(e.SBq),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(le.rL),e.Y36(L.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,g.sb)((0,g.Kr)((0,g.Id)(class{}))),_t=ke((()=>{class je extends dt{constructor(Ye,qe,Tt,mi,Ti,xi){super(),this._tabNavBar=Ye,this.elementRef=qe,this._focusMonitor=Ti,this._isActive=!1,this.id="mat-tab-link-"+Ut++,this.rippleConfig=Tt||{},this.tabIndex=parseInt(mi)||0,"NoopAnimations"===xi&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(Ye){const qe=(0,se.Ig)(Ye);qe!==this._isActive&&(this._isActive=qe,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(Ye){this._tabNavBar.tabPanel&&Ye.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(Ye){return new(Ye||je)(e.Y36(ti),e.Y36(e.SBq),e.Y36(g.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(Ye,qe,Tt,mi,Ti,xi,Fi,Je){super(Ye,qe,Tt,mi,Ti,xi,Fi),this._fitInkBarToContent=new U.X(!1),this._stretchTabs=!0,this.disablePagination=!(!Je||null==Je.disablePagination)&&Je.disablePagination,this.fitInkBarToContent=!(!Je||null==Je.fitInkBarToContent)&&Je.fitInkBarToContent}get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(Ye){this._fitInkBarToContent.next((0,se.Ig)(Ye)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(Ye){this._stretchTabs=(0,se.Ig)(Ye)}ngAfterContentInit(){this._inkBar=new Ee(this._items),super.ngAfterContentInit()}ngAfterViewInit(){}}return je.\u0275fac=function(Ye){return new(Ye||je)(e.Y36(e.SBq),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(le.rL),e.Y36(L.t4),e.Y36(e.QbO,8),e.Y36(Ce,8))},je.\u0275cmp=e.Xpm({type:je,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(Ye,qe,Tt){if(1&Ye&&e.Suo(Tt,Bt,5),2&Ye){let mi;e.iGM(mi=e.CRH())&&(qe._items=mi)}},viewQuery:function(Ye,qe){if(1&Ye&&(e.Gf(N,7),e.Gf(v,7),e.Gf(n,7),e.Gf(y,5),e.Gf(B,5)),2&Ye){let Tt;e.iGM(Tt=e.CRH())&&(qe._tabListContainer=Tt.first),e.iGM(Tt=e.CRH())&&(qe._tabList=Tt.first),e.iGM(Tt=e.CRH())&&(qe._tabListInner=Tt.first),e.iGM(Tt=e.CRH())&&(qe._nextPaginator=Tt.first),e.iGM(Tt=e.CRH())&&(qe._previousPaginator=Tt.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(Ye,qe){2&Ye&&(e.uIk("role",qe._getRole()),e.ekj("mat-mdc-tab-header-pagination-controls-enabled",qe._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==qe._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",qe.stretchTabs)("mat-primary","warn"!==qe.color&&"accent"!==qe.color)("mat-accent","accent"===qe.color)("mat-warn","warn"===qe.color)("_mat-animation-noopable","NoopAnimations"===qe._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabNavBar","matTabNav"],features:[e.qOj],attrs:ue,ngContentSelectors:T,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(Ye,qe){1&Ye&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return qe._handlePaginatorClick("before")})("mousedown",function(mi){return qe._handlePaginatorPress("before",mi)})("touchend",function(){return qe._stopInterval()}),e._UZ(2,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.NdJ("keydown",function(mi){return qe._handleKeydown(mi)}),e.TgZ(5,"div",5,6),e.NdJ("cdkObserveContent",function(){return qe._onContentChanges()}),e.TgZ(7,"div",7,8),e.Hsn(9),e.qZA()()(),e.TgZ(10,"button",9,10),e.NdJ("mousedown",function(mi){return qe._handlePaginatorPress("after",mi)})("click",function(){return qe._handlePaginatorClick("after")})("touchend",function(){return qe._stopInterval()}),e._UZ(12,"div",2),e.qZA()),2&Ye&&(e.ekj("mat-mdc-tab-header-pagination-disabled",qe._disableScrollBefore),e.Q6J("matRippleDisabled",qe._disableScrollBefore||qe.disableRipple)("disabled",qe._disableScrollBefore||null),e.xp6(10),e.ekj("mat-mdc-tab-header-pagination-disabled",qe._disableScrollAfter),e.Q6J("matRippleDisabled",qe._disableScrollAfter||qe.disableRipple)("disabled",qe._disableScrollAfter||null))},dependencies:[g.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-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background.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-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-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-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline,.mat-mdc-tab-nav-bar.mat-tabs-with-background.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-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-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background.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-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background.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})(),Bt=(()=>{class je extends _t{constructor(Ye,qe,Tt,mi,Ti,xi){super(Ye,qe,Tt,mi,Ti,xi),this._destroyed=new u.x,Ye._fitInkBarToContent.pipe((0,X.R)(this._destroyed)).subscribe(Fi=>{this.fitInkBarToContent=Fi})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}return je.\u0275fac=function(Ye){return new(Ye||je)(e.Y36(ai),e.Y36(e.SBq),e.Y36(g.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(Ye,qe){1&Ye&&e.NdJ("focus",function(){return qe._handleFocus()})("keydown",function(mi){return qe._handleKeydown(mi)}),2&Ye&&(e.uIk("aria-controls",qe._getAriaControls())("aria-current",qe._getAriaCurrent())("aria-disabled",qe.disabled)("aria-selected",qe._getAriaSelected())("id",qe.id)("tabIndex",qe._getTabIndex())("role",qe._getRole()),e.ekj("mat-mdc-tab-disabled",qe.disabled)("mdc-tab--active",qe.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[e.qOj],attrs:ye,ngContentSelectors:T,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(Ye,qe){1&Ye&&(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&Ye&&(e.xp6(1),e.Q6J("matRippleTrigger",qe.elementRef.nativeElement)("matRippleDisabled",qe.rippleDisabled))},dependencies:[g.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})(),zt=(()=>{class je{constructor(){this.id="mat-tab-nav-panel-"+Ut++}}return je.\u0275fac=function(Ye){return new(Ye||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(Ye,qe){2&Ye&&e.uIk("aria-labelledby",qe._activeTabId)("id",qe.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:T,decls:1,vars:0,template:function(Ye,qe){1&Ye&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),je})(),Nt=(()=>{class je{}return je.\u0275fac=function(Ye){return new(Ye||je)},je.\u0275mod=e.oAB({type:je}),je.\u0275inj=e.cJS({imports:[t.ez,g.BQ,k.eL,g.si,o.Q8,C.rt,g.BQ]}),je})()},3683:(ze,K,m)=>{"use strict";m.d(K,{Ye:()=>u,g0:()=>S});var t=m(4650),e=m(3238),g=m(3353),k=m(6895);const o=["*",[["mat-toolbar-row"]]],C=["*","mat-toolbar-row"],h=(0,e.pj)(class{constructor(A){this._elementRef=A}});let P=(()=>{class A{}return A.\u0275fac=function(R){return new(R||A)},A.\u0275dir=t.lG2({type:A,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),A})(),u=(()=>{class A extends h{constructor(R,E,U){super(R),this._platform=E,this._document=U}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return A.\u0275fac=function(R){return new(R||A)(t.Y36(t.SBq),t.Y36(g.t4),t.Y36(k.K0))},A.\u0275cmp=t.Xpm({type:A,selectors:[["mat-toolbar"]],contentQueries:function(R,E,U){if(1&R&&t.Suo(U,P,5),2&R){let Y;t.iGM(Y=t.CRH())&&(E._toolbarRows=Y)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(R,E){2&R&&t.ekj("mat-toolbar-multiple-rows",E._toolbarRows.length>0)("mat-toolbar-single-row",0===E._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[t.qOj],ngContentSelectors:C,decls:2,vars:0,template:function(R,E){1&R&&(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{--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}),A})(),S=(()=>{class A{}return A.\u0275fac=function(R){return new(R||A)},A.\u0275mod=t.oAB({type:A}),A.\u0275inj=t.cJS({imports:[e.BQ,e.BQ]}),A})()},266:(ze,K,m)=>{"use strict";m.d(K,{AV:()=>y,gM:()=>T});var t=m(2722),e=m(5698),g=m(1281),k=m(9521),o=m(4650),C=m(6895),h=m(3353),P=m(4761),u=m(445),I=m(8184),S=m(531),A=m(4080),w=m(7579),E=(m(7340),m(3238));const U=["tooltip"],X=new o.OlP("mat-tooltip-scroll-strategy"),fe={provide:X,deps:[I.aV],useFactory:function $(B){return()=>B.scrollStrategies.reposition({scrollThrottle:20})}},ee=new o.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function re(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),se="tooltip-panel",le=(0,h.i$)({passive:!0});let b=(()=>{class B{constructor(W,Le,Ve,Ke,$e,Ae,ue,ye,we,he,it,De){this._overlay=W,this._elementRef=Le,this._scrollDispatcher=Ve,this._viewContainerRef=Ke,this._ngZone=$e,this._platform=Ae,this._ariaDescriber=ue,this._focusMonitor=ye,this._dir=he,this._defaultOptions=it,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 w.x,this._scrollStrategy=we,this._document=De,it&&(it.position&&(this.position=it.position),it.positionAtOrigin&&(this.positionAtOrigin=it.positionAtOrigin),it.touchGestures&&(this.touchGestures=it.touchGestures)),he.change.pipe((0,t.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(W){W!==this._position&&(this._position=W,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(W){this._positionAtOrigin=(0,g.Ig)(W),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(W){this._disabled=(0,g.Ig)(W),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(W){this._showDelay=(0,g.su)(W)}get hideDelay(){return this._hideDelay}set hideDelay(W){this._hideDelay=(0,g.su)(W),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(W){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=W?String(W).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(W){this._tooltipClass=W,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,t.R)(this._destroyed)).subscribe(W=>{W?"keyboard"===W&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const W=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Le,Ve])=>{W.removeEventListener(Le,Ve,le)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(W,this.message,"tooltip"),this._focusMonitor.stopMonitoring(W)}show(W=this.showDelay,Le){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Ve=this._createOverlay(Le);this._detach(),this._portal=this._portal||new A.C5(this._tooltipComponent,this._viewContainerRef);const Ke=this._tooltipInstance=Ve.attach(this._portal).instance;Ke._triggerElement=this._elementRef.nativeElement,Ke._mouseLeaveHideDelay=this._hideDelay,Ke.afterHidden().pipe((0,t.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Ke.show(W)}hide(W=this.hideDelay){const Le=this._tooltipInstance;Le&&(Le.isVisible()?Le.hide(W):(Le._cancelPendingAnimations(),this._detach()))}toggle(W){this._isTooltipVisible()?this.hide():this.show(void 0,W)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(W){if(this._overlayRef){const Ke=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!W)&&Ke._origin instanceof o.SBq)return this._overlayRef;this._detach()}const Le=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Ve=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&W||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Le);return Ve.positionChanges.pipe((0,t.R)(this._destroyed)).subscribe(Ke=>{this._updateCurrentPositionClass(Ke.connectionPair),this._tooltipInstance&&Ke.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Ve,panelClass:`${this._cssClassPrefix}-${se}`,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(Ke=>{this._isTooltipVisible()&&Ke.keyCode===k.hY&&!(0,k.Vb)(Ke)&&(Ke.preventDefault(),Ke.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(W){const Le=W.getConfig().positionStrategy,Ve=this._getOrigin(),Ke=this._getOverlayPosition();Le.withPositions([this._addOffset({...Ve.main,...Ke.main}),this._addOffset({...Ve.fallback,...Ke.fallback})])}_addOffset(W){return W}_getOrigin(){const W=!this._dir||"ltr"==this._dir.value,Le=this.position;let Ve;"above"==Le||"below"==Le?Ve={originX:"center",originY:"above"==Le?"top":"bottom"}:"before"==Le||"left"==Le&&W||"right"==Le&&!W?Ve={originX:"start",originY:"center"}:("after"==Le||"right"==Le&&W||"left"==Le&&!W)&&(Ve={originX:"end",originY:"center"});const{x:Ke,y:$e}=this._invertPosition(Ve.originX,Ve.originY);return{main:Ve,fallback:{originX:Ke,originY:$e}}}_getOverlayPosition(){const W=!this._dir||"ltr"==this._dir.value,Le=this.position;let Ve;"above"==Le?Ve={overlayX:"center",overlayY:"bottom"}:"below"==Le?Ve={overlayX:"center",overlayY:"top"}:"before"==Le||"left"==Le&&W||"right"==Le&&!W?Ve={overlayX:"end",overlayY:"center"}:("after"==Le||"right"==Le&&W||"left"==Le&&!W)&&(Ve={overlayX:"start",overlayY:"center"});const{x:Ke,y:$e}=this._invertPosition(Ve.overlayX,Ve.overlayY);return{main:Ve,fallback:{overlayX:Ke,overlayY:$e}}}_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(W){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=W,this._tooltipInstance._markForCheck())}_invertPosition(W,Le){return"above"===this.position||"below"===this.position?"top"===Le?Le="bottom":"bottom"===Le&&(Le="top"):"end"===W?W="start":"start"===W&&(W="end"),{x:W,y:Le}}_updateCurrentPositionClass(W){const{overlayY:Le,originX:Ve,originY:Ke}=W;let $e;if($e="center"===Le?this._dir&&"rtl"===this._dir.value?"end"===Ve?"left":"right":"start"===Ve?"left":"right":"bottom"===Le&&"top"===Ke?"above":"below",$e!==this._currentPosition){const Ae=this._overlayRef;if(Ae){const ue=`${this._cssClassPrefix}-${se}-`;Ae.removePanelClass(ue+this._currentPosition),Ae.addPanelClass(ue+$e)}this._currentPosition=$e}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",W=>{let Le;this._setupPointerExitEventsIfNeeded(),void 0!==W.x&&void 0!==W.y&&(Le=W),this.show(void 0,Le)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",W=>{const Le=W.targetTouches?.[0],Ve=Le?{x:Le.clientX,y:Le.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,Ve),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const W=[];if(this._platformSupportsMouseEvents())W.push(["mouseleave",Le=>{const Ve=Le.relatedTarget;(!Ve||!this._overlayRef?.overlayElement.contains(Ve))&&this.hide()}],["wheel",Le=>this._wheelListener(Le)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Le=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};W.push(["touchend",Le],["touchcancel",Le])}this._addListeners(W),this._passiveListeners.push(...W)}_addListeners(W){W.forEach(([Le,Ve])=>{this._elementRef.nativeElement.addEventListener(Le,Ve,le)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(W){if(this._isTooltipVisible()){const Le=this._document.elementFromPoint(W.clientX,W.clientY),Ve=this._elementRef.nativeElement;Le!==Ve&&!Ve.contains(Le)&&this.hide()}}_disableNativeGesturesIfNecessary(){const W=this.touchGestures;if("off"!==W){const Le=this._elementRef.nativeElement,Ve=Le.style;("on"===W||"INPUT"!==Le.nodeName&&"TEXTAREA"!==Le.nodeName)&&(Ve.userSelect=Ve.msUserSelect=Ve.webkitUserSelect=Ve.MozUserSelect="none"),("on"===W||!Le.draggable)&&(Ve.webkitUserDrag="none"),Ve.touchAction="none",Ve.webkitTapHighlightColor="transparent"}}}return B.\u0275fac=function(W){o.$Z()},B.\u0275dir=o.lG2({type:B,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"]}}),B})(),T=(()=>{class B extends b{constructor(W,Le,Ve,Ke,$e,Ae,ue,ye,we,he,it,De){super(W,Le,Ve,Ke,$e,Ae,ue,ye,we,he,it,De),this._tooltipComponent=v,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(W){const Ve=!this._dir||"ltr"==this._dir.value;return"top"===W.originY?W.offsetY=-8:"bottom"===W.originY?W.offsetY=8:"start"===W.originX?W.offsetX=Ve?-8:8:"end"===W.originX&&(W.offsetX=Ve?8:-8),W}}return B.\u0275fac=function(W){return new(W||B)(o.Y36(I.aV),o.Y36(o.SBq),o.Y36(S.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(h.t4),o.Y36(P.$s),o.Y36(P.tE),o.Y36(X),o.Y36(u.Is,8),o.Y36(ee,8),o.Y36(C.K0))},B.\u0275dir=o.lG2({type:B,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[o.qOj]}),B})(),N=(()=>{class B{constructor(W,Le){this._changeDetectorRef=W,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new w.x,this._animationsDisabled="NoopAnimations"===Le}show(W){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},W)}hide(W){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},W)}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:W}){(!W||!this._triggerElement.contains(W))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:W}){(W===this._showAnimation||W===this._hideAnimation)&&this._finalizeAnimation(W===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(W){W?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(W){const Le=this._tooltip.nativeElement,Ve=this._showAnimation,Ke=this._hideAnimation;if(Le.classList.remove(W?Ke:Ve),Le.classList.add(W?Ve:Ke),this._isVisible=W,W&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const $e=getComputedStyle(Le);("0s"===$e.getPropertyValue("animation-duration")||"none"===$e.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}W&&this._onShow(),this._animationsDisabled&&(Le.classList.add("_mat-animation-noopable"),this._finalizeAnimation(W))}}return B.\u0275fac=function(W){return new(W||B)(o.Y36(o.sBO),o.Y36(o.QbO,8))},B.\u0275dir=o.lG2({type:B}),B})(),v=(()=>{class B extends N{constructor(W,Le,Ve){super(W,Ve),this._elementRef=Le,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const W=this._elementRef.nativeElement.getBoundingClientRect();return W.height>24&&W.width>=200}}return B.\u0275fac=function(W){return new(W||B)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.QbO,8))},B.\u0275cmp=o.Xpm({type:B,selectors:[["mat-tooltip-component"]],viewQuery:function(W,Le){if(1&W&&o.Gf(U,7),2&W){let Ve;o.iGM(Ve=o.CRH())&&(Le._tooltip=Ve.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(W,Le){1&W&&o.NdJ("mouseleave",function(Ke){return Le._handleMouseLeave(Ke)}),2&W&&o.Udp("zoom",Le.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(W,Le){1&W&&(o.TgZ(0,"div",0,1),o.NdJ("animationend",function(Ke){return Le._handleAnimationEnd(Ke)}),o.TgZ(2,"div",2),o._uU(3),o.qZA()()),2&W&&(o.ekj("mdc-tooltip--multiline",Le._isMultiline),o.Q6J("ngClass",Le.tooltipClass),o.xp6(3),o.Oqu(Le.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}),B})(),y=(()=>{class B{}return B.\u0275fac=function(W){return new(W||B)},B.\u0275mod=o.oAB({type:B}),B.\u0275inj=o.cJS({providers:[fe],imports:[P.rt,C.ez,I.U8,E.BQ,E.BQ,S.ZD]}),B})()},5423:(ze,K,m)=>{"use strict";m.d(K,{Ar:()=>R,GZ:()=>A,WX:()=>fe,dp:()=>Q,eu:()=>U,fQ:()=>S,gi:()=>E,uo:()=>I});var t=m(7851),e=m(4650),g=m(3238),k=m(1281),o=m(5017),C=m(1135),h=m(6451),P=m(4004);const u=(0,g.sb)((0,g.Id)(t.Hs));let I=(()=>{class re extends u{constructor(ce,se,le){super(ce,se),this.tabIndex=Number(le)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return re.\u0275fac=function(ce){return new(ce||re)(e.Y36(e.SBq),e.Y36(t._0),e.$8M("tabindex"))},re.\u0275dir=e.lG2({type:re,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:re}]),e.qOj]}),re})(),S=(()=>{class re extends t.rO{}return re.\u0275fac=function(){let ee;return function(se){return(ee||(ee=e.n5z(re)))(se||re)}}(),re.\u0275dir=e.lG2({type:re,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[e._Bn([{provide:t.rO,useExisting:re}]),e.qOj]}),re})(),A=(()=>{class re extends t.Xx{constructor(ce,se,le,L){super(ce,se,le),this._disabled=!1,this.tabIndex=Number(L)||0}get disabled(){return this._disabled}set disabled(ce){this._disabled=(0,k.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 re.\u0275fac=function(ce){return new(ce||re)(e.Y36(e.SBq),e.Y36(t._0),e.Y36(e.ZZ4),e.$8M("tabindex"))},re.\u0275dir=e.lG2({type:re,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:re},{provide:t.Hs,useExisting:re},{provide:t.HI,useExisting:re}]),e.qOj]}),re})(),R=(()=>{class re{constructor(ce,se){this.viewContainer=ce,this._node=se}}return re.\u0275fac=function(ce){return new(ce||re)(e.Y36(e.s_b),e.Y36(t.HI,8))},re.\u0275dir=e.lG2({type:re,selectors:[["","matTreeNodeOutlet",""]],features:[e._Bn([{provide:t.cu,useExisting:re}])]}),re})(),E=(()=>{class re extends t._0{}return re.\u0275fac=function(){let ee;return function(se){return(ee||(ee=e.n5z(re)))(se||re)}}(),re.\u0275cmp=e.Xpm({type:re,selectors:[["mat-tree"]],viewQuery:function(ce,se){if(1&ce&&e.Gf(R,7),2&ce){let le;e.iGM(le=e.CRH())&&(se._nodeOutlet=le.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[e._Bn([{provide:t._0,useExisting:re}]),e.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(ce,se){1&ce&&e.GkF(0,0)},dependencies:[R],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}),re})(),U=(()=>{class re extends t.Ud{}return re.\u0275fac=function(){let ee;return function(se){return(ee||(ee=e.n5z(re)))(se||re)}}(),re.\u0275dir=e.lG2({type:re,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[e._Bn([{provide:t.Ud,useExisting:re}]),e.qOj]}),re})(),Q=(()=>{class re{}return re.\u0275fac=function(ce){return new(ce||re)},re.\u0275mod=e.oAB({type:re}),re.\u0275inj=e.cJS({imports:[t.nZ,g.BQ,g.BQ]}),re})();class fe extends o.o2{constructor(){super(...arguments),this._data=new C.X([])}get data(){return this._data.value}set data(ee){this._data.next(ee)}connect(ee){return(0,h.T)(ee.viewChange,this._data).pipe((0,P.U)(()=>this.data))}disconnect(){}}},1481:(ze,K,m)=>{"use strict";m.d(K,{Dx:()=>ie,H7:()=>_t,b2:()=>Ue,q6:()=>oe,se:()=>c,t6:()=>at});var t=m(6895),e=m(4650);class g extends t.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class k extends g{static makeCurrent(){(0,t.HT)(new k)}onAndCancel(je,Fe,Ye){return je.addEventListener(Fe,Ye,!1),()=>{je.removeEventListener(Fe,Ye,!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(Nt){h=h||document.createElement("a"),h.setAttribute("href",Nt);const je=h.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 h,o=null;const u=new e.OlP("TRANSITION_ID"),S=[{provide:e.ip1,useFactory:function I(Nt,je,Fe){return()=>{Fe.get(e.CZH).donePromise.then(()=>{const Ye=(0,t.q)(),qe=je.querySelectorAll(`style[ng-transition="${Nt}"]`);for(let Tt=0;Tt<qe.length;Tt++)Ye.remove(qe[Tt])})}},deps:[u,t.K0,e.zs3],multi:!0}];let w=(()=>{class Nt{build(){return new XMLHttpRequest}}return Nt.\u0275fac=function(Fe){return new(Fe||Nt)},Nt.\u0275prov=e.Yz7({token:Nt,factory:Nt.\u0275fac}),Nt})();const R=new e.OlP("EventManagerPlugins");let E=(()=>{class Nt{constructor(Fe,Ye){this._zone=Ye,this._eventNameToPlugin=new Map,Fe.forEach(qe=>qe.manager=this),this._plugins=Fe.slice().reverse()}addEventListener(Fe,Ye,qe){return this._findPluginFor(Ye).addEventListener(Fe,Ye,qe)}addGlobalEventListener(Fe,Ye,qe){return this._findPluginFor(Ye).addGlobalEventListener(Fe,Ye,qe)}getZone(){return this._zone}_findPluginFor(Fe){const Ye=this._eventNameToPlugin.get(Fe);if(Ye)return Ye;const qe=this._plugins;for(let Tt=0;Tt<qe.length;Tt++){const mi=qe[Tt];if(mi.supports(Fe))return this._eventNameToPlugin.set(Fe,mi),mi}throw new Error(`No event manager plugin found for event ${Fe}`)}}return Nt.\u0275fac=function(Fe){return new(Fe||Nt)(e.LFG(R),e.LFG(e.R0b))},Nt.\u0275prov=e.Yz7({token:Nt,factory:Nt.\u0275fac}),Nt})();class U{constructor(je){this._doc=je}addGlobalEventListener(je,Fe,Ye){const qe=(0,t.q)().getGlobalEventTarget(this._doc,je);if(!qe)throw new Error(`Unsupported event target ${qe} for event ${Fe}`);return this.addEventListener(qe,Fe,Ye)}}let Y=(()=>{class Nt{constructor(){this._stylesSet=new Set}addStyles(Fe){const Ye=new Set;Fe.forEach(qe=>{this._stylesSet.has(qe)||(this._stylesSet.add(qe),Ye.add(qe))}),this.onStylesAdded(Ye)}onStylesAdded(Fe){}getAllStyles(){return Array.from(this._stylesSet)}}return Nt.\u0275fac=function(Fe){return new(Fe||Nt)},Nt.\u0275prov=e.Yz7({token:Nt,factory:Nt.\u0275fac}),Nt})(),Q=(()=>{class Nt extends Y{constructor(Fe){super(),this._doc=Fe,this._hostNodes=new Map,this._hostNodes.set(Fe.head,[])}_addStylesToHost(Fe,Ye,qe){Fe.forEach(Tt=>{const mi=this._doc.createElement("style");mi.textContent=Tt,qe.push(Ye.appendChild(mi))})}addHost(Fe){const Ye=[];this._addStylesToHost(this._stylesSet,Fe,Ye),this._hostNodes.set(Fe,Ye)}removeHost(Fe){const Ye=this._hostNodes.get(Fe);Ye&&Ye.forEach(X),this._hostNodes.delete(Fe)}onStylesAdded(Fe){this._hostNodes.forEach((Ye,qe)=>{this._addStylesToHost(Fe,qe,Ye)})}ngOnDestroy(){this._hostNodes.forEach(Fe=>Fe.forEach(X))}}return Nt.\u0275fac=function(Fe){return new(Fe||Nt)(e.LFG(t.K0))},Nt.\u0275prov=e.Yz7({token:Nt,factory:Nt.\u0275fac}),Nt})();function X(Nt){(0,t.q)().remove(Nt)}const $={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/"},fe=/%COMP%/g;function i(Nt,je){return je.flat(100).map(Fe=>Fe.replace(fe,Nt))}function r(Nt){return je=>{if("__ngUnwrap__"===je)return Nt;!1===Nt(je)&&(je.preventDefault(),je.returnValue=!1)}}let c=(()=>{class Nt{constructor(Fe,Ye,qe){this.eventManager=Fe,this.sharedStylesHost=Ye,this.appId=qe,this.rendererByCompId=new Map,this.defaultRenderer=new b(Fe)}createRenderer(Fe,Ye){if(!Fe||!Ye)return this.defaultRenderer;switch(Ye.encapsulation){case e.ifc.Emulated:{let qe=this.rendererByCompId.get(Ye.id);return qe||(qe=new n(this.eventManager,this.sharedStylesHost,Ye,this.appId),this.rendererByCompId.set(Ye.id,qe)),qe.applyToHost(Fe),qe}case 1:case e.ifc.ShadowDom:return new y(this.eventManager,this.sharedStylesHost,Fe,Ye);default:if(!this.rendererByCompId.has(Ye.id)){const qe=i(Ye.id,Ye.styles);this.sharedStylesHost.addStyles(qe),this.rendererByCompId.set(Ye.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Nt.\u0275fac=function(Fe){return new(Fe||Nt)(e.LFG(E),e.LFG(Q),e.LFG(e.AFp))},Nt.\u0275prov=e.Yz7({token:Nt,factory:Nt.\u0275fac}),Nt})();class b{constructor(je){this.eventManager=je,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(je,Fe){return Fe?document.createElementNS($[Fe]||Fe,je):document.createElement(je)}createComment(je){return document.createComment(je)}createText(je){return document.createTextNode(je)}appendChild(je,Fe){(v(je)?je.content:je).appendChild(Fe)}insertBefore(je,Fe,Ye){je&&(v(je)?je.content:je).insertBefore(Fe,Ye)}removeChild(je,Fe){je&&je.removeChild(Fe)}selectRootElement(je,Fe){let Ye="string"==typeof je?document.querySelector(je):je;if(!Ye)throw new Error(`The selector "${je}" did not match any elements`);return Fe||(Ye.textContent=""),Ye}parentNode(je){return je.parentNode}nextSibling(je){return je.nextSibling}setAttribute(je,Fe,Ye,qe){if(qe){Fe=qe+":"+Fe;const Tt=$[qe];Tt?je.setAttributeNS(Tt,Fe,Ye):je.setAttribute(Fe,Ye)}else je.setAttribute(Fe,Ye)}removeAttribute(je,Fe,Ye){if(Ye){const qe=$[Ye];qe?je.removeAttributeNS(qe,Fe):je.removeAttribute(`${Ye}:${Fe}`)}else je.removeAttribute(Fe)}addClass(je,Fe){je.classList.add(Fe)}removeClass(je,Fe){je.classList.remove(Fe)}setStyle(je,Fe,Ye,qe){qe&(e.JOm.DashCase|e.JOm.Important)?je.style.setProperty(Fe,Ye,qe&e.JOm.Important?"important":""):je.style[Fe]=Ye}removeStyle(je,Fe,Ye){Ye&e.JOm.DashCase?je.style.removeProperty(Fe):je.style[Fe]=""}setProperty(je,Fe,Ye){je[Fe]=Ye}setValue(je,Fe){je.nodeValue=Fe}listen(je,Fe,Ye){return"string"==typeof je?this.eventManager.addGlobalEventListener(je,Fe,r(Ye)):this.eventManager.addEventListener(je,Fe,r(Ye))}}function v(Nt){return"TEMPLATE"===Nt.tagName&&void 0!==Nt.content}class n extends b{constructor(je,Fe,Ye,qe){super(je),this.component=Ye;const Tt=i(qe+"-"+Ye.id,Ye.styles);Fe.addStyles(Tt),this.contentAttr=function le(Nt){return"_ngcontent-%COMP%".replace(fe,Nt)}(qe+"-"+Ye.id),this.hostAttr=function L(Nt){return"_nghost-%COMP%".replace(fe,Nt)}(qe+"-"+Ye.id)}applyToHost(je){super.setAttribute(je,this.hostAttr,"")}createElement(je,Fe){const Ye=super.createElement(je,Fe);return super.setAttribute(Ye,this.contentAttr,""),Ye}}class y extends b{constructor(je,Fe,Ye,qe){super(je),this.sharedStylesHost=Fe,this.hostEl=Ye,this.shadowRoot=Ye.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Tt=i(qe.id,qe.styles);for(let mi=0;mi<Tt.length;mi++){const Ti=document.createElement("style");Ti.textContent=Tt[mi],this.shadowRoot.appendChild(Ti)}}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,Ye){return super.insertBefore(this.nodeOrShadowRoot(je),Fe,Ye)}removeChild(je,Fe){return super.removeChild(this.nodeOrShadowRoot(je),Fe)}parentNode(je){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(je)))}}let B=(()=>{class Nt extends U{constructor(Fe){super(Fe)}supports(Fe){return!0}addEventListener(Fe,Ye,qe){return Fe.addEventListener(Ye,qe,!1),()=>this.removeEventListener(Fe,Ye,qe)}removeEventListener(Fe,Ye,qe){return Fe.removeEventListener(Ye,qe)}}return Nt.\u0275fac=function(Fe){return new(Fe||Nt)(e.LFG(t.K0))},Nt.\u0275prov=e.Yz7({token:Nt,factory:Nt.\u0275fac}),Nt})();const z=["alt","control","meta","shift"],W={"\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"},Le={alt:Nt=>Nt.altKey,control:Nt=>Nt.ctrlKey,meta:Nt=>Nt.metaKey,shift:Nt=>Nt.shiftKey};let Ve=(()=>{class Nt extends U{constructor(Fe){super(Fe)}supports(Fe){return null!=Nt.parseEventName(Fe)}addEventListener(Fe,Ye,qe){const Tt=Nt.parseEventName(Ye),mi=Nt.eventCallback(Tt.fullKey,qe,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,t.q)().onAndCancel(Fe,Tt.domEventName,mi))}static parseEventName(Fe){const Ye=Fe.toLowerCase().split("."),qe=Ye.shift();if(0===Ye.length||"keydown"!==qe&&"keyup"!==qe)return null;const Tt=Nt._normalizeKey(Ye.pop());let mi="",Ti=Ye.indexOf("code");if(Ti>-1&&(Ye.splice(Ti,1),mi="code."),z.forEach(Fi=>{const Je=Ye.indexOf(Fi);Je>-1&&(Ye.splice(Je,1),mi+=Fi+".")}),mi+=Tt,0!=Ye.length||0===Tt.length)return null;const xi={};return xi.domEventName=qe,xi.fullKey=mi,xi}static matchEventFullKeyCode(Fe,Ye){let qe=W[Fe.key]||Fe.key,Tt="";return Ye.indexOf("code.")>-1&&(qe=Fe.code,Tt="code."),!(null==qe||!qe)&&(qe=qe.toLowerCase()," "===qe?qe="space":"."===qe&&(qe="dot"),z.forEach(mi=>{mi!==qe&&(0,Le[mi])(Fe)&&(Tt+=mi+".")}),Tt+=qe,Tt===Ye)}static eventCallback(Fe,Ye,qe){return Tt=>{Nt.matchEventFullKeyCode(Tt,Fe)&&qe.runGuarded(()=>Ye(Tt))}}static _normalizeKey(Fe){return"esc"===Fe?"escape":Fe}}return Nt.\u0275fac=function(Fe){return new(Fe||Nt)(e.LFG(t.K0))},Nt.\u0275prov=e.Yz7({token:Nt,factory:Nt.\u0275fac}),Nt})();const oe=(0,e.eFA)(e._c5,"browser",[{provide:e.Lbi,useValue:t.bD},{provide:e.g9A,useValue:function we(){k.makeCurrent()},multi:!0},{provide:t.K0,useFactory:function it(){return(0,e.RDi)(document),document},deps:[]}]),me=new e.OlP(""),te=[{provide:e.rWj,useClass:class A{addToWindow(je){e.dqk.getAngularTestability=(Ye,qe=!0)=>{const Tt=je.findTestabilityInTree(Ye,qe);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(Ye=>{const qe=e.dqk.getAllAngularTestabilities();let Tt=qe.length,mi=!1;const Ti=function(xi){mi=mi||xi,Tt--,0==Tt&&Ye(mi)};qe.forEach(function(xi){xi.whenStable(Ti)})})}findTestabilityInTree(je,Fe,Ye){return null==Fe?null:je.getTestability(Fe)??(Ye?(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]}],Ze=[{provide:e.zSh,useValue:"root"},{provide:e.qLn,useFactory:function he(){return new e.qLn},deps:[]},{provide:R,useClass:B,multi:!0,deps:[t.K0,e.R0b,e.Lbi]},{provide:R,useClass:Ve,multi:!0,deps:[t.K0]},{provide:c,useClass:c,deps:[E,Q,e.AFp]},{provide:e.FYo,useExisting:c},{provide:Y,useExisting:Q},{provide:Q,useClass:Q,deps:[t.K0]},{provide:E,useClass:E,deps:[R,e.R0b]},{provide:t.JF,useClass:w,deps:[]},[]];let Ue=(()=>{class Nt{constructor(Fe){}static withServerTransition(Fe){return{ngModule:Nt,providers:[{provide:e.AFp,useValue:Fe.appId},{provide:u,useExisting:e.AFp},S]}}}return Nt.\u0275fac=function(Fe){return new(Fe||Nt)(e.LFG(me,12))},Nt.\u0275mod=e.oAB({type:Nt}),Nt.\u0275inj=e.cJS({providers:[...Ze,...te],imports:[t.ez,e.hGG]}),Nt})(),ie=(()=>{class Nt{constructor(Fe){this._doc=Fe}getTitle(){return this._doc.title}setTitle(Fe){this._doc.title=Fe||""}}return Nt.\u0275fac=function(Fe){return new(Fe||Nt)(e.LFG(t.K0))},Nt.\u0275prov=e.Yz7({token:Nt,factory:function(Fe){let Ye=null;return Ye=Fe?new Fe:function ke(){return new ie((0,e.LFG)(t.K0))}(),Ye},providedIn:"root"}),Nt})();typeof window<"u"&&window;const st={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},ni=new e.OlP("HammerGestureConfig"),Ut=new e.OlP("HammerLoader");let ti=(()=>{class Nt{constructor(){this.events=[],this.overrides={}}buildHammer(Fe){const Ye=new Hammer(Fe,this.options);Ye.get("pinch").set({enable:!0}),Ye.get("rotate").set({enable:!0});for(const qe in this.overrides)Ye.get(qe).set(this.overrides[qe]);return Ye}}return Nt.\u0275fac=function(Fe){return new(Fe||Nt)},Nt.\u0275prov=e.Yz7({token:Nt,factory:Nt.\u0275fac}),Nt})(),dt=(()=>{class Nt extends U{constructor(Fe,Ye,qe,Tt){super(Fe),this._config=Ye,this.console=qe,this.loader=Tt,this._loaderPromise=null}supports(Fe){return!(!st.hasOwnProperty(Fe.toLowerCase())&&!this.isCustomEvent(Fe)||!window.Hammer&&!this.loader)}addEventListener(Fe,Ye,qe){const Tt=this.manager.getZone();if(Ye=Ye.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Tt.runOutsideAngular(()=>this.loader());let mi=!1,Ti=()=>{mi=!0};return Tt.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?mi||(Ti=this.addEventListener(Fe,Ye,qe)):Ti=()=>{}}).catch(()=>{Ti=()=>{}})),()=>{Ti()}}return Tt.runOutsideAngular(()=>{const mi=this._config.buildHammer(Fe),Ti=function(xi){Tt.runGuarded(function(){qe(xi)})};return mi.on(Ye,Ti),()=>{mi.off(Ye,Ti),"function"==typeof mi.destroy&&mi.destroy()}})}isCustomEvent(Fe){return this._config.events.indexOf(Fe)>-1}}return Nt.\u0275fac=function(Fe){return new(Fe||Nt)(e.LFG(t.K0),e.LFG(ni),e.LFG(e.c2e),e.LFG(Ut,8))},Nt.\u0275prov=e.Yz7({token:Nt,factory:Nt.\u0275fac}),Nt})(),at=(()=>{class Nt{}return Nt.\u0275fac=function(Fe){return new(Fe||Nt)},Nt.\u0275mod=e.oAB({type:Nt}),Nt.\u0275inj=e.cJS({providers:[{provide:R,useClass:dt,multi:!0,deps:[t.K0,ni,e.c2e,[new e.FiY,Ut]]},{provide:ni,useClass:ti,deps:[]}]}),Nt})(),_t=(()=>{class Nt{}return Nt.\u0275fac=function(Fe){return new(Fe||Nt)},Nt.\u0275prov=e.Yz7({token:Nt,factory:function(Fe){let Ye=null;return Ye=Fe?new(Fe||Nt):e.LFG(Bt),Ye},providedIn:"root"}),Nt})(),Bt=(()=>{class Nt extends _t{constructor(Fe){super(),this._doc=Fe}sanitize(Fe,Ye){if(null==Ye)return null;switch(Fe){case e.q3G.NONE:return Ye;case e.q3G.HTML:return(0,e.qzn)(Ye,"HTML")?(0,e.z3N)(Ye):(0,e.EiD)(this._doc,String(Ye)).toString();case e.q3G.STYLE:return(0,e.qzn)(Ye,"Style")?(0,e.z3N)(Ye):Ye;case e.q3G.SCRIPT:if((0,e.qzn)(Ye,"Script"))return(0,e.z3N)(Ye);throw new Error("unsafe value used in a script context");case e.q3G.URL:return(0,e.qzn)(Ye,"URL")?(0,e.z3N)(Ye):(0,e.mCW)(String(Ye));case e.q3G.RESOURCE_URL:if((0,e.qzn)(Ye,"ResourceURL"))return(0,e.z3N)(Ye);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 Nt.\u0275fac=function(Fe){return new(Fe||Nt)(e.LFG(t.K0))},Nt.\u0275prov=e.Yz7({token:Nt,factory:function(Fe){let Ye=null;return Ye=Fe?new Fe:function ai(Nt){return new Bt(Nt.get(t.K0))}(e.LFG(e.zs3)),Ye},providedIn:"root"}),Nt})()},9116:(ze,K,m)=>{"use strict";m.d(K,{gz:()=>ia,gk:()=>Bi,m2:()=>Yt,Q3:()=>Qi,OD:()=>si,Av:()=>mr,F0:()=>Sr,rH:()=>os,Od:()=>wl,Bz:()=>ud,lC:()=>es});var t=m(4650),e=m(457),g=m(9646),k=m(1135),o=m(6805),C=m(9841),h=m(7272),P=m(9770),u=m(9635),I=m(2843),S=m(9751),A=m(515),w=m(4033),R=m(7579),E=m(6895),U=m(4004),Y=m(3900),Q=m(5698),X=m(8675),$=m(9300),fe=m(5577),re=m(590),ee=m(4351),ce=m(8505),se=m(262),le=m(5026),L=m(4482),i=m(5403);function r(_e){return _e<=0?()=>A.E:(0,L.e)((xe,ae)=>{let Be=[];xe.subscribe((0,i.x)(ae,lt=>{Be.push(lt),_e<Be.length&&Be.shift()},()=>{for(const lt of Be)ae.next(lt);ae.complete()},void 0,()=>{Be=null}))})}var d=m(8068),c=m(6590),b=m(4671);function T(_e,xe){const ae=arguments.length>=2;return Be=>Be.pipe(_e?(0,$.h)((lt,Dt)=>_e(lt,Dt,Be)):b.y,r(1),ae?(0,c.d)(xe):(0,d.T)(()=>new o.K))}var N=m(2529),v=m(9718),n=m(8746),y=m(8343),B=m(8189),z=m(1481);const W="primary",Le=Symbol("RouteTitle");class Ve{constructor(xe){this.params=xe||{}}has(xe){return Object.prototype.hasOwnProperty.call(this.params,xe)}get(xe){if(this.has(xe)){const ae=this.params[xe];return Array.isArray(ae)?ae[0]:ae}return null}getAll(xe){if(this.has(xe)){const ae=this.params[xe];return Array.isArray(ae)?ae:[ae]}return[]}get keys(){return Object.keys(this.params)}}function Ke(_e){return new Ve(_e)}function $e(_e,xe,ae){const Be=ae.path.split("/");if(Be.length>_e.length||"full"===ae.pathMatch&&(xe.hasChildren()||Be.length<_e.length))return null;const lt={};for(let Dt=0;Dt<Be.length;Dt++){const Ht=Be[Dt],vi=_e[Dt];if(Ht.startsWith(":"))lt[Ht.substring(1)]=vi;else if(Ht!==vi.path)return null}return{consumed:_e.slice(0,Be.length),posParams:lt}}function ue(_e,xe){const ae=_e?Object.keys(_e):void 0,Be=xe?Object.keys(xe):void 0;if(!ae||!Be||ae.length!=Be.length)return!1;let lt;for(let Dt=0;Dt<ae.length;Dt++)if(lt=ae[Dt],!ye(_e[lt],xe[lt]))return!1;return!0}function ye(_e,xe){if(Array.isArray(_e)&&Array.isArray(xe)){if(_e.length!==xe.length)return!1;const ae=[..._e].sort(),Be=[...xe].sort();return ae.every((lt,Dt)=>Be[Dt]===lt)}return _e===xe}function we(_e){return Array.prototype.concat.apply([],_e)}function he(_e){return _e.length>0?_e[_e.length-1]:null}function De(_e,xe){for(const ae in _e)_e.hasOwnProperty(ae)&&xe(_e[ae],ae)}function oe(_e){return(0,t.CqO)(_e)?_e:(0,t.QGY)(_e)?(0,e.D)(Promise.resolve(_e)):(0,g.of)(_e)}const me=!1,te={exact:function de(_e,xe,ae){if(!mt(_e.segments,xe.segments)||!nt(_e.segments,xe.segments,ae)||_e.numberOfChildren!==xe.numberOfChildren)return!1;for(const Be in xe.children)if(!_e.children[Be]||!de(_e.children[Be],xe.children[Be],ae))return!1;return!0},subset:ke},Ze={exact:function q(_e,xe){return ue(_e,xe)},subset:function Ee(_e,xe){return Object.keys(xe).length<=Object.keys(_e).length&&Object.keys(xe).every(ae=>ye(_e[ae],xe[ae]))},ignored:()=>!0};function Ue(_e,xe,ae){return te[ae.paths](_e.root,xe.root,ae.matrixParams)&&Ze[ae.queryParams](_e.queryParams,xe.queryParams)&&!("exact"===ae.fragment&&_e.fragment!==xe.fragment)}function ke(_e,xe,ae){return ie(_e,xe,xe.segments,ae)}function ie(_e,xe,ae,Be){if(_e.segments.length>ae.length){const lt=_e.segments.slice(0,ae.length);return!(!mt(lt,ae)||xe.hasChildren()||!nt(lt,ae,Be))}if(_e.segments.length===ae.length){if(!mt(_e.segments,ae)||!nt(_e.segments,ae,Be))return!1;for(const lt in xe.children)if(!_e.children[lt]||!ke(_e.children[lt],xe.children[lt],Be))return!1;return!0}{const lt=ae.slice(0,_e.segments.length),Dt=ae.slice(_e.segments.length);return!!(mt(_e.segments,lt)&&nt(_e.segments,lt,Be)&&_e.children[W])&&ie(_e.children[W],xe,Dt,Be)}}function nt(_e,xe,ae){return xe.every((Be,lt)=>Ze[ae](_e[lt].parameters,Be.parameters))}class Ct{constructor(xe=new rt([],{}),ae={},Be=null){this.root=xe,this.queryParams=ae,this.fragment=Be}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ke(this.queryParams)),this._queryParamMap}toString(){return xt.serialize(this)}}class rt{constructor(xe,ae){this.segments=xe,this.children=ae,this.parent=null,De(ae,(Be,lt)=>Be.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Pe(this)}}class Xt{constructor(xe,ae){this.path=xe,this.parameters=ae}get parameterMap(){return this._parameterMap||(this._parameterMap=Ke(this.parameters)),this._parameterMap}toString(){return ve(this)}}function mt(_e,xe){return _e.length===xe.length&&_e.every((ae,Be)=>ae.path===xe[Be].path)}let Ie=(()=>{class _e{}return _e.\u0275fac=function(ae){return new(ae||_e)},_e.\u0275prov=t.Yz7({token:_e,factory:function(){return new He},providedIn:"root"}),_e})();class He{parse(xe){const ae=new ai(xe);return new Ct(ae.parseRootSegment(),ae.parseQueryParams(),ae.parseFragment())}serialize(xe){const ae=`/${et(xe.root,!0)}`,Be=function st(_e){const xe=Object.keys(_e).map(ae=>{const Be=_e[ae];return Array.isArray(Be)?Be.map(lt=>`${Lt(ae)}=${Lt(lt)}`).join("&"):`${Lt(ae)}=${Lt(Be)}`}).filter(ae=>!!ae);return xe.length?`?${xe.join("&")}`:""}(xe.queryParams);return`${ae}${Be}${"string"==typeof xe.fragment?`#${function Ft(_e){return encodeURI(_e)}(xe.fragment)}`:""}`}}const xt=new He;function Pe(_e){return _e.segments.map(xe=>ve(xe)).join("/")}function et(_e,xe){if(!_e.hasChildren())return Pe(_e);if(xe){const ae=_e.children[W]?et(_e.children[W],!1):"",Be=[];return De(_e.children,(lt,Dt)=>{Dt!==W&&Be.push(`${Dt}:${et(lt,!1)}`)}),Be.length>0?`${ae}(${Be.join("//")})`:ae}{const ae=function St(_e,xe){let ae=[];return De(_e.children,(Be,lt)=>{lt===W&&(ae=ae.concat(xe(Be,lt)))}),De(_e.children,(Be,lt)=>{lt!==W&&(ae=ae.concat(xe(Be,lt)))}),ae}(_e,(Be,lt)=>lt===W?[et(_e.children[W],!1)]:[`${lt}:${et(Be,!1)}`]);return 1===Object.keys(_e.children).length&&null!=_e.children[W]?`${Pe(_e)}/${ae[0]}`:`${Pe(_e)}/(${ae.join("//")})`}}function Vt(_e){return encodeURIComponent(_e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Lt(_e){return Vt(_e).replace(/%3B/gi,";")}function bt(_e){return Vt(_e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ce(_e){return decodeURIComponent(_e)}function J(_e){return Ce(_e.replace(/\+/g,"%20"))}function ve(_e){return`${bt(_e.path)}${function Ne(_e){return Object.keys(_e).map(xe=>`;${bt(xe)}=${bt(_e[xe])}`).join("")}(_e.parameters)}`}const ni=/^[^\/()?;=#]+/;function Ut(_e){const xe=_e.match(ni);return xe?xe[0]:""}const ti=/^[^=?&#]+/,at=/^[^&#]+/;class ai{constructor(xe){this.url=xe,this.remaining=xe}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new rt([],{}):new rt([],this.parseChildren())}parseQueryParams(){const xe={};if(this.consumeOptional("?"))do{this.parseQueryParam(xe)}while(this.consumeOptional("&"));return xe}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const xe=[];for(this.peekStartsWith("(")||xe.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),xe.push(this.parseSegment());let ae={};this.peekStartsWith("/(")&&(this.capture("/"),ae=this.parseParens(!0));let Be={};return this.peekStartsWith("(")&&(Be=this.parseParens(!1)),(xe.length>0||Object.keys(ae).length>0)&&(Be[W]=new rt(xe,ae)),Be}parseSegment(){const xe=Ut(this.remaining);if(""===xe&&this.peekStartsWith(";"))throw new t.vHH(4009,me);return this.capture(xe),new Xt(Ce(xe),this.parseMatrixParams())}parseMatrixParams(){const xe={};for(;this.consumeOptional(";");)this.parseParam(xe);return xe}parseParam(xe){const ae=Ut(this.remaining);if(!ae)return;this.capture(ae);let Be="";if(this.consumeOptional("=")){const lt=Ut(this.remaining);lt&&(Be=lt,this.capture(Be))}xe[Ce(ae)]=Ce(Be)}parseQueryParam(xe){const ae=function dt(_e){const xe=_e.match(ti);return xe?xe[0]:""}(this.remaining);if(!ae)return;this.capture(ae);let Be="";if(this.consumeOptional("=")){const Ht=function _t(_e){const xe=_e.match(at);return xe?xe[0]:""}(this.remaining);Ht&&(Be=Ht,this.capture(Be))}const lt=J(ae),Dt=J(Be);if(xe.hasOwnProperty(lt)){let Ht=xe[lt];Array.isArray(Ht)||(Ht=[Ht],xe[lt]=Ht),Ht.push(Dt)}else xe[lt]=Dt}parseParens(xe){const ae={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Be=Ut(this.remaining),lt=this.remaining[Be.length];if("/"!==lt&&")"!==lt&&";"!==lt)throw new t.vHH(4010,me);let Dt;Be.indexOf(":")>-1?(Dt=Be.slice(0,Be.indexOf(":")),this.capture(Dt),this.capture(":")):xe&&(Dt=W);const Ht=this.parseChildren();ae[Dt]=1===Object.keys(Ht).length?Ht[W]:new rt([],Ht),this.consumeOptional("//")}return ae}peekStartsWith(xe){return this.remaining.startsWith(xe)}consumeOptional(xe){return!!this.peekStartsWith(xe)&&(this.remaining=this.remaining.substring(xe.length),!0)}capture(xe){if(!this.consumeOptional(xe))throw new t.vHH(4011,me)}}function Bt(_e){return _e.segments.length>0?new rt([],{[W]:_e}):_e}function zt(_e){const xe={};for(const Be of Object.keys(_e.children)){const Dt=zt(_e.children[Be]);(Dt.segments.length>0||Dt.hasChildren())&&(xe[Be]=Dt)}return function Nt(_e){if(1===_e.numberOfChildren&&_e.children[W]){const xe=_e.children[W];return new rt(_e.segments.concat(xe.segments),xe.children)}return _e}(new rt(_e.segments,xe))}function je(_e){return _e instanceof Ct}function mi(_e,xe,ae,Be,lt){if(0===ae.length)return Fi(xe.root,xe.root,xe.root,Be,lt);const Dt=function be(_e){if("string"==typeof _e[0]&&1===_e.length&&"/"===_e[0])return new wt(!0,0,_e);let xe=0,ae=!1;const Be=_e.reduce((lt,Dt,Ht)=>{if("object"==typeof Dt&&null!=Dt){if(Dt.outlets){const vi={};return De(Dt.outlets,(Ri,sn)=>{vi[sn]="string"==typeof Ri?Ri.split("/"):Ri}),[...lt,{outlets:vi}]}if(Dt.segmentPath)return[...lt,Dt.segmentPath]}return"string"!=typeof Dt?[...lt,Dt]:0===Ht?(Dt.split("/").forEach((vi,Ri)=>{0==Ri&&"."===vi||(0==Ri&&""===vi?ae=!0:".."===vi?xe++:""!=vi&<.push(vi))}),lt):[...lt,Dt]},[]);return new wt(ae,xe,Be)}(ae);return Dt.toRoot()?Fi(xe.root,xe.root,new rt([],{}),Be,lt):function Ht(Ri){const sn=function gi(_e,xe,ae,Be){if(_e.isAbsolute)return new Pt(xe.root,!0,0);if(-1===Be)return new Pt(ae,ae===xe.root,0);return function Si(_e,xe,ae){let Be=_e,lt=xe,Dt=ae;for(;Dt>lt;){if(Dt-=lt,Be=Be.parent,!Be)throw new t.vHH(4005,!1);lt=Be.segments.length}return new Pt(Be,!1,lt-Dt)}(ae,Be+(Ti(_e.commands[0])?0:1),_e.numberOfDoubleDots)}(Dt,xe,_e.snapshot?._urlSegment,Ri),$i=sn.processChildren?Gt(sn.segmentGroup,sn.index,Dt.commands):Gi(sn.segmentGroup,sn.index,Dt.commands);return Fi(xe.root,sn.segmentGroup,$i,Be,lt)}(_e.snapshot?._lastPathIndex)}function Ti(_e){return"object"==typeof _e&&null!=_e&&!_e.outlets&&!_e.segmentPath}function xi(_e){return"object"==typeof _e&&null!=_e&&_e.outlets}function Fi(_e,xe,ae,Be,lt){let Ht,Dt={};Be&&De(Be,(Ri,sn)=>{Dt[sn]=Array.isArray(Ri)?Ri.map($i=>`${$i}`):`${Ri}`}),Ht=_e===xe?ae:Je(_e,xe,ae);const vi=Bt(zt(Ht));return new Ct(vi,Dt,lt)}function Je(_e,xe,ae){const Be={};return De(_e.children,(lt,Dt)=>{Be[Dt]=lt===xe?ae:Je(lt,xe,ae)}),new rt(_e.segments,Be)}class wt{constructor(xe,ae,Be){if(this.isAbsolute=xe,this.numberOfDoubleDots=ae,this.commands=Be,xe&&Be.length>0&&Ti(Be[0]))throw new t.vHH(4003,!1);const lt=Be.find(xi);if(lt&<!==he(Be))throw new t.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Pt{constructor(xe,ae,Be){this.segmentGroup=xe,this.processChildren=ae,this.index=Be}}function Gi(_e,xe,ae){if(_e||(_e=new rt([],{})),0===_e.segments.length&&_e.hasChildren())return Gt(_e,xe,ae);const Be=function di(_e,xe,ae){let Be=0,lt=xe;const Dt={match:!1,pathIndex:0,commandIndex:0};for(;lt<_e.segments.length;){if(Be>=ae.length)return Dt;const Ht=_e.segments[lt],vi=ae[Be];if(xi(vi))break;const Ri=`${vi}`,sn=Be<ae.length-1?ae[Be+1]:null;if(lt>0&&void 0===Ri)break;if(Ri&&sn&&"object"==typeof sn&&void 0===sn.outlets){if(!jt(Ri,sn,Ht))return Dt;Be+=2}else{if(!jt(Ri,{},Ht))return Dt;Be++}lt++}return{match:!0,pathIndex:lt,commandIndex:Be}}(_e,xe,ae),lt=ae.slice(Be.commandIndex);if(Be.match&&Be.pathIndex<_e.segments.length){const Dt=new rt(_e.segments.slice(0,Be.pathIndex),{});return Dt.children[W]=new rt(_e.segments.slice(Be.pathIndex),_e.children),Gt(Dt,0,lt)}return Be.match&&0===lt.length?new rt(_e.segments,{}):Be.match&&!_e.hasChildren()?ge(_e,xe,ae):Be.match?Gt(_e,0,lt):ge(_e,xe,ae)}function Gt(_e,xe,ae){if(0===ae.length)return new rt(_e.segments,{});{const Be=function ki(_e){return xi(_e[0])?_e[0].outlets:{[W]:_e}}(ae),lt={};return De(Be,(Dt,Ht)=>{"string"==typeof Dt&&(Dt=[Dt]),null!==Dt&&(lt[Ht]=Gi(_e.children[Ht],xe,Dt))}),De(_e.children,(Dt,Ht)=>{void 0===Be[Ht]&&(lt[Ht]=Dt)}),new rt(_e.segments,lt)}}function ge(_e,xe,ae){const Be=_e.segments.slice(0,xe);let lt=0;for(;lt<ae.length;){const Dt=ae[lt];if(xi(Dt)){const Ri=Xe(Dt.outlets);return new rt(Be,Ri)}if(0===lt&&Ti(ae[0])){Be.push(new Xt(_e.segments[xe].path,Et(ae[0]))),lt++;continue}const Ht=xi(Dt)?Dt.outlets[W]:`${Dt}`,vi=lt<ae.length-1?ae[lt+1]:null;Ht&&vi&&Ti(vi)?(Be.push(new Xt(Ht,Et(vi))),lt+=2):(Be.push(new Xt(Ht,{})),lt++)}return new rt(Be,{})}function Xe(_e){const xe={};return De(_e,(ae,Be)=>{"string"==typeof ae&&(ae=[ae]),null!==ae&&(xe[Be]=ge(new rt([],{}),0,ae))}),xe}function Et(_e){const xe={};return De(_e,(ae,Be)=>xe[Be]=`${ae}`),xe}function jt(_e,xe,ae){return _e==ae.path&&ue(xe,ae.parameters)}class Wt{constructor(xe,ae){this.id=xe,this.url=ae}}class si extends Wt{constructor(xe,ae,Be="imperative",lt=null){super(xe,ae),this.type=0,this.navigationTrigger=Be,this.restoredState=lt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Yt extends Wt{constructor(xe,ae,Be){super(xe,ae),this.urlAfterRedirects=Be,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Bi extends Wt{constructor(xe,ae,Be,lt){super(xe,ae),this.reason=Be,this.code=lt,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qi extends Wt{constructor(xe,ae,Be,lt){super(xe,ae),this.error=Be,this.target=lt,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class yn extends Wt{constructor(xe,ae,Be,lt){super(xe,ae),this.urlAfterRedirects=Be,this.state=lt,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class or extends Wt{constructor(xe,ae,Be,lt){super(xe,ae),this.urlAfterRedirects=Be,this.state=lt,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _n extends Wt{constructor(xe,ae,Be,lt,Dt){super(xe,ae),this.urlAfterRedirects=Be,this.state=lt,this.shouldActivate=Dt,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Yr extends Wt{constructor(xe,ae,Be,lt){super(xe,ae),this.urlAfterRedirects=Be,this.state=lt,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mr extends Wt{constructor(xe,ae,Be,lt){super(xe,ae),this.urlAfterRedirects=Be,this.state=lt,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jr{constructor(xe){this.route=xe,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Qr{constructor(xe){this.route=xe,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class At{constructor(xe){this.snapshot=xe,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ci{constructor(xe){this.snapshot=xe,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class li{constructor(xe){this.snapshot=xe,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mi{constructor(xe){this.snapshot=xe,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ui{constructor(xe,ae,Be){this.routerEvent=xe,this.position=ae,this.anchor=Be,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class cn{constructor(xe){this._root=xe}get root(){return this._root.value}parent(xe){const ae=this.pathFromRoot(xe);return ae.length>1?ae[ae.length-2]:null}children(xe){const ae=Xn(xe,this._root);return ae?ae.children.map(Be=>Be.value):[]}firstChild(xe){const ae=Xn(xe,this._root);return ae&&ae.children.length>0?ae.children[0].value:null}siblings(xe){const ae=In(xe,this._root);return ae.length<2?[]:ae[ae.length-2].children.map(lt=>lt.value).filter(lt=>lt!==xe)}pathFromRoot(xe){return In(xe,this._root).map(ae=>ae.value)}}function Xn(_e,xe){if(_e===xe.value)return xe;for(const ae of xe.children){const Be=Xn(_e,ae);if(Be)return Be}return null}function In(_e,xe){if(_e===xe.value)return[xe];for(const ae of xe.children){const Be=In(_e,ae);if(Be.length)return Be.unshift(xe),Be}return[]}class Kn{constructor(xe,ae){this.value=xe,this.children=ae}toString(){return`TreeNode(${this.value})`}}function Tn(_e){const xe={};return _e&&_e.children.forEach(ae=>xe[ae.value.outlet]=ae),xe}class cr extends cn{constructor(xe,ae){super(xe),this.snapshot=ae,Kr(this,xe)}toString(){return this.snapshot.toString()}}function Hr(_e,xe){const ae=function nr(_e,xe){const Ht=new Ma([],{},{},"",{},W,xe,null,_e.root,-1,{});return new Sa("",new Kn(Ht,[]))}(_e,xe),Be=new k.X([new Xt("",{})]),lt=new k.X({}),Dt=new k.X({}),Ht=new k.X({}),vi=new k.X(""),Ri=new ia(Be,lt,Ht,vi,Dt,W,xe,ae.root);return Ri.snapshot=ae.root,new cr(new Kn(Ri,[]),ae)}class ia{constructor(xe,ae,Be,lt,Dt,Ht,vi,Ri){this.url=xe,this.params=ae,this.queryParams=Be,this.fragment=lt,this.data=Dt,this.outlet=Ht,this.component=vi,this.title=this.data?.pipe((0,U.U)(sn=>sn[Le]))??(0,g.of)(void 0),this._futureSnapshot=Ri}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,U.U)(xe=>Ke(xe)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,U.U)(xe=>Ke(xe)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function rr(_e,xe="emptyOnly"){const ae=_e.pathFromRoot;let Be=0;if("always"!==xe)for(Be=ae.length-1;Be>=1;){const lt=ae[Be],Dt=ae[Be-1];if(lt.routeConfig&&""===lt.routeConfig.path)Be--;else{if(Dt.component)break;Be--}}return function br(_e){return _e.reduce((xe,ae)=>({params:{...xe.params,...ae.params},data:{...xe.data,...ae.data},resolve:{...ae.data,...xe.resolve,...ae.routeConfig?.data,...ae._resolvedData}}),{params:{},data:{},resolve:{}})}(ae.slice(Be))}class Ma{constructor(xe,ae,Be,lt,Dt,Ht,vi,Ri,sn,$i,on){this.url=xe,this.params=ae,this.queryParams=Be,this.fragment=lt,this.data=Dt,this.outlet=Ht,this.component=vi,this.routeConfig=Ri,this._urlSegment=sn,this._lastPathIndex=$i,this._resolve=on}get title(){return this.data?.[Le]}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=Ke(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ke(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Be=>Be.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Sa extends cn{constructor(xe,ae){super(ae),this.url=xe,Kr(this,ae)}toString(){return tr(this._root)}}function Kr(_e,xe){xe.value._routerState=_e,xe.children.forEach(ae=>Kr(_e,ae))}function tr(_e){const xe=_e.children.length>0?` { ${_e.children.map(tr).join(", ")} } `:"";return`${_e.value}${xe}`}function Fr(_e){if(_e.snapshot){const xe=_e.snapshot,ae=_e._futureSnapshot;_e.snapshot=ae,ue(xe.queryParams,ae.queryParams)||_e.queryParams.next(ae.queryParams),xe.fragment!==ae.fragment&&_e.fragment.next(ae.fragment),ue(xe.params,ae.params)||_e.params.next(ae.params),function Ae(_e,xe){if(_e.length!==xe.length)return!1;for(let ae=0;ae<_e.length;++ae)if(!ue(_e[ae],xe[ae]))return!1;return!0}(xe.url,ae.url)||_e.url.next(ae.url),ue(xe.data,ae.data)||_e.data.next(ae.data)}else _e.snapshot=_e._futureSnapshot,_e.data.next(_e._futureSnapshot.data)}function yr(_e,xe){const ae=ue(_e.params,xe.params)&&function gt(_e,xe){return mt(_e,xe)&&_e.every((ae,Be)=>ue(ae.parameters,xe[Be].parameters))}(_e.url,xe.url);return ae&&!(!_e.parent!=!xe.parent)&&(!_e.parent||yr(_e.parent,xe.parent))}function na(_e,xe,ae){if(ae&&_e.shouldReuseRoute(xe.value,ae.value.snapshot)){const Be=ae.value;Be._futureSnapshot=xe.value;const lt=function hs(_e,xe,ae){return xe.children.map(Be=>{for(const lt of ae.children)if(_e.shouldReuseRoute(Be.value,lt.value.snapshot))return na(_e,Be,lt);return na(_e,Be)})}(_e,xe,ae);return new Kn(Be,lt)}{if(_e.shouldAttach(xe.value)){const Dt=_e.retrieve(xe.value);if(null!==Dt){const Ht=Dt.route;return Ht.value._futureSnapshot=xe.value,Ht.children=xe.children.map(vi=>na(_e,vi)),Ht}}const Be=function zs(_e){return new ia(new k.X(_e.url),new k.X(_e.params),new k.X(_e.queryParams),new k.X(_e.fragment),new k.X(_e.data),_e.outlet,_e.component,_e)}(xe.value),lt=xe.children.map(Dt=>na(_e,Dt));return new Kn(Be,lt)}}const Tr="ngNavigationCancelingError";function qs(_e,xe){const{redirectTo:ae,navigationBehaviorOptions:Be}=je(xe)?{redirectTo:xe,navigationBehaviorOptions:void 0}:xe,lt=Ar(!1,0,xe);return lt.url=ae,lt.navigationBehaviorOptions=Be,lt}function Ar(_e,xe,ae){const Be=new Error("NavigationCancelingError: "+(_e||""));return Be[Tr]=!0,Be.cancellationCode=xe,ae&&(Be.url=ae),Be}function us(_e){return fs(_e)&&je(_e.url)}function fs(_e){return _e&&_e[Tr]}class Js{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new $a,this.attachRef=null}}let $a=(()=>{class _e{constructor(){this.contexts=new Map}onChildOutletCreated(ae,Be){const lt=this.getOrCreateContext(ae);lt.outlet=Be,this.contexts.set(ae,lt)}onChildOutletDestroyed(ae){const Be=this.getContext(ae);Be&&(Be.outlet=null,Be.attachRef=null)}onOutletDeactivated(){const ae=this.contexts;return this.contexts=new Map,ae}onOutletReAttached(ae){this.contexts=ae}getOrCreateContext(ae){let Be=this.getContext(ae);return Be||(Be=new Js,this.contexts.set(ae,Be)),Be}getContext(ae){return this.contexts.get(ae)||null}}return _e.\u0275fac=function(ae){return new(ae||_e)},_e.\u0275prov=t.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();const ha=!1;let es=(()=>{class _e{constructor(){this.activated=null,this._activatedRoute=null,this.name=W,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)($a),this.location=(0,t.f3M)(t.s_b),this.changeDetector=(0,t.f3M)(t.sBO),this.environmentInjector=(0,t.f3M)(t.lqb)}ngOnChanges(ae){if(ae.name){const{firstChange:Be,previousValue:lt}=ae.name;if(Be)return;this.isTrackedInParentContexts(lt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(lt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(ae){return this.parentContexts.getContext(ae)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const ae=this.parentContexts.getContext(this.name);ae?.route&&(ae.attachRef?this.attach(ae.attachRef,ae.route):this.activateWith(ae.route,ae.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new t.vHH(4012,ha);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new t.vHH(4012,ha);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new t.vHH(4012,ha);this.location.detach();const ae=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(ae.instance),ae}attach(ae,Be){this.activated=ae,this._activatedRoute=Be,this.location.insert(ae.hostView),this.attachEvents.emit(ae.instance)}deactivate(){if(this.activated){const ae=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(ae)}}activateWith(ae,Be){if(this.isActivated)throw new t.vHH(4013,ha);this._activatedRoute=ae;const lt=this.location,Ht=ae.snapshot.component,vi=this.parentContexts.getOrCreateContext(this.name).children,Ri=new ms(ae,vi,lt.injector);if(Be&&function Cs(_e){return!!_e.resolveComponentFactory}(Be)){const sn=Be.resolveComponentFactory(Ht);this.activated=lt.createComponent(sn,lt.length,Ri)}else this.activated=lt.createComponent(Ht,{index:lt.length,injector:Ri,environmentInjector:Be??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return _e.\u0275fac=function(ae){return new(ae||_e)},_e.\u0275dir=t.lG2({type:_e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.TTD]}),_e})();class ms{constructor(xe,ae,Be){this.route=xe,this.childContexts=ae,this.parent=Be}get(xe,ae){return xe===ia?this.route:xe===$a?this.childContexts:this.parent.get(xe,ae)}}let Wa=(()=>{class _e{}return _e.\u0275fac=function(ae){return new(ae||_e)},_e.\u0275cmp=t.Xpm({type:_e,selectors:[["ng-component"]],standalone:!0,features:[t.jDz],decls:1,vars:0,template:function(ae,Be){1&ae&&t._UZ(0,"router-outlet")},dependencies:[es],encapsulation:2}),_e})();function Da(_e,xe){return _e.providers&&!_e._injector&&(_e._injector=(0,t.MMx)(_e.providers,xe,`Route: ${_e.path}`)),_e._injector??xe}function ka(_e){const xe=_e.children&&_e.children.map(ka),ae=xe?{..._e,children:xe}:{..._e};return!ae.component&&!ae.loadComponent&&(xe||ae.loadChildren)&&ae.outlet&&ae.outlet!==W&&(ae.component=Wa),ae}function xr(_e){return _e.outlet||W}function qr(_e,xe){const ae=_e.filter(Be=>xr(Be)===xe);return ae.push(..._e.filter(Be=>xr(Be)!==xe)),ae}function Oa(_e){if(!_e)return null;if(_e.routeConfig?._injector)return _e.routeConfig._injector;for(let xe=_e.parent;xe;xe=xe.parent){const ae=xe.routeConfig;if(ae?._loadedInjector)return ae._loadedInjector;if(ae?._injector)return ae._injector}return null}class hr{constructor(xe,ae,Be,lt){this.routeReuseStrategy=xe,this.futureState=ae,this.currState=Be,this.forwardEvent=lt}activate(xe){const ae=this.futureState._root,Be=this.currState?this.currState._root:null;this.deactivateChildRoutes(ae,Be,xe),Fr(this.futureState.root),this.activateChildRoutes(ae,Be,xe)}deactivateChildRoutes(xe,ae,Be){const lt=Tn(ae);xe.children.forEach(Dt=>{const Ht=Dt.value.outlet;this.deactivateRoutes(Dt,lt[Ht],Be),delete lt[Ht]}),De(lt,(Dt,Ht)=>{this.deactivateRouteAndItsChildren(Dt,Be)})}deactivateRoutes(xe,ae,Be){const lt=xe.value,Dt=ae?ae.value:null;if(lt===Dt)if(lt.component){const Ht=Be.getContext(lt.outlet);Ht&&this.deactivateChildRoutes(xe,ae,Ht.children)}else this.deactivateChildRoutes(xe,ae,Be);else Dt&&this.deactivateRouteAndItsChildren(ae,Be)}deactivateRouteAndItsChildren(xe,ae){xe.value.component&&this.routeReuseStrategy.shouldDetach(xe.value.snapshot)?this.detachAndStoreRouteSubtree(xe,ae):this.deactivateRouteAndOutlet(xe,ae)}detachAndStoreRouteSubtree(xe,ae){const Be=ae.getContext(xe.value.outlet),lt=Be&&xe.value.component?Be.children:ae,Dt=Tn(xe);for(const Ht of Object.keys(Dt))this.deactivateRouteAndItsChildren(Dt[Ht],lt);if(Be&&Be.outlet){const Ht=Be.outlet.detach(),vi=Be.children.onOutletDeactivated();this.routeReuseStrategy.store(xe.value.snapshot,{componentRef:Ht,route:xe,contexts:vi})}}deactivateRouteAndOutlet(xe,ae){const Be=ae.getContext(xe.value.outlet),lt=Be&&xe.value.component?Be.children:ae,Dt=Tn(xe);for(const Ht of Object.keys(Dt))this.deactivateRouteAndItsChildren(Dt[Ht],lt);Be&&Be.outlet&&(Be.outlet.deactivate(),Be.children.onOutletDeactivated(),Be.attachRef=null,Be.resolver=null,Be.route=null)}activateChildRoutes(xe,ae,Be){const lt=Tn(ae);xe.children.forEach(Dt=>{this.activateRoutes(Dt,lt[Dt.value.outlet],Be),this.forwardEvent(new Mi(Dt.value.snapshot))}),xe.children.length&&this.forwardEvent(new ci(xe.value.snapshot))}activateRoutes(xe,ae,Be){const lt=xe.value,Dt=ae?ae.value:null;if(Fr(lt),lt===Dt)if(lt.component){const Ht=Be.getOrCreateContext(lt.outlet);this.activateChildRoutes(xe,ae,Ht.children)}else this.activateChildRoutes(xe,ae,Be);else if(lt.component){const Ht=Be.getOrCreateContext(lt.outlet);if(this.routeReuseStrategy.shouldAttach(lt.snapshot)){const vi=this.routeReuseStrategy.retrieve(lt.snapshot);this.routeReuseStrategy.store(lt.snapshot,null),Ht.children.onOutletReAttached(vi.contexts),Ht.attachRef=vi.componentRef,Ht.route=vi.route.value,Ht.outlet&&Ht.outlet.attach(vi.componentRef,vi.route.value),Fr(vi.route.value),this.activateChildRoutes(xe,null,Ht.children)}else{const vi=Oa(lt.snapshot),Ri=vi?.get(t._Vd)??null;Ht.attachRef=null,Ht.route=lt,Ht.resolver=Ri,Ht.injector=vi,Ht.outlet&&Ht.outlet.activateWith(lt,Ht.injector),this.activateChildRoutes(xe,null,Ht.children)}}else this.activateChildRoutes(xe,null,Be)}}class Ya{constructor(xe){this.path=xe,this.route=this.path[this.path.length-1]}}class ar{constructor(xe,ae){this.component=xe,this.route=ae}}function Wn(_e,xe,ae){const Be=_e._root;return ir(Be,xe?xe._root:null,ae,[Be.value])}function Cr(_e,xe){const ae=Symbol(),Be=xe.get(_e,ae);return Be===ae?"function"!=typeof _e||(0,t.Z0I)(_e)?xe.get(_e):_e:Be}function ir(_e,xe,ae,Be,lt={canDeactivateChecks:[],canActivateChecks:[]}){const Dt=Tn(xe);return _e.children.forEach(Ht=>{(function ua(_e,xe,ae,Be,lt={canDeactivateChecks:[],canActivateChecks:[]}){const Dt=_e.value,Ht=xe?xe.value:null,vi=ae?ae.getContext(_e.value.outlet):null;if(Ht&&Dt.routeConfig===Ht.routeConfig){const Ri=function Rt(_e,xe,ae){if("function"==typeof ae)return ae(_e,xe);switch(ae){case"pathParamsChange":return!mt(_e.url,xe.url);case"pathParamsOrQueryParamsChange":return!mt(_e.url,xe.url)||!ue(_e.queryParams,xe.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!yr(_e,xe)||!ue(_e.queryParams,xe.queryParams);default:return!yr(_e,xe)}}(Ht,Dt,Dt.routeConfig.runGuardsAndResolvers);Ri?lt.canActivateChecks.push(new Ya(Be)):(Dt.data=Ht.data,Dt._resolvedData=Ht._resolvedData),ir(_e,xe,Dt.component?vi?vi.children:null:ae,Be,lt),Ri&&vi&&vi.outlet&&vi.outlet.isActivated&<.canDeactivateChecks.push(new ar(vi.outlet.component,Ht))}else Ht&&fi(xe,vi,lt),lt.canActivateChecks.push(new Ya(Be)),ir(_e,null,Dt.component?vi?vi.children:null:ae,Be,lt)})(Ht,Dt[Ht.value.outlet],ae,Be.concat([Ht.value]),lt),delete Dt[Ht.value.outlet]}),De(Dt,(Ht,vi)=>fi(Ht,ae.getContext(vi),lt)),lt}function fi(_e,xe,ae){const Be=Tn(_e),lt=_e.value;De(Be,(Dt,Ht)=>{fi(Dt,lt.component?xe?xe.children.getContext(Ht):null:xe,ae)}),ae.canDeactivateChecks.push(new ar(lt.component&&xe&&xe.outlet&&xe.outlet.isActivated?xe.outlet.component:null,lt))}function vt(_e){return"function"==typeof _e}function ot(_e){return _e instanceof o.K||"EmptyError"===_e?.name}const tt=Symbol("INITIAL_VALUE");function Ge(){return(0,Y.w)(_e=>(0,C.a)(_e.map(xe=>xe.pipe((0,Q.q)(1),(0,X.O)(tt)))).pipe((0,U.U)(xe=>{for(const ae of xe)if(!0!==ae){if(ae===tt)return tt;if(!1===ae||ae instanceof Ct)return ae}return!0}),(0,$.h)(xe=>xe!==tt),(0,Q.q)(1)))}function Ms(_e){return(0,u.z)((0,ce.b)(xe=>{if(je(xe))throw qs(0,xe)}),(0,U.U)(xe=>!0===xe))}const fa={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Bs(_e,xe,ae,Be,lt){const Dt=ns(_e,xe,ae);return Dt.matched?function is(_e,xe,ae,Be){const lt=xe.canMatch;if(!lt||0===lt.length)return(0,g.of)(!0);const Dt=lt.map(Ht=>{const vi=Cr(Ht,_e);return oe(function qi(_e){return _e&&vt(_e.canMatch)}(vi)?vi.canMatch(xe,ae):_e.runInContext(()=>vi(xe,ae)))});return(0,g.of)(Dt).pipe(Ge(),Ms())}(Be=Da(xe,Be),xe,ae).pipe((0,U.U)(Ht=>!0===Ht?Dt:{...fa})):(0,g.of)(Dt)}function ns(_e,xe,ae){if(""===xe.path)return"full"===xe.pathMatch&&(_e.hasChildren()||ae.length>0)?{...fa}:{matched:!0,consumedSegments:[],remainingSegments:ae,parameters:{},positionalParamSegments:{}};const lt=(xe.matcher||$e)(ae,_e,xe);if(!lt)return{...fa};const Dt={};De(lt.posParams,(vi,Ri)=>{Dt[Ri]=vi.path});const Ht=lt.consumed.length>0?{...Dt,...lt.consumed[lt.consumed.length-1].parameters}:Dt;return{matched:!0,consumedSegments:lt.consumed,remainingSegments:ae.slice(lt.consumed.length),parameters:Ht,positionalParamSegments:lt.posParams??{}}}function Ss(_e,xe,ae,Be){if(ae.length>0&&function kn(_e,xe,ae){return ae.some(Be=>Pa(_e,xe,Be)&&xr(Be)!==W)}(_e,ae,Be)){const Dt=new rt(xe,function sa(_e,xe,ae,Be){const lt={};lt[W]=Be,Be._sourceSegment=_e,Be._segmentIndexShift=xe.length;for(const Dt of ae)if(""===Dt.path&&xr(Dt)!==W){const Ht=new rt([],{});Ht._sourceSegment=_e,Ht._segmentIndexShift=xe.length,lt[xr(Dt)]=Ht}return lt}(_e,xe,Be,new rt(ae,_e.children)));return Dt._sourceSegment=_e,Dt._segmentIndexShift=xe.length,{segmentGroup:Dt,slicedSegments:[]}}if(0===ae.length&&function Pi(_e,xe,ae){return ae.some(Be=>Pa(_e,xe,Be))}(_e,ae,Be)){const Dt=new rt(_e.segments,function Jo(_e,xe,ae,Be,lt){const Dt={};for(const Ht of Be)if(Pa(_e,ae,Ht)&&!lt[xr(Ht)]){const vi=new rt([],{});vi._sourceSegment=_e,vi._segmentIndexShift=xe.length,Dt[xr(Ht)]=vi}return{...lt,...Dt}}(_e,xe,ae,Be,_e.children));return Dt._sourceSegment=_e,Dt._segmentIndexShift=xe.length,{segmentGroup:Dt,slicedSegments:ae}}const lt=new rt(_e.segments,_e.children);return lt._sourceSegment=_e,lt._segmentIndexShift=xe.length,{segmentGroup:lt,slicedSegments:ae}}function Pa(_e,xe,ae){return(!(_e.hasChildren()||xe.length>0)||"full"!==ae.pathMatch)&&""===ae.path}function gs(_e,xe,ae,Be){return!!(xr(_e)===Be||Be!==W&&Pa(xe,ae,_e))&&("**"===_e.path||ns(xe,_e,ae).matched)}function Vi(_e,xe,ae){return 0===xe.length&&!_e.children[ae]}const Es=!1;class Ts{constructor(xe){this.segmentGroup=xe||null}}class so{constructor(xe){this.urlTree=xe}}function Us(_e){return(0,I._)(new Ts(_e))}function Mo(_e){return(0,I._)(new so(_e))}class Vc{constructor(xe,ae,Be,lt,Dt){this.injector=xe,this.configLoader=ae,this.urlSerializer=Be,this.urlTree=lt,this.config=Dt,this.allowRedirects=!0}apply(){const xe=Ss(this.urlTree.root,[],[],this.config).segmentGroup,ae=new rt(xe.segments,xe.children);return this.expandSegmentGroup(this.injector,this.config,ae,W).pipe((0,U.U)(Dt=>this.createUrlTree(zt(Dt),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,se.K)(Dt=>{if(Dt instanceof so)return this.allowRedirects=!1,this.match(Dt.urlTree);throw Dt instanceof Ts?this.noMatchError(Dt):Dt}))}match(xe){return this.expandSegmentGroup(this.injector,this.config,xe.root,W).pipe((0,U.U)(lt=>this.createUrlTree(zt(lt),xe.queryParams,xe.fragment))).pipe((0,se.K)(lt=>{throw lt instanceof Ts?this.noMatchError(lt):lt}))}noMatchError(xe){return new t.vHH(4002,Es)}createUrlTree(xe,ae,Be){const lt=Bt(xe);return new Ct(lt,ae,Be)}expandSegmentGroup(xe,ae,Be,lt){return 0===Be.segments.length&&Be.hasChildren()?this.expandChildren(xe,ae,Be).pipe((0,U.U)(Dt=>new rt([],Dt))):this.expandSegment(xe,Be,ae,Be.segments,lt,!0)}expandChildren(xe,ae,Be){const lt=[];for(const Dt of Object.keys(Be.children))"primary"===Dt?lt.unshift(Dt):lt.push(Dt);return(0,e.D)(lt).pipe((0,ee.b)(Dt=>{const Ht=Be.children[Dt],vi=qr(ae,Dt);return this.expandSegmentGroup(xe,vi,Ht,Dt).pipe((0,U.U)(Ri=>({segment:Ri,outlet:Dt})))}),(0,le.R)((Dt,Ht)=>(Dt[Ht.outlet]=Ht.segment,Dt),{}),T())}expandSegment(xe,ae,Be,lt,Dt,Ht){return(0,e.D)(Be).pipe((0,ee.b)(vi=>this.expandSegmentAgainstRoute(xe,ae,Be,vi,lt,Dt,Ht).pipe((0,se.K)(sn=>{if(sn instanceof Ts)return(0,g.of)(null);throw sn}))),(0,re.P)(vi=>!!vi),(0,se.K)((vi,Ri)=>{if(ot(vi))return Vi(ae,lt,Dt)?(0,g.of)(new rt([],{})):Us(ae);throw vi}))}expandSegmentAgainstRoute(xe,ae,Be,lt,Dt,Ht,vi){return gs(lt,ae,Dt,Ht)?void 0===lt.redirectTo?this.matchSegmentAgainstRoute(xe,ae,lt,Dt,Ht):vi&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(xe,ae,Be,lt,Dt,Ht):Us(ae):Us(ae)}expandSegmentAgainstRouteUsingRedirect(xe,ae,Be,lt,Dt,Ht){return"**"===lt.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(xe,Be,lt,Ht):this.expandRegularSegmentAgainstRouteUsingRedirect(xe,ae,Be,lt,Dt,Ht)}expandWildCardWithParamsAgainstRouteUsingRedirect(xe,ae,Be,lt){const Dt=this.applyRedirectCommands([],Be.redirectTo,{});return Be.redirectTo.startsWith("/")?Mo(Dt):this.lineralizeSegments(Be,Dt).pipe((0,fe.z)(Ht=>{const vi=new rt(Ht,{});return this.expandSegment(xe,vi,ae,Ht,lt,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(xe,ae,Be,lt,Dt,Ht){const{matched:vi,consumedSegments:Ri,remainingSegments:sn,positionalParamSegments:$i}=ns(ae,lt,Dt);if(!vi)return Us(ae);const on=this.applyRedirectCommands(Ri,lt.redirectTo,$i);return lt.redirectTo.startsWith("/")?Mo(on):this.lineralizeSegments(lt,on).pipe((0,fe.z)(En=>this.expandSegment(xe,ae,Be,En.concat(sn),Ht,!1)))}matchSegmentAgainstRoute(xe,ae,Be,lt,Dt){return"**"===Be.path?(xe=Da(Be,xe),Be.loadChildren?(Be._loadedRoutes?(0,g.of)({routes:Be._loadedRoutes,injector:Be._loadedInjector}):this.configLoader.loadChildren(xe,Be)).pipe((0,U.U)(vi=>(Be._loadedRoutes=vi.routes,Be._loadedInjector=vi.injector,new rt(lt,{})))):(0,g.of)(new rt(lt,{}))):Bs(ae,Be,lt,xe).pipe((0,Y.w)(({matched:Ht,consumedSegments:vi,remainingSegments:Ri})=>Ht?this.getChildConfig(xe=Be._injector??xe,Be,lt).pipe((0,fe.z)($i=>{const on=$i.injector??xe,En=$i.routes,{segmentGroup:Jr,slicedSegments:kr}=Ss(ae,vi,Ri,En),lr=new rt(Jr.segments,Jr.children);if(0===kr.length&&lr.hasChildren())return this.expandChildren(on,En,lr).pipe((0,U.U)(ho=>new rt(vi,ho)));if(0===En.length&&0===kr.length)return(0,g.of)(new rt(vi,{}));const Fa=xr(Be)===Dt;return this.expandSegment(on,lr,En,kr,Fa?W:Dt,!0).pipe((0,U.U)(Ws=>new rt(vi.concat(Ws.segments),Ws.children)))})):Us(ae)))}getChildConfig(xe,ae,Be){return ae.children?(0,g.of)({routes:ae.children,injector:xe}):ae.loadChildren?void 0!==ae._loadedRoutes?(0,g.of)({routes:ae._loadedRoutes,injector:ae._loadedInjector}):function Vr(_e,xe,ae,Be){const lt=xe.canLoad;if(void 0===lt||0===lt.length)return(0,g.of)(!0);const Dt=lt.map(Ht=>{const vi=Cr(Ht,_e);return oe(function Hi(_e){return _e&&vt(_e.canLoad)}(vi)?vi.canLoad(xe,ae):_e.runInContext(()=>vi(xe,ae)))});return(0,g.of)(Dt).pipe(Ge(),Ms())}(xe,ae,Be).pipe((0,fe.z)(lt=>lt?this.configLoader.loadChildren(xe,ae).pipe((0,ce.b)(Dt=>{ae._loadedRoutes=Dt.routes,ae._loadedInjector=Dt.injector})):function co(_e){return(0,I._)(Ar(Es,3))}())):(0,g.of)({routes:[],injector:xe})}lineralizeSegments(xe,ae){let Be=[],lt=ae.root;for(;;){if(Be=Be.concat(lt.segments),0===lt.numberOfChildren)return(0,g.of)(Be);if(lt.numberOfChildren>1||!lt.children[W])return(0,I._)(new t.vHH(4e3,Es));lt=lt.children[W]}}applyRedirectCommands(xe,ae,Be){return this.applyRedirectCreateUrlTree(ae,this.urlSerializer.parse(ae),xe,Be)}applyRedirectCreateUrlTree(xe,ae,Be,lt){const Dt=this.createSegmentGroup(xe,ae.root,Be,lt);return new Ct(Dt,this.createQueryParams(ae.queryParams,this.urlTree.queryParams),ae.fragment)}createQueryParams(xe,ae){const Be={};return De(xe,(lt,Dt)=>{if("string"==typeof lt&<.startsWith(":")){const vi=lt.substring(1);Be[Dt]=ae[vi]}else Be[Dt]=lt}),Be}createSegmentGroup(xe,ae,Be,lt){const Dt=this.createSegments(xe,ae.segments,Be,lt);let Ht={};return De(ae.children,(vi,Ri)=>{Ht[Ri]=this.createSegmentGroup(xe,vi,Be,lt)}),new rt(Dt,Ht)}createSegments(xe,ae,Be,lt){return ae.map(Dt=>Dt.path.startsWith(":")?this.findPosParam(xe,Dt,lt):this.findOrReturn(Dt,Be))}findPosParam(xe,ae,Be){const lt=Be[ae.path.substring(1)];if(!lt)throw new t.vHH(4001,Es);return lt}findOrReturn(xe,ae){let Be=0;for(const lt of ae){if(lt.path===xe.path)return ae.splice(Be),lt;Be++}return xe}}class $o{}class Lr{constructor(xe,ae,Be,lt,Dt,Ht,vi){this.injector=xe,this.rootComponentType=ae,this.config=Be,this.urlTree=lt,this.url=Dt,this.paramsInheritanceStrategy=Ht,this.urlSerializer=vi}recognize(){const xe=Ss(this.urlTree.root,[],[],this.config.filter(ae=>void 0===ae.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,xe,W).pipe((0,U.U)(ae=>{if(null===ae)return null;const Be=new Ma([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},W,this.rootComponentType,null,this.urlTree.root,-1,{}),lt=new Kn(Be,ae),Dt=new Sa(this.url,lt);return this.inheritParamsAndData(Dt._root),Dt}))}inheritParamsAndData(xe){const ae=xe.value,Be=rr(ae,this.paramsInheritanceStrategy);ae.params=Object.freeze(Be.params),ae.data=Object.freeze(Be.data),xe.children.forEach(lt=>this.inheritParamsAndData(lt))}processSegmentGroup(xe,ae,Be,lt){return 0===Be.segments.length&&Be.hasChildren()?this.processChildren(xe,ae,Be):this.processSegment(xe,ae,Be,Be.segments,lt)}processChildren(xe,ae,Be){return(0,e.D)(Object.keys(Be.children)).pipe((0,ee.b)(lt=>{const Dt=Be.children[lt],Ht=qr(ae,lt);return this.processSegmentGroup(xe,Ht,Dt,lt)}),(0,le.R)((lt,Dt)=>lt&&Dt?(lt.push(...Dt),lt):null),(0,N.o)(lt=>null!==lt),(0,c.d)(null),T(),(0,U.U)(lt=>{if(null===lt)return null;const Dt=Dr(lt);return function rs(_e){_e.sort((xe,ae)=>xe.value.outlet===W?-1:ae.value.outlet===W?1:xe.value.outlet.localeCompare(ae.value.outlet))}(Dt),Dt}))}processSegment(xe,ae,Be,lt,Dt){return(0,e.D)(ae).pipe((0,ee.b)(Ht=>this.processSegmentAgainstRoute(Ht._injector??xe,Ht,Be,lt,Dt)),(0,re.P)(Ht=>!!Ht),(0,se.K)(Ht=>{if(ot(Ht))return Vi(Be,lt,Dt)?(0,g.of)([]):(0,g.of)(null);throw Ht}))}processSegmentAgainstRoute(xe,ae,Be,lt,Dt){if(ae.redirectTo||!gs(ae,Be,lt,Dt))return(0,g.of)(null);let Ht;if("**"===ae.path){const vi=lt.length>0?he(lt).parameters:{},Ri=lo(Be)+lt.length,sn=new Ma(lt,vi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ec(ae),xr(ae),ae.component??ae._loadedComponent??null,ae,sr(Be),Ri,Bn(ae));Ht=(0,g.of)({snapshot:sn,consumedSegments:[],remainingSegments:[]})}else Ht=Bs(Be,ae,lt,xe).pipe((0,U.U)(({matched:vi,consumedSegments:Ri,remainingSegments:sn,parameters:$i})=>{if(!vi)return null;const on=lo(Be)+Ri.length;return{snapshot:new Ma(Ri,$i,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ec(ae),xr(ae),ae.component??ae._loadedComponent??null,ae,sr(Be),on,Bn(ae)),consumedSegments:Ri,remainingSegments:sn}}));return Ht.pipe((0,Y.w)(vi=>{if(null===vi)return(0,g.of)(null);const{snapshot:Ri,consumedSegments:sn,remainingSegments:$i}=vi;xe=ae._injector??xe;const on=ae._loadedInjector??xe,En=function Gs(_e){return _e.children?_e.children:_e.loadChildren?_e._loadedRoutes:[]}(ae),{segmentGroup:Jr,slicedSegments:kr}=Ss(Be,sn,$i,En.filter(Fa=>void 0===Fa.redirectTo));if(0===kr.length&&Jr.hasChildren())return this.processChildren(on,En,Jr).pipe((0,U.U)(Fa=>null===Fa?null:[new Kn(Ri,Fa)]));if(0===En.length&&0===kr.length)return(0,g.of)([new Kn(Ri,[])]);const lr=xr(ae)===Dt;return this.processSegment(on,En,Jr,kr,lr?W:Dt).pipe((0,U.U)(Fa=>null===Fa?null:[new Kn(Ri,Fa)]))}))}}function nn(_e){const xe=_e.value.routeConfig;return xe&&""===xe.path&&void 0===xe.redirectTo}function Dr(_e){const xe=[],ae=new Set;for(const Be of _e){if(!nn(Be)){xe.push(Be);continue}const lt=xe.find(Dt=>Be.value.routeConfig===Dt.value.routeConfig);void 0!==lt?(lt.children.push(...Be.children),ae.add(lt)):xe.push(Be)}for(const Be of ae){const lt=Dr(Be.children);xe.push(new Kn(Be.value,lt))}return xe.filter(Be=>!ae.has(Be))}function sr(_e){let xe=_e;for(;xe._sourceSegment;)xe=xe._sourceSegment;return xe}function lo(_e){let xe=_e,ae=xe._segmentIndexShift??0;for(;xe._sourceSegment;)xe=xe._sourceSegment,ae+=xe._segmentIndexShift??0;return ae-1}function ec(_e){return _e.data||{}}function Bn(_e){return _e.resolve||{}}function Re(_e){return"string"==typeof _e.title||null===_e.title}function ht(_e){return(0,Y.w)(xe=>{const ae=_e(xe);return ae?(0,e.D)(ae).pipe((0,U.U)(()=>xe)):(0,g.of)(xe)})}const Qe=new t.OlP("ROUTES");let Jt=(()=>{class _e{constructor(ae,Be){this.injector=ae,this.compiler=Be,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(ae){if(this.componentLoaders.get(ae))return this.componentLoaders.get(ae);if(ae._loadedComponent)return(0,g.of)(ae._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(ae);const Be=oe(ae.loadComponent()).pipe((0,U.U)(ii),(0,ce.b)(Dt=>{this.onLoadEndListener&&this.onLoadEndListener(ae),ae._loadedComponent=Dt}),(0,n.x)(()=>{this.componentLoaders.delete(ae)})),lt=new w.c(Be,()=>new R.x).pipe((0,y.x)());return this.componentLoaders.set(ae,lt),lt}loadChildren(ae,Be){if(this.childrenLoaders.get(Be))return this.childrenLoaders.get(Be);if(Be._loadedRoutes)return(0,g.of)({routes:Be._loadedRoutes,injector:Be._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Be);const Dt=this.loadModuleFactoryOrRoutes(Be.loadChildren).pipe((0,U.U)(vi=>{this.onLoadEndListener&&this.onLoadEndListener(Be);let Ri,sn,$i=!1;Array.isArray(vi)?sn=vi:(Ri=vi.create(ae).injector,sn=we(Ri.get(Qe,[],t.XFs.Self|t.XFs.Optional)));return{routes:sn.map(ka),injector:Ri}}),(0,n.x)(()=>{this.childrenLoaders.delete(Be)})),Ht=new w.c(Dt,()=>new R.x).pipe((0,y.x)());return this.childrenLoaders.set(Be,Ht),Ht}loadModuleFactoryOrRoutes(ae){return oe(ae()).pipe((0,U.U)(ii),(0,fe.z)(lt=>lt instanceof t.YKP||Array.isArray(lt)?(0,g.of)(lt):(0,e.D)(this.compiler.compileModuleAsync(lt))))}}return _e.\u0275fac=function(ae){return new(ae||_e)(t.LFG(t.zs3),t.LFG(t.Sil))},_e.\u0275prov=t.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();function ii(_e){return function hi(_e){return _e&&"object"==typeof _e&&"default"in _e}(_e)?_e.default:_e}let Di=(()=>{class _e{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new R.x,this.configLoader=(0,t.f3M)(Jt),this.environmentInjector=(0,t.f3M)(t.lqb),this.urlSerializer=(0,t.f3M)(Ie),this.rootContexts=(0,t.f3M)($a),this.navigationId=0,this.configLoader.onLoadEndListener=lt=>this.events.next(new Qr(lt)),this.configLoader.onLoadStartListener=lt=>this.events.next(new jr(lt))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){this.transitions?.complete()}handleNavigationRequest(ae){const Be=++this.navigationId;this.transitions?.next({...this.transitions.value,...ae,id:Be})}setupNavigations(ae){return this.transitions=new k.X({id:0,targetPageId:0,currentUrlTree:ae.currentUrlTree,currentRawUrl:ae.currentUrlTree,extractedUrl:ae.urlHandlingStrategy.extract(ae.currentUrlTree),urlAfterRedirects:ae.urlHandlingStrategy.extract(ae.currentUrlTree),rawUrl:ae.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:ae.routerState.snapshot,targetSnapshot:null,currentRouterState:ae.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,$.h)(Be=>0!==Be.id),(0,U.U)(Be=>({...Be,extractedUrl:ae.urlHandlingStrategy.extract(Be.rawUrl)})),(0,Y.w)(Be=>{let lt=!1,Dt=!1;return(0,g.of)(Be).pipe((0,ce.b)(Ht=>{this.currentNavigation={id:Ht.id,initialUrl:Ht.rawUrl,extractedUrl:Ht.extractedUrl,trigger:Ht.source,extras:Ht.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Y.w)(Ht=>{const vi=ae.browserUrlTree.toString(),Ri=!ae.navigated||Ht.extractedUrl.toString()!==vi||vi!==ae.currentUrlTree.toString();if(("reload"===ae.onSameUrlNavigation||Ri)&&ae.urlHandlingStrategy.shouldProcessUrl(Ht.rawUrl))return Yi(Ht.source)&&(ae.browserUrlTree=Ht.extractedUrl),(0,g.of)(Ht).pipe((0,Y.w)($i=>{const on=this.transitions?.getValue();return this.events.next(new si($i.id,this.urlSerializer.serialize($i.extractedUrl),$i.source,$i.restoredState)),on!==this.transitions?.getValue()?A.E:Promise.resolve($i)}),function _c(_e,xe,ae,Be){return(0,Y.w)(lt=>function gc(_e,xe,ae,Be,lt){return new Vc(_e,xe,ae,Be,lt).apply()}(_e,xe,ae,lt.extractedUrl,Be).pipe((0,U.U)(Dt=>({...lt,urlAfterRedirects:Dt}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,ae.config),(0,ce.b)($i=>{this.currentNavigation={...this.currentNavigation,finalUrl:$i.urlAfterRedirects},Be.urlAfterRedirects=$i.urlAfterRedirects}),function Ji(_e,xe,ae,Be,lt){return(0,fe.z)(Dt=>function Eo(_e,xe,ae,Be,lt,Dt,Ht="emptyOnly"){return new Lr(_e,xe,ae,Be,lt,Ht,Dt).recognize().pipe((0,Y.w)(vi=>null===vi?function So(_e){return new S.y(xe=>xe.error(_e))}(new $o):(0,g.of)(vi)))}(_e,xe,ae,Dt.urlAfterRedirects,Be.serialize(Dt.urlAfterRedirects),Be,lt).pipe((0,U.U)(Ht=>({...Dt,targetSnapshot:Ht}))))}(this.environmentInjector,ae.rootComponentType,ae.config,this.urlSerializer,ae.paramsInheritanceStrategy),(0,ce.b)($i=>{if(Be.targetSnapshot=$i.targetSnapshot,"eager"===ae.urlUpdateStrategy){if(!$i.extras.skipLocationChange){const En=ae.urlHandlingStrategy.merge($i.urlAfterRedirects,$i.rawUrl);ae.setBrowserUrl(En,$i)}ae.browserUrlTree=$i.urlAfterRedirects}const on=new yn($i.id,this.urlSerializer.serialize($i.extractedUrl),this.urlSerializer.serialize($i.urlAfterRedirects),$i.targetSnapshot);this.events.next(on)}));if(Ri&&ae.rawUrlTree&&ae.urlHandlingStrategy.shouldProcessUrl(ae.rawUrlTree)){const{id:on,extractedUrl:En,source:Jr,restoredState:kr,extras:lr}=Ht,Fa=new si(on,this.urlSerializer.serialize(En),Jr,kr);this.events.next(Fa);const Zr=Hr(En,ae.rootComponentType).snapshot;return Be={...Ht,targetSnapshot:Zr,urlAfterRedirects:En,extras:{...lr,skipLocationChange:!1,replaceUrl:!1}},(0,g.of)(Be)}return ae.rawUrlTree=Ht.rawUrl,Ht.resolve(null),A.E}),(0,ce.b)(Ht=>{const vi=new or(Ht.id,this.urlSerializer.serialize(Ht.extractedUrl),this.urlSerializer.serialize(Ht.urlAfterRedirects),Ht.targetSnapshot);this.events.next(vi)}),(0,U.U)(Ht=>Be={...Ht,guards:Wn(Ht.targetSnapshot,Ht.currentSnapshot,this.rootContexts)}),function kt(_e,xe){return(0,fe.z)(ae=>{const{targetSnapshot:Be,currentSnapshot:lt,guards:{canActivateChecks:Dt,canDeactivateChecks:Ht}}=ae;return 0===Ht.length&&0===Dt.length?(0,g.of)({...ae,guardsResult:!0}):function Ei(_e,xe,ae,Be){return(0,e.D)(_e).pipe((0,fe.z)(lt=>function qo(_e,xe,ae,Be,lt){const Dt=xe&&xe.routeConfig?xe.routeConfig.canDeactivate:null;if(!Dt||0===Dt.length)return(0,g.of)(!0);const Ht=Dt.map(vi=>{const Ri=Oa(xe)??lt,sn=Cr(vi,Ri);return oe(function pr(_e){return _e&&vt(_e.canDeactivate)}(sn)?sn.canDeactivate(_e,xe,ae,Be):Ri.runInContext(()=>sn(_e,xe,ae,Be))).pipe((0,re.P)())});return(0,g.of)(Ht).pipe(Ge())}(lt.component,lt.route,ae,xe,Be)),(0,re.P)(lt=>!0!==lt,!0))}(Ht,Be,lt,_e).pipe((0,fe.z)(vi=>vi&&function oi(_e){return"boolean"==typeof _e}(vi)?function Ki(_e,xe,ae,Be){return(0,e.D)(xe).pipe((0,ee.b)(lt=>(0,h.z)(function Oi(_e,xe){return null!==_e&&xe&&xe(new At(_e)),(0,g.of)(!0)}(lt.route.parent,Be),function gr(_e,xe){return null!==_e&&xe&&xe(new li(_e)),(0,g.of)(!0)}(lt.route,Be),function Vs(_e,xe,ae){const Be=xe[xe.length-1],Dt=xe.slice(0,xe.length-1).reverse().map(Ht=>function ja(_e){const xe=_e.routeConfig?_e.routeConfig.canActivateChild:null;return xe&&0!==xe.length?{node:_e,guards:xe}:null}(Ht)).filter(Ht=>null!==Ht).map(Ht=>(0,P.P)(()=>{const vi=Ht.guards.map(Ri=>{const sn=Oa(Ht.node)??ae,$i=Cr(Ri,sn);return oe(function Yn(_e){return _e&&vt(_e.canActivateChild)}($i)?$i.canActivateChild(Be,_e):sn.runInContext(()=>$i(Be,_e))).pipe((0,re.P)())});return(0,g.of)(vi).pipe(Ge())}));return(0,g.of)(Dt).pipe(Ge())}(_e,lt.path,ae),function Fn(_e,xe,ae){const Be=xe.routeConfig?xe.routeConfig.canActivate:null;if(!Be||0===Be.length)return(0,g.of)(!0);const lt=Be.map(Dt=>(0,P.P)(()=>{const Ht=Oa(xe)??ae,vi=Cr(Dt,Ht);return oe(function tn(_e){return _e&&vt(_e.canActivate)}(vi)?vi.canActivate(xe,_e):Ht.runInContext(()=>vi(xe,_e))).pipe((0,re.P)())}));return(0,g.of)(lt).pipe(Ge())}(_e,lt.route,ae))),(0,re.P)(lt=>!0!==lt,!0))}(Be,Dt,_e,xe):(0,g.of)(vi)),(0,U.U)(vi=>({...ae,guardsResult:vi})))})}(this.environmentInjector,Ht=>this.events.next(Ht)),(0,ce.b)(Ht=>{if(Be.guardsResult=Ht.guardsResult,je(Ht.guardsResult))throw qs(0,Ht.guardsResult);const vi=new _n(Ht.id,this.urlSerializer.serialize(Ht.extractedUrl),this.urlSerializer.serialize(Ht.urlAfterRedirects),Ht.targetSnapshot,!!Ht.guardsResult);this.events.next(vi)}),(0,$.h)(Ht=>!!Ht.guardsResult||(ae.restoreHistory(Ht),this.cancelNavigationTransition(Ht,"",3,ae),!1)),ht(Ht=>{if(Ht.guards.canActivateChecks.length)return(0,g.of)(Ht).pipe((0,ce.b)(vi=>{const Ri=new Yr(vi.id,this.urlSerializer.serialize(vi.extractedUrl),this.urlSerializer.serialize(vi.urlAfterRedirects),vi.targetSnapshot);this.events.next(Ri)}),(0,Y.w)(vi=>{let Ri=!1;return(0,g.of)(vi).pipe(function Oe(_e,xe){return(0,fe.z)(ae=>{const{targetSnapshot:Be,guards:{canActivateChecks:lt}}=ae;if(!lt.length)return(0,g.of)(ae);let Dt=0;return(0,e.D)(lt).pipe((0,ee.b)(Ht=>function ft(_e,xe,ae,Be){const lt=_e.routeConfig,Dt=_e._resolve;return void 0!==lt?.title&&!Re(lt)&&(Dt[Le]=lt.title),function Te(_e,xe,ae,Be){const lt=function Mt(_e){return[...Object.keys(_e),...Object.getOwnPropertySymbols(_e)]}(_e);if(0===lt.length)return(0,g.of)({});const Dt={};return(0,e.D)(lt).pipe((0,fe.z)(Ht=>function ri(_e,xe,ae,Be){const lt=Oa(xe)??Be,Dt=Cr(_e,lt);return oe(Dt.resolve?Dt.resolve(xe,ae):lt.runInContext(()=>Dt(xe,ae)))}(_e[Ht],xe,ae,Be).pipe((0,re.P)(),(0,ce.b)(vi=>{Dt[Ht]=vi}))),r(1),(0,v.h)(Dt),(0,se.K)(Ht=>ot(Ht)?A.E:(0,I._)(Ht)))}(Dt,_e,xe,Be).pipe((0,U.U)(Ht=>(_e._resolvedData=Ht,_e.data=rr(_e,ae).resolve,lt&&Re(lt)&&(_e.data[Le]=lt.title),null)))}(Ht.route,Be,_e,xe)),(0,ce.b)(()=>Dt++),r(1),(0,fe.z)(Ht=>Dt===lt.length?(0,g.of)(ae):A.E))})}(ae.paramsInheritanceStrategy,this.environmentInjector),(0,ce.b)({next:()=>Ri=!0,complete:()=>{Ri||(ae.restoreHistory(vi),this.cancelNavigationTransition(vi,"",2,ae))}}))}),(0,ce.b)(vi=>{const Ri=new mr(vi.id,this.urlSerializer.serialize(vi.extractedUrl),this.urlSerializer.serialize(vi.urlAfterRedirects),vi.targetSnapshot);this.events.next(Ri)}))}),ht(Ht=>{const vi=Ri=>{const sn=[];Ri.routeConfig?.loadComponent&&!Ri.routeConfig._loadedComponent&&sn.push(this.configLoader.loadComponent(Ri.routeConfig).pipe((0,ce.b)($i=>{Ri.component=$i}),(0,U.U)(()=>{})));for(const $i of Ri.children)sn.push(...vi($i));return sn};return(0,C.a)(vi(Ht.targetSnapshot.root)).pipe((0,c.d)(),(0,Q.q)(1))}),ht(()=>ae.afterPreactivation()),(0,U.U)(Ht=>{const vi=function Fs(_e,xe,ae){const Be=na(_e,xe._root,ae?ae._root:void 0);return new cr(Be,xe)}(ae.routeReuseStrategy,Ht.targetSnapshot,Ht.currentRouterState);return Be={...Ht,targetRouterState:vi}}),(0,ce.b)(Ht=>{ae.currentUrlTree=Ht.urlAfterRedirects,ae.rawUrlTree=ae.urlHandlingStrategy.merge(Ht.urlAfterRedirects,Ht.rawUrl),ae.routerState=Ht.targetRouterState,"deferred"===ae.urlUpdateStrategy&&(Ht.extras.skipLocationChange||ae.setBrowserUrl(ae.rawUrlTree,Ht),ae.browserUrlTree=Ht.urlAfterRedirects)}),((_e,xe,ae)=>(0,U.U)(Be=>(new hr(xe,Be.targetRouterState,Be.currentRouterState,ae).activate(_e),Be)))(this.rootContexts,ae.routeReuseStrategy,Ht=>this.events.next(Ht)),(0,ce.b)({next:Ht=>{lt=!0,this.lastSuccessfulNavigation=this.currentNavigation,ae.navigated=!0,this.events.next(new Yt(Ht.id,this.urlSerializer.serialize(Ht.extractedUrl),this.urlSerializer.serialize(ae.currentUrlTree))),ae.titleStrategy?.updateTitle(Ht.targetRouterState.snapshot),Ht.resolve(!0)},complete:()=>{lt=!0}}),(0,n.x)(()=>{lt||Dt||this.cancelNavigationTransition(Be,"",1,ae),this.currentNavigation?.id===Be.id&&(this.currentNavigation=null)}),(0,se.K)(Ht=>{if(Dt=!0,fs(Ht)){us(Ht)||(ae.navigated=!0,ae.restoreHistory(Be,!0));const vi=new Bi(Be.id,this.urlSerializer.serialize(Be.extractedUrl),Ht.message,Ht.cancellationCode);if(this.events.next(vi),us(Ht)){const Ri=ae.urlHandlingStrategy.merge(Ht.url,ae.rawUrlTree),sn={skipLocationChange:Be.extras.skipLocationChange,replaceUrl:"eager"===ae.urlUpdateStrategy||Yi(Be.source)};ae.scheduleNavigation(Ri,"imperative",null,sn,{resolve:Be.resolve,reject:Be.reject,promise:Be.promise})}else Be.resolve(!1)}else{ae.restoreHistory(Be,!0);const vi=new Qi(Be.id,this.urlSerializer.serialize(Be.extractedUrl),Ht,Be.targetSnapshot??void 0);this.events.next(vi);try{Be.resolve(ae.errorHandler(Ht))}catch(Ri){Be.reject(Ri)}}return A.E}))}))}cancelNavigationTransition(ae,Be,lt,Dt){const Ht=new Bi(ae.id,this.urlSerializer.serialize(ae.extractedUrl),Be,lt);this.events.next(Ht),ae.resolve(!1)}}return _e.\u0275fac=function(ae){return new(ae||_e)},_e.\u0275prov=t.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();function Yi(_e){return"imperative"!==_e}let rn=(()=>{class _e{buildTitle(ae){let Be,lt=ae.root;for(;void 0!==lt;)Be=this.getResolvedTitleForRoute(lt)??Be,lt=lt.children.find(Dt=>Dt.outlet===W);return Be}getResolvedTitleForRoute(ae){return ae.data[Le]}}return _e.\u0275fac=function(ae){return new(ae||_e)},_e.\u0275prov=t.Yz7({token:_e,factory:function(){return(0,t.f3M)(dn)},providedIn:"root"}),_e})(),dn=(()=>{class _e extends rn{constructor(ae){super(),this.title=ae}updateTitle(ae){const Be=this.buildTitle(ae);void 0!==Be&&this.title.setTitle(Be)}}return _e.\u0275fac=function(ae){return new(ae||_e)(t.LFG(z.Dx))},_e.\u0275prov=t.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),wn=(()=>{class _e{}return _e.\u0275fac=function(ae){return new(ae||_e)},_e.\u0275prov=t.Yz7({token:_e,factory:function(){return(0,t.f3M)(Br)},providedIn:"root"}),_e})();class wr{shouldDetach(xe){return!1}store(xe,ae){}shouldAttach(xe){return!1}retrieve(xe){return null}shouldReuseRoute(xe,ae){return xe.routeConfig===ae.routeConfig}}let Br=(()=>{class _e extends wr{}return _e.\u0275fac=function(){let xe;return function(Be){return(xe||(xe=t.n5z(_e)))(Be||_e)}}(),_e.\u0275prov=t.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();const Gr=new t.OlP("",{providedIn:"root",factory:()=>({})});let Or=(()=>{class _e{}return _e.\u0275fac=function(ae){return new(ae||_e)},_e.\u0275prov=t.Yz7({token:_e,factory:function(){return(0,t.f3M)(Ir)},providedIn:"root"}),_e})(),Ir=(()=>{class _e{shouldProcessUrl(ae){return!0}extract(ae){return ae}merge(ae,Be){return ae}}return _e.\u0275fac=function(ae){return new(ae||_e)},_e.\u0275prov=t.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();function Mr(_e){throw _e}function as(_e,xe,ae){return xe.parse("/")}const pa={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ss={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Sr=(()=>{class _e{constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,t.f3M)(t.c2e),this.isNgZoneEnabled=!1,this.options=(0,t.f3M)(Gr,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Mr,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||as,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,g.of)(void 0),this.urlHandlingStrategy=(0,t.f3M)(Or),this.routeReuseStrategy=(0,t.f3M)(wn),this.titleStrategy=(0,t.f3M)(rn),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=we((0,t.f3M)(Qe,{optional:!0})??[]),this.navigationTransitions=(0,t.f3M)(Di),this.urlSerializer=(0,t.f3M)(Ie),this.location=(0,t.f3M)(E.Ye),this.rootComponentType=null,this.isNgZoneEnabled=(0,t.f3M)(t.R0b)instanceof t.R0b&&t.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Ct,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Hr(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(ae=>{this.lastSuccessfulId=ae.id,this.currentPageId=ae.targetPageId},ae=>{this.console.warn(`Unhandled Navigation Error: ${ae}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(ae){this.rootComponentType=ae,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(ae=>{const Be="popstate"===ae.type?"popstate":"hashchange";"popstate"===Be&&setTimeout(()=>{const lt={replaceUrl:!0},Dt=ae.state?.navigationId?ae.state:null;if(ae.state){const vi={...ae.state};delete vi.navigationId,delete vi.\u0275routerPageId,0!==Object.keys(vi).length&&(lt.state=vi)}const Ht=this.parseUrl(ae.url);this.scheduleNavigation(Ht,Be,Dt,lt)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(ae){this.config=ae.map(ka),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(ae,Be={}){const{relativeTo:lt,queryParams:Dt,fragment:Ht,queryParamsHandling:vi,preserveFragment:Ri}=Be,sn=lt||this.routerState.root,$i=Ri?this.currentUrlTree.fragment:Ht;let on=null;switch(vi){case"merge":on={...this.currentUrlTree.queryParams,...Dt};break;case"preserve":on=this.currentUrlTree.queryParams;break;default:on=Dt||null}return null!==on&&(on=this.removeEmptyProps(on)),mi(sn,this.currentUrlTree,ae,on,$i??null)}navigateByUrl(ae,Be={skipLocationChange:!1}){const lt=je(ae)?ae:this.parseUrl(ae),Dt=this.urlHandlingStrategy.merge(lt,this.rawUrlTree);return this.scheduleNavigation(Dt,"imperative",null,Be)}navigate(ae,Be={skipLocationChange:!1}){return function Cl(_e){for(let xe=0;xe<_e.length;xe++){if(null==_e[xe])throw new t.vHH(4008,!1)}}(ae),this.navigateByUrl(this.createUrlTree(ae,Be),Be)}serializeUrl(ae){return this.urlSerializer.serialize(ae)}parseUrl(ae){let Be;try{Be=this.urlSerializer.parse(ae)}catch(lt){Be=this.malformedUriErrorHandler(lt,this.urlSerializer,ae)}return Be}isActive(ae,Be){let lt;if(lt=!0===Be?{...pa}:!1===Be?{...ss}:Be,je(ae))return Ue(this.currentUrlTree,ae,lt);const Dt=this.parseUrl(ae);return Ue(this.currentUrlTree,Dt,lt)}removeEmptyProps(ae){return Object.keys(ae).reduce((Be,lt)=>{const Dt=ae[lt];return null!=Dt&&(Be[lt]=Dt),Be},{})}scheduleNavigation(ae,Be,lt,Dt,Ht){if(this.disposed)return Promise.resolve(!1);let vi,Ri,sn,$i;return Ht?(vi=Ht.resolve,Ri=Ht.reject,sn=Ht.promise):sn=new Promise((on,En)=>{vi=on,Ri=En}),"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(lt=this.location.getState()),$i=lt&<.\u0275routerPageId?lt.\u0275routerPageId:Dt.replaceUrl||Dt.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):$i=0,this.navigationTransitions.handleNavigationRequest({targetPageId:$i,source:Be,restoredState:lt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:ae,extras:Dt,resolve:vi,reject:Ri,promise:sn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),sn.catch(on=>Promise.reject(on))}setBrowserUrl(ae,Be){const lt=this.urlSerializer.serialize(ae),Dt={...Be.extras.state,...this.generateNgRouterState(Be.id,Be.targetPageId)};this.location.isCurrentPathEqualTo(lt)||Be.extras.replaceUrl?this.location.replaceState(lt,"",Dt):this.location.go(lt,"",Dt)}restoreHistory(ae,Be=!1){if("computed"===this.canceledNavigationResolution){const lt=this.currentPageId-ae.targetPageId;"popstate"!==ae.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===lt?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===lt&&(this.resetState(ae),this.browserUrlTree=ae.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(lt)}else"replace"===this.canceledNavigationResolution&&(Be&&this.resetState(ae),this.resetUrlToCurrentUrlTree())}resetState(ae){this.routerState=ae.currentRouterState,this.currentUrlTree=ae.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,ae.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(ae,Be){return"computed"===this.canceledNavigationResolution?{navigationId:ae,\u0275routerPageId:Be}:{navigationId:ae}}}return _e.\u0275fac=function(ae){return new(ae||_e)},_e.\u0275prov=t.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),os=(()=>{class _e{constructor(ae,Be,lt,Dt,Ht,vi){this.router=ae,this.route=Be,this.tabIndexAttribute=lt,this.renderer=Dt,this.el=Ht,this.locationStrategy=vi,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new R.x;const Ri=Ht.nativeElement.tagName;this.isAnchorElement="A"===Ri||"AREA"===Ri,this.isAnchorElement?this.subscription=ae.events.subscribe(sn=>{sn instanceof Yt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(ae){this._preserveFragment=(0,t.D6c)(ae)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(ae){this._skipLocationChange=(0,t.D6c)(ae)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(ae){this._replaceUrl=(0,t.D6c)(ae)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(ae){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ae)}ngOnChanges(ae){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(ae){null!=ae?(this.commands=Array.isArray(ae)?ae:[ae],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(ae,Be,lt,Dt,Ht){return!!(null===this.urlTree||this.isAnchorElement&&(0!==ae||Be||lt||Dt||Ht||"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 ae=null===this.href?null:(0,t.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",ae)}applyAttributeValue(ae,Be){const lt=this.renderer,Dt=this.el.nativeElement;null!==Be?lt.setAttribute(Dt,ae,Be):lt.removeAttribute(Dt,ae)}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 _e.\u0275fac=function(ae){return new(ae||_e)(t.Y36(Sr),t.Y36(ia),t.$8M("tabindex"),t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(E.S$))},_e.\u0275dir=t.lG2({type:_e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(ae,Be){1&ae&&t.NdJ("click",function(Dt){return Be.onClick(Dt.button,Dt.ctrlKey,Dt.shiftKey,Dt.altKey,Dt.metaKey)}),2&ae&&t.uIk("target",Be.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]}),_e})(),wl=(()=>{class _e{constructor(ae,Be,lt,Dt,Ht){this.router=ae,this.element=Be,this.renderer=lt,this.cdr=Dt,this.link=Ht,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new t.vpe,this.routerEventsSubscription=ae.events.subscribe(vi=>{vi instanceof Yt&&this.update()})}ngAfterContentInit(){(0,g.of)(this.links.changes,(0,g.of)(null)).pipe((0,B.J)()).subscribe(ae=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const ae=[...this.links.toArray(),this.link].filter(Be=>!!Be).map(Be=>Be.onChanges);this.linkInputChangesSubscription=(0,e.D)(ae).pipe((0,B.J)()).subscribe(Be=>{this.isActive!==this.isLinkActive(this.router)(Be)&&this.update()})}set routerLinkActive(ae){const Be=Array.isArray(ae)?ae:ae.split(" ");this.classes=Be.filter(lt=>!!lt)}ngOnChanges(ae){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const ae=this.hasActiveLinks();this.isActive!==ae&&(this.isActive=ae,this.cdr.markForCheck(),this.classes.forEach(Be=>{ae?this.renderer.addClass(this.element.nativeElement,Be):this.renderer.removeClass(this.element.nativeElement,Be)}),ae&&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(ae))})}isLinkActive(ae){const Be=function Bc(_e){return!!_e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return lt=>!!lt.urlTree&&ae.isActive(lt.urlTree,Be)}hasActiveLinks(){const ae=this.isLinkActive(this.router);return this.link&&ae(this.link)||this.links.some(ae)}}return _e.\u0275fac=function(ae){return new(ae||_e)(t.Y36(Sr),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(os,8))},_e.\u0275dir=t.lG2({type:_e,selectors:[["","routerLinkActive",""]],contentQueries:function(ae,Be,lt){if(1&ae&&t.Suo(lt,os,5),2&ae){let Dt;t.iGM(Dt=t.CRH())&&(Be.links=Dt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[t.TTD]}),_e})();class Uc{}let Sl=(()=>{class _e{constructor(ae,Be,lt,Dt,Ht){this.router=ae,this.injector=lt,this.preloadingStrategy=Dt,this.loader=Ht}setUpPreloading(){this.subscription=this.router.events.pipe((0,$.h)(ae=>ae instanceof Yt),(0,ee.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ae,Be){const lt=[];for(const Dt of Be){Dt.providers&&!Dt._injector&&(Dt._injector=(0,t.MMx)(Dt.providers,ae,`Route: ${Dt.path}`));const Ht=Dt._injector??ae,vi=Dt._loadedInjector??Ht;Dt.loadChildren&&!Dt._loadedRoutes&&void 0===Dt.canLoad||Dt.loadComponent&&!Dt._loadedComponent?lt.push(this.preloadConfig(Ht,Dt)):(Dt.children||Dt._loadedRoutes)&<.push(this.processRoutes(vi,Dt.children??Dt._loadedRoutes))}return(0,e.D)(lt).pipe((0,B.J)())}preloadConfig(ae,Be){return this.preloadingStrategy.preload(Be,()=>{let lt;lt=Be.loadChildren&&void 0===Be.canLoad?this.loader.loadChildren(ae,Be):(0,g.of)(null);const Dt=lt.pipe((0,fe.z)(Ht=>null===Ht?(0,g.of)(void 0):(Be._loadedRoutes=Ht.routes,Be._loadedInjector=Ht.injector,this.processRoutes(Ht.injector??ae,Ht.routes))));if(Be.loadComponent&&!Be._loadedComponent){const Ht=this.loader.loadComponent(Be);return(0,e.D)([Dt,Ht]).pipe((0,B.J)())}return Dt})}}return _e.\u0275fac=function(ae){return new(ae||_e)(t.LFG(Sr),t.LFG(t.Sil),t.LFG(t.lqb),t.LFG(Uc),t.LFG(Jt))},_e.\u0275prov=t.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();const vc=new t.OlP("");let El=(()=>{class _e{constructor(ae,Be,lt,Dt,Ht={}){this.urlSerializer=ae,this.transitions=Be,this.viewportScroller=lt,this.zone=Dt,this.options=Ht,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Ht.scrollPositionRestoration=Ht.scrollPositionRestoration||"disabled",Ht.anchorScrolling=Ht.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(ae=>{ae instanceof si?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ae.navigationTrigger,this.restoredId=ae.restoredState?ae.restoredState.navigationId:0):ae instanceof Yt&&(this.lastId=ae.id,this.scheduleScrollEvent(ae,this.urlSerializer.parse(ae.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ae=>{ae instanceof Ui&&(ae.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ae.position):ae.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ae.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ae,Be){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ui(ae,"popstate"===this.lastSource?this.store[this.restoredId]:null,Be))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return _e.\u0275fac=function(ae){t.$Z()},_e.\u0275prov=t.Yz7({token:_e,factory:_e.\u0275fac}),_e})();function Ao(_e,xe){return{\u0275kind:_e,\u0275providers:xe}}function Io(){const _e=(0,t.f3M)(t.zs3);return xe=>{const ae=_e.get(t.z2F);if(xe!==ae.components[0])return;const Be=_e.get(Sr),lt=_e.get(cs);1===_e.get(Zs)&&Be.initialNavigation(),_e.get(Ll,null,t.XFs.Optional)?.setUpPreloading(),_e.get(vc,null,t.XFs.Optional)?.init(),Be.resetRootComponentType(ae.componentTypes[0]),lt.closed||(lt.next(),lt.unsubscribe())}}const cs=new t.OlP("",{factory:()=>new R.x}),Zs=new t.OlP("",{providedIn:"root",factory:()=>1});const Ll=new t.OlP("");function Gc(_e){return Ao(0,[{provide:Ll,useExisting:Sl},{provide:Uc,useExisting:_e}])}const Dl=new t.OlP("ROUTER_FORROOT_GUARD"),Il=[E.Ye,{provide:Ie,useClass:He},Sr,$a,{provide:ia,useFactory:function Tl(_e){return _e.routerState.root},deps:[Sr]},Jt,[]];function ko(){return new t.PXZ("Router",Sr)}let ud=(()=>{class _e{constructor(ae){}static forRoot(ae,Be){return{ngModule:_e,providers:[Il,[],{provide:Qe,multi:!0,useValue:ae},{provide:Dl,useFactory:fd,deps:[[Sr,new t.FiY,new t.tp0]]},{provide:Gr,useValue:Be||{}},Be?.useHash?{provide:E.S$,useClass:E.Do}:{provide:E.S$,useClass:E.b0},{provide:vc,useFactory:()=>{const _e=(0,t.f3M)(E.EM),xe=(0,t.f3M)(t.R0b),ae=(0,t.f3M)(Gr),Be=(0,t.f3M)(Di),lt=(0,t.f3M)(Ie);return ae.scrollOffset&&_e.setOffset(ae.scrollOffset),new El(lt,Be,_e,xe,ae)}},Be?.preloadingStrategy?Gc(Be.preloadingStrategy).\u0275providers:[],{provide:t.PXZ,multi:!0,useFactory:ko},Be?.initialNavigation?Yc(Be):[],[{provide:n2,useFactory:Io},{provide:t.tb,multi:!0,useExisting:n2}]]}}static forChild(ae){return{ngModule:_e,providers:[{provide:Qe,multi:!0,useValue:ae}]}}}return _e.\u0275fac=function(ae){return new(ae||_e)(t.LFG(Dl,8))},_e.\u0275mod=t.oAB({type:_e}),_e.\u0275inj=t.cJS({imports:[Wa]}),_e})();function fd(_e){return"guarded"}function Yc(_e){return["disabled"===_e.initialNavigation?Ao(3,[{provide:t.ip1,multi:!0,useFactory:()=>{const xe=(0,t.f3M)(Sr);return()=>{xe.setUpLocationChangeListener()}}},{provide:Zs,useValue:2}]).\u0275providers:[],"enabledBlocking"===_e.initialNavigation?Ao(2,[{provide:Zs,useValue:0},{provide:t.ip1,multi:!0,deps:[t.zs3],useFactory:xe=>{const ae=xe.get(E.V_,Promise.resolve());return()=>ae.then(()=>new Promise(lt=>{const Dt=xe.get(Sr),Ht=xe.get(cs);(function Be(lt){xe.get(Sr).events.pipe((0,$.h)(Ht=>Ht instanceof Yt||Ht instanceof Bi||Ht instanceof Qi),(0,U.U)(Ht=>Ht instanceof Yt||Ht instanceof Bi&&(0===Ht.code||1===Ht.code)&&null),(0,$.h)(Ht=>null!==Ht),(0,Q.q)(1)).subscribe(()=>{lt()})})(()=>{lt(!0)}),Dt.afterPreactivation=()=>(lt(!0),Ht.closed?(0,g.of)(void 0):Ht),Dt.initialNavigation()}))}}]).\u0275providers:[]]}const n2=new t.OlP("")},2216:(ze,K,m)=>{"use strict";m.d(K,{BN:()=>Bn,uH:()=>ri});var t=m(4650);function e(Re,ht){var yt=Object.keys(Re);if(Object.getOwnPropertySymbols){var Ot=Object.getOwnPropertySymbols(Re);ht&&(Ot=Ot.filter(function(Qe){return Object.getOwnPropertyDescriptor(Re,Qe).enumerable})),yt.push.apply(yt,Ot)}return yt}function g(Re){for(var ht=1;ht<arguments.length;ht++){var yt=null!=arguments[ht]?arguments[ht]:{};ht%2?e(Object(yt),!0).forEach(function(Ot){u(Re,Ot,yt[Ot])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Re,Object.getOwnPropertyDescriptors(yt)):e(Object(yt)).forEach(function(Ot){Object.defineProperty(Re,Ot,Object.getOwnPropertyDescriptor(yt,Ot))})}return Re}function k(Re){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ht){return typeof ht}:function(ht){return ht&&"function"==typeof Symbol&&ht.constructor===Symbol&&ht!==Symbol.prototype?"symbol":typeof ht})(Re)}function h(Re,ht){for(var yt=0;yt<ht.length;yt++){var Ot=ht[yt];Ot.enumerable=Ot.enumerable||!1,Ot.configurable=!0,"value"in Ot&&(Ot.writable=!0),Object.defineProperty(Re,Ot.key,Ot)}}function u(Re,ht,yt){return ht in Re?Object.defineProperty(Re,ht,{value:yt,enumerable:!0,configurable:!0,writable:!0}):Re[ht]=yt,Re}function A(Re,ht){return function E(Re){if(Array.isArray(Re))return Re}(Re)||function Y(Re,ht){var yt=null==Re?null:typeof Symbol<"u"&&Re[Symbol.iterator]||Re["@@iterator"];if(null!=yt){var hi,ii,Ot=[],Qe=!0,Jt=!1;try{for(yt=yt.call(Re);!(Qe=(hi=yt.next()).done)&&(Ot.push(hi.value),!ht||Ot.length!==ht);Qe=!0);}catch(yi){Jt=!0,ii=yi}finally{try{!Qe&&null!=yt.return&&yt.return()}finally{if(Jt)throw ii}}return Ot}}(Re,ht)||Q(Re,ht)||function fe(){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 w(Re){return function R(Re){if(Array.isArray(Re))return X(Re)}(Re)||function U(Re){if(typeof Symbol<"u"&&null!=Re[Symbol.iterator]||null!=Re["@@iterator"])return Array.from(Re)}(Re)||Q(Re)||function $(){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 Q(Re,ht){if(Re){if("string"==typeof Re)return X(Re,ht);var yt=Object.prototype.toString.call(Re).slice(8,-1);if("Object"===yt&&Re.constructor&&(yt=Re.constructor.name),"Map"===yt||"Set"===yt)return Array.from(Re);if("Arguments"===yt||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(yt))return X(Re,ht)}}function X(Re,ht){(null==ht||ht>Re.length)&&(ht=Re.length);for(var yt=0,Ot=new Array(ht);yt<ht;yt++)Ot[yt]=Re[yt];return Ot}var re=function(){},ee={},ce={},se=null,le={mark:re,measure:re};try{typeof window<"u"&&(ee=window),typeof document<"u"&&(ce=document),typeof MutationObserver<"u"&&(se=MutationObserver),typeof performance<"u"&&(le=performance)}catch{}var y,B,z,W,Le,i=(ee.navigator||{}).userAgent,r=void 0===i?"":i,d=ee,c=ce,b=se,T=le,v=!!c.documentElement&&!!c.head&&"function"==typeof c.addEventListener&&"function"==typeof c.createElement,n=~r.indexOf("MSIE")||~r.indexOf("Trident/"),Ve="___FONT_AWESOME___",Ae="svg-inline--fa",ue="data-fa-i2svg",ye="data-fa-pseudo-element",he="data-prefix",it="data-icon",De="fontawesome-i2svg",me=["HTML","HEAD","STYLE","SCRIPT"],te=function(){try{return!0}catch{return!1}}(),Ze="classic",Ue="sharp",q=[Ze,Ue];function de(Re){return new Proxy(Re,{get:function(yt,Ot){return Ot in yt?yt[Ot]:yt[Ze]}})}var Ee=de((u(y={},Ze,{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"}),u(y,Ue,{fa:"solid",fass:"solid","fa-solid":"solid"}),y)),ke=de((u(B={},Ze,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),u(B,Ue,{solid:"fass"}),B)),ie=de((u(z={},Ze,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),u(z,Ue,{fass:"fa-solid"}),z)),nt=de((u(W={},Ze,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),u(W,Ue,{"fa-solid":"fass"}),W)),Ct=/fa(s|r|l|t|d|b|k|ss)?[\-\ ]/,rt="fa-layers-text",Xt=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,gt=de((u(Le={},Ze,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),u(Le,Ue,{900:"fass"}),Le)),mt=[1,2,3,4,5,6,7,8,9,10],St=mt.concat([11,12,13,14,15,16,17,18,19,20]),Ie=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],xt=new Set;Object.keys(ke[Ze]).map(xt.add.bind(xt)),Object.keys(ke[Ue]).map(xt.add.bind(xt));var Pe=[].concat(q,w(xt),["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(mt.map(function(Re){return"".concat(Re,"x")})).concat(St.map(function(Re){return"w-".concat(Re)})),et=d.FontAwesomeConfig||{};c&&"function"==typeof c.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(Re){var ht=A(Re,2),Ot=ht[1],Qe=function Lt(Re){return""===Re||"false"!==Re&&("true"===Re||Re)}(function Vt(Re){var ht=c.querySelector("script["+Re+"]");if(ht)return ht.getAttribute(Re)}(ht[0]));null!=Qe&&(et[Ot]=Qe)});var bt={styleDefault:"solid",familyDefault:"classic",cssPrefix:"fa",replacementClass:Ae,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};et.familyPrefix&&(et.cssPrefix=et.familyPrefix);var Ce=g(g({},bt),et);Ce.autoReplaceSvg||(Ce.observeMutations=!1);var J={};Object.keys(bt).forEach(function(Re){Object.defineProperty(J,Re,{enumerable:!0,set:function(yt){Ce[Re]=yt,ve.forEach(function(Ot){return Ot(J)})},get:function(){return Ce[Re]}})}),Object.defineProperty(J,"familyPrefix",{enumerable:!0,set:function(ht){Ce.cssPrefix=ht,ve.forEach(function(yt){return yt(J)})},get:function(){return Ce.cssPrefix}}),d.FontAwesomeConfig=J;var ve=[],ni={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function dt(){for(var Re=12,ht="";Re-- >0;)ht+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return ht}function at(Re){for(var ht=[],yt=(Re||[]).length>>>0;yt--;)ht[yt]=Re[yt];return ht}function _t(Re){return Re.classList?at(Re.classList):(Re.getAttribute("class")||"").split(" ").filter(function(ht){return ht})}function ai(Re){return"".concat(Re).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function zt(Re){return Object.keys(Re||{}).reduce(function(ht,yt){return ht+"".concat(yt,": ").concat(Re[yt].trim(),";")},"")}function Nt(Re){return Re.size!==ni.size||Re.x!==ni.x||Re.y!==ni.y||Re.rotate!==ni.rotate||Re.flipX||Re.flipY}function qe(){var ht=Ae,yt=J.cssPrefix,Ot=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"!==yt||Ot!==ht){var Jt=new RegExp("\\.".concat("fa","\\-"),"g"),hi=new RegExp("\\--".concat("fa","\\-"),"g"),ii=new RegExp("\\.".concat(ht),"g");Qe=Qe.replace(Jt,".".concat(yt,"-")).replace(hi,"--".concat(yt,"-")).replace(ii,".".concat(Ot))}return Qe}var Tt=!1;function mi(){J.autoAddCss&&!Tt&&(function Ut(Re){if(Re&&v){var ht=c.createElement("style");ht.setAttribute("type","text/css"),ht.innerHTML=Re;for(var yt=c.head.childNodes,Ot=null,Qe=yt.length-1;Qe>-1;Qe--){var Jt=yt[Qe],hi=(Jt.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(hi)>-1&&(Ot=Jt)}c.head.insertBefore(ht,Ot)}}(qe()),Tt=!0)}var Ti={mixout:function(){return{dom:{css:qe,insertCss:mi}}},hooks:function(){return{beforeDOMElementCreation:function(){mi()},beforeI2svg:function(){mi()}}}},xi=d||{};xi[Ve]||(xi[Ve]={}),xi[Ve].styles||(xi[Ve].styles={}),xi[Ve].hooks||(xi[Ve].hooks={}),xi[Ve].shims||(xi[Ve].shims=[]);var Fi=xi[Ve],Je=[],be=!1;function Pt(Re){!v||(be?setTimeout(Re,0):Je.push(Re))}function qt(Re){var ht=Re.tag,yt=Re.attributes,Ot=void 0===yt?{}:yt,Qe=Re.children,Jt=void 0===Qe?[]:Qe;return"string"==typeof Re?ai(Re):"<".concat(ht," ").concat(function Bt(Re){return Object.keys(Re||{}).reduce(function(ht,yt){return ht+"".concat(yt,'="').concat(ai(Re[yt]),'" ')},"").trim()}(Ot),">").concat(Jt.map(qt).join(""),"</").concat(ht,">")}function gi(Re,ht,yt){if(Re&&Re[ht]&&Re[ht][yt])return{prefix:ht,iconName:yt,icon:Re[ht][yt]}}v&&((be=(c.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(c.readyState))||c.addEventListener("DOMContentLoaded",function Re(){c.removeEventListener("DOMContentLoaded",Re),be=1,Je.map(function(ht){return ht()})}));var ki=function(ht,yt,Ot,Qe){var yi,Di,Yi,Jt=Object.keys(ht),hi=Jt.length,ii=void 0!==Qe?function(ht,yt){return function(Ot,Qe,Jt,hi){return ht.call(yt,Ot,Qe,Jt,hi)}}(yt,Qe):yt;for(void 0===Ot?(yi=1,Yi=ht[Jt[0]]):(yi=0,Yi=Ot);yi<hi;yi++)Yi=ii(Yi,ht[Di=Jt[yi]],Di,ht);return Yi};function Gt(Re){var ht=function Gi(Re){for(var ht=[],yt=0,Ot=Re.length;yt<Ot;){var Qe=Re.charCodeAt(yt++);if(Qe>=55296&&Qe<=56319&&yt<Ot){var Jt=Re.charCodeAt(yt++);56320==(64512&Jt)?ht.push(((1023&Qe)<<10)+(1023&Jt)+65536):(ht.push(Qe),yt--)}else ht.push(Qe)}return ht}(Re);return 1===ht.length?ht[0].toString(16):null}function ge(Re){return Object.keys(Re).reduce(function(ht,yt){var Ot=Re[yt];return Ot.icon?ht[Ot.iconName]=Ot.icon:ht[yt]=Ot,ht},{})}function Xe(Re,ht){var yt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Ot=yt.skipHooks,Qe=void 0!==Ot&&Ot,Jt=ge(ht);"function"!=typeof Fi.hooks.addPack||Qe?Fi.styles[Re]=g(g({},Fi.styles[Re]||{}),Jt):Fi.hooks.addPack(Re,ge(ht)),"fas"===Re&&Xe("fa",ht)}var jt,Wt,si,Yt=Fi.styles,Bi=Fi.shims,Qi=(u(jt={},Ze,Object.values(ie[Ze])),u(jt,Ue,Object.values(ie[Ue])),jt),yn=null,or={},_n={},Yr={},mr={},jr={},Qr=(u(Wt={},Ze,Object.keys(Ee[Ze])),u(Wt,Ue,Object.keys(Ee[Ue])),Wt);function ci(Re,ht){var yt=ht.split("-"),Ot=yt[0],Qe=yt.slice(1).join("-");return Ot!==Re||""===Qe||function At(Re){return~Pe.indexOf(Re)}(Qe)?null:Qe}var li=function(){var ht=function(Jt){return ki(Yt,function(hi,ii,yi){return hi[yi]=ki(ii,Jt,{}),hi},{})};or=ht(function(Qe,Jt,hi){return Jt[3]&&(Qe[Jt[3]]=hi),Jt[2]&&Jt[2].filter(function(yi){return"number"==typeof yi}).forEach(function(yi){Qe[yi.toString(16)]=hi}),Qe}),_n=ht(function(Qe,Jt,hi){return Qe[hi]=hi,Jt[2]&&Jt[2].filter(function(yi){return"string"==typeof yi}).forEach(function(yi){Qe[yi]=hi}),Qe}),jr=ht(function(Qe,Jt,hi){var ii=Jt[2];return Qe[hi]=hi,ii.forEach(function(yi){Qe[yi]=hi}),Qe});var yt="far"in Yt||J.autoFetchSvg,Ot=ki(Bi,function(Qe,Jt){var hi=Jt[0],ii=Jt[1],yi=Jt[2];return"far"===ii&&!yt&&(ii="fas"),"string"==typeof hi&&(Qe.names[hi]={prefix:ii,iconName:yi}),"number"==typeof hi&&(Qe.unicodes[hi.toString(16)]={prefix:ii,iconName:yi}),Qe},{names:{},unicodes:{}});Yr=Ot.names,mr=Ot.unicodes,yn=Tn(J.styleDefault,{family:J.familyDefault})};function Mi(Re,ht){return(or[Re]||{})[ht]}function zi(Re,ht){return(jr[Re]||{})[ht]}function cn(Re){return Yr[Re]||{prefix:null,iconName:null}}function In(){return yn}function Tn(Re){var ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},yt=ht.family,Ot=void 0===yt?Ze:yt,Qe=Ee[Ot][Re],Jt=ke[Ot][Re]||ke[Ot][Qe],hi=Re in Fi.styles?Re:null;return Jt||hi||null}(function Ne(Re){ve.push(Re)})(function(Re){yn=Tn(Re.styleDefault,{family:J.familyDefault})}),li();var cr=(u(si={},Ze,Object.keys(ie[Ze])),u(si,Ue,Object.keys(ie[Ue])),si);function Hr(Re){var ht,yt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ot=yt.skipLookups,Qe=void 0!==Ot&&Ot,Jt=(u(ht={},Ze,"".concat(J.cssPrefix,"-").concat(Ze)),u(ht,Ue,"".concat(J.cssPrefix,"-").concat(Ue)),ht),hi=null,ii=Ze;(Re.includes(Jt[Ze])||Re.some(function(Di){return cr[Ze].includes(Di)}))&&(ii=Ze),(Re.includes(Jt[Ue])||Re.some(function(Di){return cr[Ue].includes(Di)}))&&(ii=Ue);var yi=Re.reduce(function(Di,Yi){var rn=ci(J.cssPrefix,Yi);if(Yt[Yi]?(Yi=Qi[ii].includes(Yi)?nt[ii][Yi]:Yi,hi=Yi,Di.prefix=Yi):Qr[ii].indexOf(Yi)>-1?(hi=Yi,Di.prefix=Tn(Yi,{family:ii})):rn?Di.iconName=rn:Yi!==J.replacementClass&&Yi!==Jt[Ze]&&Yi!==Jt[Ue]&&Di.rest.push(Yi),!Qe&&Di.prefix&&Di.iconName){var dn="fa"===hi?cn(Di.iconName):{},wn=zi(Di.prefix,Di.iconName);dn.prefix&&(hi=null),Di.iconName=dn.iconName||wn||Di.iconName,Di.prefix=dn.prefix||Di.prefix,"far"===Di.prefix&&!Yt.far&&Yt.fas&&!J.autoFetchSvg&&(Di.prefix="fas")}return Di},{prefix:null,iconName:null,rest:[]});return(Re.includes("fa-brands")||Re.includes("fab"))&&(yi.prefix="fab"),(Re.includes("fa-duotone")||Re.includes("fad"))&&(yi.prefix="fad"),!yi.prefix&&ii===Ue&&(Yt.fass||J.autoFetchSvg)&&(yi.prefix="fass",yi.iconName=zi(yi.prefix,yi.iconName)||yi.iconName),("fa"===yi.prefix||"fa"===hi)&&(yi.prefix=In()||"fas"),yi}var nr=function(){function Re(){(function C(Re,ht){if(!(Re instanceof ht))throw new TypeError("Cannot call a class as a function")})(this,Re),this.definitions={}}return function P(Re,ht,yt){ht&&h(Re.prototype,ht),yt&&h(Re,yt),Object.defineProperty(Re,"prototype",{writable:!1})}(Re,[{key:"add",value:function(){for(var yt=this,Ot=arguments.length,Qe=new Array(Ot),Jt=0;Jt<Ot;Jt++)Qe[Jt]=arguments[Jt];var hi=Qe.reduce(this._pullDefinitions,{});Object.keys(hi).forEach(function(ii){yt.definitions[ii]=g(g({},yt.definitions[ii]||{}),hi[ii]),Xe(ii,hi[ii]);var yi=ie[Ze][ii];yi&&Xe(yi,hi[ii]),li()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(yt,Ot){var Qe=Ot.prefix&&Ot.iconName&&Ot.icon?{0:Ot}:Ot;return Object.keys(Qe).map(function(Jt){var hi=Qe[Jt],ii=hi.prefix,yi=hi.iconName,Di=hi.icon,Yi=Di[2];yt[ii]||(yt[ii]={}),Yi.length>0&&Yi.forEach(function(rn){"string"==typeof rn&&(yt[ii][rn]=Di)}),yt[ii][yi]=Di}),yt}}]),Re}(),ia=[],rr={},br={},Ma=Object.keys(br);function Kr(Re,ht){for(var yt=arguments.length,Ot=new Array(yt>2?yt-2:0),Qe=2;Qe<yt;Qe++)Ot[Qe-2]=arguments[Qe];var Jt=rr[Re]||[];return Jt.forEach(function(hi){ht=hi.apply(null,[ht].concat(Ot))}),ht}function tr(Re){for(var ht=arguments.length,yt=new Array(ht>1?ht-1:0),Ot=1;Ot<ht;Ot++)yt[Ot-1]=arguments[Ot];var Qe=rr[Re]||[];Qe.forEach(function(Jt){Jt.apply(null,yt)})}function Fr(){var Re=arguments[0],ht=Array.prototype.slice.call(arguments,1);return br[Re]?br[Re].apply(null,ht):void 0}function yr(Re){"fa"===Re.prefix&&(Re.prefix="fas");var ht=Re.iconName,yt=Re.prefix||In();if(ht)return ht=zi(yt,ht)||ht,gi(Fs.definitions,yt,ht)||gi(Fi.styles,yt,ht)}var Fs=new nr,hs={i2svg:function(){var ht=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v?(tr("beforeI2svg",ht),Fr("pseudoElements2svg",ht),Fr("i2svg",ht)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var ht=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},yt=ht.autoReplaceSvgRoot;!1===J.autoReplaceSvg&&(J.autoReplaceSvg=!0),J.observeMutations=!0,Pt(function(){qs({autoReplaceSvgRoot:yt}),tr("watch",ht)})}},Tr={noAuto:function(){J.autoReplaceSvg=!1,J.observeMutations=!1,tr("noAuto")},config:J,dom:hs,parse:{icon:function(ht){if(null===ht)return null;if("object"===k(ht)&&ht.prefix&&ht.iconName)return{prefix:ht.prefix,iconName:zi(ht.prefix,ht.iconName)||ht.iconName};if(Array.isArray(ht)&&2===ht.length){var yt=0===ht[1].indexOf("fa-")?ht[1].slice(3):ht[1],Ot=Tn(ht[0]);return{prefix:Ot,iconName:zi(Ot,yt)||yt}}if("string"==typeof ht&&(ht.indexOf("".concat(J.cssPrefix,"-"))>-1||ht.match(Ct))){var Qe=Hr(ht.split(" "),{skipLookups:!0});return{prefix:Qe.prefix||In(),iconName:zi(Qe.prefix,Qe.iconName)||Qe.iconName}}if("string"==typeof ht){var Jt=In();return{prefix:Jt,iconName:zi(Jt,ht)||ht}}}},library:Fs,findIconDefinition:yr,toHtml:qt},qs=function(){var ht=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},yt=ht.autoReplaceSvgRoot,Ot=void 0===yt?c:yt;(Object.keys(Fi.styles).length>0||J.autoFetchSvg)&&v&&J.autoReplaceSvg&&Tr.dom.i2svg({node:Ot})};function Ar(Re,ht){return Object.defineProperty(Re,"abstract",{get:ht}),Object.defineProperty(Re,"html",{get:function(){return Re.abstract.map(function(Ot){return qt(Ot)})}}),Object.defineProperty(Re,"node",{get:function(){if(v){var Ot=c.createElement("div");return Ot.innerHTML=Re.html,Ot.children}}}),Re}function Js(Re){var ht=Re.icons,yt=ht.main,Ot=ht.mask,Qe=Re.prefix,Jt=Re.iconName,hi=Re.transform,ii=Re.symbol,yi=Re.title,Di=Re.maskId,Yi=Re.titleId,rn=Re.extra,dn=Re.watchable,wn=void 0!==dn&&dn,wr=Ot.found?Ot:yt,Br=wr.width,Ur=wr.height,Gr="fak"===Qe,Or=[J.replacementClass,Jt?"".concat(J.cssPrefix,"-").concat(Jt):""].filter(function(Sr){return-1===rn.classes.indexOf(Sr)}).filter(function(Sr){return""!==Sr||!!Sr}).concat(rn.classes).join(" "),Ir={children:[],attributes:g(g({},rn.attributes),{},{"data-prefix":Qe,"data-icon":Jt,class:Or,role:rn.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Br," ").concat(Ur)})},ma=Gr&&!~rn.classes.indexOf("fa-fw")?{width:"".concat(Br/Ur*16*.0625,"em")}:{};wn&&(Ir.attributes[ue]=""),yi&&(Ir.children.push({tag:"title",attributes:{id:Ir.attributes["aria-labelledby"]||"title-".concat(Yi||dt())},children:[yi]}),delete Ir.attributes.title);var Mr=g(g({},Ir),{},{prefix:Qe,iconName:Jt,main:yt,mask:Ot,maskId:Di,transform:hi,symbol:ii,styles:g(g({},ma),rn.styles)}),as=Ot.found&&yt.found?Fr("generateAbstractMask",Mr)||{children:[],attributes:{}}:Fr("generateAbstractIcon",Mr)||{children:[],attributes:{}},ss=as.attributes;return Mr.children=as.children,Mr.attributes=ss,ii?function fs(Re){var yt=Re.iconName,Ot=Re.children,Qe=Re.attributes,Jt=Re.symbol,hi=!0===Jt?"".concat(Re.prefix,"-").concat(J.cssPrefix,"-").concat(yt):Jt;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:g(g({},Qe),{},{id:hi}),children:Ot}]}]}(Mr):function us(Re){var ht=Re.children,yt=Re.main,Ot=Re.mask,Qe=Re.attributes,Jt=Re.styles,hi=Re.transform;if(Nt(hi)&&yt.found&&!Ot.found){var Di={x:yt.width/yt.height/2,y:.5};Qe.style=zt(g(g({},Jt),{},{"transform-origin":"".concat(Di.x+hi.x/16,"em ").concat(Di.y+hi.y/16,"em")}))}return[{tag:"svg",attributes:Qe,children:ht}]}(Mr)}function $a(Re){var ht=Re.content,yt=Re.width,Ot=Re.height,Qe=Re.transform,Jt=Re.title,hi=Re.extra,ii=Re.watchable,yi=void 0!==ii&&ii,Di=g(g(g({},hi.attributes),Jt?{title:Jt}:{}),{},{class:hi.classes.join(" ")});yi&&(Di[ue]="");var Yi=g({},hi.styles);Nt(Qe)&&(Yi.transform=function Fe(Re){var ht=Re.transform,yt=Re.width,Qe=Re.height,Jt=void 0===Qe?16:Qe,hi=Re.startCentered,ii=void 0!==hi&&hi,yi="";return yi+=ii&&n?"translate(".concat(ht.x/16-(void 0===yt?16:yt)/2,"em, ").concat(ht.y/16-Jt/2,"em) "):ii?"translate(calc(-50% + ".concat(ht.x/16,"em), calc(-50% + ").concat(ht.y/16,"em)) "):"translate(".concat(ht.x/16,"em, ").concat(ht.y/16,"em) "),(yi+="scale(".concat(ht.size/16*(ht.flipX?-1:1),", ").concat(ht.size/16*(ht.flipY?-1:1),") "))+"rotate(".concat(ht.rotate,"deg) ")}({transform:Qe,startCentered:!0,width:yt,height:Ot}),Yi["-webkit-transform"]=Yi.transform);var rn=zt(Yi);rn.length>0&&(Di.style=rn);var dn=[];return dn.push({tag:"span",attributes:Di,children:[ht]}),Jt&&dn.push({tag:"span",attributes:{class:"sr-only"},children:[Jt]}),dn}function ha(Re){var ht=Re.content,yt=Re.title,Ot=Re.extra,Qe=g(g(g({},Ot.attributes),yt?{title:yt}:{}),{},{class:Ot.classes.join(" ")}),Jt=zt(Ot.styles);Jt.length>0&&(Qe.style=Jt);var hi=[];return hi.push({tag:"span",attributes:Qe,children:[ht]}),yt&&hi.push({tag:"span",attributes:{class:"sr-only"},children:[yt]}),hi}var es=Fi.styles;function ms(Re){var ht=Re[0],yt=Re[1],Jt=A(Re.slice(4),1)[0];return{found:!0,width:ht,height:yt,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 Cs={found:!1,width:512,height:512};function Da(Re,ht){var yt=ht;return"fa"===ht&&null!==J.styleDefault&&(ht=In()),new Promise(function(Ot,Qe){if(Fr("missingIconAbstract"),"fa"===yt){var hi=cn(Re)||{};Re=hi.iconName||Re,ht=hi.prefix||ht}if(Re&&ht&&es[ht]&&es[ht][Re])return Ot(ms(es[ht][Re]));(function Wa(Re,ht){!te&&!J.showMissingIcons&&Re&&console.error('Icon with name "'.concat(Re,'" and prefix "').concat(ht,'" is missing.'))})(Re,ht),Ot(g(g({},Cs),{},{icon:J.showMissingIcons&&Re&&Fr("missingIconAbstract")||{}}))})}var ps=function(){},dr=J.measurePerformance&&T&&T.mark&&T.measure?T:{mark:ps,measure:ps},ra='FA "6.2.1"',Ea_begin=function(ht){return dr.mark("".concat(ra," ").concat(ht," begins")),function(){return function(ht){dr.mark("".concat(ra," ").concat(ht," ends")),dr.measure("".concat(ra," ").concat(ht),"".concat(ra," ").concat(ht," begins"),"".concat(ra," ").concat(ht," ends"))}(ht)}},ts=function(){};function zr(Re){return"string"==typeof(Re.getAttribute?Re.getAttribute(ue):null)}function Oa(Re){return c.createElementNS("http://www.w3.org/2000/svg",Re)}function ws(Re){return c.createElement(Re)}function hr(Re){var ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},yt=ht.ceFn,Ot=void 0===yt?"svg"===Re.tag?Oa:ws:yt;if("string"==typeof Re)return c.createTextNode(Re);var Qe=Ot(Re.tag);Object.keys(Re.attributes||[]).forEach(function(hi){Qe.setAttribute(hi,Re.attributes[hi])});var Jt=Re.children||[];return Jt.forEach(function(hi){Qe.appendChild(hr(hi,{ceFn:Ot}))}),Qe}var ar={replace:function(ht){var yt=ht[0];if(yt.parentNode)if(ht[1].forEach(function(Qe){yt.parentNode.insertBefore(hr(Qe),yt)}),null===yt.getAttribute(ue)&&J.keepOriginalSource){var Ot=c.createComment(function Ya(Re){var ht=" ".concat(Re.outerHTML," ");return"".concat(ht,"Font Awesome fontawesome.com ")}(yt));yt.parentNode.replaceChild(Ot,yt)}else yt.remove()},nest:function(ht){var yt=ht[0],Ot=ht[1];if(~_t(yt).indexOf(J.replacementClass))return ar.replace(ht);var Qe=new RegExp("".concat(J.cssPrefix,"-.*"));if(delete Ot[0].attributes.id,Ot[0].attributes.class){var Jt=Ot[0].attributes.class.split(" ").reduce(function(ii,yi){return yi===J.replacementClass||yi.match(Qe)?ii.toSvg.push(yi):ii.toNode.push(yi),ii},{toNode:[],toSvg:[]});Ot[0].attributes.class=Jt.toSvg.join(" "),0===Jt.toNode.length?yt.removeAttribute("class"):yt.setAttribute("class",Jt.toNode.join(" "))}var hi=Ot.map(function(ii){return qt(ii)}).join("\n");yt.setAttribute(ue,""),yt.innerHTML=hi}};function Wn(Re){Re()}function ja(Re,ht){var yt="function"==typeof ht?ht:ts;if(0===Re.length)yt();else{var Ot=Wn;"async"===J.mutateApproach&&(Ot=d.requestAnimationFrame||Wn),Ot(function(){var Qe=function qr(){return!0===J.autoReplaceSvg?ar.replace:ar[J.autoReplaceSvg]||ar.replace}(),Jt=Ea_begin("mutate");Re.map(Qe),Jt(),yt()})}}var Cr=!1;function ir(){Cr=!0}function ua(){Cr=!1}var Rt=null;function fi(Re){if(b&&J.observeMutations){var ht=Re.treeCallback,yt=void 0===ht?ts:ht,Ot=Re.nodeCallback,Qe=void 0===Ot?ts:Ot,Jt=Re.pseudoElementsCallback,hi=void 0===Jt?ts:Jt,ii=Re.observeMutationsRoot,yi=void 0===ii?c:ii;Rt=new b(function(Di){if(!Cr){var Yi=In();at(Di).forEach(function(rn){if("childList"===rn.type&&rn.addedNodes.length>0&&!zr(rn.addedNodes[0])&&(J.searchPseudoElements&&hi(rn.target),yt(rn.target)),"attributes"===rn.type&&rn.target.parentNode&&J.searchPseudoElements&&hi(rn.target.parentNode),"attributes"===rn.type&&zr(rn.target)&&~Ie.indexOf(rn.attributeName))if("class"===rn.attributeName&&function ka(Re){var ht=Re.getAttribute?Re.getAttribute(he):null,yt=Re.getAttribute?Re.getAttribute(it):null;return ht&&yt}(rn.target)){var dn=Hr(_t(rn.target)),wr=dn.iconName;rn.target.setAttribute(he,dn.prefix||Yi),wr&&rn.target.setAttribute(it,wr)}else(function xr(Re){return Re&&Re.classList&&Re.classList.contains&&Re.classList.contains(J.replacementClass)})(rn.target)&&Qe(rn.target)})}}),v&&Rt.observe(yi,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function oi(Re){var ht=Re.getAttribute("style"),yt=[];return ht&&(yt=ht.split(";").reduce(function(Ot,Qe){var Jt=Qe.split(":"),hi=Jt[0],ii=Jt.slice(1);return hi&&ii.length>0&&(Ot[hi]=ii.join(":").trim()),Ot},{})),yt}function Hi(Re){var ht=Re.getAttribute("data-prefix"),yt=Re.getAttribute("data-icon"),Ot=void 0!==Re.innerText?Re.innerText.trim():"",Qe=Hr(_t(Re));return Qe.prefix||(Qe.prefix=In()),ht&&yt&&(Qe.prefix=ht,Qe.iconName=yt),Qe.iconName&&Qe.prefix||(Qe.prefix&&Ot.length>0&&(Qe.iconName=function Ui(Re,ht){return(_n[Re]||{})[ht]}(Qe.prefix,Re.innerText)||Mi(Qe.prefix,Gt(Re.innerText))),!Qe.iconName&&J.autoFetchSvg&&Re.firstChild&&Re.firstChild.nodeType===Node.TEXT_NODE&&(Qe.iconName=Re.firstChild.data)),Qe}function tn(Re){var ht=at(Re.attributes).reduce(function(Qe,Jt){return"class"!==Qe.name&&"style"!==Qe.name&&(Qe[Jt.name]=Jt.value),Qe},{}),yt=Re.getAttribute("title"),Ot=Re.getAttribute("data-fa-title-id");return J.autoA11y&&(yt?ht["aria-labelledby"]="".concat(J.replacementClass,"-title-").concat(Ot||dt()):(ht["aria-hidden"]="true",ht.focusable="false")),ht}function pr(Re){var ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},yt=Hi(Re),Ot=yt.iconName,Qe=yt.prefix,Jt=yt.rest,hi=tn(Re),ii=Kr("parseNodeAttributes",{},Re),yi=ht.styleParser?oi(Re):[];return g({iconName:Ot,title:Re.getAttribute("title"),titleId:Re.getAttribute("data-fa-title-id"),prefix:Qe,transform:ni,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:Jt,styles:yi,attributes:hi}},ii)}var qi=Fi.styles;function xn(Re){var ht="nest"===J.autoReplaceSvg?pr(Re,{styleParser:!1}):pr(Re);return~ht.extra.classes.indexOf(rt)?Fr("generateLayersText",Re,ht):Fr("generateSvgReplacementMutation",Re,ht)}var aa=new Set;function ot(Re){var ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!v)return Promise.resolve();var yt=c.documentElement.classList,Ot=function(rn){return yt.add("".concat(De,"-").concat(rn))},Qe=function(rn){return yt.remove("".concat(De,"-").concat(rn))},Jt=J.autoFetchSvg?aa:q.map(function(Yi){return"fa-".concat(Yi)}).concat(Object.keys(qi));Jt.includes("fa")||Jt.push("fa");var hi=[".".concat(rt,":not([").concat(ue,"])")].concat(Jt.map(function(Yi){return".".concat(Yi,":not([").concat(ue,"])")})).join(", ");if(0===hi.length)return Promise.resolve();var ii=[];try{ii=at(Re.querySelectorAll(hi))}catch{}if(!(ii.length>0))return Promise.resolve();Ot("pending"),Qe("complete");var yi=Ea_begin("onTree"),Di=ii.reduce(function(Yi,rn){try{var dn=xn(rn);dn&&Yi.push(dn)}catch(wn){te||"MissingIcon"===wn.name&&console.error(wn)}return Yi},[]);return new Promise(function(Yi,rn){Promise.all(Di).then(function(dn){ja(dn,function(){Ot("active"),Ot("complete"),Qe("pending"),"function"==typeof ht&&ht(),yi(),Yi()})}).catch(function(dn){yi(),rn(dn)})})}function tt(Re){var ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;xn(Re).then(function(yt){yt&&ja([yt],ht)})}q.map(function(Re){aa.add("fa-".concat(Re))}),Object.keys(Ee[Ze]).map(aa.add.bind(aa)),Object.keys(Ee[Ue]).map(aa.add.bind(aa)),aa=w(aa);var kt=function(ht){var yt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ot=yt.transform,Qe=void 0===Ot?ni:Ot,Jt=yt.symbol,hi=void 0!==Jt&&Jt,ii=yt.mask,yi=void 0===ii?null:ii,Di=yt.maskId,Yi=void 0===Di?null:Di,rn=yt.title,dn=void 0===rn?null:rn,wn=yt.titleId,wr=void 0===wn?null:wn,Br=yt.classes,Ur=void 0===Br?[]:Br,Gr=yt.attributes,Or=void 0===Gr?{}:Gr,Ir=yt.styles,ma=void 0===Ir?{}:Ir;if(ht){var Mr=ht.prefix,as=ht.iconName,pa=ht.icon;return Ar(g({type:"icon"},ht),function(){return tr("beforeDOMElementCreation",{iconDefinition:ht,params:yt}),J.autoA11y&&(dn?Or["aria-labelledby"]="".concat(J.replacementClass,"-title-").concat(wr||dt()):(Or["aria-hidden"]="true",Or.focusable="false")),Js({icons:{main:ms(pa),mask:yi?ms(yi.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Mr,iconName:as,transform:g(g({},ni),Qe),symbol:hi,title:dn,maskId:Yi,titleId:wr,extra:{attributes:Or,styles:ma,classes:Ur}})})}},Ei={mixout:function(){return{icon:(Re=kt,function(ht){var yt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ot=(ht||{}).icon?ht:yr(ht||{}),Qe=yt.mask;return Qe&&(Qe=(Qe||{}).icon?Qe:yr(Qe||{})),Re(Ot,g(g({},yt),{},{mask:Qe}))})};var Re},hooks:function(){return{mutationObserverCallbacks:function(yt){return yt.treeCallback=ot,yt.nodeCallback=tt,yt}}},provides:function(ht){ht.i2svg=function(yt){var Ot=yt.node,Jt=yt.callback;return ot(void 0===Ot?c:Ot,void 0===Jt?function(){}:Jt)},ht.generateSvgReplacementMutation=function(yt,Ot){var Qe=Ot.iconName,Jt=Ot.title,hi=Ot.titleId,ii=Ot.prefix,yi=Ot.transform,Di=Ot.symbol,Yi=Ot.mask,rn=Ot.maskId,dn=Ot.extra;return new Promise(function(wn,wr){Promise.all([Da(Qe,ii),Yi.iconName?Da(Yi.iconName,Yi.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Br){var Ur=A(Br,2);wn([yt,Js({icons:{main:Ur[0],mask:Ur[1]},prefix:ii,iconName:Qe,transform:yi,symbol:Di,maskId:rn,title:Jt,titleId:hi,extra:dn,watchable:!0})])}).catch(wr)})},ht.generateAbstractIcon=function(yt){var Di,Ot=yt.children,Qe=yt.attributes,Jt=yt.main,hi=yt.transform,yi=zt(yt.styles);return yi.length>0&&(Qe.style=yi),Nt(hi)&&(Di=Fr("generateAbstractTransformGrouping",{main:Jt,transform:hi,containerWidth:Jt.width,iconWidth:Jt.width})),Ot.push(Di||Jt.icon),{children:Ot,attributes:Qe}}}},Ki={mixout:function(){return{layer:function(yt){var Ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Qe=Ot.classes,Jt=void 0===Qe?[]:Qe;return Ar({type:"layer"},function(){tr("beforeDOMElementCreation",{assembler:yt,params:Ot});var hi=[];return yt(function(ii){Array.isArray(ii)?ii.map(function(yi){hi=hi.concat(yi.abstract)}):hi=hi.concat(ii.abstract)}),[{tag:"span",attributes:{class:["".concat(J.cssPrefix,"-layers")].concat(w(Jt)).join(" ")},children:hi}]})}}}},gr={mixout:function(){return{counter:function(yt){var Ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Qe=Ot.title,Jt=void 0===Qe?null:Qe,hi=Ot.classes,ii=void 0===hi?[]:hi,yi=Ot.attributes,Di=void 0===yi?{}:yi,Yi=Ot.styles,rn=void 0===Yi?{}:Yi;return Ar({type:"counter",content:yt},function(){return tr("beforeDOMElementCreation",{content:yt,params:Ot}),ha({content:yt.toString(),title:Jt,extra:{attributes:Di,styles:rn,classes:["".concat(J.cssPrefix,"-layers-counter")].concat(w(ii))}})})}}}},Oi={mixout:function(){return{text:function(yt){var Ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Qe=Ot.transform,Jt=void 0===Qe?ni:Qe,hi=Ot.title,ii=void 0===hi?null:hi,yi=Ot.classes,Di=void 0===yi?[]:yi,Yi=Ot.attributes,rn=void 0===Yi?{}:Yi,dn=Ot.styles,wn=void 0===dn?{}:dn;return Ar({type:"text",content:yt},function(){return tr("beforeDOMElementCreation",{content:yt,params:Ot}),$a({content:yt,transform:g(g({},ni),Jt),title:ii,extra:{attributes:rn,styles:wn,classes:["".concat(J.cssPrefix,"-layers-text")].concat(w(Di))}})})}}},provides:function(ht){ht.generateLayersText=function(yt,Ot){var Qe=Ot.title,Jt=Ot.transform,hi=Ot.extra,ii=null,yi=null;if(n){var Di=parseInt(getComputedStyle(yt).fontSize,10),Yi=yt.getBoundingClientRect();ii=Yi.width/Di,yi=Yi.height/Di}return J.autoA11y&&!Qe&&(hi.attributes["aria-hidden"]="true"),Promise.resolve([yt,$a({content:yt.innerHTML,width:ii,height:yi,transform:Jt,title:Qe,extra:hi,watchable:!0})])}}},Fn=new RegExp('"',"ug"),Vs=[1105920,1112319];function Vr(Re,ht){var yt="".concat("data-fa-pseudo-element-pending").concat(ht.replace(":","-"));return new Promise(function(Ot,Qe){if(null!==Re.getAttribute(yt))return Ot();var hi=at(Re.children).filter(function(pa){return pa.getAttribute(ye)===ht})[0],ii=d.getComputedStyle(Re,ht),yi=ii.getPropertyValue("font-family").match(Xt),Di=ii.getPropertyValue("font-weight"),Yi=ii.getPropertyValue("content");if(hi&&!yi)return Re.removeChild(hi),Ot();if(yi&&"none"!==Yi&&""!==Yi){var rn=ii.getPropertyValue("content"),dn=~["Sharp"].indexOf(yi[2])?Ue:Ze,wn=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(yi[2])?ke[dn][yi[2].toLowerCase()]:gt[dn][Di],wr=function qo(Re){var ht=Re.replace(Fn,""),yt=function di(Re,ht){var Qe,yt=Re.length,Ot=Re.charCodeAt(ht);return Ot>=55296&&Ot<=56319&&yt>ht+1&&(Qe=Re.charCodeAt(ht+1))>=56320&&Qe<=57343?1024*(Ot-55296)+Qe-56320+65536:Ot}(ht,0),Ot=yt>=Vs[0]&&yt<=Vs[1],Qe=2===ht.length&&ht[0]===ht[1];return{value:Gt(Qe?ht[0]:ht),isSecondary:Ot||Qe}}(rn),Br=wr.value,Ur=wr.isSecondary,Gr=yi[0].startsWith("FontAwesome"),Or=Mi(wn,Br),Ir=Or;if(Gr){var ma=function Xn(Re){var ht=mr[Re],yt=Mi("fas",Re);return ht||(yt?{prefix:"fas",iconName:yt}:null)||{prefix:null,iconName:null}}(Br);ma.iconName&&ma.prefix&&(Or=ma.iconName,wn=ma.prefix)}if(!Or||Ur||hi&&hi.getAttribute(he)===wn&&hi.getAttribute(it)===Ir)Ot();else{Re.setAttribute(yt,Ir),hi&&Re.removeChild(hi);var Mr=function Yn(){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:{}}}}(),as=Mr.extra;as.attributes[ye]=ht,Da(Or,wn).then(function(pa){var ss=Js(g(g({},Mr),{},{icons:{main:pa,mask:{prefix:null,iconName:null,rest:[]}},prefix:wn,iconName:Ir,extra:as,watchable:!0})),Sr=c.createElement("svg");"::before"===ht?Re.insertBefore(Sr,Re.firstChild):Re.appendChild(Sr),Sr.outerHTML=ss.map(function(Cl){return qt(Cl)}).join("\n"),Re.removeAttribute(yt),Ot()}).catch(Qe)}}else Ot()})}function Ms(Re){return Promise.all([Vr(Re,"::before"),Vr(Re,"::after")])}function is(Re){return!(Re.parentNode===document.head||~me.indexOf(Re.tagName.toUpperCase())||Re.getAttribute(ye)||Re.parentNode&&"svg"===Re.parentNode.tagName)}function fa(Re){if(v)return new Promise(function(ht,yt){var Ot=at(Re.querySelectorAll("*")).filter(is).map(Ms),Qe=Ea_begin("searchPseudoElements");ir(),Promise.all(Ot).then(function(){Qe(),ua(),ht()}).catch(function(){Qe(),ua(),yt()})})}var ns=!1,Jo=function(ht){return ht.toLowerCase().split(" ").reduce(function(Ot,Qe){var Jt=Qe.toLowerCase().split("-"),hi=Jt[0],ii=Jt.slice(1).join("-");if(hi&&"h"===ii)return Ot.flipX=!0,Ot;if(hi&&"v"===ii)return Ot.flipY=!0,Ot;if(ii=parseFloat(ii),isNaN(ii))return Ot;switch(hi){case"grow":Ot.size=Ot.size+ii;break;case"shrink":Ot.size=Ot.size-ii;break;case"left":Ot.x=Ot.x-ii;break;case"right":Ot.x=Ot.x+ii;break;case"up":Ot.y=Ot.y-ii;break;case"down":Ot.y=Ot.y+ii;break;case"rotate":Ot.rotate=Ot.rotate+ii}return Ot},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},kn={x:0,y:0,width:"100%",height:"100%"};function Pi(Re){var ht=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Re.attributes&&(Re.attributes.fill||ht)&&(Re.attributes.fill="black"),Re}!function Sa(Re,ht){var yt=ht.mixoutsTo;ia=Re,rr={},Object.keys(br).forEach(function(Ot){-1===Ma.indexOf(Ot)&&delete br[Ot]}),ia.forEach(function(Ot){var Qe=Ot.mixout?Ot.mixout():{};if(Object.keys(Qe).forEach(function(hi){"function"==typeof Qe[hi]&&(yt[hi]=Qe[hi]),"object"===k(Qe[hi])&&Object.keys(Qe[hi]).forEach(function(ii){yt[hi]||(yt[hi]={}),yt[hi][ii]=Qe[hi][ii]})}),Ot.hooks){var Jt=Ot.hooks();Object.keys(Jt).forEach(function(hi){rr[hi]||(rr[hi]=[]),rr[hi].push(Jt[hi])})}Ot.provides&&Ot.provides(br)})}([Ti,Ei,Ki,gr,Oi,{hooks:function(){return{mutationObserverCallbacks:function(yt){return yt.pseudoElementsCallback=fa,yt}}},provides:function(ht){ht.pseudoElements2svg=function(yt){var Ot=yt.node;J.searchPseudoElements&&fa(void 0===Ot?c:Ot)}}},{mixout:function(){return{dom:{unwatch:function(){ir(),ns=!0}}}},hooks:function(){return{bootstrap:function(){fi(Kr("mutationObserverCallbacks",{}))},noAuto:function(){!function vt(){!Rt||Rt.disconnect()}()},watch:function(yt){var Ot=yt.observeMutationsRoot;ns?ua():fi(Kr("mutationObserverCallbacks",{observeMutationsRoot:Ot}))}}}},{mixout:function(){return{parse:{transform:function(yt){return Jo(yt)}}}},hooks:function(){return{parseNodeAttributes:function(yt,Ot){var Qe=Ot.getAttribute("data-fa-transform");return Qe&&(yt.transform=Jo(Qe)),yt}}},provides:function(ht){ht.generateAbstractTransformGrouping=function(yt){var Ot=yt.main,Qe=yt.transform,hi=yt.iconWidth,ii={transform:"translate(".concat(yt.containerWidth/2," 256)")},yi="translate(".concat(32*Qe.x,", ").concat(32*Qe.y,") "),Di="scale(".concat(Qe.size/16*(Qe.flipX?-1:1),", ").concat(Qe.size/16*(Qe.flipY?-1:1),") "),Yi="rotate(".concat(Qe.rotate," 0 0)"),wn={outer:ii,inner:{transform:"".concat(yi," ").concat(Di," ").concat(Yi)},path:{transform:"translate(".concat(hi/2*-1," -256)")}};return{tag:"g",attributes:g({},wn.outer),children:[{tag:"g",attributes:g({},wn.inner),children:[{tag:Ot.icon.tag,children:Ot.icon.children,attributes:g(g({},Ot.icon.attributes),wn.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(yt,Ot){var Qe=Ot.getAttribute("data-fa-mask"),Jt=Qe?Hr(Qe.split(" ").map(function(hi){return hi.trim()})):{prefix:null,iconName:null,rest:[]};return Jt.prefix||(Jt.prefix=In()),yt.mask=Jt,yt.maskId=Ot.getAttribute("data-fa-mask-id"),yt}}},provides:function(ht){ht.generateAbstractMask=function(yt){var Re,Ot=yt.children,Qe=yt.attributes,Jt=yt.main,hi=yt.mask,ii=yt.maskId,Yi=Jt.icon,dn=hi.icon,wn=function je(Re){var ht=Re.transform,Ot=Re.iconWidth,Qe={transform:"translate(".concat(Re.containerWidth/2," 256)")},Jt="translate(".concat(32*ht.x,", ").concat(32*ht.y,") "),hi="scale(".concat(ht.size/16*(ht.flipX?-1:1),", ").concat(ht.size/16*(ht.flipY?-1:1),") "),ii="rotate(".concat(ht.rotate," 0 0)");return{outer:Qe,inner:{transform:"".concat(Jt," ").concat(hi," ").concat(ii)},path:{transform:"translate(".concat(Ot/2*-1," -256)")}}}({transform:yt.transform,containerWidth:hi.width,iconWidth:Jt.width}),wr={tag:"rect",attributes:g(g({},kn),{},{fill:"white"})},Br=Yi.children?{children:Yi.children.map(Pi)}:{},Ur={tag:"g",attributes:g({},wn.inner),children:[Pi(g({tag:Yi.tag,attributes:g(g({},Yi.attributes),wn.path)},Br))]},Gr={tag:"g",attributes:g({},wn.outer),children:[Ur]},Or="mask-".concat(ii||dt()),Ir="clip-".concat(ii||dt()),ma={tag:"mask",attributes:g(g({},kn),{},{id:Or,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[wr,Gr]},Mr={tag:"defs",children:[{tag:"clipPath",attributes:{id:Ir},children:(Re=dn,"g"===Re.tag?Re.children:[Re])},ma]};return Ot.push(Mr,{tag:"rect",attributes:g({fill:"currentColor","clip-path":"url(#".concat(Ir,")"),mask:"url(#".concat(Or,")")},kn)}),{children:Ot,attributes:Qe}}}},{provides:function(ht){var yt=!1;d.matchMedia&&(yt=d.matchMedia("(prefers-reduced-motion: reduce)").matches),ht.missingIconAbstract=function(){var Ot=[],Qe={fill:"currentColor"},Jt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Ot.push({tag:"path",attributes:g(g({},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 hi=g(g({},Jt),{},{attributeName:"opacity"}),ii={tag:"circle",attributes:g(g({},Qe),{},{cx:"256",cy:"364",r:"28"}),children:[]};return yt||ii.children.push({tag:"animate",attributes:g(g({},Jt),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:g(g({},hi),{},{values:"1;0;1;1;0;1;"})}),Ot.push(ii),Ot.push({tag:"path",attributes:g(g({},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:yt?[]:[{tag:"animate",attributes:g(g({},hi),{},{values:"1;0;0;0;0;1;"})}]}),yt||Ot.push({tag:"path",attributes:g(g({},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:g(g({},hi),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:Ot}}}},{hooks:function(){return{parseNodeAttributes:function(yt,Ot){var Qe=Ot.getAttribute("data-fa-symbol");return yt.symbol=null!==Qe&&(""===Qe||Qe),yt}}}}],{mixoutsTo:Tr});var co=Tr.parse,_c=Tr.icon,Eo=m(1481);const Lr=["*"],nn=Re=>{const ht={"fa-spin":Re.spin,"fa-pulse":Re.pulse,"fa-fw":Re.fixedWidth,"fa-border":Re.border,"fa-inverse":Re.inverse,"fa-layers-counter":Re.counter,"fa-flip-horizontal":"horizontal"===Re.flip||"both"===Re.flip,"fa-flip-vertical":"vertical"===Re.flip||"both"===Re.flip,[`fa-${Re.size}`]:null!==Re.size,[`fa-rotate-${Re.rotate}`]:null!==Re.rotate,[`fa-pull-${Re.pull}`]:null!==Re.pull,[`fa-stack-${Re.stackItemSize}`]:null!=Re.stackItemSize};return Object.keys(ht).map(yt=>ht[yt]?yt:null).filter(yt=>yt)};let sr=(()=>{class Re{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}}return Re.\u0275fac=function(yt){return new(yt||Re)},Re.\u0275prov=t.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),lo=(()=>{class Re{constructor(){this.definitions={}}addIcons(...yt){for(const Ot of yt){Ot.prefix in this.definitions||(this.definitions[Ot.prefix]={}),this.definitions[Ot.prefix][Ot.iconName]=Ot;for(const Qe of Ot.icon[2])"string"==typeof Qe&&(this.definitions[Ot.prefix][Qe]=Ot)}}addIconPacks(...yt){for(const Ot of yt){const Qe=Object.keys(Ot).map(Jt=>Ot[Jt]);this.addIcons(...Qe)}}getIconDefinition(yt,Ot){return yt in this.definitions&&Ot in this.definitions[yt]?this.definitions[yt][Ot]:null}}return Re.\u0275fac=function(yt){return new(yt||Re)},Re.\u0275prov=t.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),xl=(()=>{class Re{constructor(){this.stackItemSize="1x"}ngOnChanges(yt){if("size"in yt)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 Re.\u0275fac=function(yt){return new(yt||Re)},Re.\u0275dir=t.lG2({type:Re,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[t.TTD]}),Re})(),ec=(()=>{class Re{constructor(yt,Ot){this.renderer=yt,this.elementRef=Ot}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(yt){"size"in yt&&(null!=yt.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${yt.size.currentValue}`),null!=yt.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${yt.size.previousValue}`))}}return Re.\u0275fac=function(yt){return new(yt||Re)(t.Y36(t.Qsj),t.Y36(t.SBq))},Re.\u0275cmp=t.Xpm({type:Re,selectors:[["fa-stack"]],inputs:{size:"size"},features:[t.TTD],ngContentSelectors:Lr,decls:1,vars:0,template:function(yt,Ot){1&yt&&(t.F$t(),t.Hsn(0))},encapsulation:2}),Re})(),Bn=(()=>{class Re{constructor(yt,Ot,Qe,Jt,hi){this.sanitizer=yt,this.config=Ot,this.iconLibrary=Qe,this.stackItem=Jt,this.classes=[],null!=hi&&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(yt){if(null==this.icon&&null==this.config.fallbackIcon)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})();if(yt){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(yt){const Ot=((Re,ht)=>(Re=>void 0!==Re.prefix&&void 0!==Re.iconName)(Re)?Re:Array.isArray(Re)&&2===Re.length?{prefix:Re[0],iconName:Re[1]}:"string"==typeof Re?{prefix:ht,iconName:Re}:void 0)(yt,this.config.defaultPrefix);return"icon"in Ot?Ot:this.iconLibrary.getIconDefinition(Ot.prefix,Ot.iconName)??((Re=>{throw new Error(`Could not find icon with iconName=${Re.iconName} and prefix=${Re.prefix} in the icon library.`)})(Ot),null)}buildParams(){const yt={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},Ot="string"==typeof this.transform?co.transform(this.transform):this.transform;return{title:this.title,transform:Ot,classes:[...nn(yt),...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(yt,Ot){const Qe=_c(yt,Ot);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(Qe.html.join("\n"))}}return Re.\u0275fac=function(yt){return new(yt||Re)(t.Y36(Eo.H7),t.Y36(sr),t.Y36(lo),t.Y36(xl,8),t.Y36(ec,8))},Re.\u0275cmp=t.Xpm({type:Re,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(yt,Ot){2&yt&&(t.Ikx("innerHTML",Ot.renderedIconHTML,t.oJD),t.uIk("title",Ot.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(yt,Ot){},encapsulation:2}),Re})(),ri=(()=>{class Re{}return Re.\u0275fac=function(yt){return new(yt||Re)},Re.\u0275mod=t.oAB({type:Re}),Re.\u0275inj=t.cJS({}),Re})()},2687:(ze,K,m)=>{"use strict";m.d(K,{Acd:()=>yd,Aq:()=>Lo,B$L:()=>kn,BDt:()=>sg,CgH:()=>_u,CvI:()=>lm,DL8:()=>K_,FJU:()=>f7,FVb:()=>Ao,FlN:()=>op,FpQ:()=>X3,HLz:()=>T7,KOR:()=>xo,Krp:()=>nu,Mdf:()=>t4,N2j:()=>zi,NBC:()=>t_,OS1:()=>ad,Psp:()=>yo,Pyt:()=>u7,Sbq:()=>Pe,SoD:()=>ms,Ssp:()=>sv,SuH:()=>Yo,TmZ:()=>Q7,USL:()=>f_,Vei:()=>no,Vfw:()=>jf,X5K:()=>j3,XsY:()=>rn,aj4:()=>Ka,b7W:()=>f8,byT:()=>dn,co4:()=>dm,d63:()=>Wr,dLy:()=>R7,dT$:()=>G1,eHv:()=>rv,gNZ:()=>xs,hkK:()=>Qi,hnx:()=>_v,kXW:()=>Np,kZ_:()=>q7,koM:()=>Gl,mh3:()=>vf,nNP:()=>r5,q7m:()=>Qp,qO$:()=>S_,r8p:()=>d5,sqG:()=>qf,vqe:()=>H_,wn1:()=>k7,wyP:()=>L1,xf3:()=>Ec});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"]},Qi={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"]},zi={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"]},ms={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"]},kn={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"]},dn={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"]},Ao={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"]},Lo={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"]},yd={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"]},Ka={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"]},Ec={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"]},Gl={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"]},L1={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"]},Wr={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"]},nu={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"]},yo={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"]},G1={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"]},ad={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"]},xo={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"]},Yo={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"]},_u={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"]},j3={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"]},X3={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"]},t4={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"]},xs={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,f8={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"]},Np={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"]},Qp={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"]},sg={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"]},R7={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"]},H_={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:(ze,K,m)=>{"use strict";m.d(K,{eX:()=>n,sQ:()=>rt,GW:()=>i,l4:()=>y});var t=m(6451),e=m(9751),g=m(7579),k=m(8502),o=m(515),C=m(9646),h=m(2843),P=m(576);class I{constructor(Pe,et,Vt){this.kind=Pe,this.value=et,this.error=Vt,this.hasValue="N"===Pe}observe(Pe){return S(this,Pe)}do(Pe,et,Vt){const{kind:Lt,value:Ft,error:bt}=this;return"N"===Lt?Pe?.(Ft):"E"===Lt?et?.(bt):Vt?.()}accept(Pe,et,Vt){var Lt;return(0,P.m)(null===(Lt=Pe)||void 0===Lt?void 0:Lt.next)?this.observe(Pe):this.do(Pe,et,Vt)}toObservable(){const{kind:Pe,value:et,error:Vt}=this,Lt="N"===Pe?(0,C.of)(et):"E"===Pe?(0,h._)(()=>Vt):"C"===Pe?o.E:0;if(!Lt)throw new TypeError(`Unexpected notification kind ${Pe}`);return Lt}static createNext(Pe){return new I("N",Pe)}static createError(Pe){return new I("E",void 0,Pe)}static createComplete(){return I.completeNotification}}function S(xt,Pe){var et,Vt,Lt;const{kind:Ft,value:bt,error:Ce}=xt;if("string"!=typeof Ft)throw new TypeError('Invalid notification, missing "kind"');"N"===Ft?null===(et=Pe.next)||void 0===et||et.call(Pe,bt):"E"===Ft?null===(Vt=Pe.error)||void 0===Vt||Vt.call(Pe,Ce):null===(Lt=Pe.complete)||void 0===Lt||Lt.call(Pe)}I.completeNotification=new I("C");var A=m(4482),w=m(5403),E=m(4004),U=m(262),Y=m(9300),Q=m(8421);function X(xt,Pe,et,Vt){return(0,A.e)((Lt,Ft)=>{let bt;Pe&&"function"!=typeof Pe?({duration:et,element:bt,connector:Vt}=Pe):bt=Pe;const Ce=new Map,J=ti=>{Ce.forEach(ti),ti(Ft)},ve=ti=>J(dt=>dt.error(ti));let Ne=0,st=!1;const ni=new w.Q(Ft,ti=>{try{const dt=xt(ti);let at=Ce.get(dt);if(!at){Ce.set(dt,at=Vt?Vt():new g.x);const _t=function Ut(ti,dt){const at=new e.y(_t=>{Ne++;const ai=dt.subscribe(_t);return()=>{ai.unsubscribe(),0==--Ne&&st&&ni.unsubscribe()}});return at.key=ti,at}(dt,at);if(Ft.next(_t),et){const ai=(0,w.x)(at,()=>{at.complete(),ai?.unsubscribe()},void 0,void 0,()=>Ce.delete(dt));ni.add((0,Q.Xf)(et(_t)).subscribe(ai))}}at.next(bt?bt(ti):ti)}catch(dt){ve(dt)}},()=>J(ti=>ti.complete()),ve,()=>Ce.clear(),()=>(st=!0,0===Ne));Lt.subscribe(ni)})}var $=m(5577);function fe(xt,Pe){return Pe?et=>et.pipe(fe((Vt,Lt)=>(0,Q.Xf)(xt(Vt,Lt)).pipe((0,E.U)((Ft,bt)=>Pe(Vt,Ft,Lt,bt))))):(0,A.e)((et,Vt)=>{let Lt=0,Ft=null,bt=!1;et.subscribe((0,w.x)(Vt,Ce=>{Ft||(Ft=(0,w.x)(Vt,void 0,()=>{Ft=null,bt&&Vt.complete()}),(0,Q.Xf)(xt(Ce,Lt++)).subscribe(Ft))},()=>{bt=!0,!Ft&&Vt.complete()}))})}var ee=m(5698),ce=m(4650),se=m(9653);const le={dispatch:!0,useEffectsErrorHandler:!0},L="__@ngrx/effects_create__";function i(xt,Pe){const et=xt(),Vt={...le,...Pe};return Object.defineProperty(et,L,{value:Vt}),et}function b(xt){return Object.getPrototypeOf(xt)}function T(xt,Pe,et){const Vt=b(xt).constructor.name,Lt=function c(xt){return function r(xt){return Object.getOwnPropertyNames(xt).filter(Vt=>!(!xt[Vt]||!xt[Vt].hasOwnProperty(L))&&xt[Vt][L].hasOwnProperty("dispatch")).map(Vt=>({propertyName:Vt,...xt[Vt][L]}))}(xt)}(xt).map(({propertyName:Ft,dispatch:bt,useEffectsErrorHandler:Ce})=>{const J="function"==typeof xt[Ft]?xt[Ft]():xt[Ft],ve=Ce?et(J,Pe):J;return!1===bt?ve.pipe((0,k.l)()):ve.pipe(function R(){return(0,A.e)((xt,Pe)=>{xt.subscribe((0,w.x)(Pe,et=>{Pe.next(I.createNext(et))},()=>{Pe.next(I.createComplete()),Pe.complete()},et=>{Pe.next(I.createError(et)),Pe.complete()}))})}()).pipe((0,E.U)(st=>({effect:xt[Ft],notification:st,propertyName:Ft,sourceName:Vt,sourceInstance:xt})))});return(0,t.T)(...Lt)}function v(xt,Pe,et=10){return xt.pipe((0,U.K)(Vt=>(Pe&&Pe.handleError(Vt),et<=1?xt:v(xt,Pe,et-1))))}let n=(()=>{class xt extends e.y{constructor(et){super(),et&&(this.source=et)}lift(et){const Vt=new xt;return Vt.source=this,Vt.operator=et,Vt}}return xt.\u0275fac=function(et){return new(et||xt)(ce.LFG(se.Y$))},xt.\u0275prov=ce.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})();function y(...xt){return(0,Y.h)(Pe=>xt.some(et=>"string"==typeof et?et===Pe.type:et.type===Pe.type))}const B=new ce.OlP("@ngrx/effects Internal Root Guard"),z=new ce.OlP("@ngrx/effects User Provided Effects"),W=new ce.OlP("@ngrx/effects Internal Root Effects"),Le=new ce.OlP("@ngrx/effects Root Effects"),Ve=new ce.OlP("@ngrx/effects Internal Feature Effects"),Ke=new ce.OlP("@ngrx/effects Feature Effects"),$e=new ce.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>v}),Ae="@ngrx/effects/init";function Ue(xt){return q(xt,"ngrxOnInitEffects")}function q(xt,Pe){return xt&&Pe in xt&&"function"==typeof xt[Pe]}(0,se.PH)(Ae);let de=(()=>{class xt extends g.x{constructor(et,Vt){super(),this.errorHandler=et,this.effectsErrorHandler=Vt}addEffects(et){this.next(et)}toActions(){return this.pipe(X(b),(0,$.z)(et=>et.pipe(X(Ee))),(0,$.z)(et=>{const Vt=et.pipe(fe(Ft=>function ke(xt,Pe){return et=>{const Vt=T(et,xt,Pe);return function te(xt){return q(xt,"ngrxOnRunEffects")}(et)?et.ngrxOnRunEffects(Vt):Vt}}(this.errorHandler,this.effectsErrorHandler)(Ft)),(0,E.U)(Ft=>(function ye(xt,Pe){if("N"===xt.notification.kind){const et=xt.notification.value;!function we(xt){return"function"!=typeof xt&&xt&&xt.type&&"string"==typeof xt.type}(et)&&Pe.handleError(new Error(`Effect ${function he({propertyName:xt,sourceInstance:Pe,sourceName:et}){const Vt="function"==typeof Pe[xt];return`"${et}.${String(xt)}${Vt?"()":""}"`}(xt)} dispatched an invalid action: ${function it(xt){try{return JSON.stringify(xt)}catch{return xt}}(et)}`))}}(Ft,this.errorHandler),Ft.notification)),(0,Y.h)(Ft=>"N"===Ft.kind&&null!=Ft.value),function re(){return(0,A.e)((xt,Pe)=>{xt.subscribe((0,w.x)(Pe,et=>S(et,Pe)))})}()),Lt=et.pipe((0,ee.q)(1),(0,Y.h)(Ue),(0,E.U)(Ft=>Ft.ngrxOnInitEffects()));return(0,t.T)(Vt,Lt)}))}}return xt.\u0275fac=function(et){return new(et||xt)(ce.LFG(ce.qLn),ce.LFG($e))},xt.\u0275prov=ce.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})();function Ee(xt){return function oe(xt){return q(xt,"ngrxOnIdentifyEffects")}(xt)?xt.ngrxOnIdentifyEffects():""}let ie=(()=>{class xt{constructor(et,Vt){this.effectSources=et,this.store=Vt,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 xt.\u0275fac=function(et){return new(et||xt)(ce.LFG(de),ce.LFG(se.yh))},xt.\u0275prov=ce.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})(),nt=(()=>{class xt{constructor(et,Vt,Lt,Ft,bt,Ce,J){this.sources=et,Vt.start(),Ft.forEach(ve=>et.addEffects(ve)),Lt.dispatch({type:Ae})}addEffects(et){this.sources.addEffects(et)}}return xt.\u0275fac=function(et){return new(et||xt)(ce.LFG(de),ce.LFG(ie),ce.LFG(se.yh),ce.LFG(Le),ce.LFG(se.cr,8),ce.LFG(se.CK,8),ce.LFG(B,8))},xt.\u0275mod=ce.oAB({type:xt}),xt.\u0275inj=ce.cJS({}),xt})(),Ct=(()=>{class xt{constructor(et,Vt,Lt,Ft){Vt.forEach(bt=>bt.forEach(Ce=>et.addEffects(Ce)))}}return xt.\u0275fac=function(et){return new(et||xt)(ce.LFG(nt),ce.LFG(Ke),ce.LFG(se.cr,8),ce.LFG(se.CK,8))},xt.\u0275mod=ce.oAB({type:xt}),xt.\u0275inj=ce.cJS({}),xt})(),rt=(()=>{class xt{static forFeature(...et){const Vt=et.flat();return{ngModule:Ct,providers:[Vt,{provide:Ve,multi:!0,useValue:Vt},{provide:z,multi:!0,useValue:[]},{provide:Ke,multi:!0,useFactory:Xt,deps:[Ve,z]}]}}static forRoot(...et){const Vt=et.flat();return{ngModule:nt,providers:[Vt,{provide:W,useValue:[Vt]},{provide:B,useFactory:mt},{provide:z,multi:!0,useValue:[]},{provide:Le,useFactory:Xt,deps:[W,z]}]}}}return xt.\u0275fac=function(et){return new(et||xt)},xt.\u0275mod=ce.oAB({type:xt}),xt.\u0275inj=ce.cJS({}),xt})();function Xt(xt,Pe){const et=[];for(const Vt of xt)et.push(...Vt);for(const Vt of Pe)et.push(...Vt);return function gt(xt){return xt.map(Pe=>(0,ce.f3M)(Pe))}(et)}function mt(){const xt=(0,ce.f3M)(ie,{optional:!0,skipSelf:!0}),Pe=(0,ce.f3M)(W,{self:!0});if((1!==Pe.length||0!==Pe[0].length)&&xt)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(K,m){if(this.action=K,this.timestamp=m,this.type=PERFORM_ACTION,typeof K.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(K){this.timestamp=K,this.type=RESET}}class Rollback{constructor(K){this.timestamp=K,this.type=ROLLBACK}}class Commit{constructor(K){this.timestamp=K,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(K){this.id=K,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(K,m,t=!0){this.start=K,this.end=m,this.active=t,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(K){this.index=K,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(K){this.actionId=K,this.type=JUMP_TO_ACTION}}class ImportState{constructor(K){this.nextLiftedState=K,this.type=IMPORT_STATE}}class LockChanges{constructor(K){this.status=K,this.type=LOCK_CHANGES}}class PauseRecording{constructor(K){this.status=K,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(ze){const K={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 ze?ze():ze,g=Object.assign({},K,{features:m.features||!!m.logOnly&&{pause:!0,export:!0,test:!0}||K.features},m);if(g.maxAge&&g.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${g.maxAge}`);return g}function difference(ze,K){return ze.filter(m=>K.indexOf(m)<0)}function unliftState(ze){const{computedStates:K,currentStateIndex:m}=ze;if(m>=K.length){const{state:e}=K[K.length-1];return e}const{state:t}=K[m];return t}function unliftAction(ze){return ze.actionsById[ze.nextActionId-1]}function liftAction(ze){return new PerformAction(ze,+Date.now())}function sanitizeActions(ze,K){return Object.keys(K).reduce((m,t)=>{const e=Number(t);return m[e]=sanitizeAction(ze,K[e],e),m},{})}function sanitizeAction(ze,K,m){return{...K,action:ze(K.action,m)}}function sanitizeStates(ze,K){return K.map((m,t)=>({state:sanitizeState(ze,m.state,t),error:m.error}))}function sanitizeState(ze,K,m){return ze(K,m)}function shouldFilterActions(ze){return ze.predicate||ze.actionsSafelist||ze.actionsBlocklist}function filterLiftedState(ze,K,m,t){const e=[],g={},k=[];return ze.stagedActionIds.forEach((o,C)=>{const h=ze.actionsById[o];!h||C&&isActionFiltered(ze.computedStates[C],h,K,m,t)||(g[o]=h,e.push(o),k.push(ze.computedStates[C]))}),{...ze,stagedActionIds:e,actionsById:g,computedStates:k}}function isActionFiltered(ze,K,m,t,e){const g=m&&!m(ze,K.action),k=t&&!K.action.type.match(t.map(C=>escapeRegExp(C)).join("|")),o=e&&K.action.type.match(e.map(C=>escapeRegExp(C)).join("|"));return g||k||o}function escapeRegExp(ze){return ze.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let DevtoolsDispatcher=(()=>{class ze extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{}return ze.\u0275fac=function(){let K;return function(t){return(K||(K=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(ze)))(t||ze)}}(),ze.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:ze,factory:ze.\u0275fac}),ze})();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(ze,K,m){this.config=K,this.dispatcher=m,this.devtoolsExtension=ze,this.createActionStreams()}notify(ze,K){if(this.devtoolsExtension)if(ze.type===PERFORM_ACTION){if(K.isLocked||K.isPaused)return;const m=unliftState(K);if(shouldFilterActions(this.config)&&isActionFiltered(m,ze,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const t=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,m,K.currentStateIndex):m,e=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,ze,K.nextActionId):ze;this.sendToReduxDevtools(()=>this.extensionConnection.send(e,t))}else{const m={...K,stagedActionIds:K.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,K.actionsById):K.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,K.computedStates):K.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,m,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(ze=>{const K=this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=K,K.init(),K.subscribe(m=>ze.next(m)),K.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const ze=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),K=ze.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(o=>o.type===ExtensionActionTypes.START)),m=ze.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(o=>o.type===ExtensionActionTypes.STOP)),t=ze.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))),g=ze.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)),k=t.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(m));this.start$=K.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(m)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>g)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>k))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(ze){const K={name:ze.name,features:ze.features,serialize:ze.serialize,autoPause:ze.autoPause??!1,trace:ze.trace??!1,traceLimit:ze.traceLimit??75};return!1!==ze.maxAge&&(K.maxAge=ze.maxAge),K}sendToReduxDevtools(ze){try{ze()}catch(K){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",K)}}}return DevtoolsExtension.\u0275fac=function ze(K){return new(K||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(ze,K,m,t,e){if(t)return{state:m,error:"Interrupted by an error up the chain"};let k,g=m;try{g=ze(m,K)}catch(o){k=o.toString(),e.handleError(o)}return{state:g,error:k}}function recomputeStates(ze,K,m,t,e,g,k,o,C){if(K>=ze.length&&ze.length===g.length)return ze;const h=ze.slice(0,K),P=g.length-(C?1:0);for(let u=K;u<P;u++){const I=g[u],S=e[I].action,A=h[u-1],w=A?A.state:t,R=A?A.error:void 0,U=k.indexOf(I)>-1?A:computeNextEntry(m,S,w,R,o);h.push(U)}return C&&h.push(ze[ze.length-1]),h}function liftInitialState(ze,K){return{monitorState:K(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:ze,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(ze,K,m,t,e={}){return g=>(k,o)=>{let{monitorState:C,actionsById:h,nextActionId:P,stagedActionIds:u,skippedActionIds:I,committedState:S,currentStateIndex:A,computedStates:w,isLocked:R,isPaused:E}=k||K;function U(X){let $=X,fe=u.slice(1,$+1);for(let re=0;re<fe.length;re++){if(w[re+1].error){$=re,fe=u.slice(1,$+1);break}delete h[fe[re]]}I=I.filter(re=>-1===fe.indexOf(re)),u=[0,...u.slice($+1)],S=w[$].state,w=w.slice($),A=A>$?A-$:0}function Y(){h={0:liftAction(INIT_ACTION)},P=1,u=[0],I=[],S=w[A].state,A=0,w=[]}k||(h=Object.create(h));let Q=0;switch(o.type){case LOCK_CHANGES:R=o.status,Q=1/0;break;case PAUSE_RECORDING:E=o.status,E?(u=[...u,P],h[P]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),P++,Q=u.length-1,w=w.concat(w[w.length-1]),A===u.length-2&&A++,Q=1/0):Y();break;case RESET:h={0:liftAction(INIT_ACTION)},P=1,u=[0],I=[],S=ze,A=0,w=[];break;case COMMIT:Y();break;case ROLLBACK:h={0:liftAction(INIT_ACTION)},P=1,u=[0],I=[],A=0,w=[];break;case TOGGLE_ACTION:{const{id:X}=o;I=-1===I.indexOf(X)?[X,...I]:I.filter(fe=>fe!==X),Q=u.indexOf(X);break}case SET_ACTIONS_ACTIVE:{const{start:X,end:$,active:fe}=o,re=[];for(let ee=X;ee<$;ee++)re.push(ee);I=fe?difference(I,re):[...I,...re],Q=u.indexOf(X);break}case JUMP_TO_STATE:A=o.index,Q=1/0;break;case JUMP_TO_ACTION:{const X=u.indexOf(o.actionId);-1!==X&&(A=X),Q=1/0;break}case SWEEP:u=difference(u,I),I=[],A=Math.min(A,u.length-1);break;case PERFORM_ACTION:{if(R)return k||K;if(E||k&&isActionFiltered(k.computedStates[A],o,e.predicate,e.actionsSafelist,e.actionsBlocklist)){const $=w[w.length-1];w=[...w.slice(0,-1),computeNextEntry(g,o.action,$.state,$.error,m)],Q=1/0;break}e.maxAge&&u.length===e.maxAge&&U(1),A===u.length-1&&A++;const X=P++;h[X]=o,u=[...u,X],Q=u.length-1;break}case IMPORT_STATE:({monitorState:C,actionsById:h,nextActionId:P,stagedActionIds:u,skippedActionIds:I,committedState:S,currentStateIndex:A,computedStates:w,isLocked:R,isPaused:E}=o.nextLiftedState);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg:Q=0,e.maxAge&&u.length>e.maxAge&&(w=recomputeStates(w,Q,g,S,h,u,I,m,E),U(u.length-e.maxAge),Q=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(w.filter($=>$.error).length>0)Q=0,e.maxAge&&u.length>e.maxAge&&(w=recomputeStates(w,Q,g,S,h,u,I,m,E),U(u.length-e.maxAge),Q=1/0);else{if(!E&&!R){A===u.length-1&&A++;const $=P++;h[$]=new PerformAction(o,+Date.now()),u=[...u,$],Q=u.length-1,w=recomputeStates(w,Q,g,S,h,u,I,m,E)}w=w.map($=>({...$,state:g($.state,RECOMPUTE_ACTION)})),A=u.length-1,e.maxAge&&u.length>e.maxAge&&U(u.length-e.maxAge),Q=1/0}break;default:Q=1/0}return w=recomputeStates(w,Q,g,S,h,u,I,m,E),C=t(C,o),{monitorState:C,actionsById:h,nextActionId:P,stagedActionIds:u,skippedActionIds:I,committedState:S,currentStateIndex:A,computedStates:w,isLocked:R,isPaused:E}}}let StoreDevtools=(()=>{class ze{constructor(m,t,e,g,k,o,C,h){const P=liftInitialState(C,h.monitor),u=liftReducerWith(C,P,o,h.monitor,h),I=(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)),g.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),m,g.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.Q)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),S=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(u)),A=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1),w=I.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(S),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:Y},[Q,X])=>{let $=X(Y,Q);return Q.type!==PERFORM_ACTION&&shouldFilterActions(h)&&($=filterLiftedState($,h.predicate,h.actionsSafelist,h.actionsBlocklist)),g.notify(Q,$),{state:$,action:Q}},{state:P,action:null})).subscribe(({state:Y,action:Q})=>{A.next(Y),Q.type===PERFORM_ACTION&&k.next(Q.action)}),R=g.start$.subscribe(()=>{this.refresh()}),E=A.asObservable(),U=E.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));this.extensionStartSubscription=R,this.stateSubscription=w,this.dispatcher=m,this.liftedState=E,this.state=U}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 ze.\u0275fac=function(m){return new(m||ze)(_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))},ze.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:ze,factory:ze.\u0275fac}),ze})();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(ze,K){return Boolean(ze)||K.monitor!==noMonitor}function createReduxDevtoolsExtension(){const ze="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[ze]<"u"?window[ze]:null}function provideStoreDevtools(ze={}){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.MR2)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:ze},{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(ze){return ze.state}let StoreDevtoolsModule=(()=>{class ze{static instrument(m={}){return{ngModule:ze,providers:[provideStoreDevtools(m)]}}}return ze.\u0275fac=function(m){return new(m||ze)},ze.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:ze}),ze.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({}),ze})()},9653:(ze,K,m)=>{"use strict";m.d(K,{UO:()=>ce,qg:()=>ee,Y6:()=>i,mK:()=>Ze,n$:()=>te,Y$:()=>Ee,FR:()=>ie,yh:()=>Xt,CK:()=>Yr,Aw:()=>mr,cr:()=>_n,wb:()=>Ue,PH:()=>R,ZF:()=>zt,Lq:()=>Qr,P1:()=>_t,on:()=>jr,Ky:()=>E});var t=m(4650),e=m(1135),g=m(9751),k=m(7579),o=m(233),C=m(5363),h=m(1365),P=m(5026),u=m(4004),S=m(1884);const A={};function R(At,ci){if(A[At]=(A[At]||0)+1,"function"==typeof ci)return Y(At,(...Mi)=>({...ci(...Mi),type:At}));switch(ci?ci._as:"empty"){case"empty":return Y(At,()=>({type:At}));case"props":return Y(At,Mi=>({...Mi,type:At}));default:throw new Error("Unexpected config.")}}function E(){return{_as:"props",_p:void 0}}function Y(At,ci){return Object.defineProperty(ci,"type",{value:At,writable:!1})}const ee="@ngrx/store/init";let ce=(()=>{class At extends e.X{constructor(){super({type:ee})}next(li){if("function"==typeof li)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 li>"u")throw new TypeError("Actions must be objects");if(typeof li.type>"u")throw new TypeError("Actions must have a type property");super.next(li)}complete(){}ngOnDestroy(){super.complete()}}return At.\u0275fac=function(li){return new(li||At)},At.\u0275prov=t.Yz7({token:At,factory:At.\u0275fac}),At})();const se=[ce],le=new t.OlP("@ngrx/store Internal Root Guard"),L=new t.OlP("@ngrx/store Internal Initial State"),i=new t.OlP("@ngrx/store Initial State"),r=new t.OlP("@ngrx/store Reducer Factory"),d=new t.OlP("@ngrx/store Internal Reducer Factory Provider"),c=new t.OlP("@ngrx/store Initial Reducers"),b=new t.OlP("@ngrx/store Internal Initial Reducers"),T=new t.OlP("@ngrx/store Store Features"),N=new t.OlP("@ngrx/store Internal Store Reducers"),v=new t.OlP("@ngrx/store Internal Feature Reducers"),n=new t.OlP("@ngrx/store Internal Feature Configs"),y=new t.OlP("@ngrx/store Internal Store Features"),B=new t.OlP("@ngrx/store Internal Feature Reducers Token"),z=new t.OlP("@ngrx/store Feature Reducers"),W=new t.OlP("@ngrx/store User Provided Meta Reducers"),Le=new t.OlP("@ngrx/store Meta Reducers"),Ve=new t.OlP("@ngrx/store Internal Resolved Meta Reducers"),Ke=new t.OlP("@ngrx/store User Runtime Checks Config"),$e=new t.OlP("@ngrx/store Internal User Runtime Checks Config"),Ae=new t.OlP("@ngrx/store Internal Runtime Checks"),ue=new t.OlP("@ngrx/store Check if Action types are unique");function he(At,ci={}){const li=Object.keys(At),Mi={};for(let zi=0;zi<li.length;zi++){const cn=li[zi];"function"==typeof At[cn]&&(Mi[cn]=At[cn])}const Ui=Object.keys(Mi);return function(cn,Xn){cn=void 0===cn?ci:cn;let In=!1;const Kn={};for(let Tn=0;Tn<Ui.length;Tn++){const cr=Ui[Tn],nr=cn[cr],ia=(0,Mi[cr])(nr,Xn);Kn[cr]=ia,In=In||ia!==nr}return In?Kn:cn}}function De(...At){return function(ci){if(0===At.length)return ci;const li=At[At.length-1];return At.slice(0,-1).reduceRight((Ui,zi)=>zi(Ui),li(ci))}}function oe(At,ci){return Array.isArray(ci)&&ci.length>0&&(At=De.apply(null,[...ci,At])),(li,Mi)=>{const Ui=At(li);return(zi,cn)=>Ui(zi=void 0===zi?Mi:zi,cn)}}new t.OlP("@ngrx/store Root Store Provider"),new t.OlP("@ngrx/store Feature State Provider");class te extends g.y{}class Ze extends ce{}const Ue="@ngrx/store/update-reducers";let q=(()=>{class At extends e.X{constructor(li,Mi,Ui,zi){super(zi(Ui,Mi)),this.dispatcher=li,this.initialState=Mi,this.reducers=Ui,this.reducerFactory=zi}get currentReducers(){return this.reducers}addFeature(li){this.addFeatures([li])}addFeatures(li){const Mi=li.reduce((Ui,{reducers:zi,reducerFactory:cn,metaReducers:Xn,initialState:In,key:Kn})=>{const Tn="function"==typeof zi?function me(At){const ci=Array.isArray(At)&&At.length>0?De(...At):li=>li;return(li,Mi)=>(li=ci(li),(Ui,zi)=>li(Ui=void 0===Ui?Mi:Ui,zi))}(Xn)(zi,In):oe(cn,Xn)(zi,In);return Ui[Kn]=Tn,Ui},{});this.addReducers(Mi)}removeFeature(li){this.removeFeatures([li])}removeFeatures(li){this.removeReducers(li.map(Mi=>Mi.key))}addReducer(li,Mi){this.addReducers({[li]:Mi})}addReducers(li){this.reducers={...this.reducers,...li},this.updateReducers(Object.keys(li))}removeReducer(li){this.removeReducers([li])}removeReducers(li){li.forEach(Mi=>{this.reducers=function it(At,ci){return Object.keys(At).filter(li=>li!==ci).reduce((li,Mi)=>Object.assign(li,{[Mi]:At[Mi]}),{})}(this.reducers,Mi)}),this.updateReducers(li)}updateReducers(li){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Ue,features:li})}ngOnDestroy(){this.complete()}}return At.\u0275fac=function(li){return new(li||At)(t.LFG(Ze),t.LFG(i),t.LFG(c),t.LFG(r))},At.\u0275prov=t.Yz7({token:At,factory:At.\u0275fac}),At})();const de=[q,{provide:te,useExisting:q},{provide:Ze,useExisting:ce}];let Ee=(()=>{class At extends k.x{ngOnDestroy(){this.complete()}}return At.\u0275fac=function(){let ci;return function(Mi){return(ci||(ci=t.n5z(At)))(Mi||At)}}(),At.\u0275prov=t.Yz7({token:At,factory:At.\u0275fac}),At})();const ke=[Ee];class ie extends g.y{}let nt=(()=>{class At extends e.X{constructor(li,Mi,Ui,zi){super(zi);const Kn=li.pipe((0,C.Q)(o.N)).pipe((0,h.M)(Mi)).pipe((0,P.R)(Ct,{state:zi}));this.stateSubscription=Kn.subscribe(({state:Tn,action:cr})=>{this.next(Tn),Ui.next(cr)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return At.INIT=ee,At.\u0275fac=function(li){return new(li||At)(t.LFG(ce),t.LFG(te),t.LFG(Ee),t.LFG(i))},At.\u0275prov=t.Yz7({token:At,factory:At.\u0275fac}),At})();function Ct(At={state:void 0},[ci,li]){const{state:Mi}=At;return{state:li(Mi,ci),action:ci}}const rt=[nt,{provide:ie,useExisting:nt}];let Xt=(()=>{class At extends g.y{constructor(li,Mi,Ui){super(),this.actionsObserver=Mi,this.reducerManager=Ui,this.source=li}select(li,...Mi){return mt.call(null,li,...Mi)(this)}lift(li){const Mi=new At(this,this.actionsObserver,this.reducerManager);return Mi.operator=li,Mi}dispatch(li){this.actionsObserver.next(li)}next(li){this.actionsObserver.next(li)}error(li){this.actionsObserver.error(li)}complete(){this.actionsObserver.complete()}addReducer(li,Mi){this.reducerManager.addReducer(li,Mi)}removeReducer(li){this.reducerManager.removeReducer(li)}}return At.\u0275fac=function(li){return new(li||At)(t.LFG(ie),t.LFG(ce),t.LFG(q))},At.\u0275prov=t.Yz7({token:At,factory:At.\u0275fac}),At})();const gt=[Xt];function mt(At,ci,...li){return function(Ui){let zi;if("string"==typeof At){const cn=[ci,...li].filter(Boolean);zi=Ui.pipe(function I(...At){const ci=At.length;if(0===ci)throw new Error("list of properties cannot be empty.");return(0,u.U)(li=>{let Mi=li;for(let Ui=0;Ui<ci;Ui++){const zi=Mi?.[At[Ui]];if(!(typeof zi<"u"))return;Mi=zi}return Mi})}(At,...cn))}else{if("function"!=typeof At)throw new TypeError(`Unexpected type '${typeof At}' in select operator, expected 'string' or 'function'`);zi=Ui.pipe((0,u.U)(cn=>At(cn,ci)))}return zi.pipe((0,S.x)())}}const St="https://ngrx.io/guide/store/configuration/runtime-checks";function Ie(At){return void 0===At}function He(At){return null===At}function xt(At){return Array.isArray(At)}function Lt(At){return"object"==typeof At&&null!==At}function Ce(At){return"function"==typeof At}function Ut(At,ci){return At===ci}function ti(At,ci,li){for(let Mi=0;Mi<At.length;Mi++)if(!li(At[Mi],ci[Mi]))return!0;return!1}function at(At,ci=Ut,li=Ut){let zi,Mi=null,Ui=null;return{memoized:function Kn(){if(void 0!==zi)return zi.result;if(!Mi)return Ui=At.apply(null,arguments),Mi=arguments,Ui;if(!ti(arguments,Mi,ci))return Ui;const Tn=At.apply(null,arguments);return Mi=arguments,li(Ui,Tn)?Ui:(Ui=Tn,Tn)},reset:function cn(){Mi=null,Ui=null},setResult:function Xn(Tn){zi={result:Tn}},clearResult:function In(){zi=void 0}}}function _t(...At){return function Bt(At,ci={stateFn:ai}){return function(...li){let Mi=li;if(Array.isArray(Mi[0])){const[Tn,...cr]=Mi;Mi=[...Tn,...cr]}const Ui=Mi.slice(0,Mi.length-1),zi=Mi[Mi.length-1],cn=Ui.filter(Tn=>Tn.release&&"function"==typeof Tn.release),Xn=At(function(...Tn){return zi.apply(null,Tn)}),In=at(function(Tn,cr){return ci.stateFn.apply(null,[Tn,Ui,cr,Xn])});return Object.assign(In.memoized,{release:function Kn(){In.reset(),Xn.reset(),cn.forEach(Tn=>Tn.release())},projector:Xn.memoized,setResult:In.setResult,clearResult:In.clearResult})}}(at)(...At)}function ai(At,ci,li,Mi){if(void 0===li){const zi=ci.map(cn=>cn(At));return Mi.memoized.apply(null,zi)}const Ui=ci.map(zi=>zi(At,li));return Mi.memoized.apply(null,[...Ui,li])}function zt(At){return _t(ci=>{const li=ci[At];return(0,t.X6Q)()&&!(At in ci)&&console.warn(`@ngrx/store: The feature name "${At}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${At}', ...) or StoreModule.forFeature('${At}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),li},ci=>ci)}function Ye(At){return At instanceof t.OlP?(0,t.f3M)(At):At}function qe(At,ci){return ci.map((li,Mi)=>{if(At[Mi]instanceof t.OlP){const Ui=(0,t.f3M)(At[Mi]);return{key:li.key,reducerFactory:Ui.reducerFactory?Ui.reducerFactory:he,metaReducers:Ui.metaReducers?Ui.metaReducers:[],initialState:Ui.initialState}}return li})}function Tt(At){return At.map(ci=>ci instanceof t.OlP?(0,t.f3M)(ci):ci)}function mi(At){return"function"==typeof At?At():At}function Ti(At,ci){return At.concat(ci)}function xi(){if((0,t.f3M)(Xt,{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 Je(At){Object.freeze(At);const ci=Ce(At);return Object.getOwnPropertyNames(At).forEach(li=>{if(!li.startsWith("\u0275")&&function ve(At,ci){return Object.prototype.hasOwnProperty.call(At,ci)}(At,li)&&(!ci||"caller"!==li&&"callee"!==li&&"arguments"!==li)){const Mi=At[li];(Lt(Mi)||Ce(Mi))&&!Object.isFrozen(Mi)&&Je(Mi)}}),At}function be(At,ci=[]){return(Ie(At)||He(At))&&0===ci.length?{path:["root"],value:At}:Object.keys(At).reduce((Mi,Ui)=>{if(Mi)return Mi;const zi=At[Ui];return function J(At){return Ce(At)&&At.hasOwnProperty("\u0275cmp")}(zi)?Mi:!(Ie(zi)||He(zi)||function Vt(At){return"number"==typeof At}(zi)||function et(At){return"boolean"==typeof At}(zi)||function Pe(At){return"string"==typeof At}(zi)||xt(zi))&&(function bt(At){if(!function Ft(At){return Lt(At)&&!xt(At)}(At))return!1;const ci=Object.getPrototypeOf(At);return ci===Object.prototype||null===ci}(zi)?be(zi,[...ci,Ui]):{path:[...ci,Ui],value:zi})},!1)}function Pt(At,ci){if(!1===At)return;const li=At.path.join("."),Mi=new Error(`Detected unserializable ${ci} at "${li}". ${St}#strict${ci}serializability`);throw Mi.value=At.value,Mi.unserializablePath=li,Mi}function gi(At){return(0,t.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...At}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Si({strictActionSerializability:At,strictStateSerializability:ci}){return li=>At||ci?function wt(At,ci){return function(li,Mi){ci.action(Mi)&&Pt(be(Mi),"action");const Ui=At(li,Mi);return ci.state()&&Pt(be(Ui),"state"),Ui}}(li,{action:Mi=>At&&!Gi(Mi),state:()=>ci}):li}function ki({strictActionImmutability:At,strictStateImmutability:ci}){return li=>At||ci?function Fi(At,ci){return function(li,Mi){const Ui=ci.action(Mi)?Je(Mi):Mi,zi=At(li,Ui);return ci.state()?Je(zi):zi}}(li,{action:Mi=>At&&!Gi(Mi),state:()=>ci}):li}function Gi(At){return At.type.startsWith("@ngrx")}function Gt({strictActionWithinNgZone:At}){return ci=>At?function qt(At,ci){return function(li,Mi){if(ci.action(Mi)&&!t.R0b.isInAngularZone())throw new Error(`Action '${Mi.type}' running outside NgZone. ${St}#strictactionwithinngzone`);return At(li,Mi)}}(ci,{action:li=>At&&!Gi(li)}):ci}function di(At){return[{provide:$e,useValue:At},{provide:Ke,useFactory:Xe,deps:[$e]},{provide:Ae,deps:[Ke],useFactory:gi},{provide:Le,multi:!0,deps:[Ae],useFactory:ki},{provide:Le,multi:!0,deps:[Ae],useFactory:Si},{provide:Le,multi:!0,deps:[Ae],useFactory:Gt}]}function ge(){return[{provide:ue,multi:!0,deps:[Ae],useFactory:Et}]}function Xe(At){return At}function Et(At){if(!At.strictActionTypeUniqueness)return;const ci=Object.entries(A).filter(([,li])=>li>1).map(([li])=>li);if(ci.length)throw new Error(`Action types are registered more than once, ${ci.map(li=>`"${li}"`).join(", ")}. ${St}#strictactiontypeuniqueness`)}function Wt(At={},ci={}){return[{provide:le,useFactory:xi},{provide:L,useValue:ci.initialState},{provide:i,useFactory:mi,deps:[L]},{provide:b,useValue:At},{provide:N,useExisting:At instanceof t.OlP?At:b},{provide:c,deps:[b,[new t.tBr(N)]],useFactory:Ye},{provide:W,useValue:ci.metaReducers?ci.metaReducers:[]},{provide:Ve,deps:[Le,W],useFactory:Ti},{provide:d,useValue:ci.reducerFactory?ci.reducerFactory:he},{provide:r,deps:[d,Ve],useFactory:oe},se,de,ke,rt,gt,di(ci.runtimeChecks),ge()]}function or(At,ci,li={}){return[{provide:n,multi:!0,useValue:At instanceof Object?{}:li},{provide:T,multi:!0,useValue:{key:At instanceof Object?At.name:At,reducerFactory:li instanceof t.OlP||!li.reducerFactory?he:li.reducerFactory,metaReducers:li instanceof t.OlP||!li.metaReducers?[]:li.metaReducers,initialState:li instanceof t.OlP||!li.initialState?void 0:li.initialState}},{provide:y,deps:[n,T],useFactory:qe},{provide:v,multi:!0,useValue:At instanceof Object?At.reducer:ci},{provide:B,multi:!0,useExisting:ci instanceof t.OlP?ci:v},{provide:z,multi:!0,deps:[v,[new t.tBr(B)]],useFactory:Tt},ge()]}let _n=(()=>{class At{constructor(li,Mi,Ui,zi,cn,Xn){}}return At.\u0275fac=function(li){return new(li||At)(t.LFG(ce),t.LFG(te),t.LFG(Ee),t.LFG(Xt),t.LFG(le,8),t.LFG(ue,8))},At.\u0275mod=t.oAB({type:At}),At.\u0275inj=t.cJS({}),At})(),Yr=(()=>{class At{constructor(li,Mi,Ui,zi,cn){this.features=li,this.featureReducers=Mi,this.reducerManager=Ui;const Xn=li.map((In,Kn)=>{const cr=Mi.shift()[Kn];return{...In,reducers:cr,initialState:mi(In.initialState)}});Ui.addFeatures(Xn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return At.\u0275fac=function(li){return new(li||At)(t.LFG(y),t.LFG(z),t.LFG(q),t.LFG(_n),t.LFG(ue,8))},At.\u0275mod=t.oAB({type:At}),At.\u0275inj=t.cJS({}),At})(),mr=(()=>{class At{static forRoot(li,Mi){return{ngModule:_n,providers:[...Wt(li,Mi)]}}static forFeature(li,Mi,Ui={}){return{ngModule:Yr,providers:[...or(li,Mi,Ui)]}}}return At.\u0275fac=function(li){return new(li||At)},At.\u0275mod=t.oAB({type:At}),At.\u0275inj=t.cJS({}),At})();function jr(...At){return{reducer:At.pop(),types:At.map(Mi=>Mi.type)}}function Qr(At,...ci){const li=new Map;for(const Mi of ci)for(const Ui of Mi.types){const zi=li.get(Ui);li.set(Ui,zi?(Xn,In)=>Mi.reducer(zi(Xn,In),In):Mi.reducer)}return function(Mi=At,Ui){const zi=li.get(Ui.type);return zi?zi(Mi,Ui):Mi}}},2213:(ze,K,m)=>{"use strict";m.d(K,{H5:()=>mf,K$:()=>Q3,a4:()=>Pf});var t=m(4650),e=m(6895),g=m(655),k=m(4080),o=m(4968),C=m(8372),h=m(7340);function P(){}function u(f){return null==f?P:function(){return this.querySelector(f)}}function S(f){return"object"==typeof f&&"length"in f?f:Array.from(f)}function A(){return[]}function w(f){return null==f?A:function(){return this.querySelectorAll(f)}}function U(f){return function(){return this.matches(f)}}function Y(f){return function(O){return O.matches(f)}}var Q=Array.prototype.find;function $(){return this.firstElementChild}var re=Array.prototype.filter;function ee(){return this.children}function L(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 d(f){return function(){return f}}function c(f,O,a,x,V,j){for(var ct,Se=0,Qt=O.length,Kt=j.length;Se<Kt;++Se)(ct=O[Se])?(ct.__data__=j[Se],x[Se]=ct):a[Se]=new r(f,j[Se]);for(;Se<Qt;++Se)(ct=O[Se])&&(V[Se]=ct)}function b(f,O,a,x,V,j,Se){var ct,Qt,Ai,Kt=new Map,ui=O.length,bi=j.length,wi=new Array(ui);for(ct=0;ct<ui;++ct)(Qt=O[ct])&&(wi[ct]=Ai=Se.call(Qt,Qt.__data__,ct,O)+"",Kt.has(Ai)?V[ct]=Qt:Kt.set(Ai,Qt));for(ct=0;ct<bi;++ct)Ai=Se.call(f,j[ct],ct,j)+"",(Qt=Kt.get(Ai))?(x[ct]=Qt,Qt.__data__=j[ct],Kt.delete(Ai)):a[ct]=new r(f,j[ct]);for(ct=0;ct<ui;++ct)(Qt=O[ct])&&Kt.get(wi[ct])===Qt&&(V[ct]=Qt)}function T(f){return f.__data__}function W(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 ye="http://www.w3.org/1999/xhtml";const we={svg:"http://www.w3.org/2000/svg",xhtml:ye,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function he(f){var O=f+="",a=O.indexOf(":");return a>=0&&"xmlns"!==(O=f.slice(0,a))&&(f=f.slice(a+1)),we.hasOwnProperty(O)?{space:we[O],local:f}:f}function it(f){return function(){this.removeAttribute(f)}}function De(f){return function(){this.removeAttributeNS(f.space,f.local)}}function oe(f,O){return function(){this.setAttribute(f,O)}}function me(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 Ze(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 Ee(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 Ct(f){return function(){delete this[f]}}function rt(f,O){return function(){this[f]=O}}function Xt(f,O){return function(){var a=O.apply(this,arguments);null==a?delete this[f]:this[f]=a}}function mt(f){return f.trim().split(/^|\s+/)}function St(f){return f.classList||new Ie(f)}function Ie(f){this._node=f,this._names=mt(f.getAttribute("class")||"")}function He(f,O){for(var a=St(f),x=-1,V=O.length;++x<V;)a.add(O[x])}function xt(f,O){for(var a=St(f),x=-1,V=O.length;++x<V;)a.remove(O[x])}function Pe(f){return function(){He(this,f)}}function et(f){return function(){xt(this,f)}}function Vt(f,O){return function(){(O.apply(this,arguments)?He:xt)(this,f)}}function Ft(){this.textContent=""}function bt(f){return function(){this.textContent=f}}function Ce(f){return function(){var O=f.apply(this,arguments);this.textContent=O??""}}function ve(){this.innerHTML=""}function Ne(f){return function(){this.innerHTML=f}}function st(f){return function(){var O=f.apply(this,arguments);this.innerHTML=O??""}}function Ut(){this.nextSibling&&this.parentNode.appendChild(this)}function dt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function _t(f){return function(){var O=this.ownerDocument,a=this.namespaceURI;return a===ye&&O.documentElement.namespaceURI===ye?O.createElement(f):O.createElementNS(a,f)}}function ai(f){return function(){return this.ownerDocument.createElementNS(f.space,f.local)}}function Bt(f){var O=he(f);return(O.local?ai:_t)(O)}function Nt(){return null}function Fe(){var f=this.parentNode;f&&f.removeChild(this)}function qe(){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 Fi(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 Je(f){return function(){var O=this.__on;if(O){for(var j,a=0,x=-1,V=O.length;a<V;++a)j=O[a],f.type&&j.type!==f.type||j.name!==f.name?O[++x]=j:this.removeEventListener(j.type,j.listener,j.options);++x?O.length=x:delete this.__on}}}function wt(f,O,a){return function(){var V,x=this.__on,j=function xi(f){return function(O){f.call(this,O,this.__data__)}}(O);if(x)for(var Se=0,ct=x.length;Se<ct;++Se)if((V=x[Se]).type===f.type&&V.name===f.name)return this.removeEventListener(V.type,V.listener,V.options),this.addEventListener(V.type,V.listener=j,V.options=a),void(V.value=O);this.addEventListener(f.type,j,a),V={type:f.type,name:f.name,value:O,listener:j,options:a},x?x.push(V):this.__on=[V]}}function Pt(f,O,a){var x=q(f),V=x.CustomEvent;"function"==typeof V?V=new V(O,a):(V=x.document.createEvent("Event"),a?(V.initEvent(O,a.bubbles,a.cancelable),V.detail=a.detail):V.initEvent(O,!1,!1)),f.dispatchEvent(V)}function qt(f,O){return function(){return Pt(this,f,O)}}function gi(f,O){return function(){return Pt(this,f,O.apply(this,arguments))}}Ie.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 Gi=[null];function Gt(f,O){this._groups=f,this._parents=O}function di(){return new Gt([[document.documentElement]],Gi)}Gt.prototype=di.prototype={constructor:Gt,select:function I(f){"function"!=typeof f&&(f=u(f));for(var O=this._groups,a=O.length,x=new Array(a),V=0;V<a;++V)for(var Qt,Kt,j=O[V],Se=j.length,ct=x[V]=new Array(Se),ui=0;ui<Se;++ui)(Qt=j[ui])&&(Kt=f.call(Qt,Qt.__data__,ui,j))&&("__data__"in Qt&&(Kt.__data__=Qt.__data__),ct[ui]=Kt);return new Gt(x,this._parents)},selectAll:function E(f){f="function"==typeof f?function R(f){return function(){var O=f.apply(this,arguments);return null==O?[]:S(O)}}(f):w(f);for(var O=this._groups,a=O.length,x=[],V=[],j=0;j<a;++j)for(var Qt,Se=O[j],ct=Se.length,Kt=0;Kt<ct;++Kt)(Qt=Se[Kt])&&(x.push(f.call(Qt,Qt.__data__,Kt,Se)),V.push(Qt));return new Gt(x,V)},selectChild:function fe(f){return this.select(null==f?$:function X(f){return function(){return Q.call(this.children,f)}}("function"==typeof f?f:Y(f)))},selectChildren:function se(f){return this.selectAll(null==f?ee:function ce(f){return function(){return re.call(this.children,f)}}("function"==typeof f?f:Y(f)))},filter:function le(f){"function"!=typeof f&&(f=U(f));for(var O=this._groups,a=O.length,x=new Array(a),V=0;V<a;++V)for(var Qt,j=O[V],Se=j.length,ct=x[V]=[],Kt=0;Kt<Se;++Kt)(Qt=j[Kt])&&f.call(Qt,Qt.__data__,Kt,j)&&ct.push(Qt);return new Gt(x,this._parents)},data:function N(f,O){if(!arguments.length)return Array.from(this,T);var a=O?b:c,x=this._parents,V=this._groups;"function"!=typeof f&&(f=d(f));for(var j=V.length,Se=new Array(j),ct=new Array(j),Qt=new Array(j),Kt=0;Kt<j;++Kt){var ui=x[Kt],bi=V[Kt],wi=bi.length,Ai=S(f.call(ui,ui&&ui.__data__,Kt,x)),an=Ai.length,vn=ct[Kt]=new Array(an),Li=Se[Kt]=new Array(an),fn=Qt[Kt]=new Array(wi);a(ui,bi,vn,Li,fn,Ai,O);for(var Un,Hn,bn=0,pn=0;bn<an;++bn)if(Un=vn[bn]){for(bn>=pn&&(pn=bn+1);!(Hn=Li[pn])&&++pn<an;);Un._next=Hn||null}}return(Se=new Gt(Se,x))._enter=ct,Se._exit=Qt,Se},enter:function i(){return new Gt(this._enter||this._groups.map(L),this._parents)},exit:function v(){return new Gt(this._exit||this._groups.map(L),this._parents)},join:function n(f,O,a){var x=this.enter(),V=this,j=this.exit();return x="function"==typeof f?f(x):x.append(f+""),null!=O&&(V=O(V)),null==a?j.remove():a(j),x&&V?x.merge(V).order():V},merge:function y(f){if(!(f instanceof Gt))throw new Error("invalid merge");for(var O=this._groups,a=f._groups,x=O.length,j=Math.min(x,a.length),Se=new Array(x),ct=0;ct<j;++ct)for(var wi,Qt=O[ct],Kt=a[ct],ui=Qt.length,bi=Se[ct]=new Array(ui),Ai=0;Ai<ui;++Ai)(wi=Qt[Ai]||Kt[Ai])&&(bi[Ai]=wi);for(;ct<x;++ct)Se[ct]=O[ct];return new Gt(Se,this._parents)},selection:function ge(){return this},order:function B(){for(var f=this._groups,O=-1,a=f.length;++O<a;)for(var Se,x=f[O],V=x.length-1,j=x[V];--V>=0;)(Se=x[V])&&(j&&4^Se.compareDocumentPosition(j)&&j.parentNode.insertBefore(Se,j),j=Se);return this},sort:function z(f){function O(bi,wi){return bi&&wi?f(bi.__data__,wi.__data__):!bi-!wi}f||(f=W);for(var a=this._groups,x=a.length,V=new Array(x),j=0;j<x;++j){for(var Kt,Se=a[j],ct=Se.length,Qt=V[j]=new Array(ct),ui=0;ui<ct;++ui)(Kt=Se[ui])&&(Qt[ui]=Kt);Qt.sort(O)}return new Gt(V,this._parents).order()},call:function Le(){var f=arguments[0];return arguments[0]=this,f.apply(null,arguments),this},nodes:function Ve(){return Array.from(this)},node:function Ke(){for(var f=this._groups,O=0,a=f.length;O<a;++O)for(var x=f[O],V=0,j=x.length;V<j;++V){var Se=x[V];if(Se)return Se}return null},size:function $e(){let f=0;for(const O of this)++f;return f},empty:function Ae(){return!this.node()},each:function ue(f){for(var O=this._groups,a=0,x=O.length;a<x;++a)for(var ct,V=O[a],j=0,Se=V.length;j<Se;++j)(ct=V[j])&&f.call(ct,ct.__data__,j,V);return this},attr:function Ue(f,O){var a=he(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?De:it:"function"==typeof O?a.local?Ze:te:a.local?me:oe)(a,O))},style:function ie(f,O,a){return arguments.length>1?this.each((null==O?de:"function"==typeof O?ke:Ee)(f,O,a??"")):nt(this.node(),f)},property:function gt(f,O){return arguments.length>1?this.each((null==O?Ct:"function"==typeof O?Xt:rt)(f,O)):this.node()[f]},classed:function Lt(f,O){var a=mt(f+"");if(arguments.length<2){for(var x=St(this.node()),V=-1,j=a.length;++V<j;)if(!x.contains(a[V]))return!1;return!0}return this.each(("function"==typeof O?Vt:O?Pe:et)(a,O))},text:function J(f){return arguments.length?this.each(null==f?Ft:("function"==typeof f?Ce:bt)(f)):this.node().textContent},html:function ni(f){return arguments.length?this.each(null==f?ve:("function"==typeof f?st:Ne)(f)):this.node().innerHTML},raise:function ti(){return this.each(Ut)},lower:function at(){return this.each(dt)},append:function zt(f){var O="function"==typeof f?f:Bt(f);return this.select(function(){return this.appendChild(O.apply(this,arguments))})},insert:function je(f,O){var a="function"==typeof f?f:Bt(f),x=null==O?Nt:"function"==typeof O?O:u(O);return this.select(function(){return this.insertBefore(a.apply(this,arguments),x.apply(this,arguments)||null)})},remove:function Ye(){return this.each(Fe)},clone:function mi(f){return this.select(f?Tt:qe)},datum:function Ti(f){return arguments.length?this.property("__data__",f):this.node().__data__},on:function be(f,O,a){var V,Se,x=Fi(f+""),j=x.length;if(!(arguments.length<2)){for(ct=O?wt:Je,V=0;V<j;++V)this.each(ct(x[V],O,a));return this}var ct=this.node().__on;if(ct)for(var ui,Qt=0,Kt=ct.length;Qt<Kt;++Qt)for(V=0,ui=ct[Qt];V<j;++V)if((Se=x[V]).type===ui.type&&Se.name===ui.name)return ui.value},dispatch:function Si(f,O){return this.each(("function"==typeof O?gi:qt)(f,O))},[Symbol.iterator]:function*ki(){for(var f=this._groups,O=0,a=f.length;O<a;++O)for(var Se,x=f[O],V=0,j=x.length;V<j;++V)(Se=x[V])&&(yield Se)}};const Xe=di;var jt={value:()=>{}};function Wt(){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 si(a)}function si(f){this._=f}function Yt(f,O){return f.trim().split(/^|\s+/).map(function(a){var x="",V=a.indexOf(".");if(V>=0&&(x=a.slice(V+1),a=a.slice(0,V)),a&&!O.hasOwnProperty(a))throw new Error("unknown type: "+a);return{type:a,name:x}})}function Bi(f,O){for(var V,a=0,x=f.length;a<x;++a)if((V=f[a]).name===O)return V.value}function Qi(f,O,a){for(var x=0,V=f.length;x<V;++x)if(f[x].name===O){f[x]=jt,f=f.slice(0,x).concat(f.slice(x+1));break}return null!=a&&f.push({name:O,value:a}),f}si.prototype=Wt.prototype={constructor:si,on:function(f,O){var V,a=this._,x=Yt(f+"",a),j=-1,Se=x.length;if(!(arguments.length<2)){if(null!=O&&"function"!=typeof O)throw new Error("invalid callback: "+O);for(;++j<Se;)if(V=(f=x[j]).type)a[V]=Qi(a[V],f.name,O);else if(null==O)for(V in a)a[V]=Qi(a[V],f.name,null);return this}for(;++j<Se;)if((V=(f=x[j]).type)&&(V=Bi(a[V],f.name)))return V},copy:function(){var f={},O=this._;for(var a in O)f[a]=O[a].slice();return new si(f)},call:function(f,O){if((V=arguments.length-2)>0)for(var V,j,a=new Array(V),x=0;x<V;++x)a[x]=arguments[x+2];if(!this._.hasOwnProperty(f))throw new Error("unknown type: "+f);for(x=0,V=(j=this._[f]).length;x<V;++x)j[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],V=0,j=x.length;V<j;++V)x[V].value.apply(O,a)}};const yn=Wt;function jr(f,O,a){f.prototype=O.prototype=a,a.constructor=f}function Qr(f,O){var a=Object.create(f.prototype);for(var x in O)a[x]=O[x];return a}function At(){}var li=1/.7,Mi="\\s*([+-]?\\d+)\\s*",Ui="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",zi="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",cn=/^#([0-9a-f]{3,8})$/,Xn=new RegExp("^rgb\\("+[Mi,Mi,Mi]+"\\)$"),In=new RegExp("^rgb\\("+[zi,zi,zi]+"\\)$"),Kn=new RegExp("^rgba\\("+[Mi,Mi,Mi,Ui]+"\\)$"),Tn=new RegExp("^rgba\\("+[zi,zi,zi,Ui]+"\\)$"),cr=new RegExp("^hsl\\("+[Ui,zi,zi]+"\\)$"),Hr=new RegExp("^hsla\\("+[Ui,zi,zi,Ui]+"\\)$"),nr={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 ia(){return this.rgb().formatHex()}function br(){return this.rgb().formatRgb()}function Ma(f){var O,a;return f=(f+"").trim().toLowerCase(),(O=cn.exec(f))?(a=O[1].length,O=parseInt(O[1],16),6===a?Sa(O):3===a?new yr(O>>8&15|O>>4&240,O>>4&15|240&O,(15&O)<<4|15&O,1):8===a?Kr(O>>24&255,O>>16&255,O>>8&255,(255&O)/255):4===a?Kr(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=Xn.exec(f))?new yr(O[1],O[2],O[3],1):(O=In.exec(f))?new yr(255*O[1]/100,255*O[2]/100,255*O[3]/100,1):(O=Kn.exec(f))?Kr(O[1],O[2],O[3],O[4]):(O=Tn.exec(f))?Kr(255*O[1]/100,255*O[2]/100,255*O[3]/100,O[4]):(O=cr.exec(f))?zs(O[1],O[2]/100,O[3]/100,1):(O=Hr.exec(f))?zs(O[1],O[2]/100,O[3]/100,O[4]):nr.hasOwnProperty(f)?Sa(nr[f]):"transparent"===f?new yr(NaN,NaN,NaN,0):null}function Sa(f){return new yr(f>>16&255,f>>8&255,255&f,1)}function Kr(f,O,a,x){return x<=0&&(f=O=a=NaN),new yr(f,O,a,x)}function tr(f){return f instanceof At||(f=Ma(f)),f?new yr((f=f.rgb()).r,f.g,f.b,f.opacity):new yr}function Fr(f,O,a,x){return 1===arguments.length?tr(f):new yr(f,O,a,x??1)}function yr(f,O,a,x){this.r=+f,this.g=+O,this.b=+a,this.opacity=+x}function Fs(){return"#"+hs(this.r)+hs(this.g)+hs(this.b)}function na(){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 hs(f){return((f=Math.max(0,Math.min(255,Math.round(f)||0)))<16?"0":"")+f.toString(16)}function zs(f,O,a,x){return x<=0?f=O=a=NaN:a<=0||a>=1?f=O=NaN:O<=0&&(f=NaN),new Ar(f,O,a,x)}function Tr(f){if(f instanceof Ar)return new Ar(f.h,f.s,f.l,f.opacity);if(f instanceof At||(f=Ma(f)),!f)return new Ar;if(f instanceof Ar)return f;var O=(f=f.rgb()).r/255,a=f.g/255,x=f.b/255,V=Math.min(O,a,x),j=Math.max(O,a,x),Se=NaN,ct=j-V,Qt=(j+V)/2;return ct?(Se=O===j?(a-x)/ct+6*(a<x):a===j?(x-O)/ct+2:(O-a)/ct+4,ct/=Qt<.5?j+V:2-j-V,Se*=60):ct=Qt>0&&Qt<1?0:Se,new Ar(Se,ct,Qt,f.opacity)}function Ar(f,O,a,x){this.h=+f,this.s=+O,this.l=+a,this.opacity=+x}function us(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 fs(f,O,a,x,V){var j=f*f,Se=j*f;return((1-3*f+3*j-Se)*O+(4-6*j+3*Se)*a+(1+3*f+3*j-3*Se)*x+Se*V)/6}jr(At,Ma,{copy:function(f){return Object.assign(new this.constructor,this,f)},displayable:function(){return this.rgb().displayable()},hex:ia,formatHex:ia,formatHsl:function rr(){return Tr(this).formatHsl()},formatRgb:br,toString:br}),jr(yr,Fr,Qr(At,{brighter:function(f){return f=null==f?li:Math.pow(li,f),new yr(this.r*f,this.g*f,this.b*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new yr(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:Fs,formatHex:Fs,formatRgb:na,toString:na})),jr(Ar,function qs(f,O,a,x){return 1===arguments.length?Tr(f):new Ar(f,O,a,x??1)},Qr(At,{brighter:function(f){return f=null==f?li:Math.pow(li,f),new Ar(this.h,this.s,this.l*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new Ar(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,V=2*a-x;return new yr(us(f>=240?f-240:f+120,V,x),us(f,V,x),us(f<120?f+240:f-120,V,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 ha=f=>()=>f;function Da(f,O){var a=O-f;return a?function es(f,O){return function(a){return f+a*O}}(f,a):ha(isNaN(f)?O:f)}const ps=function f(O){var a=function Wa(f){return 1==(f=+f)?Da:function(O,a){return a-O?function ms(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):ha(isNaN(O)?a:O)}}(O);function x(V,j){var Se=a((V=Fr(V)).r,(j=Fr(j)).r),ct=a(V.g,j.g),Qt=a(V.b,j.b),Kt=Da(V.opacity,j.opacity);return function(ui){return V.r=Se(ui),V.g=ct(ui),V.b=Qt(ui),V.opacity=Kt(ui),V+""}}return x.gamma=f,x}(1);function dr(f){return function(O){var Se,ct,a=O.length,x=new Array(a),V=new Array(a),j=new Array(a);for(Se=0;Se<a;++Se)ct=Fr(O[Se]),x[Se]=ct.r||0,V[Se]=ct.g||0,j[Se]=ct.b||0;return x=f(x),V=f(V),j=f(j),ct.opacity=1,function(Qt){return ct.r=x(Qt),ct.g=V(Qt),ct.b=j(Qt),ct+""}}}function Ea(f,O){var Se,a=O?O.length:0,x=f?Math.min(a,f.length):0,V=new Array(x),j=new Array(a);for(Se=0;Se<x;++Se)V[Se]=Wn(f[Se],O[Se]);for(;Se<a;++Se)j[Se]=O[Se];return function(ct){for(Se=0;Se<x;++Se)j[Se]=V[Se](ct);return j}}function ts(f,O){var a=new Date;return f=+f,O=+O,function(x){return a.setTime(f*(1-x)+O*x),a}}function zr(f,O){return f=+f,O=+O,function(a){return f*(1-a)+O*a}}function ka(f,O){var V,a={},x={};for(V in(null===f||"object"!=typeof f)&&(f={}),(null===O||"object"!=typeof O)&&(O={}),O)V in f?a[V]=Wn(f[V],O[V]):x[V]=O[V];return function(j){for(V in a)x[V]=a[V](j);return x}}dr(function Js(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),V=f[x],j=f[x+1];return fs((a-x/O)*O,x>0?f[x-1]:2*V-j,V,j,x<O-1?f[x+2]:2*j-V)}}),dr(function $a(f){var O=f.length;return function(a){var x=Math.floor(((a%=1)<0?++a:a)*O);return fs((a-x/O)*O,f[(x+O-1)%O],f[x%O],f[(x+1)%O],f[(x+2)%O])}});var xr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,qr=new RegExp(xr.source,"g");function hr(f,O){var x,V,j,a=xr.lastIndex=qr.lastIndex=0,Se=-1,ct=[],Qt=[];for(f+="",O+="";(x=xr.exec(f))&&(V=qr.exec(O));)(j=V.index)>a&&(j=O.slice(a,j),ct[Se]?ct[Se]+=j:ct[++Se]=j),(x=x[0])===(V=V[0])?ct[Se]?ct[Se]+=V:ct[++Se]=V:(ct[++Se]=null,Qt.push({i:Se,x:zr(x,V)})),a=qr.lastIndex;return a<O.length&&(j=O.slice(a),ct[Se]?ct[Se]+=j:ct[++Se]=j),ct.length<2?Qt[0]?function ws(f){return function(O){return f(O)+""}}(Qt[0].x):function Oa(f){return function(){return f}}(O):(O=Qt.length,function(Kt){for(var bi,ui=0;ui<O;++ui)ct[(bi=Qt[ui]).i]=bi.x(Kt);return ct.join("")})}function Ya(f,O){O||(O=[]);var V,a=f?Math.min(O.length,f.length):0,x=O.slice();return function(j){for(V=0;V<a;++V)x[V]=f[V]*(1-j)+O[V]*j;return x}}function Wn(f,O){var x,a=typeof O;return null==O||"boolean"===a?ha(O):("number"===a?zr:"string"===a?(x=Ma(O))?(O=x,ps):hr:O instanceof Ma?ps:O instanceof Date?ts:function ar(f){return ArrayBuffer.isView(f)&&!(f instanceof DataView)}(O)?Ya:Array.isArray(O)?Ea:"function"!=typeof O.valueOf&&"function"!=typeof O.toString||isNaN(O)?ka:zr)(f,O)}var vt,oi,ir=0,ua=0,Rt=0,Hi=0,tn=0,Yn=0,pr="object"==typeof performance&&performance.now?performance:Date,qi="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(f){setTimeout(f,17)};function xn(){return tn||(qi(aa),tn=pr.now()+Yn)}function aa(){tn=0}function ot(){this._call=this._time=this._next=null}function tt(f,O,a){var x=new ot;return x.restart(f,O,a),x}function kt(){tn=(Hi=pr.now())+Yn,ir=ua=0;try{!function Ge(){xn(),++ir;for(var O,f=vt;f;)(O=tn-f._time)>=0&&f._call.call(null,O),f=f._next;--ir}()}finally{ir=0,function Ki(){for(var f,a,O=vt,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:vt=a);oi=f,gr(x)}(),tn=0}}function Ei(){var f=pr.now(),O=f-Hi;O>1e3&&(Yn-=O,Hi=f)}function gr(f){ir||(ua&&(ua=clearTimeout(ua)),f-tn>24?(f<1/0&&(ua=setTimeout(kt,f-pr.now()-Yn)),Rt&&(Rt=clearInterval(Rt))):(Rt||(Hi=pr.now(),Rt=setInterval(Ei,1e3)),ir=1,qi(kt)))}function Oi(f,O,a){var x=new ot;return x.restart(V=>{x.stop(),f(V+O)},O=null==O?0:+O,a),x}ot.prototype=tt.prototype={constructor:ot,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&&oi!==this&&(oi?oi._next=this:vt=this,oi=this),this._call=f,this._time=a,gr()},stop:function(){this._call&&(this._call=null,this._time=1/0,gr())}};var Fn=yn("start","end","cancel","interrupt"),Vs=[];function Ss(f,O,a,x,V,j){var Se=f.__transition;if(Se){if(a in Se)return}else f.__transition={};!function Pi(f,O,a){var V,x=f.__transition;function Se(Kt){var ui,bi,wi,Ai;if(1!==a.state)return Qt();for(ui in x)if((Ai=x[ui]).name===a.name){if(3===Ai.state)return Oi(Se);4===Ai.state?(Ai.state=6,Ai.timer.stop(),Ai.on.call("interrupt",f,f.__data__,Ai.index,Ai.group),delete x[ui]):+ui<O&&(Ai.state=6,Ai.timer.stop(),Ai.on.call("cancel",f,f.__data__,Ai.index,Ai.group),delete x[ui])}if(Oi(function(){3===a.state&&(a.state=4,a.timer.restart(ct,a.delay,a.time),ct(Kt))}),a.state=2,a.on.call("start",f,f.__data__,a.index,a.group),2===a.state){for(a.state=3,V=new Array(wi=a.tween.length),ui=0,bi=-1;ui<wi;++ui)(Ai=a.tween[ui].value.call(f,f.__data__,a.index,a.group))&&(V[++bi]=Ai);V.length=bi+1}}function ct(Kt){for(var ui=Kt<a.duration?a.ease.call(null,Kt/a.duration):(a.timer.restart(Qt),a.state=5,1),bi=-1,wi=V.length;++bi<wi;)V[bi].call(f,ui);5===a.state&&(a.on.call("end",f,f.__data__,a.index,a.group),Qt())}function Qt(){for(var Kt in a.state=6,a.timer.stop(),delete x[O],x)return;delete f.__transition}x[O]=a,a.timer=tt(function j(Kt){a.state=1,a.timer.restart(Se,a.delay,a.time),a.delay<=Kt&&Se(Kt-a.delay)},0,a.time)}(f,a,{name:O,index:x,group:V,on:Fn,tween:Vs,time:j.time,delay:j.delay,duration:j.duration,ease:j.ease,timer:null,state:0})}function Jo(f,O){var a=kn(f,O);if(a.state>0)throw new Error("too late; already scheduled");return a}function sa(f,O){var a=kn(f,O);if(a.state>3)throw new Error("too late; already running");return a}function kn(f,O){var a=f.__transition;if(!a||!(a=a[O]))throw new Error("transition not found");return a}var so,Vi=180/Math.PI,Es={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ts(f,O,a,x,V,j){var Se,ct,Qt;return(Se=Math.sqrt(f*f+O*O))&&(f/=Se,O/=Se),(Qt=f*a+O*x)&&(a-=f*Qt,x-=O*Qt),(ct=Math.sqrt(a*a+x*x))&&(a/=ct,x/=ct,Qt/=ct),f*x<O*a&&(f=-f,O=-O,Qt=-Qt,Se=-Se),{translateX:V,translateY:j,rotate:Math.atan2(O,f)*Vi,skewX:Math.atan(Qt)*Vi,scaleX:Se,scaleY:ct}}function oo(f,O,a,x){function V(Kt){return Kt.length?Kt.pop()+" ":""}return function(Kt,ui){var bi=[],wi=[];return Kt=f(Kt),ui=f(ui),function j(Kt,ui,bi,wi,Ai,an){if(Kt!==bi||ui!==wi){var vn=Ai.push("translate(",null,O,null,a);an.push({i:vn-4,x:zr(Kt,bi)},{i:vn-2,x:zr(ui,wi)})}else(bi||wi)&&Ai.push("translate("+bi+O+wi+a)}(Kt.translateX,Kt.translateY,ui.translateX,ui.translateY,bi,wi),function Se(Kt,ui,bi,wi){Kt!==ui?(Kt-ui>180?ui+=360:ui-Kt>180&&(Kt+=360),wi.push({i:bi.push(V(bi)+"rotate(",null,x)-2,x:zr(Kt,ui)})):ui&&bi.push(V(bi)+"rotate("+ui+x)}(Kt.rotate,ui.rotate,bi,wi),function ct(Kt,ui,bi,wi){Kt!==ui?wi.push({i:bi.push(V(bi)+"skewX(",null,x)-2,x:zr(Kt,ui)}):ui&&bi.push(V(bi)+"skewX("+ui+x)}(Kt.skewX,ui.skewX,bi,wi),function Qt(Kt,ui,bi,wi,Ai,an){if(Kt!==bi||ui!==wi){var vn=Ai.push(V(Ai)+"scale(",null,",",null,")");an.push({i:vn-4,x:zr(Kt,bi)},{i:vn-2,x:zr(ui,wi)})}else(1!==bi||1!==wi)&&Ai.push(V(Ai)+"scale("+bi+","+wi+")")}(Kt.scaleX,Kt.scaleY,ui.scaleX,ui.scaleY,bi,wi),Kt=ui=null,function(Ai){for(var Li,an=-1,vn=wi.length;++an<vn;)bi[(Li=wi[an]).i]=Li.x(Ai);return bi.join("")}}}var co=oo(function Us(f){const O=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(f+"");return O.isIdentity?Es:Ts(O.a,O.b,O.c,O.d,O.e,O.f)},"px, ","px)","deg)"),gc=oo(function Mo(f){return null!=f&&(so||(so=document.createElementNS("http://www.w3.org/2000/svg","g")),so.setAttribute("transform",f),f=so.transform.baseVal.consolidate())?Ts((f=f.matrix).a,f.b,f.c,f.d,f.e,f.f):Es},", ",")",")");function Vc(f,O){var a,x;return function(){var V=sa(this,f),j=V.tween;if(j!==a)for(var Se=0,ct=(x=a=j).length;Se<ct;++Se)if(x[Se].name===O){(x=x.slice()).splice(Se,1);break}V.tween=x}}function _c(f,O,a){var x,V;if("function"!=typeof a)throw new Error;return function(){var j=sa(this,f),Se=j.tween;if(Se!==x){V=(x=Se).slice();for(var ct={name:O,value:a},Qt=0,Kt=V.length;Qt<Kt;++Qt)if(V[Qt].name===O){V[Qt]=ct;break}Qt===Kt&&V.push(ct)}j.tween=V}}function $o(f,O,a){var x=f._id;return f.each(function(){var V=sa(this,x);(V.value||(V.value={}))[O]=a.apply(this,arguments)}),function(V){return kn(V,x).value[O]}}function So(f,O,a){f.prototype=O.prototype=a,a.constructor=f}function Eo(f,O){var a=Object.create(f.prototype);for(var x in O)a[x]=O[x];return a}function Lr(){}var Gs=1/.7,nn="\\s*([+-]?\\d+)\\s*",Dr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",oa="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",sr=/^#([0-9a-f]{3,8})$/,lo=new RegExp("^rgb\\("+[nn,nn,nn]+"\\)$"),xl=new RegExp("^rgb\\("+[oa,oa,oa]+"\\)$"),ec=new RegExp("^rgba\\("+[nn,nn,nn,Dr]+"\\)$"),Bn=new RegExp("^rgba\\("+[oa,oa,oa,Dr]+"\\)$"),Ji=new RegExp("^hsl\\("+[Dr,oa,oa]+"\\)$"),Oe=new RegExp("^hsla\\("+[Dr,oa,oa,Dr]+"\\)$"),ft={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 Te(){return this.rgb().formatHex()}function ri(){return this.rgb().formatRgb()}function Re(f){var O,a;return f=(f+"").trim().toLowerCase(),(O=sr.exec(f))?(a=O[1].length,O=parseInt(O[1],16),6===a?ht(O):3===a?new Jt(O>>8&15|O>>4&240,O>>4&15|240&O,(15&O)<<4|15&O,1):8===a?yt(O>>24&255,O>>16&255,O>>8&255,(255&O)/255):4===a?yt(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=lo.exec(f))?new Jt(O[1],O[2],O[3],1):(O=xl.exec(f))?new Jt(255*O[1]/100,255*O[2]/100,255*O[3]/100,1):(O=ec.exec(f))?yt(O[1],O[2],O[3],O[4]):(O=Bn.exec(f))?yt(255*O[1]/100,255*O[2]/100,255*O[3]/100,O[4]):(O=Ji.exec(f))?Di(O[1],O[2]/100,O[3]/100,1):(O=Oe.exec(f))?Di(O[1],O[2]/100,O[3]/100,O[4]):ft.hasOwnProperty(f)?ht(ft[f]):"transparent"===f?new Jt(NaN,NaN,NaN,0):null}function ht(f){return new Jt(f>>16&255,f>>8&255,255&f,1)}function yt(f,O,a,x){return x<=0&&(f=O=a=NaN),new Jt(f,O,a,x)}function Ot(f){return f instanceof Lr||(f=Re(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 hi(){return"#"+yi(this.r)+yi(this.g)+yi(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 yi(f){return((f=Math.max(0,Math.min(255,Math.round(f)||0)))<16?"0":"")+f.toString(16)}function Di(f,O,a,x){return x<=0?f=O=a=NaN:a<=0||a>=1?f=O=NaN:O<=0&&(f=NaN),new dn(f,O,a,x)}function Yi(f){if(f instanceof dn)return new dn(f.h,f.s,f.l,f.opacity);if(f instanceof Lr||(f=Re(f)),!f)return new dn;if(f instanceof dn)return f;var O=(f=f.rgb()).r/255,a=f.g/255,x=f.b/255,V=Math.min(O,a,x),j=Math.max(O,a,x),Se=NaN,ct=j-V,Qt=(j+V)/2;return ct?(Se=O===j?(a-x)/ct+6*(a<x):a===j?(x-O)/ct+2:(O-a)/ct+4,ct/=Qt<.5?j+V:2-j-V,Se*=60):ct=Qt>0&&Qt<1?0:Se,new dn(Se,ct,Qt,f.opacity)}function dn(f,O,a,x){this.h=+f,this.s=+O,this.l=+a,this.opacity=+x}function wn(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 wr(f,O){var a;return("number"==typeof O?zr:O instanceof Re?ps:(a=Re(O))?(O=a,ps):hr)(f,O)}function Br(f){return function(){this.removeAttribute(f)}}function Ur(f){return function(){this.removeAttributeNS(f.space,f.local)}}function Gr(f,O,a){var x,j,V=a+"";return function(){var Se=this.getAttribute(f);return Se===V?null:Se===x?j:j=O(x=Se,a)}}function Or(f,O,a){var x,j,V=a+"";return function(){var Se=this.getAttributeNS(f.space,f.local);return Se===V?null:Se===x?j:j=O(x=Se,a)}}function Ir(f,O,a){var x,V,j;return function(){var Se,Qt,ct=a(this);return null==ct?void this.removeAttribute(f):(Se=this.getAttribute(f))===(Qt=ct+"")?null:Se===x&&Qt===V?j:(V=Qt,j=O(x=Se,ct))}}function ma(f,O,a){var x,V,j;return function(){var Se,Qt,ct=a(this);return null==ct?void this.removeAttributeNS(f.space,f.local):(Se=this.getAttributeNS(f.space,f.local))===(Qt=ct+"")?null:Se===x&&Qt===V?j:(V=Qt,j=O(x=Se,ct))}}function as(f,O){return function(a){this.setAttribute(f,O.call(this,a))}}function pa(f,O){return function(a){this.setAttributeNS(f.space,f.local,O.call(this,a))}}function ss(f,O){var a,x;function V(){var j=O.apply(this,arguments);return j!==x&&(a=(x=j)&&pa(f,j)),a}return V._value=O,V}function Sr(f,O){var a,x;function V(){var j=O.apply(this,arguments);return j!==x&&(a=(x=j)&&as(f,j)),a}return V._value=O,V}function os(f,O){return function(){Jo(this,f).delay=+O.apply(this,arguments)}}function wl(f,O){return O=+O,function(){Jo(this,f).delay=O}}function Uc(f,O){return function(){sa(this,f).duration=+O.apply(this,arguments)}}function X1(f,O){return O=+O,function(){sa(this,f).duration=O}}function Sl(f,O){if("function"!=typeof O)throw new Error;return function(){sa(this,f).ease=O}}function Lo(f,O,a){var x,V,j=function Ao(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)?Jo:sa;return function(){var Se=j(this,f),ct=Se.on;ct!==x&&(V=(x=ct).copy()).on(O,a),Se.on=V}}So(Lr,Re,{copy:function(f){return Object.assign(new this.constructor,this,f)},displayable:function(){return this.rgb().displayable()},hex:Te,formatHex:Te,formatHsl:function Mt(){return Yi(this).formatHsl()},formatRgb:ri,toString:ri}),So(Jt,function Qe(f,O,a,x){return 1===arguments.length?Ot(f):new Jt(f,O,a,x??1)},Eo(Lr,{brighter:function(f){return f=null==f?Gs:Math.pow(Gs,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:hi,formatHex:hi,formatRgb:ii,toString:ii})),So(dn,function rn(f,O,a,x){return 1===arguments.length?Yi(f):new dn(f,O,a,x??1)},Eo(Lr,{brighter:function(f){return f=null==f?Gs:Math.pow(Gs,f),new dn(this.h,this.s,this.l*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new dn(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,V=2*a-x;return new Jt(wn(f>=240?f-240:f+120,V,x),wn(f,V,x),wn(f<120?f+240:f-120,V,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 Zs=Xe.prototype.constructor;function a1(f){return function(){this.style.removeProperty(f)}}function tc(f,O,a){return function(x){this.style.setProperty(f,O.call(this,x),a)}}function Dl(f,O,a){var x,V;function j(){var Se=O.apply(this,arguments);return Se!==V&&(x=(V=Se)&&tc(f,Se,a)),x}return j._value=O,j}function _r(f){return function(O){this.textContent=f.call(this,O)}}function Wc(f){var O,a;function x(){var V=f.apply(this,arguments);return V!==a&&(O=(a=V)&&_r(V)),O}return x._value=f,x}var r2=0;function Oo(f,O,a,x){this._groups=f,this._parents=O,this._name=a,this._id=x}function xe(){return++r2}var ae=Xe.prototype;Oo.prototype=function _e(f){return Xe().transition(f)}.prototype={constructor:Oo,select:function Io(f){var O=this._name,a=this._id;"function"!=typeof f&&(f=u(f));for(var x=this._groups,V=x.length,j=new Array(V),Se=0;Se<V;++Se)for(var ui,bi,ct=x[Se],Qt=ct.length,Kt=j[Se]=new Array(Qt),wi=0;wi<Qt;++wi)(ui=ct[wi])&&(bi=f.call(ui,ui.__data__,wi,ct))&&("__data__"in ui&&(bi.__data__=ui.__data__),Kt[wi]=bi,Ss(Kt[wi],O,a,wi,Kt,kn(ui,a)));return new Oo(j,this._parents,O,a)},selectAll:function cs(f){var O=this._name,a=this._id;"function"!=typeof f&&(f=w(f));for(var x=this._groups,V=x.length,j=[],Se=[],ct=0;ct<V;++ct)for(var ui,Qt=x[ct],Kt=Qt.length,bi=0;bi<Kt;++bi)if(ui=Qt[bi]){for(var Ai,wi=f.call(ui,ui.__data__,bi,Qt),an=kn(ui,a),vn=0,Li=wi.length;vn<Li;++vn)(Ai=wi[vn])&&Ss(Ai,O,a,vn,wi,an);j.push(wi),Se.push(ui)}return new Oo(j,Se,O,a)},filter:function $1(f){"function"!=typeof f&&(f=U(f));for(var O=this._groups,a=O.length,x=new Array(a),V=0;V<a;++V)for(var Qt,j=O[V],Se=j.length,ct=x[V]=[],Kt=0;Kt<Se;++Kt)(Qt=j[Kt])&&f.call(Qt,Qt.__data__,Kt,j)&&ct.push(Qt);return new Oo(x,this._parents,this._name,this._id)},merge:function Tl(f){if(f._id!==this._id)throw new Error;for(var O=this._groups,a=f._groups,x=O.length,j=Math.min(x,a.length),Se=new Array(x),ct=0;ct<j;++ct)for(var wi,Qt=O[ct],Kt=a[ct],ui=Qt.length,bi=Se[ct]=new Array(ui),Ai=0;Ai<ui;++Ai)(wi=Qt[Ai]||Kt[Ai])&&(bi[Ai]=wi);for(;ct<x;++ct)Se[ct]=O[ct];return new Oo(Se,this._parents,this._name,this._id)},selection:function r1(){return new Zs(this._groups,this._parents)},transition:function Yc(){for(var f=this._name,O=this._id,a=xe(),x=this._groups,V=x.length,j=0;j<V;++j)for(var Qt,Se=x[j],ct=Se.length,Kt=0;Kt<ct;++Kt)if(Qt=Se[Kt]){var ui=kn(Qt,O);Ss(Qt,f,a,Kt,Se,{time:ui.time+ui.delay+ui.duration,delay:0,duration:ui.duration,ease:ui.ease})}return new Oo(x,this._parents,f,a)},call:ae.call,nodes:ae.nodes,node:ae.node,size:ae.size,empty:ae.empty,each:ae.each,on:function Do(f,O){var a=this._id;return arguments.length<2?kn(this.node(),a).on.on(f):this.each(Lo(a,f,O))},attr:function Mr(f,O){var a=he(f),x="transform"===a?gc:wr;return this.attrTween(f,"function"==typeof O?(a.local?ma:Ir)(a,x,$o(this,"attr."+f,O)):null==O?(a.local?Ur:Br)(a):(a.local?Or:Gr)(a,x,O))},attrTween:function Cl(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=he(f);return this.tween(a,(x.local?ss:Sr)(x,O))},style:function Ha(f,O,a){var x="transform"==(f+="")?co:wr;return null==O?this.styleTween(f,function Al(f,O){var a,x,V;return function(){var j=nt(this,f),Se=(this.style.removeProperty(f),nt(this,f));return j===Se?null:j===a&&Se===x?V:V=O(a=j,x=Se)}}(f,x)).on("end.style."+f,a1(f)):"function"==typeof O?this.styleTween(f,function Gc(f,O,a){var x,V,j;return function(){var Se=nt(this,f),ct=a(this),Qt=ct+"";return null==ct&&(this.style.removeProperty(f),Qt=ct=nt(this,f)),Se===Qt?null:Se===x&&Qt===V?j:(V=Qt,j=O(x=Se,ct))}}(f,x,$o(this,"style."+f,O))).each(function Xs(f,O){var a,x,V,ct,j="style."+O,Se="end."+j;return function(){var Qt=sa(this,f),Kt=Qt.on,ui=null==Qt.value[j]?ct||(ct=a1(O)):void 0;(Kt!==a||V!==ui)&&(x=(a=Kt).copy()).on(Se,V=ui),Qt.on=x}}(this._id,f)):this.styleTween(f,function Ll(f,O,a){var x,j,V=a+"";return function(){var Se=nt(this,f);return Se===V?null:Se===x?j:j=O(x=Se,a)}}(f,x,O),a).on("end.style."+f,null)},styleTween:function Il(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,Dl(f,O,a??""))},text:function Zc(f){return this.tween("text","function"==typeof f?function ud(f){return function(){var O=f(this);this.textContent=O??""}}($o(this,"text",f)):function ko(f){return function(){this.textContent=f}}(null==f?"":f+""))},textTween:function fd(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,Wc(f))},remove:function t2(){return this.on("end.remove",function e2(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 Xo(f,O){var a=this._id;if(f+="",arguments.length<2){for(var Se,x=kn(this.node(),a).tween,V=0,j=x.length;V<j;++V)if((Se=x[V]).name===f)return Se.value;return null}return this.each((null==O?Vc:_c)(a,f,O))},delay:function Bc(f){var O=this._id;return arguments.length?this.each(("function"==typeof f?os:wl)(O,f)):kn(this.node(),O).delay},duration:function Ml(f){var O=this._id;return arguments.length?this.each(("function"==typeof f?Uc:X1)(O,f)):kn(this.node(),O).duration},ease:function vc(f){var O=this._id;return arguments.length?this.each(Sl(O,f)):kn(this.node(),O).ease},easeVarying:function To(f){if("function"!=typeof f)throw new Error;return this.each(function El(f,O){return function(){var a=O.apply(this,arguments);if("function"!=typeof a)throw new Error;sa(this,f).ease=a}}(this._id,f))},end:function n2(){var f,O,a=this,x=a._id,V=a.size();return new Promise(function(j,Se){var ct={value:Se},Qt={value:function(){0==--V&&j()}};a.each(function(){var Kt=sa(this,x),ui=Kt.on;ui!==f&&((O=(f=ui).copy())._.cancel.push(ct),O._.interrupt.push(ct),O._.end.push(Qt)),Kt.on=O}),0===V&&j()})},[Symbol.iterator]:ae[Symbol.iterator]};var Ht={time:null,delay:0,duration:250,ease:function Dt(f){return((f*=2)<=1?f*f*f:(f-=2)*f*f+2)/2}};function vi(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 gs(f){return this.each(function(){!function Pa(f,O){var x,V,Se,a=f.__transition,j=!0;if(a){for(Se in O=null==O?null:O+"",a)(x=a[Se]).name===O?(V=x.state>2&&x.state<5,x.state=6,x.timer.stop(),x.on.call(V?"interrupt":"cancel",f,f.__data__,x.index,x.group),delete a[Se]):j=!1;j&&delete f.__transition}}(this,f)})},Xe.prototype.transition=function Ri(f){var O,a;f instanceof Oo?(O=f._id,f=f._name):(O=xe(),(a=Ht).time=xn(),f=null==f?null:f+"");for(var x=this._groups,V=x.length,j=0;j<V;++j)for(var Qt,Se=x[j],ct=Se.length,Kt=0;Kt<ct;++Kt)(Qt=Se[Kt])&&Ss(Qt,f,O,Kt,Se,a||vi(Qt,O));return new Oo(x,this._parents,f,O)};Math;function bc(f){return{type:f}}function o2(f,O){return f<O?-1:f>O?1:f>=O?0:NaN}function _d(f){let O=f,a=f;function x(Se,ct,Qt,Kt){for(null==Qt&&(Qt=0),null==Kt&&(Kt=Se.length);Qt<Kt;){const ui=Qt+Kt>>>1;a(Se[ui],ct)<0?Qt=ui+1:Kt=ui}return Qt}return 1===f.length&&(O=(Se,ct)=>f(Se)-ct,a=function vd(f){return(O,a)=>o2(f(O),a)}(f)),{left:x,center:function j(Se,ct,Qt,Kt){null==Qt&&(Qt=0),null==Kt&&(Kt=Se.length);const ui=x(Se,ct,Qt,Kt-1);return ui>Qt&&O(Se[ui-1],ct)>-O(Se[ui],ct)?ui-1:ui},right:function V(Se,ct,Qt,Kt){for(null==Qt&&(Qt=0),null==Kt&&(Kt=Se.length);Qt<Kt;){const ui=Qt+Kt>>>1;a(Se[ui],ct)>0?Kt=ui:Qt=ui+1}return Qt}}}["w","e"].map(bc),["n","s"].map(bc),["n","w","e","s","nw","ne","sw","se"].map(bc);var c2=Math.sqrt(50),bd=Math.sqrt(10),l2=Math.sqrt(2);function qc(f,O,a){var x=(O-f)/Math.max(0,a),V=Math.floor(Math.log(x)/Math.LN10),j=x/Math.pow(10,V);return V>=0?(j>=c2?10:j>=bd?5:j>=l2?2:1)*Math.pow(10,V):-Math.pow(10,-V)/(j>=c2?10:j>=bd?5:j>=l2?2:1)}function Jc(f,O,a){var x=Math.abs(O-f)/Math.max(0,a),V=Math.pow(10,Math.floor(Math.log(x)/Math.LN10)),j=x/V;return j>=c2?V*=10:j>=bd?V*=5:j>=l2&&(V*=2),O<f?-V:V}const fo=1e3,As=6e4,mo=60*As,$s=24*mo,o1=7*$s,ah=30*$s,d2=365*$s;var h2=new Date,Po=new Date;function ga(f,O,a,x){function V(j){return f(j=0===arguments.length?new Date:new Date(+j)),j}return V.floor=function(j){return f(j=new Date(+j)),j},V.ceil=function(j){return f(j=new Date(j-1)),O(j,1),f(j),j},V.round=function(j){var Se=V(j),ct=V.ceil(j);return j-Se<ct-j?Se:ct},V.offset=function(j,Se){return O(j=new Date(+j),null==Se?1:Math.floor(Se)),j},V.range=function(j,Se,ct){var Kt,Qt=[];if(j=V.ceil(j),ct=null==ct?1:Math.floor(ct),!(j<Se&&ct>0))return Qt;do{Qt.push(Kt=new Date(+j)),O(j,ct),f(j)}while(Kt<j&&j<Se);return Qt},V.filter=function(j){return ga(function(Se){if(Se>=Se)for(;f(Se),!j(Se);)Se.setTime(Se-1)},function(Se,ct){if(Se>=Se)if(ct<0)for(;++ct<=0;)for(;O(Se,-1),!j(Se););else for(;--ct>=0;)for(;O(Se,1),!j(Se););})},a&&(V.count=function(j,Se){return h2.setTime(+j),Po.setTime(+Se),f(h2),f(Po),Math.floor(a(h2,Po))},V.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?V.filter(x?function(Se){return x(Se)%j==0}:function(Se){return V.count(0,Se)%j==0}):V:null}),V}var u2=ga(function(){},function(f,O){f.setTime(+f+O)},function(f,O){return O-f});u2.every=function(f){return f=Math.floor(f),isFinite(f)&&f>0?f>1?ga(function(O){O.setTime(Math.floor(O/f)*f)},function(O,a){O.setTime(+O+a*f)},function(O,a){return(a-O)/f}):u2:null};const f2=u2;const ac=ga(function(f){f.setTime(f-f.getMilliseconds())},function(f,O){f.setTime(+f+O*fo)},function(f,O){return(O-f)/fo},function(f){return f.getUTCSeconds()});const Cc=ga(function(f){f.setTime(f-f.getMilliseconds()-f.getSeconds()*fo)},function(f,O){f.setTime(+f+O*As)},function(f,O){return(O-f)/As},function(f){return f.getMinutes()});const Ol=ga(function(f){f.setTime(f-f.getMilliseconds()-f.getSeconds()*fo-f.getMinutes()*As)},function(f,O){f.setTime(+f+O*mo)},function(f,O){return(O-f)/mo},function(f){return f.getHours()});const Ls=ga(f=>f.setHours(0,0,0,0),(f,O)=>f.setDate(f.getDate()+O),(f,O)=>(O-f-(O.getTimezoneOffset()-f.getTimezoneOffset())*As)/$s,f=>f.getDate()-1);function sc(f){return ga(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)/o1})}var d1=sc(0),Pl=sc(1),el=(sc(2),sc(3),sc(4));const p2=(sc(5),sc(6),ga(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 g2=ga(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()});g2.every=function(f){return isFinite(f=Math.floor(f))&&f>0?ga(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 No=g2;const wd=ga(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 hh=ga(function(f){f.setUTCMinutes(0,0,0)},function(f,O){f.setTime(+f+O*mo)},function(f,O){return(O-f)/mo},function(f){return f.getUTCHours()});const v2=ga(function(f){f.setUTCHours(0,0,0,0)},function(f,O){f.setUTCDate(f.getUTCDate()+O)},function(f,O){return(O-f)/$s},function(f){return f.getUTCDate()-1});function eo(f){return ga(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)/o1})}var f1=eo(0),tl=eo(1),to=(eo(2),eo(3),eo(4));const nl=(eo(5),eo(6),ga(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 g1=ga(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()});g1.every=function(f){return isFinite(f=Math.floor(f))&&f>0?ga(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 Is=g1;function x2(f,O,a,x,V,j){const Se=[[ac,1,fo],[ac,5,5e3],[ac,15,15e3],[ac,30,3e4],[j,1,As],[j,5,5*As],[j,15,15*As],[j,30,30*As],[V,1,mo],[V,3,3*mo],[V,6,6*mo],[V,12,12*mo],[x,1,$s],[x,2,2*$s],[a,1,o1],[O,1,ah],[O,3,3*ah],[f,1,d2]];function Qt(Kt,ui,bi){const wi=Math.abs(ui-Kt)/bi,Ai=_d(([,,Li])=>Li).right(Se,wi);if(Ai===Se.length)return f.every(Jc(Kt/d2,ui/d2,bi));if(0===Ai)return f2.every(Math.max(Jc(Kt,ui,bi),1));const[an,vn]=Se[wi/Se[Ai-1][2]<Se[Ai][2]/wi?Ai-1:Ai];return an.every(vn)}return[function ct(Kt,ui,bi){const wi=ui<Kt;wi&&([Kt,ui]=[ui,Kt]);const Ai=bi&&"function"==typeof bi.range?bi:Qt(Kt,ui,bi),an=Ai?Ai.range(Kt,+ui+1):[];return wi?an.reverse():an},Qt]}const[uh,Ed]=x2(Is,nl,f1,v2,hh,wd),[Sc,Ec]=x2(No,p2,d1,Ls,Ol,Cc);function _1(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 Tc(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 Td={"-":"",_:" ",0:"0"},Ta=/^\s*\d+/,Ad=/^%/,Ac=/[\\^$*+?|[\]().{}]/g;function $n(f,O,a){var x=f<0?"-":"",V=(x?-f:f)+"",j=V.length;return x+(j<a?new Array(a-j+1).join(O)+V:V)}function Ld(f){return f.replace(Ac,"\\$&")}function cc(f){return new RegExp("^(?:"+f.map(Ld).join("|")+")","i")}function Ro(f){return new Map(f.map((O,a)=>[O.toLowerCase(),a]))}function Dd(f,O,a){var x=Ta.exec(O.slice(a,a+1));return x?(f.w=+x[0],a+x[0].length):-1}function b1(f,O,a){var x=Ta.exec(O.slice(a,a+1));return x?(f.u=+x[0],a+x[0].length):-1}function C2(f,O,a){var x=Ta.exec(O.slice(a,a+2));return x?(f.U=+x[0],a+x[0].length):-1}function w2(f,O,a){var x=Ta.exec(O.slice(a,a+2));return x?(f.V=+x[0],a+x[0].length):-1}function Fl(f,O,a){var x=Ta.exec(O.slice(a,a+2));return x?(f.W=+x[0],a+x[0].length):-1}function Id(f,O,a){var x=Ta.exec(O.slice(a,a+4));return x?(f.y=+x[0],a+x[0].length):-1}function M2(f,O,a){var x=Ta.exec(O.slice(a,a+2));return x?(f.y=+x[0]+(+x[0]>68?1900:2e3),a+x[0].length):-1}function fh(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 mh(f,O,a){var x=Ta.exec(O.slice(a,a+1));return x?(f.q=3*x[0]-3,a+x[0].length):-1}function kd(f,O,a){var x=Ta.exec(O.slice(a,a+2));return x?(f.m=x[0]-1,a+x[0].length):-1}function S2(f,O,a){var x=Ta.exec(O.slice(a,a+2));return x?(f.d=+x[0],a+x[0].length):-1}function E2(f,O,a){var x=Ta.exec(O.slice(a,a+3));return x?(f.m=0,f.d=+x[0],a+x[0].length):-1}function zl(f,O,a){var x=Ta.exec(O.slice(a,a+2));return x?(f.H=+x[0],a+x[0].length):-1}function y1(f,O,a){var x=Ta.exec(O.slice(a,a+2));return x?(f.M=+x[0],a+x[0].length):-1}function Lc(f,O,a){var x=Ta.exec(O.slice(a,a+2));return x?(f.S=+x[0],a+x[0].length):-1}function ph(f,O,a){var x=Ta.exec(O.slice(a,a+3));return x?(f.L=+x[0],a+x[0].length):-1}function Od(f,O,a){var x=Ta.exec(O.slice(a,a+6));return x?(f.L=Math.floor(x[0]/1e3),a+x[0].length):-1}function e3(f,O,a){var x=Ad.exec(O.slice(a,a+1));return x?a+x[0].length:-1}function gh(f,O,a){var x=Ta.exec(O.slice(a));return x?(f.Q=+x[0],a+x[0].length):-1}function x1(f,O,a){var x=Ta.exec(O.slice(a));return x?(f.s=+x[0],a+x[0].length):-1}function Pd(f,O){return $n(f.getDate(),O,2)}function Nd(f,O){return $n(f.getHours(),O,2)}function Vl(f,O){return $n(f.getHours()%12||12,O,2)}function T2(f,O){return $n(1+Ls.count(No(f),f),O,3)}function A2(f,O){return $n(f.getMilliseconds(),O,3)}function Rd(f,O){return A2(f,O)+"000"}function Dc(f,O){return $n(f.getMonth()+1,O,2)}function Ic(f,O){return $n(f.getMinutes(),O,2)}function Hd(f,O){return $n(f.getSeconds(),O,2)}function _h(f){var O=f.getDay();return 0===O?7:O}function Fd(f,O){return $n(d1.count(No(f)-1,f),O,2)}function zd(f){var O=f.getDay();return O>=4||0===O?el(f):el.ceil(f)}function vh(f,O){return f=zd(f),$n(el.count(No(f),f)+(4===No(f).getDay()),O,2)}function Ho(f){return f.getDay()}function js(f,O){return $n(Pl.count(No(f)-1,f),O,2)}function bh(f,O){return $n(f.getFullYear()%100,O,2)}function Vd(f,O){return $n((f=zd(f)).getFullYear()%100,O,2)}function yh(f,O){return $n(f.getFullYear()%1e4,O,4)}function xh(f,O){var a=f.getDay();return $n((f=a>=4||0===a?el(f):el.ceil(f)).getFullYear()%1e4,O,4)}function Ch(f){var O=f.getTimezoneOffset();return(O>0?"-":(O*=-1,"+"))+$n(O/60|0,"0",2)+$n(O%60,"0",2)}function Bd(f,O){return $n(f.getUTCDate(),O,2)}function Ud(f,O){return $n(f.getUTCHours(),O,2)}function wh(f,O){return $n(f.getUTCHours()%12||12,O,2)}function Mh(f,O){return $n(1+v2.count(Is(f),f),O,3)}function Gd(f,O){return $n(f.getUTCMilliseconds(),O,3)}function Zd(f,O){return Gd(f,O)+"000"}function C1(f,O){return $n(f.getUTCMonth()+1,O,2)}function po(f,O){return $n(f.getUTCMinutes(),O,2)}function Bl(f,O){return $n(f.getUTCSeconds(),O,2)}function Wd(f){var O=f.getUTCDay();return 0===O?7:O}function Yd(f,O){return $n(f1.count(Is(f)-1,f),O,2)}function w1(f){var O=f.getUTCDay();return O>=4||0===O?to(f):to.ceil(f)}function t3(f,O){return f=w1(f),$n(to.count(Is(f),f)+(4===Is(f).getUTCDay()),O,2)}function jd(f){return f.getUTCDay()}function n3(f,O){return $n(tl.count(Is(f)-1,f),O,2)}function L2(f,O){return $n(f.getUTCFullYear()%100,O,2)}function M1(f,O){return $n((f=w1(f)).getUTCFullYear()%100,O,2)}function r3(f,O){return $n(f.getUTCFullYear()%1e4,O,4)}function a3(f,O){var a=f.getUTCDay();return $n((f=a>=4||0===a?to(f):to.ceil(f)).getUTCFullYear()%1e4,O,4)}function D2(){return"+0000"}function Kd(){return"%"}function Qd(f){return+f}function qd(f){return Math.floor(+f/1e3)}function Xr(f){return null===f?NaN:+f}!function Xd(f){(function v1(f){var O=f.dateTime,a=f.date,x=f.time,V=f.periods,j=f.days,Se=f.shortDays,ct=f.months,Qt=f.shortMonths,Kt=cc(V),ui=Ro(V),bi=cc(j),wi=Ro(j),Ai=cc(Se),an=Ro(Se),vn=cc(ct),Li=Ro(ct),fn=cc(Qt),bn=Ro(Qt),pn={a:function Rr(un){return Se[un.getDay()]},A:function Hs(un){return j[un.getDay()]},b:function Er(un){return Qt[un.getMonth()]},B:function Za(un){return ct[un.getMonth()]},c:null,d:Pd,e:Pd,f:Rd,g:Vd,G:xh,H:Nd,I:Vl,j:T2,L:A2,m:Dc,M:Ic,p:function ba(un){return V[+(un.getHours()>=12)]},q:function ya(un){return 1+~~(un.getMonth()/3)},Q:Qd,s:qd,S:Hd,u:_h,U:Fd,V:vh,w:Ho,W:js,x:null,X:null,y:bh,Y:yh,Z:Ch,"%":Kd},Un={a:function dd(un){return Se[un.getUTCDay()]},A:function pc(un){return j[un.getUTCDay()]},b:function Q1(un){return Qt[un.getUTCMonth()]},B:function $l(un){return ct[un.getUTCMonth()]},c:null,d:Bd,e:Bd,f:Zd,g:M1,G:a3,H:Ud,I:wh,j:Mh,L:Gd,m:C1,M:po,p:function ys(un){return V[+(un.getUTCHours()>=12)]},q:function q1(un){return 1+~~(un.getUTCMonth()/3)},Q:Qd,s:qd,S:Bl,u:Wd,U:Yd,V:t3,w:jd,W:n3,x:null,X:null,y:L2,Y:r3,Z:D2,"%":Kd},Hn={a:function da(un,Gn,er){var ji=Ai.exec(Gn.slice(er));return ji?(un.w=an.get(ji[0].toLowerCase()),er+ji[0].length):-1},A:function An(un,Gn,er){var ji=bi.exec(Gn.slice(er));return ji?(un.w=wi.get(ji[0].toLowerCase()),er+ji[0].length):-1},b:function Ja(un,Gn,er){var ji=fn.exec(Gn.slice(er));return ji?(un.m=bn.get(ji[0].toLowerCase()),er+ji[0].length):-1},B:function fr(un,Gn,er){var ji=vn.exec(Gn.slice(er));return ji?(un.m=Li.get(ji[0].toLowerCase()),er+ji[0].length):-1},c:function Nr(un,Gn,er){return Pr(un,O,Gn,er)},d:S2,e:S2,f:Od,g:M2,G:Id,H:zl,I:zl,j:E2,L:ph,m:kd,M:y1,p:function Rs(un,Gn,er){var ji=Kt.exec(Gn.slice(er));return ji?(un.p=ui.get(ji[0].toLowerCase()),er+ji[0].length):-1},q:mh,Q:gh,s:x1,S:Lc,u:b1,U:C2,V:w2,w:Dd,W:Fl,x:function Xa(un,Gn,er){return Pr(un,a,Gn,er)},X:function ta(un,Gn,er){return Pr(un,x,Gn,er)},y:M2,Y:Id,Z:fh,"%":e3};function Sn(un,Gn){return function(er){var xs,Vn,Ca,ji=[],xa=-1,vr=0,ds=un.length;for(er instanceof Date||(er=new Date(+er));++xa<ds;)37===un.charCodeAt(xa)&&(ji.push(un.slice(vr,xa)),null!=(Vn=Td[xs=un.charAt(++xa)])?xs=un.charAt(++xa):Vn="e"===xs?" ":"0",(Ca=Gn[xs])&&(xs=Ca(er,Vn)),ji.push(xs),vr=xa+1);return ji.push(un.slice(vr,xa)),ji.join("")}}function la(un,Gn){return function(er){var vr,ds,ji=Hl(1900,void 0,1);if(Pr(ji,un,er+="",0)!=er.length)return null;if("Q"in ji)return new Date(ji.Q);if("s"in ji)return new Date(1e3*ji.s+("L"in ji?ji.L:0));if(Gn&&!("Z"in ji)&&(ji.Z=0),"p"in ji&&(ji.H=ji.H%12+12*ji.p),void 0===ji.m&&(ji.m="q"in ji?ji.q:0),"V"in ji){if(ji.V<1||ji.V>53)return null;"w"in ji||(ji.w=1),"Z"in ji?(ds=(vr=Tc(Hl(ji.y,0,1))).getUTCDay(),vr=ds>4||0===ds?tl.ceil(vr):tl(vr),vr=v2.offset(vr,7*(ji.V-1)),ji.y=vr.getUTCFullYear(),ji.m=vr.getUTCMonth(),ji.d=vr.getUTCDate()+(ji.w+6)%7):(ds=(vr=_1(Hl(ji.y,0,1))).getDay(),vr=ds>4||0===ds?Pl.ceil(vr):Pl(vr),vr=Ls.offset(vr,7*(ji.V-1)),ji.y=vr.getFullYear(),ji.m=vr.getMonth(),ji.d=vr.getDate()+(ji.w+6)%7)}else("W"in ji||"U"in ji)&&("w"in ji||(ji.w="u"in ji?ji.u%7:"W"in ji?1:0),ds="Z"in ji?Tc(Hl(ji.y,0,1)).getUTCDay():_1(Hl(ji.y,0,1)).getDay(),ji.m=0,ji.d="W"in ji?(ji.w+6)%7+7*ji.W-(ds+5)%7:ji.w+7*ji.U-(ds+6)%7);return"Z"in ji?(ji.H+=ji.Z/100|0,ji.M+=ji.Z%100,Tc(ji)):_1(ji)}}function Pr(un,Gn,er,ji){for(var xs,Vn,xa=0,vr=Gn.length,ds=er.length;xa<vr;){if(ji>=ds)return-1;if(37===(xs=Gn.charCodeAt(xa++))){if(xs=Gn.charAt(xa++),!(Vn=Hn[xs in Td?Gn.charAt(xa++):xs])||(ji=Vn(un,er,ji))<0)return-1}else if(xs!=er.charCodeAt(ji++))return-1}return ji}return pn.x=Sn(a,pn),pn.X=Sn(x,pn),pn.c=Sn(O,pn),Un.x=Sn(a,Un),Un.X=Sn(x,Un),Un.c=Sn(O,Un),{format:function(un){var Gn=Sn(un+="",pn);return Gn.toString=function(){return un},Gn},parse:function(un){var Gn=la(un+="",!1);return Gn.toString=function(){return un},Gn},utcFormat:function(un){var Gn=Sn(un+="",Un);return Gn.toString=function(){return un},Gn},utcParse:function(un){var Gn=la(un+="",!0);return Gn.toString=function(){return un},Gn}}})(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 e0=_d(o2).right,Sh=(_d(Xr),e0);function Eh(f,O){return f=+f,O=+O,function(a){return Math.round(f*(1-a)+O*a)}}function Th(f){return+f}var o3=[0,1];function $r(f){return f}function kc(f,O){return(O-=f=+f)?function(a){return(a-f)/O}:function s3(f){return function(){return f}}(isNaN(O)?NaN:.5)}function sl(f,O,a){var x=f[0],V=f[1],j=O[0],Se=O[1];return V<x?(x=kc(V,x),j=a(Se,j)):(x=kc(x,V),j=a(j,Se)),function(ct){return j(x(ct))}}function n0(f,O,a){var x=Math.min(f.length,O.length)-1,V=new Array(x),j=new Array(x),Se=-1;for(f[x]<f[0]&&(f=f.slice().reverse(),O=O.slice().reverse());++Se<x;)V[Se]=kc(f[Se],f[Se+1]),j[Se]=a(O[Se],O[Se+1]);return function(ct){var Qt=Sh(f,ct,1,x)-1;return j[Qt](V[Qt](ct))}}function T1(f,O){return O.domain(f.domain()).range(f.range()).interpolate(f.interpolate()).clamp(f.clamp()).unknown(f.unknown())}function P2(){return function Ul(){var x,V,j,ct,Qt,Kt,f=o3,O=o3,a=Wn,Se=$r;function ui(){var wi=Math.min(f.length,O.length);return Se!==$r&&(Se=function O2(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])),ct=wi>2?n0:sl,Qt=Kt=null,bi}function bi(wi){return null==wi||isNaN(wi=+wi)?j:(Qt||(Qt=ct(f.map(x),O,a)))(x(Se(wi)))}return bi.invert=function(wi){return Se(V((Kt||(Kt=ct(O,f.map(x),zr)))(wi)))},bi.domain=function(wi){return arguments.length?(f=Array.from(wi,Th),ui()):f.slice()},bi.range=function(wi){return arguments.length?(O=Array.from(wi),ui()):O.slice()},bi.rangeRound=function(wi){return O=Array.from(wi),a=Eh,ui()},bi.clamp=function(wi){return arguments.length?(Se=!!wi||$r,ui()):Se!==$r},bi.interpolate=function(wi){return arguments.length?(a=wi,ui()):a},bi.unknown=function(wi){return arguments.length?(j=wi,bi):j},function(wi,Ai){return x=wi,V=Ai,ui()}}()($r,$r)}function ol(f,O){switch(arguments.length){case 0:break;case 1:this.range(f);break;default:this.range(O).domain(f)}return this}var H2,R2=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Zl(f){if(!(O=R2.exec(f)))throw new Error("invalid format: "+f);var O;return new Fo({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 Fo(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 ll(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=ll(Math.abs(f)))?f[1]:NaN}function s0(f,O){var a=ll(f,O);if(!a)return f+"";var x=a[0],V=a[1];return V<0?"0."+new Array(-V).join("0")+x:x.length>V+1?x.slice(0,V+1)+"."+x.slice(V+1):x+new Array(V-x.length+2).join("0")}Zl.prototype=Fo.prototype,Fo.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 o0={"%":(f,O)=>(100*f).toFixed(O),b:f=>Math.round(f).toString(2),c:f=>f+"",d:function a0(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)=>s0(100*f,O),r:s0,s:function F2(f,O){var a=ll(f,O);if(!a)return f+"";var x=a[0],V=a[1],j=V-(H2=3*Math.max(-8,Math.min(8,Math.floor(V/3))))+1,Se=x.length;return j===Se?x:j>Se?x+new Array(j-Se+1).join("0"):j>0?x.slice(0,j)+"."+x.slice(j):"0."+new Array(1-j).join("0")+ll(f,Math.max(0,O+j-1))[0]},X:f=>Math.round(f).toString(16).toUpperCase(),x:f=>Math.round(f).toString(16)};function z2(f){return f}var D1,I1,dl,Pc=Array.prototype.map,c0=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function Dh(f){var O=f.domain;return f.ticks=function(a){var x=O();return function rh(f,O,a){var x,j,Se,ct,V=-1;if(a=+a,(f=+f)==(O=+O)&&a>0)return[f];if((x=O<f)&&(j=f,f=O,O=j),0===(ct=qc(f,O,a))||!isFinite(ct))return[];if(ct>0){let Qt=Math.round(f/ct),Kt=Math.round(O/ct);for(Qt*ct<f&&++Qt,Kt*ct>O&&--Kt,Se=new Array(j=Kt-Qt+1);++V<j;)Se[V]=(Qt+V)*ct}else{ct=-ct;let Qt=Math.round(f*ct),Kt=Math.round(O*ct);for(Qt/ct<f&&++Qt,Kt/ct>O&&--Kt,Se=new Array(j=Kt-Qt+1);++V<j;)Se[V]=(Qt+V)/ct}return x&&Se.reverse(),Se}(x[0],x[x.length-1],a??10)},f.tickFormat=function(a,x){var V=O();return function V2(f,O,a,x){var j,V=Jc(f,O,a);switch((x=Zl(x??",f")).type){case"s":var Se=Math.max(Math.abs(f),Math.abs(O));return null==x.precision&&!isNaN(j=function Ah(f,O){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(zo(O)/3)))-zo(Math.abs(f)))}(V,Se))&&(x.precision=j),dl(x,Se);case"":case"e":case"g":case"p":case"r":null==x.precision&&!isNaN(j=function d0(f,O){return f=Math.abs(f),O=Math.abs(O)-f,Math.max(0,zo(O)-zo(f))+1}(V,Math.max(Math.abs(f),Math.abs(O))))&&(x.precision=j-("e"===x.type));break;case"f":case"%":null==x.precision&&!isNaN(j=function h0(f){return Math.max(0,-zo(Math.abs(f)))}(V))&&(x.precision=j-2*("%"===x.type))}return I1(x)}(V[0],V[V.length-1],a??10,x)},f.nice=function(a){null==a&&(a=10);var Qt,Kt,x=O(),V=0,j=x.length-1,Se=x[V],ct=x[j],ui=10;for(ct<Se&&(Kt=Se,Se=ct,ct=Kt,Kt=V,V=j,j=Kt);ui-- >0;){if((Kt=qc(Se,ct,a))===Qt)return x[V]=Se,x[j]=ct,O(x);if(Kt>0)Se=Math.floor(Se/Kt)*Kt,ct=Math.ceil(ct/Kt)*Kt;else{if(!(Kt<0))break;Se=Math.ceil(Se*Kt)/Kt,ct=Math.floor(ct*Kt)/Kt}Qt=Kt}return f},f}function ks(){var f=P2();return f.copy=function(){return T1(f,ks())},ol.apply(f,arguments),Dh(f)}function u0(f,O,a){f=+f,O=+O,a=(V=arguments.length)<2?(O=f,f=0,1):V<3?1:+a;for(var x=-1,V=0|Math.max(0,Math.ceil((O-f)/a)),j=new Array(V);++x<V;)j[x]=f+x*a;return j}!function l0(f){D1=function Lh(f){var O=void 0===f.grouping||void 0===f.thousands?z2:function L1(f,O){return function(a,x){for(var V=a.length,j=[],Se=0,ct=f[0],Qt=0;V>0&&ct>0&&(Qt+ct+1>x&&(ct=Math.max(1,x-Qt)),j.push(a.substring(V-=ct,V+ct)),!((Qt+=ct+1)>x));)ct=f[Se=(Se+1)%f.length];return j.reverse().join(O)}}(Pc.call(f.grouping,Number),f.thousands+""),a=void 0===f.currency?"":f.currency[0]+"",x=void 0===f.currency?"":f.currency[1]+"",V=void 0===f.decimal?".":f.decimal+"",j=void 0===f.numerals?z2:function Wl(f){return function(O){return O.replace(/[0-9]/g,function(a){return f[+a]})}}(Pc.call(f.numerals,String)),Se=void 0===f.percent?"%":f.percent+"",ct=void 0===f.minus?"\u2212":f.minus+"",Qt=void 0===f.nan?"NaN":f.nan+"";function Kt(bi){var wi=(bi=Zl(bi)).fill,Ai=bi.align,an=bi.sign,vn=bi.symbol,Li=bi.zero,fn=bi.width,bn=bi.comma,pn=bi.precision,Un=bi.trim,Hn=bi.type;"n"===Hn?(bn=!0,Hn="g"):o0[Hn]||(void 0===pn&&(pn=12),Un=!0,Hn="g"),(Li||"0"===wi&&"="===Ai)&&(Li=!0,wi="0",Ai="=");var Sn="$"===vn?a:"#"===vn&&/[boxX]/.test(Hn)?"0"+Hn.toLowerCase():"",la="$"===vn?x:/[%p]/.test(Hn)?Se:"",Pr=o0[Hn],Rs=/[defgprs%]/.test(Hn);function da(An){var Nr,Xa,ta,Ja=Sn,fr=la;if("c"===Hn)fr=Pr(An)+fr,An="";else{var Rr=(An=+An)<0||1/An<0;if(An=isNaN(An)?Qt:Pr(Math.abs(An),pn),Un&&(An=function Oc(f){e:for(var V,O=f.length,a=1,x=-1;a<O;++a)switch(f[a]){case".":x=V=a;break;case"0":0===x&&(x=a),V=a;break;default:if(!+f[a])break e;x>0&&(x=0)}return x>0?f.slice(0,x)+f.slice(V+1):f}(An)),Rr&&0==+An&&"+"!==an&&(Rr=!1),Ja=(Rr?"("===an?an:ct:"-"===an||"("===an?"":an)+Ja,fr=("s"===Hn?c0[8+H2/3]:"")+fr+(Rr&&"("===an?")":""),Rs)for(Nr=-1,Xa=An.length;++Nr<Xa;)if(48>(ta=An.charCodeAt(Nr))||ta>57){fr=(46===ta?V+An.slice(Nr+1):An.slice(Nr))+fr,An=An.slice(0,Nr);break}}bn&&!Li&&(An=O(An,1/0));var Hs=Ja.length+An.length+fr.length,Er=Hs<fn?new Array(fn-Hs+1).join(wi):"";switch(bn&&Li&&(An=O(Er+An,Er.length?fn-fr.length:1/0),Er=""),Ai){case"<":An=Ja+An+fr+Er;break;case"=":An=Ja+Er+An+fr;break;case"^":An=Er.slice(0,Hs=Er.length>>1)+Ja+An+fr+Er.slice(Hs);break;default:An=Er+Ja+An+fr}return j(An)}return pn=void 0===pn?6:/[gprs]/.test(Hn)?Math.max(1,Math.min(21,pn)):Math.max(0,Math.min(20,pn)),da.toString=function(){return bi+""},da}return{format:Kt,formatPrefix:function ui(bi,wi){var Ai=Kt(((bi=Zl(bi)).type="f",bi)),an=3*Math.max(-8,Math.min(8,Math.floor(zo(wi)/3))),vn=Math.pow(10,-an),Li=c0[8+an/3];return function(fn){return Ai(vn*fn)+Li}}}}(f),I1=D1.format,dl=D1.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});const go=Symbol("implicit");function Qa(){var f=new Map,O=[],a=[],x=go;function V(j){var Se=j+"",ct=f.get(Se);if(!ct){if(x!==go)return x;f.set(Se,ct=O.push(j))}return a[(ct-1)%a.length]}return V.domain=function(j){if(!arguments.length)return O.slice();O=[],f=new Map;for(const Se of j){const ct=Se+"";f.has(ct)||f.set(ct,O.push(Se))}return V},V.range=function(j){return arguments.length?(a=Array.from(j),V):a.slice()},V.unknown=function(j){return arguments.length?(x=j,V):x},V.copy=function(){return Qa(O,a).unknown(x)},ol.apply(V,arguments),V}function Yl(){var j,Se,f=Qa().unknown(void 0),O=f.domain,a=f.range,x=0,V=1,ct=!1,Qt=0,Kt=0,ui=.5;function bi(){var wi=O().length,Ai=V<x,an=Ai?V:x,vn=Ai?x:V;j=(vn-an)/Math.max(1,wi-Qt+2*Kt),ct&&(j=Math.floor(j)),an+=(vn-an-j*(wi-Qt))*ui,Se=j*(1-Qt),ct&&(an=Math.round(an),Se=Math.round(Se));var Li=u0(wi).map(function(fn){return an+j*fn});return a(Ai?Li.reverse():Li)}return delete f.unknown,f.domain=function(wi){return arguments.length?(O(wi),bi()):O()},f.range=function(wi){return arguments.length?([x,V]=wi,x=+x,V=+V,bi()):[x,V]},f.rangeRound=function(wi){return[x,V]=wi,x=+x,V=+V,ct=!0,bi()},f.bandwidth=function(){return Se},f.step=function(){return j},f.round=function(wi){return arguments.length?(ct=!!wi,bi()):ct},f.padding=function(wi){return arguments.length?(Qt=Math.min(1,Kt=+wi),bi()):Qt},f.paddingInner=function(wi){return arguments.length?(Qt=Math.min(1,wi),bi()):Qt},f.paddingOuter=function(wi){return arguments.length?(Kt=+wi,bi()):Kt},f.align=function(wi){return arguments.length?(ui=Math.max(0,Math.min(1,wi)),bi()):ui},f.copy=function(){return Yl(O(),[x,V]).round(ct).paddingInner(Qt).paddingOuter(Kt).align(ui)},ol.apply(bi(),arguments)}function m0(f,O,a=Xr){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,V=(x-1)*O,j=Math.floor(V),Se=+a(f[j],j,f);return Se+(+a(f[j+1],j+1,f)-Se)*(V-j)}}function B2(){var x,f=[],O=[],a=[];function V(){var Se=0,ct=Math.max(1,O.length);for(a=new Array(ct-1);++Se<ct;)a[Se-1]=m0(f,Se/ct);return j}function j(Se){return null==Se||isNaN(Se=+Se)?x:O[Sh(a,Se)]}return j.invertExtent=function(Se){var ct=O.indexOf(Se);return ct<0?[NaN,NaN]:[ct>0?a[ct-1]:f[0],ct<a.length?a[ct]:f[f.length-1]]},j.domain=function(Se){if(!arguments.length)return f.slice();f=[];for(let ct of Se)null!=ct&&!isNaN(ct=+ct)&&f.push(ct);return f.sort(o2),V()},j.range=function(Se){return arguments.length?(O=Array.from(Se),V()):O.slice()},j.unknown=function(Se){return arguments.length?(x=Se,j):x},j.quantiles=function(){return a.slice()},j.copy=function(){return B2().domain(f).range(O).unknown(x)},ol.apply(j,arguments)}var Ih=m(5126);const k1=["caretElm"];function U2(f,O){}const kh=function(f){return{model:f}};function G2(f,O){if(1&f&&(t.TgZ(0,"span"),t.YNc(1,U2,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,kh,a.context))}}function hl(f,O){if(1&f&&t._UZ(0,"span",6),2&f){const a=t.oxw();t.Q6J("innerHTML",a.title,t.oJD)}}function Oh(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 Ph(f,O){if(1&f){const a=t.EpF();t.TgZ(0,"li",6)(1,"ngx-charts-legend-entry",7),t.NdJ("select",function(V){t.CHM(a);const j=t.oxw();return t.KtG(j.labelClick.emit(V))})("activate",function(V){t.CHM(a);const j=t.oxw();return t.KtG(j.activate(V))})("deactivate",function(V){t.CHM(a);const j=t.oxw();return t.KtG(j.deactivate(V))}),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 p0(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 Nh(f,O){if(1&f){const a=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"ngx-charts-legend",5),t.NdJ("labelClick",function(V){t.CHM(a);const j=t.oxw();return t.KtG(j.legendLabelClick.emit(V))})("labelActivate",function(V){t.CHM(a);const j=t.oxw();return t.KtG(j.legendLabelActivate.emit(V))})("labelDeactivate",function(V){t.CHM(a);const j=t.oxw();return t.KtG(j.legendLabelDeactivate.emit(V))}),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 Z2=["*"],Rh=["ngx-charts-axis-label",""],O1=["ticksel"],ul=["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 Hh(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 g0(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Hh,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 P1=["ngx-charts-x-axis",""];function W2(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("dimensionsChanged",function(V){t.CHM(a);const j=t.oxw();return t.KtG(j.emitTicksHeight(V))}),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 _0(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 Fh=["ngx-charts-y-axis-ticks",""];function v0(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 b0(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 jl(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 y0(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 zh(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,jl,1,1,"line",8),t.YNc(2,y0,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 Vh(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,zh,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 x0(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 C0(f,O){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,x0,3,4,"g",7),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngIf",a.showRefLines)}}const Bh=["ngx-charts-y-axis",""];function Uh(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("dimensionsChanged",function(V){t.CHM(a);const j=t.oxw();return t.KtG(j.emitTicksWidth(V))}),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 w0(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 Gh=["ngx-charts-svg-linear-gradient",""];function fl(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 K2=["ngx-charts-grid-panel",""],S0=["ngx-charts-grid-panel-series",""];function E0(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 Zt=["tooltipTemplate"],hn=function(f,O){return[f,O]},Aa=".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",X2=["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",""],qh=["ngx-charts-series-vertical",""];function Jh(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("select",function(V){t.CHM(a);const j=t.oxw(2);return t.KtG(j.onClick(V))})("activate",function(V){t.CHM(a);const j=t.oxw(2);return t.KtG(j.activate.emit(V))})("deactivate",function(V){t.CHM(a);const j=t.oxw(2);return t.KtG(j.deactivate.emit(V))}),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,Jh,1,22,"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",2),t.NdJ("select",function(V){t.CHM(a);const j=t.oxw(2);return t.KtG(j.onClick(V))})("activate",function(V){t.CHM(a);const j=t.oxw(2);return t.KtG(j.activate.emit(V))})("deactivate",function(V){t.CHM(a);const j=t.oxw(2);return t.KtG(j.deactivate.emit(V))}),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,h3,1,20,"g",1),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngForOf",a.bars)("ngForTrackBy",a.trackBy)}}function u3(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",4),t.NdJ("dimensionsChanged",function(V){const Se=t.CHM(a).index,ct=t.oxw(2);return t.KtG(ct.dataLabelHeightChanged.emit({size:V,index:Se}))}),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,u3,1,7,"g",3),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngForOf",a.barsForDataLabels)("ngForTrackBy",a.trackDataLabelBy)}}function f3(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",5),t.NdJ("dimensionsChanged",function(V){t.CHM(a);const j=t.oxw();return t.KtG(j.updateXAxisHeight(V))}),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 Xh(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",6),t.NdJ("dimensionsChanged",function(V){t.CHM(a);const j=t.oxw();return t.KtG(j.updateYAxisWidth(V))}),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(V){t.CHM(a);const j=t.oxw();return t.KtG(j.updateXAxisHeight(V))}),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 $h(f,O){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",7),t.NdJ("dimensionsChanged",function(V){t.CHM(a);const j=t.oxw();return t.KtG(j.updateYAxisWidth(V))}),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(V){const Se=t.CHM(a).$implicit,ct=t.oxw(2);return t.KtG(ct.onClick(V,Se))})("activate",function(V){const Se=t.CHM(a).$implicit,ct=t.oxw(2);return t.KtG(ct.onActivate(V,Se))})("deactivate",function(V){const Se=t.CHM(a).$implicit,ct=t.oxw(2);return t.KtG(ct.onDeactivate(V,Se))})("dataLabelHeightChanged",function(V){const Se=t.CHM(a).index,ct=t.oxw(2);return t.KtG(ct.onDataLabelMaxHeightChanged(V,Se))}),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(V){const Se=t.CHM(a).$implicit,ct=t.oxw(2);return t.KtG(ct.onClick(V,Se))})("activate",function(V){const Se=t.CHM(a).$implicit,ct=t.oxw(2);return t.KtG(ct.onActivate(V,Se))})("deactivate",function(V){const Se=t.CHM(a).$implicit,ct=t.oxw(2);return t.KtG(ct.onDeactivate(V,Se))})("dataLabelHeightChanged",function(V){const Se=t.CHM(a).index,ct=t.oxw(2);return t.KtG(ct.onDataLabelMaxHeightChanged(V,Se))}),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 Wo(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 uu(f,O,a){a=a||{};let x,V,j,Se=null,ct=0;function Qt(){ct=!1===a.leading?0:+new Date,Se=null,j=f.apply(x,V)}return function(){const Kt=+new Date;!ct&&!1===a.leading&&(ct=Kt);const ui=O-(Kt-ct);return x=this,V=arguments,ui<=0?(clearTimeout(Se),Se=null,ct=Kt,j=f.apply(x,V)):!Se&&!1!==a.trailing&&(Se=setTimeout(Qt,ui)),j}}function fu(f,O){return function(x,V,j){return{configurable:!0,enumerable:j.enumerable,get:function(){return Object.defineProperty(this,V,{configurable:!0,enumerable:j.enumerable,value:uu(j.value,f,O)}),this[V]}}}}var jn=(()=>{return(f=jn||(jn={})).Top="top",f.Bottom="bottom",f.Left="left",f.Right="right",f.Center="center",jn;var f})();function H0(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 mu(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 Ks{static calculateVerticalAlignment(O,a,x){let V=H0(O,a,x);return V+a.height>window.innerHeight&&(V=window.innerHeight-a.height),V}static calculateVerticalCaret(O,a,x,V){let j;V===jn.Top&&(j=O.height/2-x.height/2+7),V===jn.Bottom&&(j=a.height-O.height/2-x.height/2-7),V===jn.Center&&(j=a.height/2-x.height/2);const Se=H0(O,a,V);return Se+a.height>window.innerHeight&&(j+=Se+a.height-window.innerHeight),j}static calculateHorizontalAlignment(O,a,x){let V=mu(O,a,x);return V+a.width>window.innerWidth&&(V=window.innerWidth-a.width),V}static calculateHorizontalCaret(O,a,x,V){let j;V===jn.Left&&(j=O.width/2-x.width/2+7),V===jn.Right&&(j=a.width-O.width/2-x.width/2-7),V===jn.Center&&(j=a.width/2-x.width/2);const Se=mu(O,a,V);return Se+a.width>window.innerWidth&&(j+=Se+a.width-window.innerWidth),j}static shouldFlip(O,a,x,V){let j=!1;return x===jn.Right&&O.left+O.width+a.width+V>window.innerWidth&&(j=!0),x===jn.Left&&O.left-a.width-V<0&&(j=!0),x===jn.Top&&O.top-a.height-V<0&&(j=!0),x===jn.Bottom&&O.top+O.height+a.height+V>window.innerHeight&&(j=!0),j}static positionCaret(O,a,x,V,j){let Se=0,ct=0;return O===jn.Right?(ct=-7,Se=Ks.calculateVerticalCaret(x,a,V,j)):O===jn.Left?(ct=a.width,Se=Ks.calculateVerticalCaret(x,a,V,j)):O===jn.Top?(Se=a.height,ct=Ks.calculateHorizontalCaret(x,a,V,j)):O===jn.Bottom&&(Se=-7,ct=Ks.calculateHorizontalCaret(x,a,V,j)),{top:Se,left:ct}}static positionContent(O,a,x,V,j){let Se=0,ct=0;return O===jn.Right?(ct=x.left+x.width+V,Se=Ks.calculateVerticalAlignment(x,a,j)):O===jn.Left?(ct=x.left-a.width-V,Se=Ks.calculateVerticalAlignment(x,a,j)):O===jn.Top?(Se=x.top-a.height-V,ct=Ks.calculateHorizontalAlignment(x,a,j)):O===jn.Bottom&&(Se=x.top+x.height+V,ct=Ks.calculateHorizontalAlignment(x,a,j)),{top:Se,left:ct}}static determinePlacement(O,a,x,V){if(Ks.shouldFlip(x,a,O,V)){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 P3=(()=>{class f{constructor(a,x,V){this.element=a,this.renderer=x,this.platformId=V}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 V=a.getBoundingClientRect();this.checkFlip(x,V),this.positionContent(a,x,V),this.showCaret&&this.positionCaret(x,V),setTimeout(()=>this.renderer.addClass(a,"animate"),1)}positionContent(a,x,V){const{top:j,left:Se}=Ks.positionContent(this.placement,V,x,this.spacing,this.alignment);this.renderer.setStyle(a,"top",`${j}px`),this.renderer.setStyle(a,"left",`${Se}px`)}positionCaret(a,x){const V=this.caretElm.nativeElement,j=V.getBoundingClientRect(),{top:Se,left:ct}=Ks.positionCaret(this.placement,x,a,j,this.alignment);this.renderer.setStyle(V,"top",`${Se}px`),this.renderer.setStyle(V,"left",`${ct}px`)}checkFlip(a,x){this.placement=Ks.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(k1,5),2&a){let V;t.iGM(V=t.CRH())&&(x.caretElm=V.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,G2,2,4,"span",3),t.YNc(5,hl,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,g.gn)([fu(100)],f.prototype,"onWindowResize",null),f})();class N3{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,V){this.applicationRef=a,this.componentFactoryResolver=x,this.injector=V}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 F0(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 V=Object.getOwnPropertyNames(x.inputs);for(const j of V)a.instance[j]=x.inputs[j]}if(void 0!==x.outputs){const V=Object.getOwnPropertyNames(x.outputs);for(const j of V)a.instance[j]=x.outputs[j]}}return a}appendComponent(a,x={},V){V||(V=this.getRootViewContainer());const j=this.getComponentRootNode(V),Se=new k.u0(j,this.componentFactoryResolver,this.applicationRef,this.injector),ct=new k.C5(a),Qt=Se.attach(ct);return this.projectComponentBindings(Qt,x),Qt}}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})(),z0=(()=>{class f extends N3{constructor(a){super(a),this.type=P3}}return f.\u0275fac=function(a){return new(a||f)(t.LFG(R3))},f.\u0275prov=t.Yz7({token:f,factory:f.\u0275fac}),f})();var xo=(()=>{return(f=xo||(xo={})).Right="right",f.Below="below",xo;var f})(),uc=(()=>{return(f=uc||(uc={})).ScaleLegend="scaleLegend",f.Legend="legend",uc;var f})(),Cn=(()=>{return(f=Cn||(Cn={})).Time="time",f.Linear="linear",f.Ordinal="ordinal",f.Quantile="quantile",Cn;var f})();let V0=(()=>{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 V=[];return a.reverse().forEach((j,Se)=>{V.push(`${j} ${Math.round(100*x[Se])}%`)}),V.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 pu=(()=>{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})(),U0=(()=>{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 V=Ql(x);-1===a.findIndex(Se=>Se.label===V)&&a.push({label:x,formattedLabel:V,color:this.colors.getColor(x)})}return a}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(V=>a.label===V.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,Oh,3,1,"header",0),t.TgZ(2,"div",1)(3,"ul",2),t.YNc(4,Ph,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:[pu,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})(),G0=(()=>{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=xo,this.LegendType=uc}ngOnChanges(a){this.update()}update(){let a=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===xo.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!==xo.Right?this.chartWidth:Math.floor(this.view[0]*a/12)}getLegendType(){return this.legendOptions.scaleType===Cn.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([z0]),t.TTD],ngContentSelectors:Z2,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,p0,1,5,"ngx-charts-scale-legend",2),t.YNc(4,Nh,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:[V0,U0,e.O5],encapsulation:2,changeDetection:0}),f})(),H3=(()=>{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:V}=this.element.nativeElement;x&&V?(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 gu(f){return"[object Date]"===toString.call(f)}let Yo=(()=>{class f{constructor(a,x,V,j){this.chartElement=a,this.zone=x,this.cd=V,this.platformId=j,this.scheme="cool",this.schemeType=Cn.Ordinal,this.animations=!0,this.select=new t.vpe}ngOnInit(){(0,e.PM)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new H3(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 V=this.chartElement.nativeElement;if((0,e.NF)(this.platformId)&&null!==V.parentNode){const j=V.parentNode.getBoundingClientRect();a=j.width,x=j.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,gu(x.label)&&(x.label=x.label.toLocaleDateString()),x.series)for(let V=0;V<x.series.length;V++){const j=x.series[V];j.label=j.name,gu(j.label)&&(j.label=j.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(V=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=x}cloneData(a){const x=[];for(const V of a){const j={name:V.name};if(void 0!==V.value&&(j.value=V.value),void 0!==V.series){j.series=[];for(const Se of V.series){const ct=Object.assign({},Se);j.series.push(ct)}}void 0!==V.extra&&(j.extra=JSON.parse(JSON.stringify(V.extra))),x.push(j)}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 Ga=(()=>{return(f=Ga||(Ga={})).Top="top",f.Bottom="bottom",f.Left="left",f.Right="right",Ga;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 Ga.Top:case Ga.Bottom:this.y=this.offset,this.x=this.width/2;break;case Ga.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case Ga.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:Rh,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 sd(f,O=16){return"string"!=typeof f?"number"==typeof f?f+"":"":(f=f.trim()).length<=O?f:`${f.slice(0,O)}...`}function gl(f,O){if(f.length>O){const a=[],x=Math.floor(f.length/O);for(let V=0;V<f.length;V++)V%x==0&&a.push(f[V]);f=a}return f}var Qs=(()=>{return(f=Qs||(Qs={})).Start="start",f.Middle="middle",f.End="end",Qs;var f})();let _u=(()=>{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=Qs.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(V){return"Date"===V.constructor.name?V.toLocaleDateString():V.toLocaleString()};const x=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(V){return this.scale(V)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",x&&0!==x?(this.textTransform=`rotate(${x})`,this.textAnchor=Qs.End,this.verticalSpacing=10):this.textAnchor=Qs.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(a){let x=0;this.maxTicksLength=0;for(let Kt=0;Kt<a.length;Kt++){const ui=this.tickFormat(a[Kt]).toString();let bi=ui.length;this.trimTicks&&(bi=this.tickTrim(ui).length),bi>this.maxTicksLength&&(this.maxTicksLength=bi)}const Se=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let ct=Se;const Qt=Math.floor(this.width/a.length);for(;ct>Qt&&x>-90;)x-=30,ct=Math.cos(x*(Math.PI/180))*Se;return this.approxHeight=Math.max(Math.abs(Math.sin(x*(Math.PI/180))*Se),10),x}getTicks(){let a;const x=this.getMaxTicks(20),V=this.getMaxTicks(100);return this.tickValues?a=this.tickValues:this.scale.ticks?a=this.scale.ticks.apply(this.scale,[V]):(a=this.scale.domain(),a=gl(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?sd(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(O1,5),2&a){let V;t.iGM(V=t.CRH())&&(x.ticksElement=V.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:ul,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,g0,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})(),W0=(()=>{class f{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=Ga.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=Ga}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(_u,5),2&a){let V;t.iGM(V=t.CRH())&&(x.ticksComponent=V.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:P1,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,W2,1,12,"g",0),t.YNc(2,_0,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:[_u,F3,e.O5],encapsulation:2,changeDetection:0}),f})();function ql(f,O,a,x,V,[j,Se,ct,Qt]){let Kt="";return Kt=`M${[f+V,O]}`,Kt+="h"+((a=0===(a=Math.floor(a))?1:a)-2*V),Kt+=Se?`a${[V,V]} 0 0 1 ${[V,V]}`:`h${V}v${V}`,Kt+="v"+((x=0===(x=Math.floor(x))?1:x)-2*V),Kt+=Qt?`a${[V,V]} 0 0 1 ${[-V,V]}`:`v${V}h${-V}`,Kt+="h"+(2*V-a),Kt+=ct?`a${[V,V]} 0 0 1 ${[-V,-V]}`:`h${-V}v${-V}`,Kt+="v"+(2*V-x),Kt+=j?`a${[V,V]} 0 0 1 ${[V,-V]}`:`v${-V}h${V}`,Kt+="z",Kt}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=Qs.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=Ga}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===Ga.Top||this.orient===Ga.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(V){return"Date"===V.constructor.name?V.toLocaleDateString():V.toLocaleString()},this.adjustedScale=a.bandwidth?function(V){return a(V)+.5*a.bandwidth()}:a,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case Ga.Top:case Ga.Bottom:this.transform=function(V){return"translate("+this.adjustedScale(V)+",0)"},this.textAnchor=Qs.Middle,this.y2=this.innerTickSize*x,this.y1=this.tickSpacing*x,this.dy=x<0?"0em":".71em";break;case Ga.Left:this.transform=function(V){return"translate(0,"+this.adjustedScale(V)+")"},this.textAnchor=Qs.End,this.x2=this.innerTickSize*-x,this.x1=this.tickSpacing*-x,this.dy=".32em";break;case Ga.Right:this.transform=function(V){return"translate(0,"+this.adjustedScale(V)+")"},this.textAnchor=Qs.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=ql(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let a;const x=this.getMaxTicks(20),V=this.getMaxTicks(50);return this.tickValues?a=this.tickValues:this.scale.ticks?a=this.scale.ticks.apply(this.scale,[V]):(a=this.scale.domain(),a=gl(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?sd(a,this.maxTickLength):a}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(V=>this.tickTrim(this.tickFormat(V)).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(O1,5),2&a){let V;t.iGM(V=t.CRH())&&(x.ticksElement=V.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:Fh,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,v0,5,9,"g",1),t.qZA(),t.YNc(3,b0,1,2,"path",2),t.YNc(4,Vh,2,2,"g",3),t.YNc(5,C0,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})(),z3=(()=>{class f{constructor(){this.showGridLines=!1,this.yOrient=Ga.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===Ga.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===Ga.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 V;t.iGM(V=t.CRH())&&(x.ticksComponent=V.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:Bh,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,Uh,1,14,"g",0),t.YNc(2,w0,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})(),vu=(()=>{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 _l=(()=>{return(f=_l||(_l={})).popover="popover",f.tooltip="tooltip",_l;var f})(),vl=(()=>{return(f=vl||(vl={}))[f.all="all"]="all",f[f.focus="focus"]="focus",f[f.mouseover="mouseover"]="mouseover",vl;var f})();let La=(()=>{class f{constructor(a,x,V){this.tooltipService=a,this.viewContainerRef=x,this.renderer=V,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=jn.Top,this.tooltipAlignment=jn.Center,this.tooltipType=_l.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=vl.all,this.tooltipImmediateExit=!1,this.show=new t.vpe,this.hide=new t.vpe}get listensForFocus(){return this.tooltipShowEvent===vl.all||this.tooltipShowEvent===vl.focus}get listensForHover(){return this.tooltipShowEvent===vl.all||this.tooltipShowEvent===vl.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 V=this.createBoundOptions();this.component=this.tooltipService.create(V),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(z0),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(j){return x.onMouseLeave(j.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})(),Y0=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({providers:[R3,z0],imports:[[e.ez]]}),f})();const V3={};function Z1(){let f=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return f=`a${f}`,V3[f]?Z1():(V3[f]=!0,f)}var ca=(()=>{return(f=ca||(ca={})).Vertical="vertical",f.Horizontal="horizontal",ca;var f})();let j0=(()=>{class f{constructor(){this.orientation=ca.Vertical}ngOnChanges(a){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===ca.Horizontal?this.x2="100%":this.orientation===ca.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:Gh,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,fl,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})(),bu=(()=>{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:K2,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 Y1=(()=>{return(f=Y1||(Y1={})).Odd="odd",f.Even="even",Y1;var f})();let wu,yu=(()=>{class f{ngOnChanges(a){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(a=>{let x,V,j,Se,ct,Qt=Y1.Odd;if(this.orient===ca.Vertical){const Kt=this.xScale(a.name);Number.parseInt((Kt/this.xScale.step()).toString(),10)%2==1&&(Qt=Y1.Even),x=this.xScale.bandwidth()*this.xScale.paddingInner(),V=this.xScale.bandwidth()+x,j=this.dims.height,Se=this.xScale(a.name)-x/2,ct=0}else if(this.orient===ca.Horizontal){const Kt=this.yScale(a.name);Number.parseInt((Kt/this.yScale.step()).toString(),10)%2==1&&(Qt=Y1.Even),x=this.yScale.bandwidth()*this.yScale.paddingInner(),V=this.dims.width,j=this.yScale.bandwidth()+x,Se=0,ct=this.yScale(a.name)-x/2}return{name:a.name,class:Qt,height:j,width:V,x:Se,y:ct}})}}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:S0,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,E0,1,10,"g",0),2&a&&t.Q6J("ngForOf",x.gridPanels)},dependencies:[bu,e.sg],encapsulation:2,changeDetection:0}),f})();typeof window<"u"?wu=window:typeof global<"u"&&(wu=global);let wo=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[e.ez,vu,Y0],e.ez,vu,Y0]}),f})();function Su({width:f,height:O,margins:a,showXAxis:x=!1,showYAxis:V=!1,xAxisHeight:j=0,yAxisWidth:Se=0,showXLabel:ct=!1,showYLabel:Qt=!1,showLegend:Kt=!1,legendType:ui=Cn.Ordinal,legendPosition:bi=xo.Right,columns:wi=12}){let Ai=a[3],an=f,vn=O-a[0]-a[2];return Kt&&bi===xo.Right&&(wi-=ui===Cn.Ordinal?2:1),an=an*wi/12,an=an-a[1]-a[3],x&&(vn-=5,vn-=j,ct&&(vn-=30)),V&&(an-=5,an-=Se,Ai+=Se,Ai+=10,Qt&&(an-=30,Ai+=30)),an=Math.max(0,an),vn=Math.max(0,vn),{width:Math.floor(an),height:Math.floor(vn),xOffset:Math.floor(Ai)}}const B3=[{name:"vivid",selectable:!0,group:Cn.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:Cn.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:Cn.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:Cn.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:Cn.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:Cn.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:Cn.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:Cn.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:Cn.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:Cn.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:Cn.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:Cn.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:Cn.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:Cn.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:Cn.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class U3{constructor(O,a,x,V){"string"==typeof O&&(O=B3.find(j=>j.name===O)),this.colorDomain=O.domain,this.scaleType=a,this.domain=x,this.customColors=V,this.scale=this.generateColorScheme(O,a,this.domain)}generateColorScheme(O,a,x){let V;switch("string"==typeof O&&(O=B3.find(j=>j.name===O)),a){case Cn.Quantile:V=B2().range(O.domain).domain(x);break;case Cn.Ordinal:V=Qa().range(O.domain).domain(x);break;case Cn.Linear:{const j=[...O.domain];1===j.length&&(j.push(j[0]),this.colorDomain=j);const Se=u0(0,1,1/j.length);V=ks().range(j).domain(Se)}}return V}getColor(O){if(null==O)throw new Error("Value can not be null");if(this.scaleType===Cn.Linear){const a=ks().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(V=>V.name.toLowerCase()===a.toLowerCase())),x?x.value:this.scale(O)}}getLinearGradientStops(O,a){void 0===a&&(a=this.domain[0]);const x=ks().domain(this.domain).range([0,1]),V=Yl().domain(this.colorDomain).range([0,1]),j=this.getColor(O),Se=x(a),ct=this.getColor(a),Qt=x(O);let Kt=1,ui=Se;const bi=[];for(bi.push({color:ct,offset:Se,originalOffset:Se,opacity:1});ui<Qt&&Kt<this.colorDomain.length;){const wi=this.colorDomain[Kt],Ai=V(wi);if(Ai<=Se)Kt++;else{if(Ai.toFixed(4)>=(Qt-V.bandwidth()).toFixed(4))break;bi.push({color:wi,offset:Ai,opacity:1}),ui=Ai,Kt++}}if(bi[bi.length-1].offset<100&&bi.push({color:j,offset:Qt,opacity:1}),Qt===Se)bi[0].offset=0,bi[1].offset=100;else if(100!==bi[bi.length-1].offset)for(const wi of bi)wi.offset=(wi.offset-Se)/(Qt-Se)*100;return bi}}let W3=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[wo]]}),f})(),Q0=(()=>{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"+Z1().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 Et(f){return"string"==typeof f?new Gt([[document.querySelector(f)]],[document.documentElement]):new Gt([[f]],Gi)}(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===ca.Vertical?(a=Math.min(this.height,a),x=ql(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===ca.Horizontal&&(a=Math.min(this.width,a),x=ql(this.x,this.y,1,this.height,0,this.edges)):this.orientation===ca.Vertical?x=ql(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===ca.Horizontal&&(x=ql(this.x,this.y,1,this.height,0,this.edges)),x}getPath(){let x,a=this.getRadius();return this.roundEdges?this.orientation===ca.Vertical?(a=Math.min(this.height,a),x=ql(this.x,this.y,this.width,this.height,a,this.edges)):this.orientation===ca.Horizontal&&(a=Math.min(this.width,a),x=ql(this.x,this.y,this.width,this.height,a,this.edges)):x=ql(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===ca.Vertical?a=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===ca.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===ca.Vertical&&0===this.height||this.orientation===ca.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:X2,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:[j0,e.O5],encapsulation:2,changeDetection:0}),f})();var ro=(()=>{return(f=ro||(ro={})).Standard="standard",f.Normalized="normalized",f.Stacked="stacked",ro;var f})(),Ko=(()=>{return(f=Ko||(Ko={})).positive="positive",f.negative="negative",Ko;var f})();let Au=(()=>{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})(),Lu=(()=>{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=ca,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),V={[Ko.positive]:0,[Ko.negative]:0};let Se,j=Ko.positive;this.type===ro.Normalized&&(Se=this.series.map(ct=>ct.value).reduce((ct,Qt)=>ct+Qt,0)),this.bars=this.series.map((ct,Qt)=>{let Kt=ct.value;const ui=this.getLabel(ct),bi=Ql(ui);j=Kt>0?Ko.positive:Ko.negative;const Ai={value:Kt,label:ui,roundEdges:this.roundEdges,data:ct,width:a,formattedLabel:bi,height:0,x:0,y:0};if(this.type===ro.Standard)Ai.height=Math.abs(this.yScale(Kt)-this.yScale(x)),Ai.x=this.xScale(ui),Ai.y=this.yScale(Kt<0?0:Kt);else if(this.type===ro.Stacked){const vn=V[j],Li=vn+Kt;V[j]+=Kt,Ai.height=this.yScale(vn)-this.yScale(Li),Ai.x=0,Ai.y=this.yScale(Li),Ai.offset0=vn,Ai.offset1=Li}else if(this.type===ro.Normalized){let vn=V[j],Li=vn+Kt;V[j]+=Kt,Se>0?(vn=100*vn/Se,Li=100*Li/Se):(vn=0,Li=0),Ai.height=this.yScale(vn)-this.yScale(Li),Ai.x=0,Ai.y=this.yScale(Li),Ai.offset0=vn,Ai.offset1=Li,Kt=(Li-vn).toFixed(2)+"%"}this.colors.scaleType===Cn.Ordinal?Ai.color=this.colors.getColor(ui):this.type===ro.Standard?(Ai.color=this.colors.getColor(Kt),Ai.gradientStops=this.colors.getLinearGradientStops(Kt)):(Ai.color=this.colors.getColor(Ai.offset1),Ai.gradientStops=this.colors.getLinearGradientStops(Ai.offset1,Ai.offset0));let an=bi;return Ai.ariaLabel=bi+" "+Kt.toLocaleString(),null!=this.seriesName&&(an=`${this.seriesName} \u2022 ${bi}`,Ai.data.series=this.seriesName,Ai.ariaLabel=this.seriesName+" "+Ai.ariaLabel),Ai.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${function B0(f){return f.toLocaleString().replace(/[&'`"<>]/g,O=>({"&":"&","'":"'","`":"`",'"':""","<":"<",">":">"}[O]))}(an)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(Kt):Kt.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(j=>j.value).reduce((j,Se)=>Se>0?j+Se:j,0),V=this.series.map(j=>j.value).reduce((j,Se)=>Se<0?j+Se:j,0);a.total=x+V,a.x=0,a.y=0,a.height=this.yScale(a.total>0?x:V),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:_l.tooltip}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(V=>a.name===V.name&&a.value===V.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:qh,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:[Q0,Au,e.O5,e.sg,La],encapsulation:2,data:{animation:[(0,h.X$)("animationState",[(0,h.eR)(":leave",[(0,h.oB)({opacity:1}),(0,h.jt)(500,(0,h.oB)({opacity:0}))])])]},changeDetection:0}),f})(),Q3=(()=>{class f extends Yo{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=xo.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=Su({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 Yl().range([0,this.dims.width]).paddingInner(a).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const a=ks().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(j=>j.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 V=this.yScaleMax?Math.max(this.yScaleMax,...a):Math.max(0,...a);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(V=Math.max(V,...this.yAxisTicks)),[x,V]}onClick(a){this.select.emit(a)}setColors(){let a;a=this.schemeType===Cn.Ordinal?this.xDomain:this.yDomain,this.colors=new U3(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===Cn.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(j=>x?j.label===a.name:j.name===a.name),!(this.activeEntries.findIndex(j=>j.name===a.name&&j.value===a.value&&j.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(j=>x?j.label===a.name:j.name===a.name);const V=this.activeEntries.findIndex(j=>j.name===a.name&&j.value===a.value&&j.series===a.series);this.activeEntries.splice(V,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,V){if(1&a&&t.Suo(V,Zt,5),2&a){let j;t.iGM(j=t.CRH())&&(x.tooltipTemplate=j.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(j){return x.onClick(j)})("legendLabelActivate",function(j){return x.onActivate(j,!0)})("legendLabelDeactivate",function(j){return x.onDeactivate(j,!0)}),t.O4$(),t.TgZ(1,"g",1),t.YNc(2,f3,1,11,"g",2),t.YNc(3,Xh,1,9,"g",3),t.TgZ(4,"g",4),t.NdJ("activate",function(j){return x.onActivate(j)})("deactivate",function(j){return x.onDeactivate(j)})("select",function(j){return x.onClick(j)})("dataLabelHeightChanged",function(j){return x.onDataLabelMaxHeightChanged(j)}),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:[G0,W0,z3,Lu,e.O5],styles:[Aa],encapsulation:2,changeDetection:0}),f})(),mf=(()=>{class f extends Yo{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=xo.Right,this.tooltipDisabled=!1,this.scaleType=Cn.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=ca,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=Su({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 Yl().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 Yl().rangeRound([0,a]).paddingInner(x).domain(this.innerDomain)}getValueScale(){const a=ks().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 V of x.series)a.includes(V.label)||a.push(V.label);return a}getValueDomain(){const a=[];for(const j of this.results)for(const Se of j.series)a.includes(Se.value)||a.push(Se.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===Cn.Ordinal?this.innerDomain:this.valueDomain,this.colors=new U3(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===Cn.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,V=!1){const j=Object.assign({},a);x&&(j.series=x.name);const Se=this.results.map(ct=>ct.series).flat().filter(ct=>V?ct.label===j.name:ct.name===j.name&&ct.series===j.series);this.activeEntries=[...Se],this.activate.emit({value:j,entries:this.activeEntries})}onDeactivate(a,x,V=!1){const j=Object.assign({},a);x&&(j.series=x.name),this.activeEntries=this.activeEntries.filter(Se=>V?Se.label!==j.name:!(Se.name===j.name&&Se.series===j.series)),this.deactivate.emit({value:j,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,V){if(1&a&&t.Suo(V,Zt,5),2&a){let j;t.iGM(j=t.CRH())&&(x.tooltipTemplate=j.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(j){return x.onActivate(j,void 0,!0)})("legendLabelDeactivate",function(j){return x.onDeactivate(j,void 0,!0)})("legendLabelClick",function(j){return x.onClick(j)}),t.O4$(),t.TgZ(1,"g",1),t._UZ(2,"g",2),t.YNc(3,D4,1,10,"g",3),t.YNc(4,$h,1,9,"g",4),t.YNc(5,k4,2,2,"g",5),t.qZA(),t.YNc(6,Wo,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:[G0,yu,W0,z3,Lu,e.O5,e.sg],styles:[Aa],encapsulation:2,data:{animation:[(0,h.X$)("animationState",[(0,h.eR)(":leave",[(0,h.oB)({opacity:1,transform:"*"}),(0,h.jt)(500,(0,h.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:[[wo]]}),f})();Ih();let _f=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[wo]]}),f})(),yf=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[wo]]}),f})(),J3=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[wo]]}),f})(),Du=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[wo]]}),f})();Math;let q0=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[wo]]}),f})(),Ou=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[wo,q0,Du]]}),f})(),J0=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[wo]]}),f})(),Nu=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[wo]]}),f})(),kf=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[wo,q0,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:[wo,W3,q3,_f,yf,J3,Du,Ou,J0,q0,Nu,kf]}),f})()},658:(ze,K,m)=>{"use strict";function t(A,w,R,E,U,Y,Q){try{var X=A[Y](Q),$=X.value}catch(fe){return void R(fe)}X.done?w($):Promise.resolve($).then(E,U)}m.d(K,{uU:()=>I,OF:()=>S});var g=m(4650),k=m(6895),o=m(3259);function C(A,w){if(1&A&&g._UZ(0,"canvas",1),2&A){const R=g.oxw();g.Q6J("qrCode",R.value)("qrCodeErrorCorrectionLevel",R.errorCorrectionLevel)("qrCodeCenterImageSrc",R.centerImageSrc)("qrCodeCenterImageWidth",R.centerImageSize)("qrCodeCenterImageHeight",R.centerImageSize)("qrCodeMargin",R.margin)("width",R.size)("height",R.size)("darkColor",R.darkColor)("lightColor",R.lightColor)}}const h=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;let P=(()=>{class A{constructor(R){this.viewContainerRef=R,this.errorCorrectionLevel=A.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var R=this;return function e(A){return function(){var w=this,R=arguments;return new Promise(function(E,U){var Y=A.apply(w,R);function Q($){t(Y,E,U,Q,X,"next",$)}function X($){t(Y,E,U,Q,X,"throw",$)}Q(void 0)})}}(function*(){if(!R.value)return;R.version&&R.version>40?(console.warn("[qrCode] max version is 40, clamping"),R.version=40):R.version&&R.version<1?(console.warn("[qrCode] min version is 1, clamping"),R.version=1):void 0!==R.version&&isNaN(R.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),R.version=void 0);const E=R.viewContainerRef.element.nativeElement;if(!E)return;const U=E.getContext("2d");U&&U.clearRect(0,0,U.canvas.width,U.canvas.height);const Y=R.errorCorrectionLevel??A.DEFAULT_ERROR_CORRECTION_LEVEL,Q=h.test(R.darkColor)?R.darkColor:void 0,X=h.test(R.lightColor)?R.lightColor:void 0;(0,g.X6Q)()&&(!Q&&R.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!X&&R.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield o.toCanvas(E,R.value,{version:R.version,errorCorrectionLevel:Y,width:R.width,margin:R.margin,color:{dark:Q,light:X}});const $=R.centerImageSrc,fe=u(R.centerImageWidth,A.DEFAULT_CENTER_IMAGE_SIZE),re=u(R.centerImageHeight,A.DEFAULT_CENTER_IMAGE_SIZE);if($&&U){R.centerImage||(R.centerImage=new Image(fe,re));const ee=R.centerImage;$!==R.centerImage.src&&(ee.src=$),fe!==R.centerImage.width&&(ee.width=fe),re!==R.centerImage.height&&(ee.height=re);const ce=()=>{U.drawImage(ee,E.width/2-fe/2,E.height/2-re/2,fe,re)};ee.onload=ce,ee.complete&&ce()}})()}}return A.DEFAULT_ERROR_CORRECTION_LEVEL="M",A.DEFAULT_CENTER_IMAGE_SIZE=40,A.\u0275fac=function(R){return new(R||A)(g.Y36(g.s_b))},A.\u0275dir=g.lG2({type:A,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:[g.TTD]}),A})();function u(A,w){return void 0===A||""===A?w:"string"==typeof A?parseInt(A,10):A}let I=(()=>{class A{}return A.\u0275fac=function(R){return new(R||A)},A.\u0275cmp=g.Xpm({type:A,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(R,E){1&R&&g.YNc(0,C,1,10,"canvas",0),2&R&&g.Q6J("ngIf",E.value)},dependencies:[k.O5,P],encapsulation:2}),A})(),S=(()=>{class A{}return A.\u0275fac=function(R){return new(R||A)},A.\u0275mod=g.oAB({type:A}),A.\u0275inj=g.cJS({imports:[k.ez]}),A})()},6839:(ze,K,m)=>{"use strict";m.d(K,{op:()=>bt,Vv:()=>ni,$V:()=>st,Xd:()=>ti});var t=m(7579),e=m(4968),g=m(6451),k=m(3601),o=m(2722),C=m(1884),h=m(9718),P=m(4650),u=m(6895);function I(dt){return getComputedStyle(dt)}function S(dt,at){for(var _t in at){var ai=at[_t];"number"==typeof ai&&(ai+="px"),dt.style[_t]=ai}return dt}function A(dt){var at=document.createElement("div");return at.className=dt,at}var w=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function R(dt,at){if(!w)throw new Error("No element matching method supported");return w.call(dt,at)}function E(dt){dt.remove?dt.remove():dt.parentNode&&dt.parentNode.removeChild(dt)}function U(dt,at){return Array.prototype.filter.call(dt.children,function(_t){return R(_t,at)})}var Y_element_thumb=function(dt){return"ps__thumb-"+dt},Y_element_rail=function(dt){return"ps__rail-"+dt},Y_element_consuming="ps__child--consume",Y_state_focus="ps--focus",Y_state_clicking="ps--clicking",Y_state_active=function(dt){return"ps--active-"+dt},Y_state_scrolling=function(dt){return"ps--scrolling-"+dt},Q={x:null,y:null};function X(dt,at){var _t=dt.element.classList,ai=Y_state_scrolling(at);_t.contains(ai)?clearTimeout(Q[at]):_t.add(ai)}function $(dt,at){Q[at]=setTimeout(function(){return dt.isAlive&&dt.element.classList.remove(Y_state_scrolling(at))},dt.settings.scrollingThreshold)}var re=function(at){this.element=at,this.handlers={}},ee={isEmpty:{configurable:!0}};re.prototype.bind=function(at,_t){typeof this.handlers[at]>"u"&&(this.handlers[at]=[]),this.handlers[at].push(_t),this.element.addEventListener(at,_t,!1)},re.prototype.unbind=function(at,_t){var ai=this;this.handlers[at]=this.handlers[at].filter(function(Bt){return!(!_t||Bt===_t)||(ai.element.removeEventListener(at,Bt,!1),!1)})},re.prototype.unbindAll=function(){for(var at in this.handlers)this.unbind(at)},ee.isEmpty.get=function(){var dt=this;return Object.keys(this.handlers).every(function(at){return 0===dt.handlers[at].length})},Object.defineProperties(re.prototype,ee);var ce=function(){this.eventElements=[]};function se(dt){if("function"==typeof window.CustomEvent)return new CustomEvent(dt);var at=document.createEvent("CustomEvent");return at.initCustomEvent(dt,!1,!1,void 0),at}function le(dt,at,_t,ai,Bt){var zt;if(void 0===ai&&(ai=!0),void 0===Bt&&(Bt=!1),"top"===at)zt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==at)throw new Error("A proper axis should be provided");zt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function L(dt,at,_t,ai,Bt){var zt=_t[0],Nt=_t[1],je=_t[2],Fe=_t[3],Ye=_t[4],qe=_t[5];void 0===ai&&(ai=!0),void 0===Bt&&(Bt=!1);var Tt=dt.element;dt.reach[Fe]=null,Tt[je]<1&&(dt.reach[Fe]="start"),Tt[je]>dt[zt]-dt[Nt]-1&&(dt.reach[Fe]="end"),at&&(Tt.dispatchEvent(se("ps-scroll-"+Fe)),at<0?Tt.dispatchEvent(se("ps-scroll-"+Ye)):at>0&&Tt.dispatchEvent(se("ps-scroll-"+qe)),ai&&function fe(dt,at){X(dt,at),$(dt,at)}(dt,Fe)),dt.reach[Fe]&&(at||Bt)&&Tt.dispatchEvent(se("ps-"+Fe+"-reach-"+dt.reach[Fe]))}(dt,_t,zt,ai,Bt)}function i(dt){return parseInt(dt,10)||0}ce.prototype.eventElement=function(at){var _t=this.eventElements.filter(function(ai){return ai.element===at})[0];return _t||(_t=new re(at),this.eventElements.push(_t)),_t},ce.prototype.bind=function(at,_t,ai){this.eventElement(at).bind(_t,ai)},ce.prototype.unbind=function(at,_t,ai){var Bt=this.eventElement(at);Bt.unbind(_t,ai),Bt.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(Bt),1)},ce.prototype.unbindAll=function(){this.eventElements.forEach(function(at){return at.unbindAll()}),this.eventElements=[]},ce.prototype.once=function(at,_t,ai){var Bt=this.eventElement(at),zt=function(Nt){Bt.unbind(_t,zt),ai(Nt)};Bt.bind(_t,zt)};var c={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 b(dt){var at=dt.element,_t=Math.floor(at.scrollTop),ai=at.getBoundingClientRect();dt.containerWidth=Math.round(ai.width),dt.containerHeight=Math.round(ai.height),dt.contentWidth=at.scrollWidth,dt.contentHeight=at.scrollHeight,at.contains(dt.scrollbarXRail)||(U(at,Y_element_rail("x")).forEach(function(Bt){return E(Bt)}),at.appendChild(dt.scrollbarXRail)),at.contains(dt.scrollbarYRail)||(U(at,Y_element_rail("y")).forEach(function(Bt){return E(Bt)}),at.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=T(dt,i(dt.railXWidth*dt.containerWidth/dt.contentWidth)),dt.scrollbarXLeft=i((dt.negativeScrollAdjustment+at.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=T(dt,i(dt.railYHeight*dt.containerHeight/dt.contentHeight)),dt.scrollbarYTop=i(_t*(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 N(dt,at){var _t={width:at.railXWidth},ai=Math.floor(dt.scrollTop);_t.left=at.isRtl?at.negativeScrollAdjustment+dt.scrollLeft+at.containerWidth-at.contentWidth:dt.scrollLeft,at.isScrollbarXUsingBottom?_t.bottom=at.scrollbarXBottom-ai:_t.top=at.scrollbarXTop+ai,S(at.scrollbarXRail,_t);var Bt={top:ai,height:at.railYHeight};at.isScrollbarYUsingRight?Bt.right=at.isRtl?at.contentWidth-(at.negativeScrollAdjustment+dt.scrollLeft)-at.scrollbarYRight-at.scrollbarYOuterWidth-9:at.scrollbarYRight-dt.scrollLeft:Bt.left=at.isRtl?at.negativeScrollAdjustment+dt.scrollLeft+2*at.containerWidth-at.contentWidth-at.scrollbarYLeft-at.scrollbarYOuterWidth:at.scrollbarYLeft+dt.scrollLeft,S(at.scrollbarYRail,Bt),S(at.scrollbarX,{left:at.scrollbarXLeft,width:at.scrollbarXWidth-at.railBorderXWidth}),S(at.scrollbarY,{top:at.scrollbarYTop,height:at.scrollbarYHeight-at.railBorderYWidth})}(at,dt),dt.scrollbarXActive?at.classList.add(Y_state_active("x")):(at.classList.remove(Y_state_active("x")),dt.scrollbarXWidth=0,dt.scrollbarXLeft=0,at.scrollLeft=!0===dt.isRtl?dt.contentWidth:0),dt.scrollbarYActive?at.classList.add(Y_state_active("y")):(at.classList.remove(Y_state_active("y")),dt.scrollbarYHeight=0,dt.scrollbarYTop=0,at.scrollTop=0)}function T(dt,at){return dt.settings.minScrollbarLength&&(at=Math.max(at,dt.settings.minScrollbarLength)),dt.settings.maxScrollbarLength&&(at=Math.min(at,dt.settings.maxScrollbarLength)),at}function y(dt,at){var _t=at[0],ai=at[1],Bt=at[2],zt=at[3],Nt=at[4],je=at[5],Fe=at[6],Ye=at[7],qe=at[8],Tt=dt.element,mi=null,Ti=null,xi=null;function Fi(be){be.touches&&be.touches[0]&&(be[Bt]=be.touches[0].pageY),Tt[Fe]=mi+xi*(be[Bt]-Ti),X(dt,Ye),b(dt),be.stopPropagation(),be.type.startsWith("touch")&&be.changedTouches.length>1&&be.preventDefault()}function Je(){$(dt,Ye),dt[qe].classList.remove(Y_state_clicking),dt.event.unbind(dt.ownerDocument,"mousemove",Fi)}function wt(be,Pt){mi=Tt[Fe],Pt&&be.touches&&(be[Bt]=be.touches[0].pageY),Ti=be[Bt],xi=(dt[ai]-dt[_t])/(dt[zt]-dt[je]),Pt?dt.event.bind(dt.ownerDocument,"touchmove",Fi):(dt.event.bind(dt.ownerDocument,"mousemove",Fi),dt.event.once(dt.ownerDocument,"mouseup",Je),be.preventDefault()),dt[qe].classList.add(Y_state_clicking),be.stopPropagation()}dt.event.bind(dt[Nt],"mousedown",function(be){wt(be)}),dt.event.bind(dt[Nt],"touchstart",function(be){wt(be,!0)})}var Ve={"click-rail":function v(dt){dt.event.bind(dt.scrollbarY,"mousedown",function(_t){return _t.stopPropagation()}),dt.event.bind(dt.scrollbarYRail,"mousedown",function(_t){var ai=_t.pageY-window.pageYOffset-dt.scrollbarYRail.getBoundingClientRect().top;dt.element.scrollTop+=(ai>dt.scrollbarYTop?1:-1)*dt.containerHeight,b(dt),_t.stopPropagation()}),dt.event.bind(dt.scrollbarX,"mousedown",function(_t){return _t.stopPropagation()}),dt.event.bind(dt.scrollbarXRail,"mousedown",function(_t){var ai=_t.pageX-window.pageXOffset-dt.scrollbarXRail.getBoundingClientRect().left;dt.element.scrollLeft+=(ai>dt.scrollbarXLeft?1:-1)*dt.containerWidth,b(dt),_t.stopPropagation()})},"drag-thumb":function n(dt){y(dt,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),y(dt,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function B(dt){var at=dt.element;dt.event.bind(dt.ownerDocument,"keydown",function(zt){if(!(zt.isDefaultPrevented&&zt.isDefaultPrevented()||zt.defaultPrevented)&&(R(at,":hover")||R(dt.scrollbarX,":focus")||R(dt.scrollbarY,":focus"))){var Nt=document.activeElement?document.activeElement:dt.ownerDocument.activeElement;if(Nt){if("IFRAME"===Nt.tagName)Nt=Nt.contentDocument.activeElement;else for(;Nt.shadowRoot;)Nt=Nt.shadowRoot.activeElement;if(function r(dt){return R(dt,"input,[contenteditable]")||R(dt,"select,[contenteditable]")||R(dt,"textarea,[contenteditable]")||R(dt,"button,[contenteditable]")}(Nt))return}var je=0,Fe=0;switch(zt.which){case 37:je=zt.metaKey?-dt.contentWidth:zt.altKey?-dt.containerWidth:-30;break;case 38:Fe=zt.metaKey?dt.contentHeight:zt.altKey?dt.containerHeight:30;break;case 39:je=zt.metaKey?dt.contentWidth:zt.altKey?dt.containerWidth:30;break;case 40:Fe=zt.metaKey?-dt.contentHeight:zt.altKey?-dt.containerHeight:-30;break;case 32:Fe=zt.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||(at.scrollTop-=Fe,at.scrollLeft+=je,b(dt),function Bt(zt,Nt){var je=Math.floor(at.scrollTop);if(0===zt){if(!dt.scrollbarYActive)return!1;if(0===je&&Nt>0||je>=dt.contentHeight-dt.containerHeight&&Nt<0)return!dt.settings.wheelPropagation}var Fe=at.scrollLeft;if(0===Nt){if(!dt.scrollbarXActive)return!1;if(0===Fe&&zt<0||Fe>=dt.contentWidth-dt.containerWidth&&zt>0)return!dt.settings.wheelPropagation}return!0}(je,Fe)&&zt.preventDefault())}})},wheel:function z(dt){var at=dt.element;function zt(Nt){var je=function ai(Nt){var je=Nt.deltaX,Fe=-1*Nt.deltaY;return(typeof je>"u"||typeof Fe>"u")&&(je=-1*Nt.wheelDeltaX/6,Fe=Nt.wheelDeltaY/6),Nt.deltaMode&&1===Nt.deltaMode&&(je*=10,Fe*=10),je!=je&&Fe!=Fe&&(je=0,Fe=Nt.wheelDelta),Nt.shiftKey?[-Fe,-je]:[je,Fe]}(Nt),Fe=je[0],Ye=je[1];if(!function Bt(Nt,je,Fe){if(!c.isWebKit&&at.querySelector("select:focus"))return!0;if(!at.contains(Nt))return!1;for(var Ye=Nt;Ye&&Ye!==at;){if(Ye.classList.contains(Y_element_consuming))return!0;var qe=I(Ye);if(Fe&&qe.overflowY.match(/(scroll|auto)/)){var Tt=Ye.scrollHeight-Ye.clientHeight;if(Tt>0&&(Ye.scrollTop>0&&Fe<0||Ye.scrollTop<Tt&&Fe>0))return!0}if(je&&qe.overflowX.match(/(scroll|auto)/)){var mi=Ye.scrollWidth-Ye.clientWidth;if(mi>0&&(Ye.scrollLeft>0&&je<0||Ye.scrollLeft<mi&&je>0))return!0}Ye=Ye.parentNode}return!1}(Nt.target,Fe,Ye)){var qe=!1;dt.settings.useBothWheelAxes?dt.scrollbarYActive&&!dt.scrollbarXActive?(Ye?at.scrollTop-=Ye*dt.settings.wheelSpeed:at.scrollTop+=Fe*dt.settings.wheelSpeed,qe=!0):dt.scrollbarXActive&&!dt.scrollbarYActive&&(Fe?at.scrollLeft+=Fe*dt.settings.wheelSpeed:at.scrollLeft-=Ye*dt.settings.wheelSpeed,qe=!0):(at.scrollTop-=Ye*dt.settings.wheelSpeed,at.scrollLeft+=Fe*dt.settings.wheelSpeed),b(dt),qe=qe||function _t(Nt,je){var Fe=Math.floor(at.scrollTop),Ye=0===at.scrollTop,qe=Fe+at.offsetHeight===at.scrollHeight,Tt=0===at.scrollLeft,mi=at.scrollLeft+at.offsetWidth===at.scrollWidth;return!(Math.abs(je)>Math.abs(Nt)?Ye||qe:Tt||mi)||!dt.settings.wheelPropagation}(Fe,Ye),qe&&!Nt.ctrlKey&&(Nt.stopPropagation(),Nt.preventDefault())}}typeof window.onwheel<"u"?dt.event.bind(at,"wheel",zt):typeof window.onmousewheel<"u"&&dt.event.bind(at,"mousewheel",zt)},touch:function W(dt){if(c.supportsTouch||c.supportsIePointer){var at=dt.element,Bt={},zt=0,Nt={},je=null;c.supportsTouch?(dt.event.bind(at,"touchstart",qe),dt.event.bind(at,"touchmove",mi),dt.event.bind(at,"touchend",Ti)):c.supportsIePointer&&(window.PointerEvent?(dt.event.bind(at,"pointerdown",qe),dt.event.bind(at,"pointermove",mi),dt.event.bind(at,"pointerup",Ti)):window.MSPointerEvent&&(dt.event.bind(at,"MSPointerDown",qe),dt.event.bind(at,"MSPointerMove",mi),dt.event.bind(at,"MSPointerUp",Ti)))}function ai(xi,Fi){at.scrollTop-=Fi,at.scrollLeft-=xi,b(dt)}function Fe(xi){return xi.targetTouches?xi.targetTouches[0]:xi}function Ye(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 qe(xi){if(Ye(xi)){var Fi=Fe(xi);Bt.pageX=Fi.pageX,Bt.pageY=Fi.pageY,zt=(new Date).getTime(),null!==je&&clearInterval(je)}}function mi(xi){if(Ye(xi)){var Fi=Fe(xi),Je={pageX:Fi.pageX,pageY:Fi.pageY},wt=Je.pageX-Bt.pageX,be=Je.pageY-Bt.pageY;if(function Tt(xi,Fi,Je){if(!at.contains(xi))return!1;for(var wt=xi;wt&&wt!==at;){if(wt.classList.contains(Y_element_consuming))return!0;var be=I(wt);if(Je&&be.overflowY.match(/(scroll|auto)/)){var Pt=wt.scrollHeight-wt.clientHeight;if(Pt>0&&(wt.scrollTop>0&&Je<0||wt.scrollTop<Pt&&Je>0))return!0}if(Fi&&be.overflowX.match(/(scroll|auto)/)){var qt=wt.scrollWidth-wt.clientWidth;if(qt>0&&(wt.scrollLeft>0&&Fi<0||wt.scrollLeft<qt&&Fi>0))return!0}wt=wt.parentNode}return!1}(xi.target,wt,be))return;ai(wt,be),Bt=Je;var Pt=(new Date).getTime(),qt=Pt-zt;qt>0&&(Nt.x=wt/qt,Nt.y=be/qt,zt=Pt),function _t(xi,Fi){var Je=Math.floor(at.scrollTop),wt=at.scrollLeft,be=Math.abs(xi),Pt=Math.abs(Fi);if(Pt>be){if(Fi<0&&Je===dt.contentHeight-dt.containerHeight||Fi>0&&0===Je)return 0===window.scrollY&&Fi>0&&c.isChrome}else if(be>Pt&&(xi<0&&wt===dt.contentWidth-dt.containerWidth||xi>0&&0===wt))return!0;return!0}(wt,be)&&xi.preventDefault()}}function Ti(){dt.settings.swipeEasing&&(clearInterval(je),je=setInterval(function(){dt.isInitialized?clearInterval(je):Nt.x||Nt.y?Math.abs(Nt.x)<.01&&Math.abs(Nt.y)<.01?clearInterval(je):dt.element?(ai(30*Nt.x,30*Nt.y),Nt.x*=.8,Nt.y*=.8):clearInterval(je):clearInterval(je)},10))}}},Ke=function(at,_t){var ai=this;if(void 0===_t&&(_t={}),"string"==typeof at&&(at=document.querySelector(at)),!at||!at.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var Bt in this.element=at,at.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},_t)this.settings[Bt]=_t[Bt];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var qe,Ye,zt=function(){return at.classList.add(Y_state_focus)},Nt=function(){return at.classList.remove(Y_state_focus)};this.isRtl="rtl"===I(at).direction,!0===this.isRtl&&at.classList.add("ps__rtl"),this.isNegativeScroll=(Ye=at.scrollLeft,at.scrollLeft=-1,qe=at.scrollLeft<0,at.scrollLeft=Ye,qe),this.negativeScrollAdjustment=this.isNegativeScroll?at.scrollWidth-at.clientWidth:0,this.event=new ce,this.ownerDocument=at.ownerDocument||document,this.scrollbarXRail=A(Y_element_rail("x")),at.appendChild(this.scrollbarXRail),this.scrollbarX=A(Y_element_thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",zt),this.event.bind(this.scrollbarX,"blur",Nt),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var je=I(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),S(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=i(je.marginLeft)+i(je.marginRight),S(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=A(Y_element_rail("y")),at.appendChild(this.scrollbarYRail),this.scrollbarY=A(Y_element_thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",zt),this.event.bind(this.scrollbarY,"blur",Nt),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var Fe=I(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 d(dt){var at=I(dt);return i(at.width)+i(at.paddingLeft)+i(at.paddingRight)+i(at.borderLeftWidth)+i(at.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=i(Fe.borderTopWidth)+i(Fe.borderBottomWidth),S(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=i(Fe.marginTop)+i(Fe.marginBottom),S(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:at.scrollLeft<=0?"start":at.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:at.scrollTop<=0?"start":at.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Ye){return Ve[Ye](ai)}),this.lastScrollTop=Math.floor(at.scrollTop),this.lastScrollLeft=at.scrollLeft,this.event.bind(this.element,"scroll",function(Ye){return ai.onScroll(Ye)}),b(this)};Ke.prototype.update=function(){!this.isAlive||(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,S(this.scrollbarXRail,{display:"block"}),S(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=i(I(this.scrollbarXRail).marginLeft)+i(I(this.scrollbarXRail).marginRight),this.railYMarginHeight=i(I(this.scrollbarYRail).marginTop)+i(I(this.scrollbarYRail).marginBottom),S(this.scrollbarXRail,{display:"none"}),S(this.scrollbarYRail,{display:"none"}),b(this),le(this,"top",0,!1,!0),le(this,"left",0,!1,!0),S(this.scrollbarXRail,{display:""}),S(this.scrollbarYRail,{display:""}))},Ke.prototype.onScroll=function(at){!this.isAlive||(b(this),le(this,"top",this.element.scrollTop-this.lastScrollTop),le(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Ke.prototype.destroy=function(){!this.isAlive||(this.event.unbindAll(),E(this.scrollbarX),E(this.scrollbarY),E(this.scrollbarXRail),E(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Ke.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(at){return!at.match(/^ps([-_].+|)$/)}).join(" ")};const $e=Ke;var Ae=function(){if(typeof Map<"u")return Map;function dt(at,_t){var ai=-1;return at.some(function(Bt,zt){return Bt[0]===_t&&(ai=zt,!0)}),ai}return function(){function at(){this.__entries__=[]}return Object.defineProperty(at.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),at.prototype.get=function(_t){var ai=dt(this.__entries__,_t),Bt=this.__entries__[ai];return Bt&&Bt[1]},at.prototype.set=function(_t,ai){var Bt=dt(this.__entries__,_t);~Bt?this.__entries__[Bt][1]=ai:this.__entries__.push([_t,ai])},at.prototype.delete=function(_t){var ai=this.__entries__,Bt=dt(ai,_t);~Bt&&ai.splice(Bt,1)},at.prototype.has=function(_t){return!!~dt(this.__entries__,_t)},at.prototype.clear=function(){this.__entries__.splice(0)},at.prototype.forEach=function(_t,ai){void 0===ai&&(ai=null);for(var Bt=0,zt=this.__entries__;Bt<zt.length;Bt++){var Nt=zt[Bt];_t.call(ai,Nt[1],Nt[0])}},at}()}(),ue=typeof window<"u"&&typeof document<"u"&&window.document===document,ye=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),we="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(ye):function(dt){return setTimeout(function(){return dt(Date.now())},1e3/60)},oe=["top","right","bottom","left","width","height","size","weight"],me=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 it(dt,at){var _t=!1,ai=!1,Bt=0;function zt(){_t&&(_t=!1,dt()),ai&&je()}function Nt(){we(zt)}function je(){var Fe=Date.now();if(_t){if(Fe-Bt<2)return;ai=!0}else _t=!0,ai=!1,setTimeout(Nt,at);Bt=Fe}return je}(this.refresh.bind(this),20)}return dt.prototype.addObserver=function(at){~this.observers_.indexOf(at)||this.observers_.push(at),this.connected_||this.connect_()},dt.prototype.removeObserver=function(at){var _t=this.observers_,ai=_t.indexOf(at);~ai&&_t.splice(ai,1),!_t.length&&this.connected_&&this.disconnect_()},dt.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},dt.prototype.updateObservers_=function(){var at=this.observers_.filter(function(_t){return _t.gatherActive(),_t.hasActive()});return at.forEach(function(_t){return _t.broadcastActive()}),at.length>0},dt.prototype.connect_=function(){!ue||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),me?(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(){!ue||!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(at){var _t=at.propertyName,ai=void 0===_t?"":_t;oe.some(function(zt){return!!~ai.indexOf(zt)})&&this.refresh()},dt.getInstance=function(){return this.instance_||(this.instance_=new dt),this.instance_},dt.instance_=null,dt}(),Ze=function(dt,at){for(var _t=0,ai=Object.keys(at);_t<ai.length;_t++){var Bt=ai[_t];Object.defineProperty(dt,Bt,{value:at[Bt],enumerable:!1,writable:!1,configurable:!0})}return dt},Ue=function(dt){return dt&&dt.ownerDocument&&dt.ownerDocument.defaultView||ye},q=mt(0,0,0,0);function de(dt){return parseFloat(dt)||0}function Ee(dt){for(var at=[],_t=1;_t<arguments.length;_t++)at[_t-1]=arguments[_t];return at.reduce(function(ai,Bt){return ai+de(dt["border-"+Bt+"-width"])},0)}var Ct=typeof SVGGraphicsElement<"u"?function(dt){return dt instanceof Ue(dt).SVGGraphicsElement}:function(dt){return dt instanceof Ue(dt).SVGElement&&"function"==typeof dt.getBBox};function Xt(dt){return ue?Ct(dt)?function ie(dt){var at=dt.getBBox();return mt(0,0,at.width,at.height)}(dt):function nt(dt){var at=dt.clientWidth,_t=dt.clientHeight;if(!at&&!_t)return q;var ai=Ue(dt).getComputedStyle(dt),Bt=function ke(dt){for(var _t={},ai=0,Bt=["top","right","bottom","left"];ai<Bt.length;ai++){var zt=Bt[ai];_t[zt]=de(dt["padding-"+zt])}return _t}(ai),zt=Bt.left+Bt.right,Nt=Bt.top+Bt.bottom,je=de(ai.width),Fe=de(ai.height);if("border-box"===ai.boxSizing&&(Math.round(je+zt)!==at&&(je-=Ee(ai,"left","right")+zt),Math.round(Fe+Nt)!==_t&&(Fe-=Ee(ai,"top","bottom")+Nt)),!function rt(dt){return dt===Ue(dt).document.documentElement}(dt)){var Ye=Math.round(je+zt)-at,qe=Math.round(Fe+Nt)-_t;1!==Math.abs(Ye)&&(je-=Ye),1!==Math.abs(qe)&&(Fe-=qe)}return mt(Bt.left,Bt.top,je,Fe)}(dt):q}function mt(dt,at,_t,ai){return{x:dt,y:at,width:_t,height:ai}}var St=function(){function dt(at){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=mt(0,0,0,0),this.target=at}return dt.prototype.isActive=function(){var at=Xt(this.target);return this.contentRect_=at,at.width!==this.broadcastWidth||at.height!==this.broadcastHeight},dt.prototype.broadcastRect=function(){var at=this.contentRect_;return this.broadcastWidth=at.width,this.broadcastHeight=at.height,at},dt}(),Ie=function dt(at,_t){var ai=function gt(dt){var at=dt.x,_t=dt.y,ai=dt.width,Bt=dt.height,zt=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,Nt=Object.create(zt.prototype);return Ze(Nt,{x:at,y:_t,width:ai,height:Bt,top:_t,right:at+ai,bottom:Bt+_t,left:at}),Nt}(_t);Ze(this,{target:at,contentRect:ai})},He=function(){function dt(at,_t,ai){if(this.activeObservations_=[],this.observations_=new Ae,"function"!=typeof at)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=at,this.controller_=_t,this.callbackCtx_=ai}return dt.prototype.observe=function(at){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(at instanceof Ue(at).Element))throw new TypeError('parameter 1 is not of type "Element".');var _t=this.observations_;_t.has(at)||(_t.set(at,new St(at)),this.controller_.addObserver(this),this.controller_.refresh())}},dt.prototype.unobserve=function(at){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(at instanceof Ue(at).Element))throw new TypeError('parameter 1 is not of type "Element".');var _t=this.observations_;!_t.has(at)||(_t.delete(at),_t.size||this.controller_.removeObserver(this))}},dt.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},dt.prototype.gatherActive=function(){var at=this;this.clearActive(),this.observations_.forEach(function(_t){_t.isActive()&&at.activeObservations_.push(_t)})},dt.prototype.broadcastActive=function(){if(this.hasActive()){var at=this.callbackCtx_,_t=this.activeObservations_.map(function(ai){return new Ie(ai.target,ai.broadcastRect())});this.callback_.call(at,_t,at),this.clearActive()}},dt.prototype.clearActive=function(){this.activeObservations_.splice(0)},dt.prototype.hasActive=function(){return this.activeObservations_.length>0},dt}(),xt=typeof WeakMap<"u"?new WeakMap:new Ae,Pe=function dt(at){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 _t=te.getInstance(),ai=new He(at,_t,this);xt.set(this,ai)};["observe","unobserve","disconnect"].forEach(function(dt){Pe.prototype[dt]=function(){var at;return(at=xt.get(this))[dt].apply(at,arguments)}});const Vt=typeof ye.ResizeObserver<"u"?ye.ResizeObserver:Pe;function Lt(dt,at){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 _t=P.oxw();P.ekj("ps-at-top",_t.states.top)("ps-at-left",_t.states.left)("ps-at-right",_t.states.right)("ps-at-bottom",_t.states.bottom),P.xp6(1),P.ekj("ps-indicator-show",_t.indicatorY&&_t.interaction),P.xp6(1),P.ekj("ps-indicator-show",_t.indicatorX&&_t.interaction),P.xp6(1),P.ekj("ps-indicator-show",_t.indicatorX&&_t.interaction),P.xp6(1),P.ekj("ps-indicator-show",_t.indicatorY&&_t.interaction)}}const Ft=["*"],bt=new P.OlP("PERFECT_SCROLLBAR_CONFIG");class Ce{constructor(at,_t,ai,Bt){this.x=at,this.y=_t,this.w=ai,this.h=Bt}}class J{constructor(at,_t){this.x=at,this.y=_t}}const ve=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Ne{constructor(at={}){this.assign(at)}assign(at={}){for(const _t in at)this[_t]=at[_t]}}let st=(()=>{class dt{constructor(_t,ai,Bt,zt,Nt){this.zone=_t,this.differs=ai,this.elementRef=Bt,this.platformId=zt,this.defaults=Nt,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,u.NF)(this.platformId)){const _t=new Ne(this.defaults);_t.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new $e(this.elementRef.nativeElement,_t)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new Vt(()=>{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 Bt=ai.replace(/([A-Z])/g,zt=>`-${zt.toLowerCase()}`);(0,e.R)(this.elementRef.nativeElement,Bt).pipe((0,k.e)(20),(0,o.R)(this.ngDestroy)).subscribe(zt=>{this[ai].emit(zt)})})})}}ngOnDestroy(){(0,u.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,u.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(_t){_t.disabled&&!_t.disabled.isFirstChange()&&(0,u.NF)(this.platformId)&&_t.disabled.currentValue!==_t.disabled.previousValue&&(!0===_t.disabled.currentValue?this.ngOnDestroy():!1===_t.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(_t="scroll"){return new Ce(this.elementRef.nativeElement[_t+"Left"],this.elementRef.nativeElement[_t+"Top"],this.elementRef.nativeElement[_t+"Width"],this.elementRef.nativeElement[_t+"Height"])}position(_t=!1){return!_t&&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(_t="any"){const ai=this.elementRef.nativeElement;return"any"===_t?ai.classList.contains("ps--active-x")||ai.classList.contains("ps--active-y"):"both"===_t?ai.classList.contains("ps--active-x")&&ai.classList.contains("ps--active-y"):ai.classList.contains("ps--active-"+_t)}scrollTo(_t,ai,Bt){this.disabled||(null==ai&&null==Bt?this.animateScrolling("scrollTop",_t,Bt):(null!=_t&&this.animateScrolling("scrollLeft",_t,Bt),null!=ai&&this.animateScrolling("scrollTop",ai,Bt)))}scrollToX(_t,ai){this.animateScrolling("scrollLeft",_t,ai)}scrollToY(_t,ai){this.animateScrolling("scrollTop",_t,ai)}scrollToTop(_t,ai){this.animateScrolling("scrollTop",_t||0,ai)}scrollToLeft(_t,ai){this.animateScrolling("scrollLeft",_t||0,ai)}scrollToRight(_t,ai){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(_t||0),ai)}scrollToBottom(_t,ai){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(_t||0),ai)}scrollToElement(_t,ai,Bt){if("string"==typeof _t&&(_t=this.elementRef.nativeElement.querySelector(_t)),_t){const zt=_t.getBoundingClientRect(),Nt=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",zt.left-Nt.left+this.elementRef.nativeElement.scrollLeft+(ai||0),Bt),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",zt.top-Nt.top+this.elementRef.nativeElement.scrollTop+(ai||0),Bt)}}animateScrolling(_t,ai,Bt){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!Bt||typeof window>"u")this.elementRef.nativeElement[_t]=ai;else if(ai!==this.elementRef.nativeElement[_t]){let zt=0,Nt=0,je=performance.now(),Fe=this.elementRef.nativeElement[_t];const Ye=(Fe-ai)/2,qe=Tt=>{Nt+=Math.PI/(Bt/(Tt-je)),zt=Math.round(ai+Ye+Ye*Math.cos(Nt)),this.elementRef.nativeElement[_t]===Fe&&(Nt>=Math.PI?this.animateScrolling(_t,ai,0):(this.elementRef.nativeElement[_t]=zt,Fe=this.elementRef.nativeElement[_t],je=Tt,this.animation=window.requestAnimationFrame(qe)))};window.requestAnimationFrame(qe)}}}return dt.\u0275fac=function(_t){return new(_t||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(_t,ai,Bt){this.zone=_t,this.cdRef=ai,this.platformId=Bt,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,u.NF)(this.platformId)&&(this.stateUpdate.pipe((0,o.R)(this.ngDestroy),(0,C.x)((_t,ai)=>_t===ai&&!this.stateTimeout)).subscribe(_t=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===_t||"y"===_t?(this.interaction=!1,"x"===_t?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===_t&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===_t||"right"===_t?(this.states.left=!1,this.states.right=!1,this.states[_t]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===_t||"bottom"===_t)&&(this.states.top=!1,this.states.bottom=!1,this.states[_t]=!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 _t=this.directiveRef.elementRef.nativeElement;(0,e.R)(_t,"wheel").pipe((0,o.R)(this.ngDestroy)).subscribe(ai=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(ai,ai.deltaX,ai.deltaY)}),(0,e.R)(_t,"touchmove").pipe((0,o.R)(this.ngDestroy)).subscribe(ai=>{if(!this.disabled&&this.autoPropagation){const Bt=ai.touches[0].clientX,zt=ai.touches[0].clientY;this.checkPropagation(ai,Bt-this.scrollPositionX,zt-this.scrollPositionY),this.scrollPositionX=Bt,this.scrollPositionY=zt}}),(0,g.T)((0,e.R)(_t,"ps-scroll-x").pipe((0,h.h)("x")),(0,e.R)(_t,"ps-scroll-y").pipe((0,h.h)("y")),(0,e.R)(_t,"ps-x-reach-end").pipe((0,h.h)("right")),(0,e.R)(_t,"ps-y-reach-end").pipe((0,h.h)("bottom")),(0,e.R)(_t,"ps-x-reach-start").pipe((0,h.h)("left")),(0,e.R)(_t,"ps-y-reach-start").pipe((0,h.h)("top"))).pipe((0,o.R)(this.ngDestroy)).subscribe(ai=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(ai)})}}),window.setTimeout(()=>{ve.forEach(_t=>{this.directiveRef&&(this.directiveRef[_t]=this[_t])})},0))}ngOnDestroy(){(0,u.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,u.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const _t=this.directiveRef.elementRef.nativeElement;this.usePropagationX=_t.classList.contains("ps--active-x"),this.usePropagationY=_t.classList.contains("ps--active-y")}}checkPropagation(_t,ai,Bt){this.interaction=!0;const zt=ai<0?-1:1,Nt=Bt<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==zt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==Nt))&&(_t.preventDefault(),_t.stopPropagation()),ai&&(this.scrollDirectionX=zt),Bt&&(this.scrollDirectionY=Nt),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return dt.\u0275fac=function(_t){return new(_t||dt)(P.Y36(P.R0b),P.Y36(P.sBO),P.Y36(P.Lbi))},dt.\u0275cmp=P.Xpm({type:dt,selectors:[["perfect-scrollbar"]],viewQuery:function(_t,ai){if(1&_t&&P.Gf(st,7),2&_t){let Bt;P.iGM(Bt=P.CRH())&&(ai.directiveRef=Bt.first)}},hostVars:4,hostBindings:function(_t,ai){2&_t&&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:Ft,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(_t,ai){1&_t&&(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&_t&&(P.ekj("ps",ai.usePSClass),P.Q6J("perfectScrollbar",ai.config)("disabled",ai.disabled),P.xp6(3),P.Q6J("ngIf",ai.scrollIndicators))},dependencies:[st,u.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(_t){return new(_t||dt)},dt.\u0275mod=P.oAB({type:dt}),dt.\u0275inj=P.cJS({imports:[[u.ez],u.ez]}),dt})()},4946:ze=>{"use strict";ze.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:ze=>{"use strict";ze.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:ze=>{"use strict";ze.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:ze=>{"use strict";ze.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:ze=>{"use strict";ze.exports={i8:"6.5.4"}},2562:ze=>{"use strict";ze.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"}')}},ze=>{ze(ze.s=5415)}]); |