You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RTL/frontend/main.c97f338354d9cdcc.js

1 line
3.1 MiB

(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[179],{234:(Ue,q,p)=>{"use strict";p.d(q,{$A:()=>se,$W:()=>X,BL:()=>H,CX:()=>S,EG:()=>F,EK:()=>E,El:()=>ie,HI:()=>o,HJ:()=>D,Hc:()=>g,I8:()=>R,JK:()=>ct,Lu:()=>W,Ly:()=>fe,Mf:()=>c,Nr:()=>xe,OG:()=>V,QJ:()=>be,RX:()=>I,Rd:()=>Pe,SN:()=>M,Sf:()=>K,TM:()=>l,UH:()=>Ge,UR:()=>O,VD:()=>Ne,W:()=>d,WM:()=>ue,WO:()=>y,Wi:()=>le,X3:()=>te,YP:()=>oe,YX:()=>_,Z8:()=>pe,ZH:()=>De,Zu:()=>at,_9:()=>ot,_E:()=>J,aL:()=>ze,as:()=>b,cQ:()=>i,d7:()=>Ct,dh:()=>ve,e9:()=>ke,eF:()=>P,eM:()=>Le,en:()=>Je,g3:()=>Y,g6:()=>we,i9:()=>xt,kL:()=>L,mI:()=>T,n7:()=>Ye,oV:()=>m,pW:()=>n,pd:()=>u,u0:()=>Qe,uT:()=>et,v_:()=>Oe,wD:()=>C,xS:()=>Q,yl:()=>Ve,z:()=>ae});var e=p(4221),t=p(2154);const g=(0,e.PH)(t.AB.UPDATE_API_CALL_STATUS_CLN,(0,e.Ky)()),T=(0,e.PH)(t.AB.RESET_CLN_STORE,(0,e.Ky)()),c=(0,e.PH)(t.AB.SET_CHILD_NODE_SETTINGS_CLN,(0,e.Ky)()),C=(0,e.PH)(t.AB.FETCH_PAGE_SETTINGS_CLN),u=(0,e.PH)(t.AB.SET_PAGE_SETTINGS_CLN,(0,e.Ky)()),P=(0,e.PH)(t.AB.SAVE_PAGE_SETTINGS_CLN,(0,e.Ky)()),d=(0,e.PH)(t.AB.FETCH_INFO_CLN,(0,e.Ky)()),S=(0,e.PH)(t.AB.SET_INFO_CLN,(0,e.Ky)()),M=(0,e.PH)(t.AB.FETCH_FEES_CLN),I=(0,e.PH)(t.AB.SET_FEES_CLN,(0,e.Ky)()),D=(0,e.PH)(t.AB.FETCH_FEE_RATES_CLN,(0,e.Ky)()),R=(0,e.PH)(t.AB.SET_FEE_RATES_CLN,(0,e.Ky)()),F=(0,e.PH)(t.AB.FETCH_BALANCE_CLN),W=(0,e.PH)(t.AB.SET_BALANCE_CLN,(0,e.Ky)()),Y=(0,e.PH)(t.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),Q=(0,e.PH)(t.AB.SET_LOCAL_REMOTE_BALANCE_CLN,(0,e.Ky)()),J=(0,e.PH)(t.AB.GET_NEW_ADDRESS_CLN,(0,e.Ky)()),X=((0,e.PH)(t.AB.SET_NEW_ADDRESS_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.FETCH_PEERS_CLN)),pe=(0,e.PH)(t.AB.SET_PEERS_CLN,(0,e.Ky)()),ie=(0,e.PH)(t.AB.SAVE_NEW_PEER_CLN,(0,e.Ky)()),te=((0,e.PH)(t.AB.NEWLY_ADDED_PEER_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.ADD_PEER_CLN,(0,e.Ky)())),ae=(0,e.PH)(t.AB.DETACH_PEER_CLN,(0,e.Ky)()),E=(0,e.PH)(t.AB.REMOVE_PEER_CLN,(0,e.Ky)()),i=(0,e.PH)(t.AB.FETCH_PAYMENTS_CLN),o=(0,e.PH)(t.AB.SET_PAYMENTS_CLN,(0,e.Ky)()),m=(0,e.PH)(t.AB.SEND_PAYMENT_CLN,(0,e.Ky)()),l=(0,e.PH)(t.AB.SEND_PAYMENT_STATUS_CLN,(0,e.Ky)()),y=(0,e.PH)(t.AB.GET_QUERY_ROUTES_CLN,(0,e.Ky)()),L=(0,e.PH)(t.AB.SET_QUERY_ROUTES_CLN,(0,e.Ky)()),O=(0,e.PH)(t.AB.FETCH_CHANNELS_CLN),b=(0,e.PH)(t.AB.SET_CHANNELS_CLN,(0,e.Ky)()),n=(0,e.PH)(t.AB.UPDATE_CHANNEL_CLN,(0,e.Ky)()),_=(0,e.PH)(t.AB.SAVE_NEW_CHANNEL_CLN,(0,e.Ky)()),H=(0,e.PH)(t.AB.CLOSE_CHANNEL_CLN,(0,e.Ky)()),V=(0,e.PH)(t.AB.REMOVE_CHANNEL_CLN,(0,e.Ky)()),K=(0,e.PH)(t.AB.PEER_LOOKUP_CLN,(0,e.Ky)()),se=(0,e.PH)(t.AB.CHANNEL_LOOKUP_CLN,(0,e.Ky)()),Ye=(0,e.PH)(t.AB.INVOICE_LOOKUP_CLN,(0,e.Ky)()),Oe=(0,e.PH)(t.AB.SET_LOOKUP_CLN,(0,e.Ky)()),Qe=(0,e.PH)(t.AB.GET_FORWARDING_HISTORY_CLN,(0,e.Ky)()),be=(0,e.PH)(t.AB.SET_FORWARDING_HISTORY_CLN,(0,e.Ky)()),ue=(0,e.PH)(t.AB.FETCH_INVOICES_CLN,(0,e.Ky)()),xe=(0,e.PH)(t.AB.SET_INVOICES_CLN,(0,e.Ky)()),Pe=(0,e.PH)(t.AB.SAVE_NEW_INVOICE_CLN,(0,e.Ky)()),oe=(0,e.PH)(t.AB.ADD_INVOICE_CLN,(0,e.Ky)()),ze=(0,e.PH)(t.AB.UPDATE_INVOICE_CLN,(0,e.Ky)()),we=(0,e.PH)(t.AB.DELETE_EXPIRED_INVOICE_CLN,(0,e.Ky)()),le=(0,e.PH)(t.AB.SET_CHANNEL_TRANSACTION_CLN,(0,e.Ky)()),fe=((0,e.PH)(t.AB.SET_CHANNEL_TRANSACTION_RES_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.FETCH_UTXOS_CLN)),Ge=(0,e.PH)(t.AB.SET_UTXOS_CLN,(0,e.Ky)()),Le=(0,e.PH)(t.AB.FETCH_OFFER_INVOICE_CLN,(0,e.Ky)()),Ne=(0,e.PH)(t.AB.SET_OFFER_INVOICE_CLN,(0,e.Ky)()),Ve=(0,e.PH)(t.AB.FETCH_OFFERS_CLN),at=(0,e.PH)(t.AB.SET_OFFERS_CLN,(0,e.Ky)()),ve=(0,e.PH)(t.AB.SAVE_NEW_OFFER_CLN,(0,e.Ky)()),De=(0,e.PH)(t.AB.ADD_OFFER_CLN,(0,e.Ky)()),xt=(0,e.PH)(t.AB.DISABLE_OFFER_CLN,(0,e.Ky)()),ct=(0,e.PH)(t.AB.UPDATE_OFFER_CLN,(0,e.Ky)()),et=(0,e.PH)(t.AB.FETCH_OFFER_BOOKMARKS_CLN),Ct=(0,e.PH)(t.AB.SET_OFFER_BOOKMARKS_CLN,(0,e.Ky)()),ke=(0,e.PH)(t.AB.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,e.Ky)()),ot=(0,e.PH)(t.AB.DELETE_OFFER_BOOKMARK_CLN,(0,e.Ky)()),Je=(0,e.PH)(t.AB.REMOVE_OFFER_BOOKMARK_CLN,(0,e.Ky)())},9125:(Ue,q,p)=>{"use strict";p.d(q,{J:()=>de});var e=p(5154),t=p(8645),g=p(2096),T=p(1631),c=p(9773),C=p(7398),u=p(6306),P=p(3315),d=p(6820),S=p(2154),M=p(9103),I=p(234),D=p(3468),R=p(5440),F=p(5879),W=p(9862),Y=p(4221),Q=p(5813),J=p(6339),ne=p(5980),X=p(4190),pe=p(2285),ie=p(6814);let de=(()=>{class te{constructor(E,i,o,m,l,y,L,O,b){this.actions=E,this.httpClient=i,this.store=o,this.sessionService=m,this.commonService=l,this.logger=y,this.router=L,this.wsService=O,this.location=b,this.CHILD_API_URL=S.T5+"/cln",this.API_VERION="",this.CLN_VERISON="",this.flgInitialized=!1,this.unSubs=[new t.x,new t.x,new t.x],this.infoFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.FETCH_INFO_CLN),(0,T.z)(n=>(this.flgInitialized=!1,this.store.dispatch((0,M.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,I.Hc)({payload:{action:"FetchInfo",status:S.Bn.INITIATED}})),this.store.dispatch((0,M.ac)({payload:S.m6.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+S.vv.GETINFO_API).pipe((0,c.R)(this.actions.pipe((0,e.l4)(S.pg.SET_SELECTED_NODE))),(0,C.U)(_=>(this.logger.info(_),this.API_VERION=_.api_version||"",this.CLN_VERISON=_.version||"",_.chains&&_.chains.length&&_.chains[0]&&"object"==typeof _.chains[0]&&_.chains[0].hasOwnProperty("chain")&&_?.chains[0].chain&&_?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&_?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,I.Hc)({payload:{action:"FetchInfo",status:S.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:S.m6.GET_NODE_INFO})),this.store.dispatch((0,M.ts)()),setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{type:S.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:S.pg.LOGOUT}):(this.initializeRemainingData(_,n.payload.loadPage),this.store.dispatch((0,I.Hc)({payload:{action:"FetchInfo",status:S.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:S.m6.GET_NODE_INFO})),{type:S.AB.SET_INFO_CLN,payload:_||{}}))),(0,u.K)(_=>{const H=this.commonService.extractErrorCode(_),V="ETIMEDOUT"===H?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(_);return this.router.navigate(["/error"],{state:{errorCode:H,errorMessage:V}}),this.handleErrorWithoutAlert("FetchInfo",S.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:H,error:V}),(0,g.of)({type:S.pg.VOID})})))))),this.fetchFeesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.FETCH_FEES_CLN),(0,T.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchFees",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.FEES_API))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Hc)({payload:{action:"FetchFees",status:S.Bn.COMPLETED}})),{type:S.AB.SET_FEES_CLN,payload:n||{}})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchFees",S.m6.NO_SPINNER,"Fetching Fees Failed.",n),(0,g.of)({type:S.pg.VOID}))))),this.fetchFeeRatesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.FETCH_FEE_RATES_CLN),(0,T.z)(n=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchFeeRates"+n.payload,status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.NETWORK_API+"/feeRates/"+n.payload).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"FetchFeeRates"+n.payload,status:S.Bn.COMPLETED}})),{type:S.AB.SET_FEE_RATES_CLN,payload:_||{}})),(0,u.K)(_=>(this.handleErrorWithoutAlert("FetchFeeRates"+n.payload,S.m6.NO_SPINNER,"Fetching Fee Rates Failed.",_),(0,g.of)({type:S.pg.VOID})))))))),this.fetchBalanceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.FETCH_BALANCE_CLN),(0,T.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchBalance",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.BALANCE_API))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Hc)({payload:{action:"FetchBalance",status:S.Bn.COMPLETED}})),{type:S.AB.SET_BALANCE_CLN,payload:n||{}})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchBalance",S.m6.NO_SPINNER,"Fetching Balances Failed.",n),(0,g.of)({type:S.pg.VOID}))))),this.fetchLocalRemoteBalanceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),(0,T.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchLocalRemoteBalance",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.CHANNELS_API+"/localRemoteBalance"))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Hc)({payload:{action:"FetchLocalRemoteBalance",status:S.Bn.COMPLETED}})),{type:S.AB.SET_LOCAL_REMOTE_BALANCE_CLN,payload:n||{}})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchLocalRemoteBalance",S.m6.NO_SPINNER,"Fetching Balances Failed.",n),(0,g.of)({type:S.pg.VOID}))))),this.getNewAddressCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.GET_NEW_ADDRESS_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:S.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+S.vv.ON_CHAIN_API+"?type="+n.payload.addressCode).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,M.uO)({payload:S.m6.GENERATE_NEW_ADDRESS})),{type:S.AB.SET_NEW_ADDRESS_CLN,payload:_&&_.address?_.address:{}})),(0,u.K)(_=>(this.handleErrorWithAlert("GenerateNewAddress",S.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+S.vv.ON_CHAIN_API+"?type="+n.payload.addressId,_),(0,g.of)({type:S.pg.VOID})))))))),this.setNewAddressCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.SET_NEW_ADDRESS_CLN),(0,C.U)(n=>(this.logger.info(n.payload),n.payload))),{dispatch:!1}),this.peersFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.FETCH_PEERS_CLN),(0,T.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchPeers",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.PEERS_API).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Hc)({payload:{action:"FetchPeers",status:S.Bn.COMPLETED}})),{type:S.AB.SET_PEERS_CLN,payload:n||[]})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchPeers",S.m6.NO_SPINNER,"Fetching Peers Failed.",n),(0,g.of)({type:S.pg.VOID})))))))),this.saveNewPeerCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.SAVE_NEW_PEER_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:S.m6.CONNECT_PEER})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewPeer",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.PEERS_API,{id:n.payload.id}).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewPeer",status:S.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:S.m6.CONNECT_PEER})),this.store.dispatch((0,I.Z8)({payload:_||[]})),{type:S.AB.NEWLY_ADDED_PEER_CLN,payload:{peer:_.find(H=>0===n.payload.id.indexOf(H.id?H.id:""))}})),(0,u.K)(_=>(this.handleErrorWithoutAlert("SaveNewPeer",S.m6.CONNECT_PEER,"Peer Connection Failed.",_),(0,g.of)({type:S.pg.VOID})))))))),this.detachPeerCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.DETACH_PEER_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:S.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+S.vv.PEERS_API+"/"+n.payload.id+"?force="+n.payload.force).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,M.uO)({payload:S.m6.DISCONNECT_PEER})),this.store.dispatch((0,M.jW)({payload:"Peer Disconnected Successfully!"})),{type:S.AB.REMOVE_PEER_CLN,payload:{id:n.payload.id}})),(0,u.K)(_=>(this.handleErrorWithAlert("PeerDisconnect",S.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+S.vv.PEERS_API+"/"+n.payload.id,_),(0,g.of)({type:S.pg.VOID})))))))),this.channelsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.FETCH_CHANNELS_CLN),(0,T.z)(()=>{this.store.dispatch((0,I.Hc)({payload:{action:"FetchChannels",status:S.Bn.INITIATED}}));const n=this.commonService.isVersionCompatible(this.CLN_VERISON,"23.02")&&this.commonService.isVersionCompatible(this.API_VERION,"0.10.3")?"/listPeerChannels":"/listChannels";return this.httpClient.get(this.CHILD_API_URL+S.vv.CHANNELS_API+n)}),(0,C.U)(n=>{this.logger.info(n),this.store.dispatch((0,I.Hc)({payload:{action:"FetchChannels",status:S.Bn.COMPLETED}}));const _={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return n.forEach(H=>{H.id&&(H.peer_id=H.id),H.connected&&(H.peer_connected=H.connected),"CHANNELD_NORMAL"===H.state?H.peer_connected?_.activeChannels.push(H):_.inactiveChannels.push(H):_.pendingChannels.push(H)}),{type:S.AB.SET_CHANNELS_CLN,payload:_}}),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchChannels",S.m6.NO_SPINNER,"Fetching Channels Failed.",n),(0,g.of)({type:S.pg.VOID}))))),this.openNewChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.SAVE_NEW_CHANNEL_CLN),(0,T.z)(n=>{this.store.dispatch((0,M.ac)({payload:S.m6.OPEN_CHANNEL})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewChannel",status:S.Bn.INITIATED}}));const _={id:n.payload.peerId,satoshis:n.payload.satoshis,feeRate:n.payload.feeRate,announce:n.payload.announce};return n.payload.minconf&&(_.minconf=n.payload.minconf),n.payload.utxos&&(_.utxos=n.payload.utxos),n.payload.requestAmount&&(_.request_amt=n.payload.requestAmount),n.payload.compactLease&&(_.compact_lease=n.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+S.vv.CHANNELS_API,_).pipe((0,C.U)(H=>(this.logger.info(H),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewChannel",status:S.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:S.m6.OPEN_CHANNEL})),this.store.dispatch((0,M.jW)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,I.EG)()),this.store.dispatch((0,I.Ly)()),{type:S.AB.FETCH_CHANNELS_CLN})),(0,u.K)(H=>(this.handleErrorWithoutAlert("SaveNewChannel",S.m6.OPEN_CHANNEL,"Opening Channel Failed.",H),(0,g.of)({type:S.pg.VOID}))))}))),this.updateChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.UPDATE_CHANNEL_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:S.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+S.vv.CHANNELS_API+"/setChannelFee",{id:n.payload.channelId,base:n.payload.baseFeeMsat,ppm:n.payload.feeRate}).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,M.uO)({payload:S.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,M.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,u.K)(_=>(this.handleErrorWithAlert("UpdateChannel",S.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+S.vv.CHANNELS_API,_),(0,g.of)({type:S.pg.VOID})))))))),this.closeChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.CLOSE_CHANNEL_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:n.payload.force?S.m6.FORCE_CLOSE_CHANNEL:S.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+S.vv.CHANNELS_API+"/"+n.payload.channelId+(n.payload.force?"?force="+n.payload.force:"")).pipe((0,C.U)(H=>(this.logger.info(H),this.store.dispatch((0,M.uO)({payload:n.payload.force?S.m6.FORCE_CLOSE_CHANNEL:S.m6.CLOSE_CHANNEL})),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.g3)()),this.store.dispatch((0,M.jW)({payload:"Channel Closed Successfully!"})),{type:S.AB.REMOVE_CHANNEL_CLN,payload:n.payload})),(0,u.K)(H=>(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+S.vv.CHANNELS_API,H),(0,g.of)({type:S.pg.VOID})))))))),this.paymentsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.FETCH_PAYMENTS_CLN),(0,T.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchPayments",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.PAYMENTS_API))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Hc)({payload:{action:"FetchPayments",status:S.Bn.COMPLETED}})),{type:S.AB.SET_PAYMENTS_CLN,payload:n||[]})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchPayments",S.m6.NO_SPINNER,"Fetching Payments Failed.",n),(0,g.of)({type:S.pg.VOID}))))),this.fetchOfferInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.FETCH_OFFER_INVOICE_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:S.m6.FETCH_INVOICE})),this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferInvoice",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.OFFERS_API+"/fetchOfferInvoice",n.payload).pipe((0,C.U)(_=>{this.logger.info(_),setTimeout(()=>{this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferInvoice",status:S.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:S.m6.FETCH_INVOICE})),this.store.dispatch((0,I.VD)({payload:_||{}}))},500)}),(0,u.K)(_=>(this.handleErrorWithoutAlert("FetchOfferInvoice",S.m6.FETCH_INVOICE,"Offer Invoice Fetch Failed",_),(0,g.of)({type:S.pg.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.SET_OFFER_INVOICE_CLN),(0,C.U)(n=>(this.logger.info(n.payload),n.payload))),{dispatch:!1}),this.sendPaymentCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.SEND_PAYMENT_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:n.payload.uiMessage})),this.store.dispatch((0,I.Hc)({payload:{action:"SendPayment",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.PAYMENTS_API,n.payload).pipe((0,C.U)(_=>{this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"SendPayment",status:S.Bn.COMPLETED}}));let H="Payment Sent Successfully!";_.saveToDBError&&(H="Payment Sent Successfully but Offer Saving to Database Failed."),_.saveToDBResponse&&"NA"!==_.saveToDBResponse&&(this.store.dispatch((0,I.e9)({payload:_.saveToDBResponse})),H="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.EG)()),this.store.dispatch((0,I.cQ)()),this.store.dispatch((0,M.uO)({payload:n.payload.uiMessage})),this.store.dispatch((0,M.jW)({payload:H})),this.store.dispatch((0,I.TM)({payload:_.paymentResponse}))},1e3)}),(0,u.K)(_=>(this.logger.error("Error: "+JSON.stringify(_)),n.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",n.payload.uiMessage,"Send Payment Failed.",_):this.handleErrorWithAlert("SendPayment",n.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+S.vv.PAYMENTS_API,_),(0,g.of)({type:S.pg.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.GET_QUERY_ROUTES_CLN),(0,T.z)(n=>(this.store.dispatch((0,I.Hc)({payload:{action:"GetQueryRoutes",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.NETWORK_API+"/getRoute/"+n.payload.destPubkey+"/"+n.payload.amount).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"GetQueryRoutes",status:S.Bn.COMPLETED}})),{type:S.AB.SET_QUERY_ROUTES_CLN,payload:_})),(0,u.K)(_=>(this.store.dispatch((0,I.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",S.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+S.vv.NETWORK_API+"/getRoute/"+n.payload.destPubkey+"/"+n.payload.amount,_),(0,g.of)({type:S.pg.VOID})))))))),this.setQueryRoutesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.SET_QUERY_ROUTES_CLN),(0,C.U)(n=>n.payload)),{dispatch:!1}),this.peerLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.PEER_LOOKUP_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:S.m6.SEARCHING_NODE})),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.NETWORK_API+"/listNode/"+n.payload).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:S.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:S.m6.SEARCHING_NODE})),{type:S.AB.SET_LOOKUP_CLN,payload:_})),(0,u.K)(_=>(this.handleErrorWithAlert("Lookup",S.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+S.vv.NETWORK_API+"/listNode/"+n.payload,_),(0,g.of)({type:S.pg.VOID})))))))),this.channelLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.CHANNEL_LOOKUP_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:n.payload.uiMessage})),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.NETWORK_API+"/listChannel/"+n.payload.shortChannelID).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:S.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:n.payload.uiMessage})),{type:S.AB.SET_LOOKUP_CLN,payload:_})),(0,u.K)(_=>(n.payload.showError?this.handleErrorWithAlert("Lookup",n.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+S.vv.NETWORK_API+"/listChannel/"+n.payload.shortChannelID,_):this.store.dispatch((0,M.uO)({payload:n.payload.uiMessage})),this.store.dispatch((0,I.v_)({payload:[]})),(0,g.of)({type:S.pg.VOID})))))))),this.invoiceLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.INVOICE_LOOKUP_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:S.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.INVOICES_API+"?label="+n.payload).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:S.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:S.m6.SEARCHING_INVOICE})),_.invoices&&_.invoices.length&&_.invoices.length>0&&this.store.dispatch((0,I.aL)({payload:_.invoices[0]})),{type:S.AB.SET_LOOKUP_CLN,payload:_.invoices&&_.invoices.length&&_.invoices.length>0?_.invoices[0]:_})),(0,u.K)(_=>(this.handleErrorWithoutAlert("Lookup",S.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",_),this.store.dispatch((0,M.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,g.of)({type:S.pg.VOID})))))))),this.setLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.SET_LOOKUP_CLN),(0,C.U)(n=>(this.logger.info(n.payload),n.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.GET_FORWARDING_HISTORY_CLN),(0,T.z)(n=>{const _=n.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,I.Hc)({payload:{action:"FetchForwardingHistory"+_,status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.CHANNELS_API+"/listForwards?status="+n.payload.status).pipe((0,C.U)(H=>(this.logger.info(H),this.store.dispatch((0,I.Hc)({payload:{action:"FetchForwardingHistory"+_,status:S.Bn.COMPLETED}})),n.payload.status===S.OO.FAILED?this.store.dispatch((0,I.QJ)({payload:{status:S.OO.FAILED,totalForwards:H.length,listForwards:H}})):n.payload.status===S.OO.LOCAL_FAILED?this.store.dispatch((0,I.QJ)({payload:{status:S.OO.LOCAL_FAILED,totalForwards:H.length,listForwards:H}})):n.payload.status===S.OO.SETTLED&&this.store.dispatch((0,I.QJ)({payload:{status:S.OO.SETTLED,totalForwards:H.length,listForwards:H}})),{type:S.pg.VOID})),(0,u.K)(H=>(this.handleErrorWithAlert("FetchForwardingHistory"+_,S.m6.NO_SPINNER,"Get "+n.payload.status+" Forwarding History Failed",this.CHILD_API_URL+S.vv.CHANNELS_API+"/listForwards?status="+n.payload.status,H),(0,g.of)({type:S.pg.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.DELETE_EXPIRED_INVOICE_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:S.m6.DELETE_INVOICE})),this.httpClient.delete(this.CHILD_API_URL+S.vv.INVOICES_API+(n.payload?"?maxexpiry="+n.payload:"")).pipe((0,C.U)(H=>(this.logger.info(H),this.store.dispatch((0,M.uO)({payload:S.m6.DELETE_INVOICE})),this.store.dispatch((0,M.jW)({payload:"Invoices Deleted Successfully!"})),{type:S.AB.FETCH_INVOICES_CLN,payload:{num_max_invoices:1e6,reversed:!0}})),(0,u.K)(H=>(this.handleErrorWithAlert("DeleteInvoices",S.m6.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+S.vv.INVOICES_API,H),(0,g.of)({type:S.pg.VOID})))))))),this.saveNewInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.SAVE_NEW_INVOICE_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:S.m6.ADD_INVOICE})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewInvoice",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.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)(_=>(this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewInvoice",status:S.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:S.m6.ADD_INVOICE})),_.amount_msat=n.payload.amount,_.label=n.payload.label,_.expires_at=Math.round((new Date).getTime()/1e3+n.payload.expiry),_.description=n.payload.description,_.status="unpaid",setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{invoice:_,newlyAdded:!0,component:d.y}}}))},200),{type:S.AB.ADD_INVOICE_CLN,payload:_})),(0,u.K)(_=>(this.handleErrorWithoutAlert("SaveNewInvoice",S.m6.ADD_INVOICE,"Add Invoice Failed.",_),(0,g.of)({type:S.pg.VOID})))))))),this.saveNewOfferCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.SAVE_NEW_OFFER_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:S.m6.CREATE_OFFER})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewOffer",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.OFFERS_API,{amount:n.payload.amount,description:n.payload.description,issuer:n.payload.issuer}).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewOffer",status:S.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:S.m6.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{offer:_,newlyAdded:!0,component:R.k}}}))},100),{type:S.AB.ADD_OFFER_CLN,payload:_})),(0,u.K)(_=>(this.handleErrorWithoutAlert("SaveNewOffer",S.m6.CREATE_OFFER,"Create Offer Failed.",_),(0,g.of)({type:S.pg.VOID})))))))),this.invoicesFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.FETCH_INVOICES_CLN),(0,T.z)(n=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchInvoices",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.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)(K=>(this.logger.info(K),this.store.dispatch((0,I.Hc)({payload:{action:"FetchInvoices",status:S.Bn.COMPLETED}})),{type:S.AB.SET_INVOICES_CLN,payload:K})),(0,u.K)(K=>(this.handleErrorWithoutAlert("FetchInvoices",S.m6.NO_SPINNER,"Fetching Invoices Failed.",K),(0,g.of)({type:S.pg.VOID})))))))),this.offersFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.FETCH_OFFERS_CLN),(0,T.z)(n=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchOffers",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.OFFERS_API).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"FetchOffers",status:S.Bn.COMPLETED}})),{type:S.AB.SET_OFFERS_CLN,payload:_.offers?_.offers:[]})),(0,u.K)(_=>(this.handleErrorWithoutAlert("FetchOffers",S.m6.NO_SPINNER,"Fetching Offers Failed.",_),(0,g.of)({type:S.pg.VOID})))))))),this.offersDisableCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.DISABLE_OFFER_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:S.m6.DISABLE_OFFER})),this.store.dispatch((0,I.Hc)({payload:{action:"DisableOffer",status:S.Bn.INITIATED}})),this.httpClient.delete(this.CHILD_API_URL+S.vv.OFFERS_API+"/"+n.payload.offer_id).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"DisableOffer",status:S.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:S.m6.DISABLE_OFFER})),this.store.dispatch((0,M.jW)({payload:"Offer Disabled Successfully!"})),{type:S.AB.UPDATE_OFFER_CLN,payload:{offer:_}})),(0,u.K)(_=>(this.handleErrorWithoutAlert("DisableOffer",S.m6.DISABLE_OFFER,"Disabling Offer Failed.",_),(0,g.of)({type:S.pg.VOID})))))))),this.offerBookmarksFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.FETCH_OFFER_BOOKMARKS_CLN),(0,T.z)(n=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferBookmarks",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.OFFERS_API+"/offerbookmarks").pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferBookmarks",status:S.Bn.COMPLETED}})),{type:S.AB.SET_OFFER_BOOKMARKS_CLN,payload:_||[]})),(0,u.K)(_=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",S.m6.NO_SPINNER,"Fetching Offer Bookmarks Failed.",_),(0,g.of)({type:S.pg.VOID})))))))),this.peidOffersDeleteCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.DELETE_OFFER_BOOKMARK_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:S.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,I.Hc)({payload:{action:"DeleteOfferBookmark",status:S.Bn.INITIATED}})),this.httpClient.delete(this.CHILD_API_URL+S.vv.OFFERS_API+"/offerbookmark/"+n.payload.bolt12).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"DeleteOfferBookmark",status:S.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:S.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,M.jW)({payload:"Offer Bookmark Deleted Successfully!"})),{type:S.AB.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:n.payload.bolt12}})),(0,u.K)(_=>(this.handleErrorWithAlert("DeleteOfferBookmark",S.m6.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+S.vv.OFFERS_API+"/offerbookmark/"+n.payload.bolt12,_),(0,g.of)({type:S.pg.VOID})))))))),this.SetChannelTransactionCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.SET_CHANNEL_TRANSACTION_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:S.m6.SEND_FUNDS})),this.store.dispatch((0,I.Hc)({payload:{action:"SetChannelTransaction",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.ON_CHAIN_API,n.payload).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"SetChannelTransaction",status:S.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:S.m6.SEND_FUNDS})),this.store.dispatch((0,I.EG)()),this.store.dispatch((0,I.Ly)()),{type:S.AB.SET_CHANNEL_TRANSACTION_RES_CLN,payload:_})),(0,u.K)(_=>(this.handleErrorWithoutAlert("SetChannelTransaction",S.m6.SEND_FUNDS,"Sending Fund Failed.",_),(0,g.of)({type:S.pg.VOID})))))))),this.utxosFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.FETCH_UTXOS_CLN),(0,T.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchUTXOs",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.ON_CHAIN_API+"/utxos"))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Hc)({payload:{action:"FetchUTXOs",status:S.Bn.COMPLETED}})),n.outputs.forEach(_=>{_.value&&(_.amount_msat=_.value)}),{type:S.AB.SET_UTXOS_CLN,payload:n.outputs||[]})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchUTXOs",S.m6.NO_SPINNER,"Fetching UTXOs Failed.",n),(0,g.of)({type:S.pg.VOID}))))),this.pageSettingsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.FETCH_PAGE_SETTINGS_CLN),(0,T.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchPageSettings",status:S.Bn.INITIATED}})),this.httpClient.get(S.vv.PAGE_SETTINGS_API).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.Hc)({payload:{action:"FetchPageSettings",status:S.Bn.COMPLETED}})),{type:S.AB.SET_PAGE_SETTINGS_CLN,payload:n||[]})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchPageSettings",S.m6.NO_SPINNER,"Fetching Page Settings Failed.",n),(0,g.of)({type:S.pg.VOID})))))))),this.savePageSettingsCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(S.AB.SAVE_PAGE_SETTINGS_CLN),(0,T.z)(n=>(this.store.dispatch((0,M.ac)({payload:S.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.Hc)({payload:{action:"SavePageSettings",status:S.Bn.INITIATED}})),this.httpClient.post(S.vv.PAGE_SETTINGS_API,n.payload).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,I.Hc)({payload:{action:"SavePageSettings",status:S.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:S.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,M.jW)({payload:"Page Layout Updated Successfully!"})),{type:S.AB.SET_PAGE_SETTINGS_CLN,payload:_||[]})),(0,u.K)(_=>(this.handleErrorWithAlert("SavePageSettings",S.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",S.vv.PAGE_SETTINGS_API,_),(0,g.of)({type:S.pg.VOID})))))))),this.store.select(D.yA).pipe((0,c.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,M.uO)({payload:S.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,c.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,I.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(E,i){this.sessionService.setItem("clnUnlocked","true");const o={identity_pubkey:E.id,alias:E.alias,testnet:"testnet"===E.network.toLowerCase(),chains:E.chains,uris:E.uris,version:E.version,api_version:E.api_version,numberOfPendingChannels:E.num_pending_channels};this.store.dispatch((0,M.ac)({payload:S.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,M._V)({payload:o}));let m=this.location.path();m.includes("/lnd/")?m=m?.replace("/lnd/","/cln/"):m.includes("/ecl/")&&(m=m?.replace("/ecl/","/cln/")),(m.includes("/login")||m.includes("/error")||""===m||"HOME"===i||m.includes("?access-key="))&&(m="/cln/home"),this.router.navigate([m]),this.store.dispatch((0,I.WM)({payload:{num_max_invoices:1e6,index_offset:0,reversed:!0}})),this.store.dispatch((0,I.SN)()),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.EG)()),this.store.dispatch((0,I.g3)()),this.store.dispatch((0,I.HJ)({payload:"perkw"})),this.store.dispatch((0,I.HJ)({payload:"perkb"})),this.store.dispatch((0,I.$W)()),this.store.dispatch((0,I.Ly)()),this.store.dispatch((0,I.cQ)())}handleErrorWithoutAlert(E,i,o,m){if(this.logger.error("ERROR IN: "+E+"\n"+JSON.stringify(m)),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.ts)()),this.store.dispatch((0,M.kS)()),this.store.dispatch((0,M.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,M.uO)({payload:i}));const l=this.commonService.extractErrorMessage(m,o);this.store.dispatch((0,I.Hc)({payload:{action:E,status:S.Bn.ERROR,statusCode:m.status.toString(),message:l}}))}}handleErrorWithAlert(E,i,o,m,l){if(this.logger.error(l),401===l.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.ts)()),this.store.dispatch((0,M.kS)()),this.store.dispatch((0,M.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,M.uO)({payload:i}));const y=this.commonService.extractErrorMessage(l);this.store.dispatch((0,M.qR)({payload:{data:{type:"ERROR",alertTitle:o,message:{code:l.status,message:y,URL:m},component:P.H}}})),this.store.dispatch((0,I.Hc)({payload:{action:E,status:S.Bn.ERROR,statusCode:l.status.toString(),message:y,URL:m}}))}}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=this.\u0275fac=function(i){return new(i||te)(F.LFG(e.eX),F.LFG(W.eN),F.LFG(Y.yh),F.LFG(Q.m),F.LFG(J.v),F.LFG(ne.mQ),F.LFG(X.F0),F.LFG(pe.d),F.LFG(ie.Ye))};static#t=this.\u0275prov=F.Yz7({token:te,factory:te.\u0275fac})}return te})()},3468:(Ue,q,p)=>{"use strict";p.d(q,{AS:()=>T,Ao:()=>ie,Bo:()=>Q,EQ:()=>ae,Hz:()=>de,JG:()=>S,OL:()=>X,PP:()=>P,Rn:()=>W,T4:()=>R,Wi:()=>d,Wj:()=>Y,Y_:()=>te,ZW:()=>F,ey:()=>c,gc:()=>D,hx:()=>I,jK:()=>pe,lK:()=>ne,lw:()=>g,xQ:()=>J,yA:()=>u,zm:()=>M});var e=p(4221);const t=(0,e.ZF)("cln"),g=(0,e.P1)(t,i=>i.nodeSettings),T=(0,e.P1)(t,i=>({pageSettings:i.pageSettings,apiCallStatus:i.apisCallStatus.FetchPageSettings})),c=(0,e.P1)(t,i=>i.information),u=((0,e.P1)(t,i=>i.apisCallStatus.FetchInfo),(0,e.P1)(t,i=>i.apisCallStatus)),P=(0,e.P1)(t,i=>({payments:i.payments,apiCallStatus:i.apisCallStatus.FetchPayments})),d=(0,e.P1)(t,i=>({peers:i.peers,apiCallStatus:i.apisCallStatus.FetchPeers})),S=(0,e.P1)(t,i=>({fees:i.fees,apiCallStatus:i.apisCallStatus.FetchFees})),M=(0,e.P1)(t,i=>({feeRatesPerKB:i.feeRatesPerKB,apiCallStatus:i.apisCallStatus.FetchFeeRatesperkb})),I=(0,e.P1)(t,i=>({feeRatesPerKW:i.feeRatesPerKW,apiCallStatus:i.apisCallStatus.FetchFeeRatesperkw})),D=(0,e.P1)(t,i=>({listInvoices:i.invoices,apiCallStatus:i.apisCallStatus.FetchInvoices})),R=(0,e.P1)(t,i=>({utxos:i.utxos,apiCallStatus:i.apisCallStatus.FetchUTXOs})),F=(0,e.P1)(t,i=>({activeChannels:i.activeChannels,pendingChannels:i.pendingChannels,inactiveChannels:i.inactiveChannels,apiCallStatus:i.apisCallStatus.FetchChannels})),W=(0,e.P1)(t,i=>({balance:i.balance,apiCallStatus:i.apisCallStatus.FetchBalance})),Y=(0,e.P1)(t,i=>({localRemoteBalance:i.localRemoteBalance,apiCallStatus:i.apisCallStatus.FetchLocalRemoteBalance})),Q=(0,e.P1)(t,i=>({forwardingHistory:i.forwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryS})),J=(0,e.P1)(t,i=>({failedForwardingHistory:i.failedForwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryF})),ne=(0,e.P1)(t,i=>({localFailedForwardingHistory:i.localFailedForwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryL})),X=(0,e.P1)(t,i=>({information:i.information,nodeSettings:i.nodeSettings,balance:i.balance})),pe=(0,e.P1)(t,i=>({information:i.information,balance:i.balance,numPeers:i.peers.length})),ie=(0,e.P1)(t,i=>({information:i.information,balance:i.balance})),de=(0,e.P1)(t,i=>({information:i.information,nodeSettings:i.nodeSettings,apisCallStatus:[i.apisCallStatus.FetchInfo,i.apisCallStatus.FetchForwardingHistoryS]})),te=(0,e.P1)(t,i=>({offers:i.offers,apiCallStatus:i.apisCallStatus.FetchOffers})),ae=(0,e.P1)(t,i=>({offersBookmarks:i.offersBookmarks,apiCallStatus:i.apisCallStatus.FetchOfferBookmarks}))},6820:(Ue,q,p)=>{"use strict";p.d(q,{y:()=>we});var e=p(7700),t=p(590),g=p(8645),T=p(9773),c=p(2154),C=p(3468),u=p(5879),P=p(5980),d=p(6339),S=p(2939),M=p(4221),I=p(6814),D=p(5597),R=p(3814),F=p(7509),W=p(2296),Y=p(5195),Q=p(6385),J=p(5940),ne=p(2596),X=p(6828),pe=p(7313),ie=p(6985);function de(le,ge){if(1&le&&u._UZ(0,"qr-code",33),2&le){const fe=u.oxw();u.Q6J("value",(null==fe.invoice?null:fe.invoice.bolt11)||(null==fe.invoice?null:fe.invoice.bolt12))("size",fe.qrWidth)("errorCorrectionLevel","L")}}function te(le,ge){1&le&&(u.TgZ(0,"span",34),u._uU(1,"N/A"),u.qZA())}const ae=function(le){return{"mr-0":le}};function E(le,ge){if(1&le&&u._UZ(0,"span",35),2&le){const fe=u.oxw();u.Q6J("ngClass",u.VKq(1,ae,fe.screenSize===fe.screenSizeEnum.XS))}}function i(le,ge){if(1&le&&u._UZ(0,"span",36),2&le){const fe=u.oxw();u.Q6J("ngClass",u.VKq(1,ae,fe.screenSize===fe.screenSizeEnum.XS))}}function o(le,ge){if(1&le&&u._UZ(0,"span",37),2&le){const fe=u.oxw();u.Q6J("ngClass",u.VKq(1,ae,fe.screenSize===fe.screenSizeEnum.XS))}}function m(le,ge){if(1&le&&u._UZ(0,"qr-code",33),2&le){const fe=u.oxw();u.Q6J("value",(null==fe.invoice?null:fe.invoice.bolt11)||(null==fe.invoice?null:fe.invoice.bolt12))("size",fe.qrWidth)("errorCorrectionLevel","L")}}function l(le,ge){1&le&&(u.TgZ(0,"span",38),u._uU(1,"QR Code Not Applicable"),u.qZA())}function y(le,ge){1&le&&u._UZ(0,"mat-divider",39)}function L(le,ge){if(1&le&&(u.TgZ(0,"div",19)(1,"div",40),u._UZ(2,"fa-icon",41),u.TgZ(3,"span"),u._uU(4),u.qZA()()()),2&le){const fe=u.oxw();u.xp6(2),u.Q6J("icon",fe.faExclamationTriangle),u.xp6(2),u.Oqu(null==fe.invoice?null:fe.invoice.warning_capacity)}}function O(le,ge){1&le&&(u.ynx(0),u._uU(1," (zero amount) "),u.BQk())}function b(le,ge){1&le&&u._UZ(0,"span",47)}const n=function(){return[]};function _(le,ge){if(1&le&&(u.TgZ(0,"div",43)(1,"div",44)(2,"span",45),u._uU(3),u.ALo(4,"number"),u.qZA(),u.YNc(5,b,1,0,"span",46),u.qZA()()),2&le){const fe=u.oxw(2);u.xp6(3),u.hij("",u.lcZ(4,2,(null==fe.invoice?null:fe.invoice.amount_received_msat)/1e3)," Sats"),u.xp6(2),u.Q6J("ngForOf",u.DdM(4,n).constructor(35))}}function H(le,ge){if(1&le&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"number"),u.qZA()),2&le){const fe=u.oxw(2);u.xp6(1),u.hij("",u.lcZ(2,1,(null==fe.invoice?null:fe.invoice.amount_received_msat)/1e3)," Sats")}}function V(le,ge){if(1&le&&(u.ynx(0),u.YNc(1,_,6,5,"div",42),u.YNc(2,H,3,3,"div",23),u.BQk()),2&le){const fe=u.oxw();u.xp6(1),u.Q6J("ngIf",fe.flgInvoicePaid),u.xp6(1),u.Q6J("ngIf",!fe.flgInvoicePaid)}}function K(le,ge){1&le&&(u.TgZ(0,"span"),u._uU(1,"-"),u.qZA())}function se(le,ge){1&le&&u._UZ(0,"mat-spinner",49),2&le&&u.Q6J("diameter",20)}function Ye(le,ge){if(1&le&&(u.ynx(0),u.YNc(1,K,2,0,"span",23),u.YNc(2,se,1,1,"mat-spinner",48),u.BQk()),2&le){const fe=u.oxw();u.xp6(1),u.Q6J("ngIf","unpaid"!==(null==fe.invoice?null:fe.invoice.status)||!fe.flgVersionCompatible),u.xp6(1),u.Q6J("ngIf","unpaid"===(null==fe.invoice?null:fe.invoice.status)&&fe.flgVersionCompatible)}}function Oe(le,ge){if(1&le&&(u.TgZ(0,"div"),u._UZ(1,"mat-divider",25),u.TgZ(2,"div",19)(3,"div",26)(4,"h4",21),u._uU(5,"Payment Hash"),u.qZA(),u.TgZ(6,"span",24),u._uU(7),u.qZA()()(),u._UZ(8,"mat-divider",25),u.TgZ(9,"div",19)(10,"div",26)(11,"h4",21),u._uU(12,"Label"),u.qZA(),u.TgZ(13,"span",24),u._uU(14),u.qZA()()(),u._UZ(15,"mat-divider",25),u.qZA()),2&le){const fe=u.oxw();u.xp6(7),u.Oqu(null==fe.invoice?null:fe.invoice.payment_hash),u.xp6(7),u.Oqu(null==fe.invoice?null:fe.invoice.label)}}function Qe(le,ge){1&le&&(u.TgZ(0,"p"),u._uU(1,"Show Advanced"),u.qZA())}function be(le,ge){1&le&&(u.TgZ(0,"p"),u._uU(1,"Hide Advanced"),u.qZA())}function ue(le,ge){if(1&le){const fe=u.EpF();u.TgZ(0,"button",50),u.NdJ("copied",function(Le){u.CHM(fe);const Ne=u.oxw();return u.KtG(Ne.onCopyPayment(Le))}),u._uU(1,"Copy Invoice"),u.qZA()}if(2&le){const fe=u.oxw();u.Q6J("payload",(null==fe.invoice?null:fe.invoice.bolt11)||(null==fe.invoice?null:fe.invoice.bolt12))}}function xe(le,ge){if(1&le){const fe=u.EpF();u.TgZ(0,"button",51),u.NdJ("click",function(){u.CHM(fe);const Le=u.oxw();return u.KtG(Le.onClose())}),u._uU(1,"OK"),u.qZA()}}const Pe=function(le){return{"display-none":le}},oe=function(le){return{"xs-scroll-y":le}},ze=function(le,ge){return{"mt-2":le,"mt-1":ge}};let we=(()=>{class le{constructor(fe,Ge,Le,Ne,Ve,at){this.dialogRef=fe,this.data=Ge,this.logger=Le,this.commonService=Ne,this.snackBar=Ve,this.store=at,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=c.cu,this.flgInvoicePaid=!1,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===c.cu.XS&&(this.qrWidth=220),this.store.select(C.gc).pipe((0,T.R)(this.unSubs[1])).subscribe(fe=>{const Ge=this.invoice.status,Ne=(fe.listInvoices.invoices||[])?.find(Ve=>Ve.payment_hash===this.invoice.payment_hash)||null;Ne&&(this.invoice=Ne),Ge!==this.invoice.status&&"paid"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(fe)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(fe){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+fe)}ngOnDestroy(){this.unSubs.forEach(fe=>{fe.next(null),fe.complete()})}static#e=this.\u0275fac=function(Ge){return new(Ge||le)(u.Y36(e.so),u.Y36(e.WI),u.Y36(P.mQ),u.Y36(d.v),u.Y36(S.ux),u.Y36(M.yh))};static#t=this.\u0275cmp=u.Xpm({type:le,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(Ge,Le){if(1&Ge&&(u.TgZ(0,"div",0)(1,"div",1),u.YNc(2,de,1,3,"qr-code",2),u.YNc(3,te,2,0,"span",3),u.qZA(),u.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),u._UZ(7,"fa-icon",7),u.TgZ(8,"span",8),u._uU(9),u.YNc(10,E,1,3,"span",9),u.YNc(11,i,1,3,"span",10),u.YNc(12,o,1,3,"span",11),u.qZA()(),u.TgZ(13,"button",12),u.NdJ("click",function(){return Le.onClose()}),u._uU(14,"X"),u.qZA()(),u.TgZ(15,"mat-card-content",13)(16,"div",14)(17,"div",15),u.YNc(18,m,1,3,"qr-code",2),u.YNc(19,l,2,0,"span",16),u.qZA(),u.YNc(20,y,1,0,"mat-divider",17),u.YNc(21,L,5,2,"div",18),u.TgZ(22,"div",19)(23,"div",20)(24,"h4",21),u._uU(25),u.qZA(),u.TgZ(26,"span",22),u._uU(27),u.ALo(28,"number"),u.YNc(29,O,2,0,"ng-container",23),u.qZA()(),u.TgZ(30,"div",20)(31,"h4",21),u._uU(32,"Amount Received"),u.qZA(),u.TgZ(33,"span",24),u.YNc(34,V,3,2,"ng-container",23),u.YNc(35,Ye,3,2,"ng-container",23),u.qZA()()(),u._UZ(36,"mat-divider",25),u.TgZ(37,"div",19)(38,"div",20)(39,"h4",21),u._uU(40,"Date Expiry"),u.qZA(),u.TgZ(41,"span",22),u._uU(42),u.ALo(43,"date"),u.qZA()(),u.TgZ(44,"div",20)(45,"h4",21),u._uU(46,"Date Settled"),u.qZA(),u.TgZ(47,"span",22),u._uU(48),u.ALo(49,"date"),u.qZA()()(),u._UZ(50,"mat-divider",25),u.TgZ(51,"div",19)(52,"div",26)(53,"h4",21),u._uU(54,"Description"),u.qZA(),u.TgZ(55,"span",22),u._uU(56),u.qZA()()(),u._UZ(57,"mat-divider",25),u.TgZ(58,"div",19)(59,"div",26)(60,"h4",21),u._uU(61),u.qZA(),u.TgZ(62,"span",24),u._uU(63),u.qZA()()(),u.YNc(64,Oe,16,2,"div",23),u.TgZ(65,"div",27)(66,"button",28),u.NdJ("click",function(){return Le.onShowAdvanced()}),u.YNc(67,Qe,2,0,"p",29),u.YNc(68,be,2,0,"ng-template",null,30,u.W1O),u.qZA(),u.YNc(70,ue,2,1,"button",31),u.YNc(71,xe,2,0,"button",32),u.qZA()()()()()),2&Ge){const Ne=u.MAs(69);u.xp6(1),u.Q6J("fxLayoutAlign",null!=Le.invoice&&Le.invoice.bolt11&&""!==(null==Le.invoice?null:Le.invoice.bolt11)||null!=Le.invoice&&Le.invoice.bolt12&&""!==(null==Le.invoice?null:Le.invoice.bolt12)?"center start":"center center")("ngClass",u.VKq(40,Pe,Le.screenSize===Le.screenSizeEnum.XS||Le.screenSize===Le.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==Le.invoice?null:Le.invoice.bolt11)&&""!==(null==Le.invoice?null:Le.invoice.bolt11)||(null==Le.invoice?null:Le.invoice.bolt12)&&""!==(null==Le.invoice?null:Le.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",!(null!=Le.invoice&&Le.invoice.bolt11||null!=Le.invoice&&Le.invoice.bolt12)),u.xp6(4),u.Q6J("icon",Le.faReceipt),u.xp6(2),u.hij(" ",Le.screenSize===Le.screenSizeEnum.XS?Le.newlyAdded?"Created":"Invoice":Le.newlyAdded?"Invoice Created":"Invoice Information"," "),u.xp6(1),u.Q6J("ngIf","paid"===(null==Le.invoice?null:Le.invoice.status)),u.xp6(1),u.Q6J("ngIf","unpaid"===(null==Le.invoice?null:Le.invoice.status)),u.xp6(1),u.Q6J("ngIf","expired"===(null==Le.invoice?null:Le.invoice.status)),u.xp6(3),u.Q6J("ngClass",u.VKq(42,oe,Le.screenSize===Le.screenSizeEnum.XS)),u.xp6(2),u.Q6J("fxLayoutAlign",null!=Le.invoice&&Le.invoice.bolt11&&""!==(null==Le.invoice?null:Le.invoice.bolt11)||null!=Le.invoice&&Le.invoice.bolt12&&""!==(null==Le.invoice?null:Le.invoice.bolt12)?"center start":"center center")("ngClass",u.VKq(44,Pe,Le.screenSize!==Le.screenSizeEnum.XS&&Le.screenSize!==Le.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==Le.invoice?null:Le.invoice.bolt11)&&""!==(null==Le.invoice?null:Le.invoice.bolt11)||(null==Le.invoice?null:Le.invoice.bolt12)&&""!==(null==Le.invoice?null:Le.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",!(null!=Le.invoice&&Le.invoice.bolt11||null!=Le.invoice&&Le.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",Le.screenSize===Le.screenSizeEnum.XS||Le.screenSize===Le.screenSizeEnum.SM),u.xp6(1),u.Q6J("ngIf",null==Le.invoice?null:Le.invoice.warning_capacity),u.xp6(4),u.Oqu(Le.screenSize===Le.screenSizeEnum.XS?"Amount":"Amount Requested"),u.xp6(2),u.hij(" ",u.lcZ(28,32,(null==Le.invoice?null:Le.invoice.amount_msat)/1e3||0)," Sats"),u.xp6(2),u.Q6J("ngIf",!(null!=Le.invoice&&Le.invoice.amount_msat)||"0"===(null==Le.invoice?null:Le.invoice.amount_msat)),u.xp6(5),u.Q6J("ngIf","paid"===(null==Le.invoice?null:Le.invoice.status)),u.xp6(1),u.Q6J("ngIf","paid"!==(null==Le.invoice?null:Le.invoice.status)),u.xp6(7),u.Oqu(u.xi3(43,34,1e3*(null==Le.invoice?null:Le.invoice.expires_at),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(u.xi3(49,37,1e3*(null==Le.invoice?null:Le.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),u.xp6(8),u.Oqu((null==Le.invoice?null:Le.invoice.description)||"-"),u.xp6(5),u.hij("",null!=Le.invoice&&Le.invoice.bolt12?"Bolt12":null!=Le.invoice&&Le.invoice.bolt11&&!Le.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),u.xp6(2),u.Oqu((null==Le.invoice?null:Le.invoice.bolt11)||(null==Le.invoice?null:Le.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",Le.showAdvanced),u.xp6(1),u.Q6J("ngClass",u.WLB(46,ze,!Le.showAdvanced,Le.showAdvanced)),u.xp6(2),u.Q6J("ngIf",!Le.showAdvanced)("ngIfElse",Ne),u.xp6(3),u.Q6J("ngIf",(null==Le.invoice?null:Le.invoice.bolt11)&&""!==(null==Le.invoice?null:Le.invoice.bolt11)||(null==Le.invoice?null:Le.invoice.bolt12)&&""!==(null==Le.invoice?null:Le.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",!(null!=Le.invoice&&Le.invoice.bolt11||null!=Le.invoice&&Le.invoice.bolt12))}},dependencies:[I.mk,I.sg,I.O5,D.BN,R.xw,R.Wh,R.yH,F.oO,W.lW,Y.dn,Y.dk,Q.d,J.Ou,ne.gM,X.uU,pe.y,ie.h,I.JJ,I.uU]})}return le})()},5440:(Ue,q,p)=>{"use strict";p.d(q,{k:()=>K});var e=p(7700),t=p(590),g=p(8645),T=p(9773),c=p(2154),C=p(5879),u=p(5980),P=p(6339),d=p(2939),S=p(6046),M=p(6814),I=p(5597),D=p(3814),R=p(7509),F=p(2296),W=p(5195),Y=p(6385),Q=p(6828),J=p(7313),ne=p(6985);function X(se,Ye){if(1&se&&C._UZ(0,"qr-code",28),2&se){const Oe=C.oxw();C.Q6J("value",null==Oe.offer?null:Oe.offer.bolt12)("size",Oe.qrWidth)("errorCorrectionLevel","L")}}function pe(se,Ye){1&se&&(C.TgZ(0,"span",29),C._uU(1,"N/A"),C.qZA())}function ie(se,Ye){if(1&se&&C._UZ(0,"qr-code",28),2&se){const Oe=C.oxw();C.Q6J("value",null==Oe.offer?null:Oe.offer.bolt12)("size",Oe.qrWidth)("errorCorrectionLevel","L")}}function de(se,Ye){1&se&&(C.TgZ(0,"span",30),C._uU(1,"QR Code Not Applicable"),C.qZA())}function te(se,Ye){1&se&&C._UZ(0,"mat-divider",31),2&se&&C.Q6J("inset",!0)}function ae(se,Ye){1&se&&C._UZ(0,"mat-divider",19)}function E(se,Ye){if(1&se&&(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&se){const Oe=C.oxw(2);C.xp6(5),C.hij(" ",null!=Oe.offer&&Oe.offer.used?null!=Oe.offer&&Oe.offer.used?"Yes":"No":"N/K"," "),C.xp6(5),C.hij(" ",null!=Oe.offer&&Oe.offer.single_use?null!=Oe.offer&&Oe.offer.single_use?"Yes":"No":"N/K"," ")}}function i(se,Ye){1&se&&C._UZ(0,"mat-divider",19)}function o(se,Ye){if(1&se&&(C.TgZ(0,"div",15)(1,"div",20)(2,"h4",17),C._uU(3,"Issuer"),C.qZA(),C.TgZ(4,"span",34),C._uU(5),C.qZA()()()),2&se){const Oe=C.oxw(2);C.xp6(5),C.Oqu(null==Oe.offerDecoded?null:Oe.offerDecoded.offer_issuer)}}function m(se,Ye){1&se&&C._UZ(0,"mat-divider",19)}function l(se,Ye){if(1&se&&(C.TgZ(0,"div",15)(1,"div",20)(2,"h4",17),C._uU(3,"Label"),C.qZA(),C.TgZ(4,"span",18),C._uU(5),C.qZA()()()),2&se){const Oe=C.oxw(2);C.xp6(5),C.Oqu(Oe.offer.label)}}function y(se,Ye){if(1&se&&(C.TgZ(0,"div"),C.YNc(1,ae,1,0,"mat-divider",32),C.YNc(2,E,11,2,"div",33),C.YNc(3,i,1,0,"mat-divider",32),C.YNc(4,o,6,1,"div",33),C.YNc(5,m,1,0,"mat-divider",32),C.YNc(6,l,6,1,"div",33),C._UZ(7,"mat-divider",19),C.TgZ(8,"div",15)(9,"div",20)(10,"h4",17),C._uU(11,"Offer ID"),C.qZA(),C.TgZ(12,"span",18),C._uU(13),C.qZA()()(),C._UZ(14,"mat-divider",19),C.TgZ(15,"div",15)(16,"div",20)(17,"h4",17),C._uU(18,"Offer Node ID"),C.qZA(),C.TgZ(19,"span",18),C._uU(20),C.qZA()()(),C._UZ(21,"mat-divider",19),C.qZA()),2&se){const Oe=C.oxw();C.xp6(1),C.Q6J("ngIf",(null==Oe.offer?null:Oe.offer.used)||(null==Oe.offer?null:Oe.offer.single_use)),C.xp6(1),C.Q6J("ngIf",(null==Oe.offer?null:Oe.offer.used)||(null==Oe.offer?null:Oe.offer.single_use)),C.xp6(1),C.Q6J("ngIf",null==Oe.offerDecoded?null:Oe.offerDecoded.issuer),C.xp6(1),C.Q6J("ngIf",null==Oe.offerDecoded?null:Oe.offerDecoded.issuer),C.xp6(1),C.Q6J("ngIf",Oe.offer.label),C.xp6(1),C.Q6J("ngIf",Oe.offer.label),C.xp6(7),C.Oqu(Oe.offerDecoded.offer_id),C.xp6(7),C.Oqu(null==Oe.offerDecoded?null:Oe.offerDecoded.offer_node_id)}}function L(se,Ye){1&se&&(C.TgZ(0,"p"),C._uU(1,"Show Advanced"),C.qZA())}function O(se,Ye){1&se&&(C.TgZ(0,"p"),C._uU(1,"Hide Advanced"),C.qZA())}function b(se,Ye){if(1&se){const Oe=C.EpF();C.TgZ(0,"button",35),C.NdJ("copied",function(be){C.CHM(Oe);const ue=C.oxw();return C.KtG(ue.onCopyOffer(be))}),C._uU(1,"Copy Offer"),C.qZA()}if(2&se){const Oe=C.oxw();C.Q6J("payload",null==Oe.offer?null:Oe.offer.bolt12)}}function n(se,Ye){if(1&se){const Oe=C.EpF();C.TgZ(0,"button",36),C.NdJ("click",function(){C.CHM(Oe);const be=C.oxw();return C.KtG(be.onClose())}),C._uU(1,"OK"),C.qZA()}}const _=function(se){return{"display-none":se}},H=function(se){return{"xs-scroll-y":se}},V=function(se,Ye){return{"mt-2":se,"mt-1":Ye}};let K=(()=>{class se{constructor(Oe,Qe,be,ue,xe,Pe){this.dialogRef=Oe,this.data=Qe,this.logger=be,this.commonService=ue,this.snackBar=xe,this.dataService=Pe,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=c.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===c.cu.XS&&(this.qrWidth=220),this.dataService.decodePayment(this.offer.bolt12,!0).pipe((0,T.R)(this.unSubs[1])).subscribe(Oe=>{this.offerDecoded=Oe,this.offerDecoded.offer_id&&!this.offerDecoded.offer_amount_msat&&(this.offerDecoded.offer_amount_msat=0)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyOffer(Oe){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+Oe)}ngOnDestroy(){this.unSubs.forEach(Oe=>{Oe.next(null),Oe.complete()})}static#e=this.\u0275fac=function(Qe){return new(Qe||se)(C.Y36(e.so),C.Y36(e.WI),C.Y36(u.mQ),C.Y36(P.v),C.Y36(d.ux),C.Y36(S.D))};static#t=this.\u0275cmp=C.Xpm({type:se,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(Qe,be){if(1&Qe&&(C.TgZ(0,"div",0)(1,"div",1),C.YNc(2,X,1,3,"qr-code",2),C.YNc(3,pe,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 be.onClose()}),C._uU(11,"X"),C.qZA()(),C.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),C.YNc(15,ie,1,3,"qr-code",2),C.YNc(16,de,2,0,"span",13),C.qZA(),C.YNc(17,te,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,"Valid"),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"),C.qZA(),C.TgZ(42,"span",18),C._uU(43),C.qZA()()(),C.YNc(44,y,22,8,"div",21),C.TgZ(45,"div",22)(46,"button",23),C.NdJ("click",function(){return be.onShowAdvanced()}),C.YNc(47,L,2,0,"p",24),C.YNc(48,O,2,0,"ng-template",null,25,C.W1O),C.qZA(),C.YNc(50,b,2,1,"button",26),C.YNc(51,n,2,0,"button",27),C.qZA()()()()()),2&Qe){const ue=C.MAs(49);C.xp6(1),C.Q6J("fxLayoutAlign",null!=be.offer&&be.offer.bolt12&&""!==(null==be.offer?null:be.offer.bolt12)?"center start":"center center")("ngClass",C.VKq(24,_,be.screenSize===be.screenSizeEnum.XS||be.screenSize===be.screenSizeEnum.SM)),C.xp6(1),C.Q6J("ngIf",(null==be.offer?null:be.offer.bolt12)&&""!==(null==be.offer?null:be.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=be.offer&&be.offer.bolt12)||""===(null==be.offer?null:be.offer.bolt12)),C.xp6(4),C.Q6J("icon",be.faReceipt),C.xp6(2),C.Oqu(be.screenSize===be.screenSizeEnum.XS?be.newlyAdded?"Created":"Offer":be.newlyAdded?"Offer Created":"Offer Information"),C.xp6(3),C.Q6J("ngClass",C.VKq(26,H,be.screenSize===be.screenSizeEnum.XS)),C.xp6(2),C.Q6J("fxLayoutAlign",null!=be.offer&&be.offer.bolt12&&""!==(null==be.offer?null:be.offer.bolt12)?"center start":"center center")("ngClass",C.VKq(28,_,be.screenSize!==be.screenSizeEnum.XS&&be.screenSize!==be.screenSizeEnum.SM)),C.xp6(1),C.Q6J("ngIf",(null==be.offer?null:be.offer.bolt12)&&""!==(null==be.offer?null:be.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=be.offer&&be.offer.bolt12)||""===(null==be.offer?null:be.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",be.screenSize===be.screenSizeEnum.XS||be.screenSize===be.screenSizeEnum.SM),C.xp6(6),C.hij(" ",null!=be.offerDecoded&&be.offerDecoded.offer_amount_msat&&0!==(null==be.offerDecoded?null:be.offerDecoded.offer_amount_msat)?C.lcZ(24,22,(null==be.offerDecoded?null:be.offerDecoded.offer_amount_msat)/1e3):"Open Offer"," "),C.xp6(6),C.hij(" ",null!=be.offerDecoded&&be.offerDecoded.valid?null!=be.offerDecoded&&be.offerDecoded.valid?"Yes":"No":"N/K"," "),C.xp6(7),C.hij(" ",null==be.offerDecoded?null:be.offerDecoded.offer_description," "),C.xp6(7),C.Oqu(null==be.offer?null:be.offer.bolt12),C.xp6(1),C.Q6J("ngIf",be.showAdvanced),C.xp6(1),C.Q6J("ngClass",C.WLB(30,V,!be.showAdvanced,be.showAdvanced)),C.xp6(2),C.Q6J("ngIf",!be.showAdvanced)("ngIfElse",ue),C.xp6(3),C.Q6J("ngIf",(null==be.offer?null:be.offer.bolt12)&&""!==(null==be.offer?null:be.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=be.offer&&be.offer.bolt12)||""===(null==be.offer?null:be.offer.bolt12))}},dependencies:[M.mk,M.O5,I.BN,D.xw,D.Wh,D.yH,R.oO,F.lW,W.dn,W.dk,Y.d,Q.uU,J.y,ne.h,M.JJ]})}return se})()},2249:(Ue,q,p)=>{"use strict";p.d(q,{$W:()=>X,BL:()=>y,Bw:()=>Q,CX:()=>S,DJ:()=>le,EK:()=>E,El:()=>ie,Fd:()=>T,GD:()=>ae,HG:()=>ne,HI:()=>b,Iy:()=>Ye,Lf:()=>se,Nr:()=>be,OG:()=>L,On:()=>J,QZ:()=>g,RX:()=>I,SN:()=>M,Sf:()=>oe,TM:()=>V,TW:()=>F,UR:()=>D,WM:()=>Qe,WO:()=>n,YP:()=>xe,YX:()=>m,Z$:()=>ue,Z8:()=>pe,Zr:()=>c,_E:()=>i,aL:()=>Pe,cQ:()=>O,eF:()=>P,eN:()=>R,i:()=>W,iL:()=>Y,iz:()=>d,kL:()=>_,mC:()=>K,n7:()=>ze,oV:()=>H,pW:()=>l,pd:()=>u,ti:()=>ge,wD:()=>C});var e=p(4221),t=p(2154);const g=(0,e.PH)(t.lr.UPDATE_API_CALL_STATUS_ECL,(0,e.Ky)()),T=(0,e.PH)(t.lr.RESET_ECL_STORE,(0,e.Ky)()),c=(0,e.PH)(t.lr.SET_CHILD_NODE_SETTINGS_ECL,(0,e.Ky)()),C=(0,e.PH)(t.lr.FETCH_PAGE_SETTINGS_ECL),u=(0,e.PH)(t.lr.SET_PAGE_SETTINGS_ECL,(0,e.Ky)()),P=(0,e.PH)(t.lr.SAVE_PAGE_SETTINGS_ECL,(0,e.Ky)()),d=(0,e.PH)(t.lr.FETCH_INFO_ECL,(0,e.Ky)()),S=(0,e.PH)(t.lr.SET_INFO_ECL,(0,e.Ky)()),M=(0,e.PH)(t.lr.FETCH_FEES_ECL),I=(0,e.PH)(t.lr.SET_FEES_ECL,(0,e.Ky)()),D=(0,e.PH)(t.lr.FETCH_CHANNELS_ECL,(0,e.Ky)()),R=(0,e.PH)(t.lr.SET_ACTIVE_CHANNELS_ECL,(0,e.Ky)()),F=(0,e.PH)(t.lr.SET_PENDING_CHANNELS_ECL,(0,e.Ky)()),W=(0,e.PH)(t.lr.SET_INACTIVE_CHANNELS_ECL,(0,e.Ky)()),Y=(0,e.PH)(t.lr.FETCH_ONCHAIN_BALANCE_ECL),Q=(0,e.PH)(t.lr.SET_ONCHAIN_BALANCE_ECL,(0,e.Ky)()),J=(0,e.PH)(t.lr.SET_LIGHTNING_BALANCE_ECL,(0,e.Ky)()),ne=(0,e.PH)(t.lr.SET_CHANNELS_STATUS_ECL,(0,e.Ky)()),X=(0,e.PH)(t.lr.FETCH_PEERS_ECL),pe=(0,e.PH)(t.lr.SET_PEERS_ECL,(0,e.Ky)()),ie=(0,e.PH)(t.lr.SAVE_NEW_PEER_ECL,(0,e.Ky)()),ae=((0,e.PH)(t.lr.NEWLY_ADDED_PEER_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.ADD_PEER_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.DETACH_PEER_ECL,(0,e.Ky)())),E=(0,e.PH)(t.lr.REMOVE_PEER_ECL,(0,e.Ky)()),i=(0,e.PH)(t.lr.GET_NEW_ADDRESS_ECL),m=((0,e.PH)(t.lr.SET_NEW_ADDRESS_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.SAVE_NEW_CHANNEL_ECL,(0,e.Ky)())),l=(0,e.PH)(t.lr.UPDATE_CHANNEL_ECL,(0,e.Ky)()),y=(0,e.PH)(t.lr.CLOSE_CHANNEL_ECL,(0,e.Ky)()),L=(0,e.PH)(t.lr.REMOVE_CHANNEL_ECL,(0,e.Ky)()),O=(0,e.PH)(t.lr.FETCH_PAYMENTS_ECL),b=(0,e.PH)(t.lr.SET_PAYMENTS_ECL,(0,e.Ky)()),n=(0,e.PH)(t.lr.GET_QUERY_ROUTES_ECL,(0,e.Ky)()),_=(0,e.PH)(t.lr.SET_QUERY_ROUTES_ECL,(0,e.Ky)()),H=(0,e.PH)(t.lr.SEND_PAYMENT_ECL,(0,e.Ky)()),V=(0,e.PH)(t.lr.SEND_PAYMENT_STATUS_ECL,(0,e.Ky)()),K=(0,e.PH)(t.lr.FETCH_TRANSACTIONS_ECL),se=(0,e.PH)(t.lr.SET_TRANSACTIONS_ECL,(0,e.Ky)()),Ye=(0,e.PH)(t.lr.SEND_ONCHAIN_FUNDS_ECL,(0,e.Ky)()),Qe=((0,e.PH)(t.lr.SEND_ONCHAIN_FUNDS_RES_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.FETCH_INVOICES_ECL)),be=(0,e.PH)(t.lr.SET_INVOICES_ECL,(0,e.Ky)()),ue=(0,e.PH)(t.lr.CREATE_INVOICE_ECL,(0,e.Ky)()),xe=(0,e.PH)(t.lr.ADD_INVOICE_ECL,(0,e.Ky)()),Pe=(0,e.PH)(t.lr.UPDATE_INVOICE_ECL,(0,e.Ky)()),oe=(0,e.PH)(t.lr.PEER_LOOKUP_ECL,(0,e.Ky)()),ze=(0,e.PH)(t.lr.INVOICE_LOOKUP_ECL,(0,e.Ky)()),le=((0,e.PH)(t.lr.SET_LOOKUP_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.UPDATE_CHANNEL_STATE_ECL,(0,e.Ky)())),ge=(0,e.PH)(t.lr.UPDATE_RELAYED_PAYMENT_ECL,(0,e.Ky)())},9337:(Ue,q,p)=>{"use strict";p.d(q,{o:()=>ie});var e=p(5154),t=p(8645),g=p(2096),T=p(1631),c=p(9773),C=p(7398),u=p(6306),P=p(3315),d=p(2154),S=p(9103),M=p(9671),I=p(2249),D=p(9930),R=p(5879),F=p(9862),W=p(4221),Y=p(5813),Q=p(6339),J=p(5980),ne=p(4190),X=p(2285),pe=p(6814);let ie=(()=>{class de{constructor(ae,E,i,o,m,l,y,L,O){this.actions=ae,this.httpClient=E,this.store=i,this.sessionService=o,this.commonService=m,this.logger=l,this.router=y,this.wsService=L,this.location=O,this.CHILD_API_URL=d.T5+"/ecl",this.flgInitialized=!1,this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.rawChannelsList=[],this.unSubs=[new t.x,new t.x,new t.x],this.infoFetchECL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_INFO_ECL),(0,T.z)(b=>(this.flgInitialized=!1,this.store.dispatch((0,S.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,S.ac)({payload:d.m6.GET_NODE_INFO})),this.store.dispatch((0,I.QZ)({payload:{action:"FetchInfo",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.GETINFO_API).pipe((0,c.R)(this.actions.pipe((0,e.l4)(d.pg.SET_SELECTED_NODE))),(0,C.U)(n=>(this.logger.info(n),this.initializeRemainingData(n,b.payload.loadPage),this.store.dispatch((0,I.QZ)({payload:{action:"FetchInfo",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.GET_NODE_INFO})),{type:d.lr.SET_INFO_ECL,payload:n||{}})),(0,u.K)(n=>{const _=this.commonService.extractErrorCode(n),H=503===_?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(n);return this.router.navigate(["/error"],{state:{errorCode:_,errorMessage:H}}),this.handleErrorWithoutAlert("FetchInfo",d.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:_,error:H}),(0,g.of)({type:d.pg.VOID})})))))),this.fetchFees=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_FEES_ECL),(0,T.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchFees",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.FEES_API+"/fees").pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,I.QZ)({payload:{action:"FetchFees",status:d.Bn.COMPLETED}})),{type:d.lr.SET_FEES_ECL,payload:b||{}})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchFees",d.m6.NO_SPINNER,"Fetching Fees Failed.",b),(0,g.of)({type:d.pg.VOID})))))))),this.fetchPayments=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_PAYMENTS_ECL),(0,T.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchPayments",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.FEES_API+"/payments").pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPayments",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAYMENTS_ECL,payload:b||{}})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchPayments",d.m6.NO_SPINNER,"Fetching Payments Failed.",b),(0,g.of)({type:d.pg.VOID})))))))),this.channelsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_CHANNELS_ECL),(0,T.z)(b=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchChannels",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.CHANNELS_API).pipe((0,C.U)(n=>(this.logger.info(n),this.rawChannelsList=n,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,I.QZ)({payload:{action:"FetchChannels",status:d.Bn.COMPLETED}})),b.payload&&b.payload.fetchPayments&&this.store.dispatch((0,I.cQ)()),{type:d.pg.VOID})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchChannels",d.m6.NO_SPINNER,"Fetching Channels Failed.",n),(0,g.of)({type:d.pg.VOID})))))))),this.fetchOnchainBalance=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_ONCHAIN_BALANCE_ECL),(0,T.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchOnchainBalance",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API+"/balance"))),(0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,I.QZ)({payload:{action:"FetchOnchainBalance",status:d.Bn.COMPLETED}})),{type:d.lr.SET_ONCHAIN_BALANCE_ECL,payload:b||{}})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchOnchainBalance",d.m6.NO_SPINNER,"Fetching Onchain Balances Failed.",b),(0,g.of)({type:d.pg.VOID}))))),this.peersFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_PEERS_ECL),(0,T.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchPeers",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.PEERS_API).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPeers",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PEERS_ECL,payload:b||[]})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchPeers",d.m6.NO_SPINNER,"Fetching Peers Failed.",b),(0,g.of)({type:d.pg.VOID})))))))),this.getNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.GET_NEW_ADDRESS_ECL),(0,T.z)(()=>(this.store.dispatch((0,S.ac)({payload:d.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,S.uO)({payload:d.m6.GENERATE_NEW_ADDRESS})),{type:d.lr.SET_NEW_ADDRESS_ECL,payload:b})),(0,u.K)(b=>(this.handleErrorWithAlert("GetNewAddress",d.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+d.vv.ON_CHAIN_API,b),(0,g.of)({type:d.pg.VOID})))))))),this.setNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SET_NEW_ADDRESS_ECL),(0,C.U)(b=>(this.logger.info(b.payload),b.payload))),{dispatch:!1}),this.saveNewPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SAVE_NEW_PEER_ECL),(0,T.z)(b=>(this.store.dispatch((0,S.ac)({payload:d.m6.CONNECT_PEER})),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewPeer",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.PEERS_API+(b.payload.id.includes("@")?"?uri=":"?nodeId=")+b.payload.id,{}).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewPeer",status:d.Bn.COMPLETED}})),n=n||[],this.store.dispatch((0,S.uO)({payload:d.m6.CONNECT_PEER})),this.store.dispatch((0,I.Z8)({payload:n})),{type:d.lr.NEWLY_ADDED_PEER_ECL,payload:{peer:n.find(_=>_.nodeId===(b.payload.id.includes("@")?b.payload.id.substring(0,b.payload.id.indexOf("@")):b.payload.id))}})),(0,u.K)(n=>(this.handleErrorWithoutAlert("SaveNewPeer",d.m6.CONNECT_PEER,"Peer Connection Failed.",n),(0,g.of)({type:d.pg.VOID})))))))),this.detachPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.DETACH_PEER_ECL),(0,T.z)(b=>(this.store.dispatch((0,S.ac)({payload:d.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+d.vv.PEERS_API+"/"+b.payload.nodeId).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,S.uO)({payload:d.m6.DISCONNECT_PEER})),this.store.dispatch((0,S.jW)({payload:"Disconnecting Peer!"})),{type:d.lr.REMOVE_PEER_ECL,payload:{nodeId:b.payload.nodeId}})),(0,u.K)(n=>(this.handleErrorWithAlert("DisconnectPeer",d.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+d.vv.PEERS_API+"/"+b.payload.nodeId,n),(0,g.of)({type:d.pg.VOID})))))))),this.openNewChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SAVE_NEW_CHANNEL_ECL),(0,T.z)(b=>{this.store.dispatch((0,S.ac)({payload:d.m6.OPEN_CHANNEL})),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewChannel",status:d.Bn.INITIATED}}));const n={nodeId:b.payload.nodeId,fundingSatoshis:b.payload.amount,announceChannel:!b.payload.private};return b.payload.feeRate&&b.payload.feeRate>0&&(n.fundingFeerateSatByte=b.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+d.vv.CHANNELS_API,n).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewChannel",status:d.Bn.COMPLETED}})),this.store.dispatch((0,I.$W)()),this.store.dispatch((0,I.iL)()),this.store.dispatch((0,S.uO)({payload:d.m6.OPEN_CHANNEL})),this.store.dispatch((0,S.jW)({payload:"Channel Added Successfully!"})),{type:d.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,u.K)(_=>(this.handleErrorWithoutAlert("SaveNewChannel",d.m6.OPEN_CHANNEL,"Opening Channel Failed.",_),(0,g.of)({type:d.pg.VOID}))))}))),this.updateChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.UPDATE_CHANNEL_ECL),(0,T.z)(b=>{this.store.dispatch((0,S.ac)({payload:d.m6.UPDATE_CHAN_POLICY}));let n="?feeBaseMsat="+b.payload.baseFeeMsat+"&feeProportionalMillionths="+b.payload.feeRate;return n=b.payload.nodeIds?n+"&nodeIds="+b.payload.nodeIds:b.payload.nodeId?n+"&nodeId="+b.payload.nodeId:b.payload.channelIds?n+"&channelIds="+b.payload.channelIds:n+"&channelId="+b.payload.channelId,this.httpClient.post(this.CHILD_API_URL+d.vv.CHANNELS_API+"/updateRelayFee"+n,{}).pipe((0,C.U)(_=>(this.logger.info(_),this.store.dispatch((0,S.uO)({payload:d.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,S.jW)(b.payload.nodeIds||b.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:d.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,u.K)(_=>(this.handleErrorWithAlert("UpdateChannels",d.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+d.vv.CHANNELS_API,_),(0,g.of)({type:d.pg.VOID}))))}))),this.closeChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.CLOSE_CHANNEL_ECL),(0,T.z)(b=>(this.store.dispatch((0,S.ac)({payload:b.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+d.vv.CHANNELS_API+"?channelId="+b.payload.channelId+"&force="+b.payload.force).pipe((0,C.U)(n=>(this.logger.info(n),setTimeout(()=>{this.store.dispatch((0,S.uO)({payload:b.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL})),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!1}})),this.store.dispatch((0,S.jW)({payload:b.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:d.pg.VOID})),(0,u.K)(n=>(this.handleErrorWithAlert("CloseChannel",b.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+d.vv.CHANNELS_API,n),(0,g.of)({type:d.pg.VOID})))))))),this.queryRoutesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.GET_QUERY_ROUTES_ECL),(0,T.z)(b=>this.httpClient.get(this.CHILD_API_URL+d.vv.PAYMENTS_API+"/route?nodeId="+b.payload.nodeId+"&amountMsat="+b.payload.amount).pipe((0,C.U)(n=>(this.logger.info(n),{type:d.lr.SET_QUERY_ROUTES_ECL,payload:n})),(0,u.K)(n=>(this.store.dispatch((0,I.kL)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",d.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+d.vv.PAYMENTS_API+"/route?nodeId="+b.payload.nodeId+"&amountMsat="+b.payload.amount,n),(0,g.of)({type:d.pg.VOID}))))))),this.setQueryRoutes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SET_QUERY_ROUTES_ECL),(0,C.U)(b=>b.payload)),{dispatch:!1}),this.sendPayment=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SEND_PAYMENT_ECL),(0,T.z)(b=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,S.ac)({payload:d.m6.SEND_PAYMENT})),this.store.dispatch((0,I.QZ)({payload:{action:"SendPayment",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.PAYMENTS_API,b.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.latestPaymentRes=n,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:d.pg.VOID})),(0,u.K)(n=>(this.logger.error("Error: "+JSON.stringify(n)),b.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",d.m6.SEND_PAYMENT,"Send Payment Failed.",n):this.handleErrorWithAlert("SendPayment",d.m6.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+d.vv.PAYMENTS_API,n),(0,g.of)({type:d.pg.VOID})))))))),this.transactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_TRANSACTIONS_ECL),(0,T.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchTransactions",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API+"/transactions?count=1000&skip=0"))),(0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,I.QZ)({payload:{action:"FetchTransactions",status:d.Bn.COMPLETED}})),{type:d.lr.SET_TRANSACTIONS_ECL,payload:b||[]})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchTransactions",d.m6.NO_SPINNER,"Fetching Transactions Failed.",b),(0,g.of)({type:d.pg.VOID}))))),this.SendOnchainFunds=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SEND_ONCHAIN_FUNDS_ECL),(0,T.z)(b=>(this.store.dispatch((0,S.ac)({payload:d.m6.SEND_FUNDS})),this.store.dispatch((0,I.QZ)({payload:{action:"SendOnchainFunds",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.ON_CHAIN_API,b.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.QZ)({payload:{action:"SendOnchainFunds",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.SEND_FUNDS})),this.store.dispatch((0,I.iL)()),{type:d.lr.SEND_ONCHAIN_FUNDS_RES_ECL,payload:n})),(0,u.K)(n=>(this.handleErrorWithoutAlert("SendOnchainFunds",d.m6.SEND_FUNDS,"Sending Fund Failed.",n),(0,g.of)({type:d.pg.VOID})))))))),this.createInvoice=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.CREATE_INVOICE_ECL),(0,T.z)(b=>(this.store.dispatch((0,S.ac)({payload:d.m6.CREATE_INVOICE})),this.store.dispatch((0,I.QZ)({payload:{action:"CreateInvoice",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.INVOICES_API,b.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.QZ)({payload:{action:"CreateInvoice",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.CREATE_INVOICE})),n.timestamp=Math.round((new Date).getTime()/1e3),n.expiresAt=Math.round(n.timestamp+b.payload.expireIn),n.description=b.payload.description,n.status="unpaid",setTimeout(()=>{this.store.dispatch((0,S.qR)({payload:{data:{invoice:n,newlyAdded:!0,component:M.R}}}))},200),{type:d.lr.ADD_INVOICE_ECL,payload:n})),(0,u.K)(n=>(this.handleErrorWithoutAlert("CreateInvoice",d.m6.CREATE_INVOICE,"Create Invoice Failed.",n),(0,g.of)({type:d.pg.VOID})))))))),this.invoicesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_INVOICES_ECL),(0,T.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchInvoices",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.INVOICES_API).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,I.QZ)({payload:{action:"FetchInvoices",status:d.Bn.COMPLETED}})),{type:d.lr.SET_INVOICES_ECL,payload:b})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchInvoices",d.m6.NO_SPINNER,"Fetching Invoices Failed.",b),(0,g.of)({type:d.pg.VOID})))))))),this.peerLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.PEER_LOOKUP_ECL),(0,T.z)(b=>(this.store.dispatch((0,S.ac)({payload:d.m6.SEARCHING_NODE})),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.NETWORK_API+"/nodes/"+b.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.SEARCHING_NODE})),{type:d.lr.SET_LOOKUP_ECL,payload:n})),(0,u.K)(n=>(this.handleErrorWithAlert("Lookup",d.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+d.vv.NETWORK_API+"/nodes/"+b.payload,n),(0,g.of)({type:d.pg.VOID})))))))),this.invoiceLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.INVOICE_LOOKUP_ECL),(0,T.z)(b=>(this.store.dispatch((0,S.ac)({payload:d.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.INVOICES_API+"/"+b.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.aL)({payload:n})),{type:d.lr.SET_LOOKUP_ECL,payload:n})),(0,u.K)(n=>(this.handleErrorWithoutAlert("Lookup",d.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",n),this.store.dispatch((0,S.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,g.of)({type:d.pg.VOID})))))))),this.setLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SET_LOOKUP_ECL),(0,C.U)(b=>(this.logger.info(b.payload),b.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_PAGE_SETTINGS_ECL),(0,T.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.INITIATED}})),this.httpClient.get(d.vv.PAGE_SETTINGS_API).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:b||[]})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchPageSettings",d.m6.NO_SPINNER,"Fetching Page Settings Failed.",b),(0,g.of)({type:d.pg.VOID})))))))),this.savePageSettingsCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SAVE_PAGE_SETTINGS_ECL),(0,T.z)(b=>(this.store.dispatch((0,S.ac)({payload:d.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.QZ)({payload:{action:"SavePageSettings",status:d.Bn.INITIATED}})),this.httpClient.post(d.vv.PAGE_SETTINGS_API,b.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,I.QZ)({payload:{action:"SavePageSettings",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,S.jW)({payload:"Page Layout Updated Successfully!"})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:n||[]})),(0,u.K)(n=>(this.handleErrorWithAlert("SavePageSettings",d.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",d.vv.PAGE_SETTINGS_API,n),(0,g.of)({type:d.pg.VOID})))))))),this.handleSendPaymentStatus=b=>{this.store.dispatch((0,I.QZ)({payload:{action:"SendPayment",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.SEND_PAYMENT})),this.store.dispatch((0,I.TM)({payload:this.latestPaymentRes})),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,S.jW)({payload:b}))},this.store.select(D.yA).pipe((0,c.R)(this.unSubs[0])).subscribe(b=>{b.FetchInfo.status!==d.Bn.COMPLETED&&b.FetchInfo.status!==d.Bn.ERROR||b.FetchFees.status!==d.Bn.COMPLETED&&b.FetchFees.status!==d.Bn.ERROR||b.FetchOnchainBalance.status!==d.Bn.COMPLETED&&b.FetchOnchainBalance.status!==d.Bn.ERROR||b.FetchChannels.status!==d.Bn.COMPLETED&&b.FetchChannels.status!==d.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,S.uO)({payload:d.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,c.R)(this.unSubs[1])).subscribe(b=>{this.logger.info("Received new message from the service: "+JSON.stringify(b));let n="";if(b)switch(b.type){case d.$v.PAYMENT_SENT:b&&b.id&&this.latestPaymentRes===b.id&&(this.flgReceivedPaymentUpdateFromWS=!0,n="Payment Sent: "+(b.paymentHash?"with payment hash "+b.paymentHash:JSON.stringify(b)),this.handleSendPaymentStatus(n));break;case d.$v.PAYMENT_FAILED:b&&b.id&&this.latestPaymentRes===b.id&&(this.flgReceivedPaymentUpdateFromWS=!0,n="Payment Failed: "+(b.failures&&b.failures.length&&b.failures.length>0&&b.failures[0].t?b.failures[0].t:b.failures&&b.failures.length&&b.failures.length>0&&b.failures[0].e&&b.failures[0].e.failureMessage?b.failures[0].e.failureMessage:JSON.stringify(b)),this.handleSendPaymentStatus(n));break;case d.$v.PAYMENT_RECEIVED:this.store.dispatch((0,I.aL)({payload:b}));break;case d.$v.PAYMENT_RELAYED:delete b.source,b.amountIn=Math.round((b.amountIn||0)/1e3),b.amountOut=Math.round((b.amountOut||0)/1e3),b.timestamp.unix&&(b.timestamp=1e3*b.timestamp.unix),this.store.dispatch((0,I.ti)({payload:b}));break;case d.$v.CHANNEL_STATE_CHANGED:"NORMAL"===b.currentState||"CLOSED"===b.currentState?(this.rawChannelsList=this.rawChannelsList?.map(_=>(_.channelId===b.channelId&&_.nodeId===b.remoteNodeId&&(_.state=b.currentState),_)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,I.DJ)({payload:b}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(b))}})}setChannelsAndStatusAndBalances(){let ae=0,E=0,i=0,o={localBalance:0,remoteBalance:0},m=[];const l=[],y=[],L={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((O,b)=>{O&&("NORMAL"===O.state?(ae=(O.toLocal||0)+(O.toRemote||0),E+=O.toLocal||0,i+=O.toRemote||0,O.balancedness=0===ae?1:+(1-Math.abs(((O.toLocal||0)-(O.toRemote||0))/ae)).toFixed(3),m.push(O),L.active.channels=L.active.channels+1,L.active.capacity=L.active.capacity+(O.toLocal||0)):O.state?.includes("WAIT")||O.state?.includes("CLOSING")||O.state?.includes("SYNCING")?(O.state=O.state?.replace(/_/g," "),l.push(O),L.pending.channels=L.pending.channels+1,L.pending.capacity=L.pending.capacity+(O.toLocal||0)):(O.state=O.state?.replace(/_/g," "),y.push(O),L.inactive.channels=L.inactive.channels+1,L.inactive.capacity=L.inactive.capacity+(O.toLocal||0)))}),o={localBalance:E,remoteBalance:i},m=this.commonService.sortDescByKey(m,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(m)),this.logger.info("Pending Channels: "+JSON.stringify(l)),this.logger.info("Inactive Channels: "+JSON.stringify(y)),this.logger.info("Lightning Balances: "+JSON.stringify(o)),this.logger.info("Channels Status: "+JSON.stringify(L)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:m,pending:l,inactive:y,balances:o,status:L})),this.store.dispatch((0,I.eN)({payload:m})),this.store.dispatch((0,I.TW)({payload:l})),this.store.dispatch((0,I.i)({payload:y})),this.store.dispatch((0,I.On)({payload:o})),this.store.dispatch((0,I.HG)({payload:L}))}initializeRemainingData(ae,E){this.sessionService.setItem("eclUnlocked","true");const i={identity_pubkey:ae.nodeId,alias:ae.alias,testnet:"testnet"===ae.network,chains:ae.publicAddresses,uris:ae.uris,version:ae.version,numberOfPendingChannels:0};this.store.dispatch((0,S.ac)({payload:d.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,S._V)({payload:i}));let o=this.location.path();o.includes("/lnd/")?o=o?.replace("/lnd/","/ecl/"):o.includes("/cln/")&&(o=o?.replace("/cln/","/ecl/")),(o.includes("/login")||o.includes("/error")||""===o||"HOME"===E||o.includes("?access-key="))&&(o="/ecl/home"),this.router.navigate([o]),this.store.dispatch((0,I.WM)()),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,I.SN)()),this.store.dispatch((0,I.iL)()),this.store.dispatch((0,I.$W)())}handleErrorWithoutAlert(ae,E,i,o){this.logger.error("ERROR IN: "+ae+"\n"+JSON.stringify(o)),401===o.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:E})),this.store.dispatch((0,I.QZ)({payload:{action:ae,status:d.Bn.ERROR,statusCode:o.status.toString(),message:this.commonService.extractErrorMessage(o,i)}})))}handleErrorWithAlert(ae,E,i,o,m){if(this.logger.error(m),401===m.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:E}));const l=this.commonService.extractErrorMessage(m);this.store.dispatch((0,S.qR)({payload:{data:{type:"ERROR",alertTitle:i,message:{code:m.status,message:l,URL:o},component:P.H}}})),this.store.dispatch((0,I.QZ)({payload:{action:ae,status:d.Bn.ERROR,statusCode:m.status.toString(),message:l,URL:o}}))}}ngOnDestroy(){this.unSubs.forEach(ae=>{ae.next(null),ae.complete()})}static#e=this.\u0275fac=function(E){return new(E||de)(R.LFG(e.eX),R.LFG(F.eN),R.LFG(W.yh),R.LFG(Y.m),R.LFG(Q.v),R.LFG(J.mQ),R.LFG(ne.F0),R.LFG(X.d),R.LFG(pe.Ye))};static#t=this.\u0275prov=R.Yz7({token:de,factory:de.\u0275fac})}return de})()},9930:(Ue,q,p)=>{"use strict";p.d(q,{Bo:()=>Y,Ef:()=>W,JG:()=>S,LR:()=>g,PP:()=>d,T$:()=>C,Xz:()=>R,dx:()=>F,kY:()=>Q,nF:()=>T,yA:()=>P,yD:()=>c});var e=p(4221);const t=(0,e.ZF)("ecl"),g=(0,e.P1)(t,J=>J.nodeSettings),T=(0,e.P1)(t,J=>({pageSettings:J.pageSettings,apiCallStatus:J.apisCallStatus.FetchPageSettings})),c=(0,e.P1)(t,J=>J.information),C=(0,e.P1)(t,J=>({information:J.information,apiCallStatus:J.apisCallStatus.FetchInfo})),P=((0,e.P1)(t,J=>J.apisCallStatus.FetchInfo),(0,e.P1)(t,J=>J.apisCallStatus)),d=(0,e.P1)(t,J=>({payments:J.payments,apiCallStatus:J.apisCallStatus.FetchPayments})),S=(0,e.P1)(t,J=>({fees:J.fees,apiCallStatus:J.apisCallStatus.FetchFees})),R=((0,e.P1)(t,J=>({activeChannels:J.activeChannels,apiCallStatus:J.apisCallStatus.FetchChannels})),(0,e.P1)(t,J=>({pendingChannels:J.pendingChannels,apiCallStatus:J.apisCallStatus.FetchChannels})),(0,e.P1)(t,J=>({inactiveChannels:J.inactiveChannels,apiCallStatus:J.apisCallStatus.FetchChannels})),(0,e.P1)(t,J=>({activeChannels:J.activeChannels,pendingChannels:J.pendingChannels,inactiveChannels:J.inactiveChannels,lightningBalance:J.lightningBalance,channelsStatus:J.channelsStatus,apiCallStatus:J.apisCallStatus.FetchChannels}))),F=(0,e.P1)(t,J=>({transactions:J.transactions,apiCallStatus:J.apisCallStatus.FetchTransactions})),W=(0,e.P1)(t,J=>({invoices:J.invoices,apiCallStatus:J.apisCallStatus.FetchInvoices})),Y=(0,e.P1)(t,J=>({peers:J.peers,apiCallStatus:J.apisCallStatus.FetchPeers})),Q=(0,e.P1)(t,J=>({onchainBalance:J.onchainBalance,apiCallStatus:J.apisCallStatus.FetchOnchainBalance}))},9671:(Ue,q,p)=>{"use strict";p.d(q,{R:()=>be});var e=p(7700),t=p(590),g=p(8645),T=p(9773),c=p(2154),C=p(9930),u=p(5879),P=p(5980),d=p(6339),S=p(2939),M=p(4221),I=p(6814),D=p(5597),R=p(3814),F=p(7509),W=p(2296),Y=p(5195),Q=p(6385),J=p(5940),ne=p(6828),X=p(7313),pe=p(6985);function ie(ue,xe){if(1&ue&&u._UZ(0,"qr-code",29),2&ue){const Pe=u.oxw();u.Q6J("value",null==Pe.invoice?null:Pe.invoice.serialized)("size",Pe.qrWidth)("errorCorrectionLevel","L")}}function de(ue,xe){1&ue&&(u.TgZ(0,"span",30),u._uU(1,"N/A"),u.qZA())}function te(ue,xe){if(1&ue&&u._UZ(0,"qr-code",29),2&ue){const Pe=u.oxw();u.Q6J("value",null==Pe.invoice?null:Pe.invoice.serialized)("size",Pe.qrWidth)("errorCorrectionLevel","L")}}function ae(ue,xe){1&ue&&(u.TgZ(0,"span",31),u._uU(1,"QR Code Not Applicable"),u.qZA())}function E(ue,xe){1&ue&&u._UZ(0,"mat-divider",32),2&ue&&u.Q6J("inset",!0)}function i(ue,xe){1&ue&&(u.ynx(0),u._uU(1," (zero amount) "),u.BQk())}function o(ue,xe){1&ue&&u._UZ(0,"span",38)}const m=function(){return[]};function l(ue,xe){if(1&ue&&(u.TgZ(0,"div",34)(1,"div",35)(2,"span",36),u._uU(3),u.ALo(4,"number"),u.qZA(),u.YNc(5,o,1,0,"span",37),u.qZA()()),2&ue){const Pe=u.oxw(2);u.xp6(3),u.hij("",u.lcZ(4,2,null==Pe.invoice?null:Pe.invoice.amountSettled)," Sats"),u.xp6(2),u.Q6J("ngForOf",u.DdM(4,m).constructor(35))}}function y(ue,xe){if(1&ue&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"number"),u.qZA()),2&ue){const Pe=u.oxw(2);u.xp6(1),u.hij("",u.lcZ(2,1,null==Pe.invoice?null:Pe.invoice.amountSettled)," Sats")}}function L(ue,xe){if(1&ue&&(u.ynx(0),u.YNc(1,l,6,5,"div",33),u.YNc(2,y,3,3,"div",19),u.BQk()),2&ue){const Pe=u.oxw();u.xp6(1),u.Q6J("ngIf",Pe.flgInvoicePaid),u.xp6(1),u.Q6J("ngIf",!Pe.flgInvoicePaid)}}function O(ue,xe){1&ue&&(u.TgZ(0,"span"),u._uU(1,"-"),u.qZA())}function b(ue,xe){1&ue&&u._UZ(0,"mat-spinner",40),2&ue&&u.Q6J("diameter",20)}function n(ue,xe){if(1&ue&&(u.ynx(0),u.YNc(1,O,2,0,"span",19),u.YNc(2,b,1,1,"mat-spinner",39),u.BQk()),2&ue){const Pe=u.oxw();u.xp6(1),u.Q6J("ngIf","unpaid"!==(null==Pe.invoice?null:Pe.invoice.status)||!Pe.flgVersionCompatible),u.xp6(1),u.Q6J("ngIf","unpaid"===(null==Pe.invoice?null:Pe.invoice.status)&&Pe.flgVersionCompatible)}}function _(ue,xe){if(1&ue&&(u.TgZ(0,"div"),u._UZ(1,"mat-divider",20),u.TgZ(2,"div",15)(3,"div",41)(4,"h4",17),u._uU(5,"Date Expiry"),u.qZA(),u.TgZ(6,"span",18),u._uU(7),u.ALo(8,"date"),u.qZA()(),u.TgZ(9,"div",42)(10,"h4",17),u._uU(11,"Date Settled"),u.qZA(),u.TgZ(12,"span",21),u._uU(13),u.ALo(14,"date"),u.qZA()()(),u._UZ(15,"mat-divider",20),u.TgZ(16,"div",15)(17,"div",22)(18,"h4",17),u._uU(19,"Payment Hash"),u.qZA(),u.TgZ(20,"span",21),u._uU(21),u.qZA()()(),u._UZ(22,"mat-divider",20),u.TgZ(23,"div",15)(24,"div",22)(25,"h4",17),u._uU(26,"Node ID"),u.qZA(),u.TgZ(27,"span",21),u._uU(28),u.qZA()()(),u._UZ(29,"mat-divider",20),u.qZA()),2&ue){const Pe=u.oxw();u.xp6(7),u.Oqu(u.xi3(8,4,1e3*(null==Pe.invoice?null:Pe.invoice.expiresAt),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(u.xi3(14,7,1e3*(null==Pe.invoice?null:Pe.invoice.receivedAt),"dd/MMM/y HH:mm")),u.xp6(8),u.Oqu(null==Pe.invoice?null:Pe.invoice.paymentHash),u.xp6(7),u.Oqu(null==Pe.invoice?null:Pe.invoice.nodeId)}}function H(ue,xe){1&ue&&(u.TgZ(0,"p"),u._uU(1,"Show Advanced"),u.qZA())}function V(ue,xe){1&ue&&(u.TgZ(0,"p"),u._uU(1,"Hide Advanced"),u.qZA())}function K(ue,xe){if(1&ue){const Pe=u.EpF();u.TgZ(0,"button",43),u.NdJ("copied",function(ze){u.CHM(Pe);const we=u.oxw();return u.KtG(we.onCopyPayment(ze))}),u._uU(1,"Copy Invoice"),u.qZA()}if(2&ue){const Pe=u.oxw();u.Q6J("payload",null==Pe.invoice?null:Pe.invoice.serialized)}}function se(ue,xe){if(1&ue){const Pe=u.EpF();u.TgZ(0,"button",44),u.NdJ("click",function(){u.CHM(Pe);const ze=u.oxw();return u.KtG(ze.onClose())}),u._uU(1,"OK"),u.qZA()}}const Ye=function(ue){return{"display-none":ue}},Oe=function(ue){return{"xs-scroll-y":ue}},Qe=function(ue,xe){return{"mt-2":ue,"mt-1":xe}};let be=(()=>{class ue{constructor(Pe,oe,ze,we,le,ge){this.dialogRef=Pe,this.data=oe,this.logger=ze,this.commonService=we,this.snackBar=le,this.store=ge,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=c.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===c.cu.XS&&(this.qrWidth=220),this.store.select(C.yD).pipe((0,T.R)(this.unSubs[0])).subscribe(Pe=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(Pe.version,"0.5.0")}),this.store.select(C.Ef).pipe((0,T.R)(this.unSubs[1])).subscribe(Pe=>{const oe=this.invoice.status,we=(Pe.invoices&&Pe.invoices.length>0?Pe.invoices:[])?.find(le=>le.paymentHash===this.invoice.paymentHash)||null;we&&(this.invoice=we),oe!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(Pe)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(Pe){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+Pe)}ngOnDestroy(){this.unSubs.forEach(Pe=>{Pe.next(null),Pe.complete()})}static#e=this.\u0275fac=function(oe){return new(oe||ue)(u.Y36(e.so),u.Y36(e.WI),u.Y36(P.mQ),u.Y36(d.v),u.Y36(S.ux),u.Y36(M.yh))};static#t=this.\u0275cmp=u.Xpm({type:ue,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(oe,ze){if(1&oe&&(u.TgZ(0,"div",0)(1,"div",1),u.YNc(2,ie,1,3,"qr-code",2),u.YNc(3,de,2,0,"span",3),u.qZA(),u.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),u._UZ(7,"fa-icon",7),u.TgZ(8,"span",8),u._uU(9),u.qZA()(),u.TgZ(10,"button",9),u.NdJ("click",function(){return ze.onClose()}),u._uU(11,"X"),u.qZA()(),u.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),u.YNc(15,te,1,3,"qr-code",2),u.YNc(16,ae,2,0,"span",13),u.qZA(),u.YNc(17,E,1,1,"mat-divider",14),u.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),u._uU(21,"Amount Requested"),u.qZA(),u.TgZ(22,"span",18),u._uU(23),u.ALo(24,"number"),u.YNc(25,i,2,0,"ng-container",19),u.qZA()(),u.TgZ(26,"div",16)(27,"h4",17),u._uU(28,"Amount Settled"),u.qZA(),u.TgZ(29,"span",18),u.YNc(30,L,3,2,"ng-container",19),u.YNc(31,n,3,2,"ng-container",19),u.qZA()()(),u._UZ(32,"mat-divider",20),u.TgZ(33,"div",15)(34,"div",16)(35,"h4",17),u._uU(36,"Date Created"),u.qZA(),u.TgZ(37,"span",21),u._uU(38),u.ALo(39,"date"),u.qZA()(),u.TgZ(40,"div",16)(41,"h4",17),u._uU(42,"Status"),u.qZA(),u.TgZ(43,"span",21),u._uU(44),u.ALo(45,"titlecase"),u.qZA()()(),u._UZ(46,"mat-divider",20),u.TgZ(47,"div",15)(48,"div",22)(49,"h4",17),u._uU(50,"Description"),u.qZA(),u.TgZ(51,"span",18),u._uU(52),u.qZA()()(),u._UZ(53,"mat-divider",20),u.TgZ(54,"div",15)(55,"div",22)(56,"h4",17),u._uU(57,"Invoice"),u.qZA(),u.TgZ(58,"span",21),u._uU(59),u.qZA()()(),u.YNc(60,_,30,10,"div",19),u.TgZ(61,"div",23)(62,"button",24),u.NdJ("click",function(){return ze.onShowAdvanced()}),u.YNc(63,H,2,0,"p",25),u.YNc(64,V,2,0,"ng-template",null,26,u.W1O),u.qZA(),u.YNc(66,K,2,1,"button",27),u.YNc(67,se,2,0,"button",28),u.qZA()()()()()),2&oe){const we=u.MAs(65);u.xp6(1),u.Q6J("fxLayoutAlign",null!=ze.invoice&&ze.invoice.serialized&&""!==(null==ze.invoice?null:ze.invoice.serialized)?"center start":"center center")("ngClass",u.VKq(33,Ye,ze.screenSize===ze.screenSizeEnum.XS||ze.screenSize===ze.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==ze.invoice?null:ze.invoice.serialized)&&""!==(null==ze.invoice?null:ze.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",!(null!=ze.invoice&&ze.invoice.serialized)||""===(null==ze.invoice?null:ze.invoice.serialized)),u.xp6(4),u.Q6J("icon",ze.faReceipt),u.xp6(2),u.Oqu(ze.screenSize===ze.screenSizeEnum.XS?ze.newlyAdded?"Created":"Invoice":ze.newlyAdded?"Invoice Created":"Invoice Information"),u.xp6(3),u.Q6J("ngClass",u.VKq(35,Oe,ze.screenSize===ze.screenSizeEnum.XS)),u.xp6(2),u.Q6J("fxLayoutAlign",null!=ze.invoice&&ze.invoice.serialized&&""!==(null==ze.invoice?null:ze.invoice.serialized)?"center start":"center center")("ngClass",u.VKq(37,Ye,ze.screenSize!==ze.screenSizeEnum.XS&&ze.screenSize!==ze.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==ze.invoice?null:ze.invoice.serialized)&&""!==(null==ze.invoice?null:ze.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",!(null!=ze.invoice&&ze.invoice.serialized)||""===(null==ze.invoice?null:ze.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",ze.screenSize===ze.screenSizeEnum.XS||ze.screenSize===ze.screenSizeEnum.SM),u.xp6(6),u.hij("",u.lcZ(24,26,(null==ze.invoice?null:ze.invoice.amount)||0)," Sats"),u.xp6(2),u.Q6J("ngIf",!(null!=ze.invoice&&ze.invoice.amount)||"0"===(null==ze.invoice?null:ze.invoice.amount)),u.xp6(5),u.Q6J("ngIf",null==ze.invoice?null:ze.invoice.amountSettled),u.xp6(1),u.Q6J("ngIf",!(null!=ze.invoice&&ze.invoice.amountSettled)),u.xp6(7),u.Oqu(u.xi3(39,28,1e3*(null==ze.invoice?null:ze.invoice.timestamp),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(u.lcZ(45,31,null==ze.invoice?null:ze.invoice.status)),u.xp6(8),u.Oqu((null==ze.invoice?null:ze.invoice.description)||"-"),u.xp6(7),u.Oqu((null==ze.invoice?null:ze.invoice.serialized)||"N/A"),u.xp6(1),u.Q6J("ngIf",ze.showAdvanced),u.xp6(1),u.Q6J("ngClass",u.WLB(39,Qe,!ze.showAdvanced,ze.showAdvanced)),u.xp6(2),u.Q6J("ngIf",!ze.showAdvanced)("ngIfElse",we),u.xp6(3),u.Q6J("ngIf",(null==ze.invoice?null:ze.invoice.serialized)&&""!==(null==ze.invoice?null:ze.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",!(null!=ze.invoice&&ze.invoice.serialized)||""===(null==ze.invoice?null:ze.invoice.serialized))}},dependencies:[I.mk,I.sg,I.O5,D.BN,R.xw,R.Wh,R.yH,F.oO,W.lW,Y.dn,Y.dk,Q.d,J.Ou,ne.uU,X.y,pe.h,I.JJ,I.rS,I.uU]})}return ue})()},9191:(Ue,q,p)=>{"use strict";p.d(q,{$A:()=>Je,$W:()=>M,BL:()=>O,B_:()=>se,Bl:()=>pe,CX:()=>S,Cp:()=>_,EK:()=>W,El:()=>D,Fr:()=>pt,HI:()=>ge,JT:()=>c,Jl:()=>ie,Jo:()=>Rt,Lf:()=>oe,Ll:()=>T,Ly:()=>ze,Nr:()=>be,OG:()=>b,PC:()=>g,QJ:()=>yt,RX:()=>X,Rd:()=>Y,Rv:()=>de,SN:()=>ne,Sf:()=>ot,TW:()=>o,UH:()=>we,UR:()=>ae,Vv:()=>n,WM:()=>Qe,WO:()=>kt,Wi:()=>ve,YP:()=>J,YX:()=>L,Z7:()=>i,Z8:()=>I,Zh:()=>m,_E:()=>Ve,_L:()=>l,aL:()=>ue,as:()=>E,cQ:()=>le,dV:()=>Le,eF:()=>P,fu:()=>xt,kL:()=>Dt,ks:()=>te,mC:()=>Pe,n7:()=>re,oV:()=>fe,pW:()=>y,pd:()=>u,qY:()=>xe,sQ:()=>d,tb:()=>K,u0:()=>Ke,vV:()=>Ye,wD:()=>C,xG:()=>ke,y2:()=>et,yZ:()=>Be,z:()=>F});var e=p(4221),t=p(2154);const g=(0,e.PH)(t.uR.UPDATE_API_CALL_STATUS_LND,(0,e.Ky)()),T=(0,e.PH)(t.uR.RESET_LND_STORE,(0,e.Ky)()),c=(0,e.PH)(t.uR.SET_CHILD_NODE_SETTINGS_LND,(0,e.Ky)()),C=(0,e.PH)(t.uR.FETCH_PAGE_SETTINGS_LND),u=(0,e.PH)(t.uR.SET_PAGE_SETTINGS_LND,(0,e.Ky)()),P=(0,e.PH)(t.uR.SAVE_PAGE_SETTINGS_LND,(0,e.Ky)()),d=(0,e.PH)(t.uR.FETCH_INFO_LND,(0,e.Ky)()),S=(0,e.PH)(t.uR.SET_INFO_LND,(0,e.Ky)()),M=(0,e.PH)(t.uR.FETCH_PEERS_LND),I=(0,e.PH)(t.uR.SET_PEERS_LND,(0,e.Ky)()),D=(0,e.PH)(t.uR.SAVE_NEW_PEER_LND,(0,e.Ky)()),F=((0,e.PH)(t.uR.NEWLY_ADDED_PEER_LND,(0,e.Ky)()),(0,e.PH)(t.uR.DETACH_PEER_LND,(0,e.Ky)())),W=(0,e.PH)(t.uR.REMOVE_PEER_LND,(0,e.Ky)()),Y=(0,e.PH)(t.uR.SAVE_NEW_INVOICE_LND,(0,e.Ky)()),J=((0,e.PH)(t.uR.NEWLY_SAVED_INVOICE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.ADD_INVOICE_LND,(0,e.Ky)())),ne=(0,e.PH)(t.uR.FETCH_FEES_LND),X=(0,e.PH)(t.uR.SET_FEES_LND,(0,e.Ky)()),pe=(0,e.PH)(t.uR.FETCH_BLOCKCHAIN_BALANCE_LND),ie=(0,e.PH)(t.uR.SET_BLOCKCHAIN_BALANCE_LND,(0,e.Ky)()),de=(0,e.PH)(t.uR.FETCH_NETWORK_LND),te=(0,e.PH)(t.uR.SET_NETWORK_LND,(0,e.Ky)()),ae=(0,e.PH)(t.uR.FETCH_CHANNELS_LND),E=(0,e.PH)(t.uR.SET_CHANNELS_LND,(0,e.Ky)()),i=(0,e.PH)(t.uR.FETCH_PENDING_CHANNELS_LND),o=(0,e.PH)(t.uR.SET_PENDING_CHANNELS_LND,(0,e.Ky)()),m=(0,e.PH)(t.uR.FETCH_CLOSED_CHANNELS_LND),l=(0,e.PH)(t.uR.SET_CLOSED_CHANNELS_LND,(0,e.Ky)()),y=(0,e.PH)(t.uR.UPDATE_CHANNEL_LND,(0,e.Ky)()),L=(0,e.PH)(t.uR.SAVE_NEW_CHANNEL_LND,(0,e.Ky)()),O=(0,e.PH)(t.uR.CLOSE_CHANNEL_LND,(0,e.Ky)()),b=(0,e.PH)(t.uR.REMOVE_CHANNEL_LND,(0,e.Ky)()),n=(0,e.PH)(t.uR.BACKUP_CHANNELS_LND,(0,e.Ky)()),_=(0,e.PH)(t.uR.VERIFY_CHANNEL_LND,(0,e.Ky)()),K=((0,e.PH)(t.uR.BACKUP_CHANNELS_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.VERIFY_CHANNEL_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.RESTORE_CHANNELS_LIST_LND)),se=(0,e.PH)(t.uR.SET_RESTORE_CHANNELS_LIST_LND,(0,e.Ky)()),Ye=(0,e.PH)(t.uR.RESTORE_CHANNELS_LND,(0,e.Ky)()),Qe=((0,e.PH)(t.uR.RESTORE_CHANNELS_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.FETCH_INVOICES_LND,(0,e.Ky)())),be=(0,e.PH)(t.uR.SET_INVOICES_LND,(0,e.Ky)()),ue=(0,e.PH)(t.uR.UPDATE_INVOICE_LND,(0,e.Ky)()),xe=(0,e.PH)(t.uR.UPDATE_PAYMENT_LND,(0,e.Ky)()),Pe=(0,e.PH)(t.uR.FETCH_TRANSACTIONS_LND),oe=(0,e.PH)(t.uR.SET_TRANSACTIONS_LND,(0,e.Ky)()),ze=(0,e.PH)(t.uR.FETCH_UTXOS_LND),we=(0,e.PH)(t.uR.SET_UTXOS_LND,(0,e.Ky)()),le=(0,e.PH)(t.uR.FETCH_PAYMENTS_LND,(0,e.Ky)()),ge=(0,e.PH)(t.uR.SET_PAYMENTS_LND,(0,e.Ky)()),fe=(0,e.PH)(t.uR.SEND_PAYMENT_LND,(0,e.Ky)()),Le=((0,e.PH)(t.uR.SEND_PAYMENT_STATUS_LND,(0,e.Ky)()),(0,e.PH)(t.uR.FETCH_GRAPH_NODE_LND,(0,e.Ky)())),Ve=((0,e.PH)(t.uR.SET_GRAPH_NODE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GET_NEW_ADDRESS_LND,(0,e.Ky)())),ve=((0,e.PH)(t.uR.SET_NEW_ADDRESS_LND,(0,e.Ky)()),(0,e.PH)(t.uR.SET_CHANNEL_TRANSACTION_LND,(0,e.Ky)())),xt=((0,e.PH)(t.uR.SET_CHANNEL_TRANSACTION_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GEN_SEED_LND,(0,e.Ky)())),et=((0,e.PH)(t.uR.GEN_SEED_RESPONSE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.INIT_WALLET_LND,(0,e.Ky)())),ke=((0,e.PH)(t.uR.INIT_WALLET_RESPONSE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.UNLOCK_WALLET_LND,(0,e.Ky)())),ot=(0,e.PH)(t.uR.PEER_LOOKUP_LND,(0,e.Ky)()),Je=(0,e.PH)(t.uR.CHANNEL_LOOKUP_LND,(0,e.Ky)()),re=(0,e.PH)(t.uR.INVOICE_LOOKUP_LND,(0,e.Ky)()),Be=(0,e.PH)(t.uR.PAYMENT_LOOKUP_LND,(0,e.Ky)()),Ke=((0,e.PH)(t.uR.SET_LOOKUP_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GET_FORWARDING_HISTORY_LND,(0,e.Ky)())),yt=(0,e.PH)(t.uR.SET_FORWARDING_HISTORY_LND,(0,e.Ky)()),kt=(0,e.PH)(t.uR.GET_QUERY_ROUTES_LND,(0,e.Ky)()),Dt=(0,e.PH)(t.uR.SET_QUERY_ROUTES_LND,(0,e.Ky)()),Rt=(0,e.PH)(t.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),pt=(0,e.PH)(t.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,e.Ky)())},168:(Ue,q,p)=>{"use strict";p.d(q,{l:()=>te});var e=p(5154),t=p(8645),g=p(2096),T=p(1631),c=p(9773),C=p(7398),u=p(6306),P=p(2460),d=p(5456),S=p(3315),M=p(2154),I=p(9103),D=p(9191),R=p(7321),F=p(5879),W=p(9862),Y=p(4221),Q=p(5980),J=p(6339),ne=p(5813),X=p(7700),pe=p(4190),ie=p(2285),de=p(6814);let te=(()=>{class ae{constructor(i,o,m,l,y,L,O,b,n,_){this.actions=i,this.httpClient=o,this.store=m,this.logger=l,this.commonService=y,this.sessionService=L,this.dialog=O,this.router=b,this.wsService=n,this.location=_,this.CHILD_API_URL=M.T5+"/lnd",this.invoicesPageSettings=M.gK.find(H=>"transactions"===H.pageId)?.tables.find(H=>"invoices"===H.tableId),this.paymentsPageSettings=M.gK.find(H=>"transactions"===H.pageId)?.tables.find(H=>"payments"===H.tableId),this.flgInitialized=!1,this.unSubs=[new t.x,new t.x],this.infoFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_INFO_LND),(0,T.z)(H=>(this.flgInitialized=!1,this.store.dispatch((0,I.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.ac)({payload:M.m6.GET_NODE_INFO})),this.store.dispatch((0,D.PC)({payload:{action:"FetchInfo",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.GETINFO_API).pipe((0,c.R)(this.actions.pipe((0,e.l4)(M.pg.SET_SELECTED_NODE))),(0,C.U)(V=>(this.logger.info(V),V.chains&&V.chains.length&&V.chains[0]&&("string"==typeof V.chains[0]&&V.chains[0].toLowerCase().indexOf("bitcoin")<0||"object"==typeof V.chains[0]&&V.chains[0].hasOwnProperty("chain")&&V.chains[0].chain&&V.chains[0].chain.toLowerCase().indexOf("bitcoin")<0)?(this.store.dispatch((0,D.PC)({payload:{action:"FetchInfo",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.qR)({payload:{data:{type:M.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:M.pg.LOGOUT}):V.identity_pubkey?(V.lnImplementation="LND",this.initializeRemainingData(V,H.payload.loadPage),this.store.dispatch((0,D.PC)({payload:{action:"FetchInfo",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),{type:M.uR.SET_INFO_LND,payload:V||{}}):(this.store.dispatch((0,D.PC)({payload:{action:"FetchInfo",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:M.uR.SET_INFO_LND,payload:{}}))),(0,u.K)(V=>{if("string"==typeof V.error.error&&V.error.error.includes("Not Found")||"string"==typeof V.error.error&&V.error.error.includes("wallet locked")||502===V.status&&!V.error.message.includes("Bad or Missing Macaroon"))this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),this.handleErrorWithoutAlert("FetchInfo",M.m6.GET_NODE_INFO,"Fetching Node Info Failed.",V);else if("string"==typeof V.error.error&&V.error.error.includes("starting up")&&500===V.status)setTimeout(()=>{this.store.dispatch((0,D.sQ)({payload:{loadPage:"HOME"}}))},2e3);else{const K=this.commonService.extractErrorCode(V),se=503===K?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(V);this.router.navigate(["/error"],{state:{errorCode:K,errorMessage:se}}),this.handleErrorWithoutAlert("FetchInfo",M.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:K,error:se})}return(0,g.of)({type:M.pg.VOID})})))))),this.peersFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_PEERS_LND),(0,T.z)(()=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchPeers",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.PEERS_API).pipe((0,C.U)(H=>(this.logger.info(H),this.store.dispatch((0,D.PC)({payload:{action:"FetchPeers",status:M.Bn.COMPLETED}})),{type:M.uR.SET_PEERS_LND,payload:H||[]})),(0,u.K)(H=>(this.handleErrorWithoutAlert("FetchPeers",M.m6.NO_SPINNER,"Fetching Peers Failed.",H),(0,g.of)({type:M.pg.VOID})))))))),this.saveNewPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SAVE_NEW_PEER_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.CONNECT_PEER})),this.store.dispatch((0,D.PC)({payload:{action:"SaveNewPeer",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.PEERS_API,{pubkey:H.payload.pubkey,host:H.payload.host,perm:H.payload.perm}).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,D.PC)({payload:{action:"SaveNewPeer",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.CONNECT_PEER})),this.store.dispatch((0,D.Z8)({payload:V||[]})),{type:M.uR.NEWLY_ADDED_PEER_LND,payload:{peer:V[0]}})),(0,u.K)(V=>(this.handleErrorWithoutAlert("SaveNewPeer",M.m6.CONNECT_PEER,"Peer Connection Failed.",V),(0,g.of)({type:M.pg.VOID})))))))),this.detachPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.DETACH_PEER_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+M.vv.PEERS_API+"/"+H.payload.pubkey).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,I.uO)({payload:M.m6.DISCONNECT_PEER})),this.store.dispatch((0,I.jW)({payload:"Peer Disconnected Successfully."})),{type:M.uR.REMOVE_PEER_LND,payload:{pubkey:H.payload.pubkey}})),(0,u.K)(V=>(this.handleErrorWithAlert("DetachPeer",M.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+M.vv.PEERS_API+"/"+H.payload.pubkey,V),(0,g.of)({type:M.pg.VOID})))))))),this.saveNewInvoice=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SAVE_NEW_INVOICE_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,D.PC)({payload:{action:"SaveNewInvoice",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.INVOICES_API,{memo:H.payload.memo,value:H.payload.value,private:H.payload.private,expiry:H.payload.expiry,is_amp:H.payload.is_amp}).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,D.PC)({payload:{action:"SaveNewInvoice",status:M.Bn.COMPLETED}})),this.store.dispatch((0,D.WM)({payload:{num_max_invoices:H.payload.pageSize,reversed:!0}})),H.payload.openModal?(V.memo=H.payload.memo,V.value=H.payload.value,V.expiry=H.payload.expiry,V.private=H.payload.private,V.is_amp=H.payload.is_amp,V.cltv_expiry="144",V.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,I.qR)({payload:{data:{invoice:V,newlyAdded:!0,component:d.v}}}))},200),{type:M.pg.CLOSE_SPINNER,payload:H.payload.uiMessage}):{type:M.uR.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:V.payment_request}})),(0,u.K)(V=>(this.handleErrorWithoutAlert("SaveNewInvoice",H.payload.uiMessage,"Add Invoice Failed.",V),(0,g.of)({type:M.pg.VOID})))))))),this.openNewChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SAVE_NEW_CHANNEL_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.OPEN_CHANNEL})),this.store.dispatch((0,D.PC)({payload:{action:"SaveNewChannel",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_API,{node_pubkey:H.payload.selectedPeerPubkey,local_funding_amount:H.payload.fundingAmount,private:H.payload.private,trans_type:H.payload.transType,trans_type_value:H.payload.transTypeValue,spend_unconfirmed:H.payload.spendUnconfirmed,commitment_type:H.payload.commitmentType}).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,D.PC)({payload:{action:"SaveNewChannel",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.OPEN_CHANNEL})),this.store.dispatch((0,D.Bl)()),this.store.dispatch((0,D.UR)()),this.store.dispatch((0,D.Vv)({payload:{uiMessage:M.m6.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:M.uR.FETCH_PENDING_CHANNELS_LND})),(0,u.K)(V=>(this.handleErrorWithoutAlert("SaveNewChannel",M.m6.OPEN_CHANNEL,"Opening Channel Failed.",V),(0,g.of)({type:M.pg.VOID})))))))),this.updateChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.UPDATE_CHANNEL_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_API+"/chanPolicy",{baseFeeMsat:H.payload.baseFeeMsat,feeRate:H.payload.feeRate,timeLockDelta:H.payload.timeLockDelta,max_htlc_msat:H.payload.maxHtlcMsat,min_htlc_msat:H.payload.minHtlcMsat,chanPoint:H.payload.chanPoint}).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,I.uO)({payload:M.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,I.jW)("all"===H.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:M.uR.FETCH_CHANNELS_LND})),(0,u.K)(V=>(this.handleErrorWithAlert("UpdateChannels",M.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+M.vv.CHANNELS_API+"/chanPolicy",V),(0,g.of)({type:M.pg.VOID})))))))),this.closeChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.CLOSE_CHANNEL_LND),(0,T.z)(H=>{this.store.dispatch((0,I.ac)({payload:H.payload.forcibly?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL}));let V=this.CHILD_API_URL+M.vv.CHANNELS_API+"/"+H.payload.channelPoint+"?force="+H.payload.forcibly;return H.payload.targetConf&&(V=V+"&target_conf="+H.payload.targetConf),H.payload.satPerByte&&(V=V+"&sat_per_byte="+H.payload.satPerByte),this.httpClient.delete(V).pipe((0,C.U)(K=>(this.logger.info(K),this.store.dispatch((0,I.uO)({payload:H.payload.forcibly?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL})),this.store.dispatch((0,D.UR)()),this.store.dispatch((0,D.Z7)()),this.store.dispatch((0,D.Vv)({payload:{uiMessage:M.m6.NO_SPINNER,channelPoint:"ALL",showMessage:K.message}})),{type:M.pg.VOID})),(0,u.K)(K=>(this.handleErrorWithAlert("CloseChannel",H.payload.forcibly?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+M.vv.CHANNELS_API+"/"+H.payload.channelPoint+"?force="+H.payload.forcibly,K),(0,g.of)({type:M.pg.VOID}))))}))),this.backupChannels=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.BACKUP_CHANNELS_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,D.PC)({payload:{action:"BackupChannels",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/"+H.payload.channelPoint).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,D.PC)({payload:{action:"BackupChannels",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,I.jW)({payload:H.payload.showMessage+" "+V.message})),{type:M.uR.BACKUP_CHANNELS_RES_LND,payload:V.message})),(0,u.K)(V=>(this.handleErrorWithAlert("BackupChannels",H.payload.uiMessage,H.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/"+H.payload.channelPoint,V),(0,g.of)({type:M.pg.VOID})))))))),this.verifyChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.VERIFY_CHANNEL_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.VERIFY_CHANNEL})),this.store.dispatch((0,D.PC)({payload:{action:"VerifyChannel",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/verify/"+H.payload.channelPoint,{}).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,D.PC)({payload:{action:"VerifyChannel",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.VERIFY_CHANNEL})),this.store.dispatch((0,I.jW)({payload:V.message})),{type:M.uR.VERIFY_CHANNEL_RES_LND,payload:V.message})),(0,u.K)(V=>(this.handleErrorWithAlert("VerifyChannel",M.m6.VERIFY_CHANNEL,"Unable to Verify Channel. Try again later.",this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/verify/"+H.payload.channelPoint,V),(0,g.of)({type:M.pg.VOID})))))))),this.restoreChannels=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.RESTORE_CHANNELS_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.RESTORE_CHANNEL})),this.store.dispatch((0,D.PC)({payload:{action:"RestoreChannels",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/restore/"+H.payload.channelPoint,{}).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,D.PC)({payload:{action:"RestoreChannels",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.RESTORE_CHANNEL})),this.store.dispatch((0,I.jW)({payload:V.message})),this.store.dispatch((0,D.B_)({payload:V.list})),{type:M.uR.RESTORE_CHANNELS_RES_LND,payload:V.message})),(0,u.K)(V=>(this.handleErrorWithAlert("RestoreChannels",M.m6.RESTORE_CHANNEL,"Unable to Restore Channel. Try again later.",this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/restore/"+H.payload.channelPoint,V),(0,g.of)({type:M.pg.VOID})))))))),this.fetchFees=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_FEES_LND),(0,T.z)(()=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchFees",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.FEES_API))),(0,C.U)(H=>(this.logger.info(H),this.store.dispatch((0,D.PC)({payload:{action:"FetchFees",status:M.Bn.COMPLETED}})),H.forwarding_events_history&&(this.store.dispatch((0,D.QJ)({payload:H.forwarding_events_history})),delete H.forwarding_events_history),{type:M.uR.SET_FEES_LND,payload:H||{}})),(0,u.K)(H=>(this.handleErrorWithoutAlert("FetchFees",M.m6.NO_SPINNER,"Fetching Fees Failed.",H),(0,g.of)({type:M.pg.VOID}))))),this.balanceBlockchainFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_BLOCKCHAIN_BALANCE_LND),(0,T.z)(()=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchBalance",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.BALANCE_API))),(0,C.U)(H=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchBalance",status:M.Bn.COMPLETED}})),this.logger.info(H),{type:M.uR.SET_BLOCKCHAIN_BALANCE_LND,payload:H||{total_balance:""}})),(0,u.K)(H=>(this.handleErrorWithoutAlert("FetchBalance",M.m6.NO_SPINNER,"Fetching Blockchain Balance Failed.",H),(0,g.of)({type:M.pg.VOID}))))),this.networkInfoFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_NETWORK_LND),(0,T.z)(()=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchNetwork",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/info"))),(0,C.U)(H=>(this.logger.info(H),this.store.dispatch((0,D.PC)({payload:{action:"FetchNetwork",status:M.Bn.COMPLETED}})),{type:M.uR.SET_NETWORK_LND,payload:H||{}})),(0,u.K)(H=>(this.handleErrorWithoutAlert("FetchNetwork",M.m6.NO_SPINNER,"Fetching Network Failed.",H),(0,g.of)({type:M.pg.VOID}))))),this.channelsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_CHANNELS_LND),(0,T.z)(()=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchChannels",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_API).pipe((0,C.U)(H=>(this.logger.info(H),this.store.dispatch((0,D.PC)({payload:{action:"FetchChannels",status:M.Bn.COMPLETED}})),{type:M.uR.SET_CHANNELS_LND,payload:H.channels||[]})),(0,u.K)(H=>(this.handleErrorWithoutAlert("FetchChannels",M.m6.NO_SPINNER,"Fetching Channels Failed.",H),(0,g.of)({type:M.pg.VOID})))))))),this.channelsPendingFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_PENDING_CHANNELS_LND),(0,T.z)(()=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchPendingChannels",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_API+"/pending").pipe((0,C.U)(H=>{this.logger.info(H),this.store.dispatch((0,D.PC)({payload:{action:"FetchPendingChannels",status:M.Bn.COMPLETED}}));const V={open:{num_channels:0,limbo_balance:0},closing:{num_channels:0,limbo_balance:0},force_closing:{num_channels:0,limbo_balance:0},waiting_close:{num_channels:0,limbo_balance:0},total_channels:0,total_limbo_balance:0};return H&&(V.total_limbo_balance=H.total_limbo_balance,H.pending_closing_channels&&(V.closing.num_channels=H.pending_closing_channels.length,V.total_channels=V.total_channels+H.pending_closing_channels.length,H.pending_closing_channels.forEach(K=>{V.closing.limbo_balance=+V.closing.limbo_balance+(K.channel.local_balance?+K.channel.local_balance:0)})),H.pending_force_closing_channels&&(V.force_closing.num_channels=H.pending_force_closing_channels.length,V.total_channels=V.total_channels+H.pending_force_closing_channels.length,H.pending_force_closing_channels.forEach(K=>{V.force_closing.limbo_balance=+V.force_closing.limbo_balance+(K.channel.local_balance?+K.channel.local_balance:0)})),H.pending_open_channels&&(V.open.num_channels=H.pending_open_channels.length,V.total_channels=V.total_channels+H.pending_open_channels.length,H.pending_open_channels.forEach(K=>{V.open.limbo_balance=+V.open.limbo_balance+(K.channel.local_balance?+K.channel.local_balance:0)})),H.waiting_close_channels&&(V.waiting_close.num_channels=H.waiting_close_channels.length,V.total_channels=V.total_channels+H.waiting_close_channels.length,H.waiting_close_channels.forEach(K=>{V.waiting_close.limbo_balance=+V.waiting_close.limbo_balance+(K.channel.local_balance?+K.channel.local_balance:0)}))),{type:M.uR.SET_PENDING_CHANNELS_LND,payload:H?{pendingChannels:H,pendingChannelsSummary:V}:{pendingChannels:{},pendingChannelsSummary:V}}}),(0,u.K)(H=>(this.handleErrorWithoutAlert("FetchPendingChannels",M.m6.NO_SPINNER,"Fetching Pending Channels Failed.",H),(0,g.of)({type:M.pg.VOID})))))))),this.channelsClosedFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_CLOSED_CHANNELS_LND),(0,T.z)(()=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchClosedChannels",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_API+"/closed").pipe((0,C.U)(H=>(this.logger.info(H),this.store.dispatch((0,D.PC)({payload:{action:"FetchClosedChannels",status:M.Bn.COMPLETED}})),{type:M.uR.SET_CLOSED_CHANNELS_LND,payload:H.channels||[]})),(0,u.K)(H=>(this.handleErrorWithoutAlert("FetchClosedChannels",M.m6.NO_SPINNER,"Fetching Closed Channels Failed.",H),(0,g.of)({type:M.pg.VOID})))))))),this.invoicesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_INVOICES_LND),(0,T.z)(H=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchInvoices",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.INVOICES_API+"?num_max_invoices="+(H.payload.num_max_invoices?H.payload.num_max_invoices:100)+"&index_offset="+(H.payload.index_offset?H.payload.index_offset:0)+"&reversed="+(!!H.payload.reversed&&H.payload.reversed)).pipe((0,C.U)(Ye=>(this.logger.info(Ye),this.store.dispatch((0,D.PC)({payload:{action:"FetchInvoices",status:M.Bn.COMPLETED}})),H.payload.reversed&&!H.payload.index_offset&&(Ye.total_invoices=+(Ye.last_index_offset||0)),{type:M.uR.SET_INVOICES_LND,payload:Ye})),(0,u.K)(Ye=>(this.handleErrorWithoutAlert("FetchInvoices",M.m6.NO_SPINNER,"Fetching Invoices Failed.",Ye),(0,g.of)({type:M.pg.VOID})))))))),this.transactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_TRANSACTIONS_LND),(0,T.z)(()=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchTransactions",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.TRANSACTIONS_API))),(0,C.U)(H=>(this.logger.info(H),this.store.dispatch((0,D.PC)({payload:{action:"FetchTransactions",status:M.Bn.COMPLETED}})),{type:M.uR.SET_TRANSACTIONS_LND,payload:H||[]})),(0,u.K)(H=>(this.handleErrorWithoutAlert("FetchTransactions",M.m6.NO_SPINNER,"Fetching Transactions Failed.",H),(0,g.of)({type:M.pg.VOID}))))),this.utxosFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_UTXOS_LND),(0,P.M)(this.store.select(R.Q5)),(0,T.z)(([H,V])=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchUTXOs",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.WALLET_API+"/getUTXOs?max_confs="+(V&&V.block_height?V.block_height:1e9)))),(0,C.U)(H=>(this.logger.info(H),this.store.dispatch((0,D.PC)({payload:{action:"FetchUTXOs",status:M.Bn.COMPLETED}})),{type:M.uR.SET_UTXOS_LND,payload:H||[]})),(0,u.K)(H=>(this.handleErrorWithoutAlert("FetchUTXOs",M.m6.NO_SPINNER,"Fetching UTXOs Failed.",H),(0,g.of)({type:M.pg.VOID}))))),this.paymentsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_PAYMENTS_LND),(0,T.z)(H=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchPayments",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.PAYMENTS_API+"?max_payments="+(H.payload.max_payments?H.payload.max_payments:100)+"&index_offset="+(H.payload.index_offset?H.payload.index_offset:0)+"&reversed="+(!!H.payload.reversed&&H.payload.reversed)).pipe((0,C.U)(Ye=>(this.logger.info(Ye),this.store.dispatch((0,D.PC)({payload:{action:"FetchPayments",status:M.Bn.COMPLETED}})),this.commonService.sortByKey(Ye.payments||[],this.paymentsPageSettings?.sortBy||"creation_date","number",this.paymentsPageSettings?.sortOrder),{type:M.uR.SET_PAYMENTS_LND,payload:Ye})),(0,u.K)(Ye=>(this.handleErrorWithoutAlert("FetchPayments",M.m6.NO_SPINNER,"Fetching Payments Failed.",Ye),(0,g.of)({type:M.uR.SET_PAYMENTS_LND,payload:{payments:[]}})))))))),this.sendPayment=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SEND_PAYMENT_LND),(0,T.z)(H=>{this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,D.PC)({payload:{action:"SendPayment",status:M.Bn.INITIATED}}));const V={};return V.paymentReq=H.payload.paymentReq,H.payload.paymentAmount&&(V.paymentAmount=H.payload.paymentAmount),H.payload.outgoingChannel&&(V.outgoingChannel=H.payload.outgoingChannel.chan_id),H.payload.allowSelfPayment&&(V.allowSelfPayment=H.payload.allowSelfPayment),H.payload.lastHopPubkey&&(V.lastHopPubkey=H.payload.lastHopPubkey),H.payload.feeLimitType&&H.payload.feeLimitType!==M.Vc[0].id&&(V.feeLimit={},V.feeLimit[H.payload.feeLimitType]=H.payload.feeLimit),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_API+"/transactions",V).pipe((0,C.U)(K=>{if(this.logger.info(K),this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,D.PC)({payload:{action:"SendPayment",status:M.Bn.COMPLETED}})),K.payment_error)return H.payload.allowSelfPayment?(this.store.dispatch((0,D.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),{type:M.uR.SEND_PAYMENT_STATUS_LND,payload:K}):(H.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed.",K.payment_error):this.handleErrorWithAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+M.vv.CHANNELS_API+"/transactions",K.payment_error),{type:M.pg.VOID});if(this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,D.PC)({payload:{action:"SendPayment",status:M.Bn.COMPLETED}})),this.store.dispatch((0,D.UR)()),this.store.dispatch((0,D.cQ)({payload:{max_payments:this.paymentsPageSettings?.recordsPerPage,reversed:!0}})),H.payload.allowSelfPayment)this.store.dispatch((0,D.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}));else{let se="Payment Sent Successfully.";K.payment_route&&K.payment_route.total_fees_msat&&(se="Payment sent successfully with the total fee "+K.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,I.jW)({payload:se}))}return{type:M.uR.SEND_PAYMENT_STATUS_LND,payload:K}}),(0,u.K)(K=>(this.logger.error("Error: "+JSON.stringify(K)),H.payload.allowSelfPayment?(this.handleErrorWithoutAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed.",K),this.store.dispatch((0,D.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),(0,g.of)({type:M.uR.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(K)}})):(H.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed.",K):this.handleErrorWithAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+M.vv.CHANNELS_API+"/transactions",K),(0,g.of)({type:M.pg.VOID})))))}))),this.graphNodeFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_GRAPH_NODE_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,D.PC)({payload:{action:"FetchGraphNode",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/node/"+H.payload.pubkey).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,I.uO)({payload:M.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,D.PC)({payload:{action:"FetchGraphNode",status:M.Bn.COMPLETED}})),{type:M.uR.SET_GRAPH_NODE_LND,payload:V&&V.node?{node:V.node}:{node:null}})),(0,u.K)(V=>(this.handleErrorWithoutAlert("FetchGraphNode",M.m6.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",V),(0,g.of)({type:M.pg.VOID})))))))),this.setGraphNode=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_GRAPH_NODE_LND),(0,C.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.getNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GET_NEW_ADDRESS_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+M.vv.NEW_ADDRESS_API+"?type="+H.payload.addressId).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,I.uO)({payload:M.m6.GENERATE_NEW_ADDRESS})),{type:M.uR.SET_NEW_ADDRESS_LND,payload:V&&V.address?V.address:{}})),(0,u.K)(V=>(this.handleErrorWithAlert("GetNewAddress",M.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+M.vv.NEW_ADDRESS_API+"?type="+H.payload.addressId,V),(0,g.of)({type:M.pg.VOID})))))))),this.setNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_NEW_ADDRESS_LND),(0,C.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_CHANNEL_TRANSACTION_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.SEND_FUNDS})),this.store.dispatch((0,D.PC)({payload:{action:"SetChannelTransaction",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.TRANSACTIONS_API,{amount:H.payload.amount,address:H.payload.address,sendAll:H.payload.sendAll,fees:H.payload.fees,blocks:H.payload.blocks}).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,D.PC)({payload:{action:"SetChannelTransaction",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.SEND_FUNDS})),this.store.dispatch((0,D.mC)()),this.store.dispatch((0,D.Bl)()),this.store.dispatch((0,D.UR)()),{type:M.uR.SET_CHANNEL_TRANSACTION_RES_LND,payload:V})),(0,u.K)(V=>(this.handleErrorWithoutAlert("SetChannelTransaction",M.m6.SEND_FUNDS,"Sending Fund Failed.",V),(0,g.of)({type:M.pg.VOID})))))))),this.fetchForwardingHistory=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GET_FORWARDING_HISTORY_LND),(0,T.z)(H=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchForwardingHistory",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.SWITCH_API,{num_max_events:H.payload.num_max_events,index_offset:H.payload.index_offset,end_time:H.payload.end_time,start_time:H.payload.start_time}).pipe((0,C.U)(K=>(this.logger.info(K),this.store.dispatch((0,D.PC)({payload:{action:"FetchForwardingHistory",status:M.Bn.COMPLETED}})),{type:M.uR.SET_FORWARDING_HISTORY_LND,payload:K})),(0,u.K)(K=>(this.handleErrorWithAlert("FetchForwardingHistory",M.m6.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+M.vv.SWITCH_API,K),(0,g.of)({type:M.pg.VOID})))))))),this.queryRoutesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GET_QUERY_ROUTES_LND),(0,T.z)(H=>{let V=this.CHILD_API_URL+M.vv.NETWORK_API+"/routes/"+H.payload.destPubkey+"/"+H.payload.amount;return H.payload.outgoingChanId&&(V=V+"?outgoing_chan_id="+H.payload.outgoingChanId),this.httpClient.get(V).pipe((0,C.U)(K=>(this.logger.info(K),{type:M.uR.SET_QUERY_ROUTES_LND,payload:K})),(0,u.K)(K=>(this.store.dispatch((0,D.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",M.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+M.vv.NETWORK_API,K),(0,g.of)({type:M.pg.VOID}))))}))),this.setQueryRoutes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_QUERY_ROUTES_LND),(0,C.U)(H=>H.payload)),{dispatch:!1}),this.genSeed=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GEN_SEED_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+M.vv.WALLET_API+"/genseed/"+H.payload).pipe((0,C.U)(V=>(this.logger.info("Generated GenSeed!"),this.logger.info(V),this.store.dispatch((0,I.uO)({payload:M.m6.GEN_SEED})),{type:M.uR.GEN_SEED_RESPONSE_LND,payload:V.cipher_seed_mnemonic})),(0,u.K)(V=>(this.handleErrorWithAlert("GenSeed",M.m6.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+M.vv.WALLET_API+"/genseed/"+H.payload,V),(0,g.of)({type:M.pg.VOID})))))))),this.updateSelNodeOptions=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.UPDATE_SELECTED_NODE_OPTIONS),(0,T.z)(()=>this.httpClient.get(this.CHILD_API_URL+M.vv.WALLET_API+"/updateSelNodeOptions").pipe((0,C.U)(H=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(H),{type:M.pg.VOID})),(0,u.K)(H=>(this.handleErrorWithAlert("UpdateSelectedNodeOptions",M.m6.NO_SPINNER,"Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",H),(0,g.of)({type:M.pg.VOID}))))))),this.genSeedResponse=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GEN_SEED_RESPONSE_LND),(0,C.U)(H=>H.payload)),{dispatch:!1}),this.initWalletRes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.INIT_WALLET_RESPONSE_LND),(0,C.U)(H=>H.payload)),{dispatch:!1}),this.initWallet=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.INIT_WALLET_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+M.vv.WALLET_API+"/wallet/initwallet",{wallet_password:H.payload.pwd,cipher_seed_mnemonic:H.payload.cipher?H.payload.cipher:"",aezeed_passphrase:H.payload.passphrase?H.payload.passphrase:""}).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,I.uO)({payload:M.m6.INITIALIZE_WALLET})),{type:M.uR.INIT_WALLET_RESPONSE_LND,payload:V})),(0,u.K)(V=>(this.handleErrorWithAlert("InitWallet",M.m6.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+M.vv.WALLET_API+"/initwallet",V),(0,g.of)({type:M.pg.VOID})))))))),this.unlockWallet=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.UNLOCK_WALLET_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+M.vv.WALLET_API+"/wallet/unlockwallet",{wallet_password:H.payload.pwd}).pipe((0,C.U)(V=>(this.logger.info(V),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,I.uO)({payload:M.m6.UNLOCK_WALLET})),this.store.dispatch((0,I.ac)({payload:M.m6.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,I.uO)({payload:M.m6.WAIT_SYNC_NODE})),this.store.dispatch((0,D.sQ)({payload:{loadPage:"HOME"}}))},5e3),{type:M.pg.VOID})),(0,u.K)(V=>(this.handleErrorWithAlert("UnlockWallet",M.m6.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+M.vv.WALLET_API+"/unlockwallet",V),(0,g.of)({type:M.pg.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.PEER_LOOKUP_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.SEARCHING_NODE})),this.store.dispatch((0,D.PC)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/node/"+H.payload).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,I.uO)({payload:M.m6.SEARCHING_NODE})),this.store.dispatch((0,D.PC)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),{type:M.uR.SET_LOOKUP_LND,payload:V})),(0,u.K)(V=>(this.handleErrorWithAlert("Lookup",M.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+M.vv.NETWORK_API+"/node/"+H.payload,V),(0,g.of)({type:M.pg.VOID})))))))),this.channelLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.CHANNEL_LOOKUP_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,D.PC)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/edge/"+H.payload.channelID).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,D.PC)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),{type:M.uR.SET_LOOKUP_LND,payload:V})),(0,u.K)(V=>(this.handleErrorWithAlert("Lookup",H.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+M.vv.NETWORK_API+"/edge/"+H.payload.channelID,V),(0,g.of)({type:M.pg.VOID})))))))),this.invoiceLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.INVOICE_LOOKUP_LND),(0,T.z)(H=>{this.store.dispatch((0,I.ac)({payload:M.m6.SEARCHING_INVOICE})),this.store.dispatch((0,D.PC)({payload:{action:"Lookup",status:M.Bn.INITIATED}}));let V=this.CHILD_API_URL+M.vv.INVOICES_API+"/lookup";return V=H.payload.paymentAddress&&""!==H.payload.paymentAddress?V+"?payment_addr="+H.payload.paymentAddress:V+"?payment_hash="+H.payload.paymentHash,this.httpClient.get(V).pipe((0,C.U)(K=>(this.logger.info(K),this.store.dispatch((0,I.uO)({payload:M.m6.SEARCHING_INVOICE})),this.store.dispatch((0,D.PC)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),this.store.dispatch((0,D.aL)({payload:K})),{type:M.uR.SET_LOOKUP_LND,payload:K})),(0,u.K)(K=>(this.store.dispatch((0,D.PC)({payload:{action:"Lookup",status:M.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",M.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",K),H.payload.openSnackBar&&this.store.dispatch((0,I.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,g.of)({type:M.uR.SET_LOOKUP_LND,payload:{error:K}}))))}))),this.paymentLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.PAYMENT_LOOKUP_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,D.PC)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.PAYMENTS_API+"/lookup/"+H.payload).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,I.uO)({payload:M.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,D.PC)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),this.store.dispatch((0,D.qY)({payload:V})),{type:M.uR.SET_LOOKUP_LND,payload:V})),(0,u.K)(V=>(this.store.dispatch((0,D.PC)({payload:{action:"Lookup",status:M.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",M.m6.SEARCHING_PAYMENT,"Payment Lookup Failed",V),(0,g.of)({type:M.uR.SET_LOOKUP_LND,payload:{error:V}})))))))),this.setLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_LOOKUP_LND),(0,C.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.RESTORE_CHANNELS_LIST_LND),(0,T.z)(()=>(this.store.dispatch((0,D.PC)({payload:{action:"RestoreChannelsList",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/restore/list").pipe((0,C.U)(H=>(this.logger.info(H),this.store.dispatch((0,D.PC)({payload:{action:"RestoreChannelsList",status:M.Bn.COMPLETED}})),{type:M.uR.SET_RESTORE_CHANNELS_LIST_LND,payload:H||{all_restore_exists:!1,files:[]}})),(0,u.K)(H=>(this.handleErrorWithAlert("RestoreChannelsList",M.m6.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API,H),(0,g.of)({type:M.pg.VOID})))))))),this.setRestoreChannelList=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_RESTORE_CHANNELS_LIST_LND),(0,C.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,T.z)(()=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchLightningTransactions",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.PAYMENTS_API+"/alltransactions").pipe((0,C.U)(H=>(this.logger.info(H),this.store.dispatch((0,D.PC)({payload:{action:"FetchLightningTransactions",status:M.Bn.COMPLETED}})),{type:M.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:H})),(0,u.K)(H=>(this.handleErrorWithoutAlert("FetchLightningTransactions",M.m6.NO_SPINNER,"Fetching All Lightning Transaction Failed.",H),(0,g.of)({type:M.pg.VOID})))))))),this.pageSettingsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_PAGE_SETTINGS_LND),(0,T.z)(()=>(this.store.dispatch((0,D.PC)({payload:{action:"FetchPageSettings",status:M.Bn.INITIATED}})),this.httpClient.get(M.vv.PAGE_SETTINGS_API).pipe((0,C.U)(H=>(this.logger.info(H),this.store.dispatch((0,D.PC)({payload:{action:"FetchPageSettings",status:M.Bn.COMPLETED}})),this.invoicesPageSettings=H&&Object.keys(H).length>0?H.find(V=>"transactions"===V.pageId)?.tables.find(V=>"invoices"===V.tableId):M.gK.find(V=>"transactions"===V.pageId)?.tables.find(V=>"invoices"===V.tableId),this.paymentsPageSettings=H&&Object.keys(H).length>0?H.find(V=>"transactions"===V.pageId)?.tables.find(V=>"payments"===V.tableId):M.gK.find(V=>"transactions"===V.pageId)?.tables.find(V=>"payments"===V.tableId),{type:M.uR.SET_PAGE_SETTINGS_LND,payload:H||[]})),(0,u.K)(H=>(this.handleErrorWithoutAlert("FetchPageSettings",M.m6.NO_SPINNER,"Fetching Page Settings Failed.",H),(0,g.of)({type:M.pg.VOID})))))))),this.savePageSettings=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SAVE_PAGE_SETTINGS_LND),(0,T.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,D.PC)({payload:{action:"SavePageSettings",status:M.Bn.INITIATED}})),this.httpClient.post(M.vv.PAGE_SETTINGS_API,H.payload).pipe((0,C.U)(V=>{this.logger.info(V),this.store.dispatch((0,D.PC)({payload:{action:"SavePageSettings",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.jW)({payload:"Page Layout Updated Successfully!"}));const K=(V.find(Ye=>"transactions"===Ye.pageId)?.tables.find(Ye=>"invoices"===Ye.tableId)||M.gK.find(Ye=>"transactions"===Ye.pageId)?.tables.find(Ye=>"invoices"===Ye.tableId)).recordsPerPage,se=(V.find(Ye=>"transactions"===Ye.pageId)?.tables.find(Ye=>"payments"===Ye.tableId)||M.gK.find(Ye=>"transactions"===Ye.pageId)?.tables.find(Ye=>"payments"===Ye.tableId)).recordsPerPage;return this.invoicesPageSettings&&K!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=K,this.store.dispatch((0,D.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))),this.paymentsPageSettings&&se!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=se),{type:M.uR.SET_PAGE_SETTINGS_LND,payload:V||[]}}),(0,u.K)(V=>(this.handleErrorWithAlert("SavePageSettings",M.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",M.vv.PAGE_SETTINGS_API,V),(0,g.of)({type:M.pg.VOID})))))))),this.store.select(R.yA).pipe((0,c.R)(this.unSubs[0])).subscribe(H=>{H.FetchInfo.status!==M.Bn.COMPLETED&&H.FetchInfo.status!==M.Bn.ERROR||H.FetchFees.status!==M.Bn.COMPLETED&&H.FetchFees.status!==M.Bn.ERROR||H.FetchBalanceBlockchain.status!==M.Bn.COMPLETED&&H.FetchBalanceBlockchain.status!==M.Bn.ERROR||H.FetchAllChannels.status!==M.Bn.COMPLETED&&H.FetchAllChannels.status!==M.Bn.ERROR||H.FetchPendingChannels.status!==M.Bn.COMPLETED&&H.FetchPendingChannels.status!==M.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,I.uO)({payload:M.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.lndWSMessages.pipe((0,c.R)(this.unSubs[1])).subscribe(H=>{this.logger.info("Received new message from the service: "+JSON.stringify(H)),H&&(H.type===M.g8.INVOICE?(this.logger.info(H),H&&H.result&&H.result.payment_request&&this.store.dispatch((0,D.aL)({payload:H.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(H)))})}initializeRemainingData(i,o){this.sessionService.setItem("lndUnlocked","true");const m={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,I.ac)({payload:M.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,I._V)({payload:m}));let l=this.location.path();l.includes("/cln/")?l=l?.replace("/cln/","/lnd/"):l.includes("/ecl/")&&(l=l?.replace("/ecl/","/lnd/")),(l.includes("/unlock")||l.includes("/login")||l.includes("/error")||""===l||"HOME"===o||l.includes("?access-key="))&&(l="/lnd/home"),this.router.navigate([l]),this.store.dispatch((0,D.Bl)()),this.store.dispatch((0,D.UR)()),this.store.dispatch((0,D.Z7)()),this.store.dispatch((0,D.Zh)()),this.store.dispatch((0,D.$W)()),this.store.dispatch((0,D.Rv)()),this.store.dispatch((0,D.SN)()),this.store.dispatch((0,D.cQ)({payload:{max_payments:1e5,reversed:!0}})),this.store.dispatch((0,D.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))}handleErrorWithoutAlert(i,o,m,l){this.logger.error("ERROR IN: "+i+"\n"+JSON.stringify(l)),401===l.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.kS)()),this.store.dispatch((0,I.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,I.uO)({payload:o})),this.store.dispatch((0,D.PC)({payload:{action:i,status:M.Bn.ERROR,statusCode:l.status.toString(),message:this.commonService.extractErrorMessage(l,m)}})))}handleErrorWithAlert(i,o,m,l,y){if(this.logger.error(y),401===y.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.kS)()),this.store.dispatch((0,I.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,I.uO)({payload:o}));const L=this.commonService.extractErrorMessage(y);this.store.dispatch((0,I.qR)({payload:{data:{type:"ERROR",alertTitle:m,message:{code:y.status,message:L,URL:l},component:S.H}}})),this.store.dispatch((0,D.PC)({payload:{action:i,status:M.Bn.ERROR,statusCode:y.status.toString(),message:L,URL:l}}))}}ngOnDestroy(){this.unSubs.forEach(i=>{i.next(null),i.complete()})}static#e=this.\u0275fac=function(o){return new(o||ae)(F.LFG(e.eX),F.LFG(W.eN),F.LFG(Y.yh),F.LFG(Q.mQ),F.LFG(J.v),F.LFG(ne.m),F.LFG(X.uw),F.LFG(pe.F0),F.LFG(ie.d),F.LFG(de.Ye))};static#t=this.\u0275prov=F.Yz7({token:ae,factory:ae.\u0275fac})}return ae})()},7321:(Ue,q,p)=>{"use strict";p.d(q,{$k:()=>g,Bo:()=>P,Ef:()=>D,JG:()=>S,N7:()=>X,P2:()=>Y,PP:()=>d,Pr:()=>T,Q5:()=>c,T4:()=>ne,Wi:()=>M,ZW:()=>R,_f:()=>ie,bx:()=>de,dx:()=>I,l5:()=>pe,ni:()=>W,qU:()=>Q,yA:()=>u});var e=p(4221);const t=(0,e.ZF)("lnd"),g=(0,e.P1)(t,te=>te.nodeSettings),T=(0,e.P1)(t,te=>({pageSettings:te.pageSettings,apiCallStatus:te.apisCallStatus.FetchPageSettings})),c=(0,e.P1)(t,te=>te.information),u=((0,e.P1)(t,te=>({information:te.information,apiCallStatus:te.apisCallStatus.FetchInfo})),(0,e.P1)(t,te=>te.apisCallStatus)),P=(0,e.P1)(t,te=>({forwardingHistory:te.forwardingHistory,apiCallStatus:te.apisCallStatus.FetchForwardingHistory})),d=(0,e.P1)(t,te=>({listPayments:te.listPayments,apiCallStatus:te.apisCallStatus.FetchPayments})),S=(0,e.P1)(t,te=>({fees:te.fees,apiCallStatus:te.apisCallStatus.FetchFees})),M=(0,e.P1)(t,te=>({peers:te.peers,apiCallStatus:te.apisCallStatus.FetchPeers})),I=(0,e.P1)(t,te=>({transactions:te.transactions,apiCallStatus:te.apisCallStatus.FetchTransactions})),D=(0,e.P1)(t,te=>({listInvoices:te.listInvoices,apiCallStatus:te.apisCallStatus.FetchInvoices})),R=(0,e.P1)(t,te=>({channels:te.channels,channelsSummary:te.channelsSummary,lightningBalance:te.lightningBalance,apiCallStatus:te.apisCallStatus.FetchAllChannels})),W=((0,e.P1)(t,te=>({channelsSummary:te.channelsSummary,pendingChannels:te.pendingChannels,closedChannels:te.closedChannels,apiCallStatus:te.apisCallStatus.FetchAllChannels})),(0,e.P1)(t,te=>({pendingChannels:te.pendingChannels,pendingChannelsSummary:te.pendingChannelsSummary,apiCallStatus:te.apisCallStatus.FetchPendingChannels}))),Y=(0,e.P1)(t,te=>({closedChannels:te.closedChannels,apiCallStatus:te.apisCallStatus.FetchClosedChannels})),Q=(0,e.P1)(t,te=>({blockchainBalance:te.blockchainBalance,apiCallStatus:te.apisCallStatus.FetchBalanceBlockchain})),ne=((0,e.P1)(t,te=>({lightningBalance:te.lightningBalance,apiCallStatus:te.apisCallStatus.FetchAllChannels})),(0,e.P1)(t,te=>({utxos:te.utxos,apiCallStatus:te.apisCallStatus.FetchUTXOs}))),X=(0,e.P1)(t,te=>({networkInfo:te.networkInfo,apiCallStatus:te.apisCallStatus.FetchNetwork})),pe=(0,e.P1)(t,te=>({allLightningTransactions:te.allLightningTransactions,apiCallStatus:te.apisCallStatus.FetchLightningTransactions})),ie=(0,e.P1)(t,te=>({channels:te.channels,pendingChannels:te.pendingChannels,closedChannels:te.closedChannels})),de=(0,e.P1)(t,te=>({information:te.information,nodeSettings:te.nodeSettings,apiCallStatus:te.apisCallStatus.FetchInfo}))},5456:(Ue,q,p)=>{"use strict";p.d(q,{v:()=>at});var e=p(7700),t=p(590),g=p(8645),T=p(9773),c=p(2154),C=p(7321),u=p(5879),P=p(5980),d=p(6339),S=p(2939),M=p(4221),I=p(6814),D=p(5597),R=p(3814),F=p(7509),W=p(2296),Y=p(5195),Q=p(3305),J=p(617),ne=p(6385),X=p(5940),pe=p(2596),ie=p(6828),de=p(7313),te=p(6985);const ae=["scrollContainer"];function E(ve,De){if(1&ve&&u._UZ(0,"qr-code",33),2&ve){const xt=u.oxw();u.Q6J("value",null==xt.invoice?null:xt.invoice.payment_request)("size",xt.qrWidth)("errorCorrectionLevel","L")}}function i(ve,De){1&ve&&(u.TgZ(0,"span",34),u._uU(1,"N/A"),u.qZA())}function o(ve,De){if(1&ve&&u._UZ(0,"qr-code",33),2&ve){const xt=u.oxw();u.Q6J("value",null==xt.invoice?null:xt.invoice.payment_request)("size",xt.qrWidth)("errorCorrectionLevel","L")}}function m(ve,De){1&ve&&(u.TgZ(0,"span",35),u._uU(1,"QR Code Not Applicable"),u.qZA())}function l(ve,De){1&ve&&u._UZ(0,"mat-divider",22),2&ve&&u.Q6J("inset",!0)}function y(ve,De){1&ve&&(u.ynx(0),u._uU(1," (zero amount) "),u.BQk())}function L(ve,De){1&ve&&u._UZ(0,"span",41)}const O=function(){return[]};function b(ve,De){if(1&ve&&(u.TgZ(0,"div",37)(1,"div",38)(2,"span",39),u._uU(3),u.ALo(4,"number"),u.qZA(),u.YNc(5,L,1,0,"span",40),u.qZA()()),2&ve){const xt=u.oxw(2);u.xp6(3),u.hij("",u.lcZ(4,2,null==xt.invoice?null:xt.invoice.amt_paid_sat)," Sats"),u.xp6(2),u.Q6J("ngForOf",u.DdM(4,O).constructor(35))}}function n(ve,De){if(1&ve&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"number"),u.qZA()),2&ve){const xt=u.oxw(2);u.xp6(1),u.hij("",u.lcZ(2,1,null==xt.invoice?null:xt.invoice.amt_paid_sat)," Sats")}}function _(ve,De){if(1&ve&&(u.ynx(0),u.YNc(1,b,6,5,"div",36),u.YNc(2,n,3,3,"div",21),u.BQk()),2&ve){const xt=u.oxw();u.xp6(1),u.Q6J("ngIf",xt.flgInvoicePaid),u.xp6(1),u.Q6J("ngIf",!xt.flgInvoicePaid)}}function H(ve,De){1&ve&&(u.TgZ(0,"span"),u._uU(1,"-"),u.qZA())}function V(ve,De){1&ve&&u._UZ(0,"mat-spinner",43),2&ve&&u.Q6J("diameter",20)}function K(ve,De){if(1&ve&&(u.ynx(0),u.YNc(1,H,2,0,"span",21),u.YNc(2,V,1,1,"mat-spinner",42),u.BQk()),2&ve){const xt=u.oxw();u.xp6(1),u.Q6J("ngIf","OPEN"!==(null==xt.invoice?null:xt.invoice.state)||!xt.flgVersionCompatible),u.xp6(1),u.Q6J("ngIf","OPEN"===(null==xt.invoice?null:xt.invoice.state)&&xt.flgVersionCompatible)}}function se(ve,De){1&ve&&u.GkF(0)}function Ye(ve,De){if(1&ve&&(u.TgZ(0,"div"),u.YNc(1,se,1,0,"ng-container",44),u.qZA()),2&ve){u.oxw();const xt=u.MAs(79);u.xp6(1),u.Q6J("ngTemplateOutlet",xt)}}function Oe(ve,De){if(1&ve){const xt=u.EpF();u.TgZ(0,"div",45)(1,"button",46),u.NdJ("click",function(){u.CHM(xt);const et=u.oxw();return u.KtG(et.onScrollDown())}),u.TgZ(2,"mat-icon",47),u._uU(3,"arrow_downward"),u.qZA()()()}}function Qe(ve,De){1&ve&&(u.TgZ(0,"p"),u._uU(1,"Show Advanced"),u.qZA())}function be(ve,De){1&ve&&(u.TgZ(0,"p"),u._uU(1,"Hide Advanced"),u.qZA())}function ue(ve,De){if(1&ve){const xt=u.EpF();u.TgZ(0,"button",48),u.NdJ("copied",function(et){u.CHM(xt);const Ct=u.oxw();return u.KtG(Ct.onCopyPayment(et))}),u._uU(1),u.qZA()}if(2&ve){const xt=u.oxw();u.Q6J("payload",null==xt.invoice?null:xt.invoice.payment_request),u.xp6(1),u.Oqu(xt.screenSize===xt.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function xe(ve,De){if(1&ve){const xt=u.EpF();u.TgZ(0,"button",49),u.NdJ("click",function(){u.CHM(xt);const et=u.oxw();return u.KtG(et.onClose())}),u._uU(1,"OK"),u.qZA()}}const Pe=function(ve){return{"mr-0":ve}};function oe(ve,De){if(1&ve&&u._UZ(0,"span",64),2&ve){const xt=u.oxw(4);u.Q6J("ngClass",u.VKq(1,Pe,xt.screenSize===xt.screenSizeEnum.XS))}}function ze(ve,De){if(1&ve&&u._UZ(0,"span",65),2&ve){const xt=u.oxw(4);u.Q6J("ngClass",u.VKq(1,Pe,xt.screenSize===xt.screenSizeEnum.XS))}}function we(ve,De){if(1&ve&&u._UZ(0,"span",66),2&ve){const xt=u.oxw(4);u.Q6J("ngClass",u.VKq(1,Pe,xt.screenSize===xt.screenSizeEnum.XS))}}function le(ve,De){if(1&ve&&(u.TgZ(0,"div",53)(1,"div",58)(2,"span",59),u.YNc(3,oe,1,3,"span",60),u.YNc(4,ze,1,3,"span",61),u.YNc(5,we,1,3,"span",62),u._uU(6),u.qZA(),u.TgZ(7,"span",63),u._uU(8),u.ALo(9,"number"),u.qZA()(),u._UZ(10,"mat-divider",22),u.qZA()),2&ve){const xt=De.$implicit,ct=u.oxw(3);u.xp6(3),u.Q6J("ngIf","SETTLED"===xt.state),u.xp6(1),u.Q6J("ngIf","ACCEPTED"===xt.state),u.xp6(1),u.Q6J("ngIf","CANCELED"===xt.state),u.xp6(1),u.hij(" ",xt.chan_id," "),u.xp6(2),u.Oqu(u.xi3(9,6,+xt.amt_msat/1e3||0,ct.getDecimalFormat(xt))),u.xp6(2),u.Q6J("inset",!0)}}function ge(ve,De){if(1&ve){const xt=u.EpF();u.TgZ(0,"div",17)(1,"mat-expansion-panel",51),u.NdJ("opened",function(){u.CHM(xt);const et=u.oxw(2);return u.KtG(et.flgOpened=!0)})("closed",function(){u.CHM(xt);const et=u.oxw(2);return u.KtG(et.onExpansionClosed())}),u.TgZ(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),u._uU(5,"HTLCs"),u.qZA()()(),u.TgZ(6,"div",53)(7,"div",54)(8,"span",55),u._uU(9,"Channel ID"),u.qZA(),u.TgZ(10,"span",56),u._uU(11,"Amount (Sats)"),u.qZA()(),u._UZ(12,"mat-divider",22),u.YNc(13,le,11,9,"div",57),u.qZA()()()}if(2&ve){const xt=u.oxw(2);u.xp6(12),u.Q6J("inset",!0),u.xp6(1),u.Q6J("ngForOf",null==xt.invoice?null:xt.invoice.htlcs)}}function fe(ve,De){1&ve&&u._UZ(0,"mat-divider",22),2&ve&&u.Q6J("inset",!0)}function Ge(ve,De){if(1&ve&&(u._UZ(0,"mat-divider",22),u.TgZ(1,"div",17)(2,"div",23)(3,"h4",19),u._uU(4,"Preimage"),u.qZA(),u.TgZ(5,"span",24),u._uU(6),u.qZA()()(),u._UZ(7,"mat-divider",22),u.TgZ(8,"div",17)(9,"div",18)(10,"h4",19),u._uU(11,"State"),u.qZA(),u.TgZ(12,"span",24),u._uU(13),u.qZA()(),u.TgZ(14,"div",18)(15,"h4",19),u._uU(16,"Expiry"),u.qZA(),u.TgZ(17,"span",24),u._uU(18),u.ALo(19,"date"),u.qZA()()(),u._UZ(20,"mat-divider",22),u.TgZ(21,"div",17)(22,"div",18)(23,"h4",19),u._uU(24,"Private Routing Hints"),u.qZA(),u.TgZ(25,"span",24),u._uU(26),u.qZA()(),u.TgZ(27,"div",18)(28,"h4",19),u._uU(29,"AMP Invoice"),u.qZA(),u.TgZ(30,"span",24),u._uU(31),u.qZA()()(),u._UZ(32,"mat-divider",22),u.YNc(33,ge,14,2,"div",50),u.YNc(34,fe,1,1,"mat-divider",14)),2&ve){const xt=u.oxw();u.Q6J("inset",!0),u.xp6(6),u.Oqu((null==xt.invoice?null:xt.invoice.r_preimage)||"-"),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu(null==xt.invoice?null:xt.invoice.state),u.xp6(5),u.Oqu(u.xi3(19,11,1e3*(+(null==xt.invoice?null:xt.invoice.creation_date)+ +(null==xt.invoice?null:xt.invoice.expiry)),"dd/MMM/y HH:mm")),u.xp6(2),u.Q6J("inset",!0),u.xp6(6),u.Oqu(null!=xt.invoice&&xt.invoice.private?"Yes":"No"),u.xp6(5),u.Oqu(null!=xt.invoice&&xt.invoice.is_amp?"Yes":"No"),u.xp6(1),u.Q6J("inset",!0),u.xp6(1),u.Q6J("ngIf",(null==xt.invoice?null:xt.invoice.htlcs)&&(null==xt.invoice?null:xt.invoice.htlcs.length)>0),u.xp6(1),u.Q6J("ngIf",(null==xt.invoice?null:xt.invoice.htlcs)&&(null==xt.invoice?null:xt.invoice.htlcs.length)>0)}}const Le=function(ve){return{"display-none":ve}},Ne=function(ve){return{"xs-scroll-y":ve}},Ve=function(ve){return{"h-50":ve}};let at=(()=>{class ve{set container(xt){xt&&(this.scrollContainer=xt)}constructor(xt,ct,et,Ct,ke,ot){this.dialogRef=xt,this.data=ct,this.logger=et,this.commonService=Ct,this.snackBar=ke,this.store=ot,this.faReceipt=t.dLy,this.showAdvanced=!1,this.newlyAdded=!1,this.invoice=null,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=c.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]}ngOnInit(){this.invoice=JSON.parse(JSON.stringify(this.data.invoice)),this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===c.cu.XS&&(this.qrWidth=220),this.store.select(C.Q5).pipe((0,T.R)(this.unSubs[0])).subscribe(ct=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(ct.version,"0.11.0")});const xt=JSON.parse(JSON.stringify(this.invoice));this.store.select(C.Ef).pipe((0,T.R)(this.unSubs[1])).subscribe(ct=>{const et=this.invoice?.state,ke=(ct.listInvoices.invoices||[]).find(ot=>ot.r_hash===xt.r_hash)||null;ke&&(this.invoice=ke),et!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(ct)})}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(xt){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+xt)}getDecimalFormat(xt){return xt.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(xt=>{xt.next(null),xt.complete()})}static#e=this.\u0275fac=function(ct){return new(ct||ve)(u.Y36(e.so),u.Y36(e.WI),u.Y36(P.mQ),u.Y36(d.v),u.Y36(S.ux),u.Y36(M.yh))};static#t=this.\u0275cmp=u.Xpm({type:ve,selectors:[["rtl-invoice-information"]],viewQuery:function(ct,et){if(1&ct&&u.Gf(ae,5),2&ct){let Ct;u.iGM(Ct=u.CRH())&&(et.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(ct,et){if(1&ct&&(u.TgZ(0,"div",0)(1,"div",1),u.YNc(2,E,1,3,"qr-code",2),u.YNc(3,i,2,0,"span",3),u.qZA(),u.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),u._UZ(7,"fa-icon",7),u.TgZ(8,"span",8),u._uU(9),u.qZA()(),u.TgZ(10,"button",9),u.NdJ("click",function(){return et.onClose()}),u._uU(11,"X"),u.qZA()(),u.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),u.YNc(15,o,1,3,"qr-code",2),u.YNc(16,m,2,0,"span",13),u.qZA(),u.YNc(17,l,1,1,"mat-divider",14),u.TgZ(18,"div",15,16)(20,"div",17)(21,"div",18)(22,"h4",19),u._uU(23),u.qZA(),u.TgZ(24,"span",20),u._uU(25),u.ALo(26,"number"),u.YNc(27,y,2,0,"ng-container",21),u.qZA()(),u.TgZ(28,"div",18)(29,"h4",19),u._uU(30,"Amount Settled"),u.qZA(),u.TgZ(31,"span",20),u.YNc(32,_,3,2,"ng-container",21),u.YNc(33,K,3,2,"ng-container",21),u.qZA()()(),u._UZ(34,"mat-divider",22),u.TgZ(35,"div",17)(36,"div",18)(37,"h4",19),u._uU(38,"Date Created"),u.qZA(),u.TgZ(39,"span",20),u._uU(40),u.ALo(41,"date"),u.qZA()(),u.TgZ(42,"div",18)(43,"h4",19),u._uU(44,"Date Settled"),u.qZA(),u.TgZ(45,"span",20),u._uU(46),u.ALo(47,"date"),u.qZA()()(),u._UZ(48,"mat-divider",22),u.TgZ(49,"div",17)(50,"div",23)(51,"h4",19),u._uU(52,"Memo"),u.qZA(),u.TgZ(53,"span",20),u._uU(54),u.qZA()()(),u._UZ(55,"mat-divider",22),u.TgZ(56,"div",17)(57,"div",23)(58,"h4",19),u._uU(59,"Payment Request"),u.qZA(),u.TgZ(60,"span",24),u._uU(61),u.qZA()()(),u._UZ(62,"mat-divider",22),u.TgZ(63,"div",17)(64,"div",23)(65,"h4",19),u._uU(66,"Payment Hash"),u.qZA(),u.TgZ(67,"span",24),u._uU(68),u.qZA()()(),u.YNc(69,Ye,2,1,"div",21),u.qZA()()(),u.YNc(70,Oe,4,0,"div",25),u.TgZ(71,"div",26)(72,"button",27),u.NdJ("click",function(){return et.onShowAdvanced()}),u.YNc(73,Qe,2,0,"p",28),u.YNc(74,be,2,0,"ng-template",null,29,u.W1O),u.qZA(),u.YNc(76,ue,2,2,"button",30),u.YNc(77,xe,2,0,"button",31),u.qZA()()(),u.YNc(78,Ge,35,14,"ng-template",null,32,u.W1O)),2&ct){const Ct=u.MAs(75);u.xp6(1),u.Q6J("fxLayoutAlign",null!=et.invoice&&et.invoice.payment_request&&""!==(null==et.invoice?null:et.invoice.payment_request)?"center start":"center center")("ngClass",u.VKq(41,Le,et.screenSize===et.screenSizeEnum.XS||et.screenSize===et.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==et.invoice?null:et.invoice.payment_request)&&""!==(null==et.invoice?null:et.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",!(null!=et.invoice&&et.invoice.payment_request)||""===(null==et.invoice?null:et.invoice.payment_request)),u.xp6(4),u.Q6J("icon",et.faReceipt),u.xp6(2),u.Oqu(et.screenSize===et.screenSizeEnum.XS?et.newlyAdded?"Created":"Invoice":et.newlyAdded?"Invoice Created":"Invoice Information"),u.xp6(3),u.Q6J("ngClass",u.VKq(43,Ne,et.screenSize===et.screenSizeEnum.XS)),u.xp6(2),u.Q6J("fxLayoutAlign",null!=et.invoice&&et.invoice.payment_request&&""!==(null==et.invoice?null:et.invoice.payment_request)?"center start":"center center")("ngClass",u.VKq(45,Le,et.screenSize!==et.screenSizeEnum.XS&&et.screenSize!==et.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==et.invoice?null:et.invoice.payment_request)&&""!==(null==et.invoice?null:et.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",!(null!=et.invoice&&et.invoice.payment_request)||""===(null==et.invoice?null:et.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",et.screenSize===et.screenSizeEnum.XS||et.screenSize===et.screenSizeEnum.SM),u.xp6(1),u.Q6J("ngClass",u.VKq(47,Ve,(null==et.invoice?null:et.invoice.htlcs)&&(null==et.invoice?null:et.invoice.htlcs.length)>0&&et.showAdvanced)),u.xp6(5),u.Oqu(et.screenSize===et.screenSizeEnum.XS?"Amount":"Amount Requested"),u.xp6(2),u.hij("",u.lcZ(26,33,(null==et.invoice?null:et.invoice.value)||0)," Sats"),u.xp6(2),u.Q6J("ngIf",!(null!=et.invoice&&et.invoice.value)||"0"===(null==et.invoice?null:et.invoice.value)),u.xp6(5),u.Q6J("ngIf",(null==et.invoice?null:et.invoice.amt_paid_sat)&&"OPEN"!==(null==et.invoice?null:et.invoice.state)),u.xp6(1),u.Q6J("ngIf",!(null!=et.invoice&&et.invoice.amt_paid_sat)||"0"===(null==et.invoice?null:et.invoice.amt_paid_sat)),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu(u.xi3(41,35,1e3*(null==et.invoice?null:et.invoice.creation_date),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(0!=+(null==et.invoice?null:et.invoice.settle_date)?u.xi3(47,38,1e3*+(null==et.invoice?null:et.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),u.xp6(2),u.Q6J("inset",!0),u.xp6(6),u.Oqu(null==et.invoice?null:et.invoice.memo),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu((null==et.invoice?null:et.invoice.payment_request)||"N/A"),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu((null==et.invoice?null:et.invoice.r_hash)||""),u.xp6(1),u.Q6J("ngIf",et.showAdvanced),u.xp6(1),u.Q6J("ngIf",(null==et.invoice?null:et.invoice.htlcs)&&(null==et.invoice?null:et.invoice.htlcs.length)>0&&et.showAdvanced&&et.flgOpened),u.xp6(3),u.Q6J("ngIf",!et.showAdvanced)("ngIfElse",Ct),u.xp6(3),u.Q6J("ngIf",(null==et.invoice?null:et.invoice.payment_request)&&""!==(null==et.invoice?null:et.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",!(null!=et.invoice&&et.invoice.payment_request)||""===(null==et.invoice?null:et.invoice.payment_request))}},dependencies:[I.mk,I.sg,I.O5,I.tP,D.BN,R.xw,R.Wh,R.yH,F.oO,W.lW,W.nh,Y.dn,Y.dk,Q.ib,Q.yz,Q.yK,J.Hw,ne.d,X.Ou,pe.gM,ie.uU,de.y,te.h,I.JJ,I.uU]})}return ve})()},8291:(Ue,q,p)=>{"use strict";p.d(q,{J:()=>g,_:()=>t});var e=p(6825);const t=[(0,e.X$)("opacityAnimation",[(0,e.eR)(":enter",[(0,e.oB)({opacity:0}),(0,e.jt)("1000ms ease-in",(0,e.oB)({opacity:1}))]),(0,e.eR)(":leave",[(0,e.jt)("0ms",(0,e.oB)({opacity:0}))])])],g=[(0,e.X$)("fadeIn",[(0,e.eR)("void => *",[]),(0,e.eR)("* => void",[]),(0,e.eR)("* => *",[(0,e.jt)(800,(0,e.F4)([(0,e.oB)({opacity:0,transform:"translateY(100%)"}),(0,e.oB)({opacity:1,transform:"translateY(0%)"})]))])])]},5256:(Ue,q,p)=>{"use strict";p.d(q,{g:()=>t});var e=p(6825);const t=(0,e.X$)("routeAnimation",[(0,e.eR)("* => *",[(0,e.IO)(":enter, :leave",(0,e.oB)({position:"fixed",width:"100%"}),{optional:!0}),(0,e.ru)([(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)("1000ms ease-in-out",(0,e.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0%)"}),(0,e.jt)("1000ms ease-in-out",(0,e.oB)({transform:"translateX(-100%)"}))],{optional:!0})])])])},3214:(Ue,q,p)=>{"use strict";p.d(q,{l:()=>t});var e=p(6825);const t=[(0,e.X$)("sliderAnimation",[(0,e.SB)("*",(0,e.oB)({transform:"translateX(0)"})),(0,e.eR)("void => backward",[(0,e.oB)({transform:"translateX(-100%"}),(0,e.jt)("800ms")]),(0,e.eR)("backward => void",[(0,e.jt)("0ms",(0,e.oB)({transform:"translateX(100%)"}))]),(0,e.eR)("void => forward",[(0,e.oB)({transform:"translateX(100%"}),(0,e.jt)("800ms")]),(0,e.eR)("forward => void",[(0,e.jt)("0ms",(0,e.oB)({transform:"translateX(-100%)"}))])])]},3315:(Ue,q,p)=>{"use strict";p.d(q,{H:()=>M});var e=p(7700),t=p(5879),g=p(5980),T=p(6814),c=p(3814),C=p(2296),u=p(5195),P=p(6385),d=p(6985);function S(I,D){if(1&I&&(t.TgZ(0,"p",14),t._uU(1),t.qZA()),2&I){const R=t.oxw();t.xp6(1),t.Oqu(R.data.titleMessage)}}let M=(()=>{class I{constructor(R,F,W){this.dialogRef=R,this.data=F,this.logger=W,this.errorMessage=""}ngOnInit(){this.errorMessage=this.data.message&&this.data.message.message&&"object"==typeof this.data.message.message?JSON.stringify(this.data.message.message):this.data.message&&this.data.message.message?this.data.message.message:"",!this.data.message&&!this.data.titleMessage&&!this.data.message&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.data.message)}onClose(){this.dialogRef.close(!1)}static#e=this.\u0275fac=function(F){return new(F||I)(t.Y36(e.so),t.Y36(e.WI),t.Y36(g.mQ))};static#t=this.\u0275cmp=t.Xpm({type:I,selectors:[["rtl-error-message"]],decls:29,vars:6,consts:[["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large","error-alert-block"],["fxLayout","column"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"],[1,"word-break"],["fxLayout","row","fxLayoutAlign","end center"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","start center",1,"pb-1"]],template:function(F,W){1&F&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5),t.qZA()(),t.TgZ(6,"button",5),t.NdJ("click",function(){return W.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"div",7),t.YNc(10,S,2,1,"p",8),t.TgZ(11,"h4",9),t._uU(12,"Error Code"),t.qZA(),t.TgZ(13,"span"),t._uU(14),t.qZA(),t._UZ(15,"mat-divider",10),t.TgZ(16,"h4",9),t._uU(17,"Error Message"),t.qZA(),t.TgZ(18,"span",11),t._uU(19),t.qZA(),t._UZ(20,"mat-divider",10),t.TgZ(21,"h4",9),t._uU(22,"API URL"),t.qZA(),t.TgZ(23,"span",11),t._uU(24),t.qZA(),t._UZ(25,"mat-divider",10),t.TgZ(26,"div",12)(27,"button",13),t._uU(28,"OK"),t.qZA()()()()()()),2&F&&(t.xp6(5),t.Oqu(W.data.alertTitle||"ERROR"),t.xp6(5),t.Q6J("ngIf",W.data.titleMessage),t.xp6(4),t.Oqu(W.data.message.code),t.xp6(5),t.Oqu(W.errorMessage),t.xp6(5),t.Oqu(W.data.message.URL),t.xp6(3),t.Q6J("mat-dialog-close",!1))},dependencies:[T.O5,c.xw,c.Wh,c.yH,e.ZT,C.lW,u.dn,u.dk,P.d,d.h],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}return I})()},5487:(Ue,q,p)=>{"use strict";p.d(q,{a:()=>xi});var e=p(6223),t=p(8645),g=p(9773),T=p(7700),c=p(590),C=p(8291),u=p(2154),P=p(7321),d=p(5879),S=p(4221),M=p(3149),I=p(6814),D=p(5980),R=p(4190),F=p(6339),W=p(3814),Y=p(7509),Q=p(2296),J=p(5195),ne=p(3305),X=p(617),pe=p(2032),ie=p(5683),de=p(6007),te=p(7466),ae=p(2599),E=p(2596),i=p(8257),o=p(6985),m=p(6385);function l(Ut,bt){1&Ut&&d.GkF(0)}function y(Ut,bt){1&Ut&&d.GkF(0)}const L=function(Ut){return{"h-5":Ut}};function O(Ut,bt){if(1&Ut&&(d.TgZ(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),d._uU(4),d.ALo(5,"number"),d.qZA()()(),d.YNc(6,y,1,0,"ng-container",0),d.qZA()),2&Ut){const $e=d.oxw(),ut=d.MAs(4);d.Q6J("expanded",$e.panelExpanded)("ngClass",d.VKq(7,L,!$e.flgShowPanel)),d.xp6(4),d.AsE("Quote for ",$e.termCaption," amount (",d.lcZ(5,5,$e.quote.amount)," Sats)"),d.xp6(2),d.Q6J("ngTemplateOutlet",ut)}}function b(Ut,bt){if(1&Ut&&(d.TgZ(0,"div",19)(1,"h4",8),d._uU(2," Prepay Amount (Sats) "),d.TgZ(3,"mat-icon",20),d._uU(4,"info_outline"),d.qZA()(),d.TgZ(5,"span",10),d._uU(6),d.ALo(7,"number"),d.qZA()()),2&Ut){const $e=d.oxw(2);d.xp6(6),d.Oqu(d.lcZ(7,1,null==$e.quote?null:$e.quote.prepay_amt_sat))}}function n(Ut,bt){1&Ut&&d._UZ(0,"mat-divider",13)}function _(Ut,bt){if(1&Ut&&(d.TgZ(0,"div",6)(1,"div",21)(2,"h4",8),d._uU(3," Swap Server Node Pubkey "),d.TgZ(4,"mat-icon",22),d._uU(5,"info_outline"),d.qZA()(),d.TgZ(6,"span",10),d._uU(7),d.qZA()()()),2&Ut){const $e=d.oxw(2);d.xp6(7),d.Oqu(null==$e.quote?null:$e.quote.swap_payment_dest)}}function H(Ut,bt){if(1&Ut&&(d.TgZ(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),d._uU(4," Swap Fee (Sats) "),d.TgZ(5,"mat-icon",9),d._uU(6,"info_outline"),d.qZA()(),d.TgZ(7,"span",10),d._uU(8),d.ALo(9,"number"),d.qZA()(),d.TgZ(10,"div",7)(11,"h4",8),d._uU(12),d.TgZ(13,"mat-icon",11),d._uU(14,"info_outline"),d.qZA()(),d.TgZ(15,"span",10),d._uU(16),d.ALo(17,"number"),d.qZA()(),d.YNc(18,b,8,3,"div",12),d.qZA(),d._UZ(19,"mat-divider",13),d.TgZ(20,"div",6)(21,"div",14)(22,"h4",8),d._uU(23," Max Off-chain Swap Routing Fee (Sats) "),d.TgZ(24,"mat-icon",15),d._uU(25,"info_outline"),d.qZA()(),d.TgZ(26,"span",10),d._uU(27),d.ALo(28,"number"),d.qZA()(),d.TgZ(29,"div",14)(30,"h4",8),d._uU(31," Max Off-chain Prepay Routing Fee (Sats) "),d.TgZ(32,"mat-icon",16),d._uU(33,"info_outline"),d.qZA()(),d.TgZ(34,"span",10),d._uU(35,"36"),d.qZA()()(),d.YNc(36,n,1,0,"mat-divider",17),d.YNc(37,_,8,1,"div",18),d.qZA()),2&Ut){const $e=d.oxw();d.xp6(2),d.Q6J("fxFlex",null!=$e.quote&&$e.quote.prepay_amt_sat?"30":"50"),d.xp6(6),d.Oqu(d.lcZ(9,9,null==$e.quote?null:$e.quote.swap_fee_sat)),d.xp6(2),d.Q6J("fxFlex",null!=$e.quote&&$e.quote.prepay_amt_sat?"35":"50"),d.xp6(2),d.hij(" ",null!=$e.quote&&$e.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=$e.quote&&$e.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),d.xp6(4),d.Oqu(d.lcZ(17,11,null!=$e.quote&&$e.quote.htlc_sweep_fee_sat?$e.quote.htlc_sweep_fee_sat:null!=$e.quote&&$e.quote.htlc_publish_fee_sat?$e.quote.htlc_publish_fee_sat:0)),d.xp6(2),d.Q6J("ngIf",null==$e.quote?null:$e.quote.prepay_amt_sat),d.xp6(9),d.Oqu(d.lcZ(28,13,(null==$e.quote?null:$e.quote.amount)*((null!=$e.quote&&$e.quote.off_chain_swap_routing_fee_percentage?null==$e.quote?null:$e.quote.off_chain_swap_routing_fee_percentage:2)/100))),d.xp6(9),d.Q6J("ngIf",""!==(null==$e.quote?null:$e.quote.swap_payment_dest)),d.xp6(1),d.Q6J("ngIf",""!==(null==$e.quote?null:$e.quote.swap_payment_dest))}}let V=(()=>{class Ut{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}static#e=this.\u0275fac=function(ut){return new(ut||Ut)};static#t=this.\u0275cmp=d.Xpm({type:Ut,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(ut,Et){if(1&ut&&(d.YNc(0,l,1,0,"ng-container",0),d.YNc(1,O,7,9,"ng-template",null,1,d.W1O),d.YNc(3,H,38,15,"ng-template",null,2,d.W1O)),2&ut){const qt=d.MAs(2),pi=d.MAs(4);d.Q6J("ngTemplateOutlet",Et.showPanel?qt:pi)}},dependencies:[I.mk,I.O5,I.tP,W.xw,W.Wh,W.yH,Y.oO,ne.ib,ne.yz,ne.yK,X.Hw,m.d,E.gM,I.JJ]})}return Ut})();function K(Ut,bt){1&Ut&&d.GkF(0)}function se(Ut,bt){if(1&Ut&&(d.TgZ(0,"div",3)(1,"span",4),d._uU(2),d.qZA()()),2&Ut){const $e=d.oxw();d.xp6(2),d.Oqu(null!=$e.loopStatus&&$e.loopStatus.error?null==$e.loopStatus?null:$e.loopStatus.error:"Unknown Error.")}}function Ye(Ut,bt){if(1&Ut&&(d.TgZ(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),d._uU(4,"ID"),d.qZA(),d.TgZ(5,"span",4),d._uU(6),d.qZA()()(),d._UZ(7,"mat-divider",8),d.TgZ(8,"div",5)(9,"div",6)(10,"h4",7),d._uU(11,"HTLC Address"),d.qZA(),d.TgZ(12,"span",4),d._uU(13),d.qZA()()()()),2&Ut){const $e=d.oxw();d.xp6(6),d.Oqu(null==$e.loopStatus?null:$e.loopStatus.id_bytes),d.xp6(7),d.Oqu(null==$e.loopStatus?null:$e.loopStatus.htlc_address)}}let Oe=(()=>{class Ut{constructor(){}static#e=this.\u0275fac=function(ut){return new(ut||Ut)};static#t=this.\u0275cmp=d.Xpm({type:Ut,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(ut,Et){if(1&ut&&(d.YNc(0,K,1,0,"ng-container",0),d.YNc(1,se,3,1,"ng-template",null,1,d.W1O),d.YNc(3,Ye,14,2,"ng-template",null,2,d.W1O)),2&ut){const qt=d.MAs(2),pi=d.MAs(4);d.Q6J("ngTemplateOutlet",null!=Et.loopStatus&&Et.loopStatus.error?qt:pi)}},dependencies:[I.tP,W.xw,W.Wh,W.yH,m.d]})}return Ut})();var Qe=p(3214);function be(Ut,bt){1&Ut&&d.GkF(0)}const ue=function(Ut,bt){return{"small-svg":Ut,"large-svg":bt}};function xe(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Et){d.CHM($e);const qt=d.oxw();return d.KtG(qt.onSwipe(Et))}),d.O4$(),d.TgZ(1,"svg",7)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d._UZ(8,"circle",12)(9,"path",13),d.qZA(),d.TgZ(10,"g",14),d._UZ(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),d.qZA()()()()(),d.kcU(),d.TgZ(26,"div",30)(27,"mat-card-title"),d._uU(28,"Loop In explained."),d.qZA()(),d.TgZ(29,"div",31)(30,"mat-card-subtitle",32),d._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.qZA()()()}if(2&Ut){const $e=d.oxw();d.Q6J("@sliderAnimation",$e.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ue,$e.screenSize===$e.screenSizeEnum.XS,$e.screenSize!==$e.screenSizeEnum.XS))}}function Pe(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Et){d.CHM($e);const qt=d.oxw();return d.KtG(qt.onSwipe(Et))}),d.O4$(),d.TgZ(1,"svg",33)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),d._UZ(13,"rect",41)(14,"rect",42)(15,"rect",43)(16,"circle",44)(17,"rect",45)(18,"rect",46)(19,"circle",47)(20,"rect",48)(21,"rect",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"circle",53)(26,"circle",54)(27,"circle",55),d.qZA(),d.TgZ(28,"g",56)(29,"g",57)(30,"g",58),d._UZ(31,"path",59)(32,"rect",60)(33,"polygon",61),d.TgZ(34,"g",62),d._UZ(35,"path",63),d.qZA(),d._UZ(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"rect",69)(42,"rect",70)(43,"path",71)(44,"path",72),d.qZA(),d.TgZ(45,"g",73),d._UZ(46,"path",74)(47,"path",75)(48,"path",76)(49,"path",77)(50,"path",78)(51,"path",79)(52,"path",80)(53,"path",81)(54,"path",82)(55,"path",83)(56,"path",84)(57,"circle",85)(58,"circle",86),d.qZA(),d._UZ(59,"path",87),d.qZA()()()()()(),d.kcU(),d.TgZ(60,"div",30)(61,"mat-card-title"),d._uU(62,"Step 1: Deciding to Loop In"),d.qZA()(),d.TgZ(63,"div",31)(64,"mat-card-subtitle",32),d._uU(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),d.qZA()()()}if(2&Ut){const $e=d.oxw();d.Q6J("@sliderAnimation",$e.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ue,$e.screenSize===$e.screenSizeEnum.XS,$e.screenSize!==$e.screenSizeEnum.XS))}}function oe(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Et){d.CHM($e);const qt=d.oxw();return d.KtG(qt.onSwipe(Et))}),d.O4$(),d.TgZ(1,"svg",88)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",89),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),d._UZ(14,"circle",95)(15,"path",96),d.TgZ(16,"g",97),d._UZ(17,"polygon",98)(18,"polygon",99)(19,"path",100),d.qZA(),d.TgZ(20,"g",101),d._UZ(21,"polygon",102)(22,"path",103)(23,"rect",104)(24,"path",105)(25,"rect",106)(26,"rect",107)(27,"rect",108)(28,"rect",109)(29,"circle",110)(30,"path",111),d.TgZ(31,"g",112)(32,"g",113),d._UZ(33,"g",114),d.qZA(),d._UZ(34,"g",115),d.qZA()()(),d.TgZ(35,"g",116)(36,"g",40),d._UZ(37,"rect",117)(38,"rect",42)(39,"rect",43)(40,"circle",118)(41,"rect",45)(42,"rect",46)(43,"circle",119)(44,"rect",48)(45,"rect",49)(46,"rect",50)(47,"rect",51)(48,"rect",52)(49,"circle",120)(50,"circle",54)(51,"circle",55)(52,"circle",121),d.qZA(),d.TgZ(53,"g",56)(54,"g",57)(55,"g",58),d._UZ(56,"path",59)(57,"rect",60)(58,"polygon",61),d.TgZ(59,"g",122),d._UZ(60,"path",63),d.qZA(),d._UZ(61,"rect",123)(62,"rect",124)(63,"rect",125)(64,"rect",126)(65,"rect",127)(66,"rect",128)(67,"rect",129)(68,"path",130)(69,"path",72),d.qZA(),d.TgZ(70,"g",73),d._UZ(71,"path",131)(72,"path",132)(73,"path",133)(74,"path",134)(75,"path",135)(76,"path",136)(77,"path",80)(78,"path",81)(79,"path",137)(80,"path",83)(81,"path",138)(82,"circle",85)(83,"circle",86),d.qZA(),d._UZ(84,"path",139),d.qZA()()()(),d._UZ(85,"path",140)(86,"path",141),d.qZA()()()(),d.kcU(),d.TgZ(87,"div",30)(88,"mat-card-title"),d._uU(89,"Step 2: Send payment out"),d.qZA()(),d.TgZ(90,"div",31)(91,"mat-card-subtitle",32),d._uU(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),d.qZA()()()}if(2&Ut){const $e=d.oxw();d.Q6J("@sliderAnimation",$e.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ue,$e.screenSize===$e.screenSizeEnum.XS,$e.screenSize!==$e.screenSizeEnum.XS))}}function ze(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Et){d.CHM($e);const qt=d.oxw();return d.KtG(qt.onSwipe(Et))}),d.O4$(),d.TgZ(1,"svg",142)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),d._UZ(10,"circle",12)(11,"path",147),d.qZA(),d.TgZ(12,"g",14),d._UZ(13,"ellipse",148)(14,"ellipse",16)(15,"rect",17)(16,"rect",18)(17,"rect",19)(18,"rect",20)(19,"rect",21)(20,"rect",22)(21,"rect",23)(22,"rect",24)(23,"rect",25)(24,"rect",26)(25,"rect",27)(26,"rect",28)(27,"rect",29),d.qZA()(),d.TgZ(28,"g",149),d._UZ(29,"polygon",150)(30,"polygon",99)(31,"path",151),d.qZA(),d.TgZ(32,"g",152),d._UZ(33,"polygon",102)(34,"path",103)(35,"rect",104)(36,"path",105)(37,"rect",106)(38,"rect",107)(39,"rect",108)(40,"rect",109)(41,"circle",110)(42,"path",111),d.TgZ(43,"g",112)(44,"g",113),d._UZ(45,"g",114),d.qZA(),d._UZ(46,"g",115),d.qZA()()(),d._UZ(47,"path",153),d.qZA()()()(),d.kcU(),d.TgZ(48,"div",30)(49,"mat-card-title"),d._uU(50,"Step 3: Recieve Funds Off-chain"),d.qZA()(),d.TgZ(51,"div",31)(52,"mat-card-subtitle",32),d._uU(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),d.qZA()()()}if(2&Ut){const $e=d.oxw();d.Q6J("@sliderAnimation",$e.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ue,$e.screenSize===$e.screenSizeEnum.XS,$e.screenSize!==$e.screenSizeEnum.XS))}}function we(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Et){d.CHM($e);const qt=d.oxw();return d.KtG(qt.onSwipe(Et))}),d.O4$(),d.TgZ(1,"svg",154)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),d._UZ(15,"rect",159)(16,"rect",160)(17,"rect",161)(18,"circle",162)(19,"rect",163)(20,"rect",164)(21,"circle",165)(22,"rect",166)(23,"rect",167)(24,"rect",168)(25,"rect",169)(26,"circle",170)(27,"circle",171),d.qZA(),d.TgZ(28,"g",172),d._UZ(29,"path",173)(30,"rect",174)(31,"polygon",175)(32,"circle",176)(33,"path",177)(34,"rect",178)(35,"rect",179)(36,"rect",180)(37,"rect",181)(38,"rect",182)(39,"rect",183)(40,"rect",184)(41,"path",185)(42,"path",186),d.qZA(),d._UZ(43,"path",187),d.qZA()(),d._UZ(44,"circle",188),d.qZA()()()(),d.kcU(),d.TgZ(45,"div",30)(46,"mat-card-title"),d._uU(47,"Done!"),d.qZA()(),d.TgZ(48,"div",31)(49,"mat-card-subtitle",32),d._uU(50," You send the payment on-chain from your wallet and also move remote balance to the local side of the node, gaining outgoing capacity. "),d.qZA()()()}if(2&Ut){const $e=d.oxw();d.Q6J("@sliderAnimation",$e.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ue,$e.screenSize===$e.screenSizeEnum.XS,$e.screenSize!==$e.screenSizeEnum.XS))}}let le=(()=>{class Ut{constructor($e){this.commonService=$e,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=u.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe($e){2===$e.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===$e.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(ut){return new(ut||Ut)(d.Y36(F.v))};static#t=this.\u0275cmp=d.Xpm({type:Ut,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(ut,Et){if(1&ut&&(d.YNc(0,be,1,0,"ng-container",0),d.YNc(1,xe,32,5,"ng-template",null,1,d.W1O),d.YNc(3,Pe,66,5,"ng-template",null,2,d.W1O),d.YNc(5,oe,93,5,"ng-template",null,3,d.W1O),d.YNc(7,ze,54,5,"ng-template",null,4,d.W1O),d.YNc(9,we,51,5,"ng-template",null,5,d.W1O)),2&ut){const qt=d.MAs(2),pi=d.MAs(4),Si=d.MAs(6),Fi=d.MAs(8),Ri=d.MAs(10);d.Q6J("ngTemplateOutlet",1===Et.stepNumber?qt:2===Et.stepNumber?pi:3===Et.stepNumber?Si:4===Et.stepNumber?Fi:Ri)}},dependencies:[I.mk,I.tP,W.xw,W.Wh,W.yH,Y.oO,J.$j,J.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:[Qe.l]}})}return Ut})();function ge(Ut,bt){1&Ut&&d.GkF(0)}const fe=function(Ut,bt){return{"small-svg":Ut,"large-svg":bt}};function Ge(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Et){d.CHM($e);const qt=d.oxw();return d.KtG(qt.onSwipe(Et))}),d.O4$(),d.TgZ(1,"svg",7)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d._UZ(8,"circle",12)(9,"path",13),d.qZA(),d.TgZ(10,"g",14),d._UZ(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),d.qZA()()()()(),d.kcU(),d.TgZ(26,"div",30)(27,"mat-card-title"),d._uU(28,"Loop Out explained."),d.qZA()(),d.TgZ(29,"div",31)(30,"mat-card-subtitle",32),d._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.qZA()()()}if(2&Ut){const $e=d.oxw();d.Q6J("@sliderAnimation",$e.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,$e.screenSize===$e.screenSizeEnum.XS,$e.screenSize!==$e.screenSizeEnum.XS))}}function Le(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Et){d.CHM($e);const qt=d.oxw();return d.KtG(qt.onSwipe(Et))}),d.O4$(),d.TgZ(1,"svg",33)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),d._UZ(15,"rect",43)(16,"rect",44)(17,"rect",45)(18,"circle",46)(19,"rect",47)(20,"rect",48)(21,"circle",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"rect",53)(26,"circle",54)(27,"circle",55),d.qZA(),d.TgZ(28,"g",56),d._UZ(29,"path",57)(30,"rect",58)(31,"polygon",59)(32,"circle",60)(33,"path",61)(34,"rect",62)(35,"rect",63)(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"path",69)(42,"path",70),d.qZA(),d._UZ(43,"path",71),d.qZA()(),d._UZ(44,"circle",72),d.qZA()()()(),d.kcU(),d.TgZ(45,"div",30)(46,"mat-card-title"),d._uU(47,"Step 1: Deciding to Loop Out"),d.qZA()(),d.TgZ(48,"div",31)(49,"mat-card-subtitle",32),d._uU(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),d.qZA()()()}if(2&Ut){const $e=d.oxw();d.Q6J("@sliderAnimation",$e.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,$e.screenSize===$e.screenSizeEnum.XS,$e.screenSize!==$e.screenSizeEnum.XS))}}function Ne(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Et){d.CHM($e);const qt=d.oxw();return d.KtG(qt.onSwipe(Et))}),d.O4$(),d.TgZ(1,"svg",73)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",74),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",75)(11,"g",76),d._UZ(12,"circle",77)(13,"path",78),d.TgZ(14,"g",79),d._UZ(15,"polygon",80)(16,"polygon",81)(17,"path",82),d.qZA(),d.TgZ(18,"g",83),d._UZ(19,"polygon",84)(20,"path",85)(21,"rect",86)(22,"path",87)(23,"rect",88)(24,"rect",89)(25,"rect",90)(26,"rect",91)(27,"circle",92)(28,"path",93),d.TgZ(29,"g",94)(30,"g",95),d._UZ(31,"g",96),d.qZA(),d._UZ(32,"g",97),d.qZA(),d._UZ(33,"path",98),d.qZA(),d.TgZ(34,"g",99)(35,"g",41)(36,"g",42),d._UZ(37,"rect",43)(38,"rect",44)(39,"rect",45)(40,"circle",46)(41,"rect",47)(42,"rect",48)(43,"circle",49)(44,"rect",50)(45,"rect",51)(46,"rect",52)(47,"rect",53)(48,"circle",100)(49,"circle",54)(50,"circle",55)(51,"circle",101),d.qZA(),d.TgZ(52,"g",56),d._UZ(53,"path",57)(54,"rect",102)(55,"polygon",103)(56,"circle",104)(57,"path",61)(58,"rect",105)(59,"rect",106)(60,"rect",107)(61,"rect",108)(62,"rect",109)(63,"rect",110)(64,"rect",68)(65,"path",69)(66,"path",70),d.qZA(),d._UZ(67,"path",111),d.qZA()()()()()(),d.kcU(),d.TgZ(68,"div",30)(69,"mat-card-title"),d._uU(70,"Step 2: Send lightning payment"),d.qZA()(),d.TgZ(71,"div",31)(72,"mat-card-subtitle",32),d._uU(73," Your node pays a lightning invoice for the amount requested via the loop service. This moves the local balance, for the amount paid, to the remote side of the channel. "),d.qZA()()()}if(2&Ut){const $e=d.oxw();d.Q6J("@sliderAnimation",$e.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,$e.screenSize===$e.screenSizeEnum.XS,$e.screenSize!==$e.screenSizeEnum.XS))}}function Ve(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Et){d.CHM($e);const qt=d.oxw();return d.KtG(qt.onSwipe(Et))}),d.O4$(),d.TgZ(1,"svg",112)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),d._UZ(9,"circle",12)(10,"path",117),d.qZA(),d.TgZ(11,"g",14),d._UZ(12,"ellipse",118)(13,"ellipse",16)(14,"rect",17)(15,"rect",18)(16,"rect",19)(17,"rect",20)(18,"rect",21)(19,"rect",22)(20,"rect",23)(21,"rect",24)(22,"rect",25)(23,"rect",26)(24,"rect",27)(25,"rect",28)(26,"rect",29),d.qZA()(),d.TgZ(27,"g",119),d._UZ(28,"polygon",80)(29,"polygon",120)(30,"path",82),d.qZA(),d.TgZ(31,"g",121),d._UZ(32,"polygon",84)(33,"path",85)(34,"rect",86)(35,"path",87)(36,"rect",88)(37,"rect",89)(38,"rect",90)(39,"rect",91)(40,"circle",122)(41,"path",93),d.TgZ(42,"g",94)(43,"g",95),d._UZ(44,"g",96),d.qZA(),d._UZ(45,"g",97),d.qZA(),d._UZ(46,"path",123),d.qZA()()()()(),d.kcU(),d.TgZ(47,"div",30)(48,"mat-card-title"),d._uU(49,"Step 3: Receive funds back"),d.qZA()(),d.TgZ(50,"div",31)(51,"mat-card-subtitle",32),d._uU(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),d.qZA()()()}if(2&Ut){const $e=d.oxw();d.Q6J("@sliderAnimation",$e.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,$e.screenSize===$e.screenSizeEnum.XS,$e.screenSize!==$e.screenSizeEnum.XS))}}function at(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Et){d.CHM($e);const qt=d.oxw();return d.KtG(qt.onSwipe(Et))}),d.O4$(),d.TgZ(1,"svg",124)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),d._UZ(13,"rect",127)(14,"rect",128)(15,"rect",129)(16,"circle",130)(17,"rect",131)(18,"rect",132)(19,"circle",133)(20,"rect",134)(21,"rect",135)(22,"rect",136)(23,"rect",137)(24,"rect",138)(25,"circle",139)(26,"circle",140)(27,"circle",141),d.qZA(),d.TgZ(28,"g",142)(29,"g",143)(30,"g",144),d._UZ(31,"path",145)(32,"rect",146)(33,"polygon",147),d.TgZ(34,"g",148),d._UZ(35,"path",149),d.qZA(),d._UZ(36,"rect",150)(37,"rect",151)(38,"rect",152)(39,"rect",153)(40,"rect",154)(41,"rect",155)(42,"rect",156)(43,"path",157)(44,"path",158),d.qZA(),d.TgZ(45,"g",159),d._UZ(46,"path",160)(47,"path",161)(48,"path",162)(49,"path",163)(50,"path",164)(51,"path",165)(52,"path",166)(53,"path",167)(54,"path",168)(55,"path",169)(56,"path",170)(57,"circle",171)(58,"circle",172),d.qZA(),d._UZ(59,"path",173),d.qZA()()()()()(),d.kcU(),d.TgZ(60,"div",30)(61,"mat-card-title"),d._uU(62,"Done!"),d.qZA()(),d.TgZ(63,"div",31)(64,"mat-card-subtitle",32),d._uU(65," Final settlement occurs when your node sweeps the on-chain payment and the loop server settles the lightning invoice. You receive the payment on-chain in your wallet and also move local balance to the remote side of the channel, gaining inbound capacity. "),d.qZA()()()}if(2&Ut){const $e=d.oxw();d.Q6J("@sliderAnimation",$e.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,$e.screenSize===$e.screenSizeEnum.XS,$e.screenSize!==$e.screenSizeEnum.XS))}}let ve=(()=>{class Ut{constructor($e){this.commonService=$e,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=u.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe($e){2===$e.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===$e.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(ut){return new(ut||Ut)(d.Y36(F.v))};static#t=this.\u0275cmp=d.Xpm({type:Ut,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(ut,Et){if(1&ut&&(d.YNc(0,ge,1,0,"ng-container",0),d.YNc(1,Ge,32,5,"ng-template",null,1,d.W1O),d.YNc(3,Le,51,5,"ng-template",null,2,d.W1O),d.YNc(5,Ne,74,5,"ng-template",null,3,d.W1O),d.YNc(7,Ve,53,5,"ng-template",null,4,d.W1O),d.YNc(9,at,66,5,"ng-template",null,5,d.W1O)),2&ut){const qt=d.MAs(2),pi=d.MAs(4),Si=d.MAs(6),Fi=d.MAs(8),Ri=d.MAs(10);d.Q6J("ngTemplateOutlet",1===Et.stepNumber?qt:2===Et.stepNumber?pi:3===Et.stepNumber?Si:4===Et.stepNumber?Fi:Ri)}},dependencies:[I.mk,I.tP,W.xw,W.Wh,W.yH,Y.oO,J.$j,J.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:[Qe.l]}})}return Ut})();const De=["stepper"];function xt(Ut,bt){if(1&Ut&&(d.TgZ(0,"div",48)(1,"p",49)(2,"strong"),d._uU(3,"Channel Peer:\xa0"),d.qZA(),d._uU(4),d.ALo(5,"titlecase"),d.qZA(),d.TgZ(6,"p",50)(7,"strong"),d._uU(8,"Channel ID:\xa0"),d.qZA(),d._uU(9),d.qZA(),d._UZ(10,"p",50),d.qZA()),2&Ut){const $e=d.oxw(2);d.xp6(4),d.Oqu(d.lcZ(5,2,$e.channel.remote_alias)),d.xp6(5),d.Oqu($e.channel.chan_id)}}function ct(Ut,bt){if(1&Ut&&d._uU(0),2&Ut){const $e=d.oxw(2);d.Oqu($e.inputFormLabel)}}function et(Ut,bt){1&Ut&&(d.TgZ(0,"mat-error"),d._uU(1,"Amount is required."),d.qZA())}function Ct(Ut,bt){if(1&Ut&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&Ut){const $e=d.oxw(2);d.xp6(1),d.hij("Amount must be greater than or equal to ",d.lcZ(2,1,$e.minQuote.amount),".")}}function ke(Ut,bt){if(1&Ut&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&Ut){const $e=d.oxw(2);d.xp6(1),d.hij("Amount must be less than or equal to ",d.lcZ(2,1,$e.maxQuote.amount),".")}}function ot(Ut,bt){1&Ut&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target is required."),d.qZA())}function Je(Ut,bt){1&Ut&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target must be a positive number."),d.qZA())}function re(Ut,bt){1&Ut&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage is required."),d.qZA())}function Be(Ut,bt){1&Ut&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage must be a positive number."),d.qZA())}function Nt(Ut,bt){if(1&Ut&&(d.TgZ(0,"mat-form-field",50)(1,"mat-label"),d._uU(2,"Max Off-chain Routing Fee (%)"),d.qZA(),d._UZ(3,"input",51),d.YNc(4,re,2,0,"mat-error",25),d.YNc(5,Be,2,0,"mat-error",25),d.qZA()),2&Ut){const $e=d.oxw(2);d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==$e.inputFormGroup.controls.routingFeePercent.errors?null:$e.inputFormGroup.controls.routingFeePercent.errors.required),d.xp6(1),d.Q6J("ngIf",null==$e.inputFormGroup.controls.routingFeePercent.errors?null:$e.inputFormGroup.controls.routingFeePercent.errors.min)}}function Ke(Ut,bt){1&Ut&&(d.TgZ(0,"div",52)(1,"mat-slide-toggle",53),d._uU(2,"Fast"),d.qZA(),d.TgZ(3,"mat-icon",54),d._uU(4,"info_outline"),d.qZA()())}function yt(Ut,bt){if(1&Ut&&d._uU(0),2&Ut){const $e=d.oxw(2);d.Oqu($e.quoteFormLabel)}}function kt(Ut,bt){1&Ut&&(d.TgZ(0,"p",55)(1,"mat-icon",56),d._uU(2,"close"),d.qZA(),d._uU(3,"Local balance amount is insufficient for swap."),d.qZA())}function Dt(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"button",57),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw(2);return d.KtG(Et.onValidateAmount())}),d._uU(1,"Next"),d.qZA()}}function Rt(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"button",58),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw(2);return d.KtG(Et.onLoop())}),d._uU(1),d.qZA()}if(2&Ut){const $e=d.oxw(2);d.xp6(1),d.hij("Initiate ",$e.loopDirectionCaption,"")}}function pt(Ut,bt){if(1&Ut&&d._uU(0),2&Ut){const $e=d.oxw(3);d.Oqu($e.addressFormLabel)}}function vt(Ut,bt){1&Ut&&(d.TgZ(0,"mat-error"),d._uU(1,"Address is required."),d.qZA())}function Te(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"mat-step",16)(1,"form",17),d.YNc(2,pt,1,1,"ng-template",18),d.TgZ(3,"div",59)(4,"mat-radio-group",60),d.NdJ("change",function(Et){d.CHM($e);const qt=d.oxw(2);return d.KtG(qt.onAddressTypeChange(Et))}),d.TgZ(5,"mat-radio-button",61),d._uU(6,"Node Local Address"),d.qZA(),d.TgZ(7,"mat-radio-button",62),d._uU(8,"External Address"),d.qZA()(),d.TgZ(9,"mat-form-field",63)(10,"mat-label"),d._uU(11,"Address"),d.qZA(),d._UZ(12,"input",64),d.YNc(13,vt,2,0,"mat-error",25),d.qZA()(),d.TgZ(14,"div",29)(15,"button",65),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw(2);return d.KtG(Et.onLoop())}),d._uU(16),d.qZA()()()()}if(2&Ut){const $e=d.oxw(2);d.Q6J("stepControl",$e.addressFormGroup)("editable",$e.flgEditable),d.xp6(1),d.Q6J("formGroup",$e.addressFormGroup),d.xp6(11),d.Q6J("required","external"===$e.addressFormGroup.controls.addressType.value),d.xp6(1),d.Q6J("ngIf",null==$e.addressFormGroup.controls.address.errors?null:$e.addressFormGroup.controls.address.errors.required),d.xp6(3),d.hij("Initiate ",$e.loopDirectionCaption,"")}}function tt(Ut,bt){if(1&Ut&&d._uU(0),2&Ut){const $e=d.oxw(2);d.hij("",$e.loopDirectionCaption," Status")}}function Ze(Ut,bt){if(1&Ut&&(d.TgZ(0,"mat-icon",66),d._uU(1),d.qZA()),2&Ut){const $e=d.oxw(2);d.xp6(1),d.Oqu($e.loopStatus&&null!=$e.loopStatus&&$e.loopStatus.id_bytes?"check":"close")}}function Mt(Ut,bt){1&Ut&&d._UZ(0,"div")}function oi(Ut,bt){1&Ut&&d._UZ(0,"mat-progress-bar",67)}function Tt(Ut,bt){if(1&Ut&&(d.TgZ(0,"h4",68),d._uU(1),d.qZA()),2&Ut){const $e=d.oxw(2);d.xp6(1),d.Oqu($e.loopStatus&&$e.loopStatus.error?$e.loopDirectionCaption+" failed.":$e.loopStatus&&$e.loopStatus.id_bytes&&$e.channel?$e.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":$e.loopDirectionCaption+" request placed successfully.")}}function mt(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"button",69),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw(2);return d.KtG(Et.goToLoop())}),d._uU(1,"Check Status"),d.qZA()}}function he(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"button",70),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw(2);return d.KtG(Et.onRestart())}),d._uU(1,"Start Again"),d.qZA()}}function ee(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),d._uU(5),d.qZA()(),d.TgZ(6,"div",8)(7,"button",9),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw();return d.KtG(Et.showInfo())}),d._uU(8,"?"),d.qZA(),d.TgZ(9,"button",10),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw();return d.KtG(Et.onClose())}),d._uU(10,"X"),d.qZA()()(),d.TgZ(11,"mat-card-content",11)(12,"div",12),d.YNc(13,xt,11,4,"div",13),d.TgZ(14,"mat-vertical-stepper",14,15),d.NdJ("selectionChange",function(Et){d.CHM($e);const qt=d.oxw();return d.KtG(qt.stepSelectionChanged(Et))}),d.TgZ(16,"mat-step",16)(17,"form",17),d.YNc(18,ct,1,1,"ng-template",18),d.TgZ(19,"div",19),d._UZ(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",20),d.qZA(),d.TgZ(22,"div",21)(23,"mat-form-field",22)(24,"mat-label"),d._uU(25,"Amount"),d.qZA(),d._UZ(26,"input",23),d.TgZ(27,"mat-hint"),d._uU(28),d.ALo(29,"number"),d.ALo(30,"number"),d.qZA(),d.TgZ(31,"span",24),d._uU(32,"Sats"),d.qZA(),d.YNc(33,et,2,0,"mat-error",25),d.YNc(34,Ct,3,3,"mat-error",25),d.YNc(35,ke,3,3,"mat-error",25),d.qZA(),d.TgZ(36,"mat-form-field",22)(37,"mat-label"),d._uU(38,"Sweep Confirmation Target"),d.qZA(),d._UZ(39,"input",26),d.YNc(40,ot,2,0,"mat-error",25),d.YNc(41,Je,2,0,"mat-error",25),d.qZA(),d.YNc(42,Nt,6,3,"mat-form-field",27),d.qZA(),d.YNc(43,Ke,5,0,"div",28),d.TgZ(44,"div",29)(45,"button",30),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw();return d.KtG(Et.onEstimateQuote())}),d._uU(46,"Estimate Quote"),d.qZA()()()(),d.TgZ(47,"mat-step",16)(48,"form",17),d.YNc(49,yt,1,1,"ng-template",18),d._UZ(50,"rtl-loop-quote",31),d.YNc(51,kt,4,0,"p",32),d.TgZ(52,"div",29),d.YNc(53,Dt,2,0,"button",33),d.YNc(54,Rt,2,1,"button",34),d.qZA()()(),d.YNc(55,Te,17,6,"mat-step",35),d.TgZ(56,"mat-step",36)(57,"form",17),d.YNc(58,tt,1,1,"ng-template",18),d.TgZ(59,"div",37)(60,"mat-expansion-panel",38)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",39),d._uU(64),d.YNc(65,Ze,2,1,"mat-icon",40),d.qZA()()(),d.YNc(66,Mt,1,0,"div",41),d.qZA(),d.YNc(67,oi,1,0,"mat-progress-bar",42),d.qZA(),d.YNc(68,Tt,2,1,"h4",43),d.TgZ(69,"div",29),d.YNc(70,mt,2,0,"button",44),d.YNc(71,he,2,0,"button",45),d.qZA()()()(),d.TgZ(72,"div",46)(73,"button",47),d._uU(74,"Close"),d.qZA()()()()()()}if(2&Ut){const $e=d.oxw(),ut=d.MAs(2);d.Q6J("@opacityAnimation",void 0),d.xp6(3),d.Q6J("fxFlex",$e.screenSize===$e.screenSizeEnum.XS||$e.screenSize===$e.screenSizeEnum.SM?"83":"91"),d.xp6(2),d.Oqu($e.channel?"Channel "+$e.loopDirectionCaption:$e.loopDirectionCaption),d.xp6(1),d.Q6J("fxFlex",$e.screenSize===$e.screenSizeEnum.XS||$e.screenSize===$e.screenSizeEnum.SM?"17":"9"),d.xp6(7),d.Q6J("ngIf",$e.channel),d.xp6(1),d.Q6J("linear",!0),d.xp6(2),d.Q6J("stepControl",$e.inputFormGroup)("editable",$e.flgEditable),d.xp6(1),d.Q6J("formGroup",$e.inputFormGroup),d.xp6(3),d.Q6J("quote",$e.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),d.xp6(1),d.Q6J("quote",$e.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),d.xp6(2),d.Q6J("fxFlex",$e.direction===$e.LoopTypeEnum.LOOP_OUT?"35":"48"),d.xp6(3),d.Q6J("step",1e3),d.xp6(2),d.AsE("Range: ",d.lcZ(29,51,$e.minQuote.amount),"-",d.lcZ(30,53,$e.maxQuote.amount),""),d.xp6(5),d.Q6J("ngIf",null==$e.inputFormGroup.controls.amount.errors?null:$e.inputFormGroup.controls.amount.errors.required),d.xp6(1),d.Q6J("ngIf",null==$e.inputFormGroup.controls.amount.errors?null:$e.inputFormGroup.controls.amount.errors.min),d.xp6(1),d.Q6J("ngIf",null==$e.inputFormGroup.controls.amount.errors?null:$e.inputFormGroup.controls.amount.errors.max),d.xp6(1),d.Q6J("fxFlex",$e.direction===$e.LoopTypeEnum.LOOP_OUT?"30":"48"),d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==$e.inputFormGroup.controls.sweepConfTarget.errors?null:$e.inputFormGroup.controls.sweepConfTarget.errors.required),d.xp6(1),d.Q6J("ngIf",null==$e.inputFormGroup.controls.sweepConfTarget.errors?null:$e.inputFormGroup.controls.sweepConfTarget.errors.min),d.xp6(1),d.Q6J("ngIf",$e.direction===$e.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",$e.direction===$e.LoopTypeEnum.LOOP_OUT),d.xp6(4),d.Q6J("stepControl",$e.quoteFormGroup)("editable",$e.flgEditable),d.xp6(1),d.Q6J("formGroup",$e.quoteFormGroup),d.xp6(2),d.Q6J("quote",$e.quote)("showPanel",!1),d.xp6(1),d.Q6J("ngIf",$e.inputFormGroup.controls.amount.value>$e.localBalanceToCompare),d.xp6(2),d.Q6J("ngIf",$e.direction===$e.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",$e.direction===$e.LoopTypeEnum.LOOP_IN),d.xp6(1),d.Q6J("ngIf",$e.direction===$e.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("stepControl",$e.statusFormGroup),d.xp6(1),d.Q6J("formGroup",$e.statusFormGroup),d.xp6(3),d.Q6J("expanded",!!$e.loopStatus),d.xp6(4),d.Oqu($e.loopStatus?$e.loopStatus.id_bytes?$e.loopDirectionCaption+" request details":$e.loopDirectionCaption+" error details":"Waiting for "+$e.loopDirectionCaption+" request..."),d.xp6(1),d.Q6J("ngIf",$e.loopStatus),d.xp6(1),d.Q6J("ngIf",!$e.loopStatus)("ngIfElse",ut),d.xp6(1),d.Q6J("ngIf",!$e.loopStatus),d.xp6(1),d.Q6J("ngIf",$e.loopStatus),d.xp6(2),d.Q6J("ngIf",$e.loopStatus&&$e.loopStatus.id_bytes&&$e.channel),d.xp6(1),d.Q6J("ngIf",$e.loopStatus&&($e.loopStatus.error||!$e.loopStatus.id_bytes)),d.xp6(2),d.Q6J("mat-dialog-close",!1)}}function Ce(Ut,bt){if(1&Ut&&d._UZ(0,"rtl-loop-status",71),2&Ut){const $e=d.oxw();d.Q6J("loopStatus",$e.loopStatus)}}function At(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"rtl-loop-out-info-graphics",87),d.NdJ("stepNumberChange",function(Et){d.CHM($e);const qt=d.oxw(2);return d.KtG(qt.stepNumber=Et)}),d.qZA()}if(2&Ut){const $e=d.oxw(2);d.Q6J("animationDirection",$e.animationDirection)("stepNumber",$e.stepNumber)}}function Lt(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"rtl-loop-in-info-graphics",87),d.NdJ("stepNumberChange",function(Et){d.CHM($e);const qt=d.oxw(2);return d.KtG(qt.stepNumber=Et)}),d.qZA()}if(2&Ut){const $e=d.oxw(2);d.Q6J("animationDirection",$e.animationDirection)("stepNumber",$e.stepNumber)}}const jt=function(Ut,bt){return{"dot-primary":Ut,"dot-primary-lighter":bt}};function Zt(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"span",88),d.NdJ("click",function(){const qt=d.CHM($e).$implicit,pi=d.oxw(2);return d.KtG(pi.onStepChanged(qt))}),d._UZ(1,"p",89),d.qZA()}if(2&Ut){const $e=bt.$implicit,ut=d.oxw(2);d.xp6(1),d.Q6J("ngClass",d.WLB(1,jt,ut.stepNumber===$e,ut.stepNumber!==$e))}}function Kt(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"button",90),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw(2);return d.KtG(Et.onReadMore())}),d._uU(1,"Read More"),d.qZA()}}function Xe(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"button",91),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw(2);return d.KtG(Et.onStepChanged(4))}),d._uU(1,"Back"),d.qZA()}}function Bt(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"button",92),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw(2);return Et.flgShowInfo=!1,d.KtG(Et.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function qe(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"button",93),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw(2);return Et.flgShowInfo=!1,d.KtG(Et.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function nt(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"button",94),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw(2);return d.KtG(Et.onStepChanged(Et.stepNumber-1))}),d._uU(1,"Back"),d.qZA()}}function Wt(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"button",95),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw(2);return d.KtG(Et.onStepChanged(Et.stepNumber+1))}),d._uU(1,"Next"),d.qZA()}}const si=function(){return[1,2,3,4,5]};function li(Ut,bt){if(1&Ut){const $e=d.EpF();d.TgZ(0,"div",72)(1,"div",19)(2,"mat-card-header",73)(3,"div",74),d._UZ(4,"span",7),d.qZA(),d.TgZ(5,"div",75)(6,"button",10),d.NdJ("click",function(){d.CHM($e);const Et=d.oxw();return Et.flgShowInfo=!1,d.KtG(Et.stepNumber=1)}),d._uU(7,"X"),d.qZA()()(),d.TgZ(8,"mat-card-content",76),d.YNc(9,At,1,2,"rtl-loop-out-info-graphics",77),d.YNc(10,Lt,1,2,"rtl-loop-in-info-graphics",77),d.qZA(),d.TgZ(11,"div",78),d.YNc(12,Zt,2,4,"span",79),d.qZA(),d.TgZ(13,"div",80),d.YNc(14,Kt,2,0,"button",81),d.YNc(15,Xe,2,0,"button",82),d.YNc(16,Bt,2,0,"button",83),d.YNc(17,qe,2,0,"button",84),d.YNc(18,nt,2,0,"button",85),d.YNc(19,Wt,2,0,"button",86),d.qZA()()()}if(2&Ut){const $e=d.oxw();d.Q6J("@opacityAnimation",void 0),d.xp6(9),d.Q6J("ngIf",$e.direction===$e.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",$e.direction===$e.LoopTypeEnum.LOOP_IN),d.xp6(2),d.Q6J("ngForOf",d.DdM(10,si)),d.xp6(2),d.Q6J("ngIf",5===$e.stepNumber),d.xp6(1),d.Q6J("ngIf",5===$e.stepNumber),d.xp6(1),d.Q6J("ngIf",5===$e.stepNumber),d.xp6(1),d.Q6J("ngIf",$e.stepNumber<5),d.xp6(1),d.Q6J("ngIf",$e.stepNumber>1&&$e.stepNumber<5),d.xp6(1),d.Q6J("ngIf",$e.stepNumber<5)}}let xi=(()=>{class Ut{constructor($e,ut,Et,qt,pi,Si,Fi,Ri,Ui){this.dialogRef=$e,this.data=ut,this.store=Et,this.loopService=qt,this.formBuilder=pi,this.decimalPipe=Si,this.logger=Fi,this.router=Ri,this.commonService=Ui,this.faInfoCircle=c.sqG,this.LoopTypeEnum=u.$I,this.direction=u.$I.LOOP_OUT,this.loopDirectionCaption="Loop out",this.loopStatus=null,this.inputFormLabel="Amount to loop out",this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address",this.prepayRoutingFee=36,this.flgShowInfo=!1,this.stepNumber=1,this.screenSize="",this.screenSizeEnum=u.cu,this.animationDirection="forward",this.flgEditable=!0,this.localBalanceToCompare=null,this.unSubs=[new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.channel=this.data.channel,this.minQuote=this.data.minQuote?this.data.minQuote:{},this.maxQuote=this.data.maxQuote?this.data.maxQuote:{},this.direction=this.data.direction||u.$I.LOOP_OUT,this.loopDirectionCaption=this.direction===u.$I.LOOP_IN?"Loop in":"Loop out",this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.minQuote.amount,[e.kI.required,e.kI.min(this.minQuote.amount||0),e.kI.max(this.maxQuote.amount||0)]],sweepConfTarget:[6,[e.kI.required,e.kI.min(1)]],routingFeePercent:[2,[e.kI.required,e.kI.min(0)]],fast:[!1,[e.kI.required]]}),this.inputFormGroup.setErrors({Invalid:!0}),this.quoteFormGroup=this.formBuilder.group({}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[e.kI.required]],address:[{value:"",disabled:!0}]}),this.direction===u.$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($e=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:$e.lightningBalance&&$e.lightningBalance.local?+$e.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,g.R)(this.unSubs[4])).subscribe($e=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===u.$I.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,g.R)(this.unSubs[5])).subscribe($e=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange($e){"external"===$e.value?(this.addressFormGroup.controls.address.setValidators([e.kI.required]),this.addressFormGroup.controls.address.markAsTouched(),this.addressFormGroup.controls.address.enable()):(this.addressFormGroup.controls.address.setValidators(null),this.addressFormGroup.controls.address.markAsPristine(),this.addressFormGroup.controls.address.disable(),this.addressFormGroup.controls.address.setValue("")),this.addressFormGroup.setErrors({Invalid:!0})}onValidateAmount(){this.localBalanceToCompare&&this.inputFormGroup.controls.amount.value<=this.localBalanceToCompare&&this.stepper.next()}onLoop(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.value<this.minQuote.amount||this.maxQuote.amount&&this.inputFormGroup.controls.amount.value>this.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2||this.direction===u.$I.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===u.$I.LOOP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;if(this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===u.$I.LOOP_IN)this.loopService.loopIn(this.inputFormGroup.controls.amount.value,+(this.quote.swap_fee_sat||0),+(this.quote.htlc_publish_fee_sat||0),"",!0).pipe((0,g.R)(this.unSubs[0])).subscribe({next:$e=>{this.loopStatus=$e,this.loopService.listSwaps(),this.flgEditable=!0},error:$e=>{this.loopStatus={error:$e},this.flgEditable=!0,this.logger.error($e)}});else{const $e=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),ut="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",Et=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,$e,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),Et,ut).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 $e=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===u.$I.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,$e).pipe((0,g.R)(this.unSubs[2])).subscribe(ut=>{this.quote=ut,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,$e).pipe((0,g.R)(this.unSubs[3])).subscribe(ut=>{this.quote=ut,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($e){switch($e.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===u.$I.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Percentage: "+(this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:"2")+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 2:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===u.$I.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel=this.quote&&this.quote.swap_fee_sat&&(this.quote.htlc_sweep_fee_sat||this.quote.htlc_publish_fee_sat)&&this.quote.prepay_amt_sat?"Quote confirmed | Estimated Fees: "+this.decimalPipe.transform(+this.quote.swap_fee_sat+ +(this.quote.htlc_sweep_fee_sat?this.quote.htlc_sweep_fee_sat:this.quote.htlc_publish_fee_sat?this.quote.htlc_publish_fee_sat:0))+" Sats":"Quote confirmed",this.addressFormLabel=this.addressFormGroup.controls.addressType.value?"Withdrawal Address | Type: "+this.addressFormGroup.controls.addressType.value:"Withdrawal Address"}(this.direction===u.$I.LOOP_OUT&&1!==$e.selectedIndex&&$e.selectedIndex<$e.previouslySelectedIndex||this.direction===u.$I.LOOP_IN&&$e.selectedIndex<$e.previouslySelectedIndex)&&$e.selectedStep.stepControl.setErrors({Invalid:!0})}goToLoop(){this.dialogRef.close(!0),this.router.navigateByUrl("/services/loop")}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===u.$I.LOOP_IN?window.open("https://blog.lightning.engineering/announcement/2019/06/25/loop-in.html","_blank"):window.open("https://blog.lightning.engineering/technical/posts/2019/04/15/loop-out-in-depth.html","_blank"),this.onClose()}onStepChanged($e){this.animationDirection=$e<this.stepNumber?"backward":"forward",this.stepNumber=$e}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($e=>{$e.next(null),$e.complete()})}static#e=this.\u0275fac=function(ut){return new(ut||Ut)(d.Y36(T.so),d.Y36(T.WI),d.Y36(S.yh),d.Y36(M.W),d.Y36(e.QS),d.Y36(I.JJ),d.Y36(D.mQ),d.Y36(R.F0),d.Y36(F.v))};static#t=this.\u0275cmp=d.Xpm({type:Ut,selectors:[["rtl-loop-modal"]],viewQuery:function(ut,Et){if(1&ut&&d.Gf(De,5),2&ut){let qt;d.iGM(qt=d.CRH())&&(Et.stepper=qt.first)}},decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["loopStatusBlock",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","info-graphics-container",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxLayoutAlign","start start",3,"fxFlex"],[1,"page-title"],["fxLayoutAlign","space-between end",3,"fxFlex"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["class","padding-gap-large","fxLayout","row wrap","fxLayoutAlign","space-between stretch",4,"ngIf"],[3,"linear","selectionChange"],["stepper",""],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[3,"quote","termCaption","panelExpanded","showPanel"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],[3,"fxFlex"],["autoFocus","","matInput","","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["matInput","","type","number","tabindex","2","formControlName","sweepConfTarget","required","",3,"step"],["fxFlex","30",4,"ngIf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","class","mt-1",4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","5","type","button",3,"click"],[3,"quote","showPanel"],["fxFlex","100","class","color-warn mt-2","fxLayoutAlign","start center",4,"ngIf"],["mat-button","","color","primary","tabindex","6","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","7","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-button","","color","primary","tabindex","12","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch",1,"padding-gap-large"],["fxFlex","40"],["fxFlex","30"],["matInput","","type","number","tabindex","3","formControlName","routingFeePercent","required","",3,"step"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center",1,"mt-1"],["tabindex","4","color","primary","formControlName","fast","fxFlex","none"],["matTooltip","Swap immediately (Might end up paying a higher on-chain fee)","matTooltipPosition","above","fxFlex","none",1,"info-icon"],["fxFlex","100","fxLayoutAlign","start center",1,"color-warn","mt-2"],[1,"mr-1","icon-small"],["mat-button","","color","primary","tabindex","6","type","button",3,"click"],["mat-button","","color","primary","tabindex","7","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","12","type","button",3,"click"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"loopStatus"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(ut,Et){1&ut&&(d.YNc(0,ee,75,55,"div",0),d.YNc(1,Ce,1,1,"ng-template",null,1,d.W1O),d.YNc(3,li,20,11,"div",2)),2&ut&&(d.Q6J("ngIf",!Et.flgShowInfo),d.xp6(3),d.Q6J("ngIf",Et.flgShowInfo))},dependencies:[I.mk,I.sg,I.O5,e._Y,e.Fj,e.wV,e.JJ,e.JL,e.Q7,e.sg,e.u,W.xw,W.Wh,W.yH,Y.oO,T.ZT,Q.lW,J.dn,J.dk,ne.ib,ne.yz,ne.yK,X.Hw,pe.Nt,ie.KE,ie.hX,ie.bx,ie.TO,ie.R9,de.pW,te.VQ,te.U0,ae.Rr,E.gM,i.C0,i.VY,i.Vq,o.h,V,Oe,le,ve,I.JJ,I.rS],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[C._]}})}return Ut})()},4740:(Ue,q,p)=>{"use strict";p.d(q,{w:()=>P});var e=p(590),t=p(5879),g=p(4190),T=p(5597),c=p(3814),C=p(2296),u=p(5195);let P=(()=>{class d{constructor(M){this.router=M,this.faTimes=e.NBC}goToHelp(){this.router.navigate(["/help"])}static#e=this.\u0275fac=function(I){return new(I||d)(t.Y36(g.F0))};static#t=this.\u0275cmp=t.Xpm({type:d,selectors:[["rtl-not-found"]],decls:13,vars:1,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(I,D){1&I&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Page Not Found"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"div",5)(8,"div",6),t._uU(9,"This page does not exist!"),t.qZA(),t.TgZ(10,"span",7)(11,"button",8),t.NdJ("click",function(){return D.goToHelp()}),t._uU(12,"Go To Help"),t.qZA()()()()()()),2&I&&(t.xp6(1),t.Q6J("icon",D.faTimes))},dependencies:[T.BN,c.xw,c.Wh,c.yH,C.lW,u.a8,u.dn],encapsulation:2})}return d})()},6985:(Ue,q,p)=>{"use strict";p.d(q,{h:()=>t});var e=p(5879);let t=(()=>{class g{constructor(c){this.el=c}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}static#e=this.\u0275fac=function(C){return new(C||g)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:g,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}})}return g})()},7313:(Ue,q,p)=>{"use strict";p.d(q,{y:()=>t});var e=p(5879);let t=(()=>{class g{constructor(){this.copied=new e.vpe}onClick(c){c.preventDefault(),this.payload&&navigator.clipboard&&navigator.clipboard.writeText(this.payload.toString()).then(()=>{this.copied.emit(this.payload.toString())},C=>{this.copied.emit("Error could not copy text: "+JSON.stringify(C))})}static#e=this.\u0275fac=function(C){return new(C||g)};static#t=this.\u0275dir=e.lG2({type:g,selectors:[["","rtlClipboard",""]],hostBindings:function(C,u){1&C&&e.NdJ("click",function(d){return u.onClick(d)})},inputs:{payload:"payload"},outputs:{copied:"copied"}})}return g})()},3362:(Ue,q,p)=>{"use strict";p.d(q,{F:()=>g});var e=p(6223),t=p(5879);let g=(()=>{class T{validate(C){return this.max?e.kI.max(+this.max)(C):null}static#e=this.\u0275fac=function(u){return new(u||T)};static#t=this.\u0275dir=t.lG2({type:T,selectors:[["input","max",""]],inputs:{max:"max"},features:[t._Bn([{provide:e.Cf,useExisting:T,multi:!0}])]})}return T})()},6082:(Ue,q,p)=>{"use strict";p.d(q,{q:()=>g});var e=p(6223),t=p(5879);let g=(()=>{class T{validate(C){return this.min?e.kI.min(+this.min)(C):null}static#e=this.\u0275fac=function(u){return new(u||T)};static#t=this.\u0275dir=t.lG2({type:T,selectors:[["input","min",""]],inputs:{min:"min"},features:[t._Bn([{provide:e.Cf,useExisting:T,multi:!0}])]})}return T})()},2995:(Ue,q,p)=>{"use strict";p.d(q,{D3:()=>c,al:()=>t,h9:()=>g,i1:()=>T});var e=p(5879);let t=(()=>{class C{transform(P,d){return P?.replace(/^[0]+/g,"")}static#e=this.\u0275fac=function(d){return new(d||C)};static#t=this.\u0275pipe=e.Yjl({name:"removeleadingzeros",type:C,pure:!0})}return C})(),g=(()=>{class C{transform(P,d){return P?.replace(/(?:^\w|[A-Z]|\b\w)/g,(S,M)=>S.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}static#e=this.\u0275fac=function(d){return new(d||C)};static#t=this.\u0275pipe=e.Yjl({name:"camelcase",type:C,pure:!0})}return C})(),T=(()=>{class C{transform(P,d,S){return P.replace(/(?:^\w|[A-Z]|\b\w)/g,(M,I)=>" "+M.toUpperCase())}static#e=this.\u0275fac=function(d){return new(d||C)};static#t=this.\u0275pipe=e.Yjl({name:"camelCaseWithSpaces",type:C,pure:!0})}return C})(),c=(()=>{class C{transform(P,d,S){return P=P?P.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "):"",d&&(P=P.replace(new RegExp(d,"g")," ")),S&&(P=P.replace(new RegExp(S,"g")," ")),P.replace(/(?:^\w|[A-Z]|\b\w)/g,(M,I)=>M.toUpperCase())}static#e=this.\u0275fac=function(d){return new(d||C)};static#t=this.\u0275pipe=e.Yjl({name:"camelcaseWithReplace",type:C,pure:!0})}return C})()},5525:(Ue,q,p)=>{"use strict";p.d(q,{QM:()=>C,a1:()=>c,eQ:()=>u,fY:()=>P});var e=p(5879),t=p(4190),g=p(5813),T=p(7398);function c(){return()=>{const d=(0,e.f3M)(t.F0),S=(0,e.f3M)(t.gz),M=(0,e.f3M)(g.m);return!(!M.getItem("token")||S.snapshot.url&&S.snapshot.url.length&&"settings"!==S.snapshot.url[0].path&&"auth"!==S.snapshot.url[0].path&&"true"===M.getItem("defaultPassword")&&(d.navigate(["/settings/auth"]),1))}}function C(){return()=>!!(0,e.f3M)(g.m).watchSession().pipe((0,T.U)(S=>S.lndUnlocked))}function u(){return()=>!!(0,e.f3M)(g.m).watchSession().pipe((0,T.U)(S=>S.clnUnlocked))}function P(){return()=>!!(0,e.f3M)(g.m).watchSession().pipe((0,T.U)(S=>S.eclUnlocked))}},6339:(Ue,q,p)=>{"use strict";p.d(q,{v:()=>I});var e=p(5619),t=p(2096),g=p(8504),T=p(8180),c=p(7398),C=p(6306),u=p(2154),P=p(5879),d=p(6046),S=p(5980),M=p(6814);let I=(()=>{class D{constructor(F,W,Y){this.dataService=F,this.logger=W,this.datePipe=Y,this.currencyUnits=[],this.CurrencyUnitEnum=u.NT,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=u.Bn.UN_INITIATED,this.screenSize=u.cu.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new e.X(this.containerSize)}getScreenSize(){return this.screenSize}setScreenSize(F){this.screenSize=F}getContainerSize(){return this.containerSize}setContainerSize(F,W){this.containerSize={width:F,height:W},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(F,W,Y,Q="asc"){return F.sort("number"===Y?"desc"===Q?(J,ne)=>+J[W]>+ne[W]?-1:1:(J,ne)=>+J[W]>+ne[W]?1:-1:"desc"===Q?(J,ne)=>J[W]>ne[W]?-1:1:(J,ne)=>J[W]>ne[W]?1:-1)}sortDescByKey(F,W){return F.sort((Y,Q)=>{const J=+Y[W],ne=+Q[W];return J>ne?-1:J<ne?1:0})}sortAscByKey(F,W){return F.sort((Y,Q)=>{const J=+Y[W],ne=+Q[W];return J<ne?-1:J>ne?1:0})}camelCase(F){return F?.replace(/(?:^\w|[A-Z]|\b\w)/g,(W,Y)=>W.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(F,W,Y){return W&&Y&&""!==W&&""!==Y&&(F=F?.replace(new RegExp(W,"g"),Y)),F.indexOf("!\n")>0||F.indexOf(".\n")>0?F.split("\n")?.reduce((Q,J)=>Q+J.charAt(0).toUpperCase()+J.substring(1).toLowerCase()+"\n",""):F.indexOf(" ")>0?F.split(" ")?.reduce((Q,J)=>Q+J.charAt(0).toUpperCase()+J.substring(1).toLowerCase()+" ",""):F.charAt(0).toUpperCase()+F.substring(1).toLowerCase()}convertCurrency(F,W,Y,Q,J){const ne=(new Date).valueOf();return J&&Q&&this.ratesAPIStatus!==u.Bn.INITIATED&&(W===u.NT.OTHER||Y===u.NT.OTHER)?this.conversionData.data&&this.conversionData.last_fetched&&ne<this.conversionData.last_fetched+3e5?(0,t.of)(this.convertWithFiat(F,W,Q)):(this.ratesAPIStatus=u.Bn.INITIATED,this.dataService.getFiatRates().pipe((0,T.q)(1),(0,c.U)(X=>(this.ratesAPIStatus=u.Bn.COMPLETED,this.conversionData.data=X&&"object"==typeof X?X:X&&"string"==typeof X?JSON.parse(X):{},this.conversionData.last_fetched=ne,this.convertWithFiat(F,W,Q))),(0,C.K)(X=>(this.ratesAPIStatus=u.Bn.ERROR,(0,g._)(()=>this.extractErrorMessage(X,"Currency Conversion Error.")))))):(0,t.of)(this.convertWithoutFiat(F,W))}convertWithoutFiat(F,W){const Y={};switch(Y[u.NT.SATS]=0,Y[u.NT.BTC]=0,W){case u.NT.SATS:Y[u.NT.SATS]=F,Y[u.NT.BTC]=1e-8*F;break;case u.NT.BTC:Y[u.NT.SATS]=1e8*F,Y[u.NT.BTC]=F}return Y}convertWithFiat(F,W,Y){const Q={unit:Y,symbol:this.conversionData.data[Y].symbol};switch(Q[u.NT.SATS]=0,Q[u.NT.BTC]=0,Q[u.NT.OTHER]=0,W){case u.NT.SATS:Q[u.NT.SATS]=F,Q[u.NT.BTC]=1e-8*F,Q[u.NT.OTHER]=1e-8*F*this.conversionData.data[Y].last;break;case u.NT.BTC:Q[u.NT.SATS]=1e8*F,Q[u.NT.BTC]=F,Q[u.NT.OTHER]=F*this.conversionData.data[Y].last;break;case u.NT.OTHER:Q[u.NT.SATS]=F/this.conversionData.data[Y].last*1e8,Q[u.NT.BTC]=F/this.conversionData.data[Y].last,Q[u.NT.OTHER]=F}return Q}convertTime(F,W,Y){switch(W){case u.Qk.SECS:switch(Y){case u.Qk.MINS:F/=60;break;case u.Qk.HOURS:F/=u.k_;break;case u.Qk.DAYS:F/=24*u.k_}break;case u.Qk.MINS:switch(Y){case u.Qk.SECS:F*=60;break;case u.Qk.HOURS:F/=60;break;case u.Qk.DAYS:F/=1440}break;case u.Qk.HOURS:switch(Y){case u.Qk.SECS:F*=u.k_;break;case u.Qk.MINS:F*=60;break;case u.Qk.DAYS:F/=24}break;case u.Qk.DAYS:switch(Y){case u.Qk.SECS:F=F*u.k_*24;break;case u.Qk.MINS:F=60*F*24;break;case u.Qk.HOURS:F*=24}}return F}downloadFile(F,W,Y=".json",Q=".csv"){let J=new Blob;J=".json"===Y?new Blob(["\ufeff"+this.convertToCSV(F)],{type:"text/csv;charset=utf-8;"}):new Blob([F.toString()],{type:"text/plain;charset=utf-8"});const ne=document.createElement("a"),X=URL.createObjectURL(J);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&ne.setAttribute("target","_blank"),ne.setAttribute("href",X),ne.setAttribute("download",W+Q),ne.style.visibility="hidden",document.body.appendChild(ne),ne.click(),document.body.removeChild(ne)}convertToCSV(F){const W=[];let Y="",Q="",J="";return"object"!=typeof F&&(F=JSON.parse(F)),F.forEach((X,pe)=>{for(const ie in X)W.findIndex(de=>de===ie)<0&&W.push(ie)}),J=W.join(",")+"\r\n",F.forEach(X=>{Y="",W.forEach(pe=>{if(X.hasOwnProperty(pe))if(Array.isArray(X[pe]))Q="",X[pe].forEach((ie,de)=>{Q+="object"==typeof ie?"("+JSON.stringify(ie)?.replace(/\,/g,";")+")":"("+ie+")"}),Y+=Q+",";else if("object"==typeof X[pe])Y+=JSON.stringify(X[pe])?.replace(/\,/g,";")+",";else if(pe.includes("timestamp")||pe.includes("date"))try{switch(X[pe].toString().length){case 10:Y+=this.datePipe.transform(new Date(1e3*X[pe]),"dd/MMM/y HH:mm")+",";break;case 13:Y+=this.datePipe.transform(new Date(X[pe]),"dd/MMM/y HH:mm")+",";break;default:Y+=X[pe]+","}}catch{Y+=X[pe]+","}else Y+=X[pe]+",";else Y+=","}),J+=Y.slice(0,-1)+"\r\n"}),J}isVersionCompatible(F,W){if(F){const Y=F.match(/v?(?<version>\d+(?:\.\d+)*)/);if(Y&&Y.groups&&Y.groups.version){this.logger.info("Current Version: "+Y.groups.version),this.logger.info("Checking Compatiblility with Version: "+W);const Q=Y.groups.version.split(".")||[],J=W.split(".");return+Q[0]>+J[0]||+Q[0]==+J[0]&&+Q[1]>+J[1]||+Q[0]==+J[0]&&+Q[1]==+J[1]&&+Q[2]>=+J[2]}return this.logger.error("Invalid Version String: "+F),!1}return!1}extractErrorMessage(F,W="Unknown Error."){const Y=this.titleCase(F.error&&F.error.text&&"string"==typeof F.error.text&&F.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":F.error&&F.error.error&&F.error.error.error&&F.error.error.error.error&&F.error.error.error.error.error&&"string"==typeof F.error.error.error.error.error?F.error.error.error.error.error:F.error&&F.error.error&&F.error.error.error&&F.error.error.error.error&&"string"==typeof F.error.error.error.error?F.error.error.error.error:F.error&&F.error.error&&F.error.error.error&&"string"==typeof F.error.error.error?F.error.error.error:F.error&&F.error.error&&"string"==typeof F.error.error?F.error.error:F.error&&"string"==typeof F.error?F.error:F.error&&F.error.error&&F.error.error.error&&F.error.error.error.error&&F.error.error.error.error.message&&"string"==typeof F.error.error.error.error.message?F.error.error.error.error.message:F.error&&F.error.error&&F.error.error.error&&F.error.error.error.message&&"string"==typeof F.error.error.error.message?F.error.error.error.message:F.error&&F.error.error&&F.error.error.message&&"string"==typeof F.error.error.message?F.error.error.message:F.error&&F.error.message&&"string"==typeof F.error.message?F.error.message:F.message&&"string"==typeof F.message?F.message:W);return this.logger.info("Error Message: "+Y),Y}extractErrorCode(F,W=500){const Y=F.error&&F.error.error&&F.error.error.message&&F.error.error.message.code?F.error.error.message.code:F.error&&F.error.error&&F.error.error.code?F.error.error.code:F.error&&F.error.code?F.error.code:F.code?F.code:F.status?F.status:W;return this.logger.info("Error Code: "+Y),Y}extractErrorNumber(F,W=500){const Y=F.error&&F.error.error&&F.error.error.errno?F.error.error.errno:F.error&&F.error.errno?F.error.errno:F.errno?F.errno:F.status?F.status:W;return this.logger.info("Error Number: "+Y),Y}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}static#e=this.\u0275fac=function(W){return new(W||D)(P.LFG(d.D),P.LFG(S.mQ),P.LFG(M.uU))};static#t=this.\u0275prov=P.Yz7({token:D,factory:D.\u0275fac})}return D})()},2154:(Ue,q,p)=>{"use strict";p.d(q,{$I:()=>_,$Y:()=>c,$v:()=>X,AB:()=>ze,At:()=>et,Bn:()=>Qe,Df:()=>le,Dr:()=>Y,Er:()=>M,Fq:()=>n,Gi:()=>m,HW:()=>y,H_:()=>ge,IV:()=>R,IX:()=>ue,JX:()=>Ye,LO:()=>I,NT:()=>o,OJ:()=>ae,OO:()=>Le,Pi:()=>De,Qk:()=>E,Qw:()=>V,T5:()=>u,TJ:()=>F,Vc:()=>Q,Xk:()=>Je,Xr:()=>xe,Xz:()=>S,Zs:()=>b,_t:()=>W,c3:()=>ot,cu:()=>l,g8:()=>ie,gB:()=>Ge,gG:()=>ct,gK:()=>Ct,gg:()=>K,hG:()=>ke,hZ:()=>fe,hc:()=>H,kO:()=>Oe,k_:()=>T,lr:()=>we,m6:()=>be,nM:()=>pe,n_:()=>te,ol:()=>de,op:()=>se,p7:()=>O,pg:()=>Pe,pt:()=>g,q4:()=>C,uA:()=>d,uR:()=>oe,vn:()=>J,vv:()=>P,wZ:()=>ne,x$:()=>L,zZ:()=>xt});var e=p(5879),t=p(1476);function g(re){const Be=new t.ye;return Be.itemsPerPageLabel=re+" per page:",Be}const T=3600,c=24*T*7,C="0.14.1-beta",u=(0,e.X6Q)()?"http://localhost:3000/rtl/api":"./api",P={AUTHENTICATE_API:u+"/authenticate",CONF_API:u+"/conf",PAGE_SETTINGS_API:u+"/pagesettings",BALANCE_API:"/balance",FEES_API:"/fees",PEERS_API:"/peers",CHANNELS_API:"/channels",CHANNELS_BACKUP_API:"/channels/backup",GETINFO_API:"/getinfo",WALLET_API:"/wallet",NETWORK_API:"/network",NEW_ADDRESS_API:"/newaddress",TRANSACTIONS_API:"/transactions",PAYMENTS_API:"/payments",INVOICES_API:"/invoices",SWITCH_API:"/switch",ON_CHAIN_API:"/onchain",MESSAGE_API:"/message",OFFERS_API:"/offers",UTILITY_API:"/utility",LOOP_API:"/loop",BOLTZ_API:"/boltz",Web_SOCKET_API:"/ws"},d=["Sats","BTC"],S={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},M=[{id:"USD",name:"USD"},{id:"AUD",name:"AUD"},{id:"BRL",name:"BRL"},{id:"CAD",name:"CAD"},{id:"CHF",name:"CHF"},{id:"CLP",name:"CLP"},{id:"CNY",name:"CNY"},{id:"DKK",name:"DKK"},{id:"EUR",name:"EUR"},{id:"GBP",name:"GBP"},{id:"HKD",name:"HKD"},{id:"INR",name:"INR"},{id:"ISK",name:"ISK"},{id:"JPY",name:"JPY"},{id:"KRW",name:"KRW"},{id:"NZD",name:"NZD"},{id:"PLN",name:"PLN"},{id:"RUB",name:"RUB"},{id:"SEK",name:"SEK"},{id:"SGD",name:"SGD"},{id:"THB",name:"THB"},{id:"TWD",name:"TWD"}],I=["SECS","MINS","HOURS","DAYS"],R=10,F=[5,10,25,100],W=[{addressId:"0",addressCode:"bech32",addressTp:"Bech32 (P2WKH)",addressDetails:"Pay to witness key hash"},{addressId:"1",addressCode:"p2sh-segwit",addressTp:"P2SH (NP2WKH)",addressDetails:"Pay to nested witness key hash (default)"},{addressId:"4",addressCode:"p2tr",addressTp:"Taproot (P2TR)",addressDetails:"Pay to taproot pubkey"}],Y=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],Q=[{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"}],J=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom (Sats/vByte)"}],ne={themes:[{id:"PURPLE",name:"Diogo"},{id:"TEAL",name:"My2Sats"},{id:"INDIGO",name:"RTL"},{id:"PINK",name:"BK"},{id:"YELLOW",name:"Gold"}],modes:[{id:"DAY",name:"Day"},{id:"NIGHT",name:"Night"}]};var X=function(re){return re.PAYMENT_RECEIVED="payment-received",re.PAYMENT_RELAYED="payment-relayed",re.PAYMENT_SENT="payment-sent",re.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",re.PAYMENT_FAILED="payment-failed",re.CHANNEL_OPENED="channel-opened",re.CHANNEL_STATE_CHANGED="channel-state-changed",re.CHANNEL_CLOSED="channel-closed",re}(X||{}),pe=function(re){return re.INVOICE="invoice",re.BLOCK_HEIGHT="block-height",re.SEND_PAYMENT="send-payment",re}(pe||{}),ie=function(re){return re.INVOICE="invoice",re}(ie||{}),de=function(re){return re.OPERATOR="OPERATOR",re.MERCHANT="MERCHANT",re.ALL="ALL",re}(de||{}),te=function(re){return re.INFORMATION="Information",re.WARNING="Warning",re.ERROR="Error",re.SUCCESS="Success",re.CONFIRM="Confirm",re}(te||{}),ae=function(re){return re.JWT="JWT",re.PASSWORD="PASSWORD",re}(ae||{}),E=function(re){return re.SECS="SECS",re.MINS="MINS",re.HOURS="HOURS",re.DAYS="DAYS",re}(E||{}),o=function(re){return re.SATS="Sats",re.BTC="BTC",re.OTHER="OTHER",re}(o||{}),m=function(re){return re.ARRAY="ARRAY",re.NUMBER="NUMBER",re.STRING="STRING",re.BOOLEAN="BOOLEAN",re.PASSWORD="PASSWORD",re.DATE="DATE",re.DATE_TIME="DATE_TIME",re}(m||{}),l=function(re){return re.XS="XS",re.SM="SM",re.MD="MD",re.LG="LG",re.XL="XL",re}(l||{});const y={COOPERATIVE_CLOSE:{name:"Co-operative Close",tooltip:"Channel closed cooperatively"},LOCAL_FORCE_CLOSE:{name:"Local Force Close",tooltip:"Channel force-closed by the local node"},REMOTE_FORCE_CLOSE:{name:"Remote Force Close",tooltip:"Channel force-closed by the remote node"},BREACH_CLOSE:{name:"Breach Close",tooltip:"Remote node attempted to broadcast a prior revoked channel state"},FUNDING_CANCELED:{name:"Funding Canceled",tooltip:"Channel never fully opened"},ABANDONED:{name:"Abandoned",tooltip:"Channel abandoned by the local node"}},L={WITNESS_PUBKEY_HASH:{name:"Witness Pubkey Hash",tooltip:""},NESTED_PUBKEY_HASH:{name:"Nested Pubkey Hash",tooltip:""},UNUSED_WITNESS_PUBKEY_HASH:{name:"Unused Witness Pubkey Hash",tooltip:""},UNUSED_NESTED_PUBKEY_HASH:{name:"Unused Nested Pubkey Hash",tooltip:""},TAPROOT_PUBKEY:{name:"Taproot Pubkey Hash",tooltip:""}};var O=function(re){return re.WIRE_INVALID_ONION_VERSION="Invalid Onion Version",re.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",re.WIRE_INVALID_ONION_KEY="Invalid Onion Key",re.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",re.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",re.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",re.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",re.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",re.WIRE_FEE_INSUFFICIENT="Insufficient Fee",re.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",re.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",re.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",re.WIRE_CHANNEL_DISABLED="Channel Disabled",re.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",re.WIRE_INVALID_REALM="Invalid Realm",re.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",re.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",re.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",re.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",re.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",re.WIRE_MPP_TIMEOUT="MPP Timeout",re.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",re.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",re}(O||{}),b=function(re){return re.CHANNELD_NORMAL="Active",re.OPENINGD="Opening",re.CHANNELD_AWAITING_LOCKIN="Pending Open",re.CHANNELD_SHUTTING_DOWN="Shutting Down",re.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",re.CLOSINGD_COMPLETE="Closed",re.AWAITING_UNILATERAL="Awaiting Unilateral Close",re.FUNDING_SPEND_SEEN="Funding Spend Seen",re.ONCHAIN="Onchain",re.DUALOPEND_OPEN_INIT="Dual Open Initialized",re.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",re}(b||{}),n=function(re){return re.INITIATED="Initiated",re.PREIMAGE_REVEALED="Preimage Revealed",re.HTLC_PUBLISHED="HTLC Published",re.SUCCESS="Successful",re.FAILED="Failed",re.INVOICE_SETTLED="Invoice Settled",re}(n||{}),_=function(re){return re.LOOP_OUT="LOOP_OUT",re.LOOP_IN="LOOP_IN",re}(_||{}),H=function(re){return re.SWAP_OUT="SWAP_OUT",re.SWAP_IN="SWAP_IN",re}(H||{}),V=function(re){return re["swap.created"]="Swap Created",re["swap.expired"]="Swap Expired",re["invoice.set"]="Invoice Set",re["invoice.paid"]="Invoice Paid",re["invoice.pending"]="Invoice Pending",re["invoice.settled"]="Invoice Settled",re["invoice.failedToPay"]="Invoice Failed To Pay",re["channel.created"]="Channel Created",re["transaction.failed"]="Transaction Failed",re["transaction.mempool"]="Transaction Mempool",re["transaction.claimed"]="Transaction Claimed",re["transaction.refunded"]="Transaction Refunded",re["transaction.confirmed"]="Transaction Confirmed",re["swap.refunded"]="Swap Refunded",re["swap.abandoned"]="Swap Abandoned",re}(V||{});const K=[{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}],se=["MONTHLY","YEARLY"];var Ye=function(re){return re.LOOP="LOOP",re.BOLTZ="BOLTZ",re.OFFERS="OFFERS",re.PEERSWAP="PEERSWAP",re}(Ye||{});const Oe=["password","changeme","moneyprintergobrrr"];var Qe=function(re){return re.UN_INITIATED="UN_INITIATED",re.INITIATED="INITIATED",re.COMPLETED="COMPLETED",re.ERROR="ERROR",re}(Qe||{});const be={NO_SPINNER:"No Spinner...",GET_NODE_INFO:"Getting Node Information...",INITALIZE_NODE_DATA:"Initializing Node Data...",GENERATE_NEW_ADDRESS:"Getting New Address...",SEND_FUNDS:"Sending Funds...",UPDATE_CHAN_POLICY:"Updating Channel Policy...",GET_CHAN_POLICY:"Fetching Channel Policy...",GET_REMOTE_POLICY:"Fetching Remote Policy...",CLOSE_CHANNEL:"Closing Channel...",FORCE_CLOSE_CHANNEL:"Force Closing Channel...",OPEN_CHANNEL:"Opening Channel...",CONNECT_PEER:"Connecting Peer...",DISCONNECT_PEER:"Disconnecting Peer...",ADD_INVOICE:"Adding Invoice...",CREATE_INVOICE:"Creating Invoice...",DELETE_INVOICE:"Deleting Invoices...",DECODE_PAYMENT:"Decoding Payment...",DECODE_OFFER:"Decoding Offer...",DECODE_PAYMENTS:"Decoding Payments...",FETCH_INVOICE:"Fetching Invoice...",GET_SENT_PAYMENTS:"Getting Sent Payments...",SEND_PAYMENT:"Sending Payment...",SEND_KEYSEND:"Sending Keysend Payment...",SEARCHING_NODE:"Searching Node...",SEARCHING_CHANNEL:"Searching Channel...",SEARCHING_INVOICE:"Searching Invoice...",SEARCHING_PAYMENT:"Searching Payment...",BACKUP_CHANNEL:"Backup Channels...",VERIFY_CHANNEL:"Verify Channel...",DOWNLOAD_BACKUP_FILE:"Downloading Backup File...",RESTORE_CHANNEL:"Restoring Channels...",GET_TERMS_QUOTES:"Getting Terms and Quotes...",LABEL_UTXO:"Labelling UTXO...",GET_NODE_ADDRESS:"Getting Node Address...",GEN_SEED:"Generating Seed...",INITIALIZE_WALLET:"Initializing Wallet...",UNLOCK_WALLET:"Unlocking Wallet...",WAIT_SYNC_NODE:"Waiting for Node Sync...",UPDATE_BOLTZ_SETTINGS:"Updating Boltz Service Settings...",UPDATE_LOOP_SETTINGS:"Updating Loop Service Settings...",UPDATE_PEERSWAP_SETTINGS:"Updating Peerswap Service Settings...",UPDATE_SETTING:"Updating Setting...",UPDATE_UI_SETTINGS:"Updating Settings...",UPDATE_NODE_SETTINGS:"Updating Node Settings...",UPDATE_SELECTED_NODE:"Updating Selected Node...",OPEN_CONFIG_FILE:"Opening Config File...",GET_SERVICE_INFO:"Getting Service Info...",GET_QUOTE:"Getting Quotes...",UPDATE_DEFAULT_NODE_SETTING:"Updating Defaule Node Settings...",GET_BOLTZ_SWAPS:"Getting Boltz Swaps...",SIGN_MESSAGE:"Signing Message...",VERIFY_MESSAGE:"Verifying Message...",BUMP_FEE:"Bumping Fee...",LEASE_UTXO:"Leasing UTXO...",GET_LOOP_INFO:"Getting Loop Info...",GET_LOOP_SWAPS:"Getting List Swaps...",GET_FORWARDING_HISTORY:"Getting Forwarding History...",GET_LOOKUP_DETAILS:"Getting Lookup Details...",GET_RTL_CONFIG:"Getting RTL Config...",VERIFY_TOKEN:"Verify Token...",DISABLE_OFFER:"Disabling Offer...",CREATE_OFFER:"Creating Offer...",DELETE_OFFER_BOOKMARK:"Deleting Bookmark...",GET_FUNDER_POLICY:"Getting Or Updating Funder Policy...",GET_LIST_CONFIGS:"Getting Configurations List...",LIST_NETWORK_NODES:"Getting Network Nodes List...",GET_PAGE_SETTINGS:"Getting Page Settings...",SET_PAGE_SETTINGS:"Setting Page Settings...",UPDATE_PAGE_SETTINGS:"Updating Page Layout...",REBALANCE_CHANNEL:"Rebalancing Channel...",LOG_OUT:"Logging Out..."};var ue=function(re){return re.INVOICE="INVOICE",re.OFFER="OFFER",re.KEYSEND="KEYSEND",re}(ue||{}),xe=function(re){return re.FEES="FEES",re.EVENTS="EVENTS",re}(xe||{}),Pe=function(re){return re.VOID="VOID",re.SET_API_URL_ECL="SET_API_URL_ECL",re.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",re.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",re.RESET_ROOT_STORE="RESET_ROOT_STORE",re.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",re.OPEN_SNACK_BAR="OPEN_SNACKBAR",re.OPEN_SPINNER="OPEN_SPINNER",re.CLOSE_SPINNER="CLOSE_SPINNER",re.OPEN_ALERT="OPEN_ALERT",re.CLOSE_ALERT="CLOSE_ALERT",re.OPEN_CONFIRMATION="OPEN_CONFIRMATION",re.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",re.SHOW_PUBKEY="SHOW_PUBKEY",re.FETCH_CONFIG="FETCH_CONFIG",re.SHOW_CONFIG="SHOW_CONFIG",re.FETCH_STORE="FETCH_STORE",re.SET_STORE="SET_STORE",re.FETCH_RTL_CONFIG="FETCH_RTL_CONFIG",re.SET_RTL_CONFIG="SET_RTL_CONFIG",re.SAVE_SSO="SAVE_SSO",re.SAVE_SETTINGS="SAVE_SETTINGS",re.TWO_FA_SAVE_SETTINGS="TWO_FA_SAVE_SETTINGS",re.SET_SELECTED_NODE="SET_SELECTED_NODE",re.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",re.UPDATE_SERVICE_SETTINGS="UPDATE_SERVICE_SETTINGS",re.SET_NODE_DATA="SET_NODE_DATA",re.IS_AUTHORIZED="IS_AUTHORIZED",re.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",re.LOGIN="LOGIN",re.VERIFY_TWO_FA="VERIFY_TWO_FA",re.LOGOUT="LOGOUT",re.RESET_PASSWORD="RESET_PASSWORD",re.RESET_PASSWORD_RES="RESET_PASSWORD_RES",re.FETCH_FILE="FETCH_FILE",re.SHOW_FILE="SHOW_FILE",re}(Pe||{}),oe=function(re){return re.RESET_LND_STORE="RESET_LND_STORE",re.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",re.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",re.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",re.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",re.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",re.FETCH_INFO_LND="FETCH_INFO_LND",re.SET_INFO_LND="SET_INFO_LND",re.FETCH_PEERS_LND="FETCH_PEERS_LND",re.SET_PEERS_LND="SET_PEERS_LND",re.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",re.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",re.DETACH_PEER_LND="DETACH_PEER_LND",re.REMOVE_PEER_LND="REMOVE_PEER_LND",re.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",re.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",re.ADD_INVOICE_LND="ADD_INVOICE_LND",re.FETCH_FEES_LND="FETCH_FEES_LND",re.SET_FEES_LND="SET_FEES_LND",re.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",re.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",re.FETCH_NETWORK_LND="FETCH_NETWORK_LND",re.SET_NETWORK_LND="SET_NETWORK_LND",re.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",re.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",re.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",re.SET_CHANNELS_LND="SET_CHANNELS_LND",re.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",re.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",re.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",re.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",re.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",re.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",re.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",re.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",re.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",re.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",re.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",re.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",re.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",re.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",re.FETCH_INVOICES_LND="FETCH_INVOICES_LND",re.SET_INVOICES_LND="SET_INVOICES_LND",re.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",re.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",re.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",re.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",re.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",re.FETCH_UTXOS_LND="FETCH_UTXOS_LND",re.SET_UTXOS_LND="SET_UTXOS_LND",re.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",re.SET_PAYMENTS_LND="SET_PAYMENTS_LND",re.SEND_PAYMENT_LND="SEND_PAYMENT_LND",re.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",re.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",re.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",re.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",re.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",re.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",re.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",re.GEN_SEED_LND="GEN_SEED_LND",re.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",re.INIT_WALLET_LND="INIT_WALLET_LND",re.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",re.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",re.PEER_LOOKUP_LND="PEER_LOOKUP_LND",re.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",re.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",re.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",re.SET_LOOKUP_LND="SET_LOOKUP_LND",re.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",re.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",re.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",re.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",re.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",re.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",re}(oe||{}),ze=function(re){return re.RESET_CLN_STORE="RESET_CLN_STORE",re.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",re.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",re.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",re.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",re.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",re.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",re.SET_INFO_CLN="SET_INFO_CLN",re.FETCH_FEES_CLN="FETCH_FEES_CLN",re.SET_FEES_CLN="SET_FEES_CLN",re.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",re.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",re.FETCH_BALANCE_CLN="FETCH_BALANCE_CLN",re.SET_BALANCE_CLN="SET_BALANCE_CLN",re.FETCH_LOCAL_REMOTE_BALANCE_CLN="FETCH_LOCAL_REMOTE_BALANCE_CLN",re.SET_LOCAL_REMOTE_BALANCE_CLN="SET_LOCAL_REMOTE_BALANCE_CLN",re.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",re.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",re.FETCH_UTXOS_CLN="FETCH_UTXOS_CLN",re.SET_UTXOS_CLN="SET_UTXOS_CLN",re.FETCH_PEERS_CLN="FETCH_PEERS_CLN",re.SET_PEERS_CLN="SET_PEERS_CLN",re.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",re.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",re.ADD_PEER_CLN="ADD_PEER_CLN",re.DETACH_PEER_CLN="DETACH_PEER_CLN",re.REMOVE_PEER_CLN="REMOVE_PEER_CLN",re.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",re.SET_CHANNELS_CLN="SET_CHANNELS_CLN",re.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",re.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",re.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",re.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",re.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",re.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",re.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",re.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",re.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",re.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",re.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",re.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",re.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",re.SET_LOOKUP_CLN="SET_LOOKUP_CLN",re.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",re.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",re.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",re.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",re.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",re.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",re.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",re.SET_INVOICES_CLN="SET_INVOICES_CLN",re.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",re.ADD_INVOICE_CLN="ADD_INVOICE_CLN",re.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",re.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",re.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",re.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",re.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",re.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",re.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",re.SET_OFFERS_CLN="SET_OFFERS_CLN",re.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",re.ADD_OFFER_CLN="ADD_OFFER_CLN",re.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",re.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",re.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",re.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",re.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",re.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",re.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",re}(ze||{}),we=function(re){return re.RESET_ECL_STORE="RESET_ECL_STORE",re.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",re.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",re.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",re.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",re.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",re.FETCH_INFO_ECL="FETCH_INFO_ECL",re.SET_INFO_ECL="SET_INFO_ECL",re.FETCH_FEES_ECL="FETCH_FEES_ECL",re.SET_FEES_ECL="SET_FEES_ECL",re.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",re.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",re.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",re.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",re.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",re.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",re.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",re.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",re.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",re.FETCH_PEERS_ECL="FETCH_PEERS_ECL",re.SET_PEERS_ECL="SET_PEERS_ECL",re.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",re.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",re.ADD_PEER_ECL="ADD_PEER_ECL",re.DETACH_PEER_ECL="DETACH_PEER_ECL",re.REMOVE_PEER_ECL="REMOVE_PEER_ECL",re.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",re.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",re.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",re.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",re.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",re.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",re.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",re.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",re.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",re.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",re.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",re.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",re.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",re.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",re.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",re.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",re.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",re.SET_INVOICES_ECL="SET_INVOICES_ECL",re.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",re.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",re.ADD_INVOICE_ECL="ADD_INVOICE_ECL",re.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",re.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",re.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",re.SET_LOOKUP_ECL="SET_LOOKUP_ECL",re.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",re.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",re}(we||{});const le=[{range:{min:0,max:1},description:"Requires or supports extra channel re-establish fields"},{range:{min:4,max:5},description:"Commits to a shutdown script pubkey when opening channel"},{range:{min:6,max:7},description:"More sophisticated gossip control"},{range:{min:8,max:9},description:"Requires/supports variable-length routing onion payloads"},{range:{min:10,max:11},description:"Gossip queries can include additional information"},{range:{min:12,max:13},description:"Static key for remote output"},{range:{min:14,max:15},description:"Node supports payment secret field"},{range:{min:16,max:17},description:"Node can receive basic multi-part payments"},{range:{min:18,max:19},description:"Node can create large channels"},{range:{min:20,max:21},description:"Anchor outputs"},{range:{min:22,max:23},description:"Anchor commitment type with zero fee HTLC transactions"},{range:{min:26,max:27},description:"Future segwit versions allowed in shutdown"},{range:{min:30,max:31},description:"AMP support"},{range:{min:44,max:45},description:"Explicit commitment type"}];var ge=function(re){return re.gossip_queries_ex="Gossip queries including additional information",re.option_anchor_outputs="Anchor outputs",re.option_data_loss_protect="Extra channel re-establish fields",re.var_onion_optin="Variable-length routing onion payloads",re.option_static_remotekey="Static key for remote output",re.option_support_large_channel="Create large channels",re.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",re.payment_secret="Payment secret field",re.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",re.basic_mpp="Basic multi-part payments",re.gossip_queries="More sophisticated gossip control",re.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",re.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",re.amp="AMP",re}(ge||{}),fe=function(re){return re["data-loss-protect"]="Extra channel re-establish fields",re["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",re["gossip-queries"]="More sophisticated gossip control",re["tlv-onion"]="Variable-length routing onion payloads",re["ext-gossip-queries"]="Gossip queries can include additional information",re["static-remote-key"]="Static key for remote output",re["payment-addr"]="Payment secret field",re["multi-path-payments"]="Basic multi-part payments",re["wumbo-channels"]="Wumbo Channels",re.anchors="Anchor outputs",re["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",re.amp="AMP",re}(fe||{});const Ge=[{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 Le=function(re){return re.OFFERED="offered",re.SETTLED="settled",re.FAILED="failed",re.LOCAL_FAILED="local_failed",re}(Le||{}),De=function(re){return re.ASCENDING="asc",re.DESCENDING="desc",re}(De||{});const xt=["asc","desc"],ct=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:R,sortBy:"blockheight",sortOrder:De.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:R,sortBy:"blockheight",sortOrder:De.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:R,sortBy:"msatoshi_to_us",sortOrder:De.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:R,sortBy:"state",sortOrder:De.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:R,sortBy:"alias",sortOrder:De.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]},{tableId:"active_HTLCs",recordsPerPage:R,sortBy:"expiry",sortOrder:De.DESCENDING,columnSelectionSM:["amount_msat","direction","expiry"],columnSelection:["amount_msat","direction","expiry","state"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:R,sortBy:"channel_opening_fee",sortOrder:De.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:R,sortBy:"created_at",sortOrder:De.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:R,sortBy:"expires_at",sortOrder:De.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:R,sortBy:"offer_id",sortOrder:De.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:R,sortBy:"lastUpdatedAt",sortOrder:De.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:R,sortBy:"received_time",sortOrder:De.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:R,sortBy:"total_fee",sortOrder:De.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:R,sortBy:"received_time",sortOrder:De.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:R,sortBy:"received_time",sortOrder:De.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:R,sortBy:"received_time",sortOrder:De.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:R,sortBy:"date",sortOrder:De.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:R,sortBy:"msatoshi",sortOrder:De.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]}],et={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"short_channel_id"},{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_inactive_channels:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"state"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"}]},peers:{maxColumns:3,allowedColumns:[{column:"alias"},{column:"id"},{column:"netaddr",label:"Network Address"}]},active_HTLCs:{maxColumns:7,allowedColumns:[{column:"amount_msat",label:"Amount (Sats)"},{column:"direction"},{column:"id",label:"HTLC ID"},{column:"state"},{column:"expiry"},{column:"payment_hash"},{column:"local_trimmed"}]}},liquidity_ads:{liquidity_ads:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"nodeid",label:"Node ID"},{column:"last_timestamp",label:"Last Announcement At"},{column:"compact_lease"},{column:"lease_fee"},{column:"routing_fee"},{column:"channel_opening_fee"},{column:"funding_weight"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"created_at",label:"Created At"},{column:"type"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"destination"},{column:"memo"},{column:"label"},{column:"msatoshi_sent",label:"Sats Sent"},{column:"msatoshi",label:"Sats Received"}]},invoices:{maxColumns:7,allowedColumns:[{column:"expires_at",label:"Expiry Date"},{column:"paid_at",label:"Date Settled"},{column:"type"},{column:"description"},{column:"label"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"msatoshi",label:"Amount"},{column:"msatoshi_received",label:"Amount Settled"}]},offers:{maxColumns:4,allowedColumns:[{column:"offer_id",label:"Offer ID"},{column:"single_use"},{column:"used"},{column:"bolt12",label:"Invoice"}]},offer_bookmarks:{maxColumns:6,allowedColumns:[{column:"lastUpdatedAt",label:"Updated At"},{column:"title"},{column:"description"},{column:"issuer"},{column:"bolt12",label:"Invoice"},{column:"amountMSat",label:"Amount"}]}},routing:{forwarding_history:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channel_id"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount",label:"Amount"},{column:"total_fee",label:"Fee"}]},failed:{maxColumns:7,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},local_failed:{maxColumns:6,allowedColumns:[{column:"received_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"style"},{column:"failreason",label:"Fail Reason"}]}},reports:{routing:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"channel"},{column:"direction"},{column:"delay"},{column:"msatoshi",label:"Amount"}]}}},Ct=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:R,sortBy:"tx_id",sortOrder:De.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:R,sortBy:"time_stamp",sortOrder:De.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:R,sortBy:"tx_id",sortOrder:De.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:R,sortBy:"balancedness",sortOrder:De.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:De.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:De.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:De.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:De.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:R,sortBy:"close_type",sortOrder:De.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:R,sortBy:"incoming",sortOrder:De.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:R,sortBy:"alias",sortOrder:De.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:R,sortBy:"creation_date",sortOrder:De.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:R,sortBy:"creation_date",sortOrder:De.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:R,sortBy:"timestamp",sortOrder:De.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:R,sortBy:"total_amount",sortOrder:De.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:R,sortBy:"remote_alias",sortOrder:De.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:R,sortBy:"timestamp",sortOrder:De.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:R,sortBy:"date",sortOrder:De.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:R,sortBy:"hop_sequence",sortOrder:De.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:R,sortBy:"initiation_time",sortOrder:De.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:R,sortBy:"status",sortOrder:De.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:R,sortBy:"status",sortOrder:De.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],ke={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"}]}}},ot=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:R,sortBy:"timestamp",sortOrder:De.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:R,sortBy:"alias",sortOrder:De.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:R,sortBy:"alias",sortOrder:De.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:R,sortBy:"alias",sortOrder:De.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:R,sortBy:"alias",sortOrder:De.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:R,sortBy:"firstPartTimestamp",sortOrder:De.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:R,sortBy:"receivedAt",sortOrder:De.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:R,sortBy:"timestamp",sortOrder:De.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:R,sortBy:"totalFee",sortOrder:De.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:R,sortBy:"timestamp",sortOrder:De.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:R,sortBy:"date",sortOrder:De.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],Je={on_chain:{transaction:{maxColumns:6,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"address"},{column:"blockHash"},{column:"txid",label:"Transaction ID"},{column:"amount"},{column:"fees"},{column:"confirmations"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"feeBaseMsat",label:"Base Fee"},{column:"feeProportionalMillionths",label:"Fee Rate"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_channels:{maxColumns:7,allowedColumns:[{column:"state"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"}]},inactive_channels:{maxColumns:8,allowedColumns:[{column:"state"},{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},peers:{maxColumns:4,allowedColumns:[{column:"alias"},{column:"nodeId"},{column:"address",label:"Netwrok Address"},{column:"channels"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"firstPartTimestamp",label:"Date/Time"},{column:"id"},{column:"recipientNodeId",label:"Destination Node ID"},{column:"recipientNodeAlias",label:"Destination"},{column:"description"},{column:"paymentHash"},{column:"paymentPreimage",label:"Preimage"},{column:"recipientAmount",label:"Amount"}]},invoices:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date Created"},{column:"expiresAt",label:"Date Expiry"},{column:"receivedAt",label:"Date Settled"},{column:"nodeId",label:"Node ID"},{column:"description"},{column:"paymentHash"},{column:"amount"},{column:"amountSettled",label:"Amount Settled"}]}},routing:{forwarding_history:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channelId"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"totalAmount",label:"Amount"},{column:"totalFee",label:"Fee"}]}},reports:{routing:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}}}},6046:(Ue,q,p)=>{"use strict";p.d(q,{D:()=>ie});var e=p(9862),t=p(5619),g=p(8645),T=p(8504),c=p(2096),C=p(1374),u=p(1631),P=p(9773),d=p(7398),S=p(6306),M=p(2460),I=p(2154),D=p(3315),R=p(9103),F=p(9191),W=p(7321),Y=p(3468),Q=p(5879),J=p(4221),ne=p(5980),X=p(2939),pe=p(6814);let ie=(()=>{class de{constructor(ae,E,i,o,m){this.httpClient=ae,this.store=E,this.logger=i,this.snackBar=o,this.titleCasePipe=m,this.APIUrl=I.T5,this.lnImplementation="",this.lnImplementationUpdated=new t.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=(l,y)=>(l&&l.length>0?l.forEach((L,O)=>{if(y&&y.length>0)for(let b=0;b<y.length;b++){if(y[b].short_channel_id&&y[b].short_channel_id===L.in_channel&&(L.in_channel_alias=y[b].alias?y[b].alias:L.in_channel,L.out_channel_alias)||y[b].short_channel_id&&y[b].short_channel_id?.toString()===L.out_channel&&(L.out_channel_alias=y[b].alias?y[b].alias:L.out_channel,L.in_channel_alias))return;b===y.length-1&&(L.in_channel_alias||(L.in_channel_alias=L.in_channel?L.in_channel:"-"),L.out_channel_alias||(L.out_channel_alias=L.out_channel?L.out_channel:"-"))}else L.in_channel_alias=L.in_channel?L.in_channel:"-",L.out_channel_alias=L.out_channel?L.out_channel:"-"}):l=[],l)}setLnImplementation(ae){this.lnImplementation=ae.toLowerCase(),this.lnImplementationUpdated.next(this.lnImplementation)}getFiatRates(){return this.httpClient.get(I.vv.CONF_API+"/rates")}decodePayment(ae,E){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,u.z)(i=>{let o=this.APIUrl+"/"+i+I.vv.PAYMENTS_API+"/decode/"+ae;return"cln"===i&&(o=this.APIUrl+"/"+i+I.vv.UTILITY_API+"/decode/"+ae),this.store.dispatch((0,R.ac)({payload:I.m6.DECODE_PAYMENT})),this.httpClient.get(o).pipe((0,P.R)(this.unSubs[0]),(0,d.U)(m=>(this.store.dispatch((0,R.uO)({payload:I.m6.DECODE_PAYMENT})),m)),(0,S.K)(m=>(E?this.handleErrorWithoutAlert("Decode Payment",I.m6.DECODE_PAYMENT,m):this.handleErrorWithAlert("decodePaymentData",I.m6.DECODE_PAYMENT,"Decode Payment Failed",o,m),(0,T._)(()=>new Error(this.extractErrorMessage(m))))))}))}decodePayments(ae){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,u.z)(E=>{let i="",o="";return"ecl"===E?(i=this.APIUrl+"/"+E+I.vv.PAYMENTS_API+"/getsentinfos",o=I.m6.GET_SENT_PAYMENTS):"cln"===E?(i=this.APIUrl+"/"+E+I.vv.UTILITY_API,o=I.m6.DECODE_PAYMENTS):(i=this.APIUrl+"/"+E+I.vv.PAYMENTS_API,o=I.m6.DECODE_PAYMENTS),this.store.dispatch((0,R.ac)({payload:o})),this.httpClient.post(i,{payments:ae}).pipe((0,P.R)(this.unSubs[1]),(0,d.U)(m=>(this.store.dispatch((0,R.uO)({payload:o})),m)),(0,S.K)(m=>(this.handleErrorWithAlert("decodePaymentsData",o,o+" Failed",i,m),(0,T._)(()=>new Error(this.extractErrorMessage(m))))))}))}getAliasesFromPubkeys(ae,E){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,u.z)(i=>{if(E){const o=(new e.LE).set("pubkeys",ae);return this.httpClient.get(this.APIUrl+"/"+i+I.vv.NETWORK_API+"/nodes",{params:o})}return this.httpClient.get(this.APIUrl+"/"+i+I.vv.NETWORK_API+"/node/"+ae)}))}signMessage(ae){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,u.z)(E=>{let i=this.APIUrl+"/"+E+I.vv.MESSAGE_API+"/sign";return"cln"===E&&(i=this.APIUrl+"/"+E+I.vv.UTILITY_API+"/sign"),this.store.dispatch((0,R.ac)({payload:I.m6.SIGN_MESSAGE})),this.httpClient.post(i,{message:ae}).pipe((0,P.R)(this.unSubs[2]),(0,d.U)(o=>(this.store.dispatch((0,R.uO)({payload:I.m6.SIGN_MESSAGE})),o)),(0,S.K)(o=>(this.handleErrorWithAlert("signMessageData",I.m6.SIGN_MESSAGE,"Sign Message Failed",i,o),(0,T._)(()=>new Error(this.extractErrorMessage(o))))))}))}verifyMessage(ae,E){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,u.z)(i=>{let o=this.APIUrl+"/"+i+I.vv.MESSAGE_API+"/verify";return"cln"===i&&(o=this.APIUrl+"/"+i+I.vv.UTILITY_API+"/verify"),this.store.dispatch((0,R.ac)({payload:I.m6.VERIFY_MESSAGE})),this.httpClient.post(o,{message:ae,signature:E}).pipe((0,P.R)(this.unSubs[3]),(0,d.U)(m=>(this.store.dispatch((0,R.uO)({payload:I.m6.VERIFY_MESSAGE})),m)),(0,S.K)(m=>(this.handleErrorWithAlert("verifyMessageData",I.m6.VERIFY_MESSAGE,"Verify Message Failed",o,m),(0,T._)(()=>new Error(this.extractErrorMessage(m))))))}))}bumpFee(ae,E,i,o){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,u.z)(m=>{const l={txid:ae,outputIndex:E};return i&&(l.targetConf=i),o&&(l.satPerByte=o),this.store.dispatch((0,R.ac)({payload:I.m6.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+m+I.vv.WALLET_API+"/bumpfee",l).pipe((0,P.R)(this.unSubs[4]),(0,d.U)(y=>(this.store.dispatch((0,R.uO)({payload:I.m6.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),y)),(0,S.K)(y=>(this.handleErrorWithoutAlert("Bump Fee",I.m6.BUMP_FEE,y),(0,T._)(()=>new Error(this.extractErrorMessage(y))))))}))}labelUTXO(ae,E,i=!0){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,u.z)(o=>{const m={txid:ae,label:E,overwrite:i};return this.store.dispatch((0,R.ac)({payload:I.m6.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+o+I.vv.WALLET_API+"/label",m).pipe((0,P.R)(this.unSubs[5]),(0,d.U)(l=>(this.store.dispatch((0,R.uO)({payload:I.m6.LABEL_UTXO})),l)),(0,S.K)(l=>(this.handleErrorWithoutAlert("Lease UTXO",I.m6.LABEL_UTXO,l),(0,T._)(()=>new Error(this.extractErrorMessage(l))))))}))}leaseUTXO(ae,E){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,u.z)(i=>{const o={txid:ae,outputIndex:E};return this.store.dispatch((0,R.ac)({payload:I.m6.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+i+I.vv.WALLET_API+"/lease",o).pipe((0,P.R)(this.unSubs[6]),(0,d.U)(m=>{this.store.dispatch((0,R.uO)({payload:I.m6.LEASE_UTXO})),this.store.dispatch((0,F.mC)()),this.store.dispatch((0,F.Ly)());const l=new Date(1e3*m.expiration);return Math.round(l.getTime())-60*l.getTimezoneOffset()}),(0,S.K)(m=>(this.handleErrorWithoutAlert("Lease UTXO",I.m6.LEASE_UTXO,m),(0,T._)(()=>new Error(this.extractErrorMessage(m))))))}))}getForwardingHistory(ae,E,i,o){if("LND"===ae){const m={end_time:i,start_time:E};return this.store.dispatch((0,R.ac)({payload:I.m6.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+I.vv.SWITCH_API,m).pipe((0,P.R)(this.unSubs[7]),(0,M.M)(this.store.select(W._f)),(0,u.z)(([l,y])=>{if(l.forwarding_events){const L=[...y.channels,...y.closedChannels];l.forwarding_events.forEach(O=>{if(L&&L.length>0)for(let b=0;b<L.length;b++){if(L[b].chan_id?.toString()===O.chan_id_in&&(O.alias_in=L[b].remote_alias?L[b].remote_alias:O.chan_id_in,O.alias_out)||L[b].chan_id?.toString()===O.chan_id_out&&(O.alias_out=L[b].remote_alias?L[b].remote_alias:O.chan_id_out,O.alias_in))return;b===L.length-1&&(O.alias_in||(O.alias_in=O.chan_id_in),O.alias_out||(O.alias_out=O.chan_id_out))}else O.alias_in=O.chan_id_in,O.alias_out=O.chan_id_out})}else l={};return this.store.dispatch((0,R.uO)({payload:I.m6.GET_FORWARDING_HISTORY})),(0,c.of)(l)}),(0,S.K)(l=>(this.handleErrorWithAlert("getForwardingHistoryData",I.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+I.vv.SWITCH_API,l),(0,T._)(()=>new Error(this.extractErrorMessage(l))))))}return"CLN"===ae?(this.store.dispatch((0,R.ac)({payload:I.m6.GET_FORWARDING_HISTORY})),this.httpClient.get(this.APIUrl+"/cln"+I.vv.CHANNELS_API+"/listForwards?status="+o).pipe((0,P.R)(this.unSubs[8]),(0,M.M)(this.store.select(Y.ZW)),(0,u.z)(([m,l])=>{const y=this.mapAliases(m,[...l.activeChannels,...l.pendingChannels,...l.inactiveChannels]);return this.store.dispatch((0,R.uO)({payload:I.m6.GET_FORWARDING_HISTORY})),(0,c.of)(y)}),(0,S.K)(m=>(this.handleErrorWithAlert("getForwardingHistoryData",I.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+I.vv.CHANNELS_API+"/listForwards?status="+o+"&start="+E+"&end="+i,m),(0,T._)(()=>new Error(this.extractErrorMessage(m))))))):(0,c.of)({})}listNetworkNodes(ae=""){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,u.z)(E=>(this.store.dispatch((0,R.ac)({payload:I.m6.LIST_NETWORK_NODES})),this.httpClient.get(this.APIUrl+"/"+E+I.vv.NETWORK_API+"/listNodes"+ae).pipe((0,P.R)(this.unSubs[9]),(0,u.z)(i=>(this.store.dispatch((0,R.uO)({payload:I.m6.LIST_NETWORK_NODES})),(0,c.of)(i))),(0,S.K)(i=>(this.handleErrorWithoutAlert("List Network Nodes",I.m6.LIST_NETWORK_NODES,i),(0,T._)(()=>this.extractErrorMessage(i))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,u.z)(ae=>(this.store.dispatch((0,R.ac)({payload:I.m6.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+ae+I.vv.UTILITY_API+"/listConfigs").pipe((0,P.R)(this.unSubs[10]),(0,u.z)(E=>(this.store.dispatch((0,R.uO)({payload:I.m6.GET_LIST_CONFIGS})),(0,c.of)(E))),(0,S.K)(E=>(this.handleErrorWithoutAlert("List Configurations",I.m6.GET_LIST_CONFIGS,E),(0,T._)(()=>this.extractErrorMessage(E))))))))}getOrUpdateFunderPolicy(ae,E,i,o,m,l){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,u.z)(y=>{const L=ae?{policy:ae,policy_mod:E,lease_fee_base_msat:i,lease_fee_basis:o,channel_fee_max_base_msat:m,channel_fee_max_proportional_thousandths:l}:null;return this.store.dispatch((0,R.ac)({payload:I.m6.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+y+I.vv.CHANNELS_API+"/funderUpdate",L).pipe((0,P.R)(this.unSubs[11]),(0,d.U)(O=>(this.store.dispatch((0,R.uO)({payload:I.m6.GET_FUNDER_POLICY})),L&&this.store.dispatch((0,R.jW)({payload:"Funder Policy Updated Successfully with Compact Lease: "+O.compact_lease+"!"})),O)),(0,S.K)(O=>(this.handleErrorWithoutAlert("Funder Policy",I.m6.GET_FUNDER_POLICY,O),(0,T._)(()=>new Error(this.extractErrorMessage(O))))))}))}circularRebalance(ae,E="",i="",o="",m="",l=[],y="shortChannelId"){return this.httpClient.post(this.APIUrl+"/"+this.lnImplementation+I.vv.CHANNELS_API+"/circularRebalance",{amountMsat:ae,sourceShortChannelId:E,sourceNodeId:i,targetShortChannelId:o,targetNodeId:m,ignoreNodeIds:l,format:y}).pipe((0,P.R)(this.unSubs[12]),(0,d.U)(b=>b),(0,S.K)(b=>(this.handleErrorWithoutAlert("Rebalance Channel",I.m6.REBALANCE_CHANNEL,b),(0,T._)(()=>b.error))))}extractErrorMessage(ae,E="Unknown Error."){return this.titleCasePipe.transform(ae.error.text&&"string"==typeof ae.error.text&&ae.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":ae.error&&ae.error.error&&ae.error.error.error&&ae.error.error.error.error&&ae.error.error.error.error.error&&"string"==typeof ae.error.error.error.error.error?ae.error.error.error.error.error:ae.error&&ae.error.error&&ae.error.error.error&&ae.error.error.error.error&&"string"==typeof ae.error.error.error.error?ae.error.error.error.error:ae.error&&ae.error.error&&ae.error.error.error&&"string"==typeof ae.error.error.error?ae.error.error.error:ae.error&&ae.error.error&&"string"==typeof ae.error.error?ae.error.error:ae.error&&"string"==typeof ae.error?ae.error:ae.error&&ae.error.error&&ae.error.error.error&&ae.error.error.error.error&&ae.error.error.error.error.message&&"string"==typeof ae.error.error.error.error.message?ae.error.error.error.error.message:ae.error&&ae.error.error&&ae.error.error.error&&ae.error.error.error.message&&"string"==typeof ae.error.error.error.message?ae.error.error.error.message:ae.error&&ae.error.error&&ae.error.error.message&&"string"==typeof ae.error.error.message?ae.error.error.message:ae.error&&ae.error.message&&"string"==typeof ae.error.message?ae.error.message:ae.message&&"string"==typeof ae.message?ae.message:E)}handleErrorWithoutAlert(ae,E,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: "+ae+"\n"+JSON.stringify(i)),401===i.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,R.ts)()),this.store.dispatch((0,R.kS)()),this.store.dispatch((0,R.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,R.uO)({payload:E})),this.store.dispatch((0,R.qi)({payload:{action:ae,status:I.Bn.ERROR,statusCode:i.status.toString(),message:this.extractErrorMessage(i)}})))}handleErrorWithAlert(ae,E,i,o,m){if(this.logger.error(m),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,R.ts)()),this.store.dispatch((0,R.kS)()),this.store.dispatch((0,R.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,R.uO)({payload:E}));const l=this.extractErrorMessage(m);this.store.dispatch((0,R.qR)({payload:{data:{type:"ERROR",alertTitle:i,message:{code:m.status?m.status:"Unknown Error",message:l,URL:o},component:D.H}}})),this.store.dispatch((0,R.qi)({payload:{action:ae,status:I.Bn.ERROR,statusCode:m.status.toString(),message:l,URL:o}}))}}ngOnDestroy(){this.unSubs.forEach(ae=>{ae.next(null),ae.complete()})}static#e=this.\u0275fac=function(E){return new(E||de)(Q.LFG(e.eN),Q.LFG(J.yh),Q.LFG(ne.mQ),Q.LFG(X.ux),Q.LFG(pe.rS))};static#t=this.\u0275prov=Q.Yz7({token:de,factory:de.\u0275fac})}return de})()},5980:(Ue,q,p)=>{"use strict";p.d(q,{LG:()=>C,mQ:()=>c});var e=p(5879);const t=(0,e.X6Q)(),g=()=>null;let c=(()=>{class u{invokeConsoleMethod(d,S){}static#e=this.\u0275fac=function(S){return new(S||u)};static#t=this.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac})}return u})(),C=(()=>{class u{get info(){return t?console.log.bind(console):g}get warn(){return t?console.warn.bind(console):g}get error(){return t?console.error.bind(console):g}invokeConsoleMethod(d,S){(console[d]||console.log||g).apply(console,[S])}static#e=this.\u0275fac=function(S){return new(S||u)};static#t=this.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac})}return u})()},3149:(Ue,q,p)=>{"use strict";p.d(q,{W:()=>W});var e=p(9862),t=p(5619),g=p(8645),T=p(2096),c=p(8504),C=p(9773),u=p(6306),P=p(7398),d=p(2154),S=p(3315),M=p(9103),I=p(5879),D=p(5980),R=p(4221),F=p(6339);let W=(()=>{class Y{constructor(J,ne,X,pe){this.httpClient=J,this.logger=ne,this.store=X,this.commonService=pe,this.loopUrl="",this.swaps=[],this.swapsChanged=new t.X([]),this.unSubs=[new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x]}getLoopInfo(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/info",this.httpClient.get(this.loopUrl)}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,M.ac)({payload:d.m6.GET_LOOP_SWAPS})),this.loopUrl=d.T5+d.vv.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,C.R)(this.unSubs[0])).subscribe({next:J=>{this.store.dispatch((0,M.uO)({payload:d.m6.GET_LOOP_SWAPS})),this.swaps=J,this.swapsChanged.next(this.swaps)},error:J=>this.swapsChanged.error(this.handleErrorWithAlert(d.m6.GET_LOOP_SWAPS,this.loopUrl,J))})}loopOut(J,ne,X,pe,ie,de,te,ae,E,i){const o={amount:J,targetConf:X,swapRoutingFee:pe,minerFee:ie,prepayRoutingFee:de,prepayAmt:te,swapFee:ae,swapPublicationDeadline:E,destAddress:i};return""!==ne&&(o.chanId=ne),this.loopUrl=d.T5+d.vv.LOOP_API+"/out",this.httpClient.post(this.loopUrl,o).pipe((0,u.K)(m=>this.handleErrorWithoutAlert("Loop Out for Channel: "+ne,d.m6.NO_SPINNER,m)))}getLoopOutTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,u.K)(J=>this.handleErrorWithoutAlert("Loop Out Terms",d.m6.NO_SPINNER,J)))}getLoopOutQuote(J,ne,X){let pe=new e.LE;return pe=pe.append("targetConf",ne.toString()),pe=pe.append("swapPublicationDeadline",X.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/out/quote/"+J,this.store.dispatch((0,M.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:pe}).pipe((0,C.R)(this.unSubs[1]),(0,P.U)(ie=>(this.store.dispatch((0,M.uO)({payload:d.m6.GET_QUOTE})),ie)),(0,u.K)(ie=>this.handleErrorWithoutAlert("Loop Out Quote",d.m6.GET_QUOTE,ie)))}getLoopOutTermsAndQuotes(J){let ne=new e.LE;return ne=ne.append("targetConf",J.toString()),ne=ne.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,M.ac)({payload:d.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ne}).pipe((0,C.R)(this.unSubs[2]),(0,P.U)(X=>(this.store.dispatch((0,M.uO)({payload:d.m6.GET_TERMS_QUOTES})),X)),(0,u.K)(X=>(0,T.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,X))))}loopIn(J,ne,X,pe,ie){const de={amount:J,swapFee:ne,minerFee:X,lastHop:pe,externalHtlc:ie};return this.loopUrl=d.T5+d.vv.LOOP_API+"/in",this.httpClient.post(this.loopUrl,de).pipe((0,u.K)(te=>this.handleErrorWithoutAlert("Loop In",d.m6.NO_SPINNER,te)))}getLoopInTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,u.K)(J=>this.handleErrorWithoutAlert("Loop In Terms",d.m6.NO_SPINNER,J)))}getLoopInQuote(J,ne,X){let pe=new e.LE;return pe=pe.append("targetConf",ne.toString()),pe=pe.append("swapPublicationDeadline",X.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/in/quote/"+J,this.store.dispatch((0,M.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:pe}).pipe((0,C.R)(this.unSubs[3]),(0,P.U)(ie=>(this.store.dispatch((0,M.uO)({payload:d.m6.GET_QUOTE})),ie)),(0,u.K)(ie=>this.handleErrorWithoutAlert("Loop In Qoute",d.m6.GET_QUOTE,ie)))}getLoopInTermsAndQuotes(J){let ne=new e.LE;return ne=ne.append("targetConf",J.toString()),ne=ne.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,M.ac)({payload:d.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ne}).pipe((0,C.R)(this.unSubs[4]),(0,P.U)(X=>(this.store.dispatch((0,M.uO)({payload:d.m6.GET_TERMS_QUOTES})),X)),(0,u.K)(X=>(0,T.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,X))))}getSwap(J){return this.loopUrl=d.T5+d.vv.LOOP_API+"/swap/"+J,this.httpClient.get(this.loopUrl).pipe((0,u.K)(ne=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+J,d.m6.NO_SPINNER,ne)))}handleErrorWithoutAlert(J,ne,X){let pe="";return this.logger.error("ERROR IN: "+J+"\n"+JSON.stringify(X)),this.store.dispatch((0,M.uO)({payload:ne})),401===X.status?(pe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.kS)())):503===X.status?(pe="Unable to Connect to Loop Server.",this.store.dispatch((0,M.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:X.status,message:"Unable to Connect to Loop Server",URL:J},component:S.H}}}))):pe=this.commonService.extractErrorMessage(X),(0,c._)(()=>new Error(pe))}handleErrorWithAlert(J,ne,X){let pe="";if(this.logger.error(X),this.store.dispatch((0,M.uO)({payload:J})),401===X.status)pe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.kS)());else if(503===X.status)pe="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:X.status,message:"Unable to Connect to Loop Server",URL:ne},component:S.H}}}))},100);else{pe=this.commonService.extractErrorMessage(X);const ie=X.error&&X.error.error&&X.error.error.code?X.error.error.code:X.error&&X.error.code?X.error.code:X.code?X.code:X.status;setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{type:d.n_.ERROR,alertTitle:"ERROR",message:{code:ie,message:pe,URL:ne},component:S.H}}}))},100)}return{message:pe}}ngOnDestroy(){this.unSubs.forEach(J=>{J.next(null),J.complete()})}static#e=this.\u0275fac=function(ne){return new(ne||Y)(I.LFG(e.eN),I.LFG(D.mQ),I.LFG(R.yh),I.LFG(F.v))};static#t=this.\u0275prov=I.Yz7({token:Y,factory:Y.\u0275fac})}return Y})()},5813:(Ue,q,p)=>{"use strict";p.d(q,{m:()=>g});var e=p(8645),t=p(5879);let g=(()=>{class T{constructor(){this.sessionSub=new e.x}watchSession(){return this.sessionSub.asObservable()}getItem(C){return sessionStorage.getItem(C)}getAllItems(){return sessionStorage}setItem(C,u){sessionStorage.setItem(C,u),this.sessionSub.next(sessionStorage)}removeItem(C){sessionStorage.removeItem(C),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}static#e=this.\u0275fac=function(u){return new(u||T)};static#t=this.\u0275prov=t.Yz7({token:T,factory:T.\u0275fac})}return T})()},2285:(Ue,q,p)=>{"use strict";p.d(q,{d:()=>R});var e=p(5619),t=p(8645),g=p(9773),T=p(305),c=p(5592),C=p(7394),u=p(7328);const P={url:"",deserializer:F=>JSON.parse(F.data),serializer:F=>JSON.stringify(F)};class S extends t.u{constructor(W,Y){if(super(),this._socket=null,W instanceof c.y)this.destination=Y,this.source=W;else{const Q=this._config=Object.assign({},P);if(this._output=new t.x,"string"==typeof W)Q.url=W;else for(const J in W)W.hasOwnProperty(J)&&(Q[J]=W[J]);if(!Q.WebSocketCtor&&WebSocket)Q.WebSocketCtor=WebSocket;else if(!Q.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new u.t}}lift(W){const Y=new S(this._config,this.destination);return Y.operator=W,Y.source=this,Y}_resetState(){this._socket=null,this.source||(this.destination=new u.t),this._output=new t.x}multiplex(W,Y,Q){const J=this;return new c.y(ne=>{try{J.next(W())}catch(pe){ne.error(pe)}const X=J.subscribe({next:pe=>{try{Q(pe)&&ne.next(pe)}catch(ie){ne.error(ie)}},error:pe=>ne.error(pe),complete:()=>ne.complete()});return()=>{try{J.next(Y())}catch(pe){ne.error(pe)}X.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:W,protocol:Y,url:Q,binaryType:J}=this._config,ne=this._output;let X=null;try{X=Y?new W(Q,Y):new W(Q),this._socket=X,J&&(this._socket.binaryType=J)}catch(ie){return void ne.error(ie)}const pe=new C.w0(()=>{this._socket=null,X&&1===X.readyState&&X.close()});X.onopen=ie=>{const{_socket:de}=this;if(!de)return X.close(),void this._resetState();const{openObserver:te}=this._config;te&&te.next(ie);const ae=this.destination;this.destination=T.Lv.create(E=>{if(1===X.readyState)try{const{serializer:i}=this._config;X.send(i(E))}catch(i){this.destination.error(i)}},E=>{const{closingObserver:i}=this._config;i&&i.next(void 0),E&&E.code?X.close(E.code,E.reason):ne.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:E}=this._config;E&&E.next(void 0),X.close(),this._resetState()}),ae&&ae instanceof u.t&&pe.add(ae.subscribe(this.destination))},X.onerror=ie=>{this._resetState(),ne.error(ie)},X.onclose=ie=>{X===this._socket&&this._resetState();const{closeObserver:de}=this._config;de&&de.next(ie),ie.wasClean?ne.complete():ne.error(ie)},X.onmessage=ie=>{try{const{deserializer:de}=this._config;ne.next(de(ie))}catch(de){ne.error(de)}}}_subscribe(W){const{source:Y}=this;return Y?Y.subscribe(W):(this._socket||this._connectSocket(),this._output.subscribe(W),W.add(()=>{const{_socket:Q}=this;0===this._output.observers.length&&(Q&&(1===Q.readyState||0===Q.readyState)&&Q.close(),this._resetState())}),W)}unsubscribe(){const{_socket:W}=this;W&&(1===W.readyState||0===W.readyState)&&W.close(),this._resetState(),super.unsubscribe()}}var M=p(5879),I=p(5980),D=p(5813);let R=(()=>{class F{constructor(Y,Q){this.logger=Y,this.sessionService=Q,this.clWSMessages=new e.X(null),this.eclWSMessages=new e.X(null),this.lndWSMessages=new e.X(null),this.wsUrl="",this.nodeIndex="",this.RETRY_SECONDS=5,this.RECONNECT_TIMEOUT=null,this.unSubs=[new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x]}connectWebSocket(Y,Q){(!this.socket||this.socket.closed)&&(this.wsUrl=Y,this.nodeIndex=Q,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new S({url:Y,protocol:[this.sessionService.getItem("token")||"",Q]}),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:Y=>{if((Y="string"==typeof Y?JSON.parse(Y):Y).error)this.handleError(Y.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(Y)),Y.source){case"LND":this.lndWSMessages.next(Y);break;case"CLN":this.clWSMessages.next(Y);break;case"ECL":this.eclWSMessages.next(Y)}},error:Y=>this.handleError(Y),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(Y){this.logger.error(Y),this.clWSMessages.error(Y),this.eclWSMessages.error(Y),this.lndWSMessages.error(Y),this.reconnectOnError()}ngOnDestroy(){this.closeConnection(),this.clWSMessages.next(null),this.clWSMessages.complete(),this.eclWSMessages.next(null),this.eclWSMessages.complete(),this.lndWSMessages.next(null),this.lndWSMessages.complete()}static#e=this.\u0275fac=function(Q){return new(Q||F)(M.LFG(I.mQ),M.LFG(D.m))};static#t=this.\u0275prov=M.Yz7({token:F,factory:F.\u0275fac})}return F})()},8339:(Ue,q,p)=>{"use strict";p.d(q,{m:()=>ka});var e=p(6814),t=p(4190),g=p(6223),T=p(9862),c=p(5597),C=p(5879),u=p(1462),P=p(7509),d=p(3814);p(2495);let ut=(()=>{class It{}return It.\u0275fac=function(St){return new(St||It)},It.\u0275mod=C.oAB({type:It}),It.\u0275inj=C.cJS({imports:[u.IR]}),It})(),qt=(()=>{class It{constructor(St,ai){(0,e.PM)(ai)&&!St&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(St,ai=[]){return{ngModule:It,providers:St.serverLoaded?[{provide:u.WU,useValue:{...u.g5,...St}},{provide:u.Bs,useValue:ai,multi:!0},{provide:u.wY,useValue:!0}]:[{provide:u.WU,useValue:{...u.g5,...St}},{provide:u.Bs,useValue:ai,multi:!0}]}}}return It.\u0275fac=function(St){return new(St||It)(C.LFG(u.wY),C.LFG(C.Lbi))},It.\u0275mod=C.oAB({type:It}),It.\u0275inj=C.cJS({imports:[d.ae,P.aT,ut,d.ae,P.aT,ut]}),It})();var pi=p(1088),Si=p(3680),Fi=p(7700),Ri=p(4630),Ui=p(9014),nn=p(2296);p(4300),p(8337);let Ar=(()=>{class It{static#e=this.\u0275fac=function(ai){return new(ai||It)};static#t=this.\u0275mod=C.oAB({type:It});static#i=this.\u0275inj=C.cJS({imports:[Si.BQ,Si.si,Si.BQ]})}return It})();var vr=p(5195),La=p(5986),Ur=p(8034),ga=p(3305),sa=p(3176),Li=p(617),Gt=p(2032),yi=p(9038),gi=p(7988),wi=p(1476),Ni=p(6007),Wi=p(5940),Tn=p(7466),Fn=p(8525),Yn=p(2651),_n=p(2599),Cn=p(2831);p(8645);let Hr=(()=>{class It{static#e=this.\u0275fac=function(ai){return new(ai||It)};static#t=this.\u0275mod=C.oAB({type:It});static#i=this.\u0275inj=C.cJS({imports:[Si.BQ,e.ez,Si.si]})}return It})();var Ya=p(2939),Zr=p(3566),ca=p(8257),$a=p(5313),va=p(4104),la=p(1274),ba=p(2596),xr=p(8445),Dn=p(2557),Wr=p(25),ro=p(6828),Ra=p(2159),da=p(3651);let ao=(()=>{class It extends da.Xj{constructor(St,ai){super(St,ai)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(ai){return new(ai||It)(C.Y36(e.K0),C.Y36(Cn.t4))};static#t=this.\u0275dir=C.lG2({type:It,features:[C.qOj]})}return It})();var ya=p(5980),xa=p(2154),qn=p(2995);const es={suppressScrollX:!1,suppressScrollY:!1};let Fr=(()=>{class It extends Si.LF{constructor(St,ai){super(St,ai)}format(St,ai){if("input"===ai){let Oi=St.getDate().toString();return Oi=+Oi<10?"0"+Oi:Oi,Oi+"/"+xa.gg[St.getMonth()].name.toUpperCase()+"/"+St.getFullYear()}return xa.gg[St.getMonth()].name.toUpperCase()+" "+St.getFullYear()}static#e=this.\u0275fac=function(ai){return new(ai||It)(C.LFG(Si.Ad,8),C.LFG(Cn.t4))};static#t=this.\u0275prov=C.Yz7({token:It,factory:It.\u0275fac})}return It})();const ur={parse:{dateInput:{day:"numeric",month:"short",year:"numeric"}},display:{dateInput:"input",monthYearLabel:{month:"short",year:"numeric"},dateA11yLabel:{day:"numeric",month:"short",year:"numeric"},monthYearA11yLabel:{month:"short",year:"numeric"}}};let ka=(()=>{class It{static#e=this.\u0275fac=function(ai){return new(ai||It)};static#t=this.\u0275mod=C.oAB({type:It});static#i=this.\u0275inj=C.cJS({providers:[{provide:ya.mQ,useClass:ya.LG},{provide:Ra.op,useValue:es},{provide:Ya.Ve,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:Fi.Bq,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:Si._A,useClass:Fr},{provide:Si.sG,useValue:ur},{provide:da.Xj,useClass:ao},e.JJ,e.rS,e.uU,qn.al,qn.h9,qn.D3,qn.i1],imports:[e.ez,g.u5,g.UX,c.uH,qt,pi.xu,Fi.Is,nn.ot,Ar,vr.QW,La.p9,ga.To,sa.N6,Ur.FA,Si.XK,Li.Ps,Gt.c,yi.ie,gi.Tx,Ni.Cv,Wi.Cq,Tn.Fk,xr.dp,Dn.Hi,Fn.LD,Yn.SJ,_n.rP,Zr.JX,$a.p0,la.g0,ba.AV,Ui.g,wi.TU,ca.T5,Hr,va.Nh,Ya.ZX,Ri.Bb,Wr.a4,ro.OF,t.Bz,T.JF,Ra.Xd,g.u5,g.UX,c.uH,qt,pi.xu,Fi.Is,nn.ot,Ar,vr.QW,La.p9,ga.To,sa.N6,Ur.FA,Si.XK,Li.Ps,Gt.c,yi.ie,gi.Tx,Ni.Cv,Wi.Cq,Tn.Fk,xr.dp,Dn.Hi,Fn.LD,Yn.SJ,_n.rP,Zr.JX,$a.p0,la.g0,ba.AV,Ui.g,wi.TU,ca.T5,Hr,va.Nh,Ya.ZX,Ri.Bb,Wr.a4,ro.OF,Ra.Xd]})}return It})()},9103:(Ue,q,p)=>{"use strict";p.d(q,{M6:()=>M,Q2:()=>F,QO:()=>l,Tm:()=>de,Uy:()=>pe,XT:()=>ne,_V:()=>ae,ac:()=>P,c0:()=>o,c1:()=>I,dc:()=>b,ey:()=>J,fk:()=>ie,jS:()=>te,jW:()=>u,kS:()=>i,lC:()=>T,qR:()=>S,qi:()=>c,tj:()=>R,ts:()=>C,tw:()=>Y,uO:()=>d,vI:()=>Q,x4:()=>L,yb:()=>D,zQ:()=>X});var e=p(4221),t=p(2154);(0,e.PH)(t.pg.VOID);const T=(0,e.PH)(t.pg.SET_API_URL_ECL,(0,e.Ky)()),c=(0,e.PH)(t.pg.UPDATE_API_CALL_STATUS_ROOT,(0,e.Ky)()),C=(0,e.PH)(t.pg.CLOSE_ALL_DIALOGS),u=(0,e.PH)(t.pg.OPEN_SNACK_BAR,(0,e.Ky)()),P=(0,e.PH)(t.pg.OPEN_SPINNER,(0,e.Ky)()),d=(0,e.PH)(t.pg.CLOSE_SPINNER,(0,e.Ky)()),S=(0,e.PH)(t.pg.OPEN_ALERT,(0,e.Ky)()),M=(0,e.PH)(t.pg.CLOSE_ALERT,(0,e.Ky)()),I=(0,e.PH)(t.pg.OPEN_CONFIRMATION,(0,e.Ky)()),D=(0,e.PH)(t.pg.CLOSE_CONFIRMATION,(0,e.Ky)()),R=(0,e.PH)(t.pg.SHOW_PUBKEY),F=(0,e.PH)(t.pg.FETCH_CONFIG,(0,e.Ky)()),Y=((0,e.PH)(t.pg.SHOW_CONFIG,(0,e.Ky)()),(0,e.PH)(t.pg.UPDATE_SELECTED_NODE_OPTIONS)),Q=(0,e.PH)(t.pg.RESET_ROOT_STORE,(0,e.Ky)()),J=(0,e.PH)(t.pg.FETCH_RTL_CONFIG),ne=(0,e.PH)(t.pg.SET_RTL_CONFIG,(0,e.Ky)()),X=(0,e.PH)(t.pg.SAVE_SETTINGS,(0,e.Ky)()),pe=(0,e.PH)(t.pg.TWO_FA_SAVE_SETTINGS,(0,e.Ky)()),ie=(0,e.PH)(t.pg.SET_SELECTED_NODE,(0,e.Ky)()),de=(0,e.PH)(t.pg.UPDATE_ROOT_NODE_SETTINGS,(0,e.Ky)()),te=(0,e.PH)(t.pg.UPDATE_SERVICE_SETTINGS,(0,e.Ky)()),ae=(0,e.PH)(t.pg.SET_NODE_DATA,(0,e.Ky)()),i=((0,e.PH)(t.pg.SAVE_SSO,(0,e.Ky)()),(0,e.PH)(t.pg.LOGOUT)),o=(0,e.PH)(t.pg.RESET_PASSWORD,(0,e.Ky)()),l=((0,e.PH)(t.pg.RESET_PASSWORD_RES,(0,e.Ky)()),(0,e.PH)(t.pg.IS_AUTHORIZED,(0,e.Ky)())),L=((0,e.PH)(t.pg.IS_AUTHORIZED_RES,(0,e.Ky)()),(0,e.PH)(t.pg.LOGIN,(0,e.Ky)())),b=((0,e.PH)(t.pg.VERIFY_TWO_FA,(0,e.Ky)()),(0,e.PH)(t.pg.FETCH_FILE,(0,e.Ky)()));(0,e.PH)(t.pg.SHOW_FILE,(0,e.Ky)())},2703:(Ue,q,p)=>{"use strict";p.d(q,{V:()=>Ee});var e=p(5879),t=p(5154),g=p(8645),T=p(2096),c=p(5592),C=p(9315),u=p(7398),P=p(8180),d=p(2460),S=p(1631),M=p(6306),I=p(9773),D=p(2154),R=p(7700),F=p(3814),W=p(5940);let Y=(()=>{class We{constructor(st,Jt){this.dialogRef=st,this.data=Jt}static#e=this.\u0275fac=function(Jt){return new(Jt||We)(e.Y36(R.so),e.Y36(R.WI))};static#t=this.\u0275cmp=e.Xpm({type:We,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(Jt,ui){1&Jt&&(e.TgZ(0,"div",0),e._UZ(1,"mat-progress-spinner",1),e.TgZ(2,"h2"),e._uU(3),e.qZA()()),2&Jt&&(e.xp6(3),e.Oqu(ui.data.titleMessage))},dependencies:[F.xw,F.Wh,W.Ou],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]})}return We})();var Q=p(5980),J=p(2939),ne=p(6339),X=p(4190),pe=p(6814),ie=p(7509),de=p(2296),te=p(5195),ae=p(617),E=p(6385),i=p(2596),o=p(6828),m=p(2159),l=p(7313),y=p(6985);const L=["scrollContainer"];function O(We,rt){if(1&We&&e._UZ(0,"qr-code",15),2&We){const st=e.oxw();e.Q6J("value",st.showQRField)("size",200)("errorCorrectionLevel","L")}}function b(We,rt){1&We&&e.GkF(0)}const n=function(We){return{"h-40":We}};function _(We,rt){if(1&We&&(e.ynx(0),e.TgZ(1,"mat-card-content",16,17),e.YNc(3,b,1,0,"ng-container",18),e.qZA(),e.BQk()),2&We){const st=e.oxw(),Jt=e.MAs(20);e.xp6(1),e.Q6J("ngClass",e.VKq(2,n,st.data.scrollable)),e.xp6(2),e.Q6J("ngTemplateOutlet",Jt)}}function H(We,rt){1&We&&e.GkF(0)}function V(We,rt){if(1&We&&(e.ynx(0),e.TgZ(1,"mat-card-content",19),e.YNc(2,H,1,0,"ng-container",18),e.qZA(),e.BQk()),2&We){e.oxw();const st=e.MAs(20);e.xp6(2),e.Q6J("ngTemplateOutlet",st)}}function K(We,rt){1&We&&(e.TgZ(0,"mat-icon",23),e._uU(1,"arrow_downward"),e.qZA())}function se(We,rt){1&We&&(e.TgZ(0,"mat-icon",23),e._uU(1,"arrow_upward"),e.qZA())}function Ye(We,rt){if(1&We){const st=e.EpF();e.TgZ(0,"div",20)(1,"button",21),e.NdJ("click",function(){e.CHM(st);const ui=e.oxw();return e.KtG(ui.onScroll())}),e.YNc(2,K,2,0,"mat-icon",22),e.YNc(3,se,2,0,"mat-icon",22),e.qZA()()}if(2&We){const st=e.oxw();e.xp6(2),e.Q6J("ngIf","DOWN"===st.scrollDirection),e.xp6(1),e.Q6J("ngIf","UP"===st.scrollDirection)}}function Oe(We,rt){1&We&&(e.TgZ(0,"button",24),e._uU(1,"OK"),e.qZA()),2&We&&e.Q6J("mat-dialog-close",!1)}function Qe(We,rt){1&We&&(e.TgZ(0,"button",25),e._uU(1,"Close"),e.qZA()),2&We&&e.Q6J("mat-dialog-close",!1)}function be(We,rt){if(1&We){const st=e.EpF();e.TgZ(0,"button",26),e.NdJ("copied",function(ui){e.CHM(st);const En=e.oxw();return e.KtG(En.onCopyField(ui))}),e._uU(1),e.qZA()}if(2&We){const st=e.oxw();e.Q6J("payload",st.showCopyField),e.xp6(1),e.hij("Copy ",st.showCopyName,"")}}function ue(We,rt){1&We&&(e.TgZ(0,"button",25),e._uU(1,"Close"),e.qZA()),2&We&&e.Q6J("mat-dialog-close",!1)}function xe(We,rt){if(1&We){const st=e.EpF();e.TgZ(0,"button",26),e.NdJ("copied",function(ui){e.CHM(st);const En=e.oxw();return e.KtG(En.onCopyField(ui))}),e._uU(1),e.qZA()}if(2&We){const st=e.oxw();e.Q6J("payload",st.showQRField),e.xp6(1),e.hij("Copy ",st.showQRName,"")}}function Pe(We,rt){if(1&We&&e._UZ(0,"qr-code",15),2&We){const st=e.oxw(2);e.Q6J("value",st.showQRField)("size",200)("errorCorrectionLevel","L")}}function oe(We,rt){if(1&We&&(e.TgZ(0,"p",32),e._uU(1),e.qZA()),2&We){const st=e.oxw(2);e.xp6(1),e.Oqu(st.data.titleMessage)}}function ze(We,rt){1&We&&e._UZ(0,"span",46),2&We&&e.Q6J("innerHTML",rt.$implicit,e.oJD)}function we(We,rt){if(1&We&&(e.ynx(0),e.YNc(1,ze,1,1,"span",45),e.BQk()),2&We){const st=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngForOf",st.value)}}function le(We,rt){if(1&We&&(e.ynx(0),e._uU(1),e.ALo(2,"date"),e.BQk()),2&We){const st=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,1e3*st.value,"dd/MMM/y HH:mm"))}}function ge(We,rt){if(1&We&&(e.ynx(0),e._uU(1),e.ALo(2,"number"),e.BQk()),2&We){const st=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,st.value,st.digitsInfo?st.digitsInfo:"1.0-3"))}}function fe(We,rt){if(1&We&&(e.ynx(0),e._uU(1),e.BQk()),2&We){const st=e.oxw(2).$implicit;e.xp6(1),e.Oqu(st.value?"True":"False")}}function Ge(We,rt){1&We&&(e.TgZ(0,"mat-icon",51),e._uU(1,"info"),e.qZA())}const Le=function(We){return{"failed-status":We}};function Ne(We,rt){if(1&We&&(e.TgZ(0,"p",49),e._uU(1),e.YNc(2,Ge,2,0,"mat-icon",50),e.qZA()),2&We){const st=e.oxw(3).$implicit,Jt=e.oxw(4);e.Q6J("ngClass",e.VKq(3,Le,st.value===Jt.LoopStateEnum.FAILED)),e.xp6(1),e.hij(" ",st.value," "),e.xp6(1),e.Q6J("ngIf",st.value===Jt.LoopStateEnum.FAILED)}}function Ve(We,rt){if(1&We){const st=e.EpF();e.TgZ(0,"p",54),e.NdJ("click",function(){e.CHM(st);const ui=e.oxw(8);return e.KtG(ui.onGoToLink())}),e._uU(1),e.qZA()}if(2&We){const st=e.oxw(4).$implicit,Jt=e.oxw(4);e.s9C("matTooltip","Go To "+Jt.goToName),e.xp6(1),e.hij(" ",st.value," ")}}function at(We,rt){if(1&We&&e._uU(0),2&We){const st=e.oxw(4).$implicit;e.hij(" ",st.value," ")}}function ve(We,rt){if(1&We&&(e.YNc(0,Ve,2,2,"p",52),e.YNc(1,at,1,1,"ng-template",null,53,e.W1O)),2&We){const st=e.MAs(2),Jt=e.oxw(3).$implicit,ui=e.oxw(4);e.Q6J("ngIf",Jt.value===ui.goToFieldValue)("ngIfElse",st)}}function De(We,rt){if(1&We&&(e.ynx(0),e.YNc(1,Ne,3,5,"p",47),e.YNc(2,ve,3,2,"ng-template",null,48,e.W1O),e.BQk()),2&We){const st=e.MAs(3),Jt=e.oxw(2).$implicit,ui=e.oxw(4);e.xp6(1),e.Q6J("ngIf","SWAP"===ui.data.openedBy&&"state"===Jt.key)("ngIfElse",st)}}function xt(We,rt){if(1&We&&(e.TgZ(0,"span")(1,"span",42),e.YNc(2,we,2,1,"ng-container",43),e.YNc(3,le,3,4,"ng-container",43),e.YNc(4,ge,3,4,"ng-container",43),e.YNc(5,fe,2,1,"ng-container",43),e.YNc(6,De,4,2,"ng-container",44),e.qZA()()),2&We){const st=e.oxw().$implicit,Jt=e.oxw(4);e.xp6(1),e.Q6J("ngSwitch",st.type),e.xp6(1),e.Q6J("ngSwitchCase",Jt.dataTypeEnum.ARRAY),e.xp6(1),e.Q6J("ngSwitchCase",Jt.dataTypeEnum.DATE_TIME),e.xp6(1),e.Q6J("ngSwitchCase",Jt.dataTypeEnum.NUMBER),e.xp6(1),e.Q6J("ngSwitchCase",Jt.dataTypeEnum.BOOLEAN)}}function ct(We,rt){1&We&&(e.TgZ(0,"span",55),e._uU(1,"\xa0"),e.qZA())}function et(We,rt){if(1&We&&(e.TgZ(0,"div",37)(1,"h4",38),e._uU(2),e.qZA(),e.YNc(3,xt,7,5,"span",39),e.YNc(4,ct,2,0,"ng-template",null,40,e.W1O),e._UZ(6,"mat-divider",41),e.qZA()),2&We){const st=rt.$implicit,Jt=e.MAs(5);e.s9C("fxFlex.gt-md",st.width),e.xp6(2),e.Oqu(st.title),e.xp6(1),e.Q6J("ngIf",st&&(!!st.value||0===st.value))("ngIfElse",Jt)}}function Ct(We,rt){if(1&We&&(e.TgZ(0,"div")(1,"div",35),e.YNc(2,et,7,4,"div",36),e.qZA()()),2&We){const st=rt.$implicit;e.xp6(2),e.Q6J("ngForOf",st)}}function ke(We,rt){if(1&We&&(e.TgZ(0,"div",33),e.YNc(1,Ct,3,1,"div",34),e.qZA()),2&We){const st=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",st.messageObjs)}}const ot=function(We){return{"display-none":We}};function Je(We,rt){if(1&We&&(e.TgZ(0,"div",27)(1,"div",28),e.YNc(2,Pe,1,3,"qr-code",2),e.qZA(),e.TgZ(3,"div",29),e.YNc(4,oe,2,1,"p",30),e.YNc(5,ke,2,1,"div",31),e.qZA()()),2&We){const st=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(4,ot,""===st.showQRField||st.screenSize!==st.screenSizeEnum.XS&&st.screenSize!==st.screenSizeEnum.SM)),e.xp6(1),e.Q6J("ngIf",""!==st.showQRField),e.xp6(2),e.Q6J("ngIf",st.data.titleMessage),e.xp6(1),e.Q6J("ngIf",(null==st.messageObjs?null:st.messageObjs.length)>0)}}let re=(()=>{class We{set container(st){st&&(this.scrollContainer=st,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",Jt=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",Jt=>{this.scrollDirection="DOWN"})))}constructor(st,Jt,ui,En,Hn,Ar,vr){this.dialogRef=st,this.data=Jt,this.logger=ui,this.snackBar=En,this.commonService=Hn,this.renderer=Ar,this.router=vr,this.LoopStateEnum=D.Fq,this.goToFieldValue="",this.goToName="",this.goToLink="",this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=D.n_,this.dataTypeEnum=D.Gi,this.screenSize="",this.screenSizeEnum=D.cu,this.scrollDirection="DOWN",this.shouldScroll=!0}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.messageObjs=this.data.message||[],this.goToFieldValue=this.data.goToFieldValue?this.data.goToFieldValue:"",this.goToName=this.data.goToName?this.data.goToName:"",this.goToLink=this.data.goToLink?this.data.goToLink:"",this.showQRField=this.data.showQRField?this.data.showQRField:"",this.showQRName=this.data.showQRName?this.data.showQRName:"",this.showCopyName=this.data.showCopyName?this.data.showCopyName:"",this.showCopyField=this.data.showCopyField?this.data.showCopyField:"",this.data.type===D.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(st){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+st)}onClose(){this.dialogRef.close(!1)}onGoToLink(){this.router.navigateByUrl(this.goToLink,{state:{lookupType:"0",lookupValue:this.goToFieldValue}}),this.onClose()}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd()}static#e=this.\u0275fac=function(Jt){return new(Jt||We)(e.Y36(R.so),e.Y36(R.WI),e.Y36(Q.mQ),e.Y36(J.ux),e.Y36(ne.v),e.Y36(e.Qsj),e.Y36(X.F0))};static#t=this.\u0275cmp=e.Xpm({type:We,selectors:[["rtl-alert-message"]],viewQuery:function(Jt,ui){if(1&Jt&&e.Gf(L,5),2&Jt){let En;e.iGM(En=e.CRH())&&(ui.container=En.first)}},decls:21,vars:14,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","ml-1",3,"ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],[3,"fxFlex"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container padding-gap-x-large",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close",4,"ngIf"],["class","mr-1","fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",3,"mat-dialog-close",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["contentBlock",""],[3,"value","size","errorCorrectionLevel"],[1,"padding-gap-x-large",3,"perfectScrollbar","ngClass"],["scrollContainer",""],[4,"ngTemplateOutlet"],[1,"padding-gap-x-large"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container","padding-gap-x-large"],["mat-mini-fab","","aria-label","Scroll","fxLayoutAlign","center center",3,"click"],["fxLayoutAlign","center center",4,"ngIf"],["fxLayoutAlign","center center"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",1,"mr-1",3,"mat-dialog-close"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","mb-1",3,"ngClass"],["fxLayout","column","fxFlex","100"],["fxLayoutAlign","start center","class","pb-2",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxLayoutAlign","start center",1,"pb-2"],["fxFlex","100"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],["emptyField",""],[1,"w-100","my-1"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"foreground-secondary-text",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","display-block w-100",3,"innerHTML",4,"ngFor","ngForOf"],[1,"display-block","w-100",3,"innerHTML"],["fxLayout","row",3,"ngClass",4,"ngIf","ngIfElse"],["noStyleBlock",""],["fxLayout","row",3,"ngClass"],["fxLayoutAlign","end end","class","icon-failed-status",4,"ngIf"],["fxLayoutAlign","end end",1,"icon-failed-status"],["tabindex","4","fxLayout","row","class","go-to-link",3,"matTooltip","click",4,"ngIf","ngIfElse"],["noStyleChild",""],["tabindex","4","fxLayout","row",1,"go-to-link",3,"matTooltip","click"],["fxFlex","100",1,"foreground-secondary-text"]],template:function(Jt,ui){1&Jt&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,O,1,3,"qr-code",2),e.qZA(),e.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5)(6,"span",6),e._uU(7),e.qZA()(),e.TgZ(8,"button",7),e.NdJ("click",function(){return ui.onClose()}),e._uU(9,"X"),e.qZA()(),e.YNc(10,_,4,4,"ng-container",8),e.YNc(11,V,3,1,"ng-container",8),e.YNc(12,Ye,4,2,"div",9),e.TgZ(13,"div",10),e.YNc(14,Oe,2,1,"button",11),e.YNc(15,Qe,2,1,"button",12),e.YNc(16,be,2,2,"button",13),e.YNc(17,ue,2,1,"button",12),e.YNc(18,xe,2,2,"button",13),e.qZA()()(),e.YNc(19,Je,6,6,"ng-template",null,14,e.W1O)),2&Jt&&(e.xp6(1),e.Q6J("ngClass",e.VKq(12,ot,""===ui.showQRField||ui.screenSize===ui.screenSizeEnum.XS||ui.screenSize===ui.screenSizeEnum.SM)),e.xp6(1),e.Q6J("ngIf",""!==ui.showQRField),e.xp6(1),e.Q6J("fxFlex",""===ui.showQRField||ui.screenSize===ui.screenSizeEnum.XS||ui.screenSize===ui.screenSizeEnum.SM?"100":"70"),e.xp6(4),e.Oqu(ui.data.alertTitle||ui.alertTypeEnum[ui.data.type]),e.xp6(3),e.Q6J("ngIf",ui.data.scrollable),e.xp6(1),e.Q6J("ngIf",!ui.data.scrollable),e.xp6(1),e.Q6J("ngIf",ui.data.scrollable&&ui.shouldScroll),e.xp6(2),e.Q6J("ngIf",(!ui.showQRField||""===ui.showQRField)&&""===ui.showCopyName),e.xp6(1),e.Q6J("ngIf",""!==ui.showCopyName),e.xp6(1),e.Q6J("ngIf",""!==ui.showCopyName),e.xp6(1),e.Q6J("ngIf",""!==ui.showQRField),e.xp6(1),e.Q6J("ngIf",""!==ui.showQRField))},dependencies:[pe.mk,pe.sg,pe.O5,pe.tP,pe.RF,pe.n9,pe.ED,F.xw,F.Wh,F.yH,ie.oO,R.ZT,de.lW,de.nh,te.dn,te.dk,ae.Hw,E.d,i.gM,o.uU,m.$V,l.y,y.h,pe.JJ,pe.uU],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}return We})();var Be=p(590),Nt=p(9103),Ke=p(4221),yt=p(6223),kt=p(5597),Dt=p(2032),Rt=p(5683),pt=p(6082);function vt(We,rt){if(1&We&&(e.TgZ(0,"div",18),e._UZ(1,"fa-icon",19),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&We){const st=e.oxw();e.xp6(1),e.Q6J("icon",st.faExclamationTriangle),e.xp6(2),e.Oqu(st.warningMessage)}}function Te(We,rt){if(1&We&&(e.TgZ(0,"div",20),e._UZ(1,"fa-icon",19),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&We){const st=e.oxw();e.xp6(1),e.Q6J("icon",st.faInfoCircle),e.xp6(2),e.Oqu(st.informationMessage)}}function tt(We,rt){if(1&We&&(e.TgZ(0,"p",21),e._uU(1),e.qZA()),2&We){const st=e.oxw();e.xp6(1),e.Oqu(st.data.titleMessage)}}function Ze(We,rt){1&We&&e._UZ(0,"div",36),2&We&&e.Q6J("innerHTML",rt.$implicit,e.oJD)}function Mt(We,rt){if(1&We&&(e.ynx(0,34),e.YNc(1,Ze,1,1,"div",35),e.BQk()),2&We){const st=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngForOf",st.value)}}function oi(We,rt){if(1&We&&(e.ynx(0),e._uU(1),e.ALo(2,"date"),e.BQk()),2&We){const st=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,1e3*st.value,"dd/MMM/y HH:mm"))}}function Tt(We,rt){if(1&We&&(e.ynx(0),e._uU(1),e.ALo(2,"number"),e.BQk()),2&We){const st=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,st.value,"1.0-3"))}}function mt(We,rt){if(1&We&&(e.ynx(0),e._uU(1),e.BQk()),2&We){const st=e.oxw(2).$implicit;e.xp6(1),e.Oqu(!0===st.value?"True":"False")}}function he(We,rt){if(1&We&&(e.ynx(0),e._uU(1),e.BQk()),2&We){const st=e.oxw(2).$implicit;e.xp6(1),e.Oqu(st.value)}}function ee(We,rt){if(1&We&&(e.TgZ(0,"span")(1,"span",30),e.YNc(2,Mt,2,1,"ng-container",31),e.YNc(3,oi,3,4,"ng-container",32),e.YNc(4,Tt,3,4,"ng-container",32),e.YNc(5,mt,2,1,"ng-container",32),e.YNc(6,he,2,1,"ng-container",33),e.qZA()()),2&We){const st=e.oxw().$implicit,Jt=e.oxw(3);e.xp6(1),e.Q6J("ngSwitch",st.type),e.xp6(1),e.Q6J("ngSwitchCase",Jt.dataTypeEnum.ARRAY),e.xp6(1),e.Q6J("ngSwitchCase",Jt.dataTypeEnum.DATE_TIME),e.xp6(1),e.Q6J("ngSwitchCase",Jt.dataTypeEnum.NUMBER),e.xp6(1),e.Q6J("ngSwitchCase",Jt.dataTypeEnum.BOOLEAN)}}function Ce(We,rt){1&We&&(e.TgZ(0,"span",37),e._uU(1,"\xa0"),e.qZA())}function At(We,rt){if(1&We&&(e.TgZ(0,"div",25)(1,"h4",26),e._uU(2),e.qZA(),e.YNc(3,ee,7,5,"span",27),e.YNc(4,Ce,2,0,"ng-template",null,28,e.W1O),e._UZ(6,"mat-divider",29),e.qZA()),2&We){const st=rt.$implicit,Jt=e.MAs(5);e.s9C("fxFlex.gt-md",st.width),e.xp6(2),e.Oqu(st.title),e.xp6(1),e.Q6J("ngIf",st&&(!!st.value||0===st.value))("ngIfElse",Jt)}}function Lt(We,rt){if(1&We&&(e.TgZ(0,"div")(1,"div",23),e.YNc(2,At,7,4,"div",24),e.qZA()()),2&We){const st=rt.$implicit;e.xp6(2),e.Q6J("ngForOf",st)}}function jt(We,rt){if(1&We&&(e.TgZ(0,"div"),e.YNc(1,Lt,3,1,"div",22),e.qZA()),2&We){const st=e.oxw();e.xp6(1),e.Q6J("ngForOf",st.messageObjs)}}function Zt(We,rt){if(1&We&&(e.TgZ(0,"p",21),e._uU(1),e.qZA()),2&We){const st=e.oxw(2);e.xp6(1),e.Oqu(st.data.titleMessage)}}function Kt(We,rt){if(1&We&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&We){const st=e.oxw(2).$implicit;e.xp6(1),e.hij("",st.placeholder," is required.")}}function Xe(We,rt){if(1&We){const st=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(ui){e.CHM(st);const En=e.oxw().$implicit;return e.KtG(En.inputValue=ui)}),e.ALo(4,"lowercase"),e.qZA(),e.YNc(5,Kt,2,1,"mat-error",11),e.TgZ(6,"mat-hint"),e._uU(7),e.qZA()()}if(2&We){const st=e.oxw(),Jt=st.$implicit,ui=st.index;e.Q6J("fxFlex",Jt.width),e.xp6(2),e.Oqu(Jt.placeholder),e.xp6(1),e.MGl("name","input",ui,""),e.Q6J("autoFocus",0===ui)("min",Jt.min)("step",Jt.step)("type",e.lcZ(4,11,Jt.inputType))("tabindex",ui+1)("ngModel",Jt.inputValue),e.xp6(2),e.Q6J("ngIf",!Jt.inputValue),e.xp6(2),e.Oqu(Jt.hintFunction?Jt.hintFunction(Jt.inputValue):Jt.hintText)}}function Bt(We,rt){if(1&We&&(e.ynx(0),e.YNc(1,Xe,8,13,"mat-form-field",40),e.BQk()),2&We){const st=rt.$implicit,Jt=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!st.advancedField||Jt.showAdvanced)}}function qe(We,rt){if(1&We&&(e.TgZ(0,"div",38),e.YNc(1,Zt,2,1,"p",10),e.TgZ(2,"div",39),e.YNc(3,Bt,2,1,"ng-container",22),e.qZA()()),2&We){const st=e.oxw();e.xp6(1),e.Q6J("ngIf",st.data.titleMessage),e.xp6(2),e.Q6J("ngForOf",st.getInputs)}}function nt(We,rt){1&We&&(e.TgZ(0,"p"),e._uU(1,"Show Advanced"),e.qZA())}function Wt(We,rt){1&We&&(e.TgZ(0,"p"),e._uU(1,"Hide Advanced"),e.qZA())}function si(We,rt){if(1&We){const st=e.EpF();e.TgZ(0,"button",43),e.NdJ("click",function(){e.CHM(st);const ui=e.oxw();return e.KtG(ui.onShowAdvanced())}),e.YNc(1,nt,2,0,"p",27),e.YNc(2,Wt,2,0,"ng-template",null,44,e.W1O),e.qZA()}if(2&We){const st=e.MAs(3),Jt=e.oxw();e.xp6(1),e.Q6J("ngIf",!Jt.showAdvanced)("ngIfElse",st)}}function li(We,rt){if(1&We){const st=e.EpF();e.TgZ(0,"button",45),e.NdJ("click",function(){e.CHM(st);const ui=e.oxw();return e.KtG(ui.onClose(ui.getInputs))}),e._uU(1),e.qZA()}if(2&We){const st=e.oxw();e.xp6(1),e.Oqu(st.yesBtnText)}}function xi(We,rt){if(1&We){const st=e.EpF();e.TgZ(0,"button",46),e.NdJ("click",function(){e.CHM(st);const ui=e.oxw();return e.KtG(ui.onClose(!0))}),e._uU(1),e.qZA()}if(2&We){const st=e.oxw();e.xp6(1),e.Oqu(st.yesBtnText)}}let Ut=(()=>{class We{constructor(st,Jt,ui,En){this.dialogRef=st,this.data=Jt,this.logger=ui,this.store=En,this.faInfoCircle=Be.sqG,this.faExclamationTriangle=Be.eHv,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=D.n_,this.dataTypeEnum=D.Gi,this.getInputs=[{placeholder:"",inputType:D.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===D.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(st){if(st&&this.getInputs&&this.getInputs.some(Jt=>typeof Jt.inputValue>"u"))return!0;!this.showAdvanced&&st.length&&(st=st?.reduce((Jt,ui)=>(ui.advancedField||Jt.push(ui),Jt),[])),this.store.dispatch((0,Nt.yb)({payload:st}))}static#e=this.\u0275fac=function(Jt){return new(Jt||We)(e.Y36(R.so),e.Y36(R.WI),e.Y36(Q.mQ),e.Y36(Ke.yh))};static#t=this.\u0275cmp=e.Xpm({type:We,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(Jt,ui){1&Jt&&(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 ui.onClose(!1)}),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"form",7),e.YNc(10,vt,4,2,"div",8),e.YNc(11,Te,4,2,"div",9),e.YNc(12,tt,2,1,"p",10),e.YNc(13,jt,2,1,"div",11),e.YNc(14,qe,4,2,"div",12),e.TgZ(15,"div",13)(16,"button",14),e.NdJ("click",function(){return ui.onClose(!1)}),e._uU(17),e.qZA(),e.YNc(18,si,4,2,"button",15),e.YNc(19,li,2,1,"button",16),e.YNc(20,xi,2,1,"button",17),e.qZA()()()()()),2&Jt&&(e.xp6(5),e.Oqu(ui.data.alertTitle||ui.alertTypeEnum[ui.data.type]),e.xp6(5),e.Q6J("ngIf",ui.warningMessage&&""!==ui.warningMessage),e.xp6(1),e.Q6J("ngIf",ui.informationMessage&&""!==ui.informationMessage),e.xp6(1),e.Q6J("ngIf",ui.data.titleMessage&&!ui.flgShowInput),e.xp6(1),e.Q6J("ngIf",(null==ui.messageObjs?null:ui.messageObjs.length)>0),e.xp6(1),e.Q6J("ngIf",ui.flgShowInput),e.xp6(3),e.Oqu(ui.noBtnText),e.xp6(1),e.Q6J("ngIf",ui.hasAdvanced),e.xp6(1),e.Q6J("ngIf",ui.flgShowInput),e.xp6(1),e.Q6J("ngIf",!ui.flgShowInput))},dependencies:[pe.sg,pe.O5,pe.RF,pe.n9,pe.ED,yt._Y,yt.Fj,yt.JJ,yt.JL,yt.Q7,yt.On,yt.F,kt.BN,F.xw,F.Wh,F.yH,de.lW,te.dn,te.dk,Dt.Nt,Rt.KE,Rt.hX,Rt.bx,Rt.TO,E.d,y.h,pt.q,pe.i8,pe.JJ,pe.uU]})}return We})();var bt=p(3315),$e=p(8525),ut=p(3680);function Et(We,rt){if(1&We&&(e.TgZ(0,"mat-option",23),e._uU(1),e.qZA()),2&We){const st=rt.$implicit;e.Q6J("value",st),e.xp6(1),e.hij(" ",st.infoName," ")}}function qt(We,rt){if(1&We){const st=e.EpF();e.TgZ(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),e.NdJ("valueChange",function(ui){e.CHM(st);const En=e.oxw();return e.KtG(En.selInfoType=ui)}),e.YNc(3,Et,2,2,"mat-option",22),e.qZA()()()}if(2&We){const st=e.oxw();e.xp6(2),e.Q6J("value",st.selInfoType),e.xp6(1),e.Q6J("ngForOf",st.infoTypes)}}const pi=function(We){return{"display-none":We}};let Si=(()=>{class We{constructor(st,Jt,ui,En,Hn){this.dialogRef=st,this.data=Jt,this.logger=ui,this.snackBar=En,this.commonService=Hn,this.faReceipt=Be.dLy,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=D.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((st,Jt)=>{this.infoTypes.push({infoID:Jt+1,infoKey:"node URI "+(Jt+1),infoName:"Node URI "+(Jt+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(st){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+st)}static#e=this.\u0275fac=function(Jt){return new(Jt||We)(e.Y36(R.so),e.Y36(R.WI),e.Y36(Q.mQ),e.Y36(J.ux),e.Y36(ne.v))};static#t=this.\u0275cmp=e.Xpm({type:We,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(Jt,ui){1&Jt&&(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 ui.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,qt,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(Hn){return ui.onCopyPubkey(Hn)}),e._uU(25),e.qZA()()()()()()),2&Jt&&(e.xp6(1),e.Q6J("ngClass",e.VKq(15,pi,ui.screenSize===ui.screenSizeEnum.XS||ui.screenSize===ui.screenSizeEnum.SM)),e.xp6(1),e.s9C("value",0===ui.selInfoType.infoID?ui.information.identity_pubkey:ui.information.uris[ui.selInfoType.infoID-1]),e.Q6J("size",ui.qrWidth)("errorCorrectionLevel","L"),e.xp6(4),e.Q6J("icon",ui.faReceipt),e.xp6(2),e.Oqu(ui.selInfoType.infoName),e.xp6(5),e.Q6J("ngClass",e.VKq(17,pi,ui.screenSize!==ui.screenSizeEnum.XS&&ui.screenSize!==ui.screenSizeEnum.SM)),e.xp6(1),e.s9C("value",0===ui.selInfoType.infoID?ui.information.identity_pubkey:ui.information.uris[ui.selInfoType.infoID-1]),e.Q6J("size",ui.qrWidth)("errorCorrectionLevel","L"),e.xp6(1),e.Q6J("ngIf",ui.information.uris&&ui.information.uris.length>0),e.xp6(4),e.Oqu(ui.selInfoType.infoName),e.xp6(2),e.Oqu(0===ui.selInfoType.infoID?ui.information.identity_pubkey:ui.information.uris[ui.selInfoType.infoID-1]),e.xp6(3),e.s9C("payload",0===ui.selInfoType.infoID?ui.information.identity_pubkey:ui.information.uris[ui.selInfoType.infoID-1]),e.xp6(1),e.hij("Copy ",ui.selInfoType.infoKey,""))},dependencies:[pe.mk,pe.sg,pe.O5,kt.BN,F.xw,F.Wh,F.yH,ie.oO,de.lW,te.dn,te.dk,Rt.KE,E.d,$e.gD,ut.ey,o.uU,l.y,y.h]})}return We})();var Fi=p(9191),Ri=p(234),Ui=p(2249),nn=p(4818),cn=p(9862),Qi=p(2285),$t=p(5813),Hi=p(6046);let Ee=(()=>{class We{constructor(st,Jt,ui,En,Hn,Ar,vr,La,Ur,ga,sa){this.actions=st,this.httpClient=Jt,this.store=ui,this.logger=En,this.wsService=Hn,this.sessionService=Ar,this.commonService=vr,this.dataService=La,this.dialog=Ur,this.snackBar=ga,this.router=sa,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new g.x,new g.x],this.closeAllDialogs=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.CLOSE_ALL_DIALOGS),(0,u.U)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.OPEN_SNACK_BAR),(0,u.U)(Li=>{"string"==typeof Li.payload?this.snackBar.open(Li.payload):this.snackBar.open(Li.payload.message,"","ERROR"===Li.payload.type?{duration:Li.payload.duration?Li.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===Li.payload.type?{duration:Li.payload.duration?Li.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:Li.payload.duration?Li.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.OPEN_SPINNER),(0,u.U)(Li=>{Li.payload!==D.m6.NO_SPINNER&&(this.dialogRef=this.dialog.open(Y,{panelClass:"spinner-dialog-panel",data:{titleMessage:Li.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.CLOSE_SPINNER),(0,u.U)(Li=>{if(Li.payload!==D.m6.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===Li.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(Gt=>{Gt.componentInstance&&Gt.componentInstance.data&&Gt.componentInstance.data.titleMessage&&Gt.componentInstance.data.titleMessage===Li.payload&&Gt.close()})}catch(Gt){this.logger.error(Gt)}})),{dispatch:!1}),this.openAlert=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.OPEN_ALERT),(0,u.U)(Li=>{const Gt=JSON.parse(JSON.stringify(Li.payload));Gt.width||(Gt.width=this.alertWidth),this.dialogRef=this.dialog.open(Li.payload.data.component?Li.payload.data.component:re,Gt)})),{dispatch:!1}),this.closeAlert=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.CLOSE_ALERT),(0,u.U)(Li=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Li.payload),Li.payload))),{dispatch:!1}),this.openConfirm=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.OPEN_CONFIRMATION),(0,u.U)(Li=>{const Gt=JSON.parse(JSON.stringify(Li.payload));Gt.width||(Gt.width=this.confirmWidth),this.dialogRef=this.dialog.open(Ut,Gt)})),{dispatch:!1}),this.closeConfirm=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.CLOSE_CONFIRMATION),(0,P.q)(1),(0,u.U)(Li=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Li.payload),Li.payload))),{dispatch:!1}),this.showNodePubkey=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.SHOW_PUBKEY),(0,d.M)(this.store.select(nn.R4)),(0,S.z)(([Li,Gt])=>(this.sessionService.getItem("token")&&Gt.identity_pubkey?this.store.dispatch((0,Nt.qR)({payload:{data:{information:Gt,component:Si}}})):this.snackBar.open("Node Pubkey does not exist."),(0,T.of)({type:D.pg.VOID}))))),this.appConfigFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.FETCH_RTL_CONFIG),(0,S.z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===D.cu.XS||this.screenSize===D.cu.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===D.cu.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="50%",this.confirmWidth="53%"),this.store.dispatch((0,Nt.ac)({payload:D.m6.GET_RTL_CONFIG})),this.store.dispatch((0,Nt.qi)({payload:{action:"FetchRTLConfig",status:D.Bn.INITIATED}})),this.sessionService.getItem("token")?this.httpClient.get(D.vv.CONF_API+"/rtlconf"):this.httpClient.get(D.vv.CONF_API+"/rtlconfinit"))),(0,u.U)(Li=>{this.logger.info(Li),this.store.dispatch((0,Nt.uO)({payload:D.m6.GET_RTL_CONFIG})),this.store.dispatch((0,Nt.qi)({payload:{action:"FetchRTLConfig",status:D.Bn.COMPLETED}}));let Gt=null;return Li.nodes.forEach(yi=>{yi.settings.currencyUnits=[...D.uA,yi.settings?.currencyUnit?yi.settings?.currencyUnit:""],+(yi.index||-1)===Li.selectedNodeIndex&&(Gt=yi)}),Gt?(this.store.dispatch((0,Nt.fk)({payload:{uiMessage:D.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:Gt,isInitialSetup:!0}})),{type:D.pg.SET_RTL_CONFIG,payload:Li}):{type:D.pg.VOID}}),(0,M.K)(Li=>(this.handleErrorWithAlert("FetchRTLConfig",D.m6.GET_RTL_CONFIG,"Fetch RTL Config Failed!",D.vv.CONF_API,Li),(0,T.of)({type:D.pg.VOID}))))),this.settingSave=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.SAVE_SETTINGS),(0,S.z)(Li=>{this.store.dispatch((0,Nt.ac)({payload:Li.payload.uiMessage})),this.store.dispatch((0,Nt.qi)({payload:{action:"UpdateSettings",status:D.Bn.INITIATED}}));let Gt=new c.y;if(Li.payload.settings&&Li.payload.defaultNodeIndex){const yi=this.httpClient.post(D.vv.CONF_API,{updatedSettings:Li.payload.settings}),gi=this.httpClient.post(D.vv.CONF_API+"/updateDefaultNode",{defaultNodeIndex:Li.payload.defaultNodeIndex});Gt=(0,C.D)([yi,gi])}else Li.payload.settings&&!Li.payload.defaultNodeIndex?Gt=this.httpClient.post(D.vv.CONF_API,{updatedSettings:Li.payload.settings}):!Li.payload.settings&&Li.payload.defaultNodeIndex&&(Gt=this.httpClient.post(D.vv.CONF_API+"/updateDefaultNode",{defaultNodeIndex:Li.payload.defaultNodeIndex}));return Gt.pipe((0,u.U)(yi=>(this.logger.info(yi),this.store.dispatch((0,Nt.qi)({payload:{action:"UpdateSettings",status:D.Bn.COMPLETED}})),this.store.dispatch((0,Nt.uO)({payload:Li.payload.uiMessage})),{type:D.pg.OPEN_SNACK_BAR,payload:yi.length?yi[0].message+".":yi.message+"."})),(0,M.K)(yi=>(this.handleErrorWithAlert("UpdateSettings",Li.payload.uiMessage,"Update Settings Failed!",D.vv.CONF_API,yi.length?yi[0]:yi),(0,T.of)({type:D.pg.VOID}))))}))),this.updateServicesettings=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.UPDATE_SERVICE_SETTINGS),(0,S.z)(Li=>(this.store.dispatch((0,Nt.ac)({payload:Li.payload.uiMessage})),this.store.dispatch((0,Nt.qi)({payload:{action:"UpdateServiceSettings",status:D.Bn.INITIATED}})),this.httpClient.post(D.vv.CONF_API+"/updateServiceSettings",Li.payload).pipe((0,u.U)(Gt=>(this.logger.info(Gt),this.store.dispatch((0,Nt.qi)({payload:{action:"UpdateServiceSettings",status:D.Bn.COMPLETED}})),this.store.dispatch((0,Nt.uO)({payload:Li.payload.uiMessage})),this.store.dispatch((0,Nt.Tm)({payload:Li.payload})),{type:D.pg.OPEN_SNACK_BAR,payload:Gt.message+"."})),(0,M.K)(Gt=>(this.handleErrorWithAlert("UpdateServiceSettings",Li.payload.uiMessage,"Update Service Settings Failed!",D.vv.CONF_API,Gt),(0,T.of)({type:D.pg.VOID})))))))),this.twoFASettingSave=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.TWO_FA_SAVE_SETTINGS),(0,S.z)(Li=>(this.store.dispatch((0,Nt.ac)({payload:D.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,Nt.qi)({payload:{action:"Update2FASettings",status:D.Bn.INITIATED}})),this.httpClient.post(D.vv.CONF_API+"/update2FA",{secret2fa:Li.payload.secret2fa}))),(0,d.M)(this.store.select(nn.Yj)),(0,u.U)(([Li,Gt])=>{this.logger.info(Li),Gt.enable2FA=!Gt.enable2FA,this.store.dispatch((0,Nt.qi)({payload:{action:"Update2FASettings",status:D.Bn.COMPLETED}})),this.store.dispatch((0,Nt.uO)({payload:D.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,Nt.XT)({payload:Gt}))}),(0,M.K)(Li=>(this.handleErrorWithAlert("Update2FASettings",D.m6.UPDATE_UI_SETTINGS,"Update 2FA Settings Failed!",D.vv.CONF_API,Li),(0,T.of)({type:D.pg.VOID})))),{dispatch:!1}),this.configFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.FETCH_CONFIG),(0,S.z)(Li=>(this.store.dispatch((0,Nt.ac)({payload:D.m6.OPEN_CONFIG_FILE})),this.store.dispatch((0,Nt.qi)({payload:{action:"fetchConfig",status:D.Bn.INITIATED}})),this.httpClient.get(D.vv.CONF_API+"/config/"+Li.payload).pipe((0,u.U)(Gt=>(this.store.dispatch((0,Nt.qi)({payload:{action:"fetchConfig",status:D.Bn.COMPLETED}})),this.store.dispatch((0,Nt.uO)({payload:D.m6.OPEN_CONFIG_FILE})),{type:D.pg.SHOW_CONFIG,payload:Gt})),(0,M.K)(Gt=>(this.handleErrorWithAlert("fetchConfig",D.m6.OPEN_CONFIG_FILE,"Fetch Config Failed!",D.vv.CONF_API+"/config/"+Li.payload,Gt),(0,T.of)({type:D.pg.VOID})))))))),this.showLnConfig=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.SHOW_CONFIG),(0,u.U)(Li=>Li.payload)),{dispatch:!1}),this.isAuthorized=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.IS_AUTHORIZED),(0,S.z)(Li=>(this.store.dispatch((0,Nt.qi)({payload:{action:"IsAuthorized",status:D.Bn.INITIATED}})),this.httpClient.post(D.vv.AUTHENTICATE_API,{authenticateWith:Li.payload&&""!==Li.payload.trim()?D.OJ.PASSWORD:D.OJ.JWT,authenticationValue:Li.payload&&""!==Li.payload.trim()?Li.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,u.U)(Gt=>(this.logger.info(Gt),this.store.dispatch((0,Nt.qi)({payload:{action:"IsAuthorized",status:D.Bn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:D.pg.IS_AUTHORIZED_RES,payload:Gt})),(0,M.K)(Gt=>(this.handleErrorWithAlert("IsAuthorized",D.m6.NO_SPINNER,"Authorization Failed",D.vv.AUTHENTICATE_API,Gt),(0,T.of)({type:D.pg.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.IS_AUTHORIZED_RES),(0,u.U)(Li=>Li.payload)),{dispatch:!1}),this.authLogin=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.LOGIN),(0,d.M)(this.store.select(nn.Yj)),(0,S.z)(([Li,Gt])=>(this.store.dispatch((0,Fi.Ll)({payload:null})),this.store.dispatch((0,Ri.mI)({payload:null})),this.store.dispatch((0,Ui.Fd)({payload:null})),this.store.dispatch((0,Nt.qi)({payload:{action:"Login",status:D.Bn.INITIATED}})),this.httpClient.post(D.vv.AUTHENTICATE_API,{authenticateWith:Li.payload.password?D.OJ.PASSWORD:D.OJ.JWT,authenticationValue:Li.payload.password?Li.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:Li.payload.twoFAToken?Li.payload.twoFAToken:""}).pipe((0,u.U)(yi=>{this.logger.info(yi),this.store.dispatch((0,Nt.qi)({payload:{action:"Login",status:D.Bn.COMPLETED}})),this.setLoggedInDetails(Li.payload.defaultPassword,yi)}),(0,M.K)(yi=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",D.m6.NO_SPINNER,yi),+Gt.sso.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:yi.error&&yi.error.error?yi.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"]),(0,T.of)({type:D.pg.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.VERIFY_TWO_FA),(0,S.z)(Li=>(this.store.dispatch((0,Nt.ac)({payload:D.m6.VERIFY_TOKEN})),this.store.dispatch((0,Nt.qi)({payload:{action:"VerifyToken",status:D.Bn.INITIATED}})),this.httpClient.post(D.vv.AUTHENTICATE_API+"/token",{authentication2FA:Li.payload.token}).pipe((0,u.U)(Gt=>{this.logger.info(Gt),this.store.dispatch((0,Nt.uO)({payload:D.m6.VERIFY_TOKEN})),this.store.dispatch((0,Nt.qi)({payload:{action:"VerifyToken",status:D.Bn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,Li.payload.authResponse)}),(0,M.K)(Gt=>(this.handleErrorWithAlert("VerifyToken",D.m6.VERIFY_TOKEN,"Authorization Failed!",D.vv.AUTHENTICATE_API+"/token",Gt),(0,T.of)({type:D.pg.VOID}))))))),{dispatch:!1}),this.logOut=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.LOGOUT),(0,S.z)(Li=>(this.store.dispatch((0,Nt.ac)({payload:D.m6.LOG_OUT})),Li.sso&&+Li.sso.rtlSSO?window.location.href=Li.sso.logoutRedirectLink:this.router.navigate(["./login"]),this.sessionService.clearAll(),this.store.dispatch((0,Nt._V)({payload:{}})),this.store.dispatch((0,Nt.uO)({payload:D.m6.LOG_OUT})),this.logger.info("Logged out from browser"),this.httpClient.get(D.vv.AUTHENTICATE_API+"/logout").pipe((0,u.U)(Gt=>{this.logger.info(Gt),this.store.dispatch((0,Nt.uO)({payload:D.m6.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,t.GW)(()=>this.actions.pipe((0,I.R)(this.unSubs[1]),(0,t.l4)(D.pg.RESET_PASSWORD),(0,S.z)(Li=>(this.store.dispatch((0,Nt.qi)({payload:{action:"ResetPassword",status:D.Bn.INITIATED}})),this.httpClient.post(D.vv.AUTHENTICATE_API+"/reset",{currPassword:Li.payload.currPassword,newPassword:Li.payload.newPassword}).pipe((0,I.R)(this.unSubs[0]),(0,u.U)(Gt=>(this.logger.info(Gt),this.store.dispatch((0,Nt.qi)({payload:{action:"ResetPassword",status:D.Bn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,Nt.jW)({payload:"Password Reset Successful!"})),this.SetToken(Gt.token),{type:D.pg.RESET_PASSWORD_RES,payload:Gt.token})),(0,M.K)(Gt=>(this.handleErrorWithAlert("ResetPassword",D.m6.NO_SPINNER,"Password Reset Failed!",D.vv.AUTHENTICATE_API+"/reset",Gt),(0,T.of)({type:D.pg.VOID})))))))),this.setSelectedNode=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.SET_SELECTED_NODE),(0,S.z)(Li=>(this.store.dispatch((0,Nt.ac)({payload:Li.payload.uiMessage})),this.store.dispatch((0,Nt.qi)({payload:{action:"UpdateSelNode",status:D.Bn.INITIATED}})),this.httpClient.get(D.vv.CONF_API+"/updateSelNode/"+Li.payload.currentLnNode?.index+"/"+Li.payload.prevLnNodeIndex).pipe((0,u.U)(Gt=>(this.logger.info(Gt),this.store.dispatch((0,Nt.qi)({payload:{action:"UpdateSelNode",status:D.Bn.COMPLETED}})),this.store.dispatch((0,Nt.uO)({payload:Li.payload.uiMessage})),this.initializeNode(Li.payload.currentLnNode,Li.payload.isInitialSetup),{type:D.pg.VOID})),(0,M.K)(Gt=>(this.handleErrorWithAlert("UpdateSelNode",Li.payload.uiMessage,"Update Selected Node Failed!",D.vv.CONF_API+"/updateSelNode",Gt),(0,T.of)({type:D.pg.VOID})))))))),this.fetchFile=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.FETCH_FILE),(0,S.z)(Li=>{this.store.dispatch((0,Nt.ac)({payload:D.m6.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,Nt.qi)({payload:{action:"FetchFile",status:D.Bn.INITIATED}}));const Gt="?channel="+Li.payload.channelPoint+(Li.payload.path?"&path="+Li.payload.path:"");return this.httpClient.get(D.vv.CONF_API+"/file"+Gt).pipe((0,u.U)(yi=>(this.store.dispatch((0,Nt.qi)({payload:{action:"FetchFile",status:D.Bn.COMPLETED}})),this.store.dispatch((0,Nt.uO)({payload:D.m6.DOWNLOAD_BACKUP_FILE})),{type:D.pg.SHOW_FILE,payload:yi})),(0,M.K)(yi=>(this.handleErrorWithAlert("fetchFile",D.m6.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",D.vv.CONF_API+"/file"+Gt,{status:this.commonService.extractErrorNumber(yi),error:{error:this.commonService.extractErrorCode(yi)}}),(0,T.of)({type:D.pg.VOID}))))}))),this.showFile=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(D.pg.SHOW_FILE),(0,u.U)(Li=>Li.payload)),{dispatch:!1})}initializeNode(st,Jt){this.logger.info("Initializing node from RTL Effects.");const ui=Jt?"":"HOME",En={userPersona:st.settings.userPersona,channelBackupPath:st.settings.channelBackupPath,unannouncedChannels:!!st.settings.unannouncedChannels,selCurrencyUnit:st.settings.currencyUnit,currencyUnits:D.uA,fiatConversion:st.settings.fiatConversion,lnImplementation:st.lnImplementation,swapServerUrl:st.settings.swapServerUrl,boltzServerUrl:st.settings.boltzServerUrl,enableOffers:st.settings.enableOffers,enablePeerswap:st.settings.enablePeerswap};if(st.settings.fiatConversion&&st.settings.currencyUnit&&(En.currencyUnits=[...D.uA,st.settings.currencyUnit]),this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clnUnlocked"),this.sessionService.removeItem("eclUnlocked"),this.store.dispatch((0,Nt.vI)({payload:st})),this.store.dispatch((0,Fi.Ll)({payload:En})),this.store.dispatch((0,Ri.mI)({payload:En})),this.store.dispatch((0,Ui.Fd)({payload:En})),this.sessionService.getItem("token")){const Hn=st.lnImplementation?st.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(Hn);const Ar=!(0,e.X6Q)()&&window.location.origin?window.location.origin+"/rtl/api":D.T5;switch(this.wsService.connectWebSocket(Ar?.replace(/^http/,"ws")+D.vv.Web_SOCKET_API,st.index?st.index.toString():"-1"),Hn){case"CLN":this.store.dispatch((0,Ri.wD)()),this.store.dispatch((0,Ri.W)({payload:{loadPage:ui}}));break;case"ECL":this.store.dispatch((0,Ui.wD)()),this.store.dispatch((0,Ui.iz)({payload:{loadPage:ui}}));break;default:this.store.dispatch((0,Fi.wD)()),this.store.dispatch((0,Fi.sQ)({payload:{loadPage:ui}}))}}}SetToken(st){st?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",st)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(st,Jt){this.logger.info("Successfully Authorized!"),this.SetToken(Jt.token),this.sessionService.setItem("defaultPassword",st),st?(this.store.dispatch((0,Nt.jW)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,Nt.ey)())}handleErrorWithoutAlert(st,Jt,ui){this.logger.error("ERROR IN: "+st+"\n"+JSON.stringify(ui)),401===ui.status&&"Login"!==st?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Nt.ts)()),this.store.dispatch((0,Nt.kS)()),this.store.dispatch((0,Nt.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,Nt.uO)({payload:Jt})),this.store.dispatch((0,Nt.qi)({payload:{action:st,status:D.Bn.ERROR,statusCode:ui.status?ui.status.toString():"",message:this.commonService.extractErrorMessage(ui)}})))}handleErrorWithAlert(st,Jt,ui,En,Hn){if(this.logger.error(Hn),0===Hn.status&&Hn.statusText&&"Unknown Error"===Hn.statusText&&(Hn={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===Hn.status&&"Login"!==st)this.logger.info("Redirecting to Login"),this.store.dispatch((0,Nt.ts)()),this.store.dispatch((0,Nt.kS)()),this.store.dispatch((0,Nt.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,Nt.uO)({payload:Jt}));const Ar=this.commonService.extractErrorMessage(Hn);this.store.dispatch((0,Nt.qR)({payload:{data:{type:"ERROR",alertTitle:ui,message:{code:Hn.status?Hn.status:"Unknown Error",message:Ar,URL:En},component:bt.H}}})),this.store.dispatch((0,Nt.qi)({payload:{action:st,status:D.Bn.ERROR,statusCode:Hn.status?Hn.status.toString():"",message:Ar,URL:En}}))}}ngOnDestroy(){this.unSubs.forEach(st=>{st.next(null),st.complete()})}static#e=this.\u0275fac=function(Jt){return new(Jt||We)(e.LFG(t.eX),e.LFG(cn.eN),e.LFG(Ke.yh),e.LFG(Q.mQ),e.LFG(Qi.d),e.LFG($t.m),e.LFG(ne.v),e.LFG(Hi.D),e.LFG(R.uw),e.LFG(J.ux),e.LFG(X.F0))};static#t=this.\u0275prov=e.Yz7({token:We,factory:We.\u0275fac})}return We})()},4818:(Ue,q,p)=>{"use strict";p.d(q,{R4:()=>C,Sr:()=>P,Yj:()=>c,dT:()=>T,gW:()=>d,ul:()=>u});var e=p(4221);const t=(0,e.ZF)("root"),T=((0,e.P1)(t,S=>S.apiURL),(0,e.P1)(t,S=>S.selNode)),c=(0,e.P1)(t,S=>S.appConfig),C=(0,e.P1)(t,S=>S.nodeData),u=(0,e.P1)(t,S=>S.apisCallStatus.Login),P=(0,e.P1)(t,S=>S.apisCallStatus.IsAuthorized),d=(0,e.P1)(t,S=>({nodeDate:S.nodeData,selNode:S.selNode}))},9941:(Ue,q,p)=>{"use strict";var e=p(6593),t=p(5879),g=p(6825);function c(N){return new t.vHH(3e3,!1)}function Ye(N){switch(N.length){case 0:return new g.ZN;case 1:return N[0];default:return new g.ZE(N)}}function Oe(N,z,v=new Map,U=new Map){const Z=[],Re=[];let Vt=-1,ei=null;if(z.forEach(fi=>{const Ei=fi.get("offset"),an=Ei==Vt,ji=an&&ei||new Map;fi.forEach((Un,On)=>{let pn=On,In=Un;if("offset"!==On)switch(pn=N.normalizePropertyName(pn,Z),In){case g.k1:In=v.get(On);break;case g.l3:In=U.get(On);break;default:In=N.normalizeStyleValue(On,pn,In,Z)}ji.set(pn,In)}),an||Re.push(ji),ei=ji,Vt=Ei}),Z.length)throw function o(N){return new t.vHH(3502,!1)}();return Re}function Qe(N,z,v,U){switch(z){case"start":N.onStart(()=>U(v&&be(v,"start",N)));break;case"done":N.onDone(()=>U(v&&be(v,"done",N)));break;case"destroy":N.onDestroy(()=>U(v&&be(v,"destroy",N)))}}function be(N,z,v){const Re=ue(N.element,N.triggerName,N.fromState,N.toState,z||N.phaseName,v.totalTime??N.totalTime,!!v.disabled),Vt=N._data;return null!=Vt&&(Re._data=Vt),Re}function ue(N,z,v,U,Z="",Re=0,Vt){return{element:N,triggerName:z,fromState:v,toState:U,phaseName:Z,totalTime:Re,disabled:!!Vt}}function xe(N,z,v){let U=N.get(z);return U||N.set(z,U=v),U}function Pe(N){const z=N.indexOf(":");return[N.substring(1,z),N.slice(z+1)]}const oe=(()=>typeof document>"u"?null:document.documentElement)();function ze(N){const z=N.parentNode||N.host||null;return z===oe?null:z}let le=null,ge=!1;function Ne(N,z){for(;z;){if(z===N)return!0;z=ze(z)}return!1}function Ve(N,z,v){if(v)return Array.from(N.querySelectorAll(z));const U=N.querySelector(z);return U?[U]:[]}let ve=(()=>{class N{validateStyleProperty(v){return function fe(N){le||(le=function Le(){return typeof document<"u"?document.body:null}()||{},ge=!!le.style&&"WebkitAppearance"in le.style);let z=!0;return le.style&&!function we(N){return"ebkit"==N.substring(1,6)}(N)&&(z=N in le.style,!z&&ge&&(z="Webkit"+N.charAt(0).toUpperCase()+N.slice(1)in le.style)),z}(v)}matchesElement(v,U){return!1}containsElement(v,U){return Ne(v,U)}getParentElement(v){return ze(v)}query(v,U,Z){return Ve(v,U,Z)}computeStyle(v,U,Z){return Z||""}animate(v,U,Z,Re,Vt,ei=[],fi){return new g.ZN(Z,Re)}static#e=this.\u0275fac=function(U){return new(U||N)};static#t=this.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac})}return N})(),De=(()=>{class N{static#e=this.NOOP=new ve}return N})();const xt=1e3,Ct="ng-enter",ke="ng-leave",ot="ng-trigger",Je=".ng-trigger",re="ng-animating",Be=".ng-animating";function Nt(N){if("number"==typeof N)return N;const z=N.match(/^(-?[\.\d]+)(m?s)/);return!z||z.length<2?0:Ke(parseFloat(z[1]),z[2])}function Ke(N,z){return"s"===z?N*xt:N}function yt(N,z,v){return N.hasOwnProperty("duration")?N:function kt(N,z,v){let Z,Re=0,Vt="";if("string"==typeof N){const ei=N.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ei)return z.push(c()),{duration:0,delay:0,easing:""};Z=Ke(parseFloat(ei[1]),ei[2]);const fi=ei[3];null!=fi&&(Re=Ke(parseFloat(fi),ei[4]));const Ei=ei[5];Ei&&(Vt=Ei)}else Z=N;if(!v){let ei=!1,fi=z.length;Z<0&&(z.push(function C(){return new t.vHH(3100,!1)}()),ei=!0),Re<0&&(z.push(function u(){return new t.vHH(3101,!1)}()),ei=!0),ei&&z.splice(fi,0,c())}return{duration:Z,delay:Re,easing:Vt}}(N,z,v)}function Dt(N,z={}){return Object.keys(N).forEach(v=>{z[v]=N[v]}),z}function Rt(N){const z=new Map;return Object.keys(N).forEach(v=>{z.set(v,N[v])}),z}function Te(N,z=new Map,v){if(v)for(let[U,Z]of v)z.set(U,Z);for(let[U,Z]of N)z.set(U,Z);return z}function tt(N,z,v){z.forEach((U,Z)=>{const Re=At(Z);v&&!v.has(Z)&&v.set(Z,N.style[Re]),N.style[Re]=U})}function Ze(N,z){z.forEach((v,U)=>{const Z=At(U);N.style[Z]=""})}function Mt(N){return Array.isArray(N)?1==N.length?N[0]:(0,g.vP)(N):N}const Tt=new RegExp("{{\\s*(.+?)\\s*}}","g");function mt(N){let z=[];if("string"==typeof N){let v;for(;v=Tt.exec(N);)z.push(v[1]);Tt.lastIndex=0}return z}function he(N,z,v){const U=N.toString(),Z=U.replace(Tt,(Re,Vt)=>{let ei=z[Vt];return null==ei&&(v.push(function d(N){return new t.vHH(3003,!1)}()),ei=""),ei.toString()});return Z==U?N:Z}function ee(N){const z=[];let v=N.next();for(;!v.done;)z.push(v.value),v=N.next();return z}const Ce=/-+([a-z0-9])/g;function At(N){return N.replace(Ce,(...z)=>z[1].toUpperCase())}function Kt(N,z,v){switch(z.type){case 7:return N.visitTrigger(z,v);case 0:return N.visitState(z,v);case 1:return N.visitTransition(z,v);case 2:return N.visitSequence(z,v);case 3:return N.visitGroup(z,v);case 4:return N.visitAnimate(z,v);case 5:return N.visitKeyframes(z,v);case 6:return N.visitStyle(z,v);case 8:return N.visitReference(z,v);case 9:return N.visitAnimateChild(z,v);case 10:return N.visitAnimateRef(z,v);case 11:return N.visitQuery(z,v);case 12:return N.visitStagger(z,v);default:throw function S(N){return new t.vHH(3004,!1)}()}}function Xe(N,z){return window.getComputedStyle(N)[z]}const xi="*";function Ut(N,z){const v=[];return"string"==typeof N?N.split(/\s*,\s*/).forEach(U=>function bt(N,z,v){if(":"==N[0]){const fi=function $e(N,z){switch(N){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(v,U)=>parseFloat(U)>parseFloat(v);case":decrement":return(v,U)=>parseFloat(U)<parseFloat(v);default:return z.push(function te(N){return new t.vHH(3016,!1)}()),"* => *"}}(N,v);if("function"==typeof fi)return void z.push(fi);N=fi}const U=N.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==U||U.length<4)return v.push(function de(N){return new t.vHH(3015,!1)}()),z;const Z=U[1],Re=U[2],Vt=U[3];z.push(qt(Z,Vt));"<"==Re[0]&&!(Z==xi&&Vt==xi)&&z.push(qt(Vt,Z))}(U,v,z)):v.push(N),v}const ut=new Set(["true","1"]),Et=new Set(["false","0"]);function qt(N,z){const v=ut.has(N)||Et.has(N),U=ut.has(z)||Et.has(z);return(Z,Re)=>{let Vt=N==xi||N==Z,ei=z==xi||z==Re;return!Vt&&v&&"boolean"==typeof Z&&(Vt=Z?ut.has(N):Et.has(N)),!ei&&U&&"boolean"==typeof Re&&(ei=Re?ut.has(z):Et.has(z)),Vt&&ei}}const Si=new RegExp("s*:selfs*,?","g");function Fi(N,z,v,U){return new Ui(N).build(z,v,U)}class Ui{constructor(z){this._driver=z}build(z,v,U){const Z=new Qi(v);return this._resetContextStyleTimingState(Z),Kt(this,Mt(z),Z)}_resetContextStyleTimingState(z){z.currentQuerySelector="",z.collectedStyles=new Map,z.collectedStyles.set("",new Map),z.currentTime=0}visitTrigger(z,v){let U=v.queryCount=0,Z=v.depCount=0;const Re=[],Vt=[];return"@"==z.name.charAt(0)&&v.errors.push(function I(){return new t.vHH(3006,!1)}()),z.definitions.forEach(ei=>{if(this._resetContextStyleTimingState(v),0==ei.type){const fi=ei,Ei=fi.name;Ei.toString().split(/\s*,\s*/).forEach(an=>{fi.name=an,Re.push(this.visitState(fi,v))}),fi.name=Ei}else if(1==ei.type){const fi=this.visitTransition(ei,v);U+=fi.queryCount,Z+=fi.depCount,Vt.push(fi)}else v.errors.push(function D(){return new t.vHH(3007,!1)}())}),{type:7,name:z.name,states:Re,transitions:Vt,queryCount:U,depCount:Z,options:null}}visitState(z,v){const U=this.visitStyle(z.styles,v),Z=z.options&&z.options.params||null;if(U.containsDynamicStyles){const Re=new Set,Vt=Z||{};U.styles.forEach(ei=>{ei instanceof Map&&ei.forEach(fi=>{mt(fi).forEach(Ei=>{Vt.hasOwnProperty(Ei)||Re.add(Ei)})})}),Re.size&&(ee(Re.values()),v.errors.push(function R(N,z){return new t.vHH(3008,!1)}()))}return{type:0,name:z.name,style:U,options:Z?{params:Z}:null}}visitTransition(z,v){v.queryCount=0,v.depCount=0;const U=Kt(this,Mt(z.animation),v);return{type:1,matchers:Ut(z.expr,v.errors),animation:U,queryCount:v.queryCount,depCount:v.depCount,options:Ee(z.options)}}visitSequence(z,v){return{type:2,steps:z.steps.map(U=>Kt(this,U,v)),options:Ee(z.options)}}visitGroup(z,v){const U=v.currentTime;let Z=0;const Re=z.steps.map(Vt=>{v.currentTime=U;const ei=Kt(this,Vt,v);return Z=Math.max(Z,v.currentTime),ei});return v.currentTime=Z,{type:3,steps:Re,options:Ee(z.options)}}visitAnimate(z,v){const U=function Hi(N,z){if(N.hasOwnProperty("duration"))return N;if("number"==typeof N)return We(yt(N,z).duration,0,"");const v=N;if(v.split(/\s+/).some(Re=>"{"==Re.charAt(0)&&"{"==Re.charAt(1))){const Re=We(0,0,"");return Re.dynamic=!0,Re.strValue=v,Re}const Z=yt(v,z);return We(Z.duration,Z.delay,Z.easing)}(z.timings,v.errors);v.currentAnimateTimings=U;let Z,Re=z.styles?z.styles:(0,g.oB)({});if(5==Re.type)Z=this.visitKeyframes(Re,v);else{let Vt=z.styles,ei=!1;if(!Vt){ei=!0;const Ei={};U.easing&&(Ei.easing=U.easing),Vt=(0,g.oB)(Ei)}v.currentTime+=U.duration+U.delay;const fi=this.visitStyle(Vt,v);fi.isEmptyStep=ei,Z=fi}return v.currentAnimateTimings=null,{type:4,timings:U,style:Z,options:null}}visitStyle(z,v){const U=this._makeStyleAst(z,v);return this._validateStyleAst(U,v),U}_makeStyleAst(z,v){const U=[],Z=Array.isArray(z.styles)?z.styles:[z.styles];for(let ei of Z)"string"==typeof ei?ei===g.l3?U.push(ei):v.errors.push(new t.vHH(3002,!1)):U.push(Rt(ei));let Re=!1,Vt=null;return U.forEach(ei=>{if(ei instanceof Map&&(ei.has("easing")&&(Vt=ei.get("easing"),ei.delete("easing")),!Re))for(let fi of ei.values())if(fi.toString().indexOf("{{")>=0){Re=!0;break}}),{type:6,styles:U,easing:Vt,offset:z.offset,containsDynamicStyles:Re,options:null}}_validateStyleAst(z,v){const U=v.currentAnimateTimings;let Z=v.currentTime,Re=v.currentTime;U&&Re>0&&(Re-=U.duration+U.delay),z.styles.forEach(Vt=>{"string"!=typeof Vt&&Vt.forEach((ei,fi)=>{const Ei=v.collectedStyles.get(v.currentQuerySelector),an=Ei.get(fi);let ji=!0;an&&(Re!=Z&&Re>=an.startTime&&Z<=an.endTime&&(v.errors.push(function Y(N,z,v,U,Z){return new t.vHH(3010,!1)}()),ji=!1),Re=an.startTime),ji&&Ei.set(fi,{startTime:Re,endTime:Z}),v.options&&function oi(N,z,v){const U=z.params||{},Z=mt(N);Z.length&&Z.forEach(Re=>{U.hasOwnProperty(Re)||v.push(function P(N){return new t.vHH(3001,!1)}())})}(ei,v.options,v.errors)})})}visitKeyframes(z,v){const U={type:5,styles:[],options:null};if(!v.currentAnimateTimings)return v.errors.push(function Q(){return new t.vHH(3011,!1)}()),U;let Re=0;const Vt=[];let ei=!1,fi=!1,Ei=0;const an=z.steps.map($r=>{const fa=this._makeStyleAst($r,v);let mo=null!=fa.offset?fa.offset:function $t(N){if("string"==typeof N)return null;let z=null;if(Array.isArray(N))N.forEach(v=>{if(v instanceof Map&&v.has("offset")){const U=v;z=parseFloat(U.get("offset")),U.delete("offset")}});else if(N instanceof Map&&N.has("offset")){const v=N;z=parseFloat(v.get("offset")),v.delete("offset")}return z}(fa.styles),aa=0;return null!=mo&&(Re++,aa=fa.offset=mo),fi=fi||aa<0||aa>1,ei=ei||aa<Ei,Ei=aa,Vt.push(aa),fa});fi&&v.errors.push(function J(){return new t.vHH(3012,!1)}()),ei&&v.errors.push(function ne(){return new t.vHH(3200,!1)}());const ji=z.steps.length;let Un=0;Re>0&&Re<ji?v.errors.push(function X(){return new t.vHH(3202,!1)}()):0==Re&&(Un=1/(ji-1));const On=ji-1,pn=v.currentTime,In=v.currentAnimateTimings,Cr=In.duration;return an.forEach(($r,fa)=>{const mo=Un>0?fa==On?1:Un*fa:Vt[fa],aa=mo*Cr;v.currentTime=pn+In.delay+aa,In.duration=aa,this._validateStyleAst($r,v),$r.offset=mo,U.styles.push($r)}),U}visitReference(z,v){return{type:8,animation:Kt(this,Mt(z.animation),v),options:Ee(z.options)}}visitAnimateChild(z,v){return v.depCount++,{type:9,options:Ee(z.options)}}visitAnimateRef(z,v){return{type:10,animation:this.visitReference(z.animation,v),options:Ee(z.options)}}visitQuery(z,v){const U=v.currentQuerySelector,Z=z.options||{};v.queryCount++,v.currentQuery=z;const[Re,Vt]=function nn(N){const z=!!N.split(/\s*,\s*/).find(v=>":self"==v);return z&&(N=N.replace(Si,"")),N=N.replace(/@\*/g,Je).replace(/@\w+/g,v=>Je+"-"+v.slice(1)).replace(/:animating/g,Be),[N,z]}(z.selector);v.currentQuerySelector=U.length?U+" "+Re:Re,xe(v.collectedStyles,v.currentQuerySelector,new Map);const ei=Kt(this,Mt(z.animation),v);return v.currentQuery=null,v.currentQuerySelector=U,{type:11,selector:Re,limit:Z.limit||0,optional:!!Z.optional,includeSelf:Vt,animation:ei,originalSelector:z.selector,options:Ee(z.options)}}visitStagger(z,v){v.currentQuery||v.errors.push(function pe(){return new t.vHH(3013,!1)}());const U="full"===z.timings?{duration:0,delay:0,easing:"full"}:yt(z.timings,v.errors,!0);return{type:12,animation:Kt(this,Mt(z.animation),v),timings:U,options:null}}}class Qi{constructor(z){this.errors=z,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 Ee(N){return N?(N=Dt(N)).params&&(N.params=function cn(N){return N?Dt(N):null}(N.params)):N={},N}function We(N,z,v){return{duration:N,delay:z,easing:v}}function rt(N,z,v,U,Z,Re,Vt=null,ei=!1){return{type:1,element:N,keyframes:z,preStyleProps:v,postStyleProps:U,duration:Z,delay:Re,totalTime:Z+Re,easing:Vt,subTimeline:ei}}class st{constructor(){this._map=new Map}get(z){return this._map.get(z)||[]}append(z,v){let U=this._map.get(z);U||this._map.set(z,U=[]),U.push(...v)}has(z){return this._map.has(z)}clear(){this._map.clear()}}const En=new RegExp(":enter","g"),Ar=new RegExp(":leave","g");function vr(N,z,v,U,Z,Re=new Map,Vt=new Map,ei,fi,Ei=[]){return(new La).buildKeyframes(N,z,v,U,Z,Re,Vt,ei,fi,Ei)}class La{buildKeyframes(z,v,U,Z,Re,Vt,ei,fi,Ei,an=[]){Ei=Ei||new st;const ji=new ga(z,v,Ei,Z,Re,an,[]);ji.options=fi;const Un=fi.delay?Nt(fi.delay):0;ji.currentTimeline.delayNextStep(Un),ji.currentTimeline.setStyles([Vt],null,ji.errors,fi),Kt(this,U,ji);const On=ji.timelines.filter(pn=>pn.containsAnimation());if(On.length&&ei.size){let pn;for(let In=On.length-1;In>=0;In--){const Cr=On[In];if(Cr.element===v){pn=Cr;break}}pn&&!pn.allowOnlyTimelineStyles()&&pn.setStyles([ei],null,ji.errors,fi)}return On.length?On.map(pn=>pn.buildKeyframes()):[rt(v,[],[],[],0,Un,"",!1)]}visitTrigger(z,v){}visitState(z,v){}visitTransition(z,v){}visitAnimateChild(z,v){const U=v.subInstructions.get(v.element);if(U){const Z=v.createSubContext(z.options),Re=v.currentTimeline.currentTime,Vt=this._visitSubInstructions(U,Z,Z.options);Re!=Vt&&v.transformIntoNewTimeline(Vt)}v.previousNode=z}visitAnimateRef(z,v){const U=v.createSubContext(z.options);U.transformIntoNewTimeline(),this._applyAnimationRefDelays([z.options,z.animation.options],v,U),this.visitReference(z.animation,U),v.transformIntoNewTimeline(U.currentTimeline.currentTime),v.previousNode=z}_applyAnimationRefDelays(z,v,U){for(const Z of z){const Re=Z?.delay;if(Re){const Vt="number"==typeof Re?Re:Nt(he(Re,Z?.params??{},v.errors));U.delayNextStep(Vt)}}}_visitSubInstructions(z,v,U){let Re=v.currentTimeline.currentTime;const Vt=null!=U.duration?Nt(U.duration):null,ei=null!=U.delay?Nt(U.delay):null;return 0!==Vt&&z.forEach(fi=>{const Ei=v.appendInstructionToTimeline(fi,Vt,ei);Re=Math.max(Re,Ei.duration+Ei.delay)}),Re}visitReference(z,v){v.updateOptions(z.options,!0),Kt(this,z.animation,v),v.previousNode=z}visitSequence(z,v){const U=v.subContextCount;let Z=v;const Re=z.options;if(Re&&(Re.params||Re.delay)&&(Z=v.createSubContext(Re),Z.transformIntoNewTimeline(),null!=Re.delay)){6==Z.previousNode.type&&(Z.currentTimeline.snapshotCurrentStyles(),Z.previousNode=Ur);const Vt=Nt(Re.delay);Z.delayNextStep(Vt)}z.steps.length&&(z.steps.forEach(Vt=>Kt(this,Vt,Z)),Z.currentTimeline.applyStylesToKeyframe(),Z.subContextCount>U&&Z.transformIntoNewTimeline()),v.previousNode=z}visitGroup(z,v){const U=[];let Z=v.currentTimeline.currentTime;const Re=z.options&&z.options.delay?Nt(z.options.delay):0;z.steps.forEach(Vt=>{const ei=v.createSubContext(z.options);Re&&ei.delayNextStep(Re),Kt(this,Vt,ei),Z=Math.max(Z,ei.currentTimeline.currentTime),U.push(ei.currentTimeline)}),U.forEach(Vt=>v.currentTimeline.mergeTimelineCollectedStyles(Vt)),v.transformIntoNewTimeline(Z),v.previousNode=z}_visitTiming(z,v){if(z.dynamic){const U=z.strValue;return yt(v.params?he(U,v.params,v.errors):U,v.errors)}return{duration:z.duration,delay:z.delay,easing:z.easing}}visitAnimate(z,v){const U=v.currentAnimateTimings=this._visitTiming(z.timings,v),Z=v.currentTimeline;U.delay&&(v.incrementTime(U.delay),Z.snapshotCurrentStyles());const Re=z.style;5==Re.type?this.visitKeyframes(Re,v):(v.incrementTime(U.duration),this.visitStyle(Re,v),Z.applyStylesToKeyframe()),v.currentAnimateTimings=null,v.previousNode=z}visitStyle(z,v){const U=v.currentTimeline,Z=v.currentAnimateTimings;!Z&&U.hasCurrentStyleProperties()&&U.forwardFrame();const Re=Z&&Z.easing||z.easing;z.isEmptyStep?U.applyEmptyStep(Re):U.setStyles(z.styles,Re,v.errors,v.options),v.previousNode=z}visitKeyframes(z,v){const U=v.currentAnimateTimings,Z=v.currentTimeline.duration,Re=U.duration,ei=v.createSubContext().currentTimeline;ei.easing=U.easing,z.styles.forEach(fi=>{ei.forwardTime((fi.offset||0)*Re),ei.setStyles(fi.styles,fi.easing,v.errors,v.options),ei.applyStylesToKeyframe()}),v.currentTimeline.mergeTimelineCollectedStyles(ei),v.transformIntoNewTimeline(Z+Re),v.previousNode=z}visitQuery(z,v){const U=v.currentTimeline.currentTime,Z=z.options||{},Re=Z.delay?Nt(Z.delay):0;Re&&(6===v.previousNode.type||0==U&&v.currentTimeline.hasCurrentStyleProperties())&&(v.currentTimeline.snapshotCurrentStyles(),v.previousNode=Ur);let Vt=U;const ei=v.invokeQuery(z.selector,z.originalSelector,z.limit,z.includeSelf,!!Z.optional,v.errors);v.currentQueryTotal=ei.length;let fi=null;ei.forEach((Ei,an)=>{v.currentQueryIndex=an;const ji=v.createSubContext(z.options,Ei);Re&&ji.delayNextStep(Re),Ei===v.element&&(fi=ji.currentTimeline),Kt(this,z.animation,ji),ji.currentTimeline.applyStylesToKeyframe(),Vt=Math.max(Vt,ji.currentTimeline.currentTime)}),v.currentQueryIndex=0,v.currentQueryTotal=0,v.transformIntoNewTimeline(Vt),fi&&(v.currentTimeline.mergeTimelineCollectedStyles(fi),v.currentTimeline.snapshotCurrentStyles()),v.previousNode=z}visitStagger(z,v){const U=v.parentContext,Z=v.currentTimeline,Re=z.timings,Vt=Math.abs(Re.duration),ei=Vt*(v.currentQueryTotal-1);let fi=Vt*v.currentQueryIndex;switch(Re.duration<0?"reverse":Re.easing){case"reverse":fi=ei-fi;break;case"full":fi=U.currentStaggerTime}const an=v.currentTimeline;fi&&an.delayNextStep(fi);const ji=an.currentTime;Kt(this,z.animation,v),v.previousNode=z,U.currentStaggerTime=Z.currentTime-ji+(Z.startTime-U.currentTimeline.startTime)}}const Ur={};class ga{constructor(z,v,U,Z,Re,Vt,ei,fi){this._driver=z,this.element=v,this.subInstructions=U,this._enterClassName=Z,this._leaveClassName=Re,this.errors=Vt,this.timelines=ei,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ur,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=fi||new sa(this._driver,v,0),ei.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(z,v){if(!z)return;const U=z;let Z=this.options;null!=U.duration&&(Z.duration=Nt(U.duration)),null!=U.delay&&(Z.delay=Nt(U.delay));const Re=U.params;if(Re){let Vt=Z.params;Vt||(Vt=this.options.params={}),Object.keys(Re).forEach(ei=>{(!v||!Vt.hasOwnProperty(ei))&&(Vt[ei]=he(Re[ei],Vt,this.errors))})}}_copyOptions(){const z={};if(this.options){const v=this.options.params;if(v){const U=z.params={};Object.keys(v).forEach(Z=>{U[Z]=v[Z]})}}return z}createSubContext(z=null,v,U){const Z=v||this.element,Re=new ga(this._driver,Z,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Z,U||0));return Re.previousNode=this.previousNode,Re.currentAnimateTimings=this.currentAnimateTimings,Re.options=this._copyOptions(),Re.updateOptions(z),Re.currentQueryIndex=this.currentQueryIndex,Re.currentQueryTotal=this.currentQueryTotal,Re.parentContext=this,this.subContextCount++,Re}transformIntoNewTimeline(z){return this.previousNode=Ur,this.currentTimeline=this.currentTimeline.fork(this.element,z),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(z,v,U){const Z={duration:v??z.duration,delay:this.currentTimeline.currentTime+(U??0)+z.delay,easing:""},Re=new Li(this._driver,z.element,z.keyframes,z.preStyleProps,z.postStyleProps,Z,z.stretchStartingKeyframe);return this.timelines.push(Re),Z}incrementTime(z){this.currentTimeline.forwardTime(this.currentTimeline.duration+z)}delayNextStep(z){z>0&&this.currentTimeline.delayNextStep(z)}invokeQuery(z,v,U,Z,Re,Vt){let ei=[];if(Z&&ei.push(this.element),z.length>0){z=(z=z.replace(En,"."+this._enterClassName)).replace(Ar,"."+this._leaveClassName);let Ei=this._driver.query(this.element,z,1!=U);0!==U&&(Ei=U<0?Ei.slice(Ei.length+U,Ei.length):Ei.slice(0,U)),ei.push(...Ei)}return!Re&&0==ei.length&&Vt.push(function ie(N){return new t.vHH(3014,!1)}()),ei}}class sa{constructor(z,v,U,Z){this._driver=z,this.element=v,this.startTime=U,this._elementTimelineStylesLookup=Z,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(v),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(v,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(z){const v=1===this._keyframes.size&&this._pendingStyles.size;this.duration||v?(this.forwardTime(this.currentTime+z),v&&this.snapshotCurrentStyles()):this.startTime+=z}fork(z,v){return this.applyStylesToKeyframe(),new sa(this._driver,z,v||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(z){this.applyStylesToKeyframe(),this.duration=z,this._loadKeyframe()}_updateStyle(z,v){this._localTimelineStyles.set(z,v),this._globalTimelineStyles.set(z,v),this._styleSummary.set(z,{time:this.currentTime,value:v})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(z){z&&this._previousKeyframe.set("easing",z);for(let[v,U]of this._globalTimelineStyles)this._backFill.set(v,U||g.l3),this._currentKeyframe.set(v,g.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(z,v,U,Z){v&&this._previousKeyframe.set("easing",v);const Re=Z&&Z.params||{},Vt=function yi(N,z){const v=new Map;let U;return N.forEach(Z=>{if("*"===Z){U=U||z.keys();for(let Re of U)v.set(Re,g.l3)}else Te(Z,v)}),v}(z,this._globalTimelineStyles);for(let[ei,fi]of Vt){const Ei=he(fi,Re,U);this._pendingStyles.set(ei,Ei),this._localTimelineStyles.has(ei)||this._backFill.set(ei,this._globalTimelineStyles.get(ei)??g.l3),this._updateStyle(ei,Ei)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((z,v)=>{this._currentKeyframe.set(v,z)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((z,v)=>{this._currentKeyframe.has(v)||this._currentKeyframe.set(v,z)}))}snapshotCurrentStyles(){for(let[z,v]of this._localTimelineStyles)this._pendingStyles.set(z,v),this._updateStyle(z,v)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const z=[];for(let v in this._currentKeyframe)z.push(v);return z}mergeTimelineCollectedStyles(z){z._styleSummary.forEach((v,U)=>{const Z=this._styleSummary.get(U);(!Z||v.time>Z.time)&&this._updateStyle(U,v.value)})}buildKeyframes(){this.applyStylesToKeyframe();const z=new Set,v=new Set,U=1===this._keyframes.size&&0===this.duration;let Z=[];this._keyframes.forEach((ei,fi)=>{const Ei=Te(ei,new Map,this._backFill);Ei.forEach((an,ji)=>{an===g.k1?z.add(ji):an===g.l3&&v.add(ji)}),U||Ei.set("offset",fi/this.duration),Z.push(Ei)});const Re=z.size?ee(z.values()):[],Vt=v.size?ee(v.values()):[];if(U){const ei=Z[0],fi=new Map(ei);ei.set("offset",0),fi.set("offset",1),Z=[ei,fi]}return rt(this.element,Z,Re,Vt,this.duration,this.startTime,this.easing,!1)}}class Li extends sa{constructor(z,v,U,Z,Re,Vt,ei=!1){super(z,v,Vt.delay),this.keyframes=U,this.preStyleProps=Z,this.postStyleProps=Re,this._stretchStartingKeyframe=ei,this.timings={duration:Vt.duration,delay:Vt.delay,easing:Vt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let z=this.keyframes,{delay:v,duration:U,easing:Z}=this.timings;if(this._stretchStartingKeyframe&&v){const Re=[],Vt=U+v,ei=v/Vt,fi=Te(z[0]);fi.set("offset",0),Re.push(fi);const Ei=Te(z[0]);Ei.set("offset",Gt(ei)),Re.push(Ei);const an=z.length-1;for(let ji=1;ji<=an;ji++){let Un=Te(z[ji]);const On=Un.get("offset");Un.set("offset",Gt((v+On*U)/Vt)),Re.push(Un)}U=Vt,v=0,Z="",z=Re}return rt(this.element,z,this.preStyleProps,this.postStyleProps,U,v,Z,!0)}}function Gt(N,z=3){const v=Math.pow(10,z-1);return Math.round(N*v)/v}class wi{}const Wi=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 Tn extends wi{normalizePropertyName(z,v){return At(z)}normalizeStyleValue(z,v,U,Z){let Re="";const Vt=U.toString().trim();if(Wi.has(v)&&0!==U&&"0"!==U)if("number"==typeof U)Re="px";else{const ei=U.match(/^[+-]?[\d\.]+([a-z]*)$/);ei&&0==ei[1].length&&Z.push(function M(N,z){return new t.vHH(3005,!1)}())}return Vt+Re}}function Fn(N,z,v,U,Z,Re,Vt,ei,fi,Ei,an,ji,Un){return{type:0,element:N,triggerName:z,isRemovalTransition:Z,fromState:v,fromStyles:Re,toState:U,toStyles:Vt,timelines:ei,queriedElements:fi,preStyleProps:Ei,postStyleProps:an,totalTime:ji,errors:Un}}const Yn={};class _n{constructor(z,v,U){this._triggerName=z,this.ast=v,this._stateStyles=U}match(z,v,U,Z){return function Qn(N,z,v,U,Z){return N.some(Re=>Re(z,v,U,Z))}(this.ast.matchers,z,v,U,Z)}buildStyles(z,v,U){let Z=this._stateStyles.get("*");return void 0!==z&&(Z=this._stateStyles.get(z?.toString())||Z),Z?Z.buildStyles(v,U):new Map}build(z,v,U,Z,Re,Vt,ei,fi,Ei,an){const ji=[],Un=this.ast.options&&this.ast.options.params||Yn,pn=this.buildStyles(U,ei&&ei.params||Yn,ji),In=fi&&fi.params||Yn,Cr=this.buildStyles(Z,In,ji),$r=new Set,fa=new Map,mo=new Map,aa="void"===Z,Jc={params:br(In,Un),delay:this.ast.options?.delay},jo=an?[]:vr(z,v,this.ast.animation,Re,Vt,pn,Cr,Jc,Ei,ji);let ja=0;if(jo.forEach(os=>{ja=Math.max(os.duration+os.delay,ja)}),ji.length)return Fn(v,this._triggerName,U,Z,aa,pn,Cr,[],[],fa,mo,ja,ji);jo.forEach(os=>{const Ko=os.element,Qo=xe(fa,Ko,new Set);os.preStyleProps.forEach(zs=>Qo.add(zs));const oc=xe(mo,Ko,new Set);os.postStyleProps.forEach(zs=>oc.add(zs)),Ko!==v&&$r.add(Ko)});const as=ee($r.values());return Fn(v,this._triggerName,U,Z,aa,pn,Cr,jo,as,fa,mo,ja)}}function br(N,z){const v=Dt(z);for(const U in N)N.hasOwnProperty(U)&&null!=N[U]&&(v[U]=N[U]);return v}class Nr{constructor(z,v,U){this.styles=z,this.defaultParams=v,this.normalizer=U}buildStyles(z,v){const U=new Map,Z=Dt(this.defaultParams);return Object.keys(z).forEach(Re=>{const Vt=z[Re];null!==Vt&&(Z[Re]=Vt)}),this.styles.styles.forEach(Re=>{"string"!=typeof Re&&Re.forEach((Vt,ei)=>{Vt&&(Vt=he(Vt,Z,v));const fi=this.normalizer.normalizePropertyName(ei,v);Vt=this.normalizer.normalizeStyleValue(ei,fi,Vt,v),U.set(ei,Vt)})}),U}}class Ja{constructor(z,v,U){this.name=z,this.ast=v,this._normalizer=U,this.transitionFactories=[],this.states=new Map,v.states.forEach(Z=>{this.states.set(Z.name,new Nr(Z.style,Z.options&&Z.options.params||{},U))}),Dr(this.states,"true","1"),Dr(this.states,"false","0"),v.transitions.forEach(Z=>{this.transitionFactories.push(new _n(z,Z,this.states))}),this.fallbackTransition=function Gr(N,z,v){return new _n(N,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Vt,ei)=>!0],options:null,queryCount:0,depCount:0},z)}(z,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(z,v,U,Z){return this.transitionFactories.find(Vt=>Vt.match(z,v,U,Z))||null}matchStyles(z,v,U){return this.fallbackTransition.buildStyles(z,v,U)}}function Dr(N,z,v){N.has(z)?N.has(v)||N.set(v,N.get(z)):N.has(v)&&N.set(z,N.get(v))}const Xa=new st;class tr{constructor(z,v,U){this.bodyNode=z,this._driver=v,this._normalizer=U,this._animations=new Map,this._playersById=new Map,this.players=[]}register(z,v){const U=[],Re=Fi(this._driver,v,U,[]);if(U.length)throw function m(N){return new t.vHH(3503,!1)}();this._animations.set(z,Re)}_buildPlayer(z,v,U){const Z=z.element,Re=Oe(this._normalizer,z.keyframes,v,U);return this._driver.animate(Z,Re,z.duration,z.delay,z.easing,[],!0)}create(z,v,U={}){const Z=[],Re=this._animations.get(z);let Vt;const ei=new Map;if(Re?(Vt=vr(this._driver,v,Re,Ct,ke,new Map,new Map,U,Xa,Z),Vt.forEach(an=>{const ji=xe(ei,an.element,new Map);an.postStyleProps.forEach(Un=>ji.set(Un,null))})):(Z.push(function l(){return new t.vHH(3300,!1)}()),Vt=[]),Z.length)throw function y(N){return new t.vHH(3504,!1)}();ei.forEach((an,ji)=>{an.forEach((Un,On)=>{an.set(On,this._driver.computeStyle(ji,On,g.l3))})});const Ei=Ye(Vt.map(an=>{const ji=ei.get(an.element);return this._buildPlayer(an,new Map,ji)}));return this._playersById.set(z,Ei),Ei.onDestroy(()=>this.destroy(z)),this.players.push(Ei),Ei}destroy(z){const v=this._getPlayer(z);v.destroy(),this._playersById.delete(z);const U=this.players.indexOf(v);U>=0&&this.players.splice(U,1)}_getPlayer(z){const v=this._playersById.get(z);if(!v)throw function L(N){return new t.vHH(3301,!1)}();return v}listen(z,v,U,Z){const Re=ue(v,"","","");return Qe(this._getPlayer(z),U,Re,Z),()=>{}}command(z,v,U,Z){if("register"==U)return void this.register(z,Z[0]);if("create"==U)return void this.create(z,v,Z[0]||{});const Re=this._getPlayer(z);switch(U){case"play":Re.play();break;case"pause":Re.pause();break;case"reset":Re.reset();break;case"restart":Re.restart();break;case"finish":Re.finish();break;case"init":Re.init();break;case"setPosition":Re.setPosition(parseFloat(Z[0]));break;case"destroy":this.destroy(z)}}}const rn="ng-animate-queued",zn="ng-animate-disabled",_a=[],or={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Rr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Sr="__ng_removed";class yn{get params(){return this.options.params}constructor(z,v=""){this.namespaceId=v;const U=z&&z.hasOwnProperty("value");if(this.value=function Zr(N){return N??null}(U?z.value:z),U){const Re=Dt(z);delete Re.value,this.options=Re}else this.options={};this.options.params||(this.options.params={})}absorbOptions(z){const v=z.params;if(v){const U=this.options.params;Object.keys(v).forEach(Z=>{null==U[Z]&&(U[Z]=v[Z])})}}}const qr="void",Lr=new yn(qr);class Ia{constructor(z,v,U){this.id=z,this.hostElement=v,this._engine=U,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+z,xr(v,this._hostClassName)}listen(z,v,U,Z){if(!this._triggers.has(v))throw function O(N,z){return new t.vHH(3302,!1)}();if(null==U||0==U.length)throw function b(N){return new t.vHH(3303,!1)}();if(!function $a(N){return"start"==N||"done"==N}(U))throw function n(N,z){return new t.vHH(3400,!1)}();const Re=xe(this._elementListeners,z,[]),Vt={name:v,phase:U,callback:Z};Re.push(Vt);const ei=xe(this._engine.statesByElement,z,new Map);return ei.has(v)||(xr(z,ot),xr(z,ot+"-"+v),ei.set(v,Lr)),()=>{this._engine.afterFlush(()=>{const fi=Re.indexOf(Vt);fi>=0&&Re.splice(fi,1),this._triggers.has(v)||ei.delete(v)})}}register(z,v){return!this._triggers.has(z)&&(this._triggers.set(z,v),!0)}_getTrigger(z){const v=this._triggers.get(z);if(!v)throw function _(N){return new t.vHH(3401,!1)}();return v}trigger(z,v,U,Z=!0){const Re=this._getTrigger(v),Vt=new Hr(this.id,v,z);let ei=this._engine.statesByElement.get(z);ei||(xr(z,ot),xr(z,ot+"-"+v),this._engine.statesByElement.set(z,ei=new Map));let fi=ei.get(v);const Ei=new yn(U,this.id);if(!(U&&U.hasOwnProperty("value"))&&fi&&Ei.absorbOptions(fi.options),ei.set(v,Ei),fi||(fi=Lr),Ei.value!==qr&&fi.value===Ei.value){if(!function da(N,z){const v=Object.keys(N),U=Object.keys(z);if(v.length!=U.length)return!1;for(let Z=0;Z<v.length;Z++){const Re=v[Z];if(!z.hasOwnProperty(Re)||N[Re]!==z[Re])return!1}return!0}(fi.params,Ei.params)){const In=[],Cr=Re.matchStyles(fi.value,fi.params,In),$r=Re.matchStyles(Ei.value,Ei.params,In);In.length?this._engine.reportError(In):this._engine.afterFlush(()=>{Ze(z,Cr),tt(z,$r)})}return}const Un=xe(this._engine.playersByElement,z,[]);Un.forEach(In=>{In.namespaceId==this.id&&In.triggerName==v&&In.queued&&In.destroy()});let On=Re.matchTransition(fi.value,Ei.value,z,Ei.params),pn=!1;if(!On){if(!Z)return;On=Re.fallbackTransition,pn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:z,triggerName:v,transition:On,fromState:fi,toState:Ei,player:Vt,isFallbackTransition:pn}),pn||(xr(z,rn),Vt.onStart(()=>{Dn(z,rn)})),Vt.onDone(()=>{let In=this.players.indexOf(Vt);In>=0&&this.players.splice(In,1);const Cr=this._engine.playersByElement.get(z);if(Cr){let $r=Cr.indexOf(Vt);$r>=0&&Cr.splice($r,1)}}),this.players.push(Vt),Un.push(Vt),Vt}deregister(z){this._triggers.delete(z),this._engine.statesByElement.forEach(v=>v.delete(z)),this._elementListeners.forEach((v,U)=>{this._elementListeners.set(U,v.filter(Z=>Z.name!=z))})}clearElementCache(z){this._engine.statesByElement.delete(z),this._elementListeners.delete(z);const v=this._engine.playersByElement.get(z);v&&(v.forEach(U=>U.destroy()),this._engine.playersByElement.delete(z))}_signalRemovalForInnerTriggers(z,v){const U=this._engine.driver.query(z,Je,!0);U.forEach(Z=>{if(Z[Sr])return;const Re=this._engine.fetchNamespacesByElement(Z);Re.size?Re.forEach(Vt=>Vt.triggerLeaveAnimation(Z,v,!1,!0)):this.clearElementCache(Z)}),this._engine.afterFlushAnimationsDone(()=>U.forEach(Z=>this.clearElementCache(Z)))}triggerLeaveAnimation(z,v,U,Z){const Re=this._engine.statesByElement.get(z),Vt=new Map;if(Re){const ei=[];if(Re.forEach((fi,Ei)=>{if(Vt.set(Ei,fi.value),this._triggers.has(Ei)){const an=this.trigger(z,Ei,qr,Z);an&&ei.push(an)}}),ei.length)return this._engine.markElementAsRemoved(this.id,z,!0,v,Vt),U&&Ye(ei).onDone(()=>this._engine.processLeaveNode(z)),!0}return!1}prepareLeaveAnimationListeners(z){const v=this._elementListeners.get(z),U=this._engine.statesByElement.get(z);if(v&&U){const Z=new Set;v.forEach(Re=>{const Vt=Re.name;if(Z.has(Vt))return;Z.add(Vt);const fi=this._triggers.get(Vt).fallbackTransition,Ei=U.get(Vt)||Lr,an=new yn(qr),ji=new Hr(this.id,Vt,z);this._engine.totalQueuedPlayers++,this._queue.push({element:z,triggerName:Vt,transition:fi,fromState:Ei,toState:an,player:ji,isFallbackTransition:!0})})}}removeNode(z,v){const U=this._engine;if(z.childElementCount&&this._signalRemovalForInnerTriggers(z,v),this.triggerLeaveAnimation(z,v,!0))return;let Z=!1;if(U.totalAnimations){const Re=U.players.length?U.playersByQueriedElement.get(z):[];if(Re&&Re.length)Z=!0;else{let Vt=z;for(;Vt=Vt.parentNode;)if(U.statesByElement.get(Vt)){Z=!0;break}}}if(this.prepareLeaveAnimationListeners(z),Z)U.markElementAsRemoved(this.id,z,!1,v);else{const Re=z[Sr];(!Re||Re===or)&&(U.afterFlush(()=>this.clearElementCache(z)),U.destroyInnerAnimations(z),U._onRemovalComplete(z,v))}}insertNode(z,v){xr(z,this._hostClassName)}drainQueuedTransitions(z){const v=[];return this._queue.forEach(U=>{const Z=U.player;if(Z.destroyed)return;const Re=U.element,Vt=this._elementListeners.get(Re);Vt&&Vt.forEach(ei=>{if(ei.name==U.triggerName){const fi=ue(Re,U.triggerName,U.fromState.value,U.toState.value);fi._data=z,Qe(U.player,ei.phase,fi,ei.callback)}}),Z.markedForDestroy?this._engine.afterFlush(()=>{Z.destroy()}):v.push(U)}),this._queue=[],v.sort((U,Z)=>{const Re=U.transition.ast.depCount,Vt=Z.transition.ast.depCount;return 0==Re||0==Vt?Re-Vt:this._engine.driver.containsElement(U.element,Z.element)?1:-1})}destroy(z){this.players.forEach(v=>v.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,z)}}class lr{_onRemovalComplete(z,v){this.onRemovalComplete(z,v)}constructor(z,v,U){this.bodyNode=z,this.driver=v,this._normalizer=U,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(Z,Re)=>{}}get queuedPlayers(){const z=[];return this._namespaceList.forEach(v=>{v.players.forEach(U=>{U.queued&&z.push(U)})}),z}createNamespace(z,v){const U=new Ia(z,v,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,v)?this._balanceNamespaceList(U,v):(this.newHostElements.set(v,U),this.collectEnterElement(v)),this._namespaceLookup[z]=U}_balanceNamespaceList(z,v){const U=this._namespaceList,Z=this.namespacesByHostElement;if(U.length-1>=0){let Vt=!1,ei=this.driver.getParentElement(v);for(;ei;){const fi=Z.get(ei);if(fi){const Ei=U.indexOf(fi);U.splice(Ei+1,0,z),Vt=!0;break}ei=this.driver.getParentElement(ei)}Vt||U.unshift(z)}else U.push(z);return Z.set(v,z),z}register(z,v){let U=this._namespaceLookup[z];return U||(U=this.createNamespace(z,v)),U}registerTrigger(z,v,U){let Z=this._namespaceLookup[z];Z&&Z.register(v,U)&&this.totalAnimations++}destroy(z,v){z&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const U=this._fetchNamespace(z);this.namespacesByHostElement.delete(U.hostElement);const Z=this._namespaceList.indexOf(U);Z>=0&&this._namespaceList.splice(Z,1),U.destroy(v),delete this._namespaceLookup[z]}))}_fetchNamespace(z){return this._namespaceLookup[z]}fetchNamespacesByElement(z){const v=new Set,U=this.statesByElement.get(z);if(U)for(let Z of U.values())if(Z.namespaceId){const Re=this._fetchNamespace(Z.namespaceId);Re&&v.add(Re)}return v}trigger(z,v,U,Z){if(ca(v)){const Re=this._fetchNamespace(z);if(Re)return Re.trigger(v,U,Z),!0}return!1}insertNode(z,v,U,Z){if(!ca(v))return;const Re=v[Sr];if(Re&&Re.setForRemoval){Re.setForRemoval=!1,Re.setForMove=!0;const Vt=this.collectedLeaveElements.indexOf(v);Vt>=0&&this.collectedLeaveElements.splice(Vt,1)}if(z){const Vt=this._fetchNamespace(z);Vt&&Vt.insertNode(v,U)}Z&&this.collectEnterElement(v)}collectEnterElement(z){this.collectedEnterElements.push(z)}markElementAsDisabled(z,v){v?this.disabledNodes.has(z)||(this.disabledNodes.add(z),xr(z,zn)):this.disabledNodes.has(z)&&(this.disabledNodes.delete(z),Dn(z,zn))}removeNode(z,v,U){if(ca(v)){const Z=z?this._fetchNamespace(z):null;Z?Z.removeNode(v,U):this.markElementAsRemoved(z,v,!1,U);const Re=this.namespacesByHostElement.get(v);Re&&Re.id!==z&&Re.removeNode(v,U)}else this._onRemovalComplete(v,U)}markElementAsRemoved(z,v,U,Z,Re){this.collectedLeaveElements.push(v),v[Sr]={namespaceId:z,setForRemoval:Z,hasAnimation:U,removedBeforeQueried:!1,previousTriggersValues:Re}}listen(z,v,U,Z,Re){return ca(v)?this._fetchNamespace(z).listen(v,U,Z,Re):()=>{}}_buildInstruction(z,v,U,Z,Re){return z.transition.build(this.driver,z.element,z.fromState.value,z.toState.value,U,Z,z.fromState.options,z.toState.options,v,Re)}destroyInnerAnimations(z){let v=this.driver.query(z,Je,!0);v.forEach(U=>this.destroyActiveAnimationsForElement(U)),0!=this.playersByQueriedElement.size&&(v=this.driver.query(z,Be,!0),v.forEach(U=>this.finishActiveQueriedAnimationOnElement(U)))}destroyActiveAnimationsForElement(z){const v=this.playersByElement.get(z);v&&v.forEach(U=>{U.queued?U.markedForDestroy=!0:U.destroy()})}finishActiveQueriedAnimationOnElement(z){const v=this.playersByQueriedElement.get(z);v&&v.forEach(U=>U.finish())}whenRenderingDone(){return new Promise(z=>{if(this.players.length)return Ye(this.players).onDone(()=>z());z()})}processLeaveNode(z){const v=z[Sr];if(v&&v.setForRemoval){if(z[Sr]=or,v.namespaceId){this.destroyInnerAnimations(z);const U=this._fetchNamespace(v.namespaceId);U&&U.clearElementCache(z)}this._onRemovalComplete(z,v.setForRemoval)}z.classList?.contains(zn)&&this.markElementAsDisabled(z,!1),this.driver.query(z,".ng-animate-disabled",!0).forEach(U=>{this.markElementAsDisabled(U,!1)})}flush(z=-1){let v=[];if(this.newHostElements.size&&(this.newHostElements.forEach((U,Z)=>this._balanceNamespaceList(U,Z)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let U=0;U<this.collectedEnterElements.length;U++)xr(this.collectedEnterElements[U],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const U=[];try{v=this._flushAnimations(U,z)}finally{for(let Z=0;Z<U.length;Z++)U[Z]()}}else for(let U=0;U<this.collectedLeaveElements.length;U++)this.processLeaveNode(this.collectedLeaveElements[U]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(U=>U()),this._flushFns=[],this._whenQuietFns.length){const U=this._whenQuietFns;this._whenQuietFns=[],v.length?Ye(v).onDone(()=>{U.forEach(Z=>Z())}):U.forEach(Z=>Z())}}reportError(z){throw function H(N){return new t.vHH(3402,!1)}()}_flushAnimations(z,v){const U=new st,Z=[],Re=new Map,Vt=[],ei=new Map,fi=new Map,Ei=new Map,an=new Set;this.disabledNodes.forEach(un=>{an.add(un);const xn=this.driver.query(un,".ng-animate-queued",!0);for(let Gn=0;Gn<xn.length;Gn++)an.add(xn[Gn])});const ji=this.bodyNode,Un=Array.from(this.statesByElement.keys()),On=ba(Un,this.collectedEnterElements),pn=new Map;let In=0;On.forEach((un,xn)=>{const Gn=Ct+In++;pn.set(xn,Gn),un.forEach(pr=>xr(pr,Gn))});const Cr=[],$r=new Set,fa=new Set;for(let un=0;un<this.collectedLeaveElements.length;un++){const xn=this.collectedLeaveElements[un],Gn=xn[Sr];Gn&&Gn.setForRemoval&&(Cr.push(xn),$r.add(xn),Gn.hasAnimation?this.driver.query(xn,".ng-star-inserted",!0).forEach(pr=>$r.add(pr)):fa.add(xn))}const mo=new Map,aa=ba(Un,Array.from($r));aa.forEach((un,xn)=>{const Gn=ke+In++;mo.set(xn,Gn),un.forEach(pr=>xr(pr,Gn))}),z.push(()=>{On.forEach((un,xn)=>{const Gn=pn.get(xn);un.forEach(pr=>Dn(pr,Gn))}),aa.forEach((un,xn)=>{const Gn=mo.get(xn);un.forEach(pr=>Dn(pr,Gn))}),Cr.forEach(un=>{this.processLeaveNode(un)})});const Jc=[],jo=[];for(let un=this._namespaceList.length-1;un>=0;un--)this._namespaceList[un].drainQueuedTransitions(v).forEach(Gn=>{const pr=Gn.player,Ka=Gn.element;if(Jc.push(pr),this.collectedEnterElements.length){const Qa=Ka[Sr];if(Qa&&Qa.setForMove){if(Qa.previousTriggersValues&&Qa.previousTriggersValues.has(Gn.triggerName)){const Tc=Qa.previousTriggersValues.get(Gn.triggerName),Jo=this.statesByElement.get(Gn.element);if(Jo&&Jo.has(Gn.triggerName)){const zd=Jo.get(Gn.triggerName);zd.value=Tc,Jo.set(Gn.triggerName,zd)}}return void pr.destroy()}}const qo=!ji||!this.driver.containsElement(ji,Ka),Do=mo.get(Ka),sc=pn.get(Ka),zr=this._buildInstruction(Gn,U,sc,Do,qo);if(zr.errors&&zr.errors.length)return void jo.push(zr);if(qo)return pr.onStart(()=>Ze(Ka,zr.fromStyles)),pr.onDestroy(()=>tt(Ka,zr.toStyles)),void Z.push(pr);if(Gn.isFallbackTransition)return pr.onStart(()=>Ze(Ka,zr.fromStyles)),pr.onDestroy(()=>tt(Ka,zr.toStyles)),void Z.push(pr);const N1=[];zr.timelines.forEach(Qa=>{Qa.stretchStartingKeyframe=!0,this.disabledNodes.has(Qa.element)||N1.push(Qa)}),zr.timelines=N1,U.append(Ka,zr.timelines),Vt.push({instruction:zr,player:pr,element:Ka}),zr.queriedElements.forEach(Qa=>xe(ei,Qa,[]).push(pr)),zr.preStyleProps.forEach((Qa,Tc)=>{if(Qa.size){let Jo=fi.get(Tc);Jo||fi.set(Tc,Jo=new Set),Qa.forEach((zd,Vd)=>Jo.add(Vd))}}),zr.postStyleProps.forEach((Qa,Tc)=>{let Jo=Ei.get(Tc);Jo||Ei.set(Tc,Jo=new Set),Qa.forEach((zd,Vd)=>Jo.add(Vd))})});if(jo.length){const un=[];jo.forEach(xn=>{un.push(function K(N,z){return new t.vHH(3505,!1)}())}),Jc.forEach(xn=>xn.destroy()),this.reportError(un)}const ja=new Map,as=new Map;Vt.forEach(un=>{const xn=un.element;U.has(xn)&&(as.set(xn,xn),this._beforeAnimationBuild(un.player.namespaceId,un.instruction,ja))}),Z.forEach(un=>{const xn=un.element;this._getPreviousPlayers(xn,!1,un.namespaceId,un.triggerName,null).forEach(pr=>{xe(ja,xn,[]).push(pr),pr.destroy()})});const os=Cr.filter(un=>ao(un,fi,Ei)),Ko=new Map;la(Ko,this.driver,fa,Ei,g.l3).forEach(un=>{ao(un,fi,Ei)&&os.push(un)});const oc=new Map;On.forEach((un,xn)=>{la(oc,this.driver,new Set(un),fi,g.k1)}),os.forEach(un=>{const xn=Ko.get(un),Gn=oc.get(un);Ko.set(un,new Map([...xn?.entries()??[],...Gn?.entries()??[]]))});const zs=[],Fd=[],m0={};Vt.forEach(un=>{const{element:xn,player:Gn,instruction:pr}=un;if(U.has(xn)){if(an.has(xn))return Gn.onDestroy(()=>tt(xn,pr.toStyles)),Gn.disabled=!0,Gn.overrideTotalTime(pr.totalTime),void Z.push(Gn);let Ka=m0;if(as.size>1){let Do=xn;const sc=[];for(;Do=Do.parentNode;){const zr=as.get(Do);if(zr){Ka=zr;break}sc.push(Do)}sc.forEach(zr=>as.set(zr,Ka))}const qo=this._buildAnimation(Gn.namespaceId,pr,ja,Re,oc,Ko);if(Gn.setRealPlayer(qo),Ka===m0)zs.push(Gn);else{const Do=this.playersByElement.get(Ka);Do&&Do.length&&(Gn.parentPlayer=Ye(Do)),Z.push(Gn)}}else Ze(xn,pr.fromStyles),Gn.onDestroy(()=>tt(xn,pr.toStyles)),Fd.push(Gn),an.has(xn)&&Z.push(Gn)}),Fd.forEach(un=>{const xn=Re.get(un.element);if(xn&&xn.length){const Gn=Ye(xn);un.setRealPlayer(Gn)}}),Z.forEach(un=>{un.parentPlayer?un.syncPlayerEvents(un.parentPlayer):un.destroy()});for(let un=0;un<Cr.length;un++){const xn=Cr[un],Gn=xn[Sr];if(Dn(xn,ke),Gn&&Gn.hasAnimation)continue;let pr=[];if(ei.size){let qo=ei.get(xn);qo&&qo.length&&pr.push(...qo);let Do=this.driver.query(xn,Be,!0);for(let sc=0;sc<Do.length;sc++){let zr=ei.get(Do[sc]);zr&&zr.length&&pr.push(...zr)}}const Ka=pr.filter(qo=>!qo.destroyed);Ka.length?Wr(this,xn,Ka):this.processLeaveNode(xn)}return Cr.length=0,zs.forEach(un=>{this.players.push(un),un.onDone(()=>{un.destroy();const xn=this.players.indexOf(un);this.players.splice(xn,1)}),un.play()}),zs}afterFlush(z){this._flushFns.push(z)}afterFlushAnimationsDone(z){this._whenQuietFns.push(z)}_getPreviousPlayers(z,v,U,Z,Re){let Vt=[];if(v){const ei=this.playersByQueriedElement.get(z);ei&&(Vt=ei)}else{const ei=this.playersByElement.get(z);if(ei){const fi=!Re||Re==qr;ei.forEach(Ei=>{Ei.queued||!fi&&Ei.triggerName!=Z||Vt.push(Ei)})}}return(U||Z)&&(Vt=Vt.filter(ei=>!(U&&U!=ei.namespaceId||Z&&Z!=ei.triggerName))),Vt}_beforeAnimationBuild(z,v,U){const Re=v.element,Vt=v.isRemovalTransition?void 0:z,ei=v.isRemovalTransition?void 0:v.triggerName;for(const fi of v.timelines){const Ei=fi.element,an=Ei!==Re,ji=xe(U,Ei,[]);this._getPreviousPlayers(Ei,an,Vt,ei,v.toState).forEach(On=>{const pn=On.getRealPlayer();pn.beforeDestroy&&pn.beforeDestroy(),On.destroy(),ji.push(On)})}Ze(Re,v.fromStyles)}_buildAnimation(z,v,U,Z,Re,Vt){const ei=v.triggerName,fi=v.element,Ei=[],an=new Set,ji=new Set,Un=v.timelines.map(pn=>{const In=pn.element;an.add(In);const Cr=In[Sr];if(Cr&&Cr.removedBeforeQueried)return new g.ZN(pn.duration,pn.delay);const $r=In!==fi,fa=function ro(N){const z=[];return Ra(N,z),z}((U.get(In)||_a).map(ja=>ja.getRealPlayer())).filter(ja=>!!ja.element&&ja.element===In),mo=Re.get(In),aa=Vt.get(In),Jc=Oe(this._normalizer,pn.keyframes,mo,aa),jo=this._buildPlayer(pn,Jc,fa);if(pn.subTimeline&&Z&&ji.add(In),$r){const ja=new Hr(z,ei,In);ja.setRealPlayer(jo),Ei.push(ja)}return jo});Ei.forEach(pn=>{xe(this.playersByQueriedElement,pn.element,[]).push(pn),pn.onDone(()=>function Ya(N,z,v){let U=N.get(z);if(U){if(U.length){const Z=U.indexOf(v);U.splice(Z,1)}0==U.length&&N.delete(z)}return U}(this.playersByQueriedElement,pn.element,pn))}),an.forEach(pn=>xr(pn,re));const On=Ye(Un);return On.onDestroy(()=>{an.forEach(pn=>Dn(pn,re)),tt(fi,v.toStyles)}),ji.forEach(pn=>{xe(Z,pn,[]).push(On)}),On}_buildPlayer(z,v,U){return v.length>0?this.driver.animate(z.element,v,z.duration,z.delay,z.easing,U):new g.ZN(z.duration,z.delay)}}class Hr{constructor(z,v,U){this.namespaceId=z,this.triggerName=v,this.element=U,this._player=new g.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(z){this._containsRealPlayer||(this._player=z,this._queuedCallbacks.forEach((v,U)=>{v.forEach(Z=>Qe(z,U,void 0,Z))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(z.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(z){this.totalTime=z}syncPlayerEvents(z){const v=this._player;v.triggerCallback&&z.onStart(()=>v.triggerCallback("start")),z.onDone(()=>this.finish()),z.onDestroy(()=>this.destroy())}_queueEvent(z,v){xe(this._queuedCallbacks,z,[]).push(v)}onDone(z){this.queued&&this._queueEvent("done",z),this._player.onDone(z)}onStart(z){this.queued&&this._queueEvent("start",z),this._player.onStart(z)}onDestroy(z){this.queued&&this._queueEvent("destroy",z),this._player.onDestroy(z)}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(z){this.queued||this._player.setPosition(z)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(z){const v=this._player;v.triggerCallback&&v.triggerCallback(z)}}function ca(N){return N&&1===N.nodeType}function va(N,z){const v=N.style.display;return N.style.display=z??"none",v}function la(N,z,v,U,Z){const Re=[];v.forEach(fi=>Re.push(va(fi)));const Vt=[];U.forEach((fi,Ei)=>{const an=new Map;fi.forEach(ji=>{const Un=z.computeStyle(Ei,ji,Z);an.set(ji,Un),(!Un||0==Un.length)&&(Ei[Sr]=Rr,Vt.push(Ei))}),N.set(Ei,an)});let ei=0;return v.forEach(fi=>va(fi,Re[ei++])),Vt}function ba(N,z){const v=new Map;if(N.forEach(ei=>v.set(ei,[])),0==z.length)return v;const Z=new Set(z),Re=new Map;function Vt(ei){if(!ei)return 1;let fi=Re.get(ei);if(fi)return fi;const Ei=ei.parentNode;return fi=v.has(Ei)?Ei:Z.has(Ei)?1:Vt(Ei),Re.set(ei,fi),fi}return z.forEach(ei=>{const fi=Vt(ei);1!==fi&&v.get(fi).push(ei)}),v}function xr(N,z){N.classList?.add(z)}function Dn(N,z){N.classList?.remove(z)}function Wr(N,z,v){Ye(v).onDone(()=>N.processLeaveNode(z))}function Ra(N,z){for(let v=0;v<N.length;v++){const U=N[v];U instanceof g.ZE?Ra(U.players,z):z.push(U)}}function ao(N,z,v){const U=v.get(N);if(!U)return!1;let Z=z.get(N);return Z?U.forEach(Re=>Z.add(Re)):z.set(N,U),v.delete(N),!0}class ya{constructor(z,v,U){this.bodyNode=z,this._driver=v,this._normalizer=U,this._triggerCache={},this.onRemovalComplete=(Z,Re)=>{},this._transitionEngine=new lr(z,v,U),this._timelineEngine=new tr(z,v,U),this._transitionEngine.onRemovalComplete=(Z,Re)=>this.onRemovalComplete(Z,Re)}registerTrigger(z,v,U,Z,Re){const Vt=z+"-"+Z;let ei=this._triggerCache[Vt];if(!ei){const fi=[],an=Fi(this._driver,Re,fi,[]);if(fi.length)throw function i(N,z){return new t.vHH(3404,!1)}();ei=function qa(N,z,v){return new Ja(N,z,v)}(Z,an,this._normalizer),this._triggerCache[Vt]=ei}this._transitionEngine.registerTrigger(v,Z,ei)}register(z,v){this._transitionEngine.register(z,v)}destroy(z,v){this._transitionEngine.destroy(z,v)}onInsert(z,v,U,Z){this._transitionEngine.insertNode(z,v,U,Z)}onRemove(z,v,U){this._transitionEngine.removeNode(z,v,U)}disableAnimations(z,v){this._transitionEngine.markElementAsDisabled(z,v)}process(z,v,U,Z){if("@"==U.charAt(0)){const[Re,Vt]=Pe(U);this._timelineEngine.command(Re,v,Vt,Z)}else this._transitionEngine.trigger(z,v,U,Z)}listen(z,v,U,Z,Re){if("@"==U.charAt(0)){const[Vt,ei]=Pe(U);return this._timelineEngine.listen(Vt,v,ei,Re)}return this._transitionEngine.listen(z,v,U,Z,Re)}flush(z=-1){this._transitionEngine.flush(z)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(z){this._transitionEngine.afterFlushAnimationsDone(z)}}let qn=(()=>{class N{static#e=this.initialStylesByElement=new WeakMap;constructor(v,U,Z){this._element=v,this._startStyles=U,this._endStyles=Z,this._state=0;let Re=N.initialStylesByElement.get(v);Re||N.initialStylesByElement.set(v,Re=new Map),this._initialStyles=Re}start(){this._state<1&&(this._startStyles&&tt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tt(this._element,this._initialStyles),this._endStyles&&(tt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(N.initialStylesByElement.delete(this._element),this._startStyles&&(Ze(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ze(this._element,this._endStyles),this._endStyles=null),tt(this._element,this._initialStyles),this._state=3)}}return N})();function es(N){let z=null;return N.forEach((v,U)=>{(function Fr(N){return"display"===N||"position"===N})(U)&&(z=z||new Map,z.set(U,v))}),z}class ur{constructor(z,v,U,Z){this.element=z,this.keyframes=v,this.options=U,this._specialStyles=Z,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=U.duration,this._delay=U.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(z=>z()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const z=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,z,this.options),this._finalKeyframe=z.length?z[z.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(z){const v=[];return z.forEach(U=>{v.push(Object.fromEntries(U))}),v}_triggerWebAnimation(z,v,U){return z.animate(this._convertKeyframesToObject(v),U)}onStart(z){this._originalOnStartFns.push(z),this._onStartFns.push(z)}onDone(z){this._originalOnDoneFns.push(z),this._onDoneFns.push(z)}onDestroy(z){this._onDestroyFns.push(z)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(z=>z()),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(z=>z()),this._onDestroyFns=[])}setPosition(z){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=z*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const z=new Map;this.hasStarted()&&this._finalKeyframe.forEach((U,Z)=>{"offset"!==Z&&z.set(Z,this._finished?U:Xe(this.element,Z))}),this.currentSnapshot=z}triggerCallback(z){const v="start"===z?this._onStartFns:this._onDoneFns;v.forEach(U=>U()),v.length=0}}class ka{validateStyleProperty(z){return!0}validateAnimatableStyleProperty(z){return!0}matchesElement(z,v){return!1}containsElement(z,v){return Ne(z,v)}getParentElement(z){return ze(z)}query(z,v,U){return Ve(z,v,U)}computeStyle(z,v,U){return window.getComputedStyle(z)[v]}animate(z,v,U,Z,Re,Vt=[]){const fi={duration:U,delay:Z,fill:0==Z?"both":"forwards"};Re&&(fi.easing=Re);const Ei=new Map,an=Vt.filter(On=>On instanceof ur);(function jt(N,z){return 0===N||0===z})(U,Z)&&an.forEach(On=>{On.currentSnapshot.forEach((pn,In)=>Ei.set(In,pn))});let ji=function pt(N){return N.length?N[0]instanceof Map?N:N.map(z=>Rt(z)):[]}(v).map(On=>Te(On));ji=function Zt(N,z,v){if(v.size&&z.length){let U=z[0],Z=[];if(v.forEach((Re,Vt)=>{U.has(Vt)||Z.push(Vt),U.set(Vt,Re)}),Z.length)for(let Re=1;Re<z.length;Re++){let Vt=z[Re];Z.forEach(ei=>Vt.set(ei,Xe(N,ei)))}}return z}(z,ji,Ei);const Un=function xa(N,z){let v=null,U=null;return Array.isArray(z)&&z.length?(v=es(z[0]),z.length>1&&(U=es(z[z.length-1]))):z instanceof Map&&(v=es(z)),v||U?new qn(N,v,U):null}(z,ji);return new ur(z,ji,fi,Un)}}var It=p(6814);let Ai=(()=>{class N extends g._j{constructor(v,U){super(),this._nextAnimationId=0,this._renderer=v.createRenderer(U.body,{id:"0",encapsulation:t.ifc.None,styles:[],data:{animation:[]}})}build(v){const U=this._nextAnimationId.toString();this._nextAnimationId++;const Z=Array.isArray(v)?(0,g.vP)(v):v;return Oi(this._renderer,null,U,"register",[Z]),new St(U,this._renderer)}static#e=this.\u0275fac=function(U){return new(U||N)(t.LFG(t.FYo),t.LFG(It.K0))};static#t=this.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac})}return N})();class St extends g.LC{constructor(z,v){super(),this._id=z,this._renderer=v}create(z,v){return new ai(this._id,z,v||{},this._renderer)}}class ai{constructor(z,v,U,Z){this.id=z,this.element=v,this._renderer=Z,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",U)}_listen(z,v){return this._renderer.listen(this.element,`@@${this.id}:${z}`,v)}_command(z,...v){return Oi(this._renderer,this.element,this.id,z,v)}onDone(z){this._listen("done",z)}onStart(z){this._listen("start",z)}onDestroy(z){this._listen("destroy",z)}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(z){this._command("setPosition",z)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Oi(N,z,v,U,Z){return N.setProperty(z,`@@${v}:${U}`,Z)}const gr="@.disabled";let Er=(()=>{class N{constructor(v,U,Z){this.delegate=v,this.engine=U,this._zone=Z,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,U.onRemovalComplete=(Re,Vt)=>{const ei=Vt?.parentNode(Re);ei&&Vt.removeChild(ei,Re)}}createRenderer(v,U){const Re=this.delegate.createRenderer(v,U);if(!(v&&U&&U.data&&U.data.animation)){let an=this._rendererCache.get(Re);return an||(an=new Jr("",Re,this.engine,()=>this._rendererCache.delete(Re)),this._rendererCache.set(Re,an)),an}const Vt=U.id,ei=U.id+"-"+this._currentId;this._currentId++,this.engine.register(ei,v);const fi=an=>{Array.isArray(an)?an.forEach(fi):this.engine.registerTrigger(Vt,ei,v,an.name,an)};return U.data.animation.forEach(fi),new gt(this,ei,Re,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(v,U,Z){v>=0&&v<this._microtaskId?this._zone.run(()=>U(Z)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Re=>{const[Vt,ei]=Re;Vt(ei)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([U,Z]))}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()}static#e=this.\u0275fac=function(U){return new(U||N)(t.LFG(t.FYo),t.LFG(ya),t.LFG(t.R0b))};static#t=this.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac})}return N})();class Jr{constructor(z,v,U,Z){this.namespaceId=z,this.delegate=v,this.engine=U,this._onDestroy=Z}get data(){return this.delegate.data}destroyNode(z){this.delegate.destroyNode?.(z)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(z,v){return this.delegate.createElement(z,v)}createComment(z){return this.delegate.createComment(z)}createText(z){return this.delegate.createText(z)}appendChild(z,v){this.delegate.appendChild(z,v),this.engine.onInsert(this.namespaceId,v,z,!1)}insertBefore(z,v,U,Z=!0){this.delegate.insertBefore(z,v,U),this.engine.onInsert(this.namespaceId,v,z,Z)}removeChild(z,v,U){this.engine.onRemove(this.namespaceId,v,this.delegate)}selectRootElement(z,v){return this.delegate.selectRootElement(z,v)}parentNode(z){return this.delegate.parentNode(z)}nextSibling(z){return this.delegate.nextSibling(z)}setAttribute(z,v,U,Z){this.delegate.setAttribute(z,v,U,Z)}removeAttribute(z,v,U){this.delegate.removeAttribute(z,v,U)}addClass(z,v){this.delegate.addClass(z,v)}removeClass(z,v){this.delegate.removeClass(z,v)}setStyle(z,v,U,Z){this.delegate.setStyle(z,v,U,Z)}removeStyle(z,v,U){this.delegate.removeStyle(z,v,U)}setProperty(z,v,U){"@"==v.charAt(0)&&v==gr?this.disableAnimations(z,!!U):this.delegate.setProperty(z,v,U)}setValue(z,v){this.delegate.setValue(z,v)}listen(z,v,U){return this.delegate.listen(z,v,U)}disableAnimations(z,v){this.engine.disableAnimations(z,v)}}class gt extends Jr{constructor(z,v,U,Z,Re){super(v,U,Z,Re),this.factory=z,this.namespaceId=v}setProperty(z,v,U){"@"==v.charAt(0)?"."==v.charAt(1)&&v==gr?this.disableAnimations(z,U=void 0===U||!!U):this.engine.process(this.namespaceId,z,v.slice(1),U):this.delegate.setProperty(z,v,U)}listen(z,v,U){if("@"==v.charAt(0)){const Z=function wt(N){switch(N){case"body":return document.body;case"document":return document;case"window":return window;default:return N}}(z);let Re=v.slice(1),Vt="";return"@"!=Re.charAt(0)&&([Re,Vt]=function je(N){const z=N.indexOf(".");return[N.substring(0,z),N.slice(z+1)]}(Re)),this.engine.listen(this.namespaceId,Z,Re,Vt,ei=>{this.factory.scheduleListenerCallback(ei._data||-1,U,ei)})}return this.delegate.listen(z,v,U)}}const Vn=[{provide:g._j,useClass:Ai},{provide:wi,useFactory:function ri(){return new Tn}},{provide:ya,useClass:(()=>{class N extends ya{constructor(v,U,Z,Re){super(v.body,U,Z)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(U){return new(U||N)(t.LFG(It.K0),t.LFG(De),t.LFG(wi),t.LFG(t.z2F))};static#t=this.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac})}return N})()},{provide:t.FYo,useFactory:function on(N,z,v){return new Er(N,z,v)},deps:[e.se,ya,t.R0b]}],ha=[{provide:De,useFactory:()=>new ka},{provide:t.QbO,useValue:"BrowserAnimations"},...Vn],Vo=[{provide:De,useClass:ve},{provide:t.QbO,useValue:"NoopAnimations"},...Vn];let ts=(()=>{class N{static withConfig(v){return{ngModule:N,providers:v.disableAnimations?Vo:ha}}static#e=this.\u0275fac=function(U){return new(U||N)};static#t=this.\u0275mod=t.oAB({type:N});static#i=this.\u0275inj=t.cJS({providers:ha,imports:[e.b2]})}return N})();var Ss=p(9862),Ha=p(1088),zi=p(4221),ko=p(5154),Fa=p(7632),Bi=p(8645),po=p(3019),oo=p(2438),Xr=p(9666),Eo=p(6321),ta=p(9080);function za(N=0,z=Eo.z){return N<0&&(N=0),(0,ta.H)(N,N,z)}var is=p(2096),ns=p(7394),Oo=p(9360),Po=p(8251),Ws=p(9039),eo=p(9940),Va=p(7103),ia=p(2181),Ts=p(9397),Bo=p(4664),sn=p(9773),Uo=p(4716),As=p(3997),ds=p(7398);class hs{}function us(N){return(0,t.MR2)([{provide:hs,useValue:N}])}let fs=(()=>{class N{constructor(v,U){this._ngZone=U,this.timerStart$=new Bi.x,this.idleDetected$=new Bi.x,this.timeout$=new Bi.x,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,v&&this.setConfig(v)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,po.T)((0,oo.R)(window,"mousemove"),(0,oo.R)(window,"resize"),(0,oo.R)(document,"keydown"))),this.idle$=(0,Xr.D)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function Es(N,...z){var v,U;const Z=null!==(v=(0,eo.yG)(z))&&void 0!==v?v:Eo.z,Re=null!==(U=z[0])&&void 0!==U?U:null,Vt=z[1]||1/0;return(0,Oo.e)((ei,fi)=>{let Ei=[],an=!1;const ji=pn=>{const{buffer:In,subs:Cr}=pn;Cr.unsubscribe(),(0,Ws.P)(Ei,pn),fi.next(In),an&&Un()},Un=()=>{if(Ei){const pn=new ns.w0;fi.add(pn);const Cr={buffer:[],subs:pn};Ei.push(Cr),(0,Va.f)(pn,Z,()=>ji(Cr),N)}};null!==Re&&Re>=0?(0,Va.f)(fi,Z,Un,Re,!0):an=!0,Un();const On=(0,Po.x)(fi,pn=>{const In=Ei.slice();for(const Cr of In){const{buffer:$r}=Cr;$r.push(pn),Vt<=$r.length&&ji(Cr)}},()=>{for(;Ei?.length;)fi.next(Ei.shift().buffer);On?.unsubscribe(),fi.complete(),fi.unsubscribe()},void 0,()=>Ei=null);ei.subscribe(On)})}(this.idleSensitivityMillisec),(0,ia.h)(v=>!v.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,Ts.b)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,Bo.w)(()=>this._ngZone.runOutsideAngular(()=>za(1e3).pipe((0,sn.R)((0,po.T)(this.activityEvents$,(0,ta.H)(this.idleMillisec).pipe((0,Ts.b)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,Uo.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,As.x)(),(0,Bo.w)(v=>v?this.timer$:(0,is.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,ia.h)(v=>!!v),(0,Ts.b)(()=>this.isTimeout=!0),(0,ds.U)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(v){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(v):console.error("Call stopWatching() before set config values")}setConfig(v){v.idle&&(this.idleMillisec=1e3*v.idle),v.ping&&(this.pingMillisec=1e3*v.ping),v.idleSensitivity&&(this.idleSensitivityMillisec=1e3*v.idleSensitivity),v.timeout&&(this.timeout=v.timeout)}setCustomActivityEvents(v){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=v:console.error("Call stopWatching() before set custom activity events")}setupTimer(v){this._ngZone.runOutsideAngular(()=>{this.timer$=(0,is.of)(()=>new Date).pipe((0,ds.U)(U=>U()),(0,Bo.w)(U=>za(1e3).pipe((0,ds.U)(()=>Math.round(((new Date).valueOf()-U.valueOf())/1e3)),(0,Ts.b)(Z=>{Z>=v&&this.timeout$.next(!0)}))))})}setupPing(v){this.ping$=za(v).pipe((0,ia.h)(()=>!this.isTimeout))}}return N.\u0275fac=function(v){return new(v||N)(t.LFG(hs,8),t.LFG(t.R0b))},N.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var ir=p(4190),qi=p(590),Mr=p(4818),Yr=p(5597),Yi=p(3814),nr=p(5195),Ca=p(4104);const so=function(){return{initial:!1}};function Ys(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[1].link)}),t._uU(1),t.qZA()}if(2&N){const v=t.oxw();t.s9C("routerLink",v.links[1].link),t.Q6J("active",v.activeLink===v.links[1].link)("state",t.DdM(4,so)),t.xp6(1),t.Oqu(v.links[1].name)}}function Se(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",12),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[2].link)}),t._uU(1),t.qZA()}if(2&N){const v=t.oxw();t.s9C("routerLink",v.links[2].link),t.Q6J("active",v.activeLink===v.links[2].link),t.xp6(1),t.Oqu(v.links[2].name)}}let Ot=(()=>{class N{constructor(v,U){this.store=v,this.router=U,this.faUserCog=qi.gNZ,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){const v=this.links.find(U=>this.router.url.includes(U.link));this.activeLink=v?v.link:this.links[0].link,this.router.events.pipe((0,sn.R)(this.unSubs[0]),(0,ia.h)(U=>U instanceof ir.Av)).subscribe({next:U=>{const Z=this.links.find(Re=>U.urlAfterRedirects.includes(Re.link));this.activeLink=Z?Z.link:this.links[0].link}}),this.store.select(Mr.Yj).pipe((0,sn.R)(this.unSubs[1])).subscribe(U=>{this.appConfig=U}),this.store.select(Mr.dT).pipe((0,sn.R)(this.unSubs[2])).subscribe(U=>{this.showBitcoind=!1,this.selNode=U,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(zi.yh),t.Y36(ir.F0))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-settings"]],decls:16,vars:7,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["role","tab","tabindex","3","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["role","tab","tabindex","3","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(U,Z){if(1&U&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Settings"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5)(8,"div",6),t.NdJ("click",function(){return Z.activeLink=Z.links[0].link}),t._uU(9),t.qZA(),t.YNc(10,Ys,2,5,"div",7),t.YNc(11,Se,2,3,"div",8),t.qZA(),t._UZ(12,"mat-tab-nav-panel",null,9),t.TgZ(14,"div",10),t._UZ(15,"router-outlet"),t.qZA()()()()),2&U){const Re=t.MAs(13);t.xp6(1),t.Q6J("icon",Z.faUserCog),t.xp6(6),t.Q6J("tabPanel",Re),t.xp6(1),t.s9C("routerLink",Z.links[0].link),t.Q6J("active",Z.activeLink===Z.links[0].link),t.xp6(1),t.Oqu(Z.links[0].name),t.xp6(1),t.Q6J("ngIf",!+Z.appConfig.sso.rtlSSO),t.xp6(1),t.Q6J("ngIf",Z.showBitcoind)}},dependencies:[It.O5,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,nr.a8,nr.dn,Ca.BU,Ca.sW,Ca.Nj,ir.lC,ir.rH]})}return N})();var ce=p(2154),ht=p(9103),ii=p(5980),Me=p(6223),dt=p(2296),_t=p(5683),Ht=p(8525),Xt=p(3680),ci=p(2159),di=p(6985);function Ti(N,z){if(1&N&&(t.TgZ(0,"mat-option",17),t._uU(1),t.qZA()),2&N){const v=z.$implicit;t.Q6J("value",v.index),t.xp6(1),t.AsE(" ",v.lnNode," (",v.lnImplementation,") ")}}function Ii(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"form",2,3)(2,"div",4),t._UZ(3,"fa-icon",5),t.TgZ(4,"span",6),t._uU(5,"Default Node"),t.qZA()(),t.TgZ(6,"div",7)(7,"div",8),t._UZ(8,"fa-icon",9),t.TgZ(9,"span"),t._uU(10,"The setting will apply after RTL server restarts."),t.qZA()(),t.TgZ(11,"div",10)(12,"mat-form-field",11)(13,"mat-select",12),t.NdJ("ngModelChange",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.appConfig.defaultNodeIndex=Z)}),t.YNc(14,Ti,2,3,"mat-option",13),t.qZA()()(),t.TgZ(15,"div",14)(16,"div",10)(17,"button",15),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.onResetSettings())}),t._uU(18,"Reset"),t.qZA(),t.TgZ(19,"button",16),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.onUpdateSettings())}),t._uU(20,"Update"),t.qZA()()()()()}if(2&N){const v=t.oxw();t.xp6(3),t.Q6J("icon",v.faWindowRestore),t.xp6(5),t.Q6J("icon",v.faInfoCircle),t.xp6(5),t.Q6J("ngModel",v.appConfig.defaultNodeIndex),t.xp6(1),t.Q6J("ngForOf",v.appConfig.nodes)}}let Ji=(()=>{class N{constructor(v,U){this.logger=v,this.store=U,this.faInfoCircle=qi.sqG,this.faWindowRestore=qi.wyP,this.faPlus=qi.r8p,this.previousDefaultNode=0,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.select(Mr.Yj).pipe((0,sn.R)(this.unSubs[0])).subscribe(v=>{this.appConfig=v,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(v)})}onAddNewNode(){this.logger.warn("ADD NEW NODE")}onUpdateSettings(){this.store.dispatch((0,ht.zQ)({payload:{uiMessage:ce.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(v=>{v.next(),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ii.mQ),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-app-settings"]],decls:2,vars:1,consts:[["fxLayout","column","fxFlex","100",1,"padding-gap-x-large",3,"perfectScrollbar"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","settings-container page-sub-title-container mt-1",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"my-2"],["fxLayout","row","fxFlex","100",1,"alert","alert-info"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","row","fxLayoutAlign","start start"],["fxLayout","column","fxLayoutAlign","start start"],["autoFocus","","tabindex","1","name","defaultNode",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","tabindex","2",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","3",3,"click"],[3,"value"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0),t.YNc(1,Ii,21,4,"form",1),t.qZA()),2&U&&(t.xp6(1),t.Q6J("ngIf",Z.appConfig.nodes&&Z.appConfig.nodes.length&&Z.appConfig.nodes.length>0))},dependencies:[It.sg,It.O5,Me._Y,Me.JJ,Me.JL,Me.On,Me.F,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,dt.lW,_t.KE,Ht.gD,Xt.ey,ci.$V,di.h]})}return N})();var Xi=p(8927),ln=p(8180),An=p(7700),Zn=p(3439),Mn=p(2703),jr=p(2939),fr=p(2032),Bn=p(8257),na=p(6828),ua=p(7313);const Ir=["stepper"];function co(N,z){if(1&N&&t._uU(0),2&N){const v=t.oxw();t.Oqu(v.passwordFormLabel)}}function Go(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}function lo(N,z){if(1&N&&t._uU(0),2&N){const v=t.oxw(2);t.Oqu(v.secretFormLabel)}}function wa(N,z){if(1&N&&t._UZ(0,"qr-code",33),2&N){const v=t.oxw(2);t.Q6J("value",v.otpauth)("size",180)("errorCorrectionLevel","L")}}function go(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Secret Code is required."),t.qZA())}function zl(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"mat-step",10)(1,"form",22),t.YNc(2,lo,1,1,"ng-template",23),t.TgZ(3,"div",24),t.YNc(4,wa,1,3,"qr-code",25),t.qZA(),t.TgZ(5,"div",26),t._UZ(6,"fa-icon",27),t.TgZ(7,"span"),t._uU(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),t.qZA()(),t.TgZ(9,"div",28)(10,"mat-form-field",13)(11,"mat-label"),t._uU(12,"Secret Code"),t.qZA(),t._UZ(13,"input",29),t.TgZ(14,"fa-icon",30),t.NdJ("copied",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.onCopySecret(Z))}),t.qZA(),t.YNc(15,go,2,0,"mat-error",15),t.qZA()(),t.TgZ(16,"div",31)(17,"button",32),t._uU(18,"Next"),t.qZA()()()()}if(2&N){const v=t.oxw();t.Q6J("stepControl",v.secretFormGroup)("editable",v.flgEditable),t.xp6(1),t.Q6J("formGroup",v.secretFormGroup),t.xp6(3),t.Q6J("ngIf",v.otpauth),t.xp6(2),t.Q6J("icon",v.faInfoCircle),t.xp6(8),t.Q6J("icon",v.faCopy)("payload",null==v.secretFormGroup||null==v.secretFormGroup.controls||null==v.secretFormGroup.controls.secret?null:v.secretFormGroup.controls.secret.value),t.xp6(1),t.Q6J("ngIf",null==v.secretFormGroup||null==v.secretFormGroup.controls||null==v.secretFormGroup.controls.secret||null==v.secretFormGroup.controls.secret.errors?null:v.secretFormGroup.controls.secret.errors.required)}}function Vl(N,z){if(1&N&&t._uU(0),2&N){const v=t.oxw(2);t.Oqu(v.tokenFormLabel)}}function Ba(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is required."),t.qZA())}function Bl(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is invalid."),t.qZA())}function d2(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",7)(1,"div",28)(2,"mat-form-field",13)(3,"mat-label"),t._uU(4,"Token"),t.qZA(),t._UZ(5,"input",37),t.YNc(6,Ba,2,0,"mat-error",15),t.YNc(7,Bl,2,0,"mat-error",15),t.qZA()(),t.TgZ(8,"div",31)(9,"button",38),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw(2);return t.KtG(Z.onVerifyToken())}),t._uU(10),t.qZA()()()}if(2&N){const v=t.oxw(2);t.xp6(6),t.Q6J("ngIf",null==v.tokenFormGroup||null==v.tokenFormGroup.controls||null==v.tokenFormGroup.controls.token||null==v.tokenFormGroup.controls.token.errors?null:v.tokenFormGroup.controls.token.errors.required),t.xp6(1),t.Q6J("ngIf",null==v.tokenFormGroup||null==v.tokenFormGroup.controls||null==v.tokenFormGroup.controls.token||null==v.tokenFormGroup.controls.token.errors?null:v.tokenFormGroup.controls.token.errors.notValid),t.xp6(3),t.Oqu(null!=v.tokenFormGroup&&null!=v.tokenFormGroup.controls&&null!=v.tokenFormGroup.controls.token&&null!=v.tokenFormGroup.controls.token.errors&&v.tokenFormGroup.controls.token.errors.notValid?"Retry":"Verify")}}function j1(N,z){1&N&&(t.TgZ(0,"div")(1,"strong"),t._uU(2,"Success! You are all set."),t.qZA()())}function Ul(N,z){if(1&N&&(t.TgZ(0,"mat-step",34)(1,"form",35),t.YNc(2,Vl,1,1,"ng-template",12),t.YNc(3,d2,11,3,"div",36),t.YNc(4,j1,3,0,"div",15),t.qZA()()),2&N){const v=t.oxw();t.Q6J("stepControl",v.tokenFormGroup),t.xp6(1),t.Q6J("formGroup",v.tokenFormGroup),t.xp6(2),t.Q6J("ngIf",!v.flgValidated||!v.isTokenValid),t.xp6(1),t.Q6J("ngIf",v.flgValidated&&v.isTokenValid)}}function ll(N,z){if(1&N&&t._uU(0),2&N){const v=t.oxw(2);t.Oqu(v.disableFormLabel)}}function Ic(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",7)(1,"div",39),t._UZ(2,"fa-icon",27),t.TgZ(3,"span"),t._uU(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),t.qZA()(),t.TgZ(5,"div",31)(6,"button",38),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw(2);return t.KtG(Z.onVerifyToken())}),t._uU(7,"Disable"),t.qZA()()()}if(2&N){const v=t.oxw(2);t.xp6(2),t.Q6J("icon",v.faExclamationTriangle)}}function kn(N,z){1&N&&(t.TgZ(0,"div")(1,"strong"),t._uU(2,"Two factor authentication removed from RTL."),t.qZA()())}function Gl(N,z){if(1&N&&(t.TgZ(0,"mat-step",34)(1,"form",35),t.YNc(2,ll,1,1,"ng-template",12),t.YNc(3,Ic,8,1,"div",36),t.YNc(4,kn,3,0,"div",15),t.qZA()()),2&N){const v=t.oxw();t.Q6J("stepControl",v.disableFormGroup),t.xp6(1),t.Q6J("formGroup",v.disableFormGroup),t.xp6(2),t.Q6J("ngIf",!v.flgValidated||!v.isTokenValid),t.xp6(1),t.Q6J("ngIf",v.flgValidated&&v.isTokenValid)}}let h2=(()=>{class N{constructor(v,U,Z,Re,Vt,ei){this.dialogRef=v,this.data=U,this.store=Z,this.formBuilder=Re,this.rtlEffects=Vt,this.snackBar=ei,this.faExclamationTriangle=qi.eHv,this.faCopy=qi.kZ_,this.faInfoCircle=qi.sqG,this.flgValidated=!1,this.isTokenValid=!0,this.otpauth="",this.appConfig=null,this.flgEditable=!0,this.showDisableStepper=!1,this.passwordFormLabel="Authenticate with your RTL password",this.secretFormLabel="Scan or copy the secret",this.tokenFormLabel="Verify your authentication is working",this.disableFormLabel="Disable two factor authentication",this.passwordFormGroup=this.formBuilder.group({hiddenPassword:["",[Me.kI.required]],password:["",[Me.kI.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},Me.kI.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",Me.kI.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.appConfig=this.data.appConfig||null,this.showDisableStepper=!!this.appConfig?.enable2FA,this.secretFormGroup=this.formBuilder.group({secret:[{value:this.appConfig?.enable2FA?"":this.generateSecret(),disabled:!0},Me.kI.required]})}generateSecret(){const v=Zn.authenticator.generateSecret();return this.otpauth=Zn.authenticator.keyuri("","Ride The Lightning (RTL)",v),v}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,ht.QO)({payload:Xi(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,ln.q)(1)).subscribe(v=>{"ERROR"!==v?(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(v){this.snackBar.open("Secret code "+this.secretFormGroup.controls.secret.value+" copied.")}onVerifyToken(){if(this.appConfig?.enable2FA)this.store.dispatch((0,ht.Uy)({payload:{secret2fa:""}})),this.generateSecret(),this.isTokenValid=!0;else{if(!this.tokenFormGroup.controls.token.value)return!0;if(this.isTokenValid=Zn.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,ht.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(v){switch(v.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}v.selectedIndex<v.previouslySelectedIndex&&0===v.selectedIndex&&this.passwordFormGroup.controls.hiddenPassword.setValue("")}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(An.so),t.Y36(An.WI),t.Y36(zi.yh),t.Y36(Me.QS),t.Y36(Mn.V),t.Y36(jr.ux))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-two-factor-auth"]],viewQuery:function(U,Z){if(1&U&&t.Gf(Ir,5),2&U){let Re;t.iGM(Re=t.CRH())&&(Z.stepper=Re.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(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5,"Setup Two Factor Authentication"),t.qZA()(),t.TgZ(6,"button",5),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"div",7)(10,"mat-vertical-stepper",8,9),t.NdJ("selectionChange",function(Vt){return Z.stepSelectionChanged(Vt)}),t.TgZ(12,"mat-step",10)(13,"form",11),t.YNc(14,co,1,1,"ng-template",12),t.TgZ(15,"div",0)(16,"mat-form-field",13)(17,"mat-label"),t._uU(18,"Password"),t.qZA(),t._UZ(19,"input",14),t.YNc(20,Go,2,0,"mat-error",15),t.qZA()(),t.TgZ(21,"div",16)(22,"button",17),t.NdJ("click",function(){return Z.onAuthenticate()}),t._uU(23,"Confirm"),t.qZA()()()(),t.YNc(24,zl,19,8,"mat-step",18),t.YNc(25,Ul,5,4,"mat-step",19),t.YNc(26,Gl,5,4,"mat-step",19),t.qZA(),t.TgZ(27,"div",20)(28,"button",21),t._uU(29),t.qZA()()()()()()),2&U&&(t.xp6(6),t.Q6J("mat-dialog-close",!1),t.xp6(4),t.Q6J("linear",!0),t.xp6(2),t.Q6J("stepControl",Z.passwordFormGroup)("editable",Z.flgEditable),t.xp6(1),t.Q6J("formGroup",Z.passwordFormGroup),t.xp6(7),t.Q6J("ngIf",null==Z.passwordFormGroup||null==Z.passwordFormGroup.controls||null==Z.passwordFormGroup.controls.password||null==Z.passwordFormGroup.controls.password.errors?null:Z.passwordFormGroup.controls.password.errors.required),t.xp6(4),t.Q6J("ngIf",!Z.showDisableStepper),t.xp6(1),t.Q6J("ngIf",!Z.showDisableStepper),t.xp6(1),t.Q6J("ngIf",Z.showDisableStepper),t.xp6(2),t.Q6J("mat-dialog-close",!1),t.xp6(1),t.Oqu(Z.flgValidated&&Z.isTokenValid?"Close":"Cancel"))},dependencies:[It.O5,Me._Y,Me.Fj,Me.JJ,Me.JL,Me.Q7,Me.sg,Me.u,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,An.ZT,dt.lW,nr.dn,nr.dk,fr.Nt,_t.KE,_t.hX,_t.TO,_t.R9,Bn.C0,Bn.VY,Bn.Vq,Bn.Ic,na.uU,ua.y,di.h]})}return N})();var js=p(5813),Zo=p(6385);const Zl=["authForm"];function K1(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Current password is required."),t.qZA())}function ho(N,z){if(1&N&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&N){const v=t.oxw(2);t.xp6(1),t.Oqu(v.errorMsg)}}function u2(N,z){if(1&N&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&N){const v=t.oxw(2);t.xp6(1),t.Oqu(v.errorConfirmMsg)}}function Wl(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"form",11,12)(2,"div",13),t._UZ(3,"fa-icon",5),t.TgZ(4,"span",6),t._uU(5,"Password"),t.qZA()(),t.TgZ(6,"mat-form-field")(7,"mat-label"),t._uU(8,"Current Password"),t.qZA(),t.TgZ(9,"input",14),t.NdJ("ngModelChange",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.currPassword=Z)}),t.qZA(),t.YNc(10,K1,2,0,"mat-error",15),t.qZA(),t.TgZ(11,"mat-form-field")(12,"mat-label"),t._uU(13,"New Password"),t.qZA(),t.TgZ(14,"input",16),t.NdJ("ngModelChange",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.newPassword=Z)}),t.qZA(),t.YNc(15,ho,2,1,"mat-error",15),t.qZA(),t.TgZ(16,"mat-form-field")(17,"mat-label"),t._uU(18,"Confirm New Password"),t.qZA(),t.TgZ(19,"input",17),t.NdJ("ngModelChange",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.confirmPassword=Z)}),t.qZA(),t.YNc(20,u2,2,1,"mat-error",15),t.qZA(),t.TgZ(21,"div",18)(22,"button",19),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.onResetPassword())}),t._uU(23,"Reset"),t.qZA(),t.TgZ(24,"button",20),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.onChangePassword())}),t._uU(25,"Change Password"),t.qZA()()()}if(2&N){const v=t.oxw();t.xp6(3),t.Q6J("icon",v.faLock),t.xp6(6),t.Q6J("ngModel",v.currPassword),t.xp6(1),t.Q6J("ngIf",!v.currPassword),t.xp6(4),t.Q6J("ngModel",v.newPassword),t.xp6(1),t.Q6J("ngIf",v.matchOldAndNewPasswords()),t.xp6(4),t.Q6J("ngModel",v.confirmPassword),t.xp6(1),t.Q6J("ngIf",v.matchNewPasswords())}}let ms=(()=>{class N{constructor(v,U,Z,Re,Vt){this.logger=v,this.store=U,this.actions=Z,this.router=Re,this.sessionService=Vt,this.faInfoCircle=qi.sqG,this.faUserLock=qi.FJU,this.faUserClock=qi.hnx,this.faLock=qi.byT,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(Mr.Yj).pipe((0,sn.R)(this.unSubs[0])).subscribe(v=>{this.appConfig=v,this.logger.info(this.appConfig)}),this.store.select(Mr.dT).pipe((0,sn.R)(this.unSubs[1])).subscribe(v=>{this.selNode=v}),this.actions.pipe((0,sn.R)(this.unSubs[2]),(0,ia.h)(v=>v.type===ce.pg.RESET_PASSWORD_RES)).subscribe(v=>{if(ce.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||ce.kO.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,ht.c0)({payload:{currPassword:Xi(this.currPassword).toString(),newPassword:Xi(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let v=!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.",v=!0):ce.kO.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=ce.kO?.reduce((U,Z,Re)=>Re<ce.kO.length-1?U+Z+'" / "':U+Z+'".','Password cannot be "'),v=!0):(this.form.controls.newpassword.setErrors(null),this.errorMsg="",v=!1):(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="New password is required.",v=!0)),v}matchNewPasswords(){let v=!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.",v=!0):(this.form.controls.confirmpassword.setErrors(null),this.errorConfirmMsg="",v=!1):(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="Confirm password is required.",v=!0)),v}on2FAuth(){this.store.dispatch((0,ht.qR)({payload:{data:{appConfig:this.appConfig,component:h2}}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch((0,ht.fk)({payload:{uiMessage:ce.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:this.selNode,isInitialSetup:!0}})),this.unSubs.forEach(v=>{v.next(),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ii.mQ),t.Y36(zi.yh),t.Y36(ko.eX),t.Y36(ir.F0),t.Y36(js.m))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-auth-settings"]],viewQuery:function(U,Z){if(1&U&&t.Gf(Zl,5),2&U){let Re;t.iGM(Re=t.CRH())&&(Z.form=Re.first)}},decls:15,vars:4,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container mt-1",4,"ngIf"],[1,"my-2"],["fxLayout","column","fxLayoutAlign","start stretch"],[1,"mb-1","settings-container","page-sub-title-container","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[1,"alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],[1,"mt-1"],["mat-flat-button","","color","primary","tabindex","6",1,"mb-2",3,"click"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["authForm","ngForm"],["fxLayout","row","fxLayoutAlign","start start",1,"mb-2"],["autoFocus","","matInput","","type","password","id","currpassword","name","currpassword","tabindex","1","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["matInput","","type","password","id","newpassword","name","newpassword","tabindex","2","required","",3,"ngModel","ngModelChange"],["matInput","","type","password","id","confirmpassword","name","confirmpassword","tabindex","3","required","",3,"ngModel","ngModelChange"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","5","type","submit",3,"click"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0),t.YNc(1,Wl,26,7,"form",1),t._UZ(2,"mat-divider",2),t.TgZ(3,"div",3)(4,"div",4),t._UZ(5,"fa-icon",5),t.TgZ(6,"span",6),t._uU(7,"Two Factor Authentication"),t.qZA()(),t.TgZ(8,"div",7),t._UZ(9,"fa-icon",8),t.TgZ(10,"span"),t._uU(11,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),t.qZA()(),t.TgZ(12,"div",9)(13,"button",10),t.NdJ("click",function(){return Z.on2FAuth()}),t._uU(14),t.qZA()()()()),2&U&&(t.xp6(1),t.Q6J("ngIf",null==Z.appConfig?null:Z.appConfig.allowPasswordUpdate),t.xp6(4),t.Q6J("icon",Z.faUserClock),t.xp6(4),t.Q6J("icon",Z.faInfoCircle),t.xp6(5),t.Oqu(Z.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[It.O5,Me._Y,Me.Fj,Me.JJ,Me.JL,Me.Q7,Me.On,Me.F,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,dt.lW,fr.Nt,_t.KE,_t.hX,_t.TO,Zo.d,di.h]})}return N})();var Ks=p(9038);function f2(N,z){1&N&&t._UZ(0,"mat-divider",7)}function Vi(N,z){if(1&N&&(t.TgZ(0,"div",4)(1,"pre",5),t._uU(2),t.ALo(3,"json"),t.qZA(),t.YNc(4,f2,1,0,"mat-divider",6),t.qZA()),2&N){const v=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,2,v.configData)),t.xp6(2),t.Q6J("ngIf",""!==v.configData)}}function dr(N,z){if(1&N&&(t.TgZ(0,"h2"),t._uU(1),t.qZA()),2&N){const v=t.oxw().$implicit;t.xp6(1),t.Oqu(v)}}function Yl(N,z){if(1&N&&(t.TgZ(0,"h4",14),t._uU(1),t.qZA()),2&N){const v=t.oxw().$implicit;t.xp6(1),t.Oqu(v)}}function dl(N,z){1&N&&t._UZ(0,"mat-divider",15),2&N&&t.Q6J("inset",!0)}function Ma(N,z){if(1&N&&(t.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),t.YNc(2,dr,2,1,"h2",10),t.qZA(),t.TgZ(3,"mat-card-subtitle",11),t.YNc(4,Yl,2,1,"h4",12),t.qZA(),t.YNc(5,dl,1,1,"mat-divider",13),t.qZA()),2&N){const v=z.$implicit;t.xp6(2),t.Q6J("ngIf",v.indexOf("[")>=0),t.xp6(2),t.Q6J("ngIf",v.indexOf("[")<0),t.xp6(1),t.Q6J("ngIf",v.indexOf("[")<0)}}function jl(N,z){if(1&N&&(t.TgZ(0,"div",8)(1,"mat-list"),t.YNc(2,Ma,6,3,"mat-list-item",9),t.qZA()()),2&N){const v=t.oxw();t.xp6(2),t.Q6J("ngForOf",v.configData)}}let Qs=(()=>{class N{constructor(v,U,Z){this.store=v,this.rtlEffects=U,this.router=Z,this.configData="",this.fileFormat="INI",this.faCog=qi.b7W,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.dispatch((0,ht.Q2)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,sn.R)(this.unSubs[1])).subscribe(v=>{const U=v.data;this.fileFormat=v.format,this.configData=""===U||!U||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==U&&U&&"JSON"===this.fileFormat?U:"":U.split("\n")})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(zi.yh),t.Y36(Mn.V),t.Y36(ir.F0))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-bitcoin-config"]],decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,Vi,5,4,"div",2),t.YNc(3,jl,3,1,"div",3),t.qZA()()),2&U&&(t.xp6(2),t.Q6J("ngIf",""!==Z.configData&&"JSON"===Z.fileFormat),t.xp6(1),t.Q6J("ngIf",""!==Z.configData&&("INI"===Z.fileFormat||"HOCON"===Z.fileFormat)))},dependencies:[It.sg,It.O5,Yi.xw,Yi.Wh,Yi.yH,nr.$j,Ks.i$,Ks.Tg,Zo.d,It.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return N})();function _o(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}let kc=(()=>{class N{constructor(v,U,Z){this.dialogRef=v,this.store=U,this.rtlEffects=Z,this.password="",this.isAuthenticated=!1,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,ln.q)(1)).subscribe(v=>{"ERROR"!==v?(this.isAuthenticated=!0,this.store.dispatch((0,ht.M6)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,ht.QO)({payload:Xi(this.password)}))}onClose(){this.store.dispatch((0,ht.M6)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(An.so),t.Y36(zi.yh),t.Y36(Mn.V))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-is-authorized"]],decls:18,vars:2,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["autoFocus","","matInput","","type","password","id","password","name","password","tabindex","1","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","2","type","submit","default","",3,"click"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5,"Authenticate with your RTL Password"),t.qZA()(),t.TgZ(6,"button",5),t.NdJ("click",function(){return Z.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7)(10,"mat-form-field")(11,"mat-label"),t._uU(12,"Password"),t.qZA(),t.TgZ(13,"input",8),t.NdJ("ngModelChange",function(Vt){return Z.password=Vt}),t.qZA(),t.YNc(14,_o,2,0,"mat-error",9),t.qZA(),t.TgZ(15,"div",10)(16,"button",11),t.NdJ("click",function(){return Z.onAuthenticate()}),t._uU(17,"Confirm"),t.qZA()()()()()()),2&U&&(t.xp6(13),t.Q6J("ngModel",Z.password),t.xp6(1),t.Q6J("ngIf",!Z.password))},dependencies:[It.O5,Me._Y,Me.Fj,Me.JJ,Me.JL,Me.Q7,Me.On,Me.F,Yi.xw,Yi.Wh,Yi.yH,dt.lW,nr.dn,nr.dk,fr.Nt,_t.KE,_t.hX,_t.TO,di.h]})}return N})();const fc=function(){return{initial:!1}};function mc(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",13),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[2].link)}),t._uU(1),t.qZA()}if(2&N){const v=t.oxw();t.s9C("routerLink",v.links[2].link),t.Q6J("active",v.activeLink===v.links[2].link)("state",t.DdM(4,fc)),t.xp6(1),t.Oqu(v.links[2].name)}}function Ds(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",14),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[3].link)}),t._uU(1),t.qZA()}if(2&N){const v=t.oxw();t.s9C("routerLink",v.links[3].link),t.Q6J("active",v.activeLink===v.links[3].link),t.xp6(1),t.Oqu(v.links[3].name)}}function Kl(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",15),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.showLnConfigClicked())}),t._uU(1),t.qZA()}if(2&N){const v=t.oxw();t.Q6J("active",v.activeLink===v.links[4].link),t.xp6(1),t.Oqu(v.links[4].name)}}let wr=(()=>{class N{constructor(v,U,Z,Re){this.store=v,this.router=U,this.rtlEffects=Z,this.activatedRoute=Re,this.faTools=qi.CgH,this.showLnConfig=!1,this.lnImplementationStr="",this.links=[{link:"nodesettings",name:"Node Settings"},{link:"pglayout",name:"Page Layout"},{link:"services",name:"Services"},{link:"experimental",name:"Experimental"},{link:"lnconfig",name:this.lnImplementationStr}],this.activeLink="",this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){const v=this.links.find(U=>this.router.url.includes(U.link));this.activeLink=v?v.link:this.links[0].link,this.router.events.pipe((0,sn.R)(this.unSubs[0]),(0,ia.h)(U=>U instanceof ir.Av)).subscribe({next:U=>{const Z=this.links.find(Re=>U.urlAfterRedirects.includes(Re.link));this.activeLink=Z?Z.link:this.links[0].link}}),this.store.select(Mr.Yj).pipe((0,sn.R)(this.unSubs[1])).subscribe(U=>{this.appConfig=U}),this.store.select(Mr.dT).pipe((0,sn.R)(this.unSubs[2])).subscribe(U=>{switch(this.showLnConfig=!1,this.selNode=U,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,ht.qR)({payload:{maxWidth:"50rem",data:{component:kc}}})),this.rtlEffects.closeAlert.pipe((0,sn.R)(this.unSubs[3])).subscribe(v=>{v&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))}))}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(zi.yh),t.Y36(ir.F0),t.Y36(Mn.V),t.Y36(ir.gz))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-node-config"]],decls:19,vars:11,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["tabindex","4","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabindex","5","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper","mb-2"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["tabindex","4","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","5","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","click"]],template:function(U,Z){if(1&U&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Node Config"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5)(8,"div",6),t.NdJ("click",function(){return Z.activeLink=Z.links[0].link}),t._uU(9),t.qZA(),t.TgZ(10,"div",7),t.NdJ("click",function(){return Z.activeLink=Z.links[1].link}),t._uU(11),t.qZA(),t.YNc(12,mc,2,5,"div",8),t.YNc(13,Ds,2,3,"div",9),t.YNc(14,Kl,2,2,"div",10),t.qZA(),t._UZ(15,"mat-tab-nav-panel",null,11),t.TgZ(17,"div",12),t._UZ(18,"router-outlet"),t.qZA()()()()),2&U){const Re=t.MAs(16);t.xp6(1),t.Q6J("icon",Z.faTools),t.xp6(6),t.Q6J("tabPanel",Re),t.xp6(1),t.s9C("routerLink",Z.links[0].link),t.Q6J("active",Z.activeLink===Z.links[0].link),t.xp6(1),t.Oqu(Z.links[0].name),t.xp6(1),t.s9C("routerLink",Z.links[1].link),t.Q6J("active",Z.activeLink===Z.links[1].link),t.xp6(1),t.Oqu(Z.links[1].name),t.xp6(1),t.Q6J("ngIf","LND"===(null==Z.selNode||null==Z.selNode.lnImplementation?null:Z.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf","CLN"===(null==Z.selNode||null==Z.selNode.lnImplementation?null:Z.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf",Z.showLnConfig)}},dependencies:[It.O5,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,nr.a8,nr.dn,Ca.BU,Ca.sW,Ca.Nj,ir.lC,ir.rH]})}return N})();function Kr(N,z){1&N&&t._UZ(0,"mat-divider",7)}function ye(N,z){if(1&N&&(t.TgZ(0,"div",4)(1,"pre",5),t._uU(2),t.ALo(3,"json"),t.qZA(),t.YNc(4,Kr,1,0,"mat-divider",6),t.qZA()),2&N){const v=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,2,v.configData)),t.xp6(2),t.Q6J("ngIf",""!==v.configData)}}function Fe(N,z){if(1&N&&(t.TgZ(0,"h2"),t._uU(1),t.qZA()),2&N){const v=t.oxw().$implicit;t.xp6(1),t.Oqu(v)}}function me(N,z){if(1&N&&(t.TgZ(0,"h4",14),t._uU(1),t.qZA()),2&N){const v=t.oxw().$implicit;t.xp6(1),t.Oqu(v)}}function He(N,z){1&N&&t._UZ(0,"mat-divider",15),2&N&&t.Q6J("inset",!0)}function ft(N,z){if(1&N&&(t.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),t.YNc(2,Fe,2,1,"h2",10),t.qZA(),t.TgZ(3,"mat-card-subtitle",11),t.YNc(4,me,2,1,"h4",12),t.qZA(),t.YNc(5,He,1,1,"mat-divider",13),t.qZA()),2&N){const v=z.$implicit;t.xp6(2),t.Q6J("ngIf",v.indexOf("[")>=0),t.xp6(2),t.Q6J("ngIf",v.indexOf("[")<0),t.xp6(1),t.Q6J("ngIf",v.indexOf("[")<0)}}function zt(N,z){if(1&N&&(t.TgZ(0,"div",8)(1,"mat-list"),t.YNc(2,ft,6,3,"mat-list-item",9),t.qZA()()),2&N){const v=t.oxw();t.xp6(2),t.Q6J("ngForOf",v.configData)}}let ni=(()=>{class N{constructor(v,U,Z){this.store=v,this.rtlEffects=U,this.router=Z,this.configData="",this.fileFormat="INI",this.faCog=qi.b7W,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.dispatch((0,ht.Q2)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,sn.R)(this.unSubs[1])).subscribe(v=>{const U=v.data;this.fileFormat=v.format,this.configData=""===U||!U||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==U&&U&&"JSON"===this.fileFormat?U:"":U.split("\n")})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(zi.yh),t.Y36(Mn.V),t.Y36(ir.F0))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-lnp-config"]],decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,ye,5,4,"div",2),t.YNc(3,zt,3,1,"div",3),t.qZA()()),2&U&&(t.xp6(2),t.Q6J("ngIf",""!==Z.configData&&"JSON"===Z.fileFormat),t.xp6(1),t.Q6J("ngIf",""!==Z.configData&&("INI"===Z.fileFormat||"HOCON"===Z.fileFormat)))},dependencies:[It.sg,It.O5,Yi.xw,Yi.Wh,Yi.yH,nr.$j,Ks.i$,Ks.Tg,Zo.d,It.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return N})();var bi=p(2249),_i=p(234),Zi=p(9191),bn=p(6339),sr=p(7509),wn=p(3305),uo=p(7466),No=p(2599);function qs(N,z){if(1&N&&(t.TgZ(0,"mat-option",35),t._uU(1),t.qZA()),2&N){const v=z.$implicit;t.Q6J("value",v.id),t.xp6(1),t.hij(" ",v.id," ")}}function hl(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Currency unit is required."),t.qZA())}function Ls(N,z){if(1&N&&(t.TgZ(0,"mat-radio-button",36),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&N){const v=z.$implicit,U=t.oxw();t.Q6J("value",v)("checked",U.selNode.settings.userPersona===v),t.xp6(1),t.hij(" ",t.lcZ(2,3,v)," ")}}function pc(N,z){if(1&N&&(t.TgZ(0,"mat-radio-button",37),t._uU(1),t.qZA()),2&N){const v=z.$implicit;t.Q6J("value",v),t.xp6(1),t.hij("",v.name," ")}}const tf=function(N){return{skin:!0,"selected-color":N}};function Q1(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"span",38)(1,"div",39),t.NdJ("click",function(){const Re=t.CHM(v).$implicit,Vt=t.oxw();return t.KtG(Vt.changeThemeColor(Re.id))}),t.ALo(2,"lowercase"),t.qZA(),t._uU(3),t.qZA()}if(2&N){const v=z.$implicit,U=t.oxw();t.xp6(1),t.Tol(t.lcZ(2,4,v.id)),t.Q6J("ngClass",t.VKq(6,tf,U.selectedThemeColor===v.id)),t.xp6(2),t.hij(" ",v.name," ")}}let Ua=(()=>{class N{constructor(v,U,Z){this.logger=v,this.commonService=U,this.store=Z,this.faExclamationTriangle=qi.eHv,this.faMoneyBillAlt=qi.co4,this.faPaintBrush=qi.XsY,this.faInfoCircle=qi.sqG,this.faEyeSlash=qi.Aq,this.userPersonas=[ce.ol.OPERATOR,ce.ol.MERCHANT],this.currencyUnits=ce.Er,this.themeModes=ce.wZ.modes,this.themeColors=ce.wZ.themes,this.selectedThemeMode=ce.wZ.modes[0],this.selectedThemeColor=ce.wZ.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=ce.cu,this.unSubs=[new Bi.x,new Bi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Mr.dT).pipe((0,sn.R)(this.unSubs[0])).subscribe(v=>{this.selNode=v,this.selectedThemeMode=this.themeModes.find(U=>this.selNode.settings.themeMode===U.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(v)})}onCurrencyChange(v){this.selNode.settings.currencyUnits=[...ce.uA,v.value],this.store.dispatch((0,Zi.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:v.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.Mf)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:v.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,bi.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:v.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(v,U){this.selNode.settings[v]=!this.selNode.settings[v]}changeThemeColor(v){this.selectedThemeColor=v,this.selNode.settings.themeColor=v}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,ht.zQ)({payload:{uiMessage:ce.m6.UPDATE_NODE_SETTINGS,settings:this.selNode.settings}})),this.store.dispatch((0,Zi.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,_i.Mf)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}})),this.store.dispatch((0,bi.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 v=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(U=>U.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,ht.fk)({payload:{uiMessage:ce.m6.NO_SPINNER,prevLnNodeIndex:+v,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ii.mQ),t.Y36(bn.v),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-node-settings"]],decls:78,vars:18,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container"],["form","ngForm"],["displayMode","flat","multi","false"],["fxLayout","column",1,"flat-expansion-panel","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","start stretch"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-1"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","row wrap","fxLayoutAlign","start center"],["tabindex","1","color","primary","name","unannouncedChannels",3,"ngModel","ngModelChange","change"],["fxFlex","100",1,"alert","alert-warn"],["href","https://www.blockchain.com/api/exchange_rates_api","target","blank"],["tabindex","2","color","primary","name","fiatConversion",1,"mr-2",3,"ngModel","ngModelChange","change"],["autoFocus","","tabindex","3","name","currencyUnit",3,"disabled","required","ngModel","ngModelChange","selectionChange"],["currencyUnit","ngModel"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-0"],["fxLayout","column","fxLayoutAlign","start start","fxFlex","100"],["color","primary","tabindex","1","name","userPersona",1,"radio-group",3,"ngModel","ngModelChange"],["class","radio-text mr-4",3,"value","checked",4,"ngFor","ngForOf"],[1,"mt-1"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start"],["color","primary","name","themeMode",1,"radio-group",3,"ngModel","ngModelChange","change"],["tabindex","5","class","radio-text mr-4",3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxLayout.gt-xs","row","fxFlex","100","fxLayoutAlign","space-between stretch","fxLayoutAlign.gt-xs","start stretch"],["fxLayout","column","fxFlex.gt-xs","50","fxFlex.gt-md","40","fxLayoutAlign","space-between stretch"],["fxLayout","row","fxFlex","100","fxLayoutAlign","space-between start"],["fxLayout","row","class","theme-name",4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","start start",1,"mt-1"],["fxLayout","row"],["mat-stroked-button","","color","primary","tabindex","10",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","11",3,"click"],[3,"value"],[1,"radio-text","mr-4",3,"value","checked"],["tabindex","5",1,"radio-text","mr-4",3,"value"],["fxLayout","row",1,"theme-name"],["tabindex","9",3,"ngClass","click"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"form",1,2)(3,"mat-accordion",3)(4,"mat-expansion-panel",4)(5,"mat-expansion-panel-header")(6,"mat-panel-title"),t._UZ(7,"fa-icon",5),t.TgZ(8,"span",6),t._uU(9,"Open Unannounced Channels"),t.qZA()()(),t.TgZ(10,"div",7)(11,"div",8),t._UZ(12,"fa-icon",9),t.TgZ(13,"span"),t._uU(14,"Use this control to toggle setting which defaults to opening unannounced channels only."),t.qZA()(),t.TgZ(15,"div",10)(16,"mat-slide-toggle",11),t.NdJ("ngModelChange",function(Vt){return Z.selNode.settings.unannouncedChannels=Vt})("change",function(){return!Z.selNode.settings.unannouncedChannels}),t._uU(17,"Open Unannounced Channels"),t.qZA()()()(),t.TgZ(18,"mat-expansion-panel",4)(19,"mat-expansion-panel-header")(20,"mat-panel-title"),t._UZ(21,"fa-icon",5),t.TgZ(22,"span",6),t._uU(23,"Balance Display"),t.qZA()()(),t.TgZ(24,"div",7)(25,"div",12),t._UZ(26,"fa-icon",9),t.TgZ(27,"span"),t._uU(28,"Fiat conversion calls "),t.TgZ(29,"strong")(30,"a",13),t._uU(31,"Blockchain.com"),t.qZA()(),t._uU(32," API to get conversion rates."),t.qZA()(),t.TgZ(33,"div",10)(34,"mat-slide-toggle",14),t.NdJ("ngModelChange",function(Vt){return Z.selNode.settings.fiatConversion=Vt})("change",function(){return!Z.selNode.settings.currencyUnit}),t._uU(35,"Enable Fiat Conversion"),t.qZA(),t.TgZ(36,"mat-form-field")(37,"mat-label"),t._uU(38,"Fiat Currency"),t.qZA(),t.TgZ(39,"mat-select",15,16),t.NdJ("ngModelChange",function(Vt){return Z.selNode.settings.currencyUnit=Vt})("selectionChange",function(Vt){return Z.onCurrencyChange(Vt)}),t.YNc(41,qs,2,2,"mat-option",17),t.qZA(),t.YNc(42,hl,2,0,"mat-error",18),t.qZA()()()(),t.TgZ(43,"mat-expansion-panel",4)(44,"mat-expansion-panel-header")(45,"mat-panel-title"),t._UZ(46,"fa-icon",5),t.TgZ(47,"span",6),t._uU(48,"Customization"),t.qZA()()(),t.TgZ(49,"div",7)(50,"div",19),t._UZ(51,"fa-icon",9),t.TgZ(52,"span"),t._uU(53,"Dashboard layout will be tailored based on the role selected to better serve its needs."),t.qZA()(),t.TgZ(54,"div",20)(55,"h4"),t._uU(56,"Dashboard Layout"),t.qZA(),t.TgZ(57,"mat-radio-group",21),t.NdJ("ngModelChange",function(Vt){return Z.selNode.settings.userPersona=Vt}),t.YNc(58,Ls,3,5,"mat-radio-button",22),t.qZA()(),t._UZ(59,"mat-divider",23),t.TgZ(60,"div",24)(61,"h4"),t._uU(62,"Mode"),t.qZA(),t.TgZ(63,"mat-radio-group",25),t.NdJ("ngModelChange",function(Vt){return Z.selectedThemeMode=Vt})("change",function(){return Z.chooseThemeMode()}),t.YNc(64,pc,2,2,"mat-radio-button",26),t.qZA()(),t._UZ(65,"mat-divider",23),t.TgZ(66,"div",27)(67,"div",28)(68,"h4"),t._uU(69,"Themes"),t.qZA(),t.TgZ(70,"div",29),t.YNc(71,Q1,4,8,"span",30),t.qZA()()()()()()(),t.TgZ(72,"div",31)(73,"div",32)(74,"button",33),t.NdJ("click",function(){return Z.onResetSettings()}),t._uU(75,"Reset"),t.qZA(),t.TgZ(76,"button",34),t.NdJ("click",function(){return Z.onUpdateSettings()}),t._uU(77,"Update"),t.qZA()()()()),2&U&&(t.xp6(7),t.Q6J("icon",Z.faEyeSlash),t.xp6(5),t.Q6J("icon",Z.faInfoCircle),t.xp6(4),t.Q6J("ngModel",Z.selNode.settings.unannouncedChannels),t.xp6(5),t.Q6J("icon",Z.faMoneyBillAlt),t.xp6(5),t.Q6J("icon",Z.faExclamationTriangle),t.xp6(8),t.Q6J("ngModel",Z.selNode.settings.fiatConversion),t.xp6(5),t.Q6J("disabled",!Z.selNode.settings.fiatConversion)("required",Z.selNode.settings.fiatConversion)("ngModel",Z.selNode.settings.currencyUnit),t.xp6(2),t.Q6J("ngForOf",Z.currencyUnits),t.xp6(1),t.Q6J("ngIf",Z.selNode.settings.fiatConversion&&!Z.selNode.settings.currencyUnit),t.xp6(4),t.Q6J("icon",Z.faPaintBrush),t.xp6(5),t.Q6J("icon",Z.faInfoCircle),t.xp6(6),t.Q6J("ngModel",Z.selNode.settings.userPersona),t.xp6(1),t.Q6J("ngForOf",Z.userPersonas),t.xp6(5),t.Q6J("ngModel",Z.selectedThemeMode),t.xp6(1),t.Q6J("ngForOf",Z.themeModes),t.xp6(7),t.Q6J("ngForOf",Z.themeColors))},dependencies:[It.mk,It.sg,It.O5,Me._Y,Me.JJ,Me.JL,Me.Q7,Me.On,Me.F,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,sr.oO,dt.lW,wn.pp,wn.ib,wn.yz,wn.yK,_t.KE,_t.hX,_t.TO,Zo.d,uo.VQ,uo.U0,Ht.gD,Xt.ey,No.Rr,ci.$V,di.h,It.i8,It.rS],styles:["h4[_ngcontent-%COMP%]{margin:.75rem 0 .5rem}.theme-name[_ngcontent-%COMP%]{min-width:10rem}@media only screen and (max-width: 37.5em){.theme-name[_ngcontent-%COMP%]{min-width:unset}}.skin[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;border-radius:50%;cursor:pointer;margin-right:.5rem}.skin.selected-color[_ngcontent-%COMP%]{width:1rem;height:1rem;border:2px solid}.skin.purple[_ngcontent-%COMP%]{background-color:#5e4ea5}.skin.indigo[_ngcontent-%COMP%]{background-color:#3f51b5}.skin.teal[_ngcontent-%COMP%]{background-color:#00695c}.skin.pink[_ngcontent-%COMP%]{background-color:#d81b60}.skin.yellow[_ngcontent-%COMP%]{background-color:#a1842c}"]})}return N})();var Is=p(2460),kr=p(3468),ul=p(7321),m2=p(9930),gc=p(617),q1=p(2596),Js=p(2995);const J1=function(N){return{error:N}};function Oc(N,z){if(1&N&&t.GkF(0,14),2&N){const v=t.oxw(),U=t.MAs(18);t.Q6J("ngTemplateOutlet",U)("ngTemplateOutletContext",t.VKq(2,J1,v.errorMessage))}}function ps(N,z){if(1&N&&(t.TgZ(0,"mat-option",31),t._uU(1),t.qZA()),2&N){const v=z.$implicit;t.Q6J("value",v),t.xp6(1),t.hij(" ",v," ")}}function ks(N,z){if(1&N&&(t.TgZ(0,"mat-option",31),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&N){const v=z.$implicit,U=t.oxw(3);t.Q6J("value",v),t.xp6(1),t.hij(" ","ECL"===U.selNode.lnImplementation?t.lcZ(2,2,v):t.xi3(3,4,v,"_")," ")}}function vo(N,z){if(1&N&&(t.TgZ(0,"mat-option",31),t._uU(1),t.qZA()),2&N){const v=z.$implicit;t.Q6J("value",v),t.xp6(1),t.hij(" ","desc"===v?"Descending":"Ascending"," ")}}function Wo(N,z){if(1&N&&(t.TgZ(0,"mat-option",34),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&N){const v=z.$implicit,U=t.oxw(2).$implicit,Z=t.oxw(2);t.Q6J("value",v.column)("disabled",U.columnSelection.length<=2&&U.columnSelection.includes(v.column)),t.xp6(1),t.hij(" ",v.label?v.label:"ECL"===Z.selNode.lnImplementation?t.lcZ(2,3,v.column):t.xi3(3,5,v.column,"_")," ")}}function Yo(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"mat-form-field",32)(1,"mat-label"),t._uU(2,"Column selection (Desktop Resolution)"),t.qZA(),t.TgZ(3,"mat-select",33),t.NdJ("ngModelChange",function(Z){t.CHM(v);const Re=t.oxw().$implicit;return t.KtG(Re.columnSelection=Z)})("selectionChange",function(){t.CHM(v);const Z=t.oxw().$implicit,Re=t.oxw(2);return t.KtG(Re.oncolumnSelectionChange(Z))}),t.YNc(4,Wo,4,8,"mat-option",28),t.qZA()()}if(2&N){const v=t.oxw().$implicit,U=t.oxw().$implicit,Z=t.oxw();t.xp6(3),t.hYB("name","",U.pageId,"",v.tableId,"-columns-selection"),t.Q6J("ngModel",v.columnSelection),t.xp6(1),t.Q6J("ngForOf",Z.nodePageDefs[U.pageId][v.tableId].allowedColumns)}}function fl(N,z){if(1&N&&(t.TgZ(0,"mat-option",34),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&N){const v=z.$implicit,U=t.oxw().$implicit,Z=t.oxw(2);t.Q6J("value",v.column)("disabled",U.columnSelectionSM.length<=1&&U.columnSelectionSM.includes(v.column)||U.columnSelectionSM.length>=3&&!U.columnSelectionSM.includes(v.column)),t.xp6(1),t.hij(" ",v.label?v.label:"ECL"===Z.selNode.lnImplementation?t.lcZ(2,3,v.column):t.xi3(3,5,v.column,"_")," ")}}const Pc=function(N){return{"ml-minus-1":N}};function Ql(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",17)(1,"div",18)(2,"span",19),t._uU(3),t.ALo(4,"camelcaseWithReplace"),t.qZA(),t.TgZ(5,"mat-form-field",20)(6,"mat-label"),t._uU(7,"Records/Page"),t.qZA(),t.TgZ(8,"mat-select",21),t.NdJ("ngModelChange",function(Z){const Vt=t.CHM(v).$implicit;return t.KtG(Vt.recordsPerPage=Z)}),t.YNc(9,ps,2,2,"mat-option",22),t.qZA()(),t.TgZ(10,"mat-form-field",20)(11,"mat-label"),t._uU(12,"Sort By"),t.qZA(),t.TgZ(13,"mat-select",23),t.NdJ("ngModelChange",function(Z){const Vt=t.CHM(v).$implicit;return t.KtG(Vt.sortBy=Z)}),t.YNc(14,ks,4,7,"mat-option",22),t.qZA()(),t.TgZ(15,"mat-form-field",20)(16,"mat-label"),t._uU(17,"Sort Order"),t.qZA(),t.TgZ(18,"mat-select",24),t.NdJ("ngModelChange",function(Z){const Vt=t.CHM(v).$implicit;return t.KtG(Vt.sortOrder=Z)}),t.YNc(19,vo,2,2,"mat-option",22),t.qZA()(),t.YNc(20,Yo,5,4,"mat-form-field",25),t.TgZ(21,"mat-form-field",26)(22,"mat-label"),t._uU(23,"Column Selection (Mobile Resolution)"),t.qZA(),t.TgZ(24,"mat-select",27),t.NdJ("ngModelChange",function(Z){const Vt=t.CHM(v).$implicit;return t.KtG(Vt.columnSelectionSM=Z)}),t.YNc(25,fl,4,8,"mat-option",28),t.qZA()(),t.TgZ(26,"button",29),t.NdJ("click",function(){const Re=t.CHM(v).$implicit,Vt=t.oxw().$implicit,ei=t.oxw();return t.KtG(ei.onTableReset(Vt.pageId,Re))}),t.TgZ(27,"mat-icon",30),t._uU(28,"restore"),t.qZA()()()()}if(2&N){const v=z.$implicit,U=t.oxw().$implicit,Z=t.oxw();t.xp6(3),t.hij("",t.xi3(4,20,v.tableId,"_"),":"),t.xp6(5),t.hYB("name","",U.pageId,"",v.tableId,"-page-size-options"),t.Q6J("disabled",Z.nodePageDefs[U.pageId][v.tableId].disablePageSize)("ngModel",v.recordsPerPage),t.xp6(1),t.Q6J("ngForOf",Z.pageSizeOptions),t.xp6(4),t.hYB("name","",U.pageId,"",v.tableId,"-sort-by"),t.Q6J("ngModel",v.sortBy),t.xp6(1),t.Q6J("ngForOf",v.columnSelection),t.xp6(4),t.hYB("name","",U.pageId,"",v.tableId,"-sort-order"),t.Q6J("ngModel",v.sortOrder),t.xp6(1),t.Q6J("ngForOf",Z.sortOrders),t.xp6(1),t.Q6J("ngIf",Z.screenSize!==Z.screenSizeEnum.XS),t.xp6(4),t.hYB("name","",U.pageId,"",v.tableId,"-columns-selection-sm"),t.Q6J("ngModel",v.columnSelectionSM),t.xp6(1),t.Q6J("ngForOf",Z.nodePageDefs[U.pageId][v.tableId].allowedColumns),t.xp6(2),t.Q6J("ngClass",t.VKq(23,Pc,Z.screenSize===Z.screenSizeEnum.XS||Z.screenSize===Z.screenSizeEnum.SM))}}function X1(N,z){if(1&N&&t.GkF(0,14),2&N){const v=t.oxw(2),U=t.MAs(18);t.Q6J("ngTemplateOutlet",U)("ngTemplateOutletContext",t.VKq(2,J1,v.errorMessage))}}const Xs=function(N){return{"error-border":N}};function ra(N,z){if(1&N&&(t.TgZ(0,"mat-expansion-panel",15)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t._uU(3),t.ALo(4,"camelcaseWithReplace"),t.qZA()(),t.YNc(5,Ql,29,25,"div",16),t.YNc(6,X1,1,4,"ng-container",6),t.qZA()),2&N){const v=z.$implicit,U=t.oxw();t.Q6J("ngClass",t.VKq(7,Xs,(null==U.errorMessage?null:U.errorMessage.page)===v.pageId)),t.xp6(3),t.Oqu(t.xi3(4,4,v.pageId,"_")),t.xp6(2),t.Q6J("ngForOf",v.tables),t.xp6(1),t.Q6J("ngIf",U.errorMessage&&(null==U.errorMessage?null:U.errorMessage.page)===v.pageId)}}function ql(N,z){if(1&N&&(t.TgZ(0,"mat-panel-title"),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&N){const v=t.oxw().error;t.xp6(1),t.hij("Page ",t.lcZ(2,1,v.page),"")}}function nf(N,z){if(1&N&&(t.TgZ(0,"mat-list-item")(1,"mat-icon",39),t._uU(2,"close"),t.qZA(),t.TgZ(3,"span"),t._uU(4),t.qZA()()),2&N){const v=t.oxw().error;t.xp6(4),t.Oqu(v.message)}}function $s(N,z){if(1&N&&(t.TgZ(0,"mat-list-item")(1,"mat-icon",39),t._uU(2,"close"),t.qZA(),t.TgZ(3,"span"),t._uU(4),t.ALo(5,"titlecase"),t.qZA()()),2&N){const v=z.$implicit;t.xp6(4),t.AsE("Table ",t.lcZ(5,2,v.table)," ",v.message,"")}}const rf=function(N){return{"error-border p-2":N}};function $1(N,z){if(1&N&&(t.TgZ(0,"div",35),t.YNc(1,ql,3,3,"mat-panel-title",36),t.TgZ(2,"mat-list",37),t.YNc(3,nf,5,1,"mat-list-item",36),t.YNc(4,$s,6,4,"mat-list-item",38),t.qZA()()),2&N){const v=z.error,U=t.oxw();t.Q6J("ngClass",t.VKq(4,rf,"unknown"===U.errorMessage.page)),t.xp6(1),t.Q6J("ngIf","unknown"===U.errorMessage.page),t.xp6(2),t.Q6J("ngIf",v.message),t.xp6(1),t.Q6J("ngForOf",v.tables)}}let af=(()=>{class N{constructor(v,U,Z,Re){this.logger=v,this.commonService=U,this.store=Z,this.actions=Re,this.faPenRuler=qi.SoD,this.faExclamationTriangle=qi.eHv,this.screenSize="",this.screenSizeEnum=ce.cu,this.pageSizeOptions=ce.TJ,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=ce.zZ,this.apiCallStatus=null,this.apiCallStatusEnum=ce.Bn,this.errorMessage=null,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Mr.dT).pipe((0,sn.R)(this.unSubs[0])).subscribe(v=>{switch(this.selNode=v,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],ce.gG),this.defaultSettings=Object.assign([],ce.gG),this.nodePageDefs=ce.At,this.store.select(kr.AS).pipe((0,sn.R)(this.unSubs[1]),(0,Is.M)(this.store.select(kr.lw))).subscribe(([U,Z])=>{const Re=JSON.parse(JSON.stringify(U.pageSettings));if(this.errorMessage=null,this.apiCallStatus=U.apiCallStatus,this.apiCallStatus.status===ce.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Re,this.initialPageSettings=Re;else{if(!Z?.enableOffers){const Vt=Re.find(Ei=>"transactions"===Ei.pageId),ei=Vt?.tables.findIndex(Ei=>"offers"===Ei.tableId),fi=Vt?.tables.findIndex(Ei=>"offer_bookmarks"===Ei.tableId);ei>-1&&Vt?.tables.splice(ei,1),fi>-1&&Vt?.tables.splice(fi,1)}if(!Z?.enablePeerswap){const Vt=Re.findIndex(ei=>"peerswap"===ei.pageId);Vt>-1&&Re.splice(Vt,1)}this.pageSettings=Re,this.initialPageSettings=Re}this.logger.info(Re)}),this.actions.pipe((0,sn.R)(this.unSubs[2]),(0,ia.h)(U=>U.type===ce.AB.UPDATE_API_CALL_STATUS_CLN||U.type===ce.AB.SAVE_PAGE_SETTINGS_CLN)).subscribe(U=>{U.type===ce.AB.UPDATE_API_CALL_STATUS_CLN&&U.payload.status===ce.Bn.ERROR&&"SavePageSettings"===U.payload.action&&(this.errorMessage=JSON.parse(U.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],ce.c3),this.defaultSettings=Object.assign([],ce.c3),this.nodePageDefs=ce.Xk,this.store.select(m2.nF).pipe((0,sn.R)(this.unSubs[1]),(0,Is.M)(this.store.select(m2.LR))).subscribe(([U,Z])=>{const Re=JSON.parse(JSON.stringify(U.pageSettings));this.errorMessage=null,this.apiCallStatus=U.apiCallStatus,this.apiCallStatus.status===ce.Bn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Re,this.initialPageSettings=Re):(this.pageSettings=Re,this.initialPageSettings=Re),this.logger.info(Re)}),this.actions.pipe((0,sn.R)(this.unSubs[2]),(0,ia.h)(U=>U.type===ce.lr.UPDATE_API_CALL_STATUS_ECL||U.type===ce.lr.SAVE_PAGE_SETTINGS_ECL)).subscribe(U=>{U.type===ce.lr.UPDATE_API_CALL_STATUS_ECL&&U.payload.status===ce.Bn.ERROR&&"SavePageSettings"===U.payload.action&&(this.errorMessage=JSON.parse(U.payload.message))});break;default:this.initialPageSettings=Object.assign([],ce.gK),this.defaultSettings=Object.assign([],ce.gK),this.nodePageDefs=ce.hG,this.store.select(ul.Pr).pipe((0,sn.R)(this.unSubs[1]),(0,Is.M)(this.store.select(ul.$k))).subscribe(([U,Z])=>{const Re=JSON.parse(JSON.stringify(U.pageSettings));if(this.errorMessage=null,this.apiCallStatus=U.apiCallStatus,this.apiCallStatus.status===ce.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Re,this.initialPageSettings=Re;else{if(!Z?.swapServerUrl||""===Z.swapServerUrl.trim()){const Vt=Re.findIndex(ei=>"loop"===ei.pageId);Vt>-1&&Re.splice(Vt,1)}if(!Z?.boltzServerUrl||""===Z.boltzServerUrl.trim()){const Vt=Re.findIndex(ei=>"boltz"===ei.pageId);Vt>-1&&Re.splice(Vt,1)}if(!Z?.enablePeerswap){const Vt=Re.findIndex(ei=>"peerswap"===ei.pageId);Vt>-1&&Re.splice(Vt,1)}this.pageSettings=Re,this.initialPageSettings=Re}this.logger.info(Re)}),this.actions.pipe((0,sn.R)(this.unSubs[2]),(0,ia.h)(U=>U.type===ce.uR.UPDATE_API_CALL_STATUS_LND||U.type===ce.uR.SAVE_PAGE_SETTINGS_LND)).subscribe(U=>{U.type===ce.uR.UPDATE_API_CALL_STATUS_LND&&U.payload.status===ce.Bn.ERROR&&"SavePageSettings"===U.payload.action&&(this.errorMessage=JSON.parse(U.payload.message))})}})}oncolumnSelectionChange(v){v.columnSelection&&(!v.sortBy||!v.columnSelection.includes(v.sortBy))&&(v.sortBy=v.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((v,U)=>v||U.tables.reduce((Z,Re)=>!(Re.recordsPerPage&&Re.sortBy&&Re.sortOrder&&Re.columnSelection&&Re.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,_i.eF)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,bi.eF)({payload:this.pageSettings}));break;default:this.store.dispatch((0,Zi.eF)({payload:this.pageSettings}))}}onTableReset(v,U){const Z=this.pageSettings.findIndex(ei=>ei.pageId===v),Re=this.pageSettings[Z].tables.findIndex(ei=>ei.tableId===U.tableId),Vt=this.defaultSettings.find(ei=>ei.pageId===v)?.tables.find(ei=>ei.tableId===U.tableId)||this.pageSettings.find(ei=>ei.pageId===v)?.tables.find(ei=>ei.tableId===U.tableId);this.pageSettings[Z].tables.splice(Re,1,Vt)}onResetPageSettings(v){"current"===v?(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(v=>{v.next(),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ii.mQ),t.Y36(bn.v),t.Y36(zi.yh),t.Y36(ko.eX))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-page-settings"]],decls:19,vars:3,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["displayMode","flat","multi","false"],["fxLayout","column","class","flat-expansion-panel mt-1","expanded","false",3,"ngClass",4,"ngFor","ngForOf"],["fxLayout","row",1,"mt-1"],["mat-stroked-button","","color","primary","tabindex","8",1,"mr-1",3,"click"],["mat-stroked-button","","color","primary","tabindex","9",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","10",3,"click"],["errorObjectBlock",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["fxLayout","column","expanded","false",1,"flat-expansion-panel","mt-1",3,"ngClass"],["fxLayout","column","fxLayoutAlign","start stretch","class","padding-gap-x-large table-setting-row",4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","start stretch",1,"padding-gap-x-large","table-setting-row"],["fxLayout","column","fxLayoutAlign","space-between stretch","fxLayout.gt-sm","row wrap","fxLayoutAlign.gt-sm","space-between center"],["fxFlex","10",1,"mb-2"],["fxLayout","column","fxFlex","10"],["tabindex","2","required","",3,"disabled","name","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["tabindex","3","required","",3,"name","ngModel","ngModelChange"],["tabindex","4","required","",3,"name","ngModel","ngModelChange"],["fxFlex","35","matTooltip","Select a minimum of 2 columns",4,"ngIf"],["fxLayout","column","fxFlex","15","matTooltip","Select between 1 and 3 columns"],["tabindex","5","multiple","","required","",3,"name","ngModel","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-icon-button","","color","primary","type","button","tabindex","7","matTooltip","Reset to Default",1,"mb-2",3,"click"],["color","primary",3,"ngClass"],[3,"value"],["fxFlex","35","matTooltip","Select a minimum of 2 columns"],["tabindex","6","multiple","","required","",3,"name","ngModel","ngModelChange","selectionChange"],[3,"value","disabled"],[3,"ngClass"],[4,"ngIf"],["role","list"],[4,"ngFor","ngForOf"],[1,"ml-1","icon-small","red"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"form",1,2)(3,"div",3),t._UZ(4,"fa-icon",4),t.TgZ(5,"span",5),t._uU(6,"Grid Settings"),t.qZA()(),t.YNc(7,Oc,1,4,"ng-container",6),t.TgZ(8,"mat-accordion",7),t.YNc(9,ra,7,9,"mat-expansion-panel",8),t.qZA()(),t.TgZ(10,"div",9)(11,"button",10),t.NdJ("click",function(){return Z.onResetPageSettings("current")}),t._uU(12,"Reset"),t.qZA(),t.TgZ(13,"button",11),t.NdJ("click",function(){return Z.onResetPageSettings("default")}),t._uU(14,"Reset to Default"),t.qZA(),t.TgZ(15,"button",12),t.NdJ("click",function(){return Z.onUpdatePageSettings()}),t._uU(16,"Save"),t.qZA()()(),t.YNc(17,$1,5,6,"ng-template",null,13,t.W1O)),2&U&&(t.xp6(4),t.Q6J("icon",Z.faPenRuler),t.xp6(3),t.Q6J("ngIf",Z.errorMessage&&"unknown"===Z.errorMessage.page),t.xp6(2),t.Q6J("ngForOf",Z.pageSettings))},dependencies:[It.mk,It.sg,It.O5,It.tP,Me._Y,Me.JJ,Me.JL,Me.Q7,Me.On,Me.F,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,sr.oO,dt.lW,dt.RK,wn.pp,wn.ib,wn.yz,wn.yK,gc.Hw,_t.KE,_t.hX,Ks.i$,Ks.Tg,Ht.gD,Xt.ey,q1.gM,ci.$V,It.rS,Js.D3,Js.i1],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]})}return N})();function J0(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[0].link)}),t._uU(1),t.qZA()}if(2&N){const v=t.oxw();t.s9C("routerLink",v.links[0].link),t.Q6J("active",v.activeLink===v.links[0].link),t.xp6(1),t.Oqu(v.links[0].name)}}const m4=function(){return{initial:!1}};function ml(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",12),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[1].link)}),t._uU(1),t.qZA()}if(2&N){const v=t.oxw();t.s9C("routerLink",v.links[1].link),t.Q6J("active",v.activeLink===v.links[1].link)("state",t.DdM(4,m4)),t.xp6(1),t.Oqu(v.links[1].name)}}function Jl(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",13),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[2].link)}),t._uU(1),t.qZA()}if(2&N){const v=t.oxw();t.s9C("routerLink",v.links[2].link),t.Q6J("active",v.activeLink===v.links[2].link),t.xp6(1),t.Oqu(v.links[2].name)}}let p2=(()=>{class N{constructor(v,U,Z){this.store=v,this.router=U,this.activatedRoute=Z,this.faLayerGroup=qi.Krp,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"peerswap",name:"Peerswap"}],this.activeLink="",this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){const v=this.links.find(U=>this.router.url.includes(U.link));this.activeLink=v?v.link:this.links[0].link,this.router.events.pipe((0,sn.R)(this.unSubs[0]),(0,ia.h)(U=>U instanceof ir.Av)).subscribe({next:U=>{const Z=this.links.find(Re=>U.urlAfterRedirects.includes(Re.link));this.activeLink="CLN"===this.selNode.lnImplementation.toUpperCase()?this.links[2].link:Z?Z.link:this.links[0].link}}),this.store.select(Mr.dT).pipe((0,sn.R)(this.unSubs[1])).subscribe(U=>{this.selNode=U,"CLN"===this.selNode.lnImplementation.toUpperCase()&&(this.activeLink=this.links[2].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(zi.yh),t.Y36(ir.F0),t.Y36(ir.gz))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-services-settings"]],decls:16,vars:5,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-sub-title-container","my-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(U,Z){if(1&U&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span",3),t._uU(4,"Services"),t.qZA()()(),t.TgZ(5,"div",4)(6,"mat-card")(7,"mat-card-content",4)(8,"nav",5),t.YNc(9,J0,2,3,"div",6),t.YNc(10,ml,2,5,"div",7),t.YNc(11,Jl,2,3,"div",8),t.qZA(),t._UZ(12,"mat-tab-nav-panel",null,9),t.TgZ(14,"div",10),t._UZ(15,"router-outlet"),t.qZA()()()()),2&U){const Re=t.MAs(13);t.xp6(2),t.Q6J("icon",Z.faLayerGroup),t.xp6(6),t.Q6J("tabPanel",Re),t.xp6(1),t.Q6J("ngIf","LND"===(null==Z.selNode||null==Z.selNode.lnImplementation?null:Z.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf","LND"===(null==Z.selNode||null==Z.selNode.lnImplementation?null:Z.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf","CLN"===(null==Z.selNode||null==Z.selNode.lnImplementation?null:Z.selNode.lnImplementation.toUpperCase()))}},dependencies:[It.O5,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,nr.a8,nr.dn,Ca.BU,Ca.sW,Ca.Nj,ir.lC,ir.rH]})}return N})();const Xl=["form"];function pl(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Loop server URL is required."),t.qZA())}function ed(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Specify the loop server url with 'https://'."),t.qZA())}function p4(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Loop macaroon path is required."),t.qZA())}let g2=(()=>{class N{constructor(v,U){this.logger=v,this.store=U,this.faInfoCircle=qi.sqG,this.enableLoop=!1,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.select(Mr.dT).pipe((0,sn.R)(this.unSubs[0])).subscribe(v=>{this.selNode=v,this.enableLoop=!(!v.settings.swapServerUrl||""===v.settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(v)})}onEnableServiceChanged(v){this.enableLoop=v.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,ht.jS)({payload:{uiMessage:ce.m6.UPDATE_LOOP_SETTINGS,service:ce.JX.LOOP,settings:{enable:this.enableLoop,serverUrl:this.selNode.settings.swapServerUrl,macaroonPath:this.selNode.authentication.swapMacaroonPath}}})),this.store.dispatch((0,Zi.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,_i.Mf)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.selNode.settings.enableOffers}})),this.store.dispatch((0,bi.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(v=>{v.next(),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ii.mQ),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-loop-service-settings"]],viewQuery:function(U,Z){if(1&U&&t.Gf(Xl,7),2&U){let Re;t.iGM(Re=t.CRH())&&(Z.form=Re.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(U,Z){if(1&U&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"Please ensure that "),t.TgZ(5,"strong"),t._uU(6,"loopd"),t.qZA(),t._uU(7," is running and accessible to RTL before enabling this service. Click "),t.TgZ(8,"strong")(9,"a",3),t._uU(10,"here"),t.qZA()(),t._uU(11," to learn more about the installation."),t.qZA()(),t.TgZ(12,"form",4,5)(14,"div",6)(15,"mat-slide-toggle",7),t.NdJ("ngModelChange",function(Vt){return Z.enableLoop=Vt})("change",function(Vt){return Z.onEnableServiceChanged(Vt)}),t._uU(16,"Enable Loop Service"),t.qZA(),t.TgZ(17,"mat-form-field",8)(18,"mat-label"),t._uU(19,"Loop Server URL"),t.qZA(),t.TgZ(20,"input",9,10),t.NdJ("ngModelChange",function(Vt){return Z.selNode.settings.swapServerUrl=Vt}),t.qZA(),t.TgZ(22,"mat-hint"),t._uU(23,"Service url for loop server REST APIs, eg. https://127.0.0.1:8081"),t.qZA(),t.YNc(24,pl,2,0,"mat-error",11),t.YNc(25,ed,2,0,"mat-error",11),t.qZA(),t.TgZ(26,"mat-form-field")(27,"mat-label"),t._uU(28,"Loop Macaroon Path"),t.qZA(),t.TgZ(29,"input",12),t.NdJ("ngModelChange",function(Vt){return Z.selNode.authentication.swapMacaroonPath=Vt}),t.qZA(),t.TgZ(30,"mat-hint"),t._uU(31,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),t.qZA(),t.YNc(32,p4,2,0,"mat-error",11),t.qZA()()(),t.TgZ(33,"div",13)(34,"button",14),t.NdJ("click",function(){return Z.onReset()}),t._uU(35,"Reset"),t.qZA(),t.TgZ(36,"button",15),t.NdJ("click",function(){return Z.onUpdateService()}),t._uU(37,"Update"),t.qZA()()()),2&U){const Re=t.MAs(21);t.xp6(2),t.Q6J("icon",Z.faInfoCircle),t.xp6(13),t.Q6J("ngModel",Z.enableLoop),t.xp6(5),t.Q6J("required",Z.enableLoop)("disabled",!Z.enableLoop)("ngModel",Z.selNode.settings.swapServerUrl),t.xp6(4),t.Q6J("ngIf",!Z.selNode.settings.swapServerUrl&&Z.enableLoop),t.xp6(1),t.Q6J("ngIf",(null==Re||null==Re.errors?null:Re.errors.invalid)&&Z.enableLoop),t.xp6(4),t.Q6J("required",Z.enableLoop)("disabled",!Z.enableLoop)("ngModel",Z.selNode.authentication.swapMacaroonPath),t.xp6(3),t.Q6J("ngIf",!Z.selNode.authentication.swapMacaroonPath&&Z.enableLoop)}},dependencies:[It.O5,Me._Y,Me.Fj,Me.JJ,Me.JL,Me.Q7,Me.On,Me.F,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,dt.lW,fr.Nt,_t.KE,_t.hX,_t.bx,_t.TO,No.Rr,ci.$V,di.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return N})();const td=["form"];function X0(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Boltz server URL is required."),t.qZA())}function fo(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Specify the boltz server url with 'https://'."),t.qZA())}function id(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Boltz macaroon path is required."),t.qZA())}let $l=(()=>{class N{constructor(v,U){this.logger=v,this.store=U,this.faInfoCircle=qi.sqG,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.select(Mr.dT).pipe((0,sn.R)(this.unSubs[0])).subscribe(v=>{this.selNode=v,this.enableBoltz=!(!v.settings.boltzServerUrl||""===v.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(v)})}onEnableServiceChanged(v){this.enableBoltz=v.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,ht.jS)({payload:{uiMessage:ce.m6.UPDATE_BOLTZ_SETTINGS,service:ce.JX.BOLTZ,settings:{enable:this.enableBoltz,serverUrl:this.serverUrl,macaroonPath:this.macaroonPath}}})),this.store.dispatch((0,Zi.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,_i.Mf)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.serverUrl,enableOffers:this.selNode.settings.enableOffers}})),this.store.dispatch((0,bi.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(v=>{v.next(),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ii.mQ),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(U,Z){if(1&U&&t.Gf(td,7),2&U){let Re;t.iGM(Re=t.CRH())&&(Z.form=Re.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(U,Z){if(1&U&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"Please ensure that "),t.TgZ(5,"strong"),t._uU(6,"boltzd"),t.qZA(),t._uU(7," is running and accessible to RTL before enabling this service. Click "),t.TgZ(8,"strong")(9,"a",3),t._uU(10,"here"),t.qZA()(),t._uU(11," to learn more about the installation."),t.qZA()(),t.TgZ(12,"form",4,5)(14,"div",6)(15,"mat-slide-toggle",7),t.NdJ("ngModelChange",function(Vt){return Z.enableBoltz=Vt})("change",function(Vt){return Z.onEnableServiceChanged(Vt)}),t._uU(16,"Enable Boltz Service"),t.qZA(),t.TgZ(17,"mat-form-field",8)(18,"mat-label"),t._uU(19,"Boltz Server URL"),t.qZA(),t.TgZ(20,"input",9,10),t.NdJ("ngModelChange",function(Vt){return Z.serverUrl=Vt}),t.qZA(),t.TgZ(22,"mat-hint"),t._uU(23,"Service url for boltz server REST APIs, eg. https://127.0.0.1:9003"),t.qZA(),t.YNc(24,X0,2,0,"mat-error",11),t.YNc(25,fo,2,0,"mat-error",11),t.qZA(),t.TgZ(26,"mat-form-field")(27,"mat-label"),t._uU(28,"Boltz Macaroon Path"),t.qZA(),t.TgZ(29,"input",12),t.NdJ("ngModelChange",function(Vt){return Z.macaroonPath=Vt}),t.qZA(),t.TgZ(30,"mat-hint"),t._uU(31,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),t.qZA(),t.YNc(32,id,2,0,"mat-error",11),t.qZA()()(),t.TgZ(33,"div",13)(34,"button",14),t.NdJ("click",function(){return Z.onReset()}),t._uU(35,"Reset"),t.qZA(),t.TgZ(36,"button",15),t.NdJ("click",function(){return Z.onUpdateService()}),t._uU(37,"Update"),t.qZA()()()),2&U){const Re=t.MAs(21);t.xp6(2),t.Q6J("icon",Z.faInfoCircle),t.xp6(13),t.Q6J("ngModel",Z.enableBoltz),t.xp6(5),t.Q6J("required",Z.enableBoltz)("disabled",!Z.enableBoltz)("ngModel",Z.serverUrl),t.xp6(4),t.Q6J("ngIf",(!Z.serverUrl||""===Z.serverUrl.trim())&&Z.enableBoltz),t.xp6(1),t.Q6J("ngIf",(null==Re||null==Re.errors?null:Re.errors.invalid)&&Z.enableBoltz),t.xp6(4),t.Q6J("required",Z.enableBoltz)("disabled",!Z.enableBoltz)("ngModel",Z.macaroonPath),t.xp6(3),t.Q6J("ngIf",!Z.macaroonPath&&Z.enableBoltz)}},dependencies:[It.O5,Me._Y,Me.Fj,Me.JJ,Me.JL,Me.Q7,Me.On,Me.F,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,dt.lW,fr.Nt,_t.KE,_t.hX,_t.bx,_t.TO,No.Rr,ci.$V,di.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return N})(),nd=(()=>{class N{constructor(){}static#e=this.\u0275fac=function(U){return new(U||N)};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-ln-services"]],decls:1,vars:0,template:function(U,Z){1&U&&t._UZ(0,"router-outlet")},dependencies:[ir.lC]})}return N})();var rd=p(5487),Os=p(3149),ec=p(1476),Nc=p(3566),_r=p(5313),e1=p(6007);function $0(N,z){if(1&N&&(t.TgZ(0,"mat-option",37),t._uU(1),t.qZA()),2&N){const v=z.$implicit,U=t.oxw();t.Q6J("value",v),t.xp6(1),t.Oqu(U.getLabel(v))}}function eh(N,z){1&N&&t._UZ(0,"mat-progress-bar",38)}function th(N,z){1&N&&(t.TgZ(0,"th",39),t._uU(1,"State"),t.qZA())}function ad(N,z){if(1&N&&(t.TgZ(0,"td",40),t._uU(1),t.qZA()),2&N){const v=z.$implicit,U=t.oxw();t.xp6(1),t.Oqu(U.LoopStateEnum[null==v?null:v.state])}}function Rc(N,z){1&N&&(t.TgZ(0,"th",39),t._uU(1,"Initiation Time"),t.qZA())}function _c(N,z){if(1&N&&(t.TgZ(0,"td",40),t._uU(1),t.ALo(2,"date"),t.qZA()),2&N){const v=z.$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,(null==v?null:v.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function od(N,z){1&N&&(t.TgZ(0,"th",39),t._uU(1,"Last Update Time"),t.qZA())}function _2(N,z){if(1&N&&(t.TgZ(0,"td",40),t._uU(1),t.ALo(2,"date"),t.qZA()),2&N){const v=z.$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,(null==v?null:v.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function Hc(N,z){1&N&&(t.TgZ(0,"th",41),t._uU(1,"Amount (Sats)"),t.qZA())}function ih(N,z){if(1&N&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&N){const v=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==v?null:v.amt))}}function bo(N,z){1&N&&(t.TgZ(0,"th",41),t._uU(1,"Cost Server (Sats)"),t.qZA())}function v2(N,z){if(1&N&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&N){const v=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==v?null:v.cost_server))}}function b2(N,z){1&N&&(t.TgZ(0,"th",41),t._uU(1,"Cost Offchain (Sats)"),t.qZA())}function y2(N,z){if(1&N&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&N){const v=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==v?null:v.cost_offchain))}}function sf(N,z){1&N&&(t.TgZ(0,"th",41),t._uU(1,"Cost Onchain (Sats)"),t.qZA())}function x2(N,z){if(1&N&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&N){const v=z.$implicit;t.xp6(2),t.hij(" ",t.lcZ(3,1,null==v?null:v.cost_onchain)," ")}}function C2(N,z){1&N&&(t.TgZ(0,"th",39),t._uU(1,"HTLC Address"),t.qZA())}const vc=function(N){return{width:N}};function gl(N,z){if(1&N&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&N){const v=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,vc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==v?null:v.htlc_address)}}function _l(N,z){1&N&&(t.TgZ(0,"th",39),t._uU(1,"ID"),t.qZA())}function t1(N,z){if(1&N&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&N){const v=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,vc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==v?null:v.id)}}function w2(N,z){1&N&&(t.TgZ(0,"th",39),t._uU(1,"ID (Bytes)"),t.qZA())}function bc(N,z){if(1&N&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&N){const v=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,vc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==v?null:v.id_bytes)}}function g4(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"th",45)(1,"div",46)(2,"mat-select",47),t._UZ(3,"mat-select-trigger"),t.TgZ(4,"mat-option",48),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.onDownloadCSV())}),t._uU(5,"Download CSV"),t.qZA()()()()}}function n1(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"td",49)(1,"button",50),t.NdJ("click",function(Z){const Vt=t.CHM(v).$implicit,ei=t.oxw();return t.KtG(ei.onSwapClick(Vt,Z))}),t._uU(2,"View Info"),t.qZA()()}}function cf(N,z){if(1&N&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&N){const v=t.oxw(2);t.xp6(1),t.Oqu(v.emptyTableMessage)}}function sd(N,z){if(1&N&&(t.TgZ(0,"td",51),t.YNc(1,cf,2,1,"p",52),t.qZA()),2&N){const v=t.oxw();t.xp6(1),t.Q6J("ngIf",!(null!=v.listSwaps&&v.listSwaps.data)||(null==v.listSwaps||null==v.listSwaps.data?null:v.listSwaps.data.length)<1)}}const _4=function(N){return{"display-none":N}};function nh(N,z){if(1&N&&t._UZ(0,"tr",53),2&N){const v=t.oxw();t.Q6J("ngClass",t.VKq(1,_4,(null==v.listSwaps?null:v.listSwaps.data)&&(null==v.listSwaps||null==v.listSwaps.data?null:v.listSwaps.data.length)>0))}}function v4(N,z){1&N&&t._UZ(0,"tr",54)}function lf(N,z){1&N&&t._UZ(0,"tr",55)}const Fc=function(){return["all"]},rh=function(N){return{"overflow-auto error-border":N,"overflow-auto":!0}},r1=function(){return["no_swap"]};let Sa=(()=>{class N{constructor(v,U,Z,Re,Vt,ei){this.logger=v,this.commonService=U,this.store=Z,this.loopService=Re,this.datePipe=Vt,this.camelCaseWithReplace=ei,this.selectedSwapType=ce.$I.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=ce.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:ce.IV,sortBy:"initiation_time",sortOrder:ce.Pi.DESCENDING},this.LoopStateEnum=ce.Fq,this.faHistory=qi.qO$,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new _r.by([]),this.selFilter="",this.pageSize=ce.IV,this.pageSizeOptions=ce.TJ,this.screenSize="",this.screenSizeEnum=ce.cu,this.unSubs=[new Bi.x,new Bi.x,new Bi.x],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(v){this.swapCaption=this.selectedSwapType===ce.$I.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(ul.Pr).pipe((0,sn.R)(this.unSubs[0])).subscribe(v=>{this.tableSetting=v.pageSettings.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSetting.tableId)||ce.gK.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSetting.tableId),this.displayedColumns=this.screenSize===ce.cu.XS||this.screenSize===ce.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:ce.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)}applyFilter(){this.listSwaps.filter=this.selFilter.trim().toLowerCase()}getLabel(v){const U=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(Z=>Z.column===v);return U?U.label?U.label:this.camelCaseWithReplace.transform(U.column,"_"):this.commonService.titleCase(v)}setFilterPredicate(){this.listSwaps.filterPredicate=(v,U)=>{let Z="";switch(this.selFilterBy){case"all":Z=JSON.stringify(v).toLowerCase();break;case"state":Z=v?.state?this.LoopStateEnum[v?.state]:"";break;case"initiation_time":case"last_update_time":Z=this.datePipe.transform(new Date((v[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:Z=typeof v[this.selFilterBy]>"u"?"":"string"==typeof v[this.selFilterBy]?v[this.selFilterBy].toLowerCase():"boolean"==typeof v[this.selFilterBy]?v[this.selFilterBy]?"yes":"no":v[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===Z.indexOf(U):Z.includes(U)}}onSwapClick(v,U){this.loopService.getSwap(v.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,sn.R)(this.unSubs[1])).subscribe(Z=>{this.store.dispatch((0,ht.qR)({payload:{data:{type:ce.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:ce.Fq[Z.state||""],title:"Status",width:50,type:ce.Gi.STRING},{key:"amt",value:Z.amt,title:"Amount (Sats)",width:50,type:ce.Gi.NUMBER}],[{key:"initiation_time",value:(Z.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:ce.Gi.DATE_TIME},{key:"last_update_time",value:(Z.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:ce.Gi.DATE_TIME}],[{key:"cost_server",value:Z.cost_server,title:"Server Cost (Sats)",width:33,type:ce.Gi.NUMBER},{key:"cost_offchain",value:Z.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:ce.Gi.NUMBER},{key:"cost_onchain",value:Z.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:ce.Gi.NUMBER}],[{key:"id_bytes",value:Z.id_bytes,title:"ID",width:100,type:ce.Gi.STRING}],[{key:"htlc_address",value:Z.htlc_address,title:"HTLC Address",width:100,type:ce.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(v){this.listSwaps=new _r.by([...v]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(U,Z)=>U[Z]&&isNaN(U[Z])?U[Z].toLocaleLowerCase():U[Z]?+U[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===ce.$I.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ii.mQ),t.Y36(bn.v),t.Y36(zi.yh),t.Y36(Os.W),t.Y36(It.uU),t.Y36(Js.D3))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-swaps"]],viewQuery:function(U,Z){if(1&U&&(t.Gf(Nc.YE,5),t.Gf(ec.NW,5)),2&U){let Re;t.iGM(Re=t.CRH())&&(Z.sort=Re.first),t.iGM(Re=t.CRH())&&(Z.paginator=Re.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t._Bn([{provide:Ht.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:ec.ye,useValue:(0,ce.pt)("Swaps")}]),t.TTD],decls:61,vars:20,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModel","ngModelChange","input","keyup"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["table",""],["matColumnDef","state"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","initiation_time"],["matColumnDef","last_update_time"],["matColumnDef","amt"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","cost_server"],["matColumnDef","cost_offchain"],["matColumnDef","cost_onchain"],["matColumnDef","htlc_address"],["matColumnDef","id"],["matColumnDef","id_bytes"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","showFirstLastButtons"],[3,"value"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["fxLayout.gt-xs","row",1,"ellipsis-parent",3,"ngStyle"],[1,"ellipsis-child"],["mat-header-cell",""],["fxLayoutAlign","center center",1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","button","tabindex","4",1,"table-actions-button",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._UZ(3,"fa-icon",3),t.TgZ(4,"span",4),t._uU(5),t.qZA()(),t.TgZ(6,"div",5)(7,"mat-form-field",6)(8,"mat-label"),t._uU(9,"Filter By"),t.qZA(),t.TgZ(10,"mat-select",7),t.NdJ("ngModelChange",function(Vt){return Z.selFilterBy=Vt})("selectionChange",function(){return Z.selFilter="",Z.applyFilter()}),t.TgZ(11,"perfect-scrollbar"),t.YNc(12,$0,2,2,"mat-option",8),t.qZA()()(),t.TgZ(13,"mat-form-field",6)(14,"mat-label"),t._uU(15,"Filter"),t.qZA(),t.TgZ(16,"input",9),t.NdJ("ngModelChange",function(Vt){return Z.selFilter=Vt})("input",function(){return Z.applyFilter()})("keyup",function(){return Z.applyFilter()}),t.qZA()()()(),t.TgZ(17,"div",10)(18,"div",11),t.YNc(19,eh,1,0,"mat-progress-bar",12),t.TgZ(20,"table",13,14),t.ynx(22,15),t.YNc(23,th,2,0,"th",16),t.YNc(24,ad,2,1,"td",17),t.BQk(),t.ynx(25,18),t.YNc(26,Rc,2,0,"th",16),t.YNc(27,_c,3,4,"td",17),t.BQk(),t.ynx(28,19),t.YNc(29,od,2,0,"th",16),t.YNc(30,_2,3,4,"td",17),t.BQk(),t.ynx(31,20),t.YNc(32,Hc,2,0,"th",21),t.YNc(33,ih,4,3,"td",17),t.BQk(),t.ynx(34,22),t.YNc(35,bo,2,0,"th",21),t.YNc(36,v2,4,3,"td",17),t.BQk(),t.ynx(37,23),t.YNc(38,b2,2,0,"th",21),t.YNc(39,y2,4,3,"td",17),t.BQk(),t.ynx(40,24),t.YNc(41,sf,2,0,"th",21),t.YNc(42,x2,4,3,"td",17),t.BQk(),t.ynx(43,25),t.YNc(44,C2,2,0,"th",16),t.YNc(45,gl,4,4,"td",17),t.BQk(),t.ynx(46,26),t.YNc(47,_l,2,0,"th",16),t.YNc(48,t1,4,4,"td",17),t.BQk(),t.ynx(49,27),t.YNc(50,w2,2,0,"th",16),t.YNc(51,bc,4,4,"td",17),t.BQk(),t.ynx(52,28),t.YNc(53,g4,6,0,"th",29),t.YNc(54,n1,3,0,"td",30),t.BQk(),t.ynx(55,31),t.YNc(56,sd,2,1,"td",32),t.BQk(),t.YNc(57,nh,1,3,"tr",33),t.YNc(58,v4,1,0,"tr",34),t.YNc(59,lf,1,0,"tr",35),t.qZA(),t._UZ(60,"mat-paginator",36),t.qZA()()()),2&U&&(t.xp6(3),t.Q6J("icon",Z.faHistory),t.xp6(2),t.hij("",Z.swapCaption," History"),t.xp6(5),t.Q6J("ngModel",Z.selFilterBy),t.xp6(2),t.Q6J("ngForOf",t.DdM(16,Fc).concat(Z.displayedColumns.slice(0,-1))),t.xp6(4),t.Q6J("ngModel",Z.selFilter),t.xp6(3),t.Q6J("ngIf",!0===Z.flgLoading[0]),t.xp6(1),t.Q6J("matSortActive",Z.tableSetting.sortBy)("matSortDirection",Z.tableSetting.sortOrder)("dataSource",Z.listSwaps)("ngClass",t.VKq(17,rh,"error"===Z.flgLoading[0])),t.xp6(37),t.Q6J("matFooterRowDef",t.DdM(19,r1)),t.xp6(1),t.Q6J("matHeaderRowDef",Z.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",Z.displayedColumns),t.xp6(1),t.Q6J("pageSize",Z.pageSize)("pageSizeOptions",Z.pageSizeOptions)("showFirstLastButtons",Z.screenSize!==Z.screenSizeEnum.XS))},dependencies:[It.mk,It.sg,It.O5,It.PC,Me.Fj,Me.JJ,Me.On,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,sr.oO,sr.Zl,dt.lW,fr.Nt,_t.KE,_t.hX,e1.pW,Ht.gD,Ht.$L,Xt.ey,Nc.YE,Nc.nU,_r.BZ,_r.fO,_r.as,_r.w1,_r.Dz,_r.nj,_r.mD,_r.Ke,_r.ge,_r.ev,_r.yh,_r.XQ,_r.Gk,_r.Q2,ec.NW,ci.Vv,ci.$V,It.JJ,It.uU]})}return N})();const Ps=function(N){return["../",N]};function a1(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){const Re=t.CHM(v).$implicit,Vt=t.oxw();return t.KtG(Vt.onSelectedIndexChange(Re))}),t._uU(1),t.qZA()}if(2&N){const v=z.$implicit,U=t.oxw();t.Q6J("active",U.activeTab.link===v.link)("routerLink",t.VKq(3,Ps,v.link)),t.xp6(1),t.Oqu(v.name)}}let cd=(()=>{class N{constructor(v,U,Z){this.router=v,this.loopService=U,this.store=Z,this.faInfinity=qi.vqe,this.loopInfo=null,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=ce.$I,this.selectedSwapType=ce.$I.LOOP_OUT,this.storedSwaps=[],this.filteredSwaps=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"loopout",name:"Loop Out"},{link:"loopin",name:"Loop In"}],this.activeTab=this.links[0],this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.store.dispatch((0,ht.ac)({payload:ce.m6.GET_LOOP_INFO})),this.loopService.getLoopInfo().pipe((0,sn.R)(this.unSubs[4])).subscribe({next:U=>{this.store.dispatch((0,ht.uO)({payload:ce.m6.GET_LOOP_INFO})),this.loopInfo=U,this.loopInfo&&this.loopInfo.version&&(this.loopInfo.version=this.loopInfo.version.split(" ")[0])},error:U=>{this.store.dispatch((0,ht.uO)({payload:ce.m6.GET_LOOP_INFO})),this.loopInfo.version=" Unknown"}}),this.loopService.listSwaps();const v=this.links.find(U=>this.router.url.includes(U.link));this.activeTab=v||this.links[0],this.selectedSwapType=v&&"loopin"===v.link?ce.$I.LOOP_IN:ce.$I.LOOP_OUT,this.router.events.pipe((0,sn.R)(this.unSubs[0]),(0,ia.h)(U=>U instanceof ir.Av)).subscribe({next:U=>{const Z=this.links.find(Re=>U.urlAfterRedirects.includes(Re.link));this.activeTab=Z||this.links[0],this.selectedSwapType=Z&&"loopin"===Z.link?ce.$I.LOOP_IN:ce.$I.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,sn.R)(this.unSubs[1])).subscribe({next:U=>{this.flgLoading[0]=!1,this.storedSwaps=U,this.filteredSwaps=this.storedSwaps?.filter(Z=>Z.type===this.selectedSwapType)},error:U=>{this.flgLoading[0]="error",this.emptyTableMessage=U.message?U.message:"No loop "+(this.selectedSwapType===ce.$I.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(v){this.selectedSwapType="loopin"===v.link?ce.$I.LOOP_IN:ce.$I.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(U=>U.type===this.selectedSwapType)}onLoop(v){v===ce.$I.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,sn.R)(this.unSubs[2])).subscribe({next:U=>{this.store.dispatch((0,ht.qR)({payload:{data:{minQuote:U[0],maxQuote:U[1],direction:v,component:rd.a}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,sn.R)(this.unSubs[3])).subscribe({next:U=>{this.store.dispatch((0,ht.qR)({payload:{data:{minQuote:U[0],maxQuote:U[1],direction:v,component:rd.a}}}))}})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ir.F0),t.Y36(Os.W),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-loop"]],decls:15,vars:9,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["tabPanel",""],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","2",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["tabindex","1","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(U,Z){if(1&U&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5),t.YNc(8,a1,2,5,"div",6),t.qZA(),t._UZ(9,"mat-tab-nav-panel",null,7),t.TgZ(11,"div",8)(12,"button",9),t.NdJ("click",function(){return Z.onLoop(Z.selectedSwapType)}),t._uU(13),t.qZA()(),t._UZ(14,"rtl-swaps",10),t.qZA()()()),2&U){const Re=t.MAs(10);t.xp6(1),t.Q6J("icon",Z.faInfinity),t.xp6(2),t.hij("Loop (v",(null==Z.loopInfo?null:Z.loopInfo.version)||" Unknown",")"),t.xp6(4),t.Q6J("tabPanel",Re),t.xp6(1),t.Q6J("ngForOf",Z.links),t.xp6(5),t.hij("Start ",Z.activeTab.name,""),t.xp6(1),t.Q6J("selectedSwapType",Z.selectedSwapType)("swapsData",Z.filteredSwaps)("flgLoading",Z.flgLoading)("emptyTableMessage",Z.emptyTableMessage)}},dependencies:[It.sg,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,dt.lW,nr.a8,nr.dn,Ca.BU,Ca.sW,Ca.Nj,ir.rH,Sa]})}return N})();var rs=p(8291),gs=p(5619),o1=p(8504),zc=p(6306),yc=p(3315);let _s=(()=>{class N{constructor(v,U,Z,Re){this.httpClient=v,this.logger=U,this.store=Z,this.commonService=Re,this.swapUrl="",this.swaps={},this.swapsChanged=new gs.X({}),this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,ht.ac)({payload:ce.m6.GET_BOLTZ_SWAPS})),this.swapUrl=ce.T5+ce.vv.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,sn.R)(this.unSubs[0])).subscribe({next:v=>{this.store.dispatch((0,ht.uO)({payload:ce.m6.GET_BOLTZ_SWAPS})),this.swaps=v,this.swapsChanged.next(this.swaps)},error:v=>this.swapsChanged.error(this.handleErrorWithAlert(ce.m6.GET_BOLTZ_SWAPS,this.swapUrl,v))})}swapInfo(v){return this.swapUrl=ce.T5+ce.vv.BOLTZ_API+"/swapInfo/"+v,this.httpClient.get(this.swapUrl).pipe((0,zc.K)(U=>(0,is.of)(this.handleErrorWithAlert(ce.m6.NO_SPINNER,this.swapUrl,U))))}serviceInfo(){return this.store.dispatch((0,ht.ac)({payload:ce.m6.GET_SERVICE_INFO})),this.swapUrl=ce.T5+ce.vv.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,sn.R)(this.unSubs[1]),(0,ds.U)(v=>(this.store.dispatch((0,ht.uO)({payload:ce.m6.GET_SERVICE_INFO})),v)),(0,zc.K)(v=>(0,is.of)(this.handleErrorWithAlert(ce.m6.GET_SERVICE_INFO,this.swapUrl,v))))}swapOut(v,U){const Z={amount:v,address:U};return this.swapUrl=ce.T5+ce.vv.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,Z).pipe((0,zc.K)(Re=>this.handleErrorWithoutAlert("Swap Out for Address: "+U,ce.m6.NO_SPINNER,Re)))}swapIn(v){const U={amount:v};return this.swapUrl=ce.T5+ce.vv.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,U).pipe((0,zc.K)(Z=>this.handleErrorWithoutAlert("Swap In for Amount: "+v,ce.m6.NO_SPINNER,Z)))}handleErrorWithoutAlert(v,U,Z){let Re="";return this.logger.error("ERROR IN: "+v+"\n"+JSON.stringify(Z)),this.store.dispatch((0,ht.uO)({payload:U})),401===Z.status?(Re="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,ht.kS)())):503===Z.status?(Re="Unable to Connect to Boltz Server.",this.store.dispatch((0,ht.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:Z.status,message:"Unable to Connect to Boltz Server",URL:v},component:yc.H}}}))):Re=this.commonService.extractErrorMessage(Z),(0,o1._)(()=>new Error(Re))}handleErrorWithAlert(v,U,Z){let Re="";if(401===Z.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,ht.kS)())),this.logger.error(Z),this.store.dispatch((0,ht.uO)({payload:v})),401===Z.status)Re="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,ht.kS)());else if(503===Z.status)Re="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,ht.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:Z.status,message:"Unable to Connect to Boltz Server",URL:U},component:yc.H}}}))},100);else{Re=this.commonService.extractErrorMessage(Z);const Vt=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,ht.qR)({payload:{data:{type:ce.n_.ERROR,alertTitle:"ERROR",message:{code:Vt,message:Re,URL:U},component:yc.H}}}))},100)}return{message:Re}}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.LFG(Ss.eN),t.LFG(ii.mQ),t.LFG(zi.yh),t.LFG(bn.v))};static#t=this.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac})}return N})();function ah(N,z){1&N&&t.GkF(0)}function vl(N,z){if(1&N&&(t.TgZ(0,"div",4)(1,"span",5),t._uU(2),t.qZA()()),2&N){const v=t.oxw();t.xp6(2),t.Oqu(null!=v.swapStatus&&v.swapStatus.error?null==v.swapStatus?null:v.swapStatus.error:"Unknown Error.")}}function df(N,z){if(1&N&&(t.TgZ(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),t._uU(4,"ID"),t.qZA(),t.TgZ(5,"span",5),t._uU(6),t.qZA()(),t.TgZ(7,"div",7)(8,"h4",8),t._uU(9,"Routing Fee (mSats)"),t.qZA(),t.TgZ(10,"span",5),t._uU(11),t.ALo(12,"number"),t.qZA()()(),t._UZ(13,"mat-divider",9),t.TgZ(14,"div",6)(15,"div",7)(16,"h4",8),t._uU(17,"Claim Transaction ID"),t.qZA(),t.TgZ(18,"span",5),t._uU(19),t.qZA()(),t.TgZ(20,"div",7)(21,"h4",8),t._uU(22,"Lockup Address"),t.qZA(),t.TgZ(23,"span",5),t._uU(24),t.qZA()()()()),2&N){const v=t.oxw();t.xp6(6),t.Oqu(null==v.swapStatus?null:v.swapStatus.id),t.xp6(5),t.Oqu(t.lcZ(12,4,null==v.swapStatus?null:v.swapStatus.routingFeeMilliSat)),t.xp6(8),t.Oqu(null==v.swapStatus?null:v.swapStatus.claimTransactionId),t.xp6(5),t.Oqu(null==v.swapStatus?null:v.swapStatus.lockupAddress)}}function To(N,z){if(1&N&&(t.TgZ(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),t._uU(4,"ID"),t.qZA(),t.TgZ(5,"span",5),t._uU(6),t.qZA()(),t.TgZ(7,"div",7)(8,"h4",8),t._uU(9,"Expected Amount (Sats)"),t.qZA(),t.TgZ(10,"span",5),t._uU(11),t.ALo(12,"number"),t.qZA()()(),t._UZ(13,"mat-divider",9),t.TgZ(14,"div",6)(15,"div",10)(16,"h4",8),t._uU(17,"Address"),t.qZA(),t.TgZ(18,"span",5),t._uU(19),t.qZA()()(),t._UZ(20,"mat-divider",9),t.TgZ(21,"div",6)(22,"div",10)(23,"h4",8),t._uU(24,"BIP 21"),t.qZA(),t.TgZ(25,"span",5),t._uU(26),t.qZA()()()()),2&N){const v=t.oxw();t.xp6(6),t.Oqu(null==v.swapStatus?null:v.swapStatus.id),t.xp6(5),t.Oqu(t.lcZ(12,4,null==v.swapStatus?null:v.swapStatus.expectedAmount)),t.xp6(8),t.Oqu(null==v.swapStatus?null:v.swapStatus.address),t.xp6(7),t.Oqu(null==v.swapStatus?null:v.swapStatus.bip21)}}let tc=(()=>{class N{constructor(){this.swapStatus=null,this.direction=ce.hc.SWAP_OUT,this.swapTypeEnum=ce.hc}static#e=this.\u0275fac=function(U){return new(U||N)};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-swap-status"]],inputs:{swapStatus:"swapStatus",direction:"direction"},decls:7,vars:1,consts:[[4,"ngTemplateOutlet"],["swapFailedBlock",""],["swapOutBlock",""],["swapInBlock",""],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"],["fxFlex","100"]],template:function(U,Z){if(1&U&&(t.YNc(0,ah,1,0,"ng-container",0),t.YNc(1,vl,3,1,"ng-template",null,1,t.W1O),t.YNc(3,df,25,6,"ng-template",null,2,t.W1O),t.YNc(5,To,27,6,"ng-template",null,3,t.W1O)),2&U){const Re=t.MAs(2),Vt=t.MAs(4),ei=t.MAs(6);t.Q6J("ngTemplateOutlet",null!=Z.swapStatus&&Z.swapStatus.error?Re:Z.direction===Z.swapTypeEnum.SWAP_OUT?Vt:ei)}},dependencies:[It.tP,Yi.xw,Yi.Wh,Yi.yH,Zo.d,It.JJ]})}return N})(),xc=(()=>{class N{constructor(){this.serviceInfo={},this.direction=ce.hc.SWAP_OUT,this.swapTypeEnum=ce.hc}static#e=this.\u0275fac=function(U){return new(U||N)};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-service-info"]],inputs:{serviceInfo:"serviceInfo",direction:"direction"},decls:33,vars:13,consts:[["fxFlex","100",1,"flat-expansion-panel","mb-1",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"]],template:function(U,Z){1&U&&(t.TgZ(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",1),t._uU(4,"Service Information"),t.qZA()()(),t.TgZ(5,"div",2)(6,"div",3)(7,"div",4)(8,"h4",5),t._uU(9,"Minimum Amount (Sats)"),t.qZA(),t.TgZ(10,"span",6),t._uU(11),t.ALo(12,"number"),t.qZA()(),t.TgZ(13,"div",4)(14,"h4",5),t._uU(15,"Maximum Amount (Sats)"),t.qZA(),t.TgZ(16,"span",6),t._uU(17),t.ALo(18,"number"),t.qZA()()(),t._UZ(19,"mat-divider",7),t.TgZ(20,"div",3)(21,"div",4)(22,"h4",5),t._uU(23,"Fee Percentage"),t.qZA(),t.TgZ(24,"span",6),t._uU(25),t.ALo(26,"number"),t.qZA()(),t.TgZ(27,"div",4)(28,"h4",5),t._uU(29,"Miner Fee (Sats)"),t.qZA(),t.TgZ(30,"span",6),t._uU(31),t.ALo(32,"number"),t.qZA()()()()()),2&U&&(t.Q6J("expanded",!0),t.xp6(11),t.Oqu(t.lcZ(12,5,null==Z.serviceInfo||null==Z.serviceInfo.limits?null:Z.serviceInfo.limits.minimal)),t.xp6(6),t.Oqu(t.lcZ(18,7,null==Z.serviceInfo||null==Z.serviceInfo.limits?null:Z.serviceInfo.limits.maximal)),t.xp6(8),t.Oqu(t.lcZ(26,9,null==Z.serviceInfo||null==Z.serviceInfo.fees?null:Z.serviceInfo.fees.percentage)),t.xp6(6),t.Oqu(t.lcZ(32,11,Z.direction===Z.swapTypeEnum.SWAP_OUT?null==Z.serviceInfo||null==Z.serviceInfo.fees||null==Z.serviceInfo.fees.miner?null:Z.serviceInfo.fees.miner.reverse:null==Z.serviceInfo||null==Z.serviceInfo.fees||null==Z.serviceInfo.fees.miner?null:Z.serviceInfo.fees.miner.normal)))},dependencies:[Yi.xw,Yi.Wh,Yi.yH,wn.ib,wn.yz,wn.yK,Zo.d,It.JJ]})}return N})();var oh=p(3214);function sh(N,z){1&N&&t.GkF(0)}const s1=function(N,z){return{"small-svg":N,"large-svg":z}};function hf(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),t.qZA(),t.kcU(),t.TgZ(12,"div",18)(13,"mat-card-title"),t._uU(14,"Boltz Submarine Swaps explained."),t.qZA()(),t.TgZ(15,"div",19)(16,"mat-card-subtitle",20),t._uU(17," Boltz is a privacy-first account free exchange and a Lightning service provider. By doing a Submarine Swap on Boltz, you can swap your on-chain Bitcoin for Lightning Bitcoin. "),t.qZA()()()}if(2&N){const v=t.oxw();t.Q6J("@sliderAnimation",v.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,s1,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function uf(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",21),t._UZ(2,"path",22)(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),t.qZA(),t.kcU(),t.TgZ(9,"div",18)(10,"mat-card-title"),t._uU(11,"Step 1: Deciding to Submarine Swap"),t.qZA()(),t.TgZ(12,"div",19)(13,"mat-card-subtitle",20),t._uU(14," You have one or more Lightning channels that are running low on outbound liquidity and you want to fund it using your on-chain Bitcoin. "),t.qZA()()()}if(2&N){const v=t.oxw();t.Q6J("@sliderAnimation",v.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,s1,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function ff(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",29),t._UZ(2,"path",30)(3,"path",31)(4,"path",32)(5,"path",33)(6,"path",34)(7,"circle",35)(8,"rect",36),t.TgZ(9,"defs")(10,"pattern",37),t._UZ(11,"use",38),t.qZA(),t._UZ(12,"image",39),t.qZA()(),t.kcU(),t.TgZ(13,"div",18)(14,"mat-card-title"),t._uU(15,"Step 2: Sending the on-chain funds"),t.qZA()(),t.TgZ(16,"div",19)(17,"mat-card-subtitle",20),t._uU(18," You send the on-chain funds to an address which can only be spent by Boltz when it pays a Lightning invoice to your node. "),t.qZA()()()}if(2&N){const v=t.oxw();t.Q6J("@sliderAnimation",v.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,s1,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function mf(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",40)(2,"g",41),t._UZ(3,"path",42)(4,"path",43)(5,"path",44)(6,"path",45)(7,"path",46),t.qZA(),t.TgZ(8,"defs")(9,"clipPath",47),t._UZ(10,"rect",48),t.qZA()()(),t.kcU(),t.TgZ(11,"div",18)(12,"mat-card-title"),t._uU(13,"Step 3: Receiving the funds on Lightning"),t.qZA()(),t.TgZ(14,"div",19)(15,"mat-card-subtitle",20),t._uU(16," Boltz pays the Lightning invoice to your node and claims the on-chain funds locked in the previous step. "),t.qZA()()()}if(2&N){const v=t.oxw();t.Q6J("@sliderAnimation",v.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,s1,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function pf(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",49),t._UZ(2,"path",50)(3,"path",51)(4,"path",52)(5,"path",53)(6,"path",54),t.qZA(),t.kcU(),t.TgZ(7,"div",18)(8,"mat-card-title"),t._uU(9,"Done!"),t.qZA()(),t.TgZ(10,"div",19)(11,"mat-card-subtitle",20),t._uU(12," You swapped your on-chain Bitcoin for Lightning Bitcoin, while also adding outbound capacity for your channels in the process - all in a non-custodial manner. "),t.qZA()()()}if(2&N){const v=t.oxw();t.Q6J("@sliderAnimation",v.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,s1,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}let c1=(()=>{class N{constructor(v){this.commonService=v,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.vpe,this.screenSize="",this.screenSizeEnum=ce.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(v){2===v.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===v.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(bn.v))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-swapin-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","323","height","323","viewBox","0 0 323 323","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M53.8333 134.583H80.75L94.2083 161.5L117.792 134.961C121.616 130.658 125.869 126.602 131.194 124.413C136.45 122.252 142.103 121.125 147.842 121.125H242.25C286.847 121.125 323 157.278 323 201.875C323 246.472 286.847 282.625 242.25 282.625H147.842C142.103 282.625 136.45 281.497 131.194 279.337C125.869 277.149 121.616 273.092 117.792 268.79L94.2083 242.25L80.75 269.167H53.8333L67.2917 228.792L53.8333 201.875L67.2917 174.958L53.8333 134.583Z",1,"fill-color-0"],["d","M26.9167 107.667H53.8333L67.2917 134.583L90.8755 108.044C94.6993 103.741 98.9527 99.6849 104.277 97.4963C109.534 95.3357 115.187 94.2083 120.925 94.2083H215.333C259.93 94.2083 296.083 130.361 296.083 174.958C296.083 219.555 259.93 255.708 215.333 255.708H120.925C115.187 255.708 109.534 254.581 104.277 252.42C98.9527 250.232 94.6993 246.176 90.8755 241.873L67.2917 215.333L53.8333 242.25H26.9167L40.375 201.875L26.9167 174.958L40.375 148.042L26.9167 107.667Z",1,"stroke-color-thick"],["d","M134.583 215.333C142.016 215.333 148.042 209.308 148.042 201.875C148.042 194.442 142.016 188.417 134.583 188.417C127.151 188.417 121.125 194.442 121.125 201.875C121.125 209.308 127.151 215.333 134.583 215.333Z",1,"fill-color-15"],["d","M107.667 188.417C115.1 188.417 121.125 182.391 121.125 174.958C121.125 167.526 115.1 161.5 107.667 161.5C100.234 161.5 94.2083 167.526 94.2083 174.958C94.2083 182.391 100.234 188.417 107.667 188.417Z",1,"stroke-color-thick"],["d","M201.875 215.333C209.308 215.333 215.333 209.308 215.333 201.875C215.333 194.442 209.308 188.417 201.875 188.417C194.442 188.417 188.417 194.442 188.417 201.875C188.417 209.308 194.442 215.333 201.875 215.333Z",1,"fill-color-15"],["d","M174.958 188.417C182.391 188.417 188.417 182.391 188.417 174.958C188.417 167.526 182.391 161.5 174.958 161.5C167.526 161.5 161.5 167.526 161.5 174.958C161.5 182.391 167.526 188.417 174.958 188.417Z",1,"stroke-color-thick"],["d","M269.167 215.333C276.599 215.333 282.625 209.308 282.625 201.875C282.625 194.442 276.599 188.417 269.167 188.417C261.734 188.417 255.708 194.442 255.708 201.875C255.708 209.308 261.734 215.333 269.167 215.333Z",1,"fill-color-15"],["d","M242.25 188.417C249.683 188.417 255.708 182.391 255.708 174.958C255.708 167.526 249.683 161.5 242.25 161.5C234.817 161.5 228.792 167.526 228.792 174.958C228.792 182.391 234.817 188.417 242.25 188.417Z",1,"stroke-color-thick"],["d","M189.321 97C186.935 97 185 98.9345 185 101.321V112.679C185 115.065 186.935 117 189.321 117H237.679C240.065 117 242 115.065 242 112.679V101.321C242 98.9345 240.065 97 237.679 97H189.321Z",1,"fill-color-15"],["d","M161.5 67.2917V94.2083H215.333V67.2917H161.5Z",1,"stroke-color-thick"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","347","height","169","viewBox","0 0 347 169","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M89 157.417V41.5833C89 35.2125 92.75 30 97.3333 30H230.667C235.25 30 239 35.2125 239 41.5833V157.417C239 163.787 235.25 169 230.667 169H97.3333C92.75 169 89 163.787 89 157.417Z",1,"fill-color-0"],["d","M6.25 134.625V18.375C6.25 11.9812 11.4812 6.75 17.875 6.75H203.875C210.269 6.75 215.5 11.9812 215.5 18.375V134.625C215.5 141.019 210.269 146.25 203.875 146.25H17.875C11.4812 146.25 6.25 141.019 6.25 134.625Z",1,"stroke-color-thin"],["d","M256.188 123H238.75V76.5H256.188C259.442 76.5 262 79.0575 262 82.3125V117.188C262 120.443 259.442 123 256.188 123Z",1,"fill-color-15"],["d","M232.938 99.75H215.5V53.25H232.938C236.193 53.25 238.75 55.8075 238.75 59.0625V93.9375C238.75 97.1925 236.193 99.75 232.938 99.75Z",1,"stroke-color-thin"],["d","M146 53V87.875",1,"stroke-color-thin"],["d","M146 122.634V122.749",1,"stroke-color-thin"],["d","M344.698 95.3022C346.74 97.3445 346.74 100.656 344.698 102.698L311.418 135.978C309.376 138.02 306.065 138.02 304.022 135.978C301.98 133.935 301.98 130.624 304.022 128.582L333.604 99L304.022 69.418C301.98 67.3758 301.98 64.0647 304.022 62.0225C306.065 59.9803 309.376 59.9803 311.418 62.0225L344.698 95.3022ZM277 93.7706L341 93.7706V104.229L277 104.229V93.7706Z",1,"fill-color-15"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["fill-rule","evenodd","clip-rule","evenodd","d","M161.033 82.5635C162.307 74.0523 155.826 69.4769 146.965 66.4247L149.84 54.8952L142.822 53.1462L140.023 64.3718C138.178 63.9121 136.283 63.4783 134.4 63.0486L137.219 51.749L130.205 50L127.328 61.5255C125.801 61.1777 124.302 60.8338 122.847 60.4721L122.855 60.4361L113.177 58.0194L111.31 65.5152C111.31 65.5152 116.517 66.7085 116.407 66.7825C119.249 67.4921 119.763 69.373 119.677 70.8641L116.403 83.9987C116.599 84.0487 116.852 84.1206 117.132 84.2326C117.096 84.2236 117.06 84.2146 117.023 84.2054C116.981 84.1948 116.938 84.184 116.894 84.1731C116.732 84.1323 116.563 84.09 116.391 84.0487L111.801 102.448C111.453 103.312 110.572 104.607 108.585 104.115C108.655 104.217 103.484 102.842 103.484 102.842L100 110.875L109.133 113.152C110.152 113.408 111.16 113.67 112.156 113.93L112.158 113.931L112.159 113.931C112.823 114.104 113.481 114.276 114.136 114.443L111.232 126.105L118.242 127.854L121.118 116.316C123.033 116.836 124.892 117.316 126.711 117.768L123.844 129.251L130.862 131L133.767 119.361C145.734 121.625 154.733 120.712 158.521 109.888C161.573 101.173 158.369 96.1458 152.072 92.8677C156.658 91.8103 160.112 88.794 161.033 82.5635ZM144.998 105.049C143.008 113.044 130.493 109.739 124.766 108.226L124.766 108.226C124.251 108.09 123.791 107.969 123.398 107.871L127.252 92.4219C127.73 92.5412 128.314 92.6723 128.976 92.8208L128.976 92.8208C134.899 94.1498 147.037 96.8734 144.998 105.049ZM130.167 85.6513C134.942 86.9255 145.356 89.7047 147.17 82.4376C149.022 75.0044 138.901 72.7637 133.957 71.6694C133.401 71.5463 132.911 71.4377 132.51 71.3379L129.016 85.3499C129.346 85.4322 129.733 85.5356 130.167 85.6513Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","313.615","y","82.836","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["d","M154.81 93.8059C152.146 100.719 149.483 108.164 146.287 115.608C146.287 115.608 146.287 116.672 147.353 116.672H169.191C169.191 116.672 169.191 117.204 169.723 117.736L137.765 153.364C137.233 152.832 137.233 152.301 137.233 151.769L148.418 127.839V125.712H126.047V123.585L153.212 93.8059H154.81Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["id","clip0"],["width","225.692","height","225.692","transform","translate(0 85.9831) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","300","height","300","viewBox","0 0 300 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M50 237.5V112.5C50 105.625 55.625 100 62.5 100H262.5C269.375 100 275 105.625 275 112.5V237.5C275 244.375 269.375 250 262.5 250H62.5C55.625 250 50 244.375 50 237.5Z",1,"fill-color-0"],["d","M25 212.5V87.5C25 80.625 30.625 75 37.5 75H237.5C244.375 75 250 80.625 250 87.5V212.5C250 219.375 244.375 225 237.5 225H37.5C30.625 225 25 219.375 25 212.5Z",1,"stroke-color"],["d","M293.75 200H275V150H293.75C297.25 150 300 152.75 300 156.25V193.75C300 197.25 297.25 200 293.75 200Z",1,"fill-color-0"],["d","M268.75 175H250V125H268.75C272.25 125 275 127.75 275 131.25V168.75C275 172.25 272.25 175 268.75 175Z",1,"stroke-color"],["d","M137.5 187.5L156.25 150H118.75L137.5 112.5",1,"stroke-color"]],template:function(U,Z){if(1&U&&(t.YNc(0,sh,1,0,"ng-container",0),t.YNc(1,hf,18,5,"ng-template",null,1,t.W1O),t.YNc(3,uf,15,5,"ng-template",null,2,t.W1O),t.YNc(5,ff,19,5,"ng-template",null,3,t.W1O),t.YNc(7,mf,17,5,"ng-template",null,4,t.W1O),t.YNc(9,pf,13,5,"ng-template",null,5,t.W1O)),2&U){const Re=t.MAs(2),Vt=t.MAs(4),ei=t.MAs(6),fi=t.MAs(8),Ei=t.MAs(10);t.Q6J("ngTemplateOutlet",1===Z.stepNumber?Re:2===Z.stepNumber?Vt:3===Z.stepNumber?ei:4===Z.stepNumber?fi:Ei)}},dependencies:[It.mk,It.tP,Yi.xw,Yi.Wh,Yi.yH,sr.oO,nr.$j,nr.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:[oh.l]}})}return N})();function bl(N,z){1&N&&t.GkF(0)}const Vc=function(N,z){return{"small-svg":N,"large-svg":z}};function vs(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),t.qZA(),t.kcU(),t.TgZ(12,"div",18)(13,"mat-card-title"),t._uU(14,"Boltz Reverse Submarine Swap explained."),t.qZA()(),t.TgZ(15,"div",19)(16,"mat-card-subtitle",20),t._uU(17," Boltz is a privacy-first account free exchange and a Lightning Service Provider. By doing a Reverse Submarine Swap on Boltz, you can swap your Lightning Bitcoin for on-chain Bitcoin. "),t.qZA()()()}if(2&N){const v=t.oxw();t.Q6J("@sliderAnimation",v.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Vc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function ld(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",21)(2,"g",22),t._UZ(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),t.qZA(),t._UZ(9,"path",29),t.TgZ(10,"defs")(11,"clipPath",30),t._UZ(12,"rect",31),t.qZA()()(),t.kcU(),t.TgZ(13,"div",18)(14,"mat-card-title"),t._uU(15,"Step 1: Deciding to Reverse Submarine Swap"),t.qZA()(),t.TgZ(16,"div",19)(17,"mat-card-subtitle",20),t._uU(18," You have one or more channels that are running low on inbound capacity or you want to move some of your Lightning Bitcoin to your onchain wallet. "),t.qZA()()()}if(2&N){const v=t.oxw();t.Q6J("@sliderAnimation",v.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Vc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function Cc(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",32),t._UZ(2,"path",33)(3,"path",34)(4,"path",35)(5,"path",36)(6,"path",37)(7,"circle",38)(8,"rect",39),t.TgZ(9,"defs")(10,"pattern",40),t._UZ(11,"use",41),t.qZA(),t._UZ(12,"image",42),t.qZA()(),t.kcU(),t.TgZ(13,"div",18)(14,"mat-card-title"),t._uU(15,"Step 2: Paying the Lightning Invoice"),t.qZA()(),t.TgZ(16,"div",19)(17,"mat-card-subtitle",20),t._uU(18," Your Boltz client generates a secret which is sent to Boltz. In return Boltz sends a Lightning invoice based on that secret. Your Lightning node pays that invoice which moves some of your local balance to the other side of the channel. "),t.qZA()()()}if(2&N){const v=t.oxw();t.Q6J("@sliderAnimation",v.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Vc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function M2(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",43)(2,"g",22),t._UZ(3,"path",44)(4,"path",45)(5,"path",46)(6,"path",47)(7,"path",48),t.qZA(),t.TgZ(8,"defs")(9,"clipPath",30),t._UZ(10,"rect",49),t.qZA()()(),t.kcU(),t.TgZ(11,"div",18)(12,"mat-card-title"),t._uU(13,"Step 3: Receiving the funds on-chain"),t.qZA()(),t.TgZ(14,"div",19)(15,"mat-card-subtitle",20),t._uU(16," In return for paying the invoice, Boltz locks on-chain BTC. Your node claims that onchain BTC to your wallet and by doing that, reveals the secret. With that secret Boltz can settle the Lightning invoice paid by your node. "),t.qZA()()()}if(2&N){const v=t.oxw();t.Q6J("@sliderAnimation",v.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Vc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function S2(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",50),t._UZ(2,"path",51)(3,"path",52)(4,"path",53)(5,"path",54)(6,"path",55),t.qZA(),t.kcU(),t.TgZ(7,"div",18)(8,"mat-card-title"),t._uU(9,"Done!"),t.qZA()(),t.TgZ(10,"div",19)(11,"mat-card-subtitle",20),t._uU(12," You have now successfully received your funds in your on-chain wallet and also spent your local balance to increase the inbound capacity of your node - all in a non-custodial manner. "),t.qZA()()()}if(2&N){const v=t.oxw();t.Q6J("@sliderAnimation",v.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Vc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}let Ns=(()=>{class N{constructor(v){this.commonService=v,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.vpe,this.screenSize="",this.screenSizeEnum=ce.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(v){2===v.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===v.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(bn.v))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-swapout-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","368","height","368","viewBox","0 0 368 368","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M306.667 153.333H276L260.667 184L233.797 153.763C229.441 148.861 224.595 144.24 218.529 141.746C212.54 139.284 206.099 138 199.561 138H92C41.19 138 1.52588e-05 179.19 1.52588e-05 230C1.52588e-05 280.81 41.19 322 92 322H199.561C206.099 322 212.54 320.715 218.529 318.254C224.595 315.761 229.441 311.139 233.797 306.237L260.667 276L276 306.667H306.667L291.333 260.667L306.667 230L291.333 199.333L306.667 153.333Z",1,"fill-color-0"],["d","M337.333 122.667H306.667L291.333 153.333L264.464 123.097C260.107 118.194 255.261 113.573 249.195 111.079C243.206 108.618 236.766 107.333 230.228 107.333H122.667C71.8566 107.333 30.6667 148.523 30.6667 199.333C30.6667 250.143 71.8566 291.333 122.667 291.333H230.228C236.766 291.333 243.206 290.048 249.195 287.587C255.261 285.094 260.107 280.473 264.464 275.571L291.333 245.333L306.667 276H337.333L322 230L337.333 199.333L322 168.667L337.333 122.667Z",1,"stroke-color-thicker"],["d","M214.667 245.333C206.198 245.333 199.333 238.468 199.333 230C199.333 221.532 206.198 214.667 214.667 214.667C223.135 214.667 230 221.532 230 230C230 238.468 223.135 245.333 214.667 245.333Z",1,"fill-color-15"],["d","M245.333 214.667C236.865 214.667 230 207.802 230 199.333C230 190.865 236.865 184 245.333 184C253.802 184 260.667 190.865 260.667 199.333C260.667 207.802 253.802 214.667 245.333 214.667Z",1,"stroke-color-thicker"],["d","M138 245.333C129.532 245.333 122.667 238.468 122.667 230C122.667 221.532 129.532 214.667 138 214.667C146.468 214.667 153.333 221.532 153.333 230C153.333 238.468 146.468 245.333 138 245.333Z",1,"fill-color-15"],["d","M168.667 214.667C160.198 214.667 153.333 207.802 153.333 199.333C153.333 190.865 160.198 184 168.667 184C177.135 184 184 190.865 184 199.333C184 207.802 177.135 214.667 168.667 214.667Z",1,"stroke-color-thicker"],["d","M61.3334 245.333C52.865 245.333 46 238.468 46 230C46 221.532 52.865 214.667 61.3334 214.667C69.8017 214.667 76.6667 221.532 76.6667 230C76.6667 238.468 69.8017 245.333 61.3334 245.333Z",1,"fill-color-15"],["d","M92 214.667C83.5316 214.667 76.6666 207.802 76.6666 199.333C76.6666 190.865 83.5316 184 92 184C100.468 184 107.333 190.865 107.333 199.333C107.333 207.802 100.468 214.667 92 214.667Z",1,"stroke-color-thicker"],["d","M239.077 111C241.796 111 244 113.204 244 115.923V126.077C244 128.796 241.796 131 239.077 131H191.923C189.204 131 187 128.796 187 126.077V115.923C187 113.204 189.204 111 191.923 111H239.077Z",1,"fill-color-15"],["d","M184 76.6666V107.333H122.667V76.6666H184Z",1,"stroke-color-thicker"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","383","height","279","viewBox","0 0 383 279","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M267.882 220.417V104.583C267.882 98.2125 263.809 93 258.832 93H114.029C109.051 93 104.978 98.2125 104.978 104.583V220.417C104.978 226.787 109.051 232 114.029 232H258.832C263.809 232 267.882 226.787 267.882 220.417Z",1,"fill-color-0"],["d","M357.75 197.625V81.375C357.75 74.9812 352.069 69.75 345.125 69.75H143.125C136.181 69.75 130.5 74.9812 130.5 81.375V197.625C130.5 204.019 136.181 209.25 143.125 209.25H345.125C352.069 209.25 357.75 204.019 357.75 197.625Z",1,"stroke-color-thin"],["d","M86.3125 186H105.25V139.5H86.3125C82.7775 139.5 80 142.057 80 145.312V180.188C80 183.443 82.7775 186 86.3125 186Z",1,"fill-color-15"],["d","M111.562 162.75H130.5V116.25H111.562C108.027 116.25 105.25 118.807 105.25 122.062V156.938C105.25 160.193 108.027 162.75 111.562 162.75Z",1,"stroke-color-thin"],["d","M205.979 116V150.875",1,"stroke-color-thin"],["d","M205.979 185.634V185.749",1,"stroke-color-thin"],["d","M2.44963 159.45C0.488815 161.41 0.488815 164.59 2.44963 166.55L34.403 198.504C36.3638 200.465 39.5429 200.465 41.5037 198.504C43.4645 196.543 43.4645 193.364 41.5037 191.403L13.1007 163L41.5037 134.597C43.4645 132.636 43.4645 129.457 41.5037 127.496C39.5429 125.535 36.3638 125.535 34.403 127.496L2.44963 159.45ZM65 157.979H6V168.021H65V157.979Z",1,"fill-color-15"],["id","clip0"],["width","303","height","279","transform","matrix(-1 0 0 1 383 0)",1,"fill-color-30"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["d","M138.762 67C136.099 73.913 133.436 81.3578 130.24 88.8025C130.24 88.8025 130.24 89.8661 131.305 89.8661H153.143C153.143 89.8661 153.143 90.3979 153.676 90.9296L121.718 126.558C121.185 126.026 121.185 125.495 121.185 124.963L132.371 101.033V98.9062H110V96.7791L137.164 67H138.762Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","317","y","81","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["fill-rule","evenodd","clip-rule","evenodd","d","M169.522 122.093C171.059 115.241 166.054 111.136 159.022 108.13L162.04 98.916L156.431 97.0797L153.493 106.051C152.019 105.569 150.502 105.104 148.995 104.643L151.953 95.613L146.348 93.7769L143.329 102.988C142.106 102.615 140.906 102.247 139.743 101.867L139.752 101.838L132.017 99.3019L130.057 105.293C130.057 105.293 134.224 106.57 134.131 106.624C136.402 107.369 136.71 108.93 136.552 110.138L133.115 120.635C133.271 120.687 133.473 120.761 133.695 120.869C133.66 120.857 133.626 120.846 133.591 120.834C133.562 120.825 133.534 120.816 133.505 120.806C133.375 120.763 133.24 120.719 133.102 120.675L128.284 135.38C127.95 136.062 127.157 137.065 125.569 136.548C125.62 136.635 121.492 135.211 121.492 135.211L118.184 141.544L125.483 143.935C126.298 144.203 127.103 144.476 127.899 144.746L127.901 144.747C128.431 144.927 128.956 145.105 129.479 145.28L126.429 154.6L132.031 156.436L135.051 147.215C136.579 147.75 138.064 148.25 139.517 148.725L136.509 157.902L142.118 159.739L145.166 150.437C154.773 152.984 162.15 152.77 165.87 144.183C168.867 137.27 166.555 132.99 161.623 129.952C165.417 129.361 168.406 127.109 169.522 122.093ZM155.149 139.449C153.059 145.84 143.068 142.413 138.496 140.845L138.496 140.845C138.085 140.704 137.718 140.578 137.404 140.476L141.449 128.129C141.831 128.254 142.299 128.395 142.829 128.555L142.829 128.555C147.571 129.985 157.289 132.916 155.149 139.449ZM144.22 122.79C148.031 124.108 156.343 126.982 158.247 121.175C160.192 115.234 152.086 112.815 148.127 111.634C147.682 111.501 147.289 111.383 146.969 111.279L143.301 122.477C143.565 122.563 143.874 122.67 144.22 122.79Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["width","225.692","height","225.692","transform","translate(0 85.983) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","298","height","300","viewBox","0 0 298 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M248.333 237.5V112.5C248.333 105.625 242.746 100 235.917 100H37.2501C30.421 100 24.8335 105.625 24.8335 112.5V237.5C24.8335 244.375 30.421 250 37.2501 250H235.917C242.746 250 248.333 244.375 248.333 237.5Z",1,"fill-color-0"],["d","M273.167 212.5V87.5C273.167 80.625 267.579 75 260.75 75H62.0832C55.254 75 49.6665 80.625 49.6665 87.5V212.5C49.6665 219.375 55.254 225 62.0832 225H260.75C267.579 225 273.167 219.375 273.167 212.5Z",1,"stroke-color"],["d","M6.20851 200H24.8335V150H6.20851C2.73185 150 0.000183105 152.75 0.000183105 156.25V193.75C0.000183105 197.25 2.73185 200 6.20851 200Z",1,"fill-color-0"],["d","M31.0415 175H49.6665V125H31.0415C27.5648 125 24.8331 127.75 24.8331 131.25V168.75C24.8331 172.25 27.5648 175 31.0415 175Z",1,"stroke-color"],["d","M161.417 187.5L142.792 150H180.042L161.417 112.5",1,"stroke-color"]],template:function(U,Z){if(1&U&&(t.YNc(0,bl,1,0,"ng-container",0),t.YNc(1,vs,18,5,"ng-template",null,1,t.W1O),t.YNc(3,ld,19,5,"ng-template",null,2,t.W1O),t.YNc(5,Cc,19,5,"ng-template",null,3,t.W1O),t.YNc(7,M2,17,5,"ng-template",null,4,t.W1O),t.YNc(9,S2,13,5,"ng-template",null,5,t.W1O)),2&U){const Re=t.MAs(2),Vt=t.MAs(4),ei=t.MAs(6),fi=t.MAs(8),Ei=t.MAs(10);t.Q6J("ngTemplateOutlet",1===Z.stepNumber?Re:2===Z.stepNumber?Vt:3===Z.stepNumber?ei:4===Z.stepNumber?fi:Ei)}},dependencies:[It.mk,It.tP,Yi.xw,Yi.Wh,Yi.yH,sr.oO,nr.$j,nr.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:[oh.l]}})}return N})();const l1=["stepper"];function E2(N,z){if(1&N&&t._uU(0),2&N){const v=t.oxw(2);t.Oqu(v.inputFormLabel)}}function ch(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Amount is required."),t.qZA())}function gf(N,z){if(1&N&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"number"),t.qZA()),2&N){const v=t.oxw(2);t.xp6(1),t.hij("Amount must be greater than or equal to ",t.lcZ(2,1,null==v.serviceInfo||null==v.serviceInfo.limits?null:v.serviceInfo.limits.minimal),".")}}function yl(N,z){if(1&N&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"number"),t.qZA()),2&N){const v=t.oxw(2);t.xp6(1),t.hij("Amount must be less than or equal to ",t.lcZ(2,1,null==v.serviceInfo||null==v.serviceInfo.limits?null:v.serviceInfo.limits.maximal),".")}}function d1(N,z){1&N&&(t.TgZ(0,"button",40),t._uU(1,"Next"),t.qZA())}function _f(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"button",41),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw(2);return t.KtG(Z.onSwap())}),t._uU(1),t.qZA()}if(2&N){const v=t.oxw(2);t.xp6(1),t.hij("Initiate ",v.swapDirectionCaption,"")}}function vf(N,z){if(1&N&&t._uU(0),2&N){const v=t.oxw(3);t.Oqu(v.addressFormLabel)}}function lh(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Address is required."),t.qZA())}function T2(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"mat-step",15)(1,"form",16),t.YNc(2,vf,1,1,"ng-template",17),t.TgZ(3,"div",42)(4,"mat-radio-group",43),t.NdJ("change",function(Z){t.CHM(v);const Re=t.oxw(2);return t.KtG(Re.onAddressTypeChange(Z))}),t.TgZ(5,"mat-radio-button",44),t._uU(6,"Node Local Address"),t.qZA(),t.TgZ(7,"mat-radio-button",45),t._uU(8,"External Address"),t.qZA()(),t.TgZ(9,"mat-form-field",46)(10,"mat-label"),t._uU(11,"Address"),t.qZA(),t._UZ(12,"input",47),t.YNc(13,lh,2,0,"mat-error",24),t.qZA()(),t.TgZ(14,"div",25)(15,"button",48),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw(2);return t.KtG(Z.onSwap())}),t._uU(16),t.qZA()()()()}if(2&N){const v=t.oxw(2);t.Q6J("stepControl",v.addressFormGroup)("editable",v.flgEditable),t.xp6(1),t.Q6J("formGroup",v.addressFormGroup),t.xp6(11),t.Q6J("required","external"===v.addressFormGroup.controls.addressType.value),t.xp6(1),t.Q6J("ngIf",null==v.addressFormGroup.controls.address.errors?null:v.addressFormGroup.controls.address.errors.required),t.xp6(3),t.hij("Initiate ",v.swapDirectionCaption,"")}}function dh(N,z){if(1&N&&t._uU(0),2&N){const v=t.oxw(2);t.hij("",v.swapDirectionCaption," Status")}}function hh(N,z){if(1&N&&(t.TgZ(0,"mat-icon",49),t._uU(1),t.qZA()),2&N){const v=t.oxw(2);t.xp6(1),t.Oqu(v.swapStatus&&null!=v.swapStatus&&v.swapStatus.id?"check":"close")}}function dd(N,z){1&N&&t._UZ(0,"div")}function Bc(N,z){1&N&&t._UZ(0,"mat-progress-bar",50)}function hd(N,z){if(1&N&&(t.TgZ(0,"h4",51),t._uU(1),t.qZA()),2&N){const v=t.oxw(2);t.xp6(1),t.Oqu(v.swapStatus&&v.swapStatus.error?v.swapDirectionCaption+" failed.":v.swapStatus&&v.swapStatus.id?v.swapDirectionCaption+" request placed successfully. You can check the status of the request on the 'Boltz' menu.":v.swapDirectionCaption+" request placed successfully.")}}function h1(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"button",52),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw(2);return t.KtG(Z.onRestart())}),t._uU(1,"Start Again"),t.qZA()}}function xl(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),t._uU(5),t.qZA()(),t.TgZ(6,"div",8)(7,"button",9),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.showInfo())}),t._uU(8,"?"),t.qZA(),t.TgZ(9,"button",10),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.onClose())}),t._uU(10,"X"),t.qZA()()(),t.TgZ(11,"mat-card-content",11)(12,"div",12)(13,"mat-vertical-stepper",13,14),t.NdJ("selectionChange",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.stepSelectionChanged(Z))}),t.TgZ(15,"mat-step",15)(16,"form",16),t.YNc(17,E2,1,1,"ng-template",17),t.TgZ(18,"div",18),t._UZ(19,"rtl-boltz-service-info",19),t.qZA(),t.TgZ(20,"div",20)(21,"mat-form-field",21)(22,"mat-label"),t._uU(23,"Amount"),t.qZA(),t._UZ(24,"input",22),t.TgZ(25,"mat-hint"),t._uU(26),t.ALo(27,"number"),t.ALo(28,"number"),t.qZA(),t.TgZ(29,"span",23),t._uU(30,"Sats"),t.qZA(),t.YNc(31,ch,2,0,"mat-error",24),t.YNc(32,gf,3,3,"mat-error",24),t.YNc(33,yl,3,3,"mat-error",24),t.qZA()(),t.TgZ(34,"div",25),t.YNc(35,d1,2,0,"button",26),t.YNc(36,_f,2,1,"button",27),t.qZA()()(),t.YNc(37,T2,17,6,"mat-step",28),t.TgZ(38,"mat-step",29)(39,"form",16),t.YNc(40,dh,1,1,"ng-template",17),t.TgZ(41,"div",30)(42,"mat-expansion-panel",31)(43,"mat-expansion-panel-header")(44,"mat-panel-title")(45,"span",32),t._uU(46),t.YNc(47,hh,2,1,"mat-icon",33),t.qZA()()(),t.YNc(48,dd,1,0,"div",34),t.qZA(),t.YNc(49,Bc,1,0,"mat-progress-bar",35),t.qZA(),t.YNc(50,hd,2,1,"h4",36),t.TgZ(51,"div",25),t.YNc(52,h1,2,0,"button",37),t.qZA()()()(),t.TgZ(53,"div",38)(54,"button",39),t._uU(55,"Close"),t.qZA()()()()()()}if(2&N){const v=t.oxw(),U=t.MAs(2);t.Q6J("@opacityAnimation",void 0),t.xp6(3),t.Q6J("fxFlex",v.screenSize===v.screenSizeEnum.XS||v.screenSize===v.screenSizeEnum.SM?"83":"91"),t.xp6(2),t.Oqu(v.swapDirectionCaption),t.xp6(1),t.Q6J("fxFlex",v.screenSize===v.screenSizeEnum.XS||v.screenSize===v.screenSizeEnum.SM?"17":"9"),t.xp6(7),t.Q6J("linear",!0),t.xp6(2),t.Q6J("stepControl",v.inputFormGroup)("editable",v.flgEditable),t.xp6(1),t.Q6J("formGroup",v.inputFormGroup),t.xp6(3),t.Q6J("serviceInfo",v.serviceInfo)("direction",v.direction),t.xp6(5),t.Q6J("step",1e3),t.xp6(2),t.AsE("Range: ",t.lcZ(27,30,null==v.serviceInfo||null==v.serviceInfo.limits?null:v.serviceInfo.limits.minimal),"-",t.lcZ(28,32,null==v.serviceInfo||null==v.serviceInfo.limits?null:v.serviceInfo.limits.maximal),""),t.xp6(5),t.Q6J("ngIf",null==v.inputFormGroup||null==v.inputFormGroup.controls||null==v.inputFormGroup.controls.amount||null==v.inputFormGroup.controls.amount.errors?null:v.inputFormGroup.controls.amount.errors.required),t.xp6(1),t.Q6J("ngIf",null==v.inputFormGroup||null==v.inputFormGroup.controls||null==v.inputFormGroup.controls.amount||null==v.inputFormGroup.controls.amount.errors?null:v.inputFormGroup.controls.amount.errors.min),t.xp6(1),t.Q6J("ngIf",null==v.inputFormGroup||null==v.inputFormGroup.controls||null==v.inputFormGroup.controls.amount||null==v.inputFormGroup.controls.amount.errors?null:v.inputFormGroup.controls.amount.errors.max),t.xp6(2),t.Q6J("ngIf",v.direction===v.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("ngIf",v.direction===v.swapTypeEnum.SWAP_IN),t.xp6(1),t.Q6J("ngIf",v.direction===v.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("stepControl",v.statusFormGroup),t.xp6(1),t.Q6J("formGroup",v.statusFormGroup),t.xp6(3),t.Q6J("expanded",!!v.swapStatus),t.xp6(4),t.Oqu(v.swapStatus?v.swapStatus.id?v.swapDirectionCaption+" request details":v.swapDirectionCaption+" error details":"Waiting for "+v.swapDirectionCaption+" request..."),t.xp6(1),t.Q6J("ngIf",v.swapStatus),t.xp6(1),t.Q6J("ngIf",!v.swapStatus)("ngIfElse",U),t.xp6(1),t.Q6J("ngIf",!v.swapStatus),t.xp6(1),t.Q6J("ngIf",v.swapStatus),t.xp6(2),t.Q6J("ngIf",v.swapStatus&&(v.swapStatus.error||!v.swapStatus.id)),t.xp6(2),t.Q6J("mat-dialog-close",!1)}}function uh(N,z){if(1&N&&t._UZ(0,"rtl-boltz-swap-status",53),2&N){const v=t.oxw();t.Q6J("swapStatus",v.swapStatus)("direction",v.direction)}}function A2(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"rtl-boltz-swapout-info-graphics",69),t.NdJ("stepNumberChange",function(Z){t.CHM(v);const Re=t.oxw(2);return t.KtG(Re.stepNumber=Z)}),t.qZA()}if(2&N){const v=t.oxw(2);t.Q6J("animationDirection",v.animationDirection)("stepNumber",v.stepNumber)}}function u1(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"rtl-boltz-swapin-info-graphics",69),t.NdJ("stepNumberChange",function(Z){t.CHM(v);const Re=t.oxw(2);return t.KtG(Re.stepNumber=Z)}),t.qZA()}if(2&N){const v=t.oxw(2);t.Q6J("animationDirection",v.animationDirection)("stepNumber",v.stepNumber)}}const f1=function(N,z){return{"dot-primary":N,"dot-primary-lighter":z}};function D2(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"span",70),t.NdJ("click",function(){const Re=t.CHM(v).$implicit,Vt=t.oxw(2);return t.KtG(Vt.onStepChanged(Re))}),t._UZ(1,"p",71),t.qZA()}if(2&N){const v=z.$implicit,U=t.oxw(2);t.xp6(1),t.Q6J("ngClass",t.WLB(1,f1,U.stepNumber===v,U.stepNumber!==v))}}function L2(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"button",72),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw(2);return t.KtG(Z.onReadMore())}),t._uU(1,"Read More"),t.qZA()}}function Ea(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"button",73),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw(2);return t.KtG(Z.onStepChanged(4))}),t._uU(1,"Back"),t.qZA()}}function bf(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"button",74),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw(2);return Z.flgShowInfo=!1,t.KtG(Z.stepNumber=1)}),t._uU(1,"Close"),t.qZA()}}function fh(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"button",75),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw(2);return Z.flgShowInfo=!1,t.KtG(Z.stepNumber=1)}),t._uU(1,"Close"),t.qZA()}}function mr(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"button",76),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw(2);return t.KtG(Z.onStepChanged(Z.stepNumber-1))}),t._uU(1,"Back"),t.qZA()}}function yf(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"button",77),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw(2);return t.KtG(Z.onStepChanged(Z.stepNumber+1))}),t._uU(1,"Next"),t.qZA()}}const Cl=function(){return[1,2,3,4,5]};function m1(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",54)(1,"div",18)(2,"mat-card-header",55)(3,"div",56),t._UZ(4,"span",7),t.qZA(),t.TgZ(5,"div",57)(6,"button",10),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return Z.flgShowInfo=!1,t.KtG(Z.stepNumber=1)}),t._uU(7,"X"),t.qZA()()(),t.TgZ(8,"mat-card-content",58),t.YNc(9,A2,1,2,"rtl-boltz-swapout-info-graphics",59),t.YNc(10,u1,1,2,"rtl-boltz-swapin-info-graphics",59),t.qZA(),t.TgZ(11,"div",60),t.YNc(12,D2,2,4,"span",61),t.qZA(),t.TgZ(13,"div",62),t.YNc(14,L2,2,0,"button",63),t.YNc(15,Ea,2,0,"button",64),t.YNc(16,bf,2,0,"button",65),t.YNc(17,fh,2,0,"button",66),t.YNc(18,mr,2,0,"button",67),t.YNc(19,yf,2,0,"button",68),t.qZA()()()}if(2&N){const v=t.oxw();t.Q6J("@opacityAnimation",void 0),t.xp6(9),t.Q6J("ngIf",v.direction===v.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("ngIf",v.direction===v.swapTypeEnum.SWAP_IN),t.xp6(2),t.Q6J("ngForOf",t.DdM(10,Cl)),t.xp6(2),t.Q6J("ngIf",5===v.stepNumber),t.xp6(1),t.Q6J("ngIf",5===v.stepNumber),t.xp6(1),t.Q6J("ngIf",5===v.stepNumber),t.xp6(1),t.Q6J("ngIf",v.stepNumber<5),t.xp6(1),t.Q6J("ngIf",v.stepNumber>1&&v.stepNumber<5),t.xp6(1),t.Q6J("ngIf",v.stepNumber<5)}}let xf=(()=>{class N{constructor(v,U,Z,Re,Vt,ei,fi){this.dialogRef=v,this.data=U,this.boltzService=Z,this.formBuilder=Re,this.decimalPipe=Vt,this.logger=ei,this.commonService=fi,this.faInfoCircle=qi.sqG,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=ce.hc,this.direction=ce.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=ce.cu,this.animationDirection="forward",this.flgEditable=!0,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||ce.hc.SWAP_OUT,this.swapDirectionCaption=this.direction===ce.hc.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[Me.kI.required,Me.kI.min(this.serviceInfo.limits?.minimal||0),Me.kI.max(this.serviceInfo.limits?.maximal||0)]]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[Me.kI.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges()}ngAfterViewInit(){this.direction===ce.hc.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===ce.hc.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,sn.R)(this.unSubs[2])).subscribe(v=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(v){"external"===v.value?(this.addressFormGroup.controls.address.setValidators([Me.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===ce.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===ce.hc.SWAP_IN?this.boltzService.swapIn(this.inputFormGroup.controls.amount.value).pipe((0,sn.R)(this.unSubs[3])).subscribe({next:v=>{this.swapStatus=v,this.boltzService.listSwaps(),this.flgEditable=!0},error:v=>{this.swapStatus={error:v},this.flgEditable=!0,this.logger.error(v)}}):this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,"external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"").pipe((0,sn.R)(this.unSubs[4])).subscribe({next:U=>{this.swapStatus=U,this.boltzService.listSwaps(),this.flgEditable=!0},error:U=>{this.swapStatus={error:U},this.flgEditable=!0,this.logger.error(U)}})}stepSelectionChanged(v){switch(v.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"}v.selectedIndex<v.previouslySelectedIndex&&v.selectedStep.stepControl.setErrors({Invalid:!0})}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===ce.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(v){this.animationDirection=v<this.stepNumber?"backward":"forward",this.stepNumber=v}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(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(An.so),t.Y36(An.WI),t.Y36(_s),t.Y36(Me.QS),t.Y36(It.JJ),t.Y36(ii.mQ),t.Y36(bn.v))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(U,Z){if(1&U&&t.Gf(l1,5),2&U){let Re;t.iGM(Re=t.CRH())&&(Z.stepper=Re.first)}},decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["swapStatusBlock",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","info-graphics-container",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxLayoutAlign","start start",3,"fxFlex"],[1,"page-title"],["fxLayoutAlign","space-between end",3,"fxFlex"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],[3,"linear","selectionChange"],["stepper",""],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[3,"serviceInfo","direction"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],["fxLayout","column","fxFlex","48"],["autoFocus","","matInput","","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext","",4,"ngIf"],["mat-button","","color","primary","tabindex","3","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext",""],["mat-button","","color","primary","tabindex","3","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"swapStatus","direction"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(U,Z){1&U&&(t.YNc(0,xl,56,34,"div",0),t.YNc(1,uh,1,2,"ng-template",null,1,t.W1O),t.YNc(3,m1,20,11,"div",2)),2&U&&(t.Q6J("ngIf",!Z.flgShowInfo),t.xp6(3),t.Q6J("ngIf",Z.flgShowInfo))},dependencies:[It.mk,It.sg,It.O5,Me._Y,Me.Fj,Me.wV,Me.JJ,Me.JL,Me.Q7,Me.sg,Me.u,Yi.xw,Yi.Wh,Yi.yH,sr.oO,An.ZT,dt.lW,nr.dn,nr.dk,wn.ib,wn.yz,wn.yK,gc.Hw,fr.Nt,_t.KE,_t.hX,_t.bx,_t.TO,_t.R9,e1.pW,uo.VQ,uo.U0,Bn.C0,Bn.VY,Bn.Vq,Bn.Ic,di.h,tc,xc,c1,Ns,It.JJ],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[rs._]}})}return N})();function mh(N,z){if(1&N&&(t.TgZ(0,"mat-option",42),t._uU(1),t.qZA()),2&N){const v=z.$implicit,U=t.oxw();t.Q6J("value",v),t.xp6(1),t.Oqu(U.getLabel(v))}}function ph(N,z){1&N&&t._UZ(0,"mat-progress-bar",43)}function p1(N,z){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Status"),t.qZA())}function wl(N,z){if(1&N&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&N){const v=z.$implicit,U=t.oxw();t.xp6(1),t.Oqu(U.swapStateEnum[null==v?null:v.status])}}function ud(N,z){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Swap ID"),t.qZA())}function fd(N,z){if(1&N&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&N){const v=z.$implicit;t.xp6(1),t.Oqu(null==v?null:v.id)}}function I2(N,z){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Claim Address"),t.qZA())}const Ro=function(N){return{width:N}};function k2(N,z){if(1&N&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&N){const v=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ro,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==v?null:v.claimAddress)}}function g1(N,z){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Lockup Address"),t.qZA())}function _1(N,z){if(1&N&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&N){const v=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ro,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==v?null:v.lockupAddress)}}function Uc(N,z){1&N&&(t.TgZ(0,"th",48),t._uU(1,"Onchain Amount (Sats)"),t.qZA())}function v1(N,z){if(1&N&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&N){const v=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==v?null:v.onchainAmount))}}function gh(N,z){1&N&&(t.TgZ(0,"th",48),t._uU(1,"Expected Amount (Sats)"),t.qZA())}function _h(N,z){if(1&N&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&N){const v=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==v?null:v.expectedAmount))}}function vh(N,z){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Error"),t.qZA())}function O2(N,z){if(1&N&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&N){const v=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ro,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==v?null:v.error)}}function b1(N,z){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Private Key"),t.qZA())}function bh(N,z){if(1&N&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&N){const v=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ro,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==v?null:v.privateKey)}}function P2(N,z){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Preimage"),t.qZA())}function yh(N,z){if(1&N&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&N){const v=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ro,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==v?null:v.preimage)}}function N2(N,z){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Redeem Script"),t.qZA())}function xh(N,z){if(1&N&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&N){const v=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ro,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==v?null:v.redeemScript)}}function R2(N,z){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Invoice"),t.qZA())}function Ao(N,z){if(1&N&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&N){const v=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ro,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==v?null:v.invoice)}}function md(N,z){1&N&&(t.TgZ(0,"th",48),t._uU(1,"Timeout Block Height"),t.qZA())}function pd(N,z){if(1&N&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&N){const v=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==v?null:v.timeoutBlockHeight))}}function gd(N,z){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Lockup Tx ID"),t.qZA())}function to(N,z){if(1&N&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&N){const v=z.$implicit;t.xp6(1),t.Oqu(null==v?null:v.lockupTransactionId)}}function Ml(N,z){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Claim Tx ID"),t.qZA())}function _d(N,z){if(1&N&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&N){const v=z.$implicit;t.xp6(1),t.Oqu(null==v?null:v.claimTransactionId)}}function H2(N,z){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Refund Tx ID"),t.qZA())}function F2(N,z){if(1&N&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&N){const v=z.$implicit;t.xp6(1),t.Oqu(null==v?null:v.refundTransactionId)}}function z2(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"th",50)(1,"div",51)(2,"mat-select",52),t._UZ(3,"mat-select-trigger"),t.TgZ(4,"mat-option",53),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.onDownloadCSV())}),t._uU(5,"Download CSV"),t.qZA()()()()}}function vd(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"td",54)(1,"button",55),t.NdJ("click",function(Z){const Vt=t.CHM(v).$implicit,ei=t.oxw();return t.KtG(ei.onSwapClick(Vt,Z))}),t._uU(2,"View Info"),t.qZA()()}}function V2(N,z){if(1&N&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&N){const v=t.oxw(2);t.xp6(1),t.Oqu(v.emptyTableMessage)}}function Ch(N,z){if(1&N&&(t.TgZ(0,"td",56),t.YNc(1,V2,2,1,"p",57),t.qZA()),2&N){const v=t.oxw();t.xp6(1),t.Q6J("ngIf",!(null!=v.listSwaps&&v.listSwaps.data)||(null==v.listSwaps||null==v.listSwaps.data?null:v.listSwaps.data.length)<1)}}const bd=function(N){return{"display-none":N}};function wh(N,z){if(1&N&&t._UZ(0,"tr",58),2&N){const v=t.oxw();t.Q6J("ngClass",t.VKq(1,bd,(null==v.listSwaps?null:v.listSwaps.data)&&(null==v.listSwaps||null==v.listSwaps.data?null:v.listSwaps.data.length)>0))}}function B2(N,z){1&N&&t._UZ(0,"tr",59)}function y1(N,z){1&N&&t._UZ(0,"tr",60)}const yd=function(){return["all"]},Mh=function(N){return{"overflow-auto error-border":N,"overflow-auto":!0}},Gc=function(){return["no_swap"]};let Sh=(()=>{class N{constructor(v,U,Z,Re,Vt){this.logger=v,this.commonService=U,this.store=Z,this.boltzService=Re,this.camelCaseWithReplace=Vt,this.selectedSwapType=ce.hc.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=ce.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:ce.IV,sortBy:"status",sortOrder:ce.Pi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:ce.IV,sortBy:"status",sortOrder:ce.Pi.DESCENDING},this.swapStateEnum=ce.Qw,this.swapTypeEnum=ce.hc,this.faHistory=qi.qO$,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new _r.by([]),this.selFilter="",this.pageSize=ce.IV,this.pageSizeOptions=ce.TJ,this.screenSize="",this.screenSizeEnum=ce.cu,this.unSubs=[new Bi.x,new Bi.x,new Bi.x],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(v){v.selectedSwapType&&!v.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===ce.hc.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(ul.Pr).pipe((0,sn.R)(this.unSubs[0])).subscribe(v=>{this.tableSettingSwapOut=v.pageSettings.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSettingSwapOut.tableId)||ce.gK.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=v.pageSettings.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSettingSwapIn.tableId)||ce.gK.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.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)}setTableColumns(){this.selectedSwapType===ce.hc.SWAP_IN?(this.displayedColumns=this.screenSize===ce.cu.XS||this.screenSize===ce.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:ce.IV):(this.displayedColumns=this.screenSize===ce.cu.XS||this.screenSize===ce.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:ce.IV)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(v){const Z=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===ce.hc.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(Re=>Re.column===v);return Z?Z.label?Z.label:this.camelCaseWithReplace.transform(Z.column,"_"):this.commonService.titleCase(v)}setFilterPredicate(){this.listSwaps.filterPredicate=(v,U)=>{let Z="";switch(this.selFilterBy){case"all":Z=JSON.stringify(v).toLowerCase();break;case"status":Z=v?.status?this.swapStateEnum[v?.status]:"";break;default:Z=typeof v[this.selFilterBy]>"u"?"":"string"==typeof v[this.selFilterBy]?v[this.selFilterBy].toLowerCase():"boolean"==typeof v[this.selFilterBy]?v[this.selFilterBy]?"yes":"no":v[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===Z.indexOf(U):Z.includes(U)}}onSwapClick(v,U){this.boltzService.swapInfo(v.id||"").pipe((0,sn.R)(this.unSubs[1])).subscribe(Z=>{this.store.dispatch((0,ht.qR)({payload:{data:{type:ce.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:ce.Qw[(Z=this.selectedSwapType===ce.hc.SWAP_IN?Z.swap:Z.reverseSwap).status],title:"Status",width:50,type:ce.Gi.STRING},{key:"id",value:Z.id,title:"ID",width:50,type:ce.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:ce.Gi.NUMBER},{key:"timeoutBlockHeight",value:Z.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:ce.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:ce.Gi.STRING}],[{key:"invoice",value:Z.invoice,title:"Invoice",width:100,type:ce.Gi.STRING}],[{key:"privateKey",value:Z.privateKey,title:"Private Key",width:100,type:ce.Gi.STRING}],[{key:"preimage",value:Z.preimage,title:"Preimage",width:100,type:ce.Gi.STRING}],[{key:"redeemScript",value:Z.redeemScript,title:"Redeem Script",width:100,type:ce.Gi.STRING}],[{key:"lockupTransactionId",value:Z.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:ce.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:ce.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(v){this.listSwaps=new _r.by(v?[...v]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(U,Z)=>U[Z]&&isNaN(U[Z])?U[Z].toLocaleLowerCase():U[Z]?+U[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===ce.hc.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ii.mQ),t.Y36(bn.v),t.Y36(zi.yh),t.Y36(_s),t.Y36(Js.D3))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-swaps"]],viewQuery:function(U,Z){if(1&U&&(t.Gf(Nc.YE,5),t.Gf(ec.NW,5)),2&U){let Re;t.iGM(Re=t.CRH())&&(Z.sort=Re.first),t.iGM(Re=t.CRH())&&(Z.paginator=Re.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t._Bn([{provide:Ht.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:ec.ye,useValue:(0,ce.pt)("Swaps")}]),t.TTD],decls:76,vars:20,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModel","ngModelChange","input","keyup"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["table",""],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","id"],["matColumnDef","claimAddress"],["matColumnDef","lockupAddress"],["matColumnDef","onchainAmount"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","expectedAmount"],["matColumnDef","error"],["matColumnDef","privateKey"],["matColumnDef","preimage"],["matColumnDef","redeemScript"],["matColumnDef","invoice"],["matColumnDef","timeoutBlockHeight"],["matColumnDef","lockupTransactionId"],["matColumnDef","claimTransactionId"],["matColumnDef","refundTransactionId"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","showFirstLastButtons"],[3,"value"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["fxLayout.gt-xs","row",1,"ellipsis-parent",3,"ngStyle"],[1,"ellipsis-child"],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["mat-header-cell",""],["fxLayoutAlign","center center",1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","button","tabindex","4",1,"table-actions-button",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._UZ(3,"fa-icon",3),t.TgZ(4,"span",4),t._uU(5),t.qZA()(),t.TgZ(6,"div",5)(7,"mat-form-field",6)(8,"mat-label"),t._uU(9,"Filter By"),t.qZA(),t.TgZ(10,"mat-select",7),t.NdJ("ngModelChange",function(Vt){return Z.selFilterBy=Vt})("selectionChange",function(){return Z.selFilter="",Z.applyFilter()}),t.TgZ(11,"perfect-scrollbar"),t.YNc(12,mh,2,2,"mat-option",8),t.qZA()()(),t.TgZ(13,"mat-form-field",6)(14,"mat-label"),t._uU(15,"Filter"),t.qZA(),t.TgZ(16,"input",9),t.NdJ("ngModelChange",function(Vt){return Z.selFilter=Vt})("input",function(){return Z.applyFilter()})("keyup",function(){return Z.applyFilter()}),t.qZA()()()(),t.TgZ(17,"div",10)(18,"div",11),t.YNc(19,ph,1,0,"mat-progress-bar",12),t.TgZ(20,"table",13,14),t.ynx(22,15),t.YNc(23,p1,2,0,"th",16),t.YNc(24,wl,2,1,"td",17),t.BQk(),t.ynx(25,18),t.YNc(26,ud,2,0,"th",16),t.YNc(27,fd,2,1,"td",17),t.BQk(),t.ynx(28,19),t.YNc(29,I2,2,0,"th",16),t.YNc(30,k2,4,4,"td",17),t.BQk(),t.ynx(31,20),t.YNc(32,g1,2,0,"th",16),t.YNc(33,_1,4,4,"td",17),t.BQk(),t.ynx(34,21),t.YNc(35,Uc,2,0,"th",22),t.YNc(36,v1,4,3,"td",17),t.BQk(),t.ynx(37,23),t.YNc(38,gh,2,0,"th",22),t.YNc(39,_h,4,3,"td",17),t.BQk(),t.ynx(40,24),t.YNc(41,vh,2,0,"th",16),t.YNc(42,O2,4,4,"td",17),t.BQk(),t.ynx(43,25),t.YNc(44,b1,2,0,"th",16),t.YNc(45,bh,4,4,"td",17),t.BQk(),t.ynx(46,26),t.YNc(47,P2,2,0,"th",16),t.YNc(48,yh,4,4,"td",17),t.BQk(),t.ynx(49,27),t.YNc(50,N2,2,0,"th",16),t.YNc(51,xh,4,4,"td",17),t.BQk(),t.ynx(52,28),t.YNc(53,R2,2,0,"th",16),t.YNc(54,Ao,4,4,"td",17),t.BQk(),t.ynx(55,29),t.YNc(56,md,2,0,"th",22),t.YNc(57,pd,4,3,"td",17),t.BQk(),t.ynx(58,30),t.YNc(59,gd,2,0,"th",16),t.YNc(60,to,2,1,"td",17),t.BQk(),t.ynx(61,31),t.YNc(62,Ml,2,0,"th",16),t.YNc(63,_d,2,1,"td",17),t.BQk(),t.ynx(64,32),t.YNc(65,H2,2,0,"th",16),t.YNc(66,F2,2,1,"td",17),t.BQk(),t.ynx(67,33),t.YNc(68,z2,6,0,"th",34),t.YNc(69,vd,3,0,"td",35),t.BQk(),t.ynx(70,36),t.YNc(71,Ch,2,1,"td",37),t.BQk(),t.YNc(72,wh,1,3,"tr",38),t.YNc(73,B2,1,0,"tr",39),t.YNc(74,y1,1,0,"tr",40),t.qZA(),t._UZ(75,"mat-paginator",41),t.qZA()()()),2&U&&(t.xp6(3),t.Q6J("icon",Z.faHistory),t.xp6(2),t.hij("",Z.swapCaption," History"),t.xp6(5),t.Q6J("ngModel",Z.selFilterBy),t.xp6(2),t.Q6J("ngForOf",t.DdM(16,yd).concat(Z.displayedColumns.slice(0,-1))),t.xp6(4),t.Q6J("ngModel",Z.selFilter),t.xp6(3),t.Q6J("ngIf",!0===Z.flgLoading[0]),t.xp6(1),t.Q6J("matSortActive",Z.selectedSwapType===Z.swapTypeEnum.SWAP_IN?Z.tableSettingSwapIn.sortBy:Z.tableSettingSwapOut.sortBy)("matSortDirection",Z.selectedSwapType===Z.swapTypeEnum.SWAP_IN?Z.tableSettingSwapIn.sortOrder:Z.tableSettingSwapOut.sortOrder)("dataSource",Z.listSwaps)("ngClass",t.VKq(17,Mh,"error"===Z.flgLoading[0])),t.xp6(52),t.Q6J("matFooterRowDef",t.DdM(19,Gc)),t.xp6(1),t.Q6J("matHeaderRowDef",Z.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",Z.displayedColumns),t.xp6(1),t.Q6J("pageSize",Z.pageSize)("pageSizeOptions",Z.pageSizeOptions)("showFirstLastButtons",Z.screenSize!==Z.screenSizeEnum.XS))},dependencies:[It.mk,It.sg,It.O5,It.PC,Me.Fj,Me.JJ,Me.On,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,sr.oO,sr.Zl,dt.lW,fr.Nt,_t.KE,_t.hX,e1.pW,Ht.gD,Ht.$L,Xt.ey,Nc.YE,Nc.nU,_r.BZ,_r.fO,_r.as,_r.w1,_r.Dz,_r.nj,_r.mD,_r.Ke,_r.ge,_r.ev,_r.yh,_r.XQ,_r.Gk,_r.Q2,ec.NW,ci.Vv,ci.$V,It.JJ]})}return N})();const Eh=function(N){return["../",N]};function U2(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",16),t.NdJ("click",function(){const Re=t.CHM(v).$implicit,Vt=t.oxw();return t.KtG(Vt.onSelectedIndexChange(Re))}),t._uU(1),t.qZA()}if(2&N){const v=z.$implicit,U=t.oxw();t.Q6J("active",U.activeTab.link===v.link)("routerLink",t.VKq(3,Eh,v.link)),t.xp6(1),t.Oqu(v.name)}}let G2=(()=>{class N{constructor(v,U,Z){this.router=v,this.store=U,this.boltzService=Z,this.swapTypeEnum=ce.hc,this.selectedSwapType=ce.hc.SWAP_OUT,this.swaps={},this.swapsData=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"swapout",name:"Swap Out"},{link:"swapin",name:"Swap In"}],this.activeTab=this.links[0],this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.boltzService.listSwaps();const v=this.links.find(U=>this.router.url.includes(U.link));this.activeTab=v||this.links[0],this.selectedSwapType=v&&"swapin"===v.link?ce.hc.SWAP_IN:ce.hc.SWAP_OUT,this.router.events.pipe((0,sn.R)(this.unSubs[0]),(0,ia.h)(U=>U instanceof ir.Av)).subscribe({next:U=>{const Z=this.links.find(Re=>U.urlAfterRedirects.includes(Re.link));this.activeTab=Z||this.links[0],this.selectedSwapType=Z&&"swapin"===Z.link?ce.hc.SWAP_IN:ce.hc.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,sn.R)(this.unSubs[1])).subscribe({next:U=>{this.swaps=U,this.swapsData=this.selectedSwapType===ce.hc.SWAP_IN&&U.swaps?U.swaps:this.selectedSwapType===ce.hc.SWAP_OUT&&U.reverseSwaps?U.reverseSwaps:[],this.flgLoading[0]=!1},error:U=>{this.flgLoading[0]="error",this.emptyTableMessage=U.message?U.message:"No swap "+(this.selectedSwapType===ce.hc.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(v){"swapin"===v.link?(this.selectedSwapType=ce.hc.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=ce.hc.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(v){this.boltzService.serviceInfo().pipe((0,sn.R)(this.unSubs[2])).subscribe({next:U=>{this.store.dispatch((0,ht.qR)({payload:{data:{serviceInfo:U,direction:v,component:xf}}}))}})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ir.F0),t.Y36(zi.yh),t.Y36(_s))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-root"]],decls:20,vars:7,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"botlz-icon-sm","mr-1"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["tabPanel",""],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","2",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["tabindex","1","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(U,Z){if(1&U&&(t.TgZ(0,"div",0),t.O4$(),t.TgZ(1,"svg",1)(2,"g",2)(3,"g",3),t._UZ(4,"circle",4)(5,"path",5)(6,"path",6),t.qZA()()(),t.kcU(),t.TgZ(7,"span",7),t._uU(8,"Boltz"),t.qZA()(),t.TgZ(9,"div",8)(10,"mat-card")(11,"mat-card-content",9)(12,"nav",10),t.YNc(13,U2,2,5,"div",11),t.qZA(),t._UZ(14,"mat-tab-nav-panel",null,12),t.TgZ(16,"div",13)(17,"button",14),t.NdJ("click",function(){return Z.onSwap(Z.selectedSwapType)}),t._uU(18),t.qZA()(),t._UZ(19,"rtl-boltz-swaps",15),t.qZA()()()),2&U){const Re=t.MAs(15);t.xp6(12),t.Q6J("tabPanel",Re),t.xp6(1),t.Q6J("ngForOf",Z.links),t.xp6(5),t.hij("Start ",Z.activeTab.name,""),t.xp6(1),t.Q6J("selectedSwapType",Z.selectedSwapType)("swapsData",Z.swapsData)("flgLoading",Z.flgLoading)("emptyTableMessage",Z.emptyTableMessage)}},dependencies:[It.sg,Yi.xw,Yi.Wh,Yi.yH,dt.lW,nr.a8,nr.dn,Ca.BU,Ca.sW,Ca.Nj,ir.rH,Sh]})}return N})();class Ta{constructor(z){this.help=z}}function Y2(N,z){if(1&N&&(t.TgZ(0,"mat-expansion-panel",8)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t._uU(3),t.qZA()(),t.TgZ(4,"mat-panel-description",9),t._UZ(5,"span",10),t.TgZ(6,"a",11),t._uU(7),t.qZA()()()),2&N){const v=t.oxw().$implicit,U=t.oxw();t.xp6(3),t.Oqu(v.help.question),t.xp6(2),t.Q6J("innerHTML",v.help.answer,t.oJD),t.xp6(1),t.Q6J("routerLink",U.flgLoggedIn?v.help.link:"/login"),t.xp6(1),t.Oqu(U.flgLoggedIn?v.help.linkCaption:"Login to go to the page")}}function Ah(N,z){if(1&N&&(t.TgZ(0,"div",6),t.YNc(1,Y2,8,4,"mat-expansion-panel",7),t.qZA()),2&N){const v=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngIf","ALL"===v.help.lnImplementation||v.help.lnImplementation===U.selNode.lnImplementation)}}let Dh=(()=>{class N{constructor(v,U){this.store=v,this.sessionService=U,this.helpTopics=[],this.faQuestion=qi.Psp,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.store.select(Mr.dT).pipe((0,sn.R)(this.unSubs[0])).subscribe(v=>{this.selNode=v,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,sn.R)(this.unSubs[1])).subscribe(v=>{this.flgLoggedIn=!!v.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new Ta({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 Ta({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 Ta({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 Ta({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 Ta({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 Ta({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 Ta({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 Ta({question:"Offers",answer:'Send offer payments, create offer invoices and bookmark paid offers on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayment for bolt12 offer invoice can be done on "Payments" tab:\n 1. Click on "Send Payment" button.\n 2. Select "Offer" option on the modal.\n 2. Offer Request - Input offer request (Bolt12 format) in the input box.\n 3. Bookmark - Select the checkbox to bookmark this offer for future use.\nOffers tab is for creating bolt12 offer invoice on your node:\n 1. Click on "Create Offer" button.\n 2. Description - Description you want to provide on the offer invoice.\n 3. Amount - Amount for the offer invoice.\n 4. issuer - issuer of the offer.\nPaid offer bookmarks shows the list of paid offers saved for future payments.\n',link:this.LNPLink+"transactions/offers",linkCaption:"Offers",lnImplementation:"CLN"})),this.helpTopics.push(new Ta({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 Ta({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 Ta({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 Ta({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 Ta({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 Ta({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 Ta({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 Ta({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 Ta({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 Ta({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(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(zi.yh),t.Y36(js.m))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-help"]],decls:8,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start",1,"padding-gap-x"],["fxFlex","100",4,"ngFor","ngForOf"],["fxFlex","100"],["class","flat-expansion-panel help-expansion mb-2px",4,"ngIf"],[1,"flat-expansion-panel","help-expansion","mb-2px"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start"],[1,"pre-wrap",3,"innerHTML"],[1,"mt-2",3,"routerLink"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span",3),t._uU(4,"Help"),t.qZA()(),t.TgZ(5,"div",4)(6,"div",0),t.YNc(7,Ah,2,1,"div",5),t.qZA()()()),2&U&&(t.xp6(2),t.Q6J("icon",Z.faQuestion),t.xp6(5),t.Q6J("ngForOf",Z.helpTopics))},dependencies:[It.sg,It.O5,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,wn.ib,wn.yz,wn.yK,wn.u4,ir.rH],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]})}return N})();var j2=p(2572);function Lh(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is required."),t.qZA())}let K2=(()=>{class N{constructor(v,U){this.dialogRef=v,this.store=U,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,ht.M6)({payload:{twoFAToken:this.token}}))}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(An.so),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-login-token"]],decls:19,vars:2,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100",3,"ngSubmit"],["tokenForm","ngForm"],["autoFocus","","matInput","","type","text","id","token","name","token","tabindex","2","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","4","type","submit"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5,"Two Factor Token"),t.qZA()(),t.TgZ(6,"button",5),t.NdJ("click",function(){return Z.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7,8),t.NdJ("ngSubmit",function(){return Z.onVerifyToken()}),t.TgZ(11,"mat-form-field")(12,"mat-label"),t._uU(13,"Token"),t.qZA(),t.TgZ(14,"input",9),t.NdJ("ngModelChange",function(Vt){return Z.token=Vt}),t.qZA(),t.YNc(15,Lh,2,0,"mat-error",10),t.qZA(),t.TgZ(16,"div",11)(17,"button",12),t._uU(18,"Verify Token"),t.qZA()()()()()()),2&U&&(t.xp6(14),t.Q6J("ngModel",Z.token),t.xp6(1),t.Q6J("ngIf",!Z.token))},dependencies:[It.O5,Me._Y,Me.Fj,Me.JJ,Me.JL,Me.Q7,Me.On,Me.F,Yi.xw,Yi.Wh,Yi.yH,dt.lW,nr.dn,nr.dk,fr.Nt,_t.KE,_t.hX,_t.TO,di.h]})}return N})();function xd(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}function Sl(N,z){if(1&N&&(t.TgZ(0,"p",20)(1,"mat-icon",21),t._uU(2,"close"),t.qZA(),t._uU(3),t.qZA()),2&N){const v=t.oxw();t.xp6(3),t.hij(" ",v.loginErrorMessage," ")}}const ic=function(N){return{"padding-gap-large":N}},C1=function(N,z){return{"font-size-200":N,"font-size-300":z}};let Ih=(()=>{class N{constructor(v,U,Z,Re){this.logger=v,this.store=U,this.rtlEffects=Z,this.commonService=Re,this.faUnlockAlt=qi.B$L,this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=ce.cu,this.loginErrorMessage="",this.apiCallStatusEnum=ce.Bn,this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,j2.a)([this.store.select(Mr.ul),this.store.select(Mr.Sr)]).pipe((0,sn.R)(this.unSubs[0])).subscribe(([v,U])=>{this.loginErrorMessage="",v.status===ce.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof v.message?JSON.stringify(v.message):v.message),this.logger.error(v.message)),U.status===ce.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof U.message?JSON.stringify(U.message):U.message),this.logger.error(U.message))}),this.store.select(Mr.Yj).pipe((0,sn.R)(this.unSubs[1])).subscribe(v=>{this.appConfig=v,this.logger.info(v)})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.appConfig.enable2FA?(this.store.dispatch((0,ht.qR)({payload:{maxWidth:"35rem",data:{component:K2}}})),this.rtlEffects.closeAlert.pipe((0,ln.q)(1)).subscribe(v=>{v&&this.store.dispatch((0,ht.x4)({payload:{password:Xi(this.password),defaultPassword:ce.kO.includes(this.password.toLowerCase()),twoFAToken:v.twoFAToken}}))})):this.store.dispatch((0,ht.x4)({payload:{password:Xi(this.password),defaultPassword:ce.kO.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ii.mQ),t.Y36(zi.yh),t.Y36(Mn.V),t.Y36(bn.v))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-login"]],decls:28,vars:13,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"login-container"],["fxLayout","row","fxFlex.gt-sm","35","fxLayoutAlign","center center"],["fxLayout","row","fxFlex","45","fxLayoutAlign","center stretch"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign","stretch stretch"],["fxFlex","35","fxLayoutAlign","center center",1,"bg-primary"],["alt","RTL Logo","src","assets/images/RTL-Horse-BY.svg",1,"rtl-logo-svg"],["fxFlex","65","fxLayout","column","fxLayoutAlign","center stretch",3,"ngClass"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","mt-2","p-0"],[1,"font-bold-500",3,"ngClass"],[1,"page-title"],[1,"pb-2"],["fxLayout","column","fxLayoutAlign","start space-between"],["loginForm","ngForm"],["autoFocus","","matInput","","id","password","name","password","tabindex","1","required","",3,"type","ngModel","ngModelChange"],["mat-icon-button","","matSuffix","","tabindex","2","type","button",3,"click"],[4,"ngIf"],["fxFlex","100","class","color-warn pre-wrap","fxLayoutAlign","start start",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-2"],["mat-stroked-button","","color","primary","tabindex","2","type","reset",1,"mr-1","mb-2",3,"click"],["mat-flat-button","","color","primary","tabindex","3","type","submit",3,"click"],["fxFlex","100","fxLayoutAlign","start start",1,"color-warn","pre-wrap"],[1,"mr-1","icon-small"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card",2)(3,"div",3)(4,"div",4),t._UZ(5,"img",5),t.qZA(),t.TgZ(6,"div",6)(7,"mat-card-header",7)(8,"mat-card-title",8)(9,"span",9),t._uU(10,"Welcome"),t.qZA()()(),t.TgZ(11,"mat-card-content",10)(12,"form",11,12)(14,"mat-form-field")(15,"mat-label"),t._uU(16,"Password"),t.qZA(),t.TgZ(17,"input",13),t.NdJ("ngModelChange",function(Vt){return Z.password=Vt}),t.qZA(),t.TgZ(18,"button",14),t.NdJ("click",function(){return Z.flgShow=!Z.flgShow}),t.TgZ(19,"mat-icon"),t._uU(20),t.qZA()(),t.YNc(21,xd,2,0,"mat-error",15),t.qZA(),t.YNc(22,Sl,4,1,"p",16),t.TgZ(23,"div",17)(24,"button",18),t.NdJ("click",function(){return Z.resetData()}),t._uU(25,"Clear"),t.qZA(),t.TgZ(26,"button",19),t.NdJ("click",function(){return Z.onLogin()}),t._uU(27,"Login"),t.qZA()()()()()()()()()),2&U&&(t.xp6(6),t.Q6J("ngClass",t.VKq(8,ic,Z.screenSize===Z.screenSizeEnum.XS)),t.xp6(2),t.Q6J("ngClass",t.WLB(10,C1,Z.screenSize===Z.screenSizeEnum.XS,Z.screenSize!==Z.screenSizeEnum.XS)),t.xp6(9),t.Q6J("type",Z.flgShow?"text":"password")("ngModel",Z.password),t.xp6(1),t.uIk("aria-label","Hide password"),t.xp6(2),t.Oqu(Z.flgShow?"visibility_off":"visibility"),t.xp6(1),t.Q6J("ngIf",!Z.password),t.xp6(1),t.Q6J("ngIf",""!==Z.loginErrorMessage))},dependencies:[It.mk,It.O5,Me._Y,Me.Fj,Me.JJ,Me.JL,Me.Q7,Me.On,Me.F,Yi.xw,Yi.Wh,Yi.yH,sr.oO,dt.lW,dt.RK,nr.a8,nr.dn,nr.dk,nr.n5,gc.Hw,fr.Nt,_t.KE,_t.hX,_t.TO,_t.R9,di.h],styles:[".login-container[_ngcontent-%COMP%]{height:60vh;margin-top:15%}.login-container[_ngcontent-%COMP%] .mat-mdc-card[_ngcontent-%COMP%]{height:30rem}.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 56.25em){.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:37%}}@media only screen and (max-width: 37.5em){.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:70%}}.login-container[_ngcontent-%COMP%] .material-icons.mat-icon[_ngcontent-%COMP%]{font-size:90%;cursor:pointer}"]})}return N})();var kh=p(4740);let w1=(()=>{class N{constructor(v,U){this.activatedRoute=v,this.router=U,this.error={errorCode:"",errorMessage:""},this.faTimes=qi.NBC,this.unsubs=[new Bi.x,new Bi.x]}ngOnInit(){this.activatedRoute.paramMap.pipe((0,sn.R)(this.unsubs[0])).subscribe(v=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ir.gz),t.Y36(ir.F0))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-error"]],decls:13,vars:3,consts:[["fxLayout","row","fxFlex","100","fxLayoutAlign","center center"],["fxLayout","column","fxFlex","60","fxLayoutAlign","start center"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","padding-gap-large"],[1,"font-size-300","font-bold-500"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","center center",1,"padding-gap-large"],[1,"box-text","font-size-120"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"mat-card",1)(2,"mat-card-header",2)(3,"mat-card-title",3),t._UZ(4,"fa-icon",4),t.TgZ(5,"span",5),t._uU(6),t.qZA()()(),t.TgZ(7,"mat-card-content",6)(8,"div",7),t._uU(9),t.qZA(),t.TgZ(10,"span",8)(11,"button",9),t.NdJ("click",function(){return Z.goToHelp()}),t._uU(12,"Go To Help"),t.qZA()()()()()),2&U&&(t.xp6(4),t.Q6J("icon",Z.faTimes),t.xp6(2),t.hij("Error ",Z.error.errorCode,""),t.xp6(3),t.Oqu(Z.error.errorMessage))},dependencies:[Yr.BN,Yi.xw,Yi.Wh,Yi.yH,dt.lW,nr.a8,nr.dn,nr.dk,nr.n5],encapsulation:2})}return N})();var io=p(5525),bs=p(6046),Oh=p(3362),M1=p(6082);function Ph(N,z){1&N&&t._UZ(0,"span",16)}function b4(N,z){1&N&&t._UZ(0,"span",17)}function El(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"form",18,4)(2,"div",19),t._UZ(3,"fa-icon",2),t.TgZ(4,"span"),t._uU(5,"Please ensure that "),t.TgZ(6,"strong"),t._uU(7,"experimental-offers"),t.qZA(),t._uU(8," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),t.TgZ(9,"strong")(10,"a",20),t._uU(11,"here"),t.qZA()(),t._uU(12," to learn more about Core Lightning offers."),t.qZA()(),t.TgZ(13,"h4",21),t._uU(14,"Description"),t.qZA(),t.TgZ(15,"span"),t._uU(16,"Offers is a draft specification (also referred as BOLT12) for Lightning nodes and wallets, with experimental support in Core Lightning."),t.qZA(),t.TgZ(17,"h4",21),t._uU(18,"Links"),t.qZA(),t.TgZ(19,"span")(20,"a",22),t._uU(21,"Core lightning Bolt12"),t.qZA()(),t._UZ(22,"mat-divider",23),t.TgZ(23,"div",24),t._UZ(24,"fa-icon",2),t.TgZ(25,"span"),t._uU(26,"Do not get an Offer tattoo until spec is fully ratified!"),t.qZA()(),t.TgZ(27,"mat-slide-toggle",25),t.NdJ("ngModelChange",function(Z){t.CHM(v);const Re=t.oxw(2);return t.KtG(Re.enableOffers=Z)})("change",function(){t.CHM(v);const Z=t.oxw(2);return t.KtG(Z.onUpdateFeature())}),t._uU(28),t.qZA()()}if(2&N){const v=t.oxw(2);t.xp6(3),t.Q6J("icon",v.faInfoCircle),t.xp6(19),t.Q6J("inset",!0),t.xp6(2),t.Q6J("icon",v.faExclamationTriangle),t.xp6(3),t.Q6J("ngModel",v.enableOffers),t.xp6(1),t.hij("Enable Offers ",v.enableOffers?"(You can find Offers under Lightning -> Transactions -> Offers)":"","")}}function Q2(N,z){if(1&N&&(t.TgZ(0,"div")(1,"div",28),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"Please ensure that "),t.TgZ(5,"strong"),t._uU(6,"experimental-dual-fund"),t.qZA(),t._uU(7," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),t.TgZ(8,"strong")(9,"a",29),t._uU(10,"here"),t.qZA()(),t._uU(11," to learn more about Core Lightning Liquidity Ads."),t.qZA()()()),2&N){const v=t.oxw(3);t.xp6(2),t.Q6J("icon",v.faExclamationTriangle)}}function Cd(N,z){if(1&N&&(t.TgZ(0,"mat-option",47),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&N){const v=z.$implicit;t.Q6J("value",v),t.xp6(1),t.hij(" ",t.lcZ(2,2,v.id)," ")}}function q2(N,z){if(1&N&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&N){const v=t.oxw(4);t.xp6(1),t.hij("",v.selPolicyType.placeholder," is required.")}}function J2(N,z){if(1&N&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&N){const v=t.oxw(4);t.xp6(1),t.AsE("",v.selPolicyType.placeholder," must be greater than or equal to ",v.selPolicyType.min,".")}}function S1(N,z){if(1&N&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&N){const v=t.oxw(4);t.xp6(1),t.AsE("",v.selPolicyType.placeholder," must be less than or equal to ",v.selPolicyType.max,".")}}function nc(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Lease base fee is required."),t.qZA())}function Wc(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Lease base basis is required."),t.qZA())}function Tl(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Max channel routing base fee is required."),t.qZA())}function X2(N,z){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Max channel routing fee rate is required."),t.qZA())}const E1=function(N,z){return{"alert-danger":N,"alert-info":z}};function Yc(N,z){if(1&N&&(t.TgZ(0,"h4",48)(1,"span",49),t._uU(2),t.qZA()()),2&N){const v=t.oxw(4);t.xp6(1),t.Q6J("ngClass",t.WLB(2,E1,!!v.updateMsg.error,!!v.updateMsg.data)),t.xp6(1),t.hij(" ",v.updateMsg.error&&""!==v.updateMsg.error?"Error: "+v.updateMsg.error||0:v.updateMsg.data&&""!==v.updateMsg.data?v.updateMsg.data:"Successfully Updated the Funding Policy!"," ")}}function $2(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"div",30)(1,"div",31),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"These config changes should be configured permanently via the config file on your CLN node otherwise the policy would need to be configured again, if your node restarts."),t.qZA()(),t.TgZ(5,"div",32)(6,"mat-form-field",33)(7,"mat-label"),t._uU(8,"Policy"),t.qZA(),t.TgZ(9,"mat-select",34),t.NdJ("ngModelChange",function(Z){t.CHM(v);const Re=t.oxw(3);return t.KtG(Re.selPolicyType=Z)})("selectionChange",function(){t.CHM(v);const Z=t.oxw(3);return t.KtG(Z.policyMod=null)}),t.YNc(10,Cd,3,4,"mat-option",35),t.qZA()(),t.TgZ(11,"mat-form-field",36)(12,"mat-label"),t._uU(13),t.qZA(),t.TgZ(14,"input",37,38),t.NdJ("ngModelChange",function(Z){t.CHM(v);const Re=t.oxw(3);return t.KtG(Re.policyMod=Z)}),t.qZA(),t.TgZ(16,"mat-hint"),t._uU(17),t.qZA(),t.YNc(18,q2,2,1,"mat-error",26),t.YNc(19,J2,2,2,"mat-error",26),t.YNc(20,S1,2,2,"mat-error",26),t.qZA()(),t.TgZ(21,"div",32)(22,"mat-form-field",36)(23,"mat-label"),t._uU(24,"Lease Base Fee (Sats)"),t.qZA(),t.TgZ(25,"input",39),t.NdJ("ngModelChange",function(Z){t.CHM(v);const Re=t.oxw(3);return t.KtG(Re.lease_fee_base_sat=Z)}),t.qZA(),t.YNc(26,nc,2,0,"mat-error",26),t.qZA(),t.TgZ(27,"mat-form-field",36)(28,"mat-label"),t._uU(29,"Lease Base Basis (bps)"),t.qZA(),t.TgZ(30,"input",40),t.NdJ("ngModelChange",function(Z){t.CHM(v);const Re=t.oxw(3);return t.KtG(Re.lease_fee_basis=Z)}),t.qZA(),t.YNc(31,Wc,2,0,"mat-error",26),t.qZA()(),t.TgZ(32,"div",32)(33,"mat-form-field",36)(34,"mat-label"),t._uU(35,"Max Channel Routing Base Fee (Sats)"),t.qZA(),t.TgZ(36,"input",41),t.NdJ("ngModelChange",function(Z){t.CHM(v);const Re=t.oxw(3);return t.KtG(Re.channelFeeMaxBaseSat=Z)}),t.qZA(),t.YNc(37,Tl,2,0,"mat-error",26),t.qZA(),t.TgZ(38,"mat-form-field",36)(39,"mat-label"),t._uU(40,"Max Channel Routing Fee Rate (ppm)"),t.qZA(),t.TgZ(41,"input",42),t.NdJ("ngModelChange",function(Z){t.CHM(v);const Re=t.oxw(3);return t.KtG(Re.channelFeeMaxProportional=Z)}),t.qZA(),t.YNc(42,X2,2,0,"mat-error",26),t.qZA()(),t.YNc(43,Yc,3,5,"h4",43),t.TgZ(44,"div",44)(45,"button",45),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw(3);return t.KtG(Z.onResetPolicy())}),t._uU(46,"Reset"),t.qZA(),t.TgZ(47,"button",46),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw(3);return t.KtG(Z.onUpdateFundingPolicy())}),t._uU(48,"Update"),t.qZA()()()}if(2&N){const v=t.oxw(3);t.xp6(2),t.Q6J("icon",v.faExclamationTriangle),t.xp6(7),t.Q6J("ngModel",v.selPolicyType),t.xp6(1),t.Q6J("ngForOf",v.policyTypes),t.xp6(3),t.Oqu(v.selPolicyType.placeholder),t.xp6(1),t.Q6J("step","fixed"===v.selPolicyType.id?1e3:10)("min",v.selPolicyType.min)("max",v.selPolicyType.max)("ngModel",v.policyMod),t.xp6(3),t.lnq("",v.selPolicyType.placeholder," should be between ",v.selPolicyType.min," and ",v.selPolicyType.max,""),t.xp6(1),t.Q6J("ngIf",!v.policyMod),t.xp6(1),t.Q6J("ngIf",v.policyMod<v.selPolicyType.min),t.xp6(1),t.Q6J("ngIf",v.policyMod>v.selPolicyType.max),t.xp6(5),t.Q6J("ngModel",v.lease_fee_base_sat),t.xp6(1),t.Q6J("ngIf",!v.lease_fee_base_sat),t.xp6(4),t.Q6J("ngModel",v.lease_fee_basis),t.xp6(1),t.Q6J("ngIf",!v.lease_fee_basis),t.xp6(5),t.Q6J("ngModel",v.channelFeeMaxBaseSat),t.xp6(1),t.Q6J("ngIf",!v.channelFeeMaxBaseSat),t.xp6(4),t.Q6J("ngModel",v.channelFeeMaxProportional),t.xp6(1),t.Q6J("ngIf",!v.channelFeeMaxProportional),t.xp6(1),t.Q6J("ngIf",v.flgUpdateCalled)}}function T1(N,z){if(1&N&&(t.TgZ(0,"form",18,4),t.YNc(2,Q2,12,1,"div",26),t.YNc(3,$2,49,23,"div",27),t.qZA()),2&N){const v=t.oxw(2);t.xp6(2),t.Q6J("ngIf",!v.features[1].enabled),t.xp6(1),t.Q6J("ngIf",v.features[1].enabled)}}function Rs(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"mat-expansion-panel",9),t.NdJ("opened",function(){const Re=t.CHM(v).index,Vt=t.oxw();return t.KtG(Vt.onPanelExpanded(Re))}),t.TgZ(1,"mat-expansion-panel-header")(2,"mat-panel-title",10)(3,"h4",11),t._uU(4),t.qZA(),t.TgZ(5,"h4",11),t.YNc(6,Ph,1,0,"span",12),t.YNc(7,b4,1,0,"span",13),t._uU(8),t.qZA()()(),t.TgZ(9,"div",14),t.YNc(10,El,29,5,"form",15),t.YNc(11,T1,4,2,"form",15),t.qZA()()}if(2&N){const v=z.$implicit,U=z.index;t.Q6J("expanded",!1),t.xp6(4),t.Oqu(v.name),t.xp6(2),t.Q6J("ngIf",v.enabled),t.xp6(1),t.Q6J("ngIf",!v.enabled),t.xp6(1),t.hij(" ",v.enabled?"Enabled":"Disabled"," "),t.xp6(2),t.Q6J("ngIf",0===U),t.xp6(1),t.Q6J("ngIf",1===U)}}let Cf=(()=>{class N{constructor(v,U,Z,Re){this.logger=v,this.store=U,this.dataService=Z,this.commonService=Re,this.faInfoCircle=qi.sqG,this.faExclamationTriangle=qi.eHv,this.faCode=qi.dT$,this.features=[{name:"Offers",enabled:!1},{name:"Channel Funding Policy",enabled:!1}],this.enableOffers=!1,this.fundingPolicy={},this.policyTypes=ce.gB,this.selPolicyType=ce.gB[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.dataService.listConfigs().pipe((0,sn.R)(this.unSubs[0])).subscribe({next:v=>{this.logger.info("Received List Configs: "+JSON.stringify(v)),this.features[1].enabled=!!v["experimental-dual-fund"]},error:v=>{this.logger.error("List Configs Error: "+JSON.stringify(v)),this.features[1].enabled=!1}}),this.store.select(Mr.dT).pipe((0,sn.R)(this.unSubs[1])).subscribe(v=>{this.selNode=v,this.enableOffers=this.selNode.settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select(kr.Rn).pipe((0,sn.R)(this.unSubs[2])).subscribe(v=>{this.policyTypes[2].max=v.balance.totalBalance||1e3})}onPanelExpanded(v){1===v&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,sn.R)(this.unSubs[3])).subscribe(U=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(U)),this.fundingPolicy=U,this.fundingPolicy.policy&&(this.selPolicyType=ce.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,ht.jS)({payload:{uiMessage:ce.m6.UPDATE_SETTING,service:ce.JX.OFFERS,settings:{enableOffers:this.enableOffers}}})),this.store.dispatch((0,Zi.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,_i.Mf)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.enableOffers}})),this.store.dispatch((0,bi.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,sn.R)(this.unSubs[4])).subscribe({next:v=>{this.logger.info(v),this.fundingPolicy=v,this.updateMsg={data:"Compact Lease: "+v.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:v=>{this.logger.error(v),this.updateMsg={error:this.commonService.extractErrorMessage(v,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.selPolicyType=this.fundingPolicy.policy?ce.gB.find(v=>v.id===this.fundingPolicy.policy)||this.policyTypes[0]:ce.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(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ii.mQ),t.Y36(zi.yh),t.Y36(bs.D),t.Y36(bn.v))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-experimental-settings"]],decls:13,vars:3,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","column","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["class","flat-expansion-panel my-1",3,"expanded","opened",4,"ngFor","ngForOf"],[1,"flat-expansion-panel","my-1",3,"expanded","opened"],["fxFlex","100","fxLayoutAlign","space-between center"],[1,"font-bold-500"],["class","dot green",4,"ngIf"],["class","dot yellow",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container",4,"ngIf"],[1,"dot","green"],[1,"dot","yellow"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container"],["fxFlex","100",1,"alert","alert-info"],["href","http://bolt12.org","target","_blank"],[1,"mt-2"],["href","https://github.com/lightningnetwork/lightning-rfc/pull/798 ","target","blank"],[1,"my-2",3,"inset"],[1,"alert","alert-warn"],["autoFocus","","tabindex","1","color","primary","name","enableOfr",1,"my-1",3,"ngModel","ngModelChange","change"],[4,"ngIf"],["fxLayout","column",4,"ngIf"],["fxFlex","100","fxLayout","row",1,"alert","alert-warn"],["href","https://medium.com/blockstream/setting-up-liquidity-ads-in-c-lightning-54e4c59c091d","target","_blank"],["fxLayout","column"],["fxFlex","100","fxLayout","row",1,"alert","alert-warn","mb-2"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign.gt-sm","space-between center","fxLayoutAlign","start stretch"],["fxLayout","column","fxFlex","49","fxLayoutAlign","start end"],["autofocus","","tabindex","1","name","policy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","49"],["matInput","","type","number","tabindex","2","required","","name","plcMod",3,"step","min","max","ngModel","ngModelChange"],["plcMod","ngModel"],["matInput","","type","number","step","100","min","0","tabindex","3","required","","name","lease_fee_base_sat",3,"ngModel","ngModelChange"],["matInput","","type","number","step","1","min","0","tabindex","4","required","","name","lease_fee_basis",3,"ngModel","ngModelChange"],["matInput","","type","number","step","100","min","0","tabindex","5","required","","name","channelFeeMaxBaseSat",3,"ngModel","ngModelChange"],["matInput","","type","number","step","1000","min","0","tabindex","6","required","","name","channelFeeMaxProportional",3,"ngModel","ngModelChange"],["fxLayoutAlign","start stretch","class","font-bold-500 mt-2",4,"ngIf"],["fxLayout","row",1,"my-1"],["mat-stroked-button","","color","primary","tabindex","7",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","8",3,"click"],[3,"value"],["fxLayoutAlign","start stretch",1,"font-bold-500","mt-2"],["fxFlex","100",1,"alert",3,"ngClass"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"Experimental features should be enabled with caution. Many such features may be implementation specific and not ratified for the BOLT spec. Enabling these may still result in a broken experience. Referencing relevant feature documentation is highly advised before enabling."),t.qZA()(),t.TgZ(5,"form",3,4)(7,"div",5),t._UZ(8,"fa-icon",6),t.TgZ(9,"span",7),t._uU(10,"Features"),t.qZA()(),t.TgZ(11,"mat-accordion"),t.YNc(12,Rs,12,7,"mat-expansion-panel",8),t.qZA()()()),2&U&&(t.xp6(2),t.Q6J("icon",Z.faInfoCircle),t.xp6(6),t.Q6J("icon",Z.faCode),t.xp6(4),t.Q6J("ngForOf",Z.features))},dependencies:[It.mk,It.sg,It.O5,Me._Y,Me.Fj,Me.wV,Me.JJ,Me.JL,Me.Q7,Me.qQ,Me.Fd,Me.On,Me.F,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,sr.oO,dt.lW,wn.pp,wn.ib,wn.yz,wn.yK,fr.Nt,_t.KE,_t.hX,_t.bx,_t.TO,Zo.d,Ht.gD,Xt.ey,No.Rr,ci.$V,di.h,Oh.F,M1.q,It.rS],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return N})();const e0=[{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([p.e(758),p.e(570)]).then(p.bind(p,4570)).then(N=>N.LNDModule),canActivate:[(0,io.a1)()]},{path:"cln",loadChildren:()=>Promise.all([p.e(758),p.e(125)]).then(p.bind(p,7125)).then(N=>N.CLNModule),canActivate:[(0,io.a1)()]},{path:"ecl",loadChildren:()=>Promise.all([p.e(758),p.e(456)]).then(p.bind(p,6456)).then(N=>N.ECLModule),canActivate:[(0,io.a1)()]},{path:"settings",component:Ot,canActivate:[(0,io.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:Ji,canActivate:[(0,io.a1)()]},{path:"auth",component:ms,canActivate:[(0,io.a1)()]},{path:"bconfig",component:Qs,canActivate:[(0,io.a1)()]}]},{path:"config",component:wr,canActivate:[(0,io.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:Ua,canActivate:[(0,io.a1)()]},{path:"pglayout",component:af,canActivate:[(0,io.a1)()]},{path:"services",component:p2,canActivate:[(0,io.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:g2,canActivate:[(0,io.a1)()]},{path:"boltz",component:$l,canActivate:[(0,io.a1)()]}]},{path:"experimental",component:Cf,canActivate:[(0,io.a1)()]},{path:"lnconfig",component:ni,canActivate:[(0,io.a1)()]}]},{path:"services",component:nd,canActivate:[(0,io.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:cd},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:G2}]},{path:"help",component:Dh},{path:"login",component:Ih},{path:"error",component:w1},{path:"**",component:kh.w}],Nh=ir.Bz.forRoot(e0,{onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"});var Rh=p(8339),t0=p(5256),n0=p(5940),A1=p(2651),wc=p(1274),Mc=p(1894),yo=p(8445);const ys={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.HLz,link:"/lnd/home",userPersona:ce.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.nNP,link:"/lnd/onchain",userPersona:ce.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.BDt,link:"/lnd/connections",userPersona:ce.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.FVb,link:"/lnd/connections",userPersona:ce.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:qi.Ssp,link:"/lnd/transactions",userPersona:ce.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:qi.SuH,link:"/lnd/routing",userPersona:ce.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:qi.koM,link:"/lnd/reports",userPersona:ce.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.wn1,link:"/lnd/graph",userPersona:ce.ol.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:qi.hkK,link:"/lnd/messages",userPersona:ce.ol.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:qi.q7m,link:"/lnd/channelbackup",userPersona:ce.ol.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:qi.TmZ,link:"/lnd/network",userPersona:ce.ol.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:qi.xf3,link:"/lnd/network",userPersona:ce.ol.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:qi.Krp,link:"/services/loop",userPersona:ce.ol.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:qi.vqe,link:"/services/loop",userPersona:ce.ol.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:ce.ol.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:qi.CgH,link:"/config",userPersona:ce.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:qi.Psp,link:"/help",userPersona:ce.ol.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.HLz,link:"/cln/home",userPersona:ce.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.nNP,link:"/cln/onchain",userPersona:ce.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.BDt,link:"/cln/connections",userPersona:ce.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.FVb,link:"/cln/connections",userPersona:ce.ol.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:qi.Acd,link:"/cln/liquidityads",userPersona:ce.ol.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:qi.Ssp,link:"/cln/transactions",userPersona:ce.ol.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:qi.SuH,link:"/cln/routing",userPersona:ce.ol.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:qi.koM,link:"/cln/reports",userPersona:ce.ol.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.wn1,link:"/cln/graph",userPersona:ce.ol.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:qi.hkK,link:"/cln/messages",userPersona:ce.ol.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:qi.USL,link:"/cln/rates",userPersona:ce.ol.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:qi.xf3,link:"/cln/rates",userPersona:ce.ol.MERCHANT}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:qi.CgH,link:"/config",userPersona:ce.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:qi.Psp,link:"/help",userPersona:ce.ol.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.HLz,link:"/ecl/home",userPersona:ce.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.nNP,link:"/ecl/onchain",userPersona:ce.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.BDt,link:"/ecl/connections",userPersona:ce.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.FVb,link:"/ecl/connections",userPersona:ce.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:qi.Ssp,link:"/ecl/transactions",userPersona:ce.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:qi.SuH,link:"/ecl/routing",userPersona:ce.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:qi.koM,link:"/ecl/reports",userPersona:ce.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.wn1,link:"/ecl/graph",userPersona:ce.ol.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:qi.CgH,link:"/config",userPersona:ce.ol.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:qi.Psp,link:"/help",userPersona:ce.ol.ALL}]};function Hh(N,z){if(1&N&&(t.TgZ(0,"mat-option",11),t._uU(1),t.qZA()),2&N){const v=z.$implicit;t.Q6J("value",v.index),t.xp6(1),t.AsE(" ",v.lnNode," (",v.lnImplementation,") ")}}function wd(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"mat-select",9),t.NdJ("selectionChange",function(Z){t.CHM(v);const Re=t.oxw();return t.KtG(Re.onNodeSelectionChange(Z.value))}),t.TgZ(1,"perfect-scrollbar"),t.YNc(2,Hh,2,3,"mat-option",10),t.qZA()()}if(2&N){const v=t.oxw();t.Q6J("value",v.selConfigNodeIndex),t.xp6(2),t.Q6J("ngForOf",v.appConfig.nodes)}}function Fh(N,z){if(1&N&&(t.TgZ(0,"span",21),t.GkF(1,22),t.qZA()),2&N){const v=t.oxw().$implicit;t.oxw(2);const U=t.MAs(11);t.xp6(1),t.Q6J("ngTemplateOutlet","boltzIconBlock"===v.icon?U:null)}}function rc(N,z){if(1&N&&t._UZ(0,"fa-icon",23),2&N){const v=t.oxw().$implicit;t.Q6J("icon",v.icon)}}function L1(N,z){if(1&N&&(t.TgZ(0,"mat-icon",24),t._uU(1),t.qZA()),2&N){const v=t.oxw().$implicit;t.xp6(1),t.Oqu(v.icon)}}function I1(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"mat-tree-node",15)(1,"div",16),t.NdJ("click",function(){const Re=t.CHM(v).$implicit,Vt=t.oxw(2);return t.KtG(Vt.onChildNavClicked(Re))}),t.TgZ(2,"div",17),t.YNc(3,Fh,2,1,"span",18),t.YNc(4,rc,1,1,"fa-icon",19),t.YNc(5,L1,2,1,"mat-icon",20),t.TgZ(6,"span"),t._uU(7),t.qZA()()()()}if(2&N){const v=z.$implicit;t.s9C("routerLink",v.link),t.xp6(3),t.Q6J("ngIf","SVG"===v.iconType),t.xp6(1),t.Q6J("ngIf","FA"===v.iconType),t.xp6(1),t.Q6J("ngIf",!v.iconType),t.xp6(2),t.Oqu(v.name)}}function Md(N,z){if(1&N&&(t.TgZ(0,"span",32),t.GkF(1,22),t.qZA()),2&N){const v=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",v.icon)}}function Sd(N,z){if(1&N&&t._UZ(0,"fa-icon",23),2&N){const v=t.oxw().$implicit;t.Q6J("icon",v.icon)}}function Ed(N,z){if(1&N&&(t.TgZ(0,"mat-icon",24),t._uU(1),t.qZA()),2&N){const v=t.oxw().$implicit;t.xp6(1),t.Oqu(v.icon)}}function Hs(N,z){if(1&N&&(t.TgZ(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),t.YNc(3,Md,2,1,"span",28),t.YNc(4,Sd,1,1,"fa-icon",19),t.YNc(5,Ed,2,1,"mat-icon",20),t.TgZ(6,"span"),t._uU(7),t.qZA()(),t.TgZ(8,"button",29)(9,"mat-icon"),t._uU(10),t.qZA()()(),t.TgZ(11,"div",30),t.GkF(12,31),t.qZA()()),2&N){const v=z.$implicit,U=t.oxw(2);t.xp6(3),t.Q6J("ngIf","SVG"===v.iconType),t.xp6(1),t.Q6J("ngIf","FA"===v.iconType),t.xp6(1),t.Q6J("ngIf",!v.iconType),t.xp6(2),t.Oqu(v.name),t.xp6(1),t.uIk("aria-label","toggle "+v.name),t.xp6(2),t.Oqu(U.treeControlNested.isExpanded(v)?"arrow_drop_up":"arrow_drop_down"),t.xp6(1),t.ekj("tree-children-invisible",!U.treeControlNested.isExpanded(v))}}function zh(N,z){if(1&N&&(t.TgZ(0,"mat-tree",5,12),t.YNc(2,I1,8,5,"mat-tree-node",13),t.YNc(3,Hs,13,8,"mat-nested-tree-node",14),t.qZA()),2&N){const v=t.oxw();t.Q6J("dataSource",v.navMenus)("treeControl",v.treeControlNested),t.xp6(3),t.Q6J("matTreeNodeDefWhen",v.hasChild)}}function k1(N,z){if(1&N&&(t.TgZ(0,"span",21),t.GkF(1,22),t.qZA()),2&N){const v=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",v.icon)}}function Td(N,z){if(1&N&&t._UZ(0,"fa-icon",36),2&N){const v=t.oxw().$implicit;t.s9C("matTooltip",v.name),t.Q6J("icon",v.icon)}}function r0(N,z){if(1&N&&(t.TgZ(0,"mat-icon",37),t._uU(1),t.qZA()),2&N){const v=t.oxw().$implicit;t.s9C("matTooltip",v.name),t.xp6(1),t.Oqu(v.icon)}}function Vh(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"mat-tree-node",33),t.NdJ("click",function(){const Re=t.CHM(v).$implicit,Vt=t.oxw();return t.KtG(Vt.onShowData(Re))}),t.YNc(1,k1,2,1,"span",18),t.YNc(2,Td,1,2,"fa-icon",34),t.YNc(3,r0,2,2,"mat-icon",35),t.TgZ(4,"span"),t._uU(5),t.qZA()()}if(2&N){const v=z.$implicit;t.xp6(1),t.Q6J("ngIf","SVG"===v.iconType),t.xp6(1),t.Q6J("ngIf","FA"===v.iconType),t.xp6(1),t.Q6J("ngIf",!v.iconType),t.xp6(2),t.Oqu(v.name)}}function Fs(N,z){if(1&N&&(t.TgZ(0,"span",32),t.GkF(1,22),t.qZA()),2&N){const v=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",v.icon)}}function Sc(N,z){if(1&N&&t._UZ(0,"fa-icon",36),2&N){const v=t.oxw().$implicit;t.s9C("matTooltip",v.name),t.Q6J("icon",v.icon)}}function Bh(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"mat-tree-node",33),t.NdJ("click",function(){const Re=t.CHM(v).$implicit,Vt=t.oxw(2);return t.KtG(Vt.onClick(Re))}),t.YNc(1,Fs,2,1,"span",28),t.YNc(2,Sc,1,2,"fa-icon",34),t.TgZ(3,"span"),t._uU(4),t.qZA()()}if(2&N){const v=z.$implicit;t.xp6(1),t.Q6J("ngIf","SVG"===v.iconType),t.xp6(1),t.Q6J("ngIf","FA"===v.iconType),t.xp6(2),t.Oqu(v.name)}}function Uh(N,z){if(1&N&&(t.TgZ(0,"mat-tree",5),t.YNc(1,Bh,5,3,"mat-tree-node",6),t.qZA()),2&N){const v=t.oxw();t.Q6J("dataSource",v.navMenusLogout)("treeControl",v.treeControlLogout)}}function ac(N,z){1&N&&(t.O4$(),t.TgZ(0,"svg",38)(1,"g",39)(2,"g",40),t._UZ(3,"circle",41)(4,"path",42)(5,"path",43),t.qZA()()())}let a0=(()=>{class N{constructor(v,U,Z,Re,Vt,ei){this.logger=v,this.commonService=U,this.sessionService=Z,this.store=Re,this.actions=Vt,this.rtlEffects=ei,this.ChildNavClicked=new t.vpe,this.faEject=qi.KOR,this.faEye=qi.Mdf,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:qi.KOR}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:qi.Mdf}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=ce.ol,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x],this.treeControlNested=new Mc.VY(fi=>fi.children),this.treeControlLogout=new Mc.VY(fi=>fi.children),this.treeControlShowData=new Mc.VY(fi=>fi.children),this.navMenus=new yo.WX,this.navMenusLogout=new yo.WX,this.navMenusShowData=new yo.WX,this.hasChild=(fi,Ei)=>!!Ei.children&&Ei.children.length>0,this.version=ce.q4,ys.LNDChildren&&200===ys.LNDChildren[ys.LNDChildren.length-1].id&&ys.LNDChildren.pop(),this.navMenus.data=ys.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const v=this.sessionService.getItem("token");this.showLogout=!!v,this.flgLoading=!!v,this.store.select(Mr.Yj).pipe((0,sn.R)(this.unSubs[0])).subscribe(U=>{this.appConfig=U}),this.store.select(Mr.gW).pipe((0,sn.R)(this.unSubs[1])).subscribe(U=>{if(this.information=U.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=U.selNode,this.settings=this.selNode?.settings||null,this.selConfigNodeIndex=+(U.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(U)}),this.sessionService.watchSession().pipe((0,sn.R)(this.unSubs[2])).subscribe(U=>{this.showLogout=!!U.token,this.flgLoading=!!U.token}),this.actions.pipe((0,sn.R)(this.unSubs[3]),(0,ia.h)(U=>U.type===ce.pg.LOGOUT)).subscribe(U=>{this.showLogout=!1})}onClick(v){"Logout"===v.name&&(this.store.dispatch((0,ht.c1)({payload:{data:{type:ce.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,sn.R)(this.unSubs[4])).subscribe(U=>{U&&(this.showLogout=!1,this.store.dispatch((0,ht.kS)()))})),this.ChildNavClicked.emit(v)}onChildNavClicked(v){this.ChildNavClicked.emit(v)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){let v=[];v=JSON.parse(JSON.stringify(ys.LNDChildren)),this.navMenus.data=v?.filter(U=>U.children&&U.children.length?(U.children=U.children?.filter(Z=>(Z.userPersona===ce.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()),U.children.length>0):U.userPersona===ce.ol.ALL||U.userPersona===this.settings?.userPersona)}loadCLNMenu(){let v=[];v=JSON.parse(JSON.stringify(ys.CLNChildren)),this.navMenus.data=v?.filter(U=>U.children&&U.children.length?(U.children=U.children?.filter(Z=>(Z.userPersona===ce.ol.ALL||Z.userPersona===this.settings?.userPersona)&&"/services/peerswap"!==Z.link||"/services/peerswap"===Z.link&&this.settings?.enablePeerswap),U.children.length>0):U.userPersona===ce.ol.ALL||U.userPersona===this.settings?.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(ys.ECLChildren))}onShowData(v){this.store.dispatch((0,ht.tj)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(v){const U=this.selConfigNodeIndex;this.selConfigNodeIndex=v;const Z=this.appConfig.nodes.find(Re=>+Re.index===v);this.store.dispatch((0,ht.fk)({payload:{uiMessage:ce.m6.UPDATE_SELECTED_NODE,prevLnNodeIndex:+U,currentLnNode:Z||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ii.mQ),t.Y36(bn.v),t.Y36(js.m),t.Y36(zi.yh),t.Y36(ko.eX),t.Y36(Mn.V))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-side-navigation"]],viewQuery:function(U,Z){if(1&U&&t.Gf(yo.gi,5),2&U){let Re;t.iGM(Re=t.CRH())&&(Z.tree=Re.first)}},outputs:{ChildNavClicked:"ChildNavClicked"},decls:12,vars:5,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between start",3,"perfectScrollbar"],["fxLayout","column","fxFlex","90","fxLayoutAlign","start stretch",1,"w-100"],["class","m-2 multi-node-select",3,"value","selectionChange",4,"ngIf"],[1,"w-100"],[3,"dataSource","treeControl",4,"ngIf"],[3,"dataSource","treeControl"],[3,"click",4,"matTreeNodeDef"],["fxLayout","column","fxLayoutAlign","end stretch",1,"w-100"],["boltzIconBlock",""],[1,"m-2","multi-node-select",3,"value","selectionChange"],["tabindex","1",3,"value",4,"ngFor","ngForOf"],["tabindex","1",3,"value"],["tree",""],["matTreeNodeToggle","","routerLinkActive","active-link",3,"routerLink",4,"matTreeNodeDef"],["fxLayout","column","matTreeNodeToggle","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle","","routerLinkActive","active-link",3,"routerLink"],["tabindex","2",3,"click"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["class","fa-icon-small mr-2",4,"ngIf"],["class","fa-icon-small mr-2",3,"icon",4,"ngIf"],["class","mat-icon-36",4,"ngIf"],[1,"fa-icon-small","mr-2"],[3,"ngTemplateOutlet"],[1,"fa-icon-small","mr-2",3,"icon"],[1,"mat-icon-36"],["fxLayout","column","matTreeNodeToggle",""],["fxLayout","row","fxLayoutAlign","start center",1,"mat-nested-tree-node-parent"],["fxFlex","80","fxLayoutAlign","start center"],["class","mr-2",4,"ngIf"],["fxFlex","20","mat-icon-button","","fxLayoutAlign","end center",1,"btn-icon-small"],[1,"mat-nested-tree-node-child"],["matTreeNodeOutlet",""],[1,"mr-2"],[3,"click"],["class","fa-icon-small mr-2","matTooltipPosition","right",3,"icon","matTooltip",4,"ngIf"],["class","mat-icon-36","matTooltipPosition","right",3,"matTooltip",4,"ngIf"],["matTooltipPosition","right",1,"fa-icon-small","mr-2",3,"icon","matTooltip"],["matTooltipPosition","right",1,"mat-icon-36",3,"matTooltip"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,wd,3,2,"mat-select",2),t._UZ(3,"mat-divider",3),t.YNc(4,zh,4,3,"mat-tree",4),t._UZ(5,"mat-divider",3),t.TgZ(6,"mat-tree",5),t.YNc(7,Vh,6,4,"mat-tree-node",6),t.qZA()(),t.TgZ(8,"div",7),t.YNc(9,Uh,2,2,"mat-tree",4),t.qZA()(),t.YNc(10,ac,6,0,"ng-template",null,8,t.W1O)),2&U&&(t.xp6(2),t.Q6J("ngIf",Z.appConfig.nodes.length>1),t.xp6(2),t.Q6J("ngIf",null==Z.settings?null:Z.settings.lnServerUrl),t.xp6(2),t.Q6J("dataSource",Z.navMenusShowData)("treeControl",Z.treeControlShowData),t.xp6(3),t.Q6J("ngIf",Z.showLogout))},dependencies:[It.sg,It.O5,It.tP,Yr.BN,Yi.xw,Yi.Wh,Yi.yH,dt.RK,gc.Hw,Zo.d,yo.GZ,yo.fQ,yo.eu,yo.gi,yo.uo,yo.Ar,Ht.gD,Xt.ey,q1.gM,ir.rH,ir.Od,ci.Vv,ci.$V],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]})}return N})();var O1=p(7988);function wf(N,z){if(1&N&&(t.TgZ(0,"p",14),t._UZ(1,"fa-icon",3),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&N){const v=t.oxw();t.xp6(1),t.Q6J("icon",v.faCode),t.xp6(2),t.hij("API Version: ",null==v.information?null:v.information.api_version,"")}}function jc(N,z){if(1&N&&(t.TgZ(0,"p",15),t._UZ(1,"fa-icon",3),t.TgZ(2,"span",16),t._uU(3,"Settings"),t.qZA()()),2&N){const v=t.oxw();t.xp6(1),t.Q6J("icon",v.faUserCog)}}function o0(N,z){if(1&N&&(t.TgZ(0,"p",17),t._UZ(1,"fa-icon",3),t.TgZ(2,"span",18),t._uU(3,"Help"),t.qZA()()),2&N){const v=t.oxw();t.xp6(1),t.Q6J("icon",v.faQuestion)}}function s0(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"p",19),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.onClick())}),t._UZ(1,"fa-icon",3),t.TgZ(2,"span"),t._uU(3,"Logout"),t.qZA()()}if(2&N){const v=t.oxw();t.xp6(1),t.Q6J("icon",v.faEject)}}let c0=(()=>{class N{constructor(v,U,Z,Re,Vt){this.logger=v,this.sessionService=U,this.store=Z,this.rtlEffects=Re,this.actions=Vt,this.faUserCog=qi.gNZ,this.faCodeBranch=qi.mh3,this.faCode=qi.dT$,this.faCog=qi.b7W,this.faQuestion=qi.Psp,this.faEject=qi.KOR,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x],this.version=ce.q4}ngOnInit(){this.store.select(Mr.R4).pipe((0,sn.R)(this.unSubs[0])).subscribe(v=>{if(this.information=v,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 U=this.information.chains[0];this.informationChain.chain=U.chain,this.informationChain.network=U.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(v)}),this.sessionService.watchSession().pipe((0,sn.R)(this.unSubs[1])).subscribe(v=>{this.showLogout=!!v.token,this.flgLoading=!!v.token}),this.actions.pipe((0,sn.R)(this.unSubs[2]),(0,ia.h)(v=>v.type===ce.pg.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,ht.c1)({payload:{data:{type:ce.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,sn.R)(this.unSubs[3])).subscribe(v=>{v&&(this.showLogout=!1,this.store.dispatch((0,ht.kS)()))})}onDonate(){window.open("https://www.ridethelightning.info/donate/","_blank")}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ii.mQ),t.Y36(js.m),t.Y36(zi.yh),t.Y36(Mn.V),t.Y36(ko.eX))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-top-menu"]],decls:20,vars:8,consts:[[1,"top-menu",3,"overlapTrigger"],["topMenu","matMenu"],["tabindex","1","mat-menu-item","",1,"cursor-default"],[1,"fa-icon-small","mr-1",3,"icon"],["tabindex","2","mat-menu-item","","class","cursor-default",4,"ngIf"],["tabindex","3","mat-menu-item","","routerLink","/settings",4,"ngIf"],["tabindex","4","mat-menu-item","","routerLink","/help",4,"ngIf"],["mat-menu-item","","tabindex","5","fxLayoutAlign","start center",3,"click"],["fill","currentColor","version","1.1","viewBox","0 0 64 64",0,"xml","space","preserve","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"svg-donation"],["d","M62.519,17.698l-12-14c-0.659-0.768-1.786-0.923-2.628-0.362l-8.712,5.808l-16.688,4.172 c-2.485,0.622-4.537,2.412-5.487,4.791L12.21,30.09C10.206,32.512,9,35.618,9,39c0,2.974,0.939,5.73,2.527,8H5 c-2.206,0-4,1.794-4,4v6c0,2.206,1.794,4,4,4h36c2.206,0,4-1.794,4-4v-6c0-2.206-1.794-4-4-4h-6.522 c0.375-0.535,0.713-1.1,1.013-1.691l4.291-2.452l3.378-0.965c2.619-0.749,4.903-2.269,6.604-4.395 c1.39-1.736,2.317-3.813,2.682-6.006l0.412-2.472l9.48-8.532C63.145,19.76,63.225,18.523,62.519,17.698z M34.428,30.929 c-1.487-2.094-3.517-3.732-5.842-4.75L29.207,25h7.058l0.588,4.11L34.428,30.929z M31.225,33.331l-0.373,0.28 c-1.772,1.329-2.889,3.273-3.146,5.473c-0.257,2.2,0.382,4.348,1.8,6.048l0.667,0.8C28.315,47.845,25.742,49,23,49 c-5.514,0-10-4.486-10-10s4.486-10,10-10C26.299,29,29.376,30.663,31.225,33.331z M41,57H5v-6h10.826c2.101,1.261,4.55,2,7.174,2 c2.571,0,5.041-0.723,7.176-2H41V57z M49.662,26.513c-0.336,0.303-0.561,0.711-0.635,1.158L48.5,30.833 c-0.253,1.521-0.896,2.96-1.86,4.165c-1.18,1.475-2.763,2.529-4.579,3.048l-3.61,1.031c-0.155,0.044-0.303,0.106-0.443,0.187 l-5.541,3.166c-0.63-0.826-0.909-1.843-0.788-2.882c0.128-1.1,0.687-2.072,1.573-2.737l6.001-4.5 c1.169-0.877,1.767-2.32,1.56-3.766l-0.587-4.11C39.946,22.477,38.244,21,36.266,21h-7.059c-1.489,0-2.845,0.818-3.539,2.136 l-1.037,1.969C24.093,25.041,23.549,25,23,25c-1.685,0-3.294,0.314-4.791,0.862l2.509-6.271c0.476-1.189,1.501-2.084,2.743-2.395 l17.024-4.256c0.223-0.056,0.434-0.149,0.625-0.276l7.525-5.017l9.576,11.172L49.662,26.513z"],["tabindex","6","mat-menu-item","",3,"click",4,"ngIf"],["tabindex","7","mat-icon-button","",3,"matMenuTriggerFor"],["alt","RTL Logo","src","assets/images/RTL-Horse-BY.svg",1,"rtl-log-top"],[1,"rtl-logo-dropdown","color-white"],["tabindex","2","mat-menu-item","",1,"cursor-default"],["tabindex","3","mat-menu-item","","routerLink","/settings"],["routerLink","/settings"],["tabindex","4","mat-menu-item","","routerLink","/help"],["routerLink","/help"],["tabindex","6","mat-menu-item","",3,"click"]],template:function(U,Z){if(1&U&&(t.TgZ(0,"mat-menu",0,1)(2,"p",2),t._UZ(3,"fa-icon",3),t.TgZ(4,"span"),t._uU(5),t.qZA()(),t.YNc(6,wf,4,2,"p",4),t.YNc(7,jc,4,1,"p",5),t.YNc(8,o0,4,1,"p",6),t.TgZ(9,"p",7),t.NdJ("click",function(){return Z.onDonate()}),t.O4$(),t.TgZ(10,"svg",8)(11,"g"),t._UZ(12,"path",9),t.qZA()(),t.kcU(),t.TgZ(13,"span"),t._uU(14,"Donate"),t.qZA()(),t.YNc(15,s0,4,1,"p",10),t.qZA(),t.TgZ(16,"button",11),t._UZ(17,"img",12),t.TgZ(18,"mat-icon",13),t._uU(19,"arrow_drop_down"),t.qZA()()),2&U){const Re=t.MAs(1);t.Q6J("overlapTrigger",!1),t.xp6(3),t.Q6J("icon",Z.faCodeBranch),t.xp6(2),t.hij("Version: ",Z.version,""),t.xp6(1),t.Q6J("ngIf",null==Z.information?null:Z.information.api_version),t.xp6(1),t.Q6J("ngIf",Z.showLogout),t.xp6(1),t.Q6J("ngIf",Z.showLogout),t.xp6(7),t.Q6J("ngIf",Z.showLogout),t.xp6(1),t.Q6J("matMenuTriggerFor",Re)}},dependencies:[It.O5,Yr.BN,Yi.Wh,dt.RK,gc.Hw,O1.VK,O1.OP,O1.p6,ir.rH],styles:[".mat-mdc-icon-button img.rtl-log-top{width:2rem;height:2rem}.mat-icon.material-icons.mat-icon-no-color.rtl-logo-dropdown{height:2rem}\n"],encapsulation:2})}return N})();const Ad=["sideNavigation"],Kc=["sideNavContent"];function xo(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"button",14),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.sideNavToggle())}),t.TgZ(1,"mat-icon",15),t._uU(2,"menu"),t.qZA()()}if(2&N){const v=t.oxw();t.Q6J("matTooltip",v.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",v.smallScreen)}}function Qc(N,z){1&N&&(t.O4$(),t._UZ(0,"path",20))}function Dd(N,z){1&N&&(t.O4$(),t._UZ(0,"path",21))}function Gh(N,z){if(1&N){const v=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){t.CHM(v);const Z=t.oxw();return t.KtG(Z.flgSidenavPinned=!Z.flgSidenavPinned)}),t.O4$(),t.TgZ(1,"svg",17),t.YNc(2,Qc,1,0,"path",18),t.YNc(3,Dd,1,0,"path",19),t.qZA()()}if(2&N){const v=t.oxw();t.Q6J("matTooltip",v.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),t.xp6(2),t.Q6J("ngIf",!v.flgSidenavPinned),t.xp6(1),t.Q6J("ngIf",v.flgSidenavPinned)}}function l0(N,z){if(1&N&&(t.TgZ(0,"span",22),t._uU(1),t.qZA()),2&N){const v=t.oxw();t.xp6(1),t.Oqu(v.information.alias?"RTL - "+v.information.alias:"RTL")}}function y4(N,z){if(1&N&&(t.TgZ(0,"span",23),t._uU(1),t.qZA()),2&N){const v=t.oxw();t.xp6(1),t.Oqu(v.information.alias?"Ride The Lightning - "+v.information.alias:"Ride The Lightning")}}function Zh(N,z){1&N&&(t.TgZ(0,"div",24),t._UZ(1,"mat-spinner",25),t.TgZ(2,"h4"),t._uU(3,"Loading RTL..."),t.qZA()())}const Mf=function(N,z){return[N,z]};let Ld=(()=>{class N{constructor(v,U,Z,Re,Vt,ei,fi,Ei,an){this.logger=v,this.commonService=U,this.store=Z,this.actions=Re,this.userIdle=Vt,this.router=ei,this.sessionService=fi,this.breakpointObserver=Ei,this.renderer=an,this.information={},this.flgLoading=[!0],this.flgSideNavOpened=!0,this.flgCopied=!1,this.accessKey="",this.xSmallScreen=!1,this.smallScreen=!1,this.flgSidenavPinned=!0,this.flgLoggedIn=!1,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.router.events.subscribe(v=>{v instanceof ir.m2&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([Ha.u3.XSmall,Ha.u3.TabletPortrait,Ha.u3.Small,Ha.u3.Medium,Ha.u3.Large,Ha.u3.XLarge]).pipe((0,sn.R)(this.unSubs[0])).subscribe(v=>{v.breakpoints[Ha.u3.XSmall]?(this.commonService.setScreenSize(ce.cu.XS),this.smallScreen=!0):v.breakpoints[Ha.u3.TabletPortrait]?(this.commonService.setScreenSize(ce.cu.SM),this.smallScreen=!0):v.breakpoints[Ha.u3.Small]||v.breakpoints[Ha.u3.Medium]?(this.commonService.setScreenSize(ce.cu.MD),this.smallScreen=!1):v.breakpoints[Ha.u3.Large]?(this.commonService.setScreenSize(ce.cu.LG),this.smallScreen=!1):(this.commonService.setScreenSize(ce.cu.XL),this.smallScreen=!1)}),this.store.dispatch((0,ht.ey)()),this.accessKey=this.readAccessKey()||"",this.store.select(Mr.dT).pipe((0,sn.R)(this.unSubs[1])).subscribe(v=>{this.settings=v.settings,this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1)}),this.store.select(Mr.Yj).pipe((0,sn.R)(this.unSubs[2])).subscribe(v=>{this.appConfig=v}),this.store.select(Mr.R4).pipe((0,sn.R)(this.unSubs[3])).subscribe(v=>{this.information=v,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,sn.R)(this.unSubs[4]),(0,ia.h)(v=>v.type===ce.pg.SET_RTL_CONFIG||v.type===ce.pg.LOGIN||v.type===ce.pg.LOGOUT)).subscribe(v=>{v.type===ce.pg.SET_RTL_CONFIG&&(this.sessionService.getItem("token")||(+v.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,ht.x4)({payload:{password:Xi(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"]))),v.type===ce.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)),v.type===ce.pg.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,sn.R)(this.unSubs[5])).subscribe(v=>{this.logger.info("Counting Down: "+(11-v))}),this.userIdle.onTimeout().pipe((0,sn.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,ht.ts)()),this.store.dispatch((0,ht.qR)({payload:{data:{type:ce.n_.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,ht.kS)()))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const v=window.location.href;return v.includes("access-key=")?v.substring(v.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(v){this.smallScreen&&this.sideNavigation.close()}copiedText(v){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+v)}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(),v.complete()})}static#e=this.\u0275fac=function(U){return new(U||N)(t.Y36(ii.mQ),t.Y36(bn.v),t.Y36(zi.yh),t.Y36(ko.eX),t.Y36(fs),t.Y36(ir.F0),t.Y36(js.m),t.Y36(Ha.Yg),t.Y36(t.Qsj))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-app"]],viewQuery:function(U,Z){if(1&U&&(t.Gf(Ad,5),t.Gf(Kc,5)),2&U){let Re;t.iGM(Re=t.CRH())&&(Z.sideNavigation=Re.first),t.iGM(Re=t.CRH())&&(Z.sideNavContent=Re.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(U,Z){1&U&&(t.TgZ(0,"div",0),t.ALo(1,"lowercase"),t.ALo(2,"lowercase"),t.TgZ(3,"mat-toolbar",1)(4,"div"),t.YNc(5,xo,3,2,"button",2),t.YNc(6,Gh,4,3,"button",3),t.qZA(),t.TgZ(7,"div"),t.YNc(8,l0,2,1,"span",4),t.YNc(9,y4,2,1,"span",5),t.qZA(),t.TgZ(10,"div"),t._UZ(11,"rtl-top-menu"),t.qZA()(),t.TgZ(12,"mat-sidenav-container")(13,"mat-sidenav",6,7)(15,"rtl-side-navigation",8),t.NdJ("ChildNavClicked",function(Vt){return Z.onNavigationClicked(Vt)}),t.qZA()(),t.TgZ(16,"mat-sidenav-content",9,10)(18,"div",11),t._UZ(19,"router-outlet",null,12),t.qZA()(),t._uU(21,"> "),t.qZA(),t.YNc(22,Zh,4,0,"div",13),t.qZA()),2&U&&(t.Q6J("ngClass",t.WLB(12,Mf,t.lcZ(1,8,Z.settings.themeColor),t.lcZ(2,10,Z.settings.themeMode))),t.xp6(5),t.Q6J("ngIf",Z.flgLoggedIn),t.xp6(1),t.Q6J("ngIf",!Z.smallScreen&&Z.flgLoggedIn),t.xp6(2),t.Q6J("ngIf",Z.smallScreen),t.xp6(1),t.Q6J("ngIf",!Z.smallScreen),t.xp6(4),t.Q6J("opened",Z.flgSideNavOpened&&Z.flgLoggedIn)("mode",Z.flgSidenavPinned&&!Z.smallScreen?"side":"over"),t.xp6(9),t.Q6J("ngIf",!Z.settings.themeColor))},dependencies:[It.mk,It.O5,Yi.xw,Yi.Wh,Yi.yH,sr.oO,dt.RK,gc.Hw,n0.Ou,A1.JX,A1.TM,A1.Rh,wc.Ye,q1.gM,ci.$V,a0,c0,ir.lC,It.i8],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[t0.g]}})}return N})(),Id=(()=>{class N{constructor(v){this.sessionService=v}intercept(v,U){if(this.sessionService.getItem("token")){const Z=v.clone({headers:v.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return U.handle(Z)}return U.handle(v)}static#e=this.\u0275fac=function(U){return new(U||N)(t.LFG(js.m))};static#t=this.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac})}return N})();var Wh=p(2285),Sf=p(168),d0=p(9125),Yh=p(9337);const kd={userPersona:"OPERATOR",themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1},h0={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},u0={apiURL:"",apisCallStatus:{Login:{status:ce.Bn.UN_INITIATED},IsAuthorized:{status:ce.Bn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:kd,authentication:h0,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,sso:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,allowPasswordUpdate:!0,nodes:[{settings:kd,authentication:h0}]},nodeData:{}},Od=(0,zi.Lq)(u0,(0,zi.on)(ht.qi,(N,{payload:z})=>{const v=JSON.parse(JSON.stringify(N.apisCallStatus));return z.action&&(v[z.action]={status:z.status,statusCode:z.statusCode,message:z.message,URL:z.URL,filePath:z.filePath}),{...N,apisCallStatus:v}}),(0,zi.on)(ht.vI,(N,{payload:z})=>({...u0,apisCallStatus:N.apisCallStatus,appConfig:N.appConfig,selNode:z})),(0,zi.on)(ht.fk,(N,{payload:z})=>({...N,selNode:z.currentLnNode})),(0,zi.on)(ht.Tm,(N,{payload:z})=>{const v=JSON.parse(JSON.stringify(N.selNode));switch(z.service){case ce.JX.BOLTZ:v.settings.boltzServerUrl=z.settings.boltzServerUrl;break;case ce.JX.LOOP:v.settings.swapServerUrl=z.settings.swapServerUrl;break;case ce.JX.OFFERS:v.settings.enableOffers=z.settings.enableOffers;break;case ce.JX.PEERSWAP:v.settings.enablePeerswap=z.settings.enablePeerswap}return{...N,selNode:v}}),(0,zi.on)(ht._V,(N,{payload:z})=>({...N,nodeData:z})),(0,zi.on)(ht.XT,(N,{payload:z})=>({...N,appConfig:z}))),Dl={apisCallStatus:{FetchPageSettings:{status:ce.Bn.UN_INITIATED},FetchInfo:{status:ce.Bn.UN_INITIATED},FetchFees:{status:ce.Bn.UN_INITIATED},FetchPeers:{status:ce.Bn.UN_INITIATED},FetchClosedChannels:{status:ce.Bn.UN_INITIATED},FetchPendingChannels:{status:ce.Bn.UN_INITIATED},FetchAllChannels:{status:ce.Bn.UN_INITIATED},FetchBalanceBlockchain:{status:ce.Bn.UN_INITIATED},FetchInvoices:{status:ce.Bn.UN_INITIATED},FetchPayments:{status:ce.Bn.UN_INITIATED},FetchForwardingHistory:{status:ce.Bn.UN_INITIATED},FetchUTXOs:{status:ce.Bn.UN_INITIATED},FetchTransactions:{status:ce.Bn.UN_INITIATED},FetchLightningTransactions:{status:ce.Bn.UN_INITIATED},FetchNetwork:{status:ce.Bn.UN_INITIATED}},nodeSettings:{userPersona:ce.ol.OPERATOR,unannouncedChannels:!1,fiatConversion:!1,channelBackupPath:"",currencyUnits:[],selCurrencyUnit:"",lnImplementation:"",swapServerUrl:""},pageSettings:ce.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 qc=!1,P1=!1;const jh=(0,zi.Lq)(Dl,(0,zi.on)(Zi.PC,(N,{payload:z})=>{const v=JSON.parse(JSON.stringify(N.apisCallStatus));return z.action&&(v[z.action]={status:z.status,statusCode:z.statusCode,message:z.message,URL:z.URL,filePath:z.filePath}),{...N,apisCallStatus:v}}),(0,zi.on)(Zi.JT,(N,{payload:z})=>({...N,nodeSettings:z})),(0,zi.on)(Zi.Ll,(N,{payload:z})=>({...Dl,nodeSettings:z})),(0,zi.on)(Zi.CX,(N,{payload:z})=>({...N,information:z})),(0,zi.on)(Zi.Z8,(N,{payload:z})=>({...N,peers:z})),(0,zi.on)(Zi.EK,(N,{payload:z})=>{const v=[...N.peers],U=N.peers.findIndex(Z=>Z.pub_key===z.pubkey);return U>-1&&v.splice(U,1),{...N,peers:v}}),(0,zi.on)(Zi.YP,(N,{payload:z})=>{const v=N.listInvoices;return v.invoices?.unshift(z),{...N,listInvoices:v}}),(0,zi.on)(Zi.aL,(N,{payload:z})=>{const v=N.listInvoices;return v.invoices=v.invoices?.map(U=>U.payment_request===z.payment_request?z:U),{...N,listInvoices:v}}),(0,zi.on)(Zi.qY,(N,{payload:z})=>{const v=N.listPayments;return v.payments=v.payments?.map(U=>U.payment_hash===z.payment_hash?z:U),{...N,listPayments:v}}),(0,zi.on)(Zi.RX,(N,{payload:z})=>({...N,fees:z})),(0,zi.on)(Zi._L,(N,{payload:z})=>({...N,closedChannels:z})),(0,zi.on)(Zi.TW,(N,{payload:z})=>({...N,pendingChannels:z.pendingChannels,pendingChannelsSummary:z.pendingChannelsSummary})),(0,zi.on)(Zi.as,(N,{payload:z})=>{let v=0,U=0,Z=0,Re=0,Vt=0,ei=0;return z&&z.forEach(fi=>{fi.local_balance||(fi.local_balance=0),!0===fi.active?(Vt+=+fi.local_balance,Z+=1,fi.local_balance?v=+v+ +fi.local_balance:fi.local_balance=0,fi.remote_balance?U=+U+ +fi.remote_balance:fi.remote_balance=0):(ei+=+fi.local_balance,Re+=1)}),{...N,channels:z,channelsSummary:{active:{num_channels:Z,capacity:Vt},inactive:{num_channels:Re,capacity:ei}},lightningBalance:{local:v,remote:U}}}),(0,zi.on)(Zi.OG,(N,{payload:z})=>{const v=[...N.channels],U=N.channels.findIndex(Z=>Z.channel_point===z.channelPoint);return U>-1&&v.splice(U,1),{...N,channels:v}}),(0,zi.on)(Zi.Jl,(N,{payload:z})=>({...N,blockchainBalance:z})),(0,zi.on)(Zi.ks,(N,{payload:z})=>({...N,networkInfo:z})),(0,zi.on)(Zi.Nr,(N,{payload:z})=>(z.total_invoices||(z.total_invoices=N.listInvoices.total_invoices),{...N,listInvoices:z})),(0,zi.on)(Zi.Lf,(N,{payload:z})=>{if(qc=!0,z.length&&P1){const v=[...N.utxos];return v.forEach(U=>{const Z=z.find(Re=>Re.tx_hash===U.outpoint?.txid_str);U.label=Z&&Z.label?Z.label:""}),{...N,utxos:v,transactions:z}}return{...N,transactions:z}}),(0,zi.on)(Zi.UH,(N,{payload:z})=>{if(P1=!0,z.length&&qc){const v=[...N.transactions];z.forEach(U=>{const Z=v.find(Re=>Re.tx_hash===U.outpoint?.txid_str);U.label=Z&&Z.label?Z.label:""})}return{...N,utxos:z}}),(0,zi.on)(Zi.HI,(N,{payload:z})=>{const v={listInvoicesAll:N.allLightningTransactions.listInvoicesAll,listPaymentsAll:z};return{...N,listPayments:z,allLightningTransactions:v}}),(0,zi.on)(Zi.Fr,(N,{payload:z})=>{const v={listInvoicesAll:z.listInvoicesAll,listPaymentsAll:N.listPayments};return{...N,allLightningTransactions:v}}),(0,zi.on)(Zi.QJ,(N,{payload:z})=>{const v=[...N.channels,...N.closedChannels];let U=z.forwarding_events?JSON.parse(JSON.stringify(z)):{};return U.forwarding_events&&(U=Ec(U,v)),{...N,forwardingHistory:U}}),(0,zi.on)(Zi.pd,(N,{payload:z})=>{const v=[];return ce.gK.forEach(U=>{const Z=z&&z.length&&z.length>0?z.find(Re=>Re.pageId===U.pageId):null;if(Z){const Re=JSON.parse(JSON.stringify(Z.tables));Z.tables=[],U.tables.forEach(Vt=>{const ei=Re.find(fi=>fi.tableId===Vt.tableId)||null;Z.tables.push(ei||JSON.parse(JSON.stringify(Vt)))}),v.push(Z)}else v.push(JSON.parse(JSON.stringify(U)))}),{...N,pageSettings:v}})),Ec=(N,z)=>(N.forwarding_events.forEach(v=>{if(z&&z.length>0)for(let U=0;U<z.length;U++){if(z[U].chan_id?.toString()===v.chan_id_in&&(v.alias_in=z[U].remote_alias?z[U].remote_alias:v.chan_id_in,v.alias_out)||z[U].chan_id?.toString()===v.chan_id_out&&(v.alias_out=z[U].remote_alias?z[U].remote_alias:v.chan_id_out,v.alias_in))return;U===z.length-1&&(v.alias_in||(v.alias_in=v.chan_id_in),v.alias_out||(v.alias_out=v.chan_id_out))}else v.alias_in=v.chan_id_in,v.alias_out=v.chan_id_out}),N),Pd={apisCallStatus:{FetchPageSettings:{status:ce.Bn.UN_INITIATED},FetchInfo:{status:ce.Bn.UN_INITIATED},FetchInvoices:{status:ce.Bn.UN_INITIATED},FetchFees:{status:ce.Bn.UN_INITIATED},FetchChannels:{status:ce.Bn.UN_INITIATED},FetchBalance:{status:ce.Bn.UN_INITIATED},FetchLocalRemoteBalance:{status:ce.Bn.UN_INITIATED},FetchFeeRatesperkb:{status:ce.Bn.UN_INITIATED},FetchFeeRatesperkw:{status:ce.Bn.UN_INITIATED},FetchPeers:{status:ce.Bn.UN_INITIATED},FetchUTXOs:{status:ce.Bn.UN_INITIATED},FetchPayments:{status:ce.Bn.UN_INITIATED},FetchForwardingHistoryS:{status:ce.Bn.UN_INITIATED},FetchForwardingHistoryF:{status:ce.Bn.UN_INITIATED},FetchForwardingHistoryL:{status:ce.Bn.UN_INITIATED},FetchOffers:{status:ce.Bn.UN_INITIATED},FetchOfferBookmarks:{status:ce.Bn.UN_INITIATED}},nodeSettings:{userPersona:ce.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[],enableOffers:!1,enablePeerswap:!1},pageSettings:ce.gG,information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],activeChannels:[],pendingChannels:[],inactiveChannels:[],payments:[],forwardingHistory:{},failedForwardingHistory:{},localFailedForwardingHistory:{},invoices:{invoices:[]},utxos:[],offers:[],offersBookmarks:[]},Kh=(0,zi.Lq)(Pd,(0,zi.on)(_i.Hc,(N,{payload:z})=>{const v=JSON.parse(JSON.stringify(N.apisCallStatus));return z.action&&(v[z.action]={status:z.status,statusCode:z.statusCode,message:z.message,URL:z.URL,filePath:z.filePath}),{...N,apisCallStatus:v}}),(0,zi.on)(_i.Mf,(N,{payload:z})=>({...N,nodeSettings:z})),(0,zi.on)(_i.mI,(N,{payload:z})=>({...Pd,nodeSettings:z})),(0,zi.on)(_i.CX,(N,{payload:z})=>({...N,information:z})),(0,zi.on)(_i.RX,(N,{payload:z})=>({...N,fees:z})),(0,zi.on)(_i.I8,(N,{payload:z})=>z.perkb?{...N,feeRatesPerKB:z}:z.perkw?{...N,feeRatesPerKW:z}:{...N}),(0,zi.on)(_i.Lu,(N,{payload:z})=>({...N,balance:z})),(0,zi.on)(_i.xS,(N,{payload:z})=>({...N,localRemoteBalance:z})),(0,zi.on)(_i.Z8,(N,{payload:z})=>({...N,peers:z})),(0,zi.on)(_i.X3,(N,{payload:z})=>({...N,peers:[...N.peers,z]})),(0,zi.on)(_i.EK,(N,{payload:z})=>{const v=[...N.peers],U=N.peers.findIndex(Z=>Z.id===z.id);return U>-1&&v.splice(U,1),{...N,peers:v}}),(0,zi.on)(_i.as,(N,{payload:z})=>({...N,activeChannels:z.activeChannels,pendingChannels:z.pendingChannels,inactiveChannels:z.inactiveChannels})),(0,zi.on)(_i.OG,(N,{payload:z})=>{const v=[...N.peers];return v.forEach(U=>{U.id===z.id&&(U.connected=!1,delete U.netaddr)}),{...N,peers:v}}),(0,zi.on)(_i.HI,(N,{payload:z})=>({...N,payments:z})),(0,zi.on)(_i.QJ,(N,{payload:z})=>{const v=[...N.activeChannels,...N.pendingChannels,...N.inactiveChannels],U=Nd(z.listForwards,v);switch(z.listForwards=U,z.status){case ce.OO.SETTLED:const Z=N.fees;return Z.totalTxCount=z.totalForwards||0,{...N,fees:Z,forwardingHistory:z};case ce.OO.FAILED:return{...N,failedForwardingHistory:z};case ce.OO.LOCAL_FAILED:return{...N,localFailedForwardingHistory:z};default:return{...N}}}),(0,zi.on)(_i.YP,(N,{payload:z})=>{const v=N.invoices;return v.invoices?.unshift(z),{...N,invoices:v}}),(0,zi.on)(_i.Nr,(N,{payload:z})=>({...N,invoices:z})),(0,zi.on)(_i.aL,(N,{payload:z})=>{const v=N.invoices;return v.invoices=v.invoices?.map(U=>U.label===z.label?z:U),{...N,invoices:v}}),(0,zi.on)(_i.UH,(N,{payload:z})=>({...N,utxos:z})),(0,zi.on)(_i.Zu,(N,{payload:z})=>({...N,offers:z})),(0,zi.on)(_i.ZH,(N,{payload:z})=>{const v=N.offers;return v?.unshift(z),{...N,offers:v}}),(0,zi.on)(_i.JK,(N,{payload:z})=>{const v=[...N.offers],U=N.offers.findIndex(Z=>Z.offer_id===z.offer.offer_id);return U>-1&&v.splice(U,1,z.offer),{...N,offers:v}}),(0,zi.on)(_i.d7,(N,{payload:z})=>({...N,offersBookmarks:z})),(0,zi.on)(_i.e9,(N,{payload:z})=>{const v=[...N.offersBookmarks],U=v.findIndex(Z=>Z.bolt12===z.bolt12);if(U<0)v?.unshift(z);else{const Z={...v[U]};Z.title=z.title,Z.amountMSat=z.amountMSat,Z.lastUpdatedAt=z.lastUpdatedAt,Z.description=z.description,Z.issuer=z.issuer,v.splice(U,1,Z)}return{...N,offersBookmarks:v}}),(0,zi.on)(_i.en,(N,{payload:z})=>{const v=[...N.offersBookmarks],U=N.offersBookmarks.findIndex(Z=>Z.bolt12===z.bolt12);return U>-1&&v.splice(U,1),{...N,offersBookmarks:v}}),(0,zi.on)(_i.pd,(N,{payload:z})=>{const v=[];return ce.gG.forEach(U=>{const Z=z&&z.length&&z.length>0?z.find(Re=>Re.pageId===U.pageId):null;if(Z){const Re=JSON.parse(JSON.stringify(Z.tables));Z.tables=[],U.tables.forEach(Vt=>{const ei=Re.find(fi=>fi.tableId===Vt.tableId)||null;Z.tables.push(ei||JSON.parse(JSON.stringify(Vt)))}),v.push(Z)}else v.push(JSON.parse(JSON.stringify(U)))}),{...N,pageSettings:v}})),Nd=(N,z)=>(N&&N.length>0?N.forEach((v,U)=>{if(z&&z.length>0)for(let Z=0;Z<z.length;Z++){if(z[Z].short_channel_id&&z[Z].short_channel_id===v.in_channel&&(v.in_channel_alias=z[Z].alias?z[Z].alias:v.in_channel,v.out_channel_alias)||z[Z].short_channel_id&&z[Z].short_channel_id?.toString()===v.out_channel&&(v.out_channel_alias=z[Z].alias?z[Z].alias:v.out_channel,v.in_channel_alias))return;Z===z.length-1&&(v.in_channel_alias||(v.in_channel_alias=v.in_channel?v.in_channel:"-"),v.out_channel_alias||(v.out_channel_alias=v.out_channel?v.out_channel:"-"))}else v.in_channel_alias=v.in_channel?v.in_channel:"-",v.out_channel_alias=v.out_channel?v.out_channel:"-"}):N=[],N),Rd={apisCallStatus:{FetchPageSettings:{status:ce.Bn.UN_INITIATED},FetchInfo:{status:ce.Bn.UN_INITIATED},FetchFees:{status:ce.Bn.UN_INITIATED},FetchChannels:{status:ce.Bn.UN_INITIATED},FetchOnchainBalance:{status:ce.Bn.UN_INITIATED},FetchPeers:{status:ce.Bn.UN_INITIATED},FetchPayments:{status:ce.Bn.UN_INITIATED},FetchInvoices:{status:ce.Bn.UN_INITIATED},FetchTransactions:{status:ce.Bn.UN_INITIATED}},nodeSettings:{userPersona:ce.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[]},pageSettings:ce.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:[]},Qh=(0,zi.Lq)(Rd,(0,zi.on)(bi.QZ,(N,{payload:z})=>{const v=JSON.parse(JSON.stringify(N.apisCallStatus));return z.action&&(v[z.action]={status:z.status,statusCode:z.statusCode,message:z.message,URL:z.URL,filePath:z.filePath}),{...N,apisCallStatus:v}}),(0,zi.on)(bi.Zr,(N,{payload:z})=>({...N,nodeSettings:z})),(0,zi.on)(bi.Fd,(N,{payload:z})=>({...Rd,nodeSettings:z})),(0,zi.on)(bi.CX,(N,{payload:z})=>({...N,information:z})),(0,zi.on)(bi.RX,(N,{payload:z})=>({...N,fees:z})),(0,zi.on)(bi.eN,(N,{payload:z})=>({...N,activeChannels:z})),(0,zi.on)(bi.TW,(N,{payload:z})=>({...N,pendingChannels:z})),(0,zi.on)(bi.i,(N,{payload:z})=>({...N,inactiveChannels:z})),(0,zi.on)(bi.HG,(N,{payload:z})=>({...N,channelsStatus:z})),(0,zi.on)(bi.Bw,(N,{payload:z})=>({...N,onchainBalance:z})),(0,zi.on)(bi.On,(N,{payload:z})=>({...N,lightningBalance:z})),(0,zi.on)(bi.Z8,(N,{payload:z})=>({...N,peers:z})),(0,zi.on)(bi.EK,(N,{payload:z})=>{const v=[...N.peers],U=N.peers.findIndex(Z=>Z.nodeId===z.nodeId);return U>-1&&v.splice(U,1),{...N,peers:v}}),(0,zi.on)(bi.OG,(N,{payload:z})=>{const v=[...N.activeChannels],U=N.activeChannels.findIndex(Z=>Z.channelId===z.channelId);return U>-1&&v.splice(U,1),{...N,activeChannels:v}}),(0,zi.on)(bi.HI,(N,{payload:z})=>{if(z&&z.sent){const v=[...N.activeChannels,...N.pendingChannels,...N.inactiveChannels];z.sent?.map(U=>{const Z=N.peers.find(Re=>Re.nodeId===U.recipientNodeId);return U.recipientNodeAlias=Z?Z.alias:U.recipientNodeId,U.parts&&U.parts?.map(Re=>{const Vt=v.find(ei=>ei.channelId===Re.toChannelId);return Re.toChannelAlias=Vt?Vt.alias:Re.toChannelId,U.parts}),z.sent})}if(z&&z.relayed){const v=[...N.activeChannels,...N.pendingChannels,...N.inactiveChannels];z.relayed.forEach(U=>{U=f0(U,v)})}return{...N,payments:z}}),(0,zi.on)(bi.Lf,(N,{payload:z})=>({...N,transactions:z})),(0,zi.on)(bi.YP,(N,{payload:z})=>{const v=N.invoices;return v?.unshift(z),{...N,invoices:v}}),(0,zi.on)(bi.Nr,(N,{payload:z})=>({...N,invoices:z})),(0,zi.on)(bi.aL,(N,{payload:z})=>{let v=N.invoices;return v=v?.map(U=>{if(U.paymentHash===z.paymentHash){if(z.hasOwnProperty("type")){const Z=JSON.parse(JSON.stringify(U));return Z.amountSettled=z.parts&&z.parts.length&&z.parts.length>0&&z.parts[0].amount?(z.parts[0].amount||0)/1e3:0,Z.receivedAt=z.parts&&z.parts.length&&z.parts.length>0&&z.parts[0].timestamp?Math.round((z.parts[0].timestamp||0)/1e3):0,Z.status="received",Z}return z}return U}),{...N,invoices:v}}),(0,zi.on)(bi.DJ,(N,{payload:z})=>{let v=N.pendingChannels;return v=v?.map(U=>(U.channelId===z.channelId&&U.nodeId===z.remoteNodeId&&(z.currentState=z.currentState?.replace(/_/g," "),U.state=z.currentState),U)),{...N,pendingChannels:v}}),(0,zi.on)(bi.ti,(N,{payload:z})=>{const v=N.payments,U=f0(z,[...N.activeChannels,...N.pendingChannels,...N.inactiveChannels]);v.relayed?.unshift(U);const Z=(z.amountIn||0)-(z.amountOut||0),Re={localBalance:N.lightningBalance.localBalance+Z,remoteBalance:N.lightningBalance.remoteBalance-Z},Vt=N.channelsStatus;Vt.active&&(Vt.active.capacity=(N.channelsStatus?.active?.capacity||0)+Z);const ei={daily_fee:(N.fees.daily_fee||0)+Z,daily_txs:(N.fees.daily_txs||0)+1,weekly_fee:(N.fees.weekly_fee||0)+Z,weekly_txs:(N.fees.weekly_txs||0)+1,monthly_fee:(N.fees.monthly_fee||0)+Z,monthly_txs:(N.fees.monthly_txs||0)+1},fi=N.activeChannels;let Ei=!1,an=!1;for(const ji of fi){if(ji.channelId===z.fromChannelId){Ei=!0;const Un=(ji.toLocal||0)+(ji.toRemote||0);ji.toLocal=(ji.toLocal||0)+U.amountIn,ji.toRemote=(ji.toRemote||0)-U.amountIn,ji.balancedness=0===Un?1:+(1-Math.abs((ji.toLocal-ji.toRemote)/Un)).toFixed(3)}if(ji.channelId===z.toChannelId){an=!0;const Un=(ji.toLocal||0)+(ji.toRemote||0);ji.toLocal=(ji.toLocal||0)-U.amountOut,ji.toRemote=(ji.toRemote||0)+U.amountOut,ji.balancedness=0===Un?1:+(1-Math.abs((ji.toLocal-ji.toRemote)/Un)).toFixed(3)}if(an&&Ei)break}return{...N,payments:v,lightningBalance:Re,channelStatus:Vt,fees:ei,activeChannels:fi}}),(0,zi.on)(bi.pd,(N,{payload:z})=>{const v=[];return ce.c3.forEach(U=>{const Z=z&&z.length&&z.length>0?z.find(Re=>Re.pageId===U.pageId):null;if(Z){const Re=JSON.parse(JSON.stringify(Z.tables));Z.tables=[],U.tables.forEach(Vt=>{const ei=Re.find(fi=>fi.tableId===Vt.tableId)||null;Z.tables.push(ei||JSON.parse(JSON.stringify(Vt)))}),v.push(Z)}else v.push(JSON.parse(JSON.stringify(U)))}),{...N,pageSettings:v}})),f0=(N,z)=>{if("payment-relayed"===N.type)if(z&&z.length>0)for(let v=0;v<z.length;v++){if(z[v].channelId?.toString()===N.fromChannelId&&(N.fromChannelAlias=z[v].alias?z[v].alias:N.fromChannelId,N.fromShortChannelId=z[v].shortChannelId?z[v].shortChannelId:"",N.toChannelAlias)||z[v].channelId?.toString()===N.toChannelId&&(N.toChannelAlias=z[v].alias?z[v].alias:N.toChannelId,N.toShortChannelId=z[v].shortChannelId?z[v].shortChannelId:"",N.fromChannelAlias))return N;v===z.length-1&&(N.fromChannelAlias||(N.fromChannelAlias=N.fromChannelId?.substring(0,17)+"...",N.fromShortChannelId=""),N.toChannelAlias||(N.toChannelAlias=N.toChannelId?.substring(0,17)+"...",N.toShortChannelId=""))}else N.fromChannelAlias=N.fromChannelId?.substring(0,17)+"...",N.fromShortChannelId="",N.toChannelAlias=N.toChannelId?.substring(0,17)+"...",N.toShortChannelId="";else if(N.type="trampoline-payment-relayed"){if(z&&z.length>0)for(let Z=0;Z<z.length;Z++)N.incoming?.forEach(Re=>{z[Z].channelId?.toString()===Re.channelId&&(Re.channelAlias=z[Z].alias?z[Z].alias:Re.channelId,Re.shortChannelId=z[Z].shortChannelId?z[Z].shortChannelId:"")}),N.outgoing?.forEach(Re=>{z[Z].channelId?.toString()===Re.channelId&&(Re.channelAlias=z[Z].alias?z[Z].alias:Re.channelId,Re.shortChannelId=z[Z].shortChannelId?z[Z].shortChannelId:"")}),Z===z.length-1&&(N.incoming&&N.incoming.length&&N.incoming.length>0&&!N.incoming[0].channelAlias&&N.incoming?.forEach(Re=>{Re.channelAlias=Re.channelId?.substring(0,17)+"...",Re.shortChannelId=""}),N.outgoing&&N.outgoing.length&&N.outgoing.length>0&&!N.outgoing[0].channelAlias&&N.outgoing?.forEach(Re=>{Re.channelAlias=Re.channelId?.substring(0,17)+"...",Re.shortChannelId=""}));else N.incoming?.forEach(Z=>{Z.channelAlias=Z.channelId?.substring(0,17)+"...",Z.shortChannelId=""}),N.outgoing?.forEach(Z=>{Z.channelAlias=Z.channelId?.substring(0,17)+"...",Z.shortChannelId=""});const v=N.incoming?.reduce((Z,Re)=>Z+Re.amount,0)||0;N.amountIn=Math.round(v/1e3),N.fromChannelId=N.incoming&&N.incoming.length?N.incoming[0].channelId:"",N.fromChannelAlias=N.incoming&&N.incoming.length?N.incoming[0].channelAlias:"",N.fromShortChannelId=N.incoming&&N.incoming.length?N.incoming[0].shortChannelId:"";const U=N.outgoing?.reduce((Z,Re)=>Z+Re.amount,0)||0;N.amountOut=Math.round(U/1e3),N.toChannelId=N.outgoing&&N.outgoing.length?N.outgoing[0].channelId:"",N.toChannelAlias=N.outgoing&&N.outgoing.length?N.outgoing[0].channelAlias:"",N.toShortChannelId=N.outgoing&&N.outgoing.length?N.outgoing[0].shortChannelId:""}return N};let Hd=!1;(0,t.X6Q)()&&(Hd=!0);let qh=(()=>{class N{static#e=this.\u0275fac=function(U){return new(U||N)};static#t=this.\u0275mod=t.oAB({type:N,bootstrap:[Ld]});static#i=this.\u0275inj=t.cJS({providers:[us({idle:ce.k_-10,timeout:10,ping:12e3}),{provide:Ss.TP,useClass:Id,multi:!0},js.m,bs.D,Wh.d,Os.W,bn.v,_s],imports:[ts,Rh.m,Nh,Ha.xu,e.t6,zi.Aw.forRoot({root:Od,lnd:jh,cln:Kh,ecl:Qh},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),ko.sQ.forRoot([Mn.V,Sf.l,d0.J,Yh.o]),Hd?Fa.FT.instrument():[]]})}return N})();e.q6().bootstrapModule(qh).catch(N=>console.error(N))},9599:(Ue,q)=>{"use strict";function p(ue){return Object.keys(ue).map(xe=>ue[xe])}var ue;Object.defineProperty(q,"__esModule",{value:!0}),(ue=q.HashAlgorithms||(q.HashAlgorithms={})).SHA1="sha1",ue.SHA256="sha256",ue.SHA512="sha512";const e=p(q.HashAlgorithms);!function(ue){ue.ASCII="ascii",ue.BASE64="base64",ue.HEX="hex",ue.LATIN1="latin1",ue.UTF8="utf8"}(q.KeyEncodings||(q.KeyEncodings={}));const t=p(q.KeyEncodings);!function(ue){ue.HOTP="hotp",ue.TOTP="totp"}(q.Strategy||(q.Strategy={}));const g=p(q.Strategy),T=()=>{throw new Error("Please provide an options.createDigest implementation.")};function c(ue){return/^(\d+)$/.test(ue)}function C(ue,xe,Pe){return ue.length>=xe?ue:`${Array(xe+1).join(Pe)}${ue}`.slice(-1*xe)}function u(ue){const xe=`otpauth://${ue.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,Pe=[];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".');Pe.push(`&counter=${ue.counter}`)}return"totp"===ue.type&&ue.step&&Pe.push(`&period=${ue.step}`),ue.digits&&Pe.push(`&digits=${ue.digits}`),ue.algorithm&&Pe.push(`&algorithm=${ue.algorithm.toUpperCase()}`),ue.issuer&&Pe.push(`&issuer=${encodeURIComponent(ue.issuer)}`),xe.replace("{labelPrefix}",encodeURIComponent(ue.issuer||ue.accountName)).replace("{accountName}",encodeURIComponent(ue.accountName)).replace("{secret}",ue.secret).replace("{query}",Pe.join(""))}class P{constructor(xe={}){this._defaultOptions=Object.freeze({...xe}),this._options=Object.freeze({})}create(xe={}){return new P(xe)}clone(xe={}){const Pe=this.create({...this._defaultOptions,...xe});return Pe.options=this._options,Pe}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(xe){this._options=Object.freeze({...this._options,...xe})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function d(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||e.indexOf(ue.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${e.join(", ")}. Received ${ue.algorithm}.`);if(!ue.encoding||t.indexOf(ue.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${t.join(", ")}. Received ${ue.encoding}.`)}const S=(ue,xe,Pe)=>Buffer.from(xe,Pe).toString("hex");function M(){return{algorithm:q.HashAlgorithms.SHA1,createHmacKey:S,createDigest:T,digits:6,encoding:q.KeyEncodings.ASCII}}function I(ue){const xe={...M(),...ue};return d(xe),Object.freeze(xe)}function D(ue){return C(ue.toString(16),16,"0")}function R(ue,xe){const Pe=Buffer.from(ue,"hex"),oe=15&Pe[Pe.length-1],we=((127&Pe[oe])<<24|(255&Pe[oe+1])<<16|(255&Pe[oe+2])<<8|255&Pe[oe+3])%Math.pow(10,xe);return C(String(we),xe,"0")}function W(ue,xe,Pe){const oe=Pe.digest||function F(ue,xe,Pe){const oe=D(xe),ze=Pe.createHmacKey(Pe.algorithm,ue,Pe.encoding);return Pe.createDigest(Pe.algorithm,ze,oe)}(ue,xe,Pe);return R(oe,Pe.digits)}function Y(ue,xe,Pe,oe){return!!c(ue)&&ue===W(xe,Pe,oe)}function Q(ue,xe,Pe,oe,ze){return u({algorithm:ze.algorithm,digits:ze.digits,type:q.Strategy.HOTP,accountName:ue,counter:oe,issuer:xe,secret:Pe})}class J extends P{create(xe={}){return new J(xe)}allOptions(){return I(this.options)}generate(xe,Pe){return W(xe,Pe,this.allOptions())}check(xe,Pe,oe){return Y(xe,Pe,oe,this.allOptions())}verify(xe){if("object"!=typeof xe)throw new Error("Expecting argument 0 of verify to be an object");return this.check(xe.token,xe.secret,xe.counter)}keyuri(xe,Pe,oe,ze){return Q(xe,Pe,oe,ze,this.allOptions())}}function ne(ue){if("number"==typeof ue)return[Math.abs(ue),Math.abs(ue)];if(Array.isArray(ue)){const[xe,Pe]=ue;if("number"==typeof xe&&"number"==typeof Pe)return[Math.abs(xe),Math.abs(Pe)]}throw new Error("Expecting options.window to be an number or [number, number].")}function X(ue){if(d(ue),ne(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 pe=(ue,xe,Pe)=>{const oe=ue.length,ze=Buffer.from(ue,xe).toString("hex");if(oe<Pe){const we=new Array(Pe-oe+1).join(ze);return Buffer.from(we,"hex").slice(0,Pe).toString("hex")}return ze},ie=(ue,xe,Pe)=>{switch(ue){case q.HashAlgorithms.SHA1:return pe(xe,Pe,20);case q.HashAlgorithms.SHA256:return pe(xe,Pe,32);case q.HashAlgorithms.SHA512:return pe(xe,Pe,64);default:throw new Error(`Expecting algorithm to be one of ${e.join(", ")}. Received ${ue}.`)}};function de(){return{algorithm:q.HashAlgorithms.SHA1,createDigest:T,createHmacKey:ie,digits:6,encoding:q.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function te(ue){const xe={...de(),...ue};return X(xe),Object.freeze(xe)}function ae(ue,xe){return Math.floor(ue/xe/1e3)}function E(ue,xe){return W(ue,ae(xe.epoch,xe.step),xe)}function i(ue,xe,Pe,oe){const ze=[];if(0===oe)return ze;for(let we=1;we<=oe;we++)ze.push(ue+xe*we*Pe);return ze}function o(ue,xe,Pe){const oe=ne(Pe),ze=1e3*xe;return{current:ue,past:i(ue,-1,ze,oe[0]),future:i(ue,1,ze,oe[1])}}function m(ue,xe,Pe){return!!c(ue)&&ue===E(xe,Pe)}function l(ue,xe,Pe,oe){let ze=null;return ue.some((we,le)=>!!m(xe,Pe,{...oe,epoch:we})&&(ze=le+1,!0)),ze}function y(ue,xe,Pe){if(m(ue,xe,Pe))return 0;const oe=o(Pe.epoch,Pe.step,Pe.window),ze=l(oe.past,ue,xe,Pe);return null!==ze?-1*ze:l(oe.future,ue,xe,Pe)}function L(ue,xe){return Math.floor(ue/1e3)%xe}function O(ue,xe){return xe-L(ue,xe)}function b(ue,xe,Pe,oe){return u({algorithm:oe.algorithm,digits:oe.digits,step:oe.step,type:q.Strategy.TOTP,accountName:ue,issuer:xe,secret:Pe})}class n extends J{create(xe={}){return new n(xe)}allOptions(){return te(this.options)}generate(xe){return E(xe,this.allOptions())}checkDelta(xe,Pe){return y(xe,Pe,this.allOptions())}check(xe,Pe){return"number"==typeof this.checkDelta(xe,Pe)}verify(xe){if("object"!=typeof xe)throw new Error("Expecting argument 0 of verify to be an object");return this.check(xe.token,xe.secret)}timeRemaining(){const xe=this.allOptions();return O(xe.epoch,xe.step)}timeUsed(){const xe=this.allOptions();return L(xe.epoch,xe.step)}keyuri(xe,Pe,oe){return b(xe,Pe,oe,this.allOptions())}}function _(ue){if(X(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 H(){return{algorithm:q.HashAlgorithms.SHA1,createDigest:T,createHmacKey:ie,digits:6,encoding:q.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function V(ue){const xe={...H(),...ue};return _(xe),Object.freeze(xe)}function K(ue,xe){return xe.keyEncoder(ue,xe.encoding)}function se(ue,xe){return xe.keyDecoder(ue,xe.encoding)}function Ye(ue,xe){return K(xe.createRandomBytes(ue,xe.encoding),xe)}function Oe(ue,xe){return E(se(ue,xe),xe)}function Qe(ue,xe,Pe){return y(ue,se(xe,Pe),Pe)}class be extends n{create(xe={}){return new be(xe)}allOptions(){return V(this.options)}generate(xe){return Oe(xe,this.allOptions())}checkDelta(xe,Pe){return Qe(xe,Pe,this.allOptions())}encode(xe){return K(xe,this.allOptions())}decode(xe){return se(xe,this.allOptions())}generateSecret(xe=10){return Ye(xe,this.allOptions())}}q.Authenticator=be,q.HASH_ALGORITHMS=e,q.HOTP=J,q.KEY_ENCODINGS=t,q.OTP=P,q.STRATEGY=g,q.TOTP=n,q.authenticatorCheckWithWindow=Qe,q.authenticatorDecoder=se,q.authenticatorDefaultOptions=H,q.authenticatorEncoder=K,q.authenticatorGenerateSecret=Ye,q.authenticatorOptionValidator=_,q.authenticatorOptions=V,q.authenticatorToken=Oe,q.createDigestPlaceholder=T,q.hotpCheck=Y,q.hotpCounter=D,q.hotpCreateHmacKey=S,q.hotpDefaultOptions=M,q.hotpDigestToToken=R,q.hotpKeyuri=Q,q.hotpOptions=I,q.hotpOptionsValidator=d,q.hotpToken=W,q.isTokenValid=c,q.keyuri=u,q.objectValues=p,q.padStart=C,q.totpCheck=m,q.totpCheckByEpoch=l,q.totpCheckWithWindow=y,q.totpCounter=ae,q.totpCreateHmacKey=ie,q.totpDefaultOptions=de,q.totpEpochAvailable=o,q.totpKeyuri=b,q.totpOptions=te,q.totpOptionsValidator=X,q.totpPadSecret=pe,q.totpTimeRemaining=O,q.totpTimeUsed=L,q.totpToken=E},1239:(Ue,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var t=function e(c){return c&&"object"==typeof c&&"default"in c?c.default:c}(p(7903));q.createDigest=(c,C,u)=>t.createHmac(c,Buffer.from(C,"hex")).update(Buffer.from(u,"hex")).digest().toString("hex"),q.createRandomBytes=(c,C)=>t.randomBytes(c).toString(C)},3637:(Ue,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var t=function e(c){return c&&"object"==typeof c&&"default"in c?c.default:c}(p(5852));q.keyDecoder=(c,C)=>t.decode(c).toString(C),q.keyEncoder=(c,C)=>t.encode(Buffer.from(c,C).toString("ascii")).toString().replace(/=/g,"")},6981:(Ue,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var e=p(1239),t=p(3637),g=p(9599);const T=new g.HOTP({createDigest:e.createDigest}),c=new g.TOTP({createDigest:e.createDigest}),C=new g.Authenticator({createDigest:e.createDigest,createRandomBytes:e.createRandomBytes,keyDecoder:t.keyDecoder,keyEncoder:t.keyEncoder});q.authenticator=C,q.hotp=T,q.totp=c},7414:(Ue,q,p)=>{"use strict";const e=q;e.bignum=p(5047),e.define=p(302).define,e.base=p(510),e.constants=p(4155),e.decoders=p(1301),e.encoders=p(3693)},302:(Ue,q,p)=>{"use strict";const e=p(3693),t=p(1301),g=p(6698);function c(C,u){this.name=C,this.body=u,this.decoders={},this.encoders={}}q.define=function(u,P){return new c(u,P)},c.prototype._createNamed=function(u){const P=this.name;function d(S){this._initNamed(S,P)}return g(d,u),d.prototype._initNamed=function(M,I){u.call(this,M,I)},new d(this)},c.prototype._getDecoder=function(u){return this.decoders.hasOwnProperty(u=u||"der")||(this.decoders[u]=this._createNamed(t[u])),this.decoders[u]},c.prototype.decode=function(u,P,d){return this._getDecoder(P).decode(u,d)},c.prototype._getEncoder=function(u){return this.encoders.hasOwnProperty(u=u||"der")||(this.encoders[u]=this._createNamed(e[u])),this.encoders[u]},c.prototype.encode=function(u,P,d){return this._getEncoder(P).encode(u,d)}},5720:(Ue,q,p)=>{"use strict";const e=p(6698),t=p(5684).b,g=p(4179).Buffer;function T(C,u){t.call(this,u),g.isBuffer(C)?(this.base=C,this.offset=0,this.length=C.length):this.error("Input not Buffer")}function c(C,u){if(Array.isArray(C))this.length=0,this.value=C.map(function(P){return c.isEncoderBuffer(P)||(P=new c(P,u)),this.length+=P.length,P},this);else if("number"==typeof C){if(!(0<=C&&C<=255))return u.error("non-byte EncoderBuffer value");this.value=C,this.length=1}else if("string"==typeof C)this.value=C,this.length=g.byteLength(C);else{if(!g.isBuffer(C))return u.error("Unsupported type: "+typeof C);this.value=C,this.length=C.length}}e(T,t),q.C=T,T.isDecoderBuffer=function(u){return u instanceof T||"object"==typeof u&&g.isBuffer(u.base)&&"DecoderBuffer"===u.constructor.name&&"number"==typeof u.offset&&"number"==typeof u.length&&"function"==typeof u.save&&"function"==typeof u.restore&&"function"==typeof u.isEmpty&&"function"==typeof u.readUInt8&&"function"==typeof u.skip&&"function"==typeof u.raw},T.prototype.save=function(){return{offset:this.offset,reporter:t.prototype.save.call(this)}},T.prototype.restore=function(u){const P=new T(this.base);return P.offset=u.offset,P.length=this.offset,this.offset=u.offset,t.prototype.restore.call(this,u.reporter),P},T.prototype.isEmpty=function(){return this.offset===this.length},T.prototype.readUInt8=function(u){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(u||"DecoderBuffer overrun")},T.prototype.skip=function(u,P){if(!(this.offset+u<=this.length))return this.error(P||"DecoderBuffer overrun");const d=new T(this.base);return d._reporterState=this._reporterState,d.offset=this.offset,d.length=this.offset+u,this.offset+=u,d},T.prototype.raw=function(u){return this.base.slice(u?u.offset:this.offset,this.length)},q.R=c,c.isEncoderBuffer=function(u){return u instanceof c||"object"==typeof u&&"EncoderBuffer"===u.constructor.name&&"number"==typeof u.length&&"function"==typeof u.join},c.prototype.join=function(u,P){return u||(u=g.alloc(this.length)),P||(P=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(d){d.join(u,P),P+=d.length}):("number"==typeof this.value?u[P]=this.value:"string"==typeof this.value?u.write(this.value,P):g.isBuffer(this.value)&&this.value.copy(u,P),P+=this.length)),u}},510:(Ue,q,p)=>{"use strict";const e=q;e.Reporter=p(5684).b,e.DecoderBuffer=p(5720).C,e.EncoderBuffer=p(5720).R,e.Node=p(8533)},8533:(Ue,q,p)=>{"use strict";const e=p(5684).b,t=p(5720).R,g=p(5720).C,T=p(7798),c=["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(c);function P(S,M,I){const D={};this._baseState=D,D.name=I,D.enc=S,D.parent=M||null,D.children=null,D.tag=null,D.args=null,D.reverseArgs=null,D.choice=null,D.optional=!1,D.any=!1,D.obj=!1,D.use=null,D.useDecoder=null,D.key=null,D.default=null,D.explicit=null,D.implicit=null,D.contains=null,D.parent||(D.children=[],this._wrap())}Ue.exports=P;const d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];P.prototype.clone=function(){const M=this._baseState,I={};d.forEach(function(R){I[R]=M[R]});const D=new this.constructor(I.parent);return D._baseState=I,D},P.prototype._wrap=function(){const M=this._baseState;C.forEach(function(I){this[I]=function(){const R=new this.constructor(this);return M.children.push(R),R[I].apply(R,arguments)}},this)},P.prototype._init=function(M){const I=this._baseState;T(null===I.parent),M.call(this),I.children=I.children.filter(function(D){return D._baseState.parent===this},this),T.equal(I.children.length,1,"Root node can have only one child")},P.prototype._useArgs=function(M){const I=this._baseState,D=M.filter(function(R){return R instanceof this.constructor},this);M=M.filter(function(R){return!(R instanceof this.constructor)},this),0!==D.length&&(T(null===I.children),I.children=D,D.forEach(function(R){R._baseState.parent=this},this)),0!==M.length&&(T(null===I.args),I.args=M,I.reverseArgs=M.map(function(R){if("object"!=typeof R||R.constructor!==Object)return R;const F={};return Object.keys(R).forEach(function(W){W==(0|W)&&(W|=0),F[R[W]]=W}),F}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(S){P.prototype[S]=function(){throw new Error(S+" not implemented for encoding: "+this._baseState.enc)}}),c.forEach(function(S){P.prototype[S]=function(){const I=this._baseState,D=Array.prototype.slice.call(arguments);return T(null===I.tag),I.tag=S,this._useArgs(D),this}}),P.prototype.use=function(M){T(M);const I=this._baseState;return T(null===I.use),I.use=M,this},P.prototype.optional=function(){return this._baseState.optional=!0,this},P.prototype.def=function(M){const I=this._baseState;return T(null===I.default),I.default=M,I.optional=!0,this},P.prototype.explicit=function(M){const I=this._baseState;return T(null===I.explicit&&null===I.implicit),I.explicit=M,this},P.prototype.implicit=function(M){const I=this._baseState;return T(null===I.explicit&&null===I.implicit),I.implicit=M,this},P.prototype.obj=function(){const M=this._baseState,I=Array.prototype.slice.call(arguments);return M.obj=!0,0!==I.length&&this._useArgs(I),this},P.prototype.key=function(M){const I=this._baseState;return T(null===I.key),I.key=M,this},P.prototype.any=function(){return this._baseState.any=!0,this},P.prototype.choice=function(M){const I=this._baseState;return T(null===I.choice),I.choice=M,this._useArgs(Object.keys(M).map(function(D){return M[D]})),this},P.prototype.contains=function(M){const I=this._baseState;return T(null===I.use),I.contains=M,this},P.prototype._decode=function(M,I){const D=this._baseState;if(null===D.parent)return M.wrapResult(D.children[0]._decode(M,I));let Y,R=D.default,F=!0,W=null;if(null!==D.key&&(W=M.enterKey(D.key)),D.optional){let Q=null;if(null!==D.explicit?Q=D.explicit:null!==D.implicit?Q=D.implicit:null!==D.tag&&(Q=D.tag),null!==Q||D.any){if(F=this._peekTag(M,Q,D.any),M.isError(F))return F}else{const J=M.save();try{null===D.choice?this._decodeGeneric(D.tag,M,I):this._decodeChoice(M,I),F=!0}catch{F=!1}M.restore(J)}}if(D.obj&&F&&(Y=M.enterObject()),F){if(null!==D.explicit){const J=this._decodeTag(M,D.explicit);if(M.isError(J))return J;M=J}const Q=M.offset;if(null===D.use&&null===D.choice){let J;D.any&&(J=M.save());const ne=this._decodeTag(M,null!==D.implicit?D.implicit:D.tag,D.any);if(M.isError(ne))return ne;D.any?R=M.raw(J):M=ne}if(I&&I.track&&null!==D.tag&&I.track(M.path(),Q,M.length,"tagged"),I&&I.track&&null!==D.tag&&I.track(M.path(),M.offset,M.length,"content"),D.any||(R=null===D.choice?this._decodeGeneric(D.tag,M,I):this._decodeChoice(M,I)),M.isError(R))return R;if(!D.any&&null===D.choice&&null!==D.children&&D.children.forEach(function(ne){ne._decode(M,I)}),D.contains&&("octstr"===D.tag||"bitstr"===D.tag)){const J=new g(R);R=this._getUse(D.contains,M._reporterState.obj)._decode(J,I)}}return D.obj&&F&&(R=M.leaveObject(Y)),null===D.key||null===R&&!0!==F?null!==W&&M.exitKey(W):M.leaveKey(W,D.key,R),R},P.prototype._decodeGeneric=function(M,I,D){const R=this._baseState;return"seq"===M||"set"===M?null:"seqof"===M||"setof"===M?this._decodeList(I,M,R.args[0],D):/str$/.test(M)?this._decodeStr(I,M,D):"objid"===M&&R.args?this._decodeObjid(I,R.args[0],R.args[1],D):"objid"===M?this._decodeObjid(I,null,null,D):"gentime"===M||"utctime"===M?this._decodeTime(I,M,D):"null_"===M?this._decodeNull(I,D):"bool"===M?this._decodeBool(I,D):"objDesc"===M?this._decodeStr(I,M,D):"int"===M||"enum"===M?this._decodeInt(I,R.args&&R.args[0],D):null!==R.use?this._getUse(R.use,I._reporterState.obj)._decode(I,D):I.error("unknown tag: "+M)},P.prototype._getUse=function(M,I){const D=this._baseState;return D.useDecoder=this._use(M,I),T(null===D.useDecoder._baseState.parent),D.useDecoder=D.useDecoder._baseState.children[0],D.implicit!==D.useDecoder._baseState.implicit&&(D.useDecoder=D.useDecoder.clone(),D.useDecoder._baseState.implicit=D.implicit),D.useDecoder},P.prototype._decodeChoice=function(M,I){const D=this._baseState;let R=null,F=!1;return Object.keys(D.choice).some(function(W){const Y=M.save(),Q=D.choice[W];try{const J=Q._decode(M,I);if(M.isError(J))return!1;R={type:W,value:J},F=!0}catch{return M.restore(Y),!1}return!0},this),F?R:M.error("Choice not matched")},P.prototype._createEncoderBuffer=function(M){return new t(M,this.reporter)},P.prototype._encode=function(M,I,D){const R=this._baseState;if(null!==R.default&&R.default===M)return;const F=this._encodeValue(M,I,D);return void 0===F||this._skipDefault(F,I,D)?void 0:F},P.prototype._encodeValue=function(M,I,D){const R=this._baseState;if(null===R.parent)return R.children[0]._encode(M,I||new e);let F=null;if(this.reporter=I,R.optional&&void 0===M){if(null===R.default)return;M=R.default}let W=null,Y=!1;if(R.any)F=this._createEncoderBuffer(M);else if(R.choice)F=this._encodeChoice(M,I);else if(R.contains)W=this._getUse(R.contains,D)._encode(M,I),Y=!0;else if(R.children)W=R.children.map(function(Q){if("null_"===Q._baseState.tag)return Q._encode(null,I,M);if(null===Q._baseState.key)return I.error("Child should have a key");const J=I.enterKey(Q._baseState.key);if("object"!=typeof M)return I.error("Child expected, but input is not object");const ne=Q._encode(M[Q._baseState.key],I,M);return I.leaveKey(J),ne},this).filter(function(Q){return Q}),W=this._createEncoderBuffer(W);else if("seqof"===R.tag||"setof"===R.tag){if(!R.args||1!==R.args.length)return I.error("Too many args for : "+R.tag);if(!Array.isArray(M))return I.error("seqof/setof, but data is not Array");const Q=this.clone();Q._baseState.implicit=null,W=this._createEncoderBuffer(M.map(function(J){return this._getUse(this._baseState.args[0],M)._encode(J,I)},Q))}else null!==R.use?F=this._getUse(R.use,D)._encode(M,I):(W=this._encodePrimitive(R.tag,M),Y=!0);if(!R.any&&null===R.choice){const Q=null!==R.implicit?R.implicit:R.tag,J=null===R.implicit?"universal":"context";null===Q?null===R.use&&I.error("Tag could be omitted only for .use()"):null===R.use&&(F=this._encodeComposite(Q,Y,J,W))}return null!==R.explicit&&(F=this._encodeComposite(R.explicit,!1,"context",F)),F},P.prototype._encodeChoice=function(M,I){const D=this._baseState,R=D.choice[M.type];return R||T(!1,M.type+" not found in "+JSON.stringify(Object.keys(D.choice))),R._encode(M.value,I)},P.prototype._encodePrimitive=function(M,I){const D=this._baseState;if(/str$/.test(M))return this._encodeStr(I,M);if("objid"===M&&D.args)return this._encodeObjid(I,D.reverseArgs[0],D.args[1]);if("objid"===M)return this._encodeObjid(I,null,null);if("gentime"===M||"utctime"===M)return this._encodeTime(I,M);if("null_"===M)return this._encodeNull();if("int"===M||"enum"===M)return this._encodeInt(I,D.args&&D.reverseArgs[0]);if("bool"===M)return this._encodeBool(I);if("objDesc"===M)return this._encodeStr(I,M);throw new Error("Unsupported tag: "+M)},P.prototype._isNumstr=function(M){return/^[0-9 ]*$/.test(M)},P.prototype._isPrintstr=function(M){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(M)}},5684:(Ue,q,p)=>{"use strict";const e=p(6698);function t(T){this._reporterState={obj:null,path:[],options:T||{},errors:[]}}function g(T,c){this.path=T,this.rethrow(c)}q.b=t,t.prototype.isError=function(c){return c instanceof g},t.prototype.save=function(){const c=this._reporterState;return{obj:c.obj,pathLen:c.path.length}},t.prototype.restore=function(c){const C=this._reporterState;C.obj=c.obj,C.path=C.path.slice(0,c.pathLen)},t.prototype.enterKey=function(c){return this._reporterState.path.push(c)},t.prototype.exitKey=function(c){const C=this._reporterState;C.path=C.path.slice(0,c-1)},t.prototype.leaveKey=function(c,C,u){const P=this._reporterState;this.exitKey(c),null!==P.obj&&(P.obj[C]=u)},t.prototype.path=function(){return this._reporterState.path.join("/")},t.prototype.enterObject=function(){const c=this._reporterState,C=c.obj;return c.obj={},C},t.prototype.leaveObject=function(c){const C=this._reporterState,u=C.obj;return C.obj=c,u},t.prototype.error=function(c){let C;const u=this._reporterState,P=c instanceof g;if(C=P?c:new g(u.path.map(function(d){return"["+JSON.stringify(d)+"]"}).join(""),c.message||c,c.stack),!u.options.partial)throw C;return P||u.errors.push(C),C},t.prototype.wrapResult=function(c){const C=this._reporterState;return C.options.partial?{result:this.isError(c)?null:c,errors:C.errors}:c},e(g,Error),g.prototype.rethrow=function(c){if(this.message=c+" 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}},5086:(Ue,q)=>{"use strict";function p(e){const t={};return Object.keys(e).forEach(function(g){(0|g)==g&&(g|=0),t[e[g]]=g}),t}q.tagClass={0:"universal",1:"application",2:"context",3:"private"},q.tagClassByName=p(q.tagClass),q.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},q.tagByName=p(q.tag)},4155:(Ue,q,p)=>{"use strict";const e=q;e._reverse=function(g){const T={};return Object.keys(g).forEach(function(c){(0|c)==c&&(c|=0),T[g[c]]=c}),T},e.der=p(5086)},6835:(Ue,q,p)=>{"use strict";const e=p(6698),t=p(5047),g=p(5720).C,T=p(8533),c=p(5086);function C(S){this.enc="der",this.name=S.name,this.entity=S,this.tree=new u,this.tree._init(S.body)}function u(S){T.call(this,"der",S)}function P(S,M){let I=S.readUInt8(M);if(S.isError(I))return I;const D=c.tagClass[I>>6],R=0==(32&I);if(31==(31&I)){let W=I;for(I=0;128==(128&W);){if(W=S.readUInt8(M),S.isError(W))return W;I<<=7,I|=127&W}}else I&=31;return{cls:D,primitive:R,tag:I,tagStr:c.tag[I]}}function d(S,M,I){let D=S.readUInt8(I);if(S.isError(D))return D;if(!M&&128===D)return null;if(!(128&D))return D;const R=127&D;if(R>4)return S.error("length octect is too long");D=0;for(let F=0;F<R;F++){D<<=8;const W=S.readUInt8(I);if(S.isError(W))return W;D|=W}return D}Ue.exports=C,C.prototype.decode=function(M,I){return g.isDecoderBuffer(M)||(M=new g(M,I)),this.tree._decode(M,I)},e(u,T),u.prototype._peekTag=function(M,I,D){if(M.isEmpty())return!1;const R=M.save(),F=P(M,'Failed to peek tag: "'+I+'"');return M.isError(F)?F:(M.restore(R),F.tag===I||F.tagStr===I||F.tagStr+"of"===I||D)},u.prototype._decodeTag=function(M,I,D){const R=P(M,'Failed to decode tag of "'+I+'"');if(M.isError(R))return R;let F=d(M,R.primitive,'Failed to get length of "'+I+'"');if(M.isError(F))return F;if(!D&&R.tag!==I&&R.tagStr!==I&&R.tagStr+"of"!==I)return M.error('Failed to match tag: "'+I+'"');if(R.primitive||null!==F)return M.skip(F,'Failed to match body of: "'+I+'"');const W=M.save(),Y=this._skipUntilEnd(M,'Failed to skip indefinite length body: "'+this.tag+'"');return M.isError(Y)?Y:(F=M.offset-W.offset,M.restore(W),M.skip(F,'Failed to match body of: "'+I+'"'))},u.prototype._skipUntilEnd=function(M,I){for(;;){const D=P(M,I);if(M.isError(D))return D;const R=d(M,D.primitive,I);if(M.isError(R))return R;let F;if(F=D.primitive||null!==R?M.skip(R):this._skipUntilEnd(M,I),M.isError(F))return F;if("end"===D.tagStr)break}},u.prototype._decodeList=function(M,I,D,R){const F=[];for(;!M.isEmpty();){const W=this._peekTag(M,"end");if(M.isError(W))return W;const Y=D.decode(M,"der",R);if(M.isError(Y)&&W)break;F.push(Y)}return F},u.prototype._decodeStr=function(M,I){if("bitstr"===I){const D=M.readUInt8();return M.isError(D)?D:{unused:D,data:M.raw()}}if("bmpstr"===I){const D=M.raw();if(D.length%2==1)return M.error("Decoding of string type: bmpstr length mismatch");let R="";for(let F=0;F<D.length/2;F++)R+=String.fromCharCode(D.readUInt16BE(2*F));return R}if("numstr"===I){const D=M.raw().toString("ascii");return this._isNumstr(D)?D:M.error("Decoding of string type: numstr unsupported characters")}if("octstr"===I)return M.raw();if("objDesc"===I)return M.raw();if("printstr"===I){const D=M.raw().toString("ascii");return this._isPrintstr(D)?D:M.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(I)?M.raw().toString():M.error("Decoding of string type: "+I+" unsupported")},u.prototype._decodeObjid=function(M,I,D){let R;const F=[];let W=0,Y=0;for(;!M.isEmpty();)Y=M.readUInt8(),W<<=7,W|=127&Y,128&Y||(F.push(W),W=0);if(128&Y&&F.push(W),R=D?F:[F[0]/40|0,F[0]%40].concat(F.slice(1)),I){let ne=I[R.join(" ")];void 0===ne&&(ne=I[R.join(".")]),void 0!==ne&&(R=ne)}return R},u.prototype._decodeTime=function(M,I){const D=M.raw().toString();let R,F,W,Y,Q,J;if("gentime"===I)R=0|D.slice(0,4),F=0|D.slice(4,6),W=0|D.slice(6,8),Y=0|D.slice(8,10),Q=0|D.slice(10,12),J=0|D.slice(12,14);else{if("utctime"!==I)return M.error("Decoding "+I+" time is not supported yet");R=0|D.slice(0,2),F=0|D.slice(2,4),W=0|D.slice(4,6),Y=0|D.slice(6,8),Q=0|D.slice(8,10),J=0|D.slice(10,12),R=R<70?2e3+R:1900+R}return Date.UTC(R,F-1,W,Y,Q,J,0)},u.prototype._decodeNull=function(){return null},u.prototype._decodeBool=function(M){const I=M.readUInt8();return M.isError(I)?I:0!==I},u.prototype._decodeInt=function(M,I){const D=M.raw();let R=new t(D);return I&&(R=I[R.toString(10)]||R),R},u.prototype._use=function(M,I){return"function"==typeof M&&(M=M(I)),M._getDecoder("der").tree}},1301:(Ue,q,p)=>{"use strict";const e=q;e.der=p(6835),e.pem=p(2208)},2208:(Ue,q,p)=>{"use strict";const e=p(6698),t=p(4179).Buffer,g=p(6835);function T(c){g.call(this,c),this.enc="pem"}e(T,g),Ue.exports=T,T.prototype.decode=function(C,u){const P=C.toString().split(/[\r\n]+/g),d=u.label.toUpperCase(),S=/^-----(BEGIN|END) ([^-]+)-----$/;let M=-1,I=-1;for(let F=0;F<P.length;F++){const W=P[F].match(S);if(null!==W&&W[2]===d){if(-1!==M){if("END"!==W[1])break;I=F;break}if("BEGIN"!==W[1])break;M=F}}if(-1===M||-1===I)throw new Error("PEM section not found for: "+d);const D=P.slice(M+1,I).join("");D.replace(/[^a-z0-9+/=]+/gi,"");const R=t.from(D,"base64");return g.prototype.decode.call(this,R,u)}},9133:(Ue,q,p)=>{"use strict";const e=p(6698),t=p(4179).Buffer,g=p(8533),T=p(5086);function c(d){this.enc="der",this.name=d.name,this.entity=d,this.tree=new C,this.tree._init(d.body)}function C(d){g.call(this,"der",d)}function u(d){return d<10?"0"+d:d}Ue.exports=c,c.prototype.encode=function(S,M){return this.tree._encode(S,M).join()},e(C,g),C.prototype._encodeComposite=function(S,M,I,D){const R=function P(d,S,M,I){let D;if("seqof"===d?d="seq":"setof"===d&&(d="set"),T.tagByName.hasOwnProperty(d))D=T.tagByName[d];else{if("number"!=typeof d||(0|d)!==d)return I.error("Unknown tag: "+d);D=d}return D>=31?I.error("Multi-octet tag encoding unsupported"):(S||(D|=32),D|=T.tagClassByName[M||"universal"]<<6,D)}(S,M,I,this.reporter);if(D.length<128){const Y=t.alloc(2);return Y[0]=R,Y[1]=D.length,this._createEncoderBuffer([Y,D])}let F=1;for(let Y=D.length;Y>=256;Y>>=8)F++;const W=t.alloc(2+F);W[0]=R,W[1]=128|F;for(let Y=1+F,Q=D.length;Q>0;Y--,Q>>=8)W[Y]=255&Q;return this._createEncoderBuffer([W,D])},C.prototype._encodeStr=function(S,M){if("bitstr"===M)return this._createEncoderBuffer([0|S.unused,S.data]);if("bmpstr"===M){const I=t.alloc(2*S.length);for(let D=0;D<S.length;D++)I.writeUInt16BE(S.charCodeAt(D),2*D);return this._createEncoderBuffer(I)}return"numstr"===M?this._isNumstr(S)?this._createEncoderBuffer(S):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===M?this._isPrintstr(S)?this._createEncoderBuffer(S):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(M)||"objDesc"===M?this._createEncoderBuffer(S):this.reporter.error("Encoding of string type: "+M+" unsupported")},C.prototype._encodeObjid=function(S,M,I){if("string"==typeof S){if(!M)return this.reporter.error("string objid given, but no values map found");if(!M.hasOwnProperty(S))return this.reporter.error("objid not found in values map");S=M[S].split(/[\s.]+/g);for(let W=0;W<S.length;W++)S[W]|=0}else if(Array.isArray(S)){S=S.slice();for(let W=0;W<S.length;W++)S[W]|=0}if(!Array.isArray(S))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(S));if(!I){if(S[1]>=40)return this.reporter.error("Second objid identifier OOB");S.splice(0,2,40*S[0]+S[1])}let D=0;for(let W=0;W<S.length;W++){let Y=S[W];for(D++;Y>=128;Y>>=7)D++}const R=t.alloc(D);let F=R.length-1;for(let W=S.length-1;W>=0;W--){let Y=S[W];for(R[F--]=127&Y;(Y>>=7)>0;)R[F--]=128|127&Y}return this._createEncoderBuffer(R)},C.prototype._encodeTime=function(S,M){let I;const D=new Date(S);return"gentime"===M?I=[u(D.getUTCFullYear()),u(D.getUTCMonth()+1),u(D.getUTCDate()),u(D.getUTCHours()),u(D.getUTCMinutes()),u(D.getUTCSeconds()),"Z"].join(""):"utctime"===M?I=[u(D.getUTCFullYear()%100),u(D.getUTCMonth()+1),u(D.getUTCDate()),u(D.getUTCHours()),u(D.getUTCMinutes()),u(D.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+M+" time is not supported yet"),this._encodeStr(I,"octstr")},C.prototype._encodeNull=function(){return this._createEncoderBuffer("")},C.prototype._encodeInt=function(S,M){if("string"==typeof S){if(!M)return this.reporter.error("String int or enum given, but no values map");if(!M.hasOwnProperty(S))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(S));S=M[S]}if("number"!=typeof S&&!t.isBuffer(S)){const R=S.toArray();!S.sign&&128&R[0]&&R.unshift(0),S=t.from(R)}if(t.isBuffer(S)){let R=S.length;0===S.length&&R++;const F=t.alloc(R);return S.copy(F),0===S.length&&(F[0]=0),this._createEncoderBuffer(F)}if(S<128)return this._createEncoderBuffer(S);if(S<256)return this._createEncoderBuffer([0,S]);let I=1;for(let R=S;R>=256;R>>=8)I++;const D=new Array(I);for(let R=D.length-1;R>=0;R--)D[R]=255&S,S>>=8;return 128&D[0]&&D.unshift(0),this._createEncoderBuffer(t.from(D))},C.prototype._encodeBool=function(S){return this._createEncoderBuffer(S?255:0)},C.prototype._use=function(S,M){return"function"==typeof S&&(S=S(M)),S._getEncoder("der").tree},C.prototype._skipDefault=function(S,M,I){const D=this._baseState;let R;if(null===D.default)return!1;const F=S.join();if(void 0===D.defaultBuffer&&(D.defaultBuffer=this._encodeValue(D.default,M,I).join()),F.length!==D.defaultBuffer.length)return!1;for(R=0;R<F.length;R++)if(F[R]!==D.defaultBuffer[R])return!1;return!0}},3693:(Ue,q,p)=>{"use strict";const e=q;e.der=p(9133),e.pem=p(7900)},7900:(Ue,q,p)=>{"use strict";const e=p(6698),t=p(9133);function g(T){t.call(this,T),this.enc="pem"}e(g,t),Ue.exports=g,g.prototype.encode=function(c,C){const P=t.prototype.encode.call(this,c).toString("base64"),d=["-----BEGIN "+C.label+"-----"];for(let S=0;S<P.length;S+=64)d.push(P.slice(S,S+64));return d.push("-----END "+C.label+"-----"),d.join("\n")}},5047:function(Ue,q,p){!function(e,t){"use strict";function g(E,i){if(!E)throw new Error(i||"Assertion failed")}function T(E,i){E.super_=i;var o=function(){};o.prototype=i.prototype,E.prototype=new o,E.prototype.constructor=E}function c(E,i,o){if(c.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,null!==E&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(E||0,i||10,o||"be"))}var C;"object"==typeof e?e.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(950).Buffer}catch{}function u(E,i){var o=E.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(E,i,o){var m=u(E,o);return o-1>=i&&(m|=u(E,o-1)<<4),m}function d(E,i,o,m){for(var l=0,y=Math.min(E.length,o),L=i;L<y;L++){var O=E.charCodeAt(L)-48;l*=m,l+=O>=49?O-49+10:O>=17?O-17+10:O}return l}c.isBN=function(i){return i instanceof c||null!==i&&"object"==typeof i&&i.constructor.wordSize===c.wordSize&&Array.isArray(i.words)},c.max=function(i,o){return i.cmp(o)>0?i:o},c.min=function(i,o){return i.cmp(o)<0?i:o},c.prototype._init=function(i,o,m){if("number"==typeof i)return this._initNumber(i,o,m);if("object"==typeof i)return this._initArray(i,o,m);"hex"===o&&(o=16),g(o===(0|o)&&o>=2&&o<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===o?this._parseHex(i,l,m):(this._parseBase(i,o,l),"le"===m&&this._initArray(this.toArray(),o,m)))},c.prototype._initNumber=function(i,o,m){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"===m&&this._initArray(this.toArray(),o,m)},c.prototype._initArray=function(i,o,m){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 l=0;l<this.length;l++)this.words[l]=0;var y,L,O=0;if("be"===m)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(L=i[l]|i[l-1]<<8|i[l-2]<<16)<<O&67108863,this.words[y+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,y++);else if("le"===m)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(L=i[l]|i[l+1]<<8|i[l+2]<<16)<<O&67108863,this.words[y+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,y++);return this.strip()},c.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var O,y=0,L=0;if("be"===m)for(l=i.length-1;l>=o;l-=2)O=P(i,o,l)<<y,this.words[L]|=67108863&O,y>=18?(y-=18,this.words[L+=1]|=O>>>26):y+=8;else for(l=(i.length-o)%2==0?o+1:o;l<i.length;l+=2)O=P(i,o,l)<<y,this.words[L]|=67108863&O,y>=18?(y-=18,this.words[L+=1]|=O>>>26):y+=8;this.strip()},c.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=o)l++;l--,y=y/o|0;for(var L=i.length-m,O=L%l,b=Math.min(L,L-O)+m,n=0,_=m;_<b;_+=l)n=d(i,_,_+l,o),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==O){var H=1;for(n=d(i,_,i.length,o),_=0;_<O;_++)H*=o;this.imuln(H),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},c.prototype.copy=function(i){i.words=new Array(this.length);for(var o=0;o<this.length;o++)i.words[o]=this.words[o];i.length=this.length,i.negative=this.negative,i.red=this.red},c.prototype.clone=function(){var i=new c(null);return this.copy(i),i},c.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},c.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function R(E,i,o){o.negative=i.negative^E.negative;var m=E.length+i.length|0;o.length=m,m=m-1|0;var l=0|E.words[0],y=0|i.words[0],L=l*y,b=L/67108864|0;o.words[0]=67108863&L;for(var n=1;n<m;n++){for(var _=b>>>26,H=67108863&b,V=Math.min(n,i.length-1),K=Math.max(0,n-E.length+1);K<=V;K++)_+=(L=(l=0|E.words[n-K|0])*(y=0|i.words[K])+H)/67108864|0,H=67108863&L;o.words[n]=0|H,b=0|_}return 0!==b?o.words[n]=0|b:o.length--,o.strip()}c.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var l=0,y=0,L=0;L<this.length;L++){var O=this.words[L],b=(16777215&(O<<l|y)).toString(16);m=0!=(y=O>>>24-l&16777215)||L!==this.length-1?S[6-b.length]+b+m:b+m,(l+=2)>=26&&(l-=26,L--)}for(0!==y&&(m=y.toString(16)+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(i===(0|i)&&i>=2&&i<=36){var n=M[i],_=I[i];m="";var H=this.clone();for(H.negative=0;!H.isZero();){var V=H.modn(_).toString(i);m=(H=H.idivn(_)).isZero()?V+m:S[n-V.length]+V+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}g(!1,"Base should be between 2 and 36")},c.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},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(i,o){return g(typeof C<"u"),this.toArrayLike(C,i,o)},c.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},c.prototype.toArrayLike=function(i,o,m){var l=this.byteLength(),y=m||Math.max(1,l);g(l<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var b,n,L="le"===o,O=new i(y),_=this.clone();if(L){for(n=0;!_.isZero();n++)b=_.andln(255),_.iushrn(8),O[n]=b;for(;n<y;n++)O[n]=0}else{for(n=0;n<y-l;n++)O[n]=0;for(n=0;!_.isZero();n++)b=_.andln(255),_.iushrn(8),O[y-n-1]=b}return O},c.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var o=i,m=0;return o>=4096&&(m+=13,o>>>=13),o>=64&&(m+=7,o>>>=7),o>=8&&(m+=4,o>>>=4),o>=2&&(m+=2,o>>>=2),m+o},c.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 8191&o||(m+=13,o>>>=13),127&o||(m+=7,o>>>=7),15&o||(m+=4,o>>>=4),3&o||(m+=2,o>>>=2),1&o||m++,m},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,o=0;o<this.length;o++){var m=this._zeroBits(this.words[o]);if(i+=m,26!==m)break}return i},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},c.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var o=0;o<i.length;o++)this.words[o]=this.words[o]|i.words[o];return this.strip()},c.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},c.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},c.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},c.prototype.iuand=function(i){var o;o=this.length>i.length?i:this;for(var m=0;m<o.length;m++)this.words[m]=this.words[m]&i.words[m];return this.length=o.length,this.strip()},c.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},c.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},c.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},c.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var l=0;l<m.length;l++)this.words[l]=o.words[l]^m.words[l];if(this!==o)for(;l<o.length;l++)this.words[l]=o.words[l];return this.length=o.length,this.strip()},c.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},c.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},c.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},c.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var l=0;l<o;l++)this.words[l]=67108863&~this.words[l];return m>0&&(this.words[l]=~this.words[l]&67108863>>26-m),this.strip()},c.prototype.notn=function(i){return this.clone().inotn(i)},c.prototype.setn=function(i,o){g("number"==typeof i&&i>=0);var m=i/26|0,l=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<l:this.words[m]&~(1<<l),this.strip()},c.prototype.iadd=function(i){var o,m,l;if(0!==this.negative&&0===i.negative)return this.negative=0,o=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,o=this.isub(i),i.negative=1,o._normSign();this.length>i.length?(m=this,l=i):(m=i,l=this);for(var y=0,L=0;L<l.length;L++)this.words[L]=67108863&(o=(0|m.words[L])+(0|l.words[L])+y),y=o>>>26;for(;0!==y&&L<m.length;L++)this.words[L]=67108863&(o=(0|m.words[L])+y),y=o>>>26;if(this.length=m.length,0!==y)this.words[this.length]=y,this.length++;else if(m!==this)for(;L<m.length;L++)this.words[L]=m.words[L];return this},c.prototype.add=function(i){var o;return 0!==i.negative&&0===this.negative?(i.negative=0,o=this.sub(i),i.negative^=1,o):0===i.negative&&0!==this.negative?(this.negative=0,o=i.sub(this),this.negative=1,o):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},c.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var o=this.iadd(i);return i.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(l=this,y=i):(l=i,y=this);for(var L=0,O=0;O<y.length;O++)L=(o=(0|l.words[O])-(0|y.words[O])+L)>>26,this.words[O]=67108863&o;for(;0!==L&&O<l.length;O++)L=(o=(0|l.words[O])+L)>>26,this.words[O]=67108863&o;if(0===L&&O<l.length&&l!==this)for(;O<l.length;O++)this.words[O]=l.words[O];return this.length=Math.max(this.length,O),l!==this&&(this.negative=1),this.strip()},c.prototype.sub=function(i){return this.clone().isub(i)};var F=function(i,o,m){var b,n,_,l=i.words,y=o.words,L=m.words,O=0,H=0|l[0],V=8191&H,K=H>>>13,se=0|l[1],Ye=8191&se,Oe=se>>>13,Qe=0|l[2],be=8191&Qe,ue=Qe>>>13,xe=0|l[3],Pe=8191&xe,oe=xe>>>13,ze=0|l[4],we=8191&ze,le=ze>>>13,ge=0|l[5],fe=8191&ge,Ge=ge>>>13,Le=0|l[6],Ne=8191&Le,Ve=Le>>>13,at=0|l[7],ve=8191&at,De=at>>>13,xt=0|l[8],ct=8191&xt,et=xt>>>13,Ct=0|l[9],ke=8191&Ct,ot=Ct>>>13,Je=0|y[0],re=8191&Je,Be=Je>>>13,Nt=0|y[1],Ke=8191&Nt,yt=Nt>>>13,kt=0|y[2],Dt=8191&kt,Rt=kt>>>13,pt=0|y[3],vt=8191&pt,Te=pt>>>13,tt=0|y[4],Ze=8191&tt,Mt=tt>>>13,oi=0|y[5],Tt=8191&oi,mt=oi>>>13,he=0|y[6],ee=8191&he,Ce=he>>>13,At=0|y[7],Lt=8191&At,jt=At>>>13,Zt=0|y[8],Kt=8191&Zt,Xe=Zt>>>13,Bt=0|y[9],qe=8191&Bt,nt=Bt>>>13;m.negative=i.negative^o.negative,m.length=19;var Wt=(O+(b=Math.imul(V,re))|0)+((8191&(n=(n=Math.imul(V,Be))+Math.imul(K,re)|0))<<13)|0;O=((_=Math.imul(K,Be))+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,b=Math.imul(Ye,re),n=(n=Math.imul(Ye,Be))+Math.imul(Oe,re)|0,_=Math.imul(Oe,Be);var si=(O+(b=b+Math.imul(V,Ke)|0)|0)+((8191&(n=(n=n+Math.imul(V,yt)|0)+Math.imul(K,Ke)|0))<<13)|0;O=((_=_+Math.imul(K,yt)|0)+(n>>>13)|0)+(si>>>26)|0,si&=67108863,b=Math.imul(be,re),n=(n=Math.imul(be,Be))+Math.imul(ue,re)|0,_=Math.imul(ue,Be),b=b+Math.imul(Ye,Ke)|0,n=(n=n+Math.imul(Ye,yt)|0)+Math.imul(Oe,Ke)|0,_=_+Math.imul(Oe,yt)|0;var li=(O+(b=b+Math.imul(V,Dt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Rt)|0)+Math.imul(K,Dt)|0))<<13)|0;O=((_=_+Math.imul(K,Rt)|0)+(n>>>13)|0)+(li>>>26)|0,li&=67108863,b=Math.imul(Pe,re),n=(n=Math.imul(Pe,Be))+Math.imul(oe,re)|0,_=Math.imul(oe,Be),b=b+Math.imul(be,Ke)|0,n=(n=n+Math.imul(be,yt)|0)+Math.imul(ue,Ke)|0,_=_+Math.imul(ue,yt)|0,b=b+Math.imul(Ye,Dt)|0,n=(n=n+Math.imul(Ye,Rt)|0)+Math.imul(Oe,Dt)|0,_=_+Math.imul(Oe,Rt)|0;var xi=(O+(b=b+Math.imul(V,vt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Te)|0)+Math.imul(K,vt)|0))<<13)|0;O=((_=_+Math.imul(K,Te)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,b=Math.imul(we,re),n=(n=Math.imul(we,Be))+Math.imul(le,re)|0,_=Math.imul(le,Be),b=b+Math.imul(Pe,Ke)|0,n=(n=n+Math.imul(Pe,yt)|0)+Math.imul(oe,Ke)|0,_=_+Math.imul(oe,yt)|0,b=b+Math.imul(be,Dt)|0,n=(n=n+Math.imul(be,Rt)|0)+Math.imul(ue,Dt)|0,_=_+Math.imul(ue,Rt)|0,b=b+Math.imul(Ye,vt)|0,n=(n=n+Math.imul(Ye,Te)|0)+Math.imul(Oe,vt)|0,_=_+Math.imul(Oe,Te)|0;var Ut=(O+(b=b+Math.imul(V,Ze)|0)|0)+((8191&(n=(n=n+Math.imul(V,Mt)|0)+Math.imul(K,Ze)|0))<<13)|0;O=((_=_+Math.imul(K,Mt)|0)+(n>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,b=Math.imul(fe,re),n=(n=Math.imul(fe,Be))+Math.imul(Ge,re)|0,_=Math.imul(Ge,Be),b=b+Math.imul(we,Ke)|0,n=(n=n+Math.imul(we,yt)|0)+Math.imul(le,Ke)|0,_=_+Math.imul(le,yt)|0,b=b+Math.imul(Pe,Dt)|0,n=(n=n+Math.imul(Pe,Rt)|0)+Math.imul(oe,Dt)|0,_=_+Math.imul(oe,Rt)|0,b=b+Math.imul(be,vt)|0,n=(n=n+Math.imul(be,Te)|0)+Math.imul(ue,vt)|0,_=_+Math.imul(ue,Te)|0,b=b+Math.imul(Ye,Ze)|0,n=(n=n+Math.imul(Ye,Mt)|0)+Math.imul(Oe,Ze)|0,_=_+Math.imul(Oe,Mt)|0;var bt=(O+(b=b+Math.imul(V,Tt)|0)|0)+((8191&(n=(n=n+Math.imul(V,mt)|0)+Math.imul(K,Tt)|0))<<13)|0;O=((_=_+Math.imul(K,mt)|0)+(n>>>13)|0)+(bt>>>26)|0,bt&=67108863,b=Math.imul(Ne,re),n=(n=Math.imul(Ne,Be))+Math.imul(Ve,re)|0,_=Math.imul(Ve,Be),b=b+Math.imul(fe,Ke)|0,n=(n=n+Math.imul(fe,yt)|0)+Math.imul(Ge,Ke)|0,_=_+Math.imul(Ge,yt)|0,b=b+Math.imul(we,Dt)|0,n=(n=n+Math.imul(we,Rt)|0)+Math.imul(le,Dt)|0,_=_+Math.imul(le,Rt)|0,b=b+Math.imul(Pe,vt)|0,n=(n=n+Math.imul(Pe,Te)|0)+Math.imul(oe,vt)|0,_=_+Math.imul(oe,Te)|0,b=b+Math.imul(be,Ze)|0,n=(n=n+Math.imul(be,Mt)|0)+Math.imul(ue,Ze)|0,_=_+Math.imul(ue,Mt)|0,b=b+Math.imul(Ye,Tt)|0,n=(n=n+Math.imul(Ye,mt)|0)+Math.imul(Oe,Tt)|0,_=_+Math.imul(Oe,mt)|0;var $e=(O+(b=b+Math.imul(V,ee)|0)|0)+((8191&(n=(n=n+Math.imul(V,Ce)|0)+Math.imul(K,ee)|0))<<13)|0;O=((_=_+Math.imul(K,Ce)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,b=Math.imul(ve,re),n=(n=Math.imul(ve,Be))+Math.imul(De,re)|0,_=Math.imul(De,Be),b=b+Math.imul(Ne,Ke)|0,n=(n=n+Math.imul(Ne,yt)|0)+Math.imul(Ve,Ke)|0,_=_+Math.imul(Ve,yt)|0,b=b+Math.imul(fe,Dt)|0,n=(n=n+Math.imul(fe,Rt)|0)+Math.imul(Ge,Dt)|0,_=_+Math.imul(Ge,Rt)|0,b=b+Math.imul(we,vt)|0,n=(n=n+Math.imul(we,Te)|0)+Math.imul(le,vt)|0,_=_+Math.imul(le,Te)|0,b=b+Math.imul(Pe,Ze)|0,n=(n=n+Math.imul(Pe,Mt)|0)+Math.imul(oe,Ze)|0,_=_+Math.imul(oe,Mt)|0,b=b+Math.imul(be,Tt)|0,n=(n=n+Math.imul(be,mt)|0)+Math.imul(ue,Tt)|0,_=_+Math.imul(ue,mt)|0,b=b+Math.imul(Ye,ee)|0,n=(n=n+Math.imul(Ye,Ce)|0)+Math.imul(Oe,ee)|0,_=_+Math.imul(Oe,Ce)|0;var ut=(O+(b=b+Math.imul(V,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(V,jt)|0)+Math.imul(K,Lt)|0))<<13)|0;O=((_=_+Math.imul(K,jt)|0)+(n>>>13)|0)+(ut>>>26)|0,ut&=67108863,b=Math.imul(ct,re),n=(n=Math.imul(ct,Be))+Math.imul(et,re)|0,_=Math.imul(et,Be),b=b+Math.imul(ve,Ke)|0,n=(n=n+Math.imul(ve,yt)|0)+Math.imul(De,Ke)|0,_=_+Math.imul(De,yt)|0,b=b+Math.imul(Ne,Dt)|0,n=(n=n+Math.imul(Ne,Rt)|0)+Math.imul(Ve,Dt)|0,_=_+Math.imul(Ve,Rt)|0,b=b+Math.imul(fe,vt)|0,n=(n=n+Math.imul(fe,Te)|0)+Math.imul(Ge,vt)|0,_=_+Math.imul(Ge,Te)|0,b=b+Math.imul(we,Ze)|0,n=(n=n+Math.imul(we,Mt)|0)+Math.imul(le,Ze)|0,_=_+Math.imul(le,Mt)|0,b=b+Math.imul(Pe,Tt)|0,n=(n=n+Math.imul(Pe,mt)|0)+Math.imul(oe,Tt)|0,_=_+Math.imul(oe,mt)|0,b=b+Math.imul(be,ee)|0,n=(n=n+Math.imul(be,Ce)|0)+Math.imul(ue,ee)|0,_=_+Math.imul(ue,Ce)|0,b=b+Math.imul(Ye,Lt)|0,n=(n=n+Math.imul(Ye,jt)|0)+Math.imul(Oe,Lt)|0,_=_+Math.imul(Oe,jt)|0;var Et=(O+(b=b+Math.imul(V,Kt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Xe)|0)+Math.imul(K,Kt)|0))<<13)|0;O=((_=_+Math.imul(K,Xe)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863,b=Math.imul(ke,re),n=(n=Math.imul(ke,Be))+Math.imul(ot,re)|0,_=Math.imul(ot,Be),b=b+Math.imul(ct,Ke)|0,n=(n=n+Math.imul(ct,yt)|0)+Math.imul(et,Ke)|0,_=_+Math.imul(et,yt)|0,b=b+Math.imul(ve,Dt)|0,n=(n=n+Math.imul(ve,Rt)|0)+Math.imul(De,Dt)|0,_=_+Math.imul(De,Rt)|0,b=b+Math.imul(Ne,vt)|0,n=(n=n+Math.imul(Ne,Te)|0)+Math.imul(Ve,vt)|0,_=_+Math.imul(Ve,Te)|0,b=b+Math.imul(fe,Ze)|0,n=(n=n+Math.imul(fe,Mt)|0)+Math.imul(Ge,Ze)|0,_=_+Math.imul(Ge,Mt)|0,b=b+Math.imul(we,Tt)|0,n=(n=n+Math.imul(we,mt)|0)+Math.imul(le,Tt)|0,_=_+Math.imul(le,mt)|0,b=b+Math.imul(Pe,ee)|0,n=(n=n+Math.imul(Pe,Ce)|0)+Math.imul(oe,ee)|0,_=_+Math.imul(oe,Ce)|0,b=b+Math.imul(be,Lt)|0,n=(n=n+Math.imul(be,jt)|0)+Math.imul(ue,Lt)|0,_=_+Math.imul(ue,jt)|0,b=b+Math.imul(Ye,Kt)|0,n=(n=n+Math.imul(Ye,Xe)|0)+Math.imul(Oe,Kt)|0,_=_+Math.imul(Oe,Xe)|0;var qt=(O+(b=b+Math.imul(V,qe)|0)|0)+((8191&(n=(n=n+Math.imul(V,nt)|0)+Math.imul(K,qe)|0))<<13)|0;O=((_=_+Math.imul(K,nt)|0)+(n>>>13)|0)+(qt>>>26)|0,qt&=67108863,b=Math.imul(ke,Ke),n=(n=Math.imul(ke,yt))+Math.imul(ot,Ke)|0,_=Math.imul(ot,yt),b=b+Math.imul(ct,Dt)|0,n=(n=n+Math.imul(ct,Rt)|0)+Math.imul(et,Dt)|0,_=_+Math.imul(et,Rt)|0,b=b+Math.imul(ve,vt)|0,n=(n=n+Math.imul(ve,Te)|0)+Math.imul(De,vt)|0,_=_+Math.imul(De,Te)|0,b=b+Math.imul(Ne,Ze)|0,n=(n=n+Math.imul(Ne,Mt)|0)+Math.imul(Ve,Ze)|0,_=_+Math.imul(Ve,Mt)|0,b=b+Math.imul(fe,Tt)|0,n=(n=n+Math.imul(fe,mt)|0)+Math.imul(Ge,Tt)|0,_=_+Math.imul(Ge,mt)|0,b=b+Math.imul(we,ee)|0,n=(n=n+Math.imul(we,Ce)|0)+Math.imul(le,ee)|0,_=_+Math.imul(le,Ce)|0,b=b+Math.imul(Pe,Lt)|0,n=(n=n+Math.imul(Pe,jt)|0)+Math.imul(oe,Lt)|0,_=_+Math.imul(oe,jt)|0,b=b+Math.imul(be,Kt)|0,n=(n=n+Math.imul(be,Xe)|0)+Math.imul(ue,Kt)|0,_=_+Math.imul(ue,Xe)|0;var pi=(O+(b=b+Math.imul(Ye,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ye,nt)|0)+Math.imul(Oe,qe)|0))<<13)|0;O=((_=_+Math.imul(Oe,nt)|0)+(n>>>13)|0)+(pi>>>26)|0,pi&=67108863,b=Math.imul(ke,Dt),n=(n=Math.imul(ke,Rt))+Math.imul(ot,Dt)|0,_=Math.imul(ot,Rt),b=b+Math.imul(ct,vt)|0,n=(n=n+Math.imul(ct,Te)|0)+Math.imul(et,vt)|0,_=_+Math.imul(et,Te)|0,b=b+Math.imul(ve,Ze)|0,n=(n=n+Math.imul(ve,Mt)|0)+Math.imul(De,Ze)|0,_=_+Math.imul(De,Mt)|0,b=b+Math.imul(Ne,Tt)|0,n=(n=n+Math.imul(Ne,mt)|0)+Math.imul(Ve,Tt)|0,_=_+Math.imul(Ve,mt)|0,b=b+Math.imul(fe,ee)|0,n=(n=n+Math.imul(fe,Ce)|0)+Math.imul(Ge,ee)|0,_=_+Math.imul(Ge,Ce)|0,b=b+Math.imul(we,Lt)|0,n=(n=n+Math.imul(we,jt)|0)+Math.imul(le,Lt)|0,_=_+Math.imul(le,jt)|0,b=b+Math.imul(Pe,Kt)|0,n=(n=n+Math.imul(Pe,Xe)|0)+Math.imul(oe,Kt)|0,_=_+Math.imul(oe,Xe)|0;var Si=(O+(b=b+Math.imul(be,qe)|0)|0)+((8191&(n=(n=n+Math.imul(be,nt)|0)+Math.imul(ue,qe)|0))<<13)|0;O=((_=_+Math.imul(ue,nt)|0)+(n>>>13)|0)+(Si>>>26)|0,Si&=67108863,b=Math.imul(ke,vt),n=(n=Math.imul(ke,Te))+Math.imul(ot,vt)|0,_=Math.imul(ot,Te),b=b+Math.imul(ct,Ze)|0,n=(n=n+Math.imul(ct,Mt)|0)+Math.imul(et,Ze)|0,_=_+Math.imul(et,Mt)|0,b=b+Math.imul(ve,Tt)|0,n=(n=n+Math.imul(ve,mt)|0)+Math.imul(De,Tt)|0,_=_+Math.imul(De,mt)|0,b=b+Math.imul(Ne,ee)|0,n=(n=n+Math.imul(Ne,Ce)|0)+Math.imul(Ve,ee)|0,_=_+Math.imul(Ve,Ce)|0,b=b+Math.imul(fe,Lt)|0,n=(n=n+Math.imul(fe,jt)|0)+Math.imul(Ge,Lt)|0,_=_+Math.imul(Ge,jt)|0,b=b+Math.imul(we,Kt)|0,n=(n=n+Math.imul(we,Xe)|0)+Math.imul(le,Kt)|0,_=_+Math.imul(le,Xe)|0;var Fi=(O+(b=b+Math.imul(Pe,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Pe,nt)|0)+Math.imul(oe,qe)|0))<<13)|0;O=((_=_+Math.imul(oe,nt)|0)+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,b=Math.imul(ke,Ze),n=(n=Math.imul(ke,Mt))+Math.imul(ot,Ze)|0,_=Math.imul(ot,Mt),b=b+Math.imul(ct,Tt)|0,n=(n=n+Math.imul(ct,mt)|0)+Math.imul(et,Tt)|0,_=_+Math.imul(et,mt)|0,b=b+Math.imul(ve,ee)|0,n=(n=n+Math.imul(ve,Ce)|0)+Math.imul(De,ee)|0,_=_+Math.imul(De,Ce)|0,b=b+Math.imul(Ne,Lt)|0,n=(n=n+Math.imul(Ne,jt)|0)+Math.imul(Ve,Lt)|0,_=_+Math.imul(Ve,jt)|0,b=b+Math.imul(fe,Kt)|0,n=(n=n+Math.imul(fe,Xe)|0)+Math.imul(Ge,Kt)|0,_=_+Math.imul(Ge,Xe)|0;var Ri=(O+(b=b+Math.imul(we,qe)|0)|0)+((8191&(n=(n=n+Math.imul(we,nt)|0)+Math.imul(le,qe)|0))<<13)|0;O=((_=_+Math.imul(le,nt)|0)+(n>>>13)|0)+(Ri>>>26)|0,Ri&=67108863,b=Math.imul(ke,Tt),n=(n=Math.imul(ke,mt))+Math.imul(ot,Tt)|0,_=Math.imul(ot,mt),b=b+Math.imul(ct,ee)|0,n=(n=n+Math.imul(ct,Ce)|0)+Math.imul(et,ee)|0,_=_+Math.imul(et,Ce)|0,b=b+Math.imul(ve,Lt)|0,n=(n=n+Math.imul(ve,jt)|0)+Math.imul(De,Lt)|0,_=_+Math.imul(De,jt)|0,b=b+Math.imul(Ne,Kt)|0,n=(n=n+Math.imul(Ne,Xe)|0)+Math.imul(Ve,Kt)|0,_=_+Math.imul(Ve,Xe)|0;var Ui=(O+(b=b+Math.imul(fe,qe)|0)|0)+((8191&(n=(n=n+Math.imul(fe,nt)|0)+Math.imul(Ge,qe)|0))<<13)|0;O=((_=_+Math.imul(Ge,nt)|0)+(n>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,b=Math.imul(ke,ee),n=(n=Math.imul(ke,Ce))+Math.imul(ot,ee)|0,_=Math.imul(ot,Ce),b=b+Math.imul(ct,Lt)|0,n=(n=n+Math.imul(ct,jt)|0)+Math.imul(et,Lt)|0,_=_+Math.imul(et,jt)|0,b=b+Math.imul(ve,Kt)|0,n=(n=n+Math.imul(ve,Xe)|0)+Math.imul(De,Kt)|0,_=_+Math.imul(De,Xe)|0;var nn=(O+(b=b+Math.imul(Ne,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ne,nt)|0)+Math.imul(Ve,qe)|0))<<13)|0;O=((_=_+Math.imul(Ve,nt)|0)+(n>>>13)|0)+(nn>>>26)|0,nn&=67108863,b=Math.imul(ke,Lt),n=(n=Math.imul(ke,jt))+Math.imul(ot,Lt)|0,_=Math.imul(ot,jt),b=b+Math.imul(ct,Kt)|0,n=(n=n+Math.imul(ct,Xe)|0)+Math.imul(et,Kt)|0,_=_+Math.imul(et,Xe)|0;var cn=(O+(b=b+Math.imul(ve,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ve,nt)|0)+Math.imul(De,qe)|0))<<13)|0;O=((_=_+Math.imul(De,nt)|0)+(n>>>13)|0)+(cn>>>26)|0,cn&=67108863,b=Math.imul(ke,Kt),n=(n=Math.imul(ke,Xe))+Math.imul(ot,Kt)|0,_=Math.imul(ot,Xe);var Qi=(O+(b=b+Math.imul(ct,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ct,nt)|0)+Math.imul(et,qe)|0))<<13)|0;O=((_=_+Math.imul(et,nt)|0)+(n>>>13)|0)+(Qi>>>26)|0,Qi&=67108863;var $t=(O+(b=Math.imul(ke,qe))|0)+((8191&(n=(n=Math.imul(ke,nt))+Math.imul(ot,qe)|0))<<13)|0;return O=((_=Math.imul(ot,nt))+(n>>>13)|0)+($t>>>26)|0,$t&=67108863,L[0]=Wt,L[1]=si,L[2]=li,L[3]=xi,L[4]=Ut,L[5]=bt,L[6]=$e,L[7]=ut,L[8]=Et,L[9]=qt,L[10]=pi,L[11]=Si,L[12]=Fi,L[13]=Ri,L[14]=Ui,L[15]=nn,L[16]=cn,L[17]=Qi,L[18]=$t,0!==O&&(L[19]=O,m.length++),m};function Y(E,i,o){return(new Q).mulp(E,i,o)}function Q(E,i){this.x=E,this.y=i}Math.imul||(F=R),c.prototype.mulTo=function(i,o){var m,l=this.length+i.length;return m=10===this.length&&10===i.length?F(this,i,o):l<63?R(this,i,o):l<1024?function W(E,i,o){o.negative=i.negative^E.negative,o.length=E.length+i.length;for(var m=0,l=0,y=0;y<o.length-1;y++){var L=l;l=0;for(var O=67108863&m,b=Math.min(y,i.length-1),n=Math.max(0,y-E.length+1);n<=b;n++){var K=(0|E.words[y-n])*(0|i.words[n]),se=67108863&K;O=67108863&(se=se+O|0),l+=(L=(L=L+(K/67108864|0)|0)+(se>>>26)|0)>>>26,L&=67108863}o.words[y]=O,m=L,L=l}return 0!==m?o.words[y]=m:o.length--,o.strip()}(this,i,o):Y(this,i,o),m},Q.prototype.makeRBT=function(i){for(var o=new Array(i),m=c.prototype._countBits(i)-1,l=0;l<i;l++)o[l]=this.revBin(l,m,i);return o},Q.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var l=0,y=0;y<o;y++)l|=(1&i)<<o-y-1,i>>=1;return l},Q.prototype.permute=function(i,o,m,l,y,L){for(var O=0;O<L;O++)l[O]=o[i[O]],y[O]=m[i[O]]},Q.prototype.transform=function(i,o,m,l,y,L){this.permute(L,i,o,m,l,y);for(var O=1;O<y;O<<=1)for(var b=O<<1,n=Math.cos(2*Math.PI/b),_=Math.sin(2*Math.PI/b),H=0;H<y;H+=b)for(var V=n,K=_,se=0;se<O;se++){var Ye=m[H+se],Oe=l[H+se],Qe=m[H+se+O],be=l[H+se+O],ue=V*Qe-K*be;be=V*be+K*Qe,m[H+se]=Ye+(Qe=ue),l[H+se]=Oe+be,m[H+se+O]=Ye-Qe,l[H+se+O]=Oe-be,se!==b&&(ue=n*V-_*K,K=n*K+_*V,V=ue)}},Q.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),l=1&m,y=0;for(m=m/2|0;m;m>>>=1)y++;return 1<<y+1+l},Q.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var l=0;l<m/2;l++){var y=i[l];i[l]=i[m-l-1],i[m-l-1]=y,y=o[l],o[l]=-o[m-l-1],o[m-l-1]=-y}},Q.prototype.normalize13b=function(i,o){for(var m=0,l=0;l<o/2;l++){var y=8192*Math.round(i[2*l+1]/o)+Math.round(i[2*l]/o)+m;i[l]=67108863&y,m=y<67108864?0:y/67108864|0}return i},Q.prototype.convert13b=function(i,o,m,l){for(var y=0,L=0;L<o;L++)m[2*L]=8191&(y+=0|i[L]),m[2*L+1]=8191&(y>>>=13),y>>>=13;for(L=2*o;L<l;++L)m[L]=0;g(0===y),g(0==(-8192&y))},Q.prototype.stub=function(i){for(var o=new Array(i),m=0;m<i;m++)o[m]=0;return o},Q.prototype.mulp=function(i,o,m){var l=2*this.guessLen13b(i.length,o.length),y=this.makeRBT(l),L=this.stub(l),O=new Array(l),b=new Array(l),n=new Array(l),_=new Array(l),H=new Array(l),V=new Array(l),K=m.words;K.length=l,this.convert13b(i.words,i.length,O,l),this.convert13b(o.words,o.length,_,l),this.transform(O,L,b,n,l,y),this.transform(_,L,H,V,l,y);for(var se=0;se<l;se++){var Ye=b[se]*H[se]-n[se]*V[se];n[se]=b[se]*V[se]+n[se]*H[se],b[se]=Ye}return this.conjugate(b,n,l),this.transform(b,n,K,L,l,y),this.conjugate(K,L,l),this.normalize13b(K,l),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},c.prototype.mul=function(i){var o=new c(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},c.prototype.mulf=function(i){var o=new c(null);return o.words=new Array(this.length+i.length),Y(this,i,o)},c.prototype.imul=function(i){return this.clone().mulTo(i,this)},c.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var o=0,m=0;m<this.length;m++){var l=(0|this.words[m])*i,y=(67108863&l)+(67108863&o);o>>=26,o+=l/67108864|0,o+=y>>>26,this.words[m]=67108863&y}return 0!==o&&(this.words[m]=o,this.length++),this},c.prototype.muln=function(i){return this.clone().imuln(i)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(i){var o=function D(E){for(var i=new Array(E.bitLength()),o=0;o<i.length;o++){var l=o%26;i[o]=(E.words[o/26|0]&1<<l)>>>l}return i}(i);if(0===o.length)return new c(1);for(var m=this,l=0;l<o.length&&0===o[l];l++,m=m.sqr());if(++l<o.length)for(var y=m.sqr();l<o.length;l++,y=y.sqr())0!==o[l]&&(m=m.mul(y));return m},c.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,o=i%26,m=(i-o)/26,l=67108863>>>26-o<<26-o;if(0!==o){var L=0;for(y=0;y<this.length;y++){var O=this.words[y]&l;this.words[y]=(0|this.words[y])-O<<o|L,L=O>>>26-o}L&&(this.words[y]=L,this.length++)}if(0!==m){for(y=this.length-1;y>=0;y--)this.words[y+m]=this.words[y];for(y=0;y<m;y++)this.words[y]=0;this.length+=m}return this.strip()},c.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},c.prototype.iushrn=function(i,o,m){var l;g("number"==typeof i&&i>=0),l=o?(o-o%26)/26:0;var y=i%26,L=Math.min((i-y)/26,this.length),O=67108863^67108863>>>y<<y,b=m;if(l-=L,l=Math.max(0,l),b){for(var n=0;n<L;n++)b.words[n]=this.words[n];b.length=L}if(0!==L)if(this.length>L)for(this.length-=L,n=0;n<this.length;n++)this.words[n]=this.words[n+L];else this.words[0]=0,this.length=1;var _=0;for(n=this.length-1;n>=0&&(0!==_||n>=l);n--){var H=0|this.words[n];this.words[n]=_<<26-y|H>>>y,_=H&O}return b&&0!==_&&(b.words[b.length++]=_),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(i,o,m){return g(0===this.negative),this.iushrn(i,o,m)},c.prototype.shln=function(i){return this.clone().ishln(i)},c.prototype.ushln=function(i){return this.clone().iushln(i)},c.prototype.shrn=function(i){return this.clone().ishrn(i)},c.prototype.ushrn=function(i){return this.clone().iushrn(i)},c.prototype.testn=function(i){g("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;return!(this.length<=m||!(this.words[m]&1<<o))},c.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==o&&m++,this.length=Math.min(m,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<<o),this.strip())},c.prototype.maskn=function(i){return this.clone().imaskn(i)},c.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)},c.prototype._iaddn=function(i){this.words[0]+=i;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},c.prototype.addn=function(i){return this.clone().iaddn(i)},c.prototype.subn=function(i){return this.clone().isubn(i)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(i,o,m){var y;this._expand(i.length+m);var L,O=0;for(y=0;y<i.length;y++){L=(0|this.words[y+m])+O;var b=(0|i.words[y])*o;O=((L-=67108863&b)>>26)-(b/67108864|0),this.words[y+m]=67108863&L}for(;y<this.length-m;y++)O=(L=(0|this.words[y+m])+O)>>26,this.words[y+m]=67108863&L;if(0===O)return this.strip();for(g(-1===O),O=0,y=0;y<this.length;y++)O=(L=-(0|this.words[y])+O)>>26,this.words[y]=67108863&L;return this.negative=1,this.strip()},c.prototype._wordDiv=function(i,o){var m,l=this.clone(),y=i,L=0|y.words[y.length-1];0!=(m=26-this._countBits(L))&&(y=y.ushln(m),l.iushln(m),L=0|y.words[y.length-1]);var n,b=l.length-y.length;if("mod"!==o){(n=new c(null)).length=b+1,n.words=new Array(n.length);for(var _=0;_<n.length;_++)n.words[_]=0}var H=l.clone()._ishlnsubmul(y,1,b);0===H.negative&&(l=H,n&&(n.words[b]=1));for(var V=b-1;V>=0;V--){var K=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(K=Math.min(K/L|0,67108863),l._ishlnsubmul(y,K,V);0!==l.negative;)K--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=K)}return n&&n.strip(),l.strip(),"div"!==o&&0!==m&&l.iushrn(m),{div:n||null,mod:l}},c.prototype.divmod=function(i,o,m){return g(!i.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===i.negative?(L=this.neg().divmod(i,o),"mod"!==o&&(l=L.div.neg()),"div"!==o&&(y=L.mod.neg(),m&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(L=this.divmod(i.neg(),o),"mod"!==o&&(l=L.div.neg()),{div:l,mod:L.mod}):this.negative&i.negative?(L=this.neg().divmod(i.neg(),o),"div"!==o&&(y=L.mod.neg(),m&&0!==y.negative&&y.isub(i)),{div:L.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new c(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new c(this.modn(i.words[0]))}:this._wordDiv(i,o);var l,y,L},c.prototype.div=function(i){return this.divmod(i,"div",!1).div},c.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},c.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},c.prototype.divRound=function(i){var o=this.divmod(i);if(o.mod.isZero())return o.div;var m=0!==o.div.negative?o.mod.isub(i):o.mod,l=i.ushrn(1),y=i.andln(1),L=m.cmp(l);return L<0||1===y&&0===L?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(i){g(i<=67108863);for(var o=(1<<26)%i,m=0,l=this.length-1;l>=0;l--)m=(o*m+(0|this.words[l]))%i;return m},c.prototype.idivn=function(i){g(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var l=(0|this.words[m])+67108864*o;this.words[m]=l/i|0,o=l%i}return this.strip()},c.prototype.divn=function(i){return this.clone().idivn(i)},c.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var l=new c(1),y=new c(0),L=new c(0),O=new c(1),b=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++b;for(var n=m.clone(),_=o.clone();!o.isZero();){for(var H=0,V=1;!(o.words[0]&V)&&H<26;++H,V<<=1);if(H>0)for(o.iushrn(H);H-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(_)),l.iushrn(1),y.iushrn(1);for(var K=0,se=1;!(m.words[0]&se)&&K<26;++K,se<<=1);if(K>0)for(m.iushrn(K);K-- >0;)(L.isOdd()||O.isOdd())&&(L.iadd(n),O.isub(_)),L.iushrn(1),O.iushrn(1);o.cmp(m)>=0?(o.isub(m),l.isub(L),y.isub(O)):(m.isub(o),L.isub(l),O.isub(y))}return{a:L,b:O,gcd:m.iushln(b)}},c.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var H,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var l=new c(1),y=new c(0),L=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var O=0,b=1;!(o.words[0]&b)&&O<26;++O,b<<=1);if(O>0)for(o.iushrn(O);O-- >0;)l.isOdd()&&l.iadd(L),l.iushrn(1);for(var n=0,_=1;!(m.words[0]&_)&&n<26;++n,_<<=1);if(n>0)for(m.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(L),y.iushrn(1);o.cmp(m)>=0?(o.isub(m),l.isub(y)):(m.isub(o),y.isub(l))}return(H=0===o.cmpn(1)?l:y).cmpn(0)<0&&H.iadd(i),H},c.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var o=this.clone(),m=i.clone();o.negative=0,m.negative=0;for(var l=0;o.isEven()&&m.isEven();l++)o.iushrn(1),m.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;m.isEven();)m.iushrn(1);var y=o.cmp(m);if(y<0){var L=o;o=m,m=L}else if(0===y||0===m.cmpn(1))break;o.isub(m)}return m.iushln(l)},c.prototype.invm=function(i){return this.egcd(i).a.umod(i)},c.prototype.isEven=function(){return 0==(1&this.words[0])},c.prototype.isOdd=function(){return 1==(1&this.words[0])},c.prototype.andln=function(i){return this.words[0]&i},c.prototype.bincn=function(i){g("number"==typeof i);var o=i%26,m=(i-o)/26,l=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=l,this;for(var y=l,L=m;0!==y&&L<this.length;L++){var O=0|this.words[L];y=(O+=y)>>>26,this.words[L]=O&=67108863}return 0!==y&&(this.words[L]=y,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(i){var m,o=i<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)m=1;else{o&&(i=-i),g(i<=67108863,"Number is too big");var l=0|this.words[0];m=l===i?0:l<i?-1:1}return 0!==this.negative?0|-m:m},c.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var o=this.ucmp(i);return 0!==this.negative?0|-o:o},c.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var o=0,m=this.length-1;m>=0;m--){var l=0|this.words[m],y=0|i.words[m];if(l!==y){l<y?o=-1:l>y&&(o=1);break}}return o},c.prototype.gtn=function(i){return 1===this.cmpn(i)},c.prototype.gt=function(i){return 1===this.cmp(i)},c.prototype.gten=function(i){return this.cmpn(i)>=0},c.prototype.gte=function(i){return this.cmp(i)>=0},c.prototype.ltn=function(i){return-1===this.cmpn(i)},c.prototype.lt=function(i){return-1===this.cmp(i)},c.prototype.lten=function(i){return this.cmpn(i)<=0},c.prototype.lte=function(i){return this.cmp(i)<=0},c.prototype.eqn=function(i){return 0===this.cmpn(i)},c.prototype.eq=function(i){return 0===this.cmp(i)},c.red=function(i){return new te(i)},c.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)},c.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(i){return this.red=i,this},c.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},c.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},c.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},c.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},c.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},c.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},c.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},c.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},c.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var J={k256:null,p224:null,p192:null,p25519:null};function ne(E,i){this.name=E,this.p=new c(i,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function X(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function pe(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function de(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(E){if("string"==typeof E){var i=c._prime(E);this.m=i.p,this.prime=i}else g(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}function ae(E){te.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(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)}ne.prototype._tmp=function(){var i=new c(null);return i.words=new Array(Math.ceil(this.n/13)),i},ne.prototype.ireduce=function(i){var m,o=i;do{this.split(o,this.tmp),m=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(m>this.n);var l=m<this.n?-1:o.ucmp(this.p);return 0===l?(o.words[0]=0,o.length=1):l>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},ne.prototype.split=function(i,o){i.iushrn(this.n,0,o)},ne.prototype.imulK=function(i){return i.imul(this.k)},T(X,ne),X.prototype.split=function(i,o){for(var m=4194303,l=Math.min(i.length,9),y=0;y<l;y++)o.words[y]=i.words[y];if(o.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var L=i.words[9];for(o.words[o.length++]=L&m,y=10;y<i.length;y++){var O=0|i.words[y];i.words[y-10]=(O&m)<<4|L>>>22,L=O}i.words[y-10]=L>>>=22,i.length-=0===L&&i.length>10?10:9},X.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var o=0,m=0;m<i.length;m++){var l=0|i.words[m];i.words[m]=67108863&(o+=977*l),o=64*l+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},T(pe,ne),T(ie,ne),T(de,ne),de.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var l=19*(0|i.words[m])+o,y=67108863&l;l>>>=26,i.words[m]=y,o=l}return 0!==o&&(i.words[i.length++]=o),i},c._prime=function(i){if(J[i])return J[i];var o;if("k256"===i)o=new X;else if("p224"===i)o=new pe;else if("p192"===i)o=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new de}return J[i]=o,o},te.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},te.prototype._verify2=function(i,o){g(0==(i.negative|o.negative),"red works only with positives"),g(i.red&&i.red===o.red,"red works only with red numbers")},te.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},te.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},te.prototype.add=function(i,o){this._verify2(i,o);var m=i.add(o);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},te.prototype.iadd=function(i,o){this._verify2(i,o);var m=i.iadd(o);return m.cmp(this.m)>=0&&m.isub(this.m),m},te.prototype.sub=function(i,o){this._verify2(i,o);var m=i.sub(o);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},te.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},te.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},te.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},te.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},te.prototype.isqr=function(i){return this.imul(i,i.clone())},te.prototype.sqr=function(i){return this.mul(i,i)},te.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(g(o%2==1),3===o){var m=this.m.add(new c(1)).iushrn(2);return this.pow(i,m)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);g(!l.isZero());var L=new c(1).toRed(this),O=L.redNeg(),b=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new c(2*n*n).toRed(this);0!==this.pow(n,b).cmp(O);)n.redIAdd(O);for(var _=this.pow(n,l),H=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),K=y;0!==V.cmp(L);){for(var se=V,Ye=0;0!==se.cmp(L);Ye++)se=se.redSqr();g(Ye<K);var Oe=this.pow(_,new c(1).iushln(K-Ye-1));H=H.redMul(Oe),_=Oe.redSqr(),V=V.redMul(_),K=Ye}return H},te.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},te.prototype.pow=function(i,o){if(o.isZero())return new c(1).toRed(this);if(0===o.cmpn(1))return i.clone();var l=new Array(16);l[0]=new c(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var L=l[0],O=0,b=0,n=o.bitLength()%26;for(0===n&&(n=26),y=o.length-1;y>=0;y--){for(var _=o.words[y],H=n-1;H>=0;H--){var V=_>>H&1;L!==l[0]&&(L=this.sqr(L)),0!==V||0!==O?(O<<=1,O|=V,(4==++b||0===y&&0===H)&&(L=this.mul(L,l[O]),b=0,O=0)):b=0}n=26}return L},te.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},te.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},c.mont=function(i){return new ae(i)},T(ae,te),ae.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},ae.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},ae.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),l=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(l).iushrn(this.shift),L=y;return y.cmp(this.m)>=0?L=y.isub(this.m):y.cmpn(0)<0&&(L=y.iadd(this.m)),L._forceRed(this)},ae.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new c(0)._forceRed(this);var m=i.mul(o),l=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(l).iushrn(this.shift),L=y;return y.cmp(this.m)>=0?L=y.isub(this.m):y.cmpn(0)<0&&(L=y.iadd(this.m)),L._forceRed(this)},ae.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ue=p.nmd(Ue),this)},9919:(Ue,q)=>{"use strict";q.byteLength=function u(D){var R=C(D),W=R[1];return 3*(R[0]+W)/4-W},q.toByteArray=function d(D){var R,X,F=C(D),W=F[0],Y=F[1],Q=new t(function P(D,R,F){return 3*(R+F)/4-F}(0,W,Y)),J=0,ne=Y>0?W-4:W;for(X=0;X<ne;X+=4)R=e[D.charCodeAt(X)]<<18|e[D.charCodeAt(X+1)]<<12|e[D.charCodeAt(X+2)]<<6|e[D.charCodeAt(X+3)],Q[J++]=R>>16&255,Q[J++]=R>>8&255,Q[J++]=255&R;return 2===Y&&(R=e[D.charCodeAt(X)]<<2|e[D.charCodeAt(X+1)]>>4,Q[J++]=255&R),1===Y&&(R=e[D.charCodeAt(X)]<<10|e[D.charCodeAt(X+1)]<<4|e[D.charCodeAt(X+2)]>>2,Q[J++]=R>>8&255,Q[J++]=255&R),Q},q.fromByteArray=function I(D){for(var R,F=D.length,W=F%3,Y=[],Q=16383,J=0,ne=F-W;J<ne;J+=Q)Y.push(M(D,J,J+Q>ne?ne:J+Q));return 1===W?Y.push(p[(R=D[F-1])>>2]+p[R<<4&63]+"=="):2===W&&Y.push(p[(R=(D[F-2]<<8)+D[F-1])>>10]+p[R>>4&63]+p[R<<2&63]+"="),Y.join("")};for(var p=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",T=0;T<64;++T)p[T]=g[T],e[g.charCodeAt(T)]=T;function C(D){var R=D.length;if(R%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var F=D.indexOf("=");return-1===F&&(F=R),[F,F===R?0:4-F%4]}function S(D){return p[D>>18&63]+p[D>>12&63]+p[D>>6&63]+p[63&D]}function M(D,R,F){for(var Y=[],Q=R;Q<F;Q+=3)Y.push(S((D[Q]<<16&16711680)+(D[Q+1]<<8&65280)+(255&D[Q+2])));return Y.join("")}e["-".charCodeAt(0)]=62,e["_".charCodeAt(0)]=63},2662:function(Ue,q,p){!function(e,t){"use strict";function g(m,l){if(!m)throw new Error(l||"Assertion failed")}function T(m,l){m.super_=l;var y=function(){};y.prototype=l.prototype,m.prototype=new y,m.prototype.constructor=m}function c(m,l,y){if(c.isBN(m))return m;this.negative=0,this.words=null,this.length=0,this.red=null,null!==m&&(("le"===l||"be"===l)&&(y=l,l=10),this._init(m||0,l||10,y||"be"))}var C;"object"==typeof e?e.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(6601).Buffer}catch{}function u(m,l){var y=m.charCodeAt(l);return y>=48&&y<=57?y-48:y>=65&&y<=70?y-55:y>=97&&y<=102?y-87:void g(!1,"Invalid character in "+m)}function P(m,l,y){var L=u(m,y);return y-1>=l&&(L|=u(m,y-1)<<4),L}function d(m,l,y,L){for(var O=0,b=0,n=Math.min(m.length,y),_=l;_<n;_++){var H=m.charCodeAt(_)-48;O*=L,b=H>=49?H-49+10:H>=17?H-17+10:H,g(H>=0&&b<L,"Invalid character"),O+=b}return O}function S(m,l){m.words=l.words,m.length=l.length,m.negative=l.negative,m.red=l.red}if(c.isBN=function(l){return l instanceof c||null!==l&&"object"==typeof l&&l.constructor.wordSize===c.wordSize&&Array.isArray(l.words)},c.max=function(l,y){return l.cmp(y)>0?l:y},c.min=function(l,y){return l.cmp(y)<0?l:y},c.prototype._init=function(l,y,L){if("number"==typeof l)return this._initNumber(l,y,L);if("object"==typeof l)return this._initArray(l,y,L);"hex"===y&&(y=16),g(y===(0|y)&&y>=2&&y<=36);var O=0;"-"===(l=l.toString().replace(/\s+/g,""))[0]&&(O++,this.negative=1),O<l.length&&(16===y?this._parseHex(l,O,L):(this._parseBase(l,y,O),"le"===L&&this._initArray(this.toArray(),y,L)))},c.prototype._initNumber=function(l,y,L){l<0&&(this.negative=1,l=-l),l<67108864?(this.words=[67108863&l],this.length=1):l<4503599627370496?(this.words=[67108863&l,l/67108864&67108863],this.length=2):(g(l<9007199254740992),this.words=[67108863&l,l/67108864&67108863,1],this.length=3),"le"===L&&this._initArray(this.toArray(),y,L)},c.prototype._initArray=function(l,y,L){if(g("number"==typeof l.length),l.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(l.length/3),this.words=new Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var b,n,_=0;if("be"===L)for(O=l.length-1,b=0;O>=0;O-=3)this.words[b]|=(n=l[O]|l[O-1]<<8|l[O-2]<<16)<<_&67108863,this.words[b+1]=n>>>26-_&67108863,(_+=24)>=26&&(_-=26,b++);else if("le"===L)for(O=0,b=0;O<l.length;O+=3)this.words[b]|=(n=l[O]|l[O+1]<<8|l[O+2]<<16)<<_&67108863,this.words[b+1]=n>>>26-_&67108863,(_+=24)>=26&&(_-=26,b++);return this._strip()},c.prototype._parseHex=function(l,y,L){this.length=Math.ceil((l.length-y)/6),this.words=new Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var _,b=0,n=0;if("be"===L)for(O=l.length-1;O>=y;O-=2)_=P(l,y,O)<<b,this.words[n]|=67108863&_,b>=18?(b-=18,this.words[n+=1]|=_>>>26):b+=8;else for(O=(l.length-y)%2==0?y+1:y;O<l.length;O+=2)_=P(l,y,O)<<b,this.words[n]|=67108863&_,b>=18?(b-=18,this.words[n+=1]|=_>>>26):b+=8;this._strip()},c.prototype._parseBase=function(l,y,L){this.words=[0],this.length=1;for(var O=0,b=1;b<=67108863;b*=y)O++;O--,b=b/y|0;for(var n=l.length-L,_=n%O,H=Math.min(n,n-_)+L,V=0,K=L;K<H;K+=O)V=d(l,K,K+O,y),this.imuln(b),this.words[0]+V<67108864?this.words[0]+=V:this._iaddn(V);if(0!==_){var se=1;for(V=d(l,K,l.length,y),K=0;K<_;K++)se*=y;this.imuln(se),this.words[0]+V<67108864?this.words[0]+=V:this._iaddn(V)}this._strip()},c.prototype.copy=function(l){l.words=new Array(this.length);for(var y=0;y<this.length;y++)l.words[y]=this.words[y];l.length=this.length,l.negative=this.negative,l.red=this.red},c.prototype._move=function(l){S(l,this)},c.prototype.clone=function(){var l=new c(null);return this.copy(l),l},c.prototype._expand=function(l){for(;this.length<l;)this.words[this.length++]=0;return this},c.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},typeof Symbol<"u"&&"function"==typeof Symbol.for)try{c.prototype[Symbol.for("nodejs.util.inspect.custom")]=M}catch{c.prototype.inspect=M}else c.prototype.inspect=M;function M(){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"],D=[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(m,l,y){y.negative=l.negative^m.negative;var L=m.length+l.length|0;y.length=L,L=L-1|0;var O=0|m.words[0],b=0|l.words[0],n=O*b,H=n/67108864|0;y.words[0]=67108863&n;for(var V=1;V<L;V++){for(var K=H>>>26,se=67108863&H,Ye=Math.min(V,l.length-1),Oe=Math.max(0,V-m.length+1);Oe<=Ye;Oe++)K+=(n=(O=0|m.words[V-Oe|0])*(b=0|l.words[Oe])+se)/67108864|0,se=67108863&n;y.words[V]=0|se,H=0|K}return 0!==H?y.words[V]=0|H:y.length--,y._strip()}c.prototype.toString=function(l,y){var L;if(y=0|y||1,16===(l=l||10)||"hex"===l){L="";for(var O=0,b=0,n=0;n<this.length;n++){var _=this.words[n],H=(16777215&(_<<O|b)).toString(16);b=_>>>24-O&16777215,(O+=2)>=26&&(O-=26,n--),L=0!==b||n!==this.length-1?I[6-H.length]+H+L:H+L}for(0!==b&&(L=b.toString(16)+L);L.length%y!=0;)L="0"+L;return 0!==this.negative&&(L="-"+L),L}if(l===(0|l)&&l>=2&&l<=36){var V=D[l],K=R[l];L="";var se=this.clone();for(se.negative=0;!se.isZero();){var Ye=se.modrn(K).toString(l);L=(se=se.idivn(K)).isZero()?Ye+L:I[V-Ye.length]+Ye+L}for(this.isZero()&&(L="0"+L);L.length%y!=0;)L="0"+L;return 0!==this.negative&&(L="-"+L),L}g(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var l=this.words[0];return 2===this.length?l+=67108864*this.words[1]:3===this.length&&1===this.words[2]?l+=4503599627370496+67108864*this.words[1]:this.length>2&&g(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-l:l},c.prototype.toJSON=function(){return this.toString(16,2)},C&&(c.prototype.toBuffer=function(l,y){return this.toArrayLike(C,l,y)}),c.prototype.toArray=function(l,y){return this.toArrayLike(Array,l,y)},c.prototype.toArrayLike=function(l,y,L){this._strip();var O=this.byteLength(),b=L||Math.max(1,O);g(O<=b,"byte array longer than desired length"),g(b>0,"Requested array length <= 0");var n=function(l,y){return l.allocUnsafe?l.allocUnsafe(y):new l(y)}(l,b);return this["_toArrayLike"+("le"===y?"LE":"BE")](n,O),n},c.prototype._toArrayLikeLE=function(l,y){for(var L=0,O=0,b=0,n=0;b<this.length;b++){var _=this.words[b]<<n|O;l[L++]=255&_,L<l.length&&(l[L++]=_>>8&255),L<l.length&&(l[L++]=_>>16&255),6===n?(L<l.length&&(l[L++]=_>>24&255),O=0,n=0):(O=_>>>24,n+=2)}if(L<l.length)for(l[L++]=O;L<l.length;)l[L++]=0},c.prototype._toArrayLikeBE=function(l,y){for(var L=l.length-1,O=0,b=0,n=0;b<this.length;b++){var _=this.words[b]<<n|O;l[L--]=255&_,L>=0&&(l[L--]=_>>8&255),L>=0&&(l[L--]=_>>16&255),6===n?(L>=0&&(l[L--]=_>>24&255),O=0,n=0):(O=_>>>24,n+=2)}if(L>=0)for(l[L--]=O;L>=0;)l[L--]=0},c.prototype._countBits=Math.clz32?function(l){return 32-Math.clz32(l)}:function(l){var y=l,L=0;return y>=4096&&(L+=13,y>>>=13),y>=64&&(L+=7,y>>>=7),y>=8&&(L+=4,y>>>=4),y>=2&&(L+=2,y>>>=2),L+y},c.prototype._zeroBits=function(l){if(0===l)return 26;var y=l,L=0;return 8191&y||(L+=13,y>>>=13),127&y||(L+=7,y>>>=7),15&y||(L+=4,y>>>=4),3&y||(L+=2,y>>>=2),1&y||L++,L},c.prototype.bitLength=function(){var y=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+y},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var l=0,y=0;y<this.length;y++){var L=this._zeroBits(this.words[y]);if(l+=L,26!==L)break}return l},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(l){return 0!==this.negative?this.abs().inotn(l).iaddn(1):this.clone()},c.prototype.fromTwos=function(l){return this.testn(l-1)?this.notn(l).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(l){for(;this.length<l.length;)this.words[this.length++]=0;for(var y=0;y<l.length;y++)this.words[y]=this.words[y]|l.words[y];return this._strip()},c.prototype.ior=function(l){return g(0==(this.negative|l.negative)),this.iuor(l)},c.prototype.or=function(l){return this.length>l.length?this.clone().ior(l):l.clone().ior(this)},c.prototype.uor=function(l){return this.length>l.length?this.clone().iuor(l):l.clone().iuor(this)},c.prototype.iuand=function(l){var y;y=this.length>l.length?l:this;for(var L=0;L<y.length;L++)this.words[L]=this.words[L]&l.words[L];return this.length=y.length,this._strip()},c.prototype.iand=function(l){return g(0==(this.negative|l.negative)),this.iuand(l)},c.prototype.and=function(l){return this.length>l.length?this.clone().iand(l):l.clone().iand(this)},c.prototype.uand=function(l){return this.length>l.length?this.clone().iuand(l):l.clone().iuand(this)},c.prototype.iuxor=function(l){var y,L;this.length>l.length?(y=this,L=l):(y=l,L=this);for(var O=0;O<L.length;O++)this.words[O]=y.words[O]^L.words[O];if(this!==y)for(;O<y.length;O++)this.words[O]=y.words[O];return this.length=y.length,this._strip()},c.prototype.ixor=function(l){return g(0==(this.negative|l.negative)),this.iuxor(l)},c.prototype.xor=function(l){return this.length>l.length?this.clone().ixor(l):l.clone().ixor(this)},c.prototype.uxor=function(l){return this.length>l.length?this.clone().iuxor(l):l.clone().iuxor(this)},c.prototype.inotn=function(l){g("number"==typeof l&&l>=0);var y=0|Math.ceil(l/26),L=l%26;this._expand(y),L>0&&y--;for(var O=0;O<y;O++)this.words[O]=67108863&~this.words[O];return L>0&&(this.words[O]=~this.words[O]&67108863>>26-L),this._strip()},c.prototype.notn=function(l){return this.clone().inotn(l)},c.prototype.setn=function(l,y){g("number"==typeof l&&l>=0);var L=l/26|0,O=l%26;return this._expand(L+1),this.words[L]=y?this.words[L]|1<<O:this.words[L]&~(1<<O),this._strip()},c.prototype.iadd=function(l){var y,L,O;if(0!==this.negative&&0===l.negative)return this.negative=0,y=this.isub(l),this.negative^=1,this._normSign();if(0===this.negative&&0!==l.negative)return l.negative=0,y=this.isub(l),l.negative=1,y._normSign();this.length>l.length?(L=this,O=l):(L=l,O=this);for(var b=0,n=0;n<O.length;n++)this.words[n]=67108863&(y=(0|L.words[n])+(0|O.words[n])+b),b=y>>>26;for(;0!==b&&n<L.length;n++)this.words[n]=67108863&(y=(0|L.words[n])+b),b=y>>>26;if(this.length=L.length,0!==b)this.words[this.length]=b,this.length++;else if(L!==this)for(;n<L.length;n++)this.words[n]=L.words[n];return this},c.prototype.add=function(l){var y;return 0!==l.negative&&0===this.negative?(l.negative=0,y=this.sub(l),l.negative^=1,y):0===l.negative&&0!==this.negative?(this.negative=0,y=l.sub(this),this.negative=1,y):this.length>l.length?this.clone().iadd(l):l.clone().iadd(this)},c.prototype.isub=function(l){if(0!==l.negative){l.negative=0;var y=this.iadd(l);return l.negative=1,y._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(l),this.negative=1,this._normSign();var O,b,L=this.cmp(l);if(0===L)return this.negative=0,this.length=1,this.words[0]=0,this;L>0?(O=this,b=l):(O=l,b=this);for(var n=0,_=0;_<b.length;_++)n=(y=(0|O.words[_])-(0|b.words[_])+n)>>26,this.words[_]=67108863&y;for(;0!==n&&_<O.length;_++)n=(y=(0|O.words[_])+n)>>26,this.words[_]=67108863&y;if(0===n&&_<O.length&&O!==this)for(;_<O.length;_++)this.words[_]=O.words[_];return this.length=Math.max(this.length,_),O!==this&&(this.negative=1),this._strip()},c.prototype.sub=function(l){return this.clone().isub(l)};var Q=function(l,y,L){var H,V,K,O=l.words,b=y.words,n=L.words,_=0,se=0|O[0],Ye=8191&se,Oe=se>>>13,Qe=0|O[1],be=8191&Qe,ue=Qe>>>13,xe=0|O[2],Pe=8191&xe,oe=xe>>>13,ze=0|O[3],we=8191&ze,le=ze>>>13,ge=0|O[4],fe=8191&ge,Ge=ge>>>13,Le=0|O[5],Ne=8191&Le,Ve=Le>>>13,at=0|O[6],ve=8191&at,De=at>>>13,xt=0|O[7],ct=8191&xt,et=xt>>>13,Ct=0|O[8],ke=8191&Ct,ot=Ct>>>13,Je=0|O[9],re=8191&Je,Be=Je>>>13,Nt=0|b[0],Ke=8191&Nt,yt=Nt>>>13,kt=0|b[1],Dt=8191&kt,Rt=kt>>>13,pt=0|b[2],vt=8191&pt,Te=pt>>>13,tt=0|b[3],Ze=8191&tt,Mt=tt>>>13,oi=0|b[4],Tt=8191&oi,mt=oi>>>13,he=0|b[5],ee=8191&he,Ce=he>>>13,At=0|b[6],Lt=8191&At,jt=At>>>13,Zt=0|b[7],Kt=8191&Zt,Xe=Zt>>>13,Bt=0|b[8],qe=8191&Bt,nt=Bt>>>13,Wt=0|b[9],si=8191&Wt,li=Wt>>>13;L.negative=l.negative^y.negative,L.length=19;var xi=(_+(H=Math.imul(Ye,Ke))|0)+((8191&(V=(V=Math.imul(Ye,yt))+Math.imul(Oe,Ke)|0))<<13)|0;_=((K=Math.imul(Oe,yt))+(V>>>13)|0)+(xi>>>26)|0,xi&=67108863,H=Math.imul(be,Ke),V=(V=Math.imul(be,yt))+Math.imul(ue,Ke)|0,K=Math.imul(ue,yt);var Ut=(_+(H=H+Math.imul(Ye,Dt)|0)|0)+((8191&(V=(V=V+Math.imul(Ye,Rt)|0)+Math.imul(Oe,Dt)|0))<<13)|0;_=((K=K+Math.imul(Oe,Rt)|0)+(V>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,H=Math.imul(Pe,Ke),V=(V=Math.imul(Pe,yt))+Math.imul(oe,Ke)|0,K=Math.imul(oe,yt),H=H+Math.imul(be,Dt)|0,V=(V=V+Math.imul(be,Rt)|0)+Math.imul(ue,Dt)|0,K=K+Math.imul(ue,Rt)|0;var bt=(_+(H=H+Math.imul(Ye,vt)|0)|0)+((8191&(V=(V=V+Math.imul(Ye,Te)|0)+Math.imul(Oe,vt)|0))<<13)|0;_=((K=K+Math.imul(Oe,Te)|0)+(V>>>13)|0)+(bt>>>26)|0,bt&=67108863,H=Math.imul(we,Ke),V=(V=Math.imul(we,yt))+Math.imul(le,Ke)|0,K=Math.imul(le,yt),H=H+Math.imul(Pe,Dt)|0,V=(V=V+Math.imul(Pe,Rt)|0)+Math.imul(oe,Dt)|0,K=K+Math.imul(oe,Rt)|0,H=H+Math.imul(be,vt)|0,V=(V=V+Math.imul(be,Te)|0)+Math.imul(ue,vt)|0,K=K+Math.imul(ue,Te)|0;var $e=(_+(H=H+Math.imul(Ye,Ze)|0)|0)+((8191&(V=(V=V+Math.imul(Ye,Mt)|0)+Math.imul(Oe,Ze)|0))<<13)|0;_=((K=K+Math.imul(Oe,Mt)|0)+(V>>>13)|0)+($e>>>26)|0,$e&=67108863,H=Math.imul(fe,Ke),V=(V=Math.imul(fe,yt))+Math.imul(Ge,Ke)|0,K=Math.imul(Ge,yt),H=H+Math.imul(we,Dt)|0,V=(V=V+Math.imul(we,Rt)|0)+Math.imul(le,Dt)|0,K=K+Math.imul(le,Rt)|0,H=H+Math.imul(Pe,vt)|0,V=(V=V+Math.imul(Pe,Te)|0)+Math.imul(oe,vt)|0,K=K+Math.imul(oe,Te)|0,H=H+Math.imul(be,Ze)|0,V=(V=V+Math.imul(be,Mt)|0)+Math.imul(ue,Ze)|0,K=K+Math.imul(ue,Mt)|0;var ut=(_+(H=H+Math.imul(Ye,Tt)|0)|0)+((8191&(V=(V=V+Math.imul(Ye,mt)|0)+Math.imul(Oe,Tt)|0))<<13)|0;_=((K=K+Math.imul(Oe,mt)|0)+(V>>>13)|0)+(ut>>>26)|0,ut&=67108863,H=Math.imul(Ne,Ke),V=(V=Math.imul(Ne,yt))+Math.imul(Ve,Ke)|0,K=Math.imul(Ve,yt),H=H+Math.imul(fe,Dt)|0,V=(V=V+Math.imul(fe,Rt)|0)+Math.imul(Ge,Dt)|0,K=K+Math.imul(Ge,Rt)|0,H=H+Math.imul(we,vt)|0,V=(V=V+Math.imul(we,Te)|0)+Math.imul(le,vt)|0,K=K+Math.imul(le,Te)|0,H=H+Math.imul(Pe,Ze)|0,V=(V=V+Math.imul(Pe,Mt)|0)+Math.imul(oe,Ze)|0,K=K+Math.imul(oe,Mt)|0,H=H+Math.imul(be,Tt)|0,V=(V=V+Math.imul(be,mt)|0)+Math.imul(ue,Tt)|0,K=K+Math.imul(ue,mt)|0;var Et=(_+(H=H+Math.imul(Ye,ee)|0)|0)+((8191&(V=(V=V+Math.imul(Ye,Ce)|0)+Math.imul(Oe,ee)|0))<<13)|0;_=((K=K+Math.imul(Oe,Ce)|0)+(V>>>13)|0)+(Et>>>26)|0,Et&=67108863,H=Math.imul(ve,Ke),V=(V=Math.imul(ve,yt))+Math.imul(De,Ke)|0,K=Math.imul(De,yt),H=H+Math.imul(Ne,Dt)|0,V=(V=V+Math.imul(Ne,Rt)|0)+Math.imul(Ve,Dt)|0,K=K+Math.imul(Ve,Rt)|0,H=H+Math.imul(fe,vt)|0,V=(V=V+Math.imul(fe,Te)|0)+Math.imul(Ge,vt)|0,K=K+Math.imul(Ge,Te)|0,H=H+Math.imul(we,Ze)|0,V=(V=V+Math.imul(we,Mt)|0)+Math.imul(le,Ze)|0,K=K+Math.imul(le,Mt)|0,H=H+Math.imul(Pe,Tt)|0,V=(V=V+Math.imul(Pe,mt)|0)+Math.imul(oe,Tt)|0,K=K+Math.imul(oe,mt)|0,H=H+Math.imul(be,ee)|0,V=(V=V+Math.imul(be,Ce)|0)+Math.imul(ue,ee)|0,K=K+Math.imul(ue,Ce)|0;var qt=(_+(H=H+Math.imul(Ye,Lt)|0)|0)+((8191&(V=(V=V+Math.imul(Ye,jt)|0)+Math.imul(Oe,Lt)|0))<<13)|0;_=((K=K+Math.imul(Oe,jt)|0)+(V>>>13)|0)+(qt>>>26)|0,qt&=67108863,H=Math.imul(ct,Ke),V=(V=Math.imul(ct,yt))+Math.imul(et,Ke)|0,K=Math.imul(et,yt),H=H+Math.imul(ve,Dt)|0,V=(V=V+Math.imul(ve,Rt)|0)+Math.imul(De,Dt)|0,K=K+Math.imul(De,Rt)|0,H=H+Math.imul(Ne,vt)|0,V=(V=V+Math.imul(Ne,Te)|0)+Math.imul(Ve,vt)|0,K=K+Math.imul(Ve,Te)|0,H=H+Math.imul(fe,Ze)|0,V=(V=V+Math.imul(fe,Mt)|0)+Math.imul(Ge,Ze)|0,K=K+Math.imul(Ge,Mt)|0,H=H+Math.imul(we,Tt)|0,V=(V=V+Math.imul(we,mt)|0)+Math.imul(le,Tt)|0,K=K+Math.imul(le,mt)|0,H=H+Math.imul(Pe,ee)|0,V=(V=V+Math.imul(Pe,Ce)|0)+Math.imul(oe,ee)|0,K=K+Math.imul(oe,Ce)|0,H=H+Math.imul(be,Lt)|0,V=(V=V+Math.imul(be,jt)|0)+Math.imul(ue,Lt)|0,K=K+Math.imul(ue,jt)|0;var pi=(_+(H=H+Math.imul(Ye,Kt)|0)|0)+((8191&(V=(V=V+Math.imul(Ye,Xe)|0)+Math.imul(Oe,Kt)|0))<<13)|0;_=((K=K+Math.imul(Oe,Xe)|0)+(V>>>13)|0)+(pi>>>26)|0,pi&=67108863,H=Math.imul(ke,Ke),V=(V=Math.imul(ke,yt))+Math.imul(ot,Ke)|0,K=Math.imul(ot,yt),H=H+Math.imul(ct,Dt)|0,V=(V=V+Math.imul(ct,Rt)|0)+Math.imul(et,Dt)|0,K=K+Math.imul(et,Rt)|0,H=H+Math.imul(ve,vt)|0,V=(V=V+Math.imul(ve,Te)|0)+Math.imul(De,vt)|0,K=K+Math.imul(De,Te)|0,H=H+Math.imul(Ne,Ze)|0,V=(V=V+Math.imul(Ne,Mt)|0)+Math.imul(Ve,Ze)|0,K=K+Math.imul(Ve,Mt)|0,H=H+Math.imul(fe,Tt)|0,V=(V=V+Math.imul(fe,mt)|0)+Math.imul(Ge,Tt)|0,K=K+Math.imul(Ge,mt)|0,H=H+Math.imul(we,ee)|0,V=(V=V+Math.imul(we,Ce)|0)+Math.imul(le,ee)|0,K=K+Math.imul(le,Ce)|0,H=H+Math.imul(Pe,Lt)|0,V=(V=V+Math.imul(Pe,jt)|0)+Math.imul(oe,Lt)|0,K=K+Math.imul(oe,jt)|0,H=H+Math.imul(be,Kt)|0,V=(V=V+Math.imul(be,Xe)|0)+Math.imul(ue,Kt)|0,K=K+Math.imul(ue,Xe)|0;var Si=(_+(H=H+Math.imul(Ye,qe)|0)|0)+((8191&(V=(V=V+Math.imul(Ye,nt)|0)+Math.imul(Oe,qe)|0))<<13)|0;_=((K=K+Math.imul(Oe,nt)|0)+(V>>>13)|0)+(Si>>>26)|0,Si&=67108863,H=Math.imul(re,Ke),V=(V=Math.imul(re,yt))+Math.imul(Be,Ke)|0,K=Math.imul(Be,yt),H=H+Math.imul(ke,Dt)|0,V=(V=V+Math.imul(ke,Rt)|0)+Math.imul(ot,Dt)|0,K=K+Math.imul(ot,Rt)|0,H=H+Math.imul(ct,vt)|0,V=(V=V+Math.imul(ct,Te)|0)+Math.imul(et,vt)|0,K=K+Math.imul(et,Te)|0,H=H+Math.imul(ve,Ze)|0,V=(V=V+Math.imul(ve,Mt)|0)+Math.imul(De,Ze)|0,K=K+Math.imul(De,Mt)|0,H=H+Math.imul(Ne,Tt)|0,V=(V=V+Math.imul(Ne,mt)|0)+Math.imul(Ve,Tt)|0,K=K+Math.imul(Ve,mt)|0,H=H+Math.imul(fe,ee)|0,V=(V=V+Math.imul(fe,Ce)|0)+Math.imul(Ge,ee)|0,K=K+Math.imul(Ge,Ce)|0,H=H+Math.imul(we,Lt)|0,V=(V=V+Math.imul(we,jt)|0)+Math.imul(le,Lt)|0,K=K+Math.imul(le,jt)|0,H=H+Math.imul(Pe,Kt)|0,V=(V=V+Math.imul(Pe,Xe)|0)+Math.imul(oe,Kt)|0,K=K+Math.imul(oe,Xe)|0,H=H+Math.imul(be,qe)|0,V=(V=V+Math.imul(be,nt)|0)+Math.imul(ue,qe)|0,K=K+Math.imul(ue,nt)|0;var Fi=(_+(H=H+Math.imul(Ye,si)|0)|0)+((8191&(V=(V=V+Math.imul(Ye,li)|0)+Math.imul(Oe,si)|0))<<13)|0;_=((K=K+Math.imul(Oe,li)|0)+(V>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,H=Math.imul(re,Dt),V=(V=Math.imul(re,Rt))+Math.imul(Be,Dt)|0,K=Math.imul(Be,Rt),H=H+Math.imul(ke,vt)|0,V=(V=V+Math.imul(ke,Te)|0)+Math.imul(ot,vt)|0,K=K+Math.imul(ot,Te)|0,H=H+Math.imul(ct,Ze)|0,V=(V=V+Math.imul(ct,Mt)|0)+Math.imul(et,Ze)|0,K=K+Math.imul(et,Mt)|0,H=H+Math.imul(ve,Tt)|0,V=(V=V+Math.imul(ve,mt)|0)+Math.imul(De,Tt)|0,K=K+Math.imul(De,mt)|0,H=H+Math.imul(Ne,ee)|0,V=(V=V+Math.imul(Ne,Ce)|0)+Math.imul(Ve,ee)|0,K=K+Math.imul(Ve,Ce)|0,H=H+Math.imul(fe,Lt)|0,V=(V=V+Math.imul(fe,jt)|0)+Math.imul(Ge,Lt)|0,K=K+Math.imul(Ge,jt)|0,H=H+Math.imul(we,Kt)|0,V=(V=V+Math.imul(we,Xe)|0)+Math.imul(le,Kt)|0,K=K+Math.imul(le,Xe)|0,H=H+Math.imul(Pe,qe)|0,V=(V=V+Math.imul(Pe,nt)|0)+Math.imul(oe,qe)|0,K=K+Math.imul(oe,nt)|0;var Ri=(_+(H=H+Math.imul(be,si)|0)|0)+((8191&(V=(V=V+Math.imul(be,li)|0)+Math.imul(ue,si)|0))<<13)|0;_=((K=K+Math.imul(ue,li)|0)+(V>>>13)|0)+(Ri>>>26)|0,Ri&=67108863,H=Math.imul(re,vt),V=(V=Math.imul(re,Te))+Math.imul(Be,vt)|0,K=Math.imul(Be,Te),H=H+Math.imul(ke,Ze)|0,V=(V=V+Math.imul(ke,Mt)|0)+Math.imul(ot,Ze)|0,K=K+Math.imul(ot,Mt)|0,H=H+Math.imul(ct,Tt)|0,V=(V=V+Math.imul(ct,mt)|0)+Math.imul(et,Tt)|0,K=K+Math.imul(et,mt)|0,H=H+Math.imul(ve,ee)|0,V=(V=V+Math.imul(ve,Ce)|0)+Math.imul(De,ee)|0,K=K+Math.imul(De,Ce)|0,H=H+Math.imul(Ne,Lt)|0,V=(V=V+Math.imul(Ne,jt)|0)+Math.imul(Ve,Lt)|0,K=K+Math.imul(Ve,jt)|0,H=H+Math.imul(fe,Kt)|0,V=(V=V+Math.imul(fe,Xe)|0)+Math.imul(Ge,Kt)|0,K=K+Math.imul(Ge,Xe)|0,H=H+Math.imul(we,qe)|0,V=(V=V+Math.imul(we,nt)|0)+Math.imul(le,qe)|0,K=K+Math.imul(le,nt)|0;var Ui=(_+(H=H+Math.imul(Pe,si)|0)|0)+((8191&(V=(V=V+Math.imul(Pe,li)|0)+Math.imul(oe,si)|0))<<13)|0;_=((K=K+Math.imul(oe,li)|0)+(V>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,H=Math.imul(re,Ze),V=(V=Math.imul(re,Mt))+Math.imul(Be,Ze)|0,K=Math.imul(Be,Mt),H=H+Math.imul(ke,Tt)|0,V=(V=V+Math.imul(ke,mt)|0)+Math.imul(ot,Tt)|0,K=K+Math.imul(ot,mt)|0,H=H+Math.imul(ct,ee)|0,V=(V=V+Math.imul(ct,Ce)|0)+Math.imul(et,ee)|0,K=K+Math.imul(et,Ce)|0,H=H+Math.imul(ve,Lt)|0,V=(V=V+Math.imul(ve,jt)|0)+Math.imul(De,Lt)|0,K=K+Math.imul(De,jt)|0,H=H+Math.imul(Ne,Kt)|0,V=(V=V+Math.imul(Ne,Xe)|0)+Math.imul(Ve,Kt)|0,K=K+Math.imul(Ve,Xe)|0,H=H+Math.imul(fe,qe)|0,V=(V=V+Math.imul(fe,nt)|0)+Math.imul(Ge,qe)|0,K=K+Math.imul(Ge,nt)|0;var nn=(_+(H=H+Math.imul(we,si)|0)|0)+((8191&(V=(V=V+Math.imul(we,li)|0)+Math.imul(le,si)|0))<<13)|0;_=((K=K+Math.imul(le,li)|0)+(V>>>13)|0)+(nn>>>26)|0,nn&=67108863,H=Math.imul(re,Tt),V=(V=Math.imul(re,mt))+Math.imul(Be,Tt)|0,K=Math.imul(Be,mt),H=H+Math.imul(ke,ee)|0,V=(V=V+Math.imul(ke,Ce)|0)+Math.imul(ot,ee)|0,K=K+Math.imul(ot,Ce)|0,H=H+Math.imul(ct,Lt)|0,V=(V=V+Math.imul(ct,jt)|0)+Math.imul(et,Lt)|0,K=K+Math.imul(et,jt)|0,H=H+Math.imul(ve,Kt)|0,V=(V=V+Math.imul(ve,Xe)|0)+Math.imul(De,Kt)|0,K=K+Math.imul(De,Xe)|0,H=H+Math.imul(Ne,qe)|0,V=(V=V+Math.imul(Ne,nt)|0)+Math.imul(Ve,qe)|0,K=K+Math.imul(Ve,nt)|0;var cn=(_+(H=H+Math.imul(fe,si)|0)|0)+((8191&(V=(V=V+Math.imul(fe,li)|0)+Math.imul(Ge,si)|0))<<13)|0;_=((K=K+Math.imul(Ge,li)|0)+(V>>>13)|0)+(cn>>>26)|0,cn&=67108863,H=Math.imul(re,ee),V=(V=Math.imul(re,Ce))+Math.imul(Be,ee)|0,K=Math.imul(Be,Ce),H=H+Math.imul(ke,Lt)|0,V=(V=V+Math.imul(ke,jt)|0)+Math.imul(ot,Lt)|0,K=K+Math.imul(ot,jt)|0,H=H+Math.imul(ct,Kt)|0,V=(V=V+Math.imul(ct,Xe)|0)+Math.imul(et,Kt)|0,K=K+Math.imul(et,Xe)|0,H=H+Math.imul(ve,qe)|0,V=(V=V+Math.imul(ve,nt)|0)+Math.imul(De,qe)|0,K=K+Math.imul(De,nt)|0;var Qi=(_+(H=H+Math.imul(Ne,si)|0)|0)+((8191&(V=(V=V+Math.imul(Ne,li)|0)+Math.imul(Ve,si)|0))<<13)|0;_=((K=K+Math.imul(Ve,li)|0)+(V>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,H=Math.imul(re,Lt),V=(V=Math.imul(re,jt))+Math.imul(Be,Lt)|0,K=Math.imul(Be,jt),H=H+Math.imul(ke,Kt)|0,V=(V=V+Math.imul(ke,Xe)|0)+Math.imul(ot,Kt)|0,K=K+Math.imul(ot,Xe)|0,H=H+Math.imul(ct,qe)|0,V=(V=V+Math.imul(ct,nt)|0)+Math.imul(et,qe)|0,K=K+Math.imul(et,nt)|0;var $t=(_+(H=H+Math.imul(ve,si)|0)|0)+((8191&(V=(V=V+Math.imul(ve,li)|0)+Math.imul(De,si)|0))<<13)|0;_=((K=K+Math.imul(De,li)|0)+(V>>>13)|0)+($t>>>26)|0,$t&=67108863,H=Math.imul(re,Kt),V=(V=Math.imul(re,Xe))+Math.imul(Be,Kt)|0,K=Math.imul(Be,Xe),H=H+Math.imul(ke,qe)|0,V=(V=V+Math.imul(ke,nt)|0)+Math.imul(ot,qe)|0,K=K+Math.imul(ot,nt)|0;var Hi=(_+(H=H+Math.imul(ct,si)|0)|0)+((8191&(V=(V=V+Math.imul(ct,li)|0)+Math.imul(et,si)|0))<<13)|0;_=((K=K+Math.imul(et,li)|0)+(V>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,H=Math.imul(re,qe),V=(V=Math.imul(re,nt))+Math.imul(Be,qe)|0,K=Math.imul(Be,nt);var Ee=(_+(H=H+Math.imul(ke,si)|0)|0)+((8191&(V=(V=V+Math.imul(ke,li)|0)+Math.imul(ot,si)|0))<<13)|0;_=((K=K+Math.imul(ot,li)|0)+(V>>>13)|0)+(Ee>>>26)|0,Ee&=67108863;var We=(_+(H=Math.imul(re,si))|0)+((8191&(V=(V=Math.imul(re,li))+Math.imul(Be,si)|0))<<13)|0;return _=((K=Math.imul(Be,li))+(V>>>13)|0)+(We>>>26)|0,We&=67108863,n[0]=xi,n[1]=Ut,n[2]=bt,n[3]=$e,n[4]=ut,n[5]=Et,n[6]=qt,n[7]=pi,n[8]=Si,n[9]=Fi,n[10]=Ri,n[11]=Ui,n[12]=nn,n[13]=cn,n[14]=Qi,n[15]=$t,n[16]=Hi,n[17]=Ee,n[18]=We,0!==_&&(n[19]=_,L.length++),L};function J(m,l,y){y.negative=l.negative^m.negative,y.length=m.length+l.length;for(var L=0,O=0,b=0;b<y.length-1;b++){var n=O;O=0;for(var _=67108863&L,H=Math.min(b,l.length-1),V=Math.max(0,b-m.length+1);V<=H;V++){var Oe=(0|m.words[b-V])*(0|l.words[V]),Qe=67108863&Oe;_=67108863&(Qe=Qe+_|0),O+=(n=(n=n+(Oe/67108864|0)|0)+(Qe>>>26)|0)>>>26,n&=67108863}y.words[b]=_,L=n,n=O}return 0!==L?y.words[b]=L:y.length--,y._strip()}function ne(m,l,y){return J(m,l,y)}function X(m,l){this.x=m,this.y=l}Math.imul||(Q=Y),c.prototype.mulTo=function(l,y){var O=this.length+l.length;return 10===this.length&&10===l.length?Q(this,l,y):O<63?Y(this,l,y):O<1024?J(this,l,y):ne(this,l,y)},X.prototype.makeRBT=function(l){for(var y=new Array(l),L=c.prototype._countBits(l)-1,O=0;O<l;O++)y[O]=this.revBin(O,L,l);return y},X.prototype.revBin=function(l,y,L){if(0===l||l===L-1)return l;for(var O=0,b=0;b<y;b++)O|=(1&l)<<y-b-1,l>>=1;return O},X.prototype.permute=function(l,y,L,O,b,n){for(var _=0;_<n;_++)O[_]=y[l[_]],b[_]=L[l[_]]},X.prototype.transform=function(l,y,L,O,b,n){this.permute(n,l,y,L,O,b);for(var _=1;_<b;_<<=1)for(var H=_<<1,V=Math.cos(2*Math.PI/H),K=Math.sin(2*Math.PI/H),se=0;se<b;se+=H)for(var Ye=V,Oe=K,Qe=0;Qe<_;Qe++){var be=L[se+Qe],ue=O[se+Qe],xe=L[se+Qe+_],Pe=O[se+Qe+_],oe=Ye*xe-Oe*Pe;Pe=Ye*Pe+Oe*xe,L[se+Qe]=be+(xe=oe),O[se+Qe]=ue+Pe,L[se+Qe+_]=be-xe,O[se+Qe+_]=ue-Pe,Qe!==H&&(oe=V*Ye-K*Oe,Oe=V*Oe+K*Ye,Ye=oe)}},X.prototype.guessLen13b=function(l,y){var L=1|Math.max(y,l),O=1&L,b=0;for(L=L/2|0;L;L>>>=1)b++;return 1<<b+1+O},X.prototype.conjugate=function(l,y,L){if(!(L<=1))for(var O=0;O<L/2;O++){var b=l[O];l[O]=l[L-O-1],l[L-O-1]=b,b=y[O],y[O]=-y[L-O-1],y[L-O-1]=-b}},X.prototype.normalize13b=function(l,y){for(var L=0,O=0;O<y/2;O++){var b=8192*Math.round(l[2*O+1]/y)+Math.round(l[2*O]/y)+L;l[O]=67108863&b,L=b<67108864?0:b/67108864|0}return l},X.prototype.convert13b=function(l,y,L,O){for(var b=0,n=0;n<y;n++)L[2*n]=8191&(b+=0|l[n]),L[2*n+1]=8191&(b>>>=13),b>>>=13;for(n=2*y;n<O;++n)L[n]=0;g(0===b),g(0==(-8192&b))},X.prototype.stub=function(l){for(var y=new Array(l),L=0;L<l;L++)y[L]=0;return y},X.prototype.mulp=function(l,y,L){var O=2*this.guessLen13b(l.length,y.length),b=this.makeRBT(O),n=this.stub(O),_=new Array(O),H=new Array(O),V=new Array(O),K=new Array(O),se=new Array(O),Ye=new Array(O),Oe=L.words;Oe.length=O,this.convert13b(l.words,l.length,_,O),this.convert13b(y.words,y.length,K,O),this.transform(_,n,H,V,O,b),this.transform(K,n,se,Ye,O,b);for(var Qe=0;Qe<O;Qe++){var be=H[Qe]*se[Qe]-V[Qe]*Ye[Qe];V[Qe]=H[Qe]*Ye[Qe]+V[Qe]*se[Qe],H[Qe]=be}return this.conjugate(H,V,O),this.transform(H,V,Oe,n,O,b),this.conjugate(Oe,n,O),this.normalize13b(Oe,O),L.negative=l.negative^y.negative,L.length=l.length+y.length,L._strip()},c.prototype.mul=function(l){var y=new c(null);return y.words=new Array(this.length+l.length),this.mulTo(l,y)},c.prototype.mulf=function(l){var y=new c(null);return y.words=new Array(this.length+l.length),ne(this,l,y)},c.prototype.imul=function(l){return this.clone().mulTo(l,this)},c.prototype.imuln=function(l){var y=l<0;y&&(l=-l),g("number"==typeof l),g(l<67108864);for(var L=0,O=0;O<this.length;O++){var b=(0|this.words[O])*l,n=(67108863&b)+(67108863&L);L>>=26,L+=b/67108864|0,L+=n>>>26,this.words[O]=67108863&n}return 0!==L&&(this.words[O]=L,this.length++),y?this.ineg():this},c.prototype.muln=function(l){return this.clone().imuln(l)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(l){var y=function W(m){for(var l=new Array(m.bitLength()),y=0;y<l.length;y++)l[y]=m.words[y/26|0]>>>y%26&1;return l}(l);if(0===y.length)return new c(1);for(var L=this,O=0;O<y.length&&0===y[O];O++,L=L.sqr());if(++O<y.length)for(var b=L.sqr();O<y.length;O++,b=b.sqr())0!==y[O]&&(L=L.mul(b));return L},c.prototype.iushln=function(l){g("number"==typeof l&&l>=0);var b,y=l%26,L=(l-y)/26,O=67108863>>>26-y<<26-y;if(0!==y){var n=0;for(b=0;b<this.length;b++){var _=this.words[b]&O;this.words[b]=(0|this.words[b])-_<<y|n,n=_>>>26-y}n&&(this.words[b]=n,this.length++)}if(0!==L){for(b=this.length-1;b>=0;b--)this.words[b+L]=this.words[b];for(b=0;b<L;b++)this.words[b]=0;this.length+=L}return this._strip()},c.prototype.ishln=function(l){return g(0===this.negative),this.iushln(l)},c.prototype.iushrn=function(l,y,L){var O;g("number"==typeof l&&l>=0),O=y?(y-y%26)/26:0;var b=l%26,n=Math.min((l-b)/26,this.length),_=67108863^67108863>>>b<<b,H=L;if(O-=n,O=Math.max(0,O),H){for(var V=0;V<n;V++)H.words[V]=this.words[V];H.length=n}if(0!==n)if(this.length>n)for(this.length-=n,V=0;V<this.length;V++)this.words[V]=this.words[V+n];else this.words[0]=0,this.length=1;var K=0;for(V=this.length-1;V>=0&&(0!==K||V>=O);V--){var se=0|this.words[V];this.words[V]=K<<26-b|se>>>b,K=se&_}return H&&0!==K&&(H.words[H.length++]=K),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},c.prototype.ishrn=function(l,y,L){return g(0===this.negative),this.iushrn(l,y,L)},c.prototype.shln=function(l){return this.clone().ishln(l)},c.prototype.ushln=function(l){return this.clone().iushln(l)},c.prototype.shrn=function(l){return this.clone().ishrn(l)},c.prototype.ushrn=function(l){return this.clone().iushrn(l)},c.prototype.testn=function(l){g("number"==typeof l&&l>=0);var y=l%26,L=(l-y)/26;return!(this.length<=L||!(this.words[L]&1<<y))},c.prototype.imaskn=function(l){g("number"==typeof l&&l>=0);var y=l%26,L=(l-y)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=L?this:(0!==y&&L++,this.length=Math.min(L,this.length),0!==y&&(this.words[this.length-1]&=67108863^67108863>>>y<<y),this._strip())},c.prototype.maskn=function(l){return this.clone().imaskn(l)},c.prototype.iaddn=function(l){return g("number"==typeof l),g(l<67108864),l<0?this.isubn(-l):0!==this.negative?1===this.length&&(0|this.words[0])<=l?(this.words[0]=l-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(l),this.negative=1,this):this._iaddn(l)},c.prototype._iaddn=function(l){this.words[0]+=l;for(var y=0;y<this.length&&this.words[y]>=67108864;y++)this.words[y]-=67108864,y===this.length-1?this.words[y+1]=1:this.words[y+1]++;return this.length=Math.max(this.length,y+1),this},c.prototype.isubn=function(l){if(g("number"==typeof l),g(l<67108864),l<0)return this.iaddn(-l);if(0!==this.negative)return this.negative=0,this.iaddn(l),this.negative=1,this;if(this.words[0]-=l,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var y=0;y<this.length&&this.words[y]<0;y++)this.words[y]+=67108864,this.words[y+1]-=1;return this._strip()},c.prototype.addn=function(l){return this.clone().iaddn(l)},c.prototype.subn=function(l){return this.clone().isubn(l)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(l,y,L){var b;this._expand(l.length+L);var n,_=0;for(b=0;b<l.length;b++){n=(0|this.words[b+L])+_;var H=(0|l.words[b])*y;_=((n-=67108863&H)>>26)-(H/67108864|0),this.words[b+L]=67108863&n}for(;b<this.length-L;b++)_=(n=(0|this.words[b+L])+_)>>26,this.words[b+L]=67108863&n;if(0===_)return this._strip();for(g(-1===_),_=0,b=0;b<this.length;b++)_=(n=-(0|this.words[b])+_)>>26,this.words[b]=67108863&n;return this.negative=1,this._strip()},c.prototype._wordDiv=function(l,y){var L,O=this.clone(),b=l,n=0|b.words[b.length-1];0!=(L=26-this._countBits(n))&&(b=b.ushln(L),O.iushln(L),n=0|b.words[b.length-1]);var V,H=O.length-b.length;if("mod"!==y){(V=new c(null)).length=H+1,V.words=new Array(V.length);for(var K=0;K<V.length;K++)V.words[K]=0}var se=O.clone()._ishlnsubmul(b,1,H);0===se.negative&&(O=se,V&&(V.words[H]=1));for(var Ye=H-1;Ye>=0;Ye--){var Oe=67108864*(0|O.words[b.length+Ye])+(0|O.words[b.length+Ye-1]);for(Oe=Math.min(Oe/n|0,67108863),O._ishlnsubmul(b,Oe,Ye);0!==O.negative;)Oe--,O.negative=0,O._ishlnsubmul(b,1,Ye),O.isZero()||(O.negative^=1);V&&(V.words[Ye]=Oe)}return V&&V._strip(),O._strip(),"div"!==y&&0!==L&&O.iushrn(L),{div:V||null,mod:O}},c.prototype.divmod=function(l,y,L){return g(!l.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===l.negative?(n=this.neg().divmod(l,y),"mod"!==y&&(O=n.div.neg()),"div"!==y&&(b=n.mod.neg(),L&&0!==b.negative&&b.iadd(l)),{div:O,mod:b}):0===this.negative&&0!==l.negative?(n=this.divmod(l.neg(),y),"mod"!==y&&(O=n.div.neg()),{div:O,mod:n.mod}):this.negative&l.negative?(n=this.neg().divmod(l.neg(),y),"div"!==y&&(b=n.mod.neg(),L&&0!==b.negative&&b.isub(l)),{div:n.div,mod:b}):l.length>this.length||this.cmp(l)<0?{div:new c(0),mod:this}:1===l.length?"div"===y?{div:this.divn(l.words[0]),mod:null}:"mod"===y?{div:null,mod:new c(this.modrn(l.words[0]))}:{div:this.divn(l.words[0]),mod:new c(this.modrn(l.words[0]))}:this._wordDiv(l,y);var O,b,n},c.prototype.div=function(l){return this.divmod(l,"div",!1).div},c.prototype.mod=function(l){return this.divmod(l,"mod",!1).mod},c.prototype.umod=function(l){return this.divmod(l,"mod",!0).mod},c.prototype.divRound=function(l){var y=this.divmod(l);if(y.mod.isZero())return y.div;var L=0!==y.div.negative?y.mod.isub(l):y.mod,O=l.ushrn(1),b=l.andln(1),n=L.cmp(O);return n<0||1===b&&0===n?y.div:0!==y.div.negative?y.div.isubn(1):y.div.iaddn(1)},c.prototype.modrn=function(l){var y=l<0;y&&(l=-l),g(l<=67108863);for(var L=(1<<26)%l,O=0,b=this.length-1;b>=0;b--)O=(L*O+(0|this.words[b]))%l;return y?-O:O},c.prototype.modn=function(l){return this.modrn(l)},c.prototype.idivn=function(l){var y=l<0;y&&(l=-l),g(l<=67108863);for(var L=0,O=this.length-1;O>=0;O--){var b=(0|this.words[O])+67108864*L;this.words[O]=b/l|0,L=b%l}return this._strip(),y?this.ineg():this},c.prototype.divn=function(l){return this.clone().idivn(l)},c.prototype.egcd=function(l){g(0===l.negative),g(!l.isZero());var y=this,L=l.clone();y=0!==y.negative?y.umod(l):y.clone();for(var O=new c(1),b=new c(0),n=new c(0),_=new c(1),H=0;y.isEven()&&L.isEven();)y.iushrn(1),L.iushrn(1),++H;for(var V=L.clone(),K=y.clone();!y.isZero();){for(var se=0,Ye=1;!(y.words[0]&Ye)&&se<26;++se,Ye<<=1);if(se>0)for(y.iushrn(se);se-- >0;)(O.isOdd()||b.isOdd())&&(O.iadd(V),b.isub(K)),O.iushrn(1),b.iushrn(1);for(var Oe=0,Qe=1;!(L.words[0]&Qe)&&Oe<26;++Oe,Qe<<=1);if(Oe>0)for(L.iushrn(Oe);Oe-- >0;)(n.isOdd()||_.isOdd())&&(n.iadd(V),_.isub(K)),n.iushrn(1),_.iushrn(1);y.cmp(L)>=0?(y.isub(L),O.isub(n),b.isub(_)):(L.isub(y),n.isub(O),_.isub(b))}return{a:n,b:_,gcd:L.iushln(H)}},c.prototype._invmp=function(l){g(0===l.negative),g(!l.isZero());var se,y=this,L=l.clone();y=0!==y.negative?y.umod(l):y.clone();for(var O=new c(1),b=new c(0),n=L.clone();y.cmpn(1)>0&&L.cmpn(1)>0;){for(var _=0,H=1;!(y.words[0]&H)&&_<26;++_,H<<=1);if(_>0)for(y.iushrn(_);_-- >0;)O.isOdd()&&O.iadd(n),O.iushrn(1);for(var V=0,K=1;!(L.words[0]&K)&&V<26;++V,K<<=1);if(V>0)for(L.iushrn(V);V-- >0;)b.isOdd()&&b.iadd(n),b.iushrn(1);y.cmp(L)>=0?(y.isub(L),O.isub(b)):(L.isub(y),b.isub(O))}return(se=0===y.cmpn(1)?O:b).cmpn(0)<0&&se.iadd(l),se},c.prototype.gcd=function(l){if(this.isZero())return l.abs();if(l.isZero())return this.abs();var y=this.clone(),L=l.clone();y.negative=0,L.negative=0;for(var O=0;y.isEven()&&L.isEven();O++)y.iushrn(1),L.iushrn(1);for(;;){for(;y.isEven();)y.iushrn(1);for(;L.isEven();)L.iushrn(1);var b=y.cmp(L);if(b<0){var n=y;y=L,L=n}else if(0===b||0===L.cmpn(1))break;y.isub(L)}return L.iushln(O)},c.prototype.invm=function(l){return this.egcd(l).a.umod(l)},c.prototype.isEven=function(){return 0==(1&this.words[0])},c.prototype.isOdd=function(){return 1==(1&this.words[0])},c.prototype.andln=function(l){return this.words[0]&l},c.prototype.bincn=function(l){g("number"==typeof l);var y=l%26,L=(l-y)/26,O=1<<y;if(this.length<=L)return this._expand(L+1),this.words[L]|=O,this;for(var b=O,n=L;0!==b&&n<this.length;n++){var _=0|this.words[n];b=(_+=b)>>>26,this.words[n]=_&=67108863}return 0!==b&&(this.words[n]=b,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(l){var L,y=l<0;if(0!==this.negative&&!y)return-1;if(0===this.negative&&y)return 1;if(this._strip(),this.length>1)L=1;else{y&&(l=-l),g(l<=67108863,"Number is too big");var O=0|this.words[0];L=O===l?0:O<l?-1:1}return 0!==this.negative?0|-L:L},c.prototype.cmp=function(l){if(0!==this.negative&&0===l.negative)return-1;if(0===this.negative&&0!==l.negative)return 1;var y=this.ucmp(l);return 0!==this.negative?0|-y:y},c.prototype.ucmp=function(l){if(this.length>l.length)return 1;if(this.length<l.length)return-1;for(var y=0,L=this.length-1;L>=0;L--){var O=0|this.words[L],b=0|l.words[L];if(O!==b){O<b?y=-1:O>b&&(y=1);break}}return y},c.prototype.gtn=function(l){return 1===this.cmpn(l)},c.prototype.gt=function(l){return 1===this.cmp(l)},c.prototype.gten=function(l){return this.cmpn(l)>=0},c.prototype.gte=function(l){return this.cmp(l)>=0},c.prototype.ltn=function(l){return-1===this.cmpn(l)},c.prototype.lt=function(l){return-1===this.cmp(l)},c.prototype.lten=function(l){return this.cmpn(l)<=0},c.prototype.lte=function(l){return this.cmp(l)<=0},c.prototype.eqn=function(l){return 0===this.cmpn(l)},c.prototype.eq=function(l){return 0===this.cmp(l)},c.red=function(l){return new i(l)},c.prototype.toRed=function(l){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),l.convertTo(this)._forceRed(l)},c.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(l){return this.red=l,this},c.prototype.forceRed=function(l){return g(!this.red,"Already a number in reduction context"),this._forceRed(l)},c.prototype.redAdd=function(l){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,l)},c.prototype.redIAdd=function(l){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,l)},c.prototype.redSub=function(l){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,l)},c.prototype.redISub=function(l){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,l)},c.prototype.redShl=function(l){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,l)},c.prototype.redMul=function(l){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.mul(this,l)},c.prototype.redIMul=function(l){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.imul(this,l)},c.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(l){return g(this.red&&!l.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,l)};var pe={k256:null,p224:null,p192:null,p25519:null};function ie(m,l){this.name=m,this.p=new c(l,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function de(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function te(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function i(m){if("string"==typeof m){var l=c._prime(m);this.m=l.p,this.prime=l}else g(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function o(m){i.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var l=new c(null);return l.words=new Array(Math.ceil(this.n/13)),l},ie.prototype.ireduce=function(l){var L,y=l;do{this.split(y,this.tmp),L=(y=(y=this.imulK(y)).iadd(this.tmp)).bitLength()}while(L>this.n);var O=L<this.n?-1:y.ucmp(this.p);return 0===O?(y.words[0]=0,y.length=1):O>0?y.isub(this.p):void 0!==y.strip?y.strip():y._strip(),y},ie.prototype.split=function(l,y){l.iushrn(this.n,0,y)},ie.prototype.imulK=function(l){return l.imul(this.k)},T(de,ie),de.prototype.split=function(l,y){for(var L=4194303,O=Math.min(l.length,9),b=0;b<O;b++)y.words[b]=l.words[b];if(y.length=O,l.length<=9)return l.words[0]=0,void(l.length=1);var n=l.words[9];for(y.words[y.length++]=n&L,b=10;b<l.length;b++){var _=0|l.words[b];l.words[b-10]=(_&L)<<4|n>>>22,n=_}l.words[b-10]=n>>>=22,l.length-=0===n&&l.length>10?10:9},de.prototype.imulK=function(l){l.words[l.length]=0,l.words[l.length+1]=0,l.length+=2;for(var y=0,L=0;L<l.length;L++){var O=0|l.words[L];l.words[L]=67108863&(y+=977*O),y=64*O+(y/67108864|0)}return 0===l.words[l.length-1]&&(l.length--,0===l.words[l.length-1]&&l.length--),l},T(te,ie),T(ae,ie),T(E,ie),E.prototype.imulK=function(l){for(var y=0,L=0;L<l.length;L++){var O=19*(0|l.words[L])+y,b=67108863&O;O>>>=26,l.words[L]=b,y=O}return 0!==y&&(l.words[l.length++]=y),l},c._prime=function(l){if(pe[l])return pe[l];var y;if("k256"===l)y=new de;else if("p224"===l)y=new te;else if("p192"===l)y=new ae;else{if("p25519"!==l)throw new Error("Unknown prime "+l);y=new E}return pe[l]=y,y},i.prototype._verify1=function(l){g(0===l.negative,"red works only with positives"),g(l.red,"red works only with red numbers")},i.prototype._verify2=function(l,y){g(0==(l.negative|y.negative),"red works only with positives"),g(l.red&&l.red===y.red,"red works only with red numbers")},i.prototype.imod=function(l){return this.prime?this.prime.ireduce(l)._forceRed(this):(S(l,l.umod(this.m)._forceRed(this)),l)},i.prototype.neg=function(l){return l.isZero()?l.clone():this.m.sub(l)._forceRed(this)},i.prototype.add=function(l,y){this._verify2(l,y);var L=l.add(y);return L.cmp(this.m)>=0&&L.isub(this.m),L._forceRed(this)},i.prototype.iadd=function(l,y){this._verify2(l,y);var L=l.iadd(y);return L.cmp(this.m)>=0&&L.isub(this.m),L},i.prototype.sub=function(l,y){this._verify2(l,y);var L=l.sub(y);return L.cmpn(0)<0&&L.iadd(this.m),L._forceRed(this)},i.prototype.isub=function(l,y){this._verify2(l,y);var L=l.isub(y);return L.cmpn(0)<0&&L.iadd(this.m),L},i.prototype.shl=function(l,y){return this._verify1(l),this.imod(l.ushln(y))},i.prototype.imul=function(l,y){return this._verify2(l,y),this.imod(l.imul(y))},i.prototype.mul=function(l,y){return this._verify2(l,y),this.imod(l.mul(y))},i.prototype.isqr=function(l){return this.imul(l,l.clone())},i.prototype.sqr=function(l){return this.mul(l,l)},i.prototype.sqrt=function(l){if(l.isZero())return l.clone();var y=this.m.andln(3);if(g(y%2==1),3===y){var L=this.m.add(new c(1)).iushrn(2);return this.pow(l,L)}for(var O=this.m.subn(1),b=0;!O.isZero()&&0===O.andln(1);)b++,O.iushrn(1);g(!O.isZero());var n=new c(1).toRed(this),_=n.redNeg(),H=this.m.subn(1).iushrn(1),V=this.m.bitLength();for(V=new c(2*V*V).toRed(this);0!==this.pow(V,H).cmp(_);)V.redIAdd(_);for(var K=this.pow(V,O),se=this.pow(l,O.addn(1).iushrn(1)),Ye=this.pow(l,O),Oe=b;0!==Ye.cmp(n);){for(var Qe=Ye,be=0;0!==Qe.cmp(n);be++)Qe=Qe.redSqr();g(be<Oe);var ue=this.pow(K,new c(1).iushln(Oe-be-1));se=se.redMul(ue),K=ue.redSqr(),Ye=Ye.redMul(K),Oe=be}return se},i.prototype.invm=function(l){var y=l._invmp(this.m);return 0!==y.negative?(y.negative=0,this.imod(y).redNeg()):this.imod(y)},i.prototype.pow=function(l,y){if(y.isZero())return new c(1).toRed(this);if(0===y.cmpn(1))return l.clone();var O=new Array(16);O[0]=new c(1).toRed(this),O[1]=l;for(var b=2;b<O.length;b++)O[b]=this.mul(O[b-1],l);var n=O[0],_=0,H=0,V=y.bitLength()%26;for(0===V&&(V=26),b=y.length-1;b>=0;b--){for(var K=y.words[b],se=V-1;se>=0;se--){var Ye=K>>se&1;n!==O[0]&&(n=this.sqr(n)),0!==Ye||0!==_?(_<<=1,_|=Ye,(4==++H||0===b&&0===se)&&(n=this.mul(n,O[_]),H=0,_=0)):H=0}V=26}return n},i.prototype.convertTo=function(l){var y=l.umod(this.m);return y===l?y.clone():y},i.prototype.convertFrom=function(l){var y=l.clone();return y.red=null,y},c.mont=function(l){return new o(l)},T(o,i),o.prototype.convertTo=function(l){return this.imod(l.ushln(this.shift))},o.prototype.convertFrom=function(l){var y=this.imod(l.mul(this.rinv));return y.red=null,y},o.prototype.imul=function(l,y){if(l.isZero()||y.isZero())return l.words[0]=0,l.length=1,l;var L=l.imul(y),O=L.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=L.isub(O).iushrn(this.shift),n=b;return b.cmp(this.m)>=0?n=b.isub(this.m):b.cmpn(0)<0&&(n=b.iadd(this.m)),n._forceRed(this)},o.prototype.mul=function(l,y){if(l.isZero()||y.isZero())return new c(0)._forceRed(this);var L=l.mul(y),O=L.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=L.isub(O).iushrn(this.shift),n=b;return b.cmp(this.m)>=0?n=b.isub(this.m):b.cmpn(0)<0&&(n=b.iadd(this.m)),n._forceRed(this)},o.prototype.invm=function(l){return this.imod(l._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ue=p.nmd(Ue),this)},82:(Ue,q,p)=>{var e;function t(T){this.rand=T}if(Ue.exports=function(c){return e||(e=new t(null)),e.generate(c)},Ue.exports.Rand=t,t.prototype.generate=function(c){return this._rand(c)},t.prototype._rand=function(c){if(this.rand.getBytes)return this.rand.getBytes(c);for(var C=new Uint8Array(c),u=0;u<C.length;u++)C[u]=this.rand.getByte();return C},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?t.prototype._rand=function(c){var C=new Uint8Array(c);return self.crypto.getRandomValues(C),C}:self.msCrypto&&self.msCrypto.getRandomValues?t.prototype._rand=function(c){var C=new Uint8Array(c);return self.msCrypto.getRandomValues(C),C}:"object"==typeof window&&(t.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var g=p(7903);if("function"!=typeof g.randomBytes)throw new Error("Not supported");t.prototype._rand=function(c){return g.randomBytes(c)}}catch{}},6403:(Ue,q,p)=>{var e=p(843).Buffer;function t(P){e.isBuffer(P)||(P=e.from(P));for(var d=P.length/4|0,S=new Array(d),M=0;M<d;M++)S[M]=P.readUInt32BE(4*M);return S}function g(P){for(;0<P.length;P++)P[0]=0}function T(P,d,S,M,I){for(var X,pe,ie,de,D=S[0],R=S[1],F=S[2],W=S[3],Y=P[0]^d[0],Q=P[1]^d[1],J=P[2]^d[2],ne=P[3]^d[3],te=4,ae=1;ae<I;ae++)X=D[Y>>>24]^R[Q>>>16&255]^F[J>>>8&255]^W[255&ne]^d[te++],pe=D[Q>>>24]^R[J>>>16&255]^F[ne>>>8&255]^W[255&Y]^d[te++],ie=D[J>>>24]^R[ne>>>16&255]^F[Y>>>8&255]^W[255&Q]^d[te++],de=D[ne>>>24]^R[Y>>>16&255]^F[Q>>>8&255]^W[255&J]^d[te++],Y=X,Q=pe,J=ie,ne=de;return X=(M[Y>>>24]<<24|M[Q>>>16&255]<<16|M[J>>>8&255]<<8|M[255&ne])^d[te++],pe=(M[Q>>>24]<<24|M[J>>>16&255]<<16|M[ne>>>8&255]<<8|M[255&Y])^d[te++],ie=(M[J>>>24]<<24|M[ne>>>16&255]<<16|M[Y>>>8&255]<<8|M[255&Q])^d[te++],de=(M[ne>>>24]<<24|M[Y>>>16&255]<<16|M[Q>>>8&255]<<8|M[255&J])^d[te++],[X>>>=0,pe>>>=0,ie>>>=0,de>>>=0]}var c=[0,1,2,4,8,16,32,64,128,27,54],C=function(){for(var P=new Array(256),d=0;d<256;d++)P[d]=d<128?d<<1:d<<1^283;for(var S=[],M=[],I=[[],[],[],[]],D=[[],[],[],[]],R=0,F=0,W=0;W<256;++W){var Y=F^F<<1^F<<2^F<<3^F<<4;S[R]=Y=Y>>>8^255&Y^99,M[Y]=R;var Q=P[R],J=P[Q],ne=P[J],X=257*P[Y]^16843008*Y;I[0][R]=X<<24|X>>>8,I[1][R]=X<<16|X>>>16,I[2][R]=X<<8|X>>>24,I[3][R]=X,D[0][Y]=(X=16843009*ne^65537*J^257*Q^16843008*R)<<24|X>>>8,D[1][Y]=X<<16|X>>>16,D[2][Y]=X<<8|X>>>24,D[3][Y]=X,0===R?R=F=1:(R=Q^P[P[P[ne^Q]]],F^=P[P[F]])}return{SBOX:S,INV_SBOX:M,SUB_MIX:I,INV_SUB_MIX:D}}();function u(P){this._key=t(P),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var P=this._key,d=P.length,S=d+6,M=4*(S+1),I=[],D=0;D<d;D++)I[D]=P[D];for(D=d;D<M;D++){var R=I[D-1];D%d==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^=c[D/d|0]<<24):d>6&&D%d==4&&(R=C.SBOX[R>>>24]<<24|C.SBOX[R>>>16&255]<<16|C.SBOX[R>>>8&255]<<8|C.SBOX[255&R]),I[D]=I[D-d]^R}for(var F=[],W=0;W<M;W++){var Y=M-W,Q=I[Y-(W%4?0:4)];F[W]=W<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=S,this._keySchedule=I,this._invKeySchedule=F},u.prototype.encryptBlockRaw=function(P){return T(P=t(P),this._keySchedule,C.SUB_MIX,C.SBOX,this._nRounds)},u.prototype.encryptBlock=function(P){var d=this.encryptBlockRaw(P),S=e.allocUnsafe(16);return S.writeUInt32BE(d[0],0),S.writeUInt32BE(d[1],4),S.writeUInt32BE(d[2],8),S.writeUInt32BE(d[3],12),S},u.prototype.decryptBlock=function(P){var d=(P=t(P))[1];P[1]=P[3],P[3]=d;var S=T(P,this._invKeySchedule,C.INV_SUB_MIX,C.INV_SBOX,this._nRounds),M=e.allocUnsafe(16);return M.writeUInt32BE(S[0],0),M.writeUInt32BE(S[3],4),M.writeUInt32BE(S[2],8),M.writeUInt32BE(S[1],12),M},u.prototype.scrub=function(){g(this._keySchedule),g(this._invKeySchedule),g(this._key)},Ue.exports.AES=u},6087:(Ue,q,p)=>{var e=p(6403),t=p(843).Buffer,g=p(6420),T=p(6698),c=p(1503),C=p(3636),u=p(9107);function S(M,I,D,R){g.call(this);var F=t.alloc(4,0);this._cipher=new e.AES(I);var W=this._cipher.encryptBlock(F);this._ghash=new c(W),D=function d(M,I,D){if(12===I.length)return M._finID=t.concat([I,t.from([0,0,0,1])]),t.concat([I,t.from([0,0,0,2])]);var R=new c(D),F=I.length,W=F%16;R.update(I),W&&R.update(t.alloc(W=16-W,0)),R.update(t.alloc(8,0));var Y=8*F,Q=t.alloc(8);Q.writeUIntBE(Y,0,8),R.update(Q),M._finID=R.state;var J=t.from(M._finID);return u(J),J}(this,D,W),this._prev=t.from(D),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=R,this._alen=0,this._len=0,this._mode=M,this._authTag=null,this._called=!1}T(S,g),S.prototype._update=function(M){if(!this._called&&this._alen){var I=16-this._alen%16;I<16&&(I=t.alloc(I,0),this._ghash.update(I))}this._called=!0;var D=this._mode.encrypt(this,M);return this._ghash.update(this._decrypt?M:D),this._len+=M.length,D},S.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var M=C(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function P(M,I){var D=0;M.length!==I.length&&D++;for(var R=Math.min(M.length,I.length),F=0;F<R;++F)D+=M[F]^I[F];return D}(M,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=M,this._cipher.scrub()},S.prototype.getAuthTag=function(){if(this._decrypt||!t.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},S.prototype.setAuthTag=function(I){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=I},S.prototype.setAAD=function(I){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(I),this._alen+=I.length},Ue.exports=S},2489:(Ue,q,p)=>{var e=p(2689),t=p(46),g=p(4946);q.createCipher=q.Cipher=e.createCipher,q.createCipheriv=q.Cipheriv=e.createCipheriv,q.createDecipher=q.Decipher=t.createDecipher,q.createDecipheriv=q.Decipheriv=t.createDecipheriv,q.listCiphers=q.getCiphers=function T(){return Object.keys(g)}},46:(Ue,q,p)=>{var e=p(6087),t=p(843).Buffer,g=p(2421),T=p(9354),c=p(6420),C=p(6403),u=p(6505);function d(R,F,W){c.call(this),this._cache=new S,this._last=void 0,this._cipher=new C.AES(F),this._prev=t.from(W),this._mode=R,this._autopadding=!0}function S(){this.cache=t.allocUnsafe(0)}function I(R,F,W){var Y=g[R.toLowerCase()];if(!Y)throw new TypeError("invalid suite type");if("string"==typeof W&&(W=t.from(W)),"GCM"!==Y.mode&&W.length!==Y.iv)throw new TypeError("invalid iv length "+W.length);if("string"==typeof F&&(F=t.from(F)),F.length!==Y.key/8)throw new TypeError("invalid key length "+F.length);return"stream"===Y.type?new T(Y.module,F,W,!0):"auth"===Y.type?new e(Y.module,F,W,!0):new d(Y.module,F,W)}p(6698)(d,c),d.prototype._update=function(R){this._cache.add(R);for(var F,W,Y=[];F=this._cache.get(this._autopadding);)W=this._mode.decrypt(this,F),Y.push(W);return t.concat(Y)},d.prototype._final=function(){var R=this._cache.flush();if(this._autopadding)return function M(R){var F=R[15];if(F<1||F>16)throw new Error("unable to decrypt data");for(var W=-1;++W<F;)if(R[W+(16-F)]!==F)throw new Error("unable to decrypt data");if(16!==F)return R.slice(0,16-F)}(this._mode.decrypt(this,R));if(R)throw new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(R){return this._autopadding=!!R,this},S.prototype.add=function(R){this.cache=t.concat([this.cache,R])},S.prototype.get=function(R){var F;if(R){if(this.cache.length>16)return F=this.cache.slice(0,16),this.cache=this.cache.slice(16),F}else if(this.cache.length>=16)return F=this.cache.slice(0,16),this.cache=this.cache.slice(16),F;return null},S.prototype.flush=function(){if(this.cache.length)return this.cache},q.createDecipher=function D(R,F){var W=g[R.toLowerCase()];if(!W)throw new TypeError("invalid suite type");var Y=u(F,!1,W.key,W.iv);return I(R,Y.key,Y.iv)},q.createDecipheriv=I},2689:(Ue,q,p)=>{var e=p(2421),t=p(6087),g=p(843).Buffer,T=p(9354),c=p(6420),C=p(6403),u=p(6505);function d(R,F,W){c.call(this),this._cache=new M,this._cipher=new C.AES(F),this._prev=g.from(W),this._mode=R,this._autopadding=!0}p(6698)(d,c),d.prototype._update=function(R){this._cache.add(R);for(var F,W,Y=[];F=this._cache.get();)W=this._mode.encrypt(this,F),Y.push(W);return g.concat(Y)};var S=g.alloc(16,16);function M(){this.cache=g.allocUnsafe(0)}function I(R,F,W){var Y=e[R.toLowerCase()];if(!Y)throw new TypeError("invalid suite type");if("string"==typeof F&&(F=g.from(F)),F.length!==Y.key/8)throw new TypeError("invalid key length "+F.length);if("string"==typeof W&&(W=g.from(W)),"GCM"!==Y.mode&&W.length!==Y.iv)throw new TypeError("invalid iv length "+W.length);return"stream"===Y.type?new T(Y.module,F,W):"auth"===Y.type?new t(Y.module,F,W):new d(Y.module,F,W)}d.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(S))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(R){return this._autopadding=!!R,this},M.prototype.add=function(R){this.cache=g.concat([this.cache,R])},M.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},M.prototype.flush=function(){for(var R=16-this.cache.length,F=g.allocUnsafe(R),W=-1;++W<R;)F.writeUInt8(R,W);return g.concat([this.cache,F])},q.createCipheriv=I,q.createCipher=function D(R,F){var W=e[R.toLowerCase()];if(!W)throw new TypeError("invalid suite type");var Y=u(F,!1,W.key,W.iv);return I(R,Y.key,Y.iv)}},1503:(Ue,q,p)=>{var e=p(843).Buffer,t=e.alloc(16,0);function T(C){var u=e.allocUnsafe(16);return u.writeUInt32BE(C[0]>>>0,0),u.writeUInt32BE(C[1]>>>0,4),u.writeUInt32BE(C[2]>>>0,8),u.writeUInt32BE(C[3]>>>0,12),u}function c(C){this.h=C,this.state=e.alloc(16,0),this.cache=e.allocUnsafe(0)}c.prototype.ghash=function(C){for(var u=-1;++u<C.length;)this.state[u]^=C[u];this._multiply()},c.prototype._multiply=function(){for(var P,S,C=function g(C){return[C.readUInt32BE(0),C.readUInt32BE(4),C.readUInt32BE(8),C.readUInt32BE(12)]}(this.h),u=[0,0,0,0],M=-1;++M<128;){for(0!=(this.state[~~(M/8)]&1<<7-M%8)&&(u[0]^=C[0],u[1]^=C[1],u[2]^=C[2],u[3]^=C[3]),S=0!=(1&C[3]),P=3;P>0;P--)C[P]=C[P]>>>1|(1&C[P-1])<<31;C[0]=C[0]>>>1,S&&(C[0]=C[0]^225<<24)}this.state=T(u)},c.prototype.update=function(C){this.cache=e.concat([this.cache,C]);for(var u;this.cache.length>=16;)u=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(u)},c.prototype.final=function(C,u){return this.cache.length&&this.ghash(e.concat([this.cache,t],16)),this.ghash(T([0,C,0,u])),this.state},Ue.exports=c},9107:Ue=>{Ue.exports=function q(p){for(var t,e=p.length;e--;){if(255!==(t=p.readUInt8(e))){t++,p.writeUInt8(t,e);break}p.writeUInt8(0,e)}}},1175:(Ue,q,p)=>{var e=p(3636);q.encrypt=function(t,g){var T=e(g,t._prev);return t._prev=t._cipher.encryptBlock(T),t._prev},q.decrypt=function(t,g){var T=t._prev;t._prev=g;var c=t._cipher.decryptBlock(g);return e(c,T)}},3631:(Ue,q,p)=>{var e=p(843).Buffer,t=p(3636);function g(T,c,C){var u=c.length,P=t(c,T._cache);return T._cache=T._cache.slice(u),T._prev=e.concat([T._prev,C?c:P]),P}q.encrypt=function(T,c,C){for(var P,u=e.allocUnsafe(0);c.length;){if(0===T._cache.length&&(T._cache=T._cipher.encryptBlock(T._prev),T._prev=e.allocUnsafe(0)),!(T._cache.length<=c.length)){u=e.concat([u,g(T,c,C)]);break}u=e.concat([u,g(T,c.slice(0,P=T._cache.length),C)]),c=c.slice(P)}return u}},3892:(Ue,q,p)=>{var e=p(843).Buffer;function t(T,c,C){for(var M,I,P=-1,S=0;++P<8;)S+=(128&(I=T._cipher.encryptBlock(T._prev)[0]^(M=c&1<<7-P?128:0)))>>P%8,T._prev=g(T._prev,C?M:I);return S}function g(T,c){var C=T.length,u=-1,P=e.allocUnsafe(T.length);for(T=e.concat([T,e.from([c])]);++u<C;)P[u]=T[u]<<1|T[u+1]>>7;return P}q.encrypt=function(T,c,C){for(var u=c.length,P=e.allocUnsafe(u),d=-1;++d<u;)P[d]=t(T,c[d],C);return P}},6787:(Ue,q,p)=>{var e=p(843).Buffer;function t(g,T,c){var u=g._cipher.encryptBlock(g._prev)[0]^T;return g._prev=e.concat([g._prev.slice(1),e.from([c?T:u])]),u}q.encrypt=function(g,T,c){for(var C=T.length,u=e.allocUnsafe(C),P=-1;++P<C;)u[P]=t(g,T[P],c);return u}},5268:(Ue,q,p)=>{var e=p(3636),t=p(843).Buffer,g=p(9107);function T(C){var u=C._cipher.encryptBlockRaw(C._prev);return g(C._prev),u}q.encrypt=function(C,u){var P=Math.ceil(u.length/16),d=C._cache.length;C._cache=t.concat([C._cache,t.allocUnsafe(16*P)]);for(var S=0;S<P;S++){var M=T(C),I=d+16*S;C._cache.writeUInt32BE(M[0],I+0),C._cache.writeUInt32BE(M[1],I+4),C._cache.writeUInt32BE(M[2],I+8),C._cache.writeUInt32BE(M[3],I+12)}var D=C._cache.slice(0,u.length);return C._cache=C._cache.slice(u.length),e(u,D)}},5995:(Ue,q)=>{q.encrypt=function(p,e){return p._cipher.encryptBlock(e)},q.decrypt=function(p,e){return p._cipher.decryptBlock(e)}},2421:(Ue,q,p)=>{var e={ECB:p(5995),CBC:p(1175),CFB:p(3631),CFB8:p(6787),CFB1:p(3892),OFB:p(4532),CTR:p(5268),GCM:p(5268)},t=p(4946);for(var g in t)t[g].module=e[t[g].mode];Ue.exports=t},4532:(Ue,q,p)=>{var e=p(3636);function t(g){return g._prev=g._cipher.encryptBlock(g._prev),g._prev}q.encrypt=function(g,T){for(;g._cache.length<T.length;)g._cache=Buffer.concat([g._cache,t(g)]);var c=g._cache.slice(0,T.length);return g._cache=g._cache.slice(T.length),e(T,c)}},9354:(Ue,q,p)=>{var e=p(6403),t=p(843).Buffer,g=p(6420);function c(C,u,P,d){g.call(this),this._cipher=new e.AES(u),this._prev=t.from(P),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=d,this._mode=C}p(6698)(c,g),c.prototype._update=function(C){return this._mode.encrypt(this,C,this._decrypt)},c.prototype._final=function(){this._cipher.scrub()},Ue.exports=c},5600:(Ue,q,p)=>{var e=p(4948),t=p(2489),g=p(2421),T=p(9402),c=p(6505);function P(M,I,D){if(M=M.toLowerCase(),g[M])return t.createCipheriv(M,I,D);if(T[M])return new e({key:I,iv:D,mode:M});throw new TypeError("invalid suite type")}function d(M,I,D){if(M=M.toLowerCase(),g[M])return t.createDecipheriv(M,I,D);if(T[M])return new e({key:I,iv:D,mode:M,decrypt:!0});throw new TypeError("invalid suite type")}q.createCipher=q.Cipher=function C(M,I){var D,R;if(M=M.toLowerCase(),g[M])D=g[M].key,R=g[M].iv;else{if(!T[M])throw new TypeError("invalid suite type");D=8*T[M].key,R=T[M].iv}var F=c(I,!1,D,R);return P(M,F.key,F.iv)},q.createCipheriv=q.Cipheriv=P,q.createDecipher=q.Decipher=function u(M,I){var D,R;if(M=M.toLowerCase(),g[M])D=g[M].key,R=g[M].iv;else{if(!T[M])throw new TypeError("invalid suite type");D=8*T[M].key,R=T[M].iv}var F=c(I,!1,D,R);return d(M,F.key,F.iv)},q.createDecipheriv=q.Decipheriv=d,q.listCiphers=q.getCiphers=function S(){return Object.keys(T).concat(t.getCiphers())}},4948:(Ue,q,p)=>{var e=p(6420),t=p(132),g=p(6698),T=p(843).Buffer,c={"des-ede3-cbc":t.CBC.instantiate(t.EDE),"des-ede3":t.EDE,"des-ede-cbc":t.CBC.instantiate(t.EDE),"des-ede":t.EDE,"des-cbc":t.CBC.instantiate(t.DES),"des-ecb":t.DES};function C(u){e.call(this);var S,P=u.mode.toLowerCase(),d=c[P];S=u.decrypt?"decrypt":"encrypt";var M=u.key;T.isBuffer(M)||(M=T.from(M)),("des-ede"===P||"des-ede-cbc"===P)&&(M=T.concat([M,M.slice(0,8)]));var I=u.iv;T.isBuffer(I)||(I=T.from(I)),this._des=d.create({key:M,iv:I,type:S})}c.des=c["des-cbc"],c.des3=c["des-ede3-cbc"],Ue.exports=C,g(C,e),C.prototype._update=function(u){return T.from(this._des.update(u))},C.prototype._final=function(){return T.from(this._des.final())}},9402:(Ue,q)=>{q["des-ecb"]={key:8,iv:0},q["des-cbc"]=q.des={key:8,iv:8},q["des-ede3-cbc"]=q.des3={key:24,iv:8},q["des-ede3"]={key:24,iv:0},q["des-ede-cbc"]={key:16,iv:8},q["des-ede"]={key:16,iv:0}},1946:(Ue,q,p)=>{var e=p(2662),t=p(4019);function T(C){var P,u=C.modulus.byteLength();do{P=new e(t(u))}while(P.cmp(C.modulus)>=0||!P.umod(C.prime1)||!P.umod(C.prime2));return P}function c(C,u){var P=function g(C){var u=T(C);return{blinder:u.toRed(e.mont(C.modulus)).redPow(new e(C.publicExponent)).fromRed(),unblinder:u.invm(C.modulus)}}(u),d=u.modulus.byteLength(),S=new e(C).mul(P.blinder).umod(u.modulus),M=S.toRed(e.mont(u.prime1)),I=S.toRed(e.mont(u.prime2)),D=u.coefficient,R=u.prime1,F=u.prime2,W=M.redPow(u.exponent1).fromRed(),Y=I.redPow(u.exponent2).fromRed(),Q=W.isub(Y).imul(D).umod(R).imul(F);return Y.iadd(Q).imul(P.unblinder).umod(u.modulus).toArrayLike(Buffer,"be",d)}c.getr=T,Ue.exports=c},1699:(Ue,q,p)=>{Ue.exports=p(5207)},7686:(Ue,q,p)=>{var e=p(843).Buffer,t=p(6362),g=p(6745),T=p(6698),c=p(3602),C=p(1173),u=p(5207);function P(I){g.Writable.call(this);var D=u[I];if(!D)throw new Error("Unknown message digest");this._hashType=D.hash,this._hash=t(D.hash),this._tag=D.id,this._signType=D.sign}function d(I){g.Writable.call(this);var D=u[I];if(!D)throw new Error("Unknown message digest");this._hash=t(D.hash),this._tag=D.id,this._signType=D.sign}function S(I){return new P(I)}function M(I){return new d(I)}Object.keys(u).forEach(function(I){u[I].id=e.from(u[I].id,"hex"),u[I.toLowerCase()]=u[I]}),T(P,g.Writable),P.prototype._write=function(D,R,F){this._hash.update(D),F()},P.prototype.update=function(D,R){return"string"==typeof D&&(D=e.from(D,R)),this._hash.update(D),this},P.prototype.sign=function(D,R){this.end();var F=this._hash.digest(),W=c(F,D,this._hashType,this._signType,this._tag);return R?W.toString(R):W},T(d,g.Writable),d.prototype._write=function(D,R,F){this._hash.update(D),F()},d.prototype.update=function(D,R){return"string"==typeof D&&(D=e.from(D,R)),this._hash.update(D),this},d.prototype.verify=function(D,R,F){"string"==typeof R&&(R=e.from(R,F)),this.end();var W=this._hash.digest();return C(R,W,D,this._signType,this._tag)},Ue.exports={Sign:S,Verify:M,createSign:S,createVerify:M}},3602:(Ue,q,p)=>{var e=p(843).Buffer,t=p(5825),g=p(1946),T=p(8651).ec,c=p(2662),C=p(7983),u=p(1308);function I(Y,Q,J,ne){if((Y=e.from(Y.toArray())).length<Q.byteLength()){var X=e.alloc(Q.byteLength()-Y.length);Y=e.concat([X,Y])}var pe=J.length,ie=function R(Y,Q){Y=(Y=D(Y,Q)).mod(Q);var J=e.from(Y.toArray());if(J.length<Q.byteLength()){var ne=e.alloc(Q.byteLength()-J.length);J=e.concat([ne,J])}return J}(J,Q),de=e.alloc(pe);de.fill(1);var te=e.alloc(pe);return te=t(ne,te).update(de).update(e.from([0])).update(Y).update(ie).digest(),de=t(ne,te).update(de).digest(),{k:te=t(ne,te).update(de).update(e.from([1])).update(Y).update(ie).digest(),v:de=t(ne,te).update(de).digest()}}function D(Y,Q){var J=new c(Y),ne=(Y.length<<3)-Q.bitLength();return ne>0&&J.ishrn(ne),J}function F(Y,Q,J){var ne,X;do{for(ne=e.alloc(0);8*ne.length<Y.bitLength();)Q.v=t(J,Q.k).update(Q.v).digest(),ne=e.concat([ne,Q.v]);X=D(ne,Y),Q.k=t(J,Q.k).update(Q.v).update(e.from([0])).digest(),Q.v=t(J,Q.k).update(Q.v).digest()}while(-1!==X.cmp(Y));return X}function W(Y,Q,J,ne){return Y.toRed(c.mont(J)).redPow(Q).fromRed().mod(ne)}Ue.exports=function P(Y,Q,J,ne,X){var pe=C(Q);if(pe.curve){if("ecdsa"!==ne&&"ecdsa/rsa"!==ne)throw new Error("wrong private key type");return function d(Y,Q){var J=u[Q.curve.join(".")];if(!J)throw new Error("unknown curve "+Q.curve.join("."));var pe=new T(J).keyFromPrivate(Q.privateKey).sign(Y);return e.from(pe.toDER())}(Y,pe)}if("dsa"===pe.type){if("dsa"!==ne)throw new Error("wrong private key type");return function S(Y,Q,J){for(var te,ne=Q.params.priv_key,X=Q.params.p,pe=Q.params.q,ie=Q.params.g,de=new c(0),ae=D(Y,pe).mod(pe),E=!1,i=I(ne,pe,Y,J);!1===E;)de=W(ie,te=F(pe,i,J),X,pe),0===(E=te.invm(pe).imul(ae.add(ne.mul(de))).mod(pe)).cmpn(0)&&(E=!1,de=new c(0));return function M(Y,Q){Y=Y.toArray(),Q=Q.toArray(),128&Y[0]&&(Y=[0].concat(Y)),128&Q[0]&&(Q=[0].concat(Q));var ne=[48,Y.length+Q.length+4,2,Y.length];return ne=ne.concat(Y,[2,Q.length],Q),e.from(ne)}(de,E)}(Y,pe,J)}if("rsa"!==ne&&"ecdsa/rsa"!==ne)throw new Error("wrong private key type");Y=e.concat([X,Y]);for(var ie=pe.modulus.byteLength(),de=[0,1];Y.length+de.length+1<ie;)de.push(255);de.push(0);for(var te=-1;++te<Y.length;)de.push(Y[te]);return g(de,pe)},Ue.exports.getKey=I,Ue.exports.makeKey=F},1173:(Ue,q,p)=>{var e=p(843).Buffer,t=p(2662),g=p(8651).ec,T=p(7983),c=p(1308);function d(S,M){if(S.cmpn(0)<=0)throw new Error("invalid sig");if(S.cmp(M)>=M)throw new Error("invalid sig")}Ue.exports=function C(S,M,I,D,R){var F=T(I);if("ec"===F.type){if("ecdsa"!==D&&"ecdsa/rsa"!==D)throw new Error("wrong public key type");return function u(S,M,I){var D=c[I.data.algorithm.curve.join(".")];if(!D)throw new Error("unknown curve "+I.data.algorithm.curve.join("."));return new g(D).verify(M,S,I.data.subjectPrivateKey.data)}(S,M,F)}if("dsa"===F.type){if("dsa"!==D)throw new Error("wrong public key type");return function P(S,M,I){var D=I.data.p,R=I.data.q,F=I.data.g,W=I.data.pub_key,Y=T.signature.decode(S,"der"),Q=Y.s,J=Y.r;d(Q,R),d(J,R);var ne=t.mont(D),X=Q.invm(R);return 0===F.toRed(ne).redPow(new t(M).mul(X).mod(R)).fromRed().mul(W.toRed(ne).redPow(J.mul(X).mod(R)).fromRed()).mod(D).mod(R).cmp(J)}(S,M,F)}if("rsa"!==D&&"ecdsa/rsa"!==D)throw new Error("wrong public key type");M=e.concat([R,M]);for(var W=F.modulus.byteLength(),Y=[1],Q=0;M.length+Y.length+2<W;)Y.push(255),Q++;Y.push(0);for(var J=-1;++J<M.length;)Y.push(M[J]);Y=e.from(Y);var ne=t.mont(F.modulus);S=(S=new t(S).toRed(ne)).redPow(new t(F.publicExponent)),S=e.from(S.fromRed().toArray());var X=Q<8?1:0;for(W=Math.min(S.length,Y.length),S.length!==Y.length&&(X=1),J=-1;++J<W;)X|=S[J]^Y[J];return 0===X}},3636:Ue=>{Ue.exports=function(p,e){for(var t=Math.min(p.length,e.length),g=new Buffer(t),T=0;T<t;++T)g[T]=p[T]^e[T];return g}},9007:(Ue,q,p)=>{"use strict";var e=p(9919),t=p(2601),g="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;q.Buffer=u,q.SlowBuffer=function Q(le){return+le!=le&&(le=0),u.alloc(+le)},q.INSPECT_MAX_BYTES=50;var T=2147483647;function C(le){if(le>T)throw new RangeError('The value "'+le+'" is invalid for option "size"');var ge=new Uint8Array(le);return Object.setPrototypeOf(ge,u.prototype),ge}function u(le,ge,fe){if("number"==typeof le){if("string"==typeof ge)throw new TypeError('The "string" argument must be of type string. Received type number');return M(le)}return P(le,ge,fe)}function P(le,ge,fe){if("string"==typeof le)return function I(le,ge){if(("string"!=typeof ge||""===ge)&&(ge="utf8"),!u.isEncoding(ge))throw new TypeError("Unknown encoding: "+ge);var fe=0|J(le,ge),Ge=C(fe),Le=Ge.write(le,ge);return Le!==fe&&(Ge=Ge.slice(0,Le)),Ge}(le,ge);if(ArrayBuffer.isView(le))return function R(le){if(oe(le,Uint8Array)){var ge=new Uint8Array(le);return F(ge.buffer,ge.byteOffset,ge.byteLength)}return D(le)}(le);if(null==le)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof le);if(oe(le,ArrayBuffer)||le&&oe(le.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(oe(le,SharedArrayBuffer)||le&&oe(le.buffer,SharedArrayBuffer)))return F(le,ge,fe);if("number"==typeof le)throw new TypeError('The "value" argument must not be of type number. Received type number');var Ge=le.valueOf&&le.valueOf();if(null!=Ge&&Ge!==le)return u.from(Ge,ge,fe);var Le=function W(le){if(u.isBuffer(le)){var ge=0|Y(le.length),fe=C(ge);return 0===fe.length||le.copy(fe,0,0,ge),fe}return void 0!==le.length?"number"!=typeof le.length||ze(le.length)?C(0):D(le):"Buffer"===le.type&&Array.isArray(le.data)?D(le.data):void 0}(le);if(Le)return Le;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof le[Symbol.toPrimitive])return u.from(le[Symbol.toPrimitive]("string"),ge,fe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof le)}function d(le){if("number"!=typeof le)throw new TypeError('"size" argument must be of type number');if(le<0)throw new RangeError('The value "'+le+'" is invalid for option "size"')}function M(le){return d(le),C(le<0?0:0|Y(le))}function D(le){for(var ge=le.length<0?0:0|Y(le.length),fe=C(ge),Ge=0;Ge<ge;Ge+=1)fe[Ge]=255&le[Ge];return fe}function F(le,ge,fe){if(ge<0||le.byteLength<ge)throw new RangeError('"offset" is outside of buffer bounds');if(le.byteLength<ge+(fe||0))throw new RangeError('"length" is outside of buffer bounds');var Ge;return Ge=void 0===ge&&void 0===fe?new Uint8Array(le):void 0===fe?new Uint8Array(le,ge):new Uint8Array(le,ge,fe),Object.setPrototypeOf(Ge,u.prototype),Ge}function Y(le){if(le>=T)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+T.toString(16)+" bytes");return 0|le}function J(le,ge){if(u.isBuffer(le))return le.length;if(ArrayBuffer.isView(le)||oe(le,ArrayBuffer))return le.byteLength;if("string"!=typeof le)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof le);var fe=le.length,Ge=arguments.length>2&&!0===arguments[2];if(!Ge&&0===fe)return 0;for(var Le=!1;;)switch(ge){case"ascii":case"latin1":case"binary":return fe;case"utf8":case"utf-8":return Qe(le).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*fe;case"hex":return fe>>>1;case"base64":return xe(le).length;default:if(Le)return Ge?-1:Qe(le).length;ge=(""+ge).toLowerCase(),Le=!0}}function ne(le,ge,fe){var Ge=!1;if((void 0===ge||ge<0)&&(ge=0),ge>this.length||((void 0===fe||fe>this.length)&&(fe=this.length),fe<=0)||(fe>>>=0)<=(ge>>>=0))return"";for(le||(le="utf8");;)switch(le){case"hex":return b(this,ge,fe);case"utf8":case"utf-8":return m(this,ge,fe);case"ascii":return L(this,ge,fe);case"latin1":case"binary":return O(this,ge,fe);case"base64":return o(this,ge,fe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,ge,fe);default:if(Ge)throw new TypeError("Unknown encoding: "+le);le=(le+"").toLowerCase(),Ge=!0}}function X(le,ge,fe){var Ge=le[ge];le[ge]=le[fe],le[fe]=Ge}function pe(le,ge,fe,Ge,Le){if(0===le.length)return-1;if("string"==typeof fe?(Ge=fe,fe=0):fe>2147483647?fe=2147483647:fe<-2147483648&&(fe=-2147483648),ze(fe=+fe)&&(fe=Le?0:le.length-1),fe<0&&(fe=le.length+fe),fe>=le.length){if(Le)return-1;fe=le.length-1}else if(fe<0){if(!Le)return-1;fe=0}if("string"==typeof ge&&(ge=u.from(ge,Ge)),u.isBuffer(ge))return 0===ge.length?-1:ie(le,ge,fe,Ge,Le);if("number"==typeof ge)return ge&=255,"function"==typeof Uint8Array.prototype.indexOf?Le?Uint8Array.prototype.indexOf.call(le,ge,fe):Uint8Array.prototype.lastIndexOf.call(le,ge,fe):ie(le,[ge],fe,Ge,Le);throw new TypeError("val must be string, number or Buffer")}function ie(le,ge,fe,Ge,Le){var De,Ne=1,Ve=le.length,at=ge.length;if(void 0!==Ge&&("ucs2"===(Ge=String(Ge).toLowerCase())||"ucs-2"===Ge||"utf16le"===Ge||"utf-16le"===Ge)){if(le.length<2||ge.length<2)return-1;Ne=2,Ve/=2,at/=2,fe/=2}function ve(Ct,ke){return 1===Ne?Ct[ke]:Ct.readUInt16BE(ke*Ne)}if(Le){var xt=-1;for(De=fe;De<Ve;De++)if(ve(le,De)===ve(ge,-1===xt?0:De-xt)){if(-1===xt&&(xt=De),De-xt+1===at)return xt*Ne}else-1!==xt&&(De-=De-xt),xt=-1}else for(fe+at>Ve&&(fe=Ve-at),De=fe;De>=0;De--){for(var ct=!0,et=0;et<at;et++)if(ve(le,De+et)!==ve(ge,et)){ct=!1;break}if(ct)return De}return-1}function de(le,ge,fe,Ge){fe=Number(fe)||0;var Le=le.length-fe;Ge?(Ge=Number(Ge))>Le&&(Ge=Le):Ge=Le;var Ne=ge.length;Ge>Ne/2&&(Ge=Ne/2);for(var Ve=0;Ve<Ge;++Ve){var at=parseInt(ge.substr(2*Ve,2),16);if(ze(at))return Ve;le[fe+Ve]=at}return Ve}function te(le,ge,fe,Ge){return Pe(Qe(ge,le.length-fe),le,fe,Ge)}function ae(le,ge,fe,Ge){return Pe(function be(le){for(var ge=[],fe=0;fe<le.length;++fe)ge.push(255&le.charCodeAt(fe));return ge}(ge),le,fe,Ge)}function E(le,ge,fe,Ge){return Pe(xe(ge),le,fe,Ge)}function i(le,ge,fe,Ge){return Pe(function ue(le,ge){for(var fe,Ge,Ne=[],Ve=0;Ve<le.length&&!((ge-=2)<0);++Ve)Ge=(fe=le.charCodeAt(Ve))>>8,Ne.push(fe%256),Ne.push(Ge);return Ne}(ge,le.length-fe),le,fe,Ge)}function o(le,ge,fe){return e.fromByteArray(0===ge&&fe===le.length?le:le.slice(ge,fe))}function m(le,ge,fe){fe=Math.min(le.length,fe);for(var Ge=[],Le=ge;Le<fe;){var ve,De,xt,ct,Ne=le[Le],Ve=null,at=Ne>239?4:Ne>223?3:Ne>191?2:1;if(Le+at<=fe)switch(at){case 1:Ne<128&&(Ve=Ne);break;case 2:128==(192&(ve=le[Le+1]))&&(ct=(31&Ne)<<6|63&ve)>127&&(Ve=ct);break;case 3:De=le[Le+2],128==(192&(ve=le[Le+1]))&&128==(192&De)&&(ct=(15&Ne)<<12|(63&ve)<<6|63&De)>2047&&(ct<55296||ct>57343)&&(Ve=ct);break;case 4:De=le[Le+2],xt=le[Le+3],128==(192&(ve=le[Le+1]))&&128==(192&De)&&128==(192&xt)&&(ct=(15&Ne)<<18|(63&ve)<<12|(63&De)<<6|63&xt)>65535&&ct<1114112&&(Ve=ct)}null===Ve?(Ve=65533,at=1):Ve>65535&&(Ge.push((Ve-=65536)>>>10&1023|55296),Ve=56320|1023&Ve),Ge.push(Ve),Le+=at}return function y(le){var ge=le.length;if(ge<=l)return String.fromCharCode.apply(String,le);for(var fe="",Ge=0;Ge<ge;)fe+=String.fromCharCode.apply(String,le.slice(Ge,Ge+=l));return fe}(Ge)}q.kMaxLength=T,!(u.TYPED_ARRAY_SUPPORT=function c(){try{var le=new Uint8Array(1),ge={foo:function(){return 42}};return Object.setPrototypeOf(ge,Uint8Array.prototype),Object.setPrototypeOf(le,ge),42===le.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(le,ge,fe){return P(le,ge,fe)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(le,ge,fe){return function S(le,ge,fe){return d(le),le<=0?C(le):void 0!==ge?"string"==typeof fe?C(le).fill(ge,fe):C(le).fill(ge):C(le)}(le,ge,fe)},u.allocUnsafe=function(le){return M(le)},u.allocUnsafeSlow=function(le){return M(le)},u.isBuffer=function(ge){return null!=ge&&!0===ge._isBuffer&&ge!==u.prototype},u.compare=function(ge,fe){if(oe(ge,Uint8Array)&&(ge=u.from(ge,ge.offset,ge.byteLength)),oe(fe,Uint8Array)&&(fe=u.from(fe,fe.offset,fe.byteLength)),!u.isBuffer(ge)||!u.isBuffer(fe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ge===fe)return 0;for(var Ge=ge.length,Le=fe.length,Ne=0,Ve=Math.min(Ge,Le);Ne<Ve;++Ne)if(ge[Ne]!==fe[Ne]){Ge=ge[Ne],Le=fe[Ne];break}return Ge<Le?-1:Le<Ge?1:0},u.isEncoding=function(ge){switch(String(ge).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(ge,fe){if(!Array.isArray(ge))throw new TypeError('"list" argument must be an Array of Buffers');if(0===ge.length)return u.alloc(0);var Ge;if(void 0===fe)for(fe=0,Ge=0;Ge<ge.length;++Ge)fe+=ge[Ge].length;var Le=u.allocUnsafe(fe),Ne=0;for(Ge=0;Ge<ge.length;++Ge){var Ve=ge[Ge];if(oe(Ve,Uint8Array))Ne+Ve.length>Le.length?u.from(Ve).copy(Le,Ne):Uint8Array.prototype.set.call(Le,Ve,Ne);else{if(!u.isBuffer(Ve))throw new TypeError('"list" argument must be an Array of Buffers');Ve.copy(Le,Ne)}Ne+=Ve.length}return Le},u.byteLength=J,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var ge=this.length;if(ge%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var fe=0;fe<ge;fe+=2)X(this,fe,fe+1);return this},u.prototype.swap32=function(){var ge=this.length;if(ge%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var fe=0;fe<ge;fe+=4)X(this,fe,fe+3),X(this,fe+1,fe+2);return this},u.prototype.swap64=function(){var ge=this.length;if(ge%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var fe=0;fe<ge;fe+=8)X(this,fe,fe+7),X(this,fe+1,fe+6),X(this,fe+2,fe+5),X(this,fe+3,fe+4);return this},u.prototype.toLocaleString=u.prototype.toString=function(){var ge=this.length;return 0===ge?"":0===arguments.length?m(this,0,ge):ne.apply(this,arguments)},u.prototype.equals=function(ge){if(!u.isBuffer(ge))throw new TypeError("Argument must be a Buffer");return this===ge||0===u.compare(this,ge)},u.prototype.inspect=function(){var ge="",fe=q.INSPECT_MAX_BYTES;return ge=this.toString("hex",0,fe).replace(/(.{2})/g,"$1 ").trim(),this.length>fe&&(ge+=" ... "),"<Buffer "+ge+">"},g&&(u.prototype[g]=u.prototype.inspect),u.prototype.compare=function(ge,fe,Ge,Le,Ne){if(oe(ge,Uint8Array)&&(ge=u.from(ge,ge.offset,ge.byteLength)),!u.isBuffer(ge))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ge);if(void 0===fe&&(fe=0),void 0===Ge&&(Ge=ge?ge.length:0),void 0===Le&&(Le=0),void 0===Ne&&(Ne=this.length),fe<0||Ge>ge.length||Le<0||Ne>this.length)throw new RangeError("out of range index");if(Le>=Ne&&fe>=Ge)return 0;if(Le>=Ne)return-1;if(fe>=Ge)return 1;if(this===ge)return 0;for(var Ve=(Ne>>>=0)-(Le>>>=0),at=(Ge>>>=0)-(fe>>>=0),ve=Math.min(Ve,at),De=this.slice(Le,Ne),xt=ge.slice(fe,Ge),ct=0;ct<ve;++ct)if(De[ct]!==xt[ct]){Ve=De[ct],at=xt[ct];break}return Ve<at?-1:at<Ve?1:0},u.prototype.includes=function(ge,fe,Ge){return-1!==this.indexOf(ge,fe,Ge)},u.prototype.indexOf=function(ge,fe,Ge){return pe(this,ge,fe,Ge,!0)},u.prototype.lastIndexOf=function(ge,fe,Ge){return pe(this,ge,fe,Ge,!1)},u.prototype.write=function(ge,fe,Ge,Le){if(void 0===fe)Le="utf8",Ge=this.length,fe=0;else if(void 0===Ge&&"string"==typeof fe)Le=fe,Ge=this.length,fe=0;else{if(!isFinite(fe))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");fe>>>=0,isFinite(Ge)?(Ge>>>=0,void 0===Le&&(Le="utf8")):(Le=Ge,Ge=void 0)}var Ne=this.length-fe;if((void 0===Ge||Ge>Ne)&&(Ge=Ne),ge.length>0&&(Ge<0||fe<0)||fe>this.length)throw new RangeError("Attempt to write outside buffer bounds");Le||(Le="utf8");for(var Ve=!1;;)switch(Le){case"hex":return de(this,ge,fe,Ge);case"utf8":case"utf-8":return te(this,ge,fe,Ge);case"ascii":case"latin1":case"binary":return ae(this,ge,fe,Ge);case"base64":return E(this,ge,fe,Ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i(this,ge,fe,Ge);default:if(Ve)throw new TypeError("Unknown encoding: "+Le);Le=(""+Le).toLowerCase(),Ve=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var l=4096;function L(le,ge,fe){var Ge="";fe=Math.min(le.length,fe);for(var Le=ge;Le<fe;++Le)Ge+=String.fromCharCode(127&le[Le]);return Ge}function O(le,ge,fe){var Ge="";fe=Math.min(le.length,fe);for(var Le=ge;Le<fe;++Le)Ge+=String.fromCharCode(le[Le]);return Ge}function b(le,ge,fe){var Ge=le.length;(!ge||ge<0)&&(ge=0),(!fe||fe<0||fe>Ge)&&(fe=Ge);for(var Le="",Ne=ge;Ne<fe;++Ne)Le+=we[le[Ne]];return Le}function n(le,ge,fe){for(var Ge=le.slice(ge,fe),Le="",Ne=0;Ne<Ge.length-1;Ne+=2)Le+=String.fromCharCode(Ge[Ne]+256*Ge[Ne+1]);return Le}function _(le,ge,fe){if(le%1!=0||le<0)throw new RangeError("offset is not uint");if(le+ge>fe)throw new RangeError("Trying to access beyond buffer length")}function H(le,ge,fe,Ge,Le,Ne){if(!u.isBuffer(le))throw new TypeError('"buffer" argument must be a Buffer instance');if(ge>Le||ge<Ne)throw new RangeError('"value" argument is out of bounds');if(fe+Ge>le.length)throw new RangeError("Index out of range")}function V(le,ge,fe,Ge,Le,Ne){if(fe+Ge>le.length)throw new RangeError("Index out of range");if(fe<0)throw new RangeError("Index out of range")}function K(le,ge,fe,Ge,Le){return ge=+ge,fe>>>=0,Le||V(le,0,fe,4),t.write(le,ge,fe,Ge,23,4),fe+4}function se(le,ge,fe,Ge,Le){return ge=+ge,fe>>>=0,Le||V(le,0,fe,8),t.write(le,ge,fe,Ge,52,8),fe+8}u.prototype.slice=function(ge,fe){var Ge=this.length;(ge=~~ge)<0?(ge+=Ge)<0&&(ge=0):ge>Ge&&(ge=Ge),(fe=void 0===fe?Ge:~~fe)<0?(fe+=Ge)<0&&(fe=0):fe>Ge&&(fe=Ge),fe<ge&&(fe=ge);var Le=this.subarray(ge,fe);return Object.setPrototypeOf(Le,u.prototype),Le},u.prototype.readUintLE=u.prototype.readUIntLE=function(ge,fe,Ge){ge>>>=0,fe>>>=0,Ge||_(ge,fe,this.length);for(var Le=this[ge],Ne=1,Ve=0;++Ve<fe&&(Ne*=256);)Le+=this[ge+Ve]*Ne;return Le},u.prototype.readUintBE=u.prototype.readUIntBE=function(ge,fe,Ge){ge>>>=0,fe>>>=0,Ge||_(ge,fe,this.length);for(var Le=this[ge+--fe],Ne=1;fe>0&&(Ne*=256);)Le+=this[ge+--fe]*Ne;return Le},u.prototype.readUint8=u.prototype.readUInt8=function(ge,fe){return ge>>>=0,fe||_(ge,1,this.length),this[ge]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(ge,fe){return ge>>>=0,fe||_(ge,2,this.length),this[ge]|this[ge+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(ge,fe){return ge>>>=0,fe||_(ge,2,this.length),this[ge]<<8|this[ge+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(ge,fe){return ge>>>=0,fe||_(ge,4,this.length),(this[ge]|this[ge+1]<<8|this[ge+2]<<16)+16777216*this[ge+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(ge,fe){return ge>>>=0,fe||_(ge,4,this.length),16777216*this[ge]+(this[ge+1]<<16|this[ge+2]<<8|this[ge+3])},u.prototype.readIntLE=function(ge,fe,Ge){ge>>>=0,fe>>>=0,Ge||_(ge,fe,this.length);for(var Le=this[ge],Ne=1,Ve=0;++Ve<fe&&(Ne*=256);)Le+=this[ge+Ve]*Ne;return Le>=(Ne*=128)&&(Le-=Math.pow(2,8*fe)),Le},u.prototype.readIntBE=function(ge,fe,Ge){ge>>>=0,fe>>>=0,Ge||_(ge,fe,this.length);for(var Le=fe,Ne=1,Ve=this[ge+--Le];Le>0&&(Ne*=256);)Ve+=this[ge+--Le]*Ne;return Ve>=(Ne*=128)&&(Ve-=Math.pow(2,8*fe)),Ve},u.prototype.readInt8=function(ge,fe){return ge>>>=0,fe||_(ge,1,this.length),128&this[ge]?-1*(255-this[ge]+1):this[ge]},u.prototype.readInt16LE=function(ge,fe){ge>>>=0,fe||_(ge,2,this.length);var Ge=this[ge]|this[ge+1]<<8;return 32768&Ge?4294901760|Ge:Ge},u.prototype.readInt16BE=function(ge,fe){ge>>>=0,fe||_(ge,2,this.length);var Ge=this[ge+1]|this[ge]<<8;return 32768&Ge?4294901760|Ge:Ge},u.prototype.readInt32LE=function(ge,fe){return ge>>>=0,fe||_(ge,4,this.length),this[ge]|this[ge+1]<<8|this[ge+2]<<16|this[ge+3]<<24},u.prototype.readInt32BE=function(ge,fe){return ge>>>=0,fe||_(ge,4,this.length),this[ge]<<24|this[ge+1]<<16|this[ge+2]<<8|this[ge+3]},u.prototype.readFloatLE=function(ge,fe){return ge>>>=0,fe||_(ge,4,this.length),t.read(this,ge,!0,23,4)},u.prototype.readFloatBE=function(ge,fe){return ge>>>=0,fe||_(ge,4,this.length),t.read(this,ge,!1,23,4)},u.prototype.readDoubleLE=function(ge,fe){return ge>>>=0,fe||_(ge,8,this.length),t.read(this,ge,!0,52,8)},u.prototype.readDoubleBE=function(ge,fe){return ge>>>=0,fe||_(ge,8,this.length),t.read(this,ge,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(ge,fe,Ge,Le){ge=+ge,fe>>>=0,Ge>>>=0,Le||H(this,ge,fe,Ge,Math.pow(2,8*Ge)-1,0);var Ve=1,at=0;for(this[fe]=255&ge;++at<Ge&&(Ve*=256);)this[fe+at]=ge/Ve&255;return fe+Ge},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(ge,fe,Ge,Le){ge=+ge,fe>>>=0,Ge>>>=0,Le||H(this,ge,fe,Ge,Math.pow(2,8*Ge)-1,0);var Ve=Ge-1,at=1;for(this[fe+Ve]=255&ge;--Ve>=0&&(at*=256);)this[fe+Ve]=ge/at&255;return fe+Ge},u.prototype.writeUint8=u.prototype.writeUInt8=function(ge,fe,Ge){return ge=+ge,fe>>>=0,Ge||H(this,ge,fe,1,255,0),this[fe]=255&ge,fe+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(ge,fe,Ge){return ge=+ge,fe>>>=0,Ge||H(this,ge,fe,2,65535,0),this[fe]=255&ge,this[fe+1]=ge>>>8,fe+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(ge,fe,Ge){return ge=+ge,fe>>>=0,Ge||H(this,ge,fe,2,65535,0),this[fe]=ge>>>8,this[fe+1]=255&ge,fe+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(ge,fe,Ge){return ge=+ge,fe>>>=0,Ge||H(this,ge,fe,4,4294967295,0),this[fe+3]=ge>>>24,this[fe+2]=ge>>>16,this[fe+1]=ge>>>8,this[fe]=255&ge,fe+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(ge,fe,Ge){return ge=+ge,fe>>>=0,Ge||H(this,ge,fe,4,4294967295,0),this[fe]=ge>>>24,this[fe+1]=ge>>>16,this[fe+2]=ge>>>8,this[fe+3]=255&ge,fe+4},u.prototype.writeIntLE=function(ge,fe,Ge,Le){if(ge=+ge,fe>>>=0,!Le){var Ne=Math.pow(2,8*Ge-1);H(this,ge,fe,Ge,Ne-1,-Ne)}var Ve=0,at=1,ve=0;for(this[fe]=255&ge;++Ve<Ge&&(at*=256);)ge<0&&0===ve&&0!==this[fe+Ve-1]&&(ve=1),this[fe+Ve]=(ge/at>>0)-ve&255;return fe+Ge},u.prototype.writeIntBE=function(ge,fe,Ge,Le){if(ge=+ge,fe>>>=0,!Le){var Ne=Math.pow(2,8*Ge-1);H(this,ge,fe,Ge,Ne-1,-Ne)}var Ve=Ge-1,at=1,ve=0;for(this[fe+Ve]=255&ge;--Ve>=0&&(at*=256);)ge<0&&0===ve&&0!==this[fe+Ve+1]&&(ve=1),this[fe+Ve]=(ge/at>>0)-ve&255;return fe+Ge},u.prototype.writeInt8=function(ge,fe,Ge){return ge=+ge,fe>>>=0,Ge||H(this,ge,fe,1,127,-128),ge<0&&(ge=255+ge+1),this[fe]=255&ge,fe+1},u.prototype.writeInt16LE=function(ge,fe,Ge){return ge=+ge,fe>>>=0,Ge||H(this,ge,fe,2,32767,-32768),this[fe]=255&ge,this[fe+1]=ge>>>8,fe+2},u.prototype.writeInt16BE=function(ge,fe,Ge){return ge=+ge,fe>>>=0,Ge||H(this,ge,fe,2,32767,-32768),this[fe]=ge>>>8,this[fe+1]=255&ge,fe+2},u.prototype.writeInt32LE=function(ge,fe,Ge){return ge=+ge,fe>>>=0,Ge||H(this,ge,fe,4,2147483647,-2147483648),this[fe]=255&ge,this[fe+1]=ge>>>8,this[fe+2]=ge>>>16,this[fe+3]=ge>>>24,fe+4},u.prototype.writeInt32BE=function(ge,fe,Ge){return ge=+ge,fe>>>=0,Ge||H(this,ge,fe,4,2147483647,-2147483648),ge<0&&(ge=4294967295+ge+1),this[fe]=ge>>>24,this[fe+1]=ge>>>16,this[fe+2]=ge>>>8,this[fe+3]=255&ge,fe+4},u.prototype.writeFloatLE=function(ge,fe,Ge){return K(this,ge,fe,!0,Ge)},u.prototype.writeFloatBE=function(ge,fe,Ge){return K(this,ge,fe,!1,Ge)},u.prototype.writeDoubleLE=function(ge,fe,Ge){return se(this,ge,fe,!0,Ge)},u.prototype.writeDoubleBE=function(ge,fe,Ge){return se(this,ge,fe,!1,Ge)},u.prototype.copy=function(ge,fe,Ge,Le){if(!u.isBuffer(ge))throw new TypeError("argument should be a Buffer");if(Ge||(Ge=0),!Le&&0!==Le&&(Le=this.length),fe>=ge.length&&(fe=ge.length),fe||(fe=0),Le>0&&Le<Ge&&(Le=Ge),Le===Ge||0===ge.length||0===this.length)return 0;if(fe<0)throw new RangeError("targetStart out of bounds");if(Ge<0||Ge>=this.length)throw new RangeError("Index out of range");if(Le<0)throw new RangeError("sourceEnd out of bounds");Le>this.length&&(Le=this.length),ge.length-fe<Le-Ge&&(Le=ge.length-fe+Ge);var Ne=Le-Ge;return this===ge&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(fe,Ge,Le):Uint8Array.prototype.set.call(ge,this.subarray(Ge,Le),fe),Ne},u.prototype.fill=function(ge,fe,Ge,Le){if("string"==typeof ge){if("string"==typeof fe?(Le=fe,fe=0,Ge=this.length):"string"==typeof Ge&&(Le=Ge,Ge=this.length),void 0!==Le&&"string"!=typeof Le)throw new TypeError("encoding must be a string");if("string"==typeof Le&&!u.isEncoding(Le))throw new TypeError("Unknown encoding: "+Le);if(1===ge.length){var Ne=ge.charCodeAt(0);("utf8"===Le&&Ne<128||"latin1"===Le)&&(ge=Ne)}}else"number"==typeof ge?ge&=255:"boolean"==typeof ge&&(ge=Number(ge));if(fe<0||this.length<fe||this.length<Ge)throw new RangeError("Out of range index");if(Ge<=fe)return this;var Ve;if(fe>>>=0,Ge=void 0===Ge?this.length:Ge>>>0,ge||(ge=0),"number"==typeof ge)for(Ve=fe;Ve<Ge;++Ve)this[Ve]=ge;else{var at=u.isBuffer(ge)?ge:u.from(ge,Le),ve=at.length;if(0===ve)throw new TypeError('The value "'+ge+'" is invalid for argument "value"');for(Ve=0;Ve<Ge-fe;++Ve)this[Ve+fe]=at[Ve%ve]}return this};var Ye=/[^+/0-9A-Za-z-_]/g;function Qe(le,ge){ge=ge||1/0;for(var fe,Ge=le.length,Le=null,Ne=[],Ve=0;Ve<Ge;++Ve){if((fe=le.charCodeAt(Ve))>55295&&fe<57344){if(!Le){if(fe>56319){(ge-=3)>-1&&Ne.push(239,191,189);continue}if(Ve+1===Ge){(ge-=3)>-1&&Ne.push(239,191,189);continue}Le=fe;continue}if(fe<56320){(ge-=3)>-1&&Ne.push(239,191,189),Le=fe;continue}fe=65536+(Le-55296<<10|fe-56320)}else Le&&(ge-=3)>-1&&Ne.push(239,191,189);if(Le=null,fe<128){if((ge-=1)<0)break;Ne.push(fe)}else if(fe<2048){if((ge-=2)<0)break;Ne.push(fe>>6|192,63&fe|128)}else if(fe<65536){if((ge-=3)<0)break;Ne.push(fe>>12|224,fe>>6&63|128,63&fe|128)}else{if(!(fe<1114112))throw new Error("Invalid code point");if((ge-=4)<0)break;Ne.push(fe>>18|240,fe>>12&63|128,fe>>6&63|128,63&fe|128)}}return Ne}function xe(le){return e.toByteArray(function Oe(le){if((le=(le=le.split("=")[0]).trim().replace(Ye,"")).length<2)return"";for(;le.length%4!=0;)le+="=";return le}(le))}function Pe(le,ge,fe,Ge){for(var Le=0;Le<Ge&&!(Le+fe>=ge.length||Le>=le.length);++Le)ge[Le+fe]=le[Le];return Le}function oe(le,ge){return le instanceof ge||null!=le&&null!=le.constructor&&null!=le.constructor.name&&le.constructor.name===ge.name}function ze(le){return le!=le}var we=function(){for(var le="0123456789abcdef",ge=new Array(256),fe=0;fe<16;++fe)for(var Ge=16*fe,Le=0;Le<16;++Le)ge[Ge+Le]=le[fe]+le[Le];return ge}()},6420:(Ue,q,p)=>{var e=p(843).Buffer,t=p(1793).Transform,g=p(2024).s;function c(C){t.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}p(6698)(c,t),c.prototype.update=function(C,u,P){"string"==typeof C&&(C=e.from(C,u));var d=this._update(C);return this.hashMode?this:(P&&(d=this._toString(d,P)),d)},c.prototype.setAutoPadding=function(){},c.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},c.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},c.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},c.prototype._transform=function(C,u,P){var d;try{this.hashMode?this._update(C):this.push(this._update(C))}catch(S){d=S}finally{P(d)}},c.prototype._flush=function(C){var u;try{this.push(this.__final())}catch(P){u=P}C(u)},c.prototype._finalOrDigest=function(C){var u=this.__final()||e.alloc(0);return C&&(u=this._toString(u,C,!0)),u},c.prototype._toString=function(C,u,P){if(this._decoder||(this._decoder=new g(u),this._encoding=u),this._encoding!==u)throw new Error("can't switch encodings");var d=this._decoder.write(C);return P&&(d+=this._decoder.end()),d},Ue.exports=c},188:function(Ue){!function(q){"use strict";var p={bytesToHex:function(g){return function e(g){return g.map(function(T){return function t(g,T){return g.length>T?g:Array(T-g.length+1).join("0")+g}(T.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(T){return parseInt(T,16)})}};Ue.exports?Ue.exports=p:q.convertHex=p}(this)},5486:function(Ue){!function(q){"use strict";var p={bytesToString:function(e){return e.map(function(t){return String.fromCharCode(t)}).join("")},stringToBytes:function(e){return e.split("").map(function(t){return t.charCodeAt(0)})}};p.UTF8={bytesToString:function(e){return decodeURIComponent(escape(p.bytesToString(e)))},stringToBytes:function(e){return p.stringToBytes(unescape(encodeURIComponent(e)))}},Ue.exports?Ue.exports=p:q.convertString=p}(this)},8840:(Ue,q,p)=>{var e=p(8651),t=p(3185);Ue.exports=function(u){return new T(u)};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 T(C){this.curveType=g[C],this.curveType||(this.curveType={name:C}),this.curve=new e.ec(this.curveType.name),this.keys=void 0}function c(C,u,P){Array.isArray(C)||(C=C.toArray());var d=new Buffer(C);if(P&&d.length<P){var S=new Buffer(P-d.length);S.fill(0),d=Buffer.concat([S,d])}return u?d.toString(u):d}g.p224=g.secp224r1,g.p256=g.secp256r1=g.prime256v1,g.p192=g.secp192r1=g.prime192v1,g.p384=g.secp384r1,g.p521=g.secp521r1,T.prototype.generateKeys=function(C,u){return this.keys=this.curve.genKeyPair(),this.getPublicKey(C,u)},T.prototype.computeSecret=function(C,u,P){return u=u||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,u)),c(this.curve.keyFromPublic(C).getPublic().mul(this.keys.getPrivate()).getX(),P,this.curveType.byteLength)},T.prototype.getPublicKey=function(C,u){var P=this.keys.getPublic("compressed"===u,!0);return"hybrid"===u&&(P[0]=P[P.length-1]%2?7:6),c(P,C)},T.prototype.getPrivateKey=function(C){return c(this.keys.getPrivate(),C)},T.prototype.setPublicKey=function(C,u){return u=u||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,u)),this.keys._importPublic(C),this},T.prototype.setPrivateKey=function(C,u){u=u||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,u));var P=new t(C);return P=P.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(P),this}},3185:function(Ue,q,p){!function(e,t){"use strict";function g(E,i){if(!E)throw new Error(i||"Assertion failed")}function T(E,i){E.super_=i;var o=function(){};o.prototype=i.prototype,E.prototype=new o,E.prototype.constructor=E}function c(E,i,o){if(c.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,null!==E&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(E||0,i||10,o||"be"))}var C;"object"==typeof e?e.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(8623).Buffer}catch{}function u(E,i){var o=E.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(E,i,o){var m=u(E,o);return o-1>=i&&(m|=u(E,o-1)<<4),m}function d(E,i,o,m){for(var l=0,y=Math.min(E.length,o),L=i;L<y;L++){var O=E.charCodeAt(L)-48;l*=m,l+=O>=49?O-49+10:O>=17?O-17+10:O}return l}c.isBN=function(i){return i instanceof c||null!==i&&"object"==typeof i&&i.constructor.wordSize===c.wordSize&&Array.isArray(i.words)},c.max=function(i,o){return i.cmp(o)>0?i:o},c.min=function(i,o){return i.cmp(o)<0?i:o},c.prototype._init=function(i,o,m){if("number"==typeof i)return this._initNumber(i,o,m);if("object"==typeof i)return this._initArray(i,o,m);"hex"===o&&(o=16),g(o===(0|o)&&o>=2&&o<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===o?this._parseHex(i,l,m):(this._parseBase(i,o,l),"le"===m&&this._initArray(this.toArray(),o,m)))},c.prototype._initNumber=function(i,o,m){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"===m&&this._initArray(this.toArray(),o,m)},c.prototype._initArray=function(i,o,m){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 l=0;l<this.length;l++)this.words[l]=0;var y,L,O=0;if("be"===m)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(L=i[l]|i[l-1]<<8|i[l-2]<<16)<<O&67108863,this.words[y+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,y++);else if("le"===m)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(L=i[l]|i[l+1]<<8|i[l+2]<<16)<<O&67108863,this.words[y+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,y++);return this.strip()},c.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var O,y=0,L=0;if("be"===m)for(l=i.length-1;l>=o;l-=2)O=P(i,o,l)<<y,this.words[L]|=67108863&O,y>=18?(y-=18,this.words[L+=1]|=O>>>26):y+=8;else for(l=(i.length-o)%2==0?o+1:o;l<i.length;l+=2)O=P(i,o,l)<<y,this.words[L]|=67108863&O,y>=18?(y-=18,this.words[L+=1]|=O>>>26):y+=8;this.strip()},c.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=o)l++;l--,y=y/o|0;for(var L=i.length-m,O=L%l,b=Math.min(L,L-O)+m,n=0,_=m;_<b;_+=l)n=d(i,_,_+l,o),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==O){var H=1;for(n=d(i,_,i.length,o),_=0;_<O;_++)H*=o;this.imuln(H),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},c.prototype.copy=function(i){i.words=new Array(this.length);for(var o=0;o<this.length;o++)i.words[o]=this.words[o];i.length=this.length,i.negative=this.negative,i.red=this.red},c.prototype.clone=function(){var i=new c(null);return this.copy(i),i},c.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},c.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function R(E,i,o){o.negative=i.negative^E.negative;var m=E.length+i.length|0;o.length=m,m=m-1|0;var l=0|E.words[0],y=0|i.words[0],L=l*y,b=L/67108864|0;o.words[0]=67108863&L;for(var n=1;n<m;n++){for(var _=b>>>26,H=67108863&b,V=Math.min(n,i.length-1),K=Math.max(0,n-E.length+1);K<=V;K++)_+=(L=(l=0|E.words[n-K|0])*(y=0|i.words[K])+H)/67108864|0,H=67108863&L;o.words[n]=0|H,b=0|_}return 0!==b?o.words[n]=0|b:o.length--,o.strip()}c.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var l=0,y=0,L=0;L<this.length;L++){var O=this.words[L],b=(16777215&(O<<l|y)).toString(16);m=0!=(y=O>>>24-l&16777215)||L!==this.length-1?S[6-b.length]+b+m:b+m,(l+=2)>=26&&(l-=26,L--)}for(0!==y&&(m=y.toString(16)+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(i===(0|i)&&i>=2&&i<=36){var n=M[i],_=I[i];m="";var H=this.clone();for(H.negative=0;!H.isZero();){var V=H.modn(_).toString(i);m=(H=H.idivn(_)).isZero()?V+m:S[n-V.length]+V+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}g(!1,"Base should be between 2 and 36")},c.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},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(i,o){return g(typeof C<"u"),this.toArrayLike(C,i,o)},c.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},c.prototype.toArrayLike=function(i,o,m){var l=this.byteLength(),y=m||Math.max(1,l);g(l<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var b,n,L="le"===o,O=new i(y),_=this.clone();if(L){for(n=0;!_.isZero();n++)b=_.andln(255),_.iushrn(8),O[n]=b;for(;n<y;n++)O[n]=0}else{for(n=0;n<y-l;n++)O[n]=0;for(n=0;!_.isZero();n++)b=_.andln(255),_.iushrn(8),O[y-n-1]=b}return O},c.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var o=i,m=0;return o>=4096&&(m+=13,o>>>=13),o>=64&&(m+=7,o>>>=7),o>=8&&(m+=4,o>>>=4),o>=2&&(m+=2,o>>>=2),m+o},c.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 8191&o||(m+=13,o>>>=13),127&o||(m+=7,o>>>=7),15&o||(m+=4,o>>>=4),3&o||(m+=2,o>>>=2),1&o||m++,m},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,o=0;o<this.length;o++){var m=this._zeroBits(this.words[o]);if(i+=m,26!==m)break}return i},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},c.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var o=0;o<i.length;o++)this.words[o]=this.words[o]|i.words[o];return this.strip()},c.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},c.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},c.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},c.prototype.iuand=function(i){var o;o=this.length>i.length?i:this;for(var m=0;m<o.length;m++)this.words[m]=this.words[m]&i.words[m];return this.length=o.length,this.strip()},c.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},c.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},c.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},c.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var l=0;l<m.length;l++)this.words[l]=o.words[l]^m.words[l];if(this!==o)for(;l<o.length;l++)this.words[l]=o.words[l];return this.length=o.length,this.strip()},c.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},c.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},c.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},c.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var l=0;l<o;l++)this.words[l]=67108863&~this.words[l];return m>0&&(this.words[l]=~this.words[l]&67108863>>26-m),this.strip()},c.prototype.notn=function(i){return this.clone().inotn(i)},c.prototype.setn=function(i,o){g("number"==typeof i&&i>=0);var m=i/26|0,l=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<l:this.words[m]&~(1<<l),this.strip()},c.prototype.iadd=function(i){var o,m,l;if(0!==this.negative&&0===i.negative)return this.negative=0,o=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,o=this.isub(i),i.negative=1,o._normSign();this.length>i.length?(m=this,l=i):(m=i,l=this);for(var y=0,L=0;L<l.length;L++)this.words[L]=67108863&(o=(0|m.words[L])+(0|l.words[L])+y),y=o>>>26;for(;0!==y&&L<m.length;L++)this.words[L]=67108863&(o=(0|m.words[L])+y),y=o>>>26;if(this.length=m.length,0!==y)this.words[this.length]=y,this.length++;else if(m!==this)for(;L<m.length;L++)this.words[L]=m.words[L];return this},c.prototype.add=function(i){var o;return 0!==i.negative&&0===this.negative?(i.negative=0,o=this.sub(i),i.negative^=1,o):0===i.negative&&0!==this.negative?(this.negative=0,o=i.sub(this),this.negative=1,o):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},c.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var o=this.iadd(i);return i.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(l=this,y=i):(l=i,y=this);for(var L=0,O=0;O<y.length;O++)L=(o=(0|l.words[O])-(0|y.words[O])+L)>>26,this.words[O]=67108863&o;for(;0!==L&&O<l.length;O++)L=(o=(0|l.words[O])+L)>>26,this.words[O]=67108863&o;if(0===L&&O<l.length&&l!==this)for(;O<l.length;O++)this.words[O]=l.words[O];return this.length=Math.max(this.length,O),l!==this&&(this.negative=1),this.strip()},c.prototype.sub=function(i){return this.clone().isub(i)};var F=function(i,o,m){var b,n,_,l=i.words,y=o.words,L=m.words,O=0,H=0|l[0],V=8191&H,K=H>>>13,se=0|l[1],Ye=8191&se,Oe=se>>>13,Qe=0|l[2],be=8191&Qe,ue=Qe>>>13,xe=0|l[3],Pe=8191&xe,oe=xe>>>13,ze=0|l[4],we=8191&ze,le=ze>>>13,ge=0|l[5],fe=8191&ge,Ge=ge>>>13,Le=0|l[6],Ne=8191&Le,Ve=Le>>>13,at=0|l[7],ve=8191&at,De=at>>>13,xt=0|l[8],ct=8191&xt,et=xt>>>13,Ct=0|l[9],ke=8191&Ct,ot=Ct>>>13,Je=0|y[0],re=8191&Je,Be=Je>>>13,Nt=0|y[1],Ke=8191&Nt,yt=Nt>>>13,kt=0|y[2],Dt=8191&kt,Rt=kt>>>13,pt=0|y[3],vt=8191&pt,Te=pt>>>13,tt=0|y[4],Ze=8191&tt,Mt=tt>>>13,oi=0|y[5],Tt=8191&oi,mt=oi>>>13,he=0|y[6],ee=8191&he,Ce=he>>>13,At=0|y[7],Lt=8191&At,jt=At>>>13,Zt=0|y[8],Kt=8191&Zt,Xe=Zt>>>13,Bt=0|y[9],qe=8191&Bt,nt=Bt>>>13;m.negative=i.negative^o.negative,m.length=19;var Wt=(O+(b=Math.imul(V,re))|0)+((8191&(n=(n=Math.imul(V,Be))+Math.imul(K,re)|0))<<13)|0;O=((_=Math.imul(K,Be))+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,b=Math.imul(Ye,re),n=(n=Math.imul(Ye,Be))+Math.imul(Oe,re)|0,_=Math.imul(Oe,Be);var si=(O+(b=b+Math.imul(V,Ke)|0)|0)+((8191&(n=(n=n+Math.imul(V,yt)|0)+Math.imul(K,Ke)|0))<<13)|0;O=((_=_+Math.imul(K,yt)|0)+(n>>>13)|0)+(si>>>26)|0,si&=67108863,b=Math.imul(be,re),n=(n=Math.imul(be,Be))+Math.imul(ue,re)|0,_=Math.imul(ue,Be),b=b+Math.imul(Ye,Ke)|0,n=(n=n+Math.imul(Ye,yt)|0)+Math.imul(Oe,Ke)|0,_=_+Math.imul(Oe,yt)|0;var li=(O+(b=b+Math.imul(V,Dt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Rt)|0)+Math.imul(K,Dt)|0))<<13)|0;O=((_=_+Math.imul(K,Rt)|0)+(n>>>13)|0)+(li>>>26)|0,li&=67108863,b=Math.imul(Pe,re),n=(n=Math.imul(Pe,Be))+Math.imul(oe,re)|0,_=Math.imul(oe,Be),b=b+Math.imul(be,Ke)|0,n=(n=n+Math.imul(be,yt)|0)+Math.imul(ue,Ke)|0,_=_+Math.imul(ue,yt)|0,b=b+Math.imul(Ye,Dt)|0,n=(n=n+Math.imul(Ye,Rt)|0)+Math.imul(Oe,Dt)|0,_=_+Math.imul(Oe,Rt)|0;var xi=(O+(b=b+Math.imul(V,vt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Te)|0)+Math.imul(K,vt)|0))<<13)|0;O=((_=_+Math.imul(K,Te)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,b=Math.imul(we,re),n=(n=Math.imul(we,Be))+Math.imul(le,re)|0,_=Math.imul(le,Be),b=b+Math.imul(Pe,Ke)|0,n=(n=n+Math.imul(Pe,yt)|0)+Math.imul(oe,Ke)|0,_=_+Math.imul(oe,yt)|0,b=b+Math.imul(be,Dt)|0,n=(n=n+Math.imul(be,Rt)|0)+Math.imul(ue,Dt)|0,_=_+Math.imul(ue,Rt)|0,b=b+Math.imul(Ye,vt)|0,n=(n=n+Math.imul(Ye,Te)|0)+Math.imul(Oe,vt)|0,_=_+Math.imul(Oe,Te)|0;var Ut=(O+(b=b+Math.imul(V,Ze)|0)|0)+((8191&(n=(n=n+Math.imul(V,Mt)|0)+Math.imul(K,Ze)|0))<<13)|0;O=((_=_+Math.imul(K,Mt)|0)+(n>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,b=Math.imul(fe,re),n=(n=Math.imul(fe,Be))+Math.imul(Ge,re)|0,_=Math.imul(Ge,Be),b=b+Math.imul(we,Ke)|0,n=(n=n+Math.imul(we,yt)|0)+Math.imul(le,Ke)|0,_=_+Math.imul(le,yt)|0,b=b+Math.imul(Pe,Dt)|0,n=(n=n+Math.imul(Pe,Rt)|0)+Math.imul(oe,Dt)|0,_=_+Math.imul(oe,Rt)|0,b=b+Math.imul(be,vt)|0,n=(n=n+Math.imul(be,Te)|0)+Math.imul(ue,vt)|0,_=_+Math.imul(ue,Te)|0,b=b+Math.imul(Ye,Ze)|0,n=(n=n+Math.imul(Ye,Mt)|0)+Math.imul(Oe,Ze)|0,_=_+Math.imul(Oe,Mt)|0;var bt=(O+(b=b+Math.imul(V,Tt)|0)|0)+((8191&(n=(n=n+Math.imul(V,mt)|0)+Math.imul(K,Tt)|0))<<13)|0;O=((_=_+Math.imul(K,mt)|0)+(n>>>13)|0)+(bt>>>26)|0,bt&=67108863,b=Math.imul(Ne,re),n=(n=Math.imul(Ne,Be))+Math.imul(Ve,re)|0,_=Math.imul(Ve,Be),b=b+Math.imul(fe,Ke)|0,n=(n=n+Math.imul(fe,yt)|0)+Math.imul(Ge,Ke)|0,_=_+Math.imul(Ge,yt)|0,b=b+Math.imul(we,Dt)|0,n=(n=n+Math.imul(we,Rt)|0)+Math.imul(le,Dt)|0,_=_+Math.imul(le,Rt)|0,b=b+Math.imul(Pe,vt)|0,n=(n=n+Math.imul(Pe,Te)|0)+Math.imul(oe,vt)|0,_=_+Math.imul(oe,Te)|0,b=b+Math.imul(be,Ze)|0,n=(n=n+Math.imul(be,Mt)|0)+Math.imul(ue,Ze)|0,_=_+Math.imul(ue,Mt)|0,b=b+Math.imul(Ye,Tt)|0,n=(n=n+Math.imul(Ye,mt)|0)+Math.imul(Oe,Tt)|0,_=_+Math.imul(Oe,mt)|0;var $e=(O+(b=b+Math.imul(V,ee)|0)|0)+((8191&(n=(n=n+Math.imul(V,Ce)|0)+Math.imul(K,ee)|0))<<13)|0;O=((_=_+Math.imul(K,Ce)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,b=Math.imul(ve,re),n=(n=Math.imul(ve,Be))+Math.imul(De,re)|0,_=Math.imul(De,Be),b=b+Math.imul(Ne,Ke)|0,n=(n=n+Math.imul(Ne,yt)|0)+Math.imul(Ve,Ke)|0,_=_+Math.imul(Ve,yt)|0,b=b+Math.imul(fe,Dt)|0,n=(n=n+Math.imul(fe,Rt)|0)+Math.imul(Ge,Dt)|0,_=_+Math.imul(Ge,Rt)|0,b=b+Math.imul(we,vt)|0,n=(n=n+Math.imul(we,Te)|0)+Math.imul(le,vt)|0,_=_+Math.imul(le,Te)|0,b=b+Math.imul(Pe,Ze)|0,n=(n=n+Math.imul(Pe,Mt)|0)+Math.imul(oe,Ze)|0,_=_+Math.imul(oe,Mt)|0,b=b+Math.imul(be,Tt)|0,n=(n=n+Math.imul(be,mt)|0)+Math.imul(ue,Tt)|0,_=_+Math.imul(ue,mt)|0,b=b+Math.imul(Ye,ee)|0,n=(n=n+Math.imul(Ye,Ce)|0)+Math.imul(Oe,ee)|0,_=_+Math.imul(Oe,Ce)|0;var ut=(O+(b=b+Math.imul(V,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(V,jt)|0)+Math.imul(K,Lt)|0))<<13)|0;O=((_=_+Math.imul(K,jt)|0)+(n>>>13)|0)+(ut>>>26)|0,ut&=67108863,b=Math.imul(ct,re),n=(n=Math.imul(ct,Be))+Math.imul(et,re)|0,_=Math.imul(et,Be),b=b+Math.imul(ve,Ke)|0,n=(n=n+Math.imul(ve,yt)|0)+Math.imul(De,Ke)|0,_=_+Math.imul(De,yt)|0,b=b+Math.imul(Ne,Dt)|0,n=(n=n+Math.imul(Ne,Rt)|0)+Math.imul(Ve,Dt)|0,_=_+Math.imul(Ve,Rt)|0,b=b+Math.imul(fe,vt)|0,n=(n=n+Math.imul(fe,Te)|0)+Math.imul(Ge,vt)|0,_=_+Math.imul(Ge,Te)|0,b=b+Math.imul(we,Ze)|0,n=(n=n+Math.imul(we,Mt)|0)+Math.imul(le,Ze)|0,_=_+Math.imul(le,Mt)|0,b=b+Math.imul(Pe,Tt)|0,n=(n=n+Math.imul(Pe,mt)|0)+Math.imul(oe,Tt)|0,_=_+Math.imul(oe,mt)|0,b=b+Math.imul(be,ee)|0,n=(n=n+Math.imul(be,Ce)|0)+Math.imul(ue,ee)|0,_=_+Math.imul(ue,Ce)|0,b=b+Math.imul(Ye,Lt)|0,n=(n=n+Math.imul(Ye,jt)|0)+Math.imul(Oe,Lt)|0,_=_+Math.imul(Oe,jt)|0;var Et=(O+(b=b+Math.imul(V,Kt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Xe)|0)+Math.imul(K,Kt)|0))<<13)|0;O=((_=_+Math.imul(K,Xe)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863,b=Math.imul(ke,re),n=(n=Math.imul(ke,Be))+Math.imul(ot,re)|0,_=Math.imul(ot,Be),b=b+Math.imul(ct,Ke)|0,n=(n=n+Math.imul(ct,yt)|0)+Math.imul(et,Ke)|0,_=_+Math.imul(et,yt)|0,b=b+Math.imul(ve,Dt)|0,n=(n=n+Math.imul(ve,Rt)|0)+Math.imul(De,Dt)|0,_=_+Math.imul(De,Rt)|0,b=b+Math.imul(Ne,vt)|0,n=(n=n+Math.imul(Ne,Te)|0)+Math.imul(Ve,vt)|0,_=_+Math.imul(Ve,Te)|0,b=b+Math.imul(fe,Ze)|0,n=(n=n+Math.imul(fe,Mt)|0)+Math.imul(Ge,Ze)|0,_=_+Math.imul(Ge,Mt)|0,b=b+Math.imul(we,Tt)|0,n=(n=n+Math.imul(we,mt)|0)+Math.imul(le,Tt)|0,_=_+Math.imul(le,mt)|0,b=b+Math.imul(Pe,ee)|0,n=(n=n+Math.imul(Pe,Ce)|0)+Math.imul(oe,ee)|0,_=_+Math.imul(oe,Ce)|0,b=b+Math.imul(be,Lt)|0,n=(n=n+Math.imul(be,jt)|0)+Math.imul(ue,Lt)|0,_=_+Math.imul(ue,jt)|0,b=b+Math.imul(Ye,Kt)|0,n=(n=n+Math.imul(Ye,Xe)|0)+Math.imul(Oe,Kt)|0,_=_+Math.imul(Oe,Xe)|0;var qt=(O+(b=b+Math.imul(V,qe)|0)|0)+((8191&(n=(n=n+Math.imul(V,nt)|0)+Math.imul(K,qe)|0))<<13)|0;O=((_=_+Math.imul(K,nt)|0)+(n>>>13)|0)+(qt>>>26)|0,qt&=67108863,b=Math.imul(ke,Ke),n=(n=Math.imul(ke,yt))+Math.imul(ot,Ke)|0,_=Math.imul(ot,yt),b=b+Math.imul(ct,Dt)|0,n=(n=n+Math.imul(ct,Rt)|0)+Math.imul(et,Dt)|0,_=_+Math.imul(et,Rt)|0,b=b+Math.imul(ve,vt)|0,n=(n=n+Math.imul(ve,Te)|0)+Math.imul(De,vt)|0,_=_+Math.imul(De,Te)|0,b=b+Math.imul(Ne,Ze)|0,n=(n=n+Math.imul(Ne,Mt)|0)+Math.imul(Ve,Ze)|0,_=_+Math.imul(Ve,Mt)|0,b=b+Math.imul(fe,Tt)|0,n=(n=n+Math.imul(fe,mt)|0)+Math.imul(Ge,Tt)|0,_=_+Math.imul(Ge,mt)|0,b=b+Math.imul(we,ee)|0,n=(n=n+Math.imul(we,Ce)|0)+Math.imul(le,ee)|0,_=_+Math.imul(le,Ce)|0,b=b+Math.imul(Pe,Lt)|0,n=(n=n+Math.imul(Pe,jt)|0)+Math.imul(oe,Lt)|0,_=_+Math.imul(oe,jt)|0,b=b+Math.imul(be,Kt)|0,n=(n=n+Math.imul(be,Xe)|0)+Math.imul(ue,Kt)|0,_=_+Math.imul(ue,Xe)|0;var pi=(O+(b=b+Math.imul(Ye,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ye,nt)|0)+Math.imul(Oe,qe)|0))<<13)|0;O=((_=_+Math.imul(Oe,nt)|0)+(n>>>13)|0)+(pi>>>26)|0,pi&=67108863,b=Math.imul(ke,Dt),n=(n=Math.imul(ke,Rt))+Math.imul(ot,Dt)|0,_=Math.imul(ot,Rt),b=b+Math.imul(ct,vt)|0,n=(n=n+Math.imul(ct,Te)|0)+Math.imul(et,vt)|0,_=_+Math.imul(et,Te)|0,b=b+Math.imul(ve,Ze)|0,n=(n=n+Math.imul(ve,Mt)|0)+Math.imul(De,Ze)|0,_=_+Math.imul(De,Mt)|0,b=b+Math.imul(Ne,Tt)|0,n=(n=n+Math.imul(Ne,mt)|0)+Math.imul(Ve,Tt)|0,_=_+Math.imul(Ve,mt)|0,b=b+Math.imul(fe,ee)|0,n=(n=n+Math.imul(fe,Ce)|0)+Math.imul(Ge,ee)|0,_=_+Math.imul(Ge,Ce)|0,b=b+Math.imul(we,Lt)|0,n=(n=n+Math.imul(we,jt)|0)+Math.imul(le,Lt)|0,_=_+Math.imul(le,jt)|0,b=b+Math.imul(Pe,Kt)|0,n=(n=n+Math.imul(Pe,Xe)|0)+Math.imul(oe,Kt)|0,_=_+Math.imul(oe,Xe)|0;var Si=(O+(b=b+Math.imul(be,qe)|0)|0)+((8191&(n=(n=n+Math.imul(be,nt)|0)+Math.imul(ue,qe)|0))<<13)|0;O=((_=_+Math.imul(ue,nt)|0)+(n>>>13)|0)+(Si>>>26)|0,Si&=67108863,b=Math.imul(ke,vt),n=(n=Math.imul(ke,Te))+Math.imul(ot,vt)|0,_=Math.imul(ot,Te),b=b+Math.imul(ct,Ze)|0,n=(n=n+Math.imul(ct,Mt)|0)+Math.imul(et,Ze)|0,_=_+Math.imul(et,Mt)|0,b=b+Math.imul(ve,Tt)|0,n=(n=n+Math.imul(ve,mt)|0)+Math.imul(De,Tt)|0,_=_+Math.imul(De,mt)|0,b=b+Math.imul(Ne,ee)|0,n=(n=n+Math.imul(Ne,Ce)|0)+Math.imul(Ve,ee)|0,_=_+Math.imul(Ve,Ce)|0,b=b+Math.imul(fe,Lt)|0,n=(n=n+Math.imul(fe,jt)|0)+Math.imul(Ge,Lt)|0,_=_+Math.imul(Ge,jt)|0,b=b+Math.imul(we,Kt)|0,n=(n=n+Math.imul(we,Xe)|0)+Math.imul(le,Kt)|0,_=_+Math.imul(le,Xe)|0;var Fi=(O+(b=b+Math.imul(Pe,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Pe,nt)|0)+Math.imul(oe,qe)|0))<<13)|0;O=((_=_+Math.imul(oe,nt)|0)+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,b=Math.imul(ke,Ze),n=(n=Math.imul(ke,Mt))+Math.imul(ot,Ze)|0,_=Math.imul(ot,Mt),b=b+Math.imul(ct,Tt)|0,n=(n=n+Math.imul(ct,mt)|0)+Math.imul(et,Tt)|0,_=_+Math.imul(et,mt)|0,b=b+Math.imul(ve,ee)|0,n=(n=n+Math.imul(ve,Ce)|0)+Math.imul(De,ee)|0,_=_+Math.imul(De,Ce)|0,b=b+Math.imul(Ne,Lt)|0,n=(n=n+Math.imul(Ne,jt)|0)+Math.imul(Ve,Lt)|0,_=_+Math.imul(Ve,jt)|0,b=b+Math.imul(fe,Kt)|0,n=(n=n+Math.imul(fe,Xe)|0)+Math.imul(Ge,Kt)|0,_=_+Math.imul(Ge,Xe)|0;var Ri=(O+(b=b+Math.imul(we,qe)|0)|0)+((8191&(n=(n=n+Math.imul(we,nt)|0)+Math.imul(le,qe)|0))<<13)|0;O=((_=_+Math.imul(le,nt)|0)+(n>>>13)|0)+(Ri>>>26)|0,Ri&=67108863,b=Math.imul(ke,Tt),n=(n=Math.imul(ke,mt))+Math.imul(ot,Tt)|0,_=Math.imul(ot,mt),b=b+Math.imul(ct,ee)|0,n=(n=n+Math.imul(ct,Ce)|0)+Math.imul(et,ee)|0,_=_+Math.imul(et,Ce)|0,b=b+Math.imul(ve,Lt)|0,n=(n=n+Math.imul(ve,jt)|0)+Math.imul(De,Lt)|0,_=_+Math.imul(De,jt)|0,b=b+Math.imul(Ne,Kt)|0,n=(n=n+Math.imul(Ne,Xe)|0)+Math.imul(Ve,Kt)|0,_=_+Math.imul(Ve,Xe)|0;var Ui=(O+(b=b+Math.imul(fe,qe)|0)|0)+((8191&(n=(n=n+Math.imul(fe,nt)|0)+Math.imul(Ge,qe)|0))<<13)|0;O=((_=_+Math.imul(Ge,nt)|0)+(n>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,b=Math.imul(ke,ee),n=(n=Math.imul(ke,Ce))+Math.imul(ot,ee)|0,_=Math.imul(ot,Ce),b=b+Math.imul(ct,Lt)|0,n=(n=n+Math.imul(ct,jt)|0)+Math.imul(et,Lt)|0,_=_+Math.imul(et,jt)|0,b=b+Math.imul(ve,Kt)|0,n=(n=n+Math.imul(ve,Xe)|0)+Math.imul(De,Kt)|0,_=_+Math.imul(De,Xe)|0;var nn=(O+(b=b+Math.imul(Ne,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ne,nt)|0)+Math.imul(Ve,qe)|0))<<13)|0;O=((_=_+Math.imul(Ve,nt)|0)+(n>>>13)|0)+(nn>>>26)|0,nn&=67108863,b=Math.imul(ke,Lt),n=(n=Math.imul(ke,jt))+Math.imul(ot,Lt)|0,_=Math.imul(ot,jt),b=b+Math.imul(ct,Kt)|0,n=(n=n+Math.imul(ct,Xe)|0)+Math.imul(et,Kt)|0,_=_+Math.imul(et,Xe)|0;var cn=(O+(b=b+Math.imul(ve,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ve,nt)|0)+Math.imul(De,qe)|0))<<13)|0;O=((_=_+Math.imul(De,nt)|0)+(n>>>13)|0)+(cn>>>26)|0,cn&=67108863,b=Math.imul(ke,Kt),n=(n=Math.imul(ke,Xe))+Math.imul(ot,Kt)|0,_=Math.imul(ot,Xe);var Qi=(O+(b=b+Math.imul(ct,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ct,nt)|0)+Math.imul(et,qe)|0))<<13)|0;O=((_=_+Math.imul(et,nt)|0)+(n>>>13)|0)+(Qi>>>26)|0,Qi&=67108863;var $t=(O+(b=Math.imul(ke,qe))|0)+((8191&(n=(n=Math.imul(ke,nt))+Math.imul(ot,qe)|0))<<13)|0;return O=((_=Math.imul(ot,nt))+(n>>>13)|0)+($t>>>26)|0,$t&=67108863,L[0]=Wt,L[1]=si,L[2]=li,L[3]=xi,L[4]=Ut,L[5]=bt,L[6]=$e,L[7]=ut,L[8]=Et,L[9]=qt,L[10]=pi,L[11]=Si,L[12]=Fi,L[13]=Ri,L[14]=Ui,L[15]=nn,L[16]=cn,L[17]=Qi,L[18]=$t,0!==O&&(L[19]=O,m.length++),m};function Y(E,i,o){return(new Q).mulp(E,i,o)}function Q(E,i){this.x=E,this.y=i}Math.imul||(F=R),c.prototype.mulTo=function(i,o){var m,l=this.length+i.length;return m=10===this.length&&10===i.length?F(this,i,o):l<63?R(this,i,o):l<1024?function W(E,i,o){o.negative=i.negative^E.negative,o.length=E.length+i.length;for(var m=0,l=0,y=0;y<o.length-1;y++){var L=l;l=0;for(var O=67108863&m,b=Math.min(y,i.length-1),n=Math.max(0,y-E.length+1);n<=b;n++){var K=(0|E.words[y-n])*(0|i.words[n]),se=67108863&K;O=67108863&(se=se+O|0),l+=(L=(L=L+(K/67108864|0)|0)+(se>>>26)|0)>>>26,L&=67108863}o.words[y]=O,m=L,L=l}return 0!==m?o.words[y]=m:o.length--,o.strip()}(this,i,o):Y(this,i,o),m},Q.prototype.makeRBT=function(i){for(var o=new Array(i),m=c.prototype._countBits(i)-1,l=0;l<i;l++)o[l]=this.revBin(l,m,i);return o},Q.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var l=0,y=0;y<o;y++)l|=(1&i)<<o-y-1,i>>=1;return l},Q.prototype.permute=function(i,o,m,l,y,L){for(var O=0;O<L;O++)l[O]=o[i[O]],y[O]=m[i[O]]},Q.prototype.transform=function(i,o,m,l,y,L){this.permute(L,i,o,m,l,y);for(var O=1;O<y;O<<=1)for(var b=O<<1,n=Math.cos(2*Math.PI/b),_=Math.sin(2*Math.PI/b),H=0;H<y;H+=b)for(var V=n,K=_,se=0;se<O;se++){var Ye=m[H+se],Oe=l[H+se],Qe=m[H+se+O],be=l[H+se+O],ue=V*Qe-K*be;be=V*be+K*Qe,m[H+se]=Ye+(Qe=ue),l[H+se]=Oe+be,m[H+se+O]=Ye-Qe,l[H+se+O]=Oe-be,se!==b&&(ue=n*V-_*K,K=n*K+_*V,V=ue)}},Q.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),l=1&m,y=0;for(m=m/2|0;m;m>>>=1)y++;return 1<<y+1+l},Q.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var l=0;l<m/2;l++){var y=i[l];i[l]=i[m-l-1],i[m-l-1]=y,y=o[l],o[l]=-o[m-l-1],o[m-l-1]=-y}},Q.prototype.normalize13b=function(i,o){for(var m=0,l=0;l<o/2;l++){var y=8192*Math.round(i[2*l+1]/o)+Math.round(i[2*l]/o)+m;i[l]=67108863&y,m=y<67108864?0:y/67108864|0}return i},Q.prototype.convert13b=function(i,o,m,l){for(var y=0,L=0;L<o;L++)m[2*L]=8191&(y+=0|i[L]),m[2*L+1]=8191&(y>>>=13),y>>>=13;for(L=2*o;L<l;++L)m[L]=0;g(0===y),g(0==(-8192&y))},Q.prototype.stub=function(i){for(var o=new Array(i),m=0;m<i;m++)o[m]=0;return o},Q.prototype.mulp=function(i,o,m){var l=2*this.guessLen13b(i.length,o.length),y=this.makeRBT(l),L=this.stub(l),O=new Array(l),b=new Array(l),n=new Array(l),_=new Array(l),H=new Array(l),V=new Array(l),K=m.words;K.length=l,this.convert13b(i.words,i.length,O,l),this.convert13b(o.words,o.length,_,l),this.transform(O,L,b,n,l,y),this.transform(_,L,H,V,l,y);for(var se=0;se<l;se++){var Ye=b[se]*H[se]-n[se]*V[se];n[se]=b[se]*V[se]+n[se]*H[se],b[se]=Ye}return this.conjugate(b,n,l),this.transform(b,n,K,L,l,y),this.conjugate(K,L,l),this.normalize13b(K,l),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},c.prototype.mul=function(i){var o=new c(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},c.prototype.mulf=function(i){var o=new c(null);return o.words=new Array(this.length+i.length),Y(this,i,o)},c.prototype.imul=function(i){return this.clone().mulTo(i,this)},c.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var o=0,m=0;m<this.length;m++){var l=(0|this.words[m])*i,y=(67108863&l)+(67108863&o);o>>=26,o+=l/67108864|0,o+=y>>>26,this.words[m]=67108863&y}return 0!==o&&(this.words[m]=o,this.length++),this},c.prototype.muln=function(i){return this.clone().imuln(i)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(i){var o=function D(E){for(var i=new Array(E.bitLength()),o=0;o<i.length;o++){var l=o%26;i[o]=(E.words[o/26|0]&1<<l)>>>l}return i}(i);if(0===o.length)return new c(1);for(var m=this,l=0;l<o.length&&0===o[l];l++,m=m.sqr());if(++l<o.length)for(var y=m.sqr();l<o.length;l++,y=y.sqr())0!==o[l]&&(m=m.mul(y));return m},c.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,o=i%26,m=(i-o)/26,l=67108863>>>26-o<<26-o;if(0!==o){var L=0;for(y=0;y<this.length;y++){var O=this.words[y]&l;this.words[y]=(0|this.words[y])-O<<o|L,L=O>>>26-o}L&&(this.words[y]=L,this.length++)}if(0!==m){for(y=this.length-1;y>=0;y--)this.words[y+m]=this.words[y];for(y=0;y<m;y++)this.words[y]=0;this.length+=m}return this.strip()},c.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},c.prototype.iushrn=function(i,o,m){var l;g("number"==typeof i&&i>=0),l=o?(o-o%26)/26:0;var y=i%26,L=Math.min((i-y)/26,this.length),O=67108863^67108863>>>y<<y,b=m;if(l-=L,l=Math.max(0,l),b){for(var n=0;n<L;n++)b.words[n]=this.words[n];b.length=L}if(0!==L)if(this.length>L)for(this.length-=L,n=0;n<this.length;n++)this.words[n]=this.words[n+L];else this.words[0]=0,this.length=1;var _=0;for(n=this.length-1;n>=0&&(0!==_||n>=l);n--){var H=0|this.words[n];this.words[n]=_<<26-y|H>>>y,_=H&O}return b&&0!==_&&(b.words[b.length++]=_),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(i,o,m){return g(0===this.negative),this.iushrn(i,o,m)},c.prototype.shln=function(i){return this.clone().ishln(i)},c.prototype.ushln=function(i){return this.clone().iushln(i)},c.prototype.shrn=function(i){return this.clone().ishrn(i)},c.prototype.ushrn=function(i){return this.clone().iushrn(i)},c.prototype.testn=function(i){g("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;return!(this.length<=m||!(this.words[m]&1<<o))},c.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==o&&m++,this.length=Math.min(m,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<<o),this.strip())},c.prototype.maskn=function(i){return this.clone().imaskn(i)},c.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)},c.prototype._iaddn=function(i){this.words[0]+=i;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},c.prototype.addn=function(i){return this.clone().iaddn(i)},c.prototype.subn=function(i){return this.clone().isubn(i)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(i,o,m){var y;this._expand(i.length+m);var L,O=0;for(y=0;y<i.length;y++){L=(0|this.words[y+m])+O;var b=(0|i.words[y])*o;O=((L-=67108863&b)>>26)-(b/67108864|0),this.words[y+m]=67108863&L}for(;y<this.length-m;y++)O=(L=(0|this.words[y+m])+O)>>26,this.words[y+m]=67108863&L;if(0===O)return this.strip();for(g(-1===O),O=0,y=0;y<this.length;y++)O=(L=-(0|this.words[y])+O)>>26,this.words[y]=67108863&L;return this.negative=1,this.strip()},c.prototype._wordDiv=function(i,o){var m,l=this.clone(),y=i,L=0|y.words[y.length-1];0!=(m=26-this._countBits(L))&&(y=y.ushln(m),l.iushln(m),L=0|y.words[y.length-1]);var n,b=l.length-y.length;if("mod"!==o){(n=new c(null)).length=b+1,n.words=new Array(n.length);for(var _=0;_<n.length;_++)n.words[_]=0}var H=l.clone()._ishlnsubmul(y,1,b);0===H.negative&&(l=H,n&&(n.words[b]=1));for(var V=b-1;V>=0;V--){var K=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(K=Math.min(K/L|0,67108863),l._ishlnsubmul(y,K,V);0!==l.negative;)K--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=K)}return n&&n.strip(),l.strip(),"div"!==o&&0!==m&&l.iushrn(m),{div:n||null,mod:l}},c.prototype.divmod=function(i,o,m){return g(!i.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===i.negative?(L=this.neg().divmod(i,o),"mod"!==o&&(l=L.div.neg()),"div"!==o&&(y=L.mod.neg(),m&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(L=this.divmod(i.neg(),o),"mod"!==o&&(l=L.div.neg()),{div:l,mod:L.mod}):this.negative&i.negative?(L=this.neg().divmod(i.neg(),o),"div"!==o&&(y=L.mod.neg(),m&&0!==y.negative&&y.isub(i)),{div:L.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new c(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new c(this.modn(i.words[0]))}:this._wordDiv(i,o);var l,y,L},c.prototype.div=function(i){return this.divmod(i,"div",!1).div},c.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},c.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},c.prototype.divRound=function(i){var o=this.divmod(i);if(o.mod.isZero())return o.div;var m=0!==o.div.negative?o.mod.isub(i):o.mod,l=i.ushrn(1),y=i.andln(1),L=m.cmp(l);return L<0||1===y&&0===L?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(i){g(i<=67108863);for(var o=(1<<26)%i,m=0,l=this.length-1;l>=0;l--)m=(o*m+(0|this.words[l]))%i;return m},c.prototype.idivn=function(i){g(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var l=(0|this.words[m])+67108864*o;this.words[m]=l/i|0,o=l%i}return this.strip()},c.prototype.divn=function(i){return this.clone().idivn(i)},c.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var l=new c(1),y=new c(0),L=new c(0),O=new c(1),b=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++b;for(var n=m.clone(),_=o.clone();!o.isZero();){for(var H=0,V=1;!(o.words[0]&V)&&H<26;++H,V<<=1);if(H>0)for(o.iushrn(H);H-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(_)),l.iushrn(1),y.iushrn(1);for(var K=0,se=1;!(m.words[0]&se)&&K<26;++K,se<<=1);if(K>0)for(m.iushrn(K);K-- >0;)(L.isOdd()||O.isOdd())&&(L.iadd(n),O.isub(_)),L.iushrn(1),O.iushrn(1);o.cmp(m)>=0?(o.isub(m),l.isub(L),y.isub(O)):(m.isub(o),L.isub(l),O.isub(y))}return{a:L,b:O,gcd:m.iushln(b)}},c.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var H,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var l=new c(1),y=new c(0),L=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var O=0,b=1;!(o.words[0]&b)&&O<26;++O,b<<=1);if(O>0)for(o.iushrn(O);O-- >0;)l.isOdd()&&l.iadd(L),l.iushrn(1);for(var n=0,_=1;!(m.words[0]&_)&&n<26;++n,_<<=1);if(n>0)for(m.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(L),y.iushrn(1);o.cmp(m)>=0?(o.isub(m),l.isub(y)):(m.isub(o),y.isub(l))}return(H=0===o.cmpn(1)?l:y).cmpn(0)<0&&H.iadd(i),H},c.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var o=this.clone(),m=i.clone();o.negative=0,m.negative=0;for(var l=0;o.isEven()&&m.isEven();l++)o.iushrn(1),m.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;m.isEven();)m.iushrn(1);var y=o.cmp(m);if(y<0){var L=o;o=m,m=L}else if(0===y||0===m.cmpn(1))break;o.isub(m)}return m.iushln(l)},c.prototype.invm=function(i){return this.egcd(i).a.umod(i)},c.prototype.isEven=function(){return 0==(1&this.words[0])},c.prototype.isOdd=function(){return 1==(1&this.words[0])},c.prototype.andln=function(i){return this.words[0]&i},c.prototype.bincn=function(i){g("number"==typeof i);var o=i%26,m=(i-o)/26,l=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=l,this;for(var y=l,L=m;0!==y&&L<this.length;L++){var O=0|this.words[L];y=(O+=y)>>>26,this.words[L]=O&=67108863}return 0!==y&&(this.words[L]=y,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(i){var m,o=i<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)m=1;else{o&&(i=-i),g(i<=67108863,"Number is too big");var l=0|this.words[0];m=l===i?0:l<i?-1:1}return 0!==this.negative?0|-m:m},c.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var o=this.ucmp(i);return 0!==this.negative?0|-o:o},c.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var o=0,m=this.length-1;m>=0;m--){var l=0|this.words[m],y=0|i.words[m];if(l!==y){l<y?o=-1:l>y&&(o=1);break}}return o},c.prototype.gtn=function(i){return 1===this.cmpn(i)},c.prototype.gt=function(i){return 1===this.cmp(i)},c.prototype.gten=function(i){return this.cmpn(i)>=0},c.prototype.gte=function(i){return this.cmp(i)>=0},c.prototype.ltn=function(i){return-1===this.cmpn(i)},c.prototype.lt=function(i){return-1===this.cmp(i)},c.prototype.lten=function(i){return this.cmpn(i)<=0},c.prototype.lte=function(i){return this.cmp(i)<=0},c.prototype.eqn=function(i){return 0===this.cmpn(i)},c.prototype.eq=function(i){return 0===this.cmp(i)},c.red=function(i){return new te(i)},c.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)},c.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(i){return this.red=i,this},c.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},c.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},c.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},c.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},c.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},c.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},c.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},c.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},c.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var J={k256:null,p224:null,p192:null,p25519:null};function ne(E,i){this.name=E,this.p=new c(i,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function X(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function pe(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function de(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(E){if("string"==typeof E){var i=c._prime(E);this.m=i.p,this.prime=i}else g(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}function ae(E){te.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(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)}ne.prototype._tmp=function(){var i=new c(null);return i.words=new Array(Math.ceil(this.n/13)),i},ne.prototype.ireduce=function(i){var m,o=i;do{this.split(o,this.tmp),m=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(m>this.n);var l=m<this.n?-1:o.ucmp(this.p);return 0===l?(o.words[0]=0,o.length=1):l>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},ne.prototype.split=function(i,o){i.iushrn(this.n,0,o)},ne.prototype.imulK=function(i){return i.imul(this.k)},T(X,ne),X.prototype.split=function(i,o){for(var m=4194303,l=Math.min(i.length,9),y=0;y<l;y++)o.words[y]=i.words[y];if(o.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var L=i.words[9];for(o.words[o.length++]=L&m,y=10;y<i.length;y++){var O=0|i.words[y];i.words[y-10]=(O&m)<<4|L>>>22,L=O}i.words[y-10]=L>>>=22,i.length-=0===L&&i.length>10?10:9},X.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var o=0,m=0;m<i.length;m++){var l=0|i.words[m];i.words[m]=67108863&(o+=977*l),o=64*l+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},T(pe,ne),T(ie,ne),T(de,ne),de.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var l=19*(0|i.words[m])+o,y=67108863&l;l>>>=26,i.words[m]=y,o=l}return 0!==o&&(i.words[i.length++]=o),i},c._prime=function(i){if(J[i])return J[i];var o;if("k256"===i)o=new X;else if("p224"===i)o=new pe;else if("p192"===i)o=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new de}return J[i]=o,o},te.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},te.prototype._verify2=function(i,o){g(0==(i.negative|o.negative),"red works only with positives"),g(i.red&&i.red===o.red,"red works only with red numbers")},te.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},te.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},te.prototype.add=function(i,o){this._verify2(i,o);var m=i.add(o);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},te.prototype.iadd=function(i,o){this._verify2(i,o);var m=i.iadd(o);return m.cmp(this.m)>=0&&m.isub(this.m),m},te.prototype.sub=function(i,o){this._verify2(i,o);var m=i.sub(o);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},te.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},te.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},te.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},te.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},te.prototype.isqr=function(i){return this.imul(i,i.clone())},te.prototype.sqr=function(i){return this.mul(i,i)},te.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(g(o%2==1),3===o){var m=this.m.add(new c(1)).iushrn(2);return this.pow(i,m)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);g(!l.isZero());var L=new c(1).toRed(this),O=L.redNeg(),b=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new c(2*n*n).toRed(this);0!==this.pow(n,b).cmp(O);)n.redIAdd(O);for(var _=this.pow(n,l),H=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),K=y;0!==V.cmp(L);){for(var se=V,Ye=0;0!==se.cmp(L);Ye++)se=se.redSqr();g(Ye<K);var Oe=this.pow(_,new c(1).iushln(K-Ye-1));H=H.redMul(Oe),_=Oe.redSqr(),V=V.redMul(_),K=Ye}return H},te.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},te.prototype.pow=function(i,o){if(o.isZero())return new c(1).toRed(this);if(0===o.cmpn(1))return i.clone();var l=new Array(16);l[0]=new c(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var L=l[0],O=0,b=0,n=o.bitLength()%26;for(0===n&&(n=26),y=o.length-1;y>=0;y--){for(var _=o.words[y],H=n-1;H>=0;H--){var V=_>>H&1;L!==l[0]&&(L=this.sqr(L)),0!==V||0!==O?(O<<=1,O|=V,(4==++b||0===y&&0===H)&&(L=this.mul(L,l[O]),b=0,O=0)):b=0}n=26}return L},te.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},te.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},c.mont=function(i){return new ae(i)},T(ae,te),ae.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},ae.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},ae.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),l=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(l).iushrn(this.shift),L=y;return y.cmp(this.m)>=0?L=y.isub(this.m):y.cmpn(0)<0&&(L=y.iadd(this.m)),L._forceRed(this)},ae.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new c(0)._forceRed(this);var m=i.mul(o),l=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(l).iushrn(this.shift),L=y;return y.cmp(this.m)>=0?L=y.isub(this.m):y.cmpn(0)<0&&(L=y.iadd(this.m)),L._forceRed(this)},ae.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ue=p.nmd(Ue),this)},6362:(Ue,q,p)=>{"use strict";var e=p(6698),t=p(5829),g=p(9706),T=p(7965),c=p(6420);function C(u){c.call(this,"digest"),this._hash=u}e(C,c),C.prototype._update=function(u){this._hash.update(u)},C.prototype._final=function(){return this._hash.digest()},Ue.exports=function(P){return"md5"===(P=P.toLowerCase())?new t:"rmd160"===P||"ripemd160"===P?new g:new C(T(P))}},7588:(Ue,q,p)=>{var e=p(5829);Ue.exports=function(t){return(new e).update(t).digest()}},5825:(Ue,q,p)=>{"use strict";var e=p(6698),t=p(5922),g=p(6420),T=p(843).Buffer,c=p(7588),C=p(9706),u=p(7965),P=T.alloc(128);function d(S,M){g.call(this,"digest"),"string"==typeof M&&(M=T.from(M));var I="sha512"===S||"sha384"===S?128:64;this._alg=S,this._key=M,M.length>I?M=("rmd160"===S?new C:u(S)).update(M).digest():M.length<I&&(M=T.concat([M,P],I));for(var R=this._ipad=T.allocUnsafe(I),F=this._opad=T.allocUnsafe(I),W=0;W<I;W++)R[W]=54^M[W],F[W]=92^M[W];this._hash="rmd160"===S?new C:u(S),this._hash.update(R)}e(d,g),d.prototype._update=function(S){this._hash.update(S)},d.prototype._final=function(){var S=this._hash.digest();return("rmd160"===this._alg?new C:u(this._alg)).update(this._opad).update(S).digest()},Ue.exports=function(M,I){return"rmd160"===(M=M.toLowerCase())||"ripemd160"===M?new d("rmd160",I):"md5"===M?new t(c,I):new d(M,I)}},5922:(Ue,q,p)=>{"use strict";var e=p(6698),t=p(843).Buffer,g=p(6420),T=t.alloc(128),c=64;function C(u,P){g.call(this,"digest"),"string"==typeof P&&(P=t.from(P)),this._alg=u,this._key=P,P.length>c?P=u(P):P.length<c&&(P=t.concat([P,T],c));for(var d=this._ipad=t.allocUnsafe(c),S=this._opad=t.allocUnsafe(c),M=0;M<c;M++)d[M]=54^P[M],S[M]=92^P[M];this._hash=[d]}e(C,g),C.prototype._update=function(u){this._hash.push(u)},C.prototype._final=function(){var u=this._alg(t.concat(this._hash));return this._alg(t.concat([this._opad,u]))},Ue.exports=C},7903:(Ue,q,p)=>{"use strict";q.randomBytes=q.rng=q.pseudoRandomBytes=q.prng=p(4019),q.createHash=q.Hash=p(6362),q.createHmac=q.Hmac=p(5825);var e=p(1699),t=Object.keys(e),g=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(t);q.getHashes=function(){return g};var T=p(7100);q.pbkdf2=T.pbkdf2,q.pbkdf2Sync=T.pbkdf2Sync;var c=p(5600);q.Cipher=c.Cipher,q.createCipher=c.createCipher,q.Cipheriv=c.Cipheriv,q.createCipheriv=c.createCipheriv,q.Decipher=c.Decipher,q.createDecipher=c.createDecipher,q.Decipheriv=c.Decipheriv,q.createDecipheriv=c.createDecipheriv,q.getCiphers=c.getCiphers,q.listCiphers=c.listCiphers;var C=p(5144);q.DiffieHellmanGroup=C.DiffieHellmanGroup,q.createDiffieHellmanGroup=C.createDiffieHellmanGroup,q.getDiffieHellman=C.getDiffieHellman,q.createDiffieHellman=C.createDiffieHellman,q.DiffieHellman=C.DiffieHellman;var u=p(7686);q.createSign=u.createSign,q.Sign=u.Sign,q.createVerify=u.createVerify,q.Verify=u.Verify,q.createECDH=p(8840);var P=p(7050);q.publicEncrypt=P.publicEncrypt,q.privateEncrypt=P.privateEncrypt,q.publicDecrypt=P.publicDecrypt,q.privateDecrypt=P.privateDecrypt;var d=p(1237);q.randomFill=d.randomFill,q.randomFillSync=d.randomFillSync,q.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},q.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},132:(Ue,q,p)=>{"use strict";q.utils=p(2294),q.Cipher=p(9484),q.DES=p(4374),q.CBC=p(2066),q.EDE=p(9710)},2066:(Ue,q,p)=>{"use strict";var e=p(7798),t=p(6698),g={};function T(C){e.equal(C.length,8,"Invalid IV length"),this.iv=new Array(8);for(var u=0;u<this.iv.length;u++)this.iv[u]=C[u]}q.instantiate=function c(C){function u(M){C.call(this,M),this._cbcInit()}t(u,C);for(var P=Object.keys(g),d=0;d<P.length;d++){var S=P[d];u.prototype[S]=g[S]}return u.create=function(I){return new u(I)},u},g._cbcInit=function(){var u=new T(this.options.iv);this._cbcState=u},g._update=function(u,P,d,S){var I=this.constructor.super_.prototype,D=this._cbcState.iv;if("encrypt"===this.type){for(var R=0;R<this.blockSize;R++)D[R]^=u[P+R];for(I._update.call(this,D,0,d,S),R=0;R<this.blockSize;R++)D[R]=d[S+R]}else{for(I._update.call(this,u,P,d,S),R=0;R<this.blockSize;R++)d[S+R]^=D[R];for(R=0;R<this.blockSize;R++)D[R]=u[P+R]}}},9484:(Ue,q,p)=>{"use strict";var e=p(7798);function t(g){this.options=g,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==g.padding}Ue.exports=t,t.prototype._init=function(){},t.prototype.update=function(T){return 0===T.length?[]:"decrypt"===this.type?this._updateDecrypt(T):this._updateEncrypt(T)},t.prototype._buffer=function(T,c){for(var C=Math.min(this.buffer.length-this.bufferOff,T.length-c),u=0;u<C;u++)this.buffer[this.bufferOff+u]=T[c+u];return this.bufferOff+=C,C},t.prototype._flushBuffer=function(T,c){return this._update(this.buffer,0,T,c),this.bufferOff=0,this.blockSize},t.prototype._updateEncrypt=function(T){var c=0,C=0,P=new Array(((this.bufferOff+T.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(c+=this._buffer(T,c),this.bufferOff===this.buffer.length&&(C+=this._flushBuffer(P,C)));for(var d=T.length-(T.length-c)%this.blockSize;c<d;c+=this.blockSize)this._update(T,c,P,C),C+=this.blockSize;for(;c<T.length;c++,this.bufferOff++)this.buffer[this.bufferOff]=T[c];return P},t.prototype._updateDecrypt=function(T){for(var c=0,C=0,u=Math.ceil((this.bufferOff+T.length)/this.blockSize)-1,P=new Array(u*this.blockSize);u>0;u--)c+=this._buffer(T,c),C+=this._flushBuffer(P,C);return c+=this._buffer(T,c),P},t.prototype.final=function(T){var c,C;return T&&(c=this.update(T)),C="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),c?c.concat(C):C},t.prototype._pad=function(T,c){if(0===c)return!1;for(;c<T.length;)T[c++]=0;return!0},t.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var T=new Array(this.blockSize);return this._update(this.buffer,0,T,0),T},t.prototype._unpad=function(T){return T},t.prototype._finalDecrypt=function(){e.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var T=new Array(this.blockSize);return this._flushBuffer(T,0),this._unpad(T)}},4374:(Ue,q,p)=>{"use strict";var e=p(7798),t=p(6698),g=p(2294),T=p(9484);function c(){this.tmp=new Array(2),this.keys=null}function C(P){T.call(this,P);var d=new c;this._desState=d,this.deriveKeys(d,P.key)}t(C,T),Ue.exports=C,C.create=function(d){return new C(d)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];C.prototype.deriveKeys=function(d,S){d.keys=new Array(32),e.equal(S.length,this.blockSize,"Invalid key length");var M=g.readUInt32BE(S,0),I=g.readUInt32BE(S,4);g.pc1(M,I,d.tmp,0),M=d.tmp[0],I=d.tmp[1];for(var D=0;D<d.keys.length;D+=2){var R=u[D>>>1];M=g.r28shl(M,R),I=g.r28shl(I,R),g.pc2(M,I,d.keys,D)}},C.prototype._update=function(d,S,M,I){var D=this._desState,R=g.readUInt32BE(d,S),F=g.readUInt32BE(d,S+4);g.ip(R,F,D.tmp,0),R=D.tmp[0],F=D.tmp[1],"encrypt"===this.type?this._encrypt(D,R,F,D.tmp,0):this._decrypt(D,R,F,D.tmp,0),F=D.tmp[1],g.writeUInt32BE(M,R=D.tmp[0],I),g.writeUInt32BE(M,F,I+4)},C.prototype._pad=function(d,S){if(!1===this.padding)return!1;for(var M=d.length-S,I=S;I<d.length;I++)d[I]=M;return!0},C.prototype._unpad=function(d){if(!1===this.padding)return d;for(var S=d[d.length-1],M=d.length-S;M<d.length;M++)e.equal(d[M],S);return d.slice(0,d.length-S)},C.prototype._encrypt=function(d,S,M,I,D){for(var R=S,F=M,W=0;W<d.keys.length;W+=2){var Y=d.keys[W],Q=d.keys[W+1];g.expand(F,d.tmp,0);var J=g.substitute(Y^=d.tmp[0],Q^=d.tmp[1]),X=F;F=(R^g.permute(J))>>>0,R=X}g.rip(F,R,I,D)},C.prototype._decrypt=function(d,S,M,I,D){for(var R=M,F=S,W=d.keys.length-2;W>=0;W-=2){var Y=d.keys[W],Q=d.keys[W+1];g.expand(R,d.tmp,0);var J=g.substitute(Y^=d.tmp[0],Q^=d.tmp[1]),X=R;R=(F^g.permute(J))>>>0,F=X}g.rip(R,F,I,D)}},9710:(Ue,q,p)=>{"use strict";var e=p(7798),t=p(6698),g=p(9484),T=p(4374);function c(u,P){e.equal(P.length,24,"Invalid key length");var d=P.slice(0,8),S=P.slice(8,16),M=P.slice(16,24);this.ciphers="encrypt"===u?[T.create({type:"encrypt",key:d}),T.create({type:"decrypt",key:S}),T.create({type:"encrypt",key:M})]:[T.create({type:"decrypt",key:M}),T.create({type:"encrypt",key:S}),T.create({type:"decrypt",key:d})]}function C(u){g.call(this,u);var P=new c(this.type,this.options.key);this._edeState=P}t(C,g),Ue.exports=C,C.create=function(P){return new C(P)},C.prototype._update=function(P,d,S,M){var I=this._edeState;I.ciphers[0]._update(P,d,S,M),I.ciphers[1]._update(S,M,S,M),I.ciphers[2]._update(S,M,S,M)},C.prototype._pad=T.prototype._pad,C.prototype._unpad=T.prototype._unpad},2294:(Ue,q)=>{"use strict";q.readUInt32BE=function(T,c){return(T[0+c]<<24|T[1+c]<<16|T[2+c]<<8|T[3+c])>>>0},q.writeUInt32BE=function(T,c,C){T[0+C]=c>>>24,T[1+C]=c>>>16&255,T[2+C]=c>>>8&255,T[3+C]=255&c},q.ip=function(T,c,C,u){for(var P=0,d=0,S=6;S>=0;S-=2){for(var M=0;M<=24;M+=8)P<<=1,P|=c>>>M+S&1;for(M=0;M<=24;M+=8)P<<=1,P|=T>>>M+S&1}for(S=6;S>=0;S-=2){for(M=1;M<=25;M+=8)d<<=1,d|=c>>>M+S&1;for(M=1;M<=25;M+=8)d<<=1,d|=T>>>M+S&1}C[u+0]=P>>>0,C[u+1]=d>>>0},q.rip=function(T,c,C,u){for(var P=0,d=0,S=0;S<4;S++)for(var M=24;M>=0;M-=8)P<<=1,P|=c>>>M+S&1,P<<=1,P|=T>>>M+S&1;for(S=4;S<8;S++)for(M=24;M>=0;M-=8)d<<=1,d|=c>>>M+S&1,d<<=1,d|=T>>>M+S&1;C[u+0]=P>>>0,C[u+1]=d>>>0},q.pc1=function(T,c,C,u){for(var P=0,d=0,S=7;S>=5;S--){for(var M=0;M<=24;M+=8)P<<=1,P|=c>>M+S&1;for(M=0;M<=24;M+=8)P<<=1,P|=T>>M+S&1}for(M=0;M<=24;M+=8)P<<=1,P|=c>>M+S&1;for(S=1;S<=3;S++){for(M=0;M<=24;M+=8)d<<=1,d|=c>>M+S&1;for(M=0;M<=24;M+=8)d<<=1,d|=T>>M+S&1}for(M=0;M<=24;M+=8)d<<=1,d|=T>>M+S&1;C[u+0]=P>>>0,C[u+1]=d>>>0},q.r28shl=function(T,c){return T<<c&268435455|T>>>28-c};var p=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];q.pc2=function(T,c,C,u){for(var P=0,d=0,S=p.length>>>1,M=0;M<S;M++)P<<=1,P|=T>>>p[M]&1;for(M=S;M<p.length;M++)d<<=1,d|=c>>>p[M]&1;C[u+0]=P>>>0,C[u+1]=d>>>0},q.expand=function(T,c,C){var u=0,P=0;u=(1&T)<<5|T>>>27;for(var d=23;d>=15;d-=4)u<<=6,u|=T>>>d&63;for(d=11;d>=3;d-=4)P|=T>>>d&63,P<<=6;P|=(31&T)<<1|T>>>31,c[C+0]=u>>>0,c[C+1]=P>>>0};var e=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];q.substitute=function(T,c){for(var C=0,u=0;u<4;u++)C<<=4,C|=e[64*u+(T>>>18-6*u&63)];for(u=0;u<4;u++)C<<=4,C|=e[256+64*u+(c>>>18-6*u&63)];return C>>>0};var t=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];q.permute=function(T){for(var c=0,C=0;C<t.length;C++)c<<=1,c|=T>>>t[C]&1;return c>>>0},q.padSplit=function(T,c,C){for(var u=T.toString(2);u.length<c;)u="0"+u;for(var P=[],d=0;d<c;d+=C)P.push(u.slice(d,d+C));return P.join(" ")}},5144:(Ue,q,p)=>{var e=p(1096),t=p(9799),g=p(5580),c={binary:!0,hex:!0,base64:!0};q.DiffieHellmanGroup=q.createDiffieHellmanGroup=q.getDiffieHellman=function T(u){var P=new Buffer(t[u].prime,"hex"),d=new Buffer(t[u].gen,"hex");return new g(P,d)},q.createDiffieHellman=q.DiffieHellman=function C(u,P,d,S){return Buffer.isBuffer(P)||void 0===c[P]?C(u,"binary",P,d):(P=P||"binary",S=S||"binary",d=d||new Buffer([2]),Buffer.isBuffer(d)||(d=new Buffer(d,S)),"number"==typeof u?new g(e(u,d),d,!0):(Buffer.isBuffer(u)||(u=new Buffer(u,P)),new g(u,d,!0)))}},5580:(Ue,q,p)=>{var e=p(7301),g=new(p(8606)),T=new e(24),c=new e(11),C=new e(10),u=new e(3),P=new e(7),d=p(1096),S=p(4019);function M(Y,Q){return Q=Q||"utf8",Buffer.isBuffer(Y)||(Y=new Buffer(Y,Q)),this._pub=new e(Y),this}function I(Y,Q){return Q=Q||"utf8",Buffer.isBuffer(Y)||(Y=new Buffer(Y,Q)),this._priv=new e(Y),this}Ue.exports=F;var D={};function F(Y,Q,J){this.setGenerator(Q),this.__prime=new e(Y),this._prime=e.mont(this.__prime),this._primeLen=Y.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,J?(this.setPublicKey=M,this.setPrivateKey=I):this._primeCode=8}function W(Y,Q){var J=new Buffer(Y.toArray());return Q?J.toString(Q):J}Object.defineProperty(F.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function R(Y,Q){var J=Q.toString("hex"),ne=[J,Y.toString(16)].join("_");if(ne in D)return D[ne];var pe,X=0;if(Y.isEven()||!d.simpleSieve||!d.fermatTest(Y)||!g.test(Y))return X+=1,D[ne]=X+="02"===J||"05"===J?8:4,X;switch(g.test(Y.shrn(1))||(X+=2),J){case"02":Y.mod(T).cmp(c)&&(X+=8);break;case"05":(pe=Y.mod(C)).cmp(u)&&pe.cmp(P)&&(X+=8);break;default:X+=4}return D[ne]=X,X}(this.__prime,this.__gen)),this._primeCode}}),F.prototype.generateKeys=function(){return this._priv||(this._priv=new e(S(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},F.prototype.computeSecret=function(Y){var Q=(Y=(Y=new e(Y)).toRed(this._prime)).redPow(this._priv).fromRed(),J=new Buffer(Q.toArray()),ne=this.getPrime();if(J.length<ne.length){var X=new Buffer(ne.length-J.length);X.fill(0),J=Buffer.concat([X,J])}return J},F.prototype.getPublicKey=function(Q){return W(this._pub,Q)},F.prototype.getPrivateKey=function(Q){return W(this._priv,Q)},F.prototype.getPrime=function(Y){return W(this.__prime,Y)},F.prototype.getGenerator=function(Y){return W(this._gen,Y)},F.prototype.setGenerator=function(Y,Q){return Q=Q||"utf8",Buffer.isBuffer(Y)||(Y=new Buffer(Y,Q)),this.__gen=Y,this._gen=new e(Y),this}},1096:(Ue,q,p)=>{var e=p(4019);Ue.exports=X,X.simpleSieve=J,X.fermatTest=ne;var t=p(7301),g=new t(24),c=new(p(8606)),C=new t(1),u=new t(2),P=new t(5),M=(new t(16),new t(8),new t(10)),I=new t(3),R=(new t(7),new t(11)),F=new t(4),Y=(new t(12),null);function J(pe){for(var ie=function Q(){if(null!==Y)return Y;var ie=[];ie[0]=2;for(var de=1,te=3;te<1048576;te+=2){for(var ae=Math.ceil(Math.sqrt(te)),E=0;E<de&&ie[E]<=ae&&te%ie[E]!=0;E++);de!==E&&ie[E]<=ae||(ie[de++]=te)}return Y=ie,ie}(),de=0;de<ie.length;de++)if(0===pe.modn(ie[de]))return 0===pe.cmpn(ie[de]);return!0}function ne(pe){var ie=t.mont(pe);return 0===u.toRed(ie).redPow(pe.subn(1)).fromRed().cmpn(1)}function X(pe,ie){if(pe<16)return new t(2===ie||5===ie?[140,123]:[140,39]);ie=new t(ie);for(var de,te;;){for(de=new t(e(Math.ceil(pe/8)));de.bitLength()>pe;)de.ishrn(1);if(de.isEven()&&de.iadd(C),de.testn(1)||de.iadd(u),ie.cmp(u)){if(!ie.cmp(P))for(;de.mod(M).cmp(I);)de.iadd(F)}else for(;de.mod(g).cmp(R);)de.iadd(F);if(J(te=de.shrn(1))&&J(de)&&ne(te)&&ne(de)&&c.test(te)&&c.test(de))return de}}},7301:function(Ue,q,p){!function(e,t){"use strict";function g(E,i){if(!E)throw new Error(i||"Assertion failed")}function T(E,i){E.super_=i;var o=function(){};o.prototype=i.prototype,E.prototype=new o,E.prototype.constructor=E}function c(E,i,o){if(c.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,null!==E&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(E||0,i||10,o||"be"))}var C;"object"==typeof e?e.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(7748).Buffer}catch{}function u(E,i){var o=E.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(E,i,o){var m=u(E,o);return o-1>=i&&(m|=u(E,o-1)<<4),m}function d(E,i,o,m){for(var l=0,y=Math.min(E.length,o),L=i;L<y;L++){var O=E.charCodeAt(L)-48;l*=m,l+=O>=49?O-49+10:O>=17?O-17+10:O}return l}c.isBN=function(i){return i instanceof c||null!==i&&"object"==typeof i&&i.constructor.wordSize===c.wordSize&&Array.isArray(i.words)},c.max=function(i,o){return i.cmp(o)>0?i:o},c.min=function(i,o){return i.cmp(o)<0?i:o},c.prototype._init=function(i,o,m){if("number"==typeof i)return this._initNumber(i,o,m);if("object"==typeof i)return this._initArray(i,o,m);"hex"===o&&(o=16),g(o===(0|o)&&o>=2&&o<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===o?this._parseHex(i,l,m):(this._parseBase(i,o,l),"le"===m&&this._initArray(this.toArray(),o,m)))},c.prototype._initNumber=function(i,o,m){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"===m&&this._initArray(this.toArray(),o,m)},c.prototype._initArray=function(i,o,m){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 l=0;l<this.length;l++)this.words[l]=0;var y,L,O=0;if("be"===m)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(L=i[l]|i[l-1]<<8|i[l-2]<<16)<<O&67108863,this.words[y+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,y++);else if("le"===m)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(L=i[l]|i[l+1]<<8|i[l+2]<<16)<<O&67108863,this.words[y+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,y++);return this.strip()},c.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var O,y=0,L=0;if("be"===m)for(l=i.length-1;l>=o;l-=2)O=P(i,o,l)<<y,this.words[L]|=67108863&O,y>=18?(y-=18,this.words[L+=1]|=O>>>26):y+=8;else for(l=(i.length-o)%2==0?o+1:o;l<i.length;l+=2)O=P(i,o,l)<<y,this.words[L]|=67108863&O,y>=18?(y-=18,this.words[L+=1]|=O>>>26):y+=8;this.strip()},c.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=o)l++;l--,y=y/o|0;for(var L=i.length-m,O=L%l,b=Math.min(L,L-O)+m,n=0,_=m;_<b;_+=l)n=d(i,_,_+l,o),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==O){var H=1;for(n=d(i,_,i.length,o),_=0;_<O;_++)H*=o;this.imuln(H),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},c.prototype.copy=function(i){i.words=new Array(this.length);for(var o=0;o<this.length;o++)i.words[o]=this.words[o];i.length=this.length,i.negative=this.negative,i.red=this.red},c.prototype.clone=function(){var i=new c(null);return this.copy(i),i},c.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},c.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function R(E,i,o){o.negative=i.negative^E.negative;var m=E.length+i.length|0;o.length=m,m=m-1|0;var l=0|E.words[0],y=0|i.words[0],L=l*y,b=L/67108864|0;o.words[0]=67108863&L;for(var n=1;n<m;n++){for(var _=b>>>26,H=67108863&b,V=Math.min(n,i.length-1),K=Math.max(0,n-E.length+1);K<=V;K++)_+=(L=(l=0|E.words[n-K|0])*(y=0|i.words[K])+H)/67108864|0,H=67108863&L;o.words[n]=0|H,b=0|_}return 0!==b?o.words[n]=0|b:o.length--,o.strip()}c.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var l=0,y=0,L=0;L<this.length;L++){var O=this.words[L],b=(16777215&(O<<l|y)).toString(16);m=0!=(y=O>>>24-l&16777215)||L!==this.length-1?S[6-b.length]+b+m:b+m,(l+=2)>=26&&(l-=26,L--)}for(0!==y&&(m=y.toString(16)+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(i===(0|i)&&i>=2&&i<=36){var n=M[i],_=I[i];m="";var H=this.clone();for(H.negative=0;!H.isZero();){var V=H.modn(_).toString(i);m=(H=H.idivn(_)).isZero()?V+m:S[n-V.length]+V+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}g(!1,"Base should be between 2 and 36")},c.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},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(i,o){return g(typeof C<"u"),this.toArrayLike(C,i,o)},c.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},c.prototype.toArrayLike=function(i,o,m){var l=this.byteLength(),y=m||Math.max(1,l);g(l<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var b,n,L="le"===o,O=new i(y),_=this.clone();if(L){for(n=0;!_.isZero();n++)b=_.andln(255),_.iushrn(8),O[n]=b;for(;n<y;n++)O[n]=0}else{for(n=0;n<y-l;n++)O[n]=0;for(n=0;!_.isZero();n++)b=_.andln(255),_.iushrn(8),O[y-n-1]=b}return O},c.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var o=i,m=0;return o>=4096&&(m+=13,o>>>=13),o>=64&&(m+=7,o>>>=7),o>=8&&(m+=4,o>>>=4),o>=2&&(m+=2,o>>>=2),m+o},c.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 8191&o||(m+=13,o>>>=13),127&o||(m+=7,o>>>=7),15&o||(m+=4,o>>>=4),3&o||(m+=2,o>>>=2),1&o||m++,m},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,o=0;o<this.length;o++){var m=this._zeroBits(this.words[o]);if(i+=m,26!==m)break}return i},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},c.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var o=0;o<i.length;o++)this.words[o]=this.words[o]|i.words[o];return this.strip()},c.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},c.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},c.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},c.prototype.iuand=function(i){var o;o=this.length>i.length?i:this;for(var m=0;m<o.length;m++)this.words[m]=this.words[m]&i.words[m];return this.length=o.length,this.strip()},c.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},c.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},c.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},c.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var l=0;l<m.length;l++)this.words[l]=o.words[l]^m.words[l];if(this!==o)for(;l<o.length;l++)this.words[l]=o.words[l];return this.length=o.length,this.strip()},c.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},c.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},c.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},c.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var l=0;l<o;l++)this.words[l]=67108863&~this.words[l];return m>0&&(this.words[l]=~this.words[l]&67108863>>26-m),this.strip()},c.prototype.notn=function(i){return this.clone().inotn(i)},c.prototype.setn=function(i,o){g("number"==typeof i&&i>=0);var m=i/26|0,l=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<l:this.words[m]&~(1<<l),this.strip()},c.prototype.iadd=function(i){var o,m,l;if(0!==this.negative&&0===i.negative)return this.negative=0,o=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,o=this.isub(i),i.negative=1,o._normSign();this.length>i.length?(m=this,l=i):(m=i,l=this);for(var y=0,L=0;L<l.length;L++)this.words[L]=67108863&(o=(0|m.words[L])+(0|l.words[L])+y),y=o>>>26;for(;0!==y&&L<m.length;L++)this.words[L]=67108863&(o=(0|m.words[L])+y),y=o>>>26;if(this.length=m.length,0!==y)this.words[this.length]=y,this.length++;else if(m!==this)for(;L<m.length;L++)this.words[L]=m.words[L];return this},c.prototype.add=function(i){var o;return 0!==i.negative&&0===this.negative?(i.negative=0,o=this.sub(i),i.negative^=1,o):0===i.negative&&0!==this.negative?(this.negative=0,o=i.sub(this),this.negative=1,o):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},c.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var o=this.iadd(i);return i.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(l=this,y=i):(l=i,y=this);for(var L=0,O=0;O<y.length;O++)L=(o=(0|l.words[O])-(0|y.words[O])+L)>>26,this.words[O]=67108863&o;for(;0!==L&&O<l.length;O++)L=(o=(0|l.words[O])+L)>>26,this.words[O]=67108863&o;if(0===L&&O<l.length&&l!==this)for(;O<l.length;O++)this.words[O]=l.words[O];return this.length=Math.max(this.length,O),l!==this&&(this.negative=1),this.strip()},c.prototype.sub=function(i){return this.clone().isub(i)};var F=function(i,o,m){var b,n,_,l=i.words,y=o.words,L=m.words,O=0,H=0|l[0],V=8191&H,K=H>>>13,se=0|l[1],Ye=8191&se,Oe=se>>>13,Qe=0|l[2],be=8191&Qe,ue=Qe>>>13,xe=0|l[3],Pe=8191&xe,oe=xe>>>13,ze=0|l[4],we=8191&ze,le=ze>>>13,ge=0|l[5],fe=8191&ge,Ge=ge>>>13,Le=0|l[6],Ne=8191&Le,Ve=Le>>>13,at=0|l[7],ve=8191&at,De=at>>>13,xt=0|l[8],ct=8191&xt,et=xt>>>13,Ct=0|l[9],ke=8191&Ct,ot=Ct>>>13,Je=0|y[0],re=8191&Je,Be=Je>>>13,Nt=0|y[1],Ke=8191&Nt,yt=Nt>>>13,kt=0|y[2],Dt=8191&kt,Rt=kt>>>13,pt=0|y[3],vt=8191&pt,Te=pt>>>13,tt=0|y[4],Ze=8191&tt,Mt=tt>>>13,oi=0|y[5],Tt=8191&oi,mt=oi>>>13,he=0|y[6],ee=8191&he,Ce=he>>>13,At=0|y[7],Lt=8191&At,jt=At>>>13,Zt=0|y[8],Kt=8191&Zt,Xe=Zt>>>13,Bt=0|y[9],qe=8191&Bt,nt=Bt>>>13;m.negative=i.negative^o.negative,m.length=19;var Wt=(O+(b=Math.imul(V,re))|0)+((8191&(n=(n=Math.imul(V,Be))+Math.imul(K,re)|0))<<13)|0;O=((_=Math.imul(K,Be))+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,b=Math.imul(Ye,re),n=(n=Math.imul(Ye,Be))+Math.imul(Oe,re)|0,_=Math.imul(Oe,Be);var si=(O+(b=b+Math.imul(V,Ke)|0)|0)+((8191&(n=(n=n+Math.imul(V,yt)|0)+Math.imul(K,Ke)|0))<<13)|0;O=((_=_+Math.imul(K,yt)|0)+(n>>>13)|0)+(si>>>26)|0,si&=67108863,b=Math.imul(be,re),n=(n=Math.imul(be,Be))+Math.imul(ue,re)|0,_=Math.imul(ue,Be),b=b+Math.imul(Ye,Ke)|0,n=(n=n+Math.imul(Ye,yt)|0)+Math.imul(Oe,Ke)|0,_=_+Math.imul(Oe,yt)|0;var li=(O+(b=b+Math.imul(V,Dt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Rt)|0)+Math.imul(K,Dt)|0))<<13)|0;O=((_=_+Math.imul(K,Rt)|0)+(n>>>13)|0)+(li>>>26)|0,li&=67108863,b=Math.imul(Pe,re),n=(n=Math.imul(Pe,Be))+Math.imul(oe,re)|0,_=Math.imul(oe,Be),b=b+Math.imul(be,Ke)|0,n=(n=n+Math.imul(be,yt)|0)+Math.imul(ue,Ke)|0,_=_+Math.imul(ue,yt)|0,b=b+Math.imul(Ye,Dt)|0,n=(n=n+Math.imul(Ye,Rt)|0)+Math.imul(Oe,Dt)|0,_=_+Math.imul(Oe,Rt)|0;var xi=(O+(b=b+Math.imul(V,vt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Te)|0)+Math.imul(K,vt)|0))<<13)|0;O=((_=_+Math.imul(K,Te)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,b=Math.imul(we,re),n=(n=Math.imul(we,Be))+Math.imul(le,re)|0,_=Math.imul(le,Be),b=b+Math.imul(Pe,Ke)|0,n=(n=n+Math.imul(Pe,yt)|0)+Math.imul(oe,Ke)|0,_=_+Math.imul(oe,yt)|0,b=b+Math.imul(be,Dt)|0,n=(n=n+Math.imul(be,Rt)|0)+Math.imul(ue,Dt)|0,_=_+Math.imul(ue,Rt)|0,b=b+Math.imul(Ye,vt)|0,n=(n=n+Math.imul(Ye,Te)|0)+Math.imul(Oe,vt)|0,_=_+Math.imul(Oe,Te)|0;var Ut=(O+(b=b+Math.imul(V,Ze)|0)|0)+((8191&(n=(n=n+Math.imul(V,Mt)|0)+Math.imul(K,Ze)|0))<<13)|0;O=((_=_+Math.imul(K,Mt)|0)+(n>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,b=Math.imul(fe,re),n=(n=Math.imul(fe,Be))+Math.imul(Ge,re)|0,_=Math.imul(Ge,Be),b=b+Math.imul(we,Ke)|0,n=(n=n+Math.imul(we,yt)|0)+Math.imul(le,Ke)|0,_=_+Math.imul(le,yt)|0,b=b+Math.imul(Pe,Dt)|0,n=(n=n+Math.imul(Pe,Rt)|0)+Math.imul(oe,Dt)|0,_=_+Math.imul(oe,Rt)|0,b=b+Math.imul(be,vt)|0,n=(n=n+Math.imul(be,Te)|0)+Math.imul(ue,vt)|0,_=_+Math.imul(ue,Te)|0,b=b+Math.imul(Ye,Ze)|0,n=(n=n+Math.imul(Ye,Mt)|0)+Math.imul(Oe,Ze)|0,_=_+Math.imul(Oe,Mt)|0;var bt=(O+(b=b+Math.imul(V,Tt)|0)|0)+((8191&(n=(n=n+Math.imul(V,mt)|0)+Math.imul(K,Tt)|0))<<13)|0;O=((_=_+Math.imul(K,mt)|0)+(n>>>13)|0)+(bt>>>26)|0,bt&=67108863,b=Math.imul(Ne,re),n=(n=Math.imul(Ne,Be))+Math.imul(Ve,re)|0,_=Math.imul(Ve,Be),b=b+Math.imul(fe,Ke)|0,n=(n=n+Math.imul(fe,yt)|0)+Math.imul(Ge,Ke)|0,_=_+Math.imul(Ge,yt)|0,b=b+Math.imul(we,Dt)|0,n=(n=n+Math.imul(we,Rt)|0)+Math.imul(le,Dt)|0,_=_+Math.imul(le,Rt)|0,b=b+Math.imul(Pe,vt)|0,n=(n=n+Math.imul(Pe,Te)|0)+Math.imul(oe,vt)|0,_=_+Math.imul(oe,Te)|0,b=b+Math.imul(be,Ze)|0,n=(n=n+Math.imul(be,Mt)|0)+Math.imul(ue,Ze)|0,_=_+Math.imul(ue,Mt)|0,b=b+Math.imul(Ye,Tt)|0,n=(n=n+Math.imul(Ye,mt)|0)+Math.imul(Oe,Tt)|0,_=_+Math.imul(Oe,mt)|0;var $e=(O+(b=b+Math.imul(V,ee)|0)|0)+((8191&(n=(n=n+Math.imul(V,Ce)|0)+Math.imul(K,ee)|0))<<13)|0;O=((_=_+Math.imul(K,Ce)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,b=Math.imul(ve,re),n=(n=Math.imul(ve,Be))+Math.imul(De,re)|0,_=Math.imul(De,Be),b=b+Math.imul(Ne,Ke)|0,n=(n=n+Math.imul(Ne,yt)|0)+Math.imul(Ve,Ke)|0,_=_+Math.imul(Ve,yt)|0,b=b+Math.imul(fe,Dt)|0,n=(n=n+Math.imul(fe,Rt)|0)+Math.imul(Ge,Dt)|0,_=_+Math.imul(Ge,Rt)|0,b=b+Math.imul(we,vt)|0,n=(n=n+Math.imul(we,Te)|0)+Math.imul(le,vt)|0,_=_+Math.imul(le,Te)|0,b=b+Math.imul(Pe,Ze)|0,n=(n=n+Math.imul(Pe,Mt)|0)+Math.imul(oe,Ze)|0,_=_+Math.imul(oe,Mt)|0,b=b+Math.imul(be,Tt)|0,n=(n=n+Math.imul(be,mt)|0)+Math.imul(ue,Tt)|0,_=_+Math.imul(ue,mt)|0,b=b+Math.imul(Ye,ee)|0,n=(n=n+Math.imul(Ye,Ce)|0)+Math.imul(Oe,ee)|0,_=_+Math.imul(Oe,Ce)|0;var ut=(O+(b=b+Math.imul(V,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(V,jt)|0)+Math.imul(K,Lt)|0))<<13)|0;O=((_=_+Math.imul(K,jt)|0)+(n>>>13)|0)+(ut>>>26)|0,ut&=67108863,b=Math.imul(ct,re),n=(n=Math.imul(ct,Be))+Math.imul(et,re)|0,_=Math.imul(et,Be),b=b+Math.imul(ve,Ke)|0,n=(n=n+Math.imul(ve,yt)|0)+Math.imul(De,Ke)|0,_=_+Math.imul(De,yt)|0,b=b+Math.imul(Ne,Dt)|0,n=(n=n+Math.imul(Ne,Rt)|0)+Math.imul(Ve,Dt)|0,_=_+Math.imul(Ve,Rt)|0,b=b+Math.imul(fe,vt)|0,n=(n=n+Math.imul(fe,Te)|0)+Math.imul(Ge,vt)|0,_=_+Math.imul(Ge,Te)|0,b=b+Math.imul(we,Ze)|0,n=(n=n+Math.imul(we,Mt)|0)+Math.imul(le,Ze)|0,_=_+Math.imul(le,Mt)|0,b=b+Math.imul(Pe,Tt)|0,n=(n=n+Math.imul(Pe,mt)|0)+Math.imul(oe,Tt)|0,_=_+Math.imul(oe,mt)|0,b=b+Math.imul(be,ee)|0,n=(n=n+Math.imul(be,Ce)|0)+Math.imul(ue,ee)|0,_=_+Math.imul(ue,Ce)|0,b=b+Math.imul(Ye,Lt)|0,n=(n=n+Math.imul(Ye,jt)|0)+Math.imul(Oe,Lt)|0,_=_+Math.imul(Oe,jt)|0;var Et=(O+(b=b+Math.imul(V,Kt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Xe)|0)+Math.imul(K,Kt)|0))<<13)|0;O=((_=_+Math.imul(K,Xe)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863,b=Math.imul(ke,re),n=(n=Math.imul(ke,Be))+Math.imul(ot,re)|0,_=Math.imul(ot,Be),b=b+Math.imul(ct,Ke)|0,n=(n=n+Math.imul(ct,yt)|0)+Math.imul(et,Ke)|0,_=_+Math.imul(et,yt)|0,b=b+Math.imul(ve,Dt)|0,n=(n=n+Math.imul(ve,Rt)|0)+Math.imul(De,Dt)|0,_=_+Math.imul(De,Rt)|0,b=b+Math.imul(Ne,vt)|0,n=(n=n+Math.imul(Ne,Te)|0)+Math.imul(Ve,vt)|0,_=_+Math.imul(Ve,Te)|0,b=b+Math.imul(fe,Ze)|0,n=(n=n+Math.imul(fe,Mt)|0)+Math.imul(Ge,Ze)|0,_=_+Math.imul(Ge,Mt)|0,b=b+Math.imul(we,Tt)|0,n=(n=n+Math.imul(we,mt)|0)+Math.imul(le,Tt)|0,_=_+Math.imul(le,mt)|0,b=b+Math.imul(Pe,ee)|0,n=(n=n+Math.imul(Pe,Ce)|0)+Math.imul(oe,ee)|0,_=_+Math.imul(oe,Ce)|0,b=b+Math.imul(be,Lt)|0,n=(n=n+Math.imul(be,jt)|0)+Math.imul(ue,Lt)|0,_=_+Math.imul(ue,jt)|0,b=b+Math.imul(Ye,Kt)|0,n=(n=n+Math.imul(Ye,Xe)|0)+Math.imul(Oe,Kt)|0,_=_+Math.imul(Oe,Xe)|0;var qt=(O+(b=b+Math.imul(V,qe)|0)|0)+((8191&(n=(n=n+Math.imul(V,nt)|0)+Math.imul(K,qe)|0))<<13)|0;O=((_=_+Math.imul(K,nt)|0)+(n>>>13)|0)+(qt>>>26)|0,qt&=67108863,b=Math.imul(ke,Ke),n=(n=Math.imul(ke,yt))+Math.imul(ot,Ke)|0,_=Math.imul(ot,yt),b=b+Math.imul(ct,Dt)|0,n=(n=n+Math.imul(ct,Rt)|0)+Math.imul(et,Dt)|0,_=_+Math.imul(et,Rt)|0,b=b+Math.imul(ve,vt)|0,n=(n=n+Math.imul(ve,Te)|0)+Math.imul(De,vt)|0,_=_+Math.imul(De,Te)|0,b=b+Math.imul(Ne,Ze)|0,n=(n=n+Math.imul(Ne,Mt)|0)+Math.imul(Ve,Ze)|0,_=_+Math.imul(Ve,Mt)|0,b=b+Math.imul(fe,Tt)|0,n=(n=n+Math.imul(fe,mt)|0)+Math.imul(Ge,Tt)|0,_=_+Math.imul(Ge,mt)|0,b=b+Math.imul(we,ee)|0,n=(n=n+Math.imul(we,Ce)|0)+Math.imul(le,ee)|0,_=_+Math.imul(le,Ce)|0,b=b+Math.imul(Pe,Lt)|0,n=(n=n+Math.imul(Pe,jt)|0)+Math.imul(oe,Lt)|0,_=_+Math.imul(oe,jt)|0,b=b+Math.imul(be,Kt)|0,n=(n=n+Math.imul(be,Xe)|0)+Math.imul(ue,Kt)|0,_=_+Math.imul(ue,Xe)|0;var pi=(O+(b=b+Math.imul(Ye,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ye,nt)|0)+Math.imul(Oe,qe)|0))<<13)|0;O=((_=_+Math.imul(Oe,nt)|0)+(n>>>13)|0)+(pi>>>26)|0,pi&=67108863,b=Math.imul(ke,Dt),n=(n=Math.imul(ke,Rt))+Math.imul(ot,Dt)|0,_=Math.imul(ot,Rt),b=b+Math.imul(ct,vt)|0,n=(n=n+Math.imul(ct,Te)|0)+Math.imul(et,vt)|0,_=_+Math.imul(et,Te)|0,b=b+Math.imul(ve,Ze)|0,n=(n=n+Math.imul(ve,Mt)|0)+Math.imul(De,Ze)|0,_=_+Math.imul(De,Mt)|0,b=b+Math.imul(Ne,Tt)|0,n=(n=n+Math.imul(Ne,mt)|0)+Math.imul(Ve,Tt)|0,_=_+Math.imul(Ve,mt)|0,b=b+Math.imul(fe,ee)|0,n=(n=n+Math.imul(fe,Ce)|0)+Math.imul(Ge,ee)|0,_=_+Math.imul(Ge,Ce)|0,b=b+Math.imul(we,Lt)|0,n=(n=n+Math.imul(we,jt)|0)+Math.imul(le,Lt)|0,_=_+Math.imul(le,jt)|0,b=b+Math.imul(Pe,Kt)|0,n=(n=n+Math.imul(Pe,Xe)|0)+Math.imul(oe,Kt)|0,_=_+Math.imul(oe,Xe)|0;var Si=(O+(b=b+Math.imul(be,qe)|0)|0)+((8191&(n=(n=n+Math.imul(be,nt)|0)+Math.imul(ue,qe)|0))<<13)|0;O=((_=_+Math.imul(ue,nt)|0)+(n>>>13)|0)+(Si>>>26)|0,Si&=67108863,b=Math.imul(ke,vt),n=(n=Math.imul(ke,Te))+Math.imul(ot,vt)|0,_=Math.imul(ot,Te),b=b+Math.imul(ct,Ze)|0,n=(n=n+Math.imul(ct,Mt)|0)+Math.imul(et,Ze)|0,_=_+Math.imul(et,Mt)|0,b=b+Math.imul(ve,Tt)|0,n=(n=n+Math.imul(ve,mt)|0)+Math.imul(De,Tt)|0,_=_+Math.imul(De,mt)|0,b=b+Math.imul(Ne,ee)|0,n=(n=n+Math.imul(Ne,Ce)|0)+Math.imul(Ve,ee)|0,_=_+Math.imul(Ve,Ce)|0,b=b+Math.imul(fe,Lt)|0,n=(n=n+Math.imul(fe,jt)|0)+Math.imul(Ge,Lt)|0,_=_+Math.imul(Ge,jt)|0,b=b+Math.imul(we,Kt)|0,n=(n=n+Math.imul(we,Xe)|0)+Math.imul(le,Kt)|0,_=_+Math.imul(le,Xe)|0;var Fi=(O+(b=b+Math.imul(Pe,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Pe,nt)|0)+Math.imul(oe,qe)|0))<<13)|0;O=((_=_+Math.imul(oe,nt)|0)+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,b=Math.imul(ke,Ze),n=(n=Math.imul(ke,Mt))+Math.imul(ot,Ze)|0,_=Math.imul(ot,Mt),b=b+Math.imul(ct,Tt)|0,n=(n=n+Math.imul(ct,mt)|0)+Math.imul(et,Tt)|0,_=_+Math.imul(et,mt)|0,b=b+Math.imul(ve,ee)|0,n=(n=n+Math.imul(ve,Ce)|0)+Math.imul(De,ee)|0,_=_+Math.imul(De,Ce)|0,b=b+Math.imul(Ne,Lt)|0,n=(n=n+Math.imul(Ne,jt)|0)+Math.imul(Ve,Lt)|0,_=_+Math.imul(Ve,jt)|0,b=b+Math.imul(fe,Kt)|0,n=(n=n+Math.imul(fe,Xe)|0)+Math.imul(Ge,Kt)|0,_=_+Math.imul(Ge,Xe)|0;var Ri=(O+(b=b+Math.imul(we,qe)|0)|0)+((8191&(n=(n=n+Math.imul(we,nt)|0)+Math.imul(le,qe)|0))<<13)|0;O=((_=_+Math.imul(le,nt)|0)+(n>>>13)|0)+(Ri>>>26)|0,Ri&=67108863,b=Math.imul(ke,Tt),n=(n=Math.imul(ke,mt))+Math.imul(ot,Tt)|0,_=Math.imul(ot,mt),b=b+Math.imul(ct,ee)|0,n=(n=n+Math.imul(ct,Ce)|0)+Math.imul(et,ee)|0,_=_+Math.imul(et,Ce)|0,b=b+Math.imul(ve,Lt)|0,n=(n=n+Math.imul(ve,jt)|0)+Math.imul(De,Lt)|0,_=_+Math.imul(De,jt)|0,b=b+Math.imul(Ne,Kt)|0,n=(n=n+Math.imul(Ne,Xe)|0)+Math.imul(Ve,Kt)|0,_=_+Math.imul(Ve,Xe)|0;var Ui=(O+(b=b+Math.imul(fe,qe)|0)|0)+((8191&(n=(n=n+Math.imul(fe,nt)|0)+Math.imul(Ge,qe)|0))<<13)|0;O=((_=_+Math.imul(Ge,nt)|0)+(n>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,b=Math.imul(ke,ee),n=(n=Math.imul(ke,Ce))+Math.imul(ot,ee)|0,_=Math.imul(ot,Ce),b=b+Math.imul(ct,Lt)|0,n=(n=n+Math.imul(ct,jt)|0)+Math.imul(et,Lt)|0,_=_+Math.imul(et,jt)|0,b=b+Math.imul(ve,Kt)|0,n=(n=n+Math.imul(ve,Xe)|0)+Math.imul(De,Kt)|0,_=_+Math.imul(De,Xe)|0;var nn=(O+(b=b+Math.imul(Ne,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ne,nt)|0)+Math.imul(Ve,qe)|0))<<13)|0;O=((_=_+Math.imul(Ve,nt)|0)+(n>>>13)|0)+(nn>>>26)|0,nn&=67108863,b=Math.imul(ke,Lt),n=(n=Math.imul(ke,jt))+Math.imul(ot,Lt)|0,_=Math.imul(ot,jt),b=b+Math.imul(ct,Kt)|0,n=(n=n+Math.imul(ct,Xe)|0)+Math.imul(et,Kt)|0,_=_+Math.imul(et,Xe)|0;var cn=(O+(b=b+Math.imul(ve,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ve,nt)|0)+Math.imul(De,qe)|0))<<13)|0;O=((_=_+Math.imul(De,nt)|0)+(n>>>13)|0)+(cn>>>26)|0,cn&=67108863,b=Math.imul(ke,Kt),n=(n=Math.imul(ke,Xe))+Math.imul(ot,Kt)|0,_=Math.imul(ot,Xe);var Qi=(O+(b=b+Math.imul(ct,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ct,nt)|0)+Math.imul(et,qe)|0))<<13)|0;O=((_=_+Math.imul(et,nt)|0)+(n>>>13)|0)+(Qi>>>26)|0,Qi&=67108863;var $t=(O+(b=Math.imul(ke,qe))|0)+((8191&(n=(n=Math.imul(ke,nt))+Math.imul(ot,qe)|0))<<13)|0;return O=((_=Math.imul(ot,nt))+(n>>>13)|0)+($t>>>26)|0,$t&=67108863,L[0]=Wt,L[1]=si,L[2]=li,L[3]=xi,L[4]=Ut,L[5]=bt,L[6]=$e,L[7]=ut,L[8]=Et,L[9]=qt,L[10]=pi,L[11]=Si,L[12]=Fi,L[13]=Ri,L[14]=Ui,L[15]=nn,L[16]=cn,L[17]=Qi,L[18]=$t,0!==O&&(L[19]=O,m.length++),m};function Y(E,i,o){return(new Q).mulp(E,i,o)}function Q(E,i){this.x=E,this.y=i}Math.imul||(F=R),c.prototype.mulTo=function(i,o){var m,l=this.length+i.length;return m=10===this.length&&10===i.length?F(this,i,o):l<63?R(this,i,o):l<1024?function W(E,i,o){o.negative=i.negative^E.negative,o.length=E.length+i.length;for(var m=0,l=0,y=0;y<o.length-1;y++){var L=l;l=0;for(var O=67108863&m,b=Math.min(y,i.length-1),n=Math.max(0,y-E.length+1);n<=b;n++){var K=(0|E.words[y-n])*(0|i.words[n]),se=67108863&K;O=67108863&(se=se+O|0),l+=(L=(L=L+(K/67108864|0)|0)+(se>>>26)|0)>>>26,L&=67108863}o.words[y]=O,m=L,L=l}return 0!==m?o.words[y]=m:o.length--,o.strip()}(this,i,o):Y(this,i,o),m},Q.prototype.makeRBT=function(i){for(var o=new Array(i),m=c.prototype._countBits(i)-1,l=0;l<i;l++)o[l]=this.revBin(l,m,i);return o},Q.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var l=0,y=0;y<o;y++)l|=(1&i)<<o-y-1,i>>=1;return l},Q.prototype.permute=function(i,o,m,l,y,L){for(var O=0;O<L;O++)l[O]=o[i[O]],y[O]=m[i[O]]},Q.prototype.transform=function(i,o,m,l,y,L){this.permute(L,i,o,m,l,y);for(var O=1;O<y;O<<=1)for(var b=O<<1,n=Math.cos(2*Math.PI/b),_=Math.sin(2*Math.PI/b),H=0;H<y;H+=b)for(var V=n,K=_,se=0;se<O;se++){var Ye=m[H+se],Oe=l[H+se],Qe=m[H+se+O],be=l[H+se+O],ue=V*Qe-K*be;be=V*be+K*Qe,m[H+se]=Ye+(Qe=ue),l[H+se]=Oe+be,m[H+se+O]=Ye-Qe,l[H+se+O]=Oe-be,se!==b&&(ue=n*V-_*K,K=n*K+_*V,V=ue)}},Q.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),l=1&m,y=0;for(m=m/2|0;m;m>>>=1)y++;return 1<<y+1+l},Q.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var l=0;l<m/2;l++){var y=i[l];i[l]=i[m-l-1],i[m-l-1]=y,y=o[l],o[l]=-o[m-l-1],o[m-l-1]=-y}},Q.prototype.normalize13b=function(i,o){for(var m=0,l=0;l<o/2;l++){var y=8192*Math.round(i[2*l+1]/o)+Math.round(i[2*l]/o)+m;i[l]=67108863&y,m=y<67108864?0:y/67108864|0}return i},Q.prototype.convert13b=function(i,o,m,l){for(var y=0,L=0;L<o;L++)m[2*L]=8191&(y+=0|i[L]),m[2*L+1]=8191&(y>>>=13),y>>>=13;for(L=2*o;L<l;++L)m[L]=0;g(0===y),g(0==(-8192&y))},Q.prototype.stub=function(i){for(var o=new Array(i),m=0;m<i;m++)o[m]=0;return o},Q.prototype.mulp=function(i,o,m){var l=2*this.guessLen13b(i.length,o.length),y=this.makeRBT(l),L=this.stub(l),O=new Array(l),b=new Array(l),n=new Array(l),_=new Array(l),H=new Array(l),V=new Array(l),K=m.words;K.length=l,this.convert13b(i.words,i.length,O,l),this.convert13b(o.words,o.length,_,l),this.transform(O,L,b,n,l,y),this.transform(_,L,H,V,l,y);for(var se=0;se<l;se++){var Ye=b[se]*H[se]-n[se]*V[se];n[se]=b[se]*V[se]+n[se]*H[se],b[se]=Ye}return this.conjugate(b,n,l),this.transform(b,n,K,L,l,y),this.conjugate(K,L,l),this.normalize13b(K,l),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},c.prototype.mul=function(i){var o=new c(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},c.prototype.mulf=function(i){var o=new c(null);return o.words=new Array(this.length+i.length),Y(this,i,o)},c.prototype.imul=function(i){return this.clone().mulTo(i,this)},c.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var o=0,m=0;m<this.length;m++){var l=(0|this.words[m])*i,y=(67108863&l)+(67108863&o);o>>=26,o+=l/67108864|0,o+=y>>>26,this.words[m]=67108863&y}return 0!==o&&(this.words[m]=o,this.length++),this},c.prototype.muln=function(i){return this.clone().imuln(i)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(i){var o=function D(E){for(var i=new Array(E.bitLength()),o=0;o<i.length;o++){var l=o%26;i[o]=(E.words[o/26|0]&1<<l)>>>l}return i}(i);if(0===o.length)return new c(1);for(var m=this,l=0;l<o.length&&0===o[l];l++,m=m.sqr());if(++l<o.length)for(var y=m.sqr();l<o.length;l++,y=y.sqr())0!==o[l]&&(m=m.mul(y));return m},c.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,o=i%26,m=(i-o)/26,l=67108863>>>26-o<<26-o;if(0!==o){var L=0;for(y=0;y<this.length;y++){var O=this.words[y]&l;this.words[y]=(0|this.words[y])-O<<o|L,L=O>>>26-o}L&&(this.words[y]=L,this.length++)}if(0!==m){for(y=this.length-1;y>=0;y--)this.words[y+m]=this.words[y];for(y=0;y<m;y++)this.words[y]=0;this.length+=m}return this.strip()},c.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},c.prototype.iushrn=function(i,o,m){var l;g("number"==typeof i&&i>=0),l=o?(o-o%26)/26:0;var y=i%26,L=Math.min((i-y)/26,this.length),O=67108863^67108863>>>y<<y,b=m;if(l-=L,l=Math.max(0,l),b){for(var n=0;n<L;n++)b.words[n]=this.words[n];b.length=L}if(0!==L)if(this.length>L)for(this.length-=L,n=0;n<this.length;n++)this.words[n]=this.words[n+L];else this.words[0]=0,this.length=1;var _=0;for(n=this.length-1;n>=0&&(0!==_||n>=l);n--){var H=0|this.words[n];this.words[n]=_<<26-y|H>>>y,_=H&O}return b&&0!==_&&(b.words[b.length++]=_),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(i,o,m){return g(0===this.negative),this.iushrn(i,o,m)},c.prototype.shln=function(i){return this.clone().ishln(i)},c.prototype.ushln=function(i){return this.clone().iushln(i)},c.prototype.shrn=function(i){return this.clone().ishrn(i)},c.prototype.ushrn=function(i){return this.clone().iushrn(i)},c.prototype.testn=function(i){g("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;return!(this.length<=m||!(this.words[m]&1<<o))},c.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==o&&m++,this.length=Math.min(m,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<<o),this.strip())},c.prototype.maskn=function(i){return this.clone().imaskn(i)},c.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)},c.prototype._iaddn=function(i){this.words[0]+=i;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},c.prototype.addn=function(i){return this.clone().iaddn(i)},c.prototype.subn=function(i){return this.clone().isubn(i)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(i,o,m){var y;this._expand(i.length+m);var L,O=0;for(y=0;y<i.length;y++){L=(0|this.words[y+m])+O;var b=(0|i.words[y])*o;O=((L-=67108863&b)>>26)-(b/67108864|0),this.words[y+m]=67108863&L}for(;y<this.length-m;y++)O=(L=(0|this.words[y+m])+O)>>26,this.words[y+m]=67108863&L;if(0===O)return this.strip();for(g(-1===O),O=0,y=0;y<this.length;y++)O=(L=-(0|this.words[y])+O)>>26,this.words[y]=67108863&L;return this.negative=1,this.strip()},c.prototype._wordDiv=function(i,o){var m,l=this.clone(),y=i,L=0|y.words[y.length-1];0!=(m=26-this._countBits(L))&&(y=y.ushln(m),l.iushln(m),L=0|y.words[y.length-1]);var n,b=l.length-y.length;if("mod"!==o){(n=new c(null)).length=b+1,n.words=new Array(n.length);for(var _=0;_<n.length;_++)n.words[_]=0}var H=l.clone()._ishlnsubmul(y,1,b);0===H.negative&&(l=H,n&&(n.words[b]=1));for(var V=b-1;V>=0;V--){var K=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(K=Math.min(K/L|0,67108863),l._ishlnsubmul(y,K,V);0!==l.negative;)K--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=K)}return n&&n.strip(),l.strip(),"div"!==o&&0!==m&&l.iushrn(m),{div:n||null,mod:l}},c.prototype.divmod=function(i,o,m){return g(!i.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===i.negative?(L=this.neg().divmod(i,o),"mod"!==o&&(l=L.div.neg()),"div"!==o&&(y=L.mod.neg(),m&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(L=this.divmod(i.neg(),o),"mod"!==o&&(l=L.div.neg()),{div:l,mod:L.mod}):this.negative&i.negative?(L=this.neg().divmod(i.neg(),o),"div"!==o&&(y=L.mod.neg(),m&&0!==y.negative&&y.isub(i)),{div:L.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new c(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new c(this.modn(i.words[0]))}:this._wordDiv(i,o);var l,y,L},c.prototype.div=function(i){return this.divmod(i,"div",!1).div},c.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},c.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},c.prototype.divRound=function(i){var o=this.divmod(i);if(o.mod.isZero())return o.div;var m=0!==o.div.negative?o.mod.isub(i):o.mod,l=i.ushrn(1),y=i.andln(1),L=m.cmp(l);return L<0||1===y&&0===L?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(i){g(i<=67108863);for(var o=(1<<26)%i,m=0,l=this.length-1;l>=0;l--)m=(o*m+(0|this.words[l]))%i;return m},c.prototype.idivn=function(i){g(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var l=(0|this.words[m])+67108864*o;this.words[m]=l/i|0,o=l%i}return this.strip()},c.prototype.divn=function(i){return this.clone().idivn(i)},c.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var l=new c(1),y=new c(0),L=new c(0),O=new c(1),b=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++b;for(var n=m.clone(),_=o.clone();!o.isZero();){for(var H=0,V=1;!(o.words[0]&V)&&H<26;++H,V<<=1);if(H>0)for(o.iushrn(H);H-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(_)),l.iushrn(1),y.iushrn(1);for(var K=0,se=1;!(m.words[0]&se)&&K<26;++K,se<<=1);if(K>0)for(m.iushrn(K);K-- >0;)(L.isOdd()||O.isOdd())&&(L.iadd(n),O.isub(_)),L.iushrn(1),O.iushrn(1);o.cmp(m)>=0?(o.isub(m),l.isub(L),y.isub(O)):(m.isub(o),L.isub(l),O.isub(y))}return{a:L,b:O,gcd:m.iushln(b)}},c.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var H,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var l=new c(1),y=new c(0),L=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var O=0,b=1;!(o.words[0]&b)&&O<26;++O,b<<=1);if(O>0)for(o.iushrn(O);O-- >0;)l.isOdd()&&l.iadd(L),l.iushrn(1);for(var n=0,_=1;!(m.words[0]&_)&&n<26;++n,_<<=1);if(n>0)for(m.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(L),y.iushrn(1);o.cmp(m)>=0?(o.isub(m),l.isub(y)):(m.isub(o),y.isub(l))}return(H=0===o.cmpn(1)?l:y).cmpn(0)<0&&H.iadd(i),H},c.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var o=this.clone(),m=i.clone();o.negative=0,m.negative=0;for(var l=0;o.isEven()&&m.isEven();l++)o.iushrn(1),m.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;m.isEven();)m.iushrn(1);var y=o.cmp(m);if(y<0){var L=o;o=m,m=L}else if(0===y||0===m.cmpn(1))break;o.isub(m)}return m.iushln(l)},c.prototype.invm=function(i){return this.egcd(i).a.umod(i)},c.prototype.isEven=function(){return 0==(1&this.words[0])},c.prototype.isOdd=function(){return 1==(1&this.words[0])},c.prototype.andln=function(i){return this.words[0]&i},c.prototype.bincn=function(i){g("number"==typeof i);var o=i%26,m=(i-o)/26,l=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=l,this;for(var y=l,L=m;0!==y&&L<this.length;L++){var O=0|this.words[L];y=(O+=y)>>>26,this.words[L]=O&=67108863}return 0!==y&&(this.words[L]=y,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(i){var m,o=i<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)m=1;else{o&&(i=-i),g(i<=67108863,"Number is too big");var l=0|this.words[0];m=l===i?0:l<i?-1:1}return 0!==this.negative?0|-m:m},c.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var o=this.ucmp(i);return 0!==this.negative?0|-o:o},c.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var o=0,m=this.length-1;m>=0;m--){var l=0|this.words[m],y=0|i.words[m];if(l!==y){l<y?o=-1:l>y&&(o=1);break}}return o},c.prototype.gtn=function(i){return 1===this.cmpn(i)},c.prototype.gt=function(i){return 1===this.cmp(i)},c.prototype.gten=function(i){return this.cmpn(i)>=0},c.prototype.gte=function(i){return this.cmp(i)>=0},c.prototype.ltn=function(i){return-1===this.cmpn(i)},c.prototype.lt=function(i){return-1===this.cmp(i)},c.prototype.lten=function(i){return this.cmpn(i)<=0},c.prototype.lte=function(i){return this.cmp(i)<=0},c.prototype.eqn=function(i){return 0===this.cmpn(i)},c.prototype.eq=function(i){return 0===this.cmp(i)},c.red=function(i){return new te(i)},c.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)},c.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(i){return this.red=i,this},c.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},c.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},c.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},c.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},c.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},c.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},c.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},c.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},c.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var J={k256:null,p224:null,p192:null,p25519:null};function ne(E,i){this.name=E,this.p=new c(i,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function X(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function pe(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function de(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(E){if("string"==typeof E){var i=c._prime(E);this.m=i.p,this.prime=i}else g(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}function ae(E){te.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(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)}ne.prototype._tmp=function(){var i=new c(null);return i.words=new Array(Math.ceil(this.n/13)),i},ne.prototype.ireduce=function(i){var m,o=i;do{this.split(o,this.tmp),m=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(m>this.n);var l=m<this.n?-1:o.ucmp(this.p);return 0===l?(o.words[0]=0,o.length=1):l>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},ne.prototype.split=function(i,o){i.iushrn(this.n,0,o)},ne.prototype.imulK=function(i){return i.imul(this.k)},T(X,ne),X.prototype.split=function(i,o){for(var m=4194303,l=Math.min(i.length,9),y=0;y<l;y++)o.words[y]=i.words[y];if(o.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var L=i.words[9];for(o.words[o.length++]=L&m,y=10;y<i.length;y++){var O=0|i.words[y];i.words[y-10]=(O&m)<<4|L>>>22,L=O}i.words[y-10]=L>>>=22,i.length-=0===L&&i.length>10?10:9},X.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var o=0,m=0;m<i.length;m++){var l=0|i.words[m];i.words[m]=67108863&(o+=977*l),o=64*l+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},T(pe,ne),T(ie,ne),T(de,ne),de.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var l=19*(0|i.words[m])+o,y=67108863&l;l>>>=26,i.words[m]=y,o=l}return 0!==o&&(i.words[i.length++]=o),i},c._prime=function(i){if(J[i])return J[i];var o;if("k256"===i)o=new X;else if("p224"===i)o=new pe;else if("p192"===i)o=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new de}return J[i]=o,o},te.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},te.prototype._verify2=function(i,o){g(0==(i.negative|o.negative),"red works only with positives"),g(i.red&&i.red===o.red,"red works only with red numbers")},te.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},te.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},te.prototype.add=function(i,o){this._verify2(i,o);var m=i.add(o);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},te.prototype.iadd=function(i,o){this._verify2(i,o);var m=i.iadd(o);return m.cmp(this.m)>=0&&m.isub(this.m),m},te.prototype.sub=function(i,o){this._verify2(i,o);var m=i.sub(o);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},te.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},te.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},te.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},te.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},te.prototype.isqr=function(i){return this.imul(i,i.clone())},te.prototype.sqr=function(i){return this.mul(i,i)},te.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(g(o%2==1),3===o){var m=this.m.add(new c(1)).iushrn(2);return this.pow(i,m)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);g(!l.isZero());var L=new c(1).toRed(this),O=L.redNeg(),b=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new c(2*n*n).toRed(this);0!==this.pow(n,b).cmp(O);)n.redIAdd(O);for(var _=this.pow(n,l),H=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),K=y;0!==V.cmp(L);){for(var se=V,Ye=0;0!==se.cmp(L);Ye++)se=se.redSqr();g(Ye<K);var Oe=this.pow(_,new c(1).iushln(K-Ye-1));H=H.redMul(Oe),_=Oe.redSqr(),V=V.redMul(_),K=Ye}return H},te.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},te.prototype.pow=function(i,o){if(o.isZero())return new c(1).toRed(this);if(0===o.cmpn(1))return i.clone();var l=new Array(16);l[0]=new c(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var L=l[0],O=0,b=0,n=o.bitLength()%26;for(0===n&&(n=26),y=o.length-1;y>=0;y--){for(var _=o.words[y],H=n-1;H>=0;H--){var V=_>>H&1;L!==l[0]&&(L=this.sqr(L)),0!==V||0!==O?(O<<=1,O|=V,(4==++b||0===y&&0===H)&&(L=this.mul(L,l[O]),b=0,O=0)):b=0}n=26}return L},te.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},te.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},c.mont=function(i){return new ae(i)},T(ae,te),ae.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},ae.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},ae.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),l=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(l).iushrn(this.shift),L=y;return y.cmp(this.m)>=0?L=y.isub(this.m):y.cmpn(0)<0&&(L=y.iadd(this.m)),L._forceRed(this)},ae.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new c(0)._forceRed(this);var m=i.mul(o),l=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(l).iushrn(this.shift),L=y;return y.cmp(this.m)>=0?L=y.isub(this.m):y.cmpn(0)<0&&(L=y.iadd(this.m)),L._forceRed(this)},ae.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ue=p.nmd(Ue),this)},7206:Ue=>{"use strict";var q={single_source_shortest_paths:function(p,e,t){var g={},T={};T[e]=0;var C,u,P,d,S,I,c=q.PriorityQueue.make();for(c.push(e,0);!c.empty();)for(P in d=(C=c.pop()).cost,S=p[u=C.value]||{})S.hasOwnProperty(P)&&(I=d+S[P],(typeof T[P]>"u"||T[P]>I)&&(T[P]=I,c.push(P,I),g[P]=u));if(typeof t<"u"&&typeof T[t]>"u"){var F=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(F)}return g},extract_shortest_path_from_predecessor_list:function(p,e){for(var t=[],g=e;g;)t.push(g),g=p[g];return t.reverse(),t},find_path:function(p,e,t){var g=q.single_source_shortest_paths(p,e,t);return q.extract_shortest_path_from_predecessor_list(g,t)},PriorityQueue:{make:function(p){var g,e=q.PriorityQueue,t={};for(g in p=p||{},e)e.hasOwnProperty(g)&&(t[g]=e[g]);return t.queue=[],t.sorter=p.sorter||e.default_sorter,t},default_sorter:function(p,e){return p.cost-e.cost},push:function(p,e){this.queue.push({value:p,cost:e}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Ue.exports=q},8651:(Ue,q,p)=>{"use strict";var e=q;e.version=p(8597).i8,e.utils=p(6767),e.rand=p(82),e.curve=p(9132),e.curves=p(8049),e.ec=p(6443),e.eddsa=p(9577)},1324:(Ue,q,p)=>{"use strict";var e=p(1387),t=p(6767),g=t.getNAF,T=t.getJSF,c=t.assert;function C(P,d){this.type=P,this.p=new e(d.p,16),this.red=d.prime?e.red(d.prime):e.mont(this.p),this.zero=new e(0).toRed(this.red),this.one=new e(1).toRed(this.red),this.two=new e(2).toRed(this.red),this.n=d.n&&new e(d.n,16),this.g=d.g&&this.pointFromJSON(d.g,d.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var S=this.n&&this.p.div(this.n);!S||S.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(P,d){this.curve=P,this.type=d,this.precomputed=null}Ue.exports=C,C.prototype.point=function(){throw new Error("Not implemented")},C.prototype.validate=function(){throw new Error("Not implemented")},C.prototype._fixedNafMul=function(d,S){c(d.precomputed);var M=d._getDoubles(),I=g(S,1,this._bitLength),D=(1<<M.step+1)-(M.step%2==0?2:1);D/=3;var F,W,R=[];for(F=0;F<I.length;F+=M.step){W=0;for(var Y=F+M.step-1;Y>=F;Y--)W=(W<<1)+I[Y];R.push(W)}for(var Q=this.jpoint(null,null,null),J=this.jpoint(null,null,null),ne=D;ne>0;ne--){for(F=0;F<R.length;F++)(W=R[F])===ne?J=J.mixedAdd(M.points[F]):W===-ne&&(J=J.mixedAdd(M.points[F].neg()));Q=Q.add(J)}return Q.toP()},C.prototype._wnafMul=function(d,S){for(var M=4,I=d._getNAFPoints(M),D=I.points,R=g(S,M=I.wnd,this._bitLength),F=this.jpoint(null,null,null),W=R.length-1;W>=0;W--){for(var Y=0;W>=0&&0===R[W];W--)Y++;if(W>=0&&Y++,F=F.dblp(Y),W<0)break;var Q=R[W];c(0!==Q),F="affine"===d.type?F.mixedAdd(Q>0?D[Q-1>>1]:D[-Q-1>>1].neg()):F.add(Q>0?D[Q-1>>1]:D[-Q-1>>1].neg())}return"affine"===d.type?F.toP():F},C.prototype._wnafMulAdd=function(d,S,M,I,D){var Q,J,ne,R=this._wnafT1,F=this._wnafT2,W=this._wnafT3,Y=0;for(Q=0;Q<I;Q++){var X=(ne=S[Q])._getNAFPoints(d);R[Q]=X.wnd,F[Q]=X.points}for(Q=I-1;Q>=1;Q-=2){var pe=Q-1,ie=Q;if(1===R[pe]&&1===R[ie]){var de=[S[pe],null,null,S[ie]];0===S[pe].y.cmp(S[ie].y)?(de[1]=S[pe].add(S[ie]),de[2]=S[pe].toJ().mixedAdd(S[ie].neg())):0===S[pe].y.cmp(S[ie].y.redNeg())?(de[1]=S[pe].toJ().mixedAdd(S[ie]),de[2]=S[pe].add(S[ie].neg())):(de[1]=S[pe].toJ().mixedAdd(S[ie]),de[2]=S[pe].toJ().mixedAdd(S[ie].neg()));var te=[-3,-1,-5,-7,0,7,5,1,3],ae=T(M[pe],M[ie]);for(Y=Math.max(ae[0].length,Y),W[pe]=new Array(Y),W[ie]=new Array(Y),J=0;J<Y;J++)W[pe][J]=te[3*(1+(0|ae[0][J]))+(1+(0|ae[1][J]))],W[ie][J]=0,F[pe]=de}else W[pe]=g(M[pe],R[pe],this._bitLength),W[ie]=g(M[ie],R[ie],this._bitLength),Y=Math.max(W[pe].length,Y),Y=Math.max(W[ie].length,Y)}var o=this.jpoint(null,null,null),m=this._wnafT4;for(Q=Y;Q>=0;Q--){for(var l=0;Q>=0;){var y=!0;for(J=0;J<I;J++)m[J]=0|W[J][Q],0!==m[J]&&(y=!1);if(!y)break;l++,Q--}if(Q>=0&&l++,o=o.dblp(l),Q<0)break;for(J=0;J<I;J++){var L=m[J];0!==L&&(L>0?ne=F[J][L-1>>1]:L<0&&(ne=F[J][-L-1>>1].neg()),o="affine"===ne.type?o.mixedAdd(ne):o.add(ne))}}for(Q=0;Q<I;Q++)F[Q]=null;return D?o:o.toP()},C.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},C.prototype.decodePoint=function(d,S){d=t.toArray(d,S);var M=this.p.byteLength();if((4===d[0]||6===d[0]||7===d[0])&&d.length-1==2*M)return 6===d[0]?c(d[d.length-1]%2==0):7===d[0]&&c(d[d.length-1]%2==1),this.point(d.slice(1,1+M),d.slice(1+M,1+2*M));if((2===d[0]||3===d[0])&&d.length-1===M)return this.pointFromX(d.slice(1,1+M),3===d[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(d){return this.encode(d,!0)},u.prototype._encode=function(d){var S=this.curve.p.byteLength(),M=this.getX().toArray("be",S);return d?[this.getY().isEven()?2:3].concat(M):[4].concat(M,this.getY().toArray("be",S))},u.prototype.encode=function(d,S){return t.encode(this._encode(S),d)},u.prototype.precompute=function(d){if(this.precomputed)return this;var S={doubles:null,naf:null,beta:null};return S.naf=this._getNAFPoints(8),S.doubles=this._getDoubles(4,d),S.beta=this._getBeta(),this.precomputed=S,this},u.prototype._hasDoubles=function(d){if(!this.precomputed)return!1;var S=this.precomputed.doubles;return!!S&&S.points.length>=Math.ceil((d.bitLength()+1)/S.step)},u.prototype._getDoubles=function(d,S){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var M=[this],I=this,D=0;D<S;D+=d){for(var R=0;R<d;R++)I=I.dbl();M.push(I)}return{step:d,points:M}},u.prototype._getNAFPoints=function(d){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var S=[this],M=(1<<d)-1,I=1===M?null:this.dbl(),D=1;D<M;D++)S[D]=S[D-1].add(I);return{wnd:d,points:S}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(d){for(var S=this,M=0;M<d;M++)S=S.dbl();return S}},7665:(Ue,q,p)=>{"use strict";var e=p(6767),t=p(1387),g=p(6698),T=p(1324),c=e.assert;function C(P){this.twisted=1!=(0|P.a),this.mOneA=this.twisted&&-1==(0|P.a),this.extended=this.mOneA,T.call(this,"edwards",P),this.a=new t(P.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new t(P.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new t(P.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),c(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|P.c)}function u(P,d,S,M,I){T.BasePoint.call(this,P,"projective"),null===d&&null===S&&null===M?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new t(d,16),this.y=new t(S,16),this.z=M?new t(M,16):this.curve.one,this.t=I&&new t(I,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}g(C,T),Ue.exports=C,C.prototype._mulA=function(d){return this.mOneA?d.redNeg():this.a.redMul(d)},C.prototype._mulC=function(d){return this.oneC?d:this.c.redMul(d)},C.prototype.jpoint=function(d,S,M,I){return this.point(d,S,M,I)},C.prototype.pointFromX=function(d,S){(d=new t(d,16)).red||(d=d.toRed(this.red));var M=d.redSqr(),I=this.c2.redSub(this.a.redMul(M)),D=this.one.redSub(this.c2.redMul(this.d).redMul(M)),R=I.redMul(D.redInvm()),F=R.redSqrt();if(0!==F.redSqr().redSub(R).cmp(this.zero))throw new Error("invalid point");var W=F.fromRed().isOdd();return(S&&!W||!S&&W)&&(F=F.redNeg()),this.point(d,F)},C.prototype.pointFromY=function(d,S){(d=new t(d,16)).red||(d=d.toRed(this.red));var M=d.redSqr(),I=M.redSub(this.c2),D=M.redMul(this.d).redMul(this.c2).redSub(this.a),R=I.redMul(D.redInvm());if(0===R.cmp(this.zero)){if(S)throw new Error("invalid point");return this.point(this.zero,d)}var F=R.redSqrt();if(0!==F.redSqr().redSub(R).cmp(this.zero))throw new Error("invalid point");return F.fromRed().isOdd()!==S&&(F=F.redNeg()),this.point(F,d)},C.prototype.validate=function(d){if(d.isInfinity())return!0;d.normalize();var S=d.x.redSqr(),M=d.y.redSqr(),I=S.redMul(this.a).redAdd(M),D=this.c2.redMul(this.one.redAdd(this.d.redMul(S).redMul(M)));return 0===I.cmp(D)},g(u,T.BasePoint),C.prototype.pointFromJSON=function(d){return u.fromJSON(this,d)},C.prototype.point=function(d,S,M,I){return new u(this,d,S,M,I)},u.fromJSON=function(d,S){return new u(d,S[0],S[1],S[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var d=this.x.redSqr(),S=this.y.redSqr(),M=this.z.redSqr();M=M.redIAdd(M);var I=this.curve._mulA(d),D=this.x.redAdd(this.y).redSqr().redISub(d).redISub(S),R=I.redAdd(S),F=R.redSub(M),W=I.redSub(S),Y=D.redMul(F),Q=R.redMul(W),J=D.redMul(W),ne=F.redMul(R);return this.curve.point(Y,Q,ne,J)},u.prototype._projDbl=function(){var I,D,R,F,W,Y,d=this.x.redAdd(this.y).redSqr(),S=this.x.redSqr(),M=this.y.redSqr();if(this.curve.twisted){var Q=(F=this.curve._mulA(S)).redAdd(M);this.zOne?(I=d.redSub(S).redSub(M).redMul(Q.redSub(this.curve.two)),D=Q.redMul(F.redSub(M)),R=Q.redSqr().redSub(Q).redSub(Q)):(W=this.z.redSqr(),Y=Q.redSub(W).redISub(W),I=d.redSub(S).redISub(M).redMul(Y),D=Q.redMul(F.redSub(M)),R=Q.redMul(Y))}else F=S.redAdd(M),W=this.curve._mulC(this.z).redSqr(),Y=F.redSub(W).redSub(W),I=this.curve._mulC(d.redISub(F)).redMul(Y),D=this.curve._mulC(F).redMul(S.redISub(M)),R=F.redMul(Y);return this.curve.point(I,D,R)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(d){var S=this.y.redSub(this.x).redMul(d.y.redSub(d.x)),M=this.y.redAdd(this.x).redMul(d.y.redAdd(d.x)),I=this.t.redMul(this.curve.dd).redMul(d.t),D=this.z.redMul(d.z.redAdd(d.z)),R=M.redSub(S),F=D.redSub(I),W=D.redAdd(I),Y=M.redAdd(S),Q=R.redMul(F),J=W.redMul(Y),ne=R.redMul(Y),X=F.redMul(W);return this.curve.point(Q,J,X,ne)},u.prototype._projAdd=function(d){var J,ne,S=this.z.redMul(d.z),M=S.redSqr(),I=this.x.redMul(d.x),D=this.y.redMul(d.y),R=this.curve.d.redMul(I).redMul(D),F=M.redSub(R),W=M.redAdd(R),Y=this.x.redAdd(this.y).redMul(d.x.redAdd(d.y)).redISub(I).redISub(D),Q=S.redMul(F).redMul(Y);return this.curve.twisted?(J=S.redMul(W).redMul(D.redSub(this.curve._mulA(I))),ne=F.redMul(W)):(J=S.redMul(W).redMul(D.redSub(I)),ne=this.curve._mulC(F).redMul(W)),this.curve.point(Q,J,ne)},u.prototype.add=function(d){return this.isInfinity()?d:d.isInfinity()?this:this.curve.extended?this._extAdd(d):this._projAdd(d)},u.prototype.mul=function(d){return this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve._wnafMul(this,d)},u.prototype.mulAdd=function(d,S,M){return this.curve._wnafMulAdd(1,[this,S],[d,M],2,!1)},u.prototype.jmulAdd=function(d,S,M){return this.curve._wnafMulAdd(1,[this,S],[d,M],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var d=this.z.redInvm();return this.x=this.x.redMul(d),this.y=this.y.redMul(d),this.t&&(this.t=this.t.redMul(d)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(d){return this===d||0===this.getX().cmp(d.getX())&&0===this.getY().cmp(d.getY())},u.prototype.eqXToP=function(d){var S=d.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(S))return!0;for(var M=d.clone(),I=this.curve.redN.redMul(this.z);;){if(M.iadd(this.curve.n),M.cmp(this.curve.p)>=0)return!1;if(S.redIAdd(I),0===this.x.cmp(S))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},9132:(Ue,q,p)=>{"use strict";var e=q;e.base=p(1324),e.short=p(9996),e.mont=p(9253),e.edwards=p(7665)},9253:(Ue,q,p)=>{"use strict";var e=p(1387),t=p(6698),g=p(1324),T=p(6767);function c(u){g.call(this,"mont",u),this.a=new e(u.a,16).toRed(this.red),this.b=new e(u.b,16).toRed(this.red),this.i4=new e(4).toRed(this.red).redInvm(),this.two=new e(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function C(u,P,d){g.BasePoint.call(this,u,"projective"),null===P&&null===d?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new e(P,16),this.z=new e(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}t(c,g),Ue.exports=c,c.prototype.validate=function(P){var d=P.normalize().x,S=d.redSqr(),M=S.redMul(d).redAdd(S.redMul(this.a)).redAdd(d);return 0===M.redSqrt().redSqr().cmp(M)},t(C,g.BasePoint),c.prototype.decodePoint=function(P,d){return this.point(T.toArray(P,d),1)},c.prototype.point=function(P,d){return new C(this,P,d)},c.prototype.pointFromJSON=function(P){return C.fromJSON(this,P)},C.prototype.precompute=function(){},C.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},C.fromJSON=function(P,d){return new C(P,d[0],d[1]||P.one)},C.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},C.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},C.prototype.dbl=function(){var d=this.x.redAdd(this.z).redSqr(),M=this.x.redSub(this.z).redSqr(),I=d.redSub(M),D=d.redMul(M),R=I.redMul(M.redAdd(this.curve.a24.redMul(I)));return this.curve.point(D,R)},C.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},C.prototype.diffAdd=function(P,d){var S=this.x.redAdd(this.z),M=this.x.redSub(this.z),I=P.x.redAdd(P.z),R=P.x.redSub(P.z).redMul(S),F=I.redMul(M),W=d.z.redMul(R.redAdd(F).redSqr()),Y=d.x.redMul(R.redISub(F).redSqr());return this.curve.point(W,Y)},C.prototype.mul=function(P){for(var d=P.clone(),S=this,M=this.curve.point(null,null),D=[];0!==d.cmpn(0);d.iushrn(1))D.push(d.andln(1));for(var R=D.length-1;R>=0;R--)0===D[R]?(S=S.diffAdd(M,this),M=M.dbl()):(M=S.diffAdd(M,this),S=S.dbl());return M},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()}},9996:(Ue,q,p)=>{"use strict";var e=p(6767),t=p(1387),g=p(6698),T=p(1324),c=e.assert;function C(d){T.call(this,"short",d),this.a=new t(d.a,16).toRed(this.red),this.b=new t(d.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(d),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(d,S,M,I){T.BasePoint.call(this,d,"affine"),null===S&&null===M?(this.x=null,this.y=null,this.inf=!0):(this.x=new t(S,16),this.y=new t(M,16),I&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function P(d,S,M,I){T.BasePoint.call(this,d,"jacobian"),null===S&&null===M&&null===I?(this.x=this.curve.one,this.y=this.curve.one,this.z=new t(0)):(this.x=new t(S,16),this.y=new t(M,16),this.z=new t(I,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}g(C,T),Ue.exports=C,C.prototype._getEndomorphism=function(S){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var M,I;if(S.beta)M=new t(S.beta,16).toRed(this.red);else{var D=this._getEndoRoots(this.p);M=(M=D[0].cmp(D[1])<0?D[0]:D[1]).toRed(this.red)}if(S.lambda)I=new t(S.lambda,16);else{var R=this._getEndoRoots(this.n);0===this.g.mul(R[0]).x.cmp(this.g.x.redMul(M))?I=R[0]:c(0===this.g.mul(I=R[1]).x.cmp(this.g.x.redMul(M)))}return{beta:M,lambda:I,basis:S.basis?S.basis.map(function(W){return{a:new t(W.a,16),b:new t(W.b,16)}}):this._getEndoBasis(I)}}},C.prototype._getEndoRoots=function(S){var M=S===this.p?this.red:t.mont(S),I=new t(2).toRed(M).redInvm(),D=I.redNeg(),R=new t(3).toRed(M).redNeg().redSqrt().redMul(I);return[D.redAdd(R).fromRed(),D.redSub(R).fromRed()]},C.prototype._getEndoBasis=function(S){for(var Q,J,ne,X,pe,ie,de,ae,E,M=this.n.ushrn(Math.floor(this.n.bitLength()/2)),I=S,D=this.n.clone(),R=new t(1),F=new t(0),W=new t(0),Y=new t(1),te=0;0!==I.cmpn(0);){var i=D.div(I);ae=D.sub(i.mul(I)),E=W.sub(i.mul(R));var o=Y.sub(i.mul(F));if(!ne&&ae.cmp(M)<0)Q=de.neg(),J=R,ne=ae.neg(),X=E;else if(ne&&2==++te)break;de=ae,D=I,I=ae,W=R,R=E,Y=F,F=o}pe=ae.neg(),ie=E;var m=ne.sqr().add(X.sqr());return pe.sqr().add(ie.sqr()).cmp(m)>=0&&(pe=Q,ie=J),ne.negative&&(ne=ne.neg(),X=X.neg()),pe.negative&&(pe=pe.neg(),ie=ie.neg()),[{a:ne,b:X},{a:pe,b:ie}]},C.prototype._endoSplit=function(S){var M=this.endo.basis,I=M[0],D=M[1],R=D.b.mul(S).divRound(this.n),F=I.b.neg().mul(S).divRound(this.n),W=R.mul(I.a),Y=F.mul(D.a),Q=R.mul(I.b),J=F.mul(D.b);return{k1:S.sub(W).sub(Y),k2:Q.add(J).neg()}},C.prototype.pointFromX=function(S,M){(S=new t(S,16)).red||(S=S.toRed(this.red));var I=S.redSqr().redMul(S).redIAdd(S.redMul(this.a)).redIAdd(this.b),D=I.redSqrt();if(0!==D.redSqr().redSub(I).cmp(this.zero))throw new Error("invalid point");var R=D.fromRed().isOdd();return(M&&!R||!M&&R)&&(D=D.redNeg()),this.point(S,D)},C.prototype.validate=function(S){if(S.inf)return!0;var M=S.x,I=S.y,D=this.a.redMul(M),R=M.redSqr().redMul(M).redIAdd(D).redIAdd(this.b);return 0===I.redSqr().redISub(R).cmpn(0)},C.prototype._endoWnafMulAdd=function(S,M,I){for(var D=this._endoWnafT1,R=this._endoWnafT2,F=0;F<S.length;F++){var W=this._endoSplit(M[F]),Y=S[F],Q=Y._getBeta();W.k1.negative&&(W.k1.ineg(),Y=Y.neg(!0)),W.k2.negative&&(W.k2.ineg(),Q=Q.neg(!0)),D[2*F]=Y,D[2*F+1]=Q,R[2*F]=W.k1,R[2*F+1]=W.k2}for(var J=this._wnafMulAdd(1,D,R,2*F,I),ne=0;ne<2*F;ne++)D[ne]=null,R[ne]=null;return J},g(u,T.BasePoint),C.prototype.point=function(S,M,I){return new u(this,S,M,I)},C.prototype.pointFromJSON=function(S,M){return u.fromJSON(this,S,M)},u.prototype._getBeta=function(){if(this.curve.endo){var S=this.precomputed;if(S&&S.beta)return S.beta;var M=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(S){var I=this.curve,D=function(R){return I.point(R.x.redMul(I.endo.beta),R.y)};S.beta=M,M.precomputed={beta:null,naf:S.naf&&{wnd:S.naf.wnd,points:S.naf.points.map(D)},doubles:S.doubles&&{step:S.doubles.step,points:S.doubles.points.map(D)}}}return M}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(S,M,I){"string"==typeof M&&(M=JSON.parse(M));var D=S.point(M[0],M[1],I);if(!M[2])return D;function R(W){return S.point(W[0],W[1],I)}var F=M[2];return D.precomputed={beta:null,doubles:F.doubles&&{step:F.doubles.step,points:[D].concat(F.doubles.points.map(R))},naf:F.naf&&{wnd:F.naf.wnd,points:[D].concat(F.naf.points.map(R))}},D},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(S){if(this.inf)return S;if(S.inf)return this;if(this.eq(S))return this.dbl();if(this.neg().eq(S))return this.curve.point(null,null);if(0===this.x.cmp(S.x))return this.curve.point(null,null);var M=this.y.redSub(S.y);0!==M.cmpn(0)&&(M=M.redMul(this.x.redSub(S.x).redInvm()));var I=M.redSqr().redISub(this.x).redISub(S.x),D=M.redMul(this.x.redSub(I)).redISub(this.y);return this.curve.point(I,D)},u.prototype.dbl=function(){if(this.inf)return this;var S=this.y.redAdd(this.y);if(0===S.cmpn(0))return this.curve.point(null,null);var M=this.curve.a,I=this.x.redSqr(),D=S.redInvm(),R=I.redAdd(I).redIAdd(I).redIAdd(M).redMul(D),F=R.redSqr().redISub(this.x.redAdd(this.x)),W=R.redMul(this.x.redSub(F)).redISub(this.y);return this.curve.point(F,W)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(S){return S=new t(S,16),this.isInfinity()?this:this._hasDoubles(S)?this.curve._fixedNafMul(this,S):this.curve.endo?this.curve._endoWnafMulAdd([this],[S]):this.curve._wnafMul(this,S)},u.prototype.mulAdd=function(S,M,I){var D=[this,M],R=[S,I];return this.curve.endo?this.curve._endoWnafMulAdd(D,R):this.curve._wnafMulAdd(1,D,R,2)},u.prototype.jmulAdd=function(S,M,I){var D=[this,M],R=[S,I];return this.curve.endo?this.curve._endoWnafMulAdd(D,R,!0):this.curve._wnafMulAdd(1,D,R,2,!0)},u.prototype.eq=function(S){return this===S||this.inf===S.inf&&(this.inf||0===this.x.cmp(S.x)&&0===this.y.cmp(S.y))},u.prototype.neg=function(S){if(this.inf)return this;var M=this.curve.point(this.x,this.y.redNeg());if(S&&this.precomputed){var I=this.precomputed,D=function(R){return R.neg()};M.precomputed={naf:I.naf&&{wnd:I.naf.wnd,points:I.naf.points.map(D)},doubles:I.doubles&&{step:I.doubles.step,points:I.doubles.points.map(D)}}}return M},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},g(P,T.BasePoint),C.prototype.jpoint=function(S,M,I){return new P(this,S,M,I)},P.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var S=this.z.redInvm(),M=S.redSqr(),I=this.x.redMul(M),D=this.y.redMul(M).redMul(S);return this.curve.point(I,D)},P.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},P.prototype.add=function(S){if(this.isInfinity())return S;if(S.isInfinity())return this;var M=S.z.redSqr(),I=this.z.redSqr(),D=this.x.redMul(M),R=S.x.redMul(I),F=this.y.redMul(M.redMul(S.z)),W=S.y.redMul(I.redMul(this.z)),Y=D.redSub(R),Q=F.redSub(W);if(0===Y.cmpn(0))return 0!==Q.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var J=Y.redSqr(),ne=J.redMul(Y),X=D.redMul(J),pe=Q.redSqr().redIAdd(ne).redISub(X).redISub(X),ie=Q.redMul(X.redISub(pe)).redISub(F.redMul(ne)),de=this.z.redMul(S.z).redMul(Y);return this.curve.jpoint(pe,ie,de)},P.prototype.mixedAdd=function(S){if(this.isInfinity())return S.toJ();if(S.isInfinity())return this;var M=this.z.redSqr(),I=this.x,D=S.x.redMul(M),R=this.y,F=S.y.redMul(M).redMul(this.z),W=I.redSub(D),Y=R.redSub(F);if(0===W.cmpn(0))return 0!==Y.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var Q=W.redSqr(),J=Q.redMul(W),ne=I.redMul(Q),X=Y.redSqr().redIAdd(J).redISub(ne).redISub(ne),pe=Y.redMul(ne.redISub(X)).redISub(R.redMul(J)),ie=this.z.redMul(W);return this.curve.jpoint(X,pe,ie)},P.prototype.dblp=function(S){if(0===S)return this;if(this.isInfinity())return this;if(!S)return this.dbl();var M;if(this.curve.zeroA||this.curve.threeA){var I=this;for(M=0;M<S;M++)I=I.dbl();return I}var D=this.curve.a,R=this.curve.tinv,F=this.x,W=this.y,Y=this.z,Q=Y.redSqr().redSqr(),J=W.redAdd(W);for(M=0;M<S;M++){var ne=F.redSqr(),X=J.redSqr(),pe=X.redSqr(),ie=ne.redAdd(ne).redIAdd(ne).redIAdd(D.redMul(Q)),de=F.redMul(X),te=ie.redSqr().redISub(de.redAdd(de)),ae=de.redISub(te),E=ie.redMul(ae);E=E.redIAdd(E).redISub(pe);var i=J.redMul(Y);M+1<S&&(Q=Q.redMul(pe)),F=te,Y=i,J=E}return this.curve.jpoint(F,J.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 S,M,I;if(this.zOne){var D=this.x.redSqr(),R=this.y.redSqr(),F=R.redSqr(),W=this.x.redAdd(R).redSqr().redISub(D).redISub(F);W=W.redIAdd(W);var Y=D.redAdd(D).redIAdd(D),Q=Y.redSqr().redISub(W).redISub(W),J=F.redIAdd(F);J=(J=J.redIAdd(J)).redIAdd(J),S=Q,M=Y.redMul(W.redISub(Q)).redISub(J),I=this.y.redAdd(this.y)}else{var ne=this.x.redSqr(),X=this.y.redSqr(),pe=X.redSqr(),ie=this.x.redAdd(X).redSqr().redISub(ne).redISub(pe);ie=ie.redIAdd(ie);var de=ne.redAdd(ne).redIAdd(ne),te=de.redSqr(),ae=pe.redIAdd(pe);ae=(ae=ae.redIAdd(ae)).redIAdd(ae),S=te.redISub(ie).redISub(ie),M=de.redMul(ie.redISub(S)).redISub(ae),I=(I=this.y.redMul(this.z)).redIAdd(I)}return this.curve.jpoint(S,M,I)},P.prototype._threeDbl=function(){var S,M,I;if(this.zOne){var D=this.x.redSqr(),R=this.y.redSqr(),F=R.redSqr(),W=this.x.redAdd(R).redSqr().redISub(D).redISub(F);W=W.redIAdd(W);var Y=D.redAdd(D).redIAdd(D).redIAdd(this.curve.a),Q=Y.redSqr().redISub(W).redISub(W);S=Q;var J=F.redIAdd(F);J=(J=J.redIAdd(J)).redIAdd(J),M=Y.redMul(W.redISub(Q)).redISub(J),I=this.y.redAdd(this.y)}else{var ne=this.z.redSqr(),X=this.y.redSqr(),pe=this.x.redMul(X),ie=this.x.redSub(ne).redMul(this.x.redAdd(ne));ie=ie.redAdd(ie).redIAdd(ie);var de=pe.redIAdd(pe),te=(de=de.redIAdd(de)).redAdd(de);S=ie.redSqr().redISub(te),I=this.y.redAdd(this.z).redSqr().redISub(X).redISub(ne);var ae=X.redSqr();ae=(ae=(ae=ae.redIAdd(ae)).redIAdd(ae)).redIAdd(ae),M=ie.redMul(de.redISub(S)).redISub(ae)}return this.curve.jpoint(S,M,I)},P.prototype._dbl=function(){var S=this.curve.a,M=this.x,I=this.y,D=this.z,R=D.redSqr().redSqr(),F=M.redSqr(),W=I.redSqr(),Y=F.redAdd(F).redIAdd(F).redIAdd(S.redMul(R)),Q=M.redAdd(M),J=(Q=Q.redIAdd(Q)).redMul(W),ne=Y.redSqr().redISub(J.redAdd(J)),X=J.redISub(ne),pe=W.redSqr();pe=(pe=(pe=pe.redIAdd(pe)).redIAdd(pe)).redIAdd(pe);var ie=Y.redMul(X).redISub(pe),de=I.redAdd(I).redMul(D);return this.curve.jpoint(ne,ie,de)},P.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var S=this.x.redSqr(),M=this.y.redSqr(),I=this.z.redSqr(),D=M.redSqr(),R=S.redAdd(S).redIAdd(S),F=R.redSqr(),W=this.x.redAdd(M).redSqr().redISub(S).redISub(D),Y=(W=(W=(W=W.redIAdd(W)).redAdd(W).redIAdd(W)).redISub(F)).redSqr(),Q=D.redIAdd(D);Q=(Q=(Q=Q.redIAdd(Q)).redIAdd(Q)).redIAdd(Q);var J=R.redIAdd(W).redSqr().redISub(F).redISub(Y).redISub(Q),ne=M.redMul(J);ne=(ne=ne.redIAdd(ne)).redIAdd(ne);var X=this.x.redMul(Y).redISub(ne);X=(X=X.redIAdd(X)).redIAdd(X);var pe=this.y.redMul(J.redMul(Q.redISub(J)).redISub(W.redMul(Y)));pe=(pe=(pe=pe.redIAdd(pe)).redIAdd(pe)).redIAdd(pe);var ie=this.z.redAdd(W).redSqr().redISub(I).redISub(Y);return this.curve.jpoint(X,pe,ie)},P.prototype.mul=function(S,M){return S=new t(S,M),this.curve._wnafMul(this,S)},P.prototype.eq=function(S){if("affine"===S.type)return this.eq(S.toJ());if(this===S)return!0;var M=this.z.redSqr(),I=S.z.redSqr();if(0!==this.x.redMul(I).redISub(S.x.redMul(M)).cmpn(0))return!1;var D=M.redMul(this.z),R=I.redMul(S.z);return 0===this.y.redMul(R).redISub(S.y.redMul(D)).cmpn(0)},P.prototype.eqXToP=function(S){var M=this.z.redSqr(),I=S.toRed(this.curve.red).redMul(M);if(0===this.x.cmp(I))return!0;for(var D=S.clone(),R=this.curve.redN.redMul(M);;){if(D.iadd(this.curve.n),D.cmp(this.curve.p)>=0)return!1;if(I.redIAdd(R),0===this.x.cmp(I))return!0}},P.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},P.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},8049:(Ue,q,p)=>{"use strict";var P,e=q,t=p(1076),g=p(9132),c=p(6767).assert;function C(d){this.curve="short"===d.type?new g.short(d):"edwards"===d.type?new g.edwards(d):new g.mont(d),this.g=this.curve.g,this.n=this.curve.n,this.hash=d.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(d,S){Object.defineProperty(e,d,{configurable:!0,enumerable:!0,get:function(){var M=new C(S);return Object.defineProperty(e,d,{configurable:!0,enumerable:!0,value:M}),M}})}e.PresetCurve=C,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:t.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:t.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:t.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:t.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:t.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{P=p(7274)}catch{P=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:t.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",P]})},6443:(Ue,q,p)=>{"use strict";var e=p(1387),t=p(2447),g=p(6767),T=p(8049),c=p(82),C=g.assert,u=p(1373),P=p(7746);function d(S){if(!(this instanceof d))return new d(S);"string"==typeof S&&(C(Object.prototype.hasOwnProperty.call(T,S),"Unknown curve "+S),S=T[S]),S instanceof T.PresetCurve&&(S={curve:S}),this.curve=S.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=S.curve.g,this.g.precompute(S.curve.n.bitLength()+1),this.hash=S.hash||S.curve.hash}Ue.exports=d,d.prototype.keyPair=function(M){return new u(this,M)},d.prototype.keyFromPrivate=function(M,I){return u.fromPrivate(this,M,I)},d.prototype.keyFromPublic=function(M,I){return u.fromPublic(this,M,I)},d.prototype.genKeyPair=function(M){M||(M={});for(var I=new t({hash:this.hash,pers:M.pers,persEnc:M.persEnc||"utf8",entropy:M.entropy||c(this.hash.hmacStrength),entropyEnc:M.entropy&&M.entropyEnc||"utf8",nonce:this.n.toArray()}),D=this.n.byteLength(),R=this.n.sub(new e(2));;){var F=new e(I.generate(D));if(!(F.cmp(R)>0))return F.iaddn(1),this.keyFromPrivate(F)}},d.prototype._truncateToN=function(M,I){var D=8*M.byteLength()-this.n.bitLength();return D>0&&(M=M.ushrn(D)),!I&&M.cmp(this.n)>=0?M.sub(this.n):M},d.prototype.sign=function(M,I,D,R){"object"==typeof D&&(R=D,D=null),R||(R={}),I=this.keyFromPrivate(I,D),M=this._truncateToN(new e(M,16));for(var F=this.n.byteLength(),W=I.getPrivate().toArray("be",F),Y=M.toArray("be",F),Q=new t({hash:this.hash,entropy:W,nonce:Y,pers:R.pers,persEnc:R.persEnc||"utf8"}),J=this.n.sub(new e(1)),ne=0;;ne++){var X=R.k?R.k(ne):new e(Q.generate(this.n.byteLength()));if(!((X=this._truncateToN(X,!0)).cmpn(1)<=0||X.cmp(J)>=0)){var pe=this.g.mul(X);if(!pe.isInfinity()){var ie=pe.getX(),de=ie.umod(this.n);if(0!==de.cmpn(0)){var te=X.invm(this.n).mul(de.mul(I.getPrivate()).iadd(M));if(0!==(te=te.umod(this.n)).cmpn(0)){var ae=(pe.getY().isOdd()?1:0)|(0!==ie.cmp(de)?2:0);return R.canonical&&te.cmp(this.nh)>0&&(te=this.n.sub(te),ae^=1),new P({r:de,s:te,recoveryParam:ae})}}}}}},d.prototype.verify=function(M,I,D,R){M=this._truncateToN(new e(M,16)),D=this.keyFromPublic(D,R);var F=(I=new P(I,"hex")).r,W=I.s;if(F.cmpn(1)<0||F.cmp(this.n)>=0||W.cmpn(1)<0||W.cmp(this.n)>=0)return!1;var ne,Y=W.invm(this.n),Q=Y.mul(M).umod(this.n),J=Y.mul(F).umod(this.n);return this.curve._maxwellTrick?!(ne=this.g.jmulAdd(Q,D.getPublic(),J)).isInfinity()&&ne.eqXToP(F):!(ne=this.g.mulAdd(Q,D.getPublic(),J)).isInfinity()&&0===ne.getX().umod(this.n).cmp(F)},d.prototype.recoverPubKey=function(S,M,I,D){C((3&I)===I,"The recovery param is more than two bits"),M=new P(M,D);var R=this.n,F=new e(S),W=M.r,Y=M.s,Q=1&I,J=I>>1;if(W.cmp(this.curve.p.umod(this.curve.n))>=0&&J)throw new Error("Unable to find sencond key candinate");W=this.curve.pointFromX(J?W.add(this.curve.n):W,Q);var ne=M.r.invm(R),X=R.sub(F).mul(ne).umod(R),pe=Y.mul(ne).umod(R);return this.g.mulAdd(X,W,pe)},d.prototype.getKeyRecoveryParam=function(S,M,I,D){if(null!==(M=new P(M,D)).recoveryParam)return M.recoveryParam;for(var R=0;R<4;R++){var F;try{F=this.recoverPubKey(S,M,R)}catch{continue}if(F.eq(I))return R}throw new Error("Unable to find valid recovery factor")}},1373:(Ue,q,p)=>{"use strict";var e=p(1387),g=p(6767).assert;function T(c,C){this.ec=c,this.priv=null,this.pub=null,C.priv&&this._importPrivate(C.priv,C.privEnc),C.pub&&this._importPublic(C.pub,C.pubEnc)}Ue.exports=T,T.fromPublic=function(C,u,P){return u instanceof T?u:new T(C,{pub:u,pubEnc:P})},T.fromPrivate=function(C,u,P){return u instanceof T?u:new T(C,{priv:u,privEnc:P})},T.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"}},T.prototype.getPublic=function(C,u){return"string"==typeof C&&(u=C,C=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),u?this.pub.encode(u,C):this.pub},T.prototype.getPrivate=function(C){return"hex"===C?this.priv.toString(16,2):this.priv},T.prototype._importPrivate=function(C,u){this.priv=new e(C,u||16),this.priv=this.priv.umod(this.ec.curve.n)},T.prototype._importPublic=function(C,u){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,u)},T.prototype.derive=function(C){return C.validate()||g(C.validate(),"public point not validated"),C.mul(this.priv).getX()},T.prototype.sign=function(C,u,P){return this.ec.sign(C,this,u,P)},T.prototype.verify=function(C,u){return this.ec.verify(C,u,this)},T.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},7746:(Ue,q,p)=>{"use strict";var e=p(1387),t=p(6767),g=t.assert;function T(d,S){if(d instanceof T)return d;this._importDER(d,S)||(g(d.r&&d.s,"Signature without r or s"),this.r=new e(d.r,16),this.s=new e(d.s,16),this.recoveryParam=void 0===d.recoveryParam?null:d.recoveryParam)}function c(){this.place=0}function C(d,S){var M=d[S.place++];if(!(128&M))return M;var I=15&M;if(0===I||I>4)return!1;for(var D=0,R=0,F=S.place;R<I;R++,F++)D<<=8,D|=d[F],D>>>=0;return!(D<=127)&&(S.place=F,D)}function u(d){for(var S=0,M=d.length-1;!d[S]&&!(128&d[S+1])&&S<M;)S++;return 0===S?d:d.slice(S)}function P(d,S){if(S<128)d.push(S);else{var M=1+(Math.log(S)/Math.LN2>>>3);for(d.push(128|M);--M;)d.push(S>>>(M<<3)&255);d.push(S)}}Ue.exports=T,T.prototype._importDER=function(S,M){S=t.toArray(S,M);var I=new c;if(48!==S[I.place++])return!1;var D=C(S,I);if(!1===D||D+I.place!==S.length||2!==S[I.place++])return!1;var R=C(S,I);if(!1===R)return!1;var F=S.slice(I.place,R+I.place);if(I.place+=R,2!==S[I.place++])return!1;var W=C(S,I);if(!1===W||S.length!==W+I.place)return!1;var Y=S.slice(I.place,W+I.place);if(0===F[0]){if(!(128&F[1]))return!1;F=F.slice(1)}if(0===Y[0]){if(!(128&Y[1]))return!1;Y=Y.slice(1)}return this.r=new e(F),this.s=new e(Y),this.recoveryParam=null,!0},T.prototype.toDER=function(S){var M=this.r.toArray(),I=this.s.toArray();for(128&M[0]&&(M=[0].concat(M)),128&I[0]&&(I=[0].concat(I)),M=u(M),I=u(I);!(I[0]||128&I[1]);)I=I.slice(1);var D=[2];P(D,M.length),(D=D.concat(M)).push(2),P(D,I.length);var R=D.concat(I),F=[48];return P(F,R.length),F=F.concat(R),t.encode(F,S)}},9577:(Ue,q,p)=>{"use strict";var e=p(1076),t=p(8049),g=p(6767),T=g.assert,c=g.parseBytes,C=p(7012),u=p(8062);function P(d){if(T("ed25519"===d,"only tested with ed25519 so far"),!(this instanceof P))return new P(d);this.curve=d=t[d].curve,this.g=d.g,this.g.precompute(d.n.bitLength()+1),this.pointClass=d.point().constructor,this.encodingLength=Math.ceil(d.n.bitLength()/8),this.hash=e.sha512}Ue.exports=P,P.prototype.sign=function(S,M){S=c(S);var I=this.keyFromSecret(M),D=this.hashInt(I.messagePrefix(),S),R=this.g.mul(D),F=this.encodePoint(R),W=this.hashInt(F,I.pubBytes(),S).mul(I.priv()),Y=D.add(W).umod(this.curve.n);return this.makeSignature({R,S:Y,Rencoded:F})},P.prototype.verify=function(S,M,I){S=c(S),M=this.makeSignature(M);var D=this.keyFromPublic(I),R=this.hashInt(M.Rencoded(),D.pubBytes(),S),F=this.g.mul(M.S());return M.R().add(D.pub().mul(R)).eq(F)},P.prototype.hashInt=function(){for(var S=this.hash(),M=0;M<arguments.length;M++)S.update(arguments[M]);return g.intFromLE(S.digest()).umod(this.curve.n)},P.prototype.keyFromPublic=function(S){return C.fromPublic(this,S)},P.prototype.keyFromSecret=function(S){return C.fromSecret(this,S)},P.prototype.makeSignature=function(S){return S instanceof u?S:new u(this,S)},P.prototype.encodePoint=function(S){var M=S.getY().toArray("le",this.encodingLength);return M[this.encodingLength-1]|=S.getX().isOdd()?128:0,M},P.prototype.decodePoint=function(S){var M=(S=g.parseBytes(S)).length-1,I=S.slice(0,M).concat(-129&S[M]),D=0!=(128&S[M]),R=g.intFromLE(I);return this.curve.pointFromY(R,D)},P.prototype.encodeInt=function(S){return S.toArray("le",this.encodingLength)},P.prototype.decodeInt=function(S){return g.intFromLE(S)},P.prototype.isPoint=function(S){return S instanceof this.pointClass}},7012:(Ue,q,p)=>{"use strict";var e=p(6767),t=e.assert,g=e.parseBytes,T=e.cachedProperty;function c(C,u){this.eddsa=C,this._secret=g(u.secret),C.isPoint(u.pub)?this._pub=u.pub:this._pubBytes=g(u.pub)}c.fromPublic=function(u,P){return P instanceof c?P:new c(u,{pub:P})},c.fromSecret=function(u,P){return P instanceof c?P:new c(u,{secret:P})},c.prototype.secret=function(){return this._secret},T(c,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),T(c,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),T(c,"privBytes",function(){var u=this.eddsa,P=this.hash(),d=u.encodingLength-1,S=P.slice(0,u.encodingLength);return S[0]&=248,S[d]&=127,S[d]|=64,S}),T(c,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),T(c,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),T(c,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),c.prototype.sign=function(u){return t(this._secret,"KeyPair can only verify"),this.eddsa.sign(u,this)},c.prototype.verify=function(u,P){return this.eddsa.verify(u,P,this)},c.prototype.getSecret=function(u){return t(this._secret,"KeyPair is public only"),e.encode(this.secret(),u)},c.prototype.getPublic=function(u){return e.encode(this.pubBytes(),u)},Ue.exports=c},8062:(Ue,q,p)=>{"use strict";var e=p(1387),t=p(6767),g=t.assert,T=t.cachedProperty,c=t.parseBytes;function C(u,P){this.eddsa=u,"object"!=typeof P&&(P=c(P)),Array.isArray(P)&&(P={R:P.slice(0,u.encodingLength),S:P.slice(u.encodingLength)}),g(P.R&&P.S,"Signature without R or S"),u.isPoint(P.R)&&(this._R=P.R),P.S instanceof e&&(this._S=P.S),this._Rencoded=Array.isArray(P.R)?P.R:P.Rencoded,this._Sencoded=Array.isArray(P.S)?P.S:P.Sencoded}T(C,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),T(C,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),T(C,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),T(C,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),C.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},C.prototype.toHex=function(){return t.encode(this.toBytes(),"hex").toUpperCase()},Ue.exports=C},7274:Ue=>{Ue.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},6767:(Ue,q,p)=>{"use strict";var e=q,t=p(1387),g=p(7798),T=p(8247);e.assert=g,e.toArray=T.toArray,e.zero2=T.zero2,e.toHex=T.toHex,e.encode=T.encode,e.getNAF=function c(S,M,I){var D=new Array(Math.max(S.bitLength(),I)+1);D.fill(0);for(var R=1<<M+1,F=S.clone(),W=0;W<D.length;W++){var Y,Q=F.andln(R-1);F.isOdd()?F.isubn(Y=Q>(R>>1)-1?(R>>1)-Q:Q):Y=0,D[W]=Y,F.iushrn(1)}return D},e.getJSF=function C(S,M){var I=[[],[]];S=S.clone(),M=M.clone();for(var F,D=0,R=0;S.cmpn(-D)>0||M.cmpn(-R)>0;){var Q,J,W=S.andln(3)+D&3,Y=M.andln(3)+R&3;3===W&&(W=-1),3===Y&&(Y=-1),Q=1&W?3!=(F=S.andln(7)+D&7)&&5!==F||2!==Y?W:-W:0,I[0].push(Q),J=1&Y?3!=(F=M.andln(7)+R&7)&&5!==F||2!==W?Y:-Y:0,I[1].push(J),2*D===Q+1&&(D=1-D),2*R===J+1&&(R=1-R),S.iushrn(1),M.iushrn(1)}return I},e.cachedProperty=function u(S,M,I){var D="_"+M;S.prototype[M]=function(){return void 0!==this[D]?this[D]:this[D]=I.call(this)}},e.parseBytes=function P(S){return"string"==typeof S?e.toArray(S,"hex"):S},e.intFromLE=function d(S){return new t(S,"hex","le")}},1387:function(Ue,q,p){!function(e,t){"use strict";function g(E,i){if(!E)throw new Error(i||"Assertion failed")}function T(E,i){E.super_=i;var o=function(){};o.prototype=i.prototype,E.prototype=new o,E.prototype.constructor=E}function c(E,i,o){if(c.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,null!==E&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(E||0,i||10,o||"be"))}var C;"object"==typeof e?e.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(5568).Buffer}catch{}function u(E,i){var o=E.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(E,i,o){var m=u(E,o);return o-1>=i&&(m|=u(E,o-1)<<4),m}function d(E,i,o,m){for(var l=0,y=Math.min(E.length,o),L=i;L<y;L++){var O=E.charCodeAt(L)-48;l*=m,l+=O>=49?O-49+10:O>=17?O-17+10:O}return l}c.isBN=function(i){return i instanceof c||null!==i&&"object"==typeof i&&i.constructor.wordSize===c.wordSize&&Array.isArray(i.words)},c.max=function(i,o){return i.cmp(o)>0?i:o},c.min=function(i,o){return i.cmp(o)<0?i:o},c.prototype._init=function(i,o,m){if("number"==typeof i)return this._initNumber(i,o,m);if("object"==typeof i)return this._initArray(i,o,m);"hex"===o&&(o=16),g(o===(0|o)&&o>=2&&o<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===o?this._parseHex(i,l,m):(this._parseBase(i,o,l),"le"===m&&this._initArray(this.toArray(),o,m)))},c.prototype._initNumber=function(i,o,m){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"===m&&this._initArray(this.toArray(),o,m)},c.prototype._initArray=function(i,o,m){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 l=0;l<this.length;l++)this.words[l]=0;var y,L,O=0;if("be"===m)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(L=i[l]|i[l-1]<<8|i[l-2]<<16)<<O&67108863,this.words[y+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,y++);else if("le"===m)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(L=i[l]|i[l+1]<<8|i[l+2]<<16)<<O&67108863,this.words[y+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,y++);return this.strip()},c.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var O,y=0,L=0;if("be"===m)for(l=i.length-1;l>=o;l-=2)O=P(i,o,l)<<y,this.words[L]|=67108863&O,y>=18?(y-=18,this.words[L+=1]|=O>>>26):y+=8;else for(l=(i.length-o)%2==0?o+1:o;l<i.length;l+=2)O=P(i,o,l)<<y,this.words[L]|=67108863&O,y>=18?(y-=18,this.words[L+=1]|=O>>>26):y+=8;this.strip()},c.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=o)l++;l--,y=y/o|0;for(var L=i.length-m,O=L%l,b=Math.min(L,L-O)+m,n=0,_=m;_<b;_+=l)n=d(i,_,_+l,o),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==O){var H=1;for(n=d(i,_,i.length,o),_=0;_<O;_++)H*=o;this.imuln(H),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},c.prototype.copy=function(i){i.words=new Array(this.length);for(var o=0;o<this.length;o++)i.words[o]=this.words[o];i.length=this.length,i.negative=this.negative,i.red=this.red},c.prototype.clone=function(){var i=new c(null);return this.copy(i),i},c.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},c.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function R(E,i,o){o.negative=i.negative^E.negative;var m=E.length+i.length|0;o.length=m,m=m-1|0;var l=0|E.words[0],y=0|i.words[0],L=l*y,b=L/67108864|0;o.words[0]=67108863&L;for(var n=1;n<m;n++){for(var _=b>>>26,H=67108863&b,V=Math.min(n,i.length-1),K=Math.max(0,n-E.length+1);K<=V;K++)_+=(L=(l=0|E.words[n-K|0])*(y=0|i.words[K])+H)/67108864|0,H=67108863&L;o.words[n]=0|H,b=0|_}return 0!==b?o.words[n]=0|b:o.length--,o.strip()}c.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var l=0,y=0,L=0;L<this.length;L++){var O=this.words[L],b=(16777215&(O<<l|y)).toString(16);m=0!=(y=O>>>24-l&16777215)||L!==this.length-1?S[6-b.length]+b+m:b+m,(l+=2)>=26&&(l-=26,L--)}for(0!==y&&(m=y.toString(16)+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(i===(0|i)&&i>=2&&i<=36){var n=M[i],_=I[i];m="";var H=this.clone();for(H.negative=0;!H.isZero();){var V=H.modn(_).toString(i);m=(H=H.idivn(_)).isZero()?V+m:S[n-V.length]+V+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}g(!1,"Base should be between 2 and 36")},c.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},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(i,o){return g(typeof C<"u"),this.toArrayLike(C,i,o)},c.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},c.prototype.toArrayLike=function(i,o,m){var l=this.byteLength(),y=m||Math.max(1,l);g(l<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var b,n,L="le"===o,O=new i(y),_=this.clone();if(L){for(n=0;!_.isZero();n++)b=_.andln(255),_.iushrn(8),O[n]=b;for(;n<y;n++)O[n]=0}else{for(n=0;n<y-l;n++)O[n]=0;for(n=0;!_.isZero();n++)b=_.andln(255),_.iushrn(8),O[y-n-1]=b}return O},c.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var o=i,m=0;return o>=4096&&(m+=13,o>>>=13),o>=64&&(m+=7,o>>>=7),o>=8&&(m+=4,o>>>=4),o>=2&&(m+=2,o>>>=2),m+o},c.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 8191&o||(m+=13,o>>>=13),127&o||(m+=7,o>>>=7),15&o||(m+=4,o>>>=4),3&o||(m+=2,o>>>=2),1&o||m++,m},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,o=0;o<this.length;o++){var m=this._zeroBits(this.words[o]);if(i+=m,26!==m)break}return i},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},c.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var o=0;o<i.length;o++)this.words[o]=this.words[o]|i.words[o];return this.strip()},c.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},c.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},c.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},c.prototype.iuand=function(i){var o;o=this.length>i.length?i:this;for(var m=0;m<o.length;m++)this.words[m]=this.words[m]&i.words[m];return this.length=o.length,this.strip()},c.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},c.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},c.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},c.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var l=0;l<m.length;l++)this.words[l]=o.words[l]^m.words[l];if(this!==o)for(;l<o.length;l++)this.words[l]=o.words[l];return this.length=o.length,this.strip()},c.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},c.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},c.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},c.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var l=0;l<o;l++)this.words[l]=67108863&~this.words[l];return m>0&&(this.words[l]=~this.words[l]&67108863>>26-m),this.strip()},c.prototype.notn=function(i){return this.clone().inotn(i)},c.prototype.setn=function(i,o){g("number"==typeof i&&i>=0);var m=i/26|0,l=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<l:this.words[m]&~(1<<l),this.strip()},c.prototype.iadd=function(i){var o,m,l;if(0!==this.negative&&0===i.negative)return this.negative=0,o=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,o=this.isub(i),i.negative=1,o._normSign();this.length>i.length?(m=this,l=i):(m=i,l=this);for(var y=0,L=0;L<l.length;L++)this.words[L]=67108863&(o=(0|m.words[L])+(0|l.words[L])+y),y=o>>>26;for(;0!==y&&L<m.length;L++)this.words[L]=67108863&(o=(0|m.words[L])+y),y=o>>>26;if(this.length=m.length,0!==y)this.words[this.length]=y,this.length++;else if(m!==this)for(;L<m.length;L++)this.words[L]=m.words[L];return this},c.prototype.add=function(i){var o;return 0!==i.negative&&0===this.negative?(i.negative=0,o=this.sub(i),i.negative^=1,o):0===i.negative&&0!==this.negative?(this.negative=0,o=i.sub(this),this.negative=1,o):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},c.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var o=this.iadd(i);return i.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(l=this,y=i):(l=i,y=this);for(var L=0,O=0;O<y.length;O++)L=(o=(0|l.words[O])-(0|y.words[O])+L)>>26,this.words[O]=67108863&o;for(;0!==L&&O<l.length;O++)L=(o=(0|l.words[O])+L)>>26,this.words[O]=67108863&o;if(0===L&&O<l.length&&l!==this)for(;O<l.length;O++)this.words[O]=l.words[O];return this.length=Math.max(this.length,O),l!==this&&(this.negative=1),this.strip()},c.prototype.sub=function(i){return this.clone().isub(i)};var F=function(i,o,m){var b,n,_,l=i.words,y=o.words,L=m.words,O=0,H=0|l[0],V=8191&H,K=H>>>13,se=0|l[1],Ye=8191&se,Oe=se>>>13,Qe=0|l[2],be=8191&Qe,ue=Qe>>>13,xe=0|l[3],Pe=8191&xe,oe=xe>>>13,ze=0|l[4],we=8191&ze,le=ze>>>13,ge=0|l[5],fe=8191&ge,Ge=ge>>>13,Le=0|l[6],Ne=8191&Le,Ve=Le>>>13,at=0|l[7],ve=8191&at,De=at>>>13,xt=0|l[8],ct=8191&xt,et=xt>>>13,Ct=0|l[9],ke=8191&Ct,ot=Ct>>>13,Je=0|y[0],re=8191&Je,Be=Je>>>13,Nt=0|y[1],Ke=8191&Nt,yt=Nt>>>13,kt=0|y[2],Dt=8191&kt,Rt=kt>>>13,pt=0|y[3],vt=8191&pt,Te=pt>>>13,tt=0|y[4],Ze=8191&tt,Mt=tt>>>13,oi=0|y[5],Tt=8191&oi,mt=oi>>>13,he=0|y[6],ee=8191&he,Ce=he>>>13,At=0|y[7],Lt=8191&At,jt=At>>>13,Zt=0|y[8],Kt=8191&Zt,Xe=Zt>>>13,Bt=0|y[9],qe=8191&Bt,nt=Bt>>>13;m.negative=i.negative^o.negative,m.length=19;var Wt=(O+(b=Math.imul(V,re))|0)+((8191&(n=(n=Math.imul(V,Be))+Math.imul(K,re)|0))<<13)|0;O=((_=Math.imul(K,Be))+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,b=Math.imul(Ye,re),n=(n=Math.imul(Ye,Be))+Math.imul(Oe,re)|0,_=Math.imul(Oe,Be);var si=(O+(b=b+Math.imul(V,Ke)|0)|0)+((8191&(n=(n=n+Math.imul(V,yt)|0)+Math.imul(K,Ke)|0))<<13)|0;O=((_=_+Math.imul(K,yt)|0)+(n>>>13)|0)+(si>>>26)|0,si&=67108863,b=Math.imul(be,re),n=(n=Math.imul(be,Be))+Math.imul(ue,re)|0,_=Math.imul(ue,Be),b=b+Math.imul(Ye,Ke)|0,n=(n=n+Math.imul(Ye,yt)|0)+Math.imul(Oe,Ke)|0,_=_+Math.imul(Oe,yt)|0;var li=(O+(b=b+Math.imul(V,Dt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Rt)|0)+Math.imul(K,Dt)|0))<<13)|0;O=((_=_+Math.imul(K,Rt)|0)+(n>>>13)|0)+(li>>>26)|0,li&=67108863,b=Math.imul(Pe,re),n=(n=Math.imul(Pe,Be))+Math.imul(oe,re)|0,_=Math.imul(oe,Be),b=b+Math.imul(be,Ke)|0,n=(n=n+Math.imul(be,yt)|0)+Math.imul(ue,Ke)|0,_=_+Math.imul(ue,yt)|0,b=b+Math.imul(Ye,Dt)|0,n=(n=n+Math.imul(Ye,Rt)|0)+Math.imul(Oe,Dt)|0,_=_+Math.imul(Oe,Rt)|0;var xi=(O+(b=b+Math.imul(V,vt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Te)|0)+Math.imul(K,vt)|0))<<13)|0;O=((_=_+Math.imul(K,Te)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,b=Math.imul(we,re),n=(n=Math.imul(we,Be))+Math.imul(le,re)|0,_=Math.imul(le,Be),b=b+Math.imul(Pe,Ke)|0,n=(n=n+Math.imul(Pe,yt)|0)+Math.imul(oe,Ke)|0,_=_+Math.imul(oe,yt)|0,b=b+Math.imul(be,Dt)|0,n=(n=n+Math.imul(be,Rt)|0)+Math.imul(ue,Dt)|0,_=_+Math.imul(ue,Rt)|0,b=b+Math.imul(Ye,vt)|0,n=(n=n+Math.imul(Ye,Te)|0)+Math.imul(Oe,vt)|0,_=_+Math.imul(Oe,Te)|0;var Ut=(O+(b=b+Math.imul(V,Ze)|0)|0)+((8191&(n=(n=n+Math.imul(V,Mt)|0)+Math.imul(K,Ze)|0))<<13)|0;O=((_=_+Math.imul(K,Mt)|0)+(n>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,b=Math.imul(fe,re),n=(n=Math.imul(fe,Be))+Math.imul(Ge,re)|0,_=Math.imul(Ge,Be),b=b+Math.imul(we,Ke)|0,n=(n=n+Math.imul(we,yt)|0)+Math.imul(le,Ke)|0,_=_+Math.imul(le,yt)|0,b=b+Math.imul(Pe,Dt)|0,n=(n=n+Math.imul(Pe,Rt)|0)+Math.imul(oe,Dt)|0,_=_+Math.imul(oe,Rt)|0,b=b+Math.imul(be,vt)|0,n=(n=n+Math.imul(be,Te)|0)+Math.imul(ue,vt)|0,_=_+Math.imul(ue,Te)|0,b=b+Math.imul(Ye,Ze)|0,n=(n=n+Math.imul(Ye,Mt)|0)+Math.imul(Oe,Ze)|0,_=_+Math.imul(Oe,Mt)|0;var bt=(O+(b=b+Math.imul(V,Tt)|0)|0)+((8191&(n=(n=n+Math.imul(V,mt)|0)+Math.imul(K,Tt)|0))<<13)|0;O=((_=_+Math.imul(K,mt)|0)+(n>>>13)|0)+(bt>>>26)|0,bt&=67108863,b=Math.imul(Ne,re),n=(n=Math.imul(Ne,Be))+Math.imul(Ve,re)|0,_=Math.imul(Ve,Be),b=b+Math.imul(fe,Ke)|0,n=(n=n+Math.imul(fe,yt)|0)+Math.imul(Ge,Ke)|0,_=_+Math.imul(Ge,yt)|0,b=b+Math.imul(we,Dt)|0,n=(n=n+Math.imul(we,Rt)|0)+Math.imul(le,Dt)|0,_=_+Math.imul(le,Rt)|0,b=b+Math.imul(Pe,vt)|0,n=(n=n+Math.imul(Pe,Te)|0)+Math.imul(oe,vt)|0,_=_+Math.imul(oe,Te)|0,b=b+Math.imul(be,Ze)|0,n=(n=n+Math.imul(be,Mt)|0)+Math.imul(ue,Ze)|0,_=_+Math.imul(ue,Mt)|0,b=b+Math.imul(Ye,Tt)|0,n=(n=n+Math.imul(Ye,mt)|0)+Math.imul(Oe,Tt)|0,_=_+Math.imul(Oe,mt)|0;var $e=(O+(b=b+Math.imul(V,ee)|0)|0)+((8191&(n=(n=n+Math.imul(V,Ce)|0)+Math.imul(K,ee)|0))<<13)|0;O=((_=_+Math.imul(K,Ce)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,b=Math.imul(ve,re),n=(n=Math.imul(ve,Be))+Math.imul(De,re)|0,_=Math.imul(De,Be),b=b+Math.imul(Ne,Ke)|0,n=(n=n+Math.imul(Ne,yt)|0)+Math.imul(Ve,Ke)|0,_=_+Math.imul(Ve,yt)|0,b=b+Math.imul(fe,Dt)|0,n=(n=n+Math.imul(fe,Rt)|0)+Math.imul(Ge,Dt)|0,_=_+Math.imul(Ge,Rt)|0,b=b+Math.imul(we,vt)|0,n=(n=n+Math.imul(we,Te)|0)+Math.imul(le,vt)|0,_=_+Math.imul(le,Te)|0,b=b+Math.imul(Pe,Ze)|0,n=(n=n+Math.imul(Pe,Mt)|0)+Math.imul(oe,Ze)|0,_=_+Math.imul(oe,Mt)|0,b=b+Math.imul(be,Tt)|0,n=(n=n+Math.imul(be,mt)|0)+Math.imul(ue,Tt)|0,_=_+Math.imul(ue,mt)|0,b=b+Math.imul(Ye,ee)|0,n=(n=n+Math.imul(Ye,Ce)|0)+Math.imul(Oe,ee)|0,_=_+Math.imul(Oe,Ce)|0;var ut=(O+(b=b+Math.imul(V,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(V,jt)|0)+Math.imul(K,Lt)|0))<<13)|0;O=((_=_+Math.imul(K,jt)|0)+(n>>>13)|0)+(ut>>>26)|0,ut&=67108863,b=Math.imul(ct,re),n=(n=Math.imul(ct,Be))+Math.imul(et,re)|0,_=Math.imul(et,Be),b=b+Math.imul(ve,Ke)|0,n=(n=n+Math.imul(ve,yt)|0)+Math.imul(De,Ke)|0,_=_+Math.imul(De,yt)|0,b=b+Math.imul(Ne,Dt)|0,n=(n=n+Math.imul(Ne,Rt)|0)+Math.imul(Ve,Dt)|0,_=_+Math.imul(Ve,Rt)|0,b=b+Math.imul(fe,vt)|0,n=(n=n+Math.imul(fe,Te)|0)+Math.imul(Ge,vt)|0,_=_+Math.imul(Ge,Te)|0,b=b+Math.imul(we,Ze)|0,n=(n=n+Math.imul(we,Mt)|0)+Math.imul(le,Ze)|0,_=_+Math.imul(le,Mt)|0,b=b+Math.imul(Pe,Tt)|0,n=(n=n+Math.imul(Pe,mt)|0)+Math.imul(oe,Tt)|0,_=_+Math.imul(oe,mt)|0,b=b+Math.imul(be,ee)|0,n=(n=n+Math.imul(be,Ce)|0)+Math.imul(ue,ee)|0,_=_+Math.imul(ue,Ce)|0,b=b+Math.imul(Ye,Lt)|0,n=(n=n+Math.imul(Ye,jt)|0)+Math.imul(Oe,Lt)|0,_=_+Math.imul(Oe,jt)|0;var Et=(O+(b=b+Math.imul(V,Kt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Xe)|0)+Math.imul(K,Kt)|0))<<13)|0;O=((_=_+Math.imul(K,Xe)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863,b=Math.imul(ke,re),n=(n=Math.imul(ke,Be))+Math.imul(ot,re)|0,_=Math.imul(ot,Be),b=b+Math.imul(ct,Ke)|0,n=(n=n+Math.imul(ct,yt)|0)+Math.imul(et,Ke)|0,_=_+Math.imul(et,yt)|0,b=b+Math.imul(ve,Dt)|0,n=(n=n+Math.imul(ve,Rt)|0)+Math.imul(De,Dt)|0,_=_+Math.imul(De,Rt)|0,b=b+Math.imul(Ne,vt)|0,n=(n=n+Math.imul(Ne,Te)|0)+Math.imul(Ve,vt)|0,_=_+Math.imul(Ve,Te)|0,b=b+Math.imul(fe,Ze)|0,n=(n=n+Math.imul(fe,Mt)|0)+Math.imul(Ge,Ze)|0,_=_+Math.imul(Ge,Mt)|0,b=b+Math.imul(we,Tt)|0,n=(n=n+Math.imul(we,mt)|0)+Math.imul(le,Tt)|0,_=_+Math.imul(le,mt)|0,b=b+Math.imul(Pe,ee)|0,n=(n=n+Math.imul(Pe,Ce)|0)+Math.imul(oe,ee)|0,_=_+Math.imul(oe,Ce)|0,b=b+Math.imul(be,Lt)|0,n=(n=n+Math.imul(be,jt)|0)+Math.imul(ue,Lt)|0,_=_+Math.imul(ue,jt)|0,b=b+Math.imul(Ye,Kt)|0,n=(n=n+Math.imul(Ye,Xe)|0)+Math.imul(Oe,Kt)|0,_=_+Math.imul(Oe,Xe)|0;var qt=(O+(b=b+Math.imul(V,qe)|0)|0)+((8191&(n=(n=n+Math.imul(V,nt)|0)+Math.imul(K,qe)|0))<<13)|0;O=((_=_+Math.imul(K,nt)|0)+(n>>>13)|0)+(qt>>>26)|0,qt&=67108863,b=Math.imul(ke,Ke),n=(n=Math.imul(ke,yt))+Math.imul(ot,Ke)|0,_=Math.imul(ot,yt),b=b+Math.imul(ct,Dt)|0,n=(n=n+Math.imul(ct,Rt)|0)+Math.imul(et,Dt)|0,_=_+Math.imul(et,Rt)|0,b=b+Math.imul(ve,vt)|0,n=(n=n+Math.imul(ve,Te)|0)+Math.imul(De,vt)|0,_=_+Math.imul(De,Te)|0,b=b+Math.imul(Ne,Ze)|0,n=(n=n+Math.imul(Ne,Mt)|0)+Math.imul(Ve,Ze)|0,_=_+Math.imul(Ve,Mt)|0,b=b+Math.imul(fe,Tt)|0,n=(n=n+Math.imul(fe,mt)|0)+Math.imul(Ge,Tt)|0,_=_+Math.imul(Ge,mt)|0,b=b+Math.imul(we,ee)|0,n=(n=n+Math.imul(we,Ce)|0)+Math.imul(le,ee)|0,_=_+Math.imul(le,Ce)|0,b=b+Math.imul(Pe,Lt)|0,n=(n=n+Math.imul(Pe,jt)|0)+Math.imul(oe,Lt)|0,_=_+Math.imul(oe,jt)|0,b=b+Math.imul(be,Kt)|0,n=(n=n+Math.imul(be,Xe)|0)+Math.imul(ue,Kt)|0,_=_+Math.imul(ue,Xe)|0;var pi=(O+(b=b+Math.imul(Ye,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ye,nt)|0)+Math.imul(Oe,qe)|0))<<13)|0;O=((_=_+Math.imul(Oe,nt)|0)+(n>>>13)|0)+(pi>>>26)|0,pi&=67108863,b=Math.imul(ke,Dt),n=(n=Math.imul(ke,Rt))+Math.imul(ot,Dt)|0,_=Math.imul(ot,Rt),b=b+Math.imul(ct,vt)|0,n=(n=n+Math.imul(ct,Te)|0)+Math.imul(et,vt)|0,_=_+Math.imul(et,Te)|0,b=b+Math.imul(ve,Ze)|0,n=(n=n+Math.imul(ve,Mt)|0)+Math.imul(De,Ze)|0,_=_+Math.imul(De,Mt)|0,b=b+Math.imul(Ne,Tt)|0,n=(n=n+Math.imul(Ne,mt)|0)+Math.imul(Ve,Tt)|0,_=_+Math.imul(Ve,mt)|0,b=b+Math.imul(fe,ee)|0,n=(n=n+Math.imul(fe,Ce)|0)+Math.imul(Ge,ee)|0,_=_+Math.imul(Ge,Ce)|0,b=b+Math.imul(we,Lt)|0,n=(n=n+Math.imul(we,jt)|0)+Math.imul(le,Lt)|0,_=_+Math.imul(le,jt)|0,b=b+Math.imul(Pe,Kt)|0,n=(n=n+Math.imul(Pe,Xe)|0)+Math.imul(oe,Kt)|0,_=_+Math.imul(oe,Xe)|0;var Si=(O+(b=b+Math.imul(be,qe)|0)|0)+((8191&(n=(n=n+Math.imul(be,nt)|0)+Math.imul(ue,qe)|0))<<13)|0;O=((_=_+Math.imul(ue,nt)|0)+(n>>>13)|0)+(Si>>>26)|0,Si&=67108863,b=Math.imul(ke,vt),n=(n=Math.imul(ke,Te))+Math.imul(ot,vt)|0,_=Math.imul(ot,Te),b=b+Math.imul(ct,Ze)|0,n=(n=n+Math.imul(ct,Mt)|0)+Math.imul(et,Ze)|0,_=_+Math.imul(et,Mt)|0,b=b+Math.imul(ve,Tt)|0,n=(n=n+Math.imul(ve,mt)|0)+Math.imul(De,Tt)|0,_=_+Math.imul(De,mt)|0,b=b+Math.imul(Ne,ee)|0,n=(n=n+Math.imul(Ne,Ce)|0)+Math.imul(Ve,ee)|0,_=_+Math.imul(Ve,Ce)|0,b=b+Math.imul(fe,Lt)|0,n=(n=n+Math.imul(fe,jt)|0)+Math.imul(Ge,Lt)|0,_=_+Math.imul(Ge,jt)|0,b=b+Math.imul(we,Kt)|0,n=(n=n+Math.imul(we,Xe)|0)+Math.imul(le,Kt)|0,_=_+Math.imul(le,Xe)|0;var Fi=(O+(b=b+Math.imul(Pe,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Pe,nt)|0)+Math.imul(oe,qe)|0))<<13)|0;O=((_=_+Math.imul(oe,nt)|0)+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,b=Math.imul(ke,Ze),n=(n=Math.imul(ke,Mt))+Math.imul(ot,Ze)|0,_=Math.imul(ot,Mt),b=b+Math.imul(ct,Tt)|0,n=(n=n+Math.imul(ct,mt)|0)+Math.imul(et,Tt)|0,_=_+Math.imul(et,mt)|0,b=b+Math.imul(ve,ee)|0,n=(n=n+Math.imul(ve,Ce)|0)+Math.imul(De,ee)|0,_=_+Math.imul(De,Ce)|0,b=b+Math.imul(Ne,Lt)|0,n=(n=n+Math.imul(Ne,jt)|0)+Math.imul(Ve,Lt)|0,_=_+Math.imul(Ve,jt)|0,b=b+Math.imul(fe,Kt)|0,n=(n=n+Math.imul(fe,Xe)|0)+Math.imul(Ge,Kt)|0,_=_+Math.imul(Ge,Xe)|0;var Ri=(O+(b=b+Math.imul(we,qe)|0)|0)+((8191&(n=(n=n+Math.imul(we,nt)|0)+Math.imul(le,qe)|0))<<13)|0;O=((_=_+Math.imul(le,nt)|0)+(n>>>13)|0)+(Ri>>>26)|0,Ri&=67108863,b=Math.imul(ke,Tt),n=(n=Math.imul(ke,mt))+Math.imul(ot,Tt)|0,_=Math.imul(ot,mt),b=b+Math.imul(ct,ee)|0,n=(n=n+Math.imul(ct,Ce)|0)+Math.imul(et,ee)|0,_=_+Math.imul(et,Ce)|0,b=b+Math.imul(ve,Lt)|0,n=(n=n+Math.imul(ve,jt)|0)+Math.imul(De,Lt)|0,_=_+Math.imul(De,jt)|0,b=b+Math.imul(Ne,Kt)|0,n=(n=n+Math.imul(Ne,Xe)|0)+Math.imul(Ve,Kt)|0,_=_+Math.imul(Ve,Xe)|0;var Ui=(O+(b=b+Math.imul(fe,qe)|0)|0)+((8191&(n=(n=n+Math.imul(fe,nt)|0)+Math.imul(Ge,qe)|0))<<13)|0;O=((_=_+Math.imul(Ge,nt)|0)+(n>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,b=Math.imul(ke,ee),n=(n=Math.imul(ke,Ce))+Math.imul(ot,ee)|0,_=Math.imul(ot,Ce),b=b+Math.imul(ct,Lt)|0,n=(n=n+Math.imul(ct,jt)|0)+Math.imul(et,Lt)|0,_=_+Math.imul(et,jt)|0,b=b+Math.imul(ve,Kt)|0,n=(n=n+Math.imul(ve,Xe)|0)+Math.imul(De,Kt)|0,_=_+Math.imul(De,Xe)|0;var nn=(O+(b=b+Math.imul(Ne,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ne,nt)|0)+Math.imul(Ve,qe)|0))<<13)|0;O=((_=_+Math.imul(Ve,nt)|0)+(n>>>13)|0)+(nn>>>26)|0,nn&=67108863,b=Math.imul(ke,Lt),n=(n=Math.imul(ke,jt))+Math.imul(ot,Lt)|0,_=Math.imul(ot,jt),b=b+Math.imul(ct,Kt)|0,n=(n=n+Math.imul(ct,Xe)|0)+Math.imul(et,Kt)|0,_=_+Math.imul(et,Xe)|0;var cn=(O+(b=b+Math.imul(ve,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ve,nt)|0)+Math.imul(De,qe)|0))<<13)|0;O=((_=_+Math.imul(De,nt)|0)+(n>>>13)|0)+(cn>>>26)|0,cn&=67108863,b=Math.imul(ke,Kt),n=(n=Math.imul(ke,Xe))+Math.imul(ot,Kt)|0,_=Math.imul(ot,Xe);var Qi=(O+(b=b+Math.imul(ct,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ct,nt)|0)+Math.imul(et,qe)|0))<<13)|0;O=((_=_+Math.imul(et,nt)|0)+(n>>>13)|0)+(Qi>>>26)|0,Qi&=67108863;var $t=(O+(b=Math.imul(ke,qe))|0)+((8191&(n=(n=Math.imul(ke,nt))+Math.imul(ot,qe)|0))<<13)|0;return O=((_=Math.imul(ot,nt))+(n>>>13)|0)+($t>>>26)|0,$t&=67108863,L[0]=Wt,L[1]=si,L[2]=li,L[3]=xi,L[4]=Ut,L[5]=bt,L[6]=$e,L[7]=ut,L[8]=Et,L[9]=qt,L[10]=pi,L[11]=Si,L[12]=Fi,L[13]=Ri,L[14]=Ui,L[15]=nn,L[16]=cn,L[17]=Qi,L[18]=$t,0!==O&&(L[19]=O,m.length++),m};function Y(E,i,o){return(new Q).mulp(E,i,o)}function Q(E,i){this.x=E,this.y=i}Math.imul||(F=R),c.prototype.mulTo=function(i,o){var m,l=this.length+i.length;return m=10===this.length&&10===i.length?F(this,i,o):l<63?R(this,i,o):l<1024?function W(E,i,o){o.negative=i.negative^E.negative,o.length=E.length+i.length;for(var m=0,l=0,y=0;y<o.length-1;y++){var L=l;l=0;for(var O=67108863&m,b=Math.min(y,i.length-1),n=Math.max(0,y-E.length+1);n<=b;n++){var K=(0|E.words[y-n])*(0|i.words[n]),se=67108863&K;O=67108863&(se=se+O|0),l+=(L=(L=L+(K/67108864|0)|0)+(se>>>26)|0)>>>26,L&=67108863}o.words[y]=O,m=L,L=l}return 0!==m?o.words[y]=m:o.length--,o.strip()}(this,i,o):Y(this,i,o),m},Q.prototype.makeRBT=function(i){for(var o=new Array(i),m=c.prototype._countBits(i)-1,l=0;l<i;l++)o[l]=this.revBin(l,m,i);return o},Q.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var l=0,y=0;y<o;y++)l|=(1&i)<<o-y-1,i>>=1;return l},Q.prototype.permute=function(i,o,m,l,y,L){for(var O=0;O<L;O++)l[O]=o[i[O]],y[O]=m[i[O]]},Q.prototype.transform=function(i,o,m,l,y,L){this.permute(L,i,o,m,l,y);for(var O=1;O<y;O<<=1)for(var b=O<<1,n=Math.cos(2*Math.PI/b),_=Math.sin(2*Math.PI/b),H=0;H<y;H+=b)for(var V=n,K=_,se=0;se<O;se++){var Ye=m[H+se],Oe=l[H+se],Qe=m[H+se+O],be=l[H+se+O],ue=V*Qe-K*be;be=V*be+K*Qe,m[H+se]=Ye+(Qe=ue),l[H+se]=Oe+be,m[H+se+O]=Ye-Qe,l[H+se+O]=Oe-be,se!==b&&(ue=n*V-_*K,K=n*K+_*V,V=ue)}},Q.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),l=1&m,y=0;for(m=m/2|0;m;m>>>=1)y++;return 1<<y+1+l},Q.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var l=0;l<m/2;l++){var y=i[l];i[l]=i[m-l-1],i[m-l-1]=y,y=o[l],o[l]=-o[m-l-1],o[m-l-1]=-y}},Q.prototype.normalize13b=function(i,o){for(var m=0,l=0;l<o/2;l++){var y=8192*Math.round(i[2*l+1]/o)+Math.round(i[2*l]/o)+m;i[l]=67108863&y,m=y<67108864?0:y/67108864|0}return i},Q.prototype.convert13b=function(i,o,m,l){for(var y=0,L=0;L<o;L++)m[2*L]=8191&(y+=0|i[L]),m[2*L+1]=8191&(y>>>=13),y>>>=13;for(L=2*o;L<l;++L)m[L]=0;g(0===y),g(0==(-8192&y))},Q.prototype.stub=function(i){for(var o=new Array(i),m=0;m<i;m++)o[m]=0;return o},Q.prototype.mulp=function(i,o,m){var l=2*this.guessLen13b(i.length,o.length),y=this.makeRBT(l),L=this.stub(l),O=new Array(l),b=new Array(l),n=new Array(l),_=new Array(l),H=new Array(l),V=new Array(l),K=m.words;K.length=l,this.convert13b(i.words,i.length,O,l),this.convert13b(o.words,o.length,_,l),this.transform(O,L,b,n,l,y),this.transform(_,L,H,V,l,y);for(var se=0;se<l;se++){var Ye=b[se]*H[se]-n[se]*V[se];n[se]=b[se]*V[se]+n[se]*H[se],b[se]=Ye}return this.conjugate(b,n,l),this.transform(b,n,K,L,l,y),this.conjugate(K,L,l),this.normalize13b(K,l),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},c.prototype.mul=function(i){var o=new c(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},c.prototype.mulf=function(i){var o=new c(null);return o.words=new Array(this.length+i.length),Y(this,i,o)},c.prototype.imul=function(i){return this.clone().mulTo(i,this)},c.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var o=0,m=0;m<this.length;m++){var l=(0|this.words[m])*i,y=(67108863&l)+(67108863&o);o>>=26,o+=l/67108864|0,o+=y>>>26,this.words[m]=67108863&y}return 0!==o&&(this.words[m]=o,this.length++),this},c.prototype.muln=function(i){return this.clone().imuln(i)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(i){var o=function D(E){for(var i=new Array(E.bitLength()),o=0;o<i.length;o++){var l=o%26;i[o]=(E.words[o/26|0]&1<<l)>>>l}return i}(i);if(0===o.length)return new c(1);for(var m=this,l=0;l<o.length&&0===o[l];l++,m=m.sqr());if(++l<o.length)for(var y=m.sqr();l<o.length;l++,y=y.sqr())0!==o[l]&&(m=m.mul(y));return m},c.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,o=i%26,m=(i-o)/26,l=67108863>>>26-o<<26-o;if(0!==o){var L=0;for(y=0;y<this.length;y++){var O=this.words[y]&l;this.words[y]=(0|this.words[y])-O<<o|L,L=O>>>26-o}L&&(this.words[y]=L,this.length++)}if(0!==m){for(y=this.length-1;y>=0;y--)this.words[y+m]=this.words[y];for(y=0;y<m;y++)this.words[y]=0;this.length+=m}return this.strip()},c.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},c.prototype.iushrn=function(i,o,m){var l;g("number"==typeof i&&i>=0),l=o?(o-o%26)/26:0;var y=i%26,L=Math.min((i-y)/26,this.length),O=67108863^67108863>>>y<<y,b=m;if(l-=L,l=Math.max(0,l),b){for(var n=0;n<L;n++)b.words[n]=this.words[n];b.length=L}if(0!==L)if(this.length>L)for(this.length-=L,n=0;n<this.length;n++)this.words[n]=this.words[n+L];else this.words[0]=0,this.length=1;var _=0;for(n=this.length-1;n>=0&&(0!==_||n>=l);n--){var H=0|this.words[n];this.words[n]=_<<26-y|H>>>y,_=H&O}return b&&0!==_&&(b.words[b.length++]=_),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(i,o,m){return g(0===this.negative),this.iushrn(i,o,m)},c.prototype.shln=function(i){return this.clone().ishln(i)},c.prototype.ushln=function(i){return this.clone().iushln(i)},c.prototype.shrn=function(i){return this.clone().ishrn(i)},c.prototype.ushrn=function(i){return this.clone().iushrn(i)},c.prototype.testn=function(i){g("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;return!(this.length<=m||!(this.words[m]&1<<o))},c.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==o&&m++,this.length=Math.min(m,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<<o),this.strip())},c.prototype.maskn=function(i){return this.clone().imaskn(i)},c.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)},c.prototype._iaddn=function(i){this.words[0]+=i;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},c.prototype.addn=function(i){return this.clone().iaddn(i)},c.prototype.subn=function(i){return this.clone().isubn(i)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(i,o,m){var y;this._expand(i.length+m);var L,O=0;for(y=0;y<i.length;y++){L=(0|this.words[y+m])+O;var b=(0|i.words[y])*o;O=((L-=67108863&b)>>26)-(b/67108864|0),this.words[y+m]=67108863&L}for(;y<this.length-m;y++)O=(L=(0|this.words[y+m])+O)>>26,this.words[y+m]=67108863&L;if(0===O)return this.strip();for(g(-1===O),O=0,y=0;y<this.length;y++)O=(L=-(0|this.words[y])+O)>>26,this.words[y]=67108863&L;return this.negative=1,this.strip()},c.prototype._wordDiv=function(i,o){var m,l=this.clone(),y=i,L=0|y.words[y.length-1];0!=(m=26-this._countBits(L))&&(y=y.ushln(m),l.iushln(m),L=0|y.words[y.length-1]);var n,b=l.length-y.length;if("mod"!==o){(n=new c(null)).length=b+1,n.words=new Array(n.length);for(var _=0;_<n.length;_++)n.words[_]=0}var H=l.clone()._ishlnsubmul(y,1,b);0===H.negative&&(l=H,n&&(n.words[b]=1));for(var V=b-1;V>=0;V--){var K=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(K=Math.min(K/L|0,67108863),l._ishlnsubmul(y,K,V);0!==l.negative;)K--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=K)}return n&&n.strip(),l.strip(),"div"!==o&&0!==m&&l.iushrn(m),{div:n||null,mod:l}},c.prototype.divmod=function(i,o,m){return g(!i.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===i.negative?(L=this.neg().divmod(i,o),"mod"!==o&&(l=L.div.neg()),"div"!==o&&(y=L.mod.neg(),m&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(L=this.divmod(i.neg(),o),"mod"!==o&&(l=L.div.neg()),{div:l,mod:L.mod}):this.negative&i.negative?(L=this.neg().divmod(i.neg(),o),"div"!==o&&(y=L.mod.neg(),m&&0!==y.negative&&y.isub(i)),{div:L.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new c(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new c(this.modn(i.words[0]))}:this._wordDiv(i,o);var l,y,L},c.prototype.div=function(i){return this.divmod(i,"div",!1).div},c.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},c.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},c.prototype.divRound=function(i){var o=this.divmod(i);if(o.mod.isZero())return o.div;var m=0!==o.div.negative?o.mod.isub(i):o.mod,l=i.ushrn(1),y=i.andln(1),L=m.cmp(l);return L<0||1===y&&0===L?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(i){g(i<=67108863);for(var o=(1<<26)%i,m=0,l=this.length-1;l>=0;l--)m=(o*m+(0|this.words[l]))%i;return m},c.prototype.idivn=function(i){g(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var l=(0|this.words[m])+67108864*o;this.words[m]=l/i|0,o=l%i}return this.strip()},c.prototype.divn=function(i){return this.clone().idivn(i)},c.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var l=new c(1),y=new c(0),L=new c(0),O=new c(1),b=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++b;for(var n=m.clone(),_=o.clone();!o.isZero();){for(var H=0,V=1;!(o.words[0]&V)&&H<26;++H,V<<=1);if(H>0)for(o.iushrn(H);H-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(_)),l.iushrn(1),y.iushrn(1);for(var K=0,se=1;!(m.words[0]&se)&&K<26;++K,se<<=1);if(K>0)for(m.iushrn(K);K-- >0;)(L.isOdd()||O.isOdd())&&(L.iadd(n),O.isub(_)),L.iushrn(1),O.iushrn(1);o.cmp(m)>=0?(o.isub(m),l.isub(L),y.isub(O)):(m.isub(o),L.isub(l),O.isub(y))}return{a:L,b:O,gcd:m.iushln(b)}},c.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var H,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var l=new c(1),y=new c(0),L=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var O=0,b=1;!(o.words[0]&b)&&O<26;++O,b<<=1);if(O>0)for(o.iushrn(O);O-- >0;)l.isOdd()&&l.iadd(L),l.iushrn(1);for(var n=0,_=1;!(m.words[0]&_)&&n<26;++n,_<<=1);if(n>0)for(m.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(L),y.iushrn(1);o.cmp(m)>=0?(o.isub(m),l.isub(y)):(m.isub(o),y.isub(l))}return(H=0===o.cmpn(1)?l:y).cmpn(0)<0&&H.iadd(i),H},c.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var o=this.clone(),m=i.clone();o.negative=0,m.negative=0;for(var l=0;o.isEven()&&m.isEven();l++)o.iushrn(1),m.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;m.isEven();)m.iushrn(1);var y=o.cmp(m);if(y<0){var L=o;o=m,m=L}else if(0===y||0===m.cmpn(1))break;o.isub(m)}return m.iushln(l)},c.prototype.invm=function(i){return this.egcd(i).a.umod(i)},c.prototype.isEven=function(){return 0==(1&this.words[0])},c.prototype.isOdd=function(){return 1==(1&this.words[0])},c.prototype.andln=function(i){return this.words[0]&i},c.prototype.bincn=function(i){g("number"==typeof i);var o=i%26,m=(i-o)/26,l=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=l,this;for(var y=l,L=m;0!==y&&L<this.length;L++){var O=0|this.words[L];y=(O+=y)>>>26,this.words[L]=O&=67108863}return 0!==y&&(this.words[L]=y,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(i){var m,o=i<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)m=1;else{o&&(i=-i),g(i<=67108863,"Number is too big");var l=0|this.words[0];m=l===i?0:l<i?-1:1}return 0!==this.negative?0|-m:m},c.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var o=this.ucmp(i);return 0!==this.negative?0|-o:o},c.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var o=0,m=this.length-1;m>=0;m--){var l=0|this.words[m],y=0|i.words[m];if(l!==y){l<y?o=-1:l>y&&(o=1);break}}return o},c.prototype.gtn=function(i){return 1===this.cmpn(i)},c.prototype.gt=function(i){return 1===this.cmp(i)},c.prototype.gten=function(i){return this.cmpn(i)>=0},c.prototype.gte=function(i){return this.cmp(i)>=0},c.prototype.ltn=function(i){return-1===this.cmpn(i)},c.prototype.lt=function(i){return-1===this.cmp(i)},c.prototype.lten=function(i){return this.cmpn(i)<=0},c.prototype.lte=function(i){return this.cmp(i)<=0},c.prototype.eqn=function(i){return 0===this.cmpn(i)},c.prototype.eq=function(i){return 0===this.cmp(i)},c.red=function(i){return new te(i)},c.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)},c.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(i){return this.red=i,this},c.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},c.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},c.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},c.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},c.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},c.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},c.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},c.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},c.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var J={k256:null,p224:null,p192:null,p25519:null};function ne(E,i){this.name=E,this.p=new c(i,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function X(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function pe(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function de(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(E){if("string"==typeof E){var i=c._prime(E);this.m=i.p,this.prime=i}else g(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}function ae(E){te.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(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)}ne.prototype._tmp=function(){var i=new c(null);return i.words=new Array(Math.ceil(this.n/13)),i},ne.prototype.ireduce=function(i){var m,o=i;do{this.split(o,this.tmp),m=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(m>this.n);var l=m<this.n?-1:o.ucmp(this.p);return 0===l?(o.words[0]=0,o.length=1):l>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},ne.prototype.split=function(i,o){i.iushrn(this.n,0,o)},ne.prototype.imulK=function(i){return i.imul(this.k)},T(X,ne),X.prototype.split=function(i,o){for(var m=4194303,l=Math.min(i.length,9),y=0;y<l;y++)o.words[y]=i.words[y];if(o.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var L=i.words[9];for(o.words[o.length++]=L&m,y=10;y<i.length;y++){var O=0|i.words[y];i.words[y-10]=(O&m)<<4|L>>>22,L=O}i.words[y-10]=L>>>=22,i.length-=0===L&&i.length>10?10:9},X.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var o=0,m=0;m<i.length;m++){var l=0|i.words[m];i.words[m]=67108863&(o+=977*l),o=64*l+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},T(pe,ne),T(ie,ne),T(de,ne),de.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var l=19*(0|i.words[m])+o,y=67108863&l;l>>>=26,i.words[m]=y,o=l}return 0!==o&&(i.words[i.length++]=o),i},c._prime=function(i){if(J[i])return J[i];var o;if("k256"===i)o=new X;else if("p224"===i)o=new pe;else if("p192"===i)o=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new de}return J[i]=o,o},te.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},te.prototype._verify2=function(i,o){g(0==(i.negative|o.negative),"red works only with positives"),g(i.red&&i.red===o.red,"red works only with red numbers")},te.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},te.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},te.prototype.add=function(i,o){this._verify2(i,o);var m=i.add(o);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},te.prototype.iadd=function(i,o){this._verify2(i,o);var m=i.iadd(o);return m.cmp(this.m)>=0&&m.isub(this.m),m},te.prototype.sub=function(i,o){this._verify2(i,o);var m=i.sub(o);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},te.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},te.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},te.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},te.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},te.prototype.isqr=function(i){return this.imul(i,i.clone())},te.prototype.sqr=function(i){return this.mul(i,i)},te.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(g(o%2==1),3===o){var m=this.m.add(new c(1)).iushrn(2);return this.pow(i,m)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);g(!l.isZero());var L=new c(1).toRed(this),O=L.redNeg(),b=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new c(2*n*n).toRed(this);0!==this.pow(n,b).cmp(O);)n.redIAdd(O);for(var _=this.pow(n,l),H=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),K=y;0!==V.cmp(L);){for(var se=V,Ye=0;0!==se.cmp(L);Ye++)se=se.redSqr();g(Ye<K);var Oe=this.pow(_,new c(1).iushln(K-Ye-1));H=H.redMul(Oe),_=Oe.redSqr(),V=V.redMul(_),K=Ye}return H},te.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},te.prototype.pow=function(i,o){if(o.isZero())return new c(1).toRed(this);if(0===o.cmpn(1))return i.clone();var l=new Array(16);l[0]=new c(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var L=l[0],O=0,b=0,n=o.bitLength()%26;for(0===n&&(n=26),y=o.length-1;y>=0;y--){for(var _=o.words[y],H=n-1;H>=0;H--){var V=_>>H&1;L!==l[0]&&(L=this.sqr(L)),0!==V||0!==O?(O<<=1,O|=V,(4==++b||0===y&&0===H)&&(L=this.mul(L,l[O]),b=0,O=0)):b=0}n=26}return L},te.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},te.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},c.mont=function(i){return new ae(i)},T(ae,te),ae.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},ae.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},ae.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),l=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(l).iushrn(this.shift),L=y;return y.cmp(this.m)>=0?L=y.isub(this.m):y.cmpn(0)<0&&(L=y.iadd(this.m)),L._forceRed(this)},ae.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new c(0)._forceRed(this);var m=i.mul(o),l=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(l).iushrn(this.shift),L=y;return y.cmp(this.m)>=0?L=y.isub(this.m):y.cmpn(0)<0&&(L=y.iadd(this.m)),L._forceRed(this)},ae.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ue=p.nmd(Ue),this)},6119:Ue=>{"use strict";Ue.exports=function(p){for(var e=[],t=p.length,g=0;g<t;g++){var T=p.charCodeAt(g);if(T>=55296&&T<=56319&&t>g+1){var c=p.charCodeAt(g+1);c>=56320&&c<=57343&&(T=1024*(T-55296)+c-56320+65536,g+=1)}T<128?e.push(T):T<2048?(e.push(T>>6|192),e.push(63&T|128)):T<55296||T>=57344&&T<65536?(e.push(T>>12|224),e.push(T>>6&63|128),e.push(63&T|128)):T>=65536&&T<=1114111?(e.push(T>>18|240),e.push(T>>12&63|128),e.push(T>>6&63|128),e.push(63&T|128)):e.push(239,191,189)}return new Uint8Array(e).buffer}},2016:Ue=>{"use strict";var e,q="object"==typeof Reflect?Reflect:null,p=q&&"function"==typeof q.apply?q.apply:function(ne,X,pe){return Function.prototype.apply.call(ne,X,pe)};e=q&&"function"==typeof q.ownKeys?q.ownKeys:Object.getOwnPropertySymbols?function(ne){return Object.getOwnPropertyNames(ne).concat(Object.getOwnPropertySymbols(ne))}:function(ne){return Object.getOwnPropertyNames(ne)};var g=Number.isNaN||function(ne){return ne!=ne};function T(){T.init.call(this)}Ue.exports=T,Ue.exports.once=function W(J,ne){return new Promise(function(X,pe){function ie(te){J.removeListener(ne,de),pe(te)}function de(){"function"==typeof J.removeListener&&J.removeListener("error",ie),X([].slice.call(arguments))}Q(J,ne,de,{once:!0}),"error"!==ne&&function Y(J,ne,X){"function"==typeof J.on&&Q(J,"error",ne,X)}(J,ie,{once:!0})})},T.EventEmitter=T,T.prototype._events=void 0,T.prototype._eventsCount=0,T.prototype._maxListeners=void 0;var c=10;function C(J){if("function"!=typeof J)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof J)}function u(J){return void 0===J._maxListeners?T.defaultMaxListeners:J._maxListeners}function P(J,ne,X,pe){var ie,de,te;if(C(X),void 0===(de=J._events)?(de=J._events=Object.create(null),J._eventsCount=0):(void 0!==de.newListener&&(J.emit("newListener",ne,X.listener?X.listener:X),de=J._events),te=de[ne]),void 0===te)te=de[ne]=X,++J._eventsCount;else if("function"==typeof te?te=de[ne]=pe?[X,te]:[te,X]:pe?te.unshift(X):te.push(X),(ie=u(J))>0&&te.length>ie&&!te.warned){te.warned=!0;var ae=new Error("Possible EventEmitter memory leak detected. "+te.length+" "+String(ne)+" listeners added. Use emitter.setMaxListeners() to increase limit");ae.name="MaxListenersExceededWarning",ae.emitter=J,ae.type=ne,ae.count=te.length,function t(J){console&&console.warn&&console.warn(J)}(ae)}return J}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function S(J,ne,X){var pe={fired:!1,wrapFn:void 0,target:J,type:ne,listener:X},ie=d.bind(pe);return ie.listener=X,pe.wrapFn=ie,ie}function M(J,ne,X){var pe=J._events;if(void 0===pe)return[];var ie=pe[ne];return void 0===ie?[]:"function"==typeof ie?X?[ie.listener||ie]:[ie]:X?function F(J){for(var ne=new Array(J.length),X=0;X<ne.length;++X)ne[X]=J[X].listener||J[X];return ne}(ie):D(ie,ie.length)}function I(J){var ne=this._events;if(void 0!==ne){var X=ne[J];if("function"==typeof X)return 1;if(void 0!==X)return X.length}return 0}function D(J,ne){for(var X=new Array(ne),pe=0;pe<ne;++pe)X[pe]=J[pe];return X}function Q(J,ne,X,pe){if("function"==typeof J.on)pe.once?J.once(ne,X):J.on(ne,X);else{if("function"!=typeof J.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof J);J.addEventListener(ne,function ie(de){pe.once&&J.removeEventListener(ne,ie),X(de)})}}Object.defineProperty(T,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(J){if("number"!=typeof J||J<0||g(J))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+J+".");c=J}}),T.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},T.prototype.setMaxListeners=function(ne){if("number"!=typeof ne||ne<0||g(ne))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ne+".");return this._maxListeners=ne,this},T.prototype.getMaxListeners=function(){return u(this)},T.prototype.emit=function(ne){for(var X=[],pe=1;pe<arguments.length;pe++)X.push(arguments[pe]);var ie="error"===ne,de=this._events;if(void 0!==de)ie=ie&&void 0===de.error;else if(!ie)return!1;if(ie){var te;if(X.length>0&&(te=X[0]),te instanceof Error)throw te;var ae=new Error("Unhandled error."+(te?" ("+te.message+")":""));throw ae.context=te,ae}var E=de[ne];if(void 0===E)return!1;if("function"==typeof E)p(E,this,X);else{var i=E.length,o=D(E,i);for(pe=0;pe<i;++pe)p(o[pe],this,X)}return!0},T.prototype.on=T.prototype.addListener=function(ne,X){return P(this,ne,X,!1)},T.prototype.prependListener=function(ne,X){return P(this,ne,X,!0)},T.prototype.once=function(ne,X){return C(X),this.on(ne,S(this,ne,X)),this},T.prototype.prependOnceListener=function(ne,X){return C(X),this.prependListener(ne,S(this,ne,X)),this},T.prototype.off=T.prototype.removeListener=function(ne,X){var pe,ie,de,te,ae;if(C(X),void 0===(ie=this._events))return this;if(void 0===(pe=ie[ne]))return this;if(pe===X||pe.listener===X)0==--this._eventsCount?this._events=Object.create(null):(delete ie[ne],ie.removeListener&&this.emit("removeListener",ne,pe.listener||X));else if("function"!=typeof pe){for(de=-1,te=pe.length-1;te>=0;te--)if(pe[te]===X||pe[te].listener===X){ae=pe[te].listener,de=te;break}if(de<0)return this;0===de?pe.shift():function R(J,ne){for(;ne+1<J.length;ne++)J[ne]=J[ne+1];J.pop()}(pe,de),1===pe.length&&(ie[ne]=pe[0]),void 0!==ie.removeListener&&this.emit("removeListener",ne,ae||X)}return this},T.prototype.removeAllListeners=function(ne){var X,pe,ie;if(void 0===(pe=this._events))return this;if(void 0===pe.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==pe[ne]&&(0==--this._eventsCount?this._events=Object.create(null):delete pe[ne]),this;if(0===arguments.length){var te,de=Object.keys(pe);for(ie=0;ie<de.length;++ie)"removeListener"!==(te=de[ie])&&this.removeAllListeners(te);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(X=pe[ne]))this.removeListener(ne,X);else if(void 0!==X)for(ie=X.length-1;ie>=0;ie--)this.removeListener(ne,X[ie]);return this},T.prototype.listeners=function(ne){return M(this,ne,!0)},T.prototype.rawListeners=function(ne){return M(this,ne,!1)},T.listenerCount=function(J,ne){return"function"==typeof J.listenerCount?J.listenerCount(ne):I.call(J,ne)},T.prototype.listenerCount=I,T.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},6505:(Ue,q,p)=>{var e=p(843).Buffer,t=p(5829);Ue.exports=function g(T,c,C,u){if(e.isBuffer(T)||(T=e.from(T,"binary")),c&&(e.isBuffer(c)||(c=e.from(c,"binary")),8!==c.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var P=C/8,d=e.alloc(P),S=e.alloc(u||0),M=e.alloc(0);P>0||u>0;){var I=new t;I.update(M),I.update(T),c&&I.update(c),M=I.digest();var D=0;if(P>0){var R=d.length-P;D=Math.min(P,M.length),M.copy(d,R,0,D),P-=D}if(D<M.length&&u>0){var F=S.length-u,W=Math.min(u,M.length-D);M.copy(S,F,D,D+W),u-=W}}return M.fill(0),{key:d,iv:S}}},380:(Ue,q,p)=>{"use strict";var e=p(843).Buffer,t=p(6745).Transform;function c(C){t.call(this),this._block=e.allocUnsafe(C),this._blockSize=C,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}p(6698)(c,t),c.prototype._transform=function(C,u,P){var d=null;try{this.update(C,u)}catch(S){d=S}P(d)},c.prototype._flush=function(C){var u=null;try{this.push(this.digest())}catch(P){u=P}C(u)},c.prototype.update=function(C,u){if(function T(C,u){if(!e.isBuffer(C)&&"string"!=typeof C)throw new TypeError(u+" must be a string or a buffer")}(C,"Data"),this._finalized)throw new Error("Digest already called");e.isBuffer(C)||(C=e.from(C,u));for(var P=this._block,d=0;this._blockOffset+C.length-d>=this._blockSize;){for(var S=this._blockOffset;S<this._blockSize;)P[S++]=C[d++];this._update(),this._blockOffset=0}for(;d<C.length;)P[this._blockOffset++]=C[d++];for(var M=0,I=8*C.length;I>0;++M)this._length[M]+=I,(I=this._length[M]/4294967296|0)>0&&(this._length[M]-=4294967296*I);return this},c.prototype._update=function(){throw new Error("_update is not implemented")},c.prototype.digest=function(C){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var u=this._digest();void 0!==C&&(u=u.toString(C)),this._block.fill(0),this._blockOffset=0;for(var P=0;P<4;++P)this._length[P]=0;return u},c.prototype._digest=function(){throw new Error("_digest is not implemented")},Ue.exports=c},1076:(Ue,q,p)=>{var e=q;e.utils=p(9875),e.common=p(2085),e.sha=p(7658),e.ripemd=p(8344),e.hmac=p(6192),e.sha1=e.sha.sha1,e.sha256=e.sha.sha256,e.sha224=e.sha.sha224,e.sha384=e.sha.sha384,e.sha512=e.sha.sha512,e.ripemd160=e.ripemd.ripemd160},2085:(Ue,q,p)=>{"use strict";var e=p(9875),t=p(7798);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}q.BlockHash=g,g.prototype.update=function(c,C){if(c=e.toArray(c,C),this.pending=this.pending?this.pending.concat(c):c,this.pendingTotal+=c.length,this.pending.length>=this._delta8){var u=(c=this.pending).length%this._delta8;this.pending=c.slice(c.length-u,c.length),0===this.pending.length&&(this.pending=null),c=e.join32(c,0,c.length-u,this.endian);for(var P=0;P<c.length;P+=this._delta32)this._update(c,P,P+this._delta32)}return this},g.prototype.digest=function(c){return this.update(this._pad()),t(null===this.pending),this._digest(c)},g.prototype._pad=function(){var c=this.pendingTotal,C=this._delta8,u=C-(c+this.padLength)%C,P=new Array(u+this.padLength);P[0]=128;for(var d=1;d<u;d++)P[d]=0;if(c<<=3,"big"===this.endian){for(var S=8;S<this.padLength;S++)P[d++]=0;P[d++]=0,P[d++]=0,P[d++]=0,P[d++]=0,P[d++]=c>>>24&255,P[d++]=c>>>16&255,P[d++]=c>>>8&255,P[d++]=255&c}else for(P[d++]=255&c,P[d++]=c>>>8&255,P[d++]=c>>>16&255,P[d++]=c>>>24&255,P[d++]=0,P[d++]=0,P[d++]=0,P[d++]=0,S=8;S<this.padLength;S++)P[d++]=0;return P}},6192:(Ue,q,p)=>{"use strict";var e=p(9875),t=p(7798);function g(T,c,C){if(!(this instanceof g))return new g(T,c,C);this.Hash=T,this.blockSize=T.blockSize/8,this.outSize=T.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(c,C))}Ue.exports=g,g.prototype._init=function(c){c.length>this.blockSize&&(c=(new this.Hash).update(c).digest()),t(c.length<=this.blockSize);for(var C=c.length;C<this.blockSize;C++)c.push(0);for(C=0;C<c.length;C++)c[C]^=54;for(this.inner=(new this.Hash).update(c),C=0;C<c.length;C++)c[C]^=106;this.outer=(new this.Hash).update(c)},g.prototype.update=function(c,C){return this.inner.update(c,C),this},g.prototype.digest=function(c){return this.outer.update(this.inner.digest()),this.outer.digest(c)}},8344:(Ue,q,p)=>{"use strict";var e=p(9875),t=p(2085),g=e.rotl32,T=e.sum32,c=e.sum32_3,C=e.sum32_4,u=t.BlockHash;function P(){if(!(this instanceof P))return new P;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(W,Y,Q,J){return W<=15?Y^Q^J:W<=31?Y&Q|~Y&J:W<=47?(Y|~Q)^J:W<=63?Y&J|Q&~J:Y^(Q|~J)}function M(W){return W<=15?1352829926:W<=31?1548603684:W<=47?1836072691:W<=63?2053994217:0}e.inherits(P,u),q.ripemd160=P,P.blockSize=512,P.outSize=160,P.hmacStrength=192,P.padLength=64,P.prototype._update=function(Y,Q){for(var J=this.h[0],ne=this.h[1],X=this.h[2],pe=this.h[3],ie=this.h[4],de=J,te=ne,ae=X,E=pe,i=ie,o=0;o<80;o++){var m=T(g(C(J,d(o,ne,X,pe),Y[I[o]+Q],(W=o)<=15?0:W<=31?1518500249:W<=47?1859775393:W<=63?2400959708:2840853838),R[o]),ie);J=ie,ie=pe,pe=g(X,10),X=ne,ne=m,m=T(g(C(de,d(79-o,te,ae,E),Y[D[o]+Q],M(o)),F[o]),i),de=i,i=E,E=g(ae,10),ae=te,te=m}var W;m=c(this.h[1],X,E),this.h[1]=c(this.h[2],pe,i),this.h[2]=c(this.h[3],ie,de),this.h[3]=c(this.h[4],J,te),this.h[4]=c(this.h[0],ne,ae),this.h[0]=m},P.prototype._digest=function(Y){return"hex"===Y?e.toHex32(this.h,"little"):e.split32(this.h,"little")};var I=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],D=[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],F=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},7658:(Ue,q,p)=>{"use strict";q.sha1=p(5010),q.sha224=p(3578),q.sha256=p(7857),q.sha384=p(8723),q.sha512=p(5304)},5010:(Ue,q,p)=>{"use strict";var e=p(9875),t=p(2085),g=p(7221),T=e.rotl32,c=e.sum32,C=e.sum32_5,u=g.ft_1,P=t.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function S(){if(!(this instanceof S))return new S;P.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}e.inherits(S,P),Ue.exports=S,S.blockSize=512,S.outSize=160,S.hmacStrength=80,S.padLength=64,S.prototype._update=function(I,D){for(var R=this.W,F=0;F<16;F++)R[F]=I[D+F];for(;F<R.length;F++)R[F]=T(R[F-3]^R[F-8]^R[F-14]^R[F-16],1);var W=this.h[0],Y=this.h[1],Q=this.h[2],J=this.h[3],ne=this.h[4];for(F=0;F<R.length;F++){var X=~~(F/20),pe=C(T(W,5),u(X,Y,Q,J),ne,R[F],d[X]);ne=J,J=Q,Q=T(Y,30),Y=W,W=pe}this.h[0]=c(this.h[0],W),this.h[1]=c(this.h[1],Y),this.h[2]=c(this.h[2],Q),this.h[3]=c(this.h[3],J),this.h[4]=c(this.h[4],ne)},S.prototype._digest=function(I){return"hex"===I?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},3578:(Ue,q,p)=>{"use strict";var e=p(9875),t=p(7857);function g(){if(!(this instanceof g))return new g;t.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}e.inherits(g,t),Ue.exports=g,g.blockSize=512,g.outSize=224,g.hmacStrength=192,g.padLength=64,g.prototype._digest=function(c){return"hex"===c?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")}},7857:(Ue,q,p)=>{"use strict";var e=p(9875),t=p(2085),g=p(7221),T=p(7798),c=e.sum32,C=e.sum32_4,u=e.sum32_5,P=g.ch32,d=g.maj32,S=g.s0_256,M=g.s1_256,I=g.g0_256,D=g.g1_256,R=t.BlockHash,F=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function W(){if(!(this instanceof W))return new W;R.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=F,this.W=new Array(64)}e.inherits(W,R),Ue.exports=W,W.blockSize=512,W.outSize=256,W.hmacStrength=192,W.padLength=64,W.prototype._update=function(Q,J){for(var ne=this.W,X=0;X<16;X++)ne[X]=Q[J+X];for(;X<ne.length;X++)ne[X]=C(D(ne[X-2]),ne[X-7],I(ne[X-15]),ne[X-16]);var pe=this.h[0],ie=this.h[1],de=this.h[2],te=this.h[3],ae=this.h[4],E=this.h[5],i=this.h[6],o=this.h[7];for(T(this.k.length===ne.length),X=0;X<ne.length;X++){var m=u(o,M(ae),P(ae,E,i),this.k[X],ne[X]),l=c(S(pe),d(pe,ie,de));o=i,i=E,E=ae,ae=c(te,m),te=de,de=ie,ie=pe,pe=c(m,l)}this.h[0]=c(this.h[0],pe),this.h[1]=c(this.h[1],ie),this.h[2]=c(this.h[2],de),this.h[3]=c(this.h[3],te),this.h[4]=c(this.h[4],ae),this.h[5]=c(this.h[5],E),this.h[6]=c(this.h[6],i),this.h[7]=c(this.h[7],o)},W.prototype._digest=function(Q){return"hex"===Q?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},8723:(Ue,q,p)=>{"use strict";var e=p(9875),t=p(5304);function g(){if(!(this instanceof g))return new g;t.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}e.inherits(g,t),Ue.exports=g,g.blockSize=1024,g.outSize=384,g.hmacStrength=192,g.padLength=128,g.prototype._digest=function(c){return"hex"===c?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")}},5304:(Ue,q,p)=>{"use strict";var e=p(9875),t=p(2085),g=p(7798),T=e.rotr64_hi,c=e.rotr64_lo,C=e.shr64_hi,u=e.shr64_lo,P=e.sum64,d=e.sum64_hi,S=e.sum64_lo,M=e.sum64_4_hi,I=e.sum64_4_lo,D=e.sum64_5_hi,R=e.sum64_5_lo,F=t.BlockHash,W=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function Y(){if(!(this instanceof Y))return new Y;F.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=W,this.W=new Array(160)}function Q(m,l,y,L,O){var b=m&y^~m&O;return b<0&&(b+=4294967296),b}function J(m,l,y,L,O,b){var n=l&L^~l&b;return n<0&&(n+=4294967296),n}function ne(m,l,y,L,O){var b=m&y^m&O^y&O;return b<0&&(b+=4294967296),b}function X(m,l,y,L,O,b){var n=l&L^l&b^L&b;return n<0&&(n+=4294967296),n}function pe(m,l){var b=T(m,l,28)^T(l,m,2)^T(l,m,7);return b<0&&(b+=4294967296),b}function ie(m,l){var b=c(m,l,28)^c(l,m,2)^c(l,m,7);return b<0&&(b+=4294967296),b}function de(m,l){var b=T(m,l,14)^T(m,l,18)^T(l,m,9);return b<0&&(b+=4294967296),b}function te(m,l){var b=c(m,l,14)^c(m,l,18)^c(l,m,9);return b<0&&(b+=4294967296),b}function ae(m,l){var b=T(m,l,1)^T(m,l,8)^C(m,l,7);return b<0&&(b+=4294967296),b}function E(m,l){var b=c(m,l,1)^c(m,l,8)^u(m,l,7);return b<0&&(b+=4294967296),b}function i(m,l){var b=T(m,l,19)^T(l,m,29)^C(m,l,6);return b<0&&(b+=4294967296),b}function o(m,l){var b=c(m,l,19)^c(l,m,29)^u(m,l,6);return b<0&&(b+=4294967296),b}e.inherits(Y,F),Ue.exports=Y,Y.blockSize=1024,Y.outSize=512,Y.hmacStrength=192,Y.padLength=128,Y.prototype._prepareBlock=function(l,y){for(var L=this.W,O=0;O<32;O++)L[O]=l[y+O];for(;O<L.length;O+=2){var b=i(L[O-4],L[O-3]),n=o(L[O-4],L[O-3]),_=L[O-14],H=L[O-13],V=ae(L[O-30],L[O-29]),K=E(L[O-30],L[O-29]),se=L[O-32],Ye=L[O-31];L[O]=M(b,n,_,H,V,K,se,Ye),L[O+1]=I(b,n,_,H,V,K,se,Ye)}},Y.prototype._update=function(l,y){this._prepareBlock(l,y);var L=this.W,O=this.h[0],b=this.h[1],n=this.h[2],_=this.h[3],H=this.h[4],V=this.h[5],K=this.h[6],se=this.h[7],Ye=this.h[8],Oe=this.h[9],Qe=this.h[10],be=this.h[11],ue=this.h[12],xe=this.h[13],Pe=this.h[14],oe=this.h[15];g(this.k.length===L.length);for(var ze=0;ze<L.length;ze+=2){var we=Pe,le=oe,ge=de(Ye,Oe),fe=te(Ye,Oe),Ge=Q(Ye,0,Qe,0,ue),Le=J(0,Oe,0,be,0,xe),Ne=this.k[ze],Ve=this.k[ze+1],at=L[ze],ve=L[ze+1],De=D(we,le,ge,fe,Ge,Le,Ne,Ve,at,ve),xt=R(we,le,ge,fe,Ge,Le,Ne,Ve,at,ve);we=pe(O,b),le=ie(O,b),ge=ne(O,0,n,0,H),fe=X(0,b,0,_,0,V);var ct=d(we,le,ge,fe),et=S(we,le,ge,fe);Pe=ue,oe=xe,ue=Qe,xe=be,Qe=Ye,be=Oe,Ye=d(K,se,De,xt),Oe=S(se,se,De,xt),K=H,se=V,H=n,V=_,n=O,_=b,O=d(De,xt,ct,et),b=S(De,xt,ct,et)}P(this.h,0,O,b),P(this.h,2,n,_),P(this.h,4,H,V),P(this.h,6,K,se),P(this.h,8,Ye,Oe),P(this.h,10,Qe,be),P(this.h,12,ue,xe),P(this.h,14,Pe,oe)},Y.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},7221:(Ue,q,p)=>{"use strict";var t=p(9875).rotr32;function T(M,I,D){return M&I^~M&D}function c(M,I,D){return M&I^M&D^I&D}function C(M,I,D){return M^I^D}q.ft_1=function g(M,I,D,R){return 0===M?T(I,D,R):1===M||3===M?C(I,D,R):2===M?c(I,D,R):void 0},q.ch32=T,q.maj32=c,q.p32=C,q.s0_256=function u(M){return t(M,2)^t(M,13)^t(M,22)},q.s1_256=function P(M){return t(M,6)^t(M,11)^t(M,25)},q.g0_256=function d(M){return t(M,7)^t(M,18)^M>>>3},q.g1_256=function S(M){return t(M,17)^t(M,19)^M>>>10}},9875:(Ue,q,p)=>{"use strict";var e=p(7798),t=p(6698);function g(o,m){return!(55296!=(64512&o.charCodeAt(m))||m<0||m+1>=o.length)&&56320==(64512&o.charCodeAt(m+1))}function C(o){return(o>>>24|o>>>8&65280|o<<8&16711680|(255&o)<<24)>>>0}function P(o){return 1===o.length?"0"+o:o}function d(o){return 7===o.length?"0"+o:6===o.length?"00"+o:5===o.length?"000"+o:4===o.length?"0000"+o:3===o.length?"00000"+o:2===o.length?"000000"+o:1===o.length?"0000000"+o:o}q.inherits=t,q.toArray=function T(o,m){if(Array.isArray(o))return o.slice();if(!o)return[];var l=[];if("string"==typeof o)if(m){if("hex"===m)for((o=o.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(o="0"+o),L=0;L<o.length;L+=2)l.push(parseInt(o[L]+o[L+1],16))}else for(var y=0,L=0;L<o.length;L++){var O=o.charCodeAt(L);O<128?l[y++]=O:O<2048?(l[y++]=O>>6|192,l[y++]=63&O|128):g(o,L)?(O=65536+((1023&O)<<10)+(1023&o.charCodeAt(++L)),l[y++]=O>>18|240,l[y++]=O>>12&63|128,l[y++]=O>>6&63|128,l[y++]=63&O|128):(l[y++]=O>>12|224,l[y++]=O>>6&63|128,l[y++]=63&O|128)}else for(L=0;L<o.length;L++)l[L]=0|o[L];return l},q.toHex=function c(o){for(var m="",l=0;l<o.length;l++)m+=P(o[l].toString(16));return m},q.htonl=C,q.toHex32=function u(o,m){for(var l="",y=0;y<o.length;y++){var L=o[y];"little"===m&&(L=C(L)),l+=d(L.toString(16))}return l},q.zero2=P,q.zero8=d,q.join32=function S(o,m,l,y){var L=l-m;e(L%4==0);for(var O=new Array(L/4),b=0,n=m;b<O.length;b++,n+=4)O[b]=("big"===y?o[n]<<24|o[n+1]<<16|o[n+2]<<8|o[n+3]:o[n+3]<<24|o[n+2]<<16|o[n+1]<<8|o[n])>>>0;return O},q.split32=function M(o,m){for(var l=new Array(4*o.length),y=0,L=0;y<o.length;y++,L+=4){var O=o[y];"big"===m?(l[L]=O>>>24,l[L+1]=O>>>16&255,l[L+2]=O>>>8&255,l[L+3]=255&O):(l[L+3]=O>>>24,l[L+2]=O>>>16&255,l[L+1]=O>>>8&255,l[L]=255&O)}return l},q.rotr32=function I(o,m){return o>>>m|o<<32-m},q.rotl32=function D(o,m){return o<<m|o>>>32-m},q.sum32=function R(o,m){return o+m>>>0},q.sum32_3=function F(o,m,l){return o+m+l>>>0},q.sum32_4=function W(o,m,l,y){return o+m+l+y>>>0},q.sum32_5=function Y(o,m,l,y,L){return o+m+l+y+L>>>0},q.sum64=function Q(o,m,l,y){var b=y+o[m+1]>>>0;o[m]=(b<y?1:0)+l+o[m]>>>0,o[m+1]=b},q.sum64_hi=function J(o,m,l,y){return(m+y>>>0<m?1:0)+o+l>>>0},q.sum64_lo=function ne(o,m,l,y){return m+y>>>0},q.sum64_4_hi=function X(o,m,l,y,L,O,b,n){var _=0,H=m;return _+=(H=H+y>>>0)<m?1:0,_+=(H=H+O>>>0)<O?1:0,o+l+L+b+(_+=(H=H+n>>>0)<n?1:0)>>>0},q.sum64_4_lo=function pe(o,m,l,y,L,O,b,n){return m+y+O+n>>>0},q.sum64_5_hi=function ie(o,m,l,y,L,O,b,n,_,H){var V=0,K=m;return V+=(K=K+y>>>0)<m?1:0,V+=(K=K+O>>>0)<O?1:0,V+=(K=K+n>>>0)<n?1:0,o+l+L+b+_+(V+=(K=K+H>>>0)<H?1:0)>>>0},q.sum64_5_lo=function de(o,m,l,y,L,O,b,n,_,H){return m+y+O+n+H>>>0},q.rotr64_hi=function te(o,m,l){return(m<<32-l|o>>>l)>>>0},q.rotr64_lo=function ae(o,m,l){return(o<<32-l|m>>>l)>>>0},q.shr64_hi=function E(o,m,l){return o>>>l},q.shr64_lo=function i(o,m,l){return(o<<32-l|m>>>l)>>>0}},2447:(Ue,q,p)=>{"use strict";var e=p(1076),t=p(8247),g=p(7798);function T(c){if(!(this instanceof T))return new T(c);this.hash=c.hash,this.predResist=!!c.predResist,this.outLen=this.hash.outSize,this.minEntropy=c.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var C=t.toArray(c.entropy,c.entropyEnc||"hex"),u=t.toArray(c.nonce,c.nonceEnc||"hex"),P=t.toArray(c.pers,c.persEnc||"hex");g(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(C,u,P)}Ue.exports=T,T.prototype._init=function(C,u,P){var d=C.concat(u).concat(P);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var S=0;S<this.V.length;S++)this.K[S]=0,this.V[S]=1;this._update(d),this._reseed=1,this.reseedInterval=281474976710656},T.prototype._hmac=function(){return new e.hmac(this.hash,this.K)},T.prototype._update=function(C){var u=this._hmac().update(this.V).update([0]);C&&(u=u.update(C)),this.K=u.digest(),this.V=this._hmac().update(this.V).digest(),C&&(this.K=this._hmac().update(this.V).update([1]).update(C).digest(),this.V=this._hmac().update(this.V).digest())},T.prototype.reseed=function(C,u,P,d){"string"!=typeof u&&(d=P,P=u,u=null),C=t.toArray(C,u),P=t.toArray(P,d),g(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(C.concat(P||[])),this._reseed=1},T.prototype.generate=function(C,u,P,d){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof u&&(d=P,P=u,u=null),P&&(P=t.toArray(P,d||"hex"),this._update(P));for(var S=[];S.length<C;)this.V=this._hmac().update(this.V).digest(),S=S.concat(this.V);var M=S.slice(0,C);return this._update(P),this._reseed++,t.encode(M,u)}},2601:(Ue,q)=>{q.read=function(p,e,t,g,T){var c,C,u=8*T-g-1,P=(1<<u)-1,d=P>>1,S=-7,M=t?T-1:0,I=t?-1:1,D=p[e+M];for(M+=I,c=D&(1<<-S)-1,D>>=-S,S+=u;S>0;c=256*c+p[e+M],M+=I,S-=8);for(C=c&(1<<-S)-1,c>>=-S,S+=g;S>0;C=256*C+p[e+M],M+=I,S-=8);if(0===c)c=1-d;else{if(c===P)return C?NaN:1/0*(D?-1:1);C+=Math.pow(2,g),c-=d}return(D?-1:1)*C*Math.pow(2,c-g)},q.write=function(p,e,t,g,T,c){var C,u,P,d=8*c-T-1,S=(1<<d)-1,M=S>>1,I=23===T?Math.pow(2,-24)-Math.pow(2,-77):0,D=g?0:c-1,R=g?1:-1,F=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,C=S):(C=Math.floor(Math.log(e)/Math.LN2),e*(P=Math.pow(2,-C))<1&&(C--,P*=2),(e+=C+M>=1?I/P:I*Math.pow(2,1-M))*P>=2&&(C++,P/=2),C+M>=S?(u=0,C=S):C+M>=1?(u=(e*P-1)*Math.pow(2,T),C+=M):(u=e*Math.pow(2,M-1)*Math.pow(2,T),C=0));T>=8;p[t+D]=255&u,D+=R,u/=256,T-=8);for(C=C<<T|u,d+=T;d>0;p[t+D]=255&C,D+=R,C/=256,d-=8);p[t+D-R]|=128*F}},6698:Ue=>{Ue.exports="function"==typeof Object.create?function(p,e){e&&(p.super_=e,p.prototype=Object.create(e.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:function(p,e){if(e){p.super_=e;var t=function(){};t.prototype=e.prototype,p.prototype=new t,p.prototype.constructor=p}}},5829:(Ue,q,p)=>{"use strict";var e=p(6698),t=p(380),g=p(843).Buffer,T=new Array(16);function c(){t.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function C(M,I){return M<<I|M>>>32-I}function u(M,I,D,R,F,W,Y){return C(M+(I&D|~I&R)+F+W|0,Y)+I|0}function P(M,I,D,R,F,W,Y){return C(M+(I&R|D&~R)+F+W|0,Y)+I|0}function d(M,I,D,R,F,W,Y){return C(M+(I^D^R)+F+W|0,Y)+I|0}function S(M,I,D,R,F,W,Y){return C(M+(D^(I|~R))+F+W|0,Y)+I|0}e(c,t),c.prototype._update=function(){for(var M=T,I=0;I<16;++I)M[I]=this._block.readInt32LE(4*I);var D=this._a,R=this._b,F=this._c,W=this._d;D=u(D,R,F,W,M[0],3614090360,7),W=u(W,D,R,F,M[1],3905402710,12),F=u(F,W,D,R,M[2],606105819,17),R=u(R,F,W,D,M[3],3250441966,22),D=u(D,R,F,W,M[4],4118548399,7),W=u(W,D,R,F,M[5],1200080426,12),F=u(F,W,D,R,M[6],2821735955,17),R=u(R,F,W,D,M[7],4249261313,22),D=u(D,R,F,W,M[8],1770035416,7),W=u(W,D,R,F,M[9],2336552879,12),F=u(F,W,D,R,M[10],4294925233,17),R=u(R,F,W,D,M[11],2304563134,22),D=u(D,R,F,W,M[12],1804603682,7),W=u(W,D,R,F,M[13],4254626195,12),F=u(F,W,D,R,M[14],2792965006,17),D=P(D,R=u(R,F,W,D,M[15],1236535329,22),F,W,M[1],4129170786,5),W=P(W,D,R,F,M[6],3225465664,9),F=P(F,W,D,R,M[11],643717713,14),R=P(R,F,W,D,M[0],3921069994,20),D=P(D,R,F,W,M[5],3593408605,5),W=P(W,D,R,F,M[10],38016083,9),F=P(F,W,D,R,M[15],3634488961,14),R=P(R,F,W,D,M[4],3889429448,20),D=P(D,R,F,W,M[9],568446438,5),W=P(W,D,R,F,M[14],3275163606,9),F=P(F,W,D,R,M[3],4107603335,14),R=P(R,F,W,D,M[8],1163531501,20),D=P(D,R,F,W,M[13],2850285829,5),W=P(W,D,R,F,M[2],4243563512,9),F=P(F,W,D,R,M[7],1735328473,14),D=d(D,R=P(R,F,W,D,M[12],2368359562,20),F,W,M[5],4294588738,4),W=d(W,D,R,F,M[8],2272392833,11),F=d(F,W,D,R,M[11],1839030562,16),R=d(R,F,W,D,M[14],4259657740,23),D=d(D,R,F,W,M[1],2763975236,4),W=d(W,D,R,F,M[4],1272893353,11),F=d(F,W,D,R,M[7],4139469664,16),R=d(R,F,W,D,M[10],3200236656,23),D=d(D,R,F,W,M[13],681279174,4),W=d(W,D,R,F,M[0],3936430074,11),F=d(F,W,D,R,M[3],3572445317,16),R=d(R,F,W,D,M[6],76029189,23),D=d(D,R,F,W,M[9],3654602809,4),W=d(W,D,R,F,M[12],3873151461,11),F=d(F,W,D,R,M[15],530742520,16),D=S(D,R=d(R,F,W,D,M[2],3299628645,23),F,W,M[0],4096336452,6),W=S(W,D,R,F,M[7],1126891415,10),F=S(F,W,D,R,M[14],2878612391,15),R=S(R,F,W,D,M[5],4237533241,21),D=S(D,R,F,W,M[12],1700485571,6),W=S(W,D,R,F,M[3],2399980690,10),F=S(F,W,D,R,M[10],4293915773,15),R=S(R,F,W,D,M[1],2240044497,21),D=S(D,R,F,W,M[8],1873313359,6),W=S(W,D,R,F,M[15],4264355552,10),F=S(F,W,D,R,M[6],2734768916,15),R=S(R,F,W,D,M[13],1309151649,21),D=S(D,R,F,W,M[4],4149444226,6),W=S(W,D,R,F,M[11],3174756917,10),F=S(F,W,D,R,M[2],718787259,15),R=S(R,F,W,D,M[9],3951481745,21),this._a=this._a+D|0,this._b=this._b+R|0,this._c=this._c+F|0,this._d=this._d+W|0},c.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var M=g.allocUnsafe(16);return M.writeInt32LE(this._a,0),M.writeInt32LE(this._b,4),M.writeInt32LE(this._c,8),M.writeInt32LE(this._d,12),M},Ue.exports=c},8606:(Ue,q,p)=>{var e=p(303),t=p(82);function g(T){this.rand=T||new t.Rand}Ue.exports=g,g.create=function(c){return new g(c)},g.prototype._randbelow=function(c){var C=c.bitLength(),u=Math.ceil(C/8);do{var P=new e(this.rand.generate(u))}while(P.cmp(c)>=0);return P},g.prototype._randrange=function(c,C){var u=C.sub(c);return c.add(this._randbelow(u))},g.prototype.test=function(c,C,u){var P=c.bitLength(),d=e.mont(c),S=new e(1).toRed(d);C||(C=Math.max(1,P/48|0));for(var M=c.subn(1),I=0;!M.testn(I);I++);for(var D=c.shrn(I),R=M.toRed(d);C>0;C--){var W=this._randrange(new e(2),M);u&&u(W);var Y=W.toRed(d).redPow(D);if(0!==Y.cmp(S)&&0!==Y.cmp(R)){for(var Q=1;Q<I;Q++){if(0===(Y=Y.redSqr()).cmp(S))return!1;if(0===Y.cmp(R))break}if(Q===I)return!1}}return!0},g.prototype.getDivisor=function(c,C){var u=c.bitLength(),P=e.mont(c),d=new e(1).toRed(P);C||(C=Math.max(1,u/48|0));for(var S=c.subn(1),M=0;!S.testn(M);M++);for(var I=c.shrn(M),D=S.toRed(P);C>0;C--){var R=this._randrange(new e(2),S),F=c.gcd(R);if(0!==F.cmpn(1))return F;var W=R.toRed(P).redPow(I);if(0!==W.cmp(d)&&0!==W.cmp(D)){for(var Y=1;Y<M;Y++){if(0===(W=W.redSqr()).cmp(d))return W.fromRed().subn(1).gcd(c);if(0===W.cmp(D))break}if(Y===M)return(W=W.redSqr()).fromRed().subn(1).gcd(c)}}return!1}},303:function(Ue,q,p){!function(e,t){"use strict";function g(E,i){if(!E)throw new Error(i||"Assertion failed")}function T(E,i){E.super_=i;var o=function(){};o.prototype=i.prototype,E.prototype=new o,E.prototype.constructor=E}function c(E,i,o){if(c.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,null!==E&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(E||0,i||10,o||"be"))}var C;"object"==typeof e?e.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(6619).Buffer}catch{}function u(E,i){var o=E.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(E,i,o){var m=u(E,o);return o-1>=i&&(m|=u(E,o-1)<<4),m}function d(E,i,o,m){for(var l=0,y=Math.min(E.length,o),L=i;L<y;L++){var O=E.charCodeAt(L)-48;l*=m,l+=O>=49?O-49+10:O>=17?O-17+10:O}return l}c.isBN=function(i){return i instanceof c||null!==i&&"object"==typeof i&&i.constructor.wordSize===c.wordSize&&Array.isArray(i.words)},c.max=function(i,o){return i.cmp(o)>0?i:o},c.min=function(i,o){return i.cmp(o)<0?i:o},c.prototype._init=function(i,o,m){if("number"==typeof i)return this._initNumber(i,o,m);if("object"==typeof i)return this._initArray(i,o,m);"hex"===o&&(o=16),g(o===(0|o)&&o>=2&&o<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===o?this._parseHex(i,l,m):(this._parseBase(i,o,l),"le"===m&&this._initArray(this.toArray(),o,m)))},c.prototype._initNumber=function(i,o,m){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"===m&&this._initArray(this.toArray(),o,m)},c.prototype._initArray=function(i,o,m){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 l=0;l<this.length;l++)this.words[l]=0;var y,L,O=0;if("be"===m)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(L=i[l]|i[l-1]<<8|i[l-2]<<16)<<O&67108863,this.words[y+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,y++);else if("le"===m)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(L=i[l]|i[l+1]<<8|i[l+2]<<16)<<O&67108863,this.words[y+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,y++);return this.strip()},c.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var O,y=0,L=0;if("be"===m)for(l=i.length-1;l>=o;l-=2)O=P(i,o,l)<<y,this.words[L]|=67108863&O,y>=18?(y-=18,this.words[L+=1]|=O>>>26):y+=8;else for(l=(i.length-o)%2==0?o+1:o;l<i.length;l+=2)O=P(i,o,l)<<y,this.words[L]|=67108863&O,y>=18?(y-=18,this.words[L+=1]|=O>>>26):y+=8;this.strip()},c.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=o)l++;l--,y=y/o|0;for(var L=i.length-m,O=L%l,b=Math.min(L,L-O)+m,n=0,_=m;_<b;_+=l)n=d(i,_,_+l,o),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==O){var H=1;for(n=d(i,_,i.length,o),_=0;_<O;_++)H*=o;this.imuln(H),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},c.prototype.copy=function(i){i.words=new Array(this.length);for(var o=0;o<this.length;o++)i.words[o]=this.words[o];i.length=this.length,i.negative=this.negative,i.red=this.red},c.prototype.clone=function(){var i=new c(null);return this.copy(i),i},c.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},c.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function R(E,i,o){o.negative=i.negative^E.negative;var m=E.length+i.length|0;o.length=m,m=m-1|0;var l=0|E.words[0],y=0|i.words[0],L=l*y,b=L/67108864|0;o.words[0]=67108863&L;for(var n=1;n<m;n++){for(var _=b>>>26,H=67108863&b,V=Math.min(n,i.length-1),K=Math.max(0,n-E.length+1);K<=V;K++)_+=(L=(l=0|E.words[n-K|0])*(y=0|i.words[K])+H)/67108864|0,H=67108863&L;o.words[n]=0|H,b=0|_}return 0!==b?o.words[n]=0|b:o.length--,o.strip()}c.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var l=0,y=0,L=0;L<this.length;L++){var O=this.words[L],b=(16777215&(O<<l|y)).toString(16);m=0!=(y=O>>>24-l&16777215)||L!==this.length-1?S[6-b.length]+b+m:b+m,(l+=2)>=26&&(l-=26,L--)}for(0!==y&&(m=y.toString(16)+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(i===(0|i)&&i>=2&&i<=36){var n=M[i],_=I[i];m="";var H=this.clone();for(H.negative=0;!H.isZero();){var V=H.modn(_).toString(i);m=(H=H.idivn(_)).isZero()?V+m:S[n-V.length]+V+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}g(!1,"Base should be between 2 and 36")},c.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},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(i,o){return g(typeof C<"u"),this.toArrayLike(C,i,o)},c.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},c.prototype.toArrayLike=function(i,o,m){var l=this.byteLength(),y=m||Math.max(1,l);g(l<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var b,n,L="le"===o,O=new i(y),_=this.clone();if(L){for(n=0;!_.isZero();n++)b=_.andln(255),_.iushrn(8),O[n]=b;for(;n<y;n++)O[n]=0}else{for(n=0;n<y-l;n++)O[n]=0;for(n=0;!_.isZero();n++)b=_.andln(255),_.iushrn(8),O[y-n-1]=b}return O},c.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var o=i,m=0;return o>=4096&&(m+=13,o>>>=13),o>=64&&(m+=7,o>>>=7),o>=8&&(m+=4,o>>>=4),o>=2&&(m+=2,o>>>=2),m+o},c.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 8191&o||(m+=13,o>>>=13),127&o||(m+=7,o>>>=7),15&o||(m+=4,o>>>=4),3&o||(m+=2,o>>>=2),1&o||m++,m},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,o=0;o<this.length;o++){var m=this._zeroBits(this.words[o]);if(i+=m,26!==m)break}return i},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},c.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var o=0;o<i.length;o++)this.words[o]=this.words[o]|i.words[o];return this.strip()},c.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},c.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},c.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},c.prototype.iuand=function(i){var o;o=this.length>i.length?i:this;for(var m=0;m<o.length;m++)this.words[m]=this.words[m]&i.words[m];return this.length=o.length,this.strip()},c.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},c.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},c.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},c.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var l=0;l<m.length;l++)this.words[l]=o.words[l]^m.words[l];if(this!==o)for(;l<o.length;l++)this.words[l]=o.words[l];return this.length=o.length,this.strip()},c.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},c.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},c.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},c.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var l=0;l<o;l++)this.words[l]=67108863&~this.words[l];return m>0&&(this.words[l]=~this.words[l]&67108863>>26-m),this.strip()},c.prototype.notn=function(i){return this.clone().inotn(i)},c.prototype.setn=function(i,o){g("number"==typeof i&&i>=0);var m=i/26|0,l=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<l:this.words[m]&~(1<<l),this.strip()},c.prototype.iadd=function(i){var o,m,l;if(0!==this.negative&&0===i.negative)return this.negative=0,o=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,o=this.isub(i),i.negative=1,o._normSign();this.length>i.length?(m=this,l=i):(m=i,l=this);for(var y=0,L=0;L<l.length;L++)this.words[L]=67108863&(o=(0|m.words[L])+(0|l.words[L])+y),y=o>>>26;for(;0!==y&&L<m.length;L++)this.words[L]=67108863&(o=(0|m.words[L])+y),y=o>>>26;if(this.length=m.length,0!==y)this.words[this.length]=y,this.length++;else if(m!==this)for(;L<m.length;L++)this.words[L]=m.words[L];return this},c.prototype.add=function(i){var o;return 0!==i.negative&&0===this.negative?(i.negative=0,o=this.sub(i),i.negative^=1,o):0===i.negative&&0!==this.negative?(this.negative=0,o=i.sub(this),this.negative=1,o):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},c.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var o=this.iadd(i);return i.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(l=this,y=i):(l=i,y=this);for(var L=0,O=0;O<y.length;O++)L=(o=(0|l.words[O])-(0|y.words[O])+L)>>26,this.words[O]=67108863&o;for(;0!==L&&O<l.length;O++)L=(o=(0|l.words[O])+L)>>26,this.words[O]=67108863&o;if(0===L&&O<l.length&&l!==this)for(;O<l.length;O++)this.words[O]=l.words[O];return this.length=Math.max(this.length,O),l!==this&&(this.negative=1),this.strip()},c.prototype.sub=function(i){return this.clone().isub(i)};var F=function(i,o,m){var b,n,_,l=i.words,y=o.words,L=m.words,O=0,H=0|l[0],V=8191&H,K=H>>>13,se=0|l[1],Ye=8191&se,Oe=se>>>13,Qe=0|l[2],be=8191&Qe,ue=Qe>>>13,xe=0|l[3],Pe=8191&xe,oe=xe>>>13,ze=0|l[4],we=8191&ze,le=ze>>>13,ge=0|l[5],fe=8191&ge,Ge=ge>>>13,Le=0|l[6],Ne=8191&Le,Ve=Le>>>13,at=0|l[7],ve=8191&at,De=at>>>13,xt=0|l[8],ct=8191&xt,et=xt>>>13,Ct=0|l[9],ke=8191&Ct,ot=Ct>>>13,Je=0|y[0],re=8191&Je,Be=Je>>>13,Nt=0|y[1],Ke=8191&Nt,yt=Nt>>>13,kt=0|y[2],Dt=8191&kt,Rt=kt>>>13,pt=0|y[3],vt=8191&pt,Te=pt>>>13,tt=0|y[4],Ze=8191&tt,Mt=tt>>>13,oi=0|y[5],Tt=8191&oi,mt=oi>>>13,he=0|y[6],ee=8191&he,Ce=he>>>13,At=0|y[7],Lt=8191&At,jt=At>>>13,Zt=0|y[8],Kt=8191&Zt,Xe=Zt>>>13,Bt=0|y[9],qe=8191&Bt,nt=Bt>>>13;m.negative=i.negative^o.negative,m.length=19;var Wt=(O+(b=Math.imul(V,re))|0)+((8191&(n=(n=Math.imul(V,Be))+Math.imul(K,re)|0))<<13)|0;O=((_=Math.imul(K,Be))+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,b=Math.imul(Ye,re),n=(n=Math.imul(Ye,Be))+Math.imul(Oe,re)|0,_=Math.imul(Oe,Be);var si=(O+(b=b+Math.imul(V,Ke)|0)|0)+((8191&(n=(n=n+Math.imul(V,yt)|0)+Math.imul(K,Ke)|0))<<13)|0;O=((_=_+Math.imul(K,yt)|0)+(n>>>13)|0)+(si>>>26)|0,si&=67108863,b=Math.imul(be,re),n=(n=Math.imul(be,Be))+Math.imul(ue,re)|0,_=Math.imul(ue,Be),b=b+Math.imul(Ye,Ke)|0,n=(n=n+Math.imul(Ye,yt)|0)+Math.imul(Oe,Ke)|0,_=_+Math.imul(Oe,yt)|0;var li=(O+(b=b+Math.imul(V,Dt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Rt)|0)+Math.imul(K,Dt)|0))<<13)|0;O=((_=_+Math.imul(K,Rt)|0)+(n>>>13)|0)+(li>>>26)|0,li&=67108863,b=Math.imul(Pe,re),n=(n=Math.imul(Pe,Be))+Math.imul(oe,re)|0,_=Math.imul(oe,Be),b=b+Math.imul(be,Ke)|0,n=(n=n+Math.imul(be,yt)|0)+Math.imul(ue,Ke)|0,_=_+Math.imul(ue,yt)|0,b=b+Math.imul(Ye,Dt)|0,n=(n=n+Math.imul(Ye,Rt)|0)+Math.imul(Oe,Dt)|0,_=_+Math.imul(Oe,Rt)|0;var xi=(O+(b=b+Math.imul(V,vt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Te)|0)+Math.imul(K,vt)|0))<<13)|0;O=((_=_+Math.imul(K,Te)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,b=Math.imul(we,re),n=(n=Math.imul(we,Be))+Math.imul(le,re)|0,_=Math.imul(le,Be),b=b+Math.imul(Pe,Ke)|0,n=(n=n+Math.imul(Pe,yt)|0)+Math.imul(oe,Ke)|0,_=_+Math.imul(oe,yt)|0,b=b+Math.imul(be,Dt)|0,n=(n=n+Math.imul(be,Rt)|0)+Math.imul(ue,Dt)|0,_=_+Math.imul(ue,Rt)|0,b=b+Math.imul(Ye,vt)|0,n=(n=n+Math.imul(Ye,Te)|0)+Math.imul(Oe,vt)|0,_=_+Math.imul(Oe,Te)|0;var Ut=(O+(b=b+Math.imul(V,Ze)|0)|0)+((8191&(n=(n=n+Math.imul(V,Mt)|0)+Math.imul(K,Ze)|0))<<13)|0;O=((_=_+Math.imul(K,Mt)|0)+(n>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,b=Math.imul(fe,re),n=(n=Math.imul(fe,Be))+Math.imul(Ge,re)|0,_=Math.imul(Ge,Be),b=b+Math.imul(we,Ke)|0,n=(n=n+Math.imul(we,yt)|0)+Math.imul(le,Ke)|0,_=_+Math.imul(le,yt)|0,b=b+Math.imul(Pe,Dt)|0,n=(n=n+Math.imul(Pe,Rt)|0)+Math.imul(oe,Dt)|0,_=_+Math.imul(oe,Rt)|0,b=b+Math.imul(be,vt)|0,n=(n=n+Math.imul(be,Te)|0)+Math.imul(ue,vt)|0,_=_+Math.imul(ue,Te)|0,b=b+Math.imul(Ye,Ze)|0,n=(n=n+Math.imul(Ye,Mt)|0)+Math.imul(Oe,Ze)|0,_=_+Math.imul(Oe,Mt)|0;var bt=(O+(b=b+Math.imul(V,Tt)|0)|0)+((8191&(n=(n=n+Math.imul(V,mt)|0)+Math.imul(K,Tt)|0))<<13)|0;O=((_=_+Math.imul(K,mt)|0)+(n>>>13)|0)+(bt>>>26)|0,bt&=67108863,b=Math.imul(Ne,re),n=(n=Math.imul(Ne,Be))+Math.imul(Ve,re)|0,_=Math.imul(Ve,Be),b=b+Math.imul(fe,Ke)|0,n=(n=n+Math.imul(fe,yt)|0)+Math.imul(Ge,Ke)|0,_=_+Math.imul(Ge,yt)|0,b=b+Math.imul(we,Dt)|0,n=(n=n+Math.imul(we,Rt)|0)+Math.imul(le,Dt)|0,_=_+Math.imul(le,Rt)|0,b=b+Math.imul(Pe,vt)|0,n=(n=n+Math.imul(Pe,Te)|0)+Math.imul(oe,vt)|0,_=_+Math.imul(oe,Te)|0,b=b+Math.imul(be,Ze)|0,n=(n=n+Math.imul(be,Mt)|0)+Math.imul(ue,Ze)|0,_=_+Math.imul(ue,Mt)|0,b=b+Math.imul(Ye,Tt)|0,n=(n=n+Math.imul(Ye,mt)|0)+Math.imul(Oe,Tt)|0,_=_+Math.imul(Oe,mt)|0;var $e=(O+(b=b+Math.imul(V,ee)|0)|0)+((8191&(n=(n=n+Math.imul(V,Ce)|0)+Math.imul(K,ee)|0))<<13)|0;O=((_=_+Math.imul(K,Ce)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,b=Math.imul(ve,re),n=(n=Math.imul(ve,Be))+Math.imul(De,re)|0,_=Math.imul(De,Be),b=b+Math.imul(Ne,Ke)|0,n=(n=n+Math.imul(Ne,yt)|0)+Math.imul(Ve,Ke)|0,_=_+Math.imul(Ve,yt)|0,b=b+Math.imul(fe,Dt)|0,n=(n=n+Math.imul(fe,Rt)|0)+Math.imul(Ge,Dt)|0,_=_+Math.imul(Ge,Rt)|0,b=b+Math.imul(we,vt)|0,n=(n=n+Math.imul(we,Te)|0)+Math.imul(le,vt)|0,_=_+Math.imul(le,Te)|0,b=b+Math.imul(Pe,Ze)|0,n=(n=n+Math.imul(Pe,Mt)|0)+Math.imul(oe,Ze)|0,_=_+Math.imul(oe,Mt)|0,b=b+Math.imul(be,Tt)|0,n=(n=n+Math.imul(be,mt)|0)+Math.imul(ue,Tt)|0,_=_+Math.imul(ue,mt)|0,b=b+Math.imul(Ye,ee)|0,n=(n=n+Math.imul(Ye,Ce)|0)+Math.imul(Oe,ee)|0,_=_+Math.imul(Oe,Ce)|0;var ut=(O+(b=b+Math.imul(V,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(V,jt)|0)+Math.imul(K,Lt)|0))<<13)|0;O=((_=_+Math.imul(K,jt)|0)+(n>>>13)|0)+(ut>>>26)|0,ut&=67108863,b=Math.imul(ct,re),n=(n=Math.imul(ct,Be))+Math.imul(et,re)|0,_=Math.imul(et,Be),b=b+Math.imul(ve,Ke)|0,n=(n=n+Math.imul(ve,yt)|0)+Math.imul(De,Ke)|0,_=_+Math.imul(De,yt)|0,b=b+Math.imul(Ne,Dt)|0,n=(n=n+Math.imul(Ne,Rt)|0)+Math.imul(Ve,Dt)|0,_=_+Math.imul(Ve,Rt)|0,b=b+Math.imul(fe,vt)|0,n=(n=n+Math.imul(fe,Te)|0)+Math.imul(Ge,vt)|0,_=_+Math.imul(Ge,Te)|0,b=b+Math.imul(we,Ze)|0,n=(n=n+Math.imul(we,Mt)|0)+Math.imul(le,Ze)|0,_=_+Math.imul(le,Mt)|0,b=b+Math.imul(Pe,Tt)|0,n=(n=n+Math.imul(Pe,mt)|0)+Math.imul(oe,Tt)|0,_=_+Math.imul(oe,mt)|0,b=b+Math.imul(be,ee)|0,n=(n=n+Math.imul(be,Ce)|0)+Math.imul(ue,ee)|0,_=_+Math.imul(ue,Ce)|0,b=b+Math.imul(Ye,Lt)|0,n=(n=n+Math.imul(Ye,jt)|0)+Math.imul(Oe,Lt)|0,_=_+Math.imul(Oe,jt)|0;var Et=(O+(b=b+Math.imul(V,Kt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Xe)|0)+Math.imul(K,Kt)|0))<<13)|0;O=((_=_+Math.imul(K,Xe)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863,b=Math.imul(ke,re),n=(n=Math.imul(ke,Be))+Math.imul(ot,re)|0,_=Math.imul(ot,Be),b=b+Math.imul(ct,Ke)|0,n=(n=n+Math.imul(ct,yt)|0)+Math.imul(et,Ke)|0,_=_+Math.imul(et,yt)|0,b=b+Math.imul(ve,Dt)|0,n=(n=n+Math.imul(ve,Rt)|0)+Math.imul(De,Dt)|0,_=_+Math.imul(De,Rt)|0,b=b+Math.imul(Ne,vt)|0,n=(n=n+Math.imul(Ne,Te)|0)+Math.imul(Ve,vt)|0,_=_+Math.imul(Ve,Te)|0,b=b+Math.imul(fe,Ze)|0,n=(n=n+Math.imul(fe,Mt)|0)+Math.imul(Ge,Ze)|0,_=_+Math.imul(Ge,Mt)|0,b=b+Math.imul(we,Tt)|0,n=(n=n+Math.imul(we,mt)|0)+Math.imul(le,Tt)|0,_=_+Math.imul(le,mt)|0,b=b+Math.imul(Pe,ee)|0,n=(n=n+Math.imul(Pe,Ce)|0)+Math.imul(oe,ee)|0,_=_+Math.imul(oe,Ce)|0,b=b+Math.imul(be,Lt)|0,n=(n=n+Math.imul(be,jt)|0)+Math.imul(ue,Lt)|0,_=_+Math.imul(ue,jt)|0,b=b+Math.imul(Ye,Kt)|0,n=(n=n+Math.imul(Ye,Xe)|0)+Math.imul(Oe,Kt)|0,_=_+Math.imul(Oe,Xe)|0;var qt=(O+(b=b+Math.imul(V,qe)|0)|0)+((8191&(n=(n=n+Math.imul(V,nt)|0)+Math.imul(K,qe)|0))<<13)|0;O=((_=_+Math.imul(K,nt)|0)+(n>>>13)|0)+(qt>>>26)|0,qt&=67108863,b=Math.imul(ke,Ke),n=(n=Math.imul(ke,yt))+Math.imul(ot,Ke)|0,_=Math.imul(ot,yt),b=b+Math.imul(ct,Dt)|0,n=(n=n+Math.imul(ct,Rt)|0)+Math.imul(et,Dt)|0,_=_+Math.imul(et,Rt)|0,b=b+Math.imul(ve,vt)|0,n=(n=n+Math.imul(ve,Te)|0)+Math.imul(De,vt)|0,_=_+Math.imul(De,Te)|0,b=b+Math.imul(Ne,Ze)|0,n=(n=n+Math.imul(Ne,Mt)|0)+Math.imul(Ve,Ze)|0,_=_+Math.imul(Ve,Mt)|0,b=b+Math.imul(fe,Tt)|0,n=(n=n+Math.imul(fe,mt)|0)+Math.imul(Ge,Tt)|0,_=_+Math.imul(Ge,mt)|0,b=b+Math.imul(we,ee)|0,n=(n=n+Math.imul(we,Ce)|0)+Math.imul(le,ee)|0,_=_+Math.imul(le,Ce)|0,b=b+Math.imul(Pe,Lt)|0,n=(n=n+Math.imul(Pe,jt)|0)+Math.imul(oe,Lt)|0,_=_+Math.imul(oe,jt)|0,b=b+Math.imul(be,Kt)|0,n=(n=n+Math.imul(be,Xe)|0)+Math.imul(ue,Kt)|0,_=_+Math.imul(ue,Xe)|0;var pi=(O+(b=b+Math.imul(Ye,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ye,nt)|0)+Math.imul(Oe,qe)|0))<<13)|0;O=((_=_+Math.imul(Oe,nt)|0)+(n>>>13)|0)+(pi>>>26)|0,pi&=67108863,b=Math.imul(ke,Dt),n=(n=Math.imul(ke,Rt))+Math.imul(ot,Dt)|0,_=Math.imul(ot,Rt),b=b+Math.imul(ct,vt)|0,n=(n=n+Math.imul(ct,Te)|0)+Math.imul(et,vt)|0,_=_+Math.imul(et,Te)|0,b=b+Math.imul(ve,Ze)|0,n=(n=n+Math.imul(ve,Mt)|0)+Math.imul(De,Ze)|0,_=_+Math.imul(De,Mt)|0,b=b+Math.imul(Ne,Tt)|0,n=(n=n+Math.imul(Ne,mt)|0)+Math.imul(Ve,Tt)|0,_=_+Math.imul(Ve,mt)|0,b=b+Math.imul(fe,ee)|0,n=(n=n+Math.imul(fe,Ce)|0)+Math.imul(Ge,ee)|0,_=_+Math.imul(Ge,Ce)|0,b=b+Math.imul(we,Lt)|0,n=(n=n+Math.imul(we,jt)|0)+Math.imul(le,Lt)|0,_=_+Math.imul(le,jt)|0,b=b+Math.imul(Pe,Kt)|0,n=(n=n+Math.imul(Pe,Xe)|0)+Math.imul(oe,Kt)|0,_=_+Math.imul(oe,Xe)|0;var Si=(O+(b=b+Math.imul(be,qe)|0)|0)+((8191&(n=(n=n+Math.imul(be,nt)|0)+Math.imul(ue,qe)|0))<<13)|0;O=((_=_+Math.imul(ue,nt)|0)+(n>>>13)|0)+(Si>>>26)|0,Si&=67108863,b=Math.imul(ke,vt),n=(n=Math.imul(ke,Te))+Math.imul(ot,vt)|0,_=Math.imul(ot,Te),b=b+Math.imul(ct,Ze)|0,n=(n=n+Math.imul(ct,Mt)|0)+Math.imul(et,Ze)|0,_=_+Math.imul(et,Mt)|0,b=b+Math.imul(ve,Tt)|0,n=(n=n+Math.imul(ve,mt)|0)+Math.imul(De,Tt)|0,_=_+Math.imul(De,mt)|0,b=b+Math.imul(Ne,ee)|0,n=(n=n+Math.imul(Ne,Ce)|0)+Math.imul(Ve,ee)|0,_=_+Math.imul(Ve,Ce)|0,b=b+Math.imul(fe,Lt)|0,n=(n=n+Math.imul(fe,jt)|0)+Math.imul(Ge,Lt)|0,_=_+Math.imul(Ge,jt)|0,b=b+Math.imul(we,Kt)|0,n=(n=n+Math.imul(we,Xe)|0)+Math.imul(le,Kt)|0,_=_+Math.imul(le,Xe)|0;var Fi=(O+(b=b+Math.imul(Pe,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Pe,nt)|0)+Math.imul(oe,qe)|0))<<13)|0;O=((_=_+Math.imul(oe,nt)|0)+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,b=Math.imul(ke,Ze),n=(n=Math.imul(ke,Mt))+Math.imul(ot,Ze)|0,_=Math.imul(ot,Mt),b=b+Math.imul(ct,Tt)|0,n=(n=n+Math.imul(ct,mt)|0)+Math.imul(et,Tt)|0,_=_+Math.imul(et,mt)|0,b=b+Math.imul(ve,ee)|0,n=(n=n+Math.imul(ve,Ce)|0)+Math.imul(De,ee)|0,_=_+Math.imul(De,Ce)|0,b=b+Math.imul(Ne,Lt)|0,n=(n=n+Math.imul(Ne,jt)|0)+Math.imul(Ve,Lt)|0,_=_+Math.imul(Ve,jt)|0,b=b+Math.imul(fe,Kt)|0,n=(n=n+Math.imul(fe,Xe)|0)+Math.imul(Ge,Kt)|0,_=_+Math.imul(Ge,Xe)|0;var Ri=(O+(b=b+Math.imul(we,qe)|0)|0)+((8191&(n=(n=n+Math.imul(we,nt)|0)+Math.imul(le,qe)|0))<<13)|0;O=((_=_+Math.imul(le,nt)|0)+(n>>>13)|0)+(Ri>>>26)|0,Ri&=67108863,b=Math.imul(ke,Tt),n=(n=Math.imul(ke,mt))+Math.imul(ot,Tt)|0,_=Math.imul(ot,mt),b=b+Math.imul(ct,ee)|0,n=(n=n+Math.imul(ct,Ce)|0)+Math.imul(et,ee)|0,_=_+Math.imul(et,Ce)|0,b=b+Math.imul(ve,Lt)|0,n=(n=n+Math.imul(ve,jt)|0)+Math.imul(De,Lt)|0,_=_+Math.imul(De,jt)|0,b=b+Math.imul(Ne,Kt)|0,n=(n=n+Math.imul(Ne,Xe)|0)+Math.imul(Ve,Kt)|0,_=_+Math.imul(Ve,Xe)|0;var Ui=(O+(b=b+Math.imul(fe,qe)|0)|0)+((8191&(n=(n=n+Math.imul(fe,nt)|0)+Math.imul(Ge,qe)|0))<<13)|0;O=((_=_+Math.imul(Ge,nt)|0)+(n>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,b=Math.imul(ke,ee),n=(n=Math.imul(ke,Ce))+Math.imul(ot,ee)|0,_=Math.imul(ot,Ce),b=b+Math.imul(ct,Lt)|0,n=(n=n+Math.imul(ct,jt)|0)+Math.imul(et,Lt)|0,_=_+Math.imul(et,jt)|0,b=b+Math.imul(ve,Kt)|0,n=(n=n+Math.imul(ve,Xe)|0)+Math.imul(De,Kt)|0,_=_+Math.imul(De,Xe)|0;var nn=(O+(b=b+Math.imul(Ne,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ne,nt)|0)+Math.imul(Ve,qe)|0))<<13)|0;O=((_=_+Math.imul(Ve,nt)|0)+(n>>>13)|0)+(nn>>>26)|0,nn&=67108863,b=Math.imul(ke,Lt),n=(n=Math.imul(ke,jt))+Math.imul(ot,Lt)|0,_=Math.imul(ot,jt),b=b+Math.imul(ct,Kt)|0,n=(n=n+Math.imul(ct,Xe)|0)+Math.imul(et,Kt)|0,_=_+Math.imul(et,Xe)|0;var cn=(O+(b=b+Math.imul(ve,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ve,nt)|0)+Math.imul(De,qe)|0))<<13)|0;O=((_=_+Math.imul(De,nt)|0)+(n>>>13)|0)+(cn>>>26)|0,cn&=67108863,b=Math.imul(ke,Kt),n=(n=Math.imul(ke,Xe))+Math.imul(ot,Kt)|0,_=Math.imul(ot,Xe);var Qi=(O+(b=b+Math.imul(ct,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ct,nt)|0)+Math.imul(et,qe)|0))<<13)|0;O=((_=_+Math.imul(et,nt)|0)+(n>>>13)|0)+(Qi>>>26)|0,Qi&=67108863;var $t=(O+(b=Math.imul(ke,qe))|0)+((8191&(n=(n=Math.imul(ke,nt))+Math.imul(ot,qe)|0))<<13)|0;return O=((_=Math.imul(ot,nt))+(n>>>13)|0)+($t>>>26)|0,$t&=67108863,L[0]=Wt,L[1]=si,L[2]=li,L[3]=xi,L[4]=Ut,L[5]=bt,L[6]=$e,L[7]=ut,L[8]=Et,L[9]=qt,L[10]=pi,L[11]=Si,L[12]=Fi,L[13]=Ri,L[14]=Ui,L[15]=nn,L[16]=cn,L[17]=Qi,L[18]=$t,0!==O&&(L[19]=O,m.length++),m};function Y(E,i,o){return(new Q).mulp(E,i,o)}function Q(E,i){this.x=E,this.y=i}Math.imul||(F=R),c.prototype.mulTo=function(i,o){var m,l=this.length+i.length;return m=10===this.length&&10===i.length?F(this,i,o):l<63?R(this,i,o):l<1024?function W(E,i,o){o.negative=i.negative^E.negative,o.length=E.length+i.length;for(var m=0,l=0,y=0;y<o.length-1;y++){var L=l;l=0;for(var O=67108863&m,b=Math.min(y,i.length-1),n=Math.max(0,y-E.length+1);n<=b;n++){var K=(0|E.words[y-n])*(0|i.words[n]),se=67108863&K;O=67108863&(se=se+O|0),l+=(L=(L=L+(K/67108864|0)|0)+(se>>>26)|0)>>>26,L&=67108863}o.words[y]=O,m=L,L=l}return 0!==m?o.words[y]=m:o.length--,o.strip()}(this,i,o):Y(this,i,o),m},Q.prototype.makeRBT=function(i){for(var o=new Array(i),m=c.prototype._countBits(i)-1,l=0;l<i;l++)o[l]=this.revBin(l,m,i);return o},Q.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var l=0,y=0;y<o;y++)l|=(1&i)<<o-y-1,i>>=1;return l},Q.prototype.permute=function(i,o,m,l,y,L){for(var O=0;O<L;O++)l[O]=o[i[O]],y[O]=m[i[O]]},Q.prototype.transform=function(i,o,m,l,y,L){this.permute(L,i,o,m,l,y);for(var O=1;O<y;O<<=1)for(var b=O<<1,n=Math.cos(2*Math.PI/b),_=Math.sin(2*Math.PI/b),H=0;H<y;H+=b)for(var V=n,K=_,se=0;se<O;se++){var Ye=m[H+se],Oe=l[H+se],Qe=m[H+se+O],be=l[H+se+O],ue=V*Qe-K*be;be=V*be+K*Qe,m[H+se]=Ye+(Qe=ue),l[H+se]=Oe+be,m[H+se+O]=Ye-Qe,l[H+se+O]=Oe-be,se!==b&&(ue=n*V-_*K,K=n*K+_*V,V=ue)}},Q.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),l=1&m,y=0;for(m=m/2|0;m;m>>>=1)y++;return 1<<y+1+l},Q.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var l=0;l<m/2;l++){var y=i[l];i[l]=i[m-l-1],i[m-l-1]=y,y=o[l],o[l]=-o[m-l-1],o[m-l-1]=-y}},Q.prototype.normalize13b=function(i,o){for(var m=0,l=0;l<o/2;l++){var y=8192*Math.round(i[2*l+1]/o)+Math.round(i[2*l]/o)+m;i[l]=67108863&y,m=y<67108864?0:y/67108864|0}return i},Q.prototype.convert13b=function(i,o,m,l){for(var y=0,L=0;L<o;L++)m[2*L]=8191&(y+=0|i[L]),m[2*L+1]=8191&(y>>>=13),y>>>=13;for(L=2*o;L<l;++L)m[L]=0;g(0===y),g(0==(-8192&y))},Q.prototype.stub=function(i){for(var o=new Array(i),m=0;m<i;m++)o[m]=0;return o},Q.prototype.mulp=function(i,o,m){var l=2*this.guessLen13b(i.length,o.length),y=this.makeRBT(l),L=this.stub(l),O=new Array(l),b=new Array(l),n=new Array(l),_=new Array(l),H=new Array(l),V=new Array(l),K=m.words;K.length=l,this.convert13b(i.words,i.length,O,l),this.convert13b(o.words,o.length,_,l),this.transform(O,L,b,n,l,y),this.transform(_,L,H,V,l,y);for(var se=0;se<l;se++){var Ye=b[se]*H[se]-n[se]*V[se];n[se]=b[se]*V[se]+n[se]*H[se],b[se]=Ye}return this.conjugate(b,n,l),this.transform(b,n,K,L,l,y),this.conjugate(K,L,l),this.normalize13b(K,l),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},c.prototype.mul=function(i){var o=new c(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},c.prototype.mulf=function(i){var o=new c(null);return o.words=new Array(this.length+i.length),Y(this,i,o)},c.prototype.imul=function(i){return this.clone().mulTo(i,this)},c.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var o=0,m=0;m<this.length;m++){var l=(0|this.words[m])*i,y=(67108863&l)+(67108863&o);o>>=26,o+=l/67108864|0,o+=y>>>26,this.words[m]=67108863&y}return 0!==o&&(this.words[m]=o,this.length++),this},c.prototype.muln=function(i){return this.clone().imuln(i)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(i){var o=function D(E){for(var i=new Array(E.bitLength()),o=0;o<i.length;o++){var l=o%26;i[o]=(E.words[o/26|0]&1<<l)>>>l}return i}(i);if(0===o.length)return new c(1);for(var m=this,l=0;l<o.length&&0===o[l];l++,m=m.sqr());if(++l<o.length)for(var y=m.sqr();l<o.length;l++,y=y.sqr())0!==o[l]&&(m=m.mul(y));return m},c.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,o=i%26,m=(i-o)/26,l=67108863>>>26-o<<26-o;if(0!==o){var L=0;for(y=0;y<this.length;y++){var O=this.words[y]&l;this.words[y]=(0|this.words[y])-O<<o|L,L=O>>>26-o}L&&(this.words[y]=L,this.length++)}if(0!==m){for(y=this.length-1;y>=0;y--)this.words[y+m]=this.words[y];for(y=0;y<m;y++)this.words[y]=0;this.length+=m}return this.strip()},c.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},c.prototype.iushrn=function(i,o,m){var l;g("number"==typeof i&&i>=0),l=o?(o-o%26)/26:0;var y=i%26,L=Math.min((i-y)/26,this.length),O=67108863^67108863>>>y<<y,b=m;if(l-=L,l=Math.max(0,l),b){for(var n=0;n<L;n++)b.words[n]=this.words[n];b.length=L}if(0!==L)if(this.length>L)for(this.length-=L,n=0;n<this.length;n++)this.words[n]=this.words[n+L];else this.words[0]=0,this.length=1;var _=0;for(n=this.length-1;n>=0&&(0!==_||n>=l);n--){var H=0|this.words[n];this.words[n]=_<<26-y|H>>>y,_=H&O}return b&&0!==_&&(b.words[b.length++]=_),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(i,o,m){return g(0===this.negative),this.iushrn(i,o,m)},c.prototype.shln=function(i){return this.clone().ishln(i)},c.prototype.ushln=function(i){return this.clone().iushln(i)},c.prototype.shrn=function(i){return this.clone().ishrn(i)},c.prototype.ushrn=function(i){return this.clone().iushrn(i)},c.prototype.testn=function(i){g("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;return!(this.length<=m||!(this.words[m]&1<<o))},c.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==o&&m++,this.length=Math.min(m,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<<o),this.strip())},c.prototype.maskn=function(i){return this.clone().imaskn(i)},c.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)},c.prototype._iaddn=function(i){this.words[0]+=i;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},c.prototype.addn=function(i){return this.clone().iaddn(i)},c.prototype.subn=function(i){return this.clone().isubn(i)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(i,o,m){var y;this._expand(i.length+m);var L,O=0;for(y=0;y<i.length;y++){L=(0|this.words[y+m])+O;var b=(0|i.words[y])*o;O=((L-=67108863&b)>>26)-(b/67108864|0),this.words[y+m]=67108863&L}for(;y<this.length-m;y++)O=(L=(0|this.words[y+m])+O)>>26,this.words[y+m]=67108863&L;if(0===O)return this.strip();for(g(-1===O),O=0,y=0;y<this.length;y++)O=(L=-(0|this.words[y])+O)>>26,this.words[y]=67108863&L;return this.negative=1,this.strip()},c.prototype._wordDiv=function(i,o){var m,l=this.clone(),y=i,L=0|y.words[y.length-1];0!=(m=26-this._countBits(L))&&(y=y.ushln(m),l.iushln(m),L=0|y.words[y.length-1]);var n,b=l.length-y.length;if("mod"!==o){(n=new c(null)).length=b+1,n.words=new Array(n.length);for(var _=0;_<n.length;_++)n.words[_]=0}var H=l.clone()._ishlnsubmul(y,1,b);0===H.negative&&(l=H,n&&(n.words[b]=1));for(var V=b-1;V>=0;V--){var K=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(K=Math.min(K/L|0,67108863),l._ishlnsubmul(y,K,V);0!==l.negative;)K--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=K)}return n&&n.strip(),l.strip(),"div"!==o&&0!==m&&l.iushrn(m),{div:n||null,mod:l}},c.prototype.divmod=function(i,o,m){return g(!i.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===i.negative?(L=this.neg().divmod(i,o),"mod"!==o&&(l=L.div.neg()),"div"!==o&&(y=L.mod.neg(),m&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(L=this.divmod(i.neg(),o),"mod"!==o&&(l=L.div.neg()),{div:l,mod:L.mod}):this.negative&i.negative?(L=this.neg().divmod(i.neg(),o),"div"!==o&&(y=L.mod.neg(),m&&0!==y.negative&&y.isub(i)),{div:L.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new c(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new c(this.modn(i.words[0]))}:this._wordDiv(i,o);var l,y,L},c.prototype.div=function(i){return this.divmod(i,"div",!1).div},c.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},c.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},c.prototype.divRound=function(i){var o=this.divmod(i);if(o.mod.isZero())return o.div;var m=0!==o.div.negative?o.mod.isub(i):o.mod,l=i.ushrn(1),y=i.andln(1),L=m.cmp(l);return L<0||1===y&&0===L?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(i){g(i<=67108863);for(var o=(1<<26)%i,m=0,l=this.length-1;l>=0;l--)m=(o*m+(0|this.words[l]))%i;return m},c.prototype.idivn=function(i){g(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var l=(0|this.words[m])+67108864*o;this.words[m]=l/i|0,o=l%i}return this.strip()},c.prototype.divn=function(i){return this.clone().idivn(i)},c.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var l=new c(1),y=new c(0),L=new c(0),O=new c(1),b=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++b;for(var n=m.clone(),_=o.clone();!o.isZero();){for(var H=0,V=1;!(o.words[0]&V)&&H<26;++H,V<<=1);if(H>0)for(o.iushrn(H);H-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(_)),l.iushrn(1),y.iushrn(1);for(var K=0,se=1;!(m.words[0]&se)&&K<26;++K,se<<=1);if(K>0)for(m.iushrn(K);K-- >0;)(L.isOdd()||O.isOdd())&&(L.iadd(n),O.isub(_)),L.iushrn(1),O.iushrn(1);o.cmp(m)>=0?(o.isub(m),l.isub(L),y.isub(O)):(m.isub(o),L.isub(l),O.isub(y))}return{a:L,b:O,gcd:m.iushln(b)}},c.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var H,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var l=new c(1),y=new c(0),L=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var O=0,b=1;!(o.words[0]&b)&&O<26;++O,b<<=1);if(O>0)for(o.iushrn(O);O-- >0;)l.isOdd()&&l.iadd(L),l.iushrn(1);for(var n=0,_=1;!(m.words[0]&_)&&n<26;++n,_<<=1);if(n>0)for(m.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(L),y.iushrn(1);o.cmp(m)>=0?(o.isub(m),l.isub(y)):(m.isub(o),y.isub(l))}return(H=0===o.cmpn(1)?l:y).cmpn(0)<0&&H.iadd(i),H},c.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var o=this.clone(),m=i.clone();o.negative=0,m.negative=0;for(var l=0;o.isEven()&&m.isEven();l++)o.iushrn(1),m.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;m.isEven();)m.iushrn(1);var y=o.cmp(m);if(y<0){var L=o;o=m,m=L}else if(0===y||0===m.cmpn(1))break;o.isub(m)}return m.iushln(l)},c.prototype.invm=function(i){return this.egcd(i).a.umod(i)},c.prototype.isEven=function(){return 0==(1&this.words[0])},c.prototype.isOdd=function(){return 1==(1&this.words[0])},c.prototype.andln=function(i){return this.words[0]&i},c.prototype.bincn=function(i){g("number"==typeof i);var o=i%26,m=(i-o)/26,l=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=l,this;for(var y=l,L=m;0!==y&&L<this.length;L++){var O=0|this.words[L];y=(O+=y)>>>26,this.words[L]=O&=67108863}return 0!==y&&(this.words[L]=y,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(i){var m,o=i<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)m=1;else{o&&(i=-i),g(i<=67108863,"Number is too big");var l=0|this.words[0];m=l===i?0:l<i?-1:1}return 0!==this.negative?0|-m:m},c.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var o=this.ucmp(i);return 0!==this.negative?0|-o:o},c.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var o=0,m=this.length-1;m>=0;m--){var l=0|this.words[m],y=0|i.words[m];if(l!==y){l<y?o=-1:l>y&&(o=1);break}}return o},c.prototype.gtn=function(i){return 1===this.cmpn(i)},c.prototype.gt=function(i){return 1===this.cmp(i)},c.prototype.gten=function(i){return this.cmpn(i)>=0},c.prototype.gte=function(i){return this.cmp(i)>=0},c.prototype.ltn=function(i){return-1===this.cmpn(i)},c.prototype.lt=function(i){return-1===this.cmp(i)},c.prototype.lten=function(i){return this.cmpn(i)<=0},c.prototype.lte=function(i){return this.cmp(i)<=0},c.prototype.eqn=function(i){return 0===this.cmpn(i)},c.prototype.eq=function(i){return 0===this.cmp(i)},c.red=function(i){return new te(i)},c.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)},c.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(i){return this.red=i,this},c.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},c.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},c.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},c.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},c.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},c.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},c.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},c.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},c.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var J={k256:null,p224:null,p192:null,p25519:null};function ne(E,i){this.name=E,this.p=new c(i,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function X(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function pe(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function de(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(E){if("string"==typeof E){var i=c._prime(E);this.m=i.p,this.prime=i}else g(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}function ae(E){te.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(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)}ne.prototype._tmp=function(){var i=new c(null);return i.words=new Array(Math.ceil(this.n/13)),i},ne.prototype.ireduce=function(i){var m,o=i;do{this.split(o,this.tmp),m=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(m>this.n);var l=m<this.n?-1:o.ucmp(this.p);return 0===l?(o.words[0]=0,o.length=1):l>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},ne.prototype.split=function(i,o){i.iushrn(this.n,0,o)},ne.prototype.imulK=function(i){return i.imul(this.k)},T(X,ne),X.prototype.split=function(i,o){for(var m=4194303,l=Math.min(i.length,9),y=0;y<l;y++)o.words[y]=i.words[y];if(o.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var L=i.words[9];for(o.words[o.length++]=L&m,y=10;y<i.length;y++){var O=0|i.words[y];i.words[y-10]=(O&m)<<4|L>>>22,L=O}i.words[y-10]=L>>>=22,i.length-=0===L&&i.length>10?10:9},X.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var o=0,m=0;m<i.length;m++){var l=0|i.words[m];i.words[m]=67108863&(o+=977*l),o=64*l+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},T(pe,ne),T(ie,ne),T(de,ne),de.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var l=19*(0|i.words[m])+o,y=67108863&l;l>>>=26,i.words[m]=y,o=l}return 0!==o&&(i.words[i.length++]=o),i},c._prime=function(i){if(J[i])return J[i];var o;if("k256"===i)o=new X;else if("p224"===i)o=new pe;else if("p192"===i)o=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new de}return J[i]=o,o},te.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},te.prototype._verify2=function(i,o){g(0==(i.negative|o.negative),"red works only with positives"),g(i.red&&i.red===o.red,"red works only with red numbers")},te.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},te.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},te.prototype.add=function(i,o){this._verify2(i,o);var m=i.add(o);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},te.prototype.iadd=function(i,o){this._verify2(i,o);var m=i.iadd(o);return m.cmp(this.m)>=0&&m.isub(this.m),m},te.prototype.sub=function(i,o){this._verify2(i,o);var m=i.sub(o);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},te.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},te.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},te.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},te.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},te.prototype.isqr=function(i){return this.imul(i,i.clone())},te.prototype.sqr=function(i){return this.mul(i,i)},te.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(g(o%2==1),3===o){var m=this.m.add(new c(1)).iushrn(2);return this.pow(i,m)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);g(!l.isZero());var L=new c(1).toRed(this),O=L.redNeg(),b=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new c(2*n*n).toRed(this);0!==this.pow(n,b).cmp(O);)n.redIAdd(O);for(var _=this.pow(n,l),H=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),K=y;0!==V.cmp(L);){for(var se=V,Ye=0;0!==se.cmp(L);Ye++)se=se.redSqr();g(Ye<K);var Oe=this.pow(_,new c(1).iushln(K-Ye-1));H=H.redMul(Oe),_=Oe.redSqr(),V=V.redMul(_),K=Ye}return H},te.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},te.prototype.pow=function(i,o){if(o.isZero())return new c(1).toRed(this);if(0===o.cmpn(1))return i.clone();var l=new Array(16);l[0]=new c(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var L=l[0],O=0,b=0,n=o.bitLength()%26;for(0===n&&(n=26),y=o.length-1;y>=0;y--){for(var _=o.words[y],H=n-1;H>=0;H--){var V=_>>H&1;L!==l[0]&&(L=this.sqr(L)),0!==V||0!==O?(O<<=1,O|=V,(4==++b||0===y&&0===H)&&(L=this.mul(L,l[O]),b=0,O=0)):b=0}n=26}return L},te.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},te.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},c.mont=function(i){return new ae(i)},T(ae,te),ae.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},ae.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},ae.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),l=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(l).iushrn(this.shift),L=y;return y.cmp(this.m)>=0?L=y.isub(this.m):y.cmpn(0)<0&&(L=y.iadd(this.m)),L._forceRed(this)},ae.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new c(0)._forceRed(this);var m=i.mul(o),l=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(l).iushrn(this.shift),L=y;return y.cmp(this.m)>=0?L=y.isub(this.m):y.cmpn(0)<0&&(L=y.iadd(this.m)),L._forceRed(this)},ae.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ue=p.nmd(Ue),this)},7798:Ue=>{function q(p,e){if(!p)throw new Error(e||"Assertion failed")}Ue.exports=q,q.equal=function(e,t,g){if(e!=t)throw new Error(g||"Assertion failed: "+e+" != "+t)}},8247:(Ue,q)=>{"use strict";var p=q;function t(T){return 1===T.length?"0"+T:T}function g(T){for(var c="",C=0;C<T.length;C++)c+=t(T[C].toString(16));return c}p.toArray=function e(T,c){if(Array.isArray(T))return T.slice();if(!T)return[];var C=[];if("string"!=typeof T){for(var u=0;u<T.length;u++)C[u]=0|T[u];return C}if("hex"===c)for((T=T.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(T="0"+T),u=0;u<T.length;u+=2)C.push(parseInt(T[u]+T[u+1],16));else for(u=0;u<T.length;u++){var P=T.charCodeAt(u),d=P>>8,S=255&P;d?C.push(d,S):C.push(S)}return C},p.zero2=t,p.toHex=g,p.encode=function(c,C){return"hex"===C?g(c):c}},3439:(Ue,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var e=p(6981);Object.keys(e).forEach(function(t){"default"!==t&&Object.defineProperty(q,t,{enumerable:!0,get:function(){return e[t]}})})},1322:(Ue,q,p)=>{"use strict";var e=p(7414);q.certificate=p(7290);var t=e.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});q.RSAPrivateKey=t;var g=e.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});q.RSAPublicKey=g;var T=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(c),this.key("subjectPublicKey").bitstr())});q.PublicKey=T;var c=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),C=e.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(c),this.key("subjectPrivateKey").octstr())});q.PrivateKey=C;var u=e.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});q.EncryptedPrivateKey=u;var P=e.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});q.DSAPrivateKey=P,q.DSAparam=e.define("DSAparam",function(){this.int()});var d=e.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(S),this.key("publicKey").optional().explicit(1).bitstr())});q.ECPrivateKey=d;var S=e.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});q.signature=e.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},7290:(Ue,q,p)=>{"use strict";var e=p(7414),t=e.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),g=e.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),T=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),c=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(T),this.key("subjectPublicKey").bitstr())}),C=e.define("RelativeDistinguishedName",function(){this.setof(g)}),u=e.define("RDNSequence",function(){this.seqof(C)}),P=e.define("Name",function(){this.choice({rdnSequence:this.use(u)})}),d=e.define("Validity",function(){this.seq().obj(this.key("notBefore").use(t),this.key("notAfter").use(t))}),S=e.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),M=e.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(T),this.key("issuer").use(P),this.key("validity").use(d),this.key("subject").use(P),this.key("subjectPublicKeyInfo").use(c),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(S).optional())}),I=e.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(M),this.key("signatureAlgorithm").use(T),this.key("signatureValue").bitstr())});Ue.exports=I},7520:(Ue,q,p)=>{var e=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,t=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,g=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,T=p(6505),c=p(2489),C=p(843).Buffer;Ue.exports=function(u,P){var M,d=u.toString(),S=d.match(e);if(S){var D="aes"+S[1],R=C.from(S[2],"hex"),F=C.from(S[3].replace(/[\r\n]/g,""),"base64"),W=T(P,R.slice(0,8),parseInt(S[1],10)).key,Y=[],Q=c.createDecipheriv(D,W,R);Y.push(Q.update(F)),Y.push(Q.final()),M=C.concat(Y)}else{var I=d.match(g);M=C.from(I[2].replace(/[\r\n]/g,""),"base64")}return{tag:d.match(t)[1],data:M}}},7983:(Ue,q,p)=>{var e=p(1322),t=p(2562),g=p(7520),T=p(2489),c=p(7100),C=p(843).Buffer;function u(d){var S;"object"==typeof d&&!C.isBuffer(d)&&(S=d.passphrase,d=d.key),"string"==typeof d&&(d=C.from(d));var R,F,M=g(d,S),I=M.tag,D=M.data;switch(I){case"CERTIFICATE":F=e.certificate.decode(D,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(F||(F=e.PublicKey.decode(D,"der")),R=F.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(F.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return F.subjectPrivateKey=F.subjectPublicKey,{type:"ec",data:F};case"1.2.840.10040.4.1":return F.algorithm.params.pub_key=e.DSAparam.decode(F.subjectPublicKey.data,"der"),{type:"dsa",data:F.algorithm.params};default:throw new Error("unknown key id "+R)}case"ENCRYPTED PRIVATE KEY":D=function P(d,S){var M=d.algorithm.decrypt.kde.kdeparams.salt,I=parseInt(d.algorithm.decrypt.kde.kdeparams.iters.toString(),10),D=t[d.algorithm.decrypt.cipher.algo.join(".")],R=d.algorithm.decrypt.cipher.iv,F=d.subjectPrivateKey,W=parseInt(D.split("-")[1],10)/8,Y=c.pbkdf2Sync(S,M,I,W,"sha1"),Q=T.createDecipheriv(D,Y,R),J=[];return J.push(Q.update(F)),J.push(Q.final()),C.concat(J)}(D=e.EncryptedPrivateKey.decode(D,"der"),S);case"PRIVATE KEY":switch(R=(F=e.PrivateKey.decode(D,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(F.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:F.algorithm.curve,privateKey:e.ECPrivateKey.decode(F.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return F.algorithm.params.priv_key=e.DSAparam.decode(F.subjectPrivateKey,"der"),{type:"dsa",params:F.algorithm.params};default:throw new Error("unknown key id "+R)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(D,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(D,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(D,"der")};case"EC PRIVATE KEY":return{curve:(D=e.ECPrivateKey.decode(D,"der")).parameters.value,privateKey:D.privateKey};default:throw new Error("unknown key type "+I)}}Ue.exports=u,u.signature=e.signature},7100:(Ue,q,p)=>{q.pbkdf2=p(8781),q.pbkdf2Sync=p(8047)},8781:(Ue,q,p)=>{var C,M,e=p(843).Buffer,t=p(4881),g=p(7107),T=p(8047),c=p(7306),u=global.crypto&&global.crypto.subtle,P={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function I(){return M||(M=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function D(F,W,Y,Q,J){return u.importKey("raw",F,{name:"PBKDF2"},!1,["deriveBits"]).then(function(ne){return u.deriveBits({name:"PBKDF2",salt:W,iterations:Y,hash:{name:J}},ne,Q<<3)}).then(function(ne){return e.from(ne)})}Ue.exports=function(F,W,Y,Q,J,ne){"function"==typeof J&&(ne=J,J=void 0);var X=P[(J=J||"sha1").toLowerCase()];if(X&&"function"==typeof global.Promise){if(t(Y,Q),F=c(F,g,"Password"),W=c(W,g,"Salt"),"function"!=typeof ne)throw new Error("No callback provided to pbkdf2");!function R(F,W){F.then(function(Y){I()(function(){W(null,Y)})},function(Y){I()(function(){W(Y)})})}(function S(F){if(global.process&&!global.process.browser||!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==d[F])return d[F];var W=D(C=C||e.alloc(8),C,10,128,F).then(function(){return!0}).catch(function(){return!1});return d[F]=W,W}(X).then(function(pe){return pe?D(F,W,Y,Q,X):T(F,W,Y,Q,J)}),ne)}else I()(function(){var pe;try{pe=T(F,W,Y,Q,J)}catch(ie){return ne(ie)}ne(null,pe)})}},7107:Ue=>{var q;q=global.process&&global.process.browser?"utf-8":global.process&&global.process.version?parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",Ue.exports=q},4881:Ue=>{var q=Math.pow(2,30)-1;Ue.exports=function(p,e){if("number"!=typeof p)throw new TypeError("Iterations not a number");if(p<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>q||e!=e)throw new TypeError("Bad key length")}},8047:(Ue,q,p)=>{var e=p(7588),t=p(9706),g=p(7965),T=p(843).Buffer,c=p(4881),C=p(7107),u=p(7306),P=T.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function S(D,R,F){var W=function M(D){return"rmd160"===D||"ripemd160"===D?function F(W){return(new t).update(W).digest()}:"md5"===D?e:function R(W){return g(D).update(W).digest()}}(D),Y="sha512"===D||"sha384"===D?128:64;R.length>Y?R=W(R):R.length<Y&&(R=T.concat([R,P],Y));for(var Q=T.allocUnsafe(Y+d[D]),J=T.allocUnsafe(Y+d[D]),ne=0;ne<Y;ne++)Q[ne]=54^R[ne],J[ne]=92^R[ne];var X=T.allocUnsafe(Y+F+4);Q.copy(X,0,0,Y),this.ipad1=X,this.ipad2=Q,this.opad=J,this.alg=D,this.blocksize=Y,this.hash=W,this.size=d[D]}S.prototype.run=function(D,R){return D.copy(R,this.blocksize),this.hash(R).copy(this.opad,this.blocksize),this.hash(this.opad)},Ue.exports=function I(D,R,F,W,Y){c(F,W);var Q=new S(Y=Y||"sha1",D=u(D,C,"Password"),(R=u(R,C,"Salt")).length),J=T.allocUnsafe(W),ne=T.allocUnsafe(R.length+4);R.copy(ne,0,0,R.length);for(var X=0,pe=d[Y],ie=Math.ceil(W/pe),de=1;de<=ie;de++){ne.writeUInt32BE(de,R.length);for(var te=Q.run(ne,Q.ipad1),ae=te,E=1;E<F;E++){ae=Q.run(ae,Q.ipad2);for(var i=0;i<pe;i++)te[i]^=ae[i]}te.copy(J,X),X+=pe}return J}},7306:(Ue,q,p)=>{var e=p(843).Buffer;Ue.exports=function(t,g,T){if(e.isBuffer(t))return t;if("string"==typeof t)return e.from(t,g);if(ArrayBuffer.isView(t))return e.from(t.buffer);throw new TypeError(T+" must be a string, a Buffer, a typed array or a DataView")}},7050:(Ue,q,p)=>{q.publicEncrypt=p(5737),q.privateDecrypt=p(5252),q.privateEncrypt=function(t,g){return q.publicEncrypt(t,g,!0)},q.publicDecrypt=function(t,g){return q.privateDecrypt(t,g,!0)}},6517:(Ue,q,p)=>{var e=p(6362),t=p(843).Buffer;function g(T){var c=t.allocUnsafe(4);return c.writeUInt32BE(T,0),c}Ue.exports=function(T,c){for(var P,C=t.alloc(0),u=0;C.length<c;)P=g(u++),C=t.concat([C,e("sha1").update(T).update(P).digest()]);return C.slice(0,c)}},8211:function(Ue,q,p){!function(e,t){"use strict";function g(E,i){if(!E)throw new Error(i||"Assertion failed")}function T(E,i){E.super_=i;var o=function(){};o.prototype=i.prototype,E.prototype=new o,E.prototype.constructor=E}function c(E,i,o){if(c.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,null!==E&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(E||0,i||10,o||"be"))}var C;"object"==typeof e?e.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(7108).Buffer}catch{}function u(E,i){var o=E.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(E,i,o){var m=u(E,o);return o-1>=i&&(m|=u(E,o-1)<<4),m}function d(E,i,o,m){for(var l=0,y=Math.min(E.length,o),L=i;L<y;L++){var O=E.charCodeAt(L)-48;l*=m,l+=O>=49?O-49+10:O>=17?O-17+10:O}return l}c.isBN=function(i){return i instanceof c||null!==i&&"object"==typeof i&&i.constructor.wordSize===c.wordSize&&Array.isArray(i.words)},c.max=function(i,o){return i.cmp(o)>0?i:o},c.min=function(i,o){return i.cmp(o)<0?i:o},c.prototype._init=function(i,o,m){if("number"==typeof i)return this._initNumber(i,o,m);if("object"==typeof i)return this._initArray(i,o,m);"hex"===o&&(o=16),g(o===(0|o)&&o>=2&&o<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===o?this._parseHex(i,l,m):(this._parseBase(i,o,l),"le"===m&&this._initArray(this.toArray(),o,m)))},c.prototype._initNumber=function(i,o,m){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"===m&&this._initArray(this.toArray(),o,m)},c.prototype._initArray=function(i,o,m){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 l=0;l<this.length;l++)this.words[l]=0;var y,L,O=0;if("be"===m)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(L=i[l]|i[l-1]<<8|i[l-2]<<16)<<O&67108863,this.words[y+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,y++);else if("le"===m)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(L=i[l]|i[l+1]<<8|i[l+2]<<16)<<O&67108863,this.words[y+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,y++);return this.strip()},c.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var O,y=0,L=0;if("be"===m)for(l=i.length-1;l>=o;l-=2)O=P(i,o,l)<<y,this.words[L]|=67108863&O,y>=18?(y-=18,this.words[L+=1]|=O>>>26):y+=8;else for(l=(i.length-o)%2==0?o+1:o;l<i.length;l+=2)O=P(i,o,l)<<y,this.words[L]|=67108863&O,y>=18?(y-=18,this.words[L+=1]|=O>>>26):y+=8;this.strip()},c.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=o)l++;l--,y=y/o|0;for(var L=i.length-m,O=L%l,b=Math.min(L,L-O)+m,n=0,_=m;_<b;_+=l)n=d(i,_,_+l,o),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==O){var H=1;for(n=d(i,_,i.length,o),_=0;_<O;_++)H*=o;this.imuln(H),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},c.prototype.copy=function(i){i.words=new Array(this.length);for(var o=0;o<this.length;o++)i.words[o]=this.words[o];i.length=this.length,i.negative=this.negative,i.red=this.red},c.prototype.clone=function(){var i=new c(null);return this.copy(i),i},c.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},c.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function R(E,i,o){o.negative=i.negative^E.negative;var m=E.length+i.length|0;o.length=m,m=m-1|0;var l=0|E.words[0],y=0|i.words[0],L=l*y,b=L/67108864|0;o.words[0]=67108863&L;for(var n=1;n<m;n++){for(var _=b>>>26,H=67108863&b,V=Math.min(n,i.length-1),K=Math.max(0,n-E.length+1);K<=V;K++)_+=(L=(l=0|E.words[n-K|0])*(y=0|i.words[K])+H)/67108864|0,H=67108863&L;o.words[n]=0|H,b=0|_}return 0!==b?o.words[n]=0|b:o.length--,o.strip()}c.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var l=0,y=0,L=0;L<this.length;L++){var O=this.words[L],b=(16777215&(O<<l|y)).toString(16);m=0!=(y=O>>>24-l&16777215)||L!==this.length-1?S[6-b.length]+b+m:b+m,(l+=2)>=26&&(l-=26,L--)}for(0!==y&&(m=y.toString(16)+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(i===(0|i)&&i>=2&&i<=36){var n=M[i],_=I[i];m="";var H=this.clone();for(H.negative=0;!H.isZero();){var V=H.modn(_).toString(i);m=(H=H.idivn(_)).isZero()?V+m:S[n-V.length]+V+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}g(!1,"Base should be between 2 and 36")},c.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},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(i,o){return g(typeof C<"u"),this.toArrayLike(C,i,o)},c.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},c.prototype.toArrayLike=function(i,o,m){var l=this.byteLength(),y=m||Math.max(1,l);g(l<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var b,n,L="le"===o,O=new i(y),_=this.clone();if(L){for(n=0;!_.isZero();n++)b=_.andln(255),_.iushrn(8),O[n]=b;for(;n<y;n++)O[n]=0}else{for(n=0;n<y-l;n++)O[n]=0;for(n=0;!_.isZero();n++)b=_.andln(255),_.iushrn(8),O[y-n-1]=b}return O},c.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var o=i,m=0;return o>=4096&&(m+=13,o>>>=13),o>=64&&(m+=7,o>>>=7),o>=8&&(m+=4,o>>>=4),o>=2&&(m+=2,o>>>=2),m+o},c.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 8191&o||(m+=13,o>>>=13),127&o||(m+=7,o>>>=7),15&o||(m+=4,o>>>=4),3&o||(m+=2,o>>>=2),1&o||m++,m},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,o=0;o<this.length;o++){var m=this._zeroBits(this.words[o]);if(i+=m,26!==m)break}return i},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},c.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var o=0;o<i.length;o++)this.words[o]=this.words[o]|i.words[o];return this.strip()},c.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},c.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},c.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},c.prototype.iuand=function(i){var o;o=this.length>i.length?i:this;for(var m=0;m<o.length;m++)this.words[m]=this.words[m]&i.words[m];return this.length=o.length,this.strip()},c.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},c.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},c.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},c.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var l=0;l<m.length;l++)this.words[l]=o.words[l]^m.words[l];if(this!==o)for(;l<o.length;l++)this.words[l]=o.words[l];return this.length=o.length,this.strip()},c.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},c.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},c.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},c.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var l=0;l<o;l++)this.words[l]=67108863&~this.words[l];return m>0&&(this.words[l]=~this.words[l]&67108863>>26-m),this.strip()},c.prototype.notn=function(i){return this.clone().inotn(i)},c.prototype.setn=function(i,o){g("number"==typeof i&&i>=0);var m=i/26|0,l=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<l:this.words[m]&~(1<<l),this.strip()},c.prototype.iadd=function(i){var o,m,l;if(0!==this.negative&&0===i.negative)return this.negative=0,o=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,o=this.isub(i),i.negative=1,o._normSign();this.length>i.length?(m=this,l=i):(m=i,l=this);for(var y=0,L=0;L<l.length;L++)this.words[L]=67108863&(o=(0|m.words[L])+(0|l.words[L])+y),y=o>>>26;for(;0!==y&&L<m.length;L++)this.words[L]=67108863&(o=(0|m.words[L])+y),y=o>>>26;if(this.length=m.length,0!==y)this.words[this.length]=y,this.length++;else if(m!==this)for(;L<m.length;L++)this.words[L]=m.words[L];return this},c.prototype.add=function(i){var o;return 0!==i.negative&&0===this.negative?(i.negative=0,o=this.sub(i),i.negative^=1,o):0===i.negative&&0!==this.negative?(this.negative=0,o=i.sub(this),this.negative=1,o):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},c.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var o=this.iadd(i);return i.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(l=this,y=i):(l=i,y=this);for(var L=0,O=0;O<y.length;O++)L=(o=(0|l.words[O])-(0|y.words[O])+L)>>26,this.words[O]=67108863&o;for(;0!==L&&O<l.length;O++)L=(o=(0|l.words[O])+L)>>26,this.words[O]=67108863&o;if(0===L&&O<l.length&&l!==this)for(;O<l.length;O++)this.words[O]=l.words[O];return this.length=Math.max(this.length,O),l!==this&&(this.negative=1),this.strip()},c.prototype.sub=function(i){return this.clone().isub(i)};var F=function(i,o,m){var b,n,_,l=i.words,y=o.words,L=m.words,O=0,H=0|l[0],V=8191&H,K=H>>>13,se=0|l[1],Ye=8191&se,Oe=se>>>13,Qe=0|l[2],be=8191&Qe,ue=Qe>>>13,xe=0|l[3],Pe=8191&xe,oe=xe>>>13,ze=0|l[4],we=8191&ze,le=ze>>>13,ge=0|l[5],fe=8191&ge,Ge=ge>>>13,Le=0|l[6],Ne=8191&Le,Ve=Le>>>13,at=0|l[7],ve=8191&at,De=at>>>13,xt=0|l[8],ct=8191&xt,et=xt>>>13,Ct=0|l[9],ke=8191&Ct,ot=Ct>>>13,Je=0|y[0],re=8191&Je,Be=Je>>>13,Nt=0|y[1],Ke=8191&Nt,yt=Nt>>>13,kt=0|y[2],Dt=8191&kt,Rt=kt>>>13,pt=0|y[3],vt=8191&pt,Te=pt>>>13,tt=0|y[4],Ze=8191&tt,Mt=tt>>>13,oi=0|y[5],Tt=8191&oi,mt=oi>>>13,he=0|y[6],ee=8191&he,Ce=he>>>13,At=0|y[7],Lt=8191&At,jt=At>>>13,Zt=0|y[8],Kt=8191&Zt,Xe=Zt>>>13,Bt=0|y[9],qe=8191&Bt,nt=Bt>>>13;m.negative=i.negative^o.negative,m.length=19;var Wt=(O+(b=Math.imul(V,re))|0)+((8191&(n=(n=Math.imul(V,Be))+Math.imul(K,re)|0))<<13)|0;O=((_=Math.imul(K,Be))+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,b=Math.imul(Ye,re),n=(n=Math.imul(Ye,Be))+Math.imul(Oe,re)|0,_=Math.imul(Oe,Be);var si=(O+(b=b+Math.imul(V,Ke)|0)|0)+((8191&(n=(n=n+Math.imul(V,yt)|0)+Math.imul(K,Ke)|0))<<13)|0;O=((_=_+Math.imul(K,yt)|0)+(n>>>13)|0)+(si>>>26)|0,si&=67108863,b=Math.imul(be,re),n=(n=Math.imul(be,Be))+Math.imul(ue,re)|0,_=Math.imul(ue,Be),b=b+Math.imul(Ye,Ke)|0,n=(n=n+Math.imul(Ye,yt)|0)+Math.imul(Oe,Ke)|0,_=_+Math.imul(Oe,yt)|0;var li=(O+(b=b+Math.imul(V,Dt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Rt)|0)+Math.imul(K,Dt)|0))<<13)|0;O=((_=_+Math.imul(K,Rt)|0)+(n>>>13)|0)+(li>>>26)|0,li&=67108863,b=Math.imul(Pe,re),n=(n=Math.imul(Pe,Be))+Math.imul(oe,re)|0,_=Math.imul(oe,Be),b=b+Math.imul(be,Ke)|0,n=(n=n+Math.imul(be,yt)|0)+Math.imul(ue,Ke)|0,_=_+Math.imul(ue,yt)|0,b=b+Math.imul(Ye,Dt)|0,n=(n=n+Math.imul(Ye,Rt)|0)+Math.imul(Oe,Dt)|0,_=_+Math.imul(Oe,Rt)|0;var xi=(O+(b=b+Math.imul(V,vt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Te)|0)+Math.imul(K,vt)|0))<<13)|0;O=((_=_+Math.imul(K,Te)|0)+(n>>>13)|0)+(xi>>>26)|0,xi&=67108863,b=Math.imul(we,re),n=(n=Math.imul(we,Be))+Math.imul(le,re)|0,_=Math.imul(le,Be),b=b+Math.imul(Pe,Ke)|0,n=(n=n+Math.imul(Pe,yt)|0)+Math.imul(oe,Ke)|0,_=_+Math.imul(oe,yt)|0,b=b+Math.imul(be,Dt)|0,n=(n=n+Math.imul(be,Rt)|0)+Math.imul(ue,Dt)|0,_=_+Math.imul(ue,Rt)|0,b=b+Math.imul(Ye,vt)|0,n=(n=n+Math.imul(Ye,Te)|0)+Math.imul(Oe,vt)|0,_=_+Math.imul(Oe,Te)|0;var Ut=(O+(b=b+Math.imul(V,Ze)|0)|0)+((8191&(n=(n=n+Math.imul(V,Mt)|0)+Math.imul(K,Ze)|0))<<13)|0;O=((_=_+Math.imul(K,Mt)|0)+(n>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,b=Math.imul(fe,re),n=(n=Math.imul(fe,Be))+Math.imul(Ge,re)|0,_=Math.imul(Ge,Be),b=b+Math.imul(we,Ke)|0,n=(n=n+Math.imul(we,yt)|0)+Math.imul(le,Ke)|0,_=_+Math.imul(le,yt)|0,b=b+Math.imul(Pe,Dt)|0,n=(n=n+Math.imul(Pe,Rt)|0)+Math.imul(oe,Dt)|0,_=_+Math.imul(oe,Rt)|0,b=b+Math.imul(be,vt)|0,n=(n=n+Math.imul(be,Te)|0)+Math.imul(ue,vt)|0,_=_+Math.imul(ue,Te)|0,b=b+Math.imul(Ye,Ze)|0,n=(n=n+Math.imul(Ye,Mt)|0)+Math.imul(Oe,Ze)|0,_=_+Math.imul(Oe,Mt)|0;var bt=(O+(b=b+Math.imul(V,Tt)|0)|0)+((8191&(n=(n=n+Math.imul(V,mt)|0)+Math.imul(K,Tt)|0))<<13)|0;O=((_=_+Math.imul(K,mt)|0)+(n>>>13)|0)+(bt>>>26)|0,bt&=67108863,b=Math.imul(Ne,re),n=(n=Math.imul(Ne,Be))+Math.imul(Ve,re)|0,_=Math.imul(Ve,Be),b=b+Math.imul(fe,Ke)|0,n=(n=n+Math.imul(fe,yt)|0)+Math.imul(Ge,Ke)|0,_=_+Math.imul(Ge,yt)|0,b=b+Math.imul(we,Dt)|0,n=(n=n+Math.imul(we,Rt)|0)+Math.imul(le,Dt)|0,_=_+Math.imul(le,Rt)|0,b=b+Math.imul(Pe,vt)|0,n=(n=n+Math.imul(Pe,Te)|0)+Math.imul(oe,vt)|0,_=_+Math.imul(oe,Te)|0,b=b+Math.imul(be,Ze)|0,n=(n=n+Math.imul(be,Mt)|0)+Math.imul(ue,Ze)|0,_=_+Math.imul(ue,Mt)|0,b=b+Math.imul(Ye,Tt)|0,n=(n=n+Math.imul(Ye,mt)|0)+Math.imul(Oe,Tt)|0,_=_+Math.imul(Oe,mt)|0;var $e=(O+(b=b+Math.imul(V,ee)|0)|0)+((8191&(n=(n=n+Math.imul(V,Ce)|0)+Math.imul(K,ee)|0))<<13)|0;O=((_=_+Math.imul(K,Ce)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,b=Math.imul(ve,re),n=(n=Math.imul(ve,Be))+Math.imul(De,re)|0,_=Math.imul(De,Be),b=b+Math.imul(Ne,Ke)|0,n=(n=n+Math.imul(Ne,yt)|0)+Math.imul(Ve,Ke)|0,_=_+Math.imul(Ve,yt)|0,b=b+Math.imul(fe,Dt)|0,n=(n=n+Math.imul(fe,Rt)|0)+Math.imul(Ge,Dt)|0,_=_+Math.imul(Ge,Rt)|0,b=b+Math.imul(we,vt)|0,n=(n=n+Math.imul(we,Te)|0)+Math.imul(le,vt)|0,_=_+Math.imul(le,Te)|0,b=b+Math.imul(Pe,Ze)|0,n=(n=n+Math.imul(Pe,Mt)|0)+Math.imul(oe,Ze)|0,_=_+Math.imul(oe,Mt)|0,b=b+Math.imul(be,Tt)|0,n=(n=n+Math.imul(be,mt)|0)+Math.imul(ue,Tt)|0,_=_+Math.imul(ue,mt)|0,b=b+Math.imul(Ye,ee)|0,n=(n=n+Math.imul(Ye,Ce)|0)+Math.imul(Oe,ee)|0,_=_+Math.imul(Oe,Ce)|0;var ut=(O+(b=b+Math.imul(V,Lt)|0)|0)+((8191&(n=(n=n+Math.imul(V,jt)|0)+Math.imul(K,Lt)|0))<<13)|0;O=((_=_+Math.imul(K,jt)|0)+(n>>>13)|0)+(ut>>>26)|0,ut&=67108863,b=Math.imul(ct,re),n=(n=Math.imul(ct,Be))+Math.imul(et,re)|0,_=Math.imul(et,Be),b=b+Math.imul(ve,Ke)|0,n=(n=n+Math.imul(ve,yt)|0)+Math.imul(De,Ke)|0,_=_+Math.imul(De,yt)|0,b=b+Math.imul(Ne,Dt)|0,n=(n=n+Math.imul(Ne,Rt)|0)+Math.imul(Ve,Dt)|0,_=_+Math.imul(Ve,Rt)|0,b=b+Math.imul(fe,vt)|0,n=(n=n+Math.imul(fe,Te)|0)+Math.imul(Ge,vt)|0,_=_+Math.imul(Ge,Te)|0,b=b+Math.imul(we,Ze)|0,n=(n=n+Math.imul(we,Mt)|0)+Math.imul(le,Ze)|0,_=_+Math.imul(le,Mt)|0,b=b+Math.imul(Pe,Tt)|0,n=(n=n+Math.imul(Pe,mt)|0)+Math.imul(oe,Tt)|0,_=_+Math.imul(oe,mt)|0,b=b+Math.imul(be,ee)|0,n=(n=n+Math.imul(be,Ce)|0)+Math.imul(ue,ee)|0,_=_+Math.imul(ue,Ce)|0,b=b+Math.imul(Ye,Lt)|0,n=(n=n+Math.imul(Ye,jt)|0)+Math.imul(Oe,Lt)|0,_=_+Math.imul(Oe,jt)|0;var Et=(O+(b=b+Math.imul(V,Kt)|0)|0)+((8191&(n=(n=n+Math.imul(V,Xe)|0)+Math.imul(K,Kt)|0))<<13)|0;O=((_=_+Math.imul(K,Xe)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863,b=Math.imul(ke,re),n=(n=Math.imul(ke,Be))+Math.imul(ot,re)|0,_=Math.imul(ot,Be),b=b+Math.imul(ct,Ke)|0,n=(n=n+Math.imul(ct,yt)|0)+Math.imul(et,Ke)|0,_=_+Math.imul(et,yt)|0,b=b+Math.imul(ve,Dt)|0,n=(n=n+Math.imul(ve,Rt)|0)+Math.imul(De,Dt)|0,_=_+Math.imul(De,Rt)|0,b=b+Math.imul(Ne,vt)|0,n=(n=n+Math.imul(Ne,Te)|0)+Math.imul(Ve,vt)|0,_=_+Math.imul(Ve,Te)|0,b=b+Math.imul(fe,Ze)|0,n=(n=n+Math.imul(fe,Mt)|0)+Math.imul(Ge,Ze)|0,_=_+Math.imul(Ge,Mt)|0,b=b+Math.imul(we,Tt)|0,n=(n=n+Math.imul(we,mt)|0)+Math.imul(le,Tt)|0,_=_+Math.imul(le,mt)|0,b=b+Math.imul(Pe,ee)|0,n=(n=n+Math.imul(Pe,Ce)|0)+Math.imul(oe,ee)|0,_=_+Math.imul(oe,Ce)|0,b=b+Math.imul(be,Lt)|0,n=(n=n+Math.imul(be,jt)|0)+Math.imul(ue,Lt)|0,_=_+Math.imul(ue,jt)|0,b=b+Math.imul(Ye,Kt)|0,n=(n=n+Math.imul(Ye,Xe)|0)+Math.imul(Oe,Kt)|0,_=_+Math.imul(Oe,Xe)|0;var qt=(O+(b=b+Math.imul(V,qe)|0)|0)+((8191&(n=(n=n+Math.imul(V,nt)|0)+Math.imul(K,qe)|0))<<13)|0;O=((_=_+Math.imul(K,nt)|0)+(n>>>13)|0)+(qt>>>26)|0,qt&=67108863,b=Math.imul(ke,Ke),n=(n=Math.imul(ke,yt))+Math.imul(ot,Ke)|0,_=Math.imul(ot,yt),b=b+Math.imul(ct,Dt)|0,n=(n=n+Math.imul(ct,Rt)|0)+Math.imul(et,Dt)|0,_=_+Math.imul(et,Rt)|0,b=b+Math.imul(ve,vt)|0,n=(n=n+Math.imul(ve,Te)|0)+Math.imul(De,vt)|0,_=_+Math.imul(De,Te)|0,b=b+Math.imul(Ne,Ze)|0,n=(n=n+Math.imul(Ne,Mt)|0)+Math.imul(Ve,Ze)|0,_=_+Math.imul(Ve,Mt)|0,b=b+Math.imul(fe,Tt)|0,n=(n=n+Math.imul(fe,mt)|0)+Math.imul(Ge,Tt)|0,_=_+Math.imul(Ge,mt)|0,b=b+Math.imul(we,ee)|0,n=(n=n+Math.imul(we,Ce)|0)+Math.imul(le,ee)|0,_=_+Math.imul(le,Ce)|0,b=b+Math.imul(Pe,Lt)|0,n=(n=n+Math.imul(Pe,jt)|0)+Math.imul(oe,Lt)|0,_=_+Math.imul(oe,jt)|0,b=b+Math.imul(be,Kt)|0,n=(n=n+Math.imul(be,Xe)|0)+Math.imul(ue,Kt)|0,_=_+Math.imul(ue,Xe)|0;var pi=(O+(b=b+Math.imul(Ye,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ye,nt)|0)+Math.imul(Oe,qe)|0))<<13)|0;O=((_=_+Math.imul(Oe,nt)|0)+(n>>>13)|0)+(pi>>>26)|0,pi&=67108863,b=Math.imul(ke,Dt),n=(n=Math.imul(ke,Rt))+Math.imul(ot,Dt)|0,_=Math.imul(ot,Rt),b=b+Math.imul(ct,vt)|0,n=(n=n+Math.imul(ct,Te)|0)+Math.imul(et,vt)|0,_=_+Math.imul(et,Te)|0,b=b+Math.imul(ve,Ze)|0,n=(n=n+Math.imul(ve,Mt)|0)+Math.imul(De,Ze)|0,_=_+Math.imul(De,Mt)|0,b=b+Math.imul(Ne,Tt)|0,n=(n=n+Math.imul(Ne,mt)|0)+Math.imul(Ve,Tt)|0,_=_+Math.imul(Ve,mt)|0,b=b+Math.imul(fe,ee)|0,n=(n=n+Math.imul(fe,Ce)|0)+Math.imul(Ge,ee)|0,_=_+Math.imul(Ge,Ce)|0,b=b+Math.imul(we,Lt)|0,n=(n=n+Math.imul(we,jt)|0)+Math.imul(le,Lt)|0,_=_+Math.imul(le,jt)|0,b=b+Math.imul(Pe,Kt)|0,n=(n=n+Math.imul(Pe,Xe)|0)+Math.imul(oe,Kt)|0,_=_+Math.imul(oe,Xe)|0;var Si=(O+(b=b+Math.imul(be,qe)|0)|0)+((8191&(n=(n=n+Math.imul(be,nt)|0)+Math.imul(ue,qe)|0))<<13)|0;O=((_=_+Math.imul(ue,nt)|0)+(n>>>13)|0)+(Si>>>26)|0,Si&=67108863,b=Math.imul(ke,vt),n=(n=Math.imul(ke,Te))+Math.imul(ot,vt)|0,_=Math.imul(ot,Te),b=b+Math.imul(ct,Ze)|0,n=(n=n+Math.imul(ct,Mt)|0)+Math.imul(et,Ze)|0,_=_+Math.imul(et,Mt)|0,b=b+Math.imul(ve,Tt)|0,n=(n=n+Math.imul(ve,mt)|0)+Math.imul(De,Tt)|0,_=_+Math.imul(De,mt)|0,b=b+Math.imul(Ne,ee)|0,n=(n=n+Math.imul(Ne,Ce)|0)+Math.imul(Ve,ee)|0,_=_+Math.imul(Ve,Ce)|0,b=b+Math.imul(fe,Lt)|0,n=(n=n+Math.imul(fe,jt)|0)+Math.imul(Ge,Lt)|0,_=_+Math.imul(Ge,jt)|0,b=b+Math.imul(we,Kt)|0,n=(n=n+Math.imul(we,Xe)|0)+Math.imul(le,Kt)|0,_=_+Math.imul(le,Xe)|0;var Fi=(O+(b=b+Math.imul(Pe,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Pe,nt)|0)+Math.imul(oe,qe)|0))<<13)|0;O=((_=_+Math.imul(oe,nt)|0)+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,b=Math.imul(ke,Ze),n=(n=Math.imul(ke,Mt))+Math.imul(ot,Ze)|0,_=Math.imul(ot,Mt),b=b+Math.imul(ct,Tt)|0,n=(n=n+Math.imul(ct,mt)|0)+Math.imul(et,Tt)|0,_=_+Math.imul(et,mt)|0,b=b+Math.imul(ve,ee)|0,n=(n=n+Math.imul(ve,Ce)|0)+Math.imul(De,ee)|0,_=_+Math.imul(De,Ce)|0,b=b+Math.imul(Ne,Lt)|0,n=(n=n+Math.imul(Ne,jt)|0)+Math.imul(Ve,Lt)|0,_=_+Math.imul(Ve,jt)|0,b=b+Math.imul(fe,Kt)|0,n=(n=n+Math.imul(fe,Xe)|0)+Math.imul(Ge,Kt)|0,_=_+Math.imul(Ge,Xe)|0;var Ri=(O+(b=b+Math.imul(we,qe)|0)|0)+((8191&(n=(n=n+Math.imul(we,nt)|0)+Math.imul(le,qe)|0))<<13)|0;O=((_=_+Math.imul(le,nt)|0)+(n>>>13)|0)+(Ri>>>26)|0,Ri&=67108863,b=Math.imul(ke,Tt),n=(n=Math.imul(ke,mt))+Math.imul(ot,Tt)|0,_=Math.imul(ot,mt),b=b+Math.imul(ct,ee)|0,n=(n=n+Math.imul(ct,Ce)|0)+Math.imul(et,ee)|0,_=_+Math.imul(et,Ce)|0,b=b+Math.imul(ve,Lt)|0,n=(n=n+Math.imul(ve,jt)|0)+Math.imul(De,Lt)|0,_=_+Math.imul(De,jt)|0,b=b+Math.imul(Ne,Kt)|0,n=(n=n+Math.imul(Ne,Xe)|0)+Math.imul(Ve,Kt)|0,_=_+Math.imul(Ve,Xe)|0;var Ui=(O+(b=b+Math.imul(fe,qe)|0)|0)+((8191&(n=(n=n+Math.imul(fe,nt)|0)+Math.imul(Ge,qe)|0))<<13)|0;O=((_=_+Math.imul(Ge,nt)|0)+(n>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,b=Math.imul(ke,ee),n=(n=Math.imul(ke,Ce))+Math.imul(ot,ee)|0,_=Math.imul(ot,Ce),b=b+Math.imul(ct,Lt)|0,n=(n=n+Math.imul(ct,jt)|0)+Math.imul(et,Lt)|0,_=_+Math.imul(et,jt)|0,b=b+Math.imul(ve,Kt)|0,n=(n=n+Math.imul(ve,Xe)|0)+Math.imul(De,Kt)|0,_=_+Math.imul(De,Xe)|0;var nn=(O+(b=b+Math.imul(Ne,qe)|0)|0)+((8191&(n=(n=n+Math.imul(Ne,nt)|0)+Math.imul(Ve,qe)|0))<<13)|0;O=((_=_+Math.imul(Ve,nt)|0)+(n>>>13)|0)+(nn>>>26)|0,nn&=67108863,b=Math.imul(ke,Lt),n=(n=Math.imul(ke,jt))+Math.imul(ot,Lt)|0,_=Math.imul(ot,jt),b=b+Math.imul(ct,Kt)|0,n=(n=n+Math.imul(ct,Xe)|0)+Math.imul(et,Kt)|0,_=_+Math.imul(et,Xe)|0;var cn=(O+(b=b+Math.imul(ve,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ve,nt)|0)+Math.imul(De,qe)|0))<<13)|0;O=((_=_+Math.imul(De,nt)|0)+(n>>>13)|0)+(cn>>>26)|0,cn&=67108863,b=Math.imul(ke,Kt),n=(n=Math.imul(ke,Xe))+Math.imul(ot,Kt)|0,_=Math.imul(ot,Xe);var Qi=(O+(b=b+Math.imul(ct,qe)|0)|0)+((8191&(n=(n=n+Math.imul(ct,nt)|0)+Math.imul(et,qe)|0))<<13)|0;O=((_=_+Math.imul(et,nt)|0)+(n>>>13)|0)+(Qi>>>26)|0,Qi&=67108863;var $t=(O+(b=Math.imul(ke,qe))|0)+((8191&(n=(n=Math.imul(ke,nt))+Math.imul(ot,qe)|0))<<13)|0;return O=((_=Math.imul(ot,nt))+(n>>>13)|0)+($t>>>26)|0,$t&=67108863,L[0]=Wt,L[1]=si,L[2]=li,L[3]=xi,L[4]=Ut,L[5]=bt,L[6]=$e,L[7]=ut,L[8]=Et,L[9]=qt,L[10]=pi,L[11]=Si,L[12]=Fi,L[13]=Ri,L[14]=Ui,L[15]=nn,L[16]=cn,L[17]=Qi,L[18]=$t,0!==O&&(L[19]=O,m.length++),m};function Y(E,i,o){return(new Q).mulp(E,i,o)}function Q(E,i){this.x=E,this.y=i}Math.imul||(F=R),c.prototype.mulTo=function(i,o){var m,l=this.length+i.length;return m=10===this.length&&10===i.length?F(this,i,o):l<63?R(this,i,o):l<1024?function W(E,i,o){o.negative=i.negative^E.negative,o.length=E.length+i.length;for(var m=0,l=0,y=0;y<o.length-1;y++){var L=l;l=0;for(var O=67108863&m,b=Math.min(y,i.length-1),n=Math.max(0,y-E.length+1);n<=b;n++){var K=(0|E.words[y-n])*(0|i.words[n]),se=67108863&K;O=67108863&(se=se+O|0),l+=(L=(L=L+(K/67108864|0)|0)+(se>>>26)|0)>>>26,L&=67108863}o.words[y]=O,m=L,L=l}return 0!==m?o.words[y]=m:o.length--,o.strip()}(this,i,o):Y(this,i,o),m},Q.prototype.makeRBT=function(i){for(var o=new Array(i),m=c.prototype._countBits(i)-1,l=0;l<i;l++)o[l]=this.revBin(l,m,i);return o},Q.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var l=0,y=0;y<o;y++)l|=(1&i)<<o-y-1,i>>=1;return l},Q.prototype.permute=function(i,o,m,l,y,L){for(var O=0;O<L;O++)l[O]=o[i[O]],y[O]=m[i[O]]},Q.prototype.transform=function(i,o,m,l,y,L){this.permute(L,i,o,m,l,y);for(var O=1;O<y;O<<=1)for(var b=O<<1,n=Math.cos(2*Math.PI/b),_=Math.sin(2*Math.PI/b),H=0;H<y;H+=b)for(var V=n,K=_,se=0;se<O;se++){var Ye=m[H+se],Oe=l[H+se],Qe=m[H+se+O],be=l[H+se+O],ue=V*Qe-K*be;be=V*be+K*Qe,m[H+se]=Ye+(Qe=ue),l[H+se]=Oe+be,m[H+se+O]=Ye-Qe,l[H+se+O]=Oe-be,se!==b&&(ue=n*V-_*K,K=n*K+_*V,V=ue)}},Q.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),l=1&m,y=0;for(m=m/2|0;m;m>>>=1)y++;return 1<<y+1+l},Q.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var l=0;l<m/2;l++){var y=i[l];i[l]=i[m-l-1],i[m-l-1]=y,y=o[l],o[l]=-o[m-l-1],o[m-l-1]=-y}},Q.prototype.normalize13b=function(i,o){for(var m=0,l=0;l<o/2;l++){var y=8192*Math.round(i[2*l+1]/o)+Math.round(i[2*l]/o)+m;i[l]=67108863&y,m=y<67108864?0:y/67108864|0}return i},Q.prototype.convert13b=function(i,o,m,l){for(var y=0,L=0;L<o;L++)m[2*L]=8191&(y+=0|i[L]),m[2*L+1]=8191&(y>>>=13),y>>>=13;for(L=2*o;L<l;++L)m[L]=0;g(0===y),g(0==(-8192&y))},Q.prototype.stub=function(i){for(var o=new Array(i),m=0;m<i;m++)o[m]=0;return o},Q.prototype.mulp=function(i,o,m){var l=2*this.guessLen13b(i.length,o.length),y=this.makeRBT(l),L=this.stub(l),O=new Array(l),b=new Array(l),n=new Array(l),_=new Array(l),H=new Array(l),V=new Array(l),K=m.words;K.length=l,this.convert13b(i.words,i.length,O,l),this.convert13b(o.words,o.length,_,l),this.transform(O,L,b,n,l,y),this.transform(_,L,H,V,l,y);for(var se=0;se<l;se++){var Ye=b[se]*H[se]-n[se]*V[se];n[se]=b[se]*V[se]+n[se]*H[se],b[se]=Ye}return this.conjugate(b,n,l),this.transform(b,n,K,L,l,y),this.conjugate(K,L,l),this.normalize13b(K,l),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},c.prototype.mul=function(i){var o=new c(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},c.prototype.mulf=function(i){var o=new c(null);return o.words=new Array(this.length+i.length),Y(this,i,o)},c.prototype.imul=function(i){return this.clone().mulTo(i,this)},c.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var o=0,m=0;m<this.length;m++){var l=(0|this.words[m])*i,y=(67108863&l)+(67108863&o);o>>=26,o+=l/67108864|0,o+=y>>>26,this.words[m]=67108863&y}return 0!==o&&(this.words[m]=o,this.length++),this},c.prototype.muln=function(i){return this.clone().imuln(i)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(i){var o=function D(E){for(var i=new Array(E.bitLength()),o=0;o<i.length;o++){var l=o%26;i[o]=(E.words[o/26|0]&1<<l)>>>l}return i}(i);if(0===o.length)return new c(1);for(var m=this,l=0;l<o.length&&0===o[l];l++,m=m.sqr());if(++l<o.length)for(var y=m.sqr();l<o.length;l++,y=y.sqr())0!==o[l]&&(m=m.mul(y));return m},c.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,o=i%26,m=(i-o)/26,l=67108863>>>26-o<<26-o;if(0!==o){var L=0;for(y=0;y<this.length;y++){var O=this.words[y]&l;this.words[y]=(0|this.words[y])-O<<o|L,L=O>>>26-o}L&&(this.words[y]=L,this.length++)}if(0!==m){for(y=this.length-1;y>=0;y--)this.words[y+m]=this.words[y];for(y=0;y<m;y++)this.words[y]=0;this.length+=m}return this.strip()},c.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},c.prototype.iushrn=function(i,o,m){var l;g("number"==typeof i&&i>=0),l=o?(o-o%26)/26:0;var y=i%26,L=Math.min((i-y)/26,this.length),O=67108863^67108863>>>y<<y,b=m;if(l-=L,l=Math.max(0,l),b){for(var n=0;n<L;n++)b.words[n]=this.words[n];b.length=L}if(0!==L)if(this.length>L)for(this.length-=L,n=0;n<this.length;n++)this.words[n]=this.words[n+L];else this.words[0]=0,this.length=1;var _=0;for(n=this.length-1;n>=0&&(0!==_||n>=l);n--){var H=0|this.words[n];this.words[n]=_<<26-y|H>>>y,_=H&O}return b&&0!==_&&(b.words[b.length++]=_),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(i,o,m){return g(0===this.negative),this.iushrn(i,o,m)},c.prototype.shln=function(i){return this.clone().ishln(i)},c.prototype.ushln=function(i){return this.clone().iushln(i)},c.prototype.shrn=function(i){return this.clone().ishrn(i)},c.prototype.ushrn=function(i){return this.clone().iushrn(i)},c.prototype.testn=function(i){g("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;return!(this.length<=m||!(this.words[m]&1<<o))},c.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==o&&m++,this.length=Math.min(m,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<<o),this.strip())},c.prototype.maskn=function(i){return this.clone().imaskn(i)},c.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)},c.prototype._iaddn=function(i){this.words[0]+=i;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},c.prototype.addn=function(i){return this.clone().iaddn(i)},c.prototype.subn=function(i){return this.clone().isubn(i)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(i,o,m){var y;this._expand(i.length+m);var L,O=0;for(y=0;y<i.length;y++){L=(0|this.words[y+m])+O;var b=(0|i.words[y])*o;O=((L-=67108863&b)>>26)-(b/67108864|0),this.words[y+m]=67108863&L}for(;y<this.length-m;y++)O=(L=(0|this.words[y+m])+O)>>26,this.words[y+m]=67108863&L;if(0===O)return this.strip();for(g(-1===O),O=0,y=0;y<this.length;y++)O=(L=-(0|this.words[y])+O)>>26,this.words[y]=67108863&L;return this.negative=1,this.strip()},c.prototype._wordDiv=function(i,o){var m,l=this.clone(),y=i,L=0|y.words[y.length-1];0!=(m=26-this._countBits(L))&&(y=y.ushln(m),l.iushln(m),L=0|y.words[y.length-1]);var n,b=l.length-y.length;if("mod"!==o){(n=new c(null)).length=b+1,n.words=new Array(n.length);for(var _=0;_<n.length;_++)n.words[_]=0}var H=l.clone()._ishlnsubmul(y,1,b);0===H.negative&&(l=H,n&&(n.words[b]=1));for(var V=b-1;V>=0;V--){var K=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(K=Math.min(K/L|0,67108863),l._ishlnsubmul(y,K,V);0!==l.negative;)K--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=K)}return n&&n.strip(),l.strip(),"div"!==o&&0!==m&&l.iushrn(m),{div:n||null,mod:l}},c.prototype.divmod=function(i,o,m){return g(!i.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===i.negative?(L=this.neg().divmod(i,o),"mod"!==o&&(l=L.div.neg()),"div"!==o&&(y=L.mod.neg(),m&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(L=this.divmod(i.neg(),o),"mod"!==o&&(l=L.div.neg()),{div:l,mod:L.mod}):this.negative&i.negative?(L=this.neg().divmod(i.neg(),o),"div"!==o&&(y=L.mod.neg(),m&&0!==y.negative&&y.isub(i)),{div:L.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new c(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new c(this.modn(i.words[0]))}:this._wordDiv(i,o);var l,y,L},c.prototype.div=function(i){return this.divmod(i,"div",!1).div},c.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},c.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},c.prototype.divRound=function(i){var o=this.divmod(i);if(o.mod.isZero())return o.div;var m=0!==o.div.negative?o.mod.isub(i):o.mod,l=i.ushrn(1),y=i.andln(1),L=m.cmp(l);return L<0||1===y&&0===L?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(i){g(i<=67108863);for(var o=(1<<26)%i,m=0,l=this.length-1;l>=0;l--)m=(o*m+(0|this.words[l]))%i;return m},c.prototype.idivn=function(i){g(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var l=(0|this.words[m])+67108864*o;this.words[m]=l/i|0,o=l%i}return this.strip()},c.prototype.divn=function(i){return this.clone().idivn(i)},c.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var l=new c(1),y=new c(0),L=new c(0),O=new c(1),b=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++b;for(var n=m.clone(),_=o.clone();!o.isZero();){for(var H=0,V=1;!(o.words[0]&V)&&H<26;++H,V<<=1);if(H>0)for(o.iushrn(H);H-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(_)),l.iushrn(1),y.iushrn(1);for(var K=0,se=1;!(m.words[0]&se)&&K<26;++K,se<<=1);if(K>0)for(m.iushrn(K);K-- >0;)(L.isOdd()||O.isOdd())&&(L.iadd(n),O.isub(_)),L.iushrn(1),O.iushrn(1);o.cmp(m)>=0?(o.isub(m),l.isub(L),y.isub(O)):(m.isub(o),L.isub(l),O.isub(y))}return{a:L,b:O,gcd:m.iushln(b)}},c.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var H,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var l=new c(1),y=new c(0),L=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var O=0,b=1;!(o.words[0]&b)&&O<26;++O,b<<=1);if(O>0)for(o.iushrn(O);O-- >0;)l.isOdd()&&l.iadd(L),l.iushrn(1);for(var n=0,_=1;!(m.words[0]&_)&&n<26;++n,_<<=1);if(n>0)for(m.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(L),y.iushrn(1);o.cmp(m)>=0?(o.isub(m),l.isub(y)):(m.isub(o),y.isub(l))}return(H=0===o.cmpn(1)?l:y).cmpn(0)<0&&H.iadd(i),H},c.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var o=this.clone(),m=i.clone();o.negative=0,m.negative=0;for(var l=0;o.isEven()&&m.isEven();l++)o.iushrn(1),m.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;m.isEven();)m.iushrn(1);var y=o.cmp(m);if(y<0){var L=o;o=m,m=L}else if(0===y||0===m.cmpn(1))break;o.isub(m)}return m.iushln(l)},c.prototype.invm=function(i){return this.egcd(i).a.umod(i)},c.prototype.isEven=function(){return 0==(1&this.words[0])},c.prototype.isOdd=function(){return 1==(1&this.words[0])},c.prototype.andln=function(i){return this.words[0]&i},c.prototype.bincn=function(i){g("number"==typeof i);var o=i%26,m=(i-o)/26,l=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=l,this;for(var y=l,L=m;0!==y&&L<this.length;L++){var O=0|this.words[L];y=(O+=y)>>>26,this.words[L]=O&=67108863}return 0!==y&&(this.words[L]=y,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(i){var m,o=i<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)m=1;else{o&&(i=-i),g(i<=67108863,"Number is too big");var l=0|this.words[0];m=l===i?0:l<i?-1:1}return 0!==this.negative?0|-m:m},c.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var o=this.ucmp(i);return 0!==this.negative?0|-o:o},c.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var o=0,m=this.length-1;m>=0;m--){var l=0|this.words[m],y=0|i.words[m];if(l!==y){l<y?o=-1:l>y&&(o=1);break}}return o},c.prototype.gtn=function(i){return 1===this.cmpn(i)},c.prototype.gt=function(i){return 1===this.cmp(i)},c.prototype.gten=function(i){return this.cmpn(i)>=0},c.prototype.gte=function(i){return this.cmp(i)>=0},c.prototype.ltn=function(i){return-1===this.cmpn(i)},c.prototype.lt=function(i){return-1===this.cmp(i)},c.prototype.lten=function(i){return this.cmpn(i)<=0},c.prototype.lte=function(i){return this.cmp(i)<=0},c.prototype.eqn=function(i){return 0===this.cmpn(i)},c.prototype.eq=function(i){return 0===this.cmp(i)},c.red=function(i){return new te(i)},c.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)},c.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(i){return this.red=i,this},c.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},c.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},c.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},c.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},c.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},c.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},c.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},c.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},c.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var J={k256:null,p224:null,p192:null,p25519:null};function ne(E,i){this.name=E,this.p=new c(i,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function X(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function pe(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function de(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(E){if("string"==typeof E){var i=c._prime(E);this.m=i.p,this.prime=i}else g(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}function ae(E){te.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(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)}ne.prototype._tmp=function(){var i=new c(null);return i.words=new Array(Math.ceil(this.n/13)),i},ne.prototype.ireduce=function(i){var m,o=i;do{this.split(o,this.tmp),m=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(m>this.n);var l=m<this.n?-1:o.ucmp(this.p);return 0===l?(o.words[0]=0,o.length=1):l>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},ne.prototype.split=function(i,o){i.iushrn(this.n,0,o)},ne.prototype.imulK=function(i){return i.imul(this.k)},T(X,ne),X.prototype.split=function(i,o){for(var m=4194303,l=Math.min(i.length,9),y=0;y<l;y++)o.words[y]=i.words[y];if(o.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var L=i.words[9];for(o.words[o.length++]=L&m,y=10;y<i.length;y++){var O=0|i.words[y];i.words[y-10]=(O&m)<<4|L>>>22,L=O}i.words[y-10]=L>>>=22,i.length-=0===L&&i.length>10?10:9},X.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var o=0,m=0;m<i.length;m++){var l=0|i.words[m];i.words[m]=67108863&(o+=977*l),o=64*l+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},T(pe,ne),T(ie,ne),T(de,ne),de.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var l=19*(0|i.words[m])+o,y=67108863&l;l>>>=26,i.words[m]=y,o=l}return 0!==o&&(i.words[i.length++]=o),i},c._prime=function(i){if(J[i])return J[i];var o;if("k256"===i)o=new X;else if("p224"===i)o=new pe;else if("p192"===i)o=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new de}return J[i]=o,o},te.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},te.prototype._verify2=function(i,o){g(0==(i.negative|o.negative),"red works only with positives"),g(i.red&&i.red===o.red,"red works only with red numbers")},te.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},te.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},te.prototype.add=function(i,o){this._verify2(i,o);var m=i.add(o);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},te.prototype.iadd=function(i,o){this._verify2(i,o);var m=i.iadd(o);return m.cmp(this.m)>=0&&m.isub(this.m),m},te.prototype.sub=function(i,o){this._verify2(i,o);var m=i.sub(o);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},te.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},te.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},te.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},te.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},te.prototype.isqr=function(i){return this.imul(i,i.clone())},te.prototype.sqr=function(i){return this.mul(i,i)},te.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(g(o%2==1),3===o){var m=this.m.add(new c(1)).iushrn(2);return this.pow(i,m)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);g(!l.isZero());var L=new c(1).toRed(this),O=L.redNeg(),b=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new c(2*n*n).toRed(this);0!==this.pow(n,b).cmp(O);)n.redIAdd(O);for(var _=this.pow(n,l),H=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),K=y;0!==V.cmp(L);){for(var se=V,Ye=0;0!==se.cmp(L);Ye++)se=se.redSqr();g(Ye<K);var Oe=this.pow(_,new c(1).iushln(K-Ye-1));H=H.redMul(Oe),_=Oe.redSqr(),V=V.redMul(_),K=Ye}return H},te.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},te.prototype.pow=function(i,o){if(o.isZero())return new c(1).toRed(this);if(0===o.cmpn(1))return i.clone();var l=new Array(16);l[0]=new c(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var L=l[0],O=0,b=0,n=o.bitLength()%26;for(0===n&&(n=26),y=o.length-1;y>=0;y--){for(var _=o.words[y],H=n-1;H>=0;H--){var V=_>>H&1;L!==l[0]&&(L=this.sqr(L)),0!==V||0!==O?(O<<=1,O|=V,(4==++b||0===y&&0===H)&&(L=this.mul(L,l[O]),b=0,O=0)):b=0}n=26}return L},te.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},te.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},c.mont=function(i){return new ae(i)},T(ae,te),ae.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},ae.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},ae.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),l=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(l).iushrn(this.shift),L=y;return y.cmp(this.m)>=0?L=y.isub(this.m):y.cmpn(0)<0&&(L=y.iadd(this.m)),L._forceRed(this)},ae.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new c(0)._forceRed(this);var m=i.mul(o),l=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(l).iushrn(this.shift),L=y;return y.cmp(this.m)>=0?L=y.isub(this.m):y.cmpn(0)<0&&(L=y.iadd(this.m)),L._forceRed(this)},ae.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ue=p.nmd(Ue),this)},5252:(Ue,q,p)=>{var e=p(7983),t=p(6517),g=p(1817),T=p(8211),c=p(1946),C=p(6362),u=p(735),P=p(843).Buffer;Ue.exports=function(D,R,F){var W;W=D.padding?D.padding:F?1:4;var J,Y=e(D),Q=Y.modulus.byteLength();if(R.length>Q||new T(R).cmp(Y.modulus)>=0)throw new Error("decryption error");J=F?u(new T(R),Y):c(R,Y);var ne=P.alloc(Q-J.length);if(J=P.concat([ne,J],Q),4===W)return function d(I,D){var R=I.modulus.byteLength(),F=C("sha1").update(P.alloc(0)).digest(),W=F.length;if(0!==D[0])throw new Error("decryption error");var Y=D.slice(1,W+1),Q=D.slice(W+1),J=g(Y,t(Q,W)),ne=g(Q,t(J,R-W-1));if(function M(I,D){I=P.from(I),D=P.from(D);var R=0,F=I.length;I.length!==D.length&&(R++,F=Math.min(I.length,D.length));for(var W=-1;++W<F;)R+=I[W]^D[W];return R}(F,ne.slice(0,W)))throw new Error("decryption error");for(var X=W;0===ne[X];)X++;if(1!==ne[X++])throw new Error("decryption error");return ne.slice(X)}(Y,J);if(1===W)return function S(I,D,R){for(var F=D.slice(0,2),W=2,Y=0;0!==D[W++];)if(W>=D.length){Y++;break}var Q=D.slice(2,W-1);if(("0002"!==F.toString("hex")&&!R||"0001"!==F.toString("hex")&&R)&&Y++,Q.length<8&&Y++,Y)throw new Error("decryption error");return D.slice(W)}(0,J,F);if(3===W)return J;throw new Error("unknown padding")}},5737:(Ue,q,p)=>{var e=p(7983),t=p(4019),g=p(6362),T=p(6517),c=p(1817),C=p(8211),u=p(735),P=p(1946),d=p(843).Buffer;Ue.exports=function(R,F,W){var Y;Y=R.padding?R.padding:W?1:4;var J,Q=e(R);if(4===Y)J=function S(D,R){var F=D.modulus.byteLength(),W=R.length,Y=g("sha1").update(d.alloc(0)).digest(),Q=Y.length,J=2*Q;if(W>F-J-2)throw new Error("message too long");var ne=d.alloc(F-W-J-2),X=F-Q-1,pe=t(Q),ie=c(d.concat([Y,ne,d.alloc(1,1),R],X),T(pe,X)),de=c(pe,T(ie,Q));return new C(d.concat([d.alloc(1),de,ie],F))}(Q,F);else if(1===Y)J=function M(D,R,F){var Q,W=R.length,Y=D.modulus.byteLength();if(W>Y-11)throw new Error("message too long");return Q=F?d.alloc(Y-W-3,255):function I(D){for(var Q,R=d.allocUnsafe(D),F=0,W=t(2*D),Y=0;F<D;)Y===W.length&&(W=t(2*D),Y=0),(Q=W[Y++])&&(R[F++]=Q);return R}(Y-W-3),new C(d.concat([d.from([0,F?1:2]),Q,d.alloc(1),R],Y))}(Q,F,W);else{if(3!==Y)throw new Error("unknown padding");if((J=new C(F)).cmp(Q.modulus)>=0)throw new Error("data too long for modulus")}return W?P(J,Q):u(J,Q)}},735:(Ue,q,p)=>{var e=p(8211),t=p(843).Buffer;Ue.exports=function g(T,c){return t.from(T.toRed(e.mont(c.modulus)).redPow(new e(c.publicExponent)).fromRed().toArray())}},1817:Ue=>{Ue.exports=function(p,e){for(var t=p.length,g=-1;++g<t;)p[g]^=e[g];return p}},2839:(Ue,q,p)=>{const e=p(8310),t=p(6208),g=p(6422),T=p(7772);function c(C,u,P,d,S){const M=[].slice.call(arguments,1),I=M.length,D="function"==typeof M[I-1];if(!D&&!e())throw new Error("Callback required as last argument");if(!D){if(I<1)throw new Error("Too few arguments provided");return 1===I?(P=u,u=d=void 0):2===I&&!u.getContext&&(d=P,P=u,u=void 0),new Promise(function(R,F){try{const W=t.create(P,d);R(C(W,u,d))}catch(W){F(W)}})}if(I<2)throw new Error("Too few arguments provided");2===I?(S=P,P=u,u=d=void 0):3===I&&(u.getContext&&typeof S>"u"?(S=d,d=void 0):(S=d,d=P,P=u,u=void 0));try{const R=t.create(P,d);S(null,C(R,u,d))}catch(R){S(R)}}q.create=t.create,q.toCanvas=c.bind(null,g.render),q.toDataURL=c.bind(null,g.renderToDataURL),q.toString=c.bind(null,function(C,u,P){return T.render(C,P)})},8310:Ue=>{Ue.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},5281:(Ue,q,p)=>{const e=p(8922).getSymbolSize;q.getRowColCoords=function(g){if(1===g)return[];const T=Math.floor(g/7)+2,c=e(g),C=145===c?26:2*Math.ceil((c-13)/(2*T-2)),u=[c-7];for(let P=1;P<T-1;P++)u[P]=u[P-1]-C;return u.push(6),u.reverse()},q.getPositions=function(g){const T=[],c=q.getRowColCoords(g),C=c.length;for(let u=0;u<C;u++)for(let P=0;P<C;P++)0===u&&0===P||0===u&&P===C-1||u===C-1&&0===P||T.push([c[u],c[P]]);return T}},120:(Ue,q,p)=>{const e=p(3298),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function g(T){this.mode=e.ALPHANUMERIC,this.data=T}g.getBitsLength=function(c){return 11*Math.floor(c/2)+c%2*6},g.prototype.getLength=function(){return this.data.length},g.prototype.getBitsLength=function(){return g.getBitsLength(this.data.length)},g.prototype.write=function(c){let C;for(C=0;C+2<=this.data.length;C+=2){let u=45*t.indexOf(this.data[C]);u+=t.indexOf(this.data[C+1]),c.put(u,11)}this.data.length%2&&c.put(t.indexOf(this.data[C]),6)},Ue.exports=g},6509:Ue=>{function q(){this.buffer=[],this.length=0}q.prototype={get:function(p){const e=Math.floor(p/8);return 1==(this.buffer[e]>>>7-p%8&1)},put:function(p,e){for(let t=0;t<e;t++)this.putBit(1==(p>>>e-t-1&1))},getLengthInBits:function(){return this.length},putBit:function(p){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),p&&(this.buffer[e]|=128>>>this.length%8),this.length++}},Ue.exports=q},5147:Ue=>{function q(p){if(!p||p<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=p,this.data=new Uint8Array(p*p),this.reservedBit=new Uint8Array(p*p)}q.prototype.set=function(p,e,t,g){const T=p*this.size+e;this.data[T]=t,g&&(this.reservedBit[T]=!0)},q.prototype.get=function(p,e){return this.data[p*this.size+e]},q.prototype.xor=function(p,e,t){this.data[p*this.size+e]^=t},q.prototype.isReserved=function(p,e){return this.reservedBit[p*this.size+e]},Ue.exports=q},277:(Ue,q,p)=>{const e=p(6119),t=p(3298);function g(T){this.mode=t.BYTE,"string"==typeof T&&(T=e(T)),this.data=new Uint8Array(T)}g.getBitsLength=function(c){return 8*c},g.prototype.getLength=function(){return this.data.length},g.prototype.getBitsLength=function(){return g.getBitsLength(this.data.length)},g.prototype.write=function(T){for(let c=0,C=this.data.length;c<C;c++)T.put(this.data[c],8)},Ue.exports=g},7191:(Ue,q,p)=>{const e=p(4505),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],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];q.getBlocksCount=function(c,C){switch(C){case e.L:return t[4*(c-1)+0];case e.M:return t[4*(c-1)+1];case e.Q:return t[4*(c-1)+2];case e.H:return t[4*(c-1)+3];default:return}},q.getTotalCodewordsCount=function(c,C){switch(C){case e.L:return g[4*(c-1)+0];case e.M:return g[4*(c-1)+1];case e.Q:return g[4*(c-1)+2];case e.H:return g[4*(c-1)+3];default:return}}},4505:(Ue,q)=>{q.L={bit:1},q.M={bit:0},q.Q={bit:3},q.H={bit:2},q.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4},q.from=function(t,g){if(q.isValid(t))return t;try{return function p(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return q.L;case"m":case"medium":return q.M;case"q":case"quartile":return q.Q;case"h":case"high":return q.H;default:throw new Error("Unknown EC Level: "+e)}}(t)}catch{return g}}},5232:(Ue,q,p)=>{const e=p(8922).getSymbolSize;q.getPositions=function(T){const c=e(T);return[[0,0],[c-7,0],[0,c-7]]}},8508:(Ue,q,p)=>{const e=p(8922),T=e.getBCHDigit(1335);q.getEncodedBits=function(C,u){const P=C.bit<<3|u;let d=P<<10;for(;e.getBCHDigit(d)-T>=0;)d^=1335<<e.getBCHDigit(d)-T;return 21522^(P<<10|d)}},1674:(Ue,q)=>{const p=new Uint8Array(512),e=new Uint8Array(256);(function(){let g=1;for(let T=0;T<255;T++)p[T]=g,e[g]=T,g<<=1,256&g&&(g^=285);for(let T=255;T<512;T++)p[T]=p[T-255]})(),q.log=function(g){if(g<1)throw new Error("log("+g+")");return e[g]},q.exp=function(g){return p[g]},q.mul=function(g,T){return 0===g||0===T?0:p[e[g]+e[T]]}},9995:(Ue,q,p)=>{const e=p(3298),t=p(8922);function g(T){this.mode=e.KANJI,this.data=T}g.getBitsLength=function(c){return 13*c},g.prototype.getLength=function(){return this.data.length},g.prototype.getBitsLength=function(){return g.getBitsLength(this.data.length)},g.prototype.write=function(T){let c;for(c=0;c<this.data.length;c++){let C=t.toSJIS(this.data[c]);if(C>=33088&&C<=40956)C-=33088;else{if(!(C>=57408&&C<=60351))throw new Error("Invalid SJIS character: "+this.data[c]+"\nMake sure your charset is UTF-8");C-=49472}C=192*(C>>>8&255)+(255&C),T.put(C,13)}},Ue.exports=g},9023:(Ue,q)=>{q.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function e(t,g,T){switch(t){case q.Patterns.PATTERN000:return(g+T)%2==0;case q.Patterns.PATTERN001:return g%2==0;case q.Patterns.PATTERN010:return T%3==0;case q.Patterns.PATTERN011:return(g+T)%3==0;case q.Patterns.PATTERN100:return(Math.floor(g/2)+Math.floor(T/3))%2==0;case q.Patterns.PATTERN101:return g*T%2+g*T%3==0;case q.Patterns.PATTERN110:return(g*T%2+g*T%3)%2==0;case q.Patterns.PATTERN111:return(g*T%3+(g+T)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}q.isValid=function(g){return null!=g&&""!==g&&!isNaN(g)&&g>=0&&g<=7},q.from=function(g){return q.isValid(g)?parseInt(g,10):void 0},q.getPenaltyN1=function(g){const T=g.size;let c=0,C=0,u=0,P=null,d=null;for(let S=0;S<T;S++){C=u=0,P=d=null;for(let M=0;M<T;M++){let I=g.get(S,M);I===P?C++:(C>=5&&(c+=C-5+3),P=I,C=1),I=g.get(M,S),I===d?u++:(u>=5&&(c+=u-5+3),d=I,u=1)}C>=5&&(c+=C-5+3),u>=5&&(c+=u-5+3)}return c},q.getPenaltyN2=function(g){const T=g.size;let c=0;for(let C=0;C<T-1;C++)for(let u=0;u<T-1;u++){const P=g.get(C,u)+g.get(C,u+1)+g.get(C+1,u)+g.get(C+1,u+1);(4===P||0===P)&&c++}return 3*c},q.getPenaltyN3=function(g){const T=g.size;let c=0,C=0,u=0;for(let P=0;P<T;P++){C=u=0;for(let d=0;d<T;d++)C=C<<1&2047|g.get(P,d),d>=10&&(1488===C||93===C)&&c++,u=u<<1&2047|g.get(d,P),d>=10&&(1488===u||93===u)&&c++}return 40*c},q.getPenaltyN4=function(g){let T=0;const c=g.data.length;for(let u=0;u<c;u++)T+=g.data[u];return 10*Math.abs(Math.ceil(100*T/c/5)-10)},q.applyMask=function(g,T){const c=T.size;for(let C=0;C<c;C++)for(let u=0;u<c;u++)T.isReserved(u,C)||T.xor(u,C,e(g,u,C))},q.getBestMask=function(g,T){const c=Object.keys(q.Patterns).length;let C=0,u=1/0;for(let P=0;P<c;P++){T(P),q.applyMask(P,g);const d=q.getPenaltyN1(g)+q.getPenaltyN2(g)+q.getPenaltyN3(g)+q.getPenaltyN4(g);q.applyMask(P,g),d<u&&(u=d,C=P)}return C}},3298:(Ue,q,p)=>{const e=p(6161),t=p(2427);q.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},q.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},q.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},q.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},q.MIXED={bit:-1},q.getCharCountIndicator=function(c,C){if(!c.ccBits)throw new Error("Invalid mode: "+c);if(!e.isValid(C))throw new Error("Invalid version: "+C);return C>=1&&C<10?c.ccBits[0]:C<27?c.ccBits[1]:c.ccBits[2]},q.getBestModeForData=function(c){return t.testNumeric(c)?q.NUMERIC:t.testAlphanumeric(c)?q.ALPHANUMERIC:t.testKanji(c)?q.KANJI:q.BYTE},q.toString=function(c){if(c&&c.id)return c.id;throw new Error("Invalid mode")},q.isValid=function(c){return c&&c.bit&&c.ccBits},q.from=function(c,C){if(q.isValid(c))return c;try{return function g(T){if("string"!=typeof T)throw new Error("Param is not a string");switch(T.toLowerCase()){case"numeric":return q.NUMERIC;case"alphanumeric":return q.ALPHANUMERIC;case"kanji":return q.KANJI;case"byte":return q.BYTE;default:throw new Error("Unknown mode: "+T)}}(c)}catch{return C}}},8722:(Ue,q,p)=>{const e=p(3298);function t(g){this.mode=e.NUMERIC,this.data=g.toString()}t.getBitsLength=function(T){return 10*Math.floor(T/3)+(T%3?T%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(T){let c,C,u;for(c=0;c+3<=this.data.length;c+=3)C=this.data.substr(c,3),u=parseInt(C,10),T.put(u,10);const P=this.data.length-c;P>0&&(C=this.data.substr(c),u=parseInt(C,10),T.put(u,3*P+1))},Ue.exports=t},2376:(Ue,q,p)=>{const e=p(1674);q.mul=function(g,T){const c=new Uint8Array(g.length+T.length-1);for(let C=0;C<g.length;C++)for(let u=0;u<T.length;u++)c[C+u]^=e.mul(g[C],T[u]);return c},q.mod=function(g,T){let c=new Uint8Array(g);for(;c.length-T.length>=0;){const C=c[0];for(let P=0;P<T.length;P++)c[P]^=e.mul(T[P],C);let u=0;for(;u<c.length&&0===c[u];)u++;c=c.slice(u)}return c},q.generateECPolynomial=function(g){let T=new Uint8Array([1]);for(let c=0;c<g;c++)T=q.mul(T,new Uint8Array([1,e.exp(c)]));return T}},6208:(Ue,q,p)=>{const e=p(8922),t=p(4505),g=p(6509),T=p(5147),c=p(5281),C=p(5232),u=p(9023),P=p(7191),d=p(1297),S=p(9467),M=p(8508),I=p(3298),D=p(1799);function Q(ie,de,te){const ae=ie.size,E=M.getEncodedBits(de,te);let i,o;for(i=0;i<15;i++)o=1==(E>>i&1),ie.set(i<6?i:i<8?i+1:ae-15+i,8,o,!0),ie.set(8,i<8?ae-i-1:i<9?15-i-1+1:15-i-1,o,!0);ie.set(ae-8,8,1,!0)}function pe(ie,de,te,ae){let E;if(Array.isArray(ie))E=D.fromArray(ie);else{if("string"!=typeof ie)throw new Error("Invalid data");{let y=de;if(!y){const L=D.rawSplit(ie);y=S.getBestVersionForData(L,te)}E=D.fromString(ie,y||40)}}const i=S.getBestVersionForData(E,te);if(!i)throw new Error("The amount of data is too big to be stored in a QR Code");if(de){if(de<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 de=i;const o=function ne(ie,de,te){const ae=new g;te.forEach(function(l){ae.put(l.mode.bit,4),ae.put(l.getLength(),I.getCharCountIndicator(l.mode,ie)),l.write(ae)});const o=8*(e.getSymbolTotalCodewords(ie)-P.getTotalCodewordsCount(ie,de));for(ae.getLengthInBits()+4<=o&&ae.put(0,4);ae.getLengthInBits()%8!=0;)ae.putBit(0);const m=(o-ae.getLengthInBits())/8;for(let l=0;l<m;l++)ae.put(l%2?17:236,8);return function X(ie,de,te){const ae=e.getSymbolTotalCodewords(de),i=ae-P.getTotalCodewordsCount(de,te),o=P.getBlocksCount(de,te),l=o-ae%o,y=Math.floor(ae/o),L=Math.floor(i/o),O=L+1,b=y-L,n=new d(b);let _=0;const H=new Array(o),V=new Array(o);let K=0;const se=new Uint8Array(ie.buffer);for(let ue=0;ue<o;ue++){const xe=ue<l?L:O;H[ue]=se.slice(_,_+xe),V[ue]=n.encode(H[ue]),_+=xe,K=Math.max(K,xe)}const Ye=new Uint8Array(ae);let Qe,be,Oe=0;for(Qe=0;Qe<K;Qe++)for(be=0;be<o;be++)Qe<H[be].length&&(Ye[Oe++]=H[be][Qe]);for(Qe=0;Qe<b;Qe++)for(be=0;be<o;be++)Ye[Oe++]=V[be][Qe];return Ye}(ae,ie,de)}(de,te,E),m=e.getSymbolSize(de),l=new T(m);return function R(ie,de){const te=ie.size,ae=C.getPositions(de);for(let E=0;E<ae.length;E++){const i=ae[E][0],o=ae[E][1];for(let m=-1;m<=7;m++)if(!(i+m<=-1||te<=i+m))for(let l=-1;l<=7;l++)o+l<=-1||te<=o+l||ie.set(i+m,o+l,m>=0&&m<=6&&(0===l||6===l)||l>=0&&l<=6&&(0===m||6===m)||m>=2&&m<=4&&l>=2&&l<=4,!0)}}(l,de),function F(ie){const de=ie.size;for(let te=8;te<de-8;te++){const ae=te%2==0;ie.set(te,6,ae,!0),ie.set(6,te,ae,!0)}}(l),function W(ie,de){const te=c.getPositions(de);for(let ae=0;ae<te.length;ae++){const E=te[ae][0],i=te[ae][1];for(let o=-2;o<=2;o++)for(let m=-2;m<=2;m++)ie.set(E+o,i+m,-2===o||2===o||-2===m||2===m||0===o&&0===m,!0)}}(l,de),Q(l,te,0),de>=7&&function Y(ie,de){const te=ie.size,ae=S.getEncodedBits(de);let E,i,o;for(let m=0;m<18;m++)E=Math.floor(m/3),i=m%3+te-8-3,o=1==(ae>>m&1),ie.set(E,i,o,!0),ie.set(i,E,o,!0)}(l,de),function J(ie,de){const te=ie.size;let ae=-1,E=te-1,i=7,o=0;for(let m=te-1;m>0;m-=2)for(6===m&&m--;;){for(let l=0;l<2;l++)if(!ie.isReserved(E,m-l)){let y=!1;o<de.length&&(y=1==(de[o]>>>i&1)),ie.set(E,m-l,y),i--,-1===i&&(o++,i=7)}if(E+=ae,E<0||te<=E){E-=ae,ae=-ae;break}}}(l,o),isNaN(ae)&&(ae=u.getBestMask(l,Q.bind(null,l,te))),u.applyMask(ae,l),Q(l,te,ae),{modules:l,version:de,errorCorrectionLevel:te,maskPattern:ae,segments:E}}q.create=function(de,te){if(typeof de>"u"||""===de)throw new Error("No input text");let E,i,ae=t.M;return typeof te<"u"&&(ae=t.from(te.errorCorrectionLevel,t.M),E=S.from(te.version),i=u.from(te.maskPattern),te.toSJISFunc&&e.setToSJISFunction(te.toSJISFunc)),pe(de,E,ae,i)}},1297:(Ue,q,p)=>{const e=p(2376);function t(g){this.genPoly=void 0,this.degree=g,this.degree&&this.initialize(this.degree)}t.prototype.initialize=function(T){this.degree=T,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(T){if(!this.genPoly)throw new Error("Encoder not initialized");const c=new Uint8Array(T.length+this.degree);c.set(T);const C=e.mod(c,this.genPoly),u=this.degree-C.length;if(u>0){const P=new Uint8Array(this.degree);return P.set(C,u),P}return C},Ue.exports=t},2427:(Ue,q)=>{const p="[0-9]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const g="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+")(?:.|[\r\n]))+";q.KANJI=new RegExp(t,"g"),q.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),q.BYTE=new RegExp(g,"g"),q.NUMERIC=new RegExp(p,"g"),q.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const T=new RegExp("^"+t+"$"),c=new RegExp("^"+p+"$"),C=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");q.testKanji=function(P){return T.test(P)},q.testNumeric=function(P){return c.test(P)},q.testAlphanumeric=function(P){return C.test(P)}},1799:(Ue,q,p)=>{const e=p(3298),t=p(8722),g=p(120),T=p(277),c=p(9995),C=p(2427),u=p(8922),P=p(7206);function d(Y){return unescape(encodeURIComponent(Y)).length}function S(Y,Q,J){const ne=[];let X;for(;null!==(X=Y.exec(J));)ne.push({data:X[0],index:X.index,mode:Q,length:X[0].length});return ne}function M(Y){const Q=S(C.NUMERIC,e.NUMERIC,Y),J=S(C.ALPHANUMERIC,e.ALPHANUMERIC,Y);let ne,X;return u.isKanjiModeEnabled()?(ne=S(C.BYTE,e.BYTE,Y),X=S(C.KANJI,e.KANJI,Y)):(ne=S(C.BYTE_KANJI,e.BYTE,Y),X=[]),Q.concat(J,ne,X).sort(function(ie,de){return ie.index-de.index}).map(function(ie){return{data:ie.data,mode:ie.mode,length:ie.length}})}function I(Y,Q){switch(Q){case e.NUMERIC:return t.getBitsLength(Y);case e.ALPHANUMERIC:return g.getBitsLength(Y);case e.KANJI:return c.getBitsLength(Y);case e.BYTE:return T.getBitsLength(Y)}}function W(Y,Q){let J;const ne=e.getBestModeForData(Y);if(J=e.from(Q,ne),J!==e.BYTE&&J.bit<ne.bit)throw new Error('"'+Y+'" cannot be encoded with mode '+e.toString(J)+".\n Suggested mode is: "+e.toString(ne));switch(J===e.KANJI&&!u.isKanjiModeEnabled()&&(J=e.BYTE),J){case e.NUMERIC:return new t(Y);case e.ALPHANUMERIC:return new g(Y);case e.KANJI:return new c(Y);case e.BYTE:return new T(Y)}}q.fromArray=function(Q){return Q.reduce(function(J,ne){return"string"==typeof ne?J.push(W(ne,null)):ne.data&&J.push(W(ne.data,ne.mode)),J},[])},q.fromString=function(Q,J){const X=function R(Y){const Q=[];for(let J=0;J<Y.length;J++){const ne=Y[J];switch(ne.mode){case e.NUMERIC:Q.push([ne,{data:ne.data,mode:e.ALPHANUMERIC,length:ne.length},{data:ne.data,mode:e.BYTE,length:ne.length}]);break;case e.ALPHANUMERIC:Q.push([ne,{data:ne.data,mode:e.BYTE,length:ne.length}]);break;case e.KANJI:Q.push([ne,{data:ne.data,mode:e.BYTE,length:d(ne.data)}]);break;case e.BYTE:Q.push([{data:ne.data,mode:e.BYTE,length:d(ne.data)}])}}return Q}(M(Q,u.isKanjiModeEnabled())),pe=function F(Y,Q){const J={},ne={start:{}};let X=["start"];for(let pe=0;pe<Y.length;pe++){const ie=Y[pe],de=[];for(let te=0;te<ie.length;te++){const ae=ie[te],E=""+pe+te;de.push(E),J[E]={node:ae,lastCount:0},ne[E]={};for(let i=0;i<X.length;i++){const o=X[i];J[o]&&J[o].node.mode===ae.mode?(ne[o][E]=I(J[o].lastCount+ae.length,ae.mode)-I(J[o].lastCount,ae.mode),J[o].lastCount+=ae.length):(J[o]&&(J[o].lastCount=ae.length),ne[o][E]=I(ae.length,ae.mode)+4+e.getCharCountIndicator(ae.mode,Q))}}X=de}for(let pe=0;pe<X.length;pe++)ne[X[pe]].end=0;return{map:ne,table:J}}(X,J),ie=P.find_path(pe.map,"start","end"),de=[];for(let te=1;te<ie.length-1;te++)de.push(pe.table[ie[te]].node);return q.fromArray(function D(Y){return Y.reduce(function(Q,J){const ne=Q.length-1>=0?Q[Q.length-1]:null;return ne&&ne.mode===J.mode?(Q[Q.length-1].data+=J.data,Q):(Q.push(J),Q)},[])}(de))},q.rawSplit=function(Q){return q.fromArray(M(Q,u.isKanjiModeEnabled()))}},8922:(Ue,q)=>{let p;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];q.getSymbolSize=function(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},q.getSymbolTotalCodewords=function(g){return e[g]},q.getBCHDigit=function(t){let g=0;for(;0!==t;)g++,t>>>=1;return g},q.setToSJISFunction=function(g){if("function"!=typeof g)throw new Error('"toSJISFunc" is not a valid function.');p=g},q.isKanjiModeEnabled=function(){return typeof p<"u"},q.toSJIS=function(g){return p(g)}},6161:(Ue,q)=>{q.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},9467:(Ue,q,p)=>{const e=p(8922),t=p(7191),g=p(4505),T=p(3298),c=p(6161),u=e.getBCHDigit(7973);function d(I,D){return T.getCharCountIndicator(I,D)+4}function S(I,D){let R=0;return I.forEach(function(F){const W=d(F.mode,D);R+=W+F.getBitsLength()}),R}q.from=function(D,R){return c.isValid(D)?parseInt(D,10):R},q.getCapacity=function(D,R,F){if(!c.isValid(D))throw new Error("Invalid QR Code version");typeof F>"u"&&(F=T.BYTE);const Q=8*(e.getSymbolTotalCodewords(D)-t.getTotalCodewordsCount(D,R));if(F===T.MIXED)return Q;const J=Q-d(F,D);switch(F){case T.NUMERIC:return Math.floor(J/10*3);case T.ALPHANUMERIC:return Math.floor(J/11*2);case T.KANJI:return Math.floor(J/13);default:return Math.floor(J/8)}},q.getBestVersionForData=function(D,R){let F;const W=g.from(R,g.M);if(Array.isArray(D)){if(D.length>1)return function M(I,D){for(let R=1;R<=40;R++)if(S(I,R)<=q.getCapacity(R,D,T.MIXED))return R}(D,W);if(0===D.length)return 1;F=D[0]}else F=D;return function P(I,D,R){for(let F=1;F<=40;F++)if(D<=q.getCapacity(F,R,I))return F}(F.mode,F.getLength(),W)},q.getEncodedBits=function(D){if(!c.isValid(D)||D<7)throw new Error("Invalid QR Code version");let R=D<<12;for(;e.getBCHDigit(R)-u>=0;)R^=7973<<e.getBCHDigit(R)-u;return D<<12|R}},6422:(Ue,q,p)=>{const e=p(1101);q.render=function(c,C,u){let P=u,d=C;typeof P>"u"&&(!C||!C.getContext)&&(P=C,C=void 0),C||(d=function g(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),P=e.getOptions(P);const S=e.getImageWidth(c.modules.size,P),M=d.getContext("2d"),I=M.createImageData(S,S);return e.qrToImageData(I.data,c,P),function t(T,c,C){T.clearRect(0,0,c.width,c.height),c.style||(c.style={}),c.height=C,c.width=C,c.style.height=C+"px",c.style.width=C+"px"}(M,d,S),M.putImageData(I,0,0),d},q.renderToDataURL=function(c,C,u){let P=u;return typeof P>"u"&&(!C||!C.getContext)&&(P=C,C=void 0),P||(P={}),q.render(c,C,P).toDataURL(P.type||"image/png",(P.rendererOpts||{}).quality)}},7772:(Ue,q,p)=>{const e=p(1101);function t(c,C){const u=c.a/255,P=C+'="'+c.hex+'"';return u<1?P+" "+C+'-opacity="'+u.toFixed(2).slice(1)+'"':P}function g(c,C,u){let P=c+C;return typeof u<"u"&&(P+=" "+u),P}q.render=function(C,u,P){const d=e.getOptions(u),S=C.modules.size,M=C.modules.data,I=S+2*d.margin,D=d.color.light.a?"<path "+t(d.color.light,"fill")+' d="M0 0h'+I+"v"+I+'H0z"/>':"",R="<path "+t(d.color.dark,"stroke")+' d="'+function T(c,C,u){let P="",d=0,S=!1,M=0;for(let I=0;I<c.length;I++){const D=Math.floor(I%C),R=Math.floor(I/C);!D&&!S&&(S=!0),c[I]?(M++,I>0&&D>0&&c[I-1]||(P+=S?g("M",D+u,.5+R+u):g("m",d,0),d=0,S=!1),D+1<C&&c[I+1]||(P+=g("h",M),M=0)):d++}return P}(M,S,d.margin)+'"/>',Y='<svg xmlns="http://www.w3.org/2000/svg" '+(d.width?'width="'+d.width+'" height="'+d.width+'" ':"")+'viewBox="0 0 '+I+" "+I+'" shape-rendering="crispEdges">'+D+R+"</svg>\n";return"function"==typeof P&&P(null,Y),Y}},1101:(Ue,q)=>{function p(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(T){return[T,T]}))),6===t.length&&t.push("F","F");const g=parseInt(t.join(""),16);return{r:g>>24&255,g:g>>16&255,b:g>>8&255,a:255&g,hex:"#"+t.slice(0,6).join("")}}q.getOptions=function(t){t||(t={}),t.color||(t.color={});const T=t.width&&t.width>=21?t.width:void 0;return{width:T,scale:T?4:t.scale||4,margin:typeof t.margin>"u"||null===t.margin||t.margin<0?4:t.margin,color:{dark:p(t.color.dark||"#000000ff"),light:p(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},q.getScale=function(t,g){return g.width&&g.width>=t+2*g.margin?g.width/(t+2*g.margin):g.scale},q.getImageWidth=function(t,g){const T=q.getScale(t,g);return Math.floor((t+2*g.margin)*T)},q.qrToImageData=function(t,g,T){const c=g.modules.size,C=g.modules.data,u=q.getScale(c,T),P=Math.floor((c+2*T.margin)*u),d=T.margin*u,S=[T.color.light,T.color.dark];for(let M=0;M<P;M++)for(let I=0;I<P;I++){let D=4*(M*P+I),R=T.color.light;M>=d&&I>=d&&M<P-d&&I<P-d&&(R=S[C[Math.floor((M-d)/u)*c+Math.floor((I-d)/u)]?1:0]),t[D++]=R.r,t[D++]=R.g,t[D++]=R.b,t[D]=R.a}}},4019:(Ue,q,p)=>{"use strict";var e=65536,T=p(843).Buffer,c=global.crypto||global.msCrypto;Ue.exports=c&&c.getRandomValues?function C(u,P){if(u>4294967295)throw new RangeError("requested too many random bytes");var d=T.allocUnsafe(u);if(u>0)if(u>e)for(var S=0;S<u;S+=e)c.getRandomValues(d.slice(S,S+e));else c.getRandomValues(d);return"function"==typeof P?process.nextTick(function(){P(null,d)}):d}:function g(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},1237:(Ue,q,p)=>{"use strict";function e(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var t=p(843),g=p(4019),T=t.Buffer,c=t.kMaxLength,C=global.crypto||global.msCrypto,u=Math.pow(2,32)-1;function P(D,R){if("number"!=typeof D||D!=D)throw new TypeError("offset must be a number");if(D>u||D<0)throw new TypeError("offset must be a uint32");if(D>c||D>R)throw new RangeError("offset out of range")}function d(D,R,F){if("number"!=typeof D||D!=D)throw new TypeError("size must be a number");if(D>u||D<0)throw new TypeError("size must be a uint32");if(D+R>F||D>c)throw new RangeError("buffer too small")}function M(D,R,F,W){if(process.browser){var Q=new Uint8Array(D.buffer,R,F);return C.getRandomValues(Q),W?void process.nextTick(function(){W(null,D)}):D}if(!W)return g(F).copy(D,R),D;g(F,function(ne,X){if(ne)return W(ne);X.copy(D,R),W(null,D)})}C&&C.getRandomValues||!process.browser?(q.randomFill=function S(D,R,F,W){if(!(T.isBuffer(D)||D instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof R)W=R,R=0,F=D.length;else if("function"==typeof F)W=F,F=D.length-R;else if("function"!=typeof W)throw new TypeError('"cb" argument must be a function');return P(R,D.length),d(F,R,D.length),M(D,R,F,W)},q.randomFillSync=function I(D,R,F){if(typeof R>"u"&&(R=0),!(T.isBuffer(D)||D instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return P(R,D.length),void 0===F&&(F=D.length-R),d(F,R,D.length),M(D,R,F)}):(q.randomFill=e,q.randomFillSync=e)},7218:Ue=>{"use strict";var p={};function e(C,u,P){P||(P=Error);var S=function(M){function I(D,R,F){return M.call(this,function d(M,I,D){return"string"==typeof u?u:u(M,I,D)}(D,R,F))||this}return function q(C,u){C.prototype=Object.create(u.prototype),C.prototype.constructor=C,C.__proto__=u}(I,M),I}(P);S.prototype.name=P.name,S.prototype.code=C,p[C]=S}function t(C,u){if(Array.isArray(C)){var P=C.length;return C=C.map(function(d){return String(d)}),P>2?"one of ".concat(u," ").concat(C.slice(0,P-1).join(", "),", or ")+C[P-1]:2===P?"one of ".concat(u," ").concat(C[0]," or ").concat(C[1]):"of ".concat(u," ").concat(C[0])}return"of ".concat(u," ").concat(String(C))}e("ERR_INVALID_OPT_VALUE",function(C,u){return'The value "'+u+'" is invalid for option "'+C+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(C,u,P){var d,S;if("string"==typeof u&&function g(C,u,P){return C.substr(!P||P<0?0:+P,u.length)===u}(u,"not ")?(d="must not be",u=u.replace(/^not /,"")):d="must be",function T(C,u,P){return(void 0===P||P>C.length)&&(P=C.length),C.substring(P-u.length,P)===u}(C," argument"))S="The ".concat(C," ").concat(d," ").concat(t(u,"type"));else{var M=function c(C,u,P){return"number"!=typeof P&&(P=0),!(P+u.length>C.length)&&-1!==C.indexOf(u,P)}(C,".")?"property":"argument";S='The "'.concat(C,'" ').concat(M," ").concat(d," ").concat(t(u,"type"))}return S+". Received type ".concat(typeof P)},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(C){return"The "+C+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(C){return"Cannot call "+C+" after a stream was destroyed"}),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",function(C){return"Unknown encoding: "+C},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Ue.exports.q=p},247:(Ue,q,p)=>{"use strict";var e=Object.keys||function(S){var M=[];for(var I in S)M.push(I);return M};Ue.exports=u;var t=p(309),g=p(6563);p(6698)(u,t);for(var T=e(g.prototype),c=0;c<T.length;c++){var C=T[c];u.prototype[C]||(u.prototype[C]=g.prototype[C])}function u(S){if(!(this instanceof u))return new u(S);t.call(this,S),g.call(this,S),this.allowHalfOpen=!0,S&&(!1===S.readable&&(this.readable=!1),!1===S.writable&&(this.writable=!1),!1===S.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",P)))}function P(){this._writableState.ended||process.nextTick(d,this)}function d(S){S.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(M){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=M,this._writableState.destroyed=M)}})},5096:(Ue,q,p)=>{"use strict";Ue.exports=t;var e=p(6307);function t(g){if(!(this instanceof t))return new t(g);e.call(this,g)}p(6698)(t,e),t.prototype._transform=function(g,T,c){c(null,g)}},309:(Ue,q,p)=>{"use strict";var e;Ue.exports=E,E.ReadableState=ae,p(2016);var S,g=function(ze,we){return ze.listeners(we).length},T=p(8240),c=p(9007).Buffer,C=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},d=p(4616);S=d&&d.debuglog?d.debuglog("stream"):function(){};var ne,X,pe,M=p(2960),I=p(5601),R=p(8782).getHighWaterMark,F=p(7218).q,W=F.ERR_INVALID_ARG_TYPE,Y=F.ERR_STREAM_PUSH_AFTER_EOF,Q=F.ERR_METHOD_NOT_IMPLEMENTED,J=F.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;p(6698)(E,T);var ie=I.errorOrDestroy,de=["error","close","destroy","pause","resume"];function ae(oe,ze,we){e=e||p(247),"boolean"!=typeof we&&(we=ze instanceof e),this.objectMode=!!(oe=oe||{}).objectMode,we&&(this.objectMode=this.objectMode||!!oe.readableObjectMode),this.highWaterMark=R(this,oe,"readableHighWaterMark",we),this.buffer=new M,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==oe.emitClose,this.autoDestroy=!!oe.autoDestroy,this.destroyed=!1,this.defaultEncoding=oe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,oe.encoding&&(ne||(ne=p(2024).s),this.decoder=new ne(oe.encoding),this.encoding=oe.encoding)}function E(oe){if(e=e||p(247),!(this instanceof E))return new E(oe);this._readableState=new ae(oe,this,this instanceof e),this.readable=!0,oe&&("function"==typeof oe.read&&(this._read=oe.read),"function"==typeof oe.destroy&&(this._destroy=oe.destroy)),T.call(this)}function i(oe,ze,we,le,ge){S("readableAddChunk",ze);var Ge,fe=oe._readableState;if(null===ze)fe.reading=!1,function O(oe,ze){if(S("onEofChunk"),!ze.ended){if(ze.decoder){var we=ze.decoder.end();we&&we.length&&(ze.buffer.push(we),ze.length+=ze.objectMode?1:we.length)}ze.ended=!0,ze.sync?b(oe):(ze.needReadable=!1,ze.emittedReadable||(ze.emittedReadable=!0,n(oe)))}}(oe,fe);else if(ge||(Ge=function m(oe,ze){var we;return!function P(oe){return c.isBuffer(oe)||oe instanceof C}(ze)&&"string"!=typeof ze&&void 0!==ze&&!oe.objectMode&&(we=new W("chunk",["string","Buffer","Uint8Array"],ze)),we}(fe,ze)),Ge)ie(oe,Ge);else if(fe.objectMode||ze&&ze.length>0)if("string"!=typeof ze&&!fe.objectMode&&Object.getPrototypeOf(ze)!==c.prototype&&(ze=function u(oe){return c.from(oe)}(ze)),le)fe.endEmitted?ie(oe,new J):o(oe,fe,ze,!0);else if(fe.ended)ie(oe,new Y);else{if(fe.destroyed)return!1;fe.reading=!1,fe.decoder&&!we?(ze=fe.decoder.write(ze),fe.objectMode||0!==ze.length?o(oe,fe,ze,!1):_(oe,fe)):o(oe,fe,ze,!1)}else le||(fe.reading=!1,_(oe,fe));return!fe.ended&&(fe.length<fe.highWaterMark||0===fe.length)}function o(oe,ze,we,le){ze.flowing&&0===ze.length&&!ze.sync?(ze.awaitDrain=0,oe.emit("data",we)):(ze.length+=ze.objectMode?1:we.length,le?ze.buffer.unshift(we):ze.buffer.push(we),ze.needReadable&&b(oe)),_(oe,ze)}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(ze){this._readableState&&(this._readableState.destroyed=ze)}}),E.prototype.destroy=I.destroy,E.prototype._undestroy=I.undestroy,E.prototype._destroy=function(oe,ze){ze(oe)},E.prototype.push=function(oe,ze){var le,we=this._readableState;return we.objectMode?le=!0:"string"==typeof oe&&((ze=ze||we.defaultEncoding)!==we.encoding&&(oe=c.from(oe,ze),ze=""),le=!0),i(this,oe,ze,!1,le)},E.prototype.unshift=function(oe){return i(this,oe,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(oe){ne||(ne=p(2024).s);var ze=new ne(oe);this._readableState.decoder=ze,this._readableState.encoding=this._readableState.decoder.encoding;for(var we=this._readableState.buffer.head,le="";null!==we;)le+=ze.write(we.data),we=we.next;return this._readableState.buffer.clear(),""!==le&&this._readableState.buffer.push(le),this._readableState.length=le.length,this};var l=1073741824;function L(oe,ze){return oe<=0||0===ze.length&&ze.ended?0:ze.objectMode?1:oe!=oe?ze.flowing&&ze.length?ze.buffer.head.data.length:ze.length:(oe>ze.highWaterMark&&(ze.highWaterMark=function y(oe){return oe>=l?oe=l:(oe--,oe|=oe>>>1,oe|=oe>>>2,oe|=oe>>>4,oe|=oe>>>8,oe|=oe>>>16,oe++),oe}(oe)),oe<=ze.length?oe:ze.ended?ze.length:(ze.needReadable=!0,0))}function b(oe){var ze=oe._readableState;S("emitReadable",ze.needReadable,ze.emittedReadable),ze.needReadable=!1,ze.emittedReadable||(S("emitReadable",ze.flowing),ze.emittedReadable=!0,process.nextTick(n,oe))}function n(oe){var ze=oe._readableState;S("emitReadable_",ze.destroyed,ze.length,ze.ended),!ze.destroyed&&(ze.length||ze.ended)&&(oe.emit("readable"),ze.emittedReadable=!1),ze.needReadable=!ze.flowing&&!ze.ended&&ze.length<=ze.highWaterMark,Qe(oe)}function _(oe,ze){ze.readingMore||(ze.readingMore=!0,process.nextTick(H,oe,ze))}function H(oe,ze){for(;!ze.reading&&!ze.ended&&(ze.length<ze.highWaterMark||ze.flowing&&0===ze.length);){var we=ze.length;if(S("maybeReadMore read 0"),oe.read(0),we===ze.length)break}ze.readingMore=!1}function K(oe){var ze=oe._readableState;ze.readableListening=oe.listenerCount("readable")>0,ze.resumeScheduled&&!ze.paused?ze.flowing=!0:oe.listenerCount("data")>0&&oe.resume()}function se(oe){S("readable nexttick read 0"),oe.read(0)}function Oe(oe,ze){S("resume",ze.reading),ze.reading||oe.read(0),ze.resumeScheduled=!1,oe.emit("resume"),Qe(oe),ze.flowing&&!ze.reading&&oe.read(0)}function Qe(oe){var ze=oe._readableState;for(S("flow",ze.flowing);ze.flowing&&null!==oe.read(););}function be(oe,ze){return 0===ze.length?null:(ze.objectMode?we=ze.buffer.shift():!oe||oe>=ze.length?(we=ze.decoder?ze.buffer.join(""):1===ze.buffer.length?ze.buffer.first():ze.buffer.concat(ze.length),ze.buffer.clear()):we=ze.buffer.consume(oe,ze.decoder),we);var we}function ue(oe){var ze=oe._readableState;S("endReadable",ze.endEmitted),ze.endEmitted||(ze.ended=!0,process.nextTick(xe,ze,oe))}function xe(oe,ze){if(S("endReadableNT",oe.endEmitted,oe.length),!oe.endEmitted&&0===oe.length&&(oe.endEmitted=!0,ze.readable=!1,ze.emit("end"),oe.autoDestroy)){var we=ze._writableState;(!we||we.autoDestroy&&we.finished)&&ze.destroy()}}function Pe(oe,ze){for(var we=0,le=oe.length;we<le;we++)if(oe[we]===ze)return we;return-1}E.prototype.read=function(oe){S("read",oe),oe=parseInt(oe,10);var ze=this._readableState,we=oe;if(0!==oe&&(ze.emittedReadable=!1),0===oe&&ze.needReadable&&((0!==ze.highWaterMark?ze.length>=ze.highWaterMark:ze.length>0)||ze.ended))return S("read: emitReadable",ze.length,ze.ended),0===ze.length&&ze.ended?ue(this):b(this),null;if(0===(oe=L(oe,ze))&&ze.ended)return 0===ze.length&&ue(this),null;var ge,le=ze.needReadable;return S("need readable",le),(0===ze.length||ze.length-oe<ze.highWaterMark)&&S("length less than watermark",le=!0),ze.ended||ze.reading?S("reading or ended",le=!1):le&&(S("do read"),ze.reading=!0,ze.sync=!0,0===ze.length&&(ze.needReadable=!0),this._read(ze.highWaterMark),ze.sync=!1,ze.reading||(oe=L(we,ze))),null===(ge=oe>0?be(oe,ze):null)?(ze.needReadable=ze.length<=ze.highWaterMark,oe=0):(ze.length-=oe,ze.awaitDrain=0),0===ze.length&&(ze.ended||(ze.needReadable=!0),we!==oe&&ze.ended&&ue(this)),null!==ge&&this.emit("data",ge),ge},E.prototype._read=function(oe){ie(this,new Q("_read()"))},E.prototype.pipe=function(oe,ze){var we=this,le=this._readableState;switch(le.pipesCount){case 0:le.pipes=oe;break;case 1:le.pipes=[le.pipes,oe];break;default:le.pipes.push(oe)}le.pipesCount+=1,S("pipe count=%d opts=%j",le.pipesCount,ze);var fe=ze&&!1===ze.end||oe===process.stdout||oe===process.stderr?et:Le;function Le(){S("onend"),oe.end()}le.endEmitted?process.nextTick(fe):we.once("end",fe),oe.on("unpipe",function Ge(Ct,ke){S("onunpipe"),Ct===we&&ke&&!1===ke.hasUnpiped&&(ke.hasUnpiped=!0,function at(){S("cleanup"),oe.removeListener("close",xt),oe.removeListener("finish",ct),oe.removeListener("drain",Ne),oe.removeListener("error",De),oe.removeListener("unpipe",Ge),we.removeListener("end",Le),we.removeListener("end",et),we.removeListener("data",ve),Ve=!0,le.awaitDrain&&(!oe._writableState||oe._writableState.needDrain)&&Ne()}())});var Ne=function V(oe){return function(){var we=oe._readableState;S("pipeOnDrain",we.awaitDrain),we.awaitDrain&&we.awaitDrain--,0===we.awaitDrain&&g(oe,"data")&&(we.flowing=!0,Qe(oe))}}(we);oe.on("drain",Ne);var Ve=!1;function ve(Ct){S("ondata");var ke=oe.write(Ct);S("dest.write",ke),!1===ke&&((1===le.pipesCount&&le.pipes===oe||le.pipesCount>1&&-1!==Pe(le.pipes,oe))&&!Ve&&(S("false write response, pause",le.awaitDrain),le.awaitDrain++),we.pause())}function De(Ct){S("onerror",Ct),et(),oe.removeListener("error",De),0===g(oe,"error")&&ie(oe,Ct)}function xt(){oe.removeListener("finish",ct),et()}function ct(){S("onfinish"),oe.removeListener("close",xt),et()}function et(){S("unpipe"),we.unpipe(oe)}return we.on("data",ve),function te(oe,ze,we){if("function"==typeof oe.prependListener)return oe.prependListener(ze,we);oe._events&&oe._events[ze]?Array.isArray(oe._events[ze])?oe._events[ze].unshift(we):oe._events[ze]=[we,oe._events[ze]]:oe.on(ze,we)}(oe,"error",De),oe.once("close",xt),oe.once("finish",ct),oe.emit("pipe",we),le.flowing||(S("pipe resume"),we.resume()),oe},E.prototype.unpipe=function(oe){var ze=this._readableState,we={hasUnpiped:!1};if(0===ze.pipesCount)return this;if(1===ze.pipesCount)return oe&&oe!==ze.pipes||(oe||(oe=ze.pipes),ze.pipes=null,ze.pipesCount=0,ze.flowing=!1,oe&&oe.emit("unpipe",this,we)),this;if(!oe){var le=ze.pipes,ge=ze.pipesCount;ze.pipes=null,ze.pipesCount=0,ze.flowing=!1;for(var fe=0;fe<ge;fe++)le[fe].emit("unpipe",this,{hasUnpiped:!1});return this}var Ge=Pe(ze.pipes,oe);return-1===Ge||(ze.pipes.splice(Ge,1),ze.pipesCount-=1,1===ze.pipesCount&&(ze.pipes=ze.pipes[0]),oe.emit("unpipe",this,we)),this},E.prototype.addListener=E.prototype.on=function(oe,ze){var we=T.prototype.on.call(this,oe,ze),le=this._readableState;return"data"===oe?(le.readableListening=this.listenerCount("readable")>0,!1!==le.flowing&&this.resume()):"readable"===oe&&!le.endEmitted&&!le.readableListening&&(le.readableListening=le.needReadable=!0,le.flowing=!1,le.emittedReadable=!1,S("on readable",le.length,le.reading),le.length?b(this):le.reading||process.nextTick(se,this)),we},E.prototype.removeListener=function(oe,ze){var we=T.prototype.removeListener.call(this,oe,ze);return"readable"===oe&&process.nextTick(K,this),we},E.prototype.removeAllListeners=function(oe){var ze=T.prototype.removeAllListeners.apply(this,arguments);return("readable"===oe||void 0===oe)&&process.nextTick(K,this),ze},E.prototype.resume=function(){var oe=this._readableState;return oe.flowing||(S("resume"),oe.flowing=!oe.readableListening,function Ye(oe,ze){ze.resumeScheduled||(ze.resumeScheduled=!0,process.nextTick(Oe,oe,ze))}(this,oe)),oe.paused=!1,this},E.prototype.pause=function(){return S("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(S("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(oe){var ze=this,we=this._readableState,le=!1;for(var ge in oe.on("end",function(){if(S("wrapped end"),we.decoder&&!we.ended){var Ge=we.decoder.end();Ge&&Ge.length&&ze.push(Ge)}ze.push(null)}),oe.on("data",function(Ge){S("wrapped data"),we.decoder&&(Ge=we.decoder.write(Ge)),we.objectMode&&null==Ge||!(we.objectMode||Ge&&Ge.length)||ze.push(Ge)||(le=!0,oe.pause())}),oe)void 0===this[ge]&&"function"==typeof oe[ge]&&(this[ge]=function(Le){return function(){return oe[Le].apply(oe,arguments)}}(ge));for(var fe=0;fe<de.length;fe++)oe.on(de[fe],this.emit.bind(this,de[fe]));return this._read=function(Ge){S("wrapped _read",Ge),le&&(le=!1,oe.resume())},this},"function"==typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return void 0===X&&(X=p(457)),X(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(ze){this._readableState&&(this._readableState.flowing=ze)}}),E._fromList=be,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(E.from=function(oe,ze){return void 0===pe&&(pe=p(3335)),pe(E,oe,ze)})},6307:(Ue,q,p)=>{"use strict";Ue.exports=P;var e=p(7218).q,t=e.ERR_METHOD_NOT_IMPLEMENTED,g=e.ERR_MULTIPLE_CALLBACK,T=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,c=e.ERR_TRANSFORM_WITH_LENGTH_0,C=p(247);function u(M,I){var D=this._transformState;D.transforming=!1;var R=D.writecb;if(null===R)return this.emit("error",new g);D.writechunk=null,D.writecb=null,null!=I&&this.push(I),R(M);var F=this._readableState;F.reading=!1,(F.needReadable||F.length<F.highWaterMark)&&this._read(F.highWaterMark)}function P(M){if(!(this instanceof P))return new P(M);C.call(this,M),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,M&&("function"==typeof M.transform&&(this._transform=M.transform),"function"==typeof M.flush&&(this._flush=M.flush)),this.on("prefinish",d)}function d(){var M=this;"function"!=typeof this._flush||this._readableState.destroyed?S(this,null,null):this._flush(function(I,D){S(M,I,D)})}function S(M,I,D){if(I)return M.emit("error",I);if(null!=D&&M.push(D),M._writableState.length)throw new c;if(M._transformState.transforming)throw new T;return M.push(null)}p(6698)(P,C),P.prototype.push=function(M,I){return this._transformState.needTransform=!1,C.prototype.push.call(this,M,I)},P.prototype._transform=function(M,I,D){D(new t("_transform()"))},P.prototype._write=function(M,I,D){var R=this._transformState;if(R.writecb=D,R.writechunk=M,R.writeencoding=I,!R.transforming){var F=this._readableState;(R.needTransform||F.needReadable||F.length<F.highWaterMark)&&this._read(F.highWaterMark)}},P.prototype._read=function(M){var I=this._transformState;null===I.writechunk||I.transforming?I.needTransform=!0:(I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform))},P.prototype._destroy=function(M,I){C.prototype._destroy.call(this,M,function(D){I(D)})}},6563:(Ue,q,p)=>{"use strict";function t(Qe){var be=this;this.next=null,this.entry=null,this.finish=function(){!function Oe(Qe,be,ue){var xe=Qe.entry;for(Qe.entry=null;xe;){var Pe=xe.callback;be.pendingcb--,Pe(ue),xe=xe.next}be.corkedRequestsFree.next=Qe}(be,Qe)}}var g;Ue.exports=ae,ae.WritableState=de;var te,T={deprecate:p(496)},c=p(8240),C=p(9007).Buffer,u=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},S=p(5601),I=p(8782).getHighWaterMark,D=p(7218).q,R=D.ERR_INVALID_ARG_TYPE,F=D.ERR_METHOD_NOT_IMPLEMENTED,W=D.ERR_MULTIPLE_CALLBACK,Y=D.ERR_STREAM_CANNOT_PIPE,Q=D.ERR_STREAM_DESTROYED,J=D.ERR_STREAM_NULL_VALUES,ne=D.ERR_STREAM_WRITE_AFTER_END,X=D.ERR_UNKNOWN_ENCODING,pe=S.errorOrDestroy;function ie(){}function de(Qe,be,ue){g=g||p(247),"boolean"!=typeof ue&&(ue=be instanceof g),this.objectMode=!!(Qe=Qe||{}).objectMode,ue&&(this.objectMode=this.objectMode||!!Qe.writableObjectMode),this.highWaterMark=I(this,Qe,"writableHighWaterMark",ue),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===Qe.decodeStrings),this.defaultEncoding=Qe.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Pe){!function O(Qe,be){var ue=Qe._writableState,xe=ue.sync,Pe=ue.writecb;if("function"!=typeof Pe)throw new W;if(function L(Qe){Qe.writing=!1,Qe.writecb=null,Qe.length-=Qe.writelen,Qe.writelen=0}(ue),be)!function y(Qe,be,ue,xe,Pe){--be.pendingcb,ue?(process.nextTick(Pe,xe),process.nextTick(se,Qe,be),Qe._writableState.errorEmitted=!0,pe(Qe,xe)):(Pe(xe),Qe._writableState.errorEmitted=!0,pe(Qe,xe),se(Qe,be))}(Qe,ue,xe,be,Pe);else{var oe=H(ue)||Qe.destroyed;!oe&&!ue.corked&&!ue.bufferProcessing&&ue.bufferedRequest&&_(Qe,ue),xe?process.nextTick(b,Qe,ue,oe,Pe):b(Qe,ue,oe,Pe)}}(be,Pe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==Qe.emitClose,this.autoDestroy=!!Qe.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function ae(Qe){var be=this instanceof(g=g||p(247));if(!be&&!te.call(ae,this))return new ae(Qe);this._writableState=new de(Qe,this,be),this.writable=!0,Qe&&("function"==typeof Qe.write&&(this._write=Qe.write),"function"==typeof Qe.writev&&(this._writev=Qe.writev),"function"==typeof Qe.destroy&&(this._destroy=Qe.destroy),"function"==typeof Qe.final&&(this._final=Qe.final)),c.call(this)}function l(Qe,be,ue,xe,Pe,oe,ze){be.writelen=xe,be.writecb=ze,be.writing=!0,be.sync=!0,be.destroyed?be.onwrite(new Q("write")):ue?Qe._writev(Pe,be.onwrite):Qe._write(Pe,oe,be.onwrite),be.sync=!1}function b(Qe,be,ue,xe){ue||function n(Qe,be){0===be.length&&be.needDrain&&(be.needDrain=!1,Qe.emit("drain"))}(Qe,be),be.pendingcb--,xe(),se(Qe,be)}function _(Qe,be){be.bufferProcessing=!0;var ue=be.bufferedRequest;if(Qe._writev&&ue&&ue.next){var Pe=new Array(be.bufferedRequestCount),oe=be.corkedRequestsFree;oe.entry=ue;for(var ze=0,we=!0;ue;)Pe[ze]=ue,ue.isBuf||(we=!1),ue=ue.next,ze+=1;Pe.allBuffers=we,l(Qe,be,!0,be.length,Pe,"",oe.finish),be.pendingcb++,be.lastBufferedRequest=null,oe.next?(be.corkedRequestsFree=oe.next,oe.next=null):be.corkedRequestsFree=new t(be),be.bufferedRequestCount=0}else{for(;ue;){var le=ue.chunk;if(l(Qe,be,!1,be.objectMode?1:le.length,le,ue.encoding,ue.callback),ue=ue.next,be.bufferedRequestCount--,be.writing)break}null===ue&&(be.lastBufferedRequest=null)}be.bufferedRequest=ue,be.bufferProcessing=!1}function H(Qe){return Qe.ending&&0===Qe.length&&null===Qe.bufferedRequest&&!Qe.finished&&!Qe.writing}function V(Qe,be){Qe._final(function(ue){be.pendingcb--,ue&&pe(Qe,ue),be.prefinished=!0,Qe.emit("prefinish"),se(Qe,be)})}function se(Qe,be){var ue=H(be);if(ue&&(function K(Qe,be){!be.prefinished&&!be.finalCalled&&("function"!=typeof Qe._final||be.destroyed?(be.prefinished=!0,Qe.emit("prefinish")):(be.pendingcb++,be.finalCalled=!0,process.nextTick(V,Qe,be)))}(Qe,be),0===be.pendingcb&&(be.finished=!0,Qe.emit("finish"),be.autoDestroy))){var xe=Qe._readableState;(!xe||xe.autoDestroy&&xe.endEmitted)&&Qe.destroy()}return ue}p(6698)(ae,c),de.prototype.getBuffer=function(){for(var be=this.bufferedRequest,ue=[];be;)ue.push(be),be=be.next;return ue},function(){try{Object.defineProperty(de.prototype,"buffer",{get:T.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]?(te=Function.prototype[Symbol.hasInstance],Object.defineProperty(ae,Symbol.hasInstance,{value:function(be){return!!te.call(this,be)||this===ae&&be&&be._writableState instanceof de}})):te=function(be){return be instanceof this},ae.prototype.pipe=function(){pe(this,new Y)},ae.prototype.write=function(Qe,be,ue){var xe=this._writableState,Pe=!1,oe=!xe.objectMode&&function d(Qe){return C.isBuffer(Qe)||Qe instanceof u}(Qe);return oe&&!C.isBuffer(Qe)&&(Qe=function P(Qe){return C.from(Qe)}(Qe)),"function"==typeof be&&(ue=be,be=null),oe?be="buffer":be||(be=xe.defaultEncoding),"function"!=typeof ue&&(ue=ie),xe.ending?function E(Qe,be){var ue=new ne;pe(Qe,ue),process.nextTick(be,ue)}(this,ue):(oe||function i(Qe,be,ue,xe){var Pe;return null===ue?Pe=new J:"string"!=typeof ue&&!be.objectMode&&(Pe=new R("chunk",["string","Buffer"],ue)),!Pe||(pe(Qe,Pe),process.nextTick(xe,Pe),!1)}(this,xe,Qe,ue))&&(xe.pendingcb++,Pe=function m(Qe,be,ue,xe,Pe,oe){if(!ue){var ze=function o(Qe,be,ue){return!Qe.objectMode&&!1!==Qe.decodeStrings&&"string"==typeof be&&(be=C.from(be,ue)),be}(be,xe,Pe);xe!==ze&&(ue=!0,Pe="buffer",xe=ze)}var we=be.objectMode?1:xe.length;be.length+=we;var le=be.length<be.highWaterMark;if(le||(be.needDrain=!0),be.writing||be.corked){var ge=be.lastBufferedRequest;be.lastBufferedRequest={chunk:xe,encoding:Pe,isBuf:ue,callback:oe,next:null},ge?ge.next=be.lastBufferedRequest:be.bufferedRequest=be.lastBufferedRequest,be.bufferedRequestCount+=1}else l(Qe,be,!1,we,xe,Pe,oe);return le}(this,xe,oe,Qe,be,ue)),Pe},ae.prototype.cork=function(){this._writableState.corked++},ae.prototype.uncork=function(){var Qe=this._writableState;Qe.corked&&(Qe.corked--,!Qe.writing&&!Qe.corked&&!Qe.bufferProcessing&&Qe.bufferedRequest&&_(this,Qe))},ae.prototype.setDefaultEncoding=function(be){if("string"==typeof be&&(be=be.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((be+"").toLowerCase())>-1))throw new X(be);return this._writableState.defaultEncoding=be,this},Object.defineProperty(ae.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(ae.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),ae.prototype._write=function(Qe,be,ue){ue(new F("_write()"))},ae.prototype._writev=null,ae.prototype.end=function(Qe,be,ue){var xe=this._writableState;return"function"==typeof Qe?(ue=Qe,Qe=null,be=null):"function"==typeof be&&(ue=be,be=null),null!=Qe&&this.write(Qe,be),xe.corked&&(xe.corked=1,this.uncork()),xe.ending||function Ye(Qe,be,ue){be.ending=!0,se(Qe,be),ue&&(be.finished?process.nextTick(ue):Qe.once("finish",ue)),be.ended=!0,Qe.writable=!1}(this,xe,ue),this},Object.defineProperty(ae.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(ae.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(be){this._writableState&&(this._writableState.destroyed=be)}}),ae.prototype.destroy=S.destroy,ae.prototype._undestroy=S.undestroy,ae.prototype._destroy=function(Qe,be){be(Qe)}},457:(Ue,q,p)=>{"use strict";var e;function t(ne,X,pe){return X=function g(ne){var X=function T(ne,X){if("object"!=typeof ne||null===ne)return ne;var pe=ne[Symbol.toPrimitive];if(void 0!==pe){var ie=pe.call(ne,X||"default");if("object"!=typeof ie)return ie;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===X?String:Number)(ne)}(ne,"string");return"symbol"==typeof X?X:String(X)}(X),X in ne?Object.defineProperty(ne,X,{value:pe,enumerable:!0,configurable:!0,writable:!0}):ne[X]=pe,ne}var c=p(4618),C=Symbol("lastResolve"),u=Symbol("lastReject"),P=Symbol("error"),d=Symbol("ended"),S=Symbol("lastPromise"),M=Symbol("handlePromise"),I=Symbol("stream");function D(ne,X){return{value:ne,done:X}}function R(ne){var X=ne[C];if(null!==X){var pe=ne[I].read();null!==pe&&(ne[S]=null,ne[C]=null,ne[u]=null,X(D(pe,!1)))}}function F(ne){process.nextTick(R,ne)}var Y=Object.getPrototypeOf(function(){}),Q=Object.setPrototypeOf((t(e={get stream(){return this[I]},next:function(){var X=this,pe=this[P];if(null!==pe)return Promise.reject(pe);if(this[d])return Promise.resolve(D(void 0,!0));if(this[I].destroyed)return new Promise(function(ae,E){process.nextTick(function(){X[P]?E(X[P]):ae(D(void 0,!0))})});var de,ie=this[S];if(ie)de=new Promise(function W(ne,X){return function(pe,ie){ne.then(function(){X[d]?pe(D(void 0,!0)):X[M](pe,ie)},ie)}}(ie,this));else{var te=this[I].read();if(null!==te)return Promise.resolve(D(te,!1));de=new Promise(this[M])}return this[S]=de,de}},Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var X=this;return new Promise(function(pe,ie){X[I].destroy(null,function(de){de?ie(de):pe(D(void 0,!0))})})}),e),Y);Ue.exports=function(X){var pe,ie=Object.create(Q,(t(pe={},I,{value:X,writable:!0}),t(pe,C,{value:null,writable:!0}),t(pe,u,{value:null,writable:!0}),t(pe,P,{value:null,writable:!0}),t(pe,d,{value:X._readableState.endEmitted,writable:!0}),t(pe,M,{value:function(te,ae){var E=ie[I].read();E?(ie[S]=null,ie[C]=null,ie[u]=null,te(D(E,!1))):(ie[C]=te,ie[u]=ae)},writable:!0}),pe));return ie[S]=null,c(X,function(de){if(de&&"ERR_STREAM_PREMATURE_CLOSE"!==de.code){var te=ie[u];return null!==te&&(ie[S]=null,ie[C]=null,ie[u]=null,te(de)),void(ie[P]=de)}var ae=ie[C];null!==ae&&(ie[S]=null,ie[C]=null,ie[u]=null,ae(D(void 0,!0))),ie[d]=!0}),X.on("readable",F.bind(null,ie)),ie}},2960:(Ue,q,p)=>{"use strict";function e(F,W){var Y=Object.keys(F);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(F);W&&(Q=Q.filter(function(J){return Object.getOwnPropertyDescriptor(F,J).enumerable})),Y.push.apply(Y,Q)}return Y}function t(F){for(var W=1;W<arguments.length;W++){var Y=null!=arguments[W]?arguments[W]:{};W%2?e(Object(Y),!0).forEach(function(Q){g(F,Q,Y[Q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(Y)):e(Object(Y)).forEach(function(Q){Object.defineProperty(F,Q,Object.getOwnPropertyDescriptor(Y,Q))})}return F}function g(F,W,Y){return(W=u(W))in F?Object.defineProperty(F,W,{value:Y,enumerable:!0,configurable:!0,writable:!0}):F[W]=Y,F}function c(F,W){for(var Y=0;Y<W.length;Y++){var Q=W[Y];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(F,u(Q.key),Q)}}function u(F){var W=function P(F,W){if("object"!=typeof F||null===F)return F;var Y=F[Symbol.toPrimitive];if(void 0!==Y){var Q=Y.call(F,W||"default");if("object"!=typeof Q)return Q;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===W?String:Number)(F)}(F,"string");return"symbol"==typeof W?W:String(W)}var S=p(9007).Buffer,I=p(2361).inspect,D=I&&I.custom||"inspect";function R(F,W,Y){S.prototype.copy.call(F,W,Y)}Ue.exports=function(){function F(){(function T(F,W){if(!(F instanceof W))throw new TypeError("Cannot call a class as a function")})(this,F),this.head=null,this.tail=null,this.length=0}return function C(F,W,Y){W&&c(F.prototype,W),Y&&c(F,Y),Object.defineProperty(F,"prototype",{writable:!1})}(F,[{key:"push",value:function(Y){var Q={data:Y,next:null};this.length>0?this.tail.next=Q:this.head=Q,this.tail=Q,++this.length}},{key:"unshift",value:function(Y){var Q={data:Y,next:this.head};0===this.length&&(this.tail=Q),this.head=Q,++this.length}},{key:"shift",value:function(){if(0!==this.length){var Y=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,Y}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(Y){if(0===this.length)return"";for(var Q=this.head,J=""+Q.data;Q=Q.next;)J+=Y+Q.data;return J}},{key:"concat",value:function(Y){if(0===this.length)return S.alloc(0);for(var Q=S.allocUnsafe(Y>>>0),J=this.head,ne=0;J;)R(J.data,Q,ne),ne+=J.data.length,J=J.next;return Q}},{key:"consume",value:function(Y,Q){var J;return Y<this.head.data.length?(J=this.head.data.slice(0,Y),this.head.data=this.head.data.slice(Y)):J=Y===this.head.data.length?this.shift():Q?this._getString(Y):this._getBuffer(Y),J}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(Y){var Q=this.head,J=1,ne=Q.data;for(Y-=ne.length;Q=Q.next;){var X=Q.data,pe=Y>X.length?X.length:Y;if(ne+=pe===X.length?X:X.slice(0,Y),0==(Y-=pe)){pe===X.length?(++J,this.head=Q.next?Q.next:this.tail=null):(this.head=Q,Q.data=X.slice(pe));break}++J}return this.length-=J,ne}},{key:"_getBuffer",value:function(Y){var Q=S.allocUnsafe(Y),J=this.head,ne=1;for(J.data.copy(Q),Y-=J.data.length;J=J.next;){var X=J.data,pe=Y>X.length?X.length:Y;if(X.copy(Q,Q.length-Y,0,pe),0==(Y-=pe)){pe===X.length?(++ne,this.head=J.next?J.next:this.tail=null):(this.head=J,J.data=X.slice(pe));break}++ne}return this.length-=ne,Q}},{key:D,value:function(Y,Q){return I(this,t(t({},Q),{},{depth:0,customInspect:!1}))}}]),F}()},5601:Ue=>{"use strict";function p(c,C){g(c,C),e(c)}function e(c){c._writableState&&!c._writableState.emitClose||c._readableState&&!c._readableState.emitClose||c.emit("close")}function g(c,C){c.emit("error",C)}Ue.exports={destroy:function q(c,C){var u=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(C?C(c):c&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(g,this,c)):process.nextTick(g,this,c)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(c||null,function(S){!C&&S?u._writableState?u._writableState.errorEmitted?process.nextTick(e,u):(u._writableState.errorEmitted=!0,process.nextTick(p,u,S)):process.nextTick(p,u,S):C?(process.nextTick(e,u),C(S)):process.nextTick(e,u)}),this)},undestroy:function t(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function T(c,C){var u=c._readableState,P=c._writableState;u&&u.autoDestroy||P&&P.autoDestroy?c.destroy(C):c.emit("error",C)}}},4618:(Ue,q,p)=>{"use strict";var e=p(7218).q.ERR_STREAM_PREMATURE_CLOSE;function g(){}Ue.exports=function c(C,u,P){if("function"==typeof u)return c(C,null,u);u||(u={}),P=function t(C){var u=!1;return function(){if(!u){u=!0;for(var P=arguments.length,d=new Array(P),S=0;S<P;S++)d[S]=arguments[S];C.apply(this,d)}}}(P||g);var d=u.readable||!1!==u.readable&&C.readable,S=u.writable||!1!==u.writable&&C.writable,M=function(){C.writable||D()},I=C._writableState&&C._writableState.finished,D=function(){S=!1,I=!0,d||P.call(C)},R=C._readableState&&C._readableState.endEmitted,F=function(){d=!1,R=!0,S||P.call(C)},W=function(ne){P.call(C,ne)},Y=function(){var ne;return d&&!R?((!C._readableState||!C._readableState.ended)&&(ne=new e),P.call(C,ne)):S&&!I?((!C._writableState||!C._writableState.ended)&&(ne=new e),P.call(C,ne)):void 0},Q=function(){C.req.on("finish",D)};return function T(C){return C.setHeader&&"function"==typeof C.abort}(C)?(C.on("complete",D),C.on("abort",Y),C.req?Q():C.on("request",Q)):S&&!C._writableState&&(C.on("end",M),C.on("close",M)),C.on("end",F),C.on("finish",D),!1!==u.error&&C.on("error",W),C.on("close",Y),function(){C.removeListener("complete",D),C.removeListener("abort",Y),C.removeListener("request",Q),C.req&&C.req.removeListener("finish",D),C.removeListener("end",M),C.removeListener("close",M),C.removeListener("finish",D),C.removeListener("end",F),C.removeListener("error",W),C.removeListener("close",Y)}}},3335:Ue=>{Ue.exports=function(){throw new Error("Readable.from is not available in the browser")}},4514:(Ue,q,p)=>{"use strict";var e,g=p(7218).q,T=g.ERR_MISSING_ARGS,c=g.ERR_STREAM_DESTROYED;function C(D){if(D)throw D}function d(D){D()}function S(D,R){return D.pipe(R)}Ue.exports=function I(){for(var D=arguments.length,R=new Array(D),F=0;F<D;F++)R[F]=arguments[F];var W=function M(D){return D.length&&"function"==typeof D[D.length-1]?D.pop():C}(R);if(Array.isArray(R[0])&&(R=R[0]),R.length<2)throw new T("streams");var Y,Q=R.map(function(J,ne){var X=ne<R.length-1;return function P(D,R,F,W){W=function t(D){var R=!1;return function(){R||(R=!0,D.apply(void 0,arguments))}}(W);var Y=!1;D.on("close",function(){Y=!0}),void 0===e&&(e=p(4618)),e(D,{readable:R,writable:F},function(J){if(J)return W(J);Y=!0,W()});var Q=!1;return function(J){if(!Y&&!Q){if(Q=!0,function u(D){return D.setHeader&&"function"==typeof D.abort}(D))return D.abort();if("function"==typeof D.destroy)return D.destroy();W(J||new c("pipe"))}}}(J,X,ne>0,function(ie){Y||(Y=ie),ie&&Q.forEach(d),!X&&(Q.forEach(d),W(Y))})});return R.reduce(S)}},8782:(Ue,q,p)=>{"use strict";var e=p(7218).q.ERR_INVALID_OPT_VALUE;Ue.exports={getHighWaterMark:function g(T,c,C,u){var P=function t(T,c,C){return null!=T.highWaterMark?T.highWaterMark:c?T[C]:null}(c,u,C);if(null!=P){if(!isFinite(P)||Math.floor(P)!==P||P<0)throw new e(u?C:"highWaterMark",P);return Math.floor(P)}return T.objectMode?16:16384}}},8240:(Ue,q,p)=>{Ue.exports=p(2016).EventEmitter},6745:(Ue,q,p)=>{(q=Ue.exports=p(309)).Stream=q,q.Readable=q,q.Writable=p(6563),q.Duplex=p(247),q.Transform=p(6307),q.PassThrough=p(5096),q.finished=p(4618),q.pipeline=p(4514)},2178:Ue=>{"use strict";function q(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}Ue.exports=function p(t){return(t=t||{}).circles?function e(t){var g=[],T=[];return t.proto?function u(P){if("object"!=typeof P||null===P)return P;if(P instanceof Date)return new Date(P);if(Array.isArray(P))return c(P,u);if(P instanceof Map)return new Map(c(Array.from(P),u));if(P instanceof Set)return new Set(c(Array.from(P),u));var d={};for(var S in g.push(P),T.push(d),P){var M=P[S];if("object"!=typeof M||null===M)d[S]=M;else if(M instanceof Date)d[S]=new Date(M);else if(M instanceof Map)d[S]=new Map(c(Array.from(M),u));else if(M instanceof Set)d[S]=new Set(c(Array.from(M),u));else if(ArrayBuffer.isView(M))d[S]=q(M);else{var I=g.indexOf(M);d[S]=-1!==I?T[I]:u(M)}}return g.pop(),T.pop(),d}:function C(P){if("object"!=typeof P||null===P)return P;if(P instanceof Date)return new Date(P);if(Array.isArray(P))return c(P,C);if(P instanceof Map)return new Map(c(Array.from(P),C));if(P instanceof Set)return new Set(c(Array.from(P),C));var d={};for(var S in g.push(P),T.push(d),P)if(!1!==Object.hasOwnProperty.call(P,S)){var M=P[S];if("object"!=typeof M||null===M)d[S]=M;else if(M instanceof Date)d[S]=new Date(M);else if(M instanceof Map)d[S]=new Map(c(Array.from(M),C));else if(M instanceof Set)d[S]=new Set(c(Array.from(M),C));else if(ArrayBuffer.isView(M))d[S]=q(M);else{var I=g.indexOf(M);d[S]=-1!==I?T[I]:C(M)}}return g.pop(),T.pop(),d};function c(P,d){for(var S=Object.keys(P),M=new Array(S.length),I=0;I<S.length;I++){var D=S[I],R=P[D];if("object"!=typeof R||null===R)M[D]=R;else if(R instanceof Date)M[D]=new Date(R);else if(ArrayBuffer.isView(R))M[D]=q(R);else{var F=g.indexOf(R);M[D]=-1!==F?T[F]:d(R)}}return M}}(t):t.proto?function c(C){if("object"!=typeof C||null===C)return C;if(C instanceof Date)return new Date(C);if(Array.isArray(C))return g(C,c);if(C instanceof Map)return new Map(g(Array.from(C),c));if(C instanceof Set)return new Set(g(Array.from(C),c));var u={};for(var P in C){var d=C[P];u[P]="object"!=typeof d||null===d?d:d instanceof Date?new Date(d):d instanceof Map?new Map(g(Array.from(d),c)):d instanceof Set?new Set(g(Array.from(d),c)):ArrayBuffer.isView(d)?q(d):c(d)}return u}:function T(C){if("object"!=typeof C||null===C)return C;if(C instanceof Date)return new Date(C);if(Array.isArray(C))return g(C,T);if(C instanceof Map)return new Map(g(Array.from(C),T));if(C instanceof Set)return new Set(g(Array.from(C),T));var u={};for(var P in C)if(!1!==Object.hasOwnProperty.call(C,P)){var d=C[P];u[P]="object"!=typeof d||null===d?d:d instanceof Date?new Date(d):d instanceof Map?new Map(g(Array.from(d),T)):d instanceof Set?new Set(g(Array.from(d),T)):ArrayBuffer.isView(d)?q(d):T(d)}return u};function g(C,u){for(var P=Object.keys(C),d=new Array(P.length),S=0;S<P.length;S++){var M=P[S],I=C[M];d[M]="object"!=typeof I||null===I?I:I instanceof Date?new Date(I):ArrayBuffer.isView(I)?q(I):u(I)}return d}}},9706:(Ue,q,p)=>{"use strict";var e=p(9007).Buffer,t=p(6698),g=p(380),T=new Array(16),c=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],C=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],P=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],S=[1352829926,1548603684,1836072691,2053994217,0];function M(){g.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function I(Q,J){return Q<<J|Q>>>32-J}function D(Q,J,ne,X,pe,ie,de,te){return I(Q+(J^ne^X)+ie+de|0,te)+pe|0}function R(Q,J,ne,X,pe,ie,de,te){return I(Q+(J&ne|~J&X)+ie+de|0,te)+pe|0}function F(Q,J,ne,X,pe,ie,de,te){return I(Q+((J|~ne)^X)+ie+de|0,te)+pe|0}function W(Q,J,ne,X,pe,ie,de,te){return I(Q+(J&X|ne&~X)+ie+de|0,te)+pe|0}function Y(Q,J,ne,X,pe,ie,de,te){return I(Q+(J^(ne|~X))+ie+de|0,te)+pe|0}t(M,g),M.prototype._update=function(){for(var Q=T,J=0;J<16;++J)Q[J]=this._block.readInt32LE(4*J);for(var ne=0|this._a,X=0|this._b,pe=0|this._c,ie=0|this._d,de=0|this._e,te=0|this._a,ae=0|this._b,E=0|this._c,i=0|this._d,o=0|this._e,m=0;m<80;m+=1){var l,y;m<16?(l=D(ne,X,pe,ie,de,Q[c[m]],d[0],u[m]),y=Y(te,ae,E,i,o,Q[C[m]],S[0],P[m])):m<32?(l=R(ne,X,pe,ie,de,Q[c[m]],d[1],u[m]),y=W(te,ae,E,i,o,Q[C[m]],S[1],P[m])):m<48?(l=F(ne,X,pe,ie,de,Q[c[m]],d[2],u[m]),y=F(te,ae,E,i,o,Q[C[m]],S[2],P[m])):m<64?(l=W(ne,X,pe,ie,de,Q[c[m]],d[3],u[m]),y=R(te,ae,E,i,o,Q[C[m]],S[3],P[m])):(l=Y(ne,X,pe,ie,de,Q[c[m]],d[4],u[m]),y=D(te,ae,E,i,o,Q[C[m]],S[4],P[m])),ne=de,de=ie,ie=I(pe,10),pe=X,X=l,te=o,o=i,i=I(E,10),E=ae,ae=y}var L=this._b+pe+i|0;this._b=this._c+ie+o|0,this._c=this._d+de+te|0,this._d=this._e+ne+ae|0,this._e=this._a+X+E|0,this._a=L},M.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var Q=e.alloc?e.alloc(20):new e(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},Ue.exports=M},5619:(Ue,q,p)=>{"use strict";p.d(q,{X:()=>t});var e=p(8645);class t extends e.x{constructor(T){super(),this._value=T}get value(){return this.getValue()}_subscribe(T){const c=super._subscribe(T);return!c.closed&&T.next(this._value),c}getValue(){const{hasError:T,thrownError:c,_value:C}=this;if(T)throw c;return this._throwIfClosed(),C}next(T){super.next(this._value=T)}}},5592:(Ue,q,p)=>{"use strict";p.d(q,{y:()=>P});var e=p(305),t=p(7394),g=p(4850),T=p(8407),c=p(2653),C=p(4674),u=p(1441);let P=(()=>{class I{constructor(R){R&&(this._subscribe=R)}lift(R){const F=new I;return F.source=this,F.operator=R,F}subscribe(R,F,W){const Y=function M(I){return I&&I instanceof e.Lv||function S(I){return I&&(0,C.m)(I.next)&&(0,C.m)(I.error)&&(0,C.m)(I.complete)}(I)&&(0,t.Nn)(I)}(R)?R:new e.Hp(R,F,W);return(0,u.x)(()=>{const{operator:Q,source:J}=this;Y.add(Q?Q.call(Y,J):J?this._subscribe(Y):this._trySubscribe(Y))}),Y}_trySubscribe(R){try{return this._subscribe(R)}catch(F){R.error(F)}}forEach(R,F){return new(F=d(F))((W,Y)=>{const Q=new e.Hp({next:J=>{try{R(J)}catch(ne){Y(ne),Q.unsubscribe()}},error:Y,complete:W});this.subscribe(Q)})}_subscribe(R){var F;return null===(F=this.source)||void 0===F?void 0:F.subscribe(R)}[g.L](){return this}pipe(...R){return(0,T.U)(R)(this)}toPromise(R){return new(R=d(R))((F,W)=>{let Y;this.subscribe(Q=>Y=Q,Q=>W(Q),()=>F(Y))})}}return I.create=D=>new I(D),I})();function d(I){var D;return null!==(D=I??c.config.Promise)&&void 0!==D?D:Promise}},7328:(Ue,q,p)=>{"use strict";p.d(q,{t:()=>g});var e=p(8645),t=p(4552);class g extends e.x{constructor(c=1/0,C=1/0,u=t.l){super(),this._bufferSize=c,this._windowTime=C,this._timestampProvider=u,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=C===1/0,this._bufferSize=Math.max(1,c),this._windowTime=Math.max(1,C)}next(c){const{isStopped:C,_buffer:u,_infiniteTimeWindow:P,_timestampProvider:d,_windowTime:S}=this;C||(u.push(c),!P&&u.push(d.now()+S)),this._trimBuffer(),super.next(c)}_subscribe(c){this._throwIfClosed(),this._trimBuffer();const C=this._innerSubscribe(c),{_infiniteTimeWindow:u,_buffer:P}=this,d=P.slice();for(let S=0;S<d.length&&!c.closed;S+=u?1:2)c.next(d[S]);return this._checkFinalizedStatuses(c),C}_trimBuffer(){const{_bufferSize:c,_timestampProvider:C,_buffer:u,_infiniteTimeWindow:P}=this,d=(P?1:2)*c;if(c<1/0&&d<u.length&&u.splice(0,u.length-d),!P){const S=C.now();let M=0;for(let I=1;I<u.length&&u[I]<=S;I+=2)M=I;M&&u.splice(0,M+1)}}}},8645:(Ue,q,p)=>{"use strict";p.d(q,{u:()=>P,x:()=>u});var e=p(5592),t=p(7394);const T=(0,p(2306).d)(d=>function(){d(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var c=p(9039),C=p(1441);let u=(()=>{class d extends e.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(M){const I=new P(this,this);return I.operator=M,I}_throwIfClosed(){if(this.closed)throw new T}next(M){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const I of this.currentObservers)I.next(M)}})}error(M){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=M;const{observers:I}=this;for(;I.length;)I.shift().error(M)}})}complete(){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:M}=this;for(;M.length;)M.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var M;return(null===(M=this.observers)||void 0===M?void 0:M.length)>0}_trySubscribe(M){return this._throwIfClosed(),super._trySubscribe(M)}_subscribe(M){return this._throwIfClosed(),this._checkFinalizedStatuses(M),this._innerSubscribe(M)}_innerSubscribe(M){const{hasError:I,isStopped:D,observers:R}=this;return I||D?t.Lc:(this.currentObservers=null,R.push(M),new t.w0(()=>{this.currentObservers=null,(0,c.P)(R,M)}))}_checkFinalizedStatuses(M){const{hasError:I,thrownError:D,isStopped:R}=this;I?M.error(D):R&&M.complete()}asObservable(){const M=new e.y;return M.source=this,M}}return d.create=(S,M)=>new P(S,M),d})();class P extends u{constructor(S,M){super(),this.destination=S,this.source=M}next(S){var M,I;null===(I=null===(M=this.destination)||void 0===M?void 0:M.next)||void 0===I||I.call(M,S)}error(S){var M,I;null===(I=null===(M=this.destination)||void 0===M?void 0:M.error)||void 0===I||I.call(M,S)}complete(){var S,M;null===(M=null===(S=this.destination)||void 0===S?void 0:S.complete)||void 0===M||M.call(S)}_subscribe(S){var M,I;return null!==(I=null===(M=this.source)||void 0===M?void 0:M.subscribe(S))&&void 0!==I?I:t.Lc}}},305:(Ue,q,p)=>{"use strict";p.d(q,{Hp:()=>W,Lv:()=>I});var e=p(4674),t=p(7394),g=p(2653),T=p(3894),c=p(2420);const C=d("C",void 0,void 0);function d(X,pe,ie){return{kind:X,value:pe,error:ie}}var S=p(7599),M=p(1441);class I extends t.w0{constructor(pe){super(),this.isStopped=!1,pe?(this.destination=pe,(0,t.Nn)(pe)&&pe.add(this)):this.destination=ne}static create(pe,ie,de){return new W(pe,ie,de)}next(pe){this.isStopped?J(function P(X){return d("N",X,void 0)}(pe),this):this._next(pe)}error(pe){this.isStopped?J(function u(X){return d("E",void 0,X)}(pe),this):(this.isStopped=!0,this._error(pe))}complete(){this.isStopped?J(C,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(pe){this.destination.next(pe)}_error(pe){try{this.destination.error(pe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const D=Function.prototype.bind;function R(X,pe){return D.call(X,pe)}class F{constructor(pe){this.partialObserver=pe}next(pe){const{partialObserver:ie}=this;if(ie.next)try{ie.next(pe)}catch(de){Y(de)}}error(pe){const{partialObserver:ie}=this;if(ie.error)try{ie.error(pe)}catch(de){Y(de)}else Y(pe)}complete(){const{partialObserver:pe}=this;if(pe.complete)try{pe.complete()}catch(ie){Y(ie)}}}class W extends I{constructor(pe,ie,de){let te;if(super(),(0,e.m)(pe)||!pe)te={next:pe??void 0,error:ie??void 0,complete:de??void 0};else{let ae;this&&g.config.useDeprecatedNextContext?(ae=Object.create(pe),ae.unsubscribe=()=>this.unsubscribe(),te={next:pe.next&&R(pe.next,ae),error:pe.error&&R(pe.error,ae),complete:pe.complete&&R(pe.complete,ae)}):te=pe}this.destination=new F(te)}}function Y(X){g.config.useDeprecatedSynchronousErrorHandling?(0,M.O)(X):(0,T.h)(X)}function J(X,pe){const{onStoppedNotification:ie}=g.config;ie&&S.z.setTimeout(()=>ie(X,pe))}const ne={closed:!0,next:c.Z,error:function Q(X){throw X},complete:c.Z}},7394:(Ue,q,p)=>{"use strict";p.d(q,{Lc:()=>C,w0:()=>c,Nn:()=>u});var e=p(4674);const g=(0,p(2306).d)(d=>function(M){d(this),this.message=M?`${M.length} errors occurred during unsubscription:\n${M.map((I,D)=>`${D+1}) ${I.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=M});var T=p(9039);class c{constructor(S){this.initialTeardown=S,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let S;if(!this.closed){this.closed=!0;const{_parentage:M}=this;if(M)if(this._parentage=null,Array.isArray(M))for(const R of M)R.remove(this);else M.remove(this);const{initialTeardown:I}=this;if((0,e.m)(I))try{I()}catch(R){S=R instanceof g?R.errors:[R]}const{_finalizers:D}=this;if(D){this._finalizers=null;for(const R of D)try{P(R)}catch(F){S=S??[],F instanceof g?S=[...S,...F.errors]:S.push(F)}}if(S)throw new g(S)}}add(S){var M;if(S&&S!==this)if(this.closed)P(S);else{if(S instanceof c){if(S.closed||S._hasParent(this))return;S._addParent(this)}(this._finalizers=null!==(M=this._finalizers)&&void 0!==M?M:[]).push(S)}}_hasParent(S){const{_parentage:M}=this;return M===S||Array.isArray(M)&&M.includes(S)}_addParent(S){const{_parentage:M}=this;this._parentage=Array.isArray(M)?(M.push(S),M):M?[M,S]:S}_removeParent(S){const{_parentage:M}=this;M===S?this._parentage=null:Array.isArray(M)&&(0,T.P)(M,S)}remove(S){const{_finalizers:M}=this;M&&(0,T.P)(M,S),S instanceof c&&S._removeParent(this)}}c.EMPTY=(()=>{const d=new c;return d.closed=!0,d})();const C=c.EMPTY;function u(d){return d instanceof c||d&&"closed"in d&&(0,e.m)(d.remove)&&(0,e.m)(d.add)&&(0,e.m)(d.unsubscribe)}function P(d){(0,e.m)(d)?d():d.unsubscribe()}},2653:(Ue,q,p)=>{"use strict";p.d(q,{config:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(Ue,q,p)=>{"use strict";p.d(q,{c:()=>C});var e=p(5592),t=p(7394),g=p(6196),T=p(8251),c=p(9360);class C extends e.y{constructor(P,d){super(),this.source=P,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,c.A)(P)&&(this.lift=P.lift)}_subscribe(P){return this.getSubject().subscribe(P)}getSubject(){const P=this._subject;return(!P||P.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:P}=this;this._subject=this._connection=null,P?.unsubscribe()}connect(){let P=this._connection;if(!P){P=this._connection=new t.w0;const d=this.getSubject();P.add(this.source.subscribe((0,T.x)(d,void 0,()=>{this._teardown(),d.complete()},S=>{this._teardown(),d.error(S)},()=>this._teardown()))),P.closed&&(this._connection=null,P=t.w0.EMPTY)}return P}refCount(){return(0,g.x)()(this)}}},2572:(Ue,q,p)=>{"use strict";p.d(q,{a:()=>S});var e=p(5592),t=p(7453),g=p(9666),T=p(2737),c=p(7400),C=p(9940),u=p(2714),P=p(8251),d=p(7103);function S(...D){const R=(0,C.yG)(D),F=(0,C.jO)(D),{args:W,keys:Y}=(0,t.D)(D);if(0===W.length)return(0,g.D)([],R);const Q=new e.y(function M(D,R,F=T.y){return W=>{I(R,()=>{const{length:Y}=D,Q=new Array(Y);let J=Y,ne=Y;for(let X=0;X<Y;X++)I(R,()=>{const pe=(0,g.D)(D[X],R);let ie=!1;pe.subscribe((0,P.x)(W,de=>{Q[X]=de,ie||(ie=!0,ne--),ne||W.next(F(Q.slice()))},()=>{--J||W.complete()}))},W)},W)}}(W,R,Y?J=>(0,u.n)(Y,J):T.y));return F?Q.pipe((0,c.Z)(F)):Q}function I(D,R,F){D?(0,d.f)(F,D,R):R()}},5211:(Ue,q,p)=>{"use strict";p.d(q,{z:()=>c});var e=p(7537),g=p(9940),T=p(9666);function c(...C){return function t(){return(0,e.J)(1)}()((0,T.D)(C,(0,g.yG)(C)))}},4911:(Ue,q,p)=>{"use strict";p.d(q,{P:()=>g});var e=p(5592),t=p(4829);function g(T){return new e.y(c=>{(0,t.Xf)(T()).subscribe(c)})}},6232:(Ue,q,p)=>{"use strict";p.d(q,{E:()=>t});const t=new(p(5592).y)(c=>c.complete())},9315:(Ue,q,p)=>{"use strict";p.d(q,{D:()=>P});var e=p(5592),t=p(7453),g=p(4829),T=p(9940),c=p(8251),C=p(7400),u=p(2714);function P(...d){const S=(0,T.jO)(d),{args:M,keys:I}=(0,t.D)(d),D=new e.y(R=>{const{length:F}=M;if(!F)return void R.complete();const W=new Array(F);let Y=F,Q=F;for(let J=0;J<F;J++){let ne=!1;(0,g.Xf)(M[J]).subscribe((0,c.x)(R,X=>{ne||(ne=!0,Q--),W[J]=X},()=>Y--,void 0,()=>{(!Y||!ne)&&(Q||R.next(I?(0,u.n)(I,W):W),R.complete())}))}});return S?D.pipe((0,C.Z)(S)):D}},9666:(Ue,q,p)=>{"use strict";p.d(q,{D:()=>ie});var e=p(4829),t=p(3093),g=p(9360);function T(de,te=0){return(0,g.e)((ae,E)=>{E.add(de.schedule(()=>ae.subscribe(E),te))})}var u=p(5592),d=p(4971),S=p(4674),M=p(7103);function D(de,te){if(!de)throw new Error("Iterable cannot be null");return new u.y(ae=>{(0,M.f)(ae,te,()=>{const E=de[Symbol.asyncIterator]();(0,M.f)(ae,te,()=>{E.next().then(i=>{i.done?ae.complete():ae.next(i.value)})},0,!0)})})}var R=p(8382),F=p(4026),W=p(4266),Y=p(3664),Q=p(5726),J=p(9853),ne=p(541);function ie(de,te){return te?function pe(de,te){if(null!=de){if((0,R.c)(de))return function c(de,te){return(0,e.Xf)(de).pipe(T(te),(0,t.Q)(te))}(de,te);if((0,W.z)(de))return function P(de,te){return new u.y(ae=>{let E=0;return te.schedule(function(){E===de.length?ae.complete():(ae.next(de[E++]),ae.closed||this.schedule())})})}(de,te);if((0,F.t)(de))return function C(de,te){return(0,e.Xf)(de).pipe(T(te),(0,t.Q)(te))}(de,te);if((0,Q.D)(de))return D(de,te);if((0,Y.T)(de))return function I(de,te){return new u.y(ae=>{let E;return(0,M.f)(ae,te,()=>{E=de[d.h](),(0,M.f)(ae,te,()=>{let i,o;try{({value:i,done:o}=E.next())}catch(m){return void ae.error(m)}o?ae.complete():ae.next(i)},0,!0)}),()=>(0,S.m)(E?.return)&&E.return()})}(de,te);if((0,ne.L)(de))return function X(de,te){return D((0,ne.Q)(de),te)}(de,te)}throw(0,J.z)(de)}(de,te):(0,e.Xf)(de)}},2438:(Ue,q,p)=>{"use strict";p.d(q,{R:()=>S});var e=p(4829),t=p(5592),g=p(1631),T=p(4266),c=p(4674),C=p(7400);const u=["addListener","removeListener"],P=["addEventListener","removeEventListener"],d=["on","off"];function S(F,W,Y,Q){if((0,c.m)(Y)&&(Q=Y,Y=void 0),Q)return S(F,W,Y).pipe((0,C.Z)(Q));const[J,ne]=function R(F){return(0,c.m)(F.addEventListener)&&(0,c.m)(F.removeEventListener)}(F)?P.map(X=>pe=>F[X](W,pe,Y)):function I(F){return(0,c.m)(F.addListener)&&(0,c.m)(F.removeListener)}(F)?u.map(M(F,W)):function D(F){return(0,c.m)(F.on)&&(0,c.m)(F.off)}(F)?d.map(M(F,W)):[];if(!J&&(0,T.z)(F))return(0,g.z)(X=>S(X,W,Y))((0,e.Xf)(F));if(!J)throw new TypeError("Invalid event target");return new t.y(X=>{const pe=(...ie)=>X.next(1<ie.length?ie:ie[0]);return J(pe),()=>ne(pe)})}function M(F,W){return Y=>Q=>F[Y](W,Q)}},4829:(Ue,q,p)=>{"use strict";p.d(q,{Xf:()=>D});var e=p(7582),t=p(4266),g=p(4026),T=p(5592),c=p(8382),C=p(5726),u=p(9853),P=p(3664),d=p(541),S=p(4674),M=p(3894),I=p(4850);function D(X){if(X instanceof T.y)return X;if(null!=X){if((0,c.c)(X))return function R(X){return new T.y(pe=>{const ie=X[I.L]();if((0,S.m)(ie.subscribe))return ie.subscribe(pe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(X);if((0,t.z)(X))return function F(X){return new T.y(pe=>{for(let ie=0;ie<X.length&&!pe.closed;ie++)pe.next(X[ie]);pe.complete()})}(X);if((0,g.t)(X))return function W(X){return new T.y(pe=>{X.then(ie=>{pe.closed||(pe.next(ie),pe.complete())},ie=>pe.error(ie)).then(null,M.h)})}(X);if((0,C.D)(X))return Q(X);if((0,P.T)(X))return function Y(X){return new T.y(pe=>{for(const ie of X)if(pe.next(ie),pe.closed)return;pe.complete()})}(X);if((0,d.L)(X))return function J(X){return Q((0,d.Q)(X))}(X)}throw(0,u.z)(X)}function Q(X){return new T.y(pe=>{(function ne(X,pe){var ie,de,te,ae;return(0,e.mG)(this,void 0,void 0,function*(){try{for(ie=(0,e.KL)(X);!(de=yield ie.next()).done;)if(pe.next(de.value),pe.closed)return}catch(E){te={error:E}}finally{try{de&&!de.done&&(ae=ie.return)&&(yield ae.call(ie))}finally{if(te)throw te.error}}pe.complete()})})(X,pe).catch(ie=>pe.error(ie))})}},3019:(Ue,q,p)=>{"use strict";p.d(q,{T:()=>C});var e=p(7537),t=p(4829),g=p(6232),T=p(9940),c=p(9666);function C(...u){const P=(0,T.yG)(u),d=(0,T._6)(u,1/0),S=u;return S.length?1===S.length?(0,t.Xf)(S[0]):(0,e.J)(d)((0,c.D)(S,P)):g.E}},2096:(Ue,q,p)=>{"use strict";p.d(q,{of:()=>g});var e=p(9940),t=p(9666);function g(...T){const c=(0,e.yG)(T);return(0,t.D)(T,c)}},8504:(Ue,q,p)=>{"use strict";p.d(q,{_:()=>g});var e=p(5592),t=p(4674);function g(T,c){const C=(0,t.m)(T)?T:()=>T,u=P=>P.error(C());return new e.y(c?P=>c.schedule(u,0,P):u)}},9080:(Ue,q,p)=>{"use strict";p.d(q,{H:()=>c});var e=p(5592),t=p(6321),g=p(671),T=p(93);function c(C=0,u,P=t.P){let d=-1;return null!=u&&((0,g.K)(u)?P=u:d=u),new e.y(S=>{let M=(0,T.q)(C)?+C-P.now():C;M<0&&(M=0);let I=0;return P.schedule(function(){S.closed||(S.next(I++),0<=d?this.schedule(void 0,d):S.complete())},M)})}},8251:(Ue,q,p)=>{"use strict";p.d(q,{Q:()=>g,x:()=>t});var e=p(305);function t(T,c,C,u,P){return new g(T,c,C,u,P)}class g extends e.Lv{constructor(c,C,u,P,d,S){super(c),this.onFinalize=d,this.shouldUnsubscribe=S,this._next=C?function(M){try{C(M)}catch(I){c.error(I)}}:super._next,this._error=P?function(M){try{P(M)}catch(I){c.error(I)}finally{this.unsubscribe()}}:super._error,this._complete=u?function(){try{u()}catch(M){c.error(M)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var c;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:C}=this;super.unsubscribe(),!C&&(null===(c=this.onFinalize)||void 0===c||c.call(this))}}}},9028:(Ue,q,p)=>{"use strict";p.d(q,{e:()=>u});var e=p(6321),t=p(9360),g=p(4829),T=p(8251),C=p(9080);function u(P,d=e.z){return function c(P){return(0,t.e)((d,S)=>{let M=!1,I=null,D=null,R=!1;const F=()=>{if(D?.unsubscribe(),D=null,M){M=!1;const Y=I;I=null,S.next(Y)}R&&S.complete()},W=()=>{D=null,R&&S.complete()};d.subscribe((0,T.x)(S,Y=>{M=!0,I=Y,D||(0,g.Xf)(P(Y)).subscribe(D=(0,T.x)(S,F,W))},()=>{R=!0,(!M||!D||D.closed)&&S.complete()}))})}(()=>(0,C.H)(P,d))}},6306:(Ue,q,p)=>{"use strict";p.d(q,{K:()=>T});var e=p(4829),t=p(8251),g=p(9360);function T(c){return(0,g.e)((C,u)=>{let S,P=null,d=!1;P=C.subscribe((0,t.x)(u,void 0,void 0,M=>{S=(0,e.Xf)(c(M,T(c)(C))),P?(P.unsubscribe(),P=null,S.subscribe(u)):d=!0})),d&&(P.unsubscribe(),P=null,S.subscribe(u))})}},6328:(Ue,q,p)=>{"use strict";p.d(q,{b:()=>g});var e=p(1631),t=p(4674);function g(T,c){return(0,t.m)(c)?(0,e.z)(T,c,1):(0,e.z)(T,1)}},3620:(Ue,q,p)=>{"use strict";p.d(q,{b:()=>T});var e=p(6321),t=p(9360),g=p(8251);function T(c,C=e.z){return(0,t.e)((u,P)=>{let d=null,S=null,M=null;const I=()=>{if(d){d.unsubscribe(),d=null;const R=S;S=null,P.next(R)}};function D(){const R=M+c,F=C.now();if(F<R)return d=this.schedule(void 0,R-F),void P.add(d);I()}u.subscribe((0,g.x)(P,R=>{S=R,M=C.now(),d||(d=C.schedule(D,c),P.add(d))},()=>{I(),P.complete()},void 0,()=>{S=d=null}))})}},3572:(Ue,q,p)=>{"use strict";p.d(q,{d:()=>g});var e=p(9360),t=p(8251);function g(T){return(0,e.e)((c,C)=>{let u=!1;c.subscribe((0,t.x)(C,P=>{u=!0,C.next(P)},()=>{u||C.next(T),C.complete()}))})}},932:(Ue,q,p)=>{"use strict";p.d(q,{g:()=>S});var e=p(6321),t=p(5211),g=p(8180),T=p(7538),c=p(975),C=p(1631),u=p(4829);function P(M,I){return I?D=>(0,t.z)(I.pipe((0,g.q)(1),(0,T.l)()),D.pipe(P(M))):(0,C.z)((D,R)=>(0,u.Xf)(M(D,R)).pipe((0,g.q)(1),(0,c.h)(D)))}var d=p(9080);function S(M,I=e.z){const D=(0,d.H)(M,I);return P(()=>D)}},3997:(Ue,q,p)=>{"use strict";p.d(q,{x:()=>T});var e=p(2737),t=p(9360),g=p(8251);function T(C,u=e.y){return C=C??c,(0,t.e)((P,d)=>{let S,M=!0;P.subscribe((0,g.x)(d,I=>{const D=u(I);(M||!C(S,D))&&(M=!1,S=D,d.next(I))}))})}function c(C,u){return C===u}},2181:(Ue,q,p)=>{"use strict";p.d(q,{h:()=>g});var e=p(9360),t=p(8251);function g(T,c){return(0,e.e)((C,u)=>{let P=0;C.subscribe((0,t.x)(u,d=>T.call(c,d,P++)&&u.next(d)))})}},4716:(Ue,q,p)=>{"use strict";p.d(q,{x:()=>t});var e=p(9360);function t(g){return(0,e.e)((T,c)=>{try{T.subscribe(c)}finally{c.add(g)}})}},1374:(Ue,q,p)=>{"use strict";p.d(q,{P:()=>u});var e=p(6973),t=p(2181),g=p(8180),T=p(3572),c=p(3026),C=p(2737);function u(P,d){const S=arguments.length>=2;return M=>M.pipe(P?(0,t.h)((I,D)=>P(I,D,M)):C.y,(0,g.q)(1),S?(0,T.d)(d):(0,c.T)(()=>new e.K))}},7538:(Ue,q,p)=>{"use strict";p.d(q,{l:()=>T});var e=p(9360),t=p(8251),g=p(2420);function T(){return(0,e.e)((c,C)=>{c.subscribe((0,t.x)(C,g.Z))})}},7398:(Ue,q,p)=>{"use strict";p.d(q,{U:()=>g});var e=p(9360),t=p(8251);function g(T,c){return(0,e.e)((C,u)=>{let P=0;C.subscribe((0,t.x)(u,d=>{u.next(T.call(c,d,P++))}))})}},975:(Ue,q,p)=>{"use strict";p.d(q,{h:()=>t});var e=p(7398);function t(g){return(0,e.U)(()=>g)}},7537:(Ue,q,p)=>{"use strict";p.d(q,{J:()=>g});var e=p(1631),t=p(2737);function g(T=1/0){return(0,e.z)(t.y,T)}},1631:(Ue,q,p)=>{"use strict";p.d(q,{z:()=>P});var e=p(7398),t=p(4829),g=p(9360),T=p(7103),c=p(8251),u=p(4674);function P(d,S,M=1/0){return(0,u.m)(S)?P((I,D)=>(0,e.U)((R,F)=>S(I,R,D,F))((0,t.Xf)(d(I,D))),M):("number"==typeof S&&(M=S),(0,g.e)((I,D)=>function C(d,S,M,I,D,R,F,W){const Y=[];let Q=0,J=0,ne=!1;const X=()=>{ne&&!Y.length&&!Q&&S.complete()},pe=de=>Q<I?ie(de):Y.push(de),ie=de=>{R&&S.next(de),Q++;let te=!1;(0,t.Xf)(M(de,J++)).subscribe((0,c.x)(S,ae=>{D?.(ae),R?pe(ae):S.next(ae)},()=>{te=!0},void 0,()=>{if(te)try{for(Q--;Y.length&&Q<I;){const ae=Y.shift();F?(0,T.f)(S,F,()=>ie(ae)):ie(ae)}X()}catch(ae){S.error(ae)}}))};return d.subscribe((0,c.x)(S,pe,()=>{ne=!0,X()})),()=>{W?.()}}(I,D,d,M)))}},3093:(Ue,q,p)=>{"use strict";p.d(q,{Q:()=>T});var e=p(7103),t=p(9360),g=p(8251);function T(c,C=0){return(0,t.e)((u,P)=>{u.subscribe((0,g.x)(P,d=>(0,e.f)(P,c,()=>P.next(d),C),()=>(0,e.f)(P,c,()=>P.complete(),C),d=>(0,e.f)(P,c,()=>P.error(d),C)))})}},6196:(Ue,q,p)=>{"use strict";p.d(q,{x:()=>g});var e=p(9360),t=p(8251);function g(){return(0,e.e)((T,c)=>{let C=null;T._refCount++;const u=(0,t.x)(c,void 0,void 0,void 0,()=>{if(!T||T._refCount<=0||0<--T._refCount)return void(C=null);const P=T._connection,d=C;C=null,P&&(!d||P===d)&&P.unsubscribe(),c.unsubscribe()});T.subscribe(u),u.closed||(C=T.connect())})}},6699:(Ue,q,p)=>{"use strict";p.d(q,{R:()=>T});var e=p(9360),t=p(8251);function T(c,C){return(0,e.e)(function g(c,C,u,P,d){return(S,M)=>{let I=u,D=C,R=0;S.subscribe((0,t.x)(M,F=>{const W=R++;D=I?c(D,F,W):(I=!0,F),P&&M.next(D)},d&&(()=>{I&&M.next(D),M.complete()})))}}(c,C,arguments.length>=2,!0))}},3020:(Ue,q,p)=>{"use strict";p.d(q,{B:()=>c});var e=p(4829),t=p(8645),g=p(305),T=p(9360);function c(u={}){const{connector:P=(()=>new t.x),resetOnError:d=!0,resetOnComplete:S=!0,resetOnRefCountZero:M=!0}=u;return I=>{let D,R,F,W=0,Y=!1,Q=!1;const J=()=>{R?.unsubscribe(),R=void 0},ne=()=>{J(),D=F=void 0,Y=Q=!1},X=()=>{const pe=D;ne(),pe?.unsubscribe()};return(0,T.e)((pe,ie)=>{W++,!Q&&!Y&&J();const de=F=F??P();ie.add(()=>{W--,0===W&&!Q&&!Y&&(R=C(X,M))}),de.subscribe(ie),!D&&W>0&&(D=new g.Hp({next:te=>de.next(te),error:te=>{Q=!0,J(),R=C(ne,d,te),de.error(te)},complete:()=>{Y=!0,J(),R=C(ne,S),de.complete()}}),(0,e.Xf)(pe).subscribe(D))})(I)}}function C(u,P,...d){if(!0===P)return void u();if(!1===P)return;const S=new g.Hp({next:()=>{S.unsubscribe(),u()}});return(0,e.Xf)(P(...d)).subscribe(S)}},836:(Ue,q,p)=>{"use strict";p.d(q,{T:()=>t});var e=p(2181);function t(g){return(0,e.h)((T,c)=>g<=c)}},7921:(Ue,q,p)=>{"use strict";p.d(q,{O:()=>T});var e=p(5211),t=p(9940),g=p(9360);function T(...c){const C=(0,t.yG)(c);return(0,g.e)((u,P)=>{(C?(0,e.z)(c,u,C):(0,e.z)(c,u)).subscribe(P)})}},4664:(Ue,q,p)=>{"use strict";p.d(q,{w:()=>T});var e=p(4829),t=p(9360),g=p(8251);function T(c,C){return(0,t.e)((u,P)=>{let d=null,S=0,M=!1;const I=()=>M&&!d&&P.complete();u.subscribe((0,g.x)(P,D=>{d?.unsubscribe();let R=0;const F=S++;(0,e.Xf)(c(D,F)).subscribe(d=(0,g.x)(P,W=>P.next(C?C(D,W,F,R++):W),()=>{d=null,I()}))},()=>{M=!0,I()}))})}},8180:(Ue,q,p)=>{"use strict";p.d(q,{q:()=>T});var e=p(6232),t=p(9360),g=p(8251);function T(c){return c<=0?()=>e.E:(0,t.e)((C,u)=>{let P=0;C.subscribe((0,g.x)(u,d=>{++P<=c&&(u.next(d),c<=P&&u.complete())}))})}},9773:(Ue,q,p)=>{"use strict";p.d(q,{R:()=>c});var e=p(9360),t=p(8251),g=p(4829),T=p(2420);function c(C){return(0,e.e)((u,P)=>{(0,g.Xf)(C).subscribe((0,t.x)(P,()=>P.complete(),T.Z)),!P.closed&&u.subscribe(P)})}},9397:(Ue,q,p)=>{"use strict";p.d(q,{b:()=>c});var e=p(4674),t=p(9360),g=p(8251),T=p(2737);function c(C,u,P){const d=(0,e.m)(C)||u||P?{next:C,error:u,complete:P}:C;return d?(0,t.e)((S,M)=>{var I;null===(I=d.subscribe)||void 0===I||I.call(d);let D=!0;S.subscribe((0,g.x)(M,R=>{var F;null===(F=d.next)||void 0===F||F.call(d,R),M.next(R)},()=>{var R;D=!1,null===(R=d.complete)||void 0===R||R.call(d),M.complete()},R=>{var F;D=!1,null===(F=d.error)||void 0===F||F.call(d,R),M.error(R)},()=>{var R,F;D&&(null===(R=d.unsubscribe)||void 0===R||R.call(d)),null===(F=d.finalize)||void 0===F||F.call(d)}))}):T.y}},3026:(Ue,q,p)=>{"use strict";p.d(q,{T:()=>T});var e=p(6973),t=p(9360),g=p(8251);function T(C=c){return(0,t.e)((u,P)=>{let d=!1;u.subscribe((0,g.x)(P,S=>{d=!0,P.next(S)},()=>d?P.complete():P.error(C())))})}function c(){return new e.K}},5178:(Ue,q,p)=>{"use strict";p.d(q,{V:()=>d});var e=p(6321),t=p(93),g=p(9360),T=p(4829),c=p(2306),C=p(8251),u=p(7103);const P=(0,c.d)(M=>function(D=null){M(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=D});function d(M,I){const{first:D,each:R,with:F=S,scheduler:W=I??e.z,meta:Y=null}=(0,t.q)(M)?{first:M}:"number"==typeof M?{each:M}:M;if(null==D&&null==R)throw new TypeError("No timeout provided.");return(0,g.e)((Q,J)=>{let ne,X,pe=null,ie=0;const de=te=>{X=(0,u.f)(J,W,()=>{try{ne.unsubscribe(),(0,T.Xf)(F({meta:Y,lastValue:pe,seen:ie})).subscribe(J)}catch(ae){J.error(ae)}},te)};ne=Q.subscribe((0,C.x)(J,te=>{X?.unsubscribe(),ie++,J.next(pe=te),R>0&&de(R)},void 0,void 0,()=>{X?.closed||X?.unsubscribe(),pe=null})),!ie&&de(null!=D?"number"==typeof D?D:+D-W.now():R)})}function S(M){throw new P(M)}},2460:(Ue,q,p)=>{"use strict";p.d(q,{M:()=>u});var e=p(9360),t=p(8251),g=p(4829),T=p(2737),c=p(2420),C=p(9940);function u(...P){const d=(0,C.jO)(P);return(0,e.e)((S,M)=>{const I=P.length,D=new Array(I);let R=P.map(()=>!1),F=!1;for(let W=0;W<I;W++)(0,g.Xf)(P[W]).subscribe((0,t.x)(M,Y=>{D[W]=Y,!F&&!R[W]&&(R[W]=!0,(F=R.every(T.y))&&(R=null))},c.Z));S.subscribe((0,t.x)(M,W=>{if(F){const Y=[W,...D];M.next(d?d(...Y):Y)}}))})}},1954:(Ue,q,p)=>{"use strict";p.d(q,{o:()=>c});var e=p(7394);class t extends e.w0{constructor(u,P){super()}schedule(u,P=0){return this}}const g={setInterval(C,u,...P){const{delegate:d}=g;return d?.setInterval?d.setInterval(C,u,...P):setInterval(C,u,...P)},clearInterval(C){const{delegate:u}=g;return(u?.clearInterval||clearInterval)(C)},delegate:void 0};var T=p(9039);class c extends t{constructor(u,P){super(u,P),this.scheduler=u,this.work=P,this.pending=!1}schedule(u,P=0){var d;if(this.closed)return this;this.state=u;const S=this.id,M=this.scheduler;return null!=S&&(this.id=this.recycleAsyncId(M,S,P)),this.pending=!0,this.delay=P,this.id=null!==(d=this.id)&&void 0!==d?d:this.requestAsyncId(M,this.id,P),this}requestAsyncId(u,P,d=0){return g.setInterval(u.flush.bind(u,this),d)}recycleAsyncId(u,P,d=0){if(null!=d&&this.delay===d&&!1===this.pending)return P;null!=P&&g.clearInterval(P)}execute(u,P){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(u,P);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(u,P){let S,d=!1;try{this.work(u)}catch(M){d=!0,S=M||new Error("Scheduled action threw falsy error")}if(d)return this.unsubscribe(),S}unsubscribe(){if(!this.closed){const{id:u,scheduler:P}=this,{actions:d}=P;this.work=this.state=this.scheduler=null,this.pending=!1,(0,T.P)(d,this),null!=u&&(this.id=this.recycleAsyncId(P,u,null)),this.delay=null,super.unsubscribe()}}}},2631:(Ue,q,p)=>{"use strict";p.d(q,{v:()=>g});var e=p(4552);class t{constructor(c,C=t.now){this.schedulerActionCtor=c,this.now=C}schedule(c,C=0,u){return new this.schedulerActionCtor(this,c).schedule(u,C)}}t.now=e.l.now;class g extends t{constructor(c,C=t.now){super(c,C),this.actions=[],this._active=!1}flush(c){const{actions:C}=this;if(this._active)return void C.push(c);let u;this._active=!0;do{if(u=c.execute(c.state,c.delay))break}while(c=C.shift());if(this._active=!1,u){for(;c=C.shift();)c.unsubscribe();throw u}}}},6410:(Ue,q,p)=>{"use strict";p.d(q,{E:()=>R});var e=p(1954);let g,t=1;const T={};function c(W){return W in T&&(delete T[W],!0)}const C={setImmediate(W){const Y=t++;return T[Y]=!0,g||(g=Promise.resolve()),g.then(()=>c(Y)&&W()),Y},clearImmediate(W){c(W)}},{setImmediate:P,clearImmediate:d}=C,S={setImmediate(...W){const{delegate:Y}=S;return(Y?.setImmediate||P)(...W)},clearImmediate(W){const{delegate:Y}=S;return(Y?.clearImmediate||d)(W)},delegate:void 0};var I=p(2631);const R=new class D extends I.v{flush(Y){this._active=!0;const Q=this._scheduled;this._scheduled=void 0;const{actions:J}=this;let ne;Y=Y||J.shift();do{if(ne=Y.execute(Y.state,Y.delay))break}while((Y=J[0])&&Y.id===Q&&J.shift());if(this._active=!1,ne){for(;(Y=J[0])&&Y.id===Q&&J.shift();)Y.unsubscribe();throw ne}}}(class M extends e.o{constructor(Y,Q){super(Y,Q),this.scheduler=Y,this.work=Q}requestAsyncId(Y,Q,J=0){return null!==J&&J>0?super.requestAsyncId(Y,Q,J):(Y.actions.push(this),Y._scheduled||(Y._scheduled=S.setImmediate(Y.flush.bind(Y,void 0))))}recycleAsyncId(Y,Q,J=0){var ne;if(null!=J?J>0:this.delay>0)return super.recycleAsyncId(Y,Q,J);const{actions:X}=Y;null!=Q&&(null===(ne=X[X.length-1])||void 0===ne?void 0:ne.id)!==Q&&(S.clearImmediate(Q),Y._scheduled===Q&&(Y._scheduled=void 0))}})},6321:(Ue,q,p)=>{"use strict";p.d(q,{P:()=>T,z:()=>g});var e=p(1954);const g=new(p(2631).v)(e.o),T=g},4552:(Ue,q,p)=>{"use strict";p.d(q,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},2381:(Ue,q,p)=>{"use strict";p.d(q,{N:()=>c});var e=p(1954),g=p(2631);const c=new class T extends g.v{}(class t extends e.o{constructor(P,d){super(P,d),this.scheduler=P,this.work=d}schedule(P,d=0){return d>0?super.schedule(P,d):(this.delay=d,this.state=P,this.scheduler.flush(this),this)}execute(P,d){return d>0||this.closed?super.execute(P,d):this._execute(P,d)}requestAsyncId(P,d,S=0){return null!=S&&S>0||null==S&&this.delay>0?super.requestAsyncId(P,d,S):(P.flush(this),0)}})},7599:(Ue,q,p)=>{"use strict";p.d(q,{z:()=>e});const e={setTimeout(t,g,...T){const{delegate:c}=e;return c?.setTimeout?c.setTimeout(t,g,...T):setTimeout(t,g,...T)},clearTimeout(t){const{delegate:g}=e;return(g?.clearTimeout||clearTimeout)(t)},delegate:void 0}},4971:(Ue,q,p)=>{"use strict";p.d(q,{h:()=>t});const t=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Ue,q,p)=>{"use strict";p.d(q,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(Ue,q,p)=>{"use strict";p.d(q,{K:()=>t});const t=(0,p(2306).d)(g=>function(){g(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(Ue,q,p)=>{"use strict";p.d(q,{_6:()=>C,jO:()=>T,yG:()=>c});var e=p(4674),t=p(671);function g(u){return u[u.length-1]}function T(u){return(0,e.m)(g(u))?u.pop():void 0}function c(u){return(0,t.K)(g(u))?u.pop():void 0}function C(u,P){return"number"==typeof g(u)?u.pop():P}},7453:(Ue,q,p)=>{"use strict";p.d(q,{D:()=>c});const{isArray:e}=Array,{getPrototypeOf:t,prototype:g,keys:T}=Object;function c(u){if(1===u.length){const P=u[0];if(e(P))return{args:P,keys:null};if(function C(u){return u&&"object"==typeof u&&t(u)===g}(P)){const d=T(P);return{args:d.map(S=>P[S]),keys:d}}}return{args:u,keys:null}}},9039:(Ue,q,p)=>{"use strict";function e(t,g){if(t){const T=t.indexOf(g);0<=T&&t.splice(T,1)}}p.d(q,{P:()=>e})},2306:(Ue,q,p)=>{"use strict";function e(t){const T=t(c=>{Error.call(c),c.stack=(new Error).stack});return T.prototype=Object.create(Error.prototype),T.prototype.constructor=T,T}p.d(q,{d:()=>e})},2714:(Ue,q,p)=>{"use strict";function e(t,g){return t.reduce((T,c,C)=>(T[c]=g[C],T),{})}p.d(q,{n:()=>e})},1441:(Ue,q,p)=>{"use strict";p.d(q,{O:()=>T,x:()=>g});var e=p(2653);let t=null;function g(c){if(e.config.useDeprecatedSynchronousErrorHandling){const C=!t;if(C&&(t={errorThrown:!1,error:null}),c(),C){const{errorThrown:u,error:P}=t;if(t=null,u)throw P}}else c()}function T(c){e.config.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=c)}},7103:(Ue,q,p)=>{"use strict";function e(t,g,T,c=0,C=!1){const u=g.schedule(function(){T(),C?t.add(this.schedule(null,c)):this.unsubscribe()},c);if(t.add(u),!C)return u}p.d(q,{f:()=>e})},2737:(Ue,q,p)=>{"use strict";function e(t){return t}p.d(q,{y:()=>e})},4266:(Ue,q,p)=>{"use strict";p.d(q,{z:()=>e});const e=t=>t&&"number"==typeof t.length&&"function"!=typeof t},5726:(Ue,q,p)=>{"use strict";p.d(q,{D:()=>t});var e=p(4674);function t(g){return Symbol.asyncIterator&&(0,e.m)(g?.[Symbol.asyncIterator])}},93:(Ue,q,p)=>{"use strict";function e(t){return t instanceof Date&&!isNaN(t)}p.d(q,{q:()=>e})},4674:(Ue,q,p)=>{"use strict";function e(t){return"function"==typeof t}p.d(q,{m:()=>e})},8382:(Ue,q,p)=>{"use strict";p.d(q,{c:()=>g});var e=p(4850),t=p(4674);function g(T){return(0,t.m)(T[e.L])}},3664:(Ue,q,p)=>{"use strict";p.d(q,{T:()=>g});var e=p(4971),t=p(4674);function g(T){return(0,t.m)(T?.[e.h])}},2664:(Ue,q,p)=>{"use strict";p.d(q,{b:()=>g});var e=p(5592),t=p(4674);function g(T){return!!T&&(T instanceof e.y||(0,t.m)(T.lift)&&(0,t.m)(T.subscribe))}},4026:(Ue,q,p)=>{"use strict";p.d(q,{t:()=>t});var e=p(4674);function t(g){return(0,e.m)(g?.then)}},541:(Ue,q,p)=>{"use strict";p.d(q,{L:()=>T,Q:()=>g});var e=p(7582),t=p(4674);function g(c){return(0,e.FC)(this,arguments,function*(){const u=c.getReader();try{for(;;){const{value:P,done:d}=yield(0,e.qq)(u.read());if(d)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(P)}}finally{u.releaseLock()}})}function T(c){return(0,t.m)(c?.getReader)}},671:(Ue,q,p)=>{"use strict";p.d(q,{K:()=>t});var e=p(4674);function t(g){return g&&(0,e.m)(g.schedule)}},9360:(Ue,q,p)=>{"use strict";p.d(q,{A:()=>t,e:()=>g});var e=p(4674);function t(T){return(0,e.m)(T?.lift)}function g(T){return c=>{if(t(c))return c.lift(function(C){try{return T(C,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Ue,q,p)=>{"use strict";p.d(q,{Z:()=>T});var e=p(7398);const{isArray:t}=Array;function T(c){return(0,e.U)(C=>function g(c,C){return t(C)?c(...C):c(C)}(c,C))}},2420:(Ue,q,p)=>{"use strict";function e(){}p.d(q,{Z:()=>e})},8407:(Ue,q,p)=>{"use strict";p.d(q,{U:()=>g,z:()=>t});var e=p(2737);function t(...T){return g(T)}function g(T){return 0===T.length?e.y:1===T.length?T[0]:function(C){return T.reduce((u,P)=>P(u),C)}}},3894:(Ue,q,p)=>{"use strict";p.d(q,{h:()=>g});var e=p(2653),t=p(7599);function g(T){t.z.setTimeout(()=>{const{onUnhandledError:c}=e.config;if(!c)throw T;c(T)})}},9853:(Ue,q,p)=>{"use strict";function e(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}p.d(q,{z:()=>e})},843:(Ue,q,p)=>{var e=p(9007),t=e.Buffer;function g(c,C){for(var u in c)C[u]=c[u]}function T(c,C,u){return t(c,C,u)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Ue.exports=e:(g(e,q),q.Buffer=T),T.prototype=Object.create(t.prototype),g(t,T),T.from=function(c,C,u){if("number"==typeof c)throw new TypeError("Argument must not be a number");return t(c,C,u)},T.alloc=function(c,C,u){if("number"!=typeof c)throw new TypeError("Argument must be a number");var P=t(c);return void 0!==C?"string"==typeof u?P.fill(C,u):P.fill(C):P.fill(0),P},T.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return t(c)},T.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return e.SlowBuffer(c)}},4179:(Ue,q,p)=>{"use strict";var T,e=p(9007),t=e.Buffer,g={};for(T in e)e.hasOwnProperty(T)&&("SlowBuffer"===T||"Buffer"===T||(g[T]=e[T]));var c=g.Buffer={};for(T in t)t.hasOwnProperty(T)&&("allocUnsafe"===T||"allocUnsafeSlow"===T||(c[T]=t[T]));if(g.Buffer.prototype=t.prototype,(!c.from||c.from===Uint8Array.from)&&(c.from=function(C,u,P){if("number"==typeof C)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof C);if(C&&typeof C.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof C);return t(C,u,P)}),c.alloc||(c.alloc=function(C,u,P){if("number"!=typeof C)throw new TypeError('The "size" argument must be of type number. Received type '+typeof C);if(C<0||C>=2*(1<<30))throw new RangeError('The value "'+C+'" is invalid for option "size"');var d=t(C);return u&&0!==u.length?"string"==typeof P?d.fill(u,P):d.fill(u):d.fill(0),d}),!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)),Ue.exports=g},3581:(Ue,q,p)=>{var e=p(843).Buffer;function t(g,T){this._block=e.alloc(g),this._finalSize=T,this._blockSize=g,this._len=0}t.prototype.update=function(g,T){"string"==typeof g&&(g=e.from(g,T=T||"utf8"));for(var c=this._block,C=this._blockSize,u=g.length,P=this._len,d=0;d<u;){for(var S=P%C,M=Math.min(u-d,C-S),I=0;I<M;I++)c[S+I]=g[d+I];d+=M,(P+=M)%C==0&&this._update(c)}return this._len+=u,this},t.prototype.digest=function(g){var T=this._len%this._blockSize;this._block[T]=128,this._block.fill(0,T+1),T>=this._finalSize&&(this._update(this._block),this._block.fill(0));var c=8*this._len;if(c<=4294967295)this._block.writeUInt32BE(c,this._blockSize-4);else{var C=(4294967295&c)>>>0;this._block.writeUInt32BE((c-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},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Ue.exports=t},7965:(Ue,q,p)=>{var e=Ue.exports=function(g){g=g.toLowerCase();var T=e[g];if(!T)throw new Error(g+" is not supported (we accept pull requests)");return new T};e.sha=p(7915),e.sha1=p(1229),e.sha224=p(2959),e.sha256=p(450),e.sha384=p(1723),e.sha512=p(7914)},7915:(Ue,q,p)=>{var e=p(6698),t=p(3581),g=p(843).Buffer,T=[1518500249,1859775393,-1894007588,-899497514],c=new Array(80);function C(){this.init(),this._w=c,t.call(this,64,56)}function u(S){return S<<5|S>>>27}function P(S){return S<<30|S>>>2}function d(S,M,I,D){return 0===S?M&I|~M&D:2===S?M&I|M&D|I&D:M^I^D}e(C,t),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 M=this._w,I=0|this._a,D=0|this._b,R=0|this._c,F=0|this._d,W=0|this._e,Y=0;Y<16;++Y)M[Y]=S.readInt32BE(4*Y);for(;Y<80;++Y)M[Y]=M[Y-3]^M[Y-8]^M[Y-14]^M[Y-16];for(var Q=0;Q<80;++Q){var J=~~(Q/20),ne=u(I)+d(J,D,R,F)+W+M[Q]+T[J]|0;W=F,F=R,R=P(D),D=I,I=ne}this._a=I+this._a|0,this._b=D+this._b|0,this._c=R+this._c|0,this._d=F+this._d|0,this._e=W+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},Ue.exports=C},1229:(Ue,q,p)=>{var e=p(6698),t=p(3581),g=p(843).Buffer,T=[1518500249,1859775393,-1894007588,-899497514],c=new Array(80);function C(){this.init(),this._w=c,t.call(this,64,56)}function u(M){return M<<1|M>>>31}function P(M){return M<<5|M>>>27}function d(M){return M<<30|M>>>2}function S(M,I,D,R){return 0===M?I&D|~I&R:2===M?I&D|I&R|D&R:I^D^R}e(C,t),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(M){for(var I=this._w,D=0|this._a,R=0|this._b,F=0|this._c,W=0|this._d,Y=0|this._e,Q=0;Q<16;++Q)I[Q]=M.readInt32BE(4*Q);for(;Q<80;++Q)I[Q]=u(I[Q-3]^I[Q-8]^I[Q-14]^I[Q-16]);for(var J=0;J<80;++J){var ne=~~(J/20),X=P(D)+S(ne,R,F,W)+Y+I[J]+T[ne]|0;Y=W,W=F,F=d(R),R=D,D=X}this._a=D+this._a|0,this._b=R+this._b|0,this._c=F+this._c|0,this._d=W+this._d|0,this._e=Y+this._e|0},C.prototype._hash=function(){var M=g.allocUnsafe(20);return M.writeInt32BE(0|this._a,0),M.writeInt32BE(0|this._b,4),M.writeInt32BE(0|this._c,8),M.writeInt32BE(0|this._d,12),M.writeInt32BE(0|this._e,16),M},Ue.exports=C},2959:(Ue,q,p)=>{var e=p(6698),t=p(450),g=p(3581),T=p(843).Buffer,c=new Array(64);function C(){this.init(),this._w=c,g.call(this,64,56)}e(C,t),C.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},C.prototype._hash=function(){var u=T.allocUnsafe(28);return u.writeInt32BE(this._a,0),u.writeInt32BE(this._b,4),u.writeInt32BE(this._c,8),u.writeInt32BE(this._d,12),u.writeInt32BE(this._e,16),u.writeInt32BE(this._f,20),u.writeInt32BE(this._g,24),u},Ue.exports=C},450:(Ue,q,p)=>{var e=p(6698),t=p(3581),g=p(843).Buffer,T=[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],c=new Array(64);function C(){this.init(),this._w=c,t.call(this,64,56)}function u(D,R,F){return F^D&(R^F)}function P(D,R,F){return D&R|F&(D|R)}function d(D){return(D>>>2|D<<30)^(D>>>13|D<<19)^(D>>>22|D<<10)}function S(D){return(D>>>6|D<<26)^(D>>>11|D<<21)^(D>>>25|D<<7)}function M(D){return(D>>>7|D<<25)^(D>>>18|D<<14)^D>>>3}function I(D){return(D>>>17|D<<15)^(D>>>19|D<<13)^D>>>10}e(C,t),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(D){for(var R=this._w,F=0|this._a,W=0|this._b,Y=0|this._c,Q=0|this._d,J=0|this._e,ne=0|this._f,X=0|this._g,pe=0|this._h,ie=0;ie<16;++ie)R[ie]=D.readInt32BE(4*ie);for(;ie<64;++ie)R[ie]=I(R[ie-2])+R[ie-7]+M(R[ie-15])+R[ie-16]|0;for(var de=0;de<64;++de){var te=pe+S(J)+u(J,ne,X)+T[de]+R[de]|0,ae=d(F)+P(F,W,Y)|0;pe=X,X=ne,ne=J,J=Q+te|0,Q=Y,Y=W,W=F,F=te+ae|0}this._a=F+this._a|0,this._b=W+this._b|0,this._c=Y+this._c|0,this._d=Q+this._d|0,this._e=J+this._e|0,this._f=ne+this._f|0,this._g=X+this._g|0,this._h=pe+this._h|0},C.prototype._hash=function(){var D=g.allocUnsafe(32);return D.writeInt32BE(this._a,0),D.writeInt32BE(this._b,4),D.writeInt32BE(this._c,8),D.writeInt32BE(this._d,12),D.writeInt32BE(this._e,16),D.writeInt32BE(this._f,20),D.writeInt32BE(this._g,24),D.writeInt32BE(this._h,28),D},Ue.exports=C},1723:(Ue,q,p)=>{var e=p(6698),t=p(7914),g=p(3581),T=p(843).Buffer,c=new Array(160);function C(){this.init(),this._w=c,g.call(this,128,112)}e(C,t),C.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},C.prototype._hash=function(){var u=T.allocUnsafe(48);function P(d,S,M){u.writeInt32BE(d,M),u.writeInt32BE(S,M+4)}return P(this._ah,this._al,0),P(this._bh,this._bl,8),P(this._ch,this._cl,16),P(this._dh,this._dl,24),P(this._eh,this._el,32),P(this._fh,this._fl,40),u},Ue.exports=C},7914:(Ue,q,p)=>{var e=p(6698),t=p(3581),g=p(843).Buffer,T=[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],c=new Array(160);function C(){this.init(),this._w=c,t.call(this,128,112)}function u(W,Y,Q){return Q^W&(Y^Q)}function P(W,Y,Q){return W&Y|Q&(W|Y)}function d(W,Y){return(W>>>28|Y<<4)^(Y>>>2|W<<30)^(Y>>>7|W<<25)}function S(W,Y){return(W>>>14|Y<<18)^(W>>>18|Y<<14)^(Y>>>9|W<<23)}function M(W,Y){return(W>>>1|Y<<31)^(W>>>8|Y<<24)^W>>>7}function I(W,Y){return(W>>>1|Y<<31)^(W>>>8|Y<<24)^(W>>>7|Y<<25)}function D(W,Y){return(W>>>19|Y<<13)^(Y>>>29|W<<3)^W>>>6}function R(W,Y){return(W>>>19|Y<<13)^(Y>>>29|W<<3)^(W>>>6|Y<<26)}function F(W,Y){return W>>>0<Y>>>0?1:0}e(C,t),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(W){for(var Y=this._w,Q=0|this._ah,J=0|this._bh,ne=0|this._ch,X=0|this._dh,pe=0|this._eh,ie=0|this._fh,de=0|this._gh,te=0|this._hh,ae=0|this._al,E=0|this._bl,i=0|this._cl,o=0|this._dl,m=0|this._el,l=0|this._fl,y=0|this._gl,L=0|this._hl,O=0;O<32;O+=2)Y[O]=W.readInt32BE(4*O),Y[O+1]=W.readInt32BE(4*O+4);for(;O<160;O+=2){var b=Y[O-30],n=Y[O-30+1],_=M(b,n),H=I(n,b),V=D(b=Y[O-4],n=Y[O-4+1]),K=R(n,b),Oe=Y[O-32],Qe=Y[O-32+1],be=H+Y[O-14+1]|0,ue=_+Y[O-14]+F(be,H)|0;ue=(ue=ue+V+F(be=be+K|0,K)|0)+Oe+F(be=be+Qe|0,Qe)|0,Y[O]=ue,Y[O+1]=be}for(var xe=0;xe<160;xe+=2){ue=Y[xe],be=Y[xe+1];var Pe=P(Q,J,ne),oe=P(ae,E,i),ze=d(Q,ae),we=d(ae,Q),le=S(pe,m),ge=S(m,pe),fe=T[xe],Ge=T[xe+1],Le=u(pe,ie,de),Ne=u(m,l,y),Ve=L+ge|0,at=te+le+F(Ve,L)|0;at=(at=(at=at+Le+F(Ve=Ve+Ne|0,Ne)|0)+fe+F(Ve=Ve+Ge|0,Ge)|0)+ue+F(Ve=Ve+be|0,be)|0;var ve=we+oe|0,De=ze+Pe+F(ve,we)|0;te=de,L=y,de=ie,y=l,ie=pe,l=m,pe=X+at+F(m=o+Ve|0,o)|0,X=ne,o=i,ne=J,i=E,J=Q,E=ae,Q=at+De+F(ae=Ve+ve|0,Ve)|0}this._al=this._al+ae|0,this._bl=this._bl+E|0,this._cl=this._cl+i|0,this._dl=this._dl+o|0,this._el=this._el+m|0,this._fl=this._fl+l|0,this._gl=this._gl+y|0,this._hl=this._hl+L|0,this._ah=this._ah+Q+F(this._al,ae)|0,this._bh=this._bh+J+F(this._bl,E)|0,this._ch=this._ch+ne+F(this._cl,i)|0,this._dh=this._dh+X+F(this._dl,o)|0,this._eh=this._eh+pe+F(this._el,m)|0,this._fh=this._fh+ie+F(this._fl,l)|0,this._gh=this._gh+de+F(this._gl,y)|0,this._hh=this._hh+te+F(this._hl,L)|0},C.prototype._hash=function(){var W=g.allocUnsafe(64);function Y(Q,J,ne){W.writeInt32BE(Q,ne),W.writeInt32BE(J,ne+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),W},Ue.exports=C},8927:function(Ue,q,p){!function(e){"use strict";var t={};Ue.exports?(t.bytesToHex=p(188).bytesToHex,t.convertString=p(5486),Ue.exports=P):(t.bytesToHex=e.convertHex.bytesToHex,t.convertString=e.convertString,e.sha256=P);var g=[];!function(){function d(D){for(var R=Math.sqrt(D),F=2;F<=R;F++)if(!(D%F))return!1;return!0}for(var M=2,I=0;I<64;)d(M)&&(g[I]=4294967296*((D=Math.pow(M,1/3))-(0|D))|0,I++),M++;var D}();var T=function(d){for(var S=[],M=0,I=0;M<d.length;M++,I+=8)S[I>>>5]|=d[M]<<24-I%32;return S},c=function(d){for(var S=[],M=0;M<32*d.length;M+=8)S.push(d[M>>>5]>>>24-M%32&255);return S},C=[],u=function(d,S,M){for(var I=d[0],D=d[1],R=d[2],F=d[3],W=d[4],Y=d[5],Q=d[6],J=d[7],ne=0;ne<64;ne++){if(ne<16)C[ne]=0|S[M+ne];else{var X=C[ne-15],ie=C[ne-2];C[ne]=((X<<25|X>>>7)^(X<<14|X>>>18)^X>>>3)+C[ne-7]+((ie<<15|ie>>>17)^(ie<<13|ie>>>19)^ie>>>10)+C[ne-16]}var ae=I&D^I&R^D&R,o=J+((W<<26|W>>>6)^(W<<21|W>>>11)^(W<<7|W>>>25))+(W&Y^~W&Q)+g[ne]+C[ne];J=Q,Q=Y,Y=W,W=F+o|0,F=R,R=D,D=I,I=o+(((I<<30|I>>>2)^(I<<19|I>>>13)^(I<<10|I>>>22))+ae)|0}d[0]=d[0]+I|0,d[1]=d[1]+D|0,d[2]=d[2]+R|0,d[3]=d[3]+F|0,d[4]=d[4]+W|0,d[5]=d[5]+Y|0,d[6]=d[6]+Q|0,d[7]=d[7]+J|0};function P(d,S){d.constructor===String&&(d=t.convertString.UTF8.stringToBytes(d));var M=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],I=T(d),D=8*d.length;I[D>>5]|=128<<24-D%32,I[15+(D+64>>9<<4)]=D;for(var R=0;R<I.length;R+=16)u(M,I,R);var F=c(M);return S&&S.asBytes?F:S&&S.asString?t.convertString.bytesToString(F):t.bytesToHex(F)}P.x2=function(d,S){return P(P(d,{asBytes:!0}),S)}}(this)},1793:(Ue,q,p)=>{Ue.exports=g;var e=p(2016).EventEmitter;function g(){e.call(this)}p(6698)(g,e),g.Readable=p(309),g.Writable=p(6563),g.Duplex=p(247),g.Transform=p(6307),g.PassThrough=p(5096),g.finished=p(4618),g.pipeline=p(4514),g.Stream=g,g.prototype.pipe=function(T,c){var C=this;function u(R){T.writable&&!1===T.write(R)&&C.pause&&C.pause()}function P(){C.readable&&C.resume&&C.resume()}C.on("data",u),T.on("drain",P),!T._isStdio&&(!c||!1!==c.end)&&(C.on("end",S),C.on("close",M));var d=!1;function S(){d||(d=!0,T.end())}function M(){d||(d=!0,"function"==typeof T.destroy&&T.destroy())}function I(R){if(D(),0===e.listenerCount(this,"error"))throw R}function D(){C.removeListener("data",u),T.removeListener("drain",P),C.removeListener("end",S),C.removeListener("close",M),C.removeListener("error",I),T.removeListener("error",I),C.removeListener("end",D),C.removeListener("close",D),T.removeListener("close",D)}return C.on("error",I),T.on("error",I),C.on("end",D),C.on("close",D),T.on("close",D),T.emit("pipe",C),T}},2024:(Ue,q,p)=>{"use strict";var e=p(843).Buffer,t=e.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 c(Q){var J;switch(this.encoding=function T(Q){var J=function g(Q){if(!Q)return"utf8";for(var J;;)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(J)return;Q=(""+Q).toLowerCase(),J=!0}}(Q);if("string"!=typeof J&&(e.isEncoding===t||!t(Q)))throw new Error("Unknown encoding: "+Q);return J||Q}(Q),this.encoding){case"utf16le":this.text=I,this.end=D,J=4;break;case"utf8":this.fillLast=d,J=4;break;case"base64":this.text=R,this.end=F,J=3;break;default:return this.write=W,void(this.end=Y)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(J)}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 d(Q){var J=this.lastTotal-this.lastNeed,ne=function P(Q,J,ne){if(128!=(192&J[0]))return Q.lastNeed=0,"\ufffd";if(Q.lastNeed>1&&J.length>1){if(128!=(192&J[1]))return Q.lastNeed=1,"\ufffd";if(Q.lastNeed>2&&J.length>2&&128!=(192&J[2]))return Q.lastNeed=2,"\ufffd"}}(this,Q);return void 0!==ne?ne:this.lastNeed<=Q.length?(Q.copy(this.lastChar,J,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(Q.copy(this.lastChar,J,0,Q.length),void(this.lastNeed-=Q.length))}function I(Q,J){if((Q.length-J)%2==0){var ne=Q.toString("utf16le",J);if(ne){var X=ne.charCodeAt(ne.length-1);if(X>=55296&&X<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Q[Q.length-2],this.lastChar[1]=Q[Q.length-1],ne.slice(0,-1)}return ne}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Q[Q.length-1],Q.toString("utf16le",J,Q.length-1)}function D(Q){var J=Q&&Q.length?this.write(Q):"";return this.lastNeed?J+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):J}function R(Q,J){var ne=(Q.length-J)%3;return 0===ne?Q.toString("base64",J):(this.lastNeed=3-ne,this.lastTotal=3,1===ne?this.lastChar[0]=Q[Q.length-1]:(this.lastChar[0]=Q[Q.length-2],this.lastChar[1]=Q[Q.length-1]),Q.toString("base64",J,Q.length-ne))}function F(Q){var J=Q&&Q.length?this.write(Q):"";return this.lastNeed?J+this.lastChar.toString("base64",0,3-this.lastNeed):J}function W(Q){return Q.toString(this.encoding)}function Y(Q){return Q&&Q.length?this.write(Q):""}q.s=c,c.prototype.write=function(Q){if(0===Q.length)return"";var J,ne;if(this.lastNeed){if(void 0===(J=this.fillLast(Q)))return"";ne=this.lastNeed,this.lastNeed=0}else ne=0;return ne<Q.length?J?J+this.text(Q,ne):this.text(Q,ne):J||""},c.prototype.end=function M(Q){var J=Q&&Q.length?this.write(Q):"";return this.lastNeed?J+"\ufffd":J},c.prototype.text=function S(Q,J){var ne=function u(Q,J,ne){var X=J.length-1;if(X<ne)return 0;var pe=C(J[X]);return pe>=0?(pe>0&&(Q.lastNeed=pe-1),pe):--X<ne||-2===pe?0:(pe=C(J[X]))>=0?(pe>0&&(Q.lastNeed=pe-2),pe):--X<ne||-2===pe?0:(pe=C(J[X]))>=0?(pe>0&&(2===pe?pe=0:Q.lastNeed=pe-3),pe):0}(this,Q,J);if(!this.lastNeed)return Q.toString("utf8",J);this.lastTotal=ne;var X=Q.length-(ne-this.lastNeed);return Q.copy(this.lastChar,0,X),Q.toString("utf8",J,X)},c.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}},5852:(Ue,q,p)=>{var e=p(1156);q.encode=e.encode,q.decode=e.decode},1156:(Ue,q)=>{"use strict";var e=[255,255,26,27,28,29,30,31,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255];q.encode=function(g){Buffer.isBuffer(g)||(g=new Buffer(g));for(var T=0,c=0,C=0,u=0,P=new Buffer(8*function t(g){var T=Math.floor(g.length/5);return g.length%5==0?T:T+1}(g));T<g.length;){var d=g[T];C>3?(u=(u=d&255>>C)<<(C=(C+5)%8)|(T+1<g.length?g[T+1]:0)>>8-C,T++):(u=d>>8-(C+5)&31,0==(C=(C+5)%8)&&T++),P[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(u),c++}for(T=c;T<P.length;T++)P[T]=61;return P},q.decode=function(g){var C,T=0,c=0,u=0;Buffer.isBuffer(g)||(g=new Buffer(g));for(var P=new Buffer(Math.ceil(5*g.length/8)),d=0;d<g.length&&61!==g[d];d++){var S=g[d]-48;if(!(S<e.length))throw new Error("Invalid input - it is not base32 encoded string");c=e[S],T<=3?0==(T=(T+5)%8)?(P[u]=C|=c,u++,C=0):C|=255&c<<8-T:(P[u]=C|=255&c>>>(T=(T+5)%8),u++,C=255&c<<8-T)}return P.slice(0,u)}},496:Ue=>{function p(e){try{if(!global.localStorage)return!1}catch{return!1}var t=global.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}Ue.exports=function q(e,t){if(p("noDeprecation"))return e;var g=!1;return function T(){if(!g){if(p("throwDeprecation"))throw new Error(t);p("traceDeprecation")?console.trace(t):console.warn(t),g=!0}return e.apply(this,arguments)}}},950:()=>{},6601:()=>{},8623:()=>{},7748:()=>{},5568:()=>{},6619:()=>{},7108:()=>{},2361:()=>{},4616:()=>{},6825:(Ue,q,p)=>{"use strict";p.d(q,{F4:()=>S,IO:()=>F,LC:()=>t,SB:()=>d,X$:()=>T,ZE:()=>Q,ZN:()=>Y,_j:()=>e,eR:()=>M,jt:()=>c,k1:()=>J,l3:()=>g,oB:()=>P,pV:()=>D,ru:()=>C,vP:()=>u});class e{}class t{}const g="*";function T(ne,X){return{type:7,name:ne,definitions:X,options:{}}}function c(ne,X=null){return{type:4,styles:X,timings:ne}}function C(ne,X=null){return{type:3,steps:ne,options:X}}function u(ne,X=null){return{type:2,steps:ne,options:X}}function P(ne){return{type:6,styles:ne,offset:null}}function d(ne,X,pe){return{type:0,name:ne,styles:X,options:pe}}function S(ne){return{type:5,steps:ne}}function M(ne,X,pe=null){return{type:1,expr:ne,animation:X,options:pe}}function D(ne=null){return{type:9,options:ne}}function F(ne,X,pe=null){return{type:11,selector:ne,animation:X,options:pe}}class Y{constructor(X=0,pe=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=X+pe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}onStart(X){this._originalOnStartFns.push(X),this._onStartFns.push(X)}onDone(X){this._originalOnDoneFns.push(X),this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(X=>X()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(X){this._position=this.totalTime?X*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(X){const pe="start"==X?this._onStartFns:this._onDoneFns;pe.forEach(ie=>ie()),pe.length=0}}class Q{constructor(X){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=X;let pe=0,ie=0,de=0;const te=this.players.length;0==te?queueMicrotask(()=>this._onFinish()):this.players.forEach(ae=>{ae.onDone(()=>{++pe==te&&this._onFinish()}),ae.onDestroy(()=>{++ie==te&&this._onDestroy()}),ae.onStart(()=>{++de==te&&this._onStart()})}),this.totalTime=this.players.reduce((ae,E)=>Math.max(ae,E.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}init(){this.players.forEach(X=>X.init())}onStart(X){this._onStartFns.push(X)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(X=>X()),this._onStartFns=[])}onDone(X){this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(X=>X.play())}pause(){this.players.forEach(X=>X.pause())}restart(){this.players.forEach(X=>X.restart())}finish(){this._onFinish(),this.players.forEach(X=>X.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(X=>X.destroy()),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this.players.forEach(X=>X.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(X){const pe=X*this.totalTime;this.players.forEach(ie=>{const de=ie.totalTime?Math.min(1,pe/ie.totalTime):1;ie.setPosition(de)})}getPosition(){const X=this.players.reduce((pe,ie)=>null===pe||ie.totalTime>pe.totalTime?ie:pe,null);return null!=X?X.getPosition():0}beforeDestroy(){this.players.forEach(X=>{X.beforeDestroy&&X.beforeDestroy()})}triggerCallback(X){const pe="start"==X?this._onStartFns:this._onDoneFns;pe.forEach(ie=>ie()),pe.length=0}}const J="!"},4300:(Ue,q,p)=>{"use strict";p.d(q,{$s:()=>i,Em:()=>L,Kd:()=>ot,X6:()=>Le,Zf:()=>X,iD:()=>pe,ic:()=>b,kH:()=>Ke,mK:()=>ze,qV:()=>oe,qm:()=>Rt,rt:()=>pt,s1:()=>y,tE:()=>Nt,yG:()=>Ne});var e=p(6814),t=p(5879),g=p(2831),T=p(8645),c=p(7394),C=p(5619),u=p(2096),P=p(6028),d=p(9397),S=p(3620),M=p(2181),I=p(7398),D=p(8180),R=p(836),F=p(3997),W=p(9773),Y=p(2495),Q=p(7131),J=p(1088);const ne=" ";function X(vt,Te,tt){const Ze=ie(vt,Te);Ze.some(Mt=>Mt.trim()==tt.trim())||(Ze.push(tt.trim()),vt.setAttribute(Te,Ze.join(ne)))}function pe(vt,Te,tt){const Mt=ie(vt,Te).filter(oi=>oi!=tt.trim());Mt.length?vt.setAttribute(Te,Mt.join(ne)):vt.removeAttribute(Te)}function ie(vt,Te){return(vt.getAttribute(Te)||"").match(/\S+/g)||[]}const te="cdk-describedby-message",ae="cdk-describedby-host";let E=0,i=(()=>{class vt{constructor(tt,Ze){this._platform=Ze,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+E++,this._document=tt,this._id=(0,t.f3M)(t.AFp)+"-"+E++}describe(tt,Ze,Mt){if(!this._canBeDescribed(tt,Ze))return;const oi=o(Ze,Mt);"string"!=typeof Ze?(m(Ze,this._id),this._messageRegistry.set(oi,{messageElement:Ze,referenceCount:0})):this._messageRegistry.has(oi)||this._createMessageElement(Ze,Mt),this._isElementDescribedByMessage(tt,oi)||this._addMessageReference(tt,oi)}removeDescription(tt,Ze,Mt){if(!Ze||!this._isElementNode(tt))return;const oi=o(Ze,Mt);if(this._isElementDescribedByMessage(tt,oi)&&this._removeMessageReference(tt,oi),"string"==typeof Ze){const Tt=this._messageRegistry.get(oi);Tt&&0===Tt.referenceCount&&this._deleteMessageElement(oi)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const tt=this._document.querySelectorAll(`[${ae}="${this._id}"]`);for(let Ze=0;Ze<tt.length;Ze++)this._removeCdkDescribedByReferenceIds(tt[Ze]),tt[Ze].removeAttribute(ae);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(tt,Ze){const Mt=this._document.createElement("div");m(Mt,this._id),Mt.textContent=tt,Ze&&Mt.setAttribute("role",Ze),this._createMessagesContainer(),this._messagesContainer.appendChild(Mt),this._messageRegistry.set(o(tt,Ze),{messageElement:Mt,referenceCount:0})}_deleteMessageElement(tt){this._messageRegistry.get(tt)?.messageElement?.remove(),this._messageRegistry.delete(tt)}_createMessagesContainer(){if(this._messagesContainer)return;const tt="cdk-describedby-message-container",Ze=this._document.querySelectorAll(`.${tt}[platform="server"]`);for(let oi=0;oi<Ze.length;oi++)Ze[oi].remove();const Mt=this._document.createElement("div");Mt.style.visibility="hidden",Mt.classList.add(tt),Mt.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Mt.setAttribute("platform","server"),this._document.body.appendChild(Mt),this._messagesContainer=Mt}_removeCdkDescribedByReferenceIds(tt){const Ze=ie(tt,"aria-describedby").filter(Mt=>0!=Mt.indexOf(te));tt.setAttribute("aria-describedby",Ze.join(" "))}_addMessageReference(tt,Ze){const Mt=this._messageRegistry.get(Ze);X(tt,"aria-describedby",Mt.messageElement.id),tt.setAttribute(ae,this._id),Mt.referenceCount++}_removeMessageReference(tt,Ze){const Mt=this._messageRegistry.get(Ze);Mt.referenceCount--,pe(tt,"aria-describedby",Mt.messageElement.id),tt.removeAttribute(ae)}_isElementDescribedByMessage(tt,Ze){const Mt=ie(tt,"aria-describedby"),oi=this._messageRegistry.get(Ze),Tt=oi&&oi.messageElement.id;return!!Tt&&-1!=Mt.indexOf(Tt)}_canBeDescribed(tt,Ze){if(!this._isElementNode(tt))return!1;if(Ze&&"object"==typeof Ze)return!0;const Mt=null==Ze?"":`${Ze}`.trim(),oi=tt.getAttribute("aria-label");return!(!Mt||oi&&oi.trim()===Mt)}_isElementNode(tt){return tt.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(Ze){return new(Ze||vt)(t.LFG(e.K0),t.LFG(g.t4))};static#t=this.\u0275prov=t.Yz7({token:vt,factory:vt.\u0275fac,providedIn:"root"})}return vt})();function o(vt,Te){return"string"==typeof vt?`${Te||""}/${vt}`:vt}function m(vt,Te){vt.id||(vt.id=`${te}-${Te}-${E++}`)}class l{constructor(Te){this._items=Te,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new T.x,this._typeaheadSubscription=c.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=tt=>tt.disabled,this._pressedLetters=[],this.tabOut=new T.x,this.change=new T.x,Te instanceof t.n_E&&(this._itemChangesSubscription=Te.changes.subscribe(tt=>{if(this._activeItem){const Mt=tt.toArray().indexOf(this._activeItem);Mt>-1&&Mt!==this._activeItemIndex&&(this._activeItemIndex=Mt)}}))}skipPredicate(Te){return this._skipPredicateFn=Te,this}withWrap(Te=!0){return this._wrap=Te,this}withVerticalOrientation(Te=!0){return this._vertical=Te,this}withHorizontalOrientation(Te){return this._horizontal=Te,this}withAllowedModifierKeys(Te){return this._allowedModifierKeys=Te,this}withTypeAhead(Te=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,d.b)(tt=>this._pressedLetters.push(tt)),(0,S.b)(Te),(0,M.h)(()=>this._pressedLetters.length>0),(0,I.U)(()=>this._pressedLetters.join(""))).subscribe(tt=>{const Ze=this._getItemsArray();for(let Mt=1;Mt<Ze.length+1;Mt++){const oi=(this._activeItemIndex+Mt)%Ze.length,Tt=Ze[oi];if(!this._skipPredicateFn(Tt)&&0===Tt.getLabel().toUpperCase().trim().indexOf(tt)){this.setActiveItem(oi);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(Te=!0){return this._homeAndEnd=Te,this}withPageUpDown(Te=!0,tt=10){return this._pageUpAndDown={enabled:Te,delta:tt},this}setActiveItem(Te){const tt=this._activeItem;this.updateActiveItem(Te),this._activeItem!==tt&&this.change.next(this._activeItemIndex)}onKeydown(Te){const tt=Te.keyCode,Mt=["altKey","ctrlKey","metaKey","shiftKey"].every(oi=>!Te[oi]||this._allowedModifierKeys.indexOf(oi)>-1);switch(tt){case P.Mf:return void this.tabOut.next();case P.JH:if(this._vertical&&Mt){this.setNextItemActive();break}return;case P.LH:if(this._vertical&&Mt){this.setPreviousItemActive();break}return;case P.SV:if(this._horizontal&&Mt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case P.oh:if(this._horizontal&&Mt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case P.Sd:if(this._homeAndEnd&&Mt){this.setFirstItemActive();break}return;case P.uR:if(this._homeAndEnd&&Mt){this.setLastItemActive();break}return;case P.Ku:if(this._pageUpAndDown.enabled&&Mt){const oi=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(oi>0?oi:0,1);break}return;case P.VM:if(this._pageUpAndDown.enabled&&Mt){const oi=this._activeItemIndex+this._pageUpAndDown.delta,Tt=this._getItemsArray().length;this._setActiveItemByIndex(oi<Tt?oi:Tt-1,-1);break}return;default:return void((Mt||(0,P.Vb)(Te,"shiftKey"))&&(Te.key&&1===Te.key.length?this._letterKeyStream.next(Te.key.toLocaleUpperCase()):(tt>=P.A&&tt<=P.Z||tt>=P.xE&&tt<=P.aO)&&this._letterKeyStream.next(String.fromCharCode(tt))))}this._pressedLetters=[],Te.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(Te){const tt=this._getItemsArray(),Ze="number"==typeof Te?Te:tt.indexOf(Te);this._activeItem=tt[Ze]??null,this._activeItemIndex=Ze}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(Te){this._wrap?this._setActiveInWrapMode(Te):this._setActiveInDefaultMode(Te)}_setActiveInWrapMode(Te){const tt=this._getItemsArray();for(let Ze=1;Ze<=tt.length;Ze++){const Mt=(this._activeItemIndex+Te*Ze+tt.length)%tt.length;if(!this._skipPredicateFn(tt[Mt]))return void this.setActiveItem(Mt)}}_setActiveInDefaultMode(Te){this._setActiveItemByIndex(this._activeItemIndex+Te,Te)}_setActiveItemByIndex(Te,tt){const Ze=this._getItemsArray();if(Ze[Te]){for(;this._skipPredicateFn(Ze[Te]);)if(!Ze[Te+=tt])return;this.setActiveItem(Te)}}_getItemsArray(){return this._items instanceof t.n_E?this._items.toArray():this._items}}class y extends l{setActiveItem(Te){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Te),this.activeItem&&this.activeItem.setActiveStyles()}}class L extends l{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Te){return this._origin=Te,this}setActiveItem(Te){super.setActiveItem(Te),this.activeItem&&this.activeItem.focus(this._origin)}}let b=(()=>{class vt{constructor(tt){this._platform=tt}isDisabled(tt){return tt.hasAttribute("disabled")}isVisible(tt){return function _(vt){return!!(vt.offsetWidth||vt.offsetHeight||"function"==typeof vt.getClientRects&&vt.getClientRects().length)}(tt)&&"visible"===getComputedStyle(tt).visibility}isTabbable(tt){if(!this._platform.isBrowser)return!1;const Ze=function n(vt){try{return vt.frameElement}catch{return null}}(function xe(vt){return vt.ownerDocument&&vt.ownerDocument.defaultView||window}(tt));if(Ze&&(-1===Qe(Ze)||!this.isVisible(Ze)))return!1;let Mt=tt.nodeName.toLowerCase(),oi=Qe(tt);return tt.hasAttribute("contenteditable")?-1!==oi:!("iframe"===Mt||"object"===Mt||this._platform.WEBKIT&&this._platform.IOS&&!function be(vt){let Te=vt.nodeName.toLowerCase(),tt="input"===Te&&vt.type;return"text"===tt||"password"===tt||"select"===Te||"textarea"===Te}(tt))&&("audio"===Mt?!!tt.hasAttribute("controls")&&-1!==oi:"video"===Mt?-1!==oi&&(null!==oi||this._platform.FIREFOX||tt.hasAttribute("controls")):tt.tabIndex>=0)}isFocusable(tt,Ze){return function ue(vt){return!function V(vt){return function se(vt){return"input"==vt.nodeName.toLowerCase()}(vt)&&"hidden"==vt.type}(vt)&&(function H(vt){let Te=vt.nodeName.toLowerCase();return"input"===Te||"select"===Te||"button"===Te||"textarea"===Te}(vt)||function K(vt){return function Ye(vt){return"a"==vt.nodeName.toLowerCase()}(vt)&&vt.hasAttribute("href")}(vt)||vt.hasAttribute("contenteditable")||Oe(vt))}(tt)&&!this.isDisabled(tt)&&(Ze?.ignoreVisibility||this.isVisible(tt))}static#e=this.\u0275fac=function(Ze){return new(Ze||vt)(t.LFG(g.t4))};static#t=this.\u0275prov=t.Yz7({token:vt,factory:vt.\u0275fac,providedIn:"root"})}return vt})();function Oe(vt){if(!vt.hasAttribute("tabindex")||void 0===vt.tabIndex)return!1;let Te=vt.getAttribute("tabindex");return!(!Te||isNaN(parseInt(Te,10)))}function Qe(vt){if(!Oe(vt))return null;const Te=parseInt(vt.getAttribute("tabindex")||"",10);return isNaN(Te)?-1:Te}class Pe{get enabled(){return this._enabled}set enabled(Te){this._enabled=Te,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Te,this._startAnchor),this._toggleAnchorTabIndex(Te,this._endAnchor))}constructor(Te,tt,Ze,Mt,oi=!1){this._element=Te,this._checker=tt,this._ngZone=Ze,this._document=Mt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,oi||this.attachAnchors()}destroy(){const Te=this._startAnchor,tt=this._endAnchor;Te&&(Te.removeEventListener("focus",this.startAnchorListener),Te.remove()),tt&&(tt.removeEventListener("focus",this.endAnchorListener),tt.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(Te){return new Promise(tt=>{this._executeOnStable(()=>tt(this.focusInitialElement(Te)))})}focusFirstTabbableElementWhenReady(Te){return new Promise(tt=>{this._executeOnStable(()=>tt(this.focusFirstTabbableElement(Te)))})}focusLastTabbableElementWhenReady(Te){return new Promise(tt=>{this._executeOnStable(()=>tt(this.focusLastTabbableElement(Te)))})}_getRegionBoundary(Te){const tt=this._element.querySelectorAll(`[cdk-focus-region-${Te}], [cdkFocusRegion${Te}], [cdk-focus-${Te}]`);return"start"==Te?tt.length?tt[0]:this._getFirstTabbableElement(this._element):tt.length?tt[tt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Te){const tt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(tt){if(!this._checker.isFocusable(tt)){const Ze=this._getFirstTabbableElement(tt);return Ze?.focus(Te),!!Ze}return tt.focus(Te),!0}return this.focusFirstTabbableElement(Te)}focusFirstTabbableElement(Te){const tt=this._getRegionBoundary("start");return tt&&tt.focus(Te),!!tt}focusLastTabbableElement(Te){const tt=this._getRegionBoundary("end");return tt&&tt.focus(Te),!!tt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Te){if(this._checker.isFocusable(Te)&&this._checker.isTabbable(Te))return Te;const tt=Te.children;for(let Ze=0;Ze<tt.length;Ze++){const Mt=tt[Ze].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(tt[Ze]):null;if(Mt)return Mt}return null}_getLastTabbableElement(Te){if(this._checker.isFocusable(Te)&&this._checker.isTabbable(Te))return Te;const tt=Te.children;for(let Ze=tt.length-1;Ze>=0;Ze--){const Mt=tt[Ze].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(tt[Ze]):null;if(Mt)return Mt}return null}_createAnchor(){const Te=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Te),Te.classList.add("cdk-visually-hidden"),Te.classList.add("cdk-focus-trap-anchor"),Te.setAttribute("aria-hidden","true"),Te}_toggleAnchorTabIndex(Te,tt){Te?tt.setAttribute("tabindex","0"):tt.removeAttribute("tabindex")}toggleAnchors(Te){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Te,this._startAnchor),this._toggleAnchorTabIndex(Te,this._endAnchor))}_executeOnStable(Te){this._ngZone.isStable?Te():this._ngZone.onStable.pipe((0,D.q)(1)).subscribe(Te)}}let oe=(()=>{class vt{constructor(tt,Ze,Mt){this._checker=tt,this._ngZone=Ze,this._document=Mt}create(tt,Ze=!1){return new Pe(tt,this._checker,this._ngZone,this._document,Ze)}static#e=this.\u0275fac=function(Ze){return new(Ze||vt)(t.LFG(b),t.LFG(t.R0b),t.LFG(e.K0))};static#t=this.\u0275prov=t.Yz7({token:vt,factory:vt.\u0275fac,providedIn:"root"})}return vt})(),ze=(()=>{class vt{get enabled(){return this.focusTrap.enabled}set enabled(tt){this.focusTrap.enabled=(0,Y.Ig)(tt)}get autoCapture(){return this._autoCapture}set autoCapture(tt){this._autoCapture=(0,Y.Ig)(tt)}constructor(tt,Ze,Mt){this._elementRef=tt,this._focusTrapFactory=Ze,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(tt){const Ze=tt.autoCapture;Ze&&!Ze.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,g.ht)(),this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(Ze){return new(Ze||vt)(t.Y36(t.SBq),t.Y36(oe),t.Y36(e.K0))};static#t=this.\u0275dir=t.lG2({type:vt,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[t.TTD]})}return vt})();function Le(vt){return 0===vt.buttons||0===vt.offsetX&&0===vt.offsetY}function Ne(vt){const Te=vt.touches&&vt.touches[0]||vt.changedTouches&&vt.changedTouches[0];return!(!Te||-1!==Te.identifier||null!=Te.radiusX&&1!==Te.radiusX||null!=Te.radiusY&&1!==Te.radiusY)}const Ve=new t.OlP("cdk-input-modality-detector-options"),at={ignoreKeys:[P.zL,P.jx,P.b2,P.MW,P.JU]},De=(0,g.i$)({passive:!0,capture:!0});let xt=(()=>{class vt{get mostRecentModality(){return this._modality.value}constructor(tt,Ze,Mt,oi){this._platform=tt,this._mostRecentTarget=null,this._modality=new C.X(null),this._lastTouchMs=0,this._onKeydown=Tt=>{this._options?.ignoreKeys?.some(mt=>mt===Tt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(Tt))},this._onMousedown=Tt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Le(Tt)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(Tt))},this._onTouchstart=Tt=>{Ne(Tt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(Tt))},this._options={...at,...oi},this.modalityDetected=this._modality.pipe((0,R.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,F.x)()),tt.isBrowser&&Ze.runOutsideAngular(()=>{Mt.addEventListener("keydown",this._onKeydown,De),Mt.addEventListener("mousedown",this._onMousedown,De),Mt.addEventListener("touchstart",this._onTouchstart,De)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,De),document.removeEventListener("mousedown",this._onMousedown,De),document.removeEventListener("touchstart",this._onTouchstart,De))}static#e=this.\u0275fac=function(Ze){return new(Ze||vt)(t.LFG(g.t4),t.LFG(t.R0b),t.LFG(e.K0),t.LFG(Ve,8))};static#t=this.\u0275prov=t.Yz7({token:vt,factory:vt.\u0275fac,providedIn:"root"})}return vt})();const ct=new t.OlP("liveAnnouncerElement",{providedIn:"root",factory:function et(){return null}}),Ct=new t.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ke=0,ot=(()=>{class vt{constructor(tt,Ze,Mt,oi){this._ngZone=Ze,this._defaultOptions=oi,this._document=Mt,this._liveElement=tt||this._createLiveElement()}announce(tt,...Ze){const Mt=this._defaultOptions;let oi,Tt;return 1===Ze.length&&"number"==typeof Ze[0]?Tt=Ze[0]:[oi,Tt]=Ze,this.clear(),clearTimeout(this._previousTimeout),oi||(oi=Mt&&Mt.politeness?Mt.politeness:"polite"),null==Tt&&Mt&&(Tt=Mt.duration),this._liveElement.setAttribute("aria-live",oi),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(mt=>this._currentResolve=mt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=tt,"number"==typeof Tt&&(this._previousTimeout=setTimeout(()=>this.clear(),Tt)),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 tt="cdk-live-announcer-element",Ze=this._document.getElementsByClassName(tt),Mt=this._document.createElement("div");for(let oi=0;oi<Ze.length;oi++)Ze[oi].remove();return Mt.classList.add(tt),Mt.classList.add("cdk-visually-hidden"),Mt.setAttribute("aria-atomic","true"),Mt.setAttribute("aria-live","polite"),Mt.id="cdk-live-announcer-"+ke++,this._document.body.appendChild(Mt),Mt}_exposeAnnouncerToModals(tt){const Ze=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Mt=0;Mt<Ze.length;Mt++){const oi=Ze[Mt],Tt=oi.getAttribute("aria-owns");Tt?-1===Tt.indexOf(tt)&&oi.setAttribute("aria-owns",Tt+" "+tt):oi.setAttribute("aria-owns",tt)}}static#e=this.\u0275fac=function(Ze){return new(Ze||vt)(t.LFG(ct,8),t.LFG(t.R0b),t.LFG(e.K0),t.LFG(Ct,8))};static#t=this.\u0275prov=t.Yz7({token:vt,factory:vt.\u0275fac,providedIn:"root"})}return vt})();const re=new t.OlP("cdk-focus-monitor-default-options"),Be=(0,g.i$)({passive:!0,capture:!0});let Nt=(()=>{class vt{constructor(tt,Ze,Mt,oi,Tt){this._ngZone=tt,this._platform=Ze,this._inputModalityDetector=Mt,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 T.x,this._rootNodeFocusAndBlurListener=mt=>{for(let ee=(0,g.sA)(mt);ee;ee=ee.parentElement)"focus"===mt.type?this._onFocus(mt,ee):this._onBlur(mt,ee)},this._document=oi,this._detectionMode=Tt?.detectionMode||0}monitor(tt,Ze=!1){const Mt=(0,Y.fI)(tt);if(!this._platform.isBrowser||1!==Mt.nodeType)return(0,u.of)();const oi=(0,g.kV)(Mt)||this._getDocument(),Tt=this._elementInfo.get(Mt);if(Tt)return Ze&&(Tt.checkChildren=!0),Tt.subject;const mt={checkChildren:Ze,subject:new T.x,rootNode:oi};return this._elementInfo.set(Mt,mt),this._registerGlobalListeners(mt),mt.subject}stopMonitoring(tt){const Ze=(0,Y.fI)(tt),Mt=this._elementInfo.get(Ze);Mt&&(Mt.subject.complete(),this._setClasses(Ze),this._elementInfo.delete(Ze),this._removeGlobalListeners(Mt))}focusVia(tt,Ze,Mt){const oi=(0,Y.fI)(tt);oi===this._getDocument().activeElement?this._getClosestElementsInfo(oi).forEach(([mt,he])=>this._originChanged(mt,Ze,he)):(this._setOrigin(Ze),"function"==typeof oi.focus&&oi.focus(Mt))}ngOnDestroy(){this._elementInfo.forEach((tt,Ze)=>this.stopMonitoring(Ze))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(tt){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(tt)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:tt&&this._isLastInteractionFromInputLabel(tt)?"mouse":"program"}_shouldBeAttributedToTouch(tt){return 1===this._detectionMode||!!tt?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(tt,Ze){tt.classList.toggle("cdk-focused",!!Ze),tt.classList.toggle("cdk-touch-focused","touch"===Ze),tt.classList.toggle("cdk-keyboard-focused","keyboard"===Ze),tt.classList.toggle("cdk-mouse-focused","mouse"===Ze),tt.classList.toggle("cdk-program-focused","program"===Ze)}_setOrigin(tt,Ze=!1){this._ngZone.runOutsideAngular(()=>{this._origin=tt,this._originFromTouchInteraction="touch"===tt&&Ze,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(tt,Ze){const Mt=this._elementInfo.get(Ze),oi=(0,g.sA)(tt);!Mt||!Mt.checkChildren&&Ze!==oi||this._originChanged(Ze,this._getFocusOrigin(oi),Mt)}_onBlur(tt,Ze){const Mt=this._elementInfo.get(Ze);!Mt||Mt.checkChildren&&tt.relatedTarget instanceof Node&&Ze.contains(tt.relatedTarget)||(this._setClasses(Ze),this._emitOrigin(Mt,null))}_emitOrigin(tt,Ze){tt.subject.observers.length&&this._ngZone.run(()=>tt.subject.next(Ze))}_registerGlobalListeners(tt){if(!this._platform.isBrowser)return;const Ze=tt.rootNode,Mt=this._rootNodeFocusListenerCount.get(Ze)||0;Mt||this._ngZone.runOutsideAngular(()=>{Ze.addEventListener("focus",this._rootNodeFocusAndBlurListener,Be),Ze.addEventListener("blur",this._rootNodeFocusAndBlurListener,Be)}),this._rootNodeFocusListenerCount.set(Ze,Mt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,W.R)(this._stopInputModalityDetector)).subscribe(oi=>{this._setOrigin(oi,!0)}))}_removeGlobalListeners(tt){const Ze=tt.rootNode;if(this._rootNodeFocusListenerCount.has(Ze)){const Mt=this._rootNodeFocusListenerCount.get(Ze);Mt>1?this._rootNodeFocusListenerCount.set(Ze,Mt-1):(Ze.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Be),Ze.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Be),this._rootNodeFocusListenerCount.delete(Ze))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(tt,Ze,Mt){this._setClasses(tt,Ze),this._emitOrigin(Mt,Ze),this._lastFocusOrigin=Ze}_getClosestElementsInfo(tt){const Ze=[];return this._elementInfo.forEach((Mt,oi)=>{(oi===tt||Mt.checkChildren&&oi.contains(tt))&&Ze.push([oi,Mt])}),Ze}_isLastInteractionFromInputLabel(tt){const{_mostRecentTarget:Ze,mostRecentModality:Mt}=this._inputModalityDetector;if("mouse"!==Mt||!Ze||Ze===tt||"INPUT"!==tt.nodeName&&"TEXTAREA"!==tt.nodeName||tt.disabled)return!1;const oi=tt.labels;if(oi)for(let Tt=0;Tt<oi.length;Tt++)if(oi[Tt].contains(Ze))return!0;return!1}static#e=this.\u0275fac=function(Ze){return new(Ze||vt)(t.LFG(t.R0b),t.LFG(g.t4),t.LFG(xt),t.LFG(e.K0,8),t.LFG(re,8))};static#t=this.\u0275prov=t.Yz7({token:vt,factory:vt.\u0275fac,providedIn:"root"})}return vt})(),Ke=(()=>{class vt{constructor(tt,Ze){this._elementRef=tt,this._focusMonitor=Ze,this._focusOrigin=null,this.cdkFocusChange=new t.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const tt=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(tt,1===tt.nodeType&&tt.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Ze=>{this._focusOrigin=Ze,this.cdkFocusChange.emit(Ze)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(Ze){return new(Ze||vt)(t.Y36(t.SBq),t.Y36(Nt))};static#t=this.\u0275dir=t.lG2({type:vt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return vt})();const yt="cdk-high-contrast-black-on-white",kt="cdk-high-contrast-white-on-black",Dt="cdk-high-contrast-active";let Rt=(()=>{class vt{constructor(tt,Ze){this._platform=tt,this._document=Ze,this._breakpointSubscription=(0,t.f3M)(J.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const tt=this._document.createElement("div");tt.style.backgroundColor="rgb(1,2,3)",tt.style.position="absolute",this._document.body.appendChild(tt);const Ze=this._document.defaultView||window,Mt=Ze&&Ze.getComputedStyle?Ze.getComputedStyle(tt):null,oi=(Mt&&Mt.backgroundColor||"").replace(/ /g,"");switch(tt.remove(),oi){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 tt=this._document.body.classList;tt.remove(Dt,yt,kt),this._hasCheckedHighContrastMode=!0;const Ze=this.getHighContrastMode();1===Ze?tt.add(Dt,yt):2===Ze&&tt.add(Dt,kt)}}static#e=this.\u0275fac=function(Ze){return new(Ze||vt)(t.LFG(g.t4),t.LFG(e.K0))};static#t=this.\u0275prov=t.Yz7({token:vt,factory:vt.\u0275fac,providedIn:"root"})}return vt})(),pt=(()=>{class vt{constructor(tt){tt._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(Ze){return new(Ze||vt)(t.LFG(Rt))};static#t=this.\u0275mod=t.oAB({type:vt});static#i=this.\u0275inj=t.cJS({imports:[Q.Q8]})}return vt})()},9388:(Ue,q,p)=>{"use strict";p.d(q,{Is:()=>u,vT:()=>d});var e=p(5879),t=p(6814);const g=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function T(){return(0,e.f3M)(t.K0)}}),c=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let u=(()=>{class S{constructor(I){this.value="ltr",this.change=new e.vpe,I&&(this.value=function C(S){const M=S?.toLowerCase()||"";return"auto"===M&&typeof navigator<"u"&&navigator?.language?c.test(navigator.language)?"rtl":"ltr":"rtl"===M?"rtl":"ltr"}((I.body?I.body.dir:null)||(I.documentElement?I.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(D){return new(D||S)(e.LFG(g,8))};static#t=this.\u0275prov=e.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),d=(()=>{class S{static#e=this.\u0275fac=function(D){return new(D||S)};static#t=this.\u0275mod=e.oAB({type:S});static#i=this.\u0275inj=e.cJS({})}return S})()},2495:(Ue,q,p)=>{"use strict";p.d(q,{Eq:()=>c,HM:()=>C,Ig:()=>t,du:()=>P,fI:()=>u,su:()=>g,t6:()=>T});var e=p(5879);function t(d){return null!=d&&"false"!=`${d}`}function g(d,S=0){return T(d)?Number(d):S}function T(d){return!isNaN(parseFloat(d))&&!isNaN(Number(d))}function c(d){return Array.isArray(d)?d:[d]}function C(d){return null==d?"":"string"==typeof d?d:`${d}px`}function u(d){return d instanceof e.SBq?d.nativeElement:d}function P(d,S=/\s+/){const M=[];if(null!=d){const I=Array.isArray(d)?d:`${d}`.split(S);for(const D of I){const R=`${D}`.trim();R&&M.push(R)}}return M}},8337:(Ue,q,p)=>{"use strict";p.d(q,{A8:()=>M,Ov:()=>d,Z9:()=>c,eX:()=>P,k:()=>I,o2:()=>T,yy:()=>u});var e=p(3168),t=p(8645),g=p(5879);class T{}function c(D){return D&&"function"==typeof D.connect&&!(D instanceof e.c)}class u{applyChanges(R,F,W,Y,Q){R.forEachOperation((J,ne,X)=>{let pe,ie;if(null==J.previousIndex){const de=W(J,ne,X);pe=F.createEmbeddedView(de.templateRef,de.context,de.index),ie=1}else null==X?(F.remove(ne),ie=3):(pe=F.get(ne),F.move(pe,X),ie=2);Q&&Q({context:pe?.context,operation:ie,record:J})})}detach(){}}class P{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(R,F,W,Y,Q){R.forEachOperation((J,ne,X)=>{let pe,ie;null==J.previousIndex?(pe=this._insertView(()=>W(J,ne,X),X,F,Y(J)),ie=pe?1:0):null==X?(this._detachAndCacheView(ne,F),ie=3):(pe=this._moveView(ne,X,F,Y(J)),ie=2),Q&&Q({context:pe?.context,operation:ie,record:J})})}detach(){for(const R of this._viewCache)R.destroy();this._viewCache=[]}_insertView(R,F,W,Y){const Q=this._insertViewFromCache(F,W);if(Q)return void(Q.context.$implicit=Y);const J=R();return W.createEmbeddedView(J.templateRef,J.context,J.index)}_detachAndCacheView(R,F){const W=F.detach(R);this._maybeCacheView(W,F)}_moveView(R,F,W,Y){const Q=W.get(R);return W.move(Q,F),Q.context.$implicit=Y,Q}_maybeCacheView(R,F){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(R);else{const W=F.indexOf(R);-1===W?R.destroy():F.remove(W)}}_insertViewFromCache(R,F){const W=this._viewCache.pop();return W&&F.insert(W,R),W||null}}class d{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(R=!1,F,W=!0,Y){this._multiple=R,this._emitChanges=W,this.compareWith=Y,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new t.x,F&&F.length&&(R?F.forEach(Q=>this._markSelected(Q)):this._markSelected(F[0]),this._selectedToEmit.length=0)}select(...R){this._verifyValueAssignment(R),R.forEach(W=>this._markSelected(W));const F=this._hasQueuedChanges();return this._emitChangeEvent(),F}deselect(...R){this._verifyValueAssignment(R),R.forEach(W=>this._unmarkSelected(W));const F=this._hasQueuedChanges();return this._emitChangeEvent(),F}setSelection(...R){this._verifyValueAssignment(R);const F=this.selected,W=new Set(R);R.forEach(Q=>this._markSelected(Q)),F.filter(Q=>!W.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 F=this._hasQueuedChanges();return R&&this._emitChangeEvent(),F}isSelected(R){return this._selection.has(this._getConcreteValue(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){R=this._getConcreteValue(R),this.isSelected(R)||(this._multiple||this._unmarkAll(),this.isSelected(R)||this._selection.add(R),this._emitChanges&&this._selectedToEmit.push(R))}_unmarkSelected(R){R=this._getConcreteValue(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)}_getConcreteValue(R){if(this.compareWith){for(let F of this._selection)if(this.compareWith(R,F))return F;return R}return R}}let M=(()=>{class D{constructor(){this._listeners=[]}notify(F,W){for(let Y of this._listeners)Y(F,W)}listen(F){return this._listeners.push(F),()=>{this._listeners=this._listeners.filter(W=>F!==W)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(W){return new(W||D)};static#t=this.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();const I=new g.OlP("_ViewRepeater")},6028:(Ue,q,p)=>{"use strict";p.d(q,{A:()=>V,JH:()=>ne,JU:()=>C,K5:()=>c,Ku:()=>D,LH:()=>Q,L_:()=>I,MW:()=>Ct,Mf:()=>g,SV:()=>J,Sd:()=>W,VM:()=>R,Vb:()=>rt,Z:()=>et,ZH:()=>t,aO:()=>O,b2:()=>We,hY:()=>M,jx:()=>u,oh:()=>Y,uR:()=>F,xE:()=>te,yY:()=>de,zL:()=>P});const t=8,g=9,c=13,C=16,u=17,P=18,M=27,I=32,D=33,R=34,F=35,W=36,Y=37,Q=38,J=39,ne=40,de=46,te=48,O=57,V=65,et=90,Ct=91,We=224;function rt(st,...Jt){return Jt.length?Jt.some(ui=>st[ui]):st.altKey||st.shiftKey||st.ctrlKey||st.metaKey}},1088:(Ue,q,p)=>{"use strict";p.d(q,{Yg:()=>ne,u3:()=>pe,xu:()=>R});var e=p(5879),t=p(2495),g=p(8645),T=p(2572),c=p(5211),C=p(5592),u=p(8180),P=p(836),d=p(3620),S=p(7398),M=p(7921),I=p(9773),D=p(2831);let R=(()=>{class ie{static#e=this.\u0275fac=function(ae){return new(ae||ie)};static#t=this.\u0275mod=e.oAB({type:ie});static#i=this.\u0275inj=e.cJS({})}return ie})();const F=new Set;let W,Y=(()=>{class ie{constructor(te,ae){this._platform=te,this._nonce=ae,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):J}matchMedia(te){return(this._platform.WEBKIT||this._platform.BLINK)&&function Q(ie,de){if(!F.has(ie))try{W||(W=document.createElement("style"),de&&(W.nonce=de),W.setAttribute("type","text/css"),document.head.appendChild(W)),W.sheet&&(W.sheet.insertRule(`@media ${ie} {body{ }}`,0),F.add(ie))}catch(te){console.error(te)}}(te,this._nonce),this._matchMedia(te)}static#e=this.\u0275fac=function(ae){return new(ae||ie)(e.LFG(D.t4),e.LFG(e.Ojb,8))};static#t=this.\u0275prov=e.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})();function J(ie){return{matches:"all"===ie||""===ie,media:ie,addListener:()=>{},removeListener:()=>{}}}let ne=(()=>{class ie{constructor(te,ae){this._mediaMatcher=te,this._zone=ae,this._queries=new Map,this._destroySubject=new g.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(te){return X((0,t.Eq)(te)).some(E=>this._registerQuery(E).mql.matches)}observe(te){const E=X((0,t.Eq)(te)).map(o=>this._registerQuery(o).observable);let i=(0,T.a)(E);return i=(0,c.z)(i.pipe((0,u.q)(1)),i.pipe((0,P.T)(1),(0,d.b)(0))),i.pipe((0,S.U)(o=>{const m={matches:!1,breakpoints:{}};return o.forEach(({matches:l,query:y})=>{m.matches=m.matches||l,m.breakpoints[y]=l}),m}))}_registerQuery(te){if(this._queries.has(te))return this._queries.get(te);const ae=this._mediaMatcher.matchMedia(te),i={observable:new C.y(o=>{const m=l=>this._zone.run(()=>o.next(l));return ae.addListener(m),()=>{ae.removeListener(m)}}).pipe((0,M.O)(ae),(0,S.U)(({matches:o})=>({query:te,matches:o})),(0,I.R)(this._destroySubject)),mql:ae};return this._queries.set(te,i),i}static#e=this.\u0275fac=function(ae){return new(ae||ie)(e.LFG(Y),e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})();function X(ie){return ie.map(de=>de.split(",")).reduce((de,te)=>de.concat(te)).map(de=>de.trim())}const pe={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7131:(Ue,q,p)=>{"use strict";p.d(q,{Q8:()=>d,wD:()=>P});var e=p(2495),t=p(5879),g=p(5592),T=p(8645),c=p(3620);let C=(()=>{class S{create(I){return typeof MutationObserver>"u"?null:new MutationObserver(I)}static#e=this.\u0275fac=function(D){return new(D||S)};static#t=this.\u0275prov=t.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),u=(()=>{class S{constructor(I){this._mutationObserverFactory=I,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((I,D)=>this._cleanupObserver(D))}observe(I){const D=(0,e.fI)(I);return new g.y(R=>{const W=this._observeElement(D).subscribe(R);return()=>{W.unsubscribe(),this._unobserveElement(D)}})}_observeElement(I){if(this._observedElements.has(I))this._observedElements.get(I).count++;else{const D=new T.x,R=this._mutationObserverFactory.create(F=>D.next(F));R&&R.observe(I,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(I,{observer:R,stream:D,count:1})}return this._observedElements.get(I).stream}_unobserveElement(I){this._observedElements.has(I)&&(this._observedElements.get(I).count--,this._observedElements.get(I).count||this._cleanupObserver(I))}_cleanupObserver(I){if(this._observedElements.has(I)){const{observer:D,stream:R}=this._observedElements.get(I);D&&D.disconnect(),R.complete(),this._observedElements.delete(I)}}static#e=this.\u0275fac=function(D){return new(D||S)(t.LFG(C))};static#t=this.\u0275prov=t.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),P=(()=>{class S{get disabled(){return this._disabled}set disabled(I){this._disabled=(0,e.Ig)(I),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(I){this._debounce=(0,e.su)(I),this._subscribe()}constructor(I,D,R){this._contentObserver=I,this._elementRef=D,this._ngZone=R,this.event=new t.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const I=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?I.pipe((0,c.b)(this.debounce)):I).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(D){return new(D||S)(t.Y36(u),t.Y36(t.SBq),t.Y36(t.R0b))};static#t=this.\u0275dir=t.lG2({type:S,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return S})(),d=(()=>{class S{static#e=this.\u0275fac=function(D){return new(D||S)};static#t=this.\u0275mod=t.oAB({type:S});static#i=this.\u0275inj=t.cJS({providers:[C]})}return S})()},3651:(Ue,q,p)=>{"use strict";p.d(q,{pI:()=>fe,xu:()=>ge,_G:()=>K,aV:()=>ze,X_:()=>E,Xj:()=>n,U8:()=>Ne,Iu:()=>_});var e=p(5407),t=p(6814),g=p(5879),T=p(2495),c=p(2831),C=p(2181),u=p(8180),P=p(9773),d=p(9360),S=p(8251),I=p(9388),D=p(8484),R=p(8645),F=p(7394),W=p(3019),Y=p(6028);const Q=(0,c.Mq)();class J{constructor(ve,De){this._viewportRuler=ve,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=De}attach(){}enable(){if(this._canBeEnabled()){const ve=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ve.style.left||"",this._previousHTMLStyles.top=ve.style.top||"",ve.style.left=(0,T.HM)(-this._previousScrollPosition.left),ve.style.top=(0,T.HM)(-this._previousScrollPosition.top),ve.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ve=this._document.documentElement,xt=ve.style,ct=this._document.body.style,et=xt.scrollBehavior||"",Ct=ct.scrollBehavior||"";this._isEnabled=!1,xt.left=this._previousHTMLStyles.left,xt.top=this._previousHTMLStyles.top,ve.classList.remove("cdk-global-scrollblock"),Q&&(xt.scrollBehavior=ct.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Q&&(xt.scrollBehavior=et,ct.scrollBehavior=Ct)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const De=this._document.body,xt=this._viewportRuler.getViewportSize();return De.scrollHeight>xt.height||De.scrollWidth>xt.width}}class X{constructor(ve,De,xt,ct){this._scrollDispatcher=ve,this._ngZone=De,this._viewportRuler=xt,this._config=ct,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(ve){this._overlayRef=ve}enable(){if(this._scrollSubscription)return;const ve=this._scrollDispatcher.scrolled(0).pipe((0,C.h)(De=>!De||!this._overlayRef.overlayElement.contains(De.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ve.subscribe(()=>{const De=this._viewportRuler.getViewportScrollPosition().top;Math.abs(De-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ve.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class pe{enable(){}disable(){}attach(){}}function ie(at,ve){return ve.some(De=>at.bottom<De.top||at.top>De.bottom||at.right<De.left||at.left>De.right)}function de(at,ve){return ve.some(De=>at.top<De.top||at.bottom>De.bottom||at.left<De.left||at.right>De.right)}class te{constructor(ve,De,xt,ct){this._scrollDispatcher=ve,this._viewportRuler=De,this._ngZone=xt,this._config=ct,this._scrollSubscription=null}attach(ve){this._overlayRef=ve}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:xt,height:ct}=this._viewportRuler.getViewportSize();ie(De,[{width:xt,height:ct,bottom:ct,right:xt,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 ae=(()=>{class at{constructor(De,xt,ct,et){this._scrollDispatcher=De,this._viewportRuler=xt,this._ngZone=ct,this.noop=()=>new pe,this.close=Ct=>new X(this._scrollDispatcher,this._ngZone,this._viewportRuler,Ct),this.block=()=>new J(this._viewportRuler,this._document),this.reposition=Ct=>new te(this._scrollDispatcher,this._viewportRuler,this._ngZone,Ct),this._document=et}static#e=this.\u0275fac=function(xt){return new(xt||at)(g.LFG(e.mF),g.LFG(e.rL),g.LFG(g.R0b),g.LFG(t.K0))};static#t=this.\u0275prov=g.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();class E{constructor(ve){if(this.scrollStrategy=new pe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,ve){const De=Object.keys(ve);for(const xt of De)void 0!==ve[xt]&&(this[xt]=ve[xt])}}}class m{constructor(ve,De){this.connectionPair=ve,this.scrollableViewProperties=De}}let L=(()=>{class at{constructor(De){this._attachedOverlays=[],this._document=De}ngOnDestroy(){this.detach()}add(De){this.remove(De),this._attachedOverlays.push(De)}remove(De){const xt=this._attachedOverlays.indexOf(De);xt>-1&&this._attachedOverlays.splice(xt,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(xt){return new(xt||at)(g.LFG(t.K0))};static#t=this.\u0275prov=g.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})(),O=(()=>{class at extends L{constructor(De,xt){super(De),this._ngZone=xt,this._keydownListener=ct=>{const et=this._attachedOverlays;for(let Ct=et.length-1;Ct>-1;Ct--)if(et[Ct]._keydownEvents.observers.length>0){const ke=et[Ct]._keydownEvents;this._ngZone?this._ngZone.run(()=>ke.next(ct)):ke.next(ct);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)}static#e=this.\u0275fac=function(xt){return new(xt||at)(g.LFG(t.K0),g.LFG(g.R0b,8))};static#t=this.\u0275prov=g.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})(),b=(()=>{class at extends L{constructor(De,xt,ct){super(De),this._platform=xt,this._ngZone=ct,this._cursorStyleIsSet=!1,this._pointerDownListener=et=>{this._pointerDownEventTarget=(0,c.sA)(et)},this._clickListener=et=>{const Ct=(0,c.sA)(et),ke="click"===et.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Ct;this._pointerDownEventTarget=null;const ot=this._attachedOverlays.slice();for(let Je=ot.length-1;Je>-1;Je--){const re=ot[Je];if(re._outsidePointerEvents.observers.length<1||!re.hasAttached())continue;if(re.overlayElement.contains(Ct)||re.overlayElement.contains(ke))break;const Be=re._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Be.next(et)):Be.next(et)}}}add(De){if(super.add(De),!this._isAttached){const xt=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(xt)):this._addEventListeners(xt),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=xt.style.cursor,xt.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)}static#e=this.\u0275fac=function(xt){return new(xt||at)(g.LFG(t.K0),g.LFG(c.t4),g.LFG(g.R0b,8))};static#t=this.\u0275prov=g.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})(),n=(()=>{class at{constructor(De,xt){this._platform=xt,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,c.Oy)()){const ct=this._document.querySelectorAll(`.${De}[platform="server"], .${De}[platform="test"]`);for(let et=0;et<ct.length;et++)ct[et].remove()}const xt=this._document.createElement("div");xt.classList.add(De),(0,c.Oy)()?xt.setAttribute("platform","test"):this._platform.isBrowser||xt.setAttribute("platform","server"),this._document.body.appendChild(xt),this._containerElement=xt}static#e=this.\u0275fac=function(xt){return new(xt||at)(g.LFG(t.K0),g.LFG(c.t4))};static#t=this.\u0275prov=g.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();class _{constructor(ve,De,xt,ct,et,Ct,ke,ot,Je,re=!1){this._portalOutlet=ve,this._host=De,this._pane=xt,this._config=ct,this._ngZone=et,this._keyboardDispatcher=Ct,this._document=ke,this._location=ot,this._outsideClickDispatcher=Je,this._animationsDisabled=re,this._backdropElement=null,this._backdropClick=new R.x,this._attachments=new R.x,this._detachments=new R.x,this._locationChanges=F.w0.EMPTY,this._backdropClickHandler=Be=>this._backdropClick.next(Be),this._backdropTransitionendHandler=Be=>{this._disposeBackdrop(Be.target)},this._keydownEvents=new R.x,this._outsidePointerEvents=new R.x,ct.scrollStrategy&&(this._scrollStrategy=ct.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ct.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(ve){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const De=this._portalOutlet.attach(ve);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,u.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 ve=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ve}dispose(){const ve=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,ve&&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(ve){ve!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ve,this.hasAttached()&&(ve.attach(this),this.updatePosition()))}updateSize(ve){this._config={...this._config,...ve},this._updateElementSize()}setDirection(ve){this._config={...this._config,direction:ve},this._updateElementDirection()}addPanelClass(ve){this._pane&&this._toggleClasses(this._pane,ve,!0)}removePanelClass(ve){this._pane&&this._toggleClasses(this._pane,ve,!1)}getDirection(){const ve=this._config.direction;return ve?"string"==typeof ve?ve:ve.value:"ltr"}updateScrollStrategy(ve){ve!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ve,this.hasAttached()&&(ve.attach(this),ve.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ve=this._pane.style;ve.width=(0,T.HM)(this._config.width),ve.height=(0,T.HM)(this._config.height),ve.minWidth=(0,T.HM)(this._config.minWidth),ve.minHeight=(0,T.HM)(this._config.minHeight),ve.maxWidth=(0,T.HM)(this._config.maxWidth),ve.maxHeight=(0,T.HM)(this._config.maxHeight)}_togglePointerEvents(ve){this._pane.style.pointerEvents=ve?"":"none"}_attachBackdrop(){const ve="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(ve)})}):this._backdropElement.classList.add(ve)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const ve=this._backdropElement;if(ve){if(this._animationsDisabled)return void this._disposeBackdrop(ve);ve.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{ve.addEventListener("transitionend",this._backdropTransitionendHandler)}),ve.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(ve)},500))}}_toggleClasses(ve,De,xt){const ct=(0,T.Eq)(De||[]).filter(et=>!!et);ct.length&&(xt?ve.classList.add(...ct):ve.classList.remove(...ct))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const ve=this._ngZone.onStable.pipe((0,P.R)((0,W.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),ve.unsubscribe())})})}_disposeScrollStrategy(){const ve=this._scrollStrategy;ve&&(ve.disable(),ve.detach&&ve.detach())}_disposeBackdrop(ve){ve&&(ve.removeEventListener("click",this._backdropClickHandler),ve.removeEventListener("transitionend",this._backdropTransitionendHandler),ve.remove(),this._backdropElement===ve&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const H="cdk-overlay-connected-position-bounding-box",V=/([A-Za-z%]+)$/;class K{get positions(){return this._preferredPositions}constructor(ve,De,xt,ct,et){this._viewportRuler=De,this._document=xt,this._platform=ct,this._overlayContainer=et,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 R.x,this._resizeSubscription=F.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(ve)}attach(ve){this._validatePositions(),ve.hostElement.classList.add(H),this._overlayRef=ve,this._boundingBox=ve.hostElement,this._pane=ve.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 ve=this._originRect,De=this._overlayRect,xt=this._viewportRect,ct=this._containerRect,et=[];let Ct;for(let ke of this._preferredPositions){let ot=this._getOriginPoint(ve,ct,ke),Je=this._getOverlayPoint(ot,De,ke),re=this._getOverlayFit(Je,De,xt,ke);if(re.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(ke,ot);this._canFitWithFlexibleDimensions(re,Je,xt)?et.push({position:ke,origin:ot,overlayRect:De,boundingBoxRect:this._calculateBoundingBoxRect(ot,ke)}):(!Ct||Ct.overlayFit.visibleArea<re.visibleArea)&&(Ct={overlayFit:re,overlayPoint:Je,originPoint:ot,position:ke,overlayRect:De})}if(et.length){let ke=null,ot=-1;for(const Je of et){const re=Je.boundingBoxRect.width*Je.boundingBoxRect.height*(Je.position.weight||1);re>ot&&(ot=re,ke=Je)}return this._isPushed=!1,void this._applyPosition(ke.position,ke.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Ct.position,Ct.originPoint);this._applyPosition(Ct.position,Ct.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&se(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(H),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ve=this._lastPosition;if(ve){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,ve);this._applyPosition(ve,De)}else this.apply()}withScrollableContainers(ve){return this._scrollables=ve,this}withPositions(ve){return this._preferredPositions=ve,-1===ve.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ve){return this._viewportMargin=ve,this}withFlexibleDimensions(ve=!0){return this._hasFlexibleDimensions=ve,this}withGrowAfterOpen(ve=!0){return this._growAfterOpen=ve,this}withPush(ve=!0){return this._canPush=ve,this}withLockedPosition(ve=!0){return this._positionLocked=ve,this}setOrigin(ve){return this._origin=ve,this}withDefaultOffsetX(ve){return this._offsetX=ve,this}withDefaultOffsetY(ve){return this._offsetY=ve,this}withTransformOriginOn(ve){return this._transformOriginSelector=ve,this}_getOriginPoint(ve,De,xt){let ct,et;if("center"==xt.originX)ct=ve.left+ve.width/2;else{const Ct=this._isRtl()?ve.right:ve.left,ke=this._isRtl()?ve.left:ve.right;ct="start"==xt.originX?Ct:ke}return De.left<0&&(ct-=De.left),et="center"==xt.originY?ve.top+ve.height/2:"top"==xt.originY?ve.top:ve.bottom,De.top<0&&(et-=De.top),{x:ct,y:et}}_getOverlayPoint(ve,De,xt){let ct,et;return ct="center"==xt.overlayX?-De.width/2:"start"===xt.overlayX?this._isRtl()?-De.width:0:this._isRtl()?0:-De.width,et="center"==xt.overlayY?-De.height/2:"top"==xt.overlayY?0:-De.height,{x:ve.x+ct,y:ve.y+et}}_getOverlayFit(ve,De,xt,ct){const et=Oe(De);let{x:Ct,y:ke}=ve,ot=this._getOffset(ct,"x"),Je=this._getOffset(ct,"y");ot&&(Ct+=ot),Je&&(ke+=Je);let Nt=0-ke,Ke=ke+et.height-xt.height,yt=this._subtractOverflows(et.width,0-Ct,Ct+et.width-xt.width),kt=this._subtractOverflows(et.height,Nt,Ke),Dt=yt*kt;return{visibleArea:Dt,isCompletelyWithinViewport:et.width*et.height===Dt,fitsInViewportVertically:kt===et.height,fitsInViewportHorizontally:yt==et.width}}_canFitWithFlexibleDimensions(ve,De,xt){if(this._hasFlexibleDimensions){const ct=xt.bottom-De.y,et=xt.right-De.x,Ct=Ye(this._overlayRef.getConfig().minHeight),ke=Ye(this._overlayRef.getConfig().minWidth);return(ve.fitsInViewportVertically||null!=Ct&&Ct<=ct)&&(ve.fitsInViewportHorizontally||null!=ke&&ke<=et)}return!1}_pushOverlayOnScreen(ve,De,xt){if(this._previousPushAmount&&this._positionLocked)return{x:ve.x+this._previousPushAmount.x,y:ve.y+this._previousPushAmount.y};const ct=Oe(De),et=this._viewportRect,Ct=Math.max(ve.x+ct.width-et.width,0),ke=Math.max(ve.y+ct.height-et.height,0),ot=Math.max(et.top-xt.top-ve.y,0),Je=Math.max(et.left-xt.left-ve.x,0);let re=0,Be=0;return re=ct.width<=et.width?Je||-Ct:ve.x<this._viewportMargin?et.left-xt.left-ve.x:0,Be=ct.height<=et.height?ot||-ke:ve.y<this._viewportMargin?et.top-xt.top-ve.y:0,this._previousPushAmount={x:re,y:Be},{x:ve.x+re,y:ve.y+Be}}_applyPosition(ve,De){if(this._setTransformOrigin(ve),this._setOverlayElementStyles(De,ve),this._setBoundingBoxStyles(De,ve),ve.panelClass&&this._addPanelClasses(ve.panelClass),this._lastPosition=ve,this._positionChanges.observers.length){const xt=this._getScrollVisibility(),ct=new m(ve,xt);this._positionChanges.next(ct)}this._isInitialRender=!1}_setTransformOrigin(ve){if(!this._transformOriginSelector)return;const De=this._boundingBox.querySelectorAll(this._transformOriginSelector);let xt,ct=ve.overlayY;xt="center"===ve.overlayX?"center":this._isRtl()?"start"===ve.overlayX?"right":"left":"start"===ve.overlayX?"left":"right";for(let et=0;et<De.length;et++)De[et].style.transformOrigin=`${xt} ${ct}`}_calculateBoundingBoxRect(ve,De){const xt=this._viewportRect,ct=this._isRtl();let et,Ct,ke,re,Be,Nt;if("top"===De.overlayY)Ct=ve.y,et=xt.height-Ct+this._viewportMargin;else if("bottom"===De.overlayY)ke=xt.height-ve.y+2*this._viewportMargin,et=xt.height-ke+this._viewportMargin;else{const Ke=Math.min(xt.bottom-ve.y+xt.top,ve.y),yt=this._lastBoundingBoxSize.height;et=2*Ke,Ct=ve.y-Ke,et>yt&&!this._isInitialRender&&!this._growAfterOpen&&(Ct=ve.y-yt/2)}if("end"===De.overlayX&&!ct||"start"===De.overlayX&&ct)Nt=xt.width-ve.x+this._viewportMargin,re=ve.x-this._viewportMargin;else if("start"===De.overlayX&&!ct||"end"===De.overlayX&&ct)Be=ve.x,re=xt.right-ve.x;else{const Ke=Math.min(xt.right-ve.x+xt.left,ve.x),yt=this._lastBoundingBoxSize.width;re=2*Ke,Be=ve.x-Ke,re>yt&&!this._isInitialRender&&!this._growAfterOpen&&(Be=ve.x-yt/2)}return{top:Ct,left:Be,bottom:ke,right:Nt,width:re,height:et}}_setBoundingBoxStyles(ve,De){const xt=this._calculateBoundingBoxRect(ve,De);!this._isInitialRender&&!this._growAfterOpen&&(xt.height=Math.min(xt.height,this._lastBoundingBoxSize.height),xt.width=Math.min(xt.width,this._lastBoundingBoxSize.width));const ct={};if(this._hasExactPosition())ct.top=ct.left="0",ct.bottom=ct.right=ct.maxHeight=ct.maxWidth="",ct.width=ct.height="100%";else{const et=this._overlayRef.getConfig().maxHeight,Ct=this._overlayRef.getConfig().maxWidth;ct.height=(0,T.HM)(xt.height),ct.top=(0,T.HM)(xt.top),ct.bottom=(0,T.HM)(xt.bottom),ct.width=(0,T.HM)(xt.width),ct.left=(0,T.HM)(xt.left),ct.right=(0,T.HM)(xt.right),ct.alignItems="center"===De.overlayX?"center":"end"===De.overlayX?"flex-end":"flex-start",ct.justifyContent="center"===De.overlayY?"center":"bottom"===De.overlayY?"flex-end":"flex-start",et&&(ct.maxHeight=(0,T.HM)(et)),Ct&&(ct.maxWidth=(0,T.HM)(Ct))}this._lastBoundingBoxSize=xt,se(this._boundingBox.style,ct)}_resetBoundingBoxStyles(){se(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){se(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ve,De){const xt={},ct=this._hasExactPosition(),et=this._hasFlexibleDimensions,Ct=this._overlayRef.getConfig();if(ct){const re=this._viewportRuler.getViewportScrollPosition();se(xt,this._getExactOverlayY(De,ve,re)),se(xt,this._getExactOverlayX(De,ve,re))}else xt.position="static";let ke="",ot=this._getOffset(De,"x"),Je=this._getOffset(De,"y");ot&&(ke+=`translateX(${ot}px) `),Je&&(ke+=`translateY(${Je}px)`),xt.transform=ke.trim(),Ct.maxHeight&&(ct?xt.maxHeight=(0,T.HM)(Ct.maxHeight):et&&(xt.maxHeight="")),Ct.maxWidth&&(ct?xt.maxWidth=(0,T.HM)(Ct.maxWidth):et&&(xt.maxWidth="")),se(this._pane.style,xt)}_getExactOverlayY(ve,De,xt){let ct={top:"",bottom:""},et=this._getOverlayPoint(De,this._overlayRect,ve);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,xt)),"bottom"===ve.overlayY?ct.bottom=this._document.documentElement.clientHeight-(et.y+this._overlayRect.height)+"px":ct.top=(0,T.HM)(et.y),ct}_getExactOverlayX(ve,De,xt){let Ct,ct={left:"",right:""},et=this._getOverlayPoint(De,this._overlayRect,ve);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,xt)),Ct=this._isRtl()?"end"===ve.overlayX?"left":"right":"end"===ve.overlayX?"right":"left","right"===Ct?ct.right=this._document.documentElement.clientWidth-(et.x+this._overlayRect.width)+"px":ct.left=(0,T.HM)(et.x),ct}_getScrollVisibility(){const ve=this._getOriginRect(),De=this._pane.getBoundingClientRect(),xt=this._scrollables.map(ct=>ct.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:de(ve,xt),isOriginOutsideView:ie(ve,xt),isOverlayClipped:de(De,xt),isOverlayOutsideView:ie(De,xt)}}_subtractOverflows(ve,...De){return De.reduce((xt,ct)=>xt-Math.max(ct,0),ve)}_getNarrowedViewportRect(){const ve=this._document.documentElement.clientWidth,De=this._document.documentElement.clientHeight,xt=this._viewportRuler.getViewportScrollPosition();return{top:xt.top+this._viewportMargin,left:xt.left+this._viewportMargin,right:xt.left+ve-this._viewportMargin,bottom:xt.top+De-this._viewportMargin,width:ve-2*this._viewportMargin,height:De-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ve,De){return"x"===De?null==ve.offsetX?this._offsetX:ve.offsetX:null==ve.offsetY?this._offsetY:ve.offsetY}_validatePositions(){}_addPanelClasses(ve){this._pane&&(0,T.Eq)(ve).forEach(De=>{""!==De&&-1===this._appliedPanelClasses.indexOf(De)&&(this._appliedPanelClasses.push(De),this._pane.classList.add(De))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ve=>{this._pane.classList.remove(ve)}),this._appliedPanelClasses=[])}_getOriginRect(){const ve=this._origin;if(ve instanceof g.SBq)return ve.nativeElement.getBoundingClientRect();if(ve instanceof Element)return ve.getBoundingClientRect();const De=ve.width||0,xt=ve.height||0;return{top:ve.y,bottom:ve.y+xt,left:ve.x,right:ve.x+De,height:xt,width:De}}}function se(at,ve){for(let De in ve)ve.hasOwnProperty(De)&&(at[De]=ve[De]);return at}function Ye(at){if("number"!=typeof at&&null!=at){const[ve,De]=at.split(V);return De&&"px"!==De?null:parseFloat(ve)}return at||null}function Oe(at){return{top:Math.floor(at.top),right:Math.floor(at.right),bottom:Math.floor(at.bottom),left:Math.floor(at.left),width:Math.floor(at.width),height:Math.floor(at.height)}}const ue="cdk-global-overlay-wrapper";class xe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ve){const De=ve.getConfig();this._overlayRef=ve,this._width&&!De.width&&ve.updateSize({width:this._width}),this._height&&!De.height&&ve.updateSize({height:this._height}),ve.hostElement.classList.add(ue),this._isDisposed=!1}top(ve=""){return this._bottomOffset="",this._topOffset=ve,this._alignItems="flex-start",this}left(ve=""){return this._xOffset=ve,this._xPosition="left",this}bottom(ve=""){return this._topOffset="",this._bottomOffset=ve,this._alignItems="flex-end",this}right(ve=""){return this._xOffset=ve,this._xPosition="right",this}start(ve=""){return this._xOffset=ve,this._xPosition="start",this}end(ve=""){return this._xOffset=ve,this._xPosition="end",this}width(ve=""){return this._overlayRef?this._overlayRef.updateSize({width:ve}):this._width=ve,this}height(ve=""){return this._overlayRef?this._overlayRef.updateSize({height:ve}):this._height=ve,this}centerHorizontally(ve=""){return this.left(ve),this._xPosition="center",this}centerVertically(ve=""){return this.top(ve),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ve=this._overlayRef.overlayElement.style,De=this._overlayRef.hostElement.style,xt=this._overlayRef.getConfig(),{width:ct,height:et,maxWidth:Ct,maxHeight:ke}=xt,ot=!("100%"!==ct&&"100vw"!==ct||Ct&&"100%"!==Ct&&"100vw"!==Ct),Je=!("100%"!==et&&"100vh"!==et||ke&&"100%"!==ke&&"100vh"!==ke),re=this._xPosition,Be=this._xOffset,Nt="rtl"===this._overlayRef.getConfig().direction;let Ke="",yt="",kt="";ot?kt="flex-start":"center"===re?(kt="center",Nt?yt=Be:Ke=Be):Nt?"left"===re||"end"===re?(kt="flex-end",Ke=Be):("right"===re||"start"===re)&&(kt="flex-start",yt=Be):"left"===re||"start"===re?(kt="flex-start",Ke=Be):("right"===re||"end"===re)&&(kt="flex-end",yt=Be),ve.position=this._cssPosition,ve.marginLeft=ot?"0":Ke,ve.marginTop=Je?"0":this._topOffset,ve.marginBottom=this._bottomOffset,ve.marginRight=ot?"0":yt,De.justifyContent=kt,De.alignItems=Je?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ve=this._overlayRef.overlayElement.style,De=this._overlayRef.hostElement,xt=De.style;De.classList.remove(ue),xt.justifyContent=xt.alignItems=ve.marginTop=ve.marginBottom=ve.marginLeft=ve.marginRight=ve.position="",this._overlayRef=null,this._isDisposed=!0}}let Pe=(()=>{class at{constructor(De,xt,ct,et){this._viewportRuler=De,this._document=xt,this._platform=ct,this._overlayContainer=et}global(){return new xe}flexibleConnectedTo(De){return new K(De,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(xt){return new(xt||at)(g.LFG(e.rL),g.LFG(t.K0),g.LFG(c.t4),g.LFG(n))};static#t=this.\u0275prov=g.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})(),oe=0,ze=(()=>{class at{constructor(De,xt,ct,et,Ct,ke,ot,Je,re,Be,Nt,Ke){this.scrollStrategies=De,this._overlayContainer=xt,this._componentFactoryResolver=ct,this._positionBuilder=et,this._keyboardDispatcher=Ct,this._injector=ke,this._ngZone=ot,this._document=Je,this._directionality=re,this._location=Be,this._outsideClickDispatcher=Nt,this._animationsModuleType=Ke}create(De){const xt=this._createHostElement(),ct=this._createPaneElement(xt),et=this._createPortalOutlet(ct),Ct=new E(De);return Ct.direction=Ct.direction||this._directionality.value,new _(et,xt,ct,Ct,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(De){const xt=this._document.createElement("div");return xt.id="cdk-overlay-"+oe++,xt.classList.add("cdk-overlay-pane"),De.appendChild(xt),xt}_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 D.u0(De,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(xt){return new(xt||at)(g.LFG(ae),g.LFG(n),g.LFG(g._Vd),g.LFG(Pe),g.LFG(O),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(t.K0),g.LFG(I.Is),g.LFG(t.Ye),g.LFG(b),g.LFG(g.QbO,8))};static#t=this.\u0275prov=g.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();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"}],le=new g.OlP("cdk-connected-overlay-scroll-strategy");let ge=(()=>{class at{constructor(De){this.elementRef=De}static#e=this.\u0275fac=function(xt){return new(xt||at)(g.Y36(g.SBq))};static#t=this.\u0275dir=g.lG2({type:at,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return at})(),fe=(()=>{class at{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,T.Ig)(De)}get lockPosition(){return this._lockPosition}set lockPosition(De){this._lockPosition=(0,T.Ig)(De)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(De){this._flexibleDimensions=(0,T.Ig)(De)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(De){this._growAfterOpen=(0,T.Ig)(De)}get push(){return this._push}set push(De){this._push=(0,T.Ig)(De)}constructor(De,xt,ct,et,Ct){this._overlay=De,this._dir=Ct,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=F.w0.EMPTY,this._attachSubscription=F.w0.EMPTY,this._detachSubscription=F.w0.EMPTY,this._positionSubscription=F.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 D.UE(xt,ct),this._scrollStrategyFactory=et,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(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(xt=>{this.overlayKeydown.next(xt),xt.keyCode===Y.hY&&!this.disableClose&&!(0,Y.Vb)(xt)&&(xt.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(xt=>{this.overlayOutsideClick.next(xt)})}_buildConfig(){const De=this._position=this.positionStrategy||this._createPositionStrategy(),xt=new E({direction:this._dir,positionStrategy:De,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(xt.width=this.width),(this.height||0===this.height)&&(xt.height=this.height),(this.minWidth||0===this.minWidth)&&(xt.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(xt.minHeight=this.minHeight),this.backdropClass&&(xt.backdropClass=this.backdropClass),this.panelClass&&(xt.panelClass=this.panelClass),xt}_updatePositionStrategy(De){const xt=this.positions.map(ct=>({originX:ct.originX,originY:ct.originY,overlayX:ct.overlayX,overlayY:ct.overlayY,offsetX:ct.offsetX||this.offsetX,offsetY:ct.offsetY||this.offsetY,panelClass:ct.panelClass||void 0}));return De.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(xt).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 ge?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(function M(at,ve=!1){return(0,d.e)((De,xt)=>{let ct=0;De.subscribe((0,S.x)(xt,et=>{const Ct=at(et,ct++);(Ct||ve)&&xt.next(et),!Ct&&xt.complete()}))})}(()=>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()}static#e=this.\u0275fac=function(xt){return new(xt||at)(g.Y36(ze),g.Y36(g.Rgc),g.Y36(g.s_b),g.Y36(le),g.Y36(I.Is,8))};static#t=this.\u0275dir=g.lG2({type:at,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"],standalone:!0,features:[g.TTD]})}return at})();const Le={provide:le,deps:[ze],useFactory:function Ge(at){return()=>at.scrollStrategies.reposition()}};let Ne=(()=>{class at{static#e=this.\u0275fac=function(xt){return new(xt||at)};static#t=this.\u0275mod=g.oAB({type:at});static#i=this.\u0275inj=g.cJS({providers:[ze,Le],imports:[I.vT,D.eL,e.Cl,e.Cl]})}return at})()},2831:(Ue,q,p)=>{"use strict";p.d(q,{Mq:()=>R,Oy:()=>X,_i:()=>F,ht:()=>J,i$:()=>M,kV:()=>Q,qK:()=>P,sA:()=>ne,t4:()=>T});var e=p(5879),t=p(6814);let g;try{g=typeof Intl<"u"&&Intl.v8BreakIterator}catch{g=!1}let C,T=(()=>{class pe{constructor(de){this._platformId=de,this.isBrowser=this._platformId?(0,t.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!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}static#e=this.\u0275fac=function(te){return new(te||pe)(e.LFG(e.Lbi))};static#t=this.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();const u=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function P(){if(C)return C;if("object"!=typeof document||!document)return C=new Set(u),C;let pe=document.createElement("input");return C=new Set(u.filter(ie=>(pe.setAttribute("type",ie),pe.type===ie))),C}let d,I,D,W;function M(pe){return function S(){if(null==d&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?pe:!!pe.capture}function R(){if(null==D){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return D=!1,D;if("scrollBehavior"in document.documentElement.style)D=!0;else{const pe=Element.prototype.scrollTo;D=!!pe&&!/\{\s*\[native code\]\s*\}/.test(pe.toString())}}return D}function F(){if("object"!=typeof document||!document)return 0;if(null==I){const pe=document.createElement("div"),ie=pe.style;pe.dir="rtl",ie.width="1px",ie.overflow="auto",ie.visibility="hidden",ie.pointerEvents="none",ie.position="absolute";const de=document.createElement("div"),te=de.style;te.width="2px",te.height="1px",pe.appendChild(de),document.body.appendChild(pe),I=0,0===pe.scrollLeft&&(pe.scrollLeft=1,I=0===pe.scrollLeft?1:2),pe.remove()}return I}function Q(pe){if(function Y(){if(null==W){const pe=typeof document<"u"?document.head:null;W=!(!pe||!pe.createShadowRoot&&!pe.attachShadow)}return W}()){const ie=pe.getRootNode?pe.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ie instanceof ShadowRoot)return ie}return null}function J(){let pe=typeof document<"u"&&document?document.activeElement:null;for(;pe&&pe.shadowRoot;){const ie=pe.shadowRoot.activeElement;if(ie===pe)break;pe=ie}return pe}function ne(pe){return pe.composedPath?pe.composedPath()[0]:pe.target}function X(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(Ue,q,p)=>{"use strict";p.d(q,{C5:()=>S,Pl:()=>J,UE:()=>M,eL:()=>X,en:()=>D,ig:()=>Y,u0:()=>F});var e=p(5879),t=p(6814);class d{attach(de){return this._attachedHost=de,de.attach(this)}detach(){let de=this._attachedHost;null!=de&&(this._attachedHost=null,de.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(de){this._attachedHost=de}}class S extends d{constructor(de,te,ae,E,i){super(),this.component=de,this.viewContainerRef=te,this.injector=ae,this.componentFactoryResolver=E,this.projectableNodes=i}}class M extends d{constructor(de,te,ae,E){super(),this.templateRef=de,this.viewContainerRef=te,this.context=ae,this.injector=E}get origin(){return this.templateRef.elementRef}attach(de,te=this.context){return this.context=te,super.attach(de)}detach(){return this.context=void 0,super.detach()}}class I extends d{constructor(de){super(),this.element=de instanceof e.SBq?de.nativeElement:de}}class D{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(de){return de instanceof S?(this._attachedPortal=de,this.attachComponentPortal(de)):de instanceof M?(this._attachedPortal=de,this.attachTemplatePortal(de)):this.attachDomPortal&&de instanceof I?(this._attachedPortal=de,this.attachDomPortal(de)):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(de){this._disposeFn=de}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class F extends D{constructor(de,te,ae,E,i){super(),this.outletElement=de,this._componentFactoryResolver=te,this._appRef=ae,this._defaultInjector=E,this.attachDomPortal=o=>{const m=o.element,l=this._document.createComment("dom-portal");m.parentNode.insertBefore(l,m),this.outletElement.appendChild(m),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(m,l)})},this._document=i}attachComponentPortal(de){const ae=(de.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(de.component);let E;return de.viewContainerRef?(E=de.viewContainerRef.createComponent(ae,de.viewContainerRef.length,de.injector||de.viewContainerRef.injector,de.projectableNodes||void 0),this.setDisposeFn(()=>E.destroy())):(E=ae.create(de.injector||this._defaultInjector||e.zs3.NULL),this._appRef.attachView(E.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(E.hostView),E.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(E)),this._attachedPortal=de,E}attachTemplatePortal(de){let te=de.viewContainerRef,ae=te.createEmbeddedView(de.templateRef,de.context,{injector:de.injector});return ae.rootNodes.forEach(E=>this.outletElement.appendChild(E)),ae.detectChanges(),this.setDisposeFn(()=>{let E=te.indexOf(ae);-1!==E&&te.remove(E)}),this._attachedPortal=de,ae}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(de){return de.hostView.rootNodes[0]}}let Y=(()=>{class ie extends M{constructor(te,ae){super(te,ae)}static#e=this.\u0275fac=function(ae){return new(ae||ie)(e.Y36(e.Rgc),e.Y36(e.s_b))};static#t=this.\u0275dir=e.lG2({type:ie,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[e.qOj]})}return ie})(),J=(()=>{class ie extends D{constructor(te,ae,E){super(),this._componentFactoryResolver=te,this._viewContainerRef=ae,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=i=>{const o=i.element,m=this._document.createComment("dom-portal");i.setAttachedHost(this),o.parentNode.insertBefore(m,o),this._getRootNode().appendChild(o),this._attachedPortal=i,super.setDisposeFn(()=>{m.parentNode&&m.parentNode.replaceChild(o,m)})},this._document=E}get portal(){return this._attachedPortal}set portal(te){this.hasAttached()&&!te&&!this._isInitialized||(this.hasAttached()&&super.detach(),te&&super.attach(te),this._attachedPortal=te||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(te){te.setAttachedHost(this);const ae=null!=te.viewContainerRef?te.viewContainerRef:this._viewContainerRef,i=(te.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(te.component),o=ae.createComponent(i,ae.length,te.injector||ae.injector,te.projectableNodes||void 0);return ae!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=te,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(te){te.setAttachedHost(this);const ae=this._viewContainerRef.createEmbeddedView(te.templateRef,te.context,{injector:te.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=te,this._attachedRef=ae,this.attached.emit(ae),ae}_getRootNode(){const te=this._viewContainerRef.element.nativeElement;return te.nodeType===te.ELEMENT_NODE?te:te.parentNode}static#e=this.\u0275fac=function(ae){return new(ae||ie)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(t.K0))};static#t=this.\u0275dir=e.lG2({type:ie,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]})}return ie})(),X=(()=>{class ie{static#e=this.\u0275fac=function(ae){return new(ae||ie)};static#t=this.\u0275mod=e.oAB({type:ie});static#i=this.\u0275inj=e.cJS({})}return ie})()},5407:(Ue,q,p)=>{"use strict";p.d(q,{PQ:()=>m,ZD:()=>Ye,mF:()=>o,Cl:()=>Oe,rL:()=>y});var e=p(2495),t=p(5879),g=p(8645),T=p(2096),c=p(5592),C=p(2438),u=p(1954),P=p(7394);const d={schedule(Qe){let be=requestAnimationFrame,ue=cancelAnimationFrame;const{delegate:xe}=d;xe&&(be=xe.requestAnimationFrame,ue=xe.cancelAnimationFrame);const Pe=be(oe=>{ue=void 0,Qe(oe)});return new P.w0(()=>ue?.(Pe))},requestAnimationFrame(...Qe){const{delegate:be}=d;return(be?.requestAnimationFrame||requestAnimationFrame)(...Qe)},cancelAnimationFrame(...Qe){const{delegate:be}=d;return(be?.cancelAnimationFrame||cancelAnimationFrame)(...Qe)},delegate:void 0};var M=p(2631);new class I extends M.v{flush(be){this._active=!0;const ue=this._scheduled;this._scheduled=void 0;const{actions:xe}=this;let Pe;be=be||xe.shift();do{if(Pe=be.execute(be.state,be.delay))break}while((be=xe[0])&&be.id===ue&&xe.shift());if(this._active=!1,Pe){for(;(be=xe[0])&&be.id===ue&&xe.shift();)be.unsubscribe();throw Pe}}}(class S extends u.o{constructor(be,ue){super(be,ue),this.scheduler=be,this.work=ue}requestAsyncId(be,ue,xe=0){return null!==xe&&xe>0?super.requestAsyncId(be,ue,xe):(be.actions.push(this),be._scheduled||(be._scheduled=d.requestAnimationFrame(()=>be.flush(void 0))))}recycleAsyncId(be,ue,xe=0){var Pe;if(null!=xe?xe>0:this.delay>0)return super.recycleAsyncId(be,ue,xe);const{actions:oe}=be;null!=ue&&(null===(Pe=oe[oe.length-1])||void 0===Pe?void 0:Pe.id)!==ue&&(d.cancelAnimationFrame(ue),be._scheduled=void 0)}});p(6410);var W=p(9028),Y=p(2181),Q=p(9773),J=p(2831),ne=p(6814),X=p(9388);let o=(()=>{class Qe{constructor(ue,xe,Pe){this._ngZone=ue,this._platform=xe,this._scrolled=new g.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Pe}register(ue){this.scrollContainers.has(ue)||this.scrollContainers.set(ue,ue.elementScrolled().subscribe(()=>this._scrolled.next(ue)))}deregister(ue){const xe=this.scrollContainers.get(ue);xe&&(xe.unsubscribe(),this.scrollContainers.delete(ue))}scrolled(ue=20){return this._platform.isBrowser?new c.y(xe=>{this._globalSubscription||this._addGlobalListener();const Pe=ue>0?this._scrolled.pipe((0,W.e)(ue)).subscribe(xe):this._scrolled.subscribe(xe);return this._scrolledCount++,()=>{Pe.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,T.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ue,xe)=>this.deregister(xe)),this._scrolled.complete()}ancestorScrolled(ue,xe){const Pe=this.getAncestorScrollContainers(ue);return this.scrolled(xe).pipe((0,Y.h)(oe=>!oe||Pe.indexOf(oe)>-1))}getAncestorScrollContainers(ue){const xe=[];return this.scrollContainers.forEach((Pe,oe)=>{this._scrollableContainsElement(oe,ue)&&xe.push(oe)}),xe}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ue,xe){let Pe=(0,e.fI)(xe),oe=ue.getElementRef().nativeElement;do{if(Pe==oe)return!0}while(Pe=Pe.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)}static#e=this.\u0275fac=function(xe){return new(xe||Qe)(t.LFG(t.R0b),t.LFG(J.t4),t.LFG(ne.K0,8))};static#t=this.\u0275prov=t.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),m=(()=>{class Qe{constructor(ue,xe,Pe,oe){this.elementRef=ue,this.scrollDispatcher=xe,this.ngZone=Pe,this.dir=oe,this._destroyed=new g.x,this._elementScrolled=new c.y(ze=>this.ngZone.runOutsideAngular(()=>(0,C.R)(this.elementRef.nativeElement,"scroll").pipe((0,Q.R)(this._destroyed)).subscribe(ze)))}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 xe=this.elementRef.nativeElement,Pe=this.dir&&"rtl"==this.dir.value;null==ue.left&&(ue.left=Pe?ue.end:ue.start),null==ue.right&&(ue.right=Pe?ue.start:ue.end),null!=ue.bottom&&(ue.top=xe.scrollHeight-xe.clientHeight-ue.bottom),Pe&&0!=(0,J._i)()?(null!=ue.left&&(ue.right=xe.scrollWidth-xe.clientWidth-ue.left),2==(0,J._i)()?ue.left=ue.right:1==(0,J._i)()&&(ue.left=ue.right?-ue.right:ue.right)):null!=ue.right&&(ue.left=xe.scrollWidth-xe.clientWidth-ue.right),this._applyScrollToOptions(ue)}_applyScrollToOptions(ue){const xe=this.elementRef.nativeElement;(0,J.Mq)()?xe.scrollTo(ue):(null!=ue.top&&(xe.scrollTop=ue.top),null!=ue.left&&(xe.scrollLeft=ue.left))}measureScrollOffset(ue){const xe="left",oe=this.elementRef.nativeElement;if("top"==ue)return oe.scrollTop;if("bottom"==ue)return oe.scrollHeight-oe.clientHeight-oe.scrollTop;const ze=this.dir&&"rtl"==this.dir.value;return"start"==ue?ue=ze?"right":xe:"end"==ue&&(ue=ze?xe:"right"),ze&&2==(0,J._i)()?ue==xe?oe.scrollWidth-oe.clientWidth-oe.scrollLeft:oe.scrollLeft:ze&&1==(0,J._i)()?ue==xe?oe.scrollLeft+oe.scrollWidth-oe.clientWidth:-oe.scrollLeft:ue==xe?oe.scrollLeft:oe.scrollWidth-oe.clientWidth-oe.scrollLeft}static#e=this.\u0275fac=function(xe){return new(xe||Qe)(t.Y36(t.SBq),t.Y36(o),t.Y36(t.R0b),t.Y36(X.Is,8))};static#t=this.\u0275dir=t.lG2({type:Qe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return Qe})(),y=(()=>{class Qe{constructor(ue,xe,Pe){this._platform=ue,this._change=new g.x,this._changeListener=oe=>{this._change.next(oe)},this._document=Pe,xe.runOutsideAngular(()=>{if(ue.isBrowser){const oe=this._getWindow();oe.addEventListener("resize",this._changeListener),oe.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:xe,height:Pe}=this.getViewportSize();return{top:ue.top,left:ue.left,bottom:ue.top+Pe,right:ue.left+xe,height:Pe,width:xe}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ue=this._document,xe=this._getWindow(),Pe=ue.documentElement,oe=Pe.getBoundingClientRect();return{top:-oe.top||ue.body.scrollTop||xe.scrollY||Pe.scrollTop||0,left:-oe.left||ue.body.scrollLeft||xe.scrollX||Pe.scrollLeft||0}}change(ue=20){return ue>0?this._change.pipe((0,W.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}}static#e=this.\u0275fac=function(xe){return new(xe||Qe)(t.LFG(J.t4),t.LFG(t.R0b),t.LFG(ne.K0,8))};static#t=this.\u0275prov=t.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),Ye=(()=>{class Qe{static#e=this.\u0275fac=function(xe){return new(xe||Qe)};static#t=this.\u0275mod=t.oAB({type:Qe});static#i=this.\u0275inj=t.cJS({})}return Qe})(),Oe=(()=>{class Qe{static#e=this.\u0275fac=function(xe){return new(xe||Qe)};static#t=this.\u0275mod=t.oAB({type:Qe});static#i=this.\u0275inj=t.cJS({imports:[X.vT,Ye,X.vT,Ye]})}return Qe})()},1657:(Ue,q,p)=>{"use strict";p.d(q,{B8:()=>ne,KL:()=>D,U5:()=>ie,be:()=>J,gx:()=>Q,po:()=>pe,st:()=>X,u6:()=>R});var e=p(4300),t=p(9388),g=p(2495),T=p(6028),c=p(5879),C=p(2831),u=p(8645),P=p(2096),d=p(7921),S=p(9773);function M(de,te){1&de&&c.Hsn(0)}const I=["*"];let D=(()=>{class de{constructor(ae){this._elementRef=ae}focus(){this._elementRef.nativeElement.focus()}static#e=this.\u0275fac=function(E){return new(E||de)(c.Y36(c.SBq))};static#t=this.\u0275dir=c.lG2({type:de,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return de})(),R=(()=>{class de{constructor(ae){this.template=ae}static#e=this.\u0275fac=function(E){return new(E||de)(c.Y36(c.Rgc))};static#t=this.\u0275dir=c.lG2({type:de,selectors:[["","cdkStepLabel",""]]})}return de})(),F=0;const Q=new c.OlP("STEPPER_GLOBAL_OPTIONS");let J=(()=>{class de{get editable(){return this._editable}set editable(ae){this._editable=(0,g.Ig)(ae)}get optional(){return this._optional}set optional(ae){this._optional=(0,g.Ig)(ae)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(ae){this._completedOverride=(0,g.Ig)(ae)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(ae){this._customError=(0,g.Ig)(ae)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(ae,E){this._stepper=ae,this.interacted=!1,this.interactedStream=new c.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=E||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}static#e=this.\u0275fac=function(E){return new(E||de)(c.Y36((0,c.Gpc)(()=>ne)),c.Y36(Q,8))};static#t=this.\u0275cmp=c.Xpm({type:de,selectors:[["cdk-step"]],contentQueries:function(E,i,o){if(1&E&&c.Suo(o,R,5),2&E){let m;c.iGM(m=c.CRH())&&(i.stepLabel=m.first)}},viewQuery:function(E,i){if(1&E&&c.Gf(c.Rgc,7),2&E){let o;c.iGM(o=c.CRH())&&(i.content=o.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:[c.TTD],ngContentSelectors:I,decls:1,vars:0,template:function(E,i){1&E&&(c.F$t(),c.YNc(0,M,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return de})(),ne=(()=>{class de{get linear(){return this._linear}set linear(ae){this._linear=(0,g.Ig)(ae)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ae){const E=(0,g.su)(ae);this.steps&&this._steps?(this._isValidIndex(E),this.selected?._markAsInteracted(),this._selectedIndex!==E&&!this._anyControlsInvalidOrPending(E)&&(E>=this._selectedIndex||this.steps.toArray()[E].editable)&&this._updateSelectedItemIndex(E)):this._selectedIndex=E}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(ae){this.selectedIndex=ae&&this.steps?this.steps.toArray().indexOf(ae):-1}get orientation(){return this._orientation}set orientation(ae){this._orientation=ae,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===ae)}constructor(ae,E,i){this._dir=ae,this._changeDetectorRef=E,this._elementRef=i,this._destroyed=new u.x,this.steps=new c.n_E,this._sortedHeaders=new c.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new c.vpe,this.selectedIndexChange=new c.vpe,this._orientation="horizontal",this._groupId=F++}ngAfterContentInit(){this._steps.changes.pipe((0,d.O)(this._steps),(0,S.R)(this._destroyed)).subscribe(ae=>{this.steps.reset(ae.filter(E=>E._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,d.O)(this._stepHeader),(0,S.R)(this._destroyed)).subscribe(ae=>{this._sortedHeaders.reset(ae.toArray().sort((E,i)=>E._elementRef.nativeElement.compareDocumentPosition(i._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new e.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,P.of)()).pipe((0,d.O)(this._layoutDirection()),(0,S.R)(this._destroyed)).subscribe(ae=>this._keyManager.withHorizontalOrientation(ae)),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(ae=>ae.reset()),this._stateChanged()}_getStepLabelId(ae){return`cdk-step-label-${this._groupId}-${ae}`}_getStepContentId(ae){return`cdk-step-content-${this._groupId}-${ae}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(ae){const E=ae-this._selectedIndex;return E<0?"rtl"===this._layoutDirection()?"next":"previous":E>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(ae,E="number"){const i=this.steps.toArray()[ae],o=this._isCurrentStep(ae);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,o):this._getGuidelineLogic(i,o,E)}_getDefaultIndicatorLogic(ae,E){return ae._showError()&&ae.hasError&&!E?"error":!ae.completed||E?"number":ae.editable?"edit":"done"}_getGuidelineLogic(ae,E,i="number"){return ae._showError()&&ae.hasError&&!E?"error":ae.completed&&!E?"done":ae.completed&&E?i:ae.editable&&E?"edit":i}_isCurrentStep(ae){return this._selectedIndex===ae}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(ae){const E=this.steps.toArray();this.selectionChange.emit({selectedIndex:ae,previouslySelectedIndex:this._selectedIndex,selectedStep:E[ae],previouslySelectedStep:E[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(ae):this._keyManager.updateActiveItem(ae),this._selectedIndex=ae,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(ae){const E=(0,T.Vb)(ae),i=ae.keyCode,o=this._keyManager;null==o.activeItemIndex||E||i!==T.L_&&i!==T.K5?o.setFocusOrigin("keyboard").onKeydown(ae):(this.selectedIndex=o.activeItemIndex,ae.preventDefault())}_anyControlsInvalidOrPending(ae){return!!(this._linear&&ae>=0)&&this.steps.toArray().slice(0,ae).some(E=>{const i=E.stepControl;return(i?i.invalid||i.pending||!E.interacted:!E.completed)&&!E.optional&&!E._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const ae=this._elementRef.nativeElement,E=(0,C.ht)();return ae===E||ae.contains(E)}_isValidIndex(ae){return ae>-1&&(!this.steps||ae<this.steps.length)}static#e=this.\u0275fac=function(E){return new(E||de)(c.Y36(t.Is,8),c.Y36(c.sBO),c.Y36(c.SBq))};static#t=this.\u0275dir=c.lG2({type:de,selectors:[["","cdkStepper",""]],contentQueries:function(E,i,o){if(1&E&&(c.Suo(o,J,5),c.Suo(o,D,5)),2&E){let m;c.iGM(m=c.CRH())&&(i._steps=m),c.iGM(m=c.CRH())&&(i._stepHeader=m)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]})}return de})(),X=(()=>{class de{constructor(ae){this._stepper=ae,this.type="submit"}static#e=this.\u0275fac=function(E){return new(E||de)(c.Y36(ne))};static#t=this.\u0275dir=c.lG2({type:de,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(E,i){1&E&&c.NdJ("click",function(){return i._stepper.next()}),2&E&&c.Ikx("type",i.type)},inputs:{type:"type"}})}return de})(),pe=(()=>{class de{constructor(ae){this._stepper=ae,this.type="button"}static#e=this.\u0275fac=function(E){return new(E||de)(c.Y36(ne))};static#t=this.\u0275dir=c.lG2({type:de,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(E,i){1&E&&c.NdJ("click",function(){return i._stepper.previous()}),2&E&&c.Ikx("type",i.type)},inputs:{type:"type"}})}return de})(),ie=(()=>{class de{static#e=this.\u0275fac=function(E){return new(E||de)};static#t=this.\u0275mod=c.oAB({type:de});static#i=this.\u0275inj=c.cJS({imports:[t.vT]})}return de})()},1894:(Ue,q,p)=>{"use strict";p.d(q,{HI:()=>F,Hs:()=>te,Ud:()=>l,VY:()=>R,XJ:()=>m,Xx:()=>i,_0:()=>de,cu:()=>W,nZ:()=>L,rO:()=>Q});var e=p(8337),t=p(2664),g=p(8645),T=p(5619),c=p(2096),C=p(8180),u=p(2181),P=p(9773),d=p(5879),S=p(2495),M=p(9388);class I{constructor(){this.expansionModel=new e.Ov(!0)}toggle(b){this.expansionModel.toggle(this._trackByValue(b))}expand(b){this.expansionModel.select(this._trackByValue(b))}collapse(b){this.expansionModel.deselect(this._trackByValue(b))}isExpanded(b){return this.expansionModel.isSelected(this._trackByValue(b))}toggleDescendants(b){this.expansionModel.isSelected(this._trackByValue(b))?this.collapseDescendants(b):this.expandDescendants(b)}collapseAll(){this.expansionModel.clear()}expandDescendants(b){let n=[b];n.push(...this.getDescendants(b)),this.expansionModel.select(...n.map(_=>this._trackByValue(_)))}collapseDescendants(b){let n=[b];n.push(...this.getDescendants(b)),this.expansionModel.deselect(...n.map(_=>this._trackByValue(_)))}_trackByValue(b){return this.trackBy?this.trackBy(b):b}}class R extends I{constructor(b,n){super(),this.getChildren=b,this.options=n,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const b=this.dataNodes.reduce((n,_)=>[...n,...this.getDescendants(_),_],[]);this.expansionModel.select(...b.map(n=>this._trackByValue(n)))}getDescendants(b){const n=[];return this._getDescendants(n,b),n.splice(1)}_getDescendants(b,n){b.push(n);const _=this.getChildren(n);Array.isArray(_)?_.forEach(H=>this._getDescendants(b,H)):(0,t.b)(_)&&_.pipe((0,C.q)(1),(0,u.h)(Boolean)).subscribe(H=>{for(const V of H)this._getDescendants(b,V)})}}const F=new d.OlP("CDK_TREE_NODE_OUTLET_NODE");let W=(()=>{class O{constructor(n,_){this.viewContainer=n,this._node=_}static#e=this.\u0275fac=function(_){return new(_||O)(d.Y36(d.s_b),d.Y36(F,8))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["","cdkTreeNodeOutlet",""]]})}return O})();class Y{constructor(b){this.$implicit=b}}let Q=(()=>{class O{constructor(n){this.template=n}static#e=this.\u0275fac=function(_){return new(_||O)(d.Y36(d.Rgc))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}})}return O})(),de=(()=>{class O{get dataSource(){return this._dataSource}set dataSource(n){this._dataSource!==n&&this._switchDataSource(n)}constructor(n,_){this._differs=n,this._changeDetectorRef=_,this._onDestroy=new g.x,this._levels=new Map,this.viewChange=new T.X({start:0,end:Number.MAX_VALUE})}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const n=this._nodeDefs.filter(_=>!_.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,e.Z9)(this._dataSource)?n=this._dataSource.connect(this):(0,t.b)(this._dataSource)?n=this._dataSource:Array.isArray(this._dataSource)&&(n=(0,c.of)(this._dataSource)),n&&(this._dataSubscription=n.pipe((0,P.R)(this._onDestroy)).subscribe(_=>this.renderNodeChanges(_)))}renderNodeChanges(n,_=this._dataDiffer,H=this._nodeOutlet.viewContainer,V){const K=_.diff(n);K&&(K.forEachOperation((se,Ye,Oe)=>{if(null==se.previousIndex)this.insertNode(n[Oe],Oe,H,V);else if(null==Oe)H.remove(Ye),this._levels.delete(se.item);else{const Qe=H.get(Ye);H.move(Qe,Oe)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(n,_){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(V=>V.when&&V.when(_,n))||this._defaultNodeDef}insertNode(n,_,H,V){const K=this._getNodeDef(n,_),se=new Y(n);se.level=this.treeControl.getLevel?this.treeControl.getLevel(n):typeof V<"u"&&this._levels.has(V)?this._levels.get(V)+1:0,this._levels.set(n,se.level),(H||this._nodeOutlet.viewContainer).createEmbeddedView(K.template,se,_),te.mostRecentTreeNode&&(te.mostRecentTreeNode.data=n)}static#e=this.\u0275fac=function(_){return new(_||O)(d.Y36(d.ZZ4),d.Y36(d.sBO))};static#t=this.\u0275cmp=d.Xpm({type:O,selectors:[["cdk-tree"]],contentQueries:function(_,H,V){if(1&_&&d.Suo(V,Q,5),2&_){let K;d.iGM(K=d.CRH())&&(H._nodeDefs=K)}},viewQuery:function(_,H){if(1&_&&d.Gf(W,7),2&_){let V;d.iGM(V=d.CRH())&&(H._nodeOutlet=V.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(_,H){1&_&&d.GkF(0,0)},dependencies:[W],encapsulation:2})}return O})(),te=(()=>{class O{get role(){return"treeitem"}set role(n){this._elementRef.nativeElement.setAttribute("role",n)}static#e=this.mostRecentTreeNode=null;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}constructor(n,_){this._elementRef=n,this._tree=_,this._destroyed=new g.x,this._dataChanges=new g.x,O.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function ae(O){let b=O.parentElement;for(;b&&!E(b);)b=b.parentElement;return b?b.classList.contains("cdk-nested-tree-node")?(0,S.su)(b.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){O.mostRecentTreeNode===this&&(O.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}static#t=this.\u0275fac=function(_){return new(_||O)(d.Y36(d.SBq),d.Y36(de))};static#i=this.\u0275dir=d.lG2({type:O,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(_,H){2&_&&d.uIk("aria-expanded",H.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]})}return O})();function E(O){const b=O.classList;return!(!b?.contains("cdk-nested-tree-node")&&!b?.contains("cdk-tree"))}let i=(()=>{class O extends te{constructor(n,_,H){super(n,_),this._differs=H}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,t.b)(n)&&n.pipe((0,P.R)(this._destroyed)).subscribe(_=>this.updateChildrenNodes(_)),this.nodeOutlet.changes.pipe((0,P.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(n){const _=this._getNodeOutlet();n&&(this._children=n),_&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,_.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(_=>!_._node||_._node===this)}static#e=this.\u0275fac=function(_){return new(_||O)(d.Y36(d.SBq),d.Y36(de),d.Y36(d.ZZ4))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["cdk-nested-tree-node"]],contentQueries:function(_,H,V){if(1&_&&d.Suo(V,W,5),2&_){let K;d.iGM(K=d.CRH())&&(H.nodeOutlet=K)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[d._Bn([{provide:te,useExisting:O},{provide:F,useExisting:O}]),d.qOj]})}return O})();const o=/([A-Za-z%]+)$/;let m=(()=>{class O{get level(){return this._level}set level(n){this._setLevelInput(n)}get indent(){return this._indent}set indent(n){this._setIndentInput(n)}constructor(n,_,H,V){this._treeNode=n,this._tree=_,this._element=H,this._dir=V,this._destroyed=new g.x,this.indentUnits="px",this._indent=40,this._setPadding(),V&&V.change.pipe((0,P.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),n._dataChanges.subscribe(()=>this._setPadding())}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,_=null==this._level?n:this._level;return"number"==typeof _?`${_*this._indent}${this.indentUnits}`:null}_setPadding(n=!1){const _=this._paddingIndent();if(_!==this._currentPadding||n){const H=this._element.nativeElement,V=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",K="paddingLeft"===V?"paddingRight":"paddingLeft";H.style[V]=_||"",H.style[K]="",this._currentPadding=_}}_setLevelInput(n){this._level=(0,S.su)(n,null),this._setPadding()}_setIndentInput(n){let _=n,H="px";if("string"==typeof n){const V=n.split(o);_=V[0],H=V[1]||H}this.indentUnits=H,this._indent=(0,S.su)(_),this._setPadding()}static#e=this.\u0275fac=function(_){return new(_||O)(d.Y36(te),d.Y36(de),d.Y36(d.SBq),d.Y36(M.Is,8))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}})}return O})(),l=(()=>{class O{get recursive(){return this._recursive}set recursive(n){this._recursive=(0,S.Ig)(n)}constructor(n,_){this._tree=n,this._treeNode=_,this._recursive=!1}_toggle(n){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),n.stopPropagation()}static#e=this.\u0275fac=function(_){return new(_||O)(d.Y36(de),d.Y36(te))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(_,H){1&_&&d.NdJ("click",function(K){return H._toggle(K)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}})}return O})(),L=(()=>{class O{static#e=this.\u0275fac=function(_){return new(_||O)};static#t=this.\u0275mod=d.oAB({type:O});static#i=this.\u0275inj=d.cJS({})}return O})()},6814:(Ue,q,p)=>{"use strict";p.d(q,{Do:()=>W,ED:()=>Hn,EM:()=>Zr,HT:()=>T,JF:()=>la,JJ:()=>rn,K0:()=>C,Mx:()=>Si,NF:()=>Lr,Nd:()=>Xa,O5:()=>We,OU:()=>yr,Ov:()=>Ni,PC:()=>Ur,PM:()=>Ia,RF:()=>ui,S$:()=>D,Ts:()=>Gr,V_:()=>P,Ye:()=>Y,b0:()=>F,bD:()=>Rr,ez:()=>or,gd:()=>Yn,i8:()=>Wi,mk:()=>Ui,n9:()=>En,q:()=>g,rS:()=>Fn,sg:()=>$t,tP:()=>ga,uU:()=>br,w_:()=>c});var e=p(5879);let t=null;function g(){return t}function T(Se){t||(t=Se)}class c{}const C=new e.OlP("DocumentToken");let u=(()=>{class Se{historyGo(ce){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ht){return new(ht||Se)};static#t=this.\u0275prov=e.Yz7({token:Se,factory:function(){return(0,e.f3M)(d)},providedIn:"platform"})}return Se})();const P=new e.OlP("Location Initialized");let d=(()=>{class Se extends u{constructor(){super(),this._doc=(0,e.f3M)(C),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(ce){const ht=g().getGlobalEventTarget(this._doc,"window");return ht.addEventListener("popstate",ce,!1),()=>ht.removeEventListener("popstate",ce)}onHashChange(ce){const ht=g().getGlobalEventTarget(this._doc,"window");return ht.addEventListener("hashchange",ce,!1),()=>ht.removeEventListener("hashchange",ce)}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(ce){this._location.pathname=ce}pushState(ce,ht,ii){this._history.pushState(ce,ht,ii)}replaceState(ce,ht,ii){this._history.replaceState(ce,ht,ii)}forward(){this._history.forward()}back(){this._history.back()}historyGo(ce=0){this._history.go(ce)}getState(){return this._history.state}static#e=this.\u0275fac=function(ht){return new(ht||Se)};static#t=this.\u0275prov=e.Yz7({token:Se,factory:function(){return new Se},providedIn:"platform"})}return Se})();function S(Se,Ot){if(0==Se.length)return Ot;if(0==Ot.length)return Se;let ce=0;return Se.endsWith("/")&&ce++,Ot.startsWith("/")&&ce++,2==ce?Se+Ot.substring(1):1==ce?Se+Ot:Se+"/"+Ot}function M(Se){const Ot=Se.match(/#|\?|$/),ce=Ot&&Ot.index||Se.length;return Se.slice(0,ce-("/"===Se[ce-1]?1:0))+Se.slice(ce)}function I(Se){return Se&&"?"!==Se[0]?"?"+Se:Se}let D=(()=>{class Se{historyGo(ce){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ht){return new(ht||Se)};static#t=this.\u0275prov=e.Yz7({token:Se,factory:function(){return(0,e.f3M)(F)},providedIn:"root"})}return Se})();const R=new e.OlP("appBaseHref");let F=(()=>{class Se extends D{constructor(ce,ht){super(),this._platformLocation=ce,this._removeListenerFns=[],this._baseHref=ht??this._platformLocation.getBaseHrefFromDOM()??(0,e.f3M)(C).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ce){this._removeListenerFns.push(this._platformLocation.onPopState(ce),this._platformLocation.onHashChange(ce))}getBaseHref(){return this._baseHref}prepareExternalUrl(ce){return S(this._baseHref,ce)}path(ce=!1){const ht=this._platformLocation.pathname+I(this._platformLocation.search),ii=this._platformLocation.hash;return ii&&ce?`${ht}${ii}`:ht}pushState(ce,ht,ii,Me){const dt=this.prepareExternalUrl(ii+I(Me));this._platformLocation.pushState(ce,ht,dt)}replaceState(ce,ht,ii,Me){const dt=this.prepareExternalUrl(ii+I(Me));this._platformLocation.replaceState(ce,ht,dt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ce=0){this._platformLocation.historyGo?.(ce)}static#e=this.\u0275fac=function(ht){return new(ht||Se)(e.LFG(u),e.LFG(R,8))};static#t=this.\u0275prov=e.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"})}return Se})(),W=(()=>{class Se extends D{constructor(ce,ht){super(),this._platformLocation=ce,this._baseHref="",this._removeListenerFns=[],null!=ht&&(this._baseHref=ht)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ce){this._removeListenerFns.push(this._platformLocation.onPopState(ce),this._platformLocation.onHashChange(ce))}getBaseHref(){return this._baseHref}path(ce=!1){let ht=this._platformLocation.hash;return null==ht&&(ht="#"),ht.length>0?ht.substring(1):ht}prepareExternalUrl(ce){const ht=S(this._baseHref,ce);return ht.length>0?"#"+ht:ht}pushState(ce,ht,ii,Me){let dt=this.prepareExternalUrl(ii+I(Me));0==dt.length&&(dt=this._platformLocation.pathname),this._platformLocation.pushState(ce,ht,dt)}replaceState(ce,ht,ii,Me){let dt=this.prepareExternalUrl(ii+I(Me));0==dt.length&&(dt=this._platformLocation.pathname),this._platformLocation.replaceState(ce,ht,dt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ce=0){this._platformLocation.historyGo?.(ce)}static#e=this.\u0275fac=function(ht){return new(ht||Se)(e.LFG(u),e.LFG(R,8))};static#t=this.\u0275prov=e.Yz7({token:Se,factory:Se.\u0275fac})}return Se})(),Y=(()=>{class Se{constructor(ce){this._subject=new e.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=ce;const ht=this._locationStrategy.getBaseHref();this._basePath=function X(Se){if(new RegExp("^(https?:)?//").test(Se)){const[,ce]=Se.split(/\/\/[^\/]+/);return ce}return Se}(M(ne(ht))),this._locationStrategy.onPopState(ii=>{this._subject.emit({url:this.path(!0),pop:!0,state:ii.state,type:ii.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(ce=!1){return this.normalize(this._locationStrategy.path(ce))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(ce,ht=""){return this.path()==this.normalize(ce+I(ht))}normalize(ce){return Se.stripTrailingSlash(function J(Se,Ot){if(!Se||!Ot.startsWith(Se))return Ot;const ce=Ot.substring(Se.length);return""===ce||["/",";","?","#"].includes(ce[0])?ce:Ot}(this._basePath,ne(ce)))}prepareExternalUrl(ce){return ce&&"/"!==ce[0]&&(ce="/"+ce),this._locationStrategy.prepareExternalUrl(ce)}go(ce,ht="",ii=null){this._locationStrategy.pushState(ii,"",ce,ht),this._notifyUrlChangeListeners(this.prepareExternalUrl(ce+I(ht)),ii)}replaceState(ce,ht="",ii=null){this._locationStrategy.replaceState(ii,"",ce,ht),this._notifyUrlChangeListeners(this.prepareExternalUrl(ce+I(ht)),ii)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(ce=0){this._locationStrategy.historyGo?.(ce)}onUrlChange(ce){return this._urlChangeListeners.push(ce),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ht=>{this._notifyUrlChangeListeners(ht.url,ht.state)})),()=>{const ht=this._urlChangeListeners.indexOf(ce);this._urlChangeListeners.splice(ht,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(ce="",ht){this._urlChangeListeners.forEach(ii=>ii(ce,ht))}subscribe(ce,ht,ii){return this._subject.subscribe({next:ce,error:ht,complete:ii})}static#e=this.normalizeQueryParams=I;static#t=this.joinWithSlash=S;static#i=this.stripTrailingSlash=M;static#n=this.\u0275fac=function(ht){return new(ht||Se)(e.LFG(D))};static#r=this.\u0275prov=e.Yz7({token:Se,factory:function(){return function Q(){return new Y((0,e.LFG)(D))}()},providedIn:"root"})}return Se})();function ne(Se){return Se.replace(/\/index.html$/,"")}var ie=function(Se){return Se[Se.Decimal=0]="Decimal",Se[Se.Percent=1]="Percent",Se[Se.Currency=2]="Currency",Se[Se.Scientific=3]="Scientific",Se}(ie||{}),te=function(Se){return Se[Se.Format=0]="Format",Se[Se.Standalone=1]="Standalone",Se}(te||{}),ae=function(Se){return Se[Se.Narrow=0]="Narrow",Se[Se.Abbreviated=1]="Abbreviated",Se[Se.Wide=2]="Wide",Se[Se.Short=3]="Short",Se}(ae||{}),E=function(Se){return Se[Se.Short=0]="Short",Se[Se.Medium=1]="Medium",Se[Se.Long=2]="Long",Se[Se.Full=3]="Full",Se}(E||{}),i=function(Se){return Se[Se.Decimal=0]="Decimal",Se[Se.Group=1]="Group",Se[Se.List=2]="List",Se[Se.PercentSign=3]="PercentSign",Se[Se.PlusSign=4]="PlusSign",Se[Se.MinusSign=5]="MinusSign",Se[Se.Exponential=6]="Exponential",Se[Se.SuperscriptingExponent=7]="SuperscriptingExponent",Se[Se.PerMille=8]="PerMille",Se[Se.Infinity=9]="Infinity",Se[Se.NaN=10]="NaN",Se[Se.TimeSeparator=11]="TimeSeparator",Se[Se.CurrencyDecimal=12]="CurrencyDecimal",Se[Se.CurrencyGroup=13]="CurrencyGroup",Se}(i||{});function _(Se,Ot){return we((0,e.cg1)(Se)[e.wAp.DateFormat],Ot)}function H(Se,Ot){return we((0,e.cg1)(Se)[e.wAp.TimeFormat],Ot)}function V(Se,Ot){return we((0,e.cg1)(Se)[e.wAp.DateTimeFormat],Ot)}function K(Se,Ot){const ce=(0,e.cg1)(Se),ht=ce[e.wAp.NumberSymbols][Ot];if(typeof ht>"u"){if(Ot===i.CurrencyDecimal)return ce[e.wAp.NumberSymbols][i.Decimal];if(Ot===i.CurrencyGroup)return ce[e.wAp.NumberSymbols][i.Group]}return ht}function xe(Se){if(!Se[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${Se[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function we(Se,Ot){for(let ce=Ot;ce>-1;ce--)if(typeof Se[ce]<"u")return Se[ce];throw new Error("Locale data API: locale data undefined")}function le(Se){const[Ot,ce]=Se.split(":");return{hours:+Ot,minutes:+ce}}const Le=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ne={},Ve=/((?:[^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 at=function(Se){return Se[Se.Short=0]="Short",Se[Se.ShortGMT=1]="ShortGMT",Se[Se.Long=2]="Long",Se[Se.Extended=3]="Extended",Se}(at||{}),ve=function(Se){return Se[Se.FullYear=0]="FullYear",Se[Se.Month=1]="Month",Se[Se.Date=2]="Date",Se[Se.Hours=3]="Hours",Se[Se.Minutes=4]="Minutes",Se[Se.Seconds=5]="Seconds",Se[Se.FractionalSeconds=6]="FractionalSeconds",Se[Se.Day=7]="Day",Se}(ve||{}),De=function(Se){return Se[Se.DayPeriods=0]="DayPeriods",Se[Se.Days=1]="Days",Se[Se.Months=2]="Months",Se[Se.Eras=3]="Eras",Se}(De||{});function xt(Se,Ot,ce,ht){let ii=function Tt(Se){if(he(Se))return Se;if("number"==typeof Se&&!isNaN(Se))return new Date(Se);if("string"==typeof Se){if(Se=Se.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Se)){const[ii,Me=1,dt=1]=Se.split("-").map(_t=>+_t);return ct(ii,Me-1,dt)}const ce=parseFloat(Se);if(!isNaN(Se-ce))return new Date(ce);let ht;if(ht=Se.match(Le))return function mt(Se){const Ot=new Date(0);let ce=0,ht=0;const ii=Se[8]?Ot.setUTCFullYear:Ot.setFullYear,Me=Se[8]?Ot.setUTCHours:Ot.setHours;Se[9]&&(ce=Number(Se[9]+Se[10]),ht=Number(Se[9]+Se[11])),ii.call(Ot,Number(Se[1]),Number(Se[2])-1,Number(Se[3]));const dt=Number(Se[4]||0)-ce,_t=Number(Se[5]||0)-ht,Ht=Number(Se[6]||0),Xt=Math.floor(1e3*parseFloat("0."+(Se[7]||0)));return Me.call(Ot,dt,_t,Ht,Xt),Ot}(ht)}const Ot=new Date(Se);if(!he(Ot))throw new Error(`Unable to convert "${Se}" into a date`);return Ot}(Se);Ot=et(ce,Ot)||Ot;let _t,dt=[];for(;Ot;){if(_t=Ve.exec(Ot),!_t){dt.push(Ot);break}{dt=dt.concat(_t.slice(1));const ci=dt.pop();if(!ci)break;Ot=ci}}let Ht=ii.getTimezoneOffset();ht&&(Ht=Ze(ht,Ht),ii=function oi(Se,Ot,ce){const ht=ce?-1:1,ii=Se.getTimezoneOffset();return function Mt(Se,Ot){return(Se=new Date(Se.getTime())).setMinutes(Se.getMinutes()+Ot),Se}(Se,ht*(Ze(Ot,ii)-ii))}(ii,ht,!0));let Xt="";return dt.forEach(ci=>{const di=function tt(Se){if(Te[Se])return Te[Se];let Ot;switch(Se){case"G":case"GG":case"GGG":Ot=Be(De.Eras,ae.Abbreviated);break;case"GGGG":Ot=Be(De.Eras,ae.Wide);break;case"GGGGG":Ot=Be(De.Eras,ae.Narrow);break;case"y":Ot=Je(ve.FullYear,1,0,!1,!0);break;case"yy":Ot=Je(ve.FullYear,2,0,!0,!0);break;case"yyy":Ot=Je(ve.FullYear,3,0,!1,!0);break;case"yyyy":Ot=Je(ve.FullYear,4,0,!1,!0);break;case"Y":Ot=vt(1);break;case"YY":Ot=vt(2,!0);break;case"YYY":Ot=vt(3);break;case"YYYY":Ot=vt(4);break;case"M":case"L":Ot=Je(ve.Month,1,1);break;case"MM":case"LL":Ot=Je(ve.Month,2,1);break;case"MMM":Ot=Be(De.Months,ae.Abbreviated);break;case"MMMM":Ot=Be(De.Months,ae.Wide);break;case"MMMMM":Ot=Be(De.Months,ae.Narrow);break;case"LLL":Ot=Be(De.Months,ae.Abbreviated,te.Standalone);break;case"LLLL":Ot=Be(De.Months,ae.Wide,te.Standalone);break;case"LLLLL":Ot=Be(De.Months,ae.Narrow,te.Standalone);break;case"w":Ot=pt(1);break;case"ww":Ot=pt(2);break;case"W":Ot=pt(1,!0);break;case"d":Ot=Je(ve.Date,1);break;case"dd":Ot=Je(ve.Date,2);break;case"c":case"cc":Ot=Je(ve.Day,1);break;case"ccc":Ot=Be(De.Days,ae.Abbreviated,te.Standalone);break;case"cccc":Ot=Be(De.Days,ae.Wide,te.Standalone);break;case"ccccc":Ot=Be(De.Days,ae.Narrow,te.Standalone);break;case"cccccc":Ot=Be(De.Days,ae.Short,te.Standalone);break;case"E":case"EE":case"EEE":Ot=Be(De.Days,ae.Abbreviated);break;case"EEEE":Ot=Be(De.Days,ae.Wide);break;case"EEEEE":Ot=Be(De.Days,ae.Narrow);break;case"EEEEEE":Ot=Be(De.Days,ae.Short);break;case"a":case"aa":case"aaa":Ot=Be(De.DayPeriods,ae.Abbreviated);break;case"aaaa":Ot=Be(De.DayPeriods,ae.Wide);break;case"aaaaa":Ot=Be(De.DayPeriods,ae.Narrow);break;case"b":case"bb":case"bbb":Ot=Be(De.DayPeriods,ae.Abbreviated,te.Standalone,!0);break;case"bbbb":Ot=Be(De.DayPeriods,ae.Wide,te.Standalone,!0);break;case"bbbbb":Ot=Be(De.DayPeriods,ae.Narrow,te.Standalone,!0);break;case"B":case"BB":case"BBB":Ot=Be(De.DayPeriods,ae.Abbreviated,te.Format,!0);break;case"BBBB":Ot=Be(De.DayPeriods,ae.Wide,te.Format,!0);break;case"BBBBB":Ot=Be(De.DayPeriods,ae.Narrow,te.Format,!0);break;case"h":Ot=Je(ve.Hours,1,-12);break;case"hh":Ot=Je(ve.Hours,2,-12);break;case"H":Ot=Je(ve.Hours,1);break;case"HH":Ot=Je(ve.Hours,2);break;case"m":Ot=Je(ve.Minutes,1);break;case"mm":Ot=Je(ve.Minutes,2);break;case"s":Ot=Je(ve.Seconds,1);break;case"ss":Ot=Je(ve.Seconds,2);break;case"S":Ot=Je(ve.FractionalSeconds,1);break;case"SS":Ot=Je(ve.FractionalSeconds,2);break;case"SSS":Ot=Je(ve.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ot=Ke(at.Short);break;case"ZZZZZ":Ot=Ke(at.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ot=Ke(at.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ot=Ke(at.Long);break;default:return null}return Te[Se]=Ot,Ot}(ci);Xt+=di?di(ii,ce,Ht):"''"===ci?"'":ci.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Xt}function ct(Se,Ot,ce){const ht=new Date(0);return ht.setFullYear(Se,Ot,ce),ht.setHours(0,0,0),ht}function et(Se,Ot){const ce=function m(Se){return(0,e.cg1)(Se)[e.wAp.LocaleId]}(Se);if(Ne[ce]=Ne[ce]||{},Ne[ce][Ot])return Ne[ce][Ot];let ht="";switch(Ot){case"shortDate":ht=_(Se,E.Short);break;case"mediumDate":ht=_(Se,E.Medium);break;case"longDate":ht=_(Se,E.Long);break;case"fullDate":ht=_(Se,E.Full);break;case"shortTime":ht=H(Se,E.Short);break;case"mediumTime":ht=H(Se,E.Medium);break;case"longTime":ht=H(Se,E.Long);break;case"fullTime":ht=H(Se,E.Full);break;case"short":const ii=et(Se,"shortTime"),Me=et(Se,"shortDate");ht=Ct(V(Se,E.Short),[ii,Me]);break;case"medium":const dt=et(Se,"mediumTime"),_t=et(Se,"mediumDate");ht=Ct(V(Se,E.Medium),[dt,_t]);break;case"long":const Ht=et(Se,"longTime"),Xt=et(Se,"longDate");ht=Ct(V(Se,E.Long),[Ht,Xt]);break;case"full":const ci=et(Se,"fullTime"),di=et(Se,"fullDate");ht=Ct(V(Se,E.Full),[ci,di])}return ht&&(Ne[ce][Ot]=ht),ht}function Ct(Se,Ot){return Ot&&(Se=Se.replace(/\{([^}]+)}/g,function(ce,ht){return null!=Ot&&ht in Ot?Ot[ht]:ce})),Se}function ke(Se,Ot,ce="-",ht,ii){let Me="";(Se<0||ii&&Se<=0)&&(ii?Se=1-Se:(Se=-Se,Me=ce));let dt=String(Se);for(;dt.length<Ot;)dt="0"+dt;return ht&&(dt=dt.slice(dt.length-Ot)),Me+dt}function Je(Se,Ot,ce=0,ht=!1,ii=!1){return function(Me,dt){let _t=function re(Se,Ot){switch(Se){case ve.FullYear:return Ot.getFullYear();case ve.Month:return Ot.getMonth();case ve.Date:return Ot.getDate();case ve.Hours:return Ot.getHours();case ve.Minutes:return Ot.getMinutes();case ve.Seconds:return Ot.getSeconds();case ve.FractionalSeconds:return Ot.getMilliseconds();case ve.Day:return Ot.getDay();default:throw new Error(`Unknown DateType value "${Se}".`)}}(Se,Me);if((ce>0||_t>-ce)&&(_t+=ce),Se===ve.Hours)0===_t&&-12===ce&&(_t=12);else if(Se===ve.FractionalSeconds)return function ot(Se,Ot){return ke(Se,3).substring(0,Ot)}(_t,Ot);const Ht=K(dt,i.MinusSign);return ke(_t,Ot,Ht,ht,ii)}}function Be(Se,Ot,ce=te.Format,ht=!1){return function(ii,Me){return function Nt(Se,Ot,ce,ht,ii,Me){switch(ce){case De.Months:return function L(Se,Ot,ce){const ht=(0,e.cg1)(Se),Me=we([ht[e.wAp.MonthsFormat],ht[e.wAp.MonthsStandalone]],Ot);return we(Me,ce)}(Ot,ii,ht)[Se.getMonth()];case De.Days:return function y(Se,Ot,ce){const ht=(0,e.cg1)(Se),Me=we([ht[e.wAp.DaysFormat],ht[e.wAp.DaysStandalone]],Ot);return we(Me,ce)}(Ot,ii,ht)[Se.getDay()];case De.DayPeriods:const dt=Se.getHours(),_t=Se.getMinutes();if(Me){const Xt=function Pe(Se){const Ot=(0,e.cg1)(Se);return xe(Ot),(Ot[e.wAp.ExtraData][2]||[]).map(ht=>"string"==typeof ht?le(ht):[le(ht[0]),le(ht[1])])}(Ot),ci=function oe(Se,Ot,ce){const ht=(0,e.cg1)(Se);xe(ht);const Me=we([ht[e.wAp.ExtraData][0],ht[e.wAp.ExtraData][1]],Ot)||[];return we(Me,ce)||[]}(Ot,ii,ht),di=Xt.findIndex(Ti=>{if(Array.isArray(Ti)){const[Ii,Ji]=Ti,Xi=dt>=Ii.hours&&_t>=Ii.minutes,ln=dt<Ji.hours||dt===Ji.hours&&_t<Ji.minutes;if(Ii.hours<Ji.hours){if(Xi&&ln)return!0}else if(Xi||ln)return!0}else if(Ti.hours===dt&&Ti.minutes===_t)return!0;return!1});if(-1!==di)return ci[di]}return function l(Se,Ot,ce){const ht=(0,e.cg1)(Se),Me=we([ht[e.wAp.DayPeriodsFormat],ht[e.wAp.DayPeriodsStandalone]],Ot);return we(Me,ce)}(Ot,ii,ht)[dt<12?0:1];case De.Eras:return function O(Se,Ot){return we((0,e.cg1)(Se)[e.wAp.Eras],Ot)}(Ot,ht)[Se.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${ce}`)}}(ii,Me,Se,Ot,ce,ht)}}function Ke(Se){return function(Ot,ce,ht){const ii=-1*ht,Me=K(ce,i.MinusSign),dt=ii>0?Math.floor(ii/60):Math.ceil(ii/60);switch(Se){case at.Short:return(ii>=0?"+":"")+ke(dt,2,Me)+ke(Math.abs(ii%60),2,Me);case at.ShortGMT:return"GMT"+(ii>=0?"+":"")+ke(dt,1,Me);case at.Long:return"GMT"+(ii>=0?"+":"")+ke(dt,2,Me)+":"+ke(Math.abs(ii%60),2,Me);case at.Extended:return 0===ht?"Z":(ii>=0?"+":"")+ke(dt,2,Me)+":"+ke(Math.abs(ii%60),2,Me);default:throw new Error(`Unknown zone width "${Se}"`)}}}const yt=0,kt=4;function Rt(Se){return ct(Se.getFullYear(),Se.getMonth(),Se.getDate()+(kt-Se.getDay()))}function pt(Se,Ot=!1){return function(ce,ht){let ii;if(Ot){const Me=new Date(ce.getFullYear(),ce.getMonth(),1).getDay()-1,dt=ce.getDate();ii=1+Math.floor((dt+Me)/7)}else{const Me=Rt(ce),dt=function Dt(Se){const Ot=ct(Se,yt,1).getDay();return ct(Se,0,1+(Ot<=kt?kt:kt+7)-Ot)}(Me.getFullYear()),_t=Me.getTime()-dt.getTime();ii=1+Math.round(_t/6048e5)}return ke(ii,Se,K(ht,i.MinusSign))}}function vt(Se,Ot=!1){return function(ce,ht){return ke(Rt(ce).getFullYear(),Se,K(ht,i.MinusSign),Ot)}}const Te={};function Ze(Se,Ot){Se=Se.replace(/:/g,"");const ce=Date.parse("Jan 01, 1970 00:00:00 "+Se)/6e4;return isNaN(ce)?Ot:ce}function he(Se){return Se instanceof Date&&!isNaN(Se.valueOf())}const ee=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function $e(Se){const Ot=parseInt(Se);if(isNaN(Ot))throw new Error("Invalid integer literal when parsing "+Se);return Ot}function Si(Se,Ot){Ot=encodeURIComponent(Ot);for(const ce of Se.split(";")){const ht=ce.indexOf("="),[ii,Me]=-1==ht?[ce,""]:[ce.slice(0,ht),ce.slice(ht+1)];if(ii.trim()===Ot)return decodeURIComponent(Me)}return null}const Fi=/\s+/,Ri=[];let Ui=(()=>{class Se{constructor(ce,ht,ii,Me){this._iterableDiffers=ce,this._keyValueDiffers=ht,this._ngEl=ii,this._renderer=Me,this.initialClasses=Ri,this.stateMap=new Map}set klass(ce){this.initialClasses=null!=ce?ce.trim().split(Fi):Ri}set ngClass(ce){this.rawClass="string"==typeof ce?ce.trim().split(Fi):ce}ngDoCheck(){for(const ht of this.initialClasses)this._updateState(ht,!0);const ce=this.rawClass;if(Array.isArray(ce)||ce instanceof Set)for(const ht of ce)this._updateState(ht,!0);else if(null!=ce)for(const ht of Object.keys(ce))this._updateState(ht,!!ce[ht]);this._applyStateDiff()}_updateState(ce,ht){const ii=this.stateMap.get(ce);void 0!==ii?(ii.enabled!==ht&&(ii.changed=!0,ii.enabled=ht),ii.touched=!0):this.stateMap.set(ce,{enabled:ht,changed:!0,touched:!0})}_applyStateDiff(){for(const ce of this.stateMap){const ht=ce[0],ii=ce[1];ii.changed?(this._toggleClass(ht,ii.enabled),ii.changed=!1):ii.touched||(ii.enabled&&this._toggleClass(ht,!1),this.stateMap.delete(ht)),ii.touched=!1}}_toggleClass(ce,ht){(ce=ce.trim()).length>0&&ce.split(Fi).forEach(ii=>{ht?this._renderer.addClass(this._ngEl.nativeElement,ii):this._renderer.removeClass(this._ngEl.nativeElement,ii)})}static#e=this.\u0275fac=function(ht){return new(ht||Se)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return Se})();class Qi{constructor(Ot,ce,ht,ii){this.$implicit=Ot,this.ngForOf=ce,this.index=ht,this.count=ii}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 $t=(()=>{class Se{set ngForOf(ce){this._ngForOf=ce,this._ngForOfDirty=!0}set ngForTrackBy(ce){this._trackByFn=ce}get ngForTrackBy(){return this._trackByFn}constructor(ce,ht,ii){this._viewContainer=ce,this._template=ht,this._differs=ii,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(ce){ce&&(this._template=ce)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const ce=this._ngForOf;!this._differ&&ce&&(this._differ=this._differs.find(ce).create(this.ngForTrackBy))}if(this._differ){const ce=this._differ.diff(this._ngForOf);ce&&this._applyChanges(ce)}}_applyChanges(ce){const ht=this._viewContainer;ce.forEachOperation((ii,Me,dt)=>{if(null==ii.previousIndex)ht.createEmbeddedView(this._template,new Qi(ii.item,this._ngForOf,-1,-1),null===dt?void 0:dt);else if(null==dt)ht.remove(null===Me?void 0:Me);else if(null!==Me){const _t=ht.get(Me);ht.move(_t,dt),Hi(_t,ii)}});for(let ii=0,Me=ht.length;ii<Me;ii++){const _t=ht.get(ii).context;_t.index=ii,_t.count=Me,_t.ngForOf=this._ngForOf}ce.forEachIdentityChange(ii=>{Hi(ht.get(ii.currentIndex),ii)})}static ngTemplateContextGuard(ce,ht){return!0}static#e=this.\u0275fac=function(ht){return new(ht||Se)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return Se})();function Hi(Se,Ot){Se.context.$implicit=Ot.item}let We=(()=>{class Se{constructor(ce,ht){this._viewContainer=ce,this._context=new rt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ht}set ngIf(ce){this._context.$implicit=this._context.ngIf=ce,this._updateView()}set ngIfThen(ce){st("ngIfThen",ce),this._thenTemplateRef=ce,this._thenViewRef=null,this._updateView()}set ngIfElse(ce){st("ngIfElse",ce),this._elseTemplateRef=ce,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(ce,ht){return!0}static#e=this.\u0275fac=function(ht){return new(ht||Se)(e.Y36(e.s_b),e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return Se})();class rt{constructor(){this.$implicit=null,this.ngIf=null}}function st(Se,Ot){if(Ot&&!Ot.createEmbeddedView)throw new Error(`${Se} must be a TemplateRef, but received '${(0,e.AaK)(Ot)}'.`)}class Jt{constructor(Ot,ce){this._viewContainerRef=Ot,this._templateRef=ce,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ot){Ot&&!this._created?this.create():!Ot&&this._created&&this.destroy()}}let ui=(()=>{class Se{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(ce){this._ngSwitch=ce,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(ce){this._defaultViews.push(ce)}_matchCase(ce){const ht=ce==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ht,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ht}_updateDefaultCases(ce){if(this._defaultViews.length>0&&ce!==this._defaultUsed){this._defaultUsed=ce;for(const ht of this._defaultViews)ht.enforceState(ce)}}static#e=this.\u0275fac=function(ht){return new(ht||Se)};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return Se})(),En=(()=>{class Se{constructor(ce,ht,ii){this.ngSwitch=ii,ii._addCase(),this._view=new Jt(ce,ht)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(ht){return new(ht||Se)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(ui,9))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return Se})(),Hn=(()=>{class Se{constructor(ce,ht,ii){ii._addDefault(new Jt(ce,ht))}static#e=this.\u0275fac=function(ht){return new(ht||Se)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(ui,9))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return Se})(),Ur=(()=>{class Se{constructor(ce,ht,ii){this._ngEl=ce,this._differs=ht,this._renderer=ii,this._ngStyle=null,this._differ=null}set ngStyle(ce){this._ngStyle=ce,!this._differ&&ce&&(this._differ=this._differs.find(ce).create())}ngDoCheck(){if(this._differ){const ce=this._differ.diff(this._ngStyle);ce&&this._applyChanges(ce)}}_setStyle(ce,ht){const[ii,Me]=ce.split("."),dt=-1===ii.indexOf("-")?void 0:e.JOm.DashCase;null!=ht?this._renderer.setStyle(this._ngEl.nativeElement,ii,Me?`${ht}${Me}`:ht,dt):this._renderer.removeStyle(this._ngEl.nativeElement,ii,dt)}_applyChanges(ce){ce.forEachRemovedItem(ht=>this._setStyle(ht.key,null)),ce.forEachAddedItem(ht=>this._setStyle(ht.key,ht.currentValue)),ce.forEachChangedItem(ht=>this._setStyle(ht.key,ht.currentValue))}static#e=this.\u0275fac=function(ht){return new(ht||Se)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return Se})(),ga=(()=>{class Se{constructor(ce){this._viewContainerRef=ce,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(ce){if(ce.ngTemplateOutlet||ce.ngTemplateOutletInjector){const ht=this._viewContainerRef;if(this._viewRef&&ht.remove(ht.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ii,ngTemplateOutletContext:Me,ngTemplateOutletInjector:dt}=this;this._viewRef=ht.createEmbeddedView(ii,Me,dt?{injector:dt}:void 0)}else this._viewRef=null}else this._viewRef&&ce.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(ht){return new(ht||Se)(e.Y36(e.s_b))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.TTD]})}return Se})();function Li(Se,Ot){return new e.vHH(2100,!1)}class Gt{createSubscription(Ot,ce){return(0,e.rg0)(()=>Ot.subscribe({next:ce,error:ht=>{throw ht}}))}dispose(Ot){(0,e.rg0)(()=>Ot.unsubscribe())}}class yi{createSubscription(Ot,ce){return Ot.then(ce,ht=>{throw ht})}dispose(Ot){}}const gi=new yi,wi=new Gt;let Ni=(()=>{class Se{constructor(ce){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=ce}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(ce){return this._obj?ce!==this._obj?(this._dispose(),this.transform(ce)):this._latestValue:(ce&&this._subscribe(ce),this._latestValue)}_subscribe(ce){this._obj=ce,this._strategy=this._selectStrategy(ce),this._subscription=this._strategy.createSubscription(ce,ht=>this._updateLatestValue(ce,ht))}_selectStrategy(ce){if((0,e.QGY)(ce))return gi;if((0,e.F4k)(ce))return wi;throw Li()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(ce,ht){ce===this._obj&&(this._latestValue=ht,this._ref.markForCheck())}static#e=this.\u0275fac=function(ht){return new(ht||Se)(e.Y36(e.sBO,16))};static#t=this.\u0275pipe=e.Yjl({name:"async",type:Se,pure:!1,standalone:!0})}return Se})(),Wi=(()=>{class Se{transform(ce){if(null==ce)return null;if("string"!=typeof ce)throw Li();return ce.toLowerCase()}static#e=this.\u0275fac=function(ht){return new(ht||Se)};static#t=this.\u0275pipe=e.Yjl({name:"lowercase",type:Se,pure:!0,standalone:!0})}return Se})();const Tn=/(?:[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 Fn=(()=>{class Se{transform(ce){if(null==ce)return null;if("string"!=typeof ce)throw Li();return ce.replace(Tn,ht=>ht[0].toUpperCase()+ht.slice(1).toLowerCase())}static#e=this.\u0275fac=function(ht){return new(ht||Se)};static#t=this.\u0275pipe=e.Yjl({name:"titlecase",type:Se,pure:!0,standalone:!0})}return Se})(),Yn=(()=>{class Se{transform(ce){if(null==ce)return null;if("string"!=typeof ce)throw Li();return ce.toUpperCase()}static#e=this.\u0275fac=function(ht){return new(ht||Se)};static#t=this.\u0275pipe=e.Yjl({name:"uppercase",type:Se,pure:!0,standalone:!0})}return Se})();const Cn=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Qn=new e.OlP("DATE_PIPE_DEFAULT_OPTIONS");let br=(()=>{class Se{constructor(ce,ht,ii){this.locale=ce,this.defaultTimezone=ht,this.defaultOptions=ii}transform(ce,ht,ii,Me){if(null==ce||""===ce||ce!=ce)return null;try{return xt(ce,ht??this.defaultOptions?.dateFormat??"mediumDate",Me||this.locale,ii??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(dt){throw Li()}}static#e=this.\u0275fac=function(ht){return new(ht||Se)(e.Y36(e.soG,16),e.Y36(Cn,24),e.Y36(Qn,24))};static#t=this.\u0275pipe=e.Yjl({name:"date",type:Se,pure:!0,standalone:!0})}return Se})(),Gr=(()=>{class Se{transform(ce){return JSON.stringify(ce,null,2)}static#e=this.\u0275fac=function(ht){return new(ht||Se)};static#t=this.\u0275pipe=e.Yjl({name:"json",type:Se,pure:!1,standalone:!0})}return Se})(),Xa=(()=>{class Se{constructor(ce){this.differs=ce,this.keyValues=[],this.compareFn=tr}transform(ce,ht=tr){if(!ce||!(ce instanceof Map)&&"object"!=typeof ce)return null;this.differ||(this.differ=this.differs.find(ce).create());const ii=this.differ.diff(ce),Me=ht!==this.compareFn;return ii&&(this.keyValues=[],ii.forEachItem(dt=>{this.keyValues.push(function Dr(Se,Ot){return{key:Se,value:Ot}}(dt.key,dt.currentValue))})),(ii||Me)&&(this.keyValues.sort(ht),this.compareFn=ht),this.keyValues}static#e=this.\u0275fac=function(ht){return new(ht||Se)(e.Y36(e.aQg,16))};static#t=this.\u0275pipe=e.Yjl({name:"keyvalue",type:Se,pure:!1,standalone:!0})}return Se})();function tr(Se,Ot){const ce=Se.key,ht=Ot.key;if(ce===ht)return 0;if(void 0===ce)return 1;if(void 0===ht)return-1;if(null===ce)return 1;if(null===ht)return-1;if("string"==typeof ce&&"string"==typeof ht)return ce<ht?-1:1;if("number"==typeof ce&&"number"==typeof ht)return ce-ht;if("boolean"==typeof ce&&"boolean"==typeof ht)return ce<ht?-1:1;const ii=String(ce),Me=String(ht);return ii==Me?0:ii<Me?-1:1}let rn=(()=>{class Se{constructor(ce){this._locale=ce}transform(ce,ht,ii){if(!function er(Se){return!(null==Se||""===Se||Se!=Se)}(ce))return null;ii=ii||this._locale;try{return function si(Se,Ot,ce){return function qe(Se,Ot,ce,ht,ii,Me,dt=!1){let _t="",Ht=!1;if(isFinite(Se)){let Xt=function Ut(Se){let ht,ii,Me,dt,_t,Ot=Math.abs(Se)+"",ce=0;for((ii=Ot.indexOf("."))>-1&&(Ot=Ot.replace(".","")),(Me=Ot.search(/e/i))>0?(ii<0&&(ii=Me),ii+=+Ot.slice(Me+1),Ot=Ot.substring(0,Me)):ii<0&&(ii=Ot.length),Me=0;"0"===Ot.charAt(Me);Me++);if(Me===(_t=Ot.length))ht=[0],ii=1;else{for(_t--;"0"===Ot.charAt(_t);)_t--;for(ii-=Me,ht=[],dt=0;Me<=_t;Me++,dt++)ht[dt]=Number(Ot.charAt(Me))}return ii>22&&(ht=ht.splice(0,21),ce=ii-1,ii=1),{digits:ht,exponent:ce,integerLen:ii}}(Se);dt&&(Xt=function xi(Se){if(0===Se.digits[0])return Se;const Ot=Se.digits.length-Se.integerLen;return Se.exponent?Se.exponent+=2:(0===Ot?Se.digits.push(0,0):1===Ot&&Se.digits.push(0),Se.integerLen+=2),Se}(Xt));let ci=Ot.minInt,di=Ot.minFrac,Ti=Ot.maxFrac;if(Me){const Zn=Me.match(ee);if(null===Zn)throw new Error(`${Me} is not a valid digit info`);const Mn=Zn[1],jr=Zn[3],fr=Zn[5];null!=Mn&&(ci=$e(Mn)),null!=jr&&(di=$e(jr)),null!=fr?Ti=$e(fr):null!=jr&&di>Ti&&(Ti=di)}!function bt(Se,Ot,ce){if(Ot>ce)throw new Error(`The minimum number of digits after fraction (${Ot}) is higher than the maximum (${ce}).`);let ht=Se.digits,ii=ht.length-Se.integerLen;const Me=Math.min(Math.max(Ot,ii),ce);let dt=Me+Se.integerLen,_t=ht[dt];if(dt>0){ht.splice(Math.max(Se.integerLen,dt));for(let di=dt;di<ht.length;di++)ht[di]=0}else{ii=Math.max(0,ii),Se.integerLen=1,ht.length=Math.max(1,dt=Me+1),ht[0]=0;for(let di=1;di<dt;di++)ht[di]=0}if(_t>=5)if(dt-1<0){for(let di=0;di>dt;di--)ht.unshift(0),Se.integerLen++;ht.unshift(1),Se.integerLen++}else ht[dt-1]++;for(;ii<Math.max(0,Me);ii++)ht.push(0);let Ht=0!==Me;const Xt=Ot+Se.integerLen,ci=ht.reduceRight(function(di,Ti,Ii,Ji){return Ji[Ii]=(Ti+=di)<10?Ti:Ti-10,Ht&&(0===Ji[Ii]&&Ii>=Xt?Ji.pop():Ht=!1),Ti>=10?1:0},0);ci&&(ht.unshift(ci),Se.integerLen++)}(Xt,di,Ti);let Ii=Xt.digits,Ji=Xt.integerLen;const Xi=Xt.exponent;let ln=[];for(Ht=Ii.every(Zn=>!Zn);Ji<ci;Ji++)Ii.unshift(0);for(;Ji<0;Ji++)Ii.unshift(0);Ji>0?ln=Ii.splice(Ji,Ii.length):(ln=Ii,Ii=[0]);const An=[];for(Ii.length>=Ot.lgSize&&An.unshift(Ii.splice(-Ot.lgSize,Ii.length).join(""));Ii.length>Ot.gSize;)An.unshift(Ii.splice(-Ot.gSize,Ii.length).join(""));Ii.length&&An.unshift(Ii.join("")),_t=An.join(K(ce,ht)),ln.length&&(_t+=K(ce,ii)+ln.join("")),Xi&&(_t+=K(ce,i.Exponential)+"+"+Xi)}else _t=K(ce,i.Infinity);return _t=Se<0&&!Ht?Ot.negPre+_t+Ot.negSuf:Ot.posPre+_t+Ot.posSuf,_t}(Se,function li(Se,Ot="-"){const ce={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ht=Se.split(";"),ii=ht[0],Me=ht[1],dt=-1!==ii.indexOf(".")?ii.split("."):[ii.substring(0,ii.lastIndexOf("0")+1),ii.substring(ii.lastIndexOf("0")+1)],_t=dt[0],Ht=dt[1]||"";ce.posPre=_t.substring(0,_t.indexOf("#"));for(let ci=0;ci<Ht.length;ci++){const di=Ht.charAt(ci);"0"===di?ce.minFrac=ce.maxFrac=ci+1:"#"===di?ce.maxFrac=ci+1:ce.posSuf+=di}const Xt=_t.split(",");if(ce.gSize=Xt[1]?Xt[1].length:0,ce.lgSize=Xt[2]||Xt[1]?(Xt[2]||Xt[1]).length:0,Me){const ci=ii.length-ce.posPre.length-ce.posSuf.length,di=Me.indexOf("#");ce.negPre=Me.substring(0,di).replace(/'/g,""),ce.negSuf=Me.slice(di+ci).replace(/'/g,"")}else ce.negPre=Ot+ce.posPre,ce.negSuf=ce.posSuf;return ce}(function se(Se,Ot){return(0,e.cg1)(Se)[e.wAp.NumberFormats][Ot]}(Ot,ie.Decimal),K(Ot,i.MinusSign)),Ot,i.Group,i.Decimal,ce)}(function Wa(Se){if("string"==typeof Se&&!isNaN(Number(Se)-parseFloat(Se)))return Number(Se);if("number"!=typeof Se)throw new Error(`${Se} is not a number`);return Se}(ce),ii,ht)}catch(Me){throw Li()}}static#e=this.\u0275fac=function(ht){return new(ht||Se)(e.Y36(e.soG,16))};static#t=this.\u0275pipe=e.Yjl({name:"number",type:Se,pure:!0,standalone:!0})}return Se})();let yr=(()=>{class Se{transform(ce,ht,ii){if(null==ce)return null;if(!this.supports(ce))throw Li();return ce.slice(ht,ii)}supports(ce){return"string"==typeof ce||Array.isArray(ce)}static#e=this.\u0275fac=function(ht){return new(ht||Se)};static#t=this.\u0275pipe=e.Yjl({name:"slice",type:Se,pure:!1,standalone:!0})}return Se})(),or=(()=>{class Se{static#e=this.\u0275fac=function(ht){return new(ht||Se)};static#t=this.\u0275mod=e.oAB({type:Se});static#i=this.\u0275inj=e.cJS({})}return Se})();const Rr="browser",Sr="server";function Lr(Se){return Se===Rr}function Ia(Se){return Se===Sr}let Zr=(()=>{class Se{static#e=this.\u0275prov=(0,e.Yz7)({token:Se,providedIn:"root",factory:()=>new ca((0,e.LFG)(C),window)})}return Se})();class ca{constructor(Ot,ce){this.document=Ot,this.window=ce,this.offset=()=>[0,0]}setOffset(Ot){this.offset=Array.isArray(Ot)?()=>Ot:Ot}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Ot){this.supportsScrolling()&&this.window.scrollTo(Ot[0],Ot[1])}scrollToAnchor(Ot){if(!this.supportsScrolling())return;const ce=function $a(Se,Ot){const ce=Se.getElementById(Ot)||Se.getElementsByName(Ot)[0];if(ce)return ce;if("function"==typeof Se.createTreeWalker&&Se.body&&"function"==typeof Se.body.attachShadow){const ht=Se.createTreeWalker(Se.body,NodeFilter.SHOW_ELEMENT);let ii=ht.currentNode;for(;ii;){const Me=ii.shadowRoot;if(Me){const dt=Me.getElementById(Ot)||Me.querySelector(`[name="${Ot}"]`);if(dt)return dt}ii=ht.nextNode()}}return null}(this.document,Ot);ce&&(this.scrollToElement(ce),ce.focus())}setHistoryScrollRestoration(Ot){this.supportsScrolling()&&(this.window.history.scrollRestoration=Ot)}scrollToElement(Ot){const ce=Ot.getBoundingClientRect(),ht=ce.left+this.window.pageXOffset,ii=ce.top+this.window.pageYOffset,Me=this.offset();this.window.scrollTo(ht-Me[0],ii-Me[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class la{}},9862:(Ue,q,p)=>{"use strict";p.d(q,{JF:()=>ee,LE:()=>X,TP:()=>xe,eN:()=>n});var e=p(5879),t=p(2096),g=p(9666),T=p(5592),c=p(6328),C=p(2181),u=p(7398),P=p(4716),d=p(4664),S=p(6814);class M{}class I{}class D{constructor(nt){this.normalizedNames=new Map,this.lazyUpdate=null,nt?"string"==typeof nt?this.lazyInit=()=>{this.headers=new Map,nt.split("\n").forEach(Wt=>{const si=Wt.indexOf(":");if(si>0){const li=Wt.slice(0,si),xi=li.toLowerCase(),Ut=Wt.slice(si+1).trim();this.maybeSetNormalizedName(li,xi),this.headers.has(xi)?this.headers.get(xi).push(Ut):this.headers.set(xi,[Ut])}})}:typeof Headers<"u"&&nt instanceof Headers?(this.headers=new Map,nt.forEach((Wt,si)=>{this.setHeaderEntries(si,Wt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(nt).forEach(([Wt,si])=>{this.setHeaderEntries(Wt,si)})}:this.headers=new Map}has(nt){return this.init(),this.headers.has(nt.toLowerCase())}get(nt){this.init();const Wt=this.headers.get(nt.toLowerCase());return Wt&&Wt.length>0?Wt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(nt){return this.init(),this.headers.get(nt.toLowerCase())||null}append(nt,Wt){return this.clone({name:nt,value:Wt,op:"a"})}set(nt,Wt){return this.clone({name:nt,value:Wt,op:"s"})}delete(nt,Wt){return this.clone({name:nt,value:Wt,op:"d"})}maybeSetNormalizedName(nt,Wt){this.normalizedNames.has(Wt)||this.normalizedNames.set(Wt,nt)}init(){this.lazyInit&&(this.lazyInit instanceof D?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(nt=>this.applyUpdate(nt)),this.lazyUpdate=null))}copyFrom(nt){nt.init(),Array.from(nt.headers.keys()).forEach(Wt=>{this.headers.set(Wt,nt.headers.get(Wt)),this.normalizedNames.set(Wt,nt.normalizedNames.get(Wt))})}clone(nt){const Wt=new D;return Wt.lazyInit=this.lazyInit&&this.lazyInit instanceof D?this.lazyInit:this,Wt.lazyUpdate=(this.lazyUpdate||[]).concat([nt]),Wt}applyUpdate(nt){const Wt=nt.name.toLowerCase();switch(nt.op){case"a":case"s":let si=nt.value;if("string"==typeof si&&(si=[si]),0===si.length)return;this.maybeSetNormalizedName(nt.name,Wt);const li=("a"===nt.op?this.headers.get(Wt):void 0)||[];li.push(...si),this.headers.set(Wt,li);break;case"d":const xi=nt.value;if(xi){let Ut=this.headers.get(Wt);if(!Ut)return;Ut=Ut.filter(bt=>-1===xi.indexOf(bt)),0===Ut.length?(this.headers.delete(Wt),this.normalizedNames.delete(Wt)):this.headers.set(Wt,Ut)}else this.headers.delete(Wt),this.normalizedNames.delete(Wt)}}setHeaderEntries(nt,Wt){const si=(Array.isArray(Wt)?Wt:[Wt]).map(xi=>xi.toString()),li=nt.toLowerCase();this.headers.set(li,si),this.maybeSetNormalizedName(nt,li)}forEach(nt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Wt=>nt(this.normalizedNames.get(Wt),this.headers.get(Wt)))}}class F{encodeKey(nt){return J(nt)}encodeValue(nt){return J(nt)}decodeKey(nt){return decodeURIComponent(nt)}decodeValue(nt){return decodeURIComponent(nt)}}const Y=/%(\d[a-f0-9])/gi,Q={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function J(qe){return encodeURIComponent(qe).replace(Y,(nt,Wt)=>Q[Wt]??nt)}function ne(qe){return`${qe}`}class X{constructor(nt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=nt.encoder||new F,nt.fromString){if(nt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function W(qe,nt){const Wt=new Map;return qe.length>0&&qe.replace(/^\?/,"").split("&").forEach(li=>{const xi=li.indexOf("="),[Ut,bt]=-1==xi?[nt.decodeKey(li),""]:[nt.decodeKey(li.slice(0,xi)),nt.decodeValue(li.slice(xi+1))],$e=Wt.get(Ut)||[];$e.push(bt),Wt.set(Ut,$e)}),Wt}(nt.fromString,this.encoder)}else nt.fromObject?(this.map=new Map,Object.keys(nt.fromObject).forEach(Wt=>{const si=nt.fromObject[Wt],li=Array.isArray(si)?si.map(ne):[ne(si)];this.map.set(Wt,li)})):this.map=null}has(nt){return this.init(),this.map.has(nt)}get(nt){this.init();const Wt=this.map.get(nt);return Wt?Wt[0]:null}getAll(nt){return this.init(),this.map.get(nt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(nt,Wt){return this.clone({param:nt,value:Wt,op:"a"})}appendAll(nt){const Wt=[];return Object.keys(nt).forEach(si=>{const li=nt[si];Array.isArray(li)?li.forEach(xi=>{Wt.push({param:si,value:xi,op:"a"})}):Wt.push({param:si,value:li,op:"a"})}),this.clone(Wt)}set(nt,Wt){return this.clone({param:nt,value:Wt,op:"s"})}delete(nt,Wt){return this.clone({param:nt,value:Wt,op:"d"})}toString(){return this.init(),this.keys().map(nt=>{const Wt=this.encoder.encodeKey(nt);return this.map.get(nt).map(si=>Wt+"="+this.encoder.encodeValue(si)).join("&")}).filter(nt=>""!==nt).join("&")}clone(nt){const Wt=new X({encoder:this.encoder});return Wt.cloneFrom=this.cloneFrom||this,Wt.updates=(this.updates||[]).concat(nt),Wt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(nt=>this.map.set(nt,this.cloneFrom.map.get(nt))),this.updates.forEach(nt=>{switch(nt.op){case"a":case"s":const Wt=("a"===nt.op?this.map.get(nt.param):void 0)||[];Wt.push(ne(nt.value)),this.map.set(nt.param,Wt);break;case"d":if(void 0===nt.value){this.map.delete(nt.param);break}{let si=this.map.get(nt.param)||[];const li=si.indexOf(ne(nt.value));-1!==li&&si.splice(li,1),si.length>0?this.map.set(nt.param,si):this.map.delete(nt.param)}}}),this.cloneFrom=this.updates=null)}}class ie{constructor(){this.map=new Map}set(nt,Wt){return this.map.set(nt,Wt),this}get(nt){return this.map.has(nt)||this.map.set(nt,nt.defaultValue()),this.map.get(nt)}delete(nt){return this.map.delete(nt),this}has(nt){return this.map.has(nt)}keys(){return this.map.keys()}}function te(qe){return typeof ArrayBuffer<"u"&&qe instanceof ArrayBuffer}function ae(qe){return typeof Blob<"u"&&qe instanceof Blob}function E(qe){return typeof FormData<"u"&&qe instanceof FormData}class o{constructor(nt,Wt,si,li){let xi;if(this.url=Wt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=nt.toUpperCase(),function de(qe){switch(qe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||li?(this.body=void 0!==si?si:null,xi=li):xi=si,xi&&(this.reportProgress=!!xi.reportProgress,this.withCredentials=!!xi.withCredentials,xi.responseType&&(this.responseType=xi.responseType),xi.headers&&(this.headers=xi.headers),xi.context&&(this.context=xi.context),xi.params&&(this.params=xi.params)),this.headers||(this.headers=new D),this.context||(this.context=new ie),this.params){const Ut=this.params.toString();if(0===Ut.length)this.urlWithParams=Wt;else{const bt=Wt.indexOf("?");this.urlWithParams=Wt+(-1===bt?"?":bt<Wt.length-1?"&":"")+Ut}}else this.params=new X,this.urlWithParams=Wt}serializeBody(){return null===this.body?null:te(this.body)||ae(this.body)||E(this.body)||function i(qe){return typeof URLSearchParams<"u"&&qe instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof X?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||E(this.body)?null:ae(this.body)?this.body.type||null:te(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof X?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(nt={}){const Wt=nt.method||this.method,si=nt.url||this.url,li=nt.responseType||this.responseType,xi=void 0!==nt.body?nt.body:this.body,Ut=void 0!==nt.withCredentials?nt.withCredentials:this.withCredentials,bt=void 0!==nt.reportProgress?nt.reportProgress:this.reportProgress;let $e=nt.headers||this.headers,ut=nt.params||this.params;const Et=nt.context??this.context;return void 0!==nt.setHeaders&&($e=Object.keys(nt.setHeaders).reduce((qt,pi)=>qt.set(pi,nt.setHeaders[pi]),$e)),nt.setParams&&(ut=Object.keys(nt.setParams).reduce((qt,pi)=>qt.set(pi,nt.setParams[pi]),ut)),new o(Wt,si,xi,{params:ut,headers:$e,context:Et,reportProgress:bt,responseType:li,withCredentials:Ut})}}var m=function(qe){return qe[qe.Sent=0]="Sent",qe[qe.UploadProgress=1]="UploadProgress",qe[qe.ResponseHeader=2]="ResponseHeader",qe[qe.DownloadProgress=3]="DownloadProgress",qe[qe.Response=4]="Response",qe[qe.User=5]="User",qe}(m||{});class l{constructor(nt,Wt=200,si="OK"){this.headers=nt.headers||new D,this.status=void 0!==nt.status?nt.status:Wt,this.statusText=nt.statusText||si,this.url=nt.url||null,this.ok=this.status>=200&&this.status<300}}class y extends l{constructor(nt={}){super(nt),this.type=m.ResponseHeader}clone(nt={}){return new y({headers:nt.headers||this.headers,status:void 0!==nt.status?nt.status:this.status,statusText:nt.statusText||this.statusText,url:nt.url||this.url||void 0})}}class L extends l{constructor(nt={}){super(nt),this.type=m.Response,this.body=void 0!==nt.body?nt.body:null}clone(nt={}){return new L({body:void 0!==nt.body?nt.body:this.body,headers:nt.headers||this.headers,status:void 0!==nt.status?nt.status:this.status,statusText:nt.statusText||this.statusText,url:nt.url||this.url||void 0})}}class O extends l{constructor(nt){super(nt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${nt.url||"(unknown url)"}`:`Http failure response for ${nt.url||"(unknown url)"}: ${nt.status} ${nt.statusText}`,this.error=nt.error||null}}function b(qe,nt){return{body:nt,headers:qe.headers,context:qe.context,observe:qe.observe,params:qe.params,reportProgress:qe.reportProgress,responseType:qe.responseType,withCredentials:qe.withCredentials}}let n=(()=>{class qe{constructor(Wt){this.handler=Wt}request(Wt,si,li={}){let xi;if(Wt instanceof o)xi=Wt;else{let $e,ut;$e=li.headers instanceof D?li.headers:new D(li.headers),li.params&&(ut=li.params instanceof X?li.params:new X({fromObject:li.params})),xi=new o(Wt,si,void 0!==li.body?li.body:null,{headers:$e,context:li.context,params:ut,reportProgress:li.reportProgress,responseType:li.responseType||"json",withCredentials:li.withCredentials})}const Ut=(0,t.of)(xi).pipe((0,c.b)($e=>this.handler.handle($e)));if(Wt instanceof o||"events"===li.observe)return Ut;const bt=Ut.pipe((0,C.h)($e=>$e instanceof L));switch(li.observe||"body"){case"body":switch(xi.responseType){case"arraybuffer":return bt.pipe((0,u.U)($e=>{if(null!==$e.body&&!($e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return $e.body}));case"blob":return bt.pipe((0,u.U)($e=>{if(null!==$e.body&&!($e.body instanceof Blob))throw new Error("Response is not a Blob.");return $e.body}));case"text":return bt.pipe((0,u.U)($e=>{if(null!==$e.body&&"string"!=typeof $e.body)throw new Error("Response is not a string.");return $e.body}));default:return bt.pipe((0,u.U)($e=>$e.body))}case"response":return bt;default:throw new Error(`Unreachable: unhandled observe type ${li.observe}}`)}}delete(Wt,si={}){return this.request("DELETE",Wt,si)}get(Wt,si={}){return this.request("GET",Wt,si)}head(Wt,si={}){return this.request("HEAD",Wt,si)}jsonp(Wt,si){return this.request("JSONP",Wt,{params:(new X).append(si,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Wt,si={}){return this.request("OPTIONS",Wt,si)}patch(Wt,si,li={}){return this.request("PATCH",Wt,b(li,si))}post(Wt,si,li={}){return this.request("POST",Wt,b(li,si))}put(Wt,si,li={}){return this.request("PUT",Wt,b(li,si))}static#e=this.\u0275fac=function(si){return new(si||qe)(e.LFG(M))};static#t=this.\u0275prov=e.Yz7({token:qe,factory:qe.\u0275fac})}return qe})();function Qe(qe,nt){return nt(qe)}function be(qe,nt){return(Wt,si)=>nt.intercept(Wt,{handle:li=>qe(li,si)})}const xe=new e.OlP(""),Pe=new e.OlP(""),oe=new e.OlP("");function ze(){let qe=null;return(nt,Wt)=>{null===qe&&(qe=((0,e.f3M)(xe,{optional:!0})??[]).reduceRight(be,Qe));const si=(0,e.f3M)(e.HDt),li=si.add();return qe(nt,Wt).pipe((0,P.x)(()=>si.remove(li)))}}let we=(()=>{class qe extends M{constructor(Wt,si){super(),this.backend=Wt,this.injector=si,this.chain=null,this.pendingTasks=(0,e.f3M)(e.HDt)}handle(Wt){if(null===this.chain){const li=Array.from(new Set([...this.injector.get(Pe),...this.injector.get(oe,[])]));this.chain=li.reduceRight((xi,Ut)=>function ue(qe,nt,Wt){return(si,li)=>Wt.runInContext(()=>nt(si,xi=>qe(xi,li)))}(xi,Ut,this.injector),Qe)}const si=this.pendingTasks.add();return this.chain(Wt,li=>this.backend.handle(li)).pipe((0,P.x)(()=>this.pendingTasks.remove(si)))}static#e=this.\u0275fac=function(si){return new(si||qe)(e.LFG(I),e.LFG(e.lqb))};static#t=this.\u0275prov=e.Yz7({token:qe,factory:qe.\u0275fac})}return qe})();const ct=/^\)\]\}',?\n/;let Ct=(()=>{class qe{constructor(Wt){this.xhrFactory=Wt}handle(Wt){if("JSONP"===Wt.method)throw new e.vHH(-2800,!1);const si=this.xhrFactory;return(si.\u0275loadImpl?(0,g.D)(si.\u0275loadImpl()):(0,t.of)(null)).pipe((0,d.w)(()=>new T.y(xi=>{const Ut=si.build();if(Ut.open(Wt.method,Wt.urlWithParams),Wt.withCredentials&&(Ut.withCredentials=!0),Wt.headers.forEach((Ri,Ui)=>Ut.setRequestHeader(Ri,Ui.join(","))),Wt.headers.has("Accept")||Ut.setRequestHeader("Accept","application/json, text/plain, */*"),!Wt.headers.has("Content-Type")){const Ri=Wt.detectContentTypeHeader();null!==Ri&&Ut.setRequestHeader("Content-Type",Ri)}if(Wt.responseType){const Ri=Wt.responseType.toLowerCase();Ut.responseType="json"!==Ri?Ri:"text"}const bt=Wt.serializeBody();let $e=null;const ut=()=>{if(null!==$e)return $e;const Ri=Ut.statusText||"OK",Ui=new D(Ut.getAllResponseHeaders()),nn=function et(qe){return"responseURL"in qe&&qe.responseURL?qe.responseURL:/^X-Request-URL:/m.test(qe.getAllResponseHeaders())?qe.getResponseHeader("X-Request-URL"):null}(Ut)||Wt.url;return $e=new y({headers:Ui,status:Ut.status,statusText:Ri,url:nn}),$e},Et=()=>{let{headers:Ri,status:Ui,statusText:nn,url:cn}=ut(),Qi=null;204!==Ui&&(Qi=typeof Ut.response>"u"?Ut.responseText:Ut.response),0===Ui&&(Ui=Qi?200:0);let $t=Ui>=200&&Ui<300;if("json"===Wt.responseType&&"string"==typeof Qi){const Hi=Qi;Qi=Qi.replace(ct,"");try{Qi=""!==Qi?JSON.parse(Qi):null}catch(Ee){Qi=Hi,$t&&($t=!1,Qi={error:Ee,text:Qi})}}$t?(xi.next(new L({body:Qi,headers:Ri,status:Ui,statusText:nn,url:cn||void 0})),xi.complete()):xi.error(new O({error:Qi,headers:Ri,status:Ui,statusText:nn,url:cn||void 0}))},qt=Ri=>{const{url:Ui}=ut(),nn=new O({error:Ri,status:Ut.status||0,statusText:Ut.statusText||"Unknown Error",url:Ui||void 0});xi.error(nn)};let pi=!1;const Si=Ri=>{pi||(xi.next(ut()),pi=!0);let Ui={type:m.DownloadProgress,loaded:Ri.loaded};Ri.lengthComputable&&(Ui.total=Ri.total),"text"===Wt.responseType&&Ut.responseText&&(Ui.partialText=Ut.responseText),xi.next(Ui)},Fi=Ri=>{let Ui={type:m.UploadProgress,loaded:Ri.loaded};Ri.lengthComputable&&(Ui.total=Ri.total),xi.next(Ui)};return Ut.addEventListener("load",Et),Ut.addEventListener("error",qt),Ut.addEventListener("timeout",qt),Ut.addEventListener("abort",qt),Wt.reportProgress&&(Ut.addEventListener("progress",Si),null!==bt&&Ut.upload&&Ut.upload.addEventListener("progress",Fi)),Ut.send(bt),xi.next({type:m.Sent}),()=>{Ut.removeEventListener("error",qt),Ut.removeEventListener("abort",qt),Ut.removeEventListener("load",Et),Ut.removeEventListener("timeout",qt),Wt.reportProgress&&(Ut.removeEventListener("progress",Si),null!==bt&&Ut.upload&&Ut.upload.removeEventListener("progress",Fi)),Ut.readyState!==Ut.DONE&&Ut.abort()}})))}static#e=this.\u0275fac=function(si){return new(si||qe)(e.LFG(S.JF))};static#t=this.\u0275prov=e.Yz7({token:qe,factory:qe.\u0275fac})}return qe})();const ke=new e.OlP("XSRF_ENABLED"),Je=new e.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Be=new e.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Nt{}let Ke=(()=>{class qe{constructor(Wt,si,li){this.doc=Wt,this.platform=si,this.cookieName=li,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Wt=this.doc.cookie||"";return Wt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,S.Mx)(Wt,this.cookieName),this.lastCookieString=Wt),this.lastToken}static#e=this.\u0275fac=function(si){return new(si||qe)(e.LFG(S.K0),e.LFG(e.Lbi),e.LFG(Je))};static#t=this.\u0275prov=e.Yz7({token:qe,factory:qe.\u0275fac})}return qe})();function yt(qe,nt){const Wt=qe.url.toLowerCase();if(!(0,e.f3M)(ke)||"GET"===qe.method||"HEAD"===qe.method||Wt.startsWith("http://")||Wt.startsWith("https://"))return nt(qe);const si=(0,e.f3M)(Nt).getToken(),li=(0,e.f3M)(Be);return null!=si&&!qe.headers.has(li)&&(qe=qe.clone({headers:qe.headers.set(li,si)})),nt(qe)}var Dt=function(qe){return qe[qe.Interceptors=0]="Interceptors",qe[qe.LegacyInterceptors=1]="LegacyInterceptors",qe[qe.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",qe[qe.NoXsrfProtection=3]="NoXsrfProtection",qe[qe.JsonpSupport=4]="JsonpSupport",qe[qe.RequestsMadeViaParent=5]="RequestsMadeViaParent",qe[qe.Fetch=6]="Fetch",qe}(Dt||{});function pt(...qe){const nt=[n,Ct,we,{provide:M,useExisting:we},{provide:I,useExisting:Ct},{provide:Pe,useValue:yt,multi:!0},{provide:ke,useValue:!0},{provide:Nt,useClass:Ke}];for(const Wt of qe)nt.push(...Wt.\u0275providers);return(0,e.MR2)(nt)}const Te=new e.OlP("LEGACY_INTERCEPTOR_FN");function tt(){return function Rt(qe,nt){return{\u0275kind:qe,\u0275providers:nt}}(Dt.LegacyInterceptors,[{provide:Te,useFactory:ze},{provide:Pe,useExisting:Te,multi:!0}])}let ee=(()=>{class qe{static#e=this.\u0275fac=function(si){return new(si||qe)};static#t=this.\u0275mod=e.oAB({type:qe});static#i=this.\u0275inj=e.cJS({providers:[pt(tt())]})}return qe})()},5879:(Ue,q,p)=>{"use strict";p.d(q,{$8M:()=>C2,$WT:()=>br,$Z:()=>ou,AFp:()=>Do,ALo:()=>V8,AaK:()=>I,AsE:()=>Nm,BQk:()=>z0,CHM:()=>Yl,CRH:()=>r5,DdM:()=>D8,Dn7:()=>U8,EJc:()=>_v,EiD:()=>qc,EpF:()=>A,F$t:()=>Mi,F4k:()=>x,FYo:()=>D4,FiY:()=>vs,Flj:()=>ds,Gf:()=>t5,GfV:()=>Of,GkF:()=>zu,Gpc:()=>F,Gre:()=>Ag,HDt:()=>S5,HOy:()=>Rm,Hsn:()=>Di,Ikx:()=>Vm,JOm:()=>v1,JVY:()=>Uh,JZr:()=>ne,Jf7:()=>w0,KtG:()=>dl,L6k:()=>ac,LAX:()=>O1,LFG:()=>Lt,Lbi:()=>N1,Lck:()=>y7,MAs:()=>R3,MGl:()=>gn,MMx:()=>w8,MR2:()=>Ei,NdJ:()=>B,O4$:()=>ul,Ojb:()=>Tc,OlP:()=>Z,Oqu:()=>Pm,P3R:()=>N,PXZ:()=>Fv,Q6J:()=>H3,QGY:()=>s,QbO:()=>Qa,Qsj:()=>p6,R0b:()=>Co,RDi:()=>Fh,Rgc:()=>Qu,SBq:()=>Yd,Sil:()=>yv,Suo:()=>n5,TTD:()=>ci,TgZ:()=>Pu,Tol:()=>pg,Udp:()=>pa,VKq:()=>L8,VuI:()=>h9,W1O:()=>Ju,WFA:()=>j,WLB:()=>I8,X6Q:()=>Wv,XFs:()=>at,Xpm:()=>Gt,Xq5:()=>k0,Xts:()=>Re,Y36:()=>Jd,YKP:()=>y8,YNc:()=>P3,Yjl:()=>Yn,Yz7:()=>xe,Z0I:()=>we,ZZ4:()=>Jp,_Bn:()=>ip,_UZ:()=>Ru,_Vd:()=>x0,_c5:()=>X5,_uU:()=>wg,aQg:()=>$p,c2e:()=>w5,cJS:()=>oe,cg1:()=>Bm,d8E:()=>U3,dDg:()=>Rv,dqk:()=>Ct,eBb:()=>a0,eFA:()=>Bp,eJc:()=>bp,ekj:()=>ol,eoX:()=>k5,f3M:()=>Zt,g9A:()=>zr,gHi:()=>C0,h0i:()=>s2,hGG:()=>$5,hYB:()=>ki,hij:()=>V3,iGM:()=>e5,ifc:()=>xi,ip1:()=>C5,jDz:()=>ap,kEZ:()=>k8,kL8:()=>Bg,kcU:()=>gc,ktI:()=>jd,lG2:()=>Fn,lcZ:()=>B8,lnq:()=>Uu,lqb:()=>Qo,lri:()=>L5,mCW:()=>Kc,n5z:()=>b2,n_E:()=>J3,oAB:()=>Ni,oJD:()=>Pd,oxw:()=>hi,pB0:()=>wf,q3G:()=>Ec,qFp:()=>p9,qLn:()=>$c,qOj:()=>z1,qZA:()=>Nu,qzn:()=>Sc,rWj:()=>I5,rg0:()=>ii,s9C:()=>tn,sBO:()=>Yv,s_b:()=>e4,soG:()=>a4,tBr:()=>Vc,tb:()=>Fp,tdS:()=>nr,tp0:()=>Cc,uIk:()=>M3,vHH:()=>X,vpe:()=>Ac,wAp:()=>B0,xi3:()=>lp,xp6:()=>X4,ynx:()=>Fu,z2F:()=>j0,z3N:()=>Fs,zSh:()=>jo,zs3:()=>Vs});var e=p(8645),t=p(7394),g=p(5592),T=p(3019),c=p(5619),C=p(2096),u=p(3020),P=p(4664),d=p(3997);function S(r){for(let a in r)if(r[a]===S)return a;throw Error("Could not find renamed property on target object.")}function M(r,a){for(const h in a)a.hasOwnProperty(h)&&!r.hasOwnProperty(h)&&(r[h]=a[h])}function I(r){if("string"==typeof r)return r;if(Array.isArray(r))return"["+r.map(I).join(", ")+"]";if(null==r)return""+r;if(r.overriddenName)return`${r.overriddenName}`;if(r.name)return`${r.name}`;const a=r.toString();if(null==a)return""+a;const h=a.indexOf("\n");return-1===h?a:a.substring(0,h)}function D(r,a){return null==r||""===r?null===a?"":a:null==a||""===a?r:r+" "+a}const R=S({__forward_ref__:S});function F(r){return r.__forward_ref__=F,r.toString=function(){return I(this())},r}function W(r){return Y(r)?r():r}function Y(r){return"function"==typeof r&&r.hasOwnProperty(R)&&r.__forward_ref__===F}function Q(r){return r&&!!r.\u0275providers}const ne="https://g.co/ng/security#xss";class X extends Error{constructor(a,h){super(function pe(r,a){return`NG0${Math.abs(r)}${a?": "+a:""}`}(a,h)),this.code=a}}function ie(r){return"string"==typeof r?r:null==r?"":String(r)}function i(r,a){throw new X(-201,!1)}function Ye(r,a){null==r&&function Oe(r,a,h,w){throw new Error(`ASSERTION ERROR: ${r}`+(null==w?"":` [Expected=> ${h} ${w} ${a} <=Actual]`))}(a,r,null,"!=")}function xe(r){return{token:r.token,providedIn:r.providedIn||null,factory:r.factory,value:void 0}}function oe(r){return{providers:r.providers||[],imports:r.imports||[]}}function ze(r){return le(r,Ge)||le(r,Ne)}function we(r){return null!==ze(r)}function le(r,a){return r.hasOwnProperty(a)?r[a]:null}function fe(r){return r&&(r.hasOwnProperty(Le)||r.hasOwnProperty(Ve))?r[Le]:null}const Ge=S({\u0275prov:S}),Le=S({\u0275inj:S}),Ne=S({ngInjectableDef:S}),Ve=S({ngInjectorDef:S});var at=function(r){return r[r.Default=0]="Default",r[r.Host=1]="Host",r[r.Self=2]="Self",r[r.SkipSelf=4]="SkipSelf",r[r.Optional=8]="Optional",r}(at||{});let ve;function De(){return ve}function xt(r){const a=ve;return ve=r,a}function ct(r,a,h){const w=ze(r);return w&&"root"==w.providedIn?void 0===w.value?w.value=w.factory():w.value:h&at.Optional?null:void 0!==a?a:void i(I(r))}const Ct=globalThis,Te={},tt="__NG_DI_FLAG__",Ze="ngTempTokenPath",oi=/\n/gm,mt="__source";let he;function Ce(r){const a=he;return he=r,a}function At(r,a=at.Default){if(void 0===he)throw new X(-203,!1);return null===he?ct(r,void 0,a):he.get(r,a&at.Optional?null:void 0,a)}function Lt(r,a=at.Default){return(De()||At)(W(r),a)}function Zt(r,a=at.Default){return Lt(r,Kt(a))}function Kt(r){return typeof r>"u"||"number"==typeof r?r:0|(r.optional&&8)|(r.host&&1)|(r.self&&2)|(r.skipSelf&&4)}function Xe(r){const a=[];for(let h=0;h<r.length;h++){const w=W(r[h]);if(Array.isArray(w)){if(0===w.length)throw new X(900,!1);let k,G=at.Default;for(let $=0;$<w.length;$++){const _e=w[$],Ie=qe(_e);"number"==typeof Ie?-1===Ie?k=_e.token:G|=Ie:k=_e}a.push(Lt(k,G))}else a.push(Lt(w))}return a}function Bt(r,a){return r[tt]=a,r.prototype[tt]=a,r}function qe(r){return r[tt]}function si(r){return{toString:r}.toString()}var li=function(r){return r[r.OnPush=0]="OnPush",r[r.Default=1]="Default",r}(li||{}),xi=function(r){return r[r.Emulated=0]="Emulated",r[r.None=2]="None",r[r.ShadowDom=3]="ShadowDom",r}(xi||{});const Ut={},bt=[],$e=S({\u0275cmp:S}),ut=S({\u0275dir:S}),Et=S({\u0275pipe:S}),qt=S({\u0275mod:S}),pi=S({\u0275fac:S}),Si=S({__NG_ELEMENT_ID__:S}),Fi=S({__NG_ENV_ID__:S});function Ri(r,a,h){let w=r.length;for(;;){const k=r.indexOf(a,h);if(-1===k)return k;if(0===k||r.charCodeAt(k-1)<=32){const G=a.length;if(k+G===w||r.charCodeAt(k+G)<=32)return k}h=k+1}}function Ui(r,a,h){let w=0;for(;w<h.length;){const k=h[w];if("number"==typeof k){if(0!==k)break;w++;const G=h[w++],$=h[w++],_e=h[w++];r.setAttribute(a,$,_e,G)}else{const G=k,$=h[++w];cn(G)?r.setProperty(a,G,$):r.setAttribute(a,G,$),w++}}return w}function nn(r){return 3===r||4===r||6===r}function cn(r){return 64===r.charCodeAt(0)}function Qi(r,a){if(null!==a&&0!==a.length)if(null===r||0===r.length)r=a.slice();else{let h=-1;for(let w=0;w<a.length;w++){const k=a[w];"number"==typeof k?h=k:0===h||$t(r,h,k,null,-1===h||2===h?a[++w]:null)}}return r}function $t(r,a,h,w,k){let G=0,$=r.length;if(-1===a)$=-1;else for(;G<r.length;){const _e=r[G++];if("number"==typeof _e){if(_e===a){$=-1;break}if(_e>a){$=G-1;break}}}for(;G<r.length;){const _e=r[G];if("number"==typeof _e)break;if(_e===h){if(null===w)return void(null!==k&&(r[G+1]=k));if(w===r[G+1])return void(r[G+2]=k)}G++,null!==w&&G++,null!==k&&G++}-1!==$&&(r.splice($,0,a),G=$+1),r.splice(G++,0,h),null!==w&&r.splice(G++,0,w),null!==k&&r.splice(G++,0,k)}const Hi="ng-template";function Ee(r,a,h){let w=0,k=!0;for(;w<r.length;){let G=r[w++];if("string"==typeof G&&k){const $=r[w++];if(h&&"class"===G&&-1!==Ri($.toLowerCase(),a,0))return!0}else{if(1===G){for(;w<r.length&&"string"==typeof(G=r[w++]);)if(G.toLowerCase()===a)return!0;return!1}"number"==typeof G&&(k=!1)}}return!1}function We(r){return 4===r.type&&r.value!==Hi}function rt(r,a,h){return a===(4!==r.type||h?r.value:Hi)}function st(r,a,h){let w=4;const k=r.attrs||[],G=function Ar(r){for(let a=0;a<r.length;a++)if(nn(r[a]))return a;return r.length}(k);let $=!1;for(let _e=0;_e<a.length;_e++){const Ie=a[_e];if("number"!=typeof Ie){if(!$)if(4&w){if(w=2|1&w,""!==Ie&&!rt(r,Ie,h)||""===Ie&&1===a.length){if(Jt(w))return!1;$=!0}}else{const lt=8&w?Ie:a[++_e];if(8&w&&null!==r.attrs){if(!Ee(r.attrs,lt,h)){if(Jt(w))return!1;$=!0}continue}const ti=ui(8&w?"class":Ie,k,We(r),h);if(-1===ti){if(Jt(w))return!1;$=!0;continue}if(""!==lt){let mi;mi=ti>G?"":k[ti+1].toLowerCase();const Ci=8&w?mi:null;if(Ci&&-1!==Ri(Ci,lt,0)||2&w&&lt!==mi){if(Jt(w))return!1;$=!0}}}}else{if(!$&&!Jt(w)&&!Jt(Ie))return!1;if($&&Jt(Ie))continue;$=!1,w=Ie|1&w}}return Jt(w)||$}function Jt(r){return 0==(1&r)}function ui(r,a,h,w){if(null===a)return-1;let k=0;if(w||!h){let G=!1;for(;k<a.length;){const $=a[k];if($===r)return k;if(3===$||6===$)G=!0;else{if(1===$||2===$){let _e=a[++k];for(;"string"==typeof _e;)_e=a[++k];continue}if(4===$)break;if(0===$){k+=4;continue}}k+=G?1:2}return-1}return function vr(r,a){let h=r.indexOf(4);if(h>-1)for(h++;h<r.length;){const w=r[h];if("number"==typeof w)return-1;if(w===a)return h;h++}return-1}(a,r)}function En(r,a,h=!1){for(let w=0;w<a.length;w++)if(st(r,a[w],h))return!0;return!1}function La(r,a){e:for(let h=0;h<a.length;h++){const w=a[h];if(r.length===w.length){for(let k=0;k<r.length;k++)if(r[k]!==w[k])continue e;return!0}}return!1}function Ur(r,a){return r?":not("+a.trim()+")":a}function ga(r){let a=r[0],h=1,w=2,k="",G=!1;for(;h<r.length;){let $=r[h];if("string"==typeof $)if(2&w){const _e=r[++h];k+="["+$+(_e.length>0?'="'+_e+'"':"")+"]"}else 8&w?k+="."+$:4&w&&(k+=" "+$);else""!==k&&!Jt($)&&(a+=Ur(G,k),k=""),w=$,G=G||!Jt(w);h++}return""!==k&&(a+=Ur(G,k)),a}function Gt(r){return si(()=>{const a=qa(r),h={...a,decls:r.decls,vars:r.vars,template:r.template,consts:r.consts||null,ngContentSelectors:r.ngContentSelectors,onPush:r.changeDetection===li.OnPush,directiveDefs:null,pipeDefs:null,dependencies:a.standalone&&r.dependencies||null,getStandaloneInjector:null,signals:r.signals??!1,data:r.data||{},encapsulation:r.encapsulation||xi.Emulated,styles:r.styles||bt,_:null,schemas:r.schemas||null,tView:null,id:""};Ja(h);const w=r.dependencies;return h.directiveDefs=Gr(w,!1),h.pipeDefs=Gr(w,!0),h.id=function Xa(r){let a=0;const h=[r.selectors,r.ngContentSelectors,r.hostVars,r.hostAttrs,r.consts,r.vars,r.decls,r.encapsulation,r.standalone,r.signals,r.exportAs,JSON.stringify(r.inputs),JSON.stringify(r.outputs),Object.getOwnPropertyNames(r.type.prototype),!!r.contentQueries,!!r.viewQuery].join("|");for(const k of h)a=Math.imul(31,a)+k.charCodeAt(0)<<0;return a+=2147483648,"c"+a}(h),h})}function gi(r){return _n(r)||Cn(r)}function wi(r){return null!==r}function Ni(r){return si(()=>({type:r.type,bootstrap:r.bootstrap||bt,declarations:r.declarations||bt,imports:r.imports||bt,exports:r.exports||bt,transitiveCompileScopes:null,schemas:r.schemas||null,id:r.id||null}))}function Tn(r,a){if(null==r)return Ut;const h={};for(const w in r)if(r.hasOwnProperty(w)){let k=r[w],G=k;Array.isArray(k)&&(G=k[1],k=k[0]),h[k]=w,a&&(a[k]=G)}return h}function Fn(r){return si(()=>{const a=qa(r);return Ja(a),a})}function Yn(r){return{type:r.type,name:r.name,factory:null,pure:!1!==r.pure,standalone:!0===r.standalone,onDestroy:r.type.prototype.ngOnDestroy||null}}function _n(r){return r[$e]||null}function Cn(r){return r[ut]||null}function Qn(r){return r[Et]||null}function br(r){const a=_n(r)||Cn(r)||Qn(r);return null!==a&&a.standalone}function Nr(r,a){const h=r[qt]||null;if(!h&&!0===a)throw new Error(`Type ${I(r)} does not have '\u0275mod' property.`);return h}function qa(r){const a={};return{type:r.type,providersResolver:null,factory:null,hostBindings:r.hostBindings||null,hostVars:r.hostVars||0,hostAttrs:r.hostAttrs||null,contentQueries:r.contentQueries||null,declaredInputs:a,inputTransforms:null,inputConfig:r.inputs||Ut,exportAs:r.exportAs||null,standalone:!0===r.standalone,signals:!0===r.signals,selectors:r.selectors||bt,viewQuery:r.viewQuery||null,features:r.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Tn(r.inputs,a),outputs:Tn(r.outputs)}}function Ja(r){r.features?.forEach(a=>a(r))}function Gr(r,a){if(!r)return null;const h=a?Qn:gi;return()=>("function"==typeof r?r():r).map(w=>h(w)).filter(wi)}const tr=0,rn=1,vn=2,zn=3,er=4,Wa=5,yr=6,_a=7,or=8,Rr=9,Sr=10,yn=11,qr=12,Lr=13,Ia=14,lr=15,Hr=16,Ya=17,Zr=18,ca=19,$a=20,va=21,la=22,ba=23,xr=24,Dn=25,ro=1,Ra=2,da=7,ya=9,qn=11;function Fr(r){return Array.isArray(r)&&"object"==typeof r[ro]}function ur(r){return Array.isArray(r)&&!0===r[ro]}function ka(r){return 0!=(4&r.flags)}function It(r){return r.componentOffset>-1}function Ai(r){return 1==(1&r.flags)}function St(r){return!!r.template}function ai(r){return 0!=(512&r[vn])}function Fa(r,a){return r.hasOwnProperty(pi)?r[pi]:null}const Bi=Symbol("SIGNAL");function oo(r,a){return(null===r||"object"!=typeof r)&&Object.is(r,a)}let Xr=null,Eo=!1;function ta(r){const a=Xr;return Xr=r,a}const za={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function is(r){if(Eo)throw new Error("");if(null===Xr)return;const a=Xr.nextProducerIndex++;Uo(Xr),a<Xr.producerNode.length&&Xr.producerNode[a]!==r&&sn(Xr)&&Bo(Xr.producerNode[a],Xr.producerIndexOfThis[a]),Xr.producerNode[a]!==r&&(Xr.producerNode[a]=r,Xr.producerIndexOfThis[a]=sn(Xr)?Ts(r,Xr,a):0),Xr.producerLastReadVersion[a]=r.version}function ns(r){if(!sn(r)||r.dirty){if(!r.producerMustRecompute(r)&&!Es(r))return void(r.dirty=!1);r.producerRecomputeValue(r),r.dirty=!1}}function Oo(r){if(void 0===r.liveConsumerNode)return;const a=Eo;Eo=!0;try{for(const h of r.liveConsumerNode)h.dirty||Ws(h)}finally{Eo=a}}function Po(){return!1!==Xr?.consumerAllowSignalWrites}function Ws(r){r.dirty=!0,Oo(r),r.consumerMarkedDirty?.(r)}function eo(r){return r&&(r.nextProducerIndex=0),ta(r)}function Va(r,a){if(ta(a),r&&void 0!==r.producerNode&&void 0!==r.producerIndexOfThis&&void 0!==r.producerLastReadVersion){if(sn(r))for(let h=r.nextProducerIndex;h<r.producerNode.length;h++)Bo(r.producerNode[h],r.producerIndexOfThis[h]);for(;r.producerNode.length>r.nextProducerIndex;)r.producerNode.pop(),r.producerLastReadVersion.pop(),r.producerIndexOfThis.pop()}}function Es(r){Uo(r);for(let a=0;a<r.producerNode.length;a++){const h=r.producerNode[a],w=r.producerLastReadVersion[a];if(w!==h.version||(ns(h),w!==h.version))return!0}return!1}function ia(r){if(Uo(r),sn(r))for(let a=0;a<r.producerNode.length;a++)Bo(r.producerNode[a],r.producerIndexOfThis[a]);r.producerNode.length=r.producerLastReadVersion.length=r.producerIndexOfThis.length=0,r.liveConsumerNode&&(r.liveConsumerNode.length=r.liveConsumerIndexOfThis.length=0)}function Ts(r,a,h){if(As(r),Uo(r),0===r.liveConsumerNode.length)for(let w=0;w<r.producerNode.length;w++)r.producerIndexOfThis[w]=Ts(r.producerNode[w],r,w);return r.liveConsumerIndexOfThis.push(h),r.liveConsumerNode.push(a)-1}function Bo(r,a){if(As(r),Uo(r),1===r.liveConsumerNode.length)for(let w=0;w<r.producerNode.length;w++)Bo(r.producerNode[w],r.producerIndexOfThis[w]);const h=r.liveConsumerNode.length-1;if(r.liveConsumerNode[a]=r.liveConsumerNode[h],r.liveConsumerIndexOfThis[a]=r.liveConsumerIndexOfThis[h],r.liveConsumerNode.length--,r.liveConsumerIndexOfThis.length--,a<r.liveConsumerNode.length){const w=r.liveConsumerIndexOfThis[a],k=r.liveConsumerNode[a];Uo(k),k.producerIndexOfThis[w]=a}}function sn(r){return r.consumerIsAlwaysLive||(r?.liveConsumerNode?.length??0)>0}function Uo(r){r.producerNode??=[],r.producerIndexOfThis??=[],r.producerLastReadVersion??=[]}function As(r){r.liveConsumerNode??=[],r.liveConsumerIndexOfThis??=[]}function ds(r,a){const h=Object.create(cl);h.computation=r,a?.equal&&(h.equal=a.equal);const w=()=>{if(ns(h),is(h),h.value===fs)throw h.error;return h.value};return w[Bi]=h,w}const hs=Symbol("UNSET"),us=Symbol("COMPUTING"),fs=Symbol("ERRORED"),cl=(()=>({...za,value:hs,dirty:!0,error:null,equal:oo,producerMustRecompute:r=>r.value===hs||r.value===us,producerRecomputeValue(r){if(r.value===us)throw new Error("Detected cycle in computations.");const a=r.value;r.value=us;const h=eo(r);let w;try{w=r.computation()}catch(k){w=fs,r.error=k}finally{Va(r,h)}a!==hs&&a!==fs&&w!==fs&&r.equal(a,w)?r.value=a:(r.value=w,r.version++)}}))();let qi=function ir(){throw new Error};function Mr(){qi()}let Yi=null;function nr(r,a){const h=Object.create(so);function w(){return is(h),h.value}return h.value=r,a?.equal&&(h.equal=a.equal),w.set=Se,w.update=Ot,w.mutate=ce,w.asReadonly=ht,w[Bi]=h,w}const so=(()=>({...za,equal:oo,readonlyFn:void 0}))();function Ys(r){r.version++,Oo(r),Yi?.()}function Se(r){const a=this[Bi];Po()||Mr(),a.equal(a.value,r)||(a.value=r,Ys(a))}function Ot(r){Po()||Mr(),Se.call(this,r(this[Bi].value))}function ce(r){const a=this[Bi];Po()||Mr(),r(a.value),Ys(a)}function ht(){const r=this[Bi];if(void 0===r.readonlyFn){const a=()=>this();a[Bi]=r,r.readonlyFn=a}return r.readonlyFn}function ii(r){const a=ta(null);try{return r()}finally{ta(a)}}const dt=()=>{},_t=(()=>({...za,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:r=>{r.schedule(r.ref)},hasRun:!1,cleanupFn:dt}))();class Xt{constructor(a,h,w){this.previousValue=a,this.currentValue=h,this.firstChange=w}isFirstChange(){return this.firstChange}}function ci(){return di}function di(r){return r.type.prototype.ngOnChanges&&(r.setInput=Ii),Ti}function Ti(){const r=Xi(this),a=r?.current;if(a){const h=r.previous;if(h===Ut)r.previous=a;else for(let w in a)h[w]=a[w];r.current=null,this.ngOnChanges(a)}}function Ii(r,a,h,w){const k=this.declaredInputs[h],G=Xi(r)||function ln(r,a){return r[Ji]=a}(r,{previous:Ut,current:null}),$=G.current||(G.current={}),_e=G.previous,Ie=_e[k];$[k]=new Xt(Ie&&Ie.currentValue,a,_e===Ut),r[w]=a}ci.ngInherit=!0;const Ji="__ngSimpleChanges__";function Xi(r){return r[Ji]||null}const Mn=function(r,a,h){},jr="svg";function Bn(r){for(;Array.isArray(r);)r=r[tr];return r}function ua(r,a){return Bn(a[r])}function Ir(r,a){return Bn(a[r.index])}function Go(r,a){return r.data[a]}function lo(r,a){return r[a]}function wa(r,a){const h=a[r];return Fr(h)?h:h[tr]}function Ba(r,a){return null==a?null:r[a]}function Bl(r){r[Ya]=0}function d2(r){1024&r[vn]||(r[vn]|=1024,Ul(r,1))}function j1(r){1024&r[vn]&&(r[vn]&=-1025,Ul(r,-1))}function Ul(r,a){let h=r[zn];if(null===h)return;h[Wa]+=a;let w=h;for(h=h[zn];null!==h&&(1===a&&1===w[Wa]||-1===a&&0===w[Wa]);)h[Wa]+=a,w=h,h=h[zn]}function ll(r,a){if(256==(256&r[vn]))throw new X(911,!1);null===r[va]&&(r[va]=[]),r[va].push(a)}const kn={lFrame:qs(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function K1(){return kn.bindingsEnabled}function ho(){return null!==kn.skipHydrationRootTNode}function Vi(){return kn.lFrame.lView}function dr(){return kn.lFrame.tView}function Yl(r){return kn.lFrame.contextLView=r,r[or]}function dl(r){return kn.lFrame.contextLView=null,r}function Ma(){let r=jl();for(;null!==r&&64===r.type;)r=r.parent;return r}function jl(){return kn.lFrame.currentTNode}function _o(r,a){const h=kn.lFrame;h.currentTNode=r,h.isParent=a}function kc(){return kn.lFrame.isParent}function fc(){kn.lFrame.isParent=!1}function wr(){const r=kn.lFrame;let a=r.bindingRootIndex;return-1===a&&(a=r.bindingRootIndex=r.tView.bindingStartIndex),a}function Kr(){return kn.lFrame.bindingIndex}function Fe(){return kn.lFrame.bindingIndex++}function me(r){const a=kn.lFrame,h=a.bindingIndex;return a.bindingIndex=a.bindingIndex+r,h}function zt(r,a){const h=kn.lFrame;h.bindingIndex=h.bindingRootIndex=r,bi(a)}function bi(r){kn.lFrame.currentDirectiveIndex=r}function _i(r){const a=kn.lFrame.currentDirectiveIndex;return-1===a?null:r[a]}function Zi(){return kn.lFrame.currentQueryIndex}function bn(r){kn.lFrame.currentQueryIndex=r}function sr(r){const a=r[rn];return 2===a.type?a.declTNode:1===a.type?r[yr]:null}function wn(r,a,h){if(h&at.SkipSelf){let k=a,G=r;for(;!(k=k.parent,null!==k||h&at.Host||(k=sr(G),null===k||(G=G[Ia],10&k.type))););if(null===k)return!1;a=k,r=G}const w=kn.lFrame=No();return w.currentTNode=a,w.lView=r,!0}function uo(r){const a=No(),h=r[rn];kn.lFrame=a,a.currentTNode=h.firstChild,a.lView=r,a.tView=h,a.contextLView=r,a.bindingIndex=h.bindingStartIndex,a.inI18n=!1}function No(){const r=kn.lFrame,a=null===r?null:r.child;return null===a?qs(r):a}function qs(r){const a={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:r,child:null,inI18n:!1};return null!==r&&(r.child=a),a}function hl(){const r=kn.lFrame;return kn.lFrame=r.parent,r.currentTNode=null,r.lView=null,r}const Ls=hl;function pc(){const r=hl();r.isParent=!0,r.tView=null,r.selectedIndex=-1,r.contextLView=null,r.elementDepthCount=0,r.currentDirectiveIndex=-1,r.currentNamespace=null,r.bindingRootIndex=-1,r.bindingIndex=-1,r.currentQueryIndex=0}function Ua(){return kn.lFrame.selectedIndex}function Is(r){kn.lFrame.selectedIndex=r}function kr(){const r=kn.lFrame;return Go(r.tView,r.selectedIndex)}function ul(){kn.lFrame.currentNamespace=jr}function gc(){!function q1(){kn.lFrame.currentNamespace=null}()}let J1=!0;function Oc(){return J1}function ps(r){J1=r}function vo(r,a){for(let h=a.directiveStart,w=a.directiveEnd;h<w;h++){const G=r.data[h].type.prototype,{ngAfterContentInit:$,ngAfterContentChecked:_e,ngAfterViewInit:Ie,ngAfterViewChecked:lt,ngOnDestroy:Pt}=G;$&&(r.contentHooks??=[]).push(-h,$),_e&&((r.contentHooks??=[]).push(h,_e),(r.contentCheckHooks??=[]).push(h,_e)),Ie&&(r.viewHooks??=[]).push(-h,Ie),lt&&((r.viewHooks??=[]).push(h,lt),(r.viewCheckHooks??=[]).push(h,lt)),null!=Pt&&(r.destroyHooks??=[]).push(h,Pt)}}function Wo(r,a,h){Pc(r,a,3,h)}function Yo(r,a,h,w){(3&r[vn])===h&&Pc(r,a,h,w)}function fl(r,a){let h=r[vn];(3&h)===a&&(h&=8191,h+=1,r[vn]=h)}function Pc(r,a,h,w){const G=w??-1,$=a.length-1;let _e=0;for(let Ie=void 0!==w?65535&r[Ya]:0;Ie<$;Ie++)if("number"==typeof a[Ie+1]){if(_e=a[Ie],null!=w&&_e>=w)break}else a[Ie]<0&&(r[Ya]+=65536),(_e<G||-1==G)&&(X1(r,h,a,Ie),r[Ya]=(4294901760&r[Ya])+Ie+2),Ie++}function Ql(r,a){Mn(4,r,a);const h=ta(null);try{a.call(r)}finally{ta(h),Mn(5,r,a)}}function X1(r,a,h,w){const k=h[w]<0,G=h[w+1],_e=r[k?-h[w]:h[w]];k?r[vn]>>13<r[Ya]>>16&&(3&r[vn])===a&&(r[vn]+=8192,Ql(_e,G)):Ql(_e,G)}const Xs=-1;class ra{constructor(a,h,w){this.factory=a,this.resolving=!1,this.canSeeViewProviders=h,this.injectImpl=w}}function ml(r){return r!==Xs}function Jl(r){return 32767&r}function Xl(r,a){let h=function p2(r){return r>>16}(r),w=a;for(;h>0;)w=w[Ia],h--;return w}let pl=!0;function ed(r){const a=pl;return pl=r,a}const g2=255,td=5;let X0=0;const fo={};function $l(r,a){const h=rd(r,a);if(-1!==h)return h;const w=a[rn];w.firstCreatePass&&(r.injectorIndex=a.length,nd(w.data,r),nd(a,null),nd(w.blueprint,null));const k=Os(r,a),G=r.injectorIndex;if(ml(k)){const $=Jl(k),_e=Xl(k,a),Ie=_e[rn].data;for(let lt=0;lt<8;lt++)a[G+lt]=_e[$+lt]|Ie[$+lt]}return a[G+8]=k,G}function nd(r,a){r.push(0,0,0,0,0,0,0,0,a)}function rd(r,a){return-1===r.injectorIndex||r.parent&&r.parent.injectorIndex===r.injectorIndex||null===a[r.injectorIndex+8]?-1:r.injectorIndex}function Os(r,a){if(r.parent&&-1!==r.parent.injectorIndex)return r.parent.injectorIndex;let h=0,w=null,k=a;for(;null!==k;){if(w=x2(k),null===w)return Xs;if(h++,k=k[Ia],-1!==w.injectorIndex)return w.injectorIndex|h<<16}return Xs}function ec(r,a,h){!function id(r,a,h){let w;"string"==typeof h?w=h.charCodeAt(0)||0:h.hasOwnProperty(Si)&&(w=h[Si]),null==w&&(w=h[Si]=X0++);const k=w&g2;a.data[r+(k>>td)]|=1<<k}(r,a,h)}function _r(r,a,h){if(h&at.Optional||void 0!==r)return r;i()}function e1(r,a,h,w){if(h&at.Optional&&void 0===w&&(w=null),!(h&(at.Self|at.Host))){const k=r[Rr],G=xt(void 0);try{return k?k.get(a,w,h&at.Optional):ct(a,w,h&at.Optional)}finally{xt(G)}}return _r(w,0,h)}function $0(r,a,h,w=at.Default,k){if(null!==r){if(2048&a[vn]&&!(w&at.Self)){const $=function sf(r,a,h,w,k){let G=r,$=a;for(;null!==G&&null!==$&&2048&$[vn]&&!(512&$[vn]);){const _e=eh(G,$,h,w|at.Self,fo);if(_e!==fo)return _e;let Ie=G.parent;if(!Ie){const lt=$[$a];if(lt){const Pt=lt.get(h,fo,w);if(Pt!==fo)return Pt}Ie=x2($),$=$[Ia]}G=Ie}return k}(r,a,h,w,fo);if($!==fo)return $}const G=eh(r,a,h,w,fo);if(G!==fo)return G}return e1(a,h,w,k)}function eh(r,a,h,w,k){const G=function _c(r){if("string"==typeof r)return r.charCodeAt(0)||0;const a=r.hasOwnProperty(Si)?r[Si]:void 0;return"number"==typeof a?a>=0?a&g2:v2:a}(h);if("function"==typeof G){if(!wn(a,r,w))return w&at.Host?_r(k,0,w):e1(a,h,w,k);try{let $;if($=G(w),null!=$||w&at.Optional)return $;i()}finally{Ls()}}else if("number"==typeof G){let $=null,_e=rd(r,a),Ie=Xs,lt=w&at.Host?a[lr][yr]:null;for((-1===_e||w&at.SkipSelf)&&(Ie=-1===_e?Os(r,a):a[_e+8],Ie!==Xs&&_2(w,!1)?($=a[rn],_e=Jl(Ie),a=Xl(Ie,a)):_e=-1);-1!==_e;){const Pt=a[rn];if(od(G,_e,Pt.data)){const ti=th(_e,a,h,$,w,lt);if(ti!==fo)return ti}Ie=a[_e+8],Ie!==Xs&&_2(w,a[rn].data[_e+8]===lt)&&od(G,_e,a)?($=Pt,_e=Jl(Ie),a=Xl(Ie,a)):_e=-1}}return k}function th(r,a,h,w,k,G){const $=a[rn],_e=$.data[r+8],Pt=ad(_e,$,h,null==w?It(_e)&&pl:w!=$&&0!=(3&_e.type),k&at.Host&&G===_e);return null!==Pt?Rc(a,$,Pt,_e):fo}function ad(r,a,h,w,k){const G=r.providerIndexes,$=a.data,_e=1048575&G,Ie=r.directiveStart,Pt=G>>20,mi=k?_e+Pt:r.directiveEnd;for(let Ci=w?_e:_e+Pt;Ci<mi;Ci++){const Pi=$[Ci];if(Ci<Ie&&h===Pi||Ci>=Ie&&Pi.type===h)return Ci}if(k){const Ci=$[Ie];if(Ci&&St(Ci)&&Ci.type===h)return Ie}return null}function Rc(r,a,h,w){let k=r[h];const G=a.data;if(function ql(r){return r instanceof ra}(k)){const $=k;$.resolving&&function te(r,a){const h=a?`. Dependency path: ${a.join(" > ")} > ${r}`:"";throw new X(-200,`Circular dependency in DI detected for ${r}${h}`)}(function de(r){return"function"==typeof r?r.name||r.toString():"object"==typeof r&&null!=r&&"function"==typeof r.type?r.type.name||r.type.toString():ie(r)}(G[h]));const _e=ed($.canSeeViewProviders);$.resolving=!0;const lt=$.injectImpl?xt($.injectImpl):null;wn(r,w,at.Default);try{k=r[h]=$.factory(void 0,G,r,w),a.firstCreatePass&&h>=w.directiveStart&&function ks(r,a,h){const{ngOnChanges:w,ngOnInit:k,ngDoCheck:G}=a.type.prototype;if(w){const $=di(a);(h.preOrderHooks??=[]).push(r,$),(h.preOrderCheckHooks??=[]).push(r,$)}k&&(h.preOrderHooks??=[]).push(0-r,k),G&&((h.preOrderHooks??=[]).push(r,G),(h.preOrderCheckHooks??=[]).push(r,G))}(h,G[h],a)}finally{null!==lt&&xt(lt),ed(_e),$.resolving=!1,Ls()}}return k}function od(r,a,h){return!!(h[a+(r>>td)]&1<<r)}function _2(r,a){return!(r&at.Self||r&at.Host&&a)}class bo{constructor(a,h){this._tNode=a,this._lView=h}get(a,h,w){return $0(this._tNode,this._lView,a,Kt(w),h)}}function v2(){return new bo(Ma(),Vi())}function b2(r){return si(()=>{const a=r.prototype.constructor,h=a[pi]||y2(a),w=Object.prototype;let k=Object.getPrototypeOf(r.prototype).constructor;for(;k&&k!==w;){const G=k[pi]||y2(k);if(G&&G!==h)return G;k=Object.getPrototypeOf(k)}return G=>new G})}function y2(r){return Y(r)?()=>{const a=y2(W(r));return a&&a()}:Fa(r)}function x2(r){const a=r[rn],h=a.type;return 2===h?a.declTNode:1===h?r[yr]:null}function C2(r){return function Nc(r,a){if("class"===a)return r.classes;if("style"===a)return r.styles;const h=r.attrs;if(h){const w=h.length;let k=0;for(;k<w;){const G=h[k];if(nn(G))break;if(0===G)k+=2;else if("number"==typeof G)for(k++;k<w&&"string"==typeof h[k];)k++;else{if(G===a)return h[k+1];k+=2}}}return null}(Ma(),r)}const gl="__parameters__";function bc(r,a,h){return si(()=>{const w=function w2(r){return function(...h){if(r){const w=r(...h);for(const k in w)this[k]=w[k]}}}(a);function k(...G){if(this instanceof k)return w.apply(this,G),this;const $=new k(...G);return _e.annotation=$,_e;function _e(Ie,lt,Pt){const ti=Ie.hasOwnProperty(gl)?Ie[gl]:Object.defineProperty(Ie,gl,{value:[]})[gl];for(;ti.length<=Pt;)ti.push(null);return(ti[Pt]=ti[Pt]||[]).push($),Ie}}return h&&(k.prototype=Object.create(h.prototype)),k.prototype.ngMetadataName=r,k.annotationCls=k,k})}function gs(r,a){r.forEach(h=>Array.isArray(h)?gs(h,a):a(h))}function o1(r,a,h){a>=r.length?r.push(h):r.splice(a,0,h)}function zc(r,a){return a>=r.length-1?r.pop():r.splice(a,1)[0]}function yc(r,a){const h=[];for(let w=0;w<r;w++)h.push(a);return h}function To(r,a,h){let w=xc(r,a);return w>=0?r[1|w]=h:(w=~w,function vl(r,a,h,w){let k=r.length;if(k==a)r.push(h,w);else if(1===k)r.push(w,r[0]),r[0]=h;else{for(k--,r.push(r[k-1],r[k]);k>a;)r[k]=r[k-2],k--;r[a]=h,r[a+1]=w}}(r,w,a,h)),w}function tc(r,a){const h=xc(r,a);if(h>=0)return r[1|h]}function xc(r,a){return function sh(r,a,h){let w=0,k=r.length>>h;for(;k!==w;){const G=w+(k-w>>1),$=r[G<<h];if(a===$)return G<<h;$>a?k=G:w=G+1}return~(k<<h)}(r,a,1)}const Vc=Bt(bc("Inject",r=>({token:r})),-1),vs=Bt(bc("Optional"),8),Cc=Bt(bc("SkipSelf"),4);function _1(r){return 128==(128&r.flags)}var v1=function(r){return r[r.Important=1]="Important",r[r.DashCase=2]="DashCase",r}(v1||{});const gh=/^>|^->|<!--|-->|--!>|<!-$/g,_h=/(<|>)/g,vh="\u200b$1\u200b";const b1=new Map;let bh=0;const gd="__ngContext__";function to(r,a){Fr(a)?(r[gd]=a[ca],function yh(r){b1.set(r[ca],r)}(a)):r[gd]=a}let y1;function yd(r,a){return y1(r,a)}function Gc(r){const a=r[zn];return ur(a)?a[zn]:a}function U2(r){return Th(r[qr])}function G2(r){return Th(r[er])}function Th(r){for(;null!==r&&!ur(r);)r=r[er];return r}function Zc(r,a,h,w,k){if(null!=w){let G,$=!1;ur(w)?G=w:Fr(w)&&($=!0,w=w[tr]);const _e=Bn(w);0===r&&null!==h?null==k?Oh(a,h,_e):bs(a,h,_e,k||null,!0):1===r&&null!==h?bs(a,h,_e,k||null,!0):2===r?function Yc(r,a,h){const w=El(r,a);w&&function Ph(r,a,h,w){r.removeChild(a,h,w)}(r,w,a,h)}(a,_e,$):3===r&&a.destroyNode(_e),null!=G&&function Nh(r,a,h,w,k){const G=h[da];G!==Bn(h)&&Zc(a,r,w,G,k);for(let _e=qn;_e<h.length;_e++){const Ie=h[_e];Rs(Ie[rn],Ie,r,a,w,G)}}(a,r,G,h,k)}}function W2(r,a){return r.createComment(function O2(r){return r.replace(gh,a=>a.replace(_h,vh))}(a))}function Ta(r,a,h){return r.createElement(a,h)}function xd(r,a){const h=r[ya],w=h.indexOf(a);j1(a),h.splice(w,1)}function Sl(r,a){if(r.length<=qn)return;const h=qn+a,w=r[h];if(w){const k=w[Hr];null!==k&&k!==r&&xd(k,w),a>0&&(r[h-1][er]=w[er]);const G=zc(r,qn+a);!function Y2(r,a){Rs(r,a,a[yn],2,null,null),a[tr]=null,a[yr]=null}(w[rn],w);const $=G[Zr];null!==$&&$.detachView(G[rn]),w[zn]=null,w[er]=null,w[vn]&=-129}return w}function ic(r,a){if(!(256&a[vn])){const h=a[yn];a[ba]&&ia(a[ba]),a[xr]&&ia(a[xr]),h.destroyNode&&Rs(r,a,h,3,null,null),function j2(r){let a=r[qr];if(!a)return C1(r[rn],r);for(;a;){let h=null;if(Fr(a))h=a[qr];else{const w=a[qn];w&&(h=w)}if(!h){for(;a&&!a[er]&&a!==r;)Fr(a)&&C1(a[rn],a),a=a[zn];null===a&&(a=r),Fr(a)&&C1(a[rn],a),h=a&&a[er]}a=h}}(a)}}function C1(r,a){if(!(256&a[vn])){a[vn]&=-129,a[vn]|=256,function kh(r,a){let h;if(null!=r&&null!=(h=r.destroyHooks))for(let w=0;w<h.length;w+=2){const k=a[h[w]];if(!(k instanceof ra)){const G=h[w+1];if(Array.isArray(G))for(let $=0;$<G.length;$+=2){const _e=k[G[$]],Ie=G[$+1];Mn(4,_e,Ie);try{Ie.call(_e)}finally{Mn(5,_e,Ie)}}else{Mn(4,k,G);try{G.call(k)}finally{Mn(5,k,G)}}}}}(r,a),function Ih(r,a){const h=r.cleanup,w=a[_a];if(null!==h)for(let G=0;G<h.length-1;G+=2)if("string"==typeof h[G]){const $=h[G+3];$>=0?w[$]():w[-$].unsubscribe(),G+=2}else h[G].call(w[h[G+1]]);null!==w&&(a[_a]=null);const k=a[va];if(null!==k){a[va]=null;for(let G=0;G<k.length;G++)(0,k[G])()}}(r,a),1===a[rn].type&&a[yn].destroy();const h=a[Hr];if(null!==h&&ur(a[zn])){h!==a[zn]&&xd(h,a);const w=a[Zr];null!==w&&w.detachView(r)}!function xh(r){b1.delete(r[ca])}(a)}}function w1(r,a,h){return function io(r,a,h){let w=a;for(;null!==w&&40&w.type;)w=(a=w).parent;if(null===w)return h[tr];{const{componentOffset:k}=w;if(k>-1){const{encapsulation:G}=r.data[w.directiveStart+k];if(G===xi.None||G===xi.Emulated)return null}return Ir(w,h)}}(r,a.parent,h)}function bs(r,a,h,w,k){r.insertBefore(a,h,w,k)}function Oh(r,a,h){r.appendChild(a,h)}function M1(r,a,h,w,k){null!==w?bs(r,a,h,w,k):Oh(r,a,h)}function El(r,a){return r.parentNode(a)}function Cd(r,a,h){return J2(r,a,h)}let S1,wc,wd,L1,J2=function q2(r,a,h){return 40&r.type?Ir(r,h):null};function Wc(r,a,h,w){const k=w1(r,w,a),G=a[yn],_e=Cd(w.parent||a[yr],w,a);if(null!=k)if(Array.isArray(h))for(let Ie=0;Ie<h.length;Ie++)M1(G,k,h[Ie],_e,!1);else M1(G,k,h,_e,!1);void 0!==S1&&S1(G,w,a,h,k)}function Tl(r,a){if(null!==a){const h=a.type;if(3&h)return Ir(a,r);if(4&h)return E1(-1,r[a.index]);if(8&h){const w=a.child;if(null!==w)return Tl(r,w);{const k=r[a.index];return ur(k)?E1(-1,k):Bn(k)}}if(32&h)return yd(a,r)()||Bn(r[a.index]);{const w=X2(r,a);return null!==w?Array.isArray(w)?w[0]:Tl(Gc(r[lr]),w):Tl(r,a.next)}}return null}function X2(r,a){return null!==a?r[lr][yr].projection[a.projection]:null}function E1(r,a){const h=qn+r+1;if(h<a.length){const w=a[h],k=w[rn].firstChild;if(null!==k)return Tl(w,k)}return a[da]}function T1(r,a,h,w,k,G,$){for(;null!=h;){const _e=w[h.index],Ie=h.type;if($&&0===a&&(_e&&to(Bn(_e),w),h.flags|=2),32!=(32&h.flags))if(8&Ie)T1(r,a,h.child,w,k,G,!1),Zc(a,r,k,_e,G);else if(32&Ie){const lt=yd(h,w);let Pt;for(;Pt=lt();)Zc(a,r,k,Pt,G);Zc(a,r,k,_e,G)}else 16&Ie?e0(r,a,w,h,k,G):Zc(a,r,k,_e,G);h=$?h.projectionNext:h.next}}function Rs(r,a,h,w,k,G){T1(h,w,r.firstChild,a,k,G,!1)}function e0(r,a,h,w,k,G){const $=h[lr],Ie=$[yr].projection[w.projection];if(Array.isArray(Ie))for(let lt=0;lt<Ie.length;lt++)Zc(a,r,k,Ie[lt],G);else{let lt=Ie;const Pt=$[zn];_1(w)&&(lt.flags|=128),T1(r,a,lt,Pt,k,G,!0)}}function n0(r,a,h){""===h?r.removeAttribute(a,"class"):r.setAttribute(a,"class",h)}function A1(r,a,h){const{mergedAttrs:w,classes:k,styles:G}=h;null!==w&&Ui(r,a,w),null!==k&&n0(r,a,k),null!==G&&function t0(r,a,h){r.setAttribute(a,"style",h)}(r,a,G)}function yo(r){return function Mc(){if(void 0===wc&&(wc=null,Ct.trustedTypes))try{wc=Ct.trustedTypes.createPolicy("angular",{createHTML:r=>r,createScript:r=>r,createScriptURL:r=>r})}catch{}return wc}()?.createHTML(r)||r}function Fh(r){wd=r}function rc(){if(void 0!==wd)return wd;if(typeof document<"u")return document;throw new X(210,!1)}function I1(){if(void 0===L1&&(L1=null,Ct.trustedTypes))try{L1=Ct.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:r=>r,createScript:r=>r,createScriptURL:r=>r})}catch{}return L1}function Md(r){return I1()?.createHTML(r)||r}function Ed(r){return I1()?.createScriptURL(r)||r}class Hs{constructor(a){this.changingThisBreaksApplicationSecurity=a}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ne})`}}class zh extends Hs{getTypeName(){return"HTML"}}class k1 extends Hs{getTypeName(){return"Style"}}class Td extends Hs{getTypeName(){return"Script"}}class r0 extends Hs{getTypeName(){return"URL"}}class Vh extends Hs{getTypeName(){return"ResourceURL"}}function Fs(r){return r instanceof Hs?r.changingThisBreaksApplicationSecurity:r}function Sc(r,a){const h=function Bh(r){return r instanceof Hs&&r.getTypeName()||null}(r);if(null!=h&&h!==a){if("ResourceURL"===h&&"URL"===a)return!0;throw new Error(`Required a safe ${a}, got a ${h} (see ${ne})`)}return h===a}function Uh(r){return new zh(r)}function ac(r){return new k1(r)}function a0(r){return new Td(r)}function O1(r){return new r0(r)}function wf(r){return new Vh(r)}class o0{constructor(a){this.inertDocumentHelper=a}getInertBodyElement(a){a="<body><remove></remove>"+a;try{const h=(new window.DOMParser).parseFromString(yo(a),"text/html").body;return null===h?this.inertDocumentHelper.getInertBodyElement(a):(h.removeChild(h.firstChild),h)}catch{return null}}}class s0{constructor(a){this.defaultDoc=a,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(a){const h=this.inertDocument.createElement("template");return h.innerHTML=yo(a),h}}const Ad=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Kc(r){return(r=String(r)).match(Ad)?r:"unsafe:"+r}function xo(r){const a={};for(const h of r.split(","))a[h]=!0;return a}function Qc(...r){const a={};for(const h of r)for(const w in h)h.hasOwnProperty(w)&&(a[w]=!0);return a}const Dd=xo("area,br,col,hr,img,wbr"),Gh=xo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),l0=xo("rp,rt"),Ld=Qc(Dd,Qc(Gh,xo("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")),Qc(l0,xo("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")),Qc(l0,Gh)),Id=xo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),d0=Qc(Id,xo("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"),xo("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")),Yh=xo("script,style,template");class kd{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(a){let h=a.firstChild,w=!0;for(;h;)if(h.nodeType===Node.ELEMENT_NODE?w=this.startElement(h):h.nodeType===Node.TEXT_NODE?this.chars(h.nodeValue):this.sanitizedSomething=!0,w&&h.firstChild)h=h.firstChild;else for(;h;){h.nodeType===Node.ELEMENT_NODE&&this.endElement(h);let k=this.checkClobberedElement(h,h.nextSibling);if(k){h=k;break}h=this.checkClobberedElement(h,h.parentNode)}return this.buf.join("")}startElement(a){const h=a.nodeName.toLowerCase();if(!Ld.hasOwnProperty(h))return this.sanitizedSomething=!0,!Yh.hasOwnProperty(h);this.buf.push("<"),this.buf.push(h);const w=a.attributes;for(let k=0;k<w.length;k++){const G=w.item(k),$=G.name,_e=$.toLowerCase();if(!d0.hasOwnProperty(_e)){this.sanitizedSomething=!0;continue}let Ie=G.value;Id[_e]&&(Ie=Kc(Ie)),this.buf.push(" ",$,'="',Od(Ie),'"')}return this.buf.push(">"),!0}endElement(a){const h=a.nodeName.toLowerCase();Ld.hasOwnProperty(h)&&!Dd.hasOwnProperty(h)&&(this.buf.push("</"),this.buf.push(h),this.buf.push(">"))}chars(a){this.buf.push(Od(a))}checkClobberedElement(a,h){if(h&&(a.compareDocumentPosition(h)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${a.outerHTML}`);return h}}const h0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u0=/([^\#-~ |!])/g;function Od(r){return r.replace(/&/g,"&amp;").replace(h0,function(a){return"&#"+(1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320)+65536)+";"}).replace(u0,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Dl;function qc(r,a){let h=null;try{Dl=Dl||function jc(r){const a=new s0(r);return function c0(){try{return!!(new window.DOMParser).parseFromString(yo(""),"text/html")}catch{return!1}}()?new o0(a):a}(r);let w=a?String(a):"";h=Dl.getInertBodyElement(w);let k=5,G=w;do{if(0===k)throw new Error("Failed to sanitize html because the input is unstable");k--,w=G,G=h.innerHTML,h=Dl.getInertBodyElement(w)}while(w!==G);return yo((new kd).sanitizeChildren(P1(h)||h))}finally{if(h){const w=P1(h)||h;for(;w.firstChild;)w.removeChild(w.firstChild)}}}function P1(r){return"content"in r&&function jh(r){return r.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===r.nodeName}(r)?r.content:null}var Ec=function(r){return r[r.NONE=0]="NONE",r[r.HTML=1]="HTML",r[r.STYLE=2]="STYLE",r[r.SCRIPT=3]="SCRIPT",r[r.URL=4]="URL",r[r.RESOURCE_URL=5]="RESOURCE_URL",r}(Ec||{});function Pd(r){const a=U();return a?Md(a.sanitize(Ec.HTML,r)||""):Sc(r,"HTML")?Md(Fs(r)):qc(rc(),ie(r))}function Nd(r){const a=U();return a?a.sanitize(Ec.URL,r)||"":Sc(r,"URL")?Fs(r):Kc(ie(r))}function Rd(r){const a=U();if(a)return Ed(a.sanitize(Ec.RESOURCE_URL,r)||"");if(Sc(r,"ResourceURL"))return Ed(Fs(r));throw new X(904,!1)}function N(r,a,h){return function qh(r,a){return"src"===a&&("embed"===r||"frame"===r||"iframe"===r||"media"===r||"script"===r)||"href"===a&&("base"===r||"link"===r)?Rd:Nd}(a,h)(r)}function U(){const r=Vi();return r&&r[Sr].sanitizer}class Z{constructor(a,h){this._desc=a,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof h?this.__NG_ELEMENT_ID__=h:void 0!==h&&(this.\u0275prov=xe({token:this,providedIn:h.providedIn||"root",factory:h.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Re=new Z("ENVIRONMENT_INITIALIZER"),Vt=new Z("INJECTOR",-1),ei=new Z("INJECTOR_DEF_TYPES");class fi{get(a,h=Te){if(h===Te){const w=new Error(`NullInjectorError: No provider for ${I(a)}!`);throw w.name="NullInjectorError",w}return h}}function Ei(r){return{\u0275providers:r}}function an(...r){return{\u0275providers:ji(0,r),\u0275fromNgModule:!0}}function ji(r,...a){const h=[],w=new Set;let k;const G=$=>{h.push($)};return gs(a,$=>{const _e=$;On(_e,G,[],w)&&(k||=[],k.push(_e))}),void 0!==k&&Un(k,G),h}function Un(r,a){for(let h=0;h<r.length;h++){const{ngModule:w,providers:k}=r[h];In(k,G=>{a(G,w)})}}function On(r,a,h,w){if(!(r=W(r)))return!1;let k=null,G=fe(r);const $=!G&&_n(r);if(G||$){if($&&!$.standalone)return!1;k=r}else{const Ie=r.ngModule;if(G=fe(Ie),!G)return!1;k=Ie}const _e=w.has(k);if($){if(_e)return!1;if(w.add(k),$.dependencies){const Ie="function"==typeof $.dependencies?$.dependencies():$.dependencies;for(const lt of Ie)On(lt,a,h,w)}}else{if(!G)return!1;{if(null!=G.imports&&!_e){let lt;w.add(k);try{gs(G.imports,Pt=>{On(Pt,a,h,w)&&(lt||=[],lt.push(Pt))})}finally{}void 0!==lt&&Un(lt,a)}if(!_e){const lt=Fa(k)||(()=>new k);a({provide:k,useFactory:lt,deps:bt},k),a({provide:ei,useValue:k,multi:!0},k),a({provide:Re,useValue:()=>Lt(k),multi:!0},k)}const Ie=G.providers;if(null!=Ie&&!_e){const lt=r;In(Ie,Pt=>{a(Pt,lt)})}}}return k!==r&&void 0!==r.providers}function In(r,a){for(let h of r)Q(h)&&(h=h.\u0275providers),Array.isArray(h)?In(h,a):a(h)}const Cr=S({provide:String,useValue:S});function $r(r){return null!==r&&"object"==typeof r&&Cr in r}function aa(r){return"function"==typeof r}const jo=new Z("Set Injector scope."),ja={},as={};let os;function Ko(){return void 0===os&&(os=new fi),os}class Qo{}class oc extends Qo{get destroyed(){return this._destroyed}constructor(a,h,w,k){super(),this.parent=h,this.source=w,this.scopes=k,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,qo(a,$=>this.processProvider($)),this.records.set(Vt,xn(void 0,this)),k.has("environment")&&this.records.set(Qo,xn(void 0,this));const G=this.records.get(jo);null!=G&&"string"==typeof G.value&&this.scopes.add(G.value),this.injectorDefTypes=new Set(this.get(ei.multi,bt,at.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const h of this._ngOnDestroyHooks)h.ngOnDestroy();const a=this._onDestroyHooks;this._onDestroyHooks=[];for(const h of a)h()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(a){return this.assertNotDestroyed(),this._onDestroyHooks.push(a),()=>this.removeOnDestroy(a)}runInContext(a){this.assertNotDestroyed();const h=Ce(this),w=xt(void 0);try{return a()}finally{Ce(h),xt(w)}}get(a,h=Te,w=at.Default){if(this.assertNotDestroyed(),a.hasOwnProperty(Fi))return a[Fi](this);w=Kt(w);const G=Ce(this),$=xt(void 0);try{if(!(w&at.SkipSelf)){let Ie=this.records.get(a);if(void 0===Ie){const lt=function Ka(r){return"function"==typeof r||"object"==typeof r&&r instanceof Z}(a)&&ze(a);Ie=lt&&this.injectableDefInScope(lt)?xn(zs(a),ja):null,this.records.set(a,Ie)}if(null!=Ie)return this.hydrate(a,Ie)}return(w&at.Self?Ko():this.parent).get(a,h=w&at.Optional&&h===Te?null:h)}catch(_e){if("NullInjectorError"===_e.name){if((_e[Ze]=_e[Ze]||[]).unshift(I(a)),G)throw _e;return function nt(r,a,h,w){const k=r[Ze];throw a[mt]&&k.unshift(a[mt]),r.message=function Wt(r,a,h,w=null){r=r&&"\n"===r.charAt(0)&&"\u0275"==r.charAt(1)?r.slice(2):r;let k=I(a);if(Array.isArray(a))k=a.map(I).join(" -> ");else if("object"==typeof a){let G=[];for(let $ in a)if(a.hasOwnProperty($)){let _e=a[$];G.push($+":"+("string"==typeof _e?JSON.stringify(_e):I(_e)))}k=`{${G.join(", ")}}`}return`${h}${w?"("+w+")":""}[${k}]: ${r.replace(oi,"\n ")}`}("\n"+r.message,k,h,w),r.ngTokenPath=k,r[Ze]=null,r}(_e,a,"R3InjectorError",this.source)}throw _e}finally{xt($),Ce(G)}}resolveInjectorInitializers(){const a=Ce(this),h=xt(void 0);try{const k=this.get(Re.multi,bt,at.Self);for(const G of k)G()}finally{Ce(a),xt(h)}}toString(){const a=[],h=this.records;for(const w of h.keys())a.push(I(w));return`R3Injector[${a.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new X(205,!1)}processProvider(a){let h=aa(a=W(a))?a:W(a&&a.provide);const w=function m0(r){return $r(r)?xn(void 0,r.useValue):xn(un(r),ja)}(a);if(aa(a)||!0!==a.multi)this.records.get(h);else{let k=this.records.get(h);k||(k=xn(void 0,ja,!0),k.factory=()=>Xe(k.multi),this.records.set(h,k)),h=a,k.multi.push(a)}this.records.set(h,w)}hydrate(a,h){return h.value===ja&&(h.value=as,h.value=h.factory()),"object"==typeof h.value&&h.value&&function pr(r){return null!==r&&"object"==typeof r&&"function"==typeof r.ngOnDestroy}(h.value)&&this._ngOnDestroyHooks.add(h.value),h.value}injectableDefInScope(a){if(!a.providedIn)return!1;const h=W(a.providedIn);return"string"==typeof h?"any"===h||this.scopes.has(h):this.injectorDefTypes.has(h)}removeOnDestroy(a){const h=this._onDestroyHooks.indexOf(a);-1!==h&&this._onDestroyHooks.splice(h,1)}}function zs(r){const a=ze(r),h=null!==a?a.factory:Fa(r);if(null!==h)return h;if(r instanceof Z)throw new X(204,!1);if(r instanceof Function)return function Fd(r){const a=r.length;if(a>0)throw yc(a,"?"),new X(204,!1);const h=function ge(r){return r&&(r[Ge]||r[Ne])||null}(r);return null!==h?()=>h.factory(r):()=>new r}(r);throw new X(204,!1)}function un(r,a,h){let w;if(aa(r)){const k=W(r);return Fa(k)||zs(k)}if($r(r))w=()=>W(r.useValue);else if(function mo(r){return!(!r||!r.useFactory)}(r))w=()=>r.useFactory(...Xe(r.deps||[]));else if(function fa(r){return!(!r||!r.useExisting)}(r))w=()=>Lt(W(r.useExisting));else{const k=W(r&&(r.useClass||r.provide));if(!function Gn(r){return!!r.deps}(r))return Fa(k)||zs(k);w=()=>new k(...Xe(r.deps))}return w}function xn(r,a,h=!1){return{factory:r,value:a,multi:h?[]:void 0}}function qo(r,a){for(const h of r)Array.isArray(h)?qo(h,a):h&&Q(h)?qo(h.\u0275providers,a):a(h)}const Do=new Z("AppId",{providedIn:"root",factory:()=>sc}),sc="ng",zr=new Z("Platform Initializer"),N1=new Z("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Qa=new Z("AnimationModuleType"),Tc=new Z("CSP nonce",{providedIn:"root",factory:()=>rc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let w4=(r,a,h)=>null;function Wd(r,a,h=!1){return w4(r,a,h)}class d6{}class tu{}class f6{resolveComponentFactory(a){throw function h6(r){const a=Error(`No component factory found for ${I(r)}.`);return a.ngComponent=r,a}(a)}}let x0=(()=>{class r{static#e=this.NULL=new f6}return r})();function A4(){return Ll(Ma(),Vi())}function Ll(r,a){return new Yd(Ir(r,a))}let Yd=(()=>{class r{constructor(h){this.nativeElement=h}static#e=this.__NG_ELEMENT_ID__=A4}return r})();function m6(r){return r instanceof Yd?r.nativeElement:r}class D4{}let p6=(()=>{class r{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function L4(){const r=Vi(),h=wa(Ma().index,r);return(Fr(h)?h:r)[yn]}()}return r})(),I4=(()=>{class r{static#e=this.\u0275prov=xe({token:r,providedIn:"root",factory:()=>null})}return r})();class Of{constructor(a){this.full=a,this.major=a.split(".")[0],this.minor=a.split(".")[1],this.patch=a.split(".").slice(2).join(".")}}const k4=new Of("16.2.8"),Pf={};function C0(r){if(!De()&&!function ee(){return he}())throw new X(-203,!1)}function iu(r,a=null,h=null,w){const k=Vf(r,a,h,w);return k.resolveInjectorInitializers(),k}function Vf(r,a=null,h=null,w,k=new Set){const G=[h||bt,an(r)];return w=w||("object"==typeof r?void 0:I(r)),new oc(G,a||Ko(),w||null,k)}let Vs=(()=>{class r{static#e=this.THROW_IF_NOT_FOUND=Te;static#t=this.NULL=new fi;static create(h,w){if(Array.isArray(h))return iu({name:""},w,h,"");{const k=h.name??"";return iu({name:k},h.parent,h.providers,k)}}static#i=this.\u0275prov=xe({token:r,providedIn:"any",factory:()=>Lt(Vt)});static#n=this.__NG_ELEMENT_ID__=-1}return r})();function nu(r){return r.ngOriginalError}class $c{constructor(){this._console=console}handleError(a){const h=this._findOriginalError(a);this._console.error("ERROR",a),h&&this._console.error("ORIGINAL ERROR",h)}_findOriginalError(a){let h=a&&nu(a);for(;h&&nu(h);)h=nu(h);return h||null}}let jd=(()=>{class r{static#e=this.__NG_ELEMENT_ID__=R4;static#t=this.__NG_ENV_ID__=h=>h}return r})();class N4 extends jd{constructor(a){super(),this._lView=a}onDestroy(a){return ll(this._lView,a),()=>function Ic(r,a){if(null===r[va])return;const h=r[va].indexOf(a);-1!==h&&r[va].splice(h,1)}(this._lView,a)}}function R4(){return new N4(Vi())}function ru(r){return a=>{setTimeout(r,void 0,a)}}const Ac=class b6 extends e.x{constructor(a=!1){super(),this.__isAsync=a}emit(a){super.next(a)}subscribe(a,h,w){let k=a,G=h||(()=>null),$=w;if(a&&"object"==typeof a){const Ie=a;k=Ie.next?.bind(Ie),G=Ie.error?.bind(Ie),$=Ie.complete?.bind(Ie)}this.__isAsync&&(G=ru(G),k&&(k=ru(k)),$&&($=ru($)));const _e=super.subscribe({next:k,error:G,complete:$});return a instanceof t.w0&&a.add(_e),_e}};function au(...r){}class Co{constructor({enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:h=!1,shouldCoalesceRunChangeDetection:w=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ac(!1),this.onMicrotaskEmpty=new Ac(!1),this.onStable=new Ac(!1),this.onError=new Ac(!1),typeof Zone>"u")throw new X(908,!1);Zone.assertZonePatched();const k=this;k._nesting=0,k._outer=k._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(k._inner=k._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(k._inner=k._inner.fork(Zone.longStackTraceZoneSpec)),k.shouldCoalesceEventChangeDetection=!w&&h,k.shouldCoalesceRunChangeDetection=w,k.lastRequestAnimationFrameId=-1,k.nativeRequestAnimationFrame=function y6(){const r="function"==typeof Ct.requestAnimationFrame;let a=Ct[r?"requestAnimationFrame":"setTimeout"],h=Ct[r?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&a&&h){const w=a[Zone.__symbol__("OriginalDelegate")];w&&(a=w);const k=h[Zone.__symbol__("OriginalDelegate")];k&&(h=k)}return{nativeRequestAnimationFrame:a,nativeCancelAnimationFrame:h}}().nativeRequestAnimationFrame,function z4(r){const a=()=>{!function F4(r){r.isCheckStableRunning||-1!==r.lastRequestAnimationFrameId||(r.lastRequestAnimationFrameId=r.nativeRequestAnimationFrame.call(Ct,()=>{r.fakeTopEventTask||(r.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{r.lastRequestAnimationFrameId=-1,Gf(r),r.isCheckStableRunning=!0,Uf(r),r.isCheckStableRunning=!1},void 0,()=>{},()=>{})),r.fakeTopEventTask.invoke()}),Gf(r))}(r)};r._inner=r._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(h,w,k,G,$,_e)=>{if(function U4(r){return!(!Array.isArray(r)||1!==r.length)&&!0===r[0].data?.__ignore_ng_zone__}(_e))return h.invokeTask(k,G,$,_e);try{return Zf(r),h.invokeTask(k,G,$,_e)}finally{(r.shouldCoalesceEventChangeDetection&&"eventTask"===G.type||r.shouldCoalesceRunChangeDetection)&&a(),V4(r)}},onInvoke:(h,w,k,G,$,_e,Ie)=>{try{return Zf(r),h.invoke(k,G,$,_e,Ie)}finally{r.shouldCoalesceRunChangeDetection&&a(),V4(r)}},onHasTask:(h,w,k,G)=>{h.hasTask(k,G),w===k&&("microTask"==G.change?(r._hasPendingMicrotasks=G.microTask,Gf(r),Uf(r)):"macroTask"==G.change&&(r.hasPendingMacrotasks=G.macroTask))},onHandleError:(h,w,k,G)=>(h.handleError(k,G),r.runOutsideAngular(()=>r.onError.emit(G)),!1)})}(k)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Co.isInAngularZone())throw new X(909,!1)}static assertNotInAngularZone(){if(Co.isInAngularZone())throw new X(909,!1)}run(a,h,w){return this._inner.run(a,h,w)}runTask(a,h,w,k){const G=this._inner,$=G.scheduleEventTask("NgZoneEvent: "+k,a,H4,au,au);try{return G.runTask($,h,w)}finally{G.cancelTask($)}}runGuarded(a,h,w){return this._inner.runGuarded(a,h,w)}runOutsideAngular(a){return this._outer.run(a)}}const H4={};function Uf(r){if(0==r._nesting&&!r.hasPendingMicrotasks&&!r.isStable)try{r._nesting++,r.onMicrotaskEmpty.emit(null)}finally{if(r._nesting--,!r.hasPendingMicrotasks)try{r.runOutsideAngular(()=>r.onStable.emit(null))}finally{r.isStable=!0}}}function Gf(r){r.hasPendingMicrotasks=!!(r._hasPendingMicrotasks||(r.shouldCoalesceEventChangeDetection||r.shouldCoalesceRunChangeDetection)&&-1!==r.lastRequestAnimationFrameId)}function Zf(r){r._nesting++,r.isStable&&(r.isStable=!1,r.onUnstable.emit(null))}function V4(r){r._nesting--,Uf(r)}class C6{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ac,this.onMicrotaskEmpty=new Ac,this.onStable=new Ac,this.onError=new Ac}run(a,h,w){return a.apply(h,w)}runGuarded(a,h,w){return a.apply(h,w)}runOutsideAngular(a){return a()}runTask(a,h,w,k){return a.apply(h,w)}}const B4=new Z("",{providedIn:"root",factory:Wf});function Wf(){const r=Zt(Co);let a=!0;const h=new g.y(k=>{a=r.isStable&&!r.hasPendingMacrotasks&&!r.hasPendingMicrotasks,r.runOutsideAngular(()=>{k.next(a),k.complete()})}),w=new g.y(k=>{let G;r.runOutsideAngular(()=>{G=r.onStable.subscribe(()=>{Co.assertNotInAngularZone(),queueMicrotask(()=>{!a&&!r.hasPendingMacrotasks&&!r.hasPendingMicrotasks&&(a=!0,k.next(!0))})})});const $=r.onUnstable.subscribe(()=>{Co.assertInAngularZone(),a&&(a=!1,r.runOutsideAngular(()=>{k.next(!1)}))});return()=>{G.unsubscribe(),$.unsubscribe()}});return(0,T.T)(h,w.pipe((0,u.B)()))}function w0(r){return r.ownerDocument.defaultView}function cc(r){return r instanceof Function?r():r}let jf=(()=>{class r{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=xe({token:r,providedIn:"root",factory:()=>new r})}return r})();function qd(r){for(;r;){r[vn]|=64;const a=Gc(r);if(ai(r)&&!a)return r;r=a}return null}const Kf=new Z("",{providedIn:"root",factory:()=>!1});let S0=null;function Q4(r,a){return r[a]??J4()}function E0(r,a){const h=J4();h.producerNode?.length&&(r[a]=S0,h.lView=r,S0=q4())}const N6={...za,consumerIsAlwaysLive:!0,consumerMarkedDirty:r=>{qd(r.lView)},lView:null};function q4(){return Object.create(N6)}function J4(){return S0??=q4(),S0}const Xn={};function X4(r){qf(dr(),Vi(),Ua()+r,!1)}function qf(r,a,h,w){if(!w)if(3==(3&a[vn])){const G=r.preOrderCheckHooks;null!==G&&Wo(a,G,h)}else{const G=r.preOrderHooks;null!==G&&Yo(a,G,0,h)}Is(h)}function Jd(r,a=at.Default){const h=Vi();return null===h?Lt(r,a):$0(Ma(),h,W(r),a)}function ou(){throw new Error("invalid")}function su(r,a,h,w,k,G,$,_e,Ie,lt,Pt){const ti=a.blueprint.slice();return ti[tr]=k,ti[vn]=140|w,(null!==lt||r&&2048&r[vn])&&(ti[vn]|=2048),Bl(ti),ti[zn]=ti[Ia]=r,ti[or]=h,ti[Sr]=$||r&&r[Sr],ti[yn]=_e||r&&r[yn],ti[Rr]=Ie||r&&r[Rr]||null,ti[yr]=G,ti[ca]=function P2(){return bh++}(),ti[la]=Pt,ti[$a]=lt,ti[lr]=2==a.type?r[lr]:ti,ti}function Il(r,a,h,w,k){let G=r.data[a];if(null===G)G=function cu(r,a,h,w,k){const G=jl(),$=kc(),Ie=r.data[a]=function lu(r,a,h,w,k,G){let $=a?a.injectorIndex:-1,_e=0;return ho()&&(_e|=128),{type:h,index:w,insertBeforeIndex:null,injectorIndex:$,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:_e,providerIndexes:0,value:k,attrs:G,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:a,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,$?G:G&&G.parent,h,a,w,k);return null===r.firstChild&&(r.firstChild=Ie),null!==G&&($?null==G.child&&null!==Ie.parent&&(G.child=Ie):null===G.next&&(G.next=Ie,Ie.prev=G)),Ie}(r,a,h,w,k),function He(){return kn.lFrame.inI18n}()&&(G.flags|=32);else if(64&G.type){G.type=h,G.value=w,G.attrs=k;const $=function Qs(){const r=kn.lFrame,a=r.currentTNode;return r.isParent?a:a.parent}();G.injectorIndex=null===$?-1:$.injectorIndex}return _o(G,!0),G}function T0(r,a,h,w){if(0===h)return-1;const k=a.length;for(let G=0;G<h;G++)a.push(w),r.blueprint.push(w),r.data.push(null);return k}function Jf(r,a,h,w,k){const G=Q4(a,ba),$=Ua(),_e=2&w;try{Is(-1),_e&&a.length>Dn&&qf(r,a,Dn,!1),Mn(_e?2:0,k);const lt=_e?G:null,Pt=eo(lt);try{null!==lt&&(lt.dirty=!1),h(w,k)}finally{Va(lt,Pt)}}finally{_e&&null===a[ba]&&E0(a,ba),Is($),Mn(_e?3:1,k)}}function Xf(r,a,h){if(ka(a)){const w=ta(null);try{const G=a.directiveEnd;for(let $=a.directiveStart;$<G;$++){const _e=r.data[$];_e.contentQueries&&_e.contentQueries(1,h[$],$)}}finally{ta(w)}}}function $f(r,a,h){K1()&&(function B6(r,a,h,w){const k=h.directiveStart,G=h.directiveEnd;It(h)&&function W6(r,a,h){const w=Ir(a,r),k=$4(h);let $=16;h.signals?$=4096:h.onPush&&($=64);const _e=Xd(r,su(r,k,null,$,w,a,null,r[Sr].rendererFactory.createRenderer(w,h),null,null,null));r[a.index]=_e}(a,h,r.data[k+h.componentOffset]),r.firstCreatePass||$l(h,a),to(w,a);const $=h.initialInputs;for(let _e=k;_e<G;_e++){const Ie=r.data[_e],lt=Rc(a,r,_e,h);to(lt,a),null!==$&&Y6(0,_e-k,lt,Ie,0,$),St(Ie)&&(wa(h.index,a)[or]=Rc(a,r,_e,h))}}(r,a,h,Ir(h,a)),64==(64&h.flags)&&a3(r,a,h))}function e3(r,a,h=Ir){const w=a.localNames;if(null!==w){let k=a.index+1;for(let G=0;G<w.length;G+=2){const $=w[G+1],_e=-1===$?h(a,r):r[$];r[k++]=_e}}}function $4(r){const a=r.tView;return null===a||a.incompleteFirstPass?r.tView=A0(1,null,r.template,r.decls,r.vars,r.directiveDefs,r.pipeDefs,r.viewQuery,r.schemas,r.consts,r.id):a}function A0(r,a,h,w,k,G,$,_e,Ie,lt,Pt){const ti=Dn+w,mi=ti+k,Ci=function H6(r,a){const h=[];for(let w=0;w<a;w++)h.push(w<r?null:Xn);return h}(ti,mi),Pi="function"==typeof lt?lt():lt;return Ci[rn]={type:r,blueprint:Ci,template:h,queries:null,viewQuery:_e,declTNode:a,data:Ci.slice().fill(null,ti),bindingStartIndex:ti,expandoStartIndex:mi,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 $?$():$,firstChild:null,schemas:Ie,consts:Pi,incompleteFirstPass:!1,ssrId:Pt}}let t3=r=>null;function i3(r,a,h,w){for(let k in r)if(r.hasOwnProperty(k)){h=null===h?{}:h;const G=r[k];null===w?nm(h,a,k,G):w.hasOwnProperty(k)&&nm(h,a,w[k],G)}return h}function nm(r,a,h,w){r.hasOwnProperty(h)?r[h].push(a,w):r[h]=[a,w]}function xs(r,a,h,w,k,G,$,_e){const Ie=Ir(a,h);let Pt,lt=a.inputs;!_e&&null!=lt&&(Pt=lt[w])?(uu(r,h,Pt,w,k),It(a)&&function V6(r,a){const h=wa(a,r);16&h[vn]||(h[vn]|=64)}(h,a.index)):3&a.type&&(w=function am(r){return"class"===r?"className":"for"===r?"htmlFor":"formaction"===r?"formAction":"innerHtml"===r?"innerHTML":"readonly"===r?"readOnly":"tabindex"===r?"tabIndex":r}(w),k=null!=$?$(k,a.value||"",w):k,G.setProperty(Ie,w,k))}function n3(r,a,h,w){if(K1()){const k=null===w?null:{"":-1},G=function U6(r,a){const h=r.directiveRegistry;let w=null,k=null;if(h)for(let G=0;G<h.length;G++){const $=h[G];if(En(a,$.selectors,!1))if(w||(w=[]),St($))if(null!==$.findHostDirectiveDefs){const _e=[];k=k||new Map,$.findHostDirectiveDefs($,_e,k),w.unshift(..._e,$),o3(r,a,_e.length)}else w.unshift($),o3(r,a,0);else k=k||new Map,$.findHostDirectiveDefs?.($,w,k),w.push($)}return null===w?null:[w,k]}(r,h);let $,_e;null===G?$=_e=null:[$,_e]=G,null!==$&&r3(r,a,h,$,k,_e),k&&function G6(r,a,h){if(a){const w=r.localNames=[];for(let k=0;k<a.length;k+=2){const G=h[a[k+1]];if(null==G)throw new X(-301,!1);w.push(a[k],G)}}}(h,w,k)}h.mergedAttrs=Qi(h.mergedAttrs,h.attrs)}function r3(r,a,h,w,k,G){for(let lt=0;lt<w.length;lt++)ec($l(h,a),r,w[lt].type);!function dm(r,a,h){r.flags|=1,r.directiveStart=a,r.directiveEnd=a+h,r.providerIndexes=a}(h,r.data.length,w.length);for(let lt=0;lt<w.length;lt++){const Pt=w[lt];Pt.providersResolver&&Pt.providersResolver(Pt)}let $=!1,_e=!1,Ie=T0(r,a,w.length,null);for(let lt=0;lt<w.length;lt++){const Pt=w[lt];h.mergedAttrs=Qi(h.mergedAttrs,Pt.hostAttrs),hm(r,h,a,Ie,Pt),Z6(Ie,Pt,k),null!==Pt.contentQueries&&(h.flags|=4),(null!==Pt.hostBindings||null!==Pt.hostAttrs||0!==Pt.hostVars)&&(h.flags|=64);const ti=Pt.type.prototype;!$&&(ti.ngOnChanges||ti.ngOnInit||ti.ngDoCheck)&&((r.preOrderHooks??=[]).push(h.index),$=!0),!_e&&(ti.ngOnChanges||ti.ngDoCheck)&&((r.preOrderCheckHooks??=[]).push(h.index),_e=!0),Ie++}!function rm(r,a,h){const k=a.directiveEnd,G=r.data,$=a.attrs,_e=[];let Ie=null,lt=null;for(let Pt=a.directiveStart;Pt<k;Pt++){const ti=G[Pt],mi=h?h.get(ti):null,Pi=mi?mi.outputs:null;Ie=i3(ti.inputs,Pt,Ie,mi?mi.inputs:null),lt=i3(ti.outputs,Pt,lt,Pi);const Ki=null===Ie||null===$||We(a)?null:j6(Ie,Pt,$);_e.push(Ki)}null!==Ie&&(Ie.hasOwnProperty("class")&&(a.flags|=8),Ie.hasOwnProperty("style")&&(a.flags|=16)),a.initialInputs=_e,a.inputs=Ie,a.outputs=lt}(r,h,G)}function a3(r,a,h){const w=h.directiveStart,k=h.directiveEnd,G=h.index,$=function ni(){return kn.lFrame.currentDirectiveIndex}();try{Is(G);for(let _e=w;_e<k;_e++){const Ie=r.data[_e],lt=a[_e];bi(_e),(null!==Ie.hostBindings||0!==Ie.hostVars||null!==Ie.hostAttrs)&&lm(Ie,lt)}}finally{Is(-1),bi($)}}function lm(r,a){null!==r.hostBindings&&r.hostBindings(1,a)}function o3(r,a,h){a.componentOffset=h,(r.components??=[]).push(a.index)}function Z6(r,a,h){if(h){if(a.exportAs)for(let w=0;w<a.exportAs.length;w++)h[a.exportAs[w]]=r;St(a)&&(h[""]=r)}}function hm(r,a,h,w,k){r.data[w]=k;const G=k.factory||(k.factory=Fa(k.type)),$=new ra(G,St(k),Jd);r.blueprint[w]=$,h[w]=$,function sm(r,a,h,w,k){const G=k.hostBindings;if(G){let $=r.hostBindingOpCodes;null===$&&($=r.hostBindingOpCodes=[]);const _e=~a.index;(function cm(r){let a=r.length;for(;a>0;){const h=r[--a];if("number"==typeof h&&h<0)return h}return 0})($)!=_e&&$.push(_e),$.push(h,w,G)}}(r,a,w,T0(r,h,k.hostVars,Xn),k)}function Dc(r,a,h,w,k,G){const $=Ir(r,a);!function s3(r,a,h,w,k,G,$){if(null==G)r.removeAttribute(a,k,h);else{const _e=null==$?ie(G):$(G,w||"",k);r.setAttribute(a,k,_e,h)}}(a[yn],$,G,r.value,h,w,k)}function Y6(r,a,h,w,k,G){const $=G[a];if(null!==$)for(let _e=0;_e<$.length;)c3(w,h,$[_e++],$[_e++],$[_e++])}function c3(r,a,h,w,k){const G=ta(null);try{const $=r.inputTransforms;null!==$&&$.hasOwnProperty(w)&&(k=$[w].call(a,k)),null!==r.setInput?r.setInput(a,k,h,w):a[w]=k}finally{ta(G)}}function j6(r,a,h){let w=null,k=0;for(;k<h.length;){const G=h[k];if(0!==G)if(5!==G){if("number"==typeof G)break;if(r.hasOwnProperty(G)){null===w&&(w=[]);const $=r[G];for(let _e=0;_e<$.length;_e+=2)if($[_e]===a){w.push(G,$[_e+1],h[k+1]);break}}k+=2}else k+=2;else k+=4}return w}function um(r,a,h,w){return[r,!0,!1,a,null,0,w,h,null,null,null]}function l3(r,a){const h=r.contentQueries;if(null!==h)for(let w=0;w<h.length;w+=2){const G=h[w+1];if(-1!==G){const $=r.data[G];bn(h[w]),$.contentQueries(2,a[G],G)}}}function Xd(r,a){return r[qr]?r[Lr][er]=a:r[qr]=a,r[Lr]=a,a}function rr(r,a,h){bn(0);const w=ta(null);try{a(r,h)}finally{ta(w)}}function du(r){return r[_a]||(r[_a]=[])}function hu(r){return r.cleanup||(r.cleanup=[])}function Ho(r,a,h){return(null===r||St(r))&&(h=function na(r){for(;Array.isArray(r);){if("object"==typeof r[ro])return r;r=r[tr]}return null}(h[a.index])),h[yn]}function d3(r,a){const h=r[Rr],w=h?h.get($c,null):null;w&&w.handleError(a)}function uu(r,a,h,w,k){for(let G=0;G<h.length;){const $=h[G++],_e=h[G++];c3(r.data[$],a[$],w,_e,k)}}function lc(r,a,h){const w=ua(a,r);!function Z2(r,a,h){r.setValue(a,h)}(r[yn],w,h)}function h3(r,a){const h=wa(a,r),w=h[rn];!function fu(r,a){for(let h=a.length;h<r.blueprint.length;h++)a.push(r.blueprint[h])}(w,h);const k=h[tr];null!==k&&null===h[la]&&(h[la]=Wd(k,h[Rr])),dc(w,h,h[or])}function dc(r,a,h){uo(a);try{const w=r.viewQuery;null!==w&&rr(1,w,h);const k=r.template;null!==k&&Jf(r,a,k,1,h),r.firstCreatePass&&(r.firstCreatePass=!1),r.staticContentQueries&&l3(r,a),r.staticViewQueries&&rr(2,r.viewQuery,h);const G=r.components;null!==G&&function tl(r,a){for(let h=0;h<a.length;h++)h3(r,a[h])}(a,G)}catch(w){throw r.firstCreatePass&&(r.incompleteFirstPass=!0,r.firstCreatePass=!1),w}finally{a[vn]&=-5,pc()}}let Pn=(()=>{class r{constructor(){this.all=new Set,this.queue=new Map}create(h,w,k){const G=typeof Zone>"u"?null:Zone.current,$=function Me(r,a,h){const w=Object.create(_t);h&&(w.consumerAllowSignalWrites=!0),w.fn=r,w.schedule=a;const k=$=>{w.cleanupFn=$};return w.ref={notify:()=>Ws(w),run:()=>{if(w.dirty=!1,w.hasRun&&!Es(w))return;w.hasRun=!0;const $=eo(w);try{w.cleanupFn(),w.cleanupFn=dt,w.fn(k)}finally{Va(w,$)}},cleanup:()=>w.cleanupFn()},w.ref}(h,lt=>{this.all.has(lt)&&this.queue.set(lt,G)},k);let _e;this.all.add($),$.notify();const Ie=()=>{$.cleanup(),_e?.(),this.all.delete($),this.queue.delete($)};return _e=w?.onDestroy(Ie),{destroy:Ie}}flush(){if(0!==this.queue.size)for(const[h,w]of this.queue)this.queue.delete(h),w?w.run(()=>h.run()):h.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=xe({token:r,providedIn:"root",factory:()=>new r})}return r})();function il(r,a,h){let w=h?r.styles:null,k=h?r.classes:null,G=0;if(null!==a)for(let $=0;$<a.length;$++){const _e=a[$];"number"==typeof _e?G=_e:1==G?k=D(k,_e):2==G&&(w=D(w,_e+": "+a[++$]+";"))}h?r.styles=w:r.stylesWithoutHost=w,h?r.classes=k:r.classesWithoutHost=k}function kl(r,a,h,w,k=!1){for(;null!==h;){const G=a[h.index];null!==G&&w.push(Bn(G)),ur(G)&&mu(G,w);const $=h.type;if(8&$)kl(r,a,h.child,w);else if(32&$){const _e=yd(h,a);let Ie;for(;Ie=_e();)w.push(Ie)}else if(16&$){const _e=X2(a,h);if(Array.isArray(_e))w.push(..._e);else{const Ie=Gc(a[lr]);kl(Ie[rn],Ie,_e,w,!0)}}h=k?h.projectionNext:h.next}return w}function mu(r,a){for(let h=qn;h<r.length;h++){const w=r[h],k=w[rn].firstChild;null!==k&&kl(w[rn],w,k,a)}r[da]!==r[tr]&&a.push(r[da])}function $d(r,a,h,w=!0){const k=a[Sr],G=k.rendererFactory,$=k.afterRenderEventManager;G.begin?.(),$?.begin();try{pu(r,a,r.template,h)}catch(Ie){throw w&&d3(a,Ie),Ie}finally{G.end?.(),k.effectManager?.flush(),$?.end()}}function pu(r,a,h,w){const k=a[vn];if(256!=(256&k)){a[Sr].effectManager?.flush(),uo(a);try{Bl(a),function ye(r){return kn.lFrame.bindingIndex=r}(r.bindingStartIndex),null!==h&&Jf(r,a,h,2,w);const $=3==(3&k);if($){const lt=r.preOrderCheckHooks;null!==lt&&Wo(a,lt,null)}else{const lt=r.preOrderHooks;null!==lt&&Yo(a,lt,0,null),fl(a,0)}if(function gu(r){for(let a=U2(r);null!==a;a=G2(a)){if(!a[Ra])continue;const h=a[ya];for(let w=0;w<h.length;w++){d2(h[w])}}}(a),mm(a,2),null!==r.contentQueries&&l3(r,a),$){const lt=r.contentCheckHooks;null!==lt&&Wo(a,lt)}else{const lt=r.contentHooks;null!==lt&&Yo(a,lt,1),fl(a,1)}!function R6(r,a){const h=r.hostBindingOpCodes;if(null===h)return;const w=Q4(a,xr);try{for(let k=0;k<h.length;k++){const G=h[k];if(G<0)Is(~G);else{const $=G,_e=h[++k],Ie=h[++k];zt(_e,$),w.dirty=!1;const lt=eo(w);try{Ie(2,a[$])}finally{Va(w,lt)}}}}finally{null===a[xr]&&E0(a,xr),Is(-1)}}(r,a);const _e=r.components;null!==_e&&L0(a,_e,0);const Ie=r.viewQuery;if(null!==Ie&&rr(2,Ie,w),$){const lt=r.viewCheckHooks;null!==lt&&Wo(a,lt)}else{const lt=r.viewHooks;null!==lt&&Yo(a,lt,2),fl(a,2)}!0===r.firstUpdatePass&&(r.firstUpdatePass=!1),a[vn]&=-73,j1(a)}finally{pc()}}}function mm(r,a){for(let h=U2(r);null!==h;h=G2(h))for(let w=qn;w<h.length;w++)D0(h[w],a)}function wo(r,a,h){D0(wa(a,r),h)}function D0(r,a){if(!function zl(r){return 128==(128&r[vn])}(r))return;const h=r[rn],w=r[vn];if(80&w&&0===a||1024&w||2===a)pu(h,r,h.template,r[or]);else if(r[Wa]>0){mm(r,1);const k=h.components;null!==k&&L0(r,k,1)}}function L0(r,a,h){for(let w=0;w<a.length;w++)wo(r,a[w],h)}class R1{get rootNodes(){const a=this._lView,h=a[rn];return kl(h,a,h.firstChild,[])}constructor(a,h){this._lView=a,this._cdRefInjectingView=h,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[or]}set context(a){this._lView[or]=a}get destroyed(){return 256==(256&this._lView[vn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const a=this._lView[zn];if(ur(a)){const h=a[8],w=h?h.indexOf(this):-1;w>-1&&(Sl(a,w),zc(h,w))}this._attachedToViewContainer=!1}ic(this._lView[rn],this._lView)}onDestroy(a){ll(this._lView,a)}markForCheck(){qd(this._cdRefInjectingView||this._lView)}detach(){this._lView[vn]&=-129}reattach(){this._lView[vn]|=128}detectChanges(){$d(this._lView[rn],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new X(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Dh(r,a){Rs(r,a,a[yn],2,null,null)}(this._lView[rn],this._lView)}attachToAppRef(a){if(this._attachedToViewContainer)throw new X(902,!1);this._appRef=a}}class _u extends R1{constructor(a){super(a),this._view=a}detectChanges(){const a=this._view;$d(a[rn],a,a[or],!1)}checkNoChanges(){}get context(){return null}}class hc extends x0{constructor(a){super(),this.ngModule=a}resolveComponentFactory(a){const h=_n(a);return new H1(h,this.ngModule)}}function vu(r){const a=[];for(let h in r)r.hasOwnProperty(h)&&a.push({propName:r[h],templateName:h});return a}class nl{constructor(a,h){this.injector=a,this.parentInjector=h}get(a,h,w){w=Kt(w);const k=this.injector.get(a,Pf,w);return k!==Pf||h===Pf?k:this.parentInjector.get(a,h,w)}}class H1 extends tu{get inputs(){const a=this.componentDef,h=a.inputTransforms,w=vu(a.inputs);if(null!==h)for(const k of w)h.hasOwnProperty(k.propName)&&(k.transform=h[k.propName]);return w}get outputs(){return vu(this.componentDef.outputs)}constructor(a,h){super(),this.componentDef=a,this.ngModule=h,this.componentType=a.type,this.selector=function sa(r){return r.map(ga).join(",")}(a.selectors),this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[],this.isBoundToModule=!!h}create(a,h,w,k){let G=(k=k||this.ngModule)instanceof Qo?k:k?.injector;G&&null!==this.componentDef.getStandaloneInjector&&(G=this.componentDef.getStandaloneInjector(G)||G);const $=G?new nl(a,G):a,_e=$.get(D4,null);if(null===_e)throw new X(407,!1);const ti={rendererFactory:_e,sanitizer:$.get(I4,null),effectManager:$.get(Pn,null),afterRenderEventManager:$.get(jf,null)},mi=_e.createRenderer(null,this.componentDef),Ci=this.componentDef.selectors[0][0]||"div",Pi=w?function F6(r,a,h,w){const G=w.get(Kf,!1)||h===xi.ShadowDom,$=r.selectRootElement(a,G);return function z6(r){t3(r)}($),$}(mi,w,this.componentDef.encapsulation,$):Ta(mi,Ci,function m3(r){const a=r.toLowerCase();return"svg"===a?jr:"math"===a?"math":null}(Ci)),Ln=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Gi=null;null!==Pi&&(Gi=Wd(Pi,$,!0));const Jn=A0(0,null,null,1,0,null,null,null,null,null,null),cr=su(null,Jn,null,Ln,null,null,ti,mi,$,null,Gi);let Qr,Ms;uo(cr);try{const Hl=this.componentDef;let q0,r6=null;Hl.findHostDirectiveDefs?(q0=[],r6=new Map,Hl.findHostDirectiveDefs(Hl,q0,r6),q0.push(Hl)):q0=[Hl];const g9=function p3(r,a){const h=r[rn],w=Dn;return r[w]=a,Il(h,w,2,"#host",null)}(cr,Pi),_9=function e2(r,a,h,w,k,G,$){const _e=k[rn];!function Ol(r,a,h,w){for(const k of r)a.mergedAttrs=Qi(a.mergedAttrs,k.hostAttrs);null!==a.mergedAttrs&&(il(a,a.mergedAttrs,!0),null!==h&&A1(w,h,a))}(w,r,a,$);let Ie=null;null!==a&&(Ie=Wd(a,k[Rr]));const lt=G.rendererFactory.createRenderer(a,h);let Pt=16;h.signals?Pt=4096:h.onPush&&(Pt=64);const ti=su(k,$4(h),null,Pt,k[r.index],r,G,lt,null,null,Ie);return _e.firstCreatePass&&o3(_e,r,w.length-1),Xd(k,ti),k[r.index]=ti}(g9,Pi,Hl,q0,cr,ti,mi);Ms=Go(Jn,Dn),Pi&&function xu(r,a,h,w){if(w)Ui(r,h,["ng-version",k4.full]);else{const{attrs:k,classes:G}=function Li(r){const a=[],h=[];let w=1,k=2;for(;w<r.length;){let G=r[w];if("string"==typeof G)2===k?""!==G&&a.push(G,r[++w]):8===k&&h.push(G);else{if(!Jt(k))break;k=G}w++}return{attrs:a,classes:h}}(a.selectors[0]);k&&Ui(r,h,k),G&&G.length>0&&n0(r,h,G.join(" "))}}(mi,Hl,Pi,w),void 0!==h&&function g3(r,a,h){const w=r.projection=[];for(let k=0;k<a.length;k++){const G=h[k];w.push(null!=G?Array.from(G):null)}}(Ms,this.ngContentSelectors,h),Qr=function yu(r,a,h,w,k,G){const $=Ma(),_e=k[rn],Ie=Ir($,k);r3(_e,k,$,h,null,w);for(let Pt=0;Pt<h.length;Pt++)to(Rc(k,_e,$.directiveStart+Pt,$),k);a3(_e,k,$),Ie&&to(Ie,k);const lt=Rc(k,_e,$.directiveStart+$.componentOffset,$);if(r[or]=k[or]=lt,null!==G)for(const Pt of G)Pt(lt,a);return Xf(_e,$,r),lt}(_9,Hl,q0,r6,cr,[F1]),dc(Jn,cr,null)}finally{pc()}return new bu(this.componentType,Qr,Ll(Ms,cr),cr,Ms)}}class bu extends d6{constructor(a,h,w,k,G){super(),this.location=w,this._rootLView=k,this._tNode=G,this.previousInputValues=null,this.instance=h,this.hostView=this.changeDetectorRef=new _u(k),this.componentType=a}setInput(a,h){const w=this._tNode.inputs;let k;if(null!==w&&(k=w[a])){if(this.previousInputValues??=new Map,this.previousInputValues.has(a)&&Object.is(this.previousInputValues.get(a),h))return;const G=this._rootLView;uu(G[rn],G,k,a,h),this.previousInputValues.set(a,h),qd(wa(this._tNode.index,G))}}get injector(){return new bo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(a){this.hostView.onDestroy(a)}}function F1(){const r=Ma();vo(Vi()[rn],r)}function z1(r){let a=function Ga(r){return Object.getPrototypeOf(r.prototype).constructor}(r.type),h=!0;const w=[r];for(;a;){let k;if(St(r))k=a.\u0275cmp||a.\u0275dir;else{if(a.\u0275cmp)throw new X(903,!1);k=a.\u0275dir}if(k){if(h){w.push(k);const $=r;$.inputs=Pl(r.inputs),$.inputTransforms=Pl(r.inputTransforms),$.declaredInputs=Pl(r.declaredInputs),$.outputs=Pl(r.outputs);const _e=k.hostBindings;_e&&I0(r,_e);const Ie=k.viewQuery,lt=k.contentQueries;if(Ie&&pm(r,Ie),lt&&wu(r,lt),M(r.inputs,k.inputs),M(r.declaredInputs,k.declaredInputs),M(r.outputs,k.outputs),null!==k.inputTransforms&&(null===$.inputTransforms&&($.inputTransforms={}),M($.inputTransforms,k.inputTransforms)),St(k)&&k.data.animation){const Pt=r.data;Pt.animation=(Pt.animation||[]).concat(k.data.animation)}}const G=k.features;if(G)for(let $=0;$<G.length;$++){const _e=G[$];_e&&_e.ngInherit&&_e(r),_e===z1&&(h=!1)}}a=Object.getPrototypeOf(a)}!function Cu(r){let a=0,h=null;for(let w=r.length-1;w>=0;w--){const k=r[w];k.hostVars=a+=k.hostVars,k.hostAttrs=Qi(k.hostAttrs,h=Qi(h,k.hostAttrs))}}(w)}function Pl(r){return r===Ut?{}:r===bt?[]:r}function pm(r,a){const h=r.viewQuery;r.viewQuery=h?(w,k)=>{a(w,k),h(w,k)}:a}function wu(r,a){const h=r.contentQueries;r.contentQueries=h?(w,k,G)=>{a(w,k,G),h(w,k,G)}:a}function I0(r,a){const h=r.hostBindings;r.hostBindings=h?(w,k)=>{a(w,k),h(w,k)}:a}function k0(r){const a=r.inputConfig,h={};for(const w in a)if(a.hasOwnProperty(w)){const k=a[w];Array.isArray(k)&&k[2]&&(h[w]=k[2])}r.inputTransforms=h}function Eu(r){return!!Xo(r)&&(Array.isArray(r)||!(r instanceof Map)&&Symbol.iterator in r)}function Xo(r){return null!==r&&("function"==typeof r||"object"==typeof r)}function Bs(r,a,h){return r[a]=h}function Fo(r,a,h){return!Object.is(r[a],h)&&(r[a]=h,!0)}function rl(r,a,h,w){const k=Fo(r,a,h);return Fo(r,a+1,w)||k}function Tu(r,a,h,w,k){const G=rl(r,a,h,w);return Fo(r,a+2,k)||G}function M3(r,a,h,w){const k=Vi();return Fo(k,Fe(),a)&&(dr(),Dc(kr(),k,r,a,h,w)),M3}function n2(r,a,h,w){return Fo(r,Fe(),h)?a+ie(h)+w:Xn}function r2(r,a,h,w,k,G){const _e=rl(r,Kr(),h,k);return me(2),_e?a+ie(h)+w+ie(k)+G:Xn}function B1(r,a,h,w,k,G,$,_e,Ie,lt){const ti=function Us(r,a,h,w,k,G){const $=rl(r,a,h,w);return rl(r,a+2,k,G)||$}(r,Kr(),h,k,$,Ie);return me(4),ti?a+ie(h)+w+ie(k)+G+ie($)+_e+ie(Ie)+lt:Xn}function P3(r,a,h,w,k,G,$,_e){const Ie=Vi(),lt=dr(),Pt=r+Dn,ti=lt.firstCreatePass?function Em(r,a,h,w,k,G,$,_e,Ie){const lt=a.consts,Pt=Il(a,r,4,$||null,Ba(lt,_e));n3(a,h,Pt,Ba(lt,Ie)),vo(a,Pt);const ti=Pt.tView=A0(2,Pt,w,k,G,a.directiveRegistry,a.pipeRegistry,null,a.schemas,lt,null);return null!==a.queries&&(a.queries.template(a,Pt),ti.queries=a.queries.embeddedTView(Pt)),Pt}(Pt,lt,Ie,a,h,w,k,G,$):lt.data[Pt];_o(ti,!1);const mi=Tm(lt,Ie,ti,r);Oc()&&Wc(lt,Ie,mi,ti),to(mi,Ie),Xd(Ie,Ie[Pt]=um(mi,Ie,mi,ti)),Ai(ti)&&$f(lt,Ie,ti),null!=$&&e3(Ie,ti,_e)}let Tm=function N3(r,a,h,w){return ps(!0),a[yn].createComment("")};function R3(r){return lo(function mc(){return kn.lFrame.contextLView}(),Dn+r)}function H3(r,a,h){const w=Vi();return Fo(w,Fe(),a)&&xs(dr(),kr(),w,r,a,w[yn],h,!1),H3}function F0(r,a,h,w,k){const $=k?"class":"style";uu(r,h,a.inputs[$],$,w)}function Pu(r,a,h,w){const k=Vi(),G=dr(),$=Dn+r,_e=k[yn],Ie=G.firstCreatePass?function ug(r,a,h,w,k,G){const $=a.consts,Ie=Il(a,r,2,w,Ba($,k));return n3(a,h,Ie,Ba($,G)),null!==Ie.attrs&&il(Ie,Ie.attrs,!1),null!==Ie.mergedAttrs&&il(Ie,Ie.mergedAttrs,!0),null!==a.queries&&a.queries.elementStart(a,Ie),Ie}($,G,k,a,h,w):G.data[$],lt=F3(G,k,Ie,_e,a,r);k[$]=lt;const Pt=Ai(Ie);return _o(Ie,!0),A1(_e,lt,Ie),32!=(32&Ie.flags)&&Oc()&&Wc(G,k,lt,Ie),0===function js(){return kn.lFrame.elementDepthCount}()&&to(lt,k),function Zo(){kn.lFrame.elementDepthCount++}(),Pt&&($f(G,k,Ie),Xf(G,Ie,k)),null!==w&&e3(k,Ie),Pu}function Nu(){let r=Ma();kc()?fc():(r=r.parent,_o(r,!1));const a=r;(function u2(r){return kn.skipHydrationRootTNode===r})(a)&&function f2(){kn.skipHydrationRootTNode=null}(),function Zl(){kn.lFrame.elementDepthCount--}();const h=dr();return h.firstCreatePass&&(vo(h,r),ka(r)&&h.queries.elementEnd(r)),null!=a.classesWithoutHost&&function $1(r){return 0!=(8&r.flags)}(a)&&F0(h,a,Vi(),a.classesWithoutHost,!0),null!=a.stylesWithoutHost&&function af(r){return 0!=(16&r.flags)}(a)&&F0(h,a,Vi(),a.stylesWithoutHost,!1),Nu}function Ru(r,a,h,w){return Pu(r,a,h,w),Nu(),Ru}let F3=(r,a,h,w,k,G)=>(ps(!0),Ta(w,k,function Js(){return kn.lFrame.currentNamespace}()));function Fu(r,a,h){const w=Vi(),k=dr(),G=r+Dn,$=k.firstCreatePass?function Hu(r,a,h,w,k){const G=a.consts,$=Ba(G,w),_e=Il(a,r,8,"ng-container",$);return null!==$&&il(_e,$,!0),n3(a,h,_e,Ba(G,k)),null!==a.queries&&a.queries.elementStart(a,_e),_e}(G,k,w,a,h):k.data[G];_o($,!0);const _e=z3(k,w,$,r);return w[G]=_e,Oc()&&Wc(k,w,_e,$),to(_e,w),Ai($)&&($f(k,w,$),Xf(k,$,w)),null!=h&&e3(w,$),Fu}function z0(){let r=Ma();const a=dr();return kc()?fc():(r=r.parent,_o(r,!1)),a.firstCreatePass&&(vo(a,r),ka(r)&&a.queries.elementEnd(r)),z0}function zu(r,a,h){return Fu(r,a,h),z0(),zu}let z3=(r,a,h,w)=>(ps(!0),W2(a[yn],""));function A(){return Vi()}function s(r){return!!r&&"function"==typeof r.then}function x(r){return!!r&&"function"==typeof r.subscribe}function B(r,a,h,w){const k=Vi(),G=dr(),$=Ma();return it(G,k,k[yn],$,r,a,w),B}function j(r,a){const h=Ma(),w=Vi(),k=dr();return it(k,w,Ho(_i(k.data),h,w),h,r,a),j}function it(r,a,h,w,k,G,$){const _e=Ai(w),lt=r.firstCreatePass&&hu(r),Pt=a[or],ti=du(a);let mi=!0;if(3&w.type||$){const Ki=Ir(w,a),dn=$?$(Ki):Ki,Ln=ti.length,Gi=$?cr=>$(Bn(cr[w.index])):w.index;let Jn=null;if(!$&&_e&&(Jn=function Ae(r,a,h,w){const k=r.cleanup;if(null!=k)for(let G=0;G<k.length-1;G+=2){const $=k[G];if($===h&&k[G+1]===w){const _e=a[_a],Ie=k[G+2];return _e.length>Ie?_e[Ie]:null}"string"==typeof $&&(G+=2)}return null}(r,a,k,w.index)),null!==Jn)(Jn.__ngLastListenerFn__||Jn).__ngNextListenerFn__=G,Jn.__ngLastListenerFn__=G,mi=!1;else{G=Yt(w,a,Pt,G,!1);const cr=h.listen(dn,k,G);ti.push(G,cr),lt&&lt.push(k,Gi,Ln,Ln+1)}}else G=Yt(w,a,Pt,G,!1);const Ci=w.outputs;let Pi;if(mi&&null!==Ci&&(Pi=Ci[k])){const Ki=Pi.length;if(Ki)for(let dn=0;dn<Ki;dn+=2){const Qr=a[Pi[dn]][Pi[dn+1]].subscribe(G),Ms=ti.length;ti.push(G,Qr),lt&&lt.push(k,w.index,Ms,-(Ms+1))}}}function Qt(r,a,h,w){try{return Mn(6,a,h),!1!==h(w)}catch(k){return d3(r,k),!1}finally{Mn(7,a,h)}}function Yt(r,a,h,w,k){return function G($){if($===Function)return w;qd(r.componentOffset>-1?wa(r.index,a):a);let Ie=Qt(a,h,w,$),lt=G.__ngNextListenerFn__;for(;lt;)Ie=Qt(a,h,lt,$)&&Ie,lt=lt.__ngNextListenerFn__;return k&&!1===Ie&&$.preventDefault(),Ie}}function hi(r=1){return function tf(r){return(kn.lFrame.contextLView=function Q1(r,a){for(;r>0;)a=a[Ia],r--;return a}(r,kn.lFrame.contextLView))[or]}(r)}function vi(r,a){let h=null;const w=function Hn(r){const a=r.attrs;if(null!=a){const h=a.indexOf(5);if(!(1&h))return a[h+1]}return null}(r);for(let k=0;k<a.length;k++){const G=a[k];if("*"!==G){if(null===w?En(r,G,!0):La(w,G))return k}else h=k}return h}function Mi(r){const a=Vi()[lr][yr];if(!a.projection){const w=a.projection=yc(r?r.length:1,null),k=w.slice();let G=a.child;for(;null!==G;){const $=r?vi(G,r):0;null!==$&&(k[$]?k[$].projectionNext=G:w[$]=G,k[$]=G),G=G.next}}}function Di(r,a=0,h){const w=Vi(),k=dr(),G=Il(k,Dn+r,16,null,h||null);null===G.projection&&(G.projection=a),fc(),(!w[la]||ho())&&32!=(32&G.flags)&&function Cf(r,a,h){e0(a[yn],0,a,h,w1(r,h,a),Cd(h.parent||a[yr],h,a))}(k,w,G)}function tn(r,a,h){return gn(r,"",a,"",h),tn}function gn(r,a,h,w,k){const G=Vi(),$=n2(G,a,h,w);return $!==Xn&&xs(dr(),kr(),G,r,$,G[yn],k,!1),gn}function ki(r,a,h,w,k,G,$){const _e=Vi(),Ie=r2(_e,a,h,w,k,G);return Ie!==Xn&&xs(dr(),kr(),_e,r,Ie,_e[yn],$,!1),ki}function Or(r,a){return r<<17|a<<2}function Aa(r){return r>>17&32767}function Oa(r){return 2|r}function hr(r){return(131068&r)>>2}function Br(r,a){return-131069&r|a<<2}function ea(r){return 1|r}function Pa(r,a,h,w,k){const G=r[h+1],$=null===a;let _e=w?Aa(G):hr(G),Ie=!1;for(;0!==_e&&(!1===Ie||$);){const Pt=r[_e+1];Za(r[_e],a)&&(Ie=!0,r[_e+1]=w?ea(Pt):Oa(Pt)),_e=w?Aa(Pt):hr(Pt)}Ie&&(r[h+1]=w?Oa(G):ea(G))}function Za(r,a){return null===r||null==a||(Array.isArray(r)?r[1]:r)===a||!(!Array.isArray(r)||"string"!=typeof a)&&xc(r,a)>=0}const Da={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function al(r){return r.substring(Da.key,Da.keyEnd)}function Mo(r,a){const h=Da.textEnd;return h===a?-1:(a=Da.keyEnd=function $i(r,a,h){for(;a<h&&r.charCodeAt(a)>32;)a++;return a}(r,Da.key=a,h),ar(r,a,h))}function ar(r,a,h){for(;a<h&&r.charCodeAt(a)<=32;)a++;return a}function pa(r,a,h){return uc(r,a,h,!1),pa}function ol(r,a){return uc(r,a,null,!0),ol}function pg(r){Lc(yg,sl,r,!0)}function sl(r,a){for(let h=function W1(r){return function $n(r){Da.key=0,Da.keyEnd=0,Da.value=0,Da.valueEnd=0,Da.textEnd=r.length}(r),Mo(r,ar(r,0,Da.textEnd))}(a);h>=0;h=Mo(a,h))To(r,al(a),!0)}function uc(r,a,h,w){const k=Vi(),G=dr(),$=me(2);G.firstUpdatePass&&Im(G,r,$,w),a!==Xn&&Fo(k,$,a)&&Om(G,G.data[Ua()],k,k[yn],r,k[$+1]=function v_(r,a){return null==r||""===r||("string"==typeof a?r+=a:"object"==typeof r&&(r=I(Fs(r)))),r}(a,h),w,$)}function Lc(r,a,h,w){const k=dr(),G=me(2);k.firstUpdatePass&&Im(k,null,G,w);const $=Vi();if(h!==Xn&&Fo($,G,h)){const _e=k.data[Ua()];if(Cg(_e,w)&&!gg(k,G)){let Ie=w?_e.classesWithoutHost:_e.stylesWithoutHost;null!==Ie&&(h=D(Ie,h||"")),F0(k,_e,$,h,w)}else!function __(r,a,h,w,k,G,$,_e){k===Xn&&(k=bt);let Ie=0,lt=0,Pt=0<k.length?k[0]:null,ti=0<G.length?G[0]:null;for(;null!==Pt||null!==ti;){const mi=Ie<k.length?k[Ie+1]:void 0,Ci=lt<G.length?G[lt+1]:void 0;let Ki,Pi=null;Pt===ti?(Ie+=2,lt+=2,mi!==Ci&&(Pi=ti,Ki=Ci)):null===ti||null!==Pt&&Pt<ti?(Ie+=2,Pi=Pt):(lt+=2,Pi=ti,Ki=Ci),null!==Pi&&Om(r,a,h,w,Pi,Ki,$,_e),Pt=Ie<k.length?k[Ie]:null,ti=lt<G.length?G[lt]:null}}(k,_e,$,$[yn],$[G+1],$[G+1]=function vg(r,a,h){if(null==h||""===h)return bt;const w=[],k=Fs(h);if(Array.isArray(k))for(let G=0;G<k.length;G++)r(w,k[G],!0);else if("object"==typeof k)for(const G in k)k.hasOwnProperty(G)&&r(w,G,k[G]);else"string"==typeof k&&a(w,k);return w}(r,a,h),w,G)}}function gg(r,a){return a>=r.expandoStartIndex}function Im(r,a,h,w){const k=r.data;if(null===k[h+1]){const G=k[Ua()],$=gg(r,h);Cg(G,w)&&null===a&&!$&&(a=!1),a=function m_(r,a,h,w){const k=_i(r);let G=w?a.residualClasses:a.residualStyles;if(null===k)0===(w?a.classBindings:a.styleBindings)&&(h=Vu(h=km(null,r,a,h,w),a.attrs,w),G=null);else{const $=a.directiveStylingLast;if(-1===$||r[$]!==k)if(h=km(k,r,a,h,w),null===G){let Ie=function p_(r,a,h){const w=h?a.classBindings:a.styleBindings;if(0!==hr(w))return r[Aa(w)]}(r,a,w);void 0!==Ie&&Array.isArray(Ie)&&(Ie=km(null,r,a,Ie[1],w),Ie=Vu(Ie,a.attrs,w),function g_(r,a,h,w){r[Aa(h?a.classBindings:a.styleBindings)]=w}(r,a,w,Ie))}else G=function _g(r,a,h){let w;const k=a.directiveEnd;for(let G=1+a.directiveStylingLast;G<k;G++)w=Vu(w,r[G].hostAttrs,h);return Vu(w,a.attrs,h)}(r,a,w)}return void 0!==G&&(w?a.residualClasses=G:a.residualStyles=G),h}(k,G,a,w),function Tr(r,a,h,w,k,G){let $=G?a.classBindings:a.styleBindings,_e=Aa($),Ie=hr($);r[w]=h;let Pt,lt=!1;if(Array.isArray(h)?(Pt=h[1],(null===Pt||xc(h,Pt)>0)&&(lt=!0)):Pt=h,k)if(0!==Ie){const mi=Aa(r[_e+1]);r[w+1]=Or(mi,_e),0!==mi&&(r[mi+1]=Br(r[mi+1],w)),r[_e+1]=function Rn(r,a){return 131071&r|a<<17}(r[_e+1],w)}else r[w+1]=Or(_e,0),0!==_e&&(r[_e+1]=Br(r[_e+1],w)),_e=w;else r[w+1]=Or(Ie,0),0===_e?_e=w:r[Ie+1]=Br(r[Ie+1],w),Ie=w;lt&&(r[w+1]=Oa(r[w+1])),Pa(r,Pt,w,!0),Pa(r,Pt,w,!1),function no(r,a,h,w,k){const G=k?r.residualClasses:r.residualStyles;null!=G&&"string"==typeof a&&xc(G,a)>=0&&(h[w+1]=ea(h[w+1]))}(a,Pt,r,w,G),$=Or(_e,Ie),G?a.classBindings=$:a.styleBindings=$}(k,G,a,h,$,w)}}function km(r,a,h,w,k){let G=null;const $=h.directiveEnd;let _e=h.directiveStylingLast;for(-1===_e?_e=h.directiveStart:_e++;_e<$&&(G=a[_e],w=Vu(w,G.hostAttrs,k),G!==r);)_e++;return null!==r&&(h.directiveStylingLast=_e),w}function Vu(r,a,h){const w=h?1:2;let k=-1;if(null!==a)for(let G=0;G<a.length;G++){const $=a[G];"number"==typeof $?k=$:k===w&&(Array.isArray(r)||(r=void 0===r?[]:["",r]),To(r,$,!!h||a[++G]))}return void 0===r?null:r}function yg(r,a,h){const w=String(a);""!==w&&!w.includes(" ")&&To(r,w,h)}function Om(r,a,h,w,k,G,$,_e){if(!(3&a.type))return;const Ie=r.data,lt=Ie[_e+1],Pt=function cs(r){return 1==(1&r)}(lt)?xg(Ie,a,h,k,hr(lt),$):void 0;Bu(Pt)||(Bu(G)||function oa(r){return 2==(2&r)}(lt)&&(G=xg(Ie,null,h,k,_e,$)),function Rh(r,a,h,w,k){if(a)k?r.addClass(h,w):r.removeClass(h,w);else{let G=-1===w.indexOf("-")?void 0:v1.DashCase;null==k?r.removeStyle(h,w,G):("string"==typeof k&&k.endsWith("!important")&&(k=k.slice(0,-10),G|=v1.Important),r.setStyle(h,w,k,G))}}(w,$,ua(Ua(),h),k,G))}function xg(r,a,h,w,k,G){const $=null===a;let _e;for(;k>0;){const Ie=r[k],lt=Array.isArray(Ie),Pt=lt?Ie[1]:Ie,ti=null===Pt;let mi=h[k+1];mi===Xn&&(mi=ti?bt:void 0);let Ci=ti?tc(mi,w):Pt===w?mi:void 0;if(lt&&!Bu(Ci)&&(Ci=tc(Ie,w)),Bu(Ci)&&(_e=Ci,$))return _e;const Pi=r[k+1];k=$?Aa(Pi):hr(Pi)}if(null!==a){let Ie=G?a.residualClasses:a.residualStyles;null!=Ie&&(_e=tc(Ie,w))}return _e}function Bu(r){return void 0!==r}function Cg(r,a){return 0!=(r.flags&(a?8:16))}function wg(r,a=""){const h=Vi(),w=dr(),k=r+Dn,G=w.firstCreatePass?Il(w,k,1,a,null):w.data[k],$=Mg(w,h,G,a,r);h[k]=$,Oc()&&Wc(w,h,$,G),_o(G,!1)}let Mg=(r,a,h,w,k)=>(ps(!0),function x1(r,a){return r.createText(a)}(a[yn],w));function Pm(r){return V3("",r,""),Pm}function V3(r,a,h){const w=Vi(),k=n2(w,r,a,h);return k!==Xn&&lc(w,Ua(),k),V3}function Nm(r,a,h,w,k){const G=Vi(),$=r2(G,r,a,h,w,k);return $!==Xn&&lc(G,Ua(),$),Nm}function Uu(r,a,h,w,k,G,$){const _e=Vi(),Ie=function a2(r,a,h,w,k,G,$,_e){const lt=Tu(r,Kr(),h,k,$);return me(3),lt?a+ie(h)+w+ie(k)+G+ie($)+_e:Xn}(_e,r,a,h,w,k,G,$);return Ie!==Xn&&lc(_e,Ua(),Ie),Uu}function Rm(r,a,h,w,k,G,$,_e,Ie){const lt=Vi(),Pt=B1(lt,r,a,h,w,k,G,$,_e,Ie);return Pt!==Xn&&lc(lt,Ua(),Pt),Rm}function Ag(r,a,h){Lc(To,sl,n2(Vi(),r,a,h),!0)}function Vm(r,a,h){const w=Vi();return Fo(w,Fe(),a)&&xs(dr(),kr(),w,r,a,w[yn],h,!0),Vm}function U3(r,a,h){const w=Vi();if(Fo(w,Fe(),a)){const G=dr(),$=kr();xs(G,$,w,r,a,Ho(_i(G.data),$,w),h,!0)}return U3}const o2=void 0;var P_=["en",[["a","p"],["AM","PM"],o2],[["AM","PM"],o2,o2],[["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"]],o2,[["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"]],o2,[["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}",o2,"{1} 'at' {0}",o2],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function O_(r){const h=Math.floor(Math.abs(r)),w=r.toString().replace(/^[^.]*\.?/,"").length;return 1===h&&0===w?1:5}];let V0={};function Bm(r){const a=function R_(r){return r.toLowerCase().replace(/_/g,"-")}(r);let h=Ug(a);if(h)return h;const w=a.split("-")[0];if(h=Ug(w),h)return h;if("en"===w)return P_;throw new X(701,!1)}function Bg(r){return Bm(r)[B0.PluralCase]}function Ug(r){return r in V0||(V0[r]=Ct.ng&&Ct.ng.common&&Ct.ng.common.locales&&Ct.ng.common.locales[r]),V0[r]}var B0=function(r){return r[r.LocaleId=0]="LocaleId",r[r.DayPeriodsFormat=1]="DayPeriodsFormat",r[r.DayPeriodsStandalone=2]="DayPeriodsStandalone",r[r.DaysFormat=3]="DaysFormat",r[r.DaysStandalone=4]="DaysStandalone",r[r.MonthsFormat=5]="MonthsFormat",r[r.MonthsStandalone=6]="MonthsStandalone",r[r.Eras=7]="Eras",r[r.FirstDayOfWeek=8]="FirstDayOfWeek",r[r.WeekendRange=9]="WeekendRange",r[r.DateFormat=10]="DateFormat",r[r.TimeFormat=11]="TimeFormat",r[r.DateTimeFormat=12]="DateTimeFormat",r[r.NumberSymbols=13]="NumberSymbols",r[r.NumberFormats=14]="NumberFormats",r[r.CurrencyCode=15]="CurrencyCode",r[r.CurrencySymbol=16]="CurrencySymbol",r[r.CurrencyName=17]="CurrencyName",r[r.Currencies=18]="Currencies",r[r.Directionality=19]="Directionality",r[r.PluralCase=20]="PluralCase",r[r.ExtraData=21]="ExtraData",r}(B0||{});const U0="en-US";let Gg=U0;function Q3(r,a,h,w,k){if(r=W(r),Array.isArray(r))for(let G=0;G<r.length;G++)Q3(r[G],a,h,w,k);else{const G=dr(),$=Vi(),_e=Ma();let Ie=aa(r)?r:W(r.provide);const lt=un(r),Pt=1048575&_e.providerIndexes,ti=_e.directiveStart,mi=_e.providerIndexes>>20;if(aa(r)||!r.multi){const Ci=new ra(lt,k,Jd),Pi=ep(Ie,a,k?Pt:Pt+mi,ti);-1===Pi?(ec($l(_e,$),G,Ie),$m(G,r,a.length),a.push(Ie),_e.directiveStart++,_e.directiveEnd++,k&&(_e.providerIndexes+=1048576),h.push(Ci),$.push(Ci)):(h[Pi]=Ci,$[Pi]=Ci)}else{const Ci=ep(Ie,a,Pt+mi,ti),Pi=ep(Ie,a,Pt,Pt+mi),dn=Pi>=0&&h[Pi];if(k&&!dn||!k&&!(Ci>=0&&h[Ci])){ec($l(_e,$),G,Ie);const Ln=function b7(r,a,h,w,k){const G=new ra(r,h,Jd);return G.multi=[],G.index=a,G.componentProviders=0,v8(G,k,w&&!h),G}(k?b8:v7,h.length,k,w,lt);!k&&dn&&(h[Pi].providerFactory=Ln),$m(G,r,a.length,0),a.push(Ie),_e.directiveStart++,_e.directiveEnd++,k&&(_e.providerIndexes+=1048576),h.push(Ln),$.push(Ln)}else $m(G,r,Ci>-1?Ci:Pi,v8(h[k?Pi:Ci],lt,!k&&w));!k&&w&&dn&&h[Pi].componentProviders++}}}function $m(r,a,h,w){const k=aa(a),G=function Jc(r){return!!r.useClass}(a);if(k||G){const Ie=(G?W(a.useClass):a).prototype.ngOnDestroy;if(Ie){const lt=r.destroyHooks||(r.destroyHooks=[]);if(!k&&a.multi){const Pt=lt.indexOf(h);-1===Pt?lt.push(h,[w,Ie]):lt[Pt+1].push(w,Ie)}else lt.push(h,Ie)}}}function v8(r,a,h){return h&&r.componentProviders++,r.multi.push(a)-1}function ep(r,a,h,w){for(let k=h;k<w;k++)if(a[k]===r)return k;return-1}function v7(r,a,h,w){return tp(this.multi,[])}function b8(r,a,h,w){const k=this.multi;let G;if(this.providerFactory){const $=this.providerFactory.componentProviders,_e=Rc(h,h[rn],this.providerFactory.index,w);G=_e.slice(0,$),tp(k,G);for(let Ie=$;Ie<_e.length;Ie++)G.push(_e[Ie])}else G=[],tp(k,G);return G}function tp(r,a){for(let h=0;h<r.length;h++)a.push((0,r[h])());return a}function ip(r,a=[]){return h=>{h.providersResolver=(w,k)=>function _7(r,a,h){const w=dr();if(w.firstCreatePass){const k=St(r);Q3(h,w.data,w.blueprint,k,!0),Q3(a,w.data,w.blueprint,k,!1)}}(w,k?k(r):r,a)}}class s2{}class y8{}function y7(r,a){return new np(r,a??null,[])}class np extends s2{constructor(a,h,w){super(),this._parent=h,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new hc(this);const k=Nr(a);this._bootstrapComponents=cc(k.bootstrap),this._r3Injector=Vf(a,h,[{provide:s2,useValue:this},{provide:x0,useValue:this.componentFactoryResolver},...w],I(a),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(a)}get injector(){return this._r3Injector}destroy(){const a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(h=>h()),this.destroyCbs=null}onDestroy(a){this.destroyCbs.push(a)}}class rp extends y8{constructor(a){super(),this.moduleType=a}create(a){return new np(this.moduleType,a,[])}}class C8 extends s2{constructor(a){super(),this.componentFactoryResolver=new hc(this),this.instance=null;const h=new oc([...a.providers,{provide:s2,useValue:this},{provide:x0,useValue:this.componentFactoryResolver}],a.parent||Ko(),a.debugName,new Set(["environment"]));this.injector=h,a.runEnvironmentInitializers&&h.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(a){this.injector.onDestroy(a)}}function w8(r,a,h=null){return new C8({providers:r,parent:a,debugName:h,runEnvironmentInitializers:!0}).injector}let x7=(()=>{class r{constructor(h){this._injector=h,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(h){if(!h.standalone)return null;if(!this.cachedInjectors.has(h)){const w=ji(0,h.type),k=w.length>0?w8([w],this._injector,`Standalone[${h.type.name}]`):null;this.cachedInjectors.set(h,k)}return this.cachedInjectors.get(h)}ngOnDestroy(){try{for(const h of this.cachedInjectors.values())null!==h&&h.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=xe({token:r,providedIn:"environment",factory:()=>new r(Lt(Qo))})}return r})();function ap(r){r.getStandaloneInjector=a=>a.get(x7).getOrCreateStandaloneInjector(r)}function D8(r,a,h){const w=wr()+r,k=Vi();return k[w]===Xn?Bs(k,w,h?a.call(h):a()):function V1(r,a){return r[a]}(k,w)}function L8(r,a,h,w){return R8(Vi(),wr(),r,a,h,w)}function I8(r,a,h,w,k){return H8(Vi(),wr(),r,a,h,w,k)}function k8(r,a,h,w,k,G){return F8(Vi(),wr(),r,a,h,w,k,G)}function c2(r,a){const h=r[a];return h===Xn?void 0:h}function R8(r,a,h,w,k,G){const $=a+h;return Fo(r,$,k)?Bs(r,$+1,G?w.call(G,k):w(k)):c2(r,$+1)}function H8(r,a,h,w,k,G,$){const _e=a+h;return rl(r,_e,k,G)?Bs(r,_e+2,$?w.call($,k,G):w(k,G)):c2(r,_e+2)}function F8(r,a,h,w,k,G,$,_e){const Ie=a+h;return Tu(r,Ie,k,G,$)?Bs(r,Ie+3,_e?w.call(_e,k,G,$):w(k,G,$)):c2(r,Ie+3)}function V8(r,a){const h=dr();let w;const k=r+Dn;h.firstCreatePass?(w=function k7(r,a){if(a)for(let h=a.length-1;h>=0;h--){const w=a[h];if(r===w.name)return w}}(a,h.pipeRegistry),h.data[k]=w,w.onDestroy&&(h.destroyHooks??=[]).push(k,w.onDestroy)):w=h.data[k];const G=w.factory||(w.factory=Fa(w.type)),_e=xt(Jd);try{const Ie=ed(!1),lt=G();return ed(Ie),function Am(r,a,h,w){h>=r.data.length&&(r.data[h]=null,r.blueprint[h]=null),a[h]=w}(h,Vi(),k,lt),lt}finally{xt(_e)}}function B8(r,a,h){const w=r+Dn,k=Vi(),G=lo(k,w);return G0(k,w)?R8(k,wr(),a,G.transform,h,G):G.transform(h)}function lp(r,a,h,w){const k=r+Dn,G=Vi(),$=lo(G,k);return G0(G,k)?H8(G,wr(),a,$.transform,h,w,$):$.transform(h,w)}function U8(r,a,h,w,k){const G=r+Dn,$=Vi(),_e=lo($,G);return G0($,G)?F8($,wr(),a,_e.transform,h,w,k,_e):_e.transform(h,w,k)}function G0(r,a){return r[rn].data[a].pure}function N7(){return this._results[Symbol.iterator]()}class J3{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Ac)}constructor(a=!1){this._emitDistinctChangesOnly=a,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const h=J3.prototype;h[Symbol.iterator]||(h[Symbol.iterator]=N7)}get(a){return this._results[a]}map(a){return this._results.map(a)}filter(a){return this._results.filter(a)}find(a){return this._results.find(a)}reduce(a,h){return this._results.reduce(a,h)}forEach(a){this._results.forEach(a)}some(a){return this._results.some(a)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(a,h){const w=this;w.dirty=!1;const k=function rs(r){return r.flat(Number.POSITIVE_INFINITY)}(a);(this._changesDetected=!function cd(r,a,h){if(r.length!==a.length)return!1;for(let w=0;w<r.length;w++){let k=r[w],G=a[w];if(h&&(k=h(k),G=h(G)),G!==k)return!1}return!0}(w._results,k,h))&&(w._results=k,w.length=k.length,w.last=k[this.length-1],w.first=k[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function R7(r,a,h,w=!0){const k=a[rn];if(function Lh(r,a,h,w){const k=qn+w,G=h.length;w>0&&(h[k-1][er]=a),w<G-qn?(a[er]=h[k],o1(h,qn+w,a)):(h.push(a),a[er]=null),a[zn]=h;const $=a[Hr];null!==$&&h!==$&&function K2(r,a){const h=r[ya];a[lr]!==a[zn][zn][lr]&&(r[Ra]=!0),null===h?r[ya]=[a]:h.push(a)}($,a);const _e=a[Zr];null!==_e&&_e.insertView(r),a[vn]|=128}(k,a,r,h),w){const G=E1(h,r),$=a[yn],_e=El($,r[da]);null!==_e&&function Ah(r,a,h,w,k,G){w[tr]=k,w[yr]=a,Rs(r,w,h,1,k,G)}(k,r[yr],$,a,_e,G)}}let Qu=(()=>{class r{static#e=this.__NG_ELEMENT_ID__=z7}return r})();const H7=Qu,F7=class extends H7{constructor(a,h,w){super(),this._declarationLView=a,this._declarationTContainer=h,this.elementRef=w}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(a,h){return this.createEmbeddedViewImpl(a,h)}createEmbeddedViewImpl(a,h,w){const k=function X3(r,a,h,w){const k=a.tView,_e=su(r,k,h,4096&r[vn]?4096:16,null,a,null,null,null,w?.injector??null,w?.hydrationInfo??null);_e[Hr]=r[a.index];const lt=r[Zr];return null!==lt&&(_e[Zr]=lt.createEmbeddedView(k)),dc(k,_e,h),_e}(this._declarationLView,this._declarationTContainer,a,{injector:h,hydrationInfo:w});return new R1(k)}};function z7(){return $3(Ma(),Vi())}function $3(r,a){return 4&r.type?new F7(a,r,Ll(r,a)):null}let e4=(()=>{class r{static#e=this.__NG_ELEMENT_ID__=G7}return r})();function G7(){return fp(Ma(),Vi())}const Z7=e4,hp=class extends Z7{constructor(a,h,w){super(),this._lContainer=a,this._hostTNode=h,this._hostLView=w}get element(){return Ll(this._hostTNode,this._hostLView)}get injector(){return new bo(this._hostTNode,this._hostLView)}get parentInjector(){const a=Os(this._hostTNode,this._hostLView);if(ml(a)){const h=Xl(a,this._hostLView),w=Jl(a);return new bo(h[rn].data[w+8],h)}return new bo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(a){const h=Q8(this._lContainer);return null!==h&&h[a]||null}get length(){return this._lContainer.length-qn}createEmbeddedView(a,h,w){let k,G;"number"==typeof w?k=w:null!=w&&(k=w.index,G=w.injector);const _e=a.createEmbeddedViewImpl(h||{},G,null);return this.insertImpl(_e,k,false),_e}createComponent(a,h,w,k,G){const $=a&&!function a1(r){return"function"==typeof r}(a);let _e;if($)_e=h;else{const Ki=h||{};_e=Ki.index,w=Ki.injector,k=Ki.projectableNodes,G=Ki.environmentInjector||Ki.ngModuleRef}const Ie=$?a:new H1(_n(a)),lt=w||this.parentInjector;if(!G&&null==Ie.ngModule){const dn=($?lt:this.parentInjector).get(Qo,null);dn&&(G=dn)}_n(Ie.componentType??{});const Ci=Ie.create(lt,k,null,G);return this.insertImpl(Ci.hostView,_e,false),Ci}insert(a,h){return this.insertImpl(a,h,!1)}insertImpl(a,h,w){const k=a._lView;if(function Vl(r){return ur(r[zn])}(k)){const Ie=this.indexOf(a);if(-1!==Ie)this.detach(Ie);else{const lt=k[zn],Pt=new hp(lt,lt[yr],lt[zn]);Pt.detach(Pt.indexOf(a))}}const $=this._adjustIndex(h),_e=this._lContainer;return R7(_e,k,$,!w),a.attachToViewContainerRef(),o1(up(_e),$,a),a}move(a,h){return this.insert(a,h)}indexOf(a){const h=Q8(this._lContainer);return null!==h?h.indexOf(a):-1}remove(a){const h=this._adjustIndex(a,-1),w=Sl(this._lContainer,h);w&&(zc(up(this._lContainer),h),ic(w[rn],w))}detach(a){const h=this._adjustIndex(a,-1),w=Sl(this._lContainer,h);return w&&null!=zc(up(this._lContainer),h)?new R1(w):null}_adjustIndex(a,h=0){return a??this.length+h}};function Q8(r){return r[8]}function up(r){return r[8]||(r[8]=[])}function fp(r,a){let h;const w=a[r.index];return ur(w)?h=w:(h=um(w,a,null,r),a[r.index]=h,Xd(a,h)),q8(h,a,r,w),new hp(h,r,a)}let q8=function J8(r,a,h,w){if(r[da])return;let k;k=8&h.type?Bn(w):function W7(r,a){const h=r[yn],w=h.createComment(""),k=Ir(a,r);return bs(h,El(h,k),w,function Q2(r,a){return r.nextSibling(a)}(h,k),!1),w}(a,h),r[da]=k};class mp{constructor(a){this.queryList=a,this.matches=null}clone(){return new mp(this.queryList)}setDirty(){this.queryList.setDirty()}}class pp{constructor(a=[]){this.queries=a}createEmbeddedView(a){const h=a.queries;if(null!==h){const w=null!==a.contentQueries?a.contentQueries[0]:h.length,k=[];for(let G=0;G<w;G++){const $=h.getByIndex(G);k.push(this.queries[$.indexInDeclarationView].clone())}return new pp(k)}return null}insertView(a){this.dirtyQueriesWithMatches(a)}detachView(a){this.dirtyQueriesWithMatches(a)}dirtyQueriesWithMatches(a){for(let h=0;h<this.queries.length;h++)null!==s5(a,h).matches&&this.queries[h].setDirty()}}class X8{constructor(a,h,w=null){this.predicate=a,this.flags=h,this.read=w}}class t4{constructor(a=[]){this.queries=a}elementStart(a,h){for(let w=0;w<this.queries.length;w++)this.queries[w].elementStart(a,h)}elementEnd(a){for(let h=0;h<this.queries.length;h++)this.queries[h].elementEnd(a)}embeddedTView(a){let h=null;for(let w=0;w<this.length;w++){const k=null!==h?h.length:0,G=this.getByIndex(w).embeddedTView(a,k);G&&(G.indexInDeclarationView=w,null!==h?h.push(G):h=[G])}return null!==h?new t4(h):null}template(a,h){for(let w=0;w<this.queries.length;w++)this.queries[w].template(a,h)}getByIndex(a){return this.queries[a]}get length(){return this.queries.length}track(a){this.queries.push(a)}}class gp{constructor(a,h=-1){this.metadata=a,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=h}elementStart(a,h){this.isApplyingToNode(h)&&this.matchTNode(a,h)}elementEnd(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)}template(a,h){this.elementStart(a,h)}embeddedTView(a,h){return this.isApplyingToNode(a)?(this.crossesNgTemplate=!0,this.addMatch(-a.index,h),new gp(this.metadata)):null}isApplyingToNode(a){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const h=this._declarationNodeIndex;let w=a.parent;for(;null!==w&&8&w.type&&w.index!==h;)w=w.parent;return h===(null!==w?w.index:-1)}return this._appliesToNextNode}matchTNode(a,h){const w=this.metadata.predicate;if(Array.isArray(w))for(let k=0;k<w.length;k++){const G=w[k];this.matchTNodeWithReadOption(a,h,K7(h,G)),this.matchTNodeWithReadOption(a,h,ad(h,a,G,!1,!1))}else w===Qu?4&h.type&&this.matchTNodeWithReadOption(a,h,-1):this.matchTNodeWithReadOption(a,h,ad(h,a,w,!1,!1))}matchTNodeWithReadOption(a,h,w){if(null!==w){const k=this.metadata.read;if(null!==k)if(k===Yd||k===e4||k===Qu&&4&h.type)this.addMatch(h.index,-2);else{const G=ad(h,a,k,!1,!1);null!==G&&this.addMatch(h.index,G)}else this.addMatch(h.index,w)}}addMatch(a,h){null===this.matches?this.matches=[a,h]:this.matches.push(a,h)}}function K7(r,a){const h=r.localNames;if(null!==h)for(let w=0;w<h.length;w+=2)if(h[w]===a)return h[w+1];return null}function _p(r,a,h,w){return-1===h?function Q7(r,a){return 11&r.type?Ll(r,a):4&r.type?$3(r,a):null}(a,r):-2===h?function q7(r,a,h){return h===Yd?Ll(a,r):h===Qu?$3(a,r):h===e4?fp(a,r):void 0}(r,a,w):Rc(r,r[rn],h,a)}function $8(r,a,h,w){const k=a[Zr].queries[w];if(null===k.matches){const G=r.data,$=h.matches,_e=[];for(let Ie=0;Ie<$.length;Ie+=2){const lt=$[Ie];_e.push(lt<0?null:_p(a,G[lt],$[Ie+1],h.metadata.read))}k.matches=_e}return k.matches}function vp(r,a,h,w){const k=r.queries.getByIndex(h),G=k.matches;if(null!==G){const $=$8(r,a,k,h);for(let _e=0;_e<G.length;_e+=2){const Ie=G[_e];if(Ie>0)w.push($[_e/2]);else{const lt=G[_e+1],Pt=a[-Ie];for(let ti=qn;ti<Pt.length;ti++){const mi=Pt[ti];mi[Hr]===mi[zn]&&vp(mi[rn],mi,lt,w)}if(null!==Pt[ya]){const ti=Pt[ya];for(let mi=0;mi<ti.length;mi++){const Ci=ti[mi];vp(Ci[rn],Ci,lt,w)}}}}}return w}function e5(r){const a=Vi(),h=dr(),w=Zi();bn(w+1);const k=s5(h,w);if(r.dirty&&function go(r){return 4==(4&r[vn])}(a)===(2==(2&k.metadata.flags))){if(null===k.matches)r.reset([]);else{const G=k.crossesNgTemplate?vp(h,a,w,[]):$8(h,a,k,w);r.reset(G,m6),r.notifyOnChanges()}return!0}return!1}function t5(r,a,h){const w=dr();w.firstCreatePass&&(o5(w,new X8(r,a,h),-1),2==(2&a)&&(w.staticViewQueries=!0)),a5(w,Vi(),a)}function n5(r,a,h,w){const k=dr();if(k.firstCreatePass){const G=Ma();o5(k,new X8(a,h,w),G.index),function J7(r,a){const h=r.contentQueries||(r.contentQueries=[]);a!==(h.length?h[h.length-1]:-1)&&h.push(r.queries.length-1,a)}(k,r),2==(2&h)&&(k.staticContentQueries=!0)}a5(k,Vi(),h)}function r5(){return function qu(r,a){return r[Zr].queries[a].queryList}(Vi(),Zi())}function a5(r,a,h){const w=new J3(4==(4&h));(function im(r,a,h,w){const k=du(a);k.push(h),r.firstCreatePass&&hu(r).push(w,k.length-1)})(r,a,w,w.destroy),null===a[Zr]&&(a[Zr]=new pp),a[Zr].queries.push(new mp(w))}function o5(r,a,h){null===r.queries&&(r.queries=new t4),r.queries.track(new gp(a,h))}function s5(r,a){return r.queries.getByIndex(a)}function Ju(r,a){return $3(r,a)}function bp(r){return!!Nr(r)}const C5=new Z("Application Initializer");let r4=(()=>{class r{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((h,w)=>{this.resolve=h,this.reject=w}),this.appInits=Zt(C5,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const h=[];for(const k of this.appInits){const G=k();if(s(G))h.push(G);else if(x(G)){const $=new Promise((_e,Ie)=>{G.subscribe({complete:_e,error:Ie})});h.push($)}}const w=()=>{this.done=!0,this.resolve()};Promise.all(h).then(()=>{w()}).catch(k=>{this.reject(k)}),0===h.length&&w(),this.initialized=!0}static#e=this.\u0275fac=function(w){return new(w||r)};static#t=this.\u0275prov=xe({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),w5=(()=>{class r{log(h){console.log(h)}warn(h){console.warn(h)}static#e=this.\u0275fac=function(w){return new(w||r)};static#t=this.\u0275prov=xe({token:r,factory:r.\u0275fac,providedIn:"platform"})}return r})();const a4=new Z("LocaleId",{providedIn:"root",factory:()=>Zt(a4,at.Optional|at.SkipSelf)||function M5(){return typeof $localize<"u"&&$localize.locale||U0}()}),_v=new Z("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let S5=(()=>{class r{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new c.X(!1)}add(){this.hasPendingTasks.next(!0);const h=this.taskId++;return this.pendingTasks.add(h),h}remove(h){this.pendingTasks.delete(h),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(w){return new(w||r)};static#t=this.\u0275prov=xe({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class E5{constructor(a,h){this.ngModuleFactory=a,this.componentFactories=h}}let yv=(()=>{class r{compileModuleSync(h){return new rp(h)}compileModuleAsync(h){return Promise.resolve(this.compileModuleSync(h))}compileModuleAndAllComponentsSync(h){const w=this.compileModuleSync(h),G=cc(Nr(h).declarations).reduce(($,_e)=>{const Ie=_n(_e);return Ie&&$.push(new H1(Ie)),$},[]);return new E5(w,G)}compileModuleAndAllComponentsAsync(h){return Promise.resolve(this.compileModuleAndAllComponentsSync(h))}clearCache(){}clearCacheFor(h){}getModuleId(h){}static#e=this.\u0275fac=function(w){return new(w||r)};static#t=this.\u0275prov=xe({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const L5=new Z(""),I5=new Z("");let Rp,Rv=(()=>{class r{constructor(h,w,k){this._ngZone=h,this.registry=w,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Rp||(function O5(r){Rp=r}(k),k.addToWindow(w)),this._watchAngularEvents(),h.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:()=>{Co.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let h=this._callbacks.pop();clearTimeout(h.timeoutId),h.doneCb(this._didWork)}this._didWork=!1});else{let h=this.getPendingTasks();this._callbacks=this._callbacks.filter(w=>!w.updateCb||!w.updateCb(h)||(clearTimeout(w.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(h=>({source:h.source,creationLocation:h.creationLocation,data:h.data})):[]}addCallback(h,w,k){let G=-1;w&&w>0&&(G=setTimeout(()=>{this._callbacks=this._callbacks.filter($=>$.timeoutId!==G),h(this._didWork,this.getPendingTasks())},w)),this._callbacks.push({doneCb:h,timeoutId:G,updateCb:k})}whenStable(h,w,k){if(k&&!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(h,w,k),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(h){this.registry.registerApplication(h,this)}unregisterApplication(h){this.registry.unregisterApplication(h)}findProviders(h,w,k){return[]}static#e=this.\u0275fac=function(w){return new(w||r)(Lt(Co),Lt(k5),Lt(I5))};static#t=this.\u0275prov=xe({token:r,factory:r.\u0275fac})}return r})(),k5=(()=>{class r{constructor(){this._applications=new Map}registerApplication(h,w){this._applications.set(h,w)}unregisterApplication(h){this._applications.delete(h)}unregisterAllApplications(){this._applications.clear()}getTestability(h){return this._applications.get(h)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(h,w=!0){return Rp?.findTestabilityInTree(this,h,w)??null}static#e=this.\u0275fac=function(w){return new(w||r)};static#t=this.\u0275prov=xe({token:r,factory:r.\u0275fac,providedIn:"platform"})}return r})(),Y1=null;const c4=new Z("AllowMultipleToken"),Hp=new Z("PlatformDestroyListeners"),Fp=new Z("appBootstrapListener");class Fv{constructor(a,h){this.name=a,this.token=h}}function Bp(r,a,h=[]){const w=`Platform: ${a}`,k=new Z(w);return(G=[])=>{let $=l4();if(!$||$.injector.get(c4,!1)){const _e=[...h,...G,{provide:k,useValue:!0}];r?r(_e):function zv(r){if(Y1&&!Y1.get(c4,!1))throw new X(400,!1);(function Vp(){!function Yr(r){qi=r}(()=>{throw new X(600,!1)})})(),Y1=r;const a=r.get(R5);(function P5(r){r.get(zr,null)?.forEach(h=>h())})(r)}(function N5(r=[],a){return Vs.create({name:a,providers:[{provide:jo,useValue:"platform"},{provide:Hp,useValue:new Set([()=>Y1=null])},...r]})}(_e,w))}return function Up(r){const a=l4();if(!a)throw new X(401,!1);return a}()}}function l4(){return Y1?.get(R5)??null}let R5=(()=>{class r{constructor(h){this._injector=h,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(h,w){const k=function Uv(r="zone.js",a){return"noop"===r?new C6:"zone.js"===r?new Co(a):r}(w?.ngZone,function Gp(r){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:r?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:r?.runCoalescing??!1}}({eventCoalescing:w?.ngZoneEventCoalescing,runCoalescing:w?.ngZoneRunCoalescing}));return k.run(()=>{const G=function x8(r,a,h){return new np(r,a,h)}(h.moduleType,this.injector,function V5(r){return[{provide:Co,useFactory:r},{provide:Re,multi:!0,useFactory:()=>{const a=Zt(Gv,{optional:!0});return()=>a.initialize()}},{provide:Zp,useFactory:Wp},{provide:B4,useFactory:Wf}]}(()=>k)),$=G.injector.get($c,null);return k.runOutsideAngular(()=>{const _e=k.onError.subscribe({next:Ie=>{$.handleError(Ie)}});G.onDestroy(()=>{ef(this._modules,G),_e.unsubscribe()})}),function H5(r,a,h){try{const w=h();return s(w)?w.catch(k=>{throw a.runOutsideAngular(()=>r.handleError(k)),k}):w}catch(w){throw a.runOutsideAngular(()=>r.handleError(w)),w}}($,k,()=>{const _e=G.injector.get(r4);return _e.runInitializers(),_e.donePromise.then(()=>(function Zg(r){Ye(r,"Expected localeId to be defined"),"string"==typeof r&&(Gg=r.toLowerCase().replace(/_/g,"-"))}(G.injector.get(a4,U0)||U0),this._moduleDoBootstrap(G),G))})})}bootstrapModule(h,w=[]){const k=F5({},w);return function zp(r,a,h){const w=new rp(h);return Promise.resolve(w)}(0,0,h).then(G=>this.bootstrapModuleFactory(G,k))}_moduleDoBootstrap(h){const w=h.injector.get(j0);if(h._bootstrapComponents.length>0)h._bootstrapComponents.forEach(k=>w.bootstrap(k));else{if(!h.instance.ngDoBootstrap)throw new X(-403,!1);h.instance.ngDoBootstrap(w)}this._modules.push(h)}onDestroy(h){this._destroyListeners.push(h)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new X(404,!1);this._modules.slice().forEach(w=>w.destroy()),this._destroyListeners.forEach(w=>w());const h=this._injector.get(Hp,null);h&&(h.forEach(w=>w()),h.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(w){return new(w||r)(Lt(Vs))};static#t=this.\u0275prov=xe({token:r,factory:r.\u0275fac,providedIn:"platform"})}return r})();function F5(r,a){return Array.isArray(a)?a.reduce(F5,r):{...r,...a}}let j0=(()=>{class r{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Zt(Zp),this.zoneIsStable=Zt(B4),this.componentTypes=[],this.components=[],this.isStable=Zt(S5).hasPendingTasks.pipe((0,P.w)(h=>h?(0,C.of)(!1):this.zoneIsStable),(0,d.x)(),(0,u.B)()),this._injector=Zt(Qo)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(h,w){const k=h instanceof tu;if(!this._injector.get(r4).done)throw!k&&br(h),new X(405,!1);let $;$=k?h:this._injector.get(x0).resolveComponentFactory(h),this.componentTypes.push($.componentType);const _e=function Hv(r){return r.isBoundToModule}($)?void 0:this._injector.get(s2),lt=$.create(Vs.NULL,[],w||$.selector,_e),Pt=lt.location.nativeElement,ti=lt.injector.get(L5,null);return ti?.registerApplication(Pt),lt.onDestroy(()=>{this.detachView(lt.hostView),ef(this.components,lt),ti?.unregisterApplication(Pt)}),this._loadComponent(lt),lt}tick(){if(this._runningTick)throw new X(101,!1);try{this._runningTick=!0;for(let h of this._views)h.detectChanges()}catch(h){this.internalErrorHandler(h)}finally{this._runningTick=!1}}attachView(h){const w=h;this._views.push(w),w.attachToAppRef(this)}detachView(h){const w=h;ef(this._views,w),w.detachFromAppRef()}_loadComponent(h){this.attachView(h.hostView),this.tick(),this.components.push(h);const w=this._injector.get(Fp,[]);w.push(...this._bootstrapListeners),w.forEach(k=>k(h))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(h=>h()),this._views.slice().forEach(h=>h.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(h){return this._destroyListeners.push(h),()=>ef(this._destroyListeners,h)}destroy(){if(this._destroyed)throw new X(406,!1);const h=this._injector;h.destroy&&!h.destroyed&&h.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(w){return new(w||r)};static#t=this.\u0275prov=xe({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function ef(r,a){const h=r.indexOf(a);h>-1&&r.splice(h,1)}const Zp=new Z("",{providedIn:"root",factory:()=>Zt($c).handleError.bind(void 0)});function Wp(){const r=Zt(Co),a=Zt($c);return h=>r.runOutsideAngular(()=>a.handleError(h))}let Gv=(()=>{class r{constructor(){this.zone=Zt(Co),this.applicationRef=Zt(j0)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(w){return new(w||r)};static#t=this.\u0275prov=xe({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function Wv(){return!1}let Yv=(()=>{class r{static#e=this.__NG_ELEMENT_ID__=G5}return r})();function G5(r){return function jv(r,a,h){if(It(r)&&!h){const w=wa(r.index,a);return new R1(w,w)}return 47&r.type?new R1(a[lr],a):null}(Ma(),Vi(),16==(16&r))}class Y5{constructor(){}supports(a){return Eu(a)}create(a){return new $v(a)}}const j5=(r,a)=>a;class $v{constructor(a){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=a||j5}forEachItem(a){let h;for(h=this._itHead;null!==h;h=h._next)a(h)}forEachOperation(a){let h=this._itHead,w=this._removalsHead,k=0,G=null;for(;h||w;){const $=!w||h&&h.currentIndex<Qp(w,k,G)?h:w,_e=Qp($,k,G),Ie=$.currentIndex;if($===w)k--,w=w._nextRemoved;else if(h=h._next,null==$.previousIndex)k++;else{G||(G=[]);const lt=_e-k,Pt=Ie-k;if(lt!=Pt){for(let mi=0;mi<lt;mi++){const Ci=mi<G.length?G[mi]:G[mi]=0,Pi=Ci+mi;Pt<=Pi&&Pi<lt&&(G[mi]=Ci+1)}G[$.previousIndex]=Pt-lt}}_e!==Ie&&a($,_e,Ie)}}forEachPreviousItem(a){let h;for(h=this._previousItHead;null!==h;h=h._nextPrevious)a(h)}forEachAddedItem(a){let h;for(h=this._additionsHead;null!==h;h=h._nextAdded)a(h)}forEachMovedItem(a){let h;for(h=this._movesHead;null!==h;h=h._nextMoved)a(h)}forEachRemovedItem(a){let h;for(h=this._removalsHead;null!==h;h=h._nextRemoved)a(h)}forEachIdentityChange(a){let h;for(h=this._identityChangesHead;null!==h;h=h._nextIdentityChange)a(h)}diff(a){if(null==a&&(a=[]),!Eu(a))throw new X(900,!1);return this.check(a)?this:null}onDestroy(){}check(a){this._reset();let k,G,$,h=this._itHead,w=!1;if(Array.isArray(a)){this.length=a.length;for(let _e=0;_e<this.length;_e++)G=a[_e],$=this._trackByFn(_e,G),null!==h&&Object.is(h.trackById,$)?(w&&(h=this._verifyReinsertion(h,G,$,_e)),Object.is(h.item,G)||this._addIdentityChange(h,G)):(h=this._mismatch(h,G,$,_e),w=!0),h=h._next}else k=0,function _m(r,a){if(Array.isArray(r))for(let h=0;h<r.length;h++)a(r[h]);else{const h=r[Symbol.iterator]();let w;for(;!(w=h.next()).done;)a(w.value)}}(a,_e=>{$=this._trackByFn(k,_e),null!==h&&Object.is(h.trackById,$)?(w&&(h=this._verifyReinsertion(h,_e,$,k)),Object.is(h.item,_e)||this._addIdentityChange(h,_e)):(h=this._mismatch(h,_e,$,k),w=!0),h=h._next,k++}),this.length=k;return this._truncate(h),this.collection=a,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let a;for(a=this._previousItHead=this._itHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;null!==a;a=a._nextAdded)a.previousIndex=a.currentIndex;for(this._additionsHead=this._additionsTail=null,a=this._movesHead;null!==a;a=a._nextMoved)a.previousIndex=a.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(a,h,w,k){let G;return null===a?G=this._itTail:(G=a._prev,this._remove(a)),null!==(a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(w,null))?(Object.is(a.item,h)||this._addIdentityChange(a,h),this._reinsertAfter(a,G,k)):null!==(a=null===this._linkedRecords?null:this._linkedRecords.get(w,k))?(Object.is(a.item,h)||this._addIdentityChange(a,h),this._moveAfter(a,G,k)):a=this._addAfter(new e9(h,w),G,k),a}_verifyReinsertion(a,h,w,k){let G=null===this._unlinkedRecords?null:this._unlinkedRecords.get(w,null);return null!==G?a=this._reinsertAfter(G,a._prev,k):a.currentIndex!=k&&(a.currentIndex=k,this._addToMoves(a,k)),a}_truncate(a){for(;null!==a;){const h=a._next;this._addToRemovals(this._unlink(a)),a=h}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(a,h,w){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);const k=a._prevRemoved,G=a._nextRemoved;return null===k?this._removalsHead=G:k._nextRemoved=G,null===G?this._removalsTail=k:G._prevRemoved=k,this._insertAfter(a,h,w),this._addToMoves(a,w),a}_moveAfter(a,h,w){return this._unlink(a),this._insertAfter(a,h,w),this._addToMoves(a,w),a}_addAfter(a,h,w){return this._insertAfter(a,h,w),this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a,a}_insertAfter(a,h,w){const k=null===h?this._itHead:h._next;return a._next=k,a._prev=h,null===k?this._itTail=a:k._prev=a,null===h?this._itHead=a:h._next=a,null===this._linkedRecords&&(this._linkedRecords=new Q5),this._linkedRecords.put(a),a.currentIndex=w,a}_remove(a){return this._addToRemovals(this._unlink(a))}_unlink(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);const h=a._prev,w=a._next;return null===h?this._itHead=w:h._next=w,null===w?this._itTail=h:w._prev=h,a}_addToMoves(a,h){return a.previousIndex===h||(this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a),a}_addToRemovals(a){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Q5),this._unlinkedRecords.put(a),a.currentIndex=null,a._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a),a}_addIdentityChange(a,h){return a.item=h,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a,a}}class e9{constructor(a,h){this.item=a,this.trackById=h,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 K5{constructor(){this._head=null,this._tail=null}add(a){null===this._head?(this._head=this._tail=a,a._nextDup=null,a._prevDup=null):(this._tail._nextDup=a,a._prevDup=this._tail,a._nextDup=null,this._tail=a)}get(a,h){let w;for(w=this._head;null!==w;w=w._nextDup)if((null===h||h<=w.currentIndex)&&Object.is(w.trackById,a))return w;return null}remove(a){const h=a._prevDup,w=a._nextDup;return null===h?this._head=w:h._nextDup=w,null===w?this._tail=h:w._prevDup=h,null===this._head}}class Q5{constructor(){this.map=new Map}put(a){const h=a.trackById;let w=this.map.get(h);w||(w=new K5,this.map.set(h,w)),w.add(a)}get(a,h){const k=this.map.get(a);return k?k.get(a,h):null}remove(a){const h=a.trackById;return this.map.get(h).remove(a)&&this.map.delete(h),a}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Qp(r,a,h){const w=r.previousIndex;if(null===w)return w;let k=0;return h&&w<h.length&&(k=h[w]),w+a+k}class q5{constructor(){}supports(a){return a instanceof Map||Xo(a)}create(){return new t9}}class t9{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(a){let h;for(h=this._mapHead;null!==h;h=h._next)a(h)}forEachPreviousItem(a){let h;for(h=this._previousMapHead;null!==h;h=h._nextPrevious)a(h)}forEachChangedItem(a){let h;for(h=this._changesHead;null!==h;h=h._nextChanged)a(h)}forEachAddedItem(a){let h;for(h=this._additionsHead;null!==h;h=h._nextAdded)a(h)}forEachRemovedItem(a){let h;for(h=this._removalsHead;null!==h;h=h._nextRemoved)a(h)}diff(a){if(a){if(!(a instanceof Map||Xo(a)))throw new X(900,!1)}else a=new Map;return this.check(a)?this:null}onDestroy(){}check(a){this._reset();let h=this._mapHead;if(this._appendAfter=null,this._forEach(a,(w,k)=>{if(h&&h.key===k)this._maybeAddToChanges(h,w),this._appendAfter=h,h=h._next;else{const G=this._getOrCreateRecordForKey(k,w);h=this._insertBeforeOrAppend(h,G)}}),h){h._prev&&(h._prev._next=null),this._removalsHead=h;for(let w=h;null!==w;w=w._nextRemoved)w===this._mapHead&&(this._mapHead=null),this._records.delete(w.key),w._nextRemoved=w._next,w.previousValue=w.currentValue,w.currentValue=null,w._prev=null,w._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(a,h){if(a){const w=a._prev;return h._next=a,h._prev=w,a._prev=h,w&&(w._next=h),a===this._mapHead&&(this._mapHead=h),this._appendAfter=a,a}return this._appendAfter?(this._appendAfter._next=h,h._prev=this._appendAfter):this._mapHead=h,this._appendAfter=h,null}_getOrCreateRecordForKey(a,h){if(this._records.has(a)){const k=this._records.get(a);this._maybeAddToChanges(k,h);const G=k._prev,$=k._next;return G&&(G._next=$),$&&($._prev=G),k._next=null,k._prev=null,k}const w=new i9(a);return this._records.set(a,w),w.currentValue=h,this._addToAdditions(w),w}_reset(){if(this.isDirty){let a;for(this._previousMapHead=this._mapHead,a=this._previousMapHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;null!==a;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;null!=a;a=a._nextAdded)a.previousValue=a.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(a,h){Object.is(h,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=h,this._addToChanges(a))}_addToAdditions(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:(this._additionsTail._nextAdded=a,this._additionsTail=a)}_addToChanges(a){null===this._changesHead?this._changesHead=this._changesTail=a:(this._changesTail._nextChanged=a,this._changesTail=a)}_forEach(a,h){a instanceof Map?a.forEach(h):Object.keys(a).forEach(w=>h(a[w],w))}}class i9{constructor(a){this.key=a,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function qp(){return new Jp([new Y5])}let Jp=(()=>{class r{static#e=this.\u0275prov=xe({token:r,providedIn:"root",factory:qp});constructor(h){this.factories=h}static create(h,w){if(null!=w){const k=w.factories.slice();h=h.concat(k)}return new r(h)}static extend(h){return{provide:r,useFactory:w=>r.create(h,w||qp()),deps:[[r,new Cc,new vs]]}}find(h){const w=this.factories.find(k=>k.supports(h));if(null!=w)return w;throw new X(901,!1)}}return r})();function Xp(){return new $p([new q5])}let $p=(()=>{class r{static#e=this.\u0275prov=xe({token:r,providedIn:"root",factory:Xp});constructor(h){this.factories=h}static create(h,w){if(w){const k=w.factories.slice();h=h.concat(k)}return new r(h)}static extend(h){return{provide:r,useFactory:w=>r.create(h,w||Xp()),deps:[[r,new Cc,new vs]]}}find(h){const w=this.factories.find(k=>k.supports(h));if(w)return w;throw new X(901,!1)}}return r})();const X5=Bp(null,"core",[]);let $5=(()=>{class r{constructor(h){}static#e=this.\u0275fac=function(w){return new(w||r)(Lt(j0))};static#t=this.\u0275mod=Ni({type:r});static#i=this.\u0275inj=oe({})}return r})();function h9(r){return"boolean"==typeof r?r:null!=r&&"false"!==r}function p9(r){const a=_n(r);if(!a)return null;const h=new H1(a);return{get selector(){return h.selector},get type(){return h.componentType},get inputs(){return h.inputs},get outputs(){return h.outputs},get ngContentSelectors(){return h.ngContentSelectors},get isStandalone(){return a.standalone},get isSignal(){return a.signals}}}},1993:(Ue,q,p)=>{"use strict";p.d(q,{O4:()=>Ge});var e=p(5879);class C extends Error{constructor(Ne,Ve){super(function u(Le,Ne){return`NG0${Math.abs(Le)}${Ne?": "+Ne:""}`}(Ne,Ve)),this.code=Ne}}let R=null;function W(Le){const Ne=R;return R=Le,Ne}function Ge(Le,Ne){const Ve=!Ne?.manualCleanup;Ve&&!Ne?.injector&&(0,e.gHi)(Ge);const at=Ve?Ne?.injector?.get(e.ktI)??(0,e.f3M)(e.ktI):null;let ve;return ve=(0,e.tdS)(Ne?.requireSync?{kind:0}:{kind:1,value:Ne?.initialValue}),function ze(Le){const Ne=W(null);try{return Le()}finally{W(Ne)}}(()=>{const De=Le.subscribe({next:xt=>ve.set({kind:1,value:xt}),error:xt=>ve.set({kind:2,error:xt})});at?.onDestroy(De.unsubscribe.bind(De))}),(0,e.Flj)(()=>{const De=ve();switch(De.kind){case 1:return De.value;case 2:throw De.error;case 0:throw new C(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}},5766:(Ue,q,p)=>{"use strict";function e(S){for(let M in S){let I=S[M]??"";switch(M){case"display":S.display="flex"===I?["-webkit-flex","flex"]:"inline-flex"===I?["-webkit-inline-flex","inline-flex"]:I;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":S["-webkit-"+M]=I;break;case"flex-direction":S["-webkit-flex-direction"]=I,S["flex-direction"]=I;break;case"order":S.order=S["-webkit-"+M]=isNaN(+I)?"0":I}}return S}p.d(q,{Ar:()=>T,GK:()=>e,iQ:()=>g,kt:()=>d,tj:()=>C});const t="inline",g=["row","column","row-reverse","column-reverse"];function T(S){let[M,I,D]=c(S);return function P(S,M=null,I=!1){return{display:I?"inline-flex":"flex","box-sizing":"border-box","flex-direction":S,"flex-wrap":M||null}}(M,I,D)}function c(S){S=S?.toLowerCase()??"";let[M,I,D]=S.split(" ");return g.find(R=>R===M)||(M=g[0]),I===t&&(I=D!==t?D:"",D=t),[M,u(I),!!D]}function C(S){let[M]=c(S);return M.indexOf("row")>-1}function u(S){if(S)switch(S.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":S="wrap-reverse";break;case"no":case"none":case"nowrap":S="nowrap";break;default:S="wrap"}return S}function d(S,...M){if(null==S)throw TypeError("Cannot convert undefined or null to object");for(let I of M)if(null!=I)for(let D in I)I.hasOwnProperty(D)&&(S[D]=I[D]);return S}},1462:(Ue,q,p)=>{"use strict";p.d(q,{Bs:()=>J,FL:()=>re,IR:()=>D,Ot:()=>ke,QI:()=>X,RK:()=>pe,WU:()=>Y,g5:()=>W,iR:()=>Ne,wY:()=>Q,yB:()=>Ge});var e=p(5879),t=p(6814),g=p(5619),T=p(5592),c=p(3019),C=p(8645),u=p(5766),P=p(2181),d=p(9397);const M={provide:e.tb,useFactory:function S(Be,Nt){return()=>{if((0,t.NF)(Nt)){const Ke=Array.from(Be.querySelectorAll(`[class*=${I}]`)),yt=/\bflex-layout-.+?\b/g;Ke.forEach(kt=>{kt.classList.contains(`${I}ssr`)&&kt.parentNode?kt.parentNode.removeChild(kt):kt.className.replace(yt,"")})}}},deps:[t.K0,e.Lbi],multi:!0},I="flex-layout-";let D=(()=>{class Be{}return Be.\u0275fac=function(Ke){return new(Ke||Be)},Be.\u0275mod=e.oAB({type:Be}),Be.\u0275inj=e.cJS({providers:[M]}),Be})();class R{constructor(Nt=!1,Ke="all",yt="",kt="",Dt=0){this.matches=Nt,this.mediaQuery=Ke,this.mqAlias=yt,this.suffix=kt,this.priority=Dt,this.property=""}clone(){return new R(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let F=(()=>{class Be{constructor(){this.stylesheet=new Map}addStyleToElement(Ke,yt,kt){const Dt=this.stylesheet.get(Ke);Dt?Dt.set(yt,kt):this.stylesheet.set(Ke,new Map([[yt,kt]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(Ke,yt){const kt=this.stylesheet.get(Ke);let Dt="";if(kt){const Rt=kt.get(yt);("number"==typeof Rt||"string"==typeof Rt)&&(Dt=Rt+"")}return Dt}}return Be.\u0275fac=function(Ke){return new(Ke||Be)},Be.\u0275prov=e.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const W={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Y=new e.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>W}),Q=new e.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),J=new e.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function ne(Be,Nt){return Be=Be?.clone()??new R,Nt&&(Be.mqAlias=Nt.alias,Be.mediaQuery=Nt.mediaQuery,Be.suffix=Nt.suffix,Be.priority=Nt.priority),Be}class X{constructor(){this.shouldCache=!0}sideEffect(Nt,Ke,yt){}}let pe=(()=>{class Be{constructor(Ke,yt,kt,Dt){this._serverStylesheet=Ke,this._serverModuleLoaded=yt,this._platformId=kt,this.layoutConfig=Dt}applyStyleToElement(Ke,yt,kt=null){let Dt={};"string"==typeof yt&&(Dt[yt]=kt,yt=Dt),Dt=this.layoutConfig.disableVendorPrefixes?yt:(0,u.GK)(yt),this._applyMultiValueStyleToElement(Dt,Ke)}applyStyleToElements(Ke,yt=[]){const kt=this.layoutConfig.disableVendorPrefixes?Ke:(0,u.GK)(Ke);yt.forEach(Dt=>{this._applyMultiValueStyleToElement(kt,Dt)})}getFlowDirection(Ke){const yt="flex-direction";let kt=this.lookupStyle(Ke,yt);return[kt||"row",this.lookupInlineStyle(Ke,yt)||(0,t.PM)(this._platformId)&&this._serverModuleLoaded?kt:""]}hasWrap(Ke){return"wrap"===this.lookupStyle(Ke,"flex-wrap")}lookupAttributeValue(Ke,yt){return Ke.getAttribute(yt)??""}lookupInlineStyle(Ke,yt){return(0,t.NF)(this._platformId)?Ke.style.getPropertyValue(yt):function ie(Be,Nt){return ae(Be)[Nt]??""}(Ke,yt)}lookupStyle(Ke,yt,kt=!1){let Dt="";return Ke&&((Dt=this.lookupInlineStyle(Ke,yt))||((0,t.NF)(this._platformId)?kt||(Dt=getComputedStyle(Ke).getPropertyValue(yt)):this._serverModuleLoaded&&(Dt=this._serverStylesheet.getStyleForElement(Ke,yt)))),Dt?Dt.trim():""}_applyMultiValueStyleToElement(Ke,yt){Object.keys(Ke).sort().forEach(kt=>{const Dt=Ke[kt],Rt=Array.isArray(Dt)?Dt:[Dt];Rt.sort();for(let pt of Rt)pt=pt?pt+"":"",(0,t.NF)(this._platformId)||!this._serverModuleLoaded?(0,t.NF)(this._platformId)?yt.style.setProperty(kt,pt):de(yt,kt,pt):this._serverStylesheet.addStyleToElement(yt,kt,pt)})}}return Be.\u0275fac=function(Ke){return new(Ke||Be)(e.LFG(F),e.LFG(Q),e.LFG(e.Lbi),e.LFG(Y))},Be.\u0275prov=e.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();function de(Be,Nt,Ke){Nt=Nt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const yt=ae(Be);yt[Nt]=Ke??"",function te(Be,Nt){let Ke="";for(const yt in Nt)Nt[yt]&&(Ke+=`${yt}:${Nt[yt]};`);Be.setAttribute("style",Ke)}(Be,yt)}function ae(Be){const Nt={},Ke=Be.getAttribute("style");if(Ke){const yt=Ke.split(/;+/g);for(let kt=0;kt<yt.length;kt++){const Dt=yt[kt].trim();if(Dt.length>0){const Rt=Dt.indexOf(":");if(-1===Rt)throw new Error(`Invalid CSS style: ${Dt}`);Nt[Dt.substr(0,Rt).trim()]=Dt.substr(Rt+1).trim()}}}return Nt}function E(Be,Nt){return(Nt&&Nt.priority||0)-(Be&&Be.priority||0)}function i(Be,Nt){return(Be.priority||0)-(Nt.priority||0)}let o=(()=>{class Be{constructor(Ke,yt,kt){this._zone=Ke,this._platformId=yt,this._document=kt,this.source=new g.X(new R(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const Ke=[];return this.registry.forEach((yt,kt)=>{yt.matches&&Ke.push(kt)}),Ke}isActive(Ke){return this.registry.get(Ke)?.matches??this.registerQuery(Ke).some(kt=>kt.matches)}observe(Ke,yt=!1){if(Ke&&Ke.length){const kt=this._observable$.pipe((0,P.h)(Rt=>!yt||Ke.indexOf(Rt.mediaQuery)>-1)),Dt=new T.y(Rt=>{const pt=this.registerQuery(Ke);if(pt.length){const vt=pt.pop();pt.forEach(Te=>{Rt.next(Te)}),this.source.next(vt)}Rt.complete()});return(0,c.T)(Dt,kt)}return this._observable$}registerQuery(Ke){const yt=Array.isArray(Ke)?Ke:[Ke],kt=[];return function l(Be,Nt){const Ke=Be.filter(yt=>!m[yt]);if(Ke.length>0){const yt=Ke.join(", ");try{const kt=Nt.createElement("style");kt.setAttribute("type","text/css"),kt.styleSheet||kt.appendChild(Nt.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${yt} {.fx-query-test{ }}\n`)),Nt.head.appendChild(kt),Ke.forEach(Dt=>m[Dt]=kt)}catch(kt){console.error(kt)}}}(yt,this._document),yt.forEach(Dt=>{const Rt=vt=>{this._zone.run(()=>this.source.next(new R(vt.matches,Dt)))};let pt=this.registry.get(Dt);pt||(pt=this.buildMQL(Dt),pt.addListener(Rt),this.pendingRemoveListenerFns.push(()=>pt.removeListener(Rt)),this.registry.set(Dt,pt)),pt.matches&&kt.push(new R(!0,Dt))}),kt}ngOnDestroy(){let Ke;for(;Ke=this.pendingRemoveListenerFns.pop();)Ke()}buildMQL(Ke){return function L(Be,Nt){return Nt&&window.matchMedia("all").addListener?window.matchMedia(Be):function y(Be){const Nt=new EventTarget;return Nt.matches="all"===Be||""===Be,Nt.media=Be,Nt.addListener=()=>{},Nt.removeListener=()=>{},Nt.addEventListener=()=>{},Nt.dispatchEvent=()=>!1,Nt.onchange=null,Nt}(Be)}(Ke,(0,t.NF)(this._platformId))}}return Be.\u0275fac=function(Ke){return new(Ke||Be)(e.LFG(e.R0b),e.LFG(e.Lbi),e.LFG(t.K0))},Be.\u0275prov=e.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const m={},O=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],b="(orientation: portrait) and (max-width: 599.98px)",n="(orientation: landscape) and (max-width: 959.98px)",_="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",H="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",V="(orientation: portrait) and (min-width: 840px)",K="(orientation: landscape) and (min-width: 1280px)",se={HANDSET:`${b}, ${n}`,TABLET:`${_} , ${H}`,WEB:`${V}, ${K} `,HANDSET_PORTRAIT:`${b}`,TABLET_PORTRAIT:`${_} `,WEB_PORTRAIT:`${V}`,HANDSET_LANDSCAPE:`${n}`,TABLET_LANDSCAPE:`${H}`,WEB_LANDSCAPE:`${K}`},Ye=[{alias:"handset",priority:2e3,mediaQuery:se.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:se.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:se.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:se.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:se.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:se.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:se.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:se.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:se.WEB_PORTRAIT,overlapping:!0}],Oe=/(\.|-|_)/g;function Qe(Be){let Nt=Be.length>0?Be.charAt(0):"",Ke=Be.length>1?Be.slice(1):"";return Nt.toUpperCase()+Ke}const Pe=new e.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const Be=(0,e.f3M)(J),Nt=(0,e.f3M)(Y),Ke=[].concat.apply([],(Be||[]).map(kt=>Array.isArray(kt)?kt:[kt]));return function xe(Be,Nt=[]){const Ke={};return Be.forEach(yt=>{Ke[yt.alias]=yt}),Nt.forEach(yt=>{Ke[yt.alias]?(0,u.kt)(Ke[yt.alias],yt):Ke[yt.alias]=yt}),function ue(Be){return Be.forEach(Nt=>{Nt.suffix||(Nt.suffix=function be(Be){return Be.replace(Oe,"|").split("|").map(Qe).join("")}(Nt.alias),Nt.overlapping=!!Nt.overlapping)}),Be}(Object.keys(Ke).map(yt=>Ke[yt]))}((Nt.disableDefaultBps?[]:O).concat(Nt.addOrientationBps?Ye:[]),Ke)}});let oe=(()=>{class Be{constructor(Ke){this.findByMap=new Map,this.items=[...Ke].sort(i)}findByAlias(Ke){return Ke?this.findWithPredicate(Ke,yt=>yt.alias===Ke):null}findByQuery(Ke){return this.findWithPredicate(Ke,yt=>yt.mediaQuery===Ke)}get overlappings(){return this.items.filter(Ke=>Ke.overlapping)}get aliases(){return this.items.map(Ke=>Ke.alias)}get suffixes(){return this.items.map(Ke=>Ke?.suffix??"")}findWithPredicate(Ke,yt){let kt=this.findByMap.get(Ke);return kt||(kt=this.items.find(yt)??null,this.findByMap.set(Ke,kt)),kt??null}}return Be.\u0275fac=function(Ke){return new(Ke||Be)(e.LFG(Pe))},Be.\u0275prov=e.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const ze="print",we={alias:ze,mediaQuery:ze,priority:1e3};let le=(()=>{class Be{constructor(Ke,yt,kt){this.breakpoints=Ke,this.layoutConfig=yt,this._document=kt,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new ge,this.deactivations=[]}withPrintQuery(Ke){return[...Ke,ze]}isPrintEvent(Ke){return Ke.mediaQuery.startsWith(ze)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(Ke=>this.breakpoints.findByAlias(Ke)).filter(Ke=>null!==Ke)}getEventBreakpoints({mediaQuery:Ke}){const yt=this.breakpoints.findByQuery(Ke);return(yt?[...this.printBreakPoints,yt]:this.printBreakPoints).sort(E)}updateEvent(Ke){let yt=this.breakpoints.findByQuery(Ke.mediaQuery);return this.isPrintEvent(Ke)&&(yt=this.getEventBreakpoints(Ke)[0],Ke.mediaQuery=yt?.mediaQuery??""),ne(Ke,yt)}registerBeforeAfterPrintHooks(Ke){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const yt=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(Ke,this.getEventBreakpoints(new R(!0,ze))),Ke.updateStyles())},kt=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(Ke),Ke.updateStyles())};this._document.defaultView.addEventListener("beforeprint",yt),this._document.defaultView.addEventListener("afterprint",kt),this.beforePrintEventListeners.push(yt),this.afterPrintEventListeners.push(kt)}interceptEvents(Ke){return yt=>{this.isPrintEvent(yt)?yt.matches&&!this.isPrinting?(this.startPrinting(Ke,this.getEventBreakpoints(yt)),Ke.updateStyles()):!yt.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(Ke),Ke.updateStyles()):this.collectActivations(Ke,yt)}}blockPropagation(){return Ke=>!(this.isPrinting||this.isPrintEvent(Ke))}startPrinting(Ke,yt){this.isPrinting=!0,this.formerActivations=Ke.activatedBreakpoints,Ke.activatedBreakpoints=this.queue.addPrintBreakpoints(yt)}stopPrinting(Ke){Ke.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(Ke,yt){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!yt.matches){const kt=this.breakpoints.findByQuery(yt.mediaQuery);if(kt){const Dt=this.formerActivations&&this.formerActivations.includes(kt),Rt=!this.formerActivations&&Ke.activatedBreakpoints.includes(kt);(Dt||Rt)&&(this.deactivations.push(kt),this.deactivations.sort(E))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(Ke=>this._document.defaultView.removeEventListener("beforeprint",Ke)),this.afterPrintEventListeners.forEach(Ke=>this._document.defaultView.removeEventListener("afterprint",Ke)))}}return Be.\u0275fac=function(Ke){return new(Ke||Be)(e.LFG(oe),e.LFG(Y),e.LFG(t.K0))},Be.\u0275prov=e.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();class ge{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(Nt){return Nt.push(we),Nt.sort(E),Nt.forEach(Ke=>this.addBreakpoint(Ke)),this.printBreakpoints}addBreakpoint(Nt){Nt&&void 0===this.printBreakpoints.find(yt=>yt.mediaQuery===Nt.mediaQuery)&&(this.printBreakpoints=function fe(Be){return Be?.mediaQuery.startsWith(ze)??!1}(Nt)?[Nt,...this.printBreakpoints]:[...this.printBreakpoints,Nt])}clear(){this.printBreakpoints=[]}}let Ge=(()=>{class Be{constructor(Ke,yt,kt){this.matchMedia=Ke,this.breakpoints=yt,this.hook=kt,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(Ke){this._activatedBreakpoints=[...Ke]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(Ke){this._useFallbacks=Ke}onMediaChange(Ke){const yt=this.findByQuery(Ke.mediaQuery);if(yt){Ke=ne(Ke,yt);const kt=this.activatedBreakpoints.indexOf(yt);Ke.matches&&-1===kt?(this._activatedBreakpoints.push(yt),this._activatedBreakpoints.sort(E),this.updateStyles()):!Ke.matches&&-1!==kt&&(this._activatedBreakpoints.splice(kt,1),this._activatedBreakpoints.sort(E),this.updateStyles())}}init(Ke,yt,kt,Dt,Rt=[]){Le(this.updateMap,Ke,yt,kt),Le(this.clearMap,Ke,yt,Dt),this.buildElementKeyMap(Ke,yt),this.watchExtraTriggers(Ke,yt,Rt)}getValue(Ke,yt,kt){const Dt=this.elementMap.get(Ke);if(Dt){const Rt=void 0!==kt?Dt.get(kt):this.getActivatedValues(Dt,yt);if(Rt)return Rt.get(yt)}}hasValue(Ke,yt){const kt=this.elementMap.get(Ke);if(kt){const Dt=this.getActivatedValues(kt,yt);if(Dt)return void 0!==Dt.get(yt)||!1}return!1}setValue(Ke,yt,kt,Dt){let Rt=this.elementMap.get(Ke);if(Rt){const vt=(Rt.get(Dt)??new Map).set(yt,kt);Rt.set(Dt,vt),this.elementMap.set(Ke,Rt)}else Rt=(new Map).set(Dt,(new Map).set(yt,kt)),this.elementMap.set(Ke,Rt);const pt=this.getValue(Ke,yt);void 0!==pt&&this.updateElement(Ke,yt,pt)}trackValue(Ke,yt){return this.subject.asObservable().pipe((0,P.h)(kt=>kt.element===Ke&&kt.key===yt))}updateStyles(){this.elementMap.forEach((Ke,yt)=>{const kt=new Set(this.elementKeyMap.get(yt));let Dt=this.getActivatedValues(Ke);Dt&&Dt.forEach((Rt,pt)=>{this.updateElement(yt,pt,Rt),kt.delete(pt)}),kt.forEach(Rt=>{if(Dt=this.getActivatedValues(Ke,Rt),Dt){const pt=Dt.get(Rt);this.updateElement(yt,Rt,pt)}else this.clearElement(yt,Rt)})})}clearElement(Ke,yt){const kt=this.clearMap.get(Ke);if(kt){const Dt=kt.get(yt);Dt&&(Dt(),this.subject.next({element:Ke,key:yt,value:""}))}}updateElement(Ke,yt,kt){const Dt=this.updateMap.get(Ke);if(Dt){const Rt=Dt.get(yt);Rt&&(Rt(kt),this.subject.next({element:Ke,key:yt,value:kt}))}}releaseElement(Ke){const yt=this.watcherMap.get(Ke);yt&&(yt.forEach(Dt=>Dt.unsubscribe()),this.watcherMap.delete(Ke));const kt=this.elementMap.get(Ke);kt&&(kt.forEach((Dt,Rt)=>kt.delete(Rt)),this.elementMap.delete(Ke))}triggerUpdate(Ke,yt){const kt=this.elementMap.get(Ke);if(kt){const Dt=this.getActivatedValues(kt,yt);Dt&&(yt?this.updateElement(Ke,yt,Dt.get(yt)):Dt.forEach((Rt,pt)=>this.updateElement(Ke,pt,Rt)))}}buildElementKeyMap(Ke,yt){let kt=this.elementKeyMap.get(Ke);kt||(kt=new Set,this.elementKeyMap.set(Ke,kt)),kt.add(yt)}watchExtraTriggers(Ke,yt,kt){if(kt&&kt.length){let Dt=this.watcherMap.get(Ke);if(Dt||(Dt=new Map,this.watcherMap.set(Ke,Dt)),!Dt.get(yt)){const pt=(0,c.T)(...kt).subscribe(()=>{const vt=this.getValue(Ke,yt);this.updateElement(Ke,yt,vt)});Dt.set(yt,pt)}}}findByQuery(Ke){return this.breakpoints.findByQuery(Ke)}getActivatedValues(Ke,yt){for(let Dt=0;Dt<this.activatedBreakpoints.length;Dt++){const pt=Ke.get(this.activatedBreakpoints[Dt].alias);if(pt&&(void 0===yt||pt.has(yt)&&null!=pt.get(yt)))return pt}if(!this._useFallbacks)return;const kt=Ke.get("");return void 0===yt||kt&&kt.has(yt)?kt:void 0}observeActivations(){const Ke=this.breakpoints.items.map(yt=>yt.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(Ke)).pipe((0,d.b)(this.hook.interceptEvents(this)),(0,P.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return Be.\u0275fac=function(Ke){return new(Ke||Be)(e.LFG(o),e.LFG(oe),e.LFG(le))},Be.\u0275prov=e.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();function Le(Be,Nt,Ke,yt){if(void 0!==yt){const kt=Be.get(Nt)??new Map;kt.set(Ke,yt),Be.set(Nt,kt)}}let Ne=(()=>{class Be{constructor(Ke,yt,kt,Dt){this.elementRef=Ke,this.styleBuilder=yt,this.styler=kt,this.marshal=Dt,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(Ke){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Ke,this.marshal.activatedAlias)}ngOnChanges(Ke){Object.keys(Ke).forEach(yt=>{if(-1!==this.inputs.indexOf(yt)){const kt=yt.split(".").slice(1).join(".");this.setValue(Ke[yt].currentValue,kt)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(Ke=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),Ke)}addStyles(Ke,yt){const kt=this.styleBuilder,Dt=kt.shouldCache;let Rt=this.styleCache.get(Ke);(!Rt||!Dt)&&(Rt=kt.buildStyles(Ke,yt),Dt&&this.styleCache.set(Ke,Rt)),this.mru={...Rt},this.applyStyleToElement(Rt),kt.sideEffect(Ke,Rt,yt)}clearStyles(){Object.keys(this.mru).forEach(Ke=>{this.mru[Ke]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(Ke,yt=!1){if(Ke){const[kt,Dt]=this.styler.getFlowDirection(Ke);if(!Dt&&yt){const Rt=(0,u.Ar)(kt);this.styler.applyStyleToElements(Rt,[Ke])}return kt.trim()}return"row"}hasWrap(Ke){return this.styler.hasWrap(Ke)}applyStyleToElement(Ke,yt,kt=this.nativeElement){this.styler.applyStyleToElement(kt,Ke,yt)}setValue(Ke,yt){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Ke,yt)}updateWithValue(Ke){this.currentValue!==Ke&&(this.addStyles(Ke),this.currentValue=Ke)}}return Be.\u0275fac=function(Ke){return new(Ke||Be)(e.Y36(e.SBq),e.Y36(X),e.Y36(pe),e.Y36(Ge))},Be.\u0275dir=e.lG2({type:Be,features:[e.TTD]}),Be})();function ke(Be,Nt="1",Ke="1"){let yt=[Nt,Ke,Be],kt=Be.indexOf("calc");if(kt>0){yt[2]=ot(Be.substring(kt).trim());let Dt=Be.substr(0,kt).trim().split(" ");2==Dt.length&&(yt[0]=Dt[0],yt[1]=Dt[1])}else if(0==kt)yt[2]=ot(Be.trim());else{let Dt=Be.split(" ");yt=3===Dt.length?Dt:[Nt,Ke,Be]}return yt}function ot(Be){return Be.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}EventTarget;const Je="x";function re(Be,Nt){if(void 0===Nt)return Be;const Ke=yt=>{const kt=+yt.slice(0,-Je.length);return Be.endsWith(Je)&&!isNaN(kt)?`${kt*Nt.value}${Nt.unit}`:Be};return Be.includes(" ")?Be.split(" ").map(Ke).join(" "):Ke(Be)}},7509:(Ue,q,p)=>{"use strict";p.d(q,{Zl:()=>L,aT:()=>n,oO:()=>W});var e=p(5879),t=p(1462),g=p(6814),C=(p(2495),p(9773),p(6593));let D=(()=>{class _ extends t.iR{constructor(V,K,se,Ye,Oe,Qe,be){super(V,null,K,se),this.ngClassInstance=be,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new g.mk(Ye,Oe,V,Qe)),this.init(),this.setValue("","")}set klass(V){this.ngClassInstance.klass=V,this.setValue(V,"")}updateWithValue(V){this.ngClassInstance.ngClass=V,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return _.\u0275fac=function(V){return new(V||_)(e.Y36(e.SBq),e.Y36(t.RK),e.Y36(t.yB),e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.Qsj),e.Y36(g.mk,10))},_.\u0275dir=e.lG2({type:_,inputs:{klass:["class","klass"]},features:[e.qOj]}),_})();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 W=(()=>{class _ extends D{constructor(){super(...arguments),this.inputs=R}}return _.\u0275fac=function(){let H;return function(K){return(H||(H=e.n5z(_)))(K||_)}}(),_.\u0275dir=e.lG2({type:_,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[e.qOj]}),_})();class ie{constructor(H,V,K=!0){this.key=H,this.value=V,this.key=K?H.replace(/['"]/g,"").trim():H.trim(),this.value=K?V.replace(/['"]/g,"").trim():V.trim(),this.value=this.value.replace(/;/,"")}}function de(_){let H=typeof _;return"object"===H?_.constructor===Array?"array":_.constructor===Set?"set":"object":H}function i(_){const[H,...V]=_.split(":");return new ie(H,V.join(":"))}function o(_,H){return H.key&&(_[H.key]=H.value),_}let m=(()=>{class _ extends t.iR{constructor(V,K,se,Ye,Oe,Qe,be,ue,xe){super(V,null,K,se),this.sanitizer=Ye,this.ngStyleInstance=be,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new g.PC(V,Oe,Qe)),this.init();const Pe=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(Pe),this.isServer=ue&&(0,g.PM)(xe)}updateWithValue(V){const K=this.buildStyleMap(V);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...K},this.isServer&&this.applyStyleToElement(K),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(V){const K=se=>this.sanitizer.sanitize(e.q3G.STYLE,se)??"";if(V)switch(de(V)){case"string":return O(function te(_,H=";"){return String(_).trim().split(H).map(V=>V.trim()).filter(V=>""!==V)}(V),K);case"array":return O(V,K);default:return function E(_,H){let V=[];return"set"===de(_)?_.forEach(K=>V.push(K)):Object.keys(_).forEach(K=>{V.push(`${K}:${_[K]}`)}),function ae(_,H){return _.map(i).filter(K=>!!K).map(K=>(H&&(K.value=H(K.value)),K)).reduce(o,{})}(V,H)}(V,K)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return _.\u0275fac=function(V){return new(V||_)(e.Y36(e.SBq),e.Y36(t.RK),e.Y36(t.yB),e.Y36(C.H7),e.Y36(e.aQg),e.Y36(e.Qsj),e.Y36(g.PC,10),e.Y36(t.wY),e.Y36(e.Lbi))},_.\u0275dir=e.lG2({type:_,features:[e.qOj]}),_})();const l=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let L=(()=>{class _ extends m{constructor(){super(...arguments),this.inputs=l}}return _.\u0275fac=function(){let H;return function(K){return(H||(H=e.n5z(_)))(K||_)}}(),_.\u0275dir=e.lG2({type:_,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[e.qOj]}),_})();function O(_,H){return _.map(i).filter(K=>!!K).map(K=>(H&&(K.value=H(K.value)),K)).reduce(o,{})}let n=(()=>{class _{}return _.\u0275fac=function(V){return new(V||_)},_.\u0275mod=e.oAB({type:_}),_.\u0275inj=e.cJS({imports:[t.IR]}),_})()},3814:(Ue,q,p)=>{"use strict";p.d(q,{Wh:()=>ke,ae:()=>Rt,xw:()=>M,yH:()=>y});var e=p(5879),t=p(9388),g=p(1462),T=p(5766),C=(p(8645),p(9773));let u=(()=>{class pt extends g.QI{buildStyles(Te,{display:tt}){const Ze=(0,T.Ar)(Te);return{...Ze,display:"none"===tt?tt:Ze.display}}}return pt.\u0275fac=function(){let vt;return function(tt){return(vt||(vt=e.n5z(pt)))(tt||pt)}}(),pt.\u0275prov=e.Yz7({token:pt,factory:pt.\u0275fac,providedIn:"root"}),pt})();const P=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let S=(()=>{class pt extends g.iR{constructor(Te,tt,Ze,Mt,oi){super(Te,Ze,tt,Mt),this._config=oi,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(Te){const Ze=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=I.get(Ze)??new Map,I.set(Ze,this.styleCache),this.currentValue!==Te&&(this.addStyles(Te,{display:Ze}),this.currentValue=Te)}}return pt.\u0275fac=function(Te){return new(Te||pt)(e.Y36(e.SBq),e.Y36(g.RK),e.Y36(u),e.Y36(g.yB),e.Y36(g.WU))},pt.\u0275dir=e.lG2({type:pt,features:[e.qOj]}),pt})(),M=(()=>{class pt extends S{constructor(){super(...arguments),this.inputs=P}}return pt.\u0275fac=function(){let vt;return function(tt){return(vt||(vt=e.n5z(pt)))(tt||pt)}}(),pt.\u0275dir=e.lG2({type:pt,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[e.qOj]}),pt})();const I=new Map;let i=(()=>{class pt extends g.QI{constructor(Te){super(),this.layoutConfig=Te}buildStyles(Te,tt){let[Ze,Mt,...oi]=Te.split(" "),Tt=oi.join(" ");const mt=tt.direction.indexOf("column")>-1?"column":"row",he=(0,T.tj)(mt)?"max-width":"max-height",ee=(0,T.tj)(mt)?"min-width":"min-height",Ce=String(Tt).indexOf("calc")>-1,At=Ce||"auto"===Tt,Lt=String(Tt).indexOf("%")>-1&&!Ce,jt=String(Tt).indexOf("px")>-1||String(Tt).indexOf("rem")>-1||String(Tt).indexOf("em")>-1||String(Tt).indexOf("vw")>-1||String(Tt).indexOf("vh")>-1;let Zt=Ce||jt;Ze="0"==Ze?0:Ze,Mt="0"==Mt?0:Mt;const Kt=!Ze&&!Mt;let Xe={};const Bt={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Tt||""){case"":Tt="row"===mt?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":Ze=0,Tt="auto";break;case"grow":Tt="100%";break;case"noshrink":Mt=0,Tt="auto";break;case"auto":break;case"none":Ze=0,Mt=0,Tt="auto";break;default:!Zt&&!Lt&&!isNaN(Tt)&&(Tt+="%"),"0%"===Tt&&(Zt=!0),"0px"===Tt&&(Tt="0%"),Xe=(0,T.kt)(Bt,Ce?{"flex-grow":Ze,"flex-shrink":Mt,"flex-basis":Zt?Tt:"100%"}:{flex:`${Ze} ${Mt} ${Zt?Tt:"100%"}`})}return Xe.flex||Xe["flex-grow"]||(Xe=(0,T.kt)(Bt,Ce?{"flex-grow":Ze,"flex-shrink":Mt,"flex-basis":Tt}:{flex:`${Ze} ${Mt} ${Tt}`})),"0%"!==Tt&&"0px"!==Tt&&"0.000000001px"!==Tt&&"auto"!==Tt&&(Xe[ee]=Kt||Zt&&Ze?Tt:null,Xe[he]=Kt||!At&&Mt?Tt:null),Xe[ee]||Xe[he]?tt.hasWrap&&(Xe[Ce?"flex-basis":"flex"]=Xe[he]?Ce?Xe[he]:`${Ze} ${Mt} ${Xe[he]}`:Ce?Xe[ee]:`${Ze} ${Mt} ${Xe[ee]}`):Xe=(0,T.kt)(Bt,Ce?{"flex-grow":Ze,"flex-shrink":Mt,"flex-basis":Tt}:{flex:`${Ze} ${Mt} ${Tt}`}),(0,T.kt)(Xe,{"box-sizing":"border-box"})}}return pt.\u0275fac=function(Te){return new(Te||pt)(e.LFG(g.WU))},pt.\u0275prov=e.Yz7({token:pt,factory:pt.\u0275fac,providedIn:"root"}),pt})();const o=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let l=(()=>{class pt extends g.iR{constructor(Te,tt,Ze,Mt,oi){super(Te,Mt,tt,oi),this.layoutConfig=Ze,this.marshal=oi,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(Te){this.flexShrink=Te||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(Te){this.flexGrow=Te||"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(Te){const Ze=Te.value.split(" ");this.direction=Ze[0],this.wrap=void 0!==Ze[1]&&"wrap"===Ze[1],this.triggerUpdate()}updateWithValue(Te){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 Ze=this.direction,Mt=Ze.startsWith("row"),oi=this.wrap;Mt&&oi?this.styleCache=b:Mt&&!oi?this.styleCache=L:!Mt&&oi?this.styleCache=n:!Mt&&!oi&&(this.styleCache=O);const Tt=String(Te).replace(";",""),mt=(0,g.Ot)(Tt,this.flexGrow,this.flexShrink);this.addStyles(mt.join(" "),{direction:Ze,hasWrap:oi})}triggerReflow(){const Te=this.activatedValue;if(void 0!==Te){const tt=(0,g.Ot)(Te+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,tt.join(" "))}}}return pt.\u0275fac=function(Te){return new(Te||pt)(e.Y36(e.SBq),e.Y36(g.RK),e.Y36(g.WU),e.Y36(i),e.Y36(g.yB))},pt.\u0275dir=e.lG2({type:pt,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[e.qOj]}),pt})(),y=(()=>{class pt extends l{constructor(){super(...arguments),this.inputs=o}}return pt.\u0275fac=function(){let vt;return function(tt){return(vt||(vt=e.n5z(pt)))(tt||pt)}}(),pt.\u0275dir=e.lG2({type:pt,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[e.qOj]}),pt})();const L=new Map,O=new Map,b=new Map,n=new Map;let xt=(()=>{class pt extends g.QI{buildStyles(Te,tt){const Ze={},[Mt,oi]=Te.split(" ");switch(Mt){case"center":Ze["justify-content"]="center";break;case"space-around":Ze["justify-content"]="space-around";break;case"space-between":Ze["justify-content"]="space-between";break;case"space-evenly":Ze["justify-content"]="space-evenly";break;case"end":case"flex-end":Ze["justify-content"]="flex-end";break;default:Ze["justify-content"]="flex-start"}switch(oi){case"start":case"flex-start":Ze["align-items"]=Ze["align-content"]="flex-start";break;case"center":Ze["align-items"]=Ze["align-content"]="center";break;case"end":case"flex-end":Ze["align-items"]=Ze["align-content"]="flex-end";break;case"space-between":Ze["align-content"]="space-between",Ze["align-items"]="stretch";break;case"space-around":Ze["align-content"]="space-around",Ze["align-items"]="stretch";break;case"baseline":Ze["align-content"]="stretch",Ze["align-items"]="baseline";break;default:Ze["align-items"]=Ze["align-content"]="stretch"}return(0,T.kt)(Ze,{display:tt.inline?"inline-flex":"flex","flex-direction":tt.layout,"box-sizing":"border-box","max-width":"stretch"===oi?(0,T.tj)(tt.layout)?null:"100%":null,"max-height":"stretch"===oi&&(0,T.tj)(tt.layout)?"100%":null})}}return pt.\u0275fac=function(){let vt;return function(tt){return(vt||(vt=e.n5z(pt)))(tt||pt)}}(),pt.\u0275prov=e.Yz7({token:pt,factory:pt.\u0275fac,providedIn:"root"}),pt})();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 Ct=(()=>{class pt extends g.iR{constructor(Te,tt,Ze,Mt){super(Te,Ze,tt,Mt),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(Te){const tt=this.layout||"row",Ze=this.inline;"row"===tt&&Ze?this.styleCache=Nt:"row"!==tt||Ze?"row-reverse"===tt&&Ze?this.styleCache=yt:"row-reverse"!==tt||Ze?"column"===tt&&Ze?this.styleCache=Ke:"column"!==tt||Ze?"column-reverse"===tt&&Ze?this.styleCache=kt:"column-reverse"===tt&&!Ze&&(this.styleCache=Be):this.styleCache=Je:this.styleCache=re:this.styleCache=ot,this.addStyles(Te,{layout:tt,inline:Ze})}onLayoutChange(Te){const tt=Te.value.split(" ");this.layout=tt[0],this.inline=Te.value.includes("inline"),T.iQ.find(Ze=>Ze===this.layout)||(this.layout="row"),this.triggerUpdate()}}return pt.\u0275fac=function(Te){return new(Te||pt)(e.Y36(e.SBq),e.Y36(g.RK),e.Y36(xt),e.Y36(g.yB))},pt.\u0275dir=e.lG2({type:pt,features:[e.qOj]}),pt})(),ke=(()=>{class pt extends Ct{constructor(){super(...arguments),this.inputs=ct}}return pt.\u0275fac=function(){let vt;return function(tt){return(vt||(vt=e.n5z(pt)))(tt||pt)}}(),pt.\u0275dir=e.lG2({type:pt,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[e.qOj]}),pt})();const ot=new Map,Je=new Map,re=new Map,Be=new Map,Nt=new Map,Ke=new Map,yt=new Map,kt=new Map;let Rt=(()=>{class pt{}return pt.\u0275fac=function(Te){return new(Te||pt)},pt.\u0275mod=e.oAB({type:pt}),pt.\u0275inj=e.cJS({imports:[g.IR,t.vT]}),pt})()},6223:(Ue,q,p)=>{"use strict";p.d(q,{Cf:()=>Y,F:()=>Hi,Fd:()=>Zr,Fj:()=>R,JJ:()=>ge,JL:()=>fe,JU:()=>P,On:()=>Li,Q7:()=>ba,QS:()=>en,UX:()=>Jr,Zs:()=>xr,_Y:()=>Gt,a5:()=>oe,kI:()=>ne,oH:()=>br,p4:()=>st,qQ:()=>$a,qu:()=>ai,sg:()=>qa,u:()=>vn,u5:()=>Er,wV:()=>gi});var e=p(5879),t=p(6814),g=p(9666),T=p(9315),c=p(7398);let C=(()=>{class gt{constructor(je,Ft){this._renderer=je,this._elementRef=Ft,this.onChange=ri=>{},this.onTouched=()=>{}}setProperty(je,Ft){this._renderer.setProperty(this._elementRef.nativeElement,je,Ft)}registerOnTouched(je){this.onTouched=je}registerOnChange(je){this.onChange=je}setDisabledState(je){this.setProperty("disabled",je)}static#e=this.\u0275fac=function(Ft){return new(Ft||gt)(e.Y36(e.Qsj),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:gt})}return gt})(),u=(()=>{class gt extends C{static#e=this.\u0275fac=function(){let je;return function(ri){return(je||(je=e.n5z(gt)))(ri||gt)}}();static#t=this.\u0275dir=e.lG2({type:gt,features:[e.qOj]})}return gt})();const P=new e.OlP("NgValueAccessor"),M={provide:P,useExisting:(0,e.Gpc)(()=>R),multi:!0},D=new e.OlP("CompositionEventMode");let R=(()=>{class gt extends C{constructor(je,Ft,ri){super(je,Ft),this._compositionMode=ri,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function I(){const gt=(0,t.q)()?(0,t.q)().getUserAgent():"";return/android (\d+)/.test(gt.toLowerCase())}())}writeValue(je){this.setProperty("value",je??"")}_handleInput(je){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(je)}_compositionStart(){this._composing=!0}_compositionEnd(je){this._composing=!1,this._compositionMode&&this.onChange(je)}static#e=this.\u0275fac=function(Ft){return new(Ft||gt)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(D,8))};static#t=this.\u0275dir=e.lG2({type:gt,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(Ft,ri){1&Ft&&e.NdJ("input",function(Vn){return ri._handleInput(Vn.target.value)})("blur",function(){return ri.onTouched()})("compositionstart",function(){return ri._compositionStart()})("compositionend",function(Vn){return ri._compositionEnd(Vn.target.value)})},features:[e._Bn([M]),e.qOj]})}return gt})();function F(gt){return null==gt||("string"==typeof gt||Array.isArray(gt))&&0===gt.length}function W(gt){return null!=gt&&"number"==typeof gt.length}const Y=new e.OlP("NgValidators"),Q=new e.OlP("NgAsyncValidators"),J=/^(?=.{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 ne{static min(wt){return X(wt)}static max(wt){return pe(wt)}static required(wt){return ie(wt)}static requiredTrue(wt){return de(wt)}static email(wt){return function te(gt){return F(gt.value)||J.test(gt.value)?null:{email:!0}}(wt)}static minLength(wt){return function ae(gt){return wt=>F(wt.value)||!W(wt.value)?null:wt.value.length<gt?{minlength:{requiredLength:gt,actualLength:wt.value.length}}:null}(wt)}static maxLength(wt){return function E(gt){return wt=>W(wt.value)&&wt.value.length>gt?{maxlength:{requiredLength:gt,actualLength:wt.value.length}}:null}(wt)}static pattern(wt){return function i(gt){if(!gt)return o;let wt,je;return"string"==typeof gt?(je="","^"!==gt.charAt(0)&&(je+="^"),je+=gt,"$"!==gt.charAt(gt.length-1)&&(je+="$"),wt=new RegExp(je)):(je=gt.toString(),wt=gt),Ft=>{if(F(Ft.value))return null;const ri=Ft.value;return wt.test(ri)?null:{pattern:{requiredPattern:je,actualValue:ri}}}}(wt)}static nullValidator(wt){return null}static compose(wt){return n(wt)}static composeAsync(wt){return H(wt)}}function X(gt){return wt=>{if(F(wt.value)||F(gt))return null;const je=parseFloat(wt.value);return!isNaN(je)&&je<gt?{min:{min:gt,actual:wt.value}}:null}}function pe(gt){return wt=>{if(F(wt.value)||F(gt))return null;const je=parseFloat(wt.value);return!isNaN(je)&&je>gt?{max:{max:gt,actual:wt.value}}:null}}function ie(gt){return F(gt.value)?{required:!0}:null}function de(gt){return!0===gt.value?null:{required:!0}}function o(gt){return null}function m(gt){return null!=gt}function l(gt){return(0,e.QGY)(gt)?(0,g.D)(gt):gt}function y(gt){let wt={};return gt.forEach(je=>{wt=null!=je?{...wt,...je}:wt}),0===Object.keys(wt).length?null:wt}function L(gt,wt){return wt.map(je=>je(gt))}function b(gt){return gt.map(wt=>function O(gt){return!gt.validate}(wt)?wt:je=>wt.validate(je))}function n(gt){if(!gt)return null;const wt=gt.filter(m);return 0==wt.length?null:function(je){return y(L(je,wt))}}function _(gt){return null!=gt?n(b(gt)):null}function H(gt){if(!gt)return null;const wt=gt.filter(m);return 0==wt.length?null:function(je){const Ft=L(je,wt).map(l);return(0,T.D)(Ft).pipe((0,c.U)(y))}}function V(gt){return null!=gt?H(b(gt)):null}function K(gt,wt){return null===gt?[wt]:Array.isArray(gt)?[...gt,wt]:[gt,wt]}function se(gt){return gt._rawValidators}function Ye(gt){return gt._rawAsyncValidators}function Oe(gt){return gt?Array.isArray(gt)?gt:[gt]:[]}function Qe(gt,wt){return Array.isArray(gt)?gt.includes(wt):gt===wt}function be(gt,wt){const je=Oe(wt);return Oe(gt).forEach(ri=>{Qe(je,ri)||je.push(ri)}),je}function ue(gt,wt){return Oe(wt).filter(je=>!Qe(gt,je))}class xe{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(wt){this._rawValidators=wt||[],this._composedValidatorFn=_(this._rawValidators)}_setAsyncValidators(wt){this._rawAsyncValidators=wt||[],this._composedAsyncValidatorFn=V(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(wt){this._onDestroyCallbacks.push(wt)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(wt=>wt()),this._onDestroyCallbacks=[]}reset(wt=void 0){this.control&&this.control.reset(wt)}hasError(wt,je){return!!this.control&&this.control.hasError(wt,je)}getError(wt,je){return this.control?this.control.getError(wt,je):null}}class Pe extends xe{get formDirective(){return null}get path(){return null}}class oe extends xe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ze{constructor(wt){this._cd=wt}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 ge=(()=>{class gt extends ze{constructor(je){super(je)}static#e=this.\u0275fac=function(Ft){return new(Ft||gt)(e.Y36(oe,2))};static#t=this.\u0275dir=e.lG2({type:gt,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ft,ri){2&Ft&&e.ekj("ng-untouched",ri.isUntouched)("ng-touched",ri.isTouched)("ng-pristine",ri.isPristine)("ng-dirty",ri.isDirty)("ng-valid",ri.isValid)("ng-invalid",ri.isInvalid)("ng-pending",ri.isPending)},features:[e.qOj]})}return gt})(),fe=(()=>{class gt extends ze{constructor(je){super(je)}static#e=this.\u0275fac=function(Ft){return new(Ft||gt)(e.Y36(Pe,10))};static#t=this.\u0275dir=e.lG2({type:gt,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ft,ri){2&Ft&&e.ekj("ng-untouched",ri.isUntouched)("ng-touched",ri.isTouched)("ng-pristine",ri.isPristine)("ng-dirty",ri.isDirty)("ng-valid",ri.isValid)("ng-invalid",ri.isInvalid)("ng-pending",ri.isPending)("ng-submitted",ri.isSubmitted)},features:[e.qOj]})}return gt})();const Ke="VALID",yt="INVALID",kt="PENDING",Dt="DISABLED";function Rt(gt){return(tt(gt)?gt.validators:gt)||null}function vt(gt,wt){return(tt(wt)?wt.asyncValidators:gt)||null}function tt(gt){return null!=gt&&!Array.isArray(gt)&&"object"==typeof gt}function Ze(gt,wt,je){const Ft=gt.controls;if(!(wt?Object.keys(Ft):Ft).length)throw new e.vHH(1e3,"");if(!Ft[je])throw new e.vHH(1001,"")}function Mt(gt,wt,je){gt._forEachChild((Ft,ri)=>{if(void 0===je[ri])throw new e.vHH(1002,"")})}class oi{constructor(wt,je){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(wt),this._assignAsyncValidators(je)}get validator(){return this._composedValidatorFn}set validator(wt){this._rawValidators=this._composedValidatorFn=wt}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(wt){this._rawAsyncValidators=this._composedAsyncValidatorFn=wt}get parent(){return this._parent}get valid(){return this.status===Ke}get invalid(){return this.status===yt}get pending(){return this.status==kt}get disabled(){return this.status===Dt}get enabled(){return this.status!==Dt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(wt){this._assignValidators(wt)}setAsyncValidators(wt){this._assignAsyncValidators(wt)}addValidators(wt){this.setValidators(be(wt,this._rawValidators))}addAsyncValidators(wt){this.setAsyncValidators(be(wt,this._rawAsyncValidators))}removeValidators(wt){this.setValidators(ue(wt,this._rawValidators))}removeAsyncValidators(wt){this.setAsyncValidators(ue(wt,this._rawAsyncValidators))}hasValidator(wt){return Qe(this._rawValidators,wt)}hasAsyncValidator(wt){return Qe(this._rawAsyncValidators,wt)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(wt={}){this.touched=!0,this._parent&&!wt.onlySelf&&this._parent.markAsTouched(wt)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(wt=>wt.markAllAsTouched())}markAsUntouched(wt={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(je=>{je.markAsUntouched({onlySelf:!0})}),this._parent&&!wt.onlySelf&&this._parent._updateTouched(wt)}markAsDirty(wt={}){this.pristine=!1,this._parent&&!wt.onlySelf&&this._parent.markAsDirty(wt)}markAsPristine(wt={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(je=>{je.markAsPristine({onlySelf:!0})}),this._parent&&!wt.onlySelf&&this._parent._updatePristine(wt)}markAsPending(wt={}){this.status=kt,!1!==wt.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!wt.onlySelf&&this._parent.markAsPending(wt)}disable(wt={}){const je=this._parentMarkedDirty(wt.onlySelf);this.status=Dt,this.errors=null,this._forEachChild(Ft=>{Ft.disable({...wt,onlySelf:!0})}),this._updateValue(),!1!==wt.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...wt,skipPristineCheck:je}),this._onDisabledChange.forEach(Ft=>Ft(!0))}enable(wt={}){const je=this._parentMarkedDirty(wt.onlySelf);this.status=Ke,this._forEachChild(Ft=>{Ft.enable({...wt,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:wt.emitEvent}),this._updateAncestors({...wt,skipPristineCheck:je}),this._onDisabledChange.forEach(Ft=>Ft(!1))}_updateAncestors(wt){this._parent&&!wt.onlySelf&&(this._parent.updateValueAndValidity(wt),wt.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(wt){this._parent=wt}getRawValue(){return this.value}updateValueAndValidity(wt={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ke||this.status===kt)&&this._runAsyncValidator(wt.emitEvent)),!1!==wt.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!wt.onlySelf&&this._parent.updateValueAndValidity(wt)}_updateTreeValidity(wt={emitEvent:!0}){this._forEachChild(je=>je._updateTreeValidity(wt)),this.updateValueAndValidity({onlySelf:!0,emitEvent:wt.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Dt:Ke}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(wt){if(this.asyncValidator){this.status=kt,this._hasOwnPendingAsyncValidator=!0;const je=l(this.asyncValidator(this));this._asyncValidationSubscription=je.subscribe(Ft=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ft,{emitEvent:wt})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(wt,je={}){this.errors=wt,this._updateControlsErrors(!1!==je.emitEvent)}get(wt){let je=wt;return null==je||(Array.isArray(je)||(je=je.split(".")),0===je.length)?null:je.reduce((Ft,ri)=>Ft&&Ft._find(ri),this)}getError(wt,je){const Ft=je?this.get(je):this;return Ft&&Ft.errors?Ft.errors[wt]:null}hasError(wt,je){return!!this.getError(wt,je)}get root(){let wt=this;for(;wt._parent;)wt=wt._parent;return wt}_updateControlsErrors(wt){this.status=this._calculateStatus(),wt&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(wt)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?Dt:this.errors?yt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kt)?kt:this._anyControlsHaveStatus(yt)?yt:Ke}_anyControlsHaveStatus(wt){return this._anyControls(je=>je.status===wt)}_anyControlsDirty(){return this._anyControls(wt=>wt.dirty)}_anyControlsTouched(){return this._anyControls(wt=>wt.touched)}_updatePristine(wt={}){this.pristine=!this._anyControlsDirty(),this._parent&&!wt.onlySelf&&this._parent._updatePristine(wt)}_updateTouched(wt={}){this.touched=this._anyControlsTouched(),this._parent&&!wt.onlySelf&&this._parent._updateTouched(wt)}_registerOnCollectionChange(wt){this._onCollectionChange=wt}_setUpdateStrategy(wt){tt(wt)&&null!=wt.updateOn&&(this._updateOn=wt.updateOn)}_parentMarkedDirty(wt){return!wt&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(wt){return null}_assignValidators(wt){this._rawValidators=Array.isArray(wt)?wt.slice():wt,this._composedValidatorFn=function pt(gt){return Array.isArray(gt)?_(gt):gt||null}(this._rawValidators)}_assignAsyncValidators(wt){this._rawAsyncValidators=Array.isArray(wt)?wt.slice():wt,this._composedAsyncValidatorFn=function Te(gt){return Array.isArray(gt)?V(gt):gt||null}(this._rawAsyncValidators)}}class Tt extends oi{constructor(wt,je,Ft){super(Rt(je),vt(Ft,je)),this.controls=wt,this._initObservables(),this._setUpdateStrategy(je),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(wt,je){return this.controls[wt]?this.controls[wt]:(this.controls[wt]=je,je.setParent(this),je._registerOnCollectionChange(this._onCollectionChange),je)}addControl(wt,je,Ft={}){this.registerControl(wt,je),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}removeControl(wt,je={}){this.controls[wt]&&this.controls[wt]._registerOnCollectionChange(()=>{}),delete this.controls[wt],this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}setControl(wt,je,Ft={}){this.controls[wt]&&this.controls[wt]._registerOnCollectionChange(()=>{}),delete this.controls[wt],je&&this.registerControl(wt,je),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}contains(wt){return this.controls.hasOwnProperty(wt)&&this.controls[wt].enabled}setValue(wt,je={}){Mt(this,0,wt),Object.keys(wt).forEach(Ft=>{Ze(this,!0,Ft),this.controls[Ft].setValue(wt[Ft],{onlySelf:!0,emitEvent:je.emitEvent})}),this.updateValueAndValidity(je)}patchValue(wt,je={}){null!=wt&&(Object.keys(wt).forEach(Ft=>{const ri=this.controls[Ft];ri&&ri.patchValue(wt[Ft],{onlySelf:!0,emitEvent:je.emitEvent})}),this.updateValueAndValidity(je))}reset(wt={},je={}){this._forEachChild((Ft,ri)=>{Ft.reset(wt[ri],{onlySelf:!0,emitEvent:je.emitEvent})}),this._updatePristine(je),this._updateTouched(je),this.updateValueAndValidity(je)}getRawValue(){return this._reduceChildren({},(wt,je,Ft)=>(wt[Ft]=je.getRawValue(),wt))}_syncPendingControls(){let wt=this._reduceChildren(!1,(je,Ft)=>!!Ft._syncPendingControls()||je);return wt&&this.updateValueAndValidity({onlySelf:!0}),wt}_forEachChild(wt){Object.keys(this.controls).forEach(je=>{const Ft=this.controls[je];Ft&&wt(Ft,je)})}_setUpControls(){this._forEachChild(wt=>{wt.setParent(this),wt._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(wt){for(const[je,Ft]of Object.entries(this.controls))if(this.contains(je)&&wt(Ft))return!0;return!1}_reduceValue(){return this._reduceChildren({},(je,Ft,ri)=>((Ft.enabled||this.disabled)&&(je[ri]=Ft.value),je))}_reduceChildren(wt,je){let Ft=wt;return this._forEachChild((ri,on)=>{Ft=je(Ft,ri,on)}),Ft}_allControlsDisabled(){for(const wt of Object.keys(this.controls))if(this.controls[wt].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(wt){return this.controls.hasOwnProperty(wt)?this.controls[wt]:null}}class ee extends Tt{}const At=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Lt}),Lt="always";function jt(gt,wt){return[...wt.path,gt]}function Zt(gt,wt,je=Lt){qe(gt,wt),wt.valueAccessor.writeValue(gt.value),(gt.disabled||"always"===je)&&wt.valueAccessor.setDisabledState?.(gt.disabled),function Wt(gt,wt){wt.valueAccessor.registerOnChange(je=>{gt._pendingValue=je,gt._pendingChange=!0,gt._pendingDirty=!0,"change"===gt.updateOn&&li(gt,wt)})}(gt,wt),function xi(gt,wt){const je=(Ft,ri)=>{wt.valueAccessor.writeValue(Ft),ri&&wt.viewToModelUpdate(Ft)};gt.registerOnChange(je),wt._registerOnDestroy(()=>{gt._unregisterOnChange(je)})}(gt,wt),function si(gt,wt){wt.valueAccessor.registerOnTouched(()=>{gt._pendingTouched=!0,"blur"===gt.updateOn&&gt._pendingChange&&li(gt,wt),"submit"!==gt.updateOn&&gt.markAsTouched()})}(gt,wt),function Bt(gt,wt){if(wt.valueAccessor.setDisabledState){const je=Ft=>{wt.valueAccessor.setDisabledState(Ft)};gt.registerOnDisabledChange(je),wt._registerOnDestroy(()=>{gt._unregisterOnDisabledChange(je)})}}(gt,wt)}function Kt(gt,wt,je=!0){const Ft=()=>{};wt.valueAccessor&&(wt.valueAccessor.registerOnChange(Ft),wt.valueAccessor.registerOnTouched(Ft)),nt(gt,wt),gt&&(wt._invokeOnDestroyCallbacks(),gt._registerOnCollectionChange(()=>{}))}function Xe(gt,wt){gt.forEach(je=>{je.registerOnValidatorChange&&je.registerOnValidatorChange(wt)})}function qe(gt,wt){const je=se(gt);null!==wt.validator?gt.setValidators(K(je,wt.validator)):"function"==typeof je&&gt.setValidators([je]);const Ft=Ye(gt);null!==wt.asyncValidator?gt.setAsyncValidators(K(Ft,wt.asyncValidator)):"function"==typeof Ft&&gt.setAsyncValidators([Ft]);const ri=()=>gt.updateValueAndValidity();Xe(wt._rawValidators,ri),Xe(wt._rawAsyncValidators,ri)}function nt(gt,wt){let je=!1;if(null!==gt){if(null!==wt.validator){const ri=se(gt);if(Array.isArray(ri)&&ri.length>0){const on=ri.filter(Vn=>Vn!==wt.validator);on.length!==ri.length&&(je=!0,gt.setValidators(on))}}if(null!==wt.asyncValidator){const ri=Ye(gt);if(Array.isArray(ri)&&ri.length>0){const on=ri.filter(Vn=>Vn!==wt.asyncValidator);on.length!==ri.length&&(je=!0,gt.setAsyncValidators(on))}}}const Ft=()=>{};return Xe(wt._rawValidators,Ft),Xe(wt._rawAsyncValidators,Ft),je}function li(gt,wt){gt._pendingDirty&&gt.markAsDirty(),gt.setValue(gt._pendingValue,{emitModelToViewChange:!1}),wt.viewToModelUpdate(gt._pendingValue),gt._pendingChange=!1}function Ut(gt,wt){qe(gt,wt)}function Si(gt,wt){if(!gt.hasOwnProperty("model"))return!1;const je=gt.model;return!!je.isFirstChange()||!Object.is(wt,je.currentValue)}function Ri(gt,wt){gt._syncPendingControls(),wt.forEach(je=>{const Ft=je.control;"submit"===Ft.updateOn&&Ft._pendingChange&&(je.viewToModelUpdate(Ft._pendingValue),Ft._pendingChange=!1)})}function Ui(gt,wt){if(!wt)return null;let je,Ft,ri;return Array.isArray(wt),wt.forEach(on=>{on.constructor===R?je=on:function Fi(gt){return Object.getPrototypeOf(gt.constructor)===u}(on)?Ft=on:ri=on}),ri||Ft||je||null}const Qi={provide:Pe,useExisting:(0,e.Gpc)(()=>Hi)},$t=(()=>Promise.resolve())();let Hi=(()=>{class gt extends Pe{constructor(je,Ft,ri){super(),this.callSetDisabledState=ri,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new Tt({},_(je),V(Ft))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(je){$t.then(()=>{const Ft=this._findContainer(je.path);je.control=Ft.registerControl(je.name,je.control),Zt(je.control,je,this.callSetDisabledState),je.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(je)})}getControl(je){return this.form.get(je.path)}removeControl(je){$t.then(()=>{const Ft=this._findContainer(je.path);Ft&&Ft.removeControl(je.name),this._directives.delete(je)})}addFormGroup(je){$t.then(()=>{const Ft=this._findContainer(je.path),ri=new Tt({});Ut(ri,je),Ft.registerControl(je.name,ri),ri.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(je){$t.then(()=>{const Ft=this._findContainer(je.path);Ft&&Ft.removeControl(je.name)})}getFormGroup(je){return this.form.get(je.path)}updateModel(je,Ft){$t.then(()=>{this.form.get(je.path).setValue(Ft)})}setValue(je){this.control.setValue(je)}onSubmit(je){return this.submitted=!0,Ri(this.form,this._directives),this.ngSubmit.emit(je),"dialog"===je?.target?.method}onReset(){this.resetForm()}resetForm(je=void 0){this.form.reset(je),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(je){return je.pop(),je.length?this.form.get(je):this.form}static#e=this.\u0275fac=function(Ft){return new(Ft||gt)(e.Y36(Y,10),e.Y36(Q,10),e.Y36(At,8))};static#t=this.\u0275dir=e.lG2({type:gt,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ft,ri){1&Ft&&e.NdJ("submit",function(Vn){return ri.onSubmit(Vn)})("reset",function(){return ri.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Qi]),e.qOj]})}return gt})();function Ee(gt,wt){const je=gt.indexOf(wt);je>-1&&gt.splice(je,1)}function We(gt){return"object"==typeof gt&&null!==gt&&2===Object.keys(gt).length&&"value"in gt&&"disabled"in gt}const rt=class extends oi{constructor(wt=null,je,Ft){super(Rt(je),vt(Ft,je)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(wt),this._setUpdateStrategy(je),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),tt(je)&&(je.nonNullable||je.initialValueIsDefault)&&(this.defaultValue=We(wt)?wt.value:wt)}setValue(wt,je={}){this.value=this._pendingValue=wt,this._onChange.length&&!1!==je.emitModelToViewChange&&this._onChange.forEach(Ft=>Ft(this.value,!1!==je.emitViewToModelChange)),this.updateValueAndValidity(je)}patchValue(wt,je={}){this.setValue(wt,je)}reset(wt=this.defaultValue,je={}){this._applyFormState(wt),this.markAsPristine(je),this.markAsUntouched(je),this.setValue(this.value,je),this._pendingChange=!1}_updateValue(){}_anyControls(wt){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(wt){this._onChange.push(wt)}_unregisterOnChange(wt){Ee(this._onChange,wt)}registerOnDisabledChange(wt){this._onDisabledChange.push(wt)}_unregisterOnDisabledChange(wt){Ee(this._onDisabledChange,wt)}_forEachChild(wt){}_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(wt){We(wt)?(this.value=this._pendingValue=wt.value,wt.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=wt}},st=rt,ga={provide:oe,useExisting:(0,e.Gpc)(()=>Li)},sa=(()=>Promise.resolve())();let Li=(()=>{class gt extends oe{constructor(je,Ft,ri,on,Vn,ha){super(),this._changeDetectorRef=Vn,this.callSetDisabledState=ha,this.control=new rt,this._registered=!1,this.name="",this.update=new e.vpe,this._parent=je,this._setValidators(Ft),this._setAsyncValidators(ri),this.valueAccessor=Ui(0,on)}ngOnChanges(je){if(this._checkForErrors(),!this._registered||"name"in je){if(this._registered&&(this._checkName(),this.formDirective)){const Ft=je.name.previousValue;this.formDirective.removeControl({name:Ft,path:this._getPath(Ft)})}this._setUpControl()}"isDisabled"in je&&this._updateDisabled(je),Si(je,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(je){this.viewModel=je,this.update.emit(je)}_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(){Zt(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(je){sa.then(()=>{this.control.setValue(je,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(je){const Ft=je.isDisabled.currentValue,ri=0!==Ft&&(0,e.VuI)(Ft);sa.then(()=>{ri&&!this.control.disabled?this.control.disable():!ri&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(je){return this._parent?jt(je,this._parent):[je]}static#e=this.\u0275fac=function(Ft){return new(Ft||gt)(e.Y36(Pe,9),e.Y36(Y,10),e.Y36(Q,10),e.Y36(P,10),e.Y36(e.sBO,8),e.Y36(At,8))};static#t=this.\u0275dir=e.lG2({type:gt,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([ga]),e.qOj,e.TTD]})}return gt})(),Gt=(()=>{class gt{static#e=this.\u0275fac=function(Ft){return new(Ft||gt)};static#t=this.\u0275dir=e.lG2({type:gt,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return gt})();const yi={provide:P,useExisting:(0,e.Gpc)(()=>gi),multi:!0};let gi=(()=>{class gt extends u{writeValue(je){this.setProperty("value",je??"")}registerOnChange(je){this.onChange=Ft=>{je(""==Ft?null:parseFloat(Ft))}}static#e=this.\u0275fac=function(){let je;return function(ri){return(je||(je=e.n5z(gt)))(ri||gt)}}();static#t=this.\u0275dir=e.lG2({type:gt,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ft,ri){1&Ft&&e.NdJ("input",function(Vn){return ri.onChange(Vn.target.value)})("blur",function(){return ri.onTouched()})},features:[e._Bn([yi]),e.qOj]})}return gt})(),Wi=(()=>{class gt{static#e=this.\u0275fac=function(Ft){return new(Ft||gt)};static#t=this.\u0275mod=e.oAB({type:gt});static#i=this.\u0275inj=e.cJS({})}return gt})();const Cn=new e.OlP("NgModelWithFormControlWarning"),Qn={provide:oe,useExisting:(0,e.Gpc)(()=>br)};let br=(()=>{class gt extends oe{set isDisabled(je){}static#e=this._ngModelWarningSentOnce=!1;constructor(je,Ft,ri,on,Vn){super(),this._ngModelWarningConfig=on,this.callSetDisabledState=Vn,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(je),this._setAsyncValidators(Ft),this.valueAccessor=Ui(0,ri)}ngOnChanges(je){if(this._isControlChanged(je)){const Ft=je.form.previousValue;Ft&&Kt(Ft,this,!1),Zt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Si(je,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Kt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(je){this.viewModel=je,this.update.emit(je)}_isControlChanged(je){return je.hasOwnProperty("form")}static#t=this.\u0275fac=function(Ft){return new(Ft||gt)(e.Y36(Y,10),e.Y36(Q,10),e.Y36(P,10),e.Y36(Cn,8),e.Y36(At,8))};static#i=this.\u0275dir=e.lG2({type:gt,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([Qn]),e.qOj,e.TTD]})}return gt})();const Nr={provide:Pe,useExisting:(0,e.Gpc)(()=>qa)};let qa=(()=>{class gt extends Pe{constructor(je,Ft,ri){super(),this.callSetDisabledState=ri,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(je),this._setAsyncValidators(Ft)}ngOnChanges(je){this._checkFormPresent(),je.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(nt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(je){const Ft=this.form.get(je.path);return Zt(Ft,je,this.callSetDisabledState),Ft.updateValueAndValidity({emitEvent:!1}),this.directives.push(je),Ft}getControl(je){return this.form.get(je.path)}removeControl(je){Kt(je.control||null,je,!1),function nn(gt,wt){const je=gt.indexOf(wt);je>-1&&gt.splice(je,1)}(this.directives,je)}addFormGroup(je){this._setUpFormContainer(je)}removeFormGroup(je){this._cleanUpFormContainer(je)}getFormGroup(je){return this.form.get(je.path)}addFormArray(je){this._setUpFormContainer(je)}removeFormArray(je){this._cleanUpFormContainer(je)}getFormArray(je){return this.form.get(je.path)}updateModel(je,Ft){this.form.get(je.path).setValue(Ft)}onSubmit(je){return this.submitted=!0,Ri(this.form,this.directives),this.ngSubmit.emit(je),"dialog"===je?.target?.method}onReset(){this.resetForm()}resetForm(je=void 0){this.form.reset(je),this.submitted=!1}_updateDomValue(){this.directives.forEach(je=>{const Ft=je.control,ri=this.form.get(je.path);Ft!==ri&&(Kt(Ft||null,je),(gt=>gt instanceof rt)(ri)&&(Zt(ri,je,this.callSetDisabledState),je.control=ri))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(je){const Ft=this.form.get(je.path);Ut(Ft,je),Ft.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(je){if(this.form){const Ft=this.form.get(je.path);Ft&&function bt(gt,wt){return nt(gt,wt)}(Ft,je)&&Ft.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){qe(this.form,this),this._oldForm&&nt(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(Ft){return new(Ft||gt)(e.Y36(Y,10),e.Y36(Q,10),e.Y36(At,8))};static#t=this.\u0275dir=e.lG2({type:gt,selectors:[["","formGroup",""]],hostBindings:function(Ft,ri){1&Ft&&e.NdJ("submit",function(Vn){return ri.onSubmit(Vn)})("reset",function(){return ri.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Nr]),e.qOj,e.TTD]})}return gt})();const rn={provide:oe,useExisting:(0,e.Gpc)(()=>vn)};let vn=(()=>{class gt extends oe{set isDisabled(je){}static#e=this._ngModelWarningSentOnce=!1;constructor(je,Ft,ri,on,Vn){super(),this._ngModelWarningConfig=Vn,this._added=!1,this.name=null,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=je,this._setValidators(Ft),this._setAsyncValidators(ri),this.valueAccessor=Ui(0,on)}ngOnChanges(je){this._added||this._setUpControl(),Si(je,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(je){this.viewModel=je,this.update.emit(je)}get path(){return jt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(Ft){return new(Ft||gt)(e.Y36(Pe,13),e.Y36(Y,10),e.Y36(Q,10),e.Y36(P,10),e.Y36(Cn,8))};static#i=this.\u0275dir=e.lG2({type:gt,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([rn]),e.qOj,e.TTD]})}return gt})();function lr(gt){return"number"==typeof gt?gt:parseFloat(gt)}let Hr=(()=>{class gt{constructor(){this._validator=o}ngOnChanges(je){if(this.inputName in je){const Ft=this.normalizeInput(je[this.inputName].currentValue);this._enabled=this.enabled(Ft),this._validator=this._enabled?this.createValidator(Ft):o,this._onChange&&this._onChange()}}validate(je){return this._validator(je)}registerOnValidatorChange(je){this._onChange=je}enabled(je){return null!=je}static#e=this.\u0275fac=function(Ft){return new(Ft||gt)};static#t=this.\u0275dir=e.lG2({type:gt,features:[e.TTD]})}return gt})();const Ya={provide:Y,useExisting:(0,e.Gpc)(()=>Zr),multi:!0};let Zr=(()=>{class gt extends Hr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=je=>lr(je),this.createValidator=je=>pe(je)}static#e=this.\u0275fac=function(){let je;return function(ri){return(je||(je=e.n5z(gt)))(ri||gt)}}();static#t=this.\u0275dir=e.lG2({type:gt,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Ft,ri){2&Ft&&e.uIk("max",ri._enabled?ri.max:null)},inputs:{max:"max"},features:[e._Bn([Ya]),e.qOj]})}return gt})();const ca={provide:Y,useExisting:(0,e.Gpc)(()=>$a),multi:!0};let $a=(()=>{class gt extends Hr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=je=>lr(je),this.createValidator=je=>X(je)}static#e=this.\u0275fac=function(){let je;return function(ri){return(je||(je=e.n5z(gt)))(ri||gt)}}();static#t=this.\u0275dir=e.lG2({type:gt,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Ft,ri){2&Ft&&e.uIk("min",ri._enabled?ri.min:null)},inputs:{min:"min"},features:[e._Bn([ca]),e.qOj]})}return gt})();const va={provide:Y,useExisting:(0,e.Gpc)(()=>ba),multi:!0},la={provide:Y,useExisting:(0,e.Gpc)(()=>xr),multi:!0};let ba=(()=>{class gt extends Hr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.VuI,this.createValidator=je=>ie}enabled(je){return je}static#e=this.\u0275fac=function(){let je;return function(ri){return(je||(je=e.n5z(gt)))(ri||gt)}}();static#t=this.\u0275dir=e.lG2({type:gt,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ft,ri){2&Ft&&e.uIk("required",ri._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([va]),e.qOj]})}return gt})(),xr=(()=>{class gt extends ba{constructor(){super(...arguments),this.createValidator=je=>de}static#e=this.\u0275fac=function(){let je;return function(ri){return(je||(je=e.n5z(gt)))(ri||gt)}}();static#t=this.\u0275dir=e.lG2({type:gt,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Ft,ri){2&Ft&&e.uIk("required",ri._enabled?"":null)},features:[e._Bn([la]),e.qOj]})}return gt})(),ur=(()=>{class gt{static#e=this.\u0275fac=function(Ft){return new(Ft||gt)};static#t=this.\u0275mod=e.oAB({type:gt});static#i=this.\u0275inj=e.cJS({imports:[Wi]})}return gt})();class ka extends oi{constructor(wt,je,Ft){super(Rt(je),vt(Ft,je)),this.controls=wt,this._initObservables(),this._setUpdateStrategy(je),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(wt){return this.controls[this._adjustIndex(wt)]}push(wt,je={}){this.controls.push(wt),this._registerControl(wt),this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}insert(wt,je,Ft={}){this.controls.splice(wt,0,je),this._registerControl(je),this.updateValueAndValidity({emitEvent:Ft.emitEvent})}removeAt(wt,je={}){let Ft=this._adjustIndex(wt);Ft<0&&(Ft=0),this.controls[Ft]&&this.controls[Ft]._registerOnCollectionChange(()=>{}),this.controls.splice(Ft,1),this.updateValueAndValidity({emitEvent:je.emitEvent})}setControl(wt,je,Ft={}){let ri=this._adjustIndex(wt);ri<0&&(ri=0),this.controls[ri]&&this.controls[ri]._registerOnCollectionChange(()=>{}),this.controls.splice(ri,1),je&&(this.controls.splice(ri,0,je),this._registerControl(je)),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(wt,je={}){Mt(this,0,wt),wt.forEach((Ft,ri)=>{Ze(this,!1,ri),this.at(ri).setValue(Ft,{onlySelf:!0,emitEvent:je.emitEvent})}),this.updateValueAndValidity(je)}patchValue(wt,je={}){null!=wt&&(wt.forEach((Ft,ri)=>{this.at(ri)&&this.at(ri).patchValue(Ft,{onlySelf:!0,emitEvent:je.emitEvent})}),this.updateValueAndValidity(je))}reset(wt=[],je={}){this._forEachChild((Ft,ri)=>{Ft.reset(wt[ri],{onlySelf:!0,emitEvent:je.emitEvent})}),this._updatePristine(je),this._updateTouched(je),this.updateValueAndValidity(je)}getRawValue(){return this.controls.map(wt=>wt.getRawValue())}clear(wt={}){this.controls.length<1||(this._forEachChild(je=>je._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:wt.emitEvent}))}_adjustIndex(wt){return wt<0?wt+this.length:wt}_syncPendingControls(){let wt=this.controls.reduce((je,Ft)=>!!Ft._syncPendingControls()||je,!1);return wt&&this.updateValueAndValidity({onlySelf:!0}),wt}_forEachChild(wt){this.controls.forEach((je,Ft)=>{wt(je,Ft)})}_updateValue(){this.value=this.controls.filter(wt=>wt.enabled||this.disabled).map(wt=>wt.value)}_anyControls(wt){return this.controls.some(je=>je.enabled&&wt(je))}_setUpControls(){this._forEachChild(wt=>this._registerControl(wt))}_allControlsDisabled(){for(const wt of this.controls)if(wt.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(wt){wt.setParent(this),wt._registerOnCollectionChange(this._onCollectionChange)}_find(wt){return this.at(wt)??null}}function St(gt){return!!gt&&(void 0!==gt.asyncValidators||void 0!==gt.validators||void 0!==gt.updateOn)}let ai=(()=>{class gt{constructor(){this.useNonNullable=!1}get nonNullable(){const je=new gt;return je.useNonNullable=!0,je}group(je,Ft=null){const ri=this._reduceControls(je);let on={};return St(Ft)?on=Ft:null!==Ft&&(on.validators=Ft.validator,on.asyncValidators=Ft.asyncValidator),new Tt(ri,on)}record(je,Ft=null){const ri=this._reduceControls(je);return new ee(ri,Ft)}control(je,Ft,ri){let on={};return this.useNonNullable?(St(Ft)?on=Ft:(on.validators=Ft,on.asyncValidators=ri),new rt(je,{...on,nonNullable:!0})):new rt(je,Ft,ri)}array(je,Ft,ri){const on=je.map(Vn=>this._createControl(Vn));return new ka(on,Ft,ri)}_reduceControls(je){const Ft={};return Object.keys(je).forEach(ri=>{Ft[ri]=this._createControl(je[ri])}),Ft}_createControl(je){return je instanceof rt||je instanceof oi?je:Array.isArray(je)?this.control(je[0],je.length>1?je[1]:null,je.length>2?je[2]:null):this.control(je)}static#e=this.\u0275fac=function(Ft){return new(Ft||gt)};static#t=this.\u0275prov=e.Yz7({token:gt,factory:gt.\u0275fac,providedIn:"root"})}return gt})(),en=(()=>{class gt extends ai{group(je,Ft=null){return super.group(je,Ft)}control(je,Ft,ri){return super.control(je,Ft,ri)}array(je,Ft,ri){return super.array(je,Ft,ri)}static#e=this.\u0275fac=function(){let je;return function(ri){return(je||(je=e.n5z(gt)))(ri||gt)}}();static#t=this.\u0275prov=e.Yz7({token:gt,factory:gt.\u0275fac,providedIn:"root"})}return gt})(),Er=(()=>{class gt{static withConfig(je){return{ngModule:gt,providers:[{provide:At,useValue:je.callSetDisabledState??Lt}]}}static#e=this.\u0275fac=function(Ft){return new(Ft||gt)};static#t=this.\u0275mod=e.oAB({type:gt});static#i=this.\u0275inj=e.cJS({imports:[ur]})}return gt})(),Jr=(()=>{class gt{static withConfig(je){return{ngModule:gt,providers:[{provide:Cn,useValue:je.warnOnNgModelWithFormControl??"always"},{provide:At,useValue:je.callSetDisabledState??Lt}]}}static#e=this.\u0275fac=function(Ft){return new(Ft||gt)};static#t=this.\u0275mod=e.oAB({type:gt});static#i=this.\u0275inj=e.cJS({imports:[ur]})}return gt})()},4630:(Ue,q,p)=>{"use strict";p.d(q,{Bb:()=>Pe,XC:()=>H,ZL:()=>xe});var e=p(5879),t=p(3680),g=p(6814),T=p(5407),c=p(3651),C=p(4300),u=p(2495),P=p(2831),d=p(6825),S=p(7394),M=p(8645),I=p(4911),D=p(3019),R=p(2096),F=p(2438),W=p(6028),Y=p(8484),Q=p(6223),J=p(5683),ne=p(7921),X=p(4664),pe=p(8180),ie=p(2181),de=p(7398),te=p(9397),ae=p(932),E=p(9388);const i=["panel"];function o(oe,ze){if(1&oe){const we=e.EpF();e.TgZ(0,"div",0,1),e.NdJ("@panelAnimation.done",function(ge){e.CHM(we);const fe=e.oxw();return e.KtG(fe._animationDone.next(ge))}),e.Hsn(2),e.qZA()}if(2&oe){const we=ze.id,le=e.oxw();e.Q6J("id",le.id)("ngClass",le._classList)("@panelAnimation",le.isOpen?"visible":"hidden"),e.uIk("aria-label",le.ariaLabel||null)("aria-labelledby",le._getPanelAriaLabelledby(we))}}const m=["*"],l=(0,d.X$)("panelAnimation",[(0,d.SB)("void, hidden",(0,d.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,d.eR)(":enter, hidden => visible",[(0,d.ru)([(0,d.jt)("0.03s linear",(0,d.oB)({opacity:1})),(0,d.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,d.oB)({transform:"scaleY(1)"}))])]),(0,d.eR)(":leave, visible => hidden",[(0,d.jt)("0.075s linear",(0,d.oB)({opacity:0}))])]);let y=0;class L{constructor(ze,we){this.source=ze,this.option=we}}const O=(0,t.Kr)(class{}),b=new e.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function n(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let _=(()=>{class oe extends O{get isOpen(){return this._isOpen&&this.showPanel}_setColor(we){this._color=we,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(we){this._autoActiveFirstOption=(0,u.Ig)(we)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(we){this._autoSelectActiveOption=(0,u.Ig)(we)}get requireSelection(){return this._requireSelection}set requireSelection(we){this._requireSelection=(0,u.Ig)(we)}set classList(we){this._classList=we&&we.length?(0,u.du)(we).reduce((le,ge)=>(le[ge]=!0,le),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(we,le,ge,fe){super(),this._changeDetectorRef=we,this._elementRef=le,this._defaults=ge,this._activeOptionChanges=S.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new e.vpe,this.opened=new e.vpe,this.closed=new e.vpe,this.optionActivated=new e.vpe,this._classList={},this.id="mat-autocomplete-"+y++,this.inertGroups=fe?.SAFARI||!1,this._autoActiveFirstOption=!!ge.autoActiveFirstOption,this._autoSelectActiveOption=!!ge.autoSelectActiveOption,this._requireSelection=!!ge.requireSelection}ngAfterContentInit(){this._keyManager=new C.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(we=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[we]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(we){this.panel&&(this.panel.nativeElement.scrollTop=we)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(we){const le=new L(this,we);this.optionSelected.emit(le)}_getPanelAriaLabelledby(we){return this.ariaLabel?null:this.ariaLabelledby?(we?we+" ":"")+this.ariaLabelledby:we}_setVisibilityClasses(we){we[this._visibleClass]=this.showPanel,we[this._hiddenClass]=!this.showPanel}_setThemeClasses(we){we["mat-primary"]="primary"===this._color,we["mat-warn"]="warn"===this._color,we["mat-accent"]="accent"===this._color}_skipPredicate(we){return we.disabled}static#e=this.\u0275fac=function(le){return new(le||oe)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(b),e.Y36(P.t4))};static#t=this.\u0275dir=e.lG2({type:oe,viewQuery:function(le,ge){if(1&le&&(e.Gf(e.Rgc,7),e.Gf(i,5)),2&le){let fe;e.iGM(fe=e.CRH())&&(ge.template=fe.first),e.iGM(fe=e.CRH())&&(ge.panel=fe.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",requireSelection:"requireSelection",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[e.qOj]})}return oe})(),H=(()=>{class oe extends _{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new e.vpe,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(we){this._hideSingleSelectionIndicator=(0,u.Ig)(we),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const we of this.options)we._changeDetectorRef.markForCheck()}ngOnDestroy(){super.ngOnDestroy(),this._animationDone.complete()}_skipPredicate(we){return!1}static#e=this.\u0275fac=function(){let we;return function(ge){return(we||(we=e.n5z(oe)))(ge||oe)}}();static#t=this.\u0275cmp=e.Xpm({type:oe,selectors:[["mat-autocomplete"]],contentQueries:function(le,ge,fe){if(1&le&&(e.Suo(fe,t.K7,5),e.Suo(fe,t.ey,5)),2&le){let Ge;e.iGM(Ge=e.CRH())&&(ge.optionGroups=Ge),e.iGM(Ge=e.CRH())&&(ge.options=Ge)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[e._Bn([{provide:t.HF,useExisting:oe}]),e.qOj],ngContentSelectors:m,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(le,ge){1&le&&(e.F$t(),e.YNc(0,o,3,5,"ng-template"))},dependencies:[g.mk],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[l]},changeDetection:0})}return oe})();const se={provide:Q.JU,useExisting:(0,e.Gpc)(()=>xe),multi:!0},Oe=new e.OlP("mat-autocomplete-scroll-strategy"),be={provide:Oe,deps:[c.aV],useFactory:function Qe(oe){return()=>oe.scrollStrategies.reposition()}};let ue=(()=>{class oe{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(we){this._autocompleteDisabled=(0,u.Ig)(we)}constructor(we,le,ge,fe,Ge,Le,Ne,Ve,at,ve,De){this._element=we,this._overlay=le,this._viewContainerRef=ge,this._zone=fe,this._changeDetectorRef=Ge,this._dir=Ne,this._formField=Ve,this._document=at,this._viewportRuler=ve,this._defaults=De,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=S.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new M.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,I.P)(()=>{const xt=this.autocomplete?this.autocomplete.options:null;return xt?xt.changes.pipe((0,ne.O)(xt),(0,X.w)(()=>(0,D.T)(...xt.map(ct=>ct.onSelectionChange)))):this._zone.onStable.pipe((0,pe.q)(1),(0,X.w)(()=>this.optionSelections))}),this._handlePanelKeydown=xt=>{(xt.keyCode===W.hY&&!(0,W.Vb)(xt)||xt.keyCode===W.LH&&(0,W.Vb)(xt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),xt.stopPropagation(),xt.preventDefault())},this._trackedModal=null,this._scrollStrategy=Le}ngAfterViewInit(){const we=this._getWindow();typeof we<"u"&&this._zone.runOutsideAngular(()=>we.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(we){we.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const we=this._getWindow();typeof we<"u"&&we.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel(),this._trackedModal&&(0,C.Zf)(this._trackedModal,"aria-owns",this.autocomplete.id)}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)&&(0,C.iD)(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,D.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,ie.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,ie.h)(()=>this._overlayAttached)):(0,R.of)()).pipe((0,de.U)(we=>we instanceof t.rN?we:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,D.T)((0,F.R)(this._document,"click"),(0,F.R)(this._document,"auxclick"),(0,F.R)(this._document,"touchend")).pipe((0,ie.h)(we=>{const le=(0,P.sA)(we),ge=this._formField?this._formField._elementRef.nativeElement:null,fe=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&le!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!ge||!ge.contains(le))&&(!fe||!fe.contains(le))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(le)}))}writeValue(we){Promise.resolve(null).then(()=>this._assignOptionValue(we))}registerOnChange(we){this._onChange=we}registerOnTouched(we){this._onTouched=we}setDisabledState(we){this._element.nativeElement.disabled=we}_handleKeydown(we){const le=we.keyCode,ge=(0,W.Vb)(we);if(le===W.hY&&!ge&&we.preventDefault(),this.activeOption&&le===W.K5&&this.panelOpen&&!ge)this.activeOption._selectViaInteraction(),this._resetActiveItem(),we.preventDefault();else if(this.autocomplete){const fe=this.autocomplete._keyManager.activeItem,Ge=le===W.LH||le===W.JH;le===W.Mf||Ge&&!ge&&this.panelOpen?this.autocomplete._keyManager.onKeydown(we):Ge&&this._canOpen()&&this.openPanel(),(Ge||this.autocomplete._keyManager.activeItem!==fe)&&(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(we){let le=we.target,ge=le.value;"number"===le.type&&(ge=""==ge?null:parseFloat(ge)),this._previousValue!==ge&&(this._previousValue=ge,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(ge),ge||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===we.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(we=!1){this._formField&&"auto"===this._formField.floatLabel&&(we?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const we=this._zone.onStable.pipe((0,pe.q)(1)),le=this.autocomplete.options.changes.pipe((0,te.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,ae.g)(0));return(0,D.T)(we,le).pipe((0,X.w)(()=>(this._zone.run(()=>{const ge=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),ge!==this.panelOpen&&(this.panelOpen?(this._captureValueOnAttach(),this._emitOpened()):this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,pe.q)(1)).subscribe(ge=>this._setValueAndClose(ge))}_emitOpened(){this.autocomplete.opened.emit()}_captureValueOnAttach(){this._valueOnAttach=this._element.nativeElement.value}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(we){const le=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(we):we;this._updateNativeInputValue(le??"")}_updateNativeInputValue(we){this._formField?this._formField._control.value=we:this._element.nativeElement.value=we,this._previousValue=we}_setValueAndClose(we){const le=this.autocomplete,ge=we?we.source:this._pendingAutoselectedOption;ge?(this._clearPreviousSelectedOption(ge),this._assignOptionValue(ge.value),this._onChange(ge.value),le._emitSelectEvent(ge),this._element.nativeElement.focus()):le.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),le._animationDone?le._animationDone.pipe((0,pe.q)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(we,le){this.autocomplete?.options?.forEach(ge=>{ge!==we&&ge.selected&&ge.deselect(le)})}_attachOverlay(){let we=this._overlayRef;we?(this._positionStrategy.setOrigin(this._getConnectedElement()),we.updateSize({width:this._getPanelWidth()})):(this._portal=new Y.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),we=this._overlay.create(this._getOverlayConfig()),this._overlayRef=we,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&we&&we.updateSize({width:this._getPanelWidth()})})),we&&!we.hasAttached()&&(we.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const le=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this._captureValueOnAttach(),this.panelOpen&&le!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const we=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=we.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=we.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new c.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const we=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(we),this._positionStrategy=we,we}_setStrategyPositions(we){const le=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ge=this._aboveClass,fe=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:ge},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:ge}];let Ge;Ge="above"===this.position?fe:"below"===this.position?le:[...le,...fe],we.withPositions(Ge)}_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 we=this.autocomplete;if(we.autoActiveFirstOption){let le=-1;for(let ge=0;ge<we.options.length;ge++)if(!we.options.get(ge).disabled){le=ge;break}we._keyManager.setActiveItem(le)}else we._keyManager.setActiveItem(-1)}_canOpen(){const we=this._element.nativeElement;return!we.readOnly&&!we.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(we){const le=this.autocomplete,ge=(0,t.CB)(we,le.options,le.optionGroups);if(0===we&&1===ge)le._setScrollTop(0);else if(le.panel){const fe=le.options.toArray()[we];if(fe){const Ge=fe._getHostElement(),Le=(0,t.jH)(Ge.offsetTop,Ge.offsetHeight,le._getScrollTop(),le.panel.nativeElement.offsetHeight);le._setScrollTop(Le)}}}_applyModalPanelOwnership(){const we=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!we)return;const le=this.autocomplete.id;this._trackedModal&&(0,C.iD)(this._trackedModal,"aria-owns",le),(0,C.Zf)(we,"aria-owns",le),this._trackedModal=we}_clearFromModal(){this._trackedModal&&((0,C.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(le){return new(le||oe)(e.Y36(e.SBq),e.Y36(c.aV),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(Oe),e.Y36(E.Is,8),e.Y36(J.G_,9),e.Y36(g.K0,8),e.Y36(T.rL),e.Y36(b,8))};static#t=this.\u0275dir=e.lG2({type:oe,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[e.TTD]})}return oe})(),xe=(()=>{class oe extends ue{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}static#e=this.\u0275fac=function(){let we;return function(ge){return(we||(we=e.n5z(oe)))(ge||oe)}}();static#t=this.\u0275dir=e.lG2({type:oe,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(le,ge){1&le&&e.NdJ("focusin",function(){return ge._handleFocus()})("blur",function(){return ge._onTouched()})("input",function(Ge){return ge._handleInput(Ge)})("keydown",function(Ge){return ge._handleKeydown(Ge)})("click",function(){return ge._handleClick()}),2&le&&e.uIk("autocomplete",ge.autocompleteAttribute)("role",ge.autocompleteDisabled?null:"combobox")("aria-autocomplete",ge.autocompleteDisabled?null:"list")("aria-activedescendant",ge.panelOpen&&ge.activeOption?ge.activeOption.id:null)("aria-expanded",ge.autocompleteDisabled?null:ge.panelOpen.toString())("aria-controls",ge.autocompleteDisabled||!ge.panelOpen||null==ge.autocomplete?null:ge.autocomplete.id)("aria-haspopup",ge.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[e._Bn([se]),e.qOj]})}return oe})(),Pe=(()=>{class oe{static#e=this.\u0275fac=function(le){return new(le||oe)};static#t=this.\u0275mod=e.oAB({type:oe});static#i=this.\u0275inj=e.cJS({providers:[be],imports:[c.U8,t.Ng,t.BQ,g.ez,T.ZD,t.Ng,t.BQ]})}return oe})()},9014:(Ue,q,p)=>{"use strict";p.d(q,{g:()=>S,k:()=>d});var e=p(5879),t=p(3680),g=p(4300),T=p(2495),c=p(6814);let C=0;const u=(0,t.Id)(class{}),P="mat-badge-content";let d=(()=>{class M extends u{get color(){return this._color}set color(D){this._setColor(D),this._color=D}get overlap(){return this._overlap}set overlap(D){this._overlap=(0,T.Ig)(D)}get content(){return this._content}set content(D){this._updateRenderedContent(D)}get description(){return this._description}set description(D){this._updateDescription(D)}get hidden(){return this._hidden}set hidden(D){this._hidden=(0,T.Ig)(D)}constructor(D,R,F,W,Y){super(),this._ngZone=D,this._elementRef=R,this._ariaDescriber=F,this._renderer=W,this._animationMode=Y,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=C++,this._isInitialized=!1,this._interactivityChecker=(0,e.f3M)(g.ic),this._document=(0,e.f3M)(c.K0)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){const D=this._renderer.createElement("span"),R="mat-badge-active";return D.setAttribute("id",`mat-badge-content-${this._id}`),D.setAttribute("aria-hidden","true"),D.classList.add(P),"NoopAnimations"===this._animationMode&&D.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(D),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{D.classList.add(R)})}):D.classList.add(R),D}_updateRenderedContent(D){const R=`${D??""}`.trim();this._isInitialized&&R&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=R),this._content=R}_updateDescription(D){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!D||this._isHostInteractive())&&this._removeInlineDescription(),this._description=D,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,D):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(D){const R=this._elementRef.nativeElement.classList;R.remove(`mat-badge-${this._color}`),D&&R.add(`mat-badge-${D}`)}_clearExistingBadges(){const D=this._elementRef.nativeElement.querySelectorAll(`:scope > .${P}`);for(const R of Array.from(D))R!==this._badgeElement&&R.remove()}static#e=this.\u0275fac=function(R){return new(R||M)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(g.$s),e.Y36(e.Qsj),e.Y36(e.QbO,8))};static#t=this.\u0275dir=e.lG2({type:M,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(R,F){2&R&&e.ekj("mat-badge-overlap",F.overlap)("mat-badge-above",F.isAbove())("mat-badge-below",!F.isAbove())("mat-badge-before",!F.isAfter())("mat-badge-after",F.isAfter())("mat-badge-small","small"===F.size)("mat-badge-medium","medium"===F.size)("mat-badge-large","large"===F.size)("mat-badge-hidden",F.hidden||!F.content)("mat-badge-disabled",F.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:[e.qOj]})}return M})(),S=(()=>{class M{static#e=this.\u0275fac=function(R){return new(R||M)};static#t=this.\u0275mod=e.oAB({type:M});static#i=this.\u0275inj=e.cJS({imports:[g.rt,t.BQ,t.BQ]})}return M})()},2296:(Ue,q,p)=>{"use strict";p.d(q,{RK:()=>b,lW:()=>te,nh:()=>y,ot:()=>_});var e=p(2831),t=p(5879),g=p(4300),T=p(2495),c=p(3680);const C=["mat-button",""],u=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],P=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],I=["mat-mini-fab",""],R=["mat-icon-button",""],F=["*"],J=[{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"]}],ne=(0,c.pj)((0,c.Id)((0,c.Kr)(class{constructor(H){this._elementRef=H}})));let X=(()=>{class H extends ne{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(K){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,K)}get disableRipple(){return this._disableRipple}set disableRipple(K){this._disableRipple=(0,T.Ig)(K),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(K){this._disabled=(0,T.Ig)(K),this._updateRippleDisabled()}constructor(K,se,Ye,Oe){super(K),this._platform=se,this._ngZone=Ye,this._animationMode=Oe,this._focusMonitor=(0,t.f3M)(g.tE),this._rippleLoader=(0,t.f3M)(c.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const Qe=K.nativeElement.classList;for(const be of J)this._hasHostAttributes(be.selector)&&be.mdcClasses.forEach(ue=>{Qe.add(ue)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(K="program",se){K?this._focusMonitor.focusVia(this._elementRef.nativeElement,K,se):this._elementRef.nativeElement.focus(se)}_hasHostAttributes(...K){return K.some(se=>this._elementRef.nativeElement.hasAttribute(se))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(se){t.$Z()};static#t=this.\u0275dir=t.lG2({type:H,features:[t.qOj]})}return H})(),te=(()=>{class H extends X{constructor(K,se,Ye,Oe){super(K,se,Ye,Oe)}static#e=this.\u0275fac=function(se){return new(se||H)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:H,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(se,Ye){2&se&&(t.uIk("disabled",Ye.disabled||null),t.ekj("_mat-animation-noopable","NoopAnimations"===Ye._animationMode)("mat-unthemed",!Ye.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.qOj],attrs:C,ngContentSelectors:P,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(se,Ye){1&se&&(t.F$t(u),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)),2&se&&t.ekj("mdc-button__ripple",!Ye._isFab)("mdc-fab__ripple",Ye._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\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-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;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})}return H})();const E=new t.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:i});function i(){return{color:"accent"}}const o=i();let y=(()=>{class H extends X{constructor(K,se,Ye,Oe,Qe){super(K,se,Ye,Oe),this._options=Qe,this._isFab=!0,this._options=this._options||o,this.color=this.defaultColor=this._options.color||o.color}static#e=this.\u0275fac=function(se){return new(se||H)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8),t.Y36(E,8))};static#t=this.\u0275cmp=t.Xpm({type:H,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(se,Ye){2&se&&(t.uIk("disabled",Ye.disabled||null),t.ekj("_mat-animation-noopable","NoopAnimations"===Ye._animationMode)("mat-unthemed",!Ye.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.qOj],attrs:I,ngContentSelectors:P,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(se,Ye){1&se&&(t.F$t(u),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)),2&se&&t.ekj("mdc-button__ripple",!Ye._isFab)("mdc-fab__ripple",Ye._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\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:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color);--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);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-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;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: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>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return H})(),b=(()=>{class H extends X{constructor(K,se,Ye,Oe){super(K,se,Ye,Oe),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(se){return new(se||H)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:H,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(se,Ye){2&se&&(t.uIk("disabled",Ye.disabled||null),t.ekj("_mat-animation-noopable","NoopAnimations"===Ye._animationMode)("mat-unthemed",!Ye.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.qOj],attrs:R,ngContentSelectors:F,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(se,Ye){1&se&&(t.F$t(),t._UZ(0,"span",0),t.Hsn(1),t._UZ(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;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-ripple{overflow:hidden}.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})}return H})(),_=(()=>{class H{static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275mod=t.oAB({type:H});static#i=this.\u0275inj=t.cJS({imports:[c.BQ,c.si,c.BQ]})}return H})()},5195:(Ue,q,p)=>{"use strict";p.d(q,{$j:()=>R,QW:()=>te,a8:()=>S,dk:()=>W,dn:()=>D,n5:()=>M});var e=p(5879),t=p(6814),g=p(3680);const T=["*"],u=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],P=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],d=new e.OlP("MAT_CARD_CONFIG");let S=(()=>{class ae{constructor(i){this.appearance=i?.appearance||"raised"}static#e=this.\u0275fac=function(o){return new(o||ae)(e.Y36(d,8))};static#t=this.\u0275cmp=e.Xpm({type:ae,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(o,m){2&o&&e.ekj("mat-mdc-card-outlined","outlined"===m.appearance)("mdc-card--outlined","outlined"===m.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:T,decls:1,vars:0,template:function(o,m){1&o&&(e.F$t(),e.Hsn(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation);--mdc-elevated-card-container-shape:4px;--mdc-outlined-card-container-shape:4px;--mdc-outlined-card-outline-width:1px}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return ae})(),M=(()=>{class ae{static#e=this.\u0275fac=function(o){return new(o||ae)};static#t=this.\u0275dir=e.lG2({type:ae,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return ae})(),D=(()=>{class ae{static#e=this.\u0275fac=function(o){return new(o||ae)};static#t=this.\u0275dir=e.lG2({type:ae,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return ae})(),R=(()=>{class ae{static#e=this.\u0275fac=function(o){return new(o||ae)};static#t=this.\u0275dir=e.lG2({type:ae,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return ae})(),W=(()=>{class ae{static#e=this.\u0275fac=function(o){return new(o||ae)};static#t=this.\u0275cmp=e.Xpm({type:ae,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(o,m){1&o&&(e.F$t(u),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0})}return ae})(),te=(()=>{class ae{static#e=this.\u0275fac=function(o){return new(o||ae)};static#t=this.\u0275mod=e.oAB({type:ae});static#i=this.\u0275inj=e.cJS({imports:[g.BQ,t.ez,g.BQ]})}return ae})()},5986:(Ue,q,p)=>{"use strict";p.d(q,{oG:()=>W,p9:()=>ne});var e=p(5879),t=p(6223),g=p(3680),T=p(2495);const c=["input"],C=["label"],u=["*"],P=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:d});function d(){return{color:"accent",clickAction:"check-indeterminate"}}const S={provide:t.JU,useExisting:(0,e.Gpc)(()=>W),multi:!0};class M{}let I=0;const D=d(),R=(0,g.sb)((0,g.pj)((0,g.Kr)((0,g.Id)(class{constructor(X){this._elementRef=X}}))));let F=(()=>{class X extends R{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(ie){this._required=(0,T.Ig)(ie)}constructor(ie,de,te,ae,E,i,o){super(de),this._changeDetectorRef=te,this._ngZone=ae,this._animationMode=i,this._options=o,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.vpe,this.indeterminateChange=new e.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||D,this.color=this.defaultColor=this._options.color||D.color,this.tabIndex=parseInt(E)||0,this.id=this._uniqueId=`${ie}${++I}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(ie){const de=(0,T.Ig)(ie);de!=this.checked&&(this._checked=de,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ie){const de=(0,T.Ig)(ie);de!==this.disabled&&(this._disabled=de,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(ie){const de=ie!=this._indeterminate;this._indeterminate=(0,T.Ig)(ie),de&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(ie){this.checked=!!ie}registerOnChange(ie){this._controlValueAccessorChangeFn=ie}registerOnTouched(ie){this._onTouched=ie}setDisabledState(ie){this.disabled=ie}_transitionCheckState(ie){let de=this._currentCheckState,te=this._getAnimationTargetElement();if(de!==ie&&te&&(this._currentAnimationClass&&te.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(de,ie),this._currentCheckState=ie,this._currentAnimationClass.length>0)){te.classList.add(this._currentAnimationClass);const ae=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{te.classList.remove(ae)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const ie=this._options?.clickAction;this.disabled||"noop"===ie?!this.disabled&&"noop"===ie&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==ie&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(ie){ie.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(ie,de){if("NoopAnimations"===this._animationMode)return"";switch(ie){case 0:if(1===de)return this._animationClasses.uncheckedToChecked;if(3==de)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===de?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===de?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===de?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(ie){const de=this._inputElement;de&&(de.nativeElement.indeterminate=ie)}static#e=this.\u0275fac=function(de){e.$Z()};static#t=this.\u0275dir=e.lG2({type:X,viewQuery:function(de,te){if(1&de&&(e.Gf(c,5),e.Gf(C,5),e.Gf(g.wG,5)),2&de){let ae;e.iGM(ae=e.CRH())&&(te._inputElement=ae.first),e.iGM(ae=e.CRH())&&(te._labelElement=ae.first),e.iGM(ae=e.CRH())&&(te.ripple=ae.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:[e.qOj]})}return X})(),W=(()=>{class X extends F{constructor(ie,de,te,ae,E,i){super("mat-mdc-checkbox-",ie,de,te,ae,E,i),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(ie){const de=new M;return de.source=this,de.checked=ie,de}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(ie){ie.target&&this._labelElement.nativeElement.contains(ie.target)&&ie.stopPropagation()}static#e=this.\u0275fac=function(de){return new(de||X)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(e.QbO,8),e.Y36(P,8))};static#t=this.\u0275cmp=e.Xpm({type:X,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(de,te){2&de&&(e.Ikx("id",te.id),e.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),e.ekj("_mat-animation-noopable","NoopAnimations"===te._animationMode)("mdc-checkbox--disabled",te.disabled)("mat-mdc-checkbox-disabled",te.disabled)("mat-mdc-checkbox-checked",te.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[e._Bn([S]),e.qOj],ngContentSelectors:u,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(de,te){if(1&de&&(e.F$t(),e.TgZ(0,"div",0),e.NdJ("click",function(E){return te._preventBubblingFromLabel(E)}),e.TgZ(1,"div",1,2)(3,"div",3),e.NdJ("click",function(){return te._onTouchTargetClick()}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("blur",function(){return te._onBlur()})("click",function(){return te._onInputClick()})("change",function(E){return te._onInteractionEvent(E)}),e.qZA(),e._UZ(6,"div",6),e.TgZ(7,"div",7),e.O4$(),e.TgZ(8,"svg",8),e._UZ(9,"path",9),e.qZA(),e.kcU(),e._UZ(10,"div",10),e.qZA(),e._UZ(11,"div",11),e.qZA(),e.TgZ(12,"label",12,13),e.Hsn(14),e.qZA()()),2&de){const ae=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==te.labelPosition),e.xp6(4),e.ekj("mdc-checkbox--selected",te.checked),e.Q6J("checked",te.checked)("indeterminate",te.indeterminate)("disabled",te.disabled)("id",te.inputId)("required",te.required)("tabIndex",te.tabIndex),e.uIk("aria-label",te.ariaLabel||null)("aria-labelledby",te.ariaLabelledby)("aria-describedby",te.ariaDescribedby)("name",te.name)("value",te.value),e.xp6(7),e.Q6J("matRippleTrigger",ae)("matRippleDisabled",te.disableRipple||te.disabled)("matRippleCentered",!0),e.xp6(1),e.Q6J("for",te.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) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return X})(),J=(()=>{class X{static#e=this.\u0275fac=function(de){return new(de||X)};static#t=this.\u0275mod=e.oAB({type:X});static#i=this.\u0275inj=e.cJS({})}return X})(),ne=(()=>{class X{static#e=this.\u0275fac=function(de){return new(de||X)};static#t=this.\u0275mod=e.oAB({type:X});static#i=this.\u0275inj=e.cJS({imports:[g.BQ,g.si,J,g.BQ,J]})}return X})()},2557:(Ue,q,p)=>{"use strict";p.d(q,{HS:()=>xe,Hi:()=>Ct});var e=p(2495),t=p(5879),g=p(6814),T=p(3680),c=p(4300),C=p(8645),u=p(3019),P=p(8180),I=(p(9773),p(7921),p(4664),p(6028));function W(ke,ot){1&ke&&(t.TgZ(0,"span",7),t.Hsn(1,1),t.qZA())}function Y(ke,ot){1&ke&&(t.TgZ(0,"span",8),t.Hsn(1,2),t.qZA())}p(9388),p(6223),p(5683);const Q=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],J=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],O=new t.OlP("mat-chips-default-options"),b=new t.OlP("MatChipAvatar"),n=new t.OlP("MatChipTrailingIcon"),_=new t.OlP("MatChipRemove"),H=new t.OlP("MatChip");class V{}const K=(0,T.sb)(V,-1);let se=(()=>{class ke extends K{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(Je){this._disabled=(0,e.Ig)(Je)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(Je,re){super(),this._elementRef=Je,this._parentChip=re,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===Je.nativeElement.nodeName&&Je.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(Je){!this.disabled&&this.isInteractive&&this._isPrimary&&(Je.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(Je){(Je.keyCode===I.K5||Je.keyCode===I.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(Je.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(re){return new(re||ke)(t.Y36(t.SBq),t.Y36(H))};static#t=this.\u0275dir=t.lG2({type:ke,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(re,Be){1&re&&t.NdJ("click",function(Ke){return Be._handleClick(Ke)})("keydown",function(Ke){return Be._handleKeydown(Ke)}),2&re&&(t.uIk("tabindex",Be._getTabindex())("disabled",Be._getDisabledAttribute())("aria-disabled",Be.disabled),t.ekj("mdc-evolution-chip__action--primary",Be._isPrimary)("mdc-evolution-chip__action--presentational",!Be.isInteractive)("mdc-evolution-chip__action--trailing",!Be._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[t.qOj]})}return ke})(),be=0;const ue=(0,T.sb)((0,T.pj)((0,T.Kr)((0,T.Id)(class{constructor(ke){this._elementRef=ke}})),"primary"),-1);let xe=(()=>{class ke extends ue{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(Je){this._value=Je}get removable(){return this._removable}set removable(Je){this._removable=(0,e.Ig)(Je)}get highlighted(){return this._highlighted}set highlighted(Je){this._highlighted=(0,e.Ig)(Je)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(Je){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,Je)}constructor(Je,re,Be,Nt,Ke,yt,kt,Dt){super(re),this._changeDetectorRef=Je,this._ngZone=Be,this._focusMonitor=Nt,this._globalRippleOptions=kt,this._onFocus=new C.x,this._onBlur=new C.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+be++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new t.vpe,this.destroyed=new t.vpe,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,t.f3M)(T.Fq),this._document=Ke,this._animationsDisabled="NoopAnimations"===yt,null!=Dt&&(this.tabIndex=parseInt(Dt)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const Je=this._elementRef.nativeElement;this._isBasicChip=Je.hasAttribute(this.basicChipAttrName)||Je.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,u.T)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(Je){(Je.keyCode===I.ZH||Je.keyCode===I.yY)&&(Je.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(Je){return this._getActions().find(re=>{const Be=re._elementRef.nativeElement;return Be===Je||Be.contains(Je)})}_getActions(){const Je=[];return this.primaryAction&&Je.push(this.primaryAction),this.removeIcon&&Je.push(this.removeIcon),this.trailingIcon&&Je.push(this.trailingIcon),Je}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Je=>{const re=null!==Je;re!==this._hasFocusInternal&&(this._hasFocusInternal=re,re?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,P.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(re){return new(re||ke)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(c.tE),t.Y36(g.K0),t.Y36(t.QbO,8),t.Y36(T.Y2,8),t.$8M("tabindex"))};static#t=this.\u0275cmp=t.Xpm({type:ke,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(re,Be,Nt){if(1&re&&(t.Suo(Nt,b,5),t.Suo(Nt,n,5),t.Suo(Nt,_,5),t.Suo(Nt,b,5),t.Suo(Nt,n,5),t.Suo(Nt,_,5)),2&re){let Ke;t.iGM(Ke=t.CRH())&&(Be.leadingIcon=Ke.first),t.iGM(Ke=t.CRH())&&(Be.trailingIcon=Ke.first),t.iGM(Ke=t.CRH())&&(Be.removeIcon=Ke.first),t.iGM(Ke=t.CRH())&&(Be._allLeadingIcons=Ke),t.iGM(Ke=t.CRH())&&(Be._allTrailingIcons=Ke),t.iGM(Ke=t.CRH())&&(Be._allRemoveIcons=Ke)}},viewQuery:function(re,Be){if(1&re&&t.Gf(se,5),2&re){let Nt;t.iGM(Nt=t.CRH())&&(Be.primaryAction=Nt.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(re,Be){1&re&&t.NdJ("keydown",function(Ke){return Be._handleKeydown(Ke)}),2&re&&(t.Ikx("id",Be.id),t.uIk("role",Be.role)("tabindex",Be.role?Be.tabIndex:null)("aria-label",Be.ariaLabel),t.ekj("mdc-evolution-chip",!Be._isBasicChip)("mdc-evolution-chip--disabled",Be.disabled)("mdc-evolution-chip--with-trailing-action",Be._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Be.leadingIcon)("mdc-evolution-chip--with-primary-icon",Be.leadingIcon)("mdc-evolution-chip--with-avatar",Be.leadingIcon)("mat-mdc-chip-with-avatar",Be.leadingIcon)("mat-mdc-chip-highlighted",Be.highlighted)("mat-mdc-chip-disabled",Be.disabled)("mat-mdc-basic-chip",Be._isBasicChip)("mat-mdc-standard-chip",!Be._isBasicChip)("mat-mdc-chip-with-trailing-icon",Be._hasTrailingIcon())("_mat-animation-noopable",Be._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[t._Bn([{provide:H,useExisting:ke}]),t.qOj],ngContentSelectors:J,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",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(re,Be){1&re&&(t.F$t(Q),t._UZ(0,"span",0),t.TgZ(1,"span",1)(2,"span",2),t.YNc(3,W,2,0,"span",3),t.TgZ(4,"span",4),t.Hsn(5),t._UZ(6,"span",5),t.qZA()()(),t.YNc(7,Y,2,0,"span",6)),2&re&&(t.xp6(2),t.Q6J("isInteractive",!1),t.xp6(1),t.Q6J("ngIf",Be.leadingIcon),t.xp6(4),t.Q6J("ngIf",Be._hasTrailingIcon()))},dependencies:[g.O5,se],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return ke})(),Ct=(()=>{class ke{static#e=this.\u0275fac=function(re){return new(re||ke)};static#t=this.\u0275mod=t.oAB({type:ke});static#i=this.\u0275inj=t.cJS({providers:[T.rD,{provide:O,useValue:{separatorKeyCodes:[I.K5]}}],imports:[T.BQ,g.ez,T.si,T.BQ]})}return ke})()},3680:(Ue,q,p)=>{"use strict";p.d(q,{yN:()=>ne,mZ:()=>X,_A:()=>n,rD:()=>be,sG:()=>_,Ad:()=>O,K7:()=>re,HF:()=>Ct,Y2:()=>ve,BQ:()=>de,uc:()=>oe,XK:()=>Oe,ey:()=>kt,Ng:()=>pt,rN:()=>Ke,us:()=>et,wG:()=>De,Fq:()=>Tt,si:()=>xt,LF:()=>K,IR:()=>Ve,CB:()=>Dt,jH:()=>Rt,pj:()=>o,Kr:()=>m,Id:()=>i,FD:()=>y,dB:()=>L,sb:()=>l});var e=p(5879),t=p(4300),g=p(9388),c=p(6814),C=p(2831),u=p(2495),P=p(5592),d=p(8645),S=p(6028);const D=["text"];function R(mt,he){if(1&mt&&e._UZ(0,"mat-pseudo-checkbox",6),2&mt){const ee=e.oxw();e.Q6J("disabled",ee.disabled)("state",ee.selected?"checked":"unchecked")}}function F(mt,he){if(1&mt&&e._UZ(0,"mat-pseudo-checkbox",7),2&mt){const ee=e.oxw();e.Q6J("disabled",ee.disabled)}}function W(mt,he){if(1&mt&&(e.TgZ(0,"span",8),e._uU(1),e.qZA()),2&mt){const ee=e.oxw();e.xp6(1),e.hij("(",ee.group.label,")")}}const Y=[[["mat-icon"]],"*"],Q=["mat-icon","*"];let ne=(()=>{class mt{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#i=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#n=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return mt})(),X=(()=>{class mt{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#i=this.EXITING="195ms"}return mt})();const ie=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function pe(){return!0}});let de=(()=>{class mt{constructor(ee,Ce,At){this._sanityChecks=Ce,this._document=At,this._hasDoneGlobalChecks=!1,ee._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ee){return!(0,C.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ee])}static#e=this.\u0275fac=function(Ce){return new(Ce||mt)(e.LFG(t.qm),e.LFG(ie,8),e.LFG(c.K0))};static#t=this.\u0275mod=e.oAB({type:mt});static#i=this.\u0275inj=e.cJS({imports:[g.vT,g.vT]})}return mt})();function i(mt){return class extends mt{get disabled(){return this._disabled}set disabled(he){this._disabled=(0,u.Ig)(he)}constructor(...he){super(...he),this._disabled=!1}}}function o(mt,he){return class extends mt{get color(){return this._color}set color(ee){const Ce=ee||this.defaultColor;Ce!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Ce&&this._elementRef.nativeElement.classList.add(`mat-${Ce}`),this._color=Ce)}constructor(...ee){super(...ee),this.defaultColor=he,this.color=he}}}function m(mt){return class extends mt{get disableRipple(){return this._disableRipple}set disableRipple(he){this._disableRipple=(0,u.Ig)(he)}constructor(...he){super(...he),this._disableRipple=!1}}}function l(mt,he=0){return class extends mt{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ee){this._tabIndex=null!=ee?(0,u.su)(ee):this.defaultTabIndex}constructor(...ee){super(...ee),this._tabIndex=he,this.defaultTabIndex=he}}}function y(mt){return class extends mt{updateErrorState(){const he=this.errorState,Lt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Lt!==he&&(this.errorState=Lt,this.stateChanges.next())}constructor(...he){super(...he),this.errorState=!1}}}function L(mt){return class extends mt{constructor(...he){super(...he),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new P.y(ee=>{this._isInitialized?this._notifySubscriber(ee):this._pendingSubscribers.push(ee)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(he){he.next(),he.complete()}}}const O=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function b(){return(0,e.f3M)(e.soG)}});class n{constructor(){this._localeChanges=new d.x,this.localeChanges=this._localeChanges}getValidDateOrNull(he){return this.isDateInstance(he)&&this.isValid(he)?he:null}deserialize(he){return null==he||this.isDateInstance(he)&&this.isValid(he)?he:this.invalid()}setLocale(he){this.locale=he,this._localeChanges.next()}compareDate(he,ee){return this.getYear(he)-this.getYear(ee)||this.getMonth(he)-this.getMonth(ee)||this.getDate(he)-this.getDate(ee)}sameDate(he,ee){if(he&&ee){let Ce=this.isValid(he),At=this.isValid(ee);return Ce&&At?!this.compareDate(he,ee):Ce==At}return he==ee}clampDate(he,ee,Ce){return ee&&this.compareDate(he,ee)<0?ee:Ce&&this.compareDate(he,Ce)>0?Ce:he}}const _=new e.OlP("mat-date-formats"),H=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function V(mt,he){const ee=Array(mt);for(let Ce=0;Ce<mt;Ce++)ee[Ce]=he(Ce);return ee}let K=(()=>{class mt extends n{constructor(ee,Ce){super(),this.useUtcForDisplay=!1,super.setLocale(ee)}getYear(ee){return ee.getFullYear()}getMonth(ee){return ee.getMonth()}getDate(ee){return ee.getDate()}getDayOfWeek(ee){return ee.getDay()}getMonthNames(ee){const Ce=new Intl.DateTimeFormat(this.locale,{month:ee,timeZone:"utc"});return V(12,At=>this._format(Ce,new Date(2017,At,1)))}getDateNames(){const ee=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return V(31,Ce=>this._format(ee,new Date(2017,0,Ce+1)))}getDayOfWeekNames(ee){const Ce=new Intl.DateTimeFormat(this.locale,{weekday:ee,timeZone:"utc"});return V(7,At=>this._format(Ce,new Date(2017,0,At+1)))}getYearName(ee){const Ce=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(Ce,ee)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(ee){return this.getDate(this._createDateWithOverflow(this.getYear(ee),this.getMonth(ee)+1,0))}clone(ee){return new Date(ee.getTime())}createDate(ee,Ce,At){let Lt=this._createDateWithOverflow(ee,Ce,At);return Lt.getMonth(),Lt}today(){return new Date}parse(ee,Ce){return"number"==typeof ee?new Date(ee):ee?new Date(Date.parse(ee)):null}format(ee,Ce){if(!this.isValid(ee))throw Error("NativeDateAdapter: Cannot format invalid date.");const At=new Intl.DateTimeFormat(this.locale,{...Ce,timeZone:"utc"});return this._format(At,ee)}addCalendarYears(ee,Ce){return this.addCalendarMonths(ee,12*Ce)}addCalendarMonths(ee,Ce){let At=this._createDateWithOverflow(this.getYear(ee),this.getMonth(ee)+Ce,this.getDate(ee));return this.getMonth(At)!=((this.getMonth(ee)+Ce)%12+12)%12&&(At=this._createDateWithOverflow(this.getYear(At),this.getMonth(At),0)),At}addCalendarDays(ee,Ce){return this._createDateWithOverflow(this.getYear(ee),this.getMonth(ee),this.getDate(ee)+Ce)}toIso8601(ee){return[ee.getUTCFullYear(),this._2digit(ee.getUTCMonth()+1),this._2digit(ee.getUTCDate())].join("-")}deserialize(ee){if("string"==typeof ee){if(!ee)return null;if(H.test(ee)){let Ce=new Date(ee);if(this.isValid(Ce))return Ce}}return super.deserialize(ee)}isDateInstance(ee){return ee instanceof Date}isValid(ee){return!isNaN(ee.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(ee,Ce,At){const Lt=new Date;return Lt.setFullYear(ee,Ce,At),Lt.setHours(0,0,0,0),Lt}_2digit(ee){return("00"+ee).slice(-2)}_format(ee,Ce){const At=new Date;return At.setUTCFullYear(Ce.getFullYear(),Ce.getMonth(),Ce.getDate()),At.setUTCHours(Ce.getHours(),Ce.getMinutes(),Ce.getSeconds(),Ce.getMilliseconds()),ee.format(At)}static#e=this.\u0275fac=function(Ce){return new(Ce||mt)(e.LFG(O,8),e.LFG(C.t4))};static#t=this.\u0275prov=e.Yz7({token:mt,factory:mt.\u0275fac})}return mt})();const se={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 Ye=(()=>{class mt{static#e=this.\u0275fac=function(Ce){return new(Ce||mt)};static#t=this.\u0275mod=e.oAB({type:mt});static#i=this.\u0275inj=e.cJS({providers:[{provide:n,useClass:K}]})}return mt})(),Oe=(()=>{class mt{static#e=this.\u0275fac=function(Ce){return new(Ce||mt)};static#t=this.\u0275mod=e.oAB({type:mt});static#i=this.\u0275inj=e.cJS({providers:[{provide:_,useValue:se}],imports:[Ye]})}return mt})(),be=(()=>{class mt{isErrorState(ee,Ce){return!!(ee&&ee.invalid&&(ee.touched||Ce&&Ce.submitted))}static#e=this.\u0275fac=function(Ce){return new(Ce||mt)};static#t=this.\u0275prov=e.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"})}return mt})(),oe=(()=>{class mt{static#e=this.\u0275fac=function(Ce){return new(Ce||mt)};static#t=this.\u0275mod=e.oAB({type:mt});static#i=this.\u0275inj=e.cJS({imports:[de,de]})}return mt})();class ze{constructor(he,ee,Ce,At=!1){this._renderer=he,this.element=ee,this.config=Ce,this._animationForciblyDisabledThroughCss=At,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const we=(0,C.i$)({passive:!0,capture:!0});class le{constructor(){this._events=new Map,this._delegateEventHandler=he=>{const ee=(0,C.sA)(he);ee&&this._events.get(he.type)?.forEach((Ce,At)=>{(At===ee||At.contains(ee))&&Ce.forEach(Lt=>Lt.handleEvent(he))})}}addHandler(he,ee,Ce,At){const Lt=this._events.get(ee);if(Lt){const jt=Lt.get(Ce);jt?jt.add(At):Lt.set(Ce,new Set([At]))}else this._events.set(ee,new Map([[Ce,new Set([At])]])),he.runOutsideAngular(()=>{document.addEventListener(ee,this._delegateEventHandler,we)})}removeHandler(he,ee,Ce){const At=this._events.get(he);if(!At)return;const Lt=At.get(ee);Lt&&(Lt.delete(Ce),0===Lt.size&&At.delete(ee),0===At.size&&(this._events.delete(he),document.removeEventListener(he,this._delegateEventHandler,we)))}}const ge={enterDuration:225,exitDuration:150},Ge=(0,C.i$)({passive:!0,capture:!0}),Le=["mousedown","touchstart"],Ne=["mouseup","mouseleave","touchend","touchcancel"];class Ve{static#e=this._eventManager=new le;constructor(he,ee,Ce,At){this._target=he,this._ngZone=ee,this._platform=At,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,At.isBrowser&&(this._containerElement=(0,u.fI)(Ce))}fadeInRipple(he,ee,Ce={}){const At=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Lt={...ge,...Ce.animation};Ce.centered&&(he=At.left+At.width/2,ee=At.top+At.height/2);const jt=Ce.radius||function at(mt,he,ee){const Ce=Math.max(Math.abs(mt-ee.left),Math.abs(mt-ee.right)),At=Math.max(Math.abs(he-ee.top),Math.abs(he-ee.bottom));return Math.sqrt(Ce*Ce+At*At)}(he,ee,At),Zt=he-At.left,Kt=ee-At.top,Xe=Lt.enterDuration,Bt=document.createElement("div");Bt.classList.add("mat-ripple-element"),Bt.style.left=Zt-jt+"px",Bt.style.top=Kt-jt+"px",Bt.style.height=2*jt+"px",Bt.style.width=2*jt+"px",null!=Ce.color&&(Bt.style.backgroundColor=Ce.color),Bt.style.transitionDuration=`${Xe}ms`,this._containerElement.appendChild(Bt);const qe=window.getComputedStyle(Bt),Wt=qe.transitionDuration,si="none"===qe.transitionProperty||"0s"===Wt||"0s, 0s"===Wt||0===At.width&&0===At.height,li=new ze(this,Bt,Ce,si);Bt.style.transform="scale3d(1, 1, 1)",li.state=0,Ce.persistent||(this._mostRecentTransientRipple=li);let xi=null;return!si&&(Xe||Lt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ut=()=>this._finishRippleTransition(li),bt=()=>this._destroyRipple(li);Bt.addEventListener("transitionend",Ut),Bt.addEventListener("transitioncancel",bt),xi={onTransitionEnd:Ut,onTransitionCancel:bt}}),this._activeRipples.set(li,xi),(si||!Xe)&&this._finishRippleTransition(li),li}fadeOutRipple(he){if(2===he.state||3===he.state)return;const ee=he.element,Ce={...ge,...he.config.animation};ee.style.transitionDuration=`${Ce.exitDuration}ms`,ee.style.opacity="0",he.state=2,(he._animationForciblyDisabledThroughCss||!Ce.exitDuration)&&this._finishRippleTransition(he)}fadeOutAll(){this._getActiveRipples().forEach(he=>he.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(he=>{he.config.persistent||he.fadeOut()})}setupTriggerEvents(he){const ee=(0,u.fI)(he);!this._platform.isBrowser||!ee||ee===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ee,Le.forEach(Ce=>{Ve._eventManager.addHandler(this._ngZone,Ce,ee,this)}))}handleEvent(he){"mousedown"===he.type?this._onMousedown(he):"touchstart"===he.type?this._onTouchStart(he):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ne.forEach(ee=>{this._triggerElement.addEventListener(ee,this,Ge)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(he){0===he.state?this._startFadeOutTransition(he):2===he.state&&this._destroyRipple(he)}_startFadeOutTransition(he){const ee=he===this._mostRecentTransientRipple,{persistent:Ce}=he.config;he.state=1,!Ce&&(!ee||!this._isPointerDown)&&he.fadeOut()}_destroyRipple(he){const ee=this._activeRipples.get(he)??null;this._activeRipples.delete(he),this._activeRipples.size||(this._containerRect=null),he===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),he.state=3,null!==ee&&(he.element.removeEventListener("transitionend",ee.onTransitionEnd),he.element.removeEventListener("transitioncancel",ee.onTransitionCancel)),he.element.remove()}_onMousedown(he){const ee=(0,t.X6)(he),Ce=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!ee&&!Ce&&(this._isPointerDown=!0,this.fadeInRipple(he.clientX,he.clientY,this._target.rippleConfig))}_onTouchStart(he){if(!this._target.rippleDisabled&&!(0,t.yG)(he)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const ee=he.changedTouches;if(ee)for(let Ce=0;Ce<ee.length;Ce++)this.fadeInRipple(ee[Ce].clientX,ee[Ce].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(he=>{!he.config.persistent&&(1===he.state||he.config.terminateOnPointerUp&&0===he.state)&&he.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const he=this._triggerElement;he&&(Le.forEach(ee=>Ve._eventManager.removeHandler(ee,he,this)),this._pointerUpEventsRegistered&&Ne.forEach(ee=>he.removeEventListener(ee,this,Ge)))}}const ve=new e.OlP("mat-ripple-global-options");let De=(()=>{class mt{get disabled(){return this._disabled}set disabled(ee){ee&&this.fadeOutAllNonPersistent(),this._disabled=ee,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ee){this._trigger=ee,this._setupTriggerEventsIfEnabled()}constructor(ee,Ce,At,Lt,jt){this._elementRef=ee,this._animationMode=jt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Lt||{},this._rippleRenderer=new Ve(this,Ce,ee,At)}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(ee,Ce=0,At){return"number"==typeof ee?this._rippleRenderer.fadeInRipple(ee,Ce,{...this.rippleConfig,...At}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...ee})}static#e=this.\u0275fac=function(Ce){return new(Ce||mt)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(C.t4),e.Y36(ve,8),e.Y36(e.QbO,8))};static#t=this.\u0275dir=e.lG2({type:mt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Ce,At){2&Ce&&e.ekj("mat-ripple-unbounded",At.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return mt})(),xt=(()=>{class mt{static#e=this.\u0275fac=function(Ce){return new(Ce||mt)};static#t=this.\u0275mod=e.oAB({type:mt});static#i=this.\u0275inj=e.cJS({imports:[de,de]})}return mt})(),ct=(()=>{class mt{constructor(ee){this._animationMode=ee,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(Ce){return new(Ce||mt)(e.Y36(e.QbO,8))};static#t=this.\u0275cmp=e.Xpm({type:mt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(Ce,At){2&Ce&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===At.state)("mat-pseudo-checkbox-checked","checked"===At.state)("mat-pseudo-checkbox-disabled",At.disabled)("mat-pseudo-checkbox-minimal","minimal"===At.appearance)("mat-pseudo-checkbox-full","full"===At.appearance)("_mat-animation-noopable","NoopAnimations"===At._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(Ce,At){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return mt})(),et=(()=>{class mt{static#e=this.\u0275fac=function(Ce){return new(Ce||mt)};static#t=this.\u0275mod=e.oAB({type:mt});static#i=this.\u0275inj=e.cJS({imports:[de]})}return mt})();const Ct=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),re=new e.OlP("MatOptgroup");let Nt=0;class Ke{constructor(he,ee=!1){this.source=he,this.isUserInput=ee}}let yt=(()=>{class mt{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(ee){this._disabled=(0,u.Ig)(ee)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(ee,Ce,At,Lt){this._element=ee,this._changeDetectorRef=Ce,this._parent=At,this.group=Lt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Nt++,this.onSelectionChange=new e.vpe,this._stateChanges=new d.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(ee=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),ee&&this._emitSelectionChangeEvent())}deselect(ee=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),ee&&this._emitSelectionChangeEvent())}focus(ee,Ce){const At=this._getHostElement();"function"==typeof At.focus&&At.focus(Ce)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(ee){(ee.keyCode===S.K5||ee.keyCode===S.L_)&&!(0,S.Vb)(ee)&&(this._selectViaInteraction(),ee.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const ee=this.viewValue;ee!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=ee)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(ee=!1){this.onSelectionChange.emit(new Ke(this,ee))}static#e=this.\u0275fac=function(Ce){e.$Z()};static#t=this.\u0275dir=e.lG2({type:mt,viewQuery:function(Ce,At){if(1&Ce&&e.Gf(D,7),2&Ce){let Lt;e.iGM(Lt=e.CRH())&&(At._text=Lt.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}return mt})(),kt=(()=>{class mt extends yt{constructor(ee,Ce,At,Lt){super(ee,Ce,At,Lt)}static#e=this.\u0275fac=function(Ce){return new(Ce||mt)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ct,8),e.Y36(re,8))};static#t=this.\u0275cmp=e.Xpm({type:mt,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(Ce,At){1&Ce&&e.NdJ("click",function(){return At._selectViaInteraction()})("keydown",function(jt){return At._handleKeydown(jt)}),2&Ce&&(e.Ikx("id",At.id),e.uIk("aria-selected",At.selected)("aria-disabled",At.disabled.toString()),e.ekj("mdc-list-item--selected",At.selected)("mat-mdc-option-multiple",At.multiple)("mat-mdc-option-active",At.active)("mdc-list-item--disabled",At.disabled))},exportAs:["matOption"],features:[e.qOj],ngContentSelectors:Q,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(Ce,At){1&Ce&&(e.F$t(Y),e.YNc(0,R,1,2,"mat-pseudo-checkbox",0),e.Hsn(1),e.TgZ(2,"span",1,2),e.Hsn(4,1),e.qZA(),e.YNc(5,F,1,1,"mat-pseudo-checkbox",3),e.YNc(6,W,2,1,"span",4),e._UZ(7,"div",5)),2&Ce&&(e.Q6J("ngIf",At.multiple),e.xp6(5),e.Q6J("ngIf",!At.multiple&&At.selected&&!At.hideSingleSelectionIndicator),e.xp6(1),e.Q6J("ngIf",At.group&&At.group._inert),e.xp6(1),e.Q6J("matRippleTrigger",At._getHostElement())("matRippleDisabled",At.disabled||At.disableRipple))},dependencies:[De,c.O5,ct],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return mt})();function Dt(mt,he,ee){if(ee.length){let Ce=he.toArray(),At=ee.toArray(),Lt=0;for(let jt=0;jt<mt+1;jt++)Ce[jt].group&&Ce[jt].group===At[Lt]&&Lt++;return Lt}return 0}function Rt(mt,he,ee,Ce){return mt<ee?mt:mt+he>ee+Ce?Math.max(0,mt-Ce+he):ee}let pt=(()=>{class mt{static#e=this.\u0275fac=function(Ce){return new(Ce||mt)};static#t=this.\u0275mod=e.oAB({type:mt});static#i=this.\u0275inj=e.cJS({imports:[xt,c.ez,de,et]})}return mt})();const vt={capture:!0},Te=["focus","click","mouseenter","touchstart"],tt="mat-ripple-loader-uninitialized",Ze="mat-ripple-loader-class-name",Mt="mat-ripple-loader-centered",oi="mat-ripple-loader-disabled";let Tt=(()=>{class mt{constructor(){this._document=(0,e.f3M)(c.K0,{optional:!0}),this._animationMode=(0,e.f3M)(e.QbO,{optional:!0}),this._globalRippleOptions=(0,e.f3M)(ve,{optional:!0}),this._platform=(0,e.f3M)(C.t4),this._ngZone=(0,e.f3M)(e.R0b),this._onInteraction=ee=>{if(!(ee.target instanceof HTMLElement))return;const At=ee.target.closest(`[${tt}]`);At&&this.createRipple(At)},this._ngZone.runOutsideAngular(()=>{for(const ee of Te)this._document?.addEventListener(ee,this._onInteraction,vt)})}ngOnDestroy(){for(const ee of Te)this._document?.removeEventListener(ee,this._onInteraction,vt)}configureRipple(ee,Ce){ee.setAttribute(tt,""),(Ce.className||!ee.hasAttribute(Ze))&&ee.setAttribute(Ze,Ce.className||""),Ce.centered&&ee.setAttribute(Mt,""),Ce.disabled&&ee.setAttribute(oi,"")}getRipple(ee){return ee.matRipple?ee.matRipple:this.createRipple(ee)}setDisabled(ee,Ce){const At=ee.matRipple;At?At.disabled=Ce:Ce?ee.setAttribute(oi,""):ee.removeAttribute(oi)}createRipple(ee){if(!this._document)return;ee.querySelector(".mat-ripple")?.remove();const Ce=this._document.createElement("span");Ce.classList.add("mat-ripple",ee.getAttribute(Ze)),ee.append(Ce);const At=new De(new e.SBq(Ce),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return At._isInitialized=!0,At.trigger=ee,At.centered=ee.hasAttribute(Mt),At.disabled=ee.hasAttribute(oi),this.attachRipple(ee,At),At}attachRipple(ee,Ce){ee.removeAttribute(tt),ee.matRipple=Ce}static#e=this.\u0275fac=function(Ce){return new(Ce||mt)};static#t=this.\u0275prov=e.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"})}return mt})()},8034:(Ue,q,p)=>{"use strict";p.d(q,{FA:()=>Qi,Mq:()=>Lt,hl:()=>qe,nW:()=>Wt});var e=p(4300),t=p(3651),g=p(8484),T=p(6814),c=p(5879),C=p(2296),u=p(5407),P=p(3680),d=p(8645),S=p(7394),M=p(3019),I=p(2096),D=p(6028),R=p(9388),F=p(2831),W=p(8180),Y=p(7921),Q=p(2181),J=p(2495),ne=p(6825),X=p(6223),pe=p(5683),ie=p(2032);const de=["mat-calendar-body",""];function te($t,Hi){if(1&$t&&(c.TgZ(0,"tr",3)(1,"td",4),c._uU(2),c.qZA()()),2&$t){const Ee=c.oxw();c.xp6(1),c.Udp("padding-top",Ee._cellPadding)("padding-bottom",Ee._cellPadding),c.uIk("colspan",Ee.numCols),c.xp6(1),c.hij(" ",Ee.label," ")}}function ae($t,Hi){if(1&$t&&(c.TgZ(0,"td",4),c._uU(1),c.qZA()),2&$t){const Ee=c.oxw(2);c.Udp("padding-top",Ee._cellPadding)("padding-bottom",Ee._cellPadding),c.uIk("colspan",Ee._firstRowOffset),c.xp6(1),c.hij(" ",Ee._firstRowOffset>=Ee.labelMinRequiredCells?Ee.label:""," ")}}function E($t,Hi){if(1&$t){const Ee=c.EpF();c.TgZ(0,"td",8)(1,"button",9),c.NdJ("click",function(rt){const Jt=c.CHM(Ee).$implicit,ui=c.oxw(2);return c.KtG(ui._cellClicked(Jt,rt))})("focus",function(rt){const Jt=c.CHM(Ee).$implicit,ui=c.oxw(2);return c.KtG(ui._emitActiveDateChange(Jt,rt))}),c.TgZ(2,"span",10),c._uU(3),c.qZA(),c._UZ(4,"span",11),c.qZA()()}if(2&$t){const Ee=Hi.$implicit,We=Hi.index,rt=c.oxw().index,st=c.oxw();c.Udp("width",st._cellWidth)("padding-top",st._cellPadding)("padding-bottom",st._cellPadding),c.uIk("data-mat-row",rt)("data-mat-col",We),c.xp6(1),c.ekj("mat-calendar-body-disabled",!Ee.enabled)("mat-calendar-body-active",st._isActiveCell(rt,We))("mat-calendar-body-range-start",st._isRangeStart(Ee.compareValue))("mat-calendar-body-range-end",st._isRangeEnd(Ee.compareValue))("mat-calendar-body-in-range",st._isInRange(Ee.compareValue))("mat-calendar-body-comparison-bridge-start",st._isComparisonBridgeStart(Ee.compareValue,rt,We))("mat-calendar-body-comparison-bridge-end",st._isComparisonBridgeEnd(Ee.compareValue,rt,We))("mat-calendar-body-comparison-start",st._isComparisonStart(Ee.compareValue))("mat-calendar-body-comparison-end",st._isComparisonEnd(Ee.compareValue))("mat-calendar-body-in-comparison-range",st._isInComparisonRange(Ee.compareValue))("mat-calendar-body-preview-start",st._isPreviewStart(Ee.compareValue))("mat-calendar-body-preview-end",st._isPreviewEnd(Ee.compareValue))("mat-calendar-body-in-preview",st._isInPreview(Ee.compareValue)),c.Q6J("ngClass",Ee.cssClasses)("tabindex",st._isActiveCell(rt,We)?0:-1),c.uIk("aria-label",Ee.ariaLabel)("aria-disabled",!Ee.enabled||null)("aria-pressed",st._isSelected(Ee.compareValue))("aria-current",st.todayValue===Ee.compareValue?"date":null)("aria-describedby",st._getDescribedby(Ee.compareValue)),c.xp6(1),c.ekj("mat-calendar-body-selected",st._isSelected(Ee.compareValue))("mat-calendar-body-comparison-identical",st._isComparisonIdentical(Ee.compareValue))("mat-calendar-body-today",st.todayValue===Ee.compareValue),c.xp6(1),c.hij(" ",Ee.displayValue," ")}}function i($t,Hi){if(1&$t&&(c.TgZ(0,"tr",5),c.YNc(1,ae,2,6,"td",6),c.YNc(2,E,5,48,"td",7),c.qZA()),2&$t){const Ee=Hi.$implicit,We=Hi.index,rt=c.oxw();c.xp6(1),c.Q6J("ngIf",0===We&&rt._firstRowOffset),c.xp6(1),c.Q6J("ngForOf",Ee)}}function o($t,Hi){if(1&$t&&(c.TgZ(0,"th",5)(1,"span",6),c._uU(2),c.qZA(),c.TgZ(3,"span",7),c._uU(4),c.qZA()()),2&$t){const Ee=Hi.$implicit;c.xp6(2),c.Oqu(Ee.long),c.xp6(2),c.Oqu(Ee.narrow)}}const m=["*"];function l($t,Hi){}function y($t,Hi){if(1&$t){const Ee=c.EpF();c.TgZ(0,"mat-month-view",5),c.NdJ("activeDateChange",function(rt){c.CHM(Ee);const st=c.oxw();return c.KtG(st.activeDate=rt)})("_userSelection",function(rt){c.CHM(Ee);const st=c.oxw();return c.KtG(st._dateSelected(rt))})("dragStarted",function(rt){c.CHM(Ee);const st=c.oxw();return c.KtG(st._dragStarted(rt))})("dragEnded",function(rt){c.CHM(Ee);const st=c.oxw();return c.KtG(st._dragEnded(rt))}),c.qZA()}if(2&$t){const Ee=c.oxw();c.Q6J("activeDate",Ee.activeDate)("selected",Ee.selected)("dateFilter",Ee.dateFilter)("maxDate",Ee.maxDate)("minDate",Ee.minDate)("dateClass",Ee.dateClass)("comparisonStart",Ee.comparisonStart)("comparisonEnd",Ee.comparisonEnd)("startDateAccessibleName",Ee.startDateAccessibleName)("endDateAccessibleName",Ee.endDateAccessibleName)("activeDrag",Ee._activeDrag)}}function L($t,Hi){if(1&$t){const Ee=c.EpF();c.TgZ(0,"mat-year-view",6),c.NdJ("activeDateChange",function(rt){c.CHM(Ee);const st=c.oxw();return c.KtG(st.activeDate=rt)})("monthSelected",function(rt){c.CHM(Ee);const st=c.oxw();return c.KtG(st._monthSelectedInYearView(rt))})("selectedChange",function(rt){c.CHM(Ee);const st=c.oxw();return c.KtG(st._goToDateInView(rt,"month"))}),c.qZA()}if(2&$t){const Ee=c.oxw();c.Q6J("activeDate",Ee.activeDate)("selected",Ee.selected)("dateFilter",Ee.dateFilter)("maxDate",Ee.maxDate)("minDate",Ee.minDate)("dateClass",Ee.dateClass)}}function O($t,Hi){if(1&$t){const Ee=c.EpF();c.TgZ(0,"mat-multi-year-view",7),c.NdJ("activeDateChange",function(rt){c.CHM(Ee);const st=c.oxw();return c.KtG(st.activeDate=rt)})("yearSelected",function(rt){c.CHM(Ee);const st=c.oxw();return c.KtG(st._yearSelectedInMultiYearView(rt))})("selectedChange",function(rt){c.CHM(Ee);const st=c.oxw();return c.KtG(st._goToDateInView(rt,"year"))}),c.qZA()}if(2&$t){const Ee=c.oxw();c.Q6J("activeDate",Ee.activeDate)("selected",Ee.selected)("dateFilter",Ee.dateFilter)("maxDate",Ee.maxDate)("minDate",Ee.minDate)("dateClass",Ee.dateClass)}}function b($t,Hi){}const n=["button"];function _($t,Hi){1&$t&&(c.O4$(),c.TgZ(0,"svg",3),c._UZ(1,"path",4),c.qZA())}const H=[[["","matDatepickerToggleIcon",""]]],V=["[matDatepickerToggleIcon]"];let Qe=(()=>{class $t{constructor(){this.changes=new d.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(Ee,We){return`${Ee} \u2013 ${We}`}formatYearRangeLabel(Ee,We){return`${Ee} to ${We}`}static#e=this.\u0275fac=function(We){return new(We||$t)};static#t=this.\u0275prov=c.Yz7({token:$t,factory:$t.\u0275fac,providedIn:"root"})}return $t})();class be{constructor(Hi,Ee,We,rt,st={},Jt=Hi,ui){this.value=Hi,this.displayValue=Ee,this.ariaLabel=We,this.enabled=rt,this.cssClasses=st,this.compareValue=Jt,this.rawValue=ui}}let ue=1;const xe=(0,F.i$)({passive:!1,capture:!0}),Pe=(0,F.i$)({passive:!0,capture:!0}),oe=(0,F.i$)({passive:!0});let ze=(()=>{class $t{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(Ee,We){this._elementRef=Ee,this._ngZone=We,this._platform=(0,c.f3M)(F.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new c.vpe,this.previewChange=new c.vpe,this.activeDateChange=new c.vpe,this.dragStarted=new c.vpe,this.dragEnded=new c.vpe,this._didDragSinceMouseDown=!1,this._enterHandler=rt=>{if(this._skipNextFocus&&"focus"===rt.type)this._skipNextFocus=!1;else if(rt.target&&this.isRange){const st=this._getCellFromElement(rt.target);st&&this._ngZone.run(()=>this.previewChange.emit({value:st.enabled?st:null,event:rt}))}},this._touchmoveHandler=rt=>{if(!this.isRange)return;const st=Le(rt),Jt=st?this._getCellFromElement(st):null;st!==rt.target&&(this._didDragSinceMouseDown=!0),le(rt.target)&&rt.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Jt?.enabled?Jt:null,event:rt}))},this._leaveHandler=rt=>{null!==this.previewEnd&&this.isRange&&("blur"!==rt.type&&(this._didDragSinceMouseDown=!0),rt.target&&this._getCellFromElement(rt.target)&&(!rt.relatedTarget||!this._getCellFromElement(rt.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:rt})))},this._mousedownHandler=rt=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const st=rt.target&&this._getCellFromElement(rt.target);!st||!this._isInRange(st.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:st.rawValue,event:rt})})},this._mouseupHandler=rt=>{if(!this.isRange)return;const st=le(rt.target);st?st.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Jt=this._getCellFromElement(st);this.dragEnded.emit({value:Jt?.rawValue??null,event:rt})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:rt})})},this._touchendHandler=rt=>{const st=Le(rt);st&&this._mouseupHandler({target:st})},this._id="mat-calendar-body-"+ue++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,We.runOutsideAngular(()=>{const rt=Ee.nativeElement;rt.addEventListener("touchmove",this._touchmoveHandler,xe),rt.addEventListener("mouseenter",this._enterHandler,Pe),rt.addEventListener("focus",this._enterHandler,Pe),rt.addEventListener("mouseleave",this._leaveHandler,Pe),rt.addEventListener("blur",this._leaveHandler,Pe),rt.addEventListener("mousedown",this._mousedownHandler,oe),rt.addEventListener("touchstart",this._mousedownHandler,oe),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(Ee,We){this._didDragSinceMouseDown||Ee.enabled&&this.selectedValueChange.emit({value:Ee.value,event:We})}_emitActiveDateChange(Ee,We){Ee.enabled&&this.activeDateChange.emit({value:Ee.value,event:We})}_isSelected(Ee){return this.startValue===Ee||this.endValue===Ee}ngOnChanges(Ee){const We=Ee.numCols,{rows:rt,numCols:st}=this;(Ee.rows||We)&&(this._firstRowOffset=rt&&rt.length&&rt[0].length?st-rt[0].length:0),(Ee.cellAspectRatio||We||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/st+"%"),(We||!this._cellWidth)&&(this._cellWidth=100/st+"%")}ngOnDestroy(){const Ee=this._elementRef.nativeElement;Ee.removeEventListener("touchmove",this._touchmoveHandler,xe),Ee.removeEventListener("mouseenter",this._enterHandler,Pe),Ee.removeEventListener("focus",this._enterHandler,Pe),Ee.removeEventListener("mouseleave",this._leaveHandler,Pe),Ee.removeEventListener("blur",this._leaveHandler,Pe),Ee.removeEventListener("mousedown",this._mousedownHandler,oe),Ee.removeEventListener("touchstart",this._mousedownHandler,oe),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(Ee,We){let rt=Ee*this.numCols+We;return Ee&&(rt-=this._firstRowOffset),rt==this.activeCell}_focusActiveCell(Ee=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,W.q)(1)).subscribe(()=>{setTimeout(()=>{const We=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");We&&(Ee||(this._skipNextFocus=!0),We.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(Ee){return ge(Ee,this.startValue,this.endValue)}_isRangeEnd(Ee){return fe(Ee,this.startValue,this.endValue)}_isInRange(Ee){return Ge(Ee,this.startValue,this.endValue,this.isRange)}_isComparisonStart(Ee){return ge(Ee,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(Ee,We,rt){if(!this._isComparisonStart(Ee)||this._isRangeStart(Ee)||!this._isInRange(Ee))return!1;let st=this.rows[We][rt-1];if(!st){const Jt=this.rows[We-1];st=Jt&&Jt[Jt.length-1]}return st&&!this._isRangeEnd(st.compareValue)}_isComparisonBridgeEnd(Ee,We,rt){if(!this._isComparisonEnd(Ee)||this._isRangeEnd(Ee)||!this._isInRange(Ee))return!1;let st=this.rows[We][rt+1];if(!st){const Jt=this.rows[We+1];st=Jt&&Jt[0]}return st&&!this._isRangeStart(st.compareValue)}_isComparisonEnd(Ee){return fe(Ee,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(Ee){return Ge(Ee,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(Ee){return this.comparisonStart===this.comparisonEnd&&Ee===this.comparisonStart}_isPreviewStart(Ee){return ge(Ee,this.previewStart,this.previewEnd)}_isPreviewEnd(Ee){return fe(Ee,this.previewStart,this.previewEnd)}_isInPreview(Ee){return Ge(Ee,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(Ee){return this.isRange?this.startValue===Ee&&this.endValue===Ee?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===Ee?this._startDateLabelId:this.endValue===Ee?this._endDateLabelId:null:null}_getCellFromElement(Ee){const We=le(Ee);if(We){const rt=We.getAttribute("data-mat-row"),st=We.getAttribute("data-mat-col");if(rt&&st)return this.rows[parseInt(rt)][parseInt(st)]}return null}static#e=this.\u0275fac=function(We){return new(We||$t)(c.Y36(c.SBq),c.Y36(c.R0b))};static#t=this.\u0275cmp=c.Xpm({type:$t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[c.TTD],attrs:de,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(We,rt){1&We&&(c.YNc(0,te,3,6,"tr",0),c.YNc(1,i,3,2,"tr",1),c.TgZ(2,"label",2),c._uU(3),c.qZA(),c.TgZ(4,"label",2),c._uU(5),c.qZA()),2&We&&(c.Q6J("ngIf",rt._firstRowOffset<rt.labelMinRequiredCells),c.xp6(1),c.Q6J("ngForOf",rt.rows),c.xp6(1),c.Q6J("id",rt._startDateLabelId),c.xp6(1),c.hij(" ",rt.startDateAccessibleName,"\n"),c.xp6(1),c.Q6J("id",rt._endDateLabelId),c.xp6(1),c.hij(" ",rt.endDateAccessibleName,"\n"))},dependencies:[T.mk,T.sg,T.O5],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color)}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.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;display:block;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{color:var(--mat-datepicker-calendar-date-preview-state-outline-color)}.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}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0})}return $t})();function we($t){return"TD"===$t?.nodeName}function le($t){let Hi;return we($t)?Hi=$t:we($t.parentNode)?Hi=$t.parentNode:we($t.parentNode?.parentNode)&&(Hi=$t.parentNode.parentNode),null!=Hi?.getAttribute("data-mat-row")?Hi:null}function ge($t,Hi,Ee){return null!==Ee&&Hi!==Ee&&$t<Ee&&$t===Hi}function fe($t,Hi,Ee){return null!==Hi&&Hi!==Ee&&$t>=Hi&&$t===Ee}function Ge($t,Hi,Ee,We){return We&&null!==Hi&&null!==Ee&&Hi!==Ee&&$t>=Hi&&$t<=Ee}function Le($t){const Hi=$t.changedTouches[0];return document.elementFromPoint(Hi.clientX,Hi.clientY)}class Ne{constructor(Hi,Ee){this.start=Hi,this.end=Ee}}let Ve=(()=>{class $t{constructor(Ee,We){this.selection=Ee,this._adapter=We,this._selectionChanged=new d.x,this.selectionChanged=this._selectionChanged,this.selection=Ee}updateSelection(Ee,We){const rt=this.selection;this.selection=Ee,this._selectionChanged.next({selection:Ee,source:We,oldValue:rt})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(Ee){return this._adapter.isDateInstance(Ee)&&this._adapter.isValid(Ee)}static#e=this.\u0275fac=function(We){c.$Z()};static#t=this.\u0275prov=c.Yz7({token:$t,factory:$t.\u0275fac})}return $t})(),at=(()=>{class $t extends Ve{constructor(Ee){super(null,Ee)}add(Ee){super.updateSelection(Ee,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const Ee=new $t(this._adapter);return Ee.updateSelection(this.selection,this),Ee}static#e=this.\u0275fac=function(We){return new(We||$t)(c.LFG(P._A))};static#t=this.\u0275prov=c.Yz7({token:$t,factory:$t.\u0275fac})}return $t})();const xt={provide:Ve,deps:[[new c.FiY,new c.tp0,Ve],P._A],useFactory:function De($t,Hi){return $t||new at(Hi)}},Ct=new c.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let Be=(()=>{class $t{get activeDate(){return this._activeDate}set activeDate(Ee){const We=this._activeDate,rt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(rt,this.minDate,this.maxDate),this._hasSameMonthAndYear(We,this._activeDate)||this._init()}get selected(){return this._selected}set selected(Ee){this._selected=Ee instanceof Ne?Ee:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(Ee){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee))}get maxDate(){return this._maxDate}set maxDate(Ee){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee))}constructor(Ee,We,rt,st,Jt){this._changeDetectorRef=Ee,this._dateFormats=We,this._dateAdapter=rt,this._dir=st,this._rangeStrategy=Jt,this._rerenderSubscription=S.w0.EMPTY,this.activeDrag=null,this.selectedChange=new c.vpe,this._userSelection=new c.vpe,this.dragStarted=new c.vpe,this.dragEnded=new c.vpe,this.activeDateChange=new c.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Y.O)(null)).subscribe(()=>this._init())}ngOnChanges(Ee){const We=Ee.comparisonStart||Ee.comparisonEnd;We&&!We.firstChange&&this._setRanges(this.selected),Ee.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(Ee){const We=Ee.value,rt=this._getDateFromDayOfMonth(We);let st,Jt;this._selected instanceof Ne?(st=this._getDateInCurrentMonth(this._selected.start),Jt=this._getDateInCurrentMonth(this._selected.end)):st=Jt=this._getDateInCurrentMonth(this._selected),(st!==We||Jt!==We)&&this.selectedChange.emit(rt),this._userSelection.emit({value:rt,event:Ee.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(Ee){const rt=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(Ee.value),this._dateAdapter.compareDate(rt,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(Ee){const We=this._activeDate,rt=this._isRtl();switch(Ee.keyCode){case D.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,rt?1:-1);break;case D.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,rt?-1:1);break;case D.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case D.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case D.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case D.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case D.Ku:this.activeDate=Ee.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case D.VM:this.activeDate=Ee.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case D.K5:case D.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&Ee.preventDefault());case D.hY:return void(null!=this._previewEnd&&!(0,D.Vb)(Ee)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:Ee}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:Ee})),Ee.preventDefault(),Ee.stopPropagation()));default:return}this._dateAdapter.compareDate(We,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Ee.preventDefault()}_handleCalendarBodyKeyup(Ee){(Ee.keyCode===D.L_||Ee.keyCode===D.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:Ee}),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 Ee=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(Ee)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(Ee){this._matCalendarBody._focusActiveCell(Ee)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:Ee,value:We}){if(this._rangeStrategy){const rt=We?We.rawValue:null,st=this._rangeStrategy.createPreview(rt,this.selected,Ee);if(this._previewStart=this._getCellCompareValue(st.start),this._previewEnd=this._getCellCompareValue(st.end),this.activeDrag&&rt){const Jt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,rt,Ee);Jt&&(this._previewStart=this._getCellCompareValue(Jt.start),this._previewEnd=this._getCellCompareValue(Jt.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(Ee){if(this.activeDrag)if(Ee.value){const We=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,Ee.value,Ee.event);this.dragEnded.emit({value:We??null,event:Ee.event})}else this.dragEnded.emit({value:null,event:Ee.event})}_getDateFromDayOfMonth(Ee){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Ee)}_initWeekdays(){const Ee=this._dateAdapter.getFirstDayOfWeek(),We=this._dateAdapter.getDayOfWeekNames("narrow");let st=this._dateAdapter.getDayOfWeekNames("long").map((Jt,ui)=>({long:Jt,narrow:We[ui]}));this._weekdays=st.slice(Ee).concat(st.slice(0,Ee))}_createWeekCells(){const Ee=this._dateAdapter.getNumDaysInMonth(this.activeDate),We=this._dateAdapter.getDateNames();this._weeks=[[]];for(let rt=0,st=this._firstWeekOffset;rt<Ee;rt++,st++){7==st&&(this._weeks.push([]),st=0);const Jt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),rt+1),ui=this._shouldEnableDate(Jt),En=this._dateAdapter.format(Jt,this._dateFormats.display.dateA11yLabel),Hn=this.dateClass?this.dateClass(Jt,"month"):void 0;this._weeks[this._weeks.length-1].push(new be(rt+1,We[rt],En,ui,Hn,this._getCellCompareValue(Jt),Jt))}}_shouldEnableDate(Ee){return!!Ee&&(!this.minDate||this._dateAdapter.compareDate(Ee,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(Ee,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(Ee))}_getDateInCurrentMonth(Ee){return Ee&&this._hasSameMonthAndYear(Ee,this.activeDate)?this._dateAdapter.getDate(Ee):null}_hasSameMonthAndYear(Ee,We){return!(!Ee||!We||this._dateAdapter.getMonth(Ee)!=this._dateAdapter.getMonth(We)||this._dateAdapter.getYear(Ee)!=this._dateAdapter.getYear(We))}_getCellCompareValue(Ee){if(Ee){const We=this._dateAdapter.getYear(Ee),rt=this._dateAdapter.getMonth(Ee),st=this._dateAdapter.getDate(Ee);return new Date(We,rt,st).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(Ee){Ee instanceof Ne?(this._rangeStart=this._getCellCompareValue(Ee.start),this._rangeEnd=this._getCellCompareValue(Ee.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(Ee),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(Ee){return!this.dateFilter||this.dateFilter(Ee)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(We){return new(We||$t)(c.Y36(c.sBO),c.Y36(P.sG,8),c.Y36(P._A,8),c.Y36(R.Is,8),c.Y36(Ct,8))};static#t=this.\u0275cmp=c.Xpm({type:$t,selectors:[["mat-month-view"]],viewQuery:function(We,rt){if(1&We&&c.Gf(ze,5),2&We){let st;c.iGM(st=c.CRH())&&(rt._matCalendarBody=st.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[c.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","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(We,rt){1&We&&(c.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),c.YNc(3,o,5,2,"th",2),c.qZA(),c.TgZ(4,"tr"),c._UZ(5,"th",3),c.qZA()(),c.TgZ(6,"tbody",4),c.NdJ("selectedValueChange",function(Jt){return rt._dateSelected(Jt)})("activeDateChange",function(Jt){return rt._updateActiveDate(Jt)})("previewChange",function(Jt){return rt._previewChanged(Jt)})("dragStarted",function(Jt){return rt.dragStarted.emit(Jt)})("dragEnded",function(Jt){return rt._dragEnded(Jt)})("keyup",function(Jt){return rt._handleCalendarBodyKeyup(Jt)})("keydown",function(Jt){return rt._handleCalendarBodyKeydown(Jt)}),c.qZA()()),2&We&&(c.xp6(3),c.Q6J("ngForOf",rt._weekdays),c.xp6(3),c.Q6J("label",rt._monthLabel)("rows",rt._weeks)("todayValue",rt._todayDate)("startValue",rt._rangeStart)("endValue",rt._rangeEnd)("comparisonStart",rt._comparisonRangeStart)("comparisonEnd",rt._comparisonRangeEnd)("previewStart",rt._previewStart)("previewEnd",rt._previewEnd)("isRange",rt._isRange)("labelMinRequiredCells",3)("activeCell",rt._dateAdapter.getDate(rt.activeDate)-1)("startDateAccessibleName",rt.startDateAccessibleName)("endDateAccessibleName",rt.endDateAccessibleName))},dependencies:[T.sg,ze],encapsulation:2,changeDetection:0})}return $t})();const Nt=24;let yt=(()=>{class $t{get activeDate(){return this._activeDate}set activeDate(Ee){let We=this._activeDate;const rt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(rt,this.minDate,this.maxDate),kt(this._dateAdapter,We,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(Ee){this._selected=Ee instanceof Ne?Ee:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee)),this._setSelectedYear(Ee)}get minDate(){return this._minDate}set minDate(Ee){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee))}get maxDate(){return this._maxDate}set maxDate(Ee){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee))}constructor(Ee,We,rt){this._changeDetectorRef=Ee,this._dateAdapter=We,this._dir=rt,this._rerenderSubscription=S.w0.EMPTY,this.selectedChange=new c.vpe,this.yearSelected=new c.vpe,this.activeDateChange=new c.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Y.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const We=this._dateAdapter.getYear(this._activeDate)-Dt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let rt=0,st=[];rt<Nt;rt++)st.push(We+rt),4==st.length&&(this._years.push(st.map(Jt=>this._createCellForYear(Jt))),st=[]);this._changeDetectorRef.markForCheck()}_yearSelected(Ee){const We=Ee.value,rt=this._dateAdapter.createDate(We,0,1),st=this._getDateFromYear(We);this.yearSelected.emit(rt),this.selectedChange.emit(st)}_updateActiveDate(Ee){const rt=this._activeDate;this.activeDate=this._getDateFromYear(Ee.value),this._dateAdapter.compareDate(rt,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Ee){const We=this._activeDate,rt=this._isRtl();switch(Ee.keyCode){case D.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,rt?1:-1);break;case D.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,rt?-1:1);break;case D.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case D.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case D.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Dt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case D.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Nt-Dt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case D.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ee.altKey?10*-Nt:-Nt);break;case D.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ee.altKey?10*Nt:Nt);break;case D.K5:case D.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(We,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),Ee.preventDefault()}_handleCalendarBodyKeyup(Ee){(Ee.keyCode===D.L_||Ee.keyCode===D.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:Ee}),this._selectionKeyPressed=!1)}_getActiveCell(){return Dt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(Ee){const We=this._dateAdapter.getMonth(this.activeDate),rt=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Ee,We,1));return this._dateAdapter.createDate(Ee,We,Math.min(this._dateAdapter.getDate(this.activeDate),rt))}_createCellForYear(Ee){const We=this._dateAdapter.createDate(Ee,0,1),rt=this._dateAdapter.getYearName(We),st=this.dateClass?this.dateClass(We,"multi-year"):void 0;return new be(Ee,rt,rt,this._shouldEnableYear(Ee),st)}_shouldEnableYear(Ee){if(null==Ee||this.maxDate&&Ee>this._dateAdapter.getYear(this.maxDate)||this.minDate&&Ee<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let rt=this._dateAdapter.createDate(Ee,0,1);this._dateAdapter.getYear(rt)==Ee;rt=this._dateAdapter.addCalendarDays(rt,1))if(this.dateFilter(rt))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(Ee){if(this._selectedYear=null,Ee instanceof Ne){const We=Ee.start||Ee.end;We&&(this._selectedYear=this._dateAdapter.getYear(We))}else Ee&&(this._selectedYear=this._dateAdapter.getYear(Ee))}static#e=this.\u0275fac=function(We){return new(We||$t)(c.Y36(c.sBO),c.Y36(P._A,8),c.Y36(R.Is,8))};static#t=this.\u0275cmp=c.Xpm({type:$t,selectors:[["mat-multi-year-view"]],viewQuery:function(We,rt){if(1&We&&c.Gf(ze,5),2&We){let st;c.iGM(st=c.CRH())&&(rt._matCalendarBody=st.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(We,rt){1&We&&(c.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),c._UZ(3,"th",2),c.qZA()(),c.TgZ(4,"tbody",3),c.NdJ("selectedValueChange",function(Jt){return rt._yearSelected(Jt)})("activeDateChange",function(Jt){return rt._updateActiveDate(Jt)})("keyup",function(Jt){return rt._handleCalendarBodyKeyup(Jt)})("keydown",function(Jt){return rt._handleCalendarBodyKeydown(Jt)}),c.qZA()()),2&We&&(c.xp6(4),c.Q6J("rows",rt._years)("todayValue",rt._todayYear)("startValue",rt._selectedYear)("endValue",rt._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",rt._getActiveCell()))},dependencies:[ze],encapsulation:2,changeDetection:0})}return $t})();function kt($t,Hi,Ee,We,rt){const st=$t.getYear(Hi),Jt=$t.getYear(Ee),ui=Rt($t,We,rt);return Math.floor((st-ui)/Nt)===Math.floor((Jt-ui)/Nt)}function Dt($t,Hi,Ee,We){return function pt($t,Hi){return($t%Hi+Hi)%Hi}($t.getYear(Hi)-Rt($t,Ee,We),Nt)}function Rt($t,Hi,Ee){let We=0;return Ee?We=$t.getYear(Ee)-Nt+1:Hi&&(We=$t.getYear(Hi)),We}let vt=(()=>{class $t{get activeDate(){return this._activeDate}set activeDate(Ee){let We=this._activeDate;const rt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(rt,this.minDate,this.maxDate),this._dateAdapter.getYear(We)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(Ee){this._selected=Ee instanceof Ne?Ee:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee)),this._setSelectedMonth(Ee)}get minDate(){return this._minDate}set minDate(Ee){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee))}get maxDate(){return this._maxDate}set maxDate(Ee){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee))}constructor(Ee,We,rt,st){this._changeDetectorRef=Ee,this._dateFormats=We,this._dateAdapter=rt,this._dir=st,this._rerenderSubscription=S.w0.EMPTY,this.selectedChange=new c.vpe,this.monthSelected=new c.vpe,this.activeDateChange=new c.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Y.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(Ee){const We=Ee.value,rt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),We,1);this.monthSelected.emit(rt);const st=this._getDateFromMonth(We);this.selectedChange.emit(st)}_updateActiveDate(Ee){const rt=this._activeDate;this.activeDate=this._getDateFromMonth(Ee.value),this._dateAdapter.compareDate(rt,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Ee){const We=this._activeDate,rt=this._isRtl();switch(Ee.keyCode){case D.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,rt?1:-1);break;case D.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,rt?-1:1);break;case D.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case D.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case D.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case D.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case D.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ee.altKey?-10:-1);break;case D.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ee.altKey?10:1);break;case D.K5:case D.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(We,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Ee.preventDefault()}_handleCalendarBodyKeyup(Ee){(Ee.keyCode===D.L_||Ee.keyCode===D.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:Ee}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let Ee=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(We=>We.map(rt=>this._createCellForMonth(rt,Ee[rt]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(Ee){return Ee&&this._dateAdapter.getYear(Ee)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(Ee):null}_getDateFromMonth(Ee){const We=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Ee,1),rt=this._dateAdapter.getNumDaysInMonth(We);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Ee,Math.min(this._dateAdapter.getDate(this.activeDate),rt))}_createCellForMonth(Ee,We){const rt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Ee,1),st=this._dateAdapter.format(rt,this._dateFormats.display.monthYearA11yLabel),Jt=this.dateClass?this.dateClass(rt,"year"):void 0;return new be(Ee,We.toLocaleUpperCase(),st,this._shouldEnableMonth(Ee),Jt)}_shouldEnableMonth(Ee){const We=this._dateAdapter.getYear(this.activeDate);if(null==Ee||this._isYearAndMonthAfterMaxDate(We,Ee)||this._isYearAndMonthBeforeMinDate(We,Ee))return!1;if(!this.dateFilter)return!0;for(let st=this._dateAdapter.createDate(We,Ee,1);this._dateAdapter.getMonth(st)==Ee;st=this._dateAdapter.addCalendarDays(st,1))if(this.dateFilter(st))return!0;return!1}_isYearAndMonthAfterMaxDate(Ee,We){if(this.maxDate){const rt=this._dateAdapter.getYear(this.maxDate),st=this._dateAdapter.getMonth(this.maxDate);return Ee>rt||Ee===rt&&We>st}return!1}_isYearAndMonthBeforeMinDate(Ee,We){if(this.minDate){const rt=this._dateAdapter.getYear(this.minDate),st=this._dateAdapter.getMonth(this.minDate);return Ee<rt||Ee===rt&&We<st}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(Ee){this._selectedMonth=Ee instanceof Ne?this._getMonthInCurrentYear(Ee.start)||this._getMonthInCurrentYear(Ee.end):this._getMonthInCurrentYear(Ee)}static#e=this.\u0275fac=function(We){return new(We||$t)(c.Y36(c.sBO),c.Y36(P.sG,8),c.Y36(P._A,8),c.Y36(R.Is,8))};static#t=this.\u0275cmp=c.Xpm({type:$t,selectors:[["mat-year-view"]],viewQuery:function(We,rt){if(1&We&&c.Gf(ze,5),2&We){let st;c.iGM(st=c.CRH())&&(rt._matCalendarBody=st.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(We,rt){1&We&&(c.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),c._UZ(3,"th",2),c.qZA()(),c.TgZ(4,"tbody",3),c.NdJ("selectedValueChange",function(Jt){return rt._monthSelected(Jt)})("activeDateChange",function(Jt){return rt._updateActiveDate(Jt)})("keyup",function(Jt){return rt._handleCalendarBodyKeyup(Jt)})("keydown",function(Jt){return rt._handleCalendarBodyKeydown(Jt)}),c.qZA()()),2&We&&(c.xp6(4),c.Q6J("label",rt._yearLabel)("rows",rt._months)("todayValue",rt._todayMonth)("startValue",rt._selectedMonth)("endValue",rt._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",rt._dateAdapter.getMonth(rt.activeDate)))},dependencies:[ze],encapsulation:2,changeDetection:0})}return $t})(),Te=1,tt=(()=>{class $t{constructor(Ee,We,rt,st,Jt){this._intl=Ee,this.calendar=We,this._dateAdapter=rt,this._dateFormats=st,this._id="mat-calendar-header-"+Te++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>Jt.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:-Nt)}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:Nt)}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(Ee,We){return"month"==this.calendar.currentView?this._dateAdapter.getYear(Ee)==this._dateAdapter.getYear(We)&&this._dateAdapter.getMonth(Ee)==this._dateAdapter.getMonth(We):"year"==this.calendar.currentView?this._dateAdapter.getYear(Ee)==this._dateAdapter.getYear(We):kt(this._dateAdapter,Ee,We,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const We=this._dateAdapter.getYear(this.calendar.activeDate)-Dt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),rt=We+Nt-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(We,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(rt,0,1))]}static#e=this.\u0275fac=function(We){return new(We||$t)(c.Y36(Qe),c.Y36((0,c.Gpc)(()=>Ze)),c.Y36(P._A,8),c.Y36(P.sG,8),c.Y36(c.sBO))};static#t=this.\u0275cmp=c.Xpm({type:$t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:m,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(We,rt){1&We&&(c.F$t(),c.TgZ(0,"div",0)(1,"div",1)(2,"button",2),c.NdJ("click",function(){return rt.currentPeriodClicked()}),c.TgZ(3,"span",3),c._uU(4),c.qZA(),c.O4$(),c.TgZ(5,"svg",4),c._UZ(6,"polygon",5),c.qZA()(),c.kcU(),c._UZ(7,"div",6),c.Hsn(8),c.TgZ(9,"button",7),c.NdJ("click",function(){return rt.previousClicked()}),c.qZA(),c.TgZ(10,"button",8),c.NdJ("click",function(){return rt.nextClicked()}),c.qZA()()(),c.TgZ(11,"label",9),c._uU(12),c.qZA()),2&We&&(c.xp6(2),c.uIk("aria-label",rt.periodButtonLabel)("aria-describedby",rt._periodButtonLabelId),c.xp6(2),c.Oqu(rt.periodButtonText),c.xp6(1),c.ekj("mat-calendar-invert","month"!==rt.calendar.currentView),c.xp6(4),c.Q6J("disabled",!rt.previousEnabled()),c.uIk("aria-label",rt.prevButtonLabel),c.xp6(1),c.Q6J("disabled",!rt.nextEnabled()),c.uIk("aria-label",rt.nextButtonLabel),c.xp6(1),c.Q6J("id",rt._periodButtonLabelId),c.xp6(1),c.Oqu(rt.periodButtonDescription))},dependencies:[C.lW,C.RK],encapsulation:2,changeDetection:0})}return $t})(),Ze=(()=>{class $t{get startAt(){return this._startAt}set startAt(Ee){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee))}get selected(){return this._selected}set selected(Ee){this._selected=Ee instanceof Ne?Ee:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee))}get minDate(){return this._minDate}set minDate(Ee){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee))}get maxDate(){return this._maxDate}set maxDate(Ee){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee))}get activeDate(){return this._clampedActiveDate}set activeDate(Ee){this._clampedActiveDate=this._dateAdapter.clampDate(Ee,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(Ee){const We=this._currentView!==Ee?Ee:null;this._currentView=Ee,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),We&&this.viewChanged.emit(We)}constructor(Ee,We,rt,st){this._dateAdapter=We,this._dateFormats=rt,this._changeDetectorRef=st,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new c.vpe,this.yearSelected=new c.vpe,this.monthSelected=new c.vpe,this.viewChanged=new c.vpe(!0),this._userSelection=new c.vpe,this._userDragDrop=new c.vpe,this._activeDrag=null,this.stateChanges=new d.x,this._intlChanges=Ee.changes.subscribe(()=>{st.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new g.C5(this.headerComponent||tt),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(Ee){const We=Ee.minDate&&!this._dateAdapter.sameDate(Ee.minDate.previousValue,Ee.minDate.currentValue)?Ee.minDate:void 0,rt=Ee.maxDate&&!this._dateAdapter.sameDate(Ee.maxDate.previousValue,Ee.maxDate.currentValue)?Ee.maxDate:void 0,st=We||rt||Ee.dateFilter;if(st&&!st.firstChange){const Jt=this._getCurrentViewComponent();Jt&&(this._changeDetectorRef.detectChanges(),Jt._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(Ee){const We=Ee.value;(this.selected instanceof Ne||We&&!this._dateAdapter.sameDate(We,this.selected))&&this.selectedChange.emit(We),this._userSelection.emit(Ee)}_yearSelectedInMultiYearView(Ee){this.yearSelected.emit(Ee)}_monthSelectedInYearView(Ee){this.monthSelected.emit(Ee)}_goToDateInView(Ee,We){this.activeDate=Ee,this.currentView=We}_dragStarted(Ee){this._activeDrag=Ee}_dragEnded(Ee){this._activeDrag&&(Ee.value&&this._userDragDrop.emit(Ee),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(We){return new(We||$t)(c.Y36(Qe),c.Y36(P._A,8),c.Y36(P.sG,8),c.Y36(c.sBO))};static#t=this.\u0275cmp=c.Xpm({type:$t,selectors:[["mat-calendar"]],viewQuery:function(We,rt){if(1&We&&(c.Gf(Be,5),c.Gf(vt,5),c.Gf(yt,5)),2&We){let st;c.iGM(st=c.CRH())&&(rt.monthView=st.first),c.iGM(st=c.CRH())&&(rt.yearView=st.first),c.iGM(st=c.CRH())&&(rt.multiYearView=st.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[c._Bn([xt]),c.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","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",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","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(We,rt){1&We&&(c.YNc(0,l,0,0,"ng-template",0),c.TgZ(1,"div",1),c.YNc(2,y,1,11,"mat-month-view",2),c.YNc(3,L,1,6,"mat-year-view",3),c.YNc(4,O,1,6,"mat-multi-year-view",4),c.qZA()),2&We&&(c.Q6J("cdkPortalOutlet",rt._calendarHeaderPortal),c.xp6(1),c.Q6J("ngSwitch",rt.currentView),c.xp6(1),c.Q6J("ngSwitchCase","month"),c.xp6(1),c.Q6J("ngSwitchCase","year"),c.xp6(1),c.Q6J("ngSwitchCase","multi-year"))},dependencies:[T.RF,T.n9,e.kH,g.Pl,Be,vt,yt],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-content .mat-calendar-next-button{color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0})}return $t})();const Mt={transformPanel:(0,ne.X$)("transformPanel",[(0,ne.eR)("void => enter-dropdown",(0,ne.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.F4)([(0,ne.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ne.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ne.eR)("void => enter-dialog",(0,ne.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.F4)([(0,ne.oB)({opacity:0,transform:"scale(0.7)"}),(0,ne.oB)({transform:"none",opacity:1})]))),(0,ne.eR)("* => void",(0,ne.jt)("100ms linear",(0,ne.oB)({opacity:0})))]),fadeInCalendar:(0,ne.X$)("fadeInCalendar",[(0,ne.SB)("void",(0,ne.oB)({opacity:0})),(0,ne.SB)("enter",(0,ne.oB)({opacity:1})),(0,ne.eR)("void => *",(0,ne.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let oi=0;const Tt=new c.OlP("mat-datepicker-scroll-strategy"),he={provide:Tt,deps:[t.aV],useFactory:function mt($t){return()=>$t.scrollStrategies.reposition()}},ee=(0,P.pj)(class{constructor($t){this._elementRef=$t}});let Ce=(()=>{class $t extends ee{constructor(Ee,We,rt,st,Jt,ui){super(Ee),this._changeDetectorRef=We,this._globalModel=rt,this._dateAdapter=st,this._rangeSelectionStrategy=Jt,this._subscriptions=new S.w0,this._animationDone=new d.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=ui.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(Ee){const We=this._model.selection,rt=Ee.value,st=We instanceof Ne;if(st&&this._rangeSelectionStrategy){const Jt=this._rangeSelectionStrategy.selectionFinished(rt,We,Ee.event);this._model.updateSelection(Jt,this)}else rt&&(st||!this._dateAdapter.sameDate(rt,We))&&this._model.add(rt);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(Ee){this._model.updateSelection(Ee.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(Ee){this._isAnimating="start"===Ee.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(Ee,We){this._model=Ee?this._globalModel.clone():this._globalModel,this._actionsPortal=Ee,We&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(We){return new(We||$t)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(Ve),c.Y36(P._A),c.Y36(Ct,8),c.Y36(Qe))};static#t=this.\u0275cmp=c.Xpm({type:$t,selectors:[["mat-datepicker-content"]],viewQuery:function(We,rt){if(1&We&&c.Gf(Ze,5),2&We){let st;c.iGM(st=c.CRH())&&(rt._calendar=st.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(We,rt){1&We&&c.WFA("@transformPanel.start",function(Jt){return rt._handleAnimationEvent(Jt)})("@transformPanel.done",function(Jt){return rt._handleAnimationEvent(Jt)}),2&We&&(c.d8E("@transformPanel",rt._animationState),c.ekj("mat-datepicker-content-touch",rt.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[c.qOj],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(We,rt){if(1&We&&(c.TgZ(0,"div",0)(1,"mat-calendar",1),c.NdJ("yearSelected",function(Jt){return rt.datepicker._selectYear(Jt)})("monthSelected",function(Jt){return rt.datepicker._selectMonth(Jt)})("viewChanged",function(Jt){return rt.datepicker._viewChanged(Jt)})("_userSelection",function(Jt){return rt._handleUserSelection(Jt)})("_userDragDrop",function(Jt){return rt._handleUserDragDrop(Jt)}),c.qZA(),c.YNc(2,b,0,0,"ng-template",2),c.TgZ(3,"button",3),c.NdJ("focus",function(){return rt._closeButtonFocused=!0})("blur",function(){return rt._closeButtonFocused=!1})("click",function(){return rt.datepicker.close()}),c._uU(4),c.qZA()()),2&We){let st;c.ekj("mat-datepicker-content-container-with-custom-header",rt.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",rt._actionsPortal),c.uIk("aria-modal",!0)("aria-labelledby",null!==(st=rt._dialogLabelId)&&void 0!==st?st:void 0),c.xp6(1),c.Q6J("id",rt.datepicker.id)("ngClass",rt.datepicker.panelClass)("startAt",rt.datepicker.startAt)("startView",rt.datepicker.startView)("minDate",rt.datepicker._getMinDate())("maxDate",rt.datepicker._getMaxDate())("dateFilter",rt.datepicker._getDateFilter())("headerComponent",rt.datepicker.calendarHeaderComponent)("selected",rt._getSelected())("dateClass",rt.datepicker.dateClass)("comparisonStart",rt.comparisonStart)("comparisonEnd",rt.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",rt.startDateAccessibleName)("endDateAccessibleName",rt.endDateAccessibleName),c.xp6(1),c.Q6J("cdkPortalOutlet",rt._actionsPortal),c.xp6(1),c.ekj("cdk-visually-hidden",!rt._closeButtonFocused),c.Q6J("color",rt.color||"primary"),c.xp6(1),c.Oqu(rt._closeButtonText)}},dependencies:[T.mk,C.lW,e.mK,g.Pl,Ze],styles:[".mat-datepicker-content{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Mt.transformPanel,Mt.fadeInCalendar]},changeDetection:0})}return $t})(),At=(()=>{class $t{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(Ee){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(Ee){this._color=Ee}get touchUi(){return this._touchUi}set touchUi(Ee){this._touchUi=(0,J.Ig)(Ee)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(Ee){const We=(0,J.Ig)(Ee);We!==this._disabled&&(this._disabled=We,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(Ee){this._restoreFocus=(0,J.Ig)(Ee)}get panelClass(){return this._panelClass}set panelClass(Ee){this._panelClass=(0,J.du)(Ee)}get opened(){return this._opened}set opened(Ee){(0,J.Ig)(Ee)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(Ee,We,rt,st,Jt,ui,En){this._overlay=Ee,this._ngZone=We,this._viewContainerRef=rt,this._dateAdapter=Jt,this._dir=ui,this._model=En,this._inputStateChanges=S.w0.EMPTY,this._document=(0,c.f3M)(T.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new c.vpe,this.monthSelected=new c.vpe,this.viewChanged=new c.vpe(!0),this.openedStream=new c.vpe,this.closedStream=new c.vpe,this._opened=!1,this.id="mat-datepicker-"+oi++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new d.x,this._scrollStrategy=st}ngOnChanges(Ee){const We=Ee.xPosition||Ee.yPosition;if(We&&!We.firstChange&&this._overlayRef){const rt=this._overlayRef.getConfig().positionStrategy;rt instanceof t._G&&(this._setConnectedPositions(rt),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(Ee){this._model.add(Ee)}_selectYear(Ee){this.yearSelected.emit(Ee)}_selectMonth(Ee){this.monthSelected.emit(Ee)}_viewChanged(Ee){this.viewChanged.emit(Ee)}registerInput(Ee){return this._inputStateChanges.unsubscribe(),this.datepickerInput=Ee,this._inputStateChanges=Ee.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(Ee){this._actionsPortal=Ee,this._componentRef?.instance._assignActions(Ee,!0)}removeActions(Ee){Ee===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,F.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const Ee=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,We=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:rt,location:st}=this._componentRef;rt._startExitAnimation(),rt._animationDone.pipe((0,W.q)(1)).subscribe(()=>{const Jt=this._document.activeElement;Ee&&(!Jt||Jt===this._document.activeElement||st.nativeElement.contains(Jt))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}Ee?setTimeout(We):We()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(Ee){Ee.datepicker=this,Ee.color=this.color,Ee._dialogLabelId=this.datepickerInput.getOverlayLabelId(),Ee._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const Ee=this.touchUi,We=new g.C5(Ce,this._viewContainerRef),rt=this._overlayRef=this._overlay.create(new t.X_({positionStrategy:Ee?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[Ee?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:Ee?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(Ee?"dialog":"popup")}));this._getCloseStream(rt).subscribe(st=>{st&&st.preventDefault(),this.close()}),rt.keydownEvents().subscribe(st=>{const Jt=st.keyCode;(Jt===D.LH||Jt===D.JH||Jt===D.oh||Jt===D.SV||Jt===D.Ku||Jt===D.VM)&&st.preventDefault()}),this._componentRef=rt.attach(We),this._forwardContentValues(this._componentRef.instance),Ee||this._ngZone.onStable.pipe((0,W.q)(1)).subscribe(()=>rt.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const Ee=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(Ee)}_setConnectedPositions(Ee){const We="end"===this.xPosition?"end":"start",rt="start"===We?"end":"start",st="above"===this.yPosition?"bottom":"top",Jt="top"===st?"bottom":"top";return Ee.withPositions([{originX:We,originY:Jt,overlayX:We,overlayY:st},{originX:We,originY:st,overlayX:We,overlayY:Jt},{originX:rt,originY:Jt,overlayX:rt,overlayY:st},{originX:rt,originY:st,overlayX:rt,overlayY:Jt}])}_getCloseStream(Ee){const We=["ctrlKey","shiftKey","metaKey"];return(0,M.T)(Ee.backdropClick(),Ee.detachments(),Ee.keydownEvents().pipe((0,Q.h)(rt=>rt.keyCode===D.hY&&!(0,D.Vb)(rt)||this.datepickerInput&&(0,D.Vb)(rt,"altKey")&&rt.keyCode===D.LH&&We.every(st=>!(0,D.Vb)(rt,st)))))}static#e=this.\u0275fac=function(We){return new(We||$t)(c.Y36(t.aV),c.Y36(c.R0b),c.Y36(c.s_b),c.Y36(Tt),c.Y36(P._A,8),c.Y36(R.Is,8),c.Y36(Ve))};static#t=this.\u0275dir=c.lG2({type:$t,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:[c.TTD]})}return $t})(),Lt=(()=>{class $t extends At{static#e=this.\u0275fac=function(){let Ee;return function(rt){return(Ee||(Ee=c.n5z($t)))(rt||$t)}}();static#t=this.\u0275cmp=c.Xpm({type:$t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[c._Bn([xt,{provide:At,useExisting:$t}]),c.qOj],decls:0,vars:0,template:function(We,rt){},encapsulation:2,changeDetection:0})}return $t})();class jt{constructor(Hi,Ee){this.target=Hi,this.targetElement=Ee,this.value=this.target.value}}let Zt=(()=>{class $t{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(Ee){this._assignValueProgrammatically(Ee)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(Ee){const We=(0,J.Ig)(Ee),rt=this._elementRef.nativeElement;this._disabled!==We&&(this._disabled=We,this.stateChanges.next(void 0)),We&&this._isInitialized&&rt.blur&&rt.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(Ee){this._model=Ee,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(We=>{if(this._shouldHandleChangeEvent(We)){const rt=this._getValueFromModel(We.selection);this._lastValueValid=this._isValidValue(rt),this._cvaOnChange(rt),this._onTouched(),this._formatValue(rt),this.dateInput.emit(new jt(this,this._elementRef.nativeElement)),this.dateChange.emit(new jt(this,this._elementRef.nativeElement))}})}constructor(Ee,We,rt){this._elementRef=Ee,this._dateAdapter=We,this._dateFormats=rt,this.dateChange=new c.vpe,this.dateInput=new c.vpe,this.stateChanges=new d.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=S.w0.EMPTY,this._localeSubscription=S.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=st=>{const Jt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(st.value));return!Jt||this._matchesFilter(Jt)?null:{matDatepickerFilter:!0}},this._minValidator=st=>{const Jt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(st.value)),ui=this._getMinDate();return!ui||!Jt||this._dateAdapter.compareDate(ui,Jt)<=0?null:{matDatepickerMin:{min:ui,actual:Jt}}},this._maxValidator=st=>{const Jt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(st.value)),ui=this._getMaxDate();return!ui||!Jt||this._dateAdapter.compareDate(ui,Jt)>=0?null:{matDatepickerMax:{max:ui,actual:Jt}}},this._lastValueValid=!1,this._localeSubscription=We.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(Ee){(function Kt($t,Hi){const Ee=Object.keys($t);for(let We of Ee){const{previousValue:rt,currentValue:st}=$t[We];if(!Hi.isDateInstance(rt)||!Hi.isDateInstance(st))return!0;if(!Hi.sameDate(rt,st))return!0}return!1})(Ee,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(Ee){this._validatorOnChange=Ee}validate(Ee){return this._validator?this._validator(Ee):null}writeValue(Ee){this._assignValueProgrammatically(Ee)}registerOnChange(Ee){this._cvaOnChange=Ee}registerOnTouched(Ee){this._onTouched=Ee}setDisabledState(Ee){this.disabled=Ee}_onKeydown(Ee){(0,D.Vb)(Ee,"altKey")&&Ee.keyCode===D.JH&&["ctrlKey","shiftKey","metaKey"].every(st=>!(0,D.Vb)(Ee,st))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),Ee.preventDefault())}_onInput(Ee){const We=this._lastValueValid;let rt=this._dateAdapter.parse(Ee,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(rt),rt=this._dateAdapter.getValidDateOrNull(rt);const st=!this._dateAdapter.sameDate(rt,this.value);!rt||st?this._cvaOnChange(rt):(Ee&&!this.value&&this._cvaOnChange(rt),We!==this._lastValueValid&&this._validatorOnChange()),st&&(this._assignValue(rt),this.dateInput.emit(new jt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new jt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(Ee){this._elementRef.nativeElement.value=null!=Ee?this._dateAdapter.format(Ee,this._dateFormats.display.dateInput):""}_assignValue(Ee){this._model?(this._assignValueToModel(Ee),this._pendingValue=null):this._pendingValue=Ee}_isValidValue(Ee){return!Ee||this._dateAdapter.isValid(Ee)}_parentDisabled(){return!1}_assignValueProgrammatically(Ee){Ee=this._dateAdapter.deserialize(Ee),this._lastValueValid=this._isValidValue(Ee),Ee=this._dateAdapter.getValidDateOrNull(Ee),this._assignValue(Ee),this._formatValue(Ee)}_matchesFilter(Ee){const We=this._getDateFilter();return!We||We(Ee)}static#e=this.\u0275fac=function(We){return new(We||$t)(c.Y36(c.SBq),c.Y36(P._A,8),c.Y36(P.sG,8))};static#t=this.\u0275dir=c.lG2({type:$t,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[c.TTD]})}return $t})();const Xe={provide:X.JU,useExisting:(0,c.Gpc)(()=>qe),multi:!0},Bt={provide:X.Cf,useExisting:(0,c.Gpc)(()=>qe),multi:!0};let qe=(()=>{class $t extends Zt{set matDatepicker(Ee){Ee&&(this._datepicker=Ee,this._closedSubscription=Ee.closedStream.subscribe(()=>this._onTouched()),this._registerModel(Ee.registerInput(this)))}get min(){return this._min}set min(Ee){const We=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee));this._dateAdapter.sameDate(We,this._min)||(this._min=We,this._validatorOnChange())}get max(){return this._max}set max(Ee){const We=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ee));this._dateAdapter.sameDate(We,this._max)||(this._max=We,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(Ee){const We=this._matchesFilter(this.value);this._dateFilter=Ee,this._matchesFilter(this.value)!==We&&this._validatorOnChange()}constructor(Ee,We,rt,st){super(Ee,We,rt),this._formField=st,this._closedSubscription=S.w0.EMPTY,this._validator=X.kI.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(Ee){return Ee}_assignValueToModel(Ee){this._model&&this._model.updateSelection(Ee,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(Ee){return Ee.source!==this}static#e=this.\u0275fac=function(We){return new(We||$t)(c.Y36(c.SBq),c.Y36(P._A,8),c.Y36(P.sG,8),c.Y36(pe.G_,8))};static#t=this.\u0275dir=c.lG2({type:$t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(We,rt){1&We&&c.NdJ("input",function(Jt){return rt._onInput(Jt.target.value)})("change",function(){return rt._onChange()})("blur",function(){return rt._onBlur()})("keydown",function(Jt){return rt._onKeydown(Jt)}),2&We&&(c.Ikx("disabled",rt.disabled),c.uIk("aria-haspopup",rt._datepicker?"dialog":null)("aria-owns",(null==rt._datepicker?null:rt._datepicker.opened)&&rt._datepicker.id||null)("min",rt.min?rt._dateAdapter.toIso8601(rt.min):null)("max",rt.max?rt._dateAdapter.toIso8601(rt.max):null)("data-mat-calendar",rt._datepicker?rt._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[c._Bn([Xe,Bt,{provide:ie.Jk,useExisting:$t}]),c.qOj]})}return $t})(),nt=(()=>{class $t{static#e=this.\u0275fac=function(We){return new(We||$t)};static#t=this.\u0275dir=c.lG2({type:$t,selectors:[["","matDatepickerToggleIcon",""]]})}return $t})(),Wt=(()=>{class $t{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(Ee){this._disabled=(0,J.Ig)(Ee)}constructor(Ee,We,rt){this._intl=Ee,this._changeDetectorRef=We,this._stateChanges=S.w0.EMPTY;const st=Number(rt);this.tabIndex=st||0===st?st:null}ngOnChanges(Ee){Ee.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(Ee){this.datepicker&&!this.disabled&&(this.datepicker.open(),Ee.stopPropagation())}_watchStateChanges(){const Ee=this.datepicker?this.datepicker.stateChanges:(0,I.of)(),We=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,I.of)(),rt=this.datepicker?(0,M.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,I.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,M.T)(this._intl.changes,Ee,We,rt).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(We){return new(We||$t)(c.Y36(Qe),c.Y36(c.sBO),c.$8M("tabindex"))};static#t=this.\u0275cmp=c.Xpm({type:$t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(We,rt,st){if(1&We&&c.Suo(st,nt,5),2&We){let Jt;c.iGM(Jt=c.CRH())&&(rt._customIcon=Jt.first)}},viewQuery:function(We,rt){if(1&We&&c.Gf(n,5),2&We){let st;c.iGM(st=c.CRH())&&(rt._button=st.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(We,rt){1&We&&c.NdJ("click",function(Jt){return rt._open(Jt)}),2&We&&(c.uIk("tabindex",null)("data-mat-calendar",rt.datepicker?rt.datepicker.id:null),c.ekj("mat-datepicker-toggle-active",rt.datepicker&&rt.datepicker.opened)("mat-accent",rt.datepicker&&"accent"===rt.datepicker.color)("mat-warn",rt.datepicker&&"warn"===rt.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[c.TTD],ngContentSelectors:V,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(We,rt){1&We&&(c.F$t(H),c.TgZ(0,"button",0,1),c.YNc(2,_,2,0,"svg",2),c.Hsn(3),c.qZA()),2&We&&(c.Q6J("disabled",rt.disabled)("disableRipple",rt.disableRipple),c.uIk("aria-haspopup",rt.datepicker?"dialog":null)("aria-label",rt.ariaLabel||rt._intl.openCalendarLabel)("tabindex",rt.disabled?-1:rt.tabIndex),c.xp6(2),c.Q6J("ngIf",!rt._customIcon))},dependencies:[T.O5,C.RK],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return $t})(),Qi=(()=>{class $t{static#e=this.\u0275fac=function(We){return new(We||$t)};static#t=this.\u0275mod=c.oAB({type:$t});static#i=this.\u0275inj=c.cJS({providers:[Qe,he],imports:[T.ez,C.ot,t.U8,e.rt,g.eL,P.BQ,u.ZD]})}return $t})()},7700:(Ue,q,p)=>{"use strict";p.d(q,{WI:()=>ue,Bq:()=>xe,uw:()=>fe,ZT:()=>Le,Is:()=>De,so:()=>Qe});var e=p(3651),t=p(6814),g=p(5879),T=p(4300),c=p(2831),C=p(8484),u=p(6028),P=p(8645),d=p(4911),S=p(2096),M=p(9388),I=p(7921);function D(et,Ct){}class R{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let W=(()=>{class et extends C.en{constructor(ke,ot,Je,re,Be,Nt,Ke,yt){super(),this._elementRef=ke,this._focusTrapFactory=ot,this._config=re,this._interactivityChecker=Be,this._ngZone=Nt,this._overlayRef=Ke,this._focusMonitor=yt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=kt=>{this._portalOutlet.hasAttached();const Dt=this._portalOutlet.attachDomPortal(kt);return this._contentAttached(),Dt},this._document=Je,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(ke){this._portalOutlet.hasAttached();const ot=this._portalOutlet.attachComponentPortal(ke);return this._contentAttached(),ot}attachTemplatePortal(ke){this._portalOutlet.hasAttached();const ot=this._portalOutlet.attachTemplatePortal(ke);return this._contentAttached(),ot}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ke,ot){this._interactivityChecker.isFocusable(ke)||(ke.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Je=()=>{ke.removeEventListener("blur",Je),ke.removeEventListener("mousedown",Je),ke.removeAttribute("tabindex")};ke.addEventListener("blur",Je),ke.addEventListener("mousedown",Je)})),ke.focus(ot)}_focusByCssSelector(ke,ot){let Je=this._elementRef.nativeElement.querySelector(ke);Je&&this._forceFocus(Je,ot)}_trapFocus(){const ke=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||ke.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ot=>{ot||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 ke=this._config.restoreFocus;let ot=null;if("string"==typeof ke?ot=this._document.querySelector(ke):"boolean"==typeof ke?ot=ke?this._elementFocusedBeforeDialogWasOpened:null:ke&&(ot=ke),this._config.restoreFocus&&ot&&"function"==typeof ot.focus){const Je=(0,c.ht)(),re=this._elementRef.nativeElement;(!Je||Je===this._document.body||Je===re||re.contains(Je))&&(this._focusMonitor?(this._focusMonitor.focusVia(ot,this._closeInteractionType),this._closeInteractionType=null):ot.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const ke=this._elementRef.nativeElement,ot=(0,c.ht)();return ke===ot||ke.contains(ot)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,c.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(ot){return new(ot||et)(g.Y36(g.SBq),g.Y36(T.qV),g.Y36(t.K0,8),g.Y36(R),g.Y36(T.ic),g.Y36(g.R0b),g.Y36(e.Iu),g.Y36(T.tE))};static#t=this.\u0275cmp=g.Xpm({type:et,selectors:[["cdk-dialog-container"]],viewQuery:function(ot,Je){if(1&ot&&g.Gf(C.Pl,7),2&ot){let re;g.iGM(re=g.CRH())&&(Je._portalOutlet=re.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(ot,Je){2&ot&&g.uIk("id",Je._config.id||null)("role",Je._config.role)("aria-modal",Je._config.ariaModal)("aria-labelledby",Je._config.ariaLabel?null:Je._ariaLabelledByQueue[0])("aria-label",Je._config.ariaLabel)("aria-describedby",Je._config.ariaDescribedBy||null)},features:[g.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ot,Je){1&ot&&g.YNc(0,D,0,0,"ng-template",0)},dependencies:[C.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return et})();class Y{constructor(Ct,ke){this.overlayRef=Ct,this.config=ke,this.closed=new P.x,this.disableClose=ke.disableClose,this.backdropClick=Ct.backdropClick(),this.keydownEvents=Ct.keydownEvents(),this.outsidePointerEvents=Ct.outsidePointerEvents(),this.id=ke.id,this.keydownEvents.subscribe(ot=>{ot.keyCode===u.hY&&!this.disableClose&&!(0,u.Vb)(ot)&&(ot.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=Ct.detachments().subscribe(()=>{!1!==ke.closeOnOverlayDetachments&&this.close()})}close(Ct,ke){if(this.containerInstance){const ot=this.closed;this.containerInstance._closeInteractionType=ke?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),ot.next(Ct),ot.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Ct="",ke=""){return this.overlayRef.updateSize({width:Ct,height:ke}),this}addPanelClass(Ct){return this.overlayRef.addPanelClass(Ct),this}removePanelClass(Ct){return this.overlayRef.removePanelClass(Ct),this}}const Q=new g.OlP("DialogScrollStrategy"),J=new g.OlP("DialogData"),ne=new g.OlP("DefaultDialogConfig"),pe={provide:Q,deps:[e.aV],useFactory:function X(et){return()=>et.scrollStrategies.block()}};let ie=0,de=(()=>{class et{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(ke,ot,Je,re,Be,Nt){this._overlay=ke,this._injector=ot,this._defaultOptions=Je,this._parentDialog=re,this._overlayContainer=Be,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new P.x,this._afterOpenedAtThisLevel=new P.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,d.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,I.O)(void 0))),this._scrollStrategy=Nt}open(ke,ot){(ot={...this._defaultOptions||new R,...ot}).id=ot.id||"cdk-dialog-"+ie++,ot.id&&this.getDialogById(ot.id);const re=this._getOverlayConfig(ot),Be=this._overlay.create(re),Nt=new Y(Be,ot),Ke=this._attachContainer(Be,Nt,ot);return Nt.containerInstance=Ke,this._attachDialogContent(ke,Nt,Ke,ot),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Nt),Nt.closed.subscribe(()=>this._removeOpenDialog(Nt,!0)),this.afterOpened.next(Nt),Nt}closeAll(){te(this.openDialogs,ke=>ke.close())}getDialogById(ke){return this.openDialogs.find(ot=>ot.id===ke)}ngOnDestroy(){te(this._openDialogsAtThisLevel,ke=>{!1===ke.config.closeOnDestroy&&this._removeOpenDialog(ke,!1)}),te(this._openDialogsAtThisLevel,ke=>ke.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(ke){const ot=new e.X_({positionStrategy:ke.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:ke.scrollStrategy||this._scrollStrategy(),panelClass:ke.panelClass,hasBackdrop:ke.hasBackdrop,direction:ke.direction,minWidth:ke.minWidth,minHeight:ke.minHeight,maxWidth:ke.maxWidth,maxHeight:ke.maxHeight,width:ke.width,height:ke.height,disposeOnNavigation:ke.closeOnNavigation});return ke.backdropClass&&(ot.backdropClass=ke.backdropClass),ot}_attachContainer(ke,ot,Je){const re=Je.injector||Je.viewContainerRef?.injector,Be=[{provide:R,useValue:Je},{provide:Y,useValue:ot},{provide:e.Iu,useValue:ke}];let Nt;Je.container?"function"==typeof Je.container?Nt=Je.container:(Nt=Je.container.type,Be.push(...Je.container.providers(Je))):Nt=W;const Ke=new C.C5(Nt,Je.viewContainerRef,g.zs3.create({parent:re||this._injector,providers:Be}),Je.componentFactoryResolver);return ke.attach(Ke).instance}_attachDialogContent(ke,ot,Je,re){if(ke instanceof g.Rgc){const Be=this._createInjector(re,ot,Je,void 0);let Nt={$implicit:re.data,dialogRef:ot};re.templateContext&&(Nt={...Nt,..."function"==typeof re.templateContext?re.templateContext():re.templateContext}),Je.attachTemplatePortal(new C.UE(ke,null,Nt,Be))}else{const Be=this._createInjector(re,ot,Je,this._injector),Nt=Je.attachComponentPortal(new C.C5(ke,re.viewContainerRef,Be,re.componentFactoryResolver));ot.componentRef=Nt,ot.componentInstance=Nt.instance}}_createInjector(ke,ot,Je,re){const Be=ke.injector||ke.viewContainerRef?.injector,Nt=[{provide:J,useValue:ke.data},{provide:Y,useValue:ot}];return ke.providers&&("function"==typeof ke.providers?Nt.push(...ke.providers(ot,ke,Je)):Nt.push(...ke.providers)),ke.direction&&(!Be||!Be.get(M.Is,null,{optional:!0}))&&Nt.push({provide:M.Is,useValue:{value:ke.direction,change:(0,S.of)()}}),g.zs3.create({parent:Be||re,providers:Nt})}_removeOpenDialog(ke,ot){const Je=this.openDialogs.indexOf(ke);Je>-1&&(this.openDialogs.splice(Je,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((re,Be)=>{re?Be.setAttribute("aria-hidden",re):Be.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),ot&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const ke=this._overlayContainer.getContainerElement();if(ke.parentElement){const ot=ke.parentElement.children;for(let Je=ot.length-1;Je>-1;Je--){const re=ot[Je];re!==ke&&"SCRIPT"!==re.nodeName&&"STYLE"!==re.nodeName&&!re.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(re,re.getAttribute("aria-hidden")),re.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const ke=this._parentDialog;return ke?ke._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(ot){return new(ot||et)(g.LFG(e.aV),g.LFG(g.zs3),g.LFG(ne,8),g.LFG(et,12),g.LFG(e.Xj),g.LFG(Q))};static#t=this.\u0275prov=g.Yz7({token:et,factory:et.\u0275fac})}return et})();function te(et,Ct){let ke=et.length;for(;ke--;)Ct(et[ke])}let ae=(()=>{class et{static#e=this.\u0275fac=function(ot){return new(ot||et)};static#t=this.\u0275mod=g.oAB({type:et});static#i=this.\u0275inj=g.cJS({providers:[de,pe],imports:[e.U8,C.eL,T.rt,C.eL]})}return et})();var E=p(2495),i=p(3019),o=p(2181),m=p(8180),l=p(3680);function L(et,Ct){}p(6825);class O{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const b="mdc-dialog--open",n="mdc-dialog--opening",_="mdc-dialog--closing";let K=(()=>{class et extends W{constructor(ke,ot,Je,re,Be,Nt,Ke,yt){super(ke,ot,Je,re,Be,Nt,Ke,yt),this._animationStateChanged=new g.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(ke){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ke})}static#e=this.\u0275fac=function(ot){return new(ot||et)(g.Y36(g.SBq),g.Y36(T.qV),g.Y36(t.K0,8),g.Y36(O),g.Y36(T.ic),g.Y36(g.R0b),g.Y36(e.Iu),g.Y36(T.tE))};static#t=this.\u0275cmp=g.Xpm({type:et,selectors:[["ng-component"]],features:[g.qOj],decls:0,vars:0,template:function(ot,Je){},encapsulation:2})}return et})();const se="--mat-dialog-transition-duration";function Ye(et){return null==et?null:"number"==typeof et?et:et.endsWith("ms")?(0,E.su)(et.substring(0,et.length-2)):et.endsWith("s")?1e3*(0,E.su)(et.substring(0,et.length-1)):"0"===et?0:null}let Oe=(()=>{class et extends K{constructor(ke,ot,Je,re,Be,Nt,Ke,yt,kt){super(ke,ot,Je,re,Be,Nt,Ke,kt),this._animationMode=yt,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?Ye(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?Ye(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(se,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(n,b)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(b),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(b),this._animationsEnabled?(this._hostElement.style.setProperty(se,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(_)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(n,_)}_waitForAnimationToComplete(ke,ot){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(ot,ke)}_requestAnimationFrame(ke){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(ke):ke()})}static#e=this.\u0275fac=function(ot){return new(ot||et)(g.Y36(g.SBq),g.Y36(T.qV),g.Y36(t.K0,8),g.Y36(O),g.Y36(T.ic),g.Y36(g.R0b),g.Y36(e.Iu),g.Y36(g.QbO,8),g.Y36(T.tE))};static#t=this.\u0275cmp=g.Xpm({type:et,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(ot,Je){2&ot&&(g.Ikx("id",Je._config.id),g.uIk("aria-modal",Je._config.ariaModal)("role",Je._config.role)("aria-labelledby",Je._config.ariaLabel?null:Je._ariaLabelledByQueue[0])("aria-label",Je._config.ariaLabel)("aria-describedby",Je._config.ariaDescribedBy||null),g.ekj("_mat-animation-noopable",!Je._animationsEnabled))},features:[g.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(ot,Je){1&ot&&(g.TgZ(0,"div",0)(1,"div",1),g.YNc(2,L,0,0,"ng-template",2),g.qZA()())},dependencies:[C.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return et})();class Qe{constructor(Ct,ke,ot){this._ref=Ct,this._containerInstance=ot,this._afterOpened=new P.x,this._beforeClosed=new P.x,this._state=0,this.disableClose=ke.disableClose,this.id=Ct.id,ot._animationStateChanged.pipe((0,o.h)(Je=>"opened"===Je.state),(0,m.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),ot._animationStateChanged.pipe((0,o.h)(Je=>"closed"===Je.state),(0,m.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Ct.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,i.T)(this.backdropClick(),this.keydownEvents().pipe((0,o.h)(Je=>Je.keyCode===u.hY&&!this.disableClose&&!(0,u.Vb)(Je)))).subscribe(Je=>{this.disableClose||(Je.preventDefault(),be(this,"keydown"===Je.type?"keyboard":"mouse"))})}close(Ct){this._result=Ct,this._containerInstance._animationStateChanged.pipe((0,o.h)(ke=>"closing"===ke.state),(0,m.q)(1)).subscribe(ke=>{this._beforeClosed.next(Ct),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),ke.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 ke=this._ref.config.positionStrategy;return Ct&&(Ct.left||Ct.right)?Ct.left?ke.left(Ct.left):ke.right(Ct.right):ke.centerHorizontally(),Ct&&(Ct.top||Ct.bottom)?Ct.top?ke.top(Ct.top):ke.bottom(Ct.bottom):ke.centerVertically(),this._ref.updatePosition(),this}updateSize(Ct="",ke=""){return this._ref.updateSize(Ct,ke),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 be(et,Ct,ke){return et._closeInteractionType=Ct,et.close(ke)}const ue=new g.OlP("MatMdcDialogData"),xe=new g.OlP("mat-mdc-dialog-default-options"),Pe=new g.OlP("mat-mdc-dialog-scroll-strategy"),ze={provide:Pe,deps:[e.aV],useFactory:function oe(et){return()=>et.scrollStrategies.block()}};let le=0,ge=(()=>{class et{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const ke=this._parentDialog;return ke?ke._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(ke,ot,Je,re,Be,Nt,Ke,yt,kt,Dt){this._overlay=ke,this._defaultOptions=Je,this._parentDialog=re,this._dialogRefConstructor=Ke,this._dialogContainerType=yt,this._dialogDataToken=kt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new P.x,this._afterOpenedAtThisLevel=new P.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=O,this.afterAllClosed=(0,d.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,I.O)(void 0))),this._scrollStrategy=Nt,this._dialog=ot.get(de)}open(ke,ot){let Je;(ot={...this._defaultOptions||new O,...ot}).id=ot.id||`${this._idPrefix}${le++}`,ot.scrollStrategy=ot.scrollStrategy||this._scrollStrategy();const re=this._dialog.open(ke,{...ot,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:ot},{provide:R,useValue:ot}]},templateContext:()=>({dialogRef:Je}),providers:(Be,Nt,Ke)=>(Je=new this._dialogRefConstructor(Be,ot,Ke),Je.updatePosition(ot?.position),[{provide:this._dialogContainerType,useValue:Ke},{provide:this._dialogDataToken,useValue:Nt.data},{provide:this._dialogRefConstructor,useValue:Je}])});return Je.componentRef=re.componentRef,Je.componentInstance=re.componentInstance,this.openDialogs.push(Je),this.afterOpened.next(Je),Je.afterClosed().subscribe(()=>{const Be=this.openDialogs.indexOf(Je);Be>-1&&(this.openDialogs.splice(Be,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Je}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(ke){return this.openDialogs.find(ot=>ot.id===ke)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(ke){let ot=ke.length;for(;ot--;)ke[ot].close()}static#e=this.\u0275fac=function(ot){g.$Z()};static#t=this.\u0275prov=g.Yz7({token:et,factory:et.\u0275fac})}return et})(),fe=(()=>{class et extends ge{constructor(ke,ot,Je,re,Be,Nt,Ke,yt){super(ke,ot,re,Nt,Ke,Be,Qe,Oe,ue,yt),this._idPrefix="mat-mdc-dialog-"}static#e=this.\u0275fac=function(ot){return new(ot||et)(g.LFG(e.aV),g.LFG(g.zs3),g.LFG(t.Ye,8),g.LFG(xe,8),g.LFG(Pe),g.LFG(et,12),g.LFG(e.Xj),g.LFG(g.QbO,8))};static#t=this.\u0275prov=g.Yz7({token:et,factory:et.\u0275fac})}return et})(),Le=(()=>{class et{constructor(ke,ot,Je){this.dialogRef=ke,this._elementRef=ot,this._dialog=Je,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function ve(et,Ct){let ke=et.nativeElement.parentElement;for(;ke&&!ke.classList.contains("mat-mdc-dialog-container");)ke=ke.parentElement;return ke?Ct.find(ot=>ot.id===ke.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(ke){const ot=ke._matDialogClose||ke._matDialogCloseResult;ot&&(this.dialogResult=ot.currentValue)}_onButtonClick(ke){be(this.dialogRef,0===ke.screenX&&0===ke.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(ot){return new(ot||et)(g.Y36(Qe,8),g.Y36(g.SBq),g.Y36(fe))};static#t=this.\u0275dir=g.lG2({type:et,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(ot,Je){1&ot&&g.NdJ("click",function(Be){return Je._onButtonClick(Be)}),2&ot&&g.uIk("aria-label",Je.ariaLabel||null)("type",Je.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[g.TTD]})}return et})(),De=(()=>{class et{static#e=this.\u0275fac=function(ot){return new(ot||et)};static#t=this.\u0275mod=g.oAB({type:et});static#i=this.\u0275inj=g.cJS({providers:[fe,ze],imports:[ae,e.U8,C.eL,l.BQ,l.BQ]})}return et})()},6385:(Ue,q,p)=>{"use strict";p.d(q,{d:()=>T,t:()=>c});var e=p(5879),t=p(2495),g=p(3680);let T=(()=>{class C{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(P){this._vertical=(0,t.Ig)(P)}get inset(){return this._inset}set inset(P){this._inset=(0,t.Ig)(P)}static#e=this.\u0275fac=function(d){return new(d||C)};static#t=this.\u0275cmp=e.Xpm({type:C,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(d,S){2&d&&(e.uIk("aria-orientation",S.vertical?"vertical":"horizontal"),e.ekj("mat-divider-vertical",S.vertical)("mat-divider-horizontal",!S.vertical)("mat-divider-inset",S.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(d,S){},styles:[".mat-divider{--mat-divider-width:1px;display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return C})(),c=(()=>{class C{static#e=this.\u0275fac=function(d){return new(d||C)};static#t=this.\u0275mod=e.oAB({type:C});static#i=this.\u0275inj=e.cJS({imports:[g.BQ,g.BQ]})}return C})()},3305:(Ue,q,p)=>{"use strict";p.d(q,{pp:()=>be,To:()=>ue,ib:()=>H,u4:()=>Oe,yz:()=>Ye,yK:()=>Qe});var e=p(5879),t=p(8337),g=p(2495),T=p(8645),c=p(7394);let C=0;const u=new e.OlP("CdkAccordion");let P=(()=>{class xe{constructor(){this._stateChanges=new T.x,this._openCloseAllActions=new T.x,this.id="cdk-accordion-"+C++,this._multi=!1}get multi(){return this._multi}set multi(oe){this._multi=(0,g.Ig)(oe)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(oe){this._stateChanges.next(oe)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static#e=this.\u0275fac=function(ze){return new(ze||xe)};static#t=this.\u0275dir=e.lG2({type:xe,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[e._Bn([{provide:u,useExisting:xe}]),e.TTD]})}return xe})(),d=0,S=(()=>{class xe{get expanded(){return this._expanded}set expanded(oe){oe=(0,g.Ig)(oe),this._expanded!==oe&&(this._expanded=oe,this.expandedChange.emit(oe),oe?(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(oe){this._disabled=(0,g.Ig)(oe)}constructor(oe,ze,we){this.accordion=oe,this._changeDetectorRef=ze,this._expansionDispatcher=we,this._openCloseAllSubscription=c.w0.EMPTY,this.closed=new e.vpe,this.opened=new e.vpe,this.destroyed=new e.vpe,this.expandedChange=new e.vpe,this.id="cdk-accordion-child-"+d++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=we.listen((le,ge)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===ge&&this.id!==le&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(oe=>{this.disabled||(this.expanded=oe)})}static#e=this.\u0275fac=function(ze){return new(ze||xe)(e.Y36(u,12),e.Y36(e.sBO),e.Y36(t.A8))};static#t=this.\u0275dir=e.lG2({type:xe,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[e._Bn([{provide:u,useValue:void 0}])]})}return xe})(),M=(()=>{class xe{static#e=this.\u0275fac=function(ze){return new(ze||xe)};static#t=this.\u0275mod=e.oAB({type:xe});static#i=this.\u0275inj=e.cJS({})}return xe})();var I=p(8484),D=p(6814),R=p(3680),F=p(4300),W=p(3997),Y=p(7921),Q=p(2181),J=p(8180),ne=p(6028),X=p(6232),pe=p(3019),ie=p(6825);const de=["body"];function te(xe,Pe){}const ae=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],E=["mat-expansion-panel-header","*","mat-action-row"];function i(xe,Pe){if(1&xe&&e._UZ(0,"span",2),2&xe){const oe=e.oxw();e.Q6J("@indicatorRotate",oe._getExpandedState())}}const o=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],m=["mat-panel-title","mat-panel-description","*"],l=new e.OlP("MAT_ACCORDION"),y="225ms cubic-bezier(0.4,0.0,0.2,1)",L={indicatorRotate:(0,ie.X$)("indicatorRotate",[(0,ie.SB)("collapsed, void",(0,ie.oB)({transform:"rotate(0deg)"})),(0,ie.SB)("expanded",(0,ie.oB)({transform:"rotate(180deg)"})),(0,ie.eR)("expanded <=> collapsed, void => collapsed",(0,ie.jt)(y))]),bodyExpansion:(0,ie.X$)("bodyExpansion",[(0,ie.SB)("collapsed, void",(0,ie.oB)({height:"0px",visibility:"hidden"})),(0,ie.SB)("expanded",(0,ie.oB)({height:"*",visibility:""})),(0,ie.eR)("expanded <=> collapsed, void => collapsed",(0,ie.jt)(y))])},O=new e.OlP("MAT_EXPANSION_PANEL");let b=(()=>{class xe{constructor(oe,ze){this._template=oe,this._expansionPanel=ze}static#e=this.\u0275fac=function(ze){return new(ze||xe)(e.Y36(e.Rgc),e.Y36(O,8))};static#t=this.\u0275dir=e.lG2({type:xe,selectors:[["ng-template","matExpansionPanelContent",""]]})}return xe})(),n=0;const _=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let H=(()=>{class xe extends S{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(oe){this._hideToggle=(0,g.Ig)(oe)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(oe){this._togglePosition=oe}constructor(oe,ze,we,le,ge,fe,Ge){super(oe,ze,we),this._viewContainerRef=le,this._animationMode=fe,this._hideToggle=!1,this.afterExpand=new e.vpe,this.afterCollapse=new e.vpe,this._inputChanges=new T.x,this._headerId="mat-expansion-panel-header-"+n++,this._bodyAnimationDone=new T.x,this.accordion=oe,this._document=ge,this._bodyAnimationDone.pipe((0,W.x)((Le,Ne)=>Le.fromState===Ne.fromState&&Le.toState===Ne.toState)).subscribe(Le=>{"void"!==Le.fromState&&("expanded"===Le.toState?this.afterExpand.emit():"collapsed"===Le.toState&&this.afterCollapse.emit())}),Ge&&(this.hideToggle=Ge.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,Y.O)(null),(0,Q.h)(()=>this.expanded&&!this._portal),(0,J.q)(1)).subscribe(()=>{this._portal=new I.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(oe){this._inputChanges.next(oe)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const oe=this._document.activeElement,ze=this._body.nativeElement;return oe===ze||ze.contains(oe)}return!1}static#e=this.\u0275fac=function(ze){return new(ze||xe)(e.Y36(l,12),e.Y36(e.sBO),e.Y36(t.A8),e.Y36(e.s_b),e.Y36(D.K0),e.Y36(e.QbO,8),e.Y36(_,8))};static#t=this.\u0275cmp=e.Xpm({type:xe,selectors:[["mat-expansion-panel"]],contentQueries:function(ze,we,le){if(1&ze&&e.Suo(le,b,5),2&ze){let ge;e.iGM(ge=e.CRH())&&(we._lazyContent=ge.first)}},viewQuery:function(ze,we){if(1&ze&&e.Gf(de,5),2&ze){let le;e.iGM(le=e.CRH())&&(we._body=le.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(ze,we){2&ze&&e.ekj("mat-expanded",we.expanded)("_mat-animation-noopable","NoopAnimations"===we._animationMode)("mat-expansion-panel-spacing",we._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[e._Bn([{provide:l,useValue:void 0},{provide:O,useExisting:xe}]),e.qOj,e.TTD],ngContentSelectors:E,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(ze,we){1&ze&&(e.F$t(ae),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(ge){return we._bodyAnimationDone.next(ge)}),e.TgZ(3,"div",2),e.Hsn(4,1),e.YNc(5,te,0,0,"ng-template",3),e.qZA(),e.Hsn(6,2),e.qZA()),2&ze&&(e.xp6(1),e.Q6J("@bodyExpansion",we._getExpandedState())("id",we.id),e.uIk("aria-labelledby",we._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",we._portal))},dependencies:[I.Pl],styles:['.mat-expansion-panel{--mat-expansion-container-shape:4px;box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[L.bodyExpansion]},changeDetection:0})}return xe})();class K{}const se=(0,R.sb)(K);let Ye=(()=>{class xe extends se{constructor(oe,ze,we,le,ge,fe,Ge){super(),this.panel=oe,this._element=ze,this._focusMonitor=we,this._changeDetectorRef=le,this._animationMode=fe,this._parentChangeSubscription=c.w0.EMPTY;const Le=oe.accordion?oe.accordion._stateChanges.pipe((0,Q.h)(Ne=>!(!Ne.hideToggle&&!Ne.togglePosition))):X.E;this.tabIndex=parseInt(Ge||"")||0,this._parentChangeSubscription=(0,pe.T)(oe.opened,oe.closed,Le,oe._inputChanges.pipe((0,Q.h)(Ne=>!!(Ne.hideToggle||Ne.disabled||Ne.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),oe.closed.pipe((0,Q.h)(()=>oe._containsFocus())).subscribe(()=>we.focusVia(ze,"program")),ge&&(this.expandedHeight=ge.expandedHeight,this.collapsedHeight=ge.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 oe=this._isExpanded();return oe&&this.expandedHeight?this.expandedHeight:!oe&&this.collapsedHeight?this.collapsedHeight:null}_keydown(oe){switch(oe.keyCode){case ne.L_:case ne.K5:(0,ne.Vb)(oe)||(oe.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(oe))}}focus(oe,ze){oe?this._focusMonitor.focusVia(this._element,oe,ze):this._element.nativeElement.focus(ze)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(oe=>{oe&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static#e=this.\u0275fac=function(ze){return new(ze||xe)(e.Y36(H,1),e.Y36(e.SBq),e.Y36(F.tE),e.Y36(e.sBO),e.Y36(_,8),e.Y36(e.QbO,8),e.$8M("tabindex"))};static#t=this.\u0275cmp=e.Xpm({type:xe,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(ze,we){1&ze&&e.NdJ("click",function(){return we._toggle()})("keydown",function(ge){return we._keydown(ge)}),2&ze&&(e.uIk("id",we.panel._headerId)("tabindex",we.tabIndex)("aria-controls",we._getPanelId())("aria-expanded",we._isExpanded())("aria-disabled",we.panel.disabled),e.Udp("height",we._getHeaderHeight()),e.ekj("mat-expanded",we._isExpanded())("mat-expansion-toggle-indicator-after","after"===we._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===we._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===we._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:m,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(ze,we){1&ze&&(e.F$t(o),e.TgZ(0,"span",0),e.Hsn(1),e.Hsn(2,1),e.Hsn(3,2),e.qZA(),e.YNc(4,i,1,1,"span",1)),2&ze&&(e.ekj("mat-content-hide-toggle",!we._showToggle()),e.xp6(4),e.Q6J("ngIf",we._showToggle()))},dependencies:[D.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);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[L.indicatorRotate]},changeDetection:0})}return xe})(),Oe=(()=>{class xe{static#e=this.\u0275fac=function(ze){return new(ze||xe)};static#t=this.\u0275dir=e.lG2({type:xe,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return xe})(),Qe=(()=>{class xe{static#e=this.\u0275fac=function(ze){return new(ze||xe)};static#t=this.\u0275dir=e.lG2({type:xe,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return xe})(),be=(()=>{class xe extends P{constructor(){super(...arguments),this._ownHeaders=new e.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(oe){this._hideToggle=(0,g.Ig)(oe)}ngAfterContentInit(){this._headers.changes.pipe((0,Y.O)(this._headers)).subscribe(oe=>{this._ownHeaders.reset(oe.filter(ze=>ze.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new F.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(oe){this._keyManager.onKeydown(oe)}_handleHeaderFocus(oe){this._keyManager.updateActiveItem(oe)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static#e=this.\u0275fac=function(){let oe;return function(we){return(oe||(oe=e.n5z(xe)))(we||xe)}}();static#t=this.\u0275dir=e.lG2({type:xe,selectors:[["mat-accordion"]],contentQueries:function(ze,we,le){if(1&ze&&e.Suo(le,Ye,5),2&ze){let ge;e.iGM(ge=e.CRH())&&(we._headers=ge)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(ze,we){2&ze&&e.ekj("mat-accordion-multi",we.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[e._Bn([{provide:l,useExisting:xe}]),e.qOj]})}return xe})(),ue=(()=>{class xe{static#e=this.\u0275fac=function(ze){return new(ze||xe)};static#t=this.\u0275mod=e.oAB({type:xe});static#i=this.\u0275inj=e.cJS({imports:[D.ez,R.BQ,M,I.eL]})}return xe})()},5683:(Ue,q,p)=>{"use strict";p.d(q,{G_:()=>Je,TO:()=>oe,KE:()=>Dt,Eo:()=>et,lN:()=>Rt,bx:()=>we,hX:()=>ue,R9:()=>Ge});var e=p(5879),t=p(9388),g=p(2831),T=p(7394),c=p(8645),C=p(3019),u=p(9773),P=p(5592),d=p(2181),S=p(7328),M=p(3020);class R{constructor(vt){this._box=vt,this._destroyed=new c.x,this._resizeSubject=new c.x,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(Te=>this._resizeSubject.next(Te)))}observe(vt){return this._elementObservables.has(vt)||this._elementObservables.set(vt,new P.y(Te=>{const tt=this._resizeSubject.subscribe(Te);return this._resizeObserver?.observe(vt,{box:this._box}),()=>{this._resizeObserver?.unobserve(vt),tt.unsubscribe(),this._elementObservables.delete(vt)}}).pipe((0,d.h)(Te=>Te.some(tt=>tt.target===vt)),function I(pt,vt,Te){let tt,Ze=!1;return pt&&"object"==typeof pt?({bufferSize:tt=1/0,windowTime:vt=1/0,refCount:Ze=!1,scheduler:Te}=pt):tt=pt??1/0,(0,M.B)({connector:()=>new S.t(tt,vt,Te),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Ze})}({bufferSize:1,refCount:!0}),(0,u.R)(this._destroyed))),this._elementObservables.get(vt)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let F=(()=>{class pt{constructor(){this._observers=new Map,this._ngZone=(0,e.f3M)(e.R0b)}ngOnDestroy(){for(const[,Te]of this._observers)Te.destroy();this._observers.clear()}observe(Te,tt){const Ze=tt?.box||"content-box";return this._observers.has(Ze)||this._observers.set(Ze,new R(Ze)),this._observers.get(Ze).observe(Te)}static#e=this.\u0275fac=function(tt){return new(tt||pt)};static#t=this.\u0275prov=e.Yz7({token:pt,factory:pt.\u0275fac,providedIn:"root"})}return pt})();var W=p(2495),Y=p(6825),Q=p(6814),J=p(7131),ne=p(3680);const X=["notch"],pe=["matFormFieldNotchedOutline",""],ie=["*"],de=["textField"],te=["iconPrefixContainer"],ae=["textPrefixContainer"];function E(pt,vt){1&pt&&e._UZ(0,"span",19)}function i(pt,vt){if(1&pt&&(e.TgZ(0,"label",17),e.Hsn(1,1),e.YNc(2,E,1,0,"span",18),e.qZA()),2&pt){const Te=e.oxw(2);e.Q6J("floating",Te._shouldLabelFloat())("monitorResize",Te._hasOutline())("id",Te._labelId),e.uIk("for",Te._control.id),e.xp6(2),e.Q6J("ngIf",!Te.hideRequiredMarker&&Te._control.required)}}function o(pt,vt){if(1&pt&&e.YNc(0,i,3,5,"label",16),2&pt){const Te=e.oxw();e.Q6J("ngIf",Te._hasFloatingLabel())}}function m(pt,vt){1&pt&&e._UZ(0,"div",20)}function l(pt,vt){}function y(pt,vt){if(1&pt&&e.YNc(0,l,0,0,"ng-template",22),2&pt){e.oxw(2);const Te=e.MAs(1);e.Q6J("ngTemplateOutlet",Te)}}function L(pt,vt){if(1&pt&&(e.TgZ(0,"div",21),e.YNc(1,y,1,1,"ng-template",9),e.qZA()),2&pt){const Te=e.oxw();e.Q6J("matFormFieldNotchedOutlineOpen",Te._shouldLabelFloat()),e.xp6(1),e.Q6J("ngIf",!Te._forceDisplayInfixLabel())}}function O(pt,vt){1&pt&&(e.TgZ(0,"div",23,24),e.Hsn(2,2),e.qZA())}function b(pt,vt){1&pt&&(e.TgZ(0,"div",25,26),e.Hsn(2,3),e.qZA())}function n(pt,vt){}function _(pt,vt){if(1&pt&&e.YNc(0,n,0,0,"ng-template",22),2&pt){e.oxw();const Te=e.MAs(1);e.Q6J("ngTemplateOutlet",Te)}}function H(pt,vt){1&pt&&(e.TgZ(0,"div",27),e.Hsn(1,4),e.qZA())}function V(pt,vt){1&pt&&(e.TgZ(0,"div",28),e.Hsn(1,5),e.qZA())}function K(pt,vt){1&pt&&e._UZ(0,"div",29)}function se(pt,vt){if(1&pt&&(e.TgZ(0,"div",30),e.Hsn(1,6),e.qZA()),2&pt){const Te=e.oxw();e.Q6J("@transitionMessages",Te._subscriptAnimationState)}}function Ye(pt,vt){if(1&pt&&(e.TgZ(0,"mat-hint",34),e._uU(1),e.qZA()),2&pt){const Te=e.oxw(2);e.Q6J("id",Te._hintLabelId),e.xp6(1),e.Oqu(Te.hintLabel)}}function Oe(pt,vt){if(1&pt&&(e.TgZ(0,"div",31),e.YNc(1,Ye,2,2,"mat-hint",32),e.Hsn(2,7),e._UZ(3,"div",33),e.Hsn(4,8),e.qZA()),2&pt){const Te=e.oxw();e.Q6J("@transitionMessages",Te._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",Te.hintLabel)}}const Qe=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],be=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let ue=(()=>{class pt{static#e=this.\u0275fac=function(tt){return new(tt||pt)};static#t=this.\u0275dir=e.lG2({type:pt,selectors:[["mat-label"]]})}return pt})(),xe=0;const Pe=new e.OlP("MatError");let oe=(()=>{class pt{constructor(Te,tt){this.id="mat-mdc-error-"+xe++,Te||tt.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(tt){return new(tt||pt)(e.$8M("aria-live"),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:pt,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(tt,Ze){2&tt&&e.Ikx("id",Ze.id)},inputs:{id:"id"},features:[e._Bn([{provide:Pe,useExisting:pt}])]})}return pt})(),ze=0,we=(()=>{class pt{constructor(){this.align="start",this.id="mat-mdc-hint-"+ze++}static#e=this.\u0275fac=function(tt){return new(tt||pt)};static#t=this.\u0275dir=e.lG2({type:pt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(tt,Ze){2&tt&&(e.Ikx("id",Ze.id),e.uIk("align",null),e.ekj("mat-mdc-form-field-hint-end","end"===Ze.align))},inputs:{align:"align",id:"id"}})}return pt})();const le=new e.OlP("MatPrefix"),fe=new e.OlP("MatSuffix");let Ge=(()=>{class pt{constructor(){this._isText=!1}set _isTextSelector(Te){this._isText=!0}static#e=this.\u0275fac=function(tt){return new(tt||pt)};static#t=this.\u0275dir=e.lG2({type:pt,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[e._Bn([{provide:fe,useExisting:pt}])]})}return pt})();const Le=new e.OlP("FloatingLabelParent");let Ne=(()=>{class pt{get floating(){return this._floating}set floating(Te){this._floating=Te,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(Te){this._monitorResize=Te,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(Te){this._elementRef=Te,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,e.f3M)(F),this._ngZone=(0,e.f3M)(e.R0b),this._parent=(0,e.f3M)(Le),this._resizeSubscription=new T.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Ve(pt){if(null!==pt.offsetParent)return pt.scrollWidth;const Te=pt.cloneNode(!0);Te.style.setProperty("position","absolute"),Te.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Te);const tt=Te.scrollWidth;return Te.remove(),tt}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(tt){return new(tt||pt)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:pt,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(tt,Ze){2&tt&&e.ekj("mdc-floating-label--float-above",Ze.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return pt})();const at="mdc-line-ripple--active",ve="mdc-line-ripple--deactivating";let De=(()=>{class pt{constructor(Te,tt){this._elementRef=Te,this._handleTransitionEnd=Ze=>{const Mt=this._elementRef.nativeElement.classList,oi=Mt.contains(ve);"opacity"===Ze.propertyName&&oi&&Mt.remove(at,ve)},tt.runOutsideAngular(()=>{Te.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Te=this._elementRef.nativeElement.classList;Te.remove(ve),Te.add(at)}deactivate(){this._elementRef.nativeElement.classList.add(ve)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(tt){return new(tt||pt)(e.Y36(e.SBq),e.Y36(e.R0b))};static#t=this.\u0275dir=e.lG2({type:pt,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return pt})(),xt=(()=>{class pt{constructor(Te,tt){this._elementRef=Te,this._ngZone=tt,this.open=!1}ngAfterViewInit(){const Te=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Te?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Te.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Te.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Te){this._notch.nativeElement.style.width=this.open&&Te?`calc(${Te}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(tt){return new(tt||pt)(e.Y36(e.SBq),e.Y36(e.R0b))};static#t=this.\u0275cmp=e.Xpm({type:pt,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(tt,Ze){if(1&tt&&e.Gf(X,5),2&tt){let Mt;e.iGM(Mt=e.CRH())&&(Ze._notch=Mt.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(tt,Ze){2&tt&&e.ekj("mdc-notched-outline--notched",Ze.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:pe,ngContentSelectors:ie,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(tt,Ze){1&tt&&(e.F$t(),e._UZ(0,"div",0),e.TgZ(1,"div",1,2),e.Hsn(3),e.qZA(),e._UZ(4,"div",3))},encapsulation:2,changeDetection:0})}return pt})();const ct={transitionMessages:(0,Y.X$)("transitionMessages",[(0,Y.SB)("enter",(0,Y.oB)({opacity:1,transform:"translateY(0%)"})),(0,Y.eR)("void => enter",[(0,Y.oB)({opacity:0,transform:"translateY(-5px)"}),(0,Y.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let et=(()=>{class pt{static#e=this.\u0275fac=function(tt){return new(tt||pt)};static#t=this.\u0275dir=e.lG2({type:pt})}return pt})();const Je=new e.OlP("MatFormField"),re=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Be=0,Dt=(()=>{class pt{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Te){this._hideRequiredMarker=(0,W.Ig)(Te)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Te){Te!==this._floatLabel&&(this._floatLabel=Te,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Te){const tt=this._appearance;this._appearance=Te||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==tt&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Te){this._subscriptSizing=Te||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Te){this._hintLabel=Te,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Te){this._explicitFormFieldControl=Te}constructor(Te,tt,Ze,Mt,oi,Tt,mt,he){this._elementRef=Te,this._changeDetectorRef=tt,this._ngZone=Ze,this._dir=Mt,this._platform=oi,this._defaults=Tt,this._animationMode=mt,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-"+Be++,this._hintLabelId="mat-mdc-hint-"+Be++,this._subscriptAnimationState="",this._destroyed=new c.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Tt&&(Tt.appearance&&(this.appearance=Tt.appearance),this._hideRequiredMarker=!!Tt?.hideRequiredMarker,Tt.color&&(this.color=Tt.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const Te=this._control;Te.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Te.controlType}`),Te.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Te.ngControl&&Te.ngControl.valueChanges&&Te.ngControl.valueChanges.pipe((0,u.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Te=>!Te._isText),this._hasTextPrefix=!!this._prefixChildren.find(Te=>Te._isText),this._hasIconSuffix=!!this._suffixChildren.find(Te=>!Te._isText),this._hasTextSuffix=!!this._suffixChildren.find(Te=>Te._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,C.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,u.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,u.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(Te){const tt=this._control?this._control.ngControl:null;return tt&&tt[Te]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Te=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Te.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const tt=this._hintChildren?this._hintChildren.find(Mt=>"start"===Mt.align):null,Ze=this._hintChildren?this._hintChildren.find(Mt=>"end"===Mt.align):null;tt?Te.push(tt.id):this._hintLabel&&Te.push(this._hintLabelId),Ze&&Te.push(Ze.id)}else this._errorChildren&&Te.push(...this._errorChildren.map(tt=>tt.id));this._control.setDescribedByIds(Te)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Te=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Te.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const tt=this._iconPrefixContainer?.nativeElement,Ze=this._textPrefixContainer?.nativeElement,Mt=tt?.getBoundingClientRect().width??0,oi=Ze?.getBoundingClientRect().width??0;Te.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Mt+oi}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Te=this._elementRef.nativeElement;if(Te.getRootNode){const tt=Te.getRootNode();return tt&&tt!==Te}return document.documentElement.contains(Te)}static#e=this.\u0275fac=function(tt){return new(tt||pt)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(t.Is),e.Y36(g.t4),e.Y36(re,8),e.Y36(e.QbO,8),e.Y36(Q.K0))};static#t=this.\u0275cmp=e.Xpm({type:pt,selectors:[["mat-form-field"]],contentQueries:function(tt,Ze,Mt){if(1&tt&&(e.Suo(Mt,ue,5),e.Suo(Mt,ue,7),e.Suo(Mt,et,5),e.Suo(Mt,le,5),e.Suo(Mt,fe,5),e.Suo(Mt,Pe,5),e.Suo(Mt,we,5)),2&tt){let oi;e.iGM(oi=e.CRH())&&(Ze._labelChildNonStatic=oi.first),e.iGM(oi=e.CRH())&&(Ze._labelChildStatic=oi.first),e.iGM(oi=e.CRH())&&(Ze._formFieldControl=oi.first),e.iGM(oi=e.CRH())&&(Ze._prefixChildren=oi),e.iGM(oi=e.CRH())&&(Ze._suffixChildren=oi),e.iGM(oi=e.CRH())&&(Ze._errorChildren=oi),e.iGM(oi=e.CRH())&&(Ze._hintChildren=oi)}},viewQuery:function(tt,Ze){if(1&tt&&(e.Gf(de,5),e.Gf(te,5),e.Gf(ae,5),e.Gf(Ne,5),e.Gf(xt,5),e.Gf(De,5)),2&tt){let Mt;e.iGM(Mt=e.CRH())&&(Ze._textField=Mt.first),e.iGM(Mt=e.CRH())&&(Ze._iconPrefixContainer=Mt.first),e.iGM(Mt=e.CRH())&&(Ze._textPrefixContainer=Mt.first),e.iGM(Mt=e.CRH())&&(Ze._floatingLabel=Mt.first),e.iGM(Mt=e.CRH())&&(Ze._notchedOutline=Mt.first),e.iGM(Mt=e.CRH())&&(Ze._lineRipple=Mt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(tt,Ze){2&tt&&e.ekj("mat-mdc-form-field-label-always-float",Ze._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Ze._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Ze._hasIconSuffix)("mat-form-field-invalid",Ze._control.errorState)("mat-form-field-disabled",Ze._control.disabled)("mat-form-field-autofilled",Ze._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Ze._animationMode)("mat-form-field-appearance-fill","fill"==Ze.appearance)("mat-form-field-appearance-outline","outline"==Ze.appearance)("mat-form-field-hide-placeholder",Ze._hasFloatingLabel()&&!Ze._shouldLabelFloat())("mat-focused",Ze._control.focused)("mat-primary","accent"!==Ze.color&&"warn"!==Ze.color)("mat-accent","accent"===Ze.color)("mat-warn","warn"===Ze.color)("ng-untouched",Ze._shouldForward("untouched"))("ng-touched",Ze._shouldForward("touched"))("ng-pristine",Ze._shouldForward("pristine"))("ng-dirty",Ze._shouldForward("dirty"))("ng-valid",Ze._shouldForward("valid"))("ng-invalid",Ze._shouldForward("invalid"))("ng-pending",Ze._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:Je,useExisting:pt},{provide:Le,useExisting:pt}])],ngContentSelectors:be,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",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","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["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"],[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(tt,Ze){1&tt&&(e.F$t(Qe),e.YNc(0,o,1,1,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.NdJ("click",function(oi){return Ze._control.onContainerClick(oi)}),e.YNc(4,m,1,0,"div",3),e.TgZ(5,"div",4),e.YNc(6,L,2,2,"div",5),e.YNc(7,O,3,0,"div",6),e.YNc(8,b,3,0,"div",7),e.TgZ(9,"div",8),e.YNc(10,_,1,1,"ng-template",9),e.Hsn(11),e.qZA(),e.YNc(12,H,2,0,"div",10),e.YNc(13,V,2,0,"div",11),e.qZA(),e.YNc(14,K,1,0,"div",12),e.qZA(),e.TgZ(15,"div",13),e.YNc(16,se,2,1,"div",14),e.YNc(17,Oe,5,2,"div",15),e.qZA()),2&tt&&(e.xp6(2),e.ekj("mdc-text-field--filled",!Ze._hasOutline())("mdc-text-field--outlined",Ze._hasOutline())("mdc-text-field--no-label",!Ze._hasFloatingLabel())("mdc-text-field--disabled",Ze._control.disabled)("mdc-text-field--invalid",Ze._control.errorState),e.xp6(2),e.Q6J("ngIf",!Ze._hasOutline()&&!Ze._control.disabled),e.xp6(2),e.Q6J("ngIf",Ze._hasOutline()),e.xp6(1),e.Q6J("ngIf",Ze._hasIconPrefix),e.xp6(1),e.Q6J("ngIf",Ze._hasTextPrefix),e.xp6(2),e.Q6J("ngIf",!Ze._hasOutline()||Ze._forceDisplayInfixLabel()),e.xp6(2),e.Q6J("ngIf",Ze._hasTextSuffix),e.xp6(1),e.Q6J("ngIf",Ze._hasIconSuffix),e.xp6(1),e.Q6J("ngIf",!Ze._hasOutline()),e.xp6(1),e.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Ze.subscriptSizing),e.Q6J("ngSwitch",Ze._getDisplayedMessages()),e.xp6(1),e.Q6J("ngSwitchCase","error"),e.xp6(1),e.Q6J("ngSwitchCase","hint"))},dependencies:[Q.O5,Q.tP,Q.RF,Q.n9,we,Ne,xt,De],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[ct.transitionMessages]},changeDetection:0})}return pt})(),Rt=(()=>{class pt{static#e=this.\u0275fac=function(tt){return new(tt||pt)};static#t=this.\u0275mod=e.oAB({type:pt});static#i=this.\u0275inj=e.cJS({imports:[ne.BQ,Q.ez,J.Q8,ne.BQ]})}return pt})()},3176:(Ue,q,p)=>{"use strict";p.d(q,{DX:()=>I,Il:()=>te,N6:()=>ae});var e=p(5879),t=p(3680),g=p(2495),T=p(9388);const c=["*"];class d{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const o=Math.max(...this.tracker);return o>1?this.rowCount+o-1:this.rowCount}update(o,m){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(o),this.tracker.fill(0,0,this.tracker.length),this.positions=m.map(l=>this._trackTile(l))}_trackTile(o){const m=this._findMatchingGap(o.colspan);return this._markTilePosition(m,o),this.columnIndex=m+o.colspan,new S(this.rowIndex,m)}_findMatchingGap(o){let m=-1,l=-1;do{this.columnIndex+o>this.tracker.length?(this._nextRow(),m=this.tracker.indexOf(0,this.columnIndex),l=this._findGapEndIndex(m)):(m=this.tracker.indexOf(0,this.columnIndex),-1!=m?(l=this._findGapEndIndex(m),this.columnIndex=m+1):(this._nextRow(),m=this.tracker.indexOf(0,this.columnIndex),l=this._findGapEndIndex(m)))}while(l-m<o||0==l);return Math.max(m,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let o=0;o<this.tracker.length;o++)this.tracker[o]=Math.max(0,this.tracker[o]-1)}_findGapEndIndex(o){for(let m=o+1;m<this.tracker.length;m++)if(0!=this.tracker[m])return m;return this.tracker.length}_markTilePosition(o,m){for(let l=0;l<m.colspan;l++)this.tracker[o+l]=m.rowspan}}class S{constructor(o,m){this.row=o,this.col=m}}const M=new e.OlP("MAT_GRID_LIST");let I=(()=>{class i{constructor(m,l){this._element=m,this._gridList=l,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(m){this._rowspan=Math.round((0,g.su)(m))}get colspan(){return this._colspan}set colspan(m){this._colspan=Math.round((0,g.su)(m))}_setStyle(m,l){this._element.nativeElement.style[m]=l}static#e=this.\u0275fac=function(l){return new(l||i)(e.Y36(e.SBq),e.Y36(M,8))};static#t=this.\u0275cmp=e.Xpm({type:i,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(l,y){2&l&&e.uIk("rowspan",y.rowspan)("colspan",y.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:c,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(l,y){1&l&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}return i})();const Y=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class Q{constructor(){this._rows=0,this._rowspan=0}init(o,m,l,y){this._gutterSize=ie(o),this._rows=m.rowCount,this._rowspan=m.rowspan,this._cols=l,this._direction=y}getBaseTileSize(o,m){return`(${o}% - (${this._gutterSize} * ${m}))`}getTilePosition(o,m){return 0===m?"0":pe(`(${o} + ${this._gutterSize}) * ${m}`)}getTileSize(o,m){return`(${o} * ${m}) + (${m-1} * ${this._gutterSize})`}setStyle(o,m,l){let y=100/this._cols,L=(this._cols-1)/this._cols;this.setColStyles(o,l,y,L),this.setRowStyles(o,m,y,L)}setColStyles(o,m,l,y){let L=this.getBaseTileSize(l,y);o._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(L,m)),o._setStyle("width",pe(this.getTileSize(L,o.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(o){return`${this._rowspan} * ${this.getTileSize(o,1)}`}getComputedHeight(){return null}}class J extends Q{constructor(o){super(),this.fixedRowHeight=o}init(o,m,l,y){super.init(o,m,l,y),this.fixedRowHeight=ie(this.fixedRowHeight),Y.test(this.fixedRowHeight)}setRowStyles(o,m){o._setStyle("top",this.getTilePosition(this.fixedRowHeight,m)),o._setStyle("height",pe(this.getTileSize(this.fixedRowHeight,o.rowspan)))}getComputedHeight(){return["height",pe(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(o){o._setListStyle(["height",null]),o._tiles&&o._tiles.forEach(m=>{m._setStyle("top",null),m._setStyle("height",null)})}}class ne extends Q{constructor(o){super(),this._parseRatio(o)}setRowStyles(o,m,l,y){this.baseTileHeight=this.getBaseTileSize(l/this.rowHeightRatio,y),o._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,m)),o._setStyle("paddingTop",pe(this.getTileSize(this.baseTileHeight,o.rowspan)))}getComputedHeight(){return["paddingBottom",pe(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(o){o._setListStyle(["paddingBottom",null]),o._tiles.forEach(m=>{m._setStyle("marginTop",null),m._setStyle("paddingTop",null)})}_parseRatio(o){const m=o.split(":");this.rowHeightRatio=parseFloat(m[0])/parseFloat(m[1])}}class X extends Q{setRowStyles(o,m){let L=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);o._setStyle("top",this.getTilePosition(L,m)),o._setStyle("height",pe(this.getTileSize(L,o.rowspan)))}reset(o){o._tiles&&o._tiles.forEach(m=>{m._setStyle("top",null),m._setStyle("height",null)})}}function pe(i){return`calc(${i})`}function ie(i){return i.match(/([A-Za-z%]+)$/)?i:`${i}px`}let te=(()=>{class i{constructor(m,l){this._element=m,this._dir=l,this._gutter="1px"}get cols(){return this._cols}set cols(m){this._cols=Math.max(1,Math.round((0,g.su)(m)))}get gutterSize(){return this._gutter}set gutterSize(m){this._gutter=`${m??""}`}get rowHeight(){return this._rowHeight}set rowHeight(m){const l=`${m??""}`;l!==this._rowHeight&&(this._rowHeight=l,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(m){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===m?new X:m&&m.indexOf(":")>-1?new ne(m):new J(m)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new d);const m=this._tileCoordinator,l=this._tiles.filter(L=>!L._gridList||L._gridList===this),y=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,l),this._tileStyler.init(this.gutterSize,m,this.cols,y),l.forEach((L,O)=>{const b=m.positions[O];this._tileStyler.setStyle(L,b.row,b.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(m){m&&(this._element.nativeElement.style[m[0]]=m[1])}static#e=this.\u0275fac=function(l){return new(l||i)(e.Y36(e.SBq),e.Y36(T.Is,8))};static#t=this.\u0275cmp=e.Xpm({type:i,selectors:[["mat-grid-list"]],contentQueries:function(l,y,L){if(1&l&&e.Suo(L,I,5),2&l){let O;e.iGM(O=e.CRH())&&(y._tiles=O)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(l,y){2&l&&e.uIk("cols",y.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[e._Bn([{provide:M,useExisting:i}])],ngContentSelectors:c,decls:2,vars:0,template:function(l,y){1&l&&(e.F$t(),e.TgZ(0,"div"),e.Hsn(1),e.qZA())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}return i})(),ae=(()=>{class i{static#e=this.\u0275fac=function(l){return new(l||i)};static#t=this.\u0275mod=e.oAB({type:i});static#i=this.\u0275inj=e.cJS({imports:[t.uc,t.BQ,t.uc,t.BQ]})}return i})()},617:(Ue,q,p)=>{"use strict";p.d(q,{Hw:()=>V,Ps:()=>K});var e=p(5879),t=p(3680),g=p(2495),T=p(6814),c=p(2096),C=p(8504),u=p(9315),P=p(7394),d=p(9397),S=p(7398),M=p(6306),I=p(4716),D=p(3020),R=p(8180),F=p(9862),W=p(6593);const Y=["*"];let Q;function ne(se){return function J(){if(void 0===Q&&(Q=null,typeof window<"u")){const se=window;void 0!==se.trustedTypes&&(Q=se.trustedTypes.createPolicy("angular#components",{createHTML:Ye=>Ye}))}return Q}()?.createHTML(se)||se}function X(se){return Error(`Unable to find icon with the name "${se}"`)}function ie(se){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${se}".`)}function de(se){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${se}".`)}class te{constructor(Ye,Oe,Qe){this.url=Ye,this.svgText=Oe,this.options=Qe}}let ae=(()=>{class se{constructor(Oe,Qe,be,ue){this._httpClient=Oe,this._sanitizer=Qe,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=be}addSvgIcon(Oe,Qe,be){return this.addSvgIconInNamespace("",Oe,Qe,be)}addSvgIconLiteral(Oe,Qe,be){return this.addSvgIconLiteralInNamespace("",Oe,Qe,be)}addSvgIconInNamespace(Oe,Qe,be,ue){return this._addSvgIconConfig(Oe,Qe,new te(be,null,ue))}addSvgIconResolver(Oe){return this._resolvers.push(Oe),this}addSvgIconLiteralInNamespace(Oe,Qe,be,ue){const xe=this._sanitizer.sanitize(e.q3G.HTML,be);if(!xe)throw de(be);const Pe=ne(xe);return this._addSvgIconConfig(Oe,Qe,new te("",Pe,ue))}addSvgIconSet(Oe,Qe){return this.addSvgIconSetInNamespace("",Oe,Qe)}addSvgIconSetLiteral(Oe,Qe){return this.addSvgIconSetLiteralInNamespace("",Oe,Qe)}addSvgIconSetInNamespace(Oe,Qe,be){return this._addSvgIconSetConfig(Oe,new te(Qe,null,be))}addSvgIconSetLiteralInNamespace(Oe,Qe,be){const ue=this._sanitizer.sanitize(e.q3G.HTML,Qe);if(!ue)throw de(Qe);const xe=ne(ue);return this._addSvgIconSetConfig(Oe,new te("",xe,be))}registerFontClassAlias(Oe,Qe=Oe){return this._fontCssClassesByAlias.set(Oe,Qe),this}classNameForFontAlias(Oe){return this._fontCssClassesByAlias.get(Oe)||Oe}setDefaultFontSetClass(...Oe){return this._defaultFontSetClass=Oe,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Oe){const Qe=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Oe);if(!Qe)throw ie(Oe);const be=this._cachedIconsByUrl.get(Qe);return be?(0,c.of)(o(be)):this._loadSvgIconFromConfig(new te(Oe,null)).pipe((0,d.b)(ue=>this._cachedIconsByUrl.set(Qe,ue)),(0,S.U)(ue=>o(ue)))}getNamedSvgIcon(Oe,Qe=""){const be=m(Qe,Oe);let ue=this._svgIconConfigs.get(be);if(ue)return this._getSvgFromConfig(ue);if(ue=this._getIconConfigFromResolvers(Qe,Oe),ue)return this._svgIconConfigs.set(be,ue),this._getSvgFromConfig(ue);const xe=this._iconSetConfigs.get(Qe);return xe?this._getSvgFromIconSetConfigs(Oe,xe):(0,C._)(X(be))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Oe){return Oe.svgText?(0,c.of)(o(this._svgElementFromConfig(Oe))):this._loadSvgIconFromConfig(Oe).pipe((0,S.U)(Qe=>o(Qe)))}_getSvgFromIconSetConfigs(Oe,Qe){const be=this._extractIconWithNameFromAnySet(Oe,Qe);if(be)return(0,c.of)(be);const ue=Qe.filter(xe=>!xe.svgText).map(xe=>this._loadSvgIconSetFromConfig(xe).pipe((0,M.K)(Pe=>{const ze=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,xe.url)} failed: ${Pe.message}`;return this._errorHandler.handleError(new Error(ze)),(0,c.of)(null)})));return(0,u.D)(ue).pipe((0,S.U)(()=>{const xe=this._extractIconWithNameFromAnySet(Oe,Qe);if(!xe)throw X(Oe);return xe}))}_extractIconWithNameFromAnySet(Oe,Qe){for(let be=Qe.length-1;be>=0;be--){const ue=Qe[be];if(ue.svgText&&ue.svgText.toString().indexOf(Oe)>-1){const xe=this._svgElementFromConfig(ue),Pe=this._extractSvgIconFromSet(xe,Oe,ue.options);if(Pe)return Pe}}return null}_loadSvgIconFromConfig(Oe){return this._fetchIcon(Oe).pipe((0,d.b)(Qe=>Oe.svgText=Qe),(0,S.U)(()=>this._svgElementFromConfig(Oe)))}_loadSvgIconSetFromConfig(Oe){return Oe.svgText?(0,c.of)(null):this._fetchIcon(Oe).pipe((0,d.b)(Qe=>Oe.svgText=Qe))}_extractSvgIconFromSet(Oe,Qe,be){const ue=Oe.querySelector(`[id="${Qe}"]`);if(!ue)return null;const xe=ue.cloneNode(!0);if(xe.removeAttribute("id"),"svg"===xe.nodeName.toLowerCase())return this._setSvgAttributes(xe,be);if("symbol"===xe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(xe),be);const Pe=this._svgElementFromString(ne("<svg></svg>"));return Pe.appendChild(xe),this._setSvgAttributes(Pe,be)}_svgElementFromString(Oe){const Qe=this._document.createElement("DIV");Qe.innerHTML=Oe;const be=Qe.querySelector("svg");if(!be)throw Error("<svg> tag not found");return be}_toSvgElement(Oe){const Qe=this._svgElementFromString(ne("<svg></svg>")),be=Oe.attributes;for(let ue=0;ue<be.length;ue++){const{name:xe,value:Pe}=be[ue];"id"!==xe&&Qe.setAttribute(xe,Pe)}for(let ue=0;ue<Oe.childNodes.length;ue++)Oe.childNodes[ue].nodeType===this._document.ELEMENT_NODE&&Qe.appendChild(Oe.childNodes[ue].cloneNode(!0));return Qe}_setSvgAttributes(Oe,Qe){return Oe.setAttribute("fit",""),Oe.setAttribute("height","100%"),Oe.setAttribute("width","100%"),Oe.setAttribute("preserveAspectRatio","xMidYMid meet"),Oe.setAttribute("focusable","false"),Qe&&Qe.viewBox&&Oe.setAttribute("viewBox",Qe.viewBox),Oe}_fetchIcon(Oe){const{url:Qe,options:be}=Oe,ue=be?.withCredentials??!1;if(!this._httpClient)throw function pe(){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==Qe)throw Error(`Cannot fetch icon from URL "${Qe}".`);const xe=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Qe);if(!xe)throw ie(Qe);const Pe=this._inProgressUrlFetches.get(xe);if(Pe)return Pe;const oe=this._httpClient.get(xe,{responseType:"text",withCredentials:ue}).pipe((0,S.U)(ze=>ne(ze)),(0,I.x)(()=>this._inProgressUrlFetches.delete(xe)),(0,D.B)());return this._inProgressUrlFetches.set(xe,oe),oe}_addSvgIconConfig(Oe,Qe,be){return this._svgIconConfigs.set(m(Oe,Qe),be),this}_addSvgIconSetConfig(Oe,Qe){const be=this._iconSetConfigs.get(Oe);return be?be.push(Qe):this._iconSetConfigs.set(Oe,[Qe]),this}_svgElementFromConfig(Oe){if(!Oe.svgElement){const Qe=this._svgElementFromString(Oe.svgText);this._setSvgAttributes(Qe,Oe.options),Oe.svgElement=Qe}return Oe.svgElement}_getIconConfigFromResolvers(Oe,Qe){for(let be=0;be<this._resolvers.length;be++){const ue=this._resolvers[be](Qe,Oe);if(ue)return l(ue)?new te(ue.url,null,ue.options):new te(ue,null)}}static#e=this.\u0275fac=function(Qe){return new(Qe||se)(e.LFG(F.eN,8),e.LFG(W.H7),e.LFG(T.K0,8),e.LFG(e.qLn))};static#t=this.\u0275prov=e.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"})}return se})();function o(se){return se.cloneNode(!0)}function m(se,Ye){return se+":"+Ye}function l(se){return!(!se.url||!se.options)}const y=(0,t.pj)(class{constructor(se){this._elementRef=se}}),L=new e.OlP("MAT_ICON_DEFAULT_OPTIONS"),O=new e.OlP("mat-icon-location",{providedIn:"root",factory:function b(){const se=(0,e.f3M)(T.K0),Ye=se?se.location:null;return{getPathname:()=>Ye?Ye.pathname+Ye.search:""}}}),n=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],_=n.map(se=>`[${se}]`).join(", "),H=/^url\(['"]?#(.*?)['"]?\)$/;let V=(()=>{class se extends y{get inline(){return this._inline}set inline(Oe){this._inline=(0,g.Ig)(Oe)}get svgIcon(){return this._svgIcon}set svgIcon(Oe){Oe!==this._svgIcon&&(Oe?this._updateSvgIcon(Oe):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Oe)}get fontSet(){return this._fontSet}set fontSet(Oe){const Qe=this._cleanupFontValue(Oe);Qe!==this._fontSet&&(this._fontSet=Qe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Oe){const Qe=this._cleanupFontValue(Oe);Qe!==this._fontIcon&&(this._fontIcon=Qe,this._updateFontIconClasses())}constructor(Oe,Qe,be,ue,xe,Pe){super(Oe),this._iconRegistry=Qe,this._location=ue,this._errorHandler=xe,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=P.w0.EMPTY,Pe&&(Pe.color&&(this.color=this.defaultColor=Pe.color),Pe.fontSet&&(this.fontSet=Pe.fontSet)),be||Oe.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Oe){if(!Oe)return["",""];const Qe=Oe.split(":");switch(Qe.length){case 1:return["",Qe[0]];case 2:return Qe;default:throw Error(`Invalid icon name: "${Oe}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Oe=this._elementsWithExternalReferences;if(Oe&&Oe.size){const Qe=this._location.getPathname();Qe!==this._previousPath&&(this._previousPath=Qe,this._prependPathToReferences(Qe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Oe){this._clearSvgElement();const Qe=this._location.getPathname();this._previousPath=Qe,this._cacheChildrenWithExternalReferences(Oe),this._prependPathToReferences(Qe),this._elementRef.nativeElement.appendChild(Oe)}_clearSvgElement(){const Oe=this._elementRef.nativeElement;let Qe=Oe.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Qe--;){const be=Oe.childNodes[Qe];(1!==be.nodeType||"svg"===be.nodeName.toLowerCase())&&be.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Oe=this._elementRef.nativeElement,Qe=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(be=>be.length>0);this._previousFontSetClass.forEach(be=>Oe.classList.remove(be)),Qe.forEach(be=>Oe.classList.add(be)),this._previousFontSetClass=Qe,this.fontIcon!==this._previousFontIconClass&&!Qe.includes("mat-ligature-font")&&(this._previousFontIconClass&&Oe.classList.remove(this._previousFontIconClass),this.fontIcon&&Oe.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Oe){return"string"==typeof Oe?Oe.trim().split(" ")[0]:Oe}_prependPathToReferences(Oe){const Qe=this._elementsWithExternalReferences;Qe&&Qe.forEach((be,ue)=>{be.forEach(xe=>{ue.setAttribute(xe.name,`url('${Oe}#${xe.value}')`)})})}_cacheChildrenWithExternalReferences(Oe){const Qe=Oe.querySelectorAll(_),be=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let ue=0;ue<Qe.length;ue++)n.forEach(xe=>{const Pe=Qe[ue],oe=Pe.getAttribute(xe),ze=oe?oe.match(H):null;if(ze){let we=be.get(Pe);we||(we=[],be.set(Pe,we)),we.push({name:xe,value:ze[1]})}})}_updateSvgIcon(Oe){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Oe){const[Qe,be]=this._splitIconName(Oe);Qe&&(this._svgNamespace=Qe),be&&(this._svgName=be),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(be,Qe).pipe((0,R.q)(1)).subscribe(ue=>this._setSvgElement(ue),ue=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Qe}:${be}! ${ue.message}`))})}}static#e=this.\u0275fac=function(Qe){return new(Qe||se)(e.Y36(e.SBq),e.Y36(ae),e.$8M("aria-hidden"),e.Y36(O),e.Y36(e.qLn),e.Y36(L,8))};static#t=this.\u0275cmp=e.Xpm({type:se,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(Qe,be){2&Qe&&(e.uIk("data-mat-icon-type",be._usingFontIcon()?"font":"svg")("data-mat-icon-name",be._svgName||be.fontIcon)("data-mat-icon-namespace",be._svgNamespace||be.fontSet)("fontIcon",be._usingFontIcon()?be.fontIcon:null),e.ekj("mat-icon-inline",be.inline)("mat-icon-no-color","primary"!==be.color&&"accent"!==be.color&&"warn"!==be.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:Y,decls:1,vars:0,template:function(Qe,be){1&Qe&&(e.F$t(),e.Hsn(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return se})(),K=(()=>{class se{static#e=this.\u0275fac=function(Qe){return new(Qe||se)};static#t=this.\u0275mod=e.oAB({type:se});static#i=this.\u0275inj=e.cJS({imports:[t.BQ,t.BQ]})}return se})()},2032:(Ue,q,p)=>{"use strict";p.d(q,{Jk:()=>F,Nt:()=>J,c:()=>ne});var e=p(2495),t=p(2831),g=p(5879),T=p(6232),c=p(8645);const C=(0,t.i$)({passive:!0});let u=(()=>{class X{constructor(ie,de){this._platform=ie,this._ngZone=de,this._monitoredElements=new Map}monitor(ie){if(!this._platform.isBrowser)return T.E;const de=(0,e.fI)(ie),te=this._monitoredElements.get(de);if(te)return te.subject;const ae=new c.x,E="cdk-text-field-autofilled",i=o=>{"cdk-text-field-autofill-start"!==o.animationName||de.classList.contains(E)?"cdk-text-field-autofill-end"===o.animationName&&de.classList.contains(E)&&(de.classList.remove(E),this._ngZone.run(()=>ae.next({target:o.target,isAutofilled:!1}))):(de.classList.add(E),this._ngZone.run(()=>ae.next({target:o.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{de.addEventListener("animationstart",i,C),de.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(de,{subject:ae,unlisten:()=>{de.removeEventListener("animationstart",i,C)}}),ae}stopMonitoring(ie){const de=(0,e.fI)(ie),te=this._monitoredElements.get(de);te&&(te.unlisten(),te.subject.complete(),de.classList.remove("cdk-text-field-autofill-monitored"),de.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(de))}ngOnDestroy(){this._monitoredElements.forEach((ie,de)=>this.stopMonitoring(de))}static#e=this.\u0275fac=function(de){return new(de||X)(g.LFG(t.t4),g.LFG(g.R0b))};static#t=this.\u0275prov=g.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})(),S=(()=>{class X{static#e=this.\u0275fac=function(de){return new(de||X)};static#t=this.\u0275mod=g.oAB({type:X});static#i=this.\u0275inj=g.cJS({})}return X})();var M=p(6223),I=p(3680),D=p(5683);const F=new g.OlP("MAT_INPUT_VALUE_ACCESSOR"),W=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Y=0;const Q=(0,I.FD)(class{constructor(X,pe,ie,de){this._defaultErrorStateMatcher=X,this._parentForm=pe,this._parentFormGroup=ie,this.ngControl=de,this.stateChanges=new c.x}});let J=(()=>{class X extends Q{get disabled(){return this._disabled}set disabled(ie){this._disabled=(0,e.Ig)(ie),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ie){this._id=ie||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(M.kI.required)??!1}set required(ie){this._required=(0,e.Ig)(ie)}get type(){return this._type}set type(ie){this._type=ie||"text",this._validateType(),!this._isTextarea&&(0,t.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(ie){ie!==this.value&&(this._inputValueAccessor.value=ie,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ie){this._readonly=(0,e.Ig)(ie)}constructor(ie,de,te,ae,E,i,o,m,l,y){super(i,ae,E,te),this._elementRef=ie,this._platform=de,this._autofillMonitor=m,this._formField=y,this._uid="mat-input-"+Y++,this.focused=!1,this.stateChanges=new c.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(b=>(0,t.qK)().has(b)),this._iOSKeyupListener=b=>{const n=b.target;!n.value&&0===n.selectionStart&&0===n.selectionEnd&&(n.setSelectionRange(1,1),n.setSelectionRange(0,0))};const L=this._elementRef.nativeElement,O=L.nodeName.toLowerCase();this._inputValueAccessor=o||L,this._previousNativeValue=this.value,this.id=this.id,de.IOS&&l.runOutsideAngular(()=>{ie.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===O,this._isTextarea="textarea"===O,this._isInFormField=!!y,this._isNativeSelect&&(this.controlType=L.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ie=>{this.autofilled=ie.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(ie){this._elementRef.nativeElement.focus(ie)}_focusChanged(ie){ie!==this.focused&&(this.focused=ie,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const ie=this._elementRef.nativeElement.value;this._previousNativeValue!==ie&&(this._previousNativeValue=ie,this.stateChanges.next())}_dirtyCheckPlaceholder(){const ie=this._getPlaceholder();if(ie!==this._previousPlaceholder){const de=this._elementRef.nativeElement;this._previousPlaceholder=ie,ie?de.setAttribute("placeholder",ie):de.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){W.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ie=this._elementRef.nativeElement.validity;return ie&&ie.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ie=this._elementRef.nativeElement,de=ie.options[0];return this.focused||ie.multiple||!this.empty||!!(ie.selectedIndex>-1&&de&&de.label)}return this.focused||!this.empty}setDescribedByIds(ie){ie.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ie.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ie=this._elementRef.nativeElement;return this._isNativeSelect&&(ie.multiple||ie.size>1)}static#e=this.\u0275fac=function(de){return new(de||X)(g.Y36(g.SBq),g.Y36(t.t4),g.Y36(M.a5,10),g.Y36(M.F,8),g.Y36(M.sg,8),g.Y36(I.rD),g.Y36(F,10),g.Y36(u),g.Y36(g.R0b),g.Y36(D.G_,8))};static#t=this.\u0275dir=g.lG2({type:X,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(de,te){1&de&&g.NdJ("focus",function(){return te._focusChanged(!0)})("blur",function(){return te._focusChanged(!1)})("input",function(){return te._onInput()}),2&de&&(g.Ikx("id",te.id)("disabled",te.disabled)("required",te.required),g.uIk("name",te.name||null)("readonly",te.readonly&&!te._isNativeSelect||null)("aria-invalid",te.empty&&te.required?null:te.errorState)("aria-required",te.required)("id",te.id),g.ekj("mat-input-server",te._isServer)("mat-mdc-form-field-textarea-control",te._isInFormField&&te._isTextarea)("mat-mdc-form-field-input-control",te._isInFormField)("mdc-text-field__input",te._isInFormField)("mat-mdc-native-select-inline",te._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:D.Eo,useExisting:X}]),g.qOj,g.TTD]})}return X})(),ne=(()=>{class X{static#e=this.\u0275fac=function(de){return new(de||X)};static#t=this.\u0275mod=g.oAB({type:X});static#i=this.\u0275inj=g.cJS({imports:[I.BQ,D.lN,D.lN,S,I.BQ]})}return X})()},9038:(Ue,q,p)=>{"use strict";p.d(q,{Tg:()=>ge,i$:()=>le,ie:()=>xt});var e=p(5879),t=p(2495),g=p(2831),T=p(3680),c=p(7394),C=p(3019),P=(p(8645),p(7131)),d=p(6814),S=p(6385);p(4300),p(8337),p(6028),p(6223),p(9773);const W=["*"],Q=["unscopedContent"],J=["text"],ne=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],X=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],V=new e.OlP("ListOption");let K=(()=>{class ct{constructor(Ct){this._elementRef=Ct}static#e=this.\u0275fac=function(ke){return new(ke||ct)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:ct,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return ct})(),se=(()=>{class ct{constructor(Ct){this._elementRef=Ct}static#e=this.\u0275fac=function(ke){return new(ke||ct)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:ct,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return ct})(),Ye=(()=>{class ct{static#e=this.\u0275fac=function(ke){return new(ke||ct)};static#t=this.\u0275dir=e.lG2({type:ct,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return ct})(),Oe=(()=>{class ct{constructor(Ct){this._listOption=Ct}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static#e=this.\u0275fac=function(ke){return new(ke||ct)(e.Y36(V,8))};static#t=this.\u0275dir=e.lG2({type:ct,hostVars:4,hostBindings:function(ke,ot){2&ke&&e.ekj("mdc-list-item__start",ot._isAlignedAtStart())("mdc-list-item__end",!ot._isAlignedAtStart())}})}return ct})(),Qe=(()=>{class ct extends Oe{static#e=this.\u0275fac=function(){let Ct;return function(ot){return(Ct||(Ct=e.n5z(ct)))(ot||ct)}}();static#t=this.\u0275dir=e.lG2({type:ct,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[e.qOj]})}return ct})(),be=(()=>{class ct extends Oe{static#e=this.\u0275fac=function(){let Ct;return function(ot){return(Ct||(Ct=e.n5z(ct)))(ot||ct)}}();static#t=this.\u0275dir=e.lG2({type:ct,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[e.qOj]})}return ct})();const ue=new e.OlP("MAT_LIST_CONFIG");let xe=(()=>{class ct{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,e.f3M)(ue,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(Ct){this._disableRipple=(0,t.Ig)(Ct)}get disabled(){return this._disabled}set disabled(Ct){this._disabled=(0,t.Ig)(Ct)}static#e=this.\u0275fac=function(ke){return new(ke||ct)};static#t=this.\u0275dir=e.lG2({type:ct,hostVars:1,hostBindings:function(ke,ot){2&ke&&e.uIk("aria-disabled",ot.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return ct})(),Pe=(()=>{class ct{set lines(Ct){this._explicitLines=(0,t.su)(Ct,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(Ct){this._disableRipple=(0,t.Ig)(Ct)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(Ct){this._disabled=(0,t.Ig)(Ct)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(Ct,ke,ot,Je,re,Be){this._elementRef=Ct,this._ngZone=ke,this._listBase=ot,this._platform=Je,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new c.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=re||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===Be,ot&&!ot._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new T.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(Ct){if(!this._lines||!this._titles||!this._unscopedContent)return;Ct&&this._checkDomForUnscopedTextContent();const ke=this._explicitLines??this._inferLinesFromContent(),ot=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 Je=0===this._titles.length&&1===ke;ot.classList.toggle("mdc-list-item__primary-text",Je),ot.classList.toggle("mdc-list-item__secondary-text",!Je)}else ot.classList.remove("mdc-list-item__primary-text"),ot.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let Ct=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(Ct+=1),Ct}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(Ct=>Ct.nodeType!==Ct.COMMENT_NODE).some(Ct=>!(!Ct.textContent||!Ct.textContent.trim()))}static#e=this.\u0275fac=function(ke){return new(ke||ct)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(xe,8),e.Y36(g.t4),e.Y36(T.Y2,8),e.Y36(e.QbO,8))};static#t=this.\u0275dir=e.lG2({type:ct,contentQueries:function(ke,ot,Je){if(1&ke&&(e.Suo(Je,Qe,4),e.Suo(Je,be,4)),2&ke){let re;e.iGM(re=e.CRH())&&(ot._avatars=re),e.iGM(re=e.CRH())&&(ot._icons=re)}},hostVars:4,hostBindings:function(ke,ot){2&ke&&(e.uIk("aria-disabled",ot.disabled)("disabled",ot._isButtonElement&&ot.disabled||null),e.ekj("mdc-list-item--disabled",ot.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return ct})(),le=(()=>{class ct extends xe{static#e=this.\u0275fac=function(){let Ct;return function(ot){return(Ct||(Ct=e.n5z(ct)))(ot||ct)}}();static#t=this.\u0275cmp=e.Xpm({type:ct,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[e._Bn([{provide:xe,useExisting:ct}]),e.qOj],ngContentSelectors:W,decls:1,vars:0,template:function(ke,ot){1&ke&&(e.F$t(),e.Hsn(0))},styles:['@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}'],encapsulation:2,changeDetection:0})}return ct})(),ge=(()=>{class ct extends Pe{get activated(){return this._activated}set activated(Ct){this._activated=(0,t.Ig)(Ct)}constructor(Ct,ke,ot,Je,re,Be){super(Ct,ke,ot,Je,re,Be),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}static#e=this.\u0275fac=function(ke){return new(ke||ct)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(xe,8),e.Y36(g.t4),e.Y36(T.Y2,8),e.Y36(e.QbO,8))};static#t=this.\u0275cmp=e.Xpm({type:ct,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(ke,ot,Je){if(1&ke&&(e.Suo(Je,se,5),e.Suo(Je,K,5),e.Suo(Je,Ye,5)),2&ke){let re;e.iGM(re=e.CRH())&&(ot._lines=re),e.iGM(re=e.CRH())&&(ot._titles=re),e.iGM(re=e.CRH())&&(ot._meta=re)}},viewQuery:function(ke,ot){if(1&ke&&(e.Gf(Q,5),e.Gf(J,5)),2&ke){let Je;e.iGM(Je=e.CRH())&&(ot._unscopedContent=Je.first),e.iGM(Je=e.CRH())&&(ot._itemText=Je.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(ke,ot){2&ke&&(e.uIk("aria-current",ot._getAriaCurrent()),e.ekj("mdc-list-item--activated",ot.activated)("mdc-list-item--with-leading-avatar",0!==ot._avatars.length)("mdc-list-item--with-leading-icon",0!==ot._icons.length)("mdc-list-item--with-trailing-meta",0!==ot._meta.length)("_mat-animation-noopable",ot._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[e.qOj],ngContentSelectors:X,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(ke,ot){1&ke&&(e.F$t(ne),e.Hsn(0),e.TgZ(1,"span",0),e.Hsn(2,1),e.Hsn(3,2),e.TgZ(4,"span",1,2),e.NdJ("cdkObserveContent",function(){return ot._updateItemLines(!0)}),e.Hsn(6,3),e.qZA()(),e.Hsn(7,4),e.Hsn(8,5),e._UZ(9,"div",3))},dependencies:[P.wD],encapsulation:2,changeDetection:0})}return ct})(),xt=(()=>{class ct{static#e=this.\u0275fac=function(ke){return new(ke||ct)};static#t=this.\u0275mod=e.oAB({type:ct});static#i=this.\u0275inj=e.cJS({imports:[P.Q8,d.ez,T.BQ,T.si,T.us,S.t]})}return ct})()},7988:(Ue,q,p)=>{"use strict";p.d(q,{OP:()=>y,Tx:()=>fe,VK:()=>ue,p6:()=>ge});var e=p(5879),t=p(4300),g=p(2495),T=p(6028),c=p(8645),C=p(3019),u=p(7394),P=p(2096),d=p(6410),S=p(7921),M=p(4664),I=p(8180),D=p(9773),R=p(2181),F=p(932),W=p(3680),Y=p(6814),Q=p(8484),J=p(6825),ne=p(9388),X=p(3651),pe=p(2831),ie=p(5407);const de=["mat-menu-item",""];function te(Ge,Le){1&Ge&&(e.O4$(),e.TgZ(0,"svg",3),e._UZ(1,"polygon",4),e.qZA())}const ae=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],E=["mat-icon, [matMenuItemIcon]","*"];function i(Ge,Le){if(1&Ge){const Ne=e.EpF();e.TgZ(0,"div",0),e.NdJ("keydown",function(at){e.CHM(Ne);const ve=e.oxw();return e.KtG(ve._handleKeydown(at))})("click",function(){e.CHM(Ne);const at=e.oxw();return e.KtG(at.closed.emit("click"))})("@transformMenu.start",function(at){e.CHM(Ne);const ve=e.oxw();return e.KtG(ve._onAnimationStart(at))})("@transformMenu.done",function(at){e.CHM(Ne);const ve=e.oxw();return e.KtG(ve._onAnimationDone(at))}),e.TgZ(1,"div",1),e.Hsn(2),e.qZA()()}if(2&Ge){const Ne=e.oxw();e.Q6J("id",Ne.panelId)("ngClass",Ne._classList)("@transformMenu",Ne._panelAnimationState),e.uIk("aria-label",Ne.ariaLabel||null)("aria-labelledby",Ne.ariaLabelledby||null)("aria-describedby",Ne.ariaDescribedby||null)}}const o=["*"],m=new e.OlP("MAT_MENU_PANEL"),l=(0,W.Kr)((0,W.Id)(class{}));let y=(()=>{class Ge extends l{constructor(Ne,Ve,at,ve,De){super(),this._elementRef=Ne,this._document=Ve,this._focusMonitor=at,this._parentMenu=ve,this._changeDetectorRef=De,this.role="menuitem",this._hovered=new c.x,this._focused=new c.x,this._highlighted=!1,this._triggersSubmenu=!1,ve?.addItem?.(this)}focus(Ne,Ve){this._focusMonitor&&Ne?this._focusMonitor.focusVia(this._getHostElement(),Ne,Ve):this._getHostElement().focus(Ve),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Ne){this.disabled&&(Ne.preventDefault(),Ne.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Ne=this._elementRef.nativeElement.cloneNode(!0),Ve=Ne.querySelectorAll("mat-icon, .material-icons");for(let at=0;at<Ve.length;at++)Ve[at].remove();return Ne.textContent?.trim()||""}_setHighlighted(Ne){this._highlighted=Ne,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(Ne){this._triggersSubmenu=Ne,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static#e=this.\u0275fac=function(Ve){return new(Ve||Ge)(e.Y36(e.SBq),e.Y36(Y.K0),e.Y36(t.tE),e.Y36(m,8),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:Ge,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(Ve,at){1&Ve&&e.NdJ("click",function(De){return at._checkDisabled(De)})("mouseenter",function(){return at._handleMouseEnter()}),2&Ve&&(e.uIk("role",at.role)("tabindex",at._getTabIndex())("aria-disabled",at.disabled)("disabled",at.disabled||null),e.ekj("mat-mdc-menu-item-highlighted",at._highlighted)("mat-mdc-menu-item-submenu-trigger",at._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[e.qOj],attrs:de,ngContentSelectors:E,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(Ve,at){1&Ve&&(e.F$t(ae),e.Hsn(0),e.TgZ(1,"span",0),e.Hsn(2,1),e.qZA(),e._UZ(3,"div",1),e.YNc(4,te,2,0,"svg",2)),2&Ve&&(e.xp6(3),e.Q6J("matRippleDisabled",at.disableRipple||at.disabled)("matRippleTrigger",at._getHostElement()),e.xp6(1),e.Q6J("ngIf",at._triggersSubmenu))},dependencies:[Y.O5,W.wG],encapsulation:2,changeDetection:0})}return Ge})();const n=new e.OlP("MatMenuContent"),V={transformMenu:(0,J.X$)("transformMenu",[(0,J.SB)("void",(0,J.oB)({opacity:0,transform:"scale(0.8)"})),(0,J.eR)("void => enter",(0,J.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,J.oB)({opacity:1,transform:"scale(1)"}))),(0,J.eR)("* => void",(0,J.jt)("100ms 25ms linear",(0,J.oB)({opacity:0})))]),fadeInItems:(0,J.X$)("fadeInItems",[(0,J.SB)("showing",(0,J.oB)({opacity:1})),(0,J.eR)("void => *",[(0,J.oB)({opacity:0}),(0,J.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ye=0;const Oe=new e.OlP("mat-menu-default-options",{providedIn:"root",factory:function Qe(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let be=(()=>{class Ge{get xPosition(){return this._xPosition}set xPosition(Ne){this._xPosition=Ne,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ne){this._yPosition=Ne,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Ne){this._overlapTrigger=(0,g.Ig)(Ne)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Ne){this._hasBackdrop=(0,g.Ig)(Ne)}set panelClass(Ne){const Ve=this._previousPanelClass;Ve&&Ve.length&&Ve.split(" ").forEach(at=>{this._classList[at]=!1}),this._previousPanelClass=Ne,Ne&&Ne.length&&(Ne.split(" ").forEach(at=>{this._classList[at]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Ne){this.panelClass=Ne}constructor(Ne,Ve,at,ve){this._elementRef=Ne,this._ngZone=Ve,this._changeDetectorRef=ve,this._directDescendantItems=new e.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new c.x,this.closed=new e.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Ye++,this.overlayPanelClass=at.overlayPanelClass||"",this._xPosition=at.xPosition,this._yPosition=at.yPosition,this.backdropClass=at.backdropClass,this._overlapTrigger=at.overlapTrigger,this._hasBackdrop=at.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new t.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,S.O)(this._directDescendantItems),(0,M.w)(Ne=>(0,C.T)(...Ne.map(Ve=>Ve._focused)))).subscribe(Ne=>this._keyManager.updateActiveItem(Ne)),this._directDescendantItems.changes.subscribe(Ne=>{const Ve=this._keyManager;if("enter"===this._panelAnimationState&&Ve.activeItem?._hasFocus()){const at=Ne.toArray(),ve=Math.max(0,Math.min(at.length-1,Ve.activeItemIndex||0));at[ve]&&!at[ve].disabled?Ve.setActiveItem(ve):Ve.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,S.O)(this._directDescendantItems),(0,M.w)(Ve=>(0,C.T)(...Ve.map(at=>at._hovered))))}addItem(Ne){}removeItem(Ne){}_handleKeydown(Ne){const Ve=Ne.keyCode,at=this._keyManager;switch(Ve){case T.hY:(0,T.Vb)(Ne)||(Ne.preventDefault(),this.closed.emit("keydown"));break;case T.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case T.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Ve===T.LH||Ve===T.JH)&&at.setFocusOrigin("keyboard"),void at.onKeydown(Ne)}Ne.stopPropagation()}focusFirstItem(Ne="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,I.q)(1)).subscribe(()=>{let Ve=null;if(this._directDescendantItems.length&&(Ve=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Ve||!Ve.contains(document.activeElement)){const at=this._keyManager;at.setFocusOrigin(Ne).setFirstItemActive(),!at.activeItem&&Ve&&Ve.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ne){const Ve=Math.min(this._baseElevation+Ne,24),at=`${this._elevationPrefix}${Ve}`,ve=Object.keys(this._classList).find(De=>De.startsWith(this._elevationPrefix));(!ve||ve===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[at]=!0,this._previousElevation=at)}setPositionClasses(Ne=this.xPosition,Ve=this.yPosition){const at=this._classList;at["mat-menu-before"]="before"===Ne,at["mat-menu-after"]="after"===Ne,at["mat-menu-above"]="above"===Ve,at["mat-menu-below"]="below"===Ve,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Ne){this._animationDone.next(Ne),this._isAnimating=!1}_onAnimationStart(Ne){this._isAnimating=!0,"enter"===Ne.toState&&0===this._keyManager.activeItemIndex&&(Ne.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,S.O)(this._allItems)).subscribe(Ne=>{this._directDescendantItems.reset(Ne.filter(Ve=>Ve._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(Ve){return new(Ve||Ge)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Oe),e.Y36(e.sBO))};static#t=this.\u0275dir=e.lG2({type:Ge,contentQueries:function(Ve,at,ve){if(1&Ve&&(e.Suo(ve,n,5),e.Suo(ve,y,5),e.Suo(ve,y,4)),2&Ve){let De;e.iGM(De=e.CRH())&&(at.lazyContent=De.first),e.iGM(De=e.CRH())&&(at._allItems=De),e.iGM(De=e.CRH())&&(at.items=De)}},viewQuery:function(Ve,at){if(1&Ve&&e.Gf(e.Rgc,5),2&Ve){let ve;e.iGM(ve=e.CRH())&&(at.templateRef=ve.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"}})}return Ge})(),ue=(()=>{class Ge extends be{constructor(Ne,Ve,at,ve){super(Ne,Ve,at,ve),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}static#e=this.\u0275fac=function(Ve){return new(Ve||Ge)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Oe),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:Ge,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(Ve,at){2&Ve&&e.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[e._Bn([{provide:m,useExisting:Ge}]),e.qOj],ngContentSelectors:o,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(Ve,at){1&Ve&&(e.F$t(),e.YNc(0,i,3,6,"ng-template"))},dependencies:[Y.mk],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[V.transformMenu,V.fadeInItems]},changeDetection:0})}return Ge})();const xe=new e.OlP("mat-menu-scroll-strategy"),oe={provide:xe,deps:[X.aV],useFactory:function Pe(Ge){return()=>Ge.scrollStrategies.reposition()}},ze=(0,pe.i$)({passive:!0});let le=(()=>{class Ge{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ne){this.menu=Ne}get menu(){return this._menu}set menu(Ne){Ne!==this._menu&&(this._menu=Ne,this._menuCloseSubscription.unsubscribe(),Ne&&(this._menuCloseSubscription=Ne.close.subscribe(Ve=>{this._destroyMenu(Ve),("click"===Ve||"tab"===Ve)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Ve)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Ne,Ve,at,ve,De,xt,ct,et,Ct){this._overlay=Ne,this._element=Ve,this._viewContainerRef=at,this._menuItemInstance=xt,this._dir=ct,this._focusMonitor=et,this._ngZone=Ct,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=u.w0.EMPTY,this._hoverSubscription=u.w0.EMPTY,this._menuCloseSubscription=u.w0.EMPTY,this._changeDetectorRef=(0,e.f3M)(e.sBO),this._handleTouchStart=ke=>{(0,t.yG)(ke)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new e.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=ve,this._parentMaterialMenu=De instanceof be?De:void 0,Ve.nativeElement.addEventListener("touchstart",this._handleTouchStart,ze)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,ze),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 Ne=this.menu;if(this._menuOpen||!Ne)return;const Ve=this._createOverlay(Ne),at=Ve.getConfig(),ve=at.positionStrategy;this._setPosition(Ne,ve),at.hasBackdrop=null==Ne.hasBackdrop?!this.triggersSubmenu():Ne.hasBackdrop,Ve.attach(this._getPortal(Ne)),Ne.lazyContent&&Ne.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Ne),Ne instanceof be&&(Ne._startAnimation(),Ne._directDescendantItems.changes.pipe((0,D.R)(Ne.close)).subscribe(()=>{ve.withLockedPosition(!1).reapplyLastPosition(),ve.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Ne,Ve){this._focusMonitor&&Ne?this._focusMonitor.focusVia(this._element,Ne,Ve):this._element.nativeElement.focus(Ve)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Ne){if(!this._overlayRef||!this.menuOpen)return;const Ve=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Ne||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Ve instanceof be?(Ve._resetAnimation(),Ve.lazyContent?Ve._animationDone.pipe((0,R.h)(at=>"void"===at.toState),(0,I.q)(1),(0,D.R)(Ve.lazyContent._attached)).subscribe({next:()=>Ve.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Ve?.lazyContent?.detach())}_initMenu(Ne){Ne.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Ne.direction=this.dir,this._setMenuElevation(Ne),Ne.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Ne){if(Ne.setElevation){let Ve=0,at=Ne.parentMenu;for(;at;)Ve++,at=at.parentMenu;Ne.setElevation(Ve)}}_setIsMenuOpen(Ne){Ne!==this._menuOpen&&(this._menuOpen=Ne,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ne),this._changeDetectorRef.markForCheck())}_createOverlay(Ne){if(!this._overlayRef){const Ve=this._getOverlayConfig(Ne);this._subscribeToPositions(Ne,Ve.positionStrategy),this._overlayRef=this._overlay.create(Ve),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Ne){return new X.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Ne.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Ne.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Ne,Ve){Ne.setPositionClasses&&Ve.positionChanges.subscribe(at=>{const ve="start"===at.connectionPair.overlayX?"after":"before",De="top"===at.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Ne.setPositionClasses(ve,De)):Ne.setPositionClasses(ve,De)})}_setPosition(Ne,Ve){let[at,ve]="before"===Ne.xPosition?["end","start"]:["start","end"],[De,xt]="above"===Ne.yPosition?["bottom","top"]:["top","bottom"],[ct,et]=[De,xt],[Ct,ke]=[at,ve],ot=0;if(this.triggersSubmenu()){if(ke=at="before"===Ne.xPosition?"start":"end",ve=Ct="end"===at?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Je=this._parentMaterialMenu.items.first;this._parentInnerPadding=Je?Je._getHostElement().offsetTop:0}ot="bottom"===De?this._parentInnerPadding:-this._parentInnerPadding}}else Ne.overlapTrigger||(ct="top"===De?"bottom":"top",et="top"===xt?"bottom":"top");Ve.withPositions([{originX:at,originY:ct,overlayX:Ct,overlayY:De,offsetY:ot},{originX:ve,originY:ct,overlayX:ke,overlayY:De,offsetY:ot},{originX:at,originY:et,overlayX:Ct,overlayY:xt,offsetY:-ot},{originX:ve,originY:et,overlayX:ke,overlayY:xt,offsetY:-ot}])}_menuClosingActions(){const Ne=this._overlayRef.backdropClick(),Ve=this._overlayRef.detachments(),at=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,P.of)(),ve=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,R.h)(De=>De!==this._menuItemInstance),(0,R.h)(()=>this._menuOpen)):(0,P.of)();return(0,C.T)(Ne,at,ve,Ve)}_handleMousedown(Ne){(0,t.X6)(Ne)||(this._openedBy=0===Ne.button?"mouse":void 0,this.triggersSubmenu()&&Ne.preventDefault())}_handleKeydown(Ne){const Ve=Ne.keyCode;(Ve===T.K5||Ve===T.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Ve===T.SV&&"ltr"===this.dir||Ve===T.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ne){this.triggersSubmenu()?(Ne.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,R.h)(Ne=>Ne===this._menuItemInstance&&!Ne.disabled),(0,F.g)(0,d.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof be&&this.menu._isAnimating?this.menu._animationDone.pipe((0,I.q)(1),(0,F.g)(0,d.E),(0,D.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(Ne){return(!this._portal||this._portal.templateRef!==Ne.templateRef)&&(this._portal=new Q.UE(Ne.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(Ve){return new(Ve||Ge)(e.Y36(X.aV),e.Y36(e.SBq),e.Y36(e.s_b),e.Y36(xe),e.Y36(m,8),e.Y36(y,10),e.Y36(ne.Is,8),e.Y36(t.tE),e.Y36(e.R0b))};static#t=this.\u0275dir=e.lG2({type:Ge,hostVars:3,hostBindings:function(Ve,at){1&Ve&&e.NdJ("click",function(De){return at._handleClick(De)})("mousedown",function(De){return at._handleMousedown(De)})("keydown",function(De){return at._handleKeydown(De)}),2&Ve&&e.uIk("aria-haspopup",at.menu?"menu":null)("aria-expanded",at.menuOpen)("aria-controls",at.menuOpen?at.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"}})}return Ge})(),ge=(()=>{class Ge extends le{static#e=this.\u0275fac=function(){let Ne;return function(at){return(Ne||(Ne=e.n5z(Ge)))(at||Ge)}}();static#t=this.\u0275dir=e.lG2({type:Ge,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[e.qOj]})}return Ge})(),fe=(()=>{class Ge{static#e=this.\u0275fac=function(Ve){return new(Ve||Ge)};static#t=this.\u0275mod=e.oAB({type:Ge});static#i=this.\u0275inj=e.cJS({providers:[oe],imports:[Y.ez,W.si,W.BQ,X.U8,ie.ZD,W.BQ]})}return Ge})()},1476:(Ue,q,p)=>{"use strict";p.d(q,{NW:()=>te,TU:()=>ae,ye:()=>W});var e=p(6814),t=p(5879),g=p(8645),T=p(2296),c=p(8525),C=p(2596),u=p(3680),P=p(2495),d=p(5683);function S(E,i){if(1&E&&(t.TgZ(0,"mat-option",19),t._uU(1),t.qZA()),2&E){const o=i.$implicit;t.Q6J("value",o),t.xp6(1),t.hij(" ",o," ")}}function M(E,i){if(1&E){const o=t.EpF();t.TgZ(0,"mat-form-field",16)(1,"mat-select",17),t.NdJ("selectionChange",function(l){t.CHM(o);const y=t.oxw(2);return t.KtG(y._changePageSize(l.value))}),t.YNc(2,S,2,2,"mat-option",18),t.qZA()()}if(2&E){const o=t.oxw(2);t.Q6J("appearance",o._formFieldAppearance)("color",o.color),t.xp6(1),t.Q6J("value",o.pageSize)("disabled",o.disabled)("aria-labelledby",o._pageSizeLabelId)("panelClass",o.selectConfig.panelClass||"")("disableOptionCentering",o.selectConfig.disableOptionCentering),t.xp6(1),t.Q6J("ngForOf",o._displayedPageSizeOptions)}}function I(E,i){if(1&E&&(t.TgZ(0,"div",20),t._uU(1),t.qZA()),2&E){const o=t.oxw(2);t.xp6(1),t.Oqu(o.pageSize)}}function D(E,i){if(1&E&&(t.TgZ(0,"div",12)(1,"div",13),t._uU(2),t.qZA(),t.YNc(3,M,3,8,"mat-form-field",14),t.YNc(4,I,2,1,"div",15),t.qZA()),2&E){const o=t.oxw();t.xp6(1),t.s9C("id",o._pageSizeLabelId),t.xp6(1),t.hij(" ",o._intl.itemsPerPageLabel," "),t.xp6(1),t.Q6J("ngIf",o._displayedPageSizeOptions.length>1),t.xp6(1),t.Q6J("ngIf",o._displayedPageSizeOptions.length<=1)}}function R(E,i){if(1&E){const o=t.EpF();t.TgZ(0,"button",21),t.NdJ("click",function(){t.CHM(o);const l=t.oxw();return t.KtG(l.firstPage())}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",22),t.qZA()()}if(2&E){const o=t.oxw();t.Q6J("matTooltip",o._intl.firstPageLabel)("matTooltipDisabled",o._previousButtonsDisabled())("matTooltipPosition","above")("disabled",o._previousButtonsDisabled()),t.uIk("aria-label",o._intl.firstPageLabel)}}function F(E,i){if(1&E){const o=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"button",23),t.NdJ("click",function(){t.CHM(o);const l=t.oxw();return t.KtG(l.lastPage())}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",24),t.qZA()()}if(2&E){const o=t.oxw();t.Q6J("matTooltip",o._intl.lastPageLabel)("matTooltipDisabled",o._nextButtonsDisabled())("matTooltipPosition","above")("disabled",o._nextButtonsDisabled()),t.uIk("aria-label",o._intl.lastPageLabel)}}let W=(()=>{class E{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=(o,m,l)=>{if(0==l||0==m)return`0 of ${l}`;const y=o*m;return`${y+1} \u2013 ${y<(l=Math.max(l,0))?Math.min(y+m,l):y+m} of ${l}`}}static#e=this.\u0275fac=function(m){return new(m||E)};static#t=this.\u0275prov=t.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();const Q={provide:W,deps:[[new t.FiY,new t.tp0,W]],useFactory:function Y(E){return E||new W}},X=new t.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),pe=(0,u.Id)((0,u.dB)(class{}));let ie=(()=>{class E extends pe{get pageIndex(){return this._pageIndex}set pageIndex(o){this._pageIndex=Math.max((0,P.su)(o),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(o){this._length=(0,P.su)(o),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(o){this._pageSize=Math.max((0,P.su)(o),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(o){this._pageSizeOptions=(o||[]).map(m=>(0,P.su)(m)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(o){this._hidePageSize=(0,P.Ig)(o)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(o){this._showFirstLastButtons=(0,P.Ig)(o)}constructor(o,m,l){if(super(),this._intl=o,this._changeDetectorRef=m,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new t.vpe,this._intlChanges=o.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),l){const{pageSize:y,pageSizeOptions:L,hidePageSize:O,showFirstLastButtons:b}=l;null!=y&&(this._pageSize=y),null!=L&&(this._pageSizeOptions=L),null!=O&&(this._hidePageSize=O),null!=b&&(this._showFirstLastButtons=b)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const o=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(o)}previousPage(){if(!this.hasPreviousPage())return;const o=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(o)}firstPage(){if(!this.hasPreviousPage())return;const o=this.pageIndex;this.pageIndex=0,this._emitPageEvent(o)}lastPage(){if(!this.hasNextPage())return;const o=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(o)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const o=this.getNumberOfPages()-1;return this.pageIndex<o&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(o){const l=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/o)||0,this.pageSize=o,this._emitPageEvent(l)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((o,m)=>o-m),this._changeDetectorRef.markForCheck())}_emitPageEvent(o){this.page.emit({previousPageIndex:o,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static#e=this.\u0275fac=function(m){t.$Z()};static#t=this.\u0275dir=t.lG2({type:E,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[t.qOj]})}return E})(),de=0,te=(()=>{class E extends ie{constructor(o,m,l){super(o,m,l),this._pageSizeLabelId="mat-paginator-page-size-label-"+de++,this._formFieldAppearance=l?.formFieldAppearance||"outline"}static#e=this.\u0275fac=function(m){return new(m||E)(t.Y36(W),t.Y36(t.sBO),t.Y36(X,8))};static#t=this.\u0275cmp=t.Xpm({type:E,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[t.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","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","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"],["hideSingleSelectionIndicator","",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(m,l){1&m&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,D,5,4,"div",2),t.TgZ(3,"div",3)(4,"div",4),t._uU(5),t.qZA(),t.YNc(6,R,3,5,"button",5),t.TgZ(7,"button",6),t.NdJ("click",function(){return l.previousPage()}),t.O4$(),t.TgZ(8,"svg",7),t._UZ(9,"path",8),t.qZA()(),t.kcU(),t.TgZ(10,"button",9),t.NdJ("click",function(){return l.nextPage()}),t.O4$(),t.TgZ(11,"svg",7),t._UZ(12,"path",10),t.qZA()(),t.YNc(13,F,3,5,"button",11),t.qZA()()()),2&m&&(t.xp6(2),t.Q6J("ngIf",!l.hidePageSize),t.xp6(3),t.hij(" ",l._intl.getRangeLabel(l.pageIndex,l.pageSize,l.length)," "),t.xp6(1),t.Q6J("ngIf",l.showFirstLastButtons),t.xp6(1),t.Q6J("matTooltip",l._intl.previousPageLabel)("matTooltipDisabled",l._previousButtonsDisabled())("matTooltipPosition","above")("disabled",l._previousButtonsDisabled()),t.uIk("aria-label",l._intl.previousPageLabel),t.xp6(3),t.Q6J("matTooltip",l._intl.nextPageLabel)("matTooltipDisabled",l._nextButtonsDisabled())("matTooltipPosition","above")("disabled",l._nextButtonsDisabled()),t.uIk("aria-label",l._intl.nextPageLabel),t.xp6(3),t.Q6J("ngIf",l.showFirstLastButtons))},dependencies:[e.sg,e.O5,T.RK,d.KE,c.gD,u.ey,C.gM],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return E})(),ae=(()=>{class E{static#e=this.\u0275fac=function(m){return new(m||E)};static#t=this.\u0275mod=t.oAB({type:E});static#i=this.\u0275inj=t.cJS({providers:[Q],imports:[e.ez,T.ot,c.LD,C.AV]})}return E})()},6007:(Ue,q,p)=>{"use strict";p.d(q,{Cv:()=>M,pW:()=>d});var e=p(5879),g=(p(6814),p(3680)),T=p(2495);const c=new e.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),P=(0,g.pj)(class{constructor(I){this._elementRef=I}},"primary");let d=(()=>{class I extends P{constructor(R,F,W,Y,Q){super(R),this._ngZone=F,this._changeDetectorRef=W,this._animationMode=Y,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new e.vpe,this._mode="determinate",this._transitionendHandler=J=>{0===this.animationEnd.observers.length||!J.target||!J.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=S((0,T.su)(R)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(R){this._bufferValue=S((0,T.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}static#e=this.\u0275fac=function(F){return new(F||I)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(e.QbO,8),e.Y36(c,8))};static#t=this.\u0275cmp=e.Xpm({type:I,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(F,W){2&F&&(e.uIk("aria-valuenow",W._isIndeterminate()?null:W.value)("mode",W.mode),e.ekj("_mat-animation-noopable",W._isNoopAnimation)("mdc-linear-progress--animation-ready",!W._isNoopAnimation)("mdc-linear-progress--indeterminate",W._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[e.qOj],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(F,W){1&F&&(e.TgZ(0,"div",0),e._UZ(1,"div",1)(2,"div",2),e.qZA(),e.TgZ(3,"div",3),e._UZ(4,"span",4),e.qZA(),e.TgZ(5,"div",5),e._UZ(6,"span",4),e.qZA()),2&F&&(e.xp6(1),e.Udp("flex-basis",W._getBufferBarFlexBasis()),e.xp6(2),e.Udp("transform",W._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E\")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-height:4px;--mdc-linear-progress-track-height:4px;--mdc-linear-progress-track-shape:0}.mat-mdc-progress-bar{display:block;text-align:left;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}[dir=rtl] .mat-mdc-progress-bar{text-align:right}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0})}return I})();function S(I,D=0,R=100){return Math.max(D,Math.min(R,I))}let M=(()=>{class I{static#e=this.\u0275fac=function(F){return new(F||I)};static#t=this.\u0275mod=e.oAB({type:I});static#i=this.\u0275inj=e.cJS({imports:[g.BQ]})}return I})()},5940:(Ue,q,p)=>{"use strict";p.d(q,{Cq:()=>R,Ou:()=>I});var e=p(5879),t=p(3680),g=p(2495),T=p(6814);const c=["determinateSpinner"];function C(F,W){if(1&F&&(e.O4$(),e.TgZ(0,"svg",11),e._UZ(1,"circle",12),e.qZA()),2&F){const Y=e.oxw();e.uIk("viewBox",Y._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",Y._strokeCircumference(),"px")("stroke-dashoffset",Y._strokeCircumference()/2,"px")("stroke-width",Y._circleStrokeWidth(),"%"),e.uIk("r",Y._circleRadius())}}const u=(0,t.pj)(class{constructor(F){this._elementRef=F}},"primary"),P=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function d(){return{diameter:S}}}),S=100;let I=(()=>{class F extends u{constructor(Y,Q,J){super(Y),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=S,this._noopAnimations="NoopAnimations"===Q&&!!J&&!J._forceAnimations,J&&(J.color&&(this.color=this.defaultColor=J.color),J.diameter&&(this.diameter=J.diameter),J.strokeWidth&&(this.strokeWidth=J.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}static#e=this.\u0275fac=function(Q){return new(Q||F)(e.Y36(e.SBq),e.Y36(e.QbO,8),e.Y36(P))};static#t=this.\u0275cmp=e.Xpm({type:F,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(Q,J){if(1&Q&&e.Gf(c,5),2&Q){let ne;e.iGM(ne=e.CRH())&&(J._determinateCircle=ne.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(Q,J){2&Q&&(e.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===J.mode?J.value:null)("mode",J.mode),e.Udp("width",J.diameter,"px")("height",J.diameter,"px")("--mdc-circular-progress-size",J.diameter+"px")("--mdc-circular-progress-active-indicator-width",J.diameter+"px"),e.ekj("_mat-animation-noopable",J._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===J.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[e.qOj],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(Q,J){if(1&Q&&(e.YNc(0,C,2,8,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.O4$(),e.TgZ(4,"svg",3),e._UZ(5,"circle",4),e.qZA()(),e.kcU(),e.TgZ(6,"div",5)(7,"div",6)(8,"div",7),e.GkF(9,8),e.qZA(),e.TgZ(10,"div",9),e.GkF(11,8),e.qZA(),e.TgZ(12,"div",10),e.GkF(13,8),e.qZA()()()),2&Q){const ne=e.MAs(1);e.xp6(4),e.uIk("viewBox",J._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",J._strokeCircumference(),"px")("stroke-dashoffset",J._strokeDashOffset(),"px")("stroke-width",J._circleStrokeWidth(),"%"),e.uIk("r",J._circleRadius()),e.xp6(4),e.Q6J("ngTemplateOutlet",ne),e.xp6(2),e.Q6J("ngTemplateOutlet",ne),e.xp6(2),e.Q6J("ngTemplateOutlet",ne)}},dependencies:[T.tP],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-width:4px;--mdc-circular-progress-size:48px}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}return F})(),R=(()=>{class F{static#e=this.\u0275fac=function(Q){return new(Q||F)};static#t=this.\u0275mod=e.oAB({type:F});static#i=this.\u0275inj=e.cJS({imports:[T.ez,t.BQ]})}return F})()},7466:(Ue,q,p)=>{"use strict";p.d(q,{Fk:()=>pe,U0:()=>X,VQ:()=>ne});var e=p(5879),t=p(3680),g=p(4300),T=p(2495),c=p(8337),C=p(6223),u=p(6814);const P=["input"],d=["*"];let S=0;class M{constructor(de,te){this.source=de,this.value=te}}const I={provide:C.JU,useExisting:(0,e.Gpc)(()=>ne),multi:!0},D=new e.OlP("MatRadioGroup"),R=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function F(){return{color:"accent"}}});let W=(()=>{class ie{get name(){return this._name}set name(te){this._name=te,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(te){this._labelPosition="before"===te?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(te){this._value!==te&&(this._value=te,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(te){this._selected=te,this.value=te?te.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(te){this._disabled=(0,T.Ig)(te),this._markRadiosForCheck()}get required(){return this._required}set required(te){this._required=(0,T.Ig)(te),this._markRadiosForCheck()}constructor(te){this._changeDetector=te,this._value=null,this._name="mat-radio-group-"+S++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.vpe}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(te=>te===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(te=>{te.name=this.name,te._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(ae=>{ae.checked=this.value===ae.value,ae.checked&&(this._selected=ae)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new M(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(te=>te._markForCheck())}writeValue(te){this.value=te,this._changeDetector.markForCheck()}registerOnChange(te){this._controlValueAccessorChangeFn=te}registerOnTouched(te){this.onTouched=te}setDisabledState(te){this.disabled=te,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(ae){return new(ae||ie)(e.Y36(e.sBO))};static#t=this.\u0275dir=e.lG2({type:ie,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}})}return ie})();class Y{constructor(de){this._elementRef=de}}const Q=(0,t.Kr)((0,t.sb)(Y));let J=(()=>{class ie extends Q{get checked(){return this._checked}set checked(te){const ae=(0,T.Ig)(te);this._checked!==ae&&(this._checked=ae,ae&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!ae&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),ae&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(te){this._value!==te&&(this._value=te,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===te),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(te){this._labelPosition=te}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(te){this._setDisabled((0,T.Ig)(te))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(te){this._required=(0,T.Ig)(te)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(te){this._color=te}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(te,ae,E,i,o,m,l,y){super(ae),this._changeDetector=E,this._focusMonitor=i,this._radioDispatcher=o,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++S,this.id=this._uniqueId,this.change=new e.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=te,this._noopAnimations="NoopAnimations"===m,y&&(this.tabIndex=(0,T.su)(y,0))}focus(te,ae){ae?this._focusMonitor.focusVia(this._inputElement,ae,te):this._inputElement.nativeElement.focus(te)}_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((te,ae)=>{te!==this.id&&ae===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(te=>{!te&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new M(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(te){te.stopPropagation()}_onInputInteraction(te){if(te.stopPropagation(),!this.checked&&!this.disabled){const ae=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),ae&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(te){this._onInputInteraction(te),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(te){this._disabled!==te&&(this._disabled=te,this._changeDetector.markForCheck())}_updateTabIndex(){const te=this.radioGroup;let ae;if(ae=te&&te.selected&&!this.disabled?te.selected===this?this.tabIndex:-1:this.tabIndex,ae!==this._previousTabIndex){const E=this._inputElement?.nativeElement;E&&(E.setAttribute("tabindex",ae+""),this._previousTabIndex=ae)}}static#e=this.\u0275fac=function(ae){e.$Z()};static#t=this.\u0275dir=e.lG2({type:ie,viewQuery:function(ae,E){if(1&ae&&e.Gf(P,5),2&ae){let i;e.iGM(i=e.CRH())&&(E._inputElement=i.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:[e.qOj]})}return ie})(),ne=(()=>{class ie extends W{static#e=this.\u0275fac=function(){let te;return function(E){return(te||(te=e.n5z(ie)))(E||ie)}}();static#t=this.\u0275dir=e.lG2({type:ie,selectors:[["mat-radio-group"]],contentQueries:function(ae,E,i){if(1&ae&&e.Suo(i,X,5),2&ae){let o;e.iGM(o=e.CRH())&&(E._radios=o)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],exportAs:["matRadioGroup"],features:[e._Bn([I,{provide:D,useExisting:ie}]),e.qOj]})}return ie})(),X=(()=>{class ie extends J{constructor(te,ae,E,i,o,m,l,y){super(te,ae,E,i,o,m,l,y)}static#e=this.\u0275fac=function(ae){return new(ae||ie)(e.Y36(D,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(g.tE),e.Y36(c.A8),e.Y36(e.QbO,8),e.Y36(R,8),e.$8M("tabindex"))};static#t=this.\u0275cmp=e.Xpm({type:ie,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(ae,E){1&ae&&e.NdJ("focus",function(){return E._inputElement.nativeElement.focus()}),2&ae&&(e.uIk("id",E.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-primary","primary"===E.color)("mat-accent","accent"===E.color)("mat-warn","warn"===E.color)("mat-mdc-radio-checked",E.checked)("_mat-animation-noopable",E._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:d,decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(ae,E){if(1&ae&&(e.F$t(),e.TgZ(0,"div",0,1)(2,"div",2)(3,"div",3),e.NdJ("click",function(o){return E._onTouchTargetClick(o)}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("change",function(o){return E._onInputInteraction(o)}),e.qZA(),e.TgZ(6,"div",6),e._UZ(7,"div",7)(8,"div",8),e.qZA(),e.TgZ(9,"div",9),e._UZ(10,"div",10),e.qZA()(),e.TgZ(11,"label",11),e.Hsn(12),e.qZA()()),2&ae){const i=e.MAs(1);e.ekj("mdc-form-field--align-end","before"==E.labelPosition),e.xp6(2),e.ekj("mdc-radio--disabled",E.disabled),e.xp6(2),e.Q6J("id",E.inputId)("checked",E.checked)("disabled",E.disabled)("required",E.required),e.uIk("name",E.name)("value",E.value)("aria-label",E.ariaLabel)("aria-labelledby",E.ariaLabelledby)("aria-describedby",E.ariaDescribedby),e.xp6(5),e.Q6J("matRippleTrigger",i)("matRippleDisabled",E._isRippleDisabled())("matRippleCentered",!0),e.xp6(2),e.Q6J("for",E.inputId)}},dependencies:[t.wG],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-radio-button{--mdc-radio-disabled-selected-icon-opacity:0.38;--mdc-radio-disabled-unselected-icon-opacity:0.38;--mdc-radio-state-layer-size:40px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return ie})(),pe=(()=>{class ie{static#e=this.\u0275fac=function(ae){return new(ae||ie)};static#t=this.\u0275mod=e.oAB({type:ie});static#i=this.\u0275inj=e.cJS({imports:[t.BQ,u.ez,t.si,t.BQ]})}return ie})()},8525:(Ue,q,p)=>{"use strict";p.d(q,{$L:()=>ue,LD:()=>Pe,PG:()=>K,gD:()=>xe});var e=p(3651),t=p(6814),g=p(5879),T=p(3680),c=p(5683),C=p(5407),u=p(4300),P=p(9388),d=p(2495),S=p(8337),M=p(6028),I=p(6223),D=p(8645),R=p(4911),F=p(3019),W=p(7921),Y=p(4664),Q=p(8180),J=p(2181),ne=p(7398),X=p(3997),pe=p(9773),ie=p(6825);const de=["trigger"],te=["panel"];function ae(oe,ze){if(1&oe&&(g.TgZ(0,"span",10),g._uU(1),g.qZA()),2&oe){const we=g.oxw();g.xp6(1),g.Oqu(we.placeholder)}}function E(oe,ze){if(1&oe&&(g.TgZ(0,"span",14),g._uU(1),g.qZA()),2&oe){const we=g.oxw(2);g.xp6(1),g.Oqu(we.triggerValue)}}function i(oe,ze){1&oe&&g.Hsn(0,0,["*ngSwitchCase","true"])}function o(oe,ze){if(1&oe&&(g.TgZ(0,"span",11),g.YNc(1,E,2,1,"span",12),g.YNc(2,i,1,0,"ng-content",13),g.qZA()),2&oe){const we=g.oxw();g.Q6J("ngSwitch",!!we.customTrigger),g.xp6(2),g.Q6J("ngSwitchCase",!0)}}function m(oe,ze){if(1&oe){const we=g.EpF();g.O4$(),g.kcU(),g.TgZ(0,"div",15,16),g.NdJ("@transformPanel.done",function(ge){g.CHM(we);const fe=g.oxw();return g.KtG(fe._panelDoneAnimatingStream.next(ge.toState))})("keydown",function(ge){g.CHM(we);const fe=g.oxw();return g.KtG(fe._handleKeydown(ge))}),g.Hsn(2,1),g.qZA()}if(2&oe){const we=g.oxw();g.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",we._getPanelTheme(),""),g.Q6J("ngClass",we.panelClass)("@transformPanel","showing"),g.uIk("id",we.id+"-panel")("aria-multiselectable",we.multiple)("aria-label",we.ariaLabel||null)("aria-labelledby",we._getPanelAriaLabelledby())}}const l=[[["mat-select-trigger"]],"*"],y=["mat-select-trigger","*"],L={transformPanelWrap:(0,ie.X$)("transformPanelWrap",[(0,ie.eR)("* => void",(0,ie.IO)("@transformPanel",[(0,ie.pV)()],{optional:!0}))]),transformPanel:(0,ie.X$)("transformPanel",[(0,ie.SB)("void",(0,ie.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,ie.eR)("void => showing",(0,ie.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,ie.eR)("* => void",(0,ie.jt)("100ms linear",(0,ie.oB)({opacity:0})))])};let _=0;const H=new g.OlP("mat-select-scroll-strategy"),K=new g.OlP("MAT_SELECT_CONFIG"),se={provide:H,deps:[e.aV],useFactory:function V(oe){return()=>oe.scrollStrategies.reposition()}},Ye=new g.OlP("MatSelectTrigger");class Oe{constructor(ze,we){this.source=ze,this.value=we}}const Qe=(0,T.Kr)((0,T.sb)((0,T.Id)((0,T.FD)(class{constructor(oe,ze,we,le,ge){this._elementRef=oe,this._defaultErrorStateMatcher=ze,this._parentForm=we,this._parentFormGroup=le,this.ngControl=ge,this.stateChanges=new D.x}}))));let be=(()=>{class oe extends Qe{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(we){this._placeholder=we,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(I.kI.required)??!1}set required(we){this._required=(0,d.Ig)(we),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(we){this._multiple=(0,d.Ig)(we)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(we){this._disableOptionCentering=(0,d.Ig)(we)}get compareWith(){return this._compareWith}set compareWith(we){this._compareWith=we,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(we){this._assignValue(we)&&this._onChange(we)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(we){this._typeaheadDebounceInterval=(0,d.su)(we)}get id(){return this._id}set id(we){this._id=we||this._uid,this.stateChanges.next()}constructor(we,le,ge,fe,Ge,Le,Ne,Ve,at,ve,De,xt,ct,et){super(Ge,fe,Ne,Ve,ve),this._viewportRuler=we,this._changeDetectorRef=le,this._ngZone=ge,this._dir=Le,this._parentFormField=at,this._liveAnnouncer=ct,this._defaultOptions=et,this._panelOpen=!1,this._compareWith=(Ct,ke)=>Ct===ke,this._uid="mat-select-"+_++,this._triggerAriaLabelledBy=null,this._destroy=new D.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+_++,this._panelDoneAnimatingStream=new D.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 Ct=this.options;return Ct?Ct.changes.pipe((0,W.O)(Ct),(0,Y.w)(()=>(0,F.T)(...Ct.map(ke=>ke.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,J.h)(Ct=>Ct),(0,ne.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,J.h)(Ct=>!Ct),(0,ne.U)(()=>{})),this.selectionChange=new g.vpe,this.valueChange=new g.vpe,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=et?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=et.typeaheadDebounceInterval),this._scrollStrategyFactory=xt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(De)||0,this.id=this.id}ngOnInit(){this._selectionModel=new S.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,X.x)(),(0,pe.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,pe.R)(this._destroy)).subscribe(we=>{we.added.forEach(le=>le.select()),we.removed.forEach(le=>le.deselect())}),this.options.changes.pipe((0,W.O)(null),(0,pe.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const we=this._getTriggerAriaLabelledby(),le=this.ngControl;if(we!==this._triggerAriaLabelledBy){const ge=this._elementRef.nativeElement;this._triggerAriaLabelledBy=we,we?ge.setAttribute("aria-labelledby",we):ge.removeAttribute("aria-labelledby")}le&&(this._previousControl!==le.control&&(void 0!==this._previousControl&&null!==le.disabled&&le.disabled!==this.disabled&&(this.disabled=le.disabled),this._previousControl=le.control),this.updateErrorState())}ngOnChanges(we){(we.disabled||we.userAriaDescribedBy)&&this.stateChanges.next(),we.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const we=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!we)return;const le=`${this.id}-panel`;this._trackedModal&&(0,u.iD)(this._trackedModal,"aria-owns",le),(0,u.Zf)(we,"aria-owns",le),this._trackedModal=we}_clearFromModal(){this._trackedModal&&((0,u.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(we){this._assignValue(we)}registerOnChange(we){this._onChange=we}registerOnTouched(we){this._onTouched=we}setDisabledState(we){this.disabled=we,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 we=this._selectionModel.selected.map(le=>le.viewValue);return this._isRtl()&&we.reverse(),we.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(we){this.disabled||(this.panelOpen?this._handleOpenKeydown(we):this._handleClosedKeydown(we))}_handleClosedKeydown(we){const le=we.keyCode,ge=le===M.JH||le===M.LH||le===M.oh||le===M.SV,fe=le===M.K5||le===M.L_,Ge=this._keyManager;if(!Ge.isTyping()&&fe&&!(0,M.Vb)(we)||(this.multiple||we.altKey)&&ge)we.preventDefault(),this.open();else if(!this.multiple){const Le=this.selected;Ge.onKeydown(we);const Ne=this.selected;Ne&&Le!==Ne&&this._liveAnnouncer.announce(Ne.viewValue,1e4)}}_handleOpenKeydown(we){const le=this._keyManager,ge=we.keyCode,fe=ge===M.JH||ge===M.LH,Ge=le.isTyping();if(fe&&we.altKey)we.preventDefault(),this.close();else if(Ge||ge!==M.K5&&ge!==M.L_||!le.activeItem||(0,M.Vb)(we))if(!Ge&&this._multiple&&ge===M.A&&we.ctrlKey){we.preventDefault();const Le=this.options.some(Ne=>!Ne.disabled&&!Ne.selected);this.options.forEach(Ne=>{Ne.disabled||(Le?Ne.select():Ne.deselect())})}else{const Le=le.activeItemIndex;le.onKeydown(we),this._multiple&&fe&&we.shiftKey&&le.activeItem&&le.activeItemIndex!==Le&&le.activeItem._selectViaInteraction()}else we.preventDefault(),le.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(we){if(this.options.forEach(le=>le.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&we)Array.isArray(we),we.forEach(le=>this._selectOptionByValue(le)),this._sortValues();else{const le=this._selectOptionByValue(we);le?this._keyManager.updateActiveItem(le):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(we){const le=this.options.find(ge=>{if(this._selectionModel.isSelected(ge))return!1;try{return null!=ge.value&&this._compareWith(ge.value,we)}catch{return!1}});return le&&this._selectionModel.select(le),le}_assignValue(we){return!!(we!==this._value||this._multiple&&Array.isArray(we))&&(this.options&&this._setSelectionByValue(we),this._value=we,!0)}_skipPredicate(we){return we.disabled}_initKeyManager(){this._keyManager=new u.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const we=(0,F.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,pe.R)(we)).subscribe(le=>{this._onSelect(le.source,le.isUserInput),le.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,F.T)(...this.options.map(le=>le._stateChanges)).pipe((0,pe.R)(we)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(we,le){const ge=this._selectionModel.isSelected(we);null!=we.value||this._multiple?(ge!==we.selected&&(we.selected?this._selectionModel.select(we):this._selectionModel.deselect(we)),le&&this._keyManager.setActiveItem(we),this.multiple&&(this._sortValues(),le&&this.focus())):(we.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(we.value)),ge!==this._selectionModel.isSelected(we)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const we=this.options.toArray();this._selectionModel.sort((le,ge)=>this.sortComparator?this.sortComparator(le,ge,we):we.indexOf(le)-we.indexOf(ge)),this.stateChanges.next()}}_propagateChanges(we){let le=null;le=this.multiple?this.selected.map(ge=>ge.value):this.selected?this.selected.value:we,this._value=le,this.valueChange.emit(le),this._onChange(le),this.selectionChange.emit(this._getChangeEvent(le)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let we=-1;for(let le=0;le<this.options.length;le++)if(!this.options.get(le).disabled){we=le;break}this._keyManager.setActiveItem(we)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(we){this._elementRef.nativeElement.focus(we)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const we=this._parentFormField?.getLabelId();return this.ariaLabelledby?(we?we+" ":"")+this.ariaLabelledby:we}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const we=this._parentFormField?.getLabelId();let le=(we?we+" ":"")+this._valueId;return this.ariaLabelledby&&(le+=" "+this.ariaLabelledby),le}_panelDoneAnimating(we){this.openedChange.emit(we)}setDescribedByIds(we){we.length?this._elementRef.nativeElement.setAttribute("aria-describedby",we.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}static#e=this.\u0275fac=function(le){return new(le||oe)(g.Y36(C.rL),g.Y36(g.sBO),g.Y36(g.R0b),g.Y36(T.rD),g.Y36(g.SBq),g.Y36(P.Is,8),g.Y36(I.F,8),g.Y36(I.sg,8),g.Y36(c.G_,8),g.Y36(I.a5,10),g.$8M("tabindex"),g.Y36(H),g.Y36(u.Kd),g.Y36(K,8))};static#t=this.\u0275dir=g.lG2({type:oe,viewQuery:function(le,ge){if(1&le&&(g.Gf(de,5),g.Gf(te,5),g.Gf(e.pI,5)),2&le){let fe;g.iGM(fe=g.CRH())&&(ge.trigger=fe.first),g.iGM(fe=g.CRH())&&(ge.panel=fe.first),g.iGM(fe=g.CRH())&&(ge._overlayDir=fe.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]})}return oe})(),ue=(()=>{class oe{static#e=this.\u0275fac=function(le){return new(le||oe)};static#t=this.\u0275dir=g.lG2({type:oe,selectors:[["mat-select-trigger"]],features:[g._Bn([{provide:Ye,useExisting:oe}])]})}return oe})(),xe=(()=>{class oe extends be{constructor(){super(...arguments),this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._skipPredicate=we=>!this.panelOpen&&we.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,pe.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(we){const le=this.options.toArray()[we];if(le){const ge=this.panel.nativeElement,fe=(0,T.CB)(we,this.options,this.optionGroups),Ge=le._getHostElement();ge.scrollTop=0===we&&1===fe?0:(0,T.jH)(Ge.offsetTop,Ge.offsetHeight,ge.scrollTop,ge.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(we){return new Oe(this,we)}_getOverlayWidth(we){return"auto"===this.panelWidth?(we instanceof e.xu?we.elementRef:we||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(we){this._hideSingleSelectionIndicator=(0,d.Ig)(we),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const we of this.options)we._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(){let we;return function(ge){return(we||(we=g.n5z(oe)))(ge||oe)}}();static#t=this.\u0275cmp=g.Xpm({type:oe,selectors:[["mat-select"]],contentQueries:function(le,ge,fe){if(1&le&&(g.Suo(fe,Ye,5),g.Suo(fe,T.ey,5),g.Suo(fe,T.K7,5)),2&le){let Ge;g.iGM(Ge=g.CRH())&&(ge.customTrigger=Ge.first),g.iGM(Ge=g.CRH())&&(ge.options=Ge),g.iGM(Ge=g.CRH())&&(ge.optionGroups=Ge)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(le,ge){1&le&&g.NdJ("keydown",function(Ge){return ge._handleKeydown(Ge)})("focus",function(){return ge._onFocus()})("blur",function(){return ge._onBlur()}),2&le&&(g.uIk("id",ge.id)("tabindex",ge.tabIndex)("aria-controls",ge.panelOpen?ge.id+"-panel":null)("aria-expanded",ge.panelOpen)("aria-label",ge.ariaLabel||null)("aria-required",ge.required.toString())("aria-disabled",ge.disabled.toString())("aria-invalid",ge.errorState)("aria-activedescendant",ge._getAriaActiveDescendant()),g.ekj("mat-mdc-select-disabled",ge.disabled)("mat-mdc-select-invalid",ge.errorState)("mat-mdc-select-required",ge.required)("mat-mdc-select-empty",ge.empty)("mat-mdc-select-multiple",ge.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelWidth:"panelWidth",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[g._Bn([{provide:c.Eo,useExisting:oe},{provide:T.HF,useExisting:oe}]),g.qOj],ngContentSelectors:y,decls:11,vars:10,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","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",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(le,ge){if(1&le&&(g.F$t(l),g.TgZ(0,"div",0,1),g.NdJ("click",function(){return ge.toggle()}),g.TgZ(3,"div",2),g.YNc(4,ae,2,1,"span",3),g.YNc(5,o,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,m,3,9,"ng-template",9),g.NdJ("backdropClick",function(){return ge.close()})("attach",function(){return ge._onAttached()})("detach",function(){return ge.close()})),2&le){const fe=g.MAs(1);g.xp6(3),g.Q6J("ngSwitch",ge.empty),g.uIk("id",ge._valueId),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngSwitchCase",!1),g.xp6(5),g.Q6J("cdkConnectedOverlayPanelClass",ge._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",ge._scrollStrategy)("cdkConnectedOverlayOrigin",ge._preferredOverlayOrigin||fe)("cdkConnectedOverlayOpen",ge.panelOpen)("cdkConnectedOverlayPositions",ge._positions)("cdkConnectedOverlayWidth",ge._overlayWidth)}},dependencies:[t.mk,t.RF,t.n9,t.ED,e.pI,e.xu],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[L.transformPanel]},changeDetection:0})}return oe})(),Pe=(()=>{class oe{static#e=this.\u0275fac=function(le){return new(le||oe)};static#t=this.\u0275mod=g.oAB({type:oe});static#i=this.\u0275inj=g.cJS({providers:[se],imports:[t.ez,e.U8,T.Ng,T.BQ,C.ZD,c.lN,T.Ng,T.BQ]})}return oe})()},2651:(Ue,q,p)=>{"use strict";p.d(q,{JX:()=>Ye,Rh:()=>se,SJ:()=>Qe,TM:()=>Oe});var e=p(5407),t=p(6814),g=p(5879),T=p(3680),c=p(4300),C=p(9388),u=p(2495),P=p(6028),d=p(2831),S=p(8645),M=p(2438),I=p(3019),D=p(2181),R=p(7398),F=p(975),W=p(9773),Y=p(3997),Q=p(8180),J=p(7921),ne=p(3620),X=p(6825);const pe=["*"],ie=["content"];function de(be,ue){if(1&be){const xe=g.EpF();g.TgZ(0,"div",2),g.NdJ("click",function(){g.CHM(xe);const oe=g.oxw();return g.KtG(oe._onBackdropClicked())}),g.qZA()}if(2&be){const xe=g.oxw();g.ekj("mat-drawer-shown",xe._isShowingBackdrop())}}function te(be,ue){1&be&&(g.TgZ(0,"mat-drawer-content"),g.Hsn(1,2),g.qZA())}const ae=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],E=["mat-drawer","mat-drawer-content","*"];function i(be,ue){if(1&be){const xe=g.EpF();g.TgZ(0,"div",2),g.NdJ("click",function(){g.CHM(xe);const oe=g.oxw();return g.KtG(oe._onBackdropClicked())}),g.qZA()}if(2&be){const xe=g.oxw();g.ekj("mat-drawer-shown",xe._isShowingBackdrop())}}function o(be,ue){1&be&&(g.TgZ(0,"mat-sidenav-content"),g.Hsn(1,2),g.qZA())}const m=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],l=["mat-sidenav","mat-sidenav-content","*"],L={transformDrawer:(0,X.X$)("transform",[(0,X.SB)("open, open-instant",(0,X.oB)({transform:"none",visibility:"visible"})),(0,X.SB)("void",(0,X.oB)({"box-shadow":"none",visibility:"hidden"})),(0,X.eR)("void => open-instant",(0,X.jt)("0ms")),(0,X.eR)("void <=> open, open-instant => void",(0,X.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},b=new g.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function _(){return!1}}),n=new g.OlP("MAT_DRAWER_CONTAINER");let H=(()=>{class be extends e.PQ{constructor(xe,Pe,oe,ze,we){super(oe,ze,we),this._changeDetectorRef=xe,this._container=Pe}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(Pe){return new(Pe||be)(g.Y36(g.sBO),g.Y36((0,g.Gpc)(()=>K)),g.Y36(g.SBq),g.Y36(e.mF),g.Y36(g.R0b))};static#t=this.\u0275cmp=g.Xpm({type:be,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(Pe,oe){2&Pe&&g.Udp("margin-left",oe._container._contentMargins.left,"px")("margin-right",oe._container._contentMargins.right,"px")},features:[g._Bn([{provide:e.PQ,useExisting:be}]),g.qOj],ngContentSelectors:pe,decls:1,vars:0,template:function(Pe,oe){1&Pe&&(g.F$t(),g.Hsn(0))},encapsulation:2,changeDetection:0})}return be})(),V=(()=>{class be{get position(){return this._position}set position(xe){(xe="end"===xe?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(xe),this._position=xe,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(xe){this._mode=xe,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(xe){this._disableClose=(0,u.Ig)(xe)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(xe){("true"===xe||"false"===xe||null==xe)&&(xe=(0,u.Ig)(xe)),this._autoFocus=xe}get opened(){return this._opened}set opened(xe){this.toggle((0,u.Ig)(xe))}constructor(xe,Pe,oe,ze,we,le,ge,fe){this._elementRef=xe,this._focusTrapFactory=Pe,this._focusMonitor=oe,this._platform=ze,this._ngZone=we,this._interactivityChecker=le,this._doc=ge,this._container=fe,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new S.x,this._animationEnd=new S.x,this._animationState="void",this.openedChange=new g.vpe(!0),this._openedStream=this.openedChange.pipe((0,D.h)(Ge=>Ge),(0,R.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,D.h)(Ge=>Ge.fromState!==Ge.toState&&0===Ge.toState.indexOf("open")),(0,F.h)(void 0)),this._closedStream=this.openedChange.pipe((0,D.h)(Ge=>!Ge),(0,R.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,D.h)(Ge=>Ge.fromState!==Ge.toState&&"void"===Ge.toState),(0,F.h)(void 0)),this._destroyed=new S.x,this.onPositionChanged=new g.vpe,this._modeChanged=new S.x,this.openedChange.subscribe(Ge=>{Ge?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,M.R)(this._elementRef.nativeElement,"keydown").pipe((0,D.h)(Ge=>Ge.keyCode===P.hY&&!this.disableClose&&!(0,P.Vb)(Ge)),(0,W.R)(this._destroyed)).subscribe(Ge=>this._ngZone.run(()=>{this.close(),Ge.stopPropagation(),Ge.preventDefault()}))}),this._animationEnd.pipe((0,Y.x)((Ge,Le)=>Ge.fromState===Le.fromState&&Ge.toState===Le.toState)).subscribe(Ge=>{const{fromState:Le,toState:Ne}=Ge;(0===Ne.indexOf("open")&&"void"===Le||"void"===Ne&&0===Le.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(xe,Pe){this._interactivityChecker.isFocusable(xe)||(xe.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const oe=()=>{xe.removeEventListener("blur",oe),xe.removeEventListener("mousedown",oe),xe.removeAttribute("tabindex")};xe.addEventListener("blur",oe),xe.addEventListener("mousedown",oe)})),xe.focus(Pe)}_focusByCssSelector(xe,Pe){let oe=this._elementRef.nativeElement.querySelector(xe);oe&&this._forceFocus(oe,Pe)}_takeFocus(){if(!this._focusTrap)return;const xe=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Pe=>{!Pe&&"function"==typeof this._elementRef.nativeElement.focus&&xe.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(xe){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,xe):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const xe=this._doc.activeElement;return!!xe&&this._elementRef.nativeElement.contains(xe)}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(xe){return this.toggle(!0,xe)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(xe=!this.opened,Pe){xe&&Pe&&(this._openedVia=Pe);const oe=this._setOpen(xe,!xe&&this._isFocusWithinDrawer(),this._openedVia||"program");return xe||(this._openedVia=null),oe}_setOpen(xe,Pe,oe){return this._opened=xe,xe?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",Pe&&this._restoreFocus(oe)),this._updateFocusTrapState(),new Promise(ze=>{this.openedChange.pipe((0,Q.q)(1)).subscribe(we=>ze(we?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(xe){const Pe=this._elementRef.nativeElement,oe=Pe.parentNode;"end"===xe?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),oe.insertBefore(this._anchor,Pe)),oe.appendChild(Pe)):this._anchor&&this._anchor.parentNode.insertBefore(Pe,this._anchor)}static#e=this.\u0275fac=function(Pe){return new(Pe||be)(g.Y36(g.SBq),g.Y36(c.qV),g.Y36(c.tE),g.Y36(d.t4),g.Y36(g.R0b),g.Y36(c.ic),g.Y36(t.K0,8),g.Y36(n,8))};static#t=this.\u0275cmp=g.Xpm({type:be,selectors:[["mat-drawer"]],viewQuery:function(Pe,oe){if(1&Pe&&g.Gf(ie,5),2&Pe){let ze;g.iGM(ze=g.CRH())&&(oe._content=ze.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(Pe,oe){1&Pe&&g.WFA("@transform.start",function(we){return oe._animationStarted.next(we)})("@transform.done",function(we){return oe._animationEnd.next(we)}),2&Pe&&(g.uIk("align",null),g.d8E("@transform",oe._animationState),g.ekj("mat-drawer-end","end"===oe.position)("mat-drawer-over","over"===oe.mode)("mat-drawer-push","push"===oe.mode)("mat-drawer-side","side"===oe.mode)("mat-drawer-opened",oe.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:pe,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(Pe,oe){1&Pe&&(g.F$t(),g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA())},dependencies:[e.PQ],encapsulation:2,data:{animation:[L.transformDrawer]},changeDetection:0})}return be})(),K=(()=>{class be{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(xe){this._autosize=(0,u.Ig)(xe)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(xe){this._backdropOverride=null==xe?null:(0,u.Ig)(xe)}get scrollable(){return this._userContent||this._content}constructor(xe,Pe,oe,ze,we,le=!1,ge){this._dir=xe,this._element=Pe,this._ngZone=oe,this._changeDetectorRef=ze,this._animationMode=ge,this._drawers=new g.n_E,this.backdropClick=new g.vpe,this._destroyed=new S.x,this._doCheckSubject=new S.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new S.x,xe&&xe.change.pipe((0,W.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),we.change().pipe((0,W.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=le}ngAfterContentInit(){this._allDrawers.changes.pipe((0,J.O)(this._allDrawers),(0,W.R)(this._destroyed)).subscribe(xe=>{this._drawers.reset(xe.filter(Pe=>!Pe._container||Pe._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,J.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(xe=>{this._watchDrawerToggle(xe),this._watchDrawerPosition(xe),this._watchDrawerMode(xe)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,ne.b)(10),(0,W.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(xe=>xe.open())}close(){this._drawers.forEach(xe=>xe.close())}updateContentMargins(){let xe=0,Pe=0;if(this._left&&this._left.opened)if("side"==this._left.mode)xe+=this._left._getWidth();else if("push"==this._left.mode){const oe=this._left._getWidth();xe+=oe,Pe-=oe}if(this._right&&this._right.opened)if("side"==this._right.mode)Pe+=this._right._getWidth();else if("push"==this._right.mode){const oe=this._right._getWidth();Pe+=oe,xe-=oe}xe=xe||null,Pe=Pe||null,(xe!==this._contentMargins.left||Pe!==this._contentMargins.right)&&(this._contentMargins={left:xe,right:Pe},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(xe){xe._animationStarted.pipe((0,D.h)(Pe=>Pe.fromState!==Pe.toState),(0,W.R)(this._drawers.changes)).subscribe(Pe=>{"open-instant"!==Pe.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==xe.mode&&xe.openedChange.pipe((0,W.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(xe.opened))}_watchDrawerPosition(xe){xe&&xe.onPositionChanged.pipe((0,W.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Q.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(xe){xe&&xe._modeChanged.pipe((0,W.R)((0,I.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(xe){const Pe=this._element.nativeElement.classList,oe="mat-drawer-container-has-open";xe?Pe.add(oe):Pe.remove(oe)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(xe=>{"end"==xe.position?this._end=xe:this._start=xe}),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(xe=>xe&&!xe.disableClose&&this._drawerHasBackdrop(xe)).forEach(xe=>xe._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(xe){return null!=xe&&xe.opened}_drawerHasBackdrop(xe){return null==this._backdropOverride?!!xe&&"side"!==xe.mode:this._backdropOverride}static#e=this.\u0275fac=function(Pe){return new(Pe||be)(g.Y36(C.Is,8),g.Y36(g.SBq),g.Y36(g.R0b),g.Y36(g.sBO),g.Y36(e.rL),g.Y36(b),g.Y36(g.QbO,8))};static#t=this.\u0275cmp=g.Xpm({type:be,selectors:[["mat-drawer-container"]],contentQueries:function(Pe,oe,ze){if(1&Pe&&(g.Suo(ze,H,5),g.Suo(ze,V,5)),2&Pe){let we;g.iGM(we=g.CRH())&&(oe._content=we.first),g.iGM(we=g.CRH())&&(oe._allDrawers=we)}},viewQuery:function(Pe,oe){if(1&Pe&&g.Gf(H,5),2&Pe){let ze;g.iGM(ze=g.CRH())&&(oe._userContent=ze.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(Pe,oe){2&Pe&&g.ekj("mat-drawer-container-explicit-backdrop",oe._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[g._Bn([{provide:n,useExisting:be}])],ngContentSelectors:E,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(Pe,oe){1&Pe&&(g.F$t(ae),g.YNc(0,de,1,2,"div",0),g.Hsn(1),g.Hsn(2,1),g.YNc(3,te,2,0,"mat-drawer-content",1)),2&Pe&&(g.Q6J("ngIf",oe.hasBackdrop),g.xp6(3),g.Q6J("ngIf",!oe._content))},dependencies:[t.O5,H],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return be})(),se=(()=>{class be extends H{constructor(xe,Pe,oe,ze,we){super(xe,Pe,oe,ze,we)}static#e=this.\u0275fac=function(Pe){return new(Pe||be)(g.Y36(g.sBO),g.Y36((0,g.Gpc)(()=>Oe)),g.Y36(g.SBq),g.Y36(e.mF),g.Y36(g.R0b))};static#t=this.\u0275cmp=g.Xpm({type:be,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(Pe,oe){2&Pe&&g.Udp("margin-left",oe._container._contentMargins.left,"px")("margin-right",oe._container._contentMargins.right,"px")},features:[g._Bn([{provide:e.PQ,useExisting:be}]),g.qOj],ngContentSelectors:pe,decls:1,vars:0,template:function(Pe,oe){1&Pe&&(g.F$t(),g.Hsn(0))},encapsulation:2,changeDetection:0})}return be})(),Ye=(()=>{class be extends V{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(xe){this._fixedInViewport=(0,u.Ig)(xe)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(xe){this._fixedTopGap=(0,u.su)(xe)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(xe){this._fixedBottomGap=(0,u.su)(xe)}static#e=this.\u0275fac=function(){let xe;return function(oe){return(xe||(xe=g.n5z(be)))(oe||be)}}();static#t=this.\u0275cmp=g.Xpm({type:be,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(Pe,oe){2&Pe&&(g.uIk("align",null),g.Udp("top",oe.fixedInViewport?oe.fixedTopGap:null,"px")("bottom",oe.fixedInViewport?oe.fixedBottomGap:null,"px"),g.ekj("mat-drawer-end","end"===oe.position)("mat-drawer-over","over"===oe.mode)("mat-drawer-push","push"===oe.mode)("mat-drawer-side","side"===oe.mode)("mat-drawer-opened",oe.opened)("mat-sidenav-fixed",oe.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[g.qOj],ngContentSelectors:pe,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(Pe,oe){1&Pe&&(g.F$t(),g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA())},dependencies:[e.PQ],encapsulation:2,data:{animation:[L.transformDrawer]},changeDetection:0})}return be})(),Oe=(()=>{class be extends K{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static#e=this.\u0275fac=function(){let xe;return function(oe){return(xe||(xe=g.n5z(be)))(oe||be)}}();static#t=this.\u0275cmp=g.Xpm({type:be,selectors:[["mat-sidenav-container"]],contentQueries:function(Pe,oe,ze){if(1&Pe&&(g.Suo(ze,se,5),g.Suo(ze,Ye,5)),2&Pe){let we;g.iGM(we=g.CRH())&&(oe._content=we.first),g.iGM(we=g.CRH())&&(oe._allDrawers=we)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(Pe,oe){2&Pe&&g.ekj("mat-drawer-container-explicit-backdrop",oe._backdropOverride)},exportAs:["matSidenavContainer"],features:[g._Bn([{provide:n,useExisting:be}]),g.qOj],ngContentSelectors:l,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Pe,oe){1&Pe&&(g.F$t(m),g.YNc(0,i,1,2,"div",0),g.Hsn(1),g.Hsn(2,1),g.YNc(3,o,2,0,"mat-sidenav-content",1)),2&Pe&&(g.Q6J("ngIf",oe.hasBackdrop),g.xp6(3),g.Q6J("ngIf",!oe._content))},dependencies:[t.O5,se],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return be})(),Qe=(()=>{class be{static#e=this.\u0275fac=function(Pe){return new(Pe||be)};static#t=this.\u0275mod=g.oAB({type:be});static#i=this.\u0275inj=g.cJS({imports:[t.ez,T.BQ,e.ZD,e.ZD,T.BQ]})}return be})()},2599:(Ue,q,p)=>{"use strict";p.d(q,{Rr:()=>W,rP:()=>ne});var e=p(5879),t=p(6223),g=p(4300),T=p(3680),c=p(2495),C=p(6814);const u=["switch"];function P(X,pe){1&X&&(e.TgZ(0,"div",12),e.O4$(),e.TgZ(1,"svg",13),e._UZ(2,"path",14),e.qZA(),e.TgZ(3,"svg",15),e._UZ(4,"path",16),e.qZA()())}const d=["*"],S=new e.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),M={provide:t.JU,useExisting:(0,e.Gpc)(()=>W),multi:!0};class I{constructor(pe,ie){this.source=pe,this.checked=ie}}let D=0;const R=(0,T.sb)((0,T.pj)((0,T.Kr)((0,T.Id)(class{constructor(X){this._elementRef=X}}))));let F=(()=>{class X extends R{get required(){return this._required}set required(ie){this._required=(0,c.Ig)(ie)}get checked(){return this._checked}set checked(ie){this._checked=(0,c.Ig)(ie),this._changeDetectorRef.markForCheck()}get hideIcon(){return this._hideIcon}set hideIcon(ie){this._hideIcon=(0,c.Ig)(ie)}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(ie,de,te,ae,E,i,o){super(ie),this._focusMonitor=de,this._changeDetectorRef=te,this.defaults=E,this._onChange=m=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this._hideIcon=!1,this.change=new e.vpe,this.toggleChange=new e.vpe,this.tabIndex=parseInt(ae)||0,this.color=this.defaultColor=E.color||"accent",this._noopAnimations="NoopAnimations"===i,this.id=this._uniqueId=`${o}${++D}`,this._hideIcon=E.hideIcon??!1}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ie=>{"keyboard"===ie||"program"===ie?(this._focused=!0,this._changeDetectorRef.markForCheck()):ie||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(ie){this.checked=!!ie}registerOnChange(ie){this._onChange=ie}registerOnTouched(ie){this._onTouched=ie}setDisabledState(ie){this.disabled=ie,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}static#e=this.\u0275fac=function(de){e.$Z()};static#t=this.\u0275dir=e.lG2({type:X,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked",hideIcon:"hideIcon"},outputs:{change:"change",toggleChange:"toggleChange"},features:[e.qOj]})}return X})(),W=(()=>{class X extends F{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(ie,de,te,ae,E,i){super(ie,de,te,ae,E,i,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new I(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(ie){return new I(this,ie)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(de){return new(de||X)(e.Y36(e.SBq),e.Y36(g.tE),e.Y36(e.sBO),e.$8M("tabindex"),e.Y36(S),e.Y36(e.QbO,8))};static#t=this.\u0275cmp=e.Xpm({type:X,selectors:[["mat-slide-toggle"]],viewQuery:function(de,te){if(1&de&&e.Gf(u,5),2&de){let ae;e.iGM(ae=e.CRH())&&(te._switchElement=ae.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(de,te){2&de&&(e.Ikx("id",te.id),e.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),e.ekj("mat-mdc-slide-toggle-focused",te._focused)("mat-mdc-slide-toggle-checked",te.checked)("_mat-animation-noopable",te._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[e._Bn([M]),e.qOj],ngContentSelectors:d,decls:13,vars:25,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],["class","mdc-switch__icons",4,"ngIf"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(de,te){if(1&de&&(e.F$t(),e.TgZ(0,"div",0)(1,"button",1,2),e.NdJ("click",function(){return te._handleClick()}),e._UZ(3,"div",3),e.TgZ(4,"div",4)(5,"div",5)(6,"div",6),e._UZ(7,"div",7),e.qZA(),e.TgZ(8,"div",8),e._UZ(9,"div",9),e.qZA(),e.YNc(10,P,5,0,"div",10),e.qZA()()(),e.TgZ(11,"label",11),e.NdJ("click",function(E){return E.stopPropagation()}),e.Hsn(12),e.qZA()()),2&de){const ae=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==te.labelPosition),e.xp6(1),e.ekj("mdc-switch--selected",te.checked)("mdc-switch--unselected",!te.checked)("mdc-switch--checked",te.checked)("mdc-switch--disabled",te.disabled),e.Q6J("tabIndex",te.tabIndex)("disabled",te.disabled),e.uIk("id",te.buttonId)("name",te.name)("aria-label",te.ariaLabel)("aria-labelledby",te._getAriaLabelledBy())("aria-describedby",te.ariaDescribedby)("aria-required",te.required||null)("aria-checked",te.checked),e.xp6(8),e.Q6J("matRippleTrigger",ae)("matRippleDisabled",te.disableRipple||te.disabled)("matRippleCentered",!0),e.xp6(1),e.Q6J("ngIf",!te.hideIcon),e.xp6(1),e.Q6J("for",te.buttonId),e.uIk("id",te._labelId)}},dependencies:[T.wG,C.O5],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mdc-switch{width:var(--mdc-switch-track-width);--mdc-switch-disabled-handle-opacity:0.38;--mdc-switch-disabled-selected-icon-opacity:0.38;--mdc-switch-disabled-track-opacity:0.12;--mdc-switch-disabled-unselected-icon-opacity:0.38;--mdc-switch-handle-height:20px;--mdc-switch-handle-shape:10px;--mdc-switch-handle-width:20px;--mdc-switch-selected-icon-size:18px;--mdc-switch-track-height:14px;--mdc-switch-track-shape:7px;--mdc-switch-track-width:36px;--mdc-switch-unselected-icon-size:18px;--mdc-switch-state-layer-size:40px;--mdc-switch-selected-focus-state-layer-opacity:0.12;--mdc-switch-selected-hover-state-layer-opacity:0.04;--mdc-switch-selected-pressed-state-layer-opacity:0.1;--mdc-switch-unselected-focus-state-layer-opacity:0.12;--mdc-switch-unselected-hover-state-layer-opacity:0.04;--mdc-switch-unselected-pressed-state-layer-opacity:0.1}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle .mdc-label{font-family:var(--mat-slide-toggle-label-text-font);font-size:var(--mat-slide-toggle-label-text-size);letter-spacing:var(--mat-slide-toggle-label-text-tracking);line-height:var(--mat-slide-toggle-label-text-line-height);font-weight:var(--mat-slide-toggle-label-text-weight)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}'],encapsulation:2,changeDetection:0})}return X})(),J=(()=>{class X{static#e=this.\u0275fac=function(de){return new(de||X)};static#t=this.\u0275mod=e.oAB({type:X});static#i=this.\u0275inj=e.cJS({})}return X})(),ne=(()=>{class X{static#e=this.\u0275fac=function(de){return new(de||X)};static#t=this.\u0275mod=e.oAB({type:X});static#i=this.\u0275inj=e.cJS({imports:[J,T.BQ,T.si,C.ez,J,T.BQ]})}return X})()},2939:(Ue,q,p)=>{"use strict";p.d(q,{Ve:()=>l,ZX:()=>o,ux:()=>L});var e=p(5879),t=p(8645),g=p(6814),T=p(2296),c=p(6825),C=p(8484),u=p(2831),P=p(8180),d=p(9773),S=p(4300),M=p(1088),I=p(3651),D=p(3680);function R(O,b){if(1&O){const n=e.EpF();e.TgZ(0,"div",2)(1,"button",3),e.NdJ("click",function(){e.CHM(n);const H=e.oxw();return e.KtG(H.action())}),e._uU(2),e.qZA()()}if(2&O){const n=e.oxw();e.xp6(2),e.hij(" ",n.data.action," ")}}const F=["label"];function W(O,b){}const Y=Math.pow(2,31)-1;class Q{constructor(b,n){this._overlayRef=n,this._afterDismissed=new t.x,this._afterOpened=new t.x,this._onAction=new t.x,this._dismissedByAction=!1,this.containerInstance=b,b._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(b){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(b,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 J=new e.OlP("MatSnackBarData");class ne{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let X=(()=>{class O{static#e=this.\u0275fac=function(_){return new(_||O)};static#t=this.\u0275dir=e.lG2({type:O,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return O})(),pe=(()=>{class O{static#e=this.\u0275fac=function(_){return new(_||O)};static#t=this.\u0275dir=e.lG2({type:O,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return O})(),ie=(()=>{class O{static#e=this.\u0275fac=function(_){return new(_||O)};static#t=this.\u0275dir=e.lG2({type:O,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return O})(),de=(()=>{class O{constructor(n,_){this.snackBarRef=n,this.data=_}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static#e=this.\u0275fac=function(_){return new(_||O)(e.Y36(Q),e.Y36(J))};static#t=this.\u0275cmp=e.Xpm({type:O,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(_,H){1&_&&(e.TgZ(0,"div",0),e._uU(1),e.qZA(),e.YNc(2,R,3,1,"div",1)),2&_&&(e.xp6(1),e.hij(" ",H.data.message,"\n"),e.xp6(1),e.Q6J("ngIf",H.hasAction))},dependencies:[g.O5,T.lW,X,pe,ie],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return O})();const te={snackBarState:(0,c.X$)("state",[(0,c.SB)("void, hidden",(0,c.oB)({transform:"scale(0.8)",opacity:0})),(0,c.SB)("visible",(0,c.oB)({transform:"scale(1)",opacity:1})),(0,c.eR)("* => visible",(0,c.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,c.eR)("* => void, * => hidden",(0,c.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,c.oB)({opacity:0})))])};let ae=0,E=(()=>{class O extends C.en{constructor(n,_,H,V,K){super(),this._ngZone=n,this._elementRef=_,this._changeDetectorRef=H,this._platform=V,this.snackBarConfig=K,this._document=(0,e.f3M)(g.K0),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new t.x,this._onExit=new t.x,this._onEnter=new t.x,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+ae++,this.attachDomPortal=se=>{this._assertNotAttached();const Ye=this._portalOutlet.attachDomPortal(se);return this._afterPortalAttached(),Ye},this._live="assertive"!==K.politeness||K.announcementMessage?"off"===K.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(n){this._assertNotAttached();const _=this._portalOutlet.attachComponentPortal(n);return this._afterPortalAttached(),_}attachTemplatePortal(n){this._assertNotAttached();const _=this._portalOutlet.attachTemplatePortal(n);return this._afterPortalAttached(),_}onAnimationEnd(n){const{fromState:_,toState:H}=n;if(("void"===H&&"void"!==_||"hidden"===H)&&this._completeExit(),"visible"===H){const V=this._onEnter;this._ngZone.run(()=>{V.next(),V.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,P.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const n=this._elementRef.nativeElement,_=this.snackBarConfig.panelClass;_&&(Array.isArray(_)?_.forEach(H=>n.classList.add(H)):n.classList.add(_)),this._exposeToModals()}_exposeToModals(){const n=this._liveElementId,_=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let H=0;H<_.length;H++){const V=_[H],K=V.getAttribute("aria-owns");this._trackedModals.add(V),K?-1===K.indexOf(n)&&V.setAttribute("aria-owns",K+" "+n):V.setAttribute("aria-owns",n)}}_clearFromModals(){this._trackedModals.forEach(n=>{const _=n.getAttribute("aria-owns");if(_){const H=_.replace(this._liveElementId,"").trim();H.length>0?n.setAttribute("aria-owns",H):n.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const n=this._elementRef.nativeElement.querySelector("[aria-hidden]"),_=this._elementRef.nativeElement.querySelector("[aria-live]");if(n&&_){let H=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&n.contains(document.activeElement)&&(H=document.activeElement),n.removeAttribute("aria-hidden"),_.appendChild(n),H?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static#e=this.\u0275fac=function(_){return new(_||O)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(u.t4),e.Y36(ne))};static#t=this.\u0275dir=e.lG2({type:O,viewQuery:function(_,H){if(1&_&&e.Gf(C.Pl,7),2&_){let V;e.iGM(V=e.CRH())&&(H._portalOutlet=V.first)}},features:[e.qOj]})}return O})(),i=(()=>{class O extends E{_afterPortalAttached(){super._afterPortalAttached();const n=this._label.nativeElement,_="mdc-snackbar__label";n.classList.toggle(_,!n.querySelector(`.${_}`))}static#e=this.\u0275fac=function(){let n;return function(H){return(n||(n=e.n5z(O)))(H||O)}}();static#t=this.\u0275cmp=e.Xpm({type:O,selectors:[["mat-snack-bar-container"]],viewQuery:function(_,H){if(1&_&&e.Gf(F,7),2&_){let V;e.iGM(V=e.CRH())&&(H._label=V.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(_,H){1&_&&e.WFA("@state.done",function(K){return H.onAnimationEnd(K)}),2&_&&e.d8E("@state",H._animationState)},features:[e.qOj],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(_,H){1&_&&(e.TgZ(0,"div",0)(1,"div",1,2)(3,"div",3),e.YNc(4,W,0,0,"ng-template",4),e.qZA(),e._UZ(5,"div"),e.qZA()()),2&_&&(e.xp6(5),e.uIk("aria-live",H._live)("role",H._role)("id",H._liveElementId))},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;--mdc-snackbar-container-shape:4px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-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-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[te.snackBarState]}})}return O})(),o=(()=>{class O{static#e=this.\u0275fac=function(_){return new(_||O)};static#t=this.\u0275mod=e.oAB({type:O});static#i=this.\u0275inj=e.cJS({imports:[I.U8,C.eL,g.ez,T.ot,D.BQ,D.BQ]})}return O})();const l=new e.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function m(){return new ne}});let y=(()=>{class O{get _openedSnackBarRef(){const n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}constructor(n,_,H,V,K,se){this._overlay=n,this._live=_,this._injector=H,this._breakpointObserver=V,this._parentSnackBar=K,this._defaultConfig=se,this._snackBarRefAtThisLevel=null}openFromComponent(n,_){return this._attach(n,_)}openFromTemplate(n,_){return this._attach(n,_)}open(n,_="",H){const V={...this._defaultConfig,...H};return V.data={message:n,action:_},V.announcementMessage===n&&(V.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,V)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(n,_){const V=e.zs3.create({parent:_&&_.viewContainerRef&&_.viewContainerRef.injector||this._injector,providers:[{provide:ne,useValue:_}]}),K=new C.C5(this.snackBarContainerComponent,_.viewContainerRef,V),se=n.attach(K);return se.instance.snackBarConfig=_,se.instance}_attach(n,_){const H={...new ne,...this._defaultConfig,..._},V=this._createOverlay(H),K=this._attachSnackBarContainer(V,H),se=new Q(K,V);if(n instanceof e.Rgc){const Ye=new C.UE(n,null,{$implicit:H.data,snackBarRef:se});se.instance=K.attachTemplatePortal(Ye)}else{const Ye=this._createInjector(H,se),Oe=new C.C5(n,void 0,Ye),Qe=K.attachComponentPortal(Oe);se.instance=Qe.instance}return this._breakpointObserver.observe(M.u3.HandsetPortrait).pipe((0,d.R)(V.detachments())).subscribe(Ye=>{V.overlayElement.classList.toggle(this.handsetCssClass,Ye.matches)}),H.announcementMessage&&K._onAnnounce.subscribe(()=>{this._live.announce(H.announcementMessage,H.politeness)}),this._animateSnackBar(se,H),this._openedSnackBarRef=se,this._openedSnackBarRef}_animateSnackBar(n,_){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),_.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter(),_.duration&&_.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(_.duration))}_createOverlay(n){const _=new I.X_;_.direction=n.direction;let H=this._overlay.position().global();const V="rtl"===n.direction,K="left"===n.horizontalPosition||"start"===n.horizontalPosition&&!V||"end"===n.horizontalPosition&&V,se=!K&&"center"!==n.horizontalPosition;return K?H.left("0"):se?H.right("0"):H.centerHorizontally(),"top"===n.verticalPosition?H.top("0"):H.bottom("0"),_.positionStrategy=H,this._overlay.create(_)}_createInjector(n,_){return e.zs3.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:Q,useValue:_},{provide:J,useValue:n.data}]})}static#e=this.\u0275fac=function(_){return new(_||O)(e.LFG(I.aV),e.LFG(S.Kd),e.LFG(e.zs3),e.LFG(M.Yg),e.LFG(O,12),e.LFG(l))};static#t=this.\u0275prov=e.Yz7({token:O,factory:O.\u0275fac})}return O})(),L=(()=>{class O extends y{constructor(n,_,H,V,K,se){super(n,_,H,V,K,se),this.simpleSnackBarComponent=de,this.snackBarContainerComponent=i,this.handsetCssClass="mat-mdc-snack-bar-handset"}static#e=this.\u0275fac=function(_){return new(_||O)(e.LFG(I.aV),e.LFG(S.Kd),e.LFG(e.zs3),e.LFG(M.Yg),e.LFG(O,12),e.LFG(l))};static#t=this.\u0275prov=e.Yz7({token:O,factory:O.\u0275fac,providedIn:o})}return O})()},3566:(Ue,q,p)=>{"use strict";p.d(q,{JX:()=>i,YE:()=>J,nU:()=>E});var e=p(5879),t=p(4300),g=p(2495),T=p(6028),c=p(3680),C=p(8645),u=p(3019),P=p(6825),d=p(6814);const S=["mat-sort-header",""];function M(o,m){if(1&o){const l=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){e.CHM(l);const L=e.oxw();return e.KtG(L._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){e.CHM(l);const L=e.oxw();return e.KtG(L._disableViewStateAnimation=!1)}),e._UZ(1,"div",4),e.TgZ(2,"div",5),e._UZ(3,"div",6)(4,"div",7)(5,"div",8),e.qZA()()}if(2&o){const l=e.oxw();e.Q6J("@arrowOpacity",l._getArrowViewState())("@arrowPosition",l._getArrowViewState())("@allowChildren",l._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",l._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",l._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",l._getArrowDirectionState())}}const I=["*"],Y=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),Q=(0,c.dB)((0,c.Id)(class{}));let J=(()=>{class o extends Q{get direction(){return this._direction}set direction(l){this._direction=l}get disableClear(){return this._disableClear}set disableClear(l){this._disableClear=(0,g.Ig)(l)}constructor(l){super(),this._defaultOptions=l,this.sortables=new Map,this._stateChanges=new C.x,this.start="asc",this._direction="",this.sortChange=new e.vpe}register(l){this.sortables.set(l.id,l)}deregister(l){this.sortables.delete(l.id)}sort(l){this.active!=l.id?(this.active=l.id,this.direction=l.start?l.start:this.start):this.direction=this.getNextSortDirection(l),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(l){if(!l)return"";let L=function ne(o,m){let l=["asc","desc"];return"desc"==o&&l.reverse(),m||l.push(""),l}(l.start||this.start,l?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),O=L.indexOf(this.direction)+1;return O>=L.length&&(O=0),L[O]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}static#e=this.\u0275fac=function(y){return new(y||o)(e.Y36(Y,8))};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[e.qOj,e.TTD]})}return o})();const X=c.mZ.ENTERING+" "+c.yN.STANDARD_CURVE,pe={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)(X))]),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)(X))]),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)(X))]),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)(X))]),arrowPosition:(0,P.X$)("arrowPosition",[(0,P.eR)("* => desc-to-hint, * => desc-to-active",(0,P.jt)(X,(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)(X,(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)(X,(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)(X,(0,P.F4)([(0,P.oB)({transform:"translateY(0)"}),(0,P.oB)({transform:"translateY(-25%)"})]))),(0,P.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,P.oB)({transform:"translateY(0)"})),(0,P.SB)("hint-to-desc, active-to-desc, desc",(0,P.oB)({transform:"translateY(-25%)"})),(0,P.SB)("hint-to-asc, active-to-asc, asc",(0,P.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,P.X$)("allowChildren",[(0,P.eR)("* <=> *",[(0,P.IO)("@*",(0,P.pV)(),{optional:!0})])])};let ie=(()=>{class o{constructor(){this.changes=new C.x}static#e=this.\u0275fac=function(y){return new(y||o)};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const te={provide:ie,deps:[[new e.FiY,new e.tp0,ie]],useFactory:function de(o){return o||new ie}},ae=(0,c.Id)(class{});let E=(()=>{class o extends ae{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(l){this._updateSortActionDescription(l)}get disableClear(){return this._disableClear}set disableClear(l){this._disableClear=(0,g.Ig)(l)}constructor(l,y,L,O,b,n,_,H){super(),this._intl=l,this._changeDetectorRef=y,this._sort=L,this._columnDef=O,this._focusMonitor=b,this._elementRef=n,this._ariaDescriber=_,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",H?.arrowPosition&&(this.arrowPosition=H?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(l=>{const y=!!l;y!==this._showIndicatorHint&&(this._setIndicatorHintVisible(y),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(l){this._isDisabled()&&l||(this._showIndicatorHint=l,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(l){this._viewState=l||{},this._disableViewStateAnimation&&(this._viewState={toState:l.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(l){!this._isDisabled()&&(l.keyCode===T.L_||l.keyCode===T.K5)&&(l.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const l=this._viewState.fromState;return(l?`${l}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(l){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,l)),this._sortActionDescription=l}_handleStateChanges(){this._rerenderSubscription=(0,u.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(y){return new(y||o)(e.Y36(ie),e.Y36(e.sBO),e.Y36(J,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(t.tE),e.Y36(e.SBq),e.Y36(t.$s,8),e.Y36(Y,8))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(y,L){1&y&&e.NdJ("click",function(){return L._handleClick()})("keydown",function(b){return L._handleKeydown(b)})("mouseenter",function(){return L._setIndicatorHintVisible(!0)})("mouseleave",function(){return L._setIndicatorHintVisible(!1)}),2&y&&(e.uIk("aria-sort",L._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",L._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:S,ngContentSelectors:I,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(y,L){1&y&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,M,6,6,"div",2),e.qZA()),2&y&&(e.ekj("mat-sort-header-sorted",L._isSorted())("mat-sort-header-position-before","before"===L.arrowPosition),e.uIk("tabindex",L._isDisabled()?null:0)("role",L._isDisabled()?null:"button"),e.xp6(3),e.Q6J("ngIf",L._renderArrow()))},dependencies:[d.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[pe.indicator,pe.leftPointer,pe.rightPointer,pe.arrowOpacity,pe.arrowPosition,pe.allowChildren]},changeDetection:0})}return o})(),i=(()=>{class o{static#e=this.\u0275fac=function(y){return new(y||o)};static#t=this.\u0275mod=e.oAB({type:o});static#i=this.\u0275inj=e.cJS({providers:[te],imports:[d.ez,c.BQ]})}return o})()},8257:(Ue,q,p)=>{"use strict";p.d(q,{C0:()=>we,Ic:()=>ge,T5:()=>Ge,VY:()=>K,Vq:()=>le,fd:()=>fe,z9:()=>oe});var e=p(8484),t=p(1657),g=p(6814),T=p(5879),c=p(3680),C=p(617),u=p(4300),P=p(8645),d=p(7394),S=p(9388),M=p(4664),I=p(7398),D=p(7921),R=p(9773),F=p(3997),W=p(6825);function Y(Le,Ne){if(1&Le&&T.GkF(0,8),2&Le){const Ve=T.oxw();T.Q6J("ngTemplateOutlet",Ve.iconOverrides[Ve.state])("ngTemplateOutletContext",Ve._getIconContext())}}function Q(Le,Ne){if(1&Le&&(T.TgZ(0,"span",13),T._uU(1),T.qZA()),2&Le){const Ve=T.oxw(2);T.xp6(1),T.Oqu(Ve._getDefaultTextForState(Ve.state))}}function J(Le,Ne){if(1&Le&&(T.TgZ(0,"span",14),T._uU(1),T.qZA()),2&Le){const Ve=T.oxw(2);T.xp6(1),T.Oqu(Ve._intl.completedLabel)}}function ne(Le,Ne){if(1&Le&&(T.TgZ(0,"span",14),T._uU(1),T.qZA()),2&Le){const Ve=T.oxw(2);T.xp6(1),T.Oqu(Ve._intl.editableLabel)}}function X(Le,Ne){if(1&Le&&(T.TgZ(0,"mat-icon",13),T._uU(1),T.qZA()),2&Le){const Ve=T.oxw(2);T.xp6(1),T.Oqu(Ve._getDefaultTextForState(Ve.state))}}function pe(Le,Ne){if(1&Le&&(T.ynx(0,9),T.YNc(1,Q,2,1,"span",10),T.YNc(2,J,2,1,"span",11),T.YNc(3,ne,2,1,"span",11),T.YNc(4,X,2,1,"mat-icon",12),T.BQk()),2&Le){const Ve=T.oxw();T.Q6J("ngSwitch",Ve.state),T.xp6(1),T.Q6J("ngSwitchCase","number"),T.xp6(1),T.Q6J("ngIf","done"===Ve.state),T.xp6(1),T.Q6J("ngIf","edit"===Ve.state)}}function ie(Le,Ne){if(1&Le&&(T.TgZ(0,"div",15),T.GkF(1,16),T.qZA()),2&Le){const Ve=T.oxw();T.xp6(1),T.Q6J("ngTemplateOutlet",Ve._templateLabel().template)}}function de(Le,Ne){if(1&Le&&(T.TgZ(0,"div",15),T._uU(1),T.qZA()),2&Le){const Ve=T.oxw();T.xp6(1),T.Oqu(Ve.label)}}function te(Le,Ne){if(1&Le&&(T.TgZ(0,"div",17),T._uU(1),T.qZA()),2&Le){const Ve=T.oxw();T.xp6(1),T.Oqu(Ve._intl.optionalLabel)}}function ae(Le,Ne){if(1&Le&&(T.TgZ(0,"div",18),T._uU(1),T.qZA()),2&Le){const Ve=T.oxw();T.xp6(1),T.Oqu(Ve.errorMessage)}}function E(Le,Ne){}function i(Le,Ne){if(1&Le&&(T.Hsn(0),T.YNc(1,E,0,0,"ng-template",0)),2&Le){const Ve=T.oxw();T.xp6(1),T.Q6J("cdkPortalOutlet",Ve._portal)}}const o=["*"];function m(Le,Ne){1&Le&&T._UZ(0,"div",11)}const l=function(Le,Ne){return{step:Le,i:Ne}};function y(Le,Ne){if(1&Le&&(T.ynx(0),T.GkF(1,9),T.YNc(2,m,1,0,"div",10),T.BQk()),2&Le){const Ve=Ne.$implicit,at=Ne.index,ve=Ne.last;T.oxw(2);const De=T.MAs(4);T.xp6(1),T.Q6J("ngTemplateOutlet",De)("ngTemplateOutletContext",T.WLB(3,l,Ve,at)),T.xp6(1),T.Q6J("ngIf",!ve)}}const L=function(Le){return{animationDuration:Le}},O=function(Le,Ne){return{value:Le,params:Ne}};function b(Le,Ne){if(1&Le){const Ve=T.EpF();T.TgZ(0,"div",12),T.NdJ("@horizontalStepTransition.done",function(ve){T.CHM(Ve);const De=T.oxw(2);return T.KtG(De._animationDone.next(ve))}),T.GkF(1,13),T.qZA()}if(2&Le){const Ve=Ne.$implicit,at=Ne.index,ve=T.oxw(2);T.ekj("mat-horizontal-stepper-content-inactive",ve.selectedIndex!==at),T.Q6J("@horizontalStepTransition",T.WLB(8,O,ve._getAnimationDirection(at),T.VKq(6,L,ve._getAnimationDuration())))("id",ve._getStepContentId(at)),T.uIk("aria-labelledby",ve._getStepLabelId(at)),T.xp6(1),T.Q6J("ngTemplateOutlet",Ve.content)}}function n(Le,Ne){if(1&Le&&(T.TgZ(0,"div",4)(1,"div",5),T.YNc(2,y,3,6,"ng-container",6),T.qZA(),T.TgZ(3,"div",7),T.YNc(4,b,2,11,"div",8),T.qZA()()),2&Le){const Ve=T.oxw();T.xp6(2),T.Q6J("ngForOf",Ve.steps),T.xp6(2),T.Q6J("ngForOf",Ve.steps)}}function _(Le,Ne){if(1&Le){const Ve=T.EpF();T.TgZ(0,"div",15),T.GkF(1,9),T.TgZ(2,"div",16)(3,"div",17),T.NdJ("@verticalStepTransition.done",function(ve){T.CHM(Ve);const De=T.oxw(2);return T.KtG(De._animationDone.next(ve))}),T.TgZ(4,"div",18),T.GkF(5,13),T.qZA()()()()}if(2&Le){const Ve=Ne.$implicit,at=Ne.index,ve=Ne.last,De=T.oxw(2),xt=T.MAs(4);T.xp6(1),T.Q6J("ngTemplateOutlet",xt)("ngTemplateOutletContext",T.WLB(10,l,Ve,at)),T.xp6(1),T.ekj("mat-stepper-vertical-line",!ve),T.xp6(1),T.ekj("mat-vertical-stepper-content-inactive",De.selectedIndex!==at),T.Q6J("@verticalStepTransition",T.WLB(15,O,De._getAnimationDirection(at),T.VKq(13,L,De._getAnimationDuration())))("id",De._getStepContentId(at)),T.uIk("aria-labelledby",De._getStepLabelId(at)),T.xp6(2),T.Q6J("ngTemplateOutlet",Ve.content)}}function H(Le,Ne){if(1&Le&&(T.ynx(0),T.YNc(1,_,6,18,"div",14),T.BQk()),2&Le){const Ve=T.oxw();T.xp6(1),T.Q6J("ngForOf",Ve.steps)}}function V(Le,Ne){if(1&Le){const Ve=T.EpF();T.TgZ(0,"mat-step-header",19),T.NdJ("click",function(){const De=T.CHM(Ve).step;return T.KtG(De.select())})("keydown",function(ve){T.CHM(Ve);const De=T.oxw();return T.KtG(De._onKeydown(ve))}),T.qZA()}if(2&Le){const Ve=Ne.step,at=Ne.i,ve=T.oxw();T.ekj("mat-horizontal-stepper-header","horizontal"===ve.orientation)("mat-vertical-stepper-header","vertical"===ve.orientation),T.Q6J("tabIndex",ve._getFocusIndex()===at?0:-1)("id",ve._getStepLabelId(at))("index",at)("state",ve._getIndicatorType(at,Ve.state))("label",Ve.stepLabel||Ve.label)("selected",ve.selectedIndex===at)("active",ve._stepIsNavigable(at,Ve))("optional",Ve.optional)("errorMessage",Ve.errorMessage)("iconOverrides",ve._iconOverrides)("disableRipple",ve.disableRipple||!ve._stepIsNavigable(at,Ve))("color",Ve.color||ve.color),T.uIk("aria-posinset",at+1)("aria-setsize",ve.steps.length)("aria-controls",ve._getStepContentId(at))("aria-selected",ve.selectedIndex==at)("aria-label",Ve.ariaLabel||null)("aria-labelledby",!Ve.ariaLabel&&Ve.ariaLabelledby?Ve.ariaLabelledby:null)("aria-disabled",!ve._stepIsNavigable(at,Ve)||null)}}let K=(()=>{class Le extends t.u6{static#e=this.\u0275fac=function(){let Ve;return function(ve){return(Ve||(Ve=T.n5z(Le)))(ve||Le)}}();static#t=this.\u0275dir=T.lG2({type:Le,selectors:[["","matStepLabel",""]],features:[T.qOj]})}return Le})(),se=(()=>{class Le{constructor(){this.changes=new P.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static#e=this.\u0275fac=function(at){return new(at||Le)};static#t=this.\u0275prov=T.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"})}return Le})();const Oe={provide:se,deps:[[new T.FiY,new T.tp0,se]],useFactory:function Ye(Le){return Le||new se}},Qe=(0,c.pj)(class extends t.KL{constructor(Ne){super(Ne)}},"primary");let be=(()=>{class Le extends Qe{constructor(Ve,at,ve,De){super(ve),this._intl=Ve,this._focusMonitor=at,this._intlSubscription=Ve.changes.subscribe(()=>De.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(Ve,at){Ve?this._focusMonitor.focusVia(this._elementRef,Ve,at):this._elementRef.nativeElement.focus(at)}_stringLabel(){return this.label instanceof K?null:this.label}_templateLabel(){return this.label instanceof K?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(Ve){return"number"==Ve?`${this.index+1}`:"edit"==Ve?"create":"error"==Ve?"warning":Ve}static#e=this.\u0275fac=function(at){return new(at||Le)(T.Y36(se),T.Y36(u.tE),T.Y36(T.SBq),T.Y36(T.sBO))};static#t=this.\u0275cmp=T.Xpm({type:Le,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:[T.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(at,ve){1&at&&(T._UZ(0,"div",0),T.TgZ(1,"div")(2,"div",1),T.YNc(3,Y,1,2,"ng-container",2),T.YNc(4,pe,5,4,"ng-container",3),T.qZA()(),T.TgZ(5,"div",4),T.YNc(6,ie,2,1,"div",5),T.YNc(7,de,2,1,"div",5),T.YNc(8,te,2,1,"div",6),T.YNc(9,ae,2,1,"div",7),T.qZA()),2&at&&(T.Q6J("matRippleTrigger",ve._getHostElement())("matRippleDisabled",ve.disableRipple),T.xp6(1),T.Gre("mat-step-icon-state-",ve.state," mat-step-icon"),T.ekj("mat-step-icon-selected",ve.selected),T.xp6(1),T.Q6J("ngSwitch",!(!ve.iconOverrides||!ve.iconOverrides[ve.state])),T.xp6(1),T.Q6J("ngSwitchCase",!0),T.xp6(2),T.ekj("mat-step-label-active",ve.active)("mat-step-label-selected",ve.selected)("mat-step-label-error","error"==ve.state),T.xp6(1),T.Q6J("ngIf",ve._templateLabel()),T.xp6(1),T.Q6J("ngIf",ve._stringLabel()),T.xp6(1),T.Q6J("ngIf",ve.optional&&"error"!=ve.state),T.xp6(1),T.Q6J("ngIf","error"==ve.state))},dependencies:[g.O5,g.tP,g.RF,g.n9,g.ED,C.Hw,c.wG],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0})}return Le})();const Pe={horizontalStepTransition:(0,W.X$)("horizontalStepTransition",[(0,W.SB)("previous",(0,W.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,W.SB)("current",(0,W.oB)({transform:"none",visibility:"inherit"})),(0,W.SB)("next",(0,W.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,W.eR)("* => *",(0,W.ru)([(0,W.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),(0,W.IO)("@*",(0,W.pV)(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,W.X$)("verticalStepTransition",[(0,W.SB)("previous",(0,W.oB)({height:"0px",visibility:"hidden"})),(0,W.SB)("next",(0,W.oB)({height:"0px",visibility:"hidden"})),(0,W.SB)("current",(0,W.oB)({height:"*",visibility:"inherit"})),(0,W.eR)("* <=> current",(0,W.ru)([(0,W.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),(0,W.IO)("@*",(0,W.pV)(),{optional:!0})]),{params:{animationDuration:"225ms"}})])};let oe=(()=>{class Le{constructor(Ve){this.templateRef=Ve}static#e=this.\u0275fac=function(at){return new(at||Le)(T.Y36(T.Rgc))};static#t=this.\u0275dir=T.lG2({type:Le,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}})}return Le})(),ze=(()=>{class Le{constructor(Ve){this._template=Ve}static#e=this.\u0275fac=function(at){return new(at||Le)(T.Y36(T.Rgc))};static#t=this.\u0275dir=T.lG2({type:Le,selectors:[["ng-template","matStepContent",""]]})}return Le})(),we=(()=>{class Le extends t.be{constructor(Ve,at,ve,De){super(Ve,De),this._errorStateMatcher=at,this._viewContainerRef=ve,this._isSelected=d.w0.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,M.w)(()=>this._stepper.selectionChange.pipe((0,I.U)(Ve=>Ve.selectedStep===this),(0,D.O)(this._stepper.selected===this)))).subscribe(Ve=>{Ve&&this._lazyContent&&!this._portal&&(this._portal=new e.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(Ve,at){return this._errorStateMatcher.isErrorState(Ve,at)||!!(Ve&&Ve.invalid&&this.interacted)}static#e=this.\u0275fac=function(at){return new(at||Le)(T.Y36((0,T.Gpc)(()=>le)),T.Y36(c.rD,4),T.Y36(T.s_b),T.Y36(t.gx,8))};static#t=this.\u0275cmp=T.Xpm({type:Le,selectors:[["mat-step"]],contentQueries:function(at,ve,De){if(1&at&&(T.Suo(De,K,5),T.Suo(De,ze,5)),2&at){let xt;T.iGM(xt=T.CRH())&&(ve.stepLabel=xt.first),T.iGM(xt=T.CRH())&&(ve._lazyContent=xt.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[T._Bn([{provide:c.rD,useExisting:Le},{provide:t.be,useExisting:Le}]),T.qOj],ngContentSelectors:o,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(at,ve){1&at&&(T.F$t(),T.YNc(0,i,2,1,"ng-template"))},dependencies:[e.Pl],encapsulation:2,changeDetection:0})}return Le})(),le=(()=>{class Le extends t.B8{get animationDuration(){return this._animationDuration}set animationDuration(Ve){this._animationDuration=/^\d+$/.test(Ve)?Ve+"ms":Ve}constructor(Ve,at,ve){super(Ve,at,ve),this._stepHeader=void 0,this._steps=void 0,this.steps=new T.n_E,this.animationDone=new T.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new P.x,this._animationDuration="";const De=ve.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===De?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:Ve,templateRef:at})=>this._iconOverrides[Ve]=at),this.steps.changes.pipe((0,R.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,F.x)((Ve,at)=>Ve.fromState===at.fromState&&Ve.toState===at.toState),(0,R.R)(this._destroyed)).subscribe(Ve=>{"current"===Ve.toState&&this.animationDone.emit()})}_stepIsNavigable(Ve,at){return at.completed||this.selectedIndex===Ve||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}static#e=this.\u0275fac=function(at){return new(at||Le)(T.Y36(S.Is,8),T.Y36(T.sBO),T.Y36(T.SBq))};static#t=this.\u0275cmp=T.Xpm({type:Le,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(at,ve,De){if(1&at&&(T.Suo(De,we,5),T.Suo(De,oe,5)),2&at){let xt;T.iGM(xt=T.CRH())&&(ve._steps=xt),T.iGM(xt=T.CRH())&&(ve._icons=xt)}},viewQuery:function(at,ve){if(1&at&&T.Gf(be,5),2&at){let De;T.iGM(De=T.CRH())&&(ve._stepHeader=De)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(at,ve){2&at&&(T.uIk("aria-orientation",ve.orientation),T.ekj("mat-stepper-horizontal","horizontal"===ve.orientation)("mat-stepper-vertical","vertical"===ve.orientation)("mat-stepper-label-position-end","horizontal"===ve.orientation&&"end"==ve.labelPosition)("mat-stepper-label-position-bottom","horizontal"===ve.orientation&&"bottom"==ve.labelPosition)("mat-stepper-header-position-bottom","bottom"===ve.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[T._Bn([{provide:t.B8,useExisting:Le}]),T.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(at,ve){1&at&&(T.ynx(0,0),T.YNc(1,n,5,2,"div",1),T.YNc(2,H,2,1,"ng-container",2),T.BQk(),T.YNc(3,V,1,23,"ng-template",null,3,T.W1O)),2&at&&(T.Q6J("ngSwitch",ve.orientation),T.xp6(1),T.Q6J("ngSwitchCase","horizontal"),T.xp6(1),T.Q6J("ngSwitchCase","vertical"))},dependencies:[g.sg,g.O5,g.tP,g.RF,g.n9,be],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[Pe.horizontalStepTransition,Pe.verticalStepTransition]},changeDetection:0})}return Le})(),ge=(()=>{class Le extends t.st{static#e=this.\u0275fac=function(){let Ve;return function(ve){return(Ve||(Ve=T.n5z(Le)))(ve||Le)}}();static#t=this.\u0275dir=T.lG2({type:Le,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(at,ve){2&at&&T.Ikx("type",ve.type)},inputs:{type:"type"},features:[T.qOj]})}return Le})(),fe=(()=>{class Le extends t.po{static#e=this.\u0275fac=function(){let Ve;return function(ve){return(Ve||(Ve=T.n5z(Le)))(ve||Le)}}();static#t=this.\u0275dir=T.lG2({type:Le,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(at,ve){2&at&&T.Ikx("type",ve.type)},inputs:{type:"type"},features:[T.qOj]})}return Le})(),Ge=(()=>{class Le{static#e=this.\u0275fac=function(at){return new(at||Le)};static#t=this.\u0275mod=T.oAB({type:Le});static#i=this.\u0275inj=T.cJS({providers:[Oe,c.rD],imports:[c.BQ,g.ez,e.eL,t.U5,C.Ps,c.si,c.BQ]})}return Le})()},5313:(Ue,q,p)=>{"use strict";p.d(q,{ev:()=>Ce,Dz:()=>Mt,w1:()=>mt,yh:()=>ee,mD:()=>Tt,Q2:()=>Xe,Ke:()=>jt,ge:()=>he,fO:()=>oi,XQ:()=>Kt,as:()=>Lt,Gk:()=>Bt,nj:()=>Zt,BZ:()=>Ze,by:()=>Ut,p0:()=>si});var e=p(5879),t=p(9388),g=p(2495),T=p(8337),c=p(2831),C=p(5407),u=p(6814),P=p(8645),d=p(9666),S=p(5619),M=p(2664),I=p(2096),D=p(9773),R=p(8180);const F=[[["caption"]],[["colgroup"],["col"]]],W=["caption","colgroup, col"];function J(bt){return class extends bt{get sticky(){return this._sticky}set sticky($e){const ut=this._sticky;this._sticky=(0,g.Ig)($e),this._hasStickyChanged=ut!==this._sticky}hasStickyChanged(){const $e=this._hasStickyChanged;return this._hasStickyChanged=!1,$e}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...$e){super(...$e),this._sticky=!1,this._hasStickyChanged=!1}}}const ne=new e.OlP("CDK_TABLE");let pe=(()=>{class bt{constructor(ut){this.template=ut}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","cdkCellDef",""]]})}return bt})(),ie=(()=>{class bt{constructor(ut){this.template=ut}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","cdkHeaderCellDef",""]]})}return bt})(),de=(()=>{class bt{constructor(ut){this.template=ut}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","cdkFooterCellDef",""]]})}return bt})();class te{}const ae=J(te);let E=(()=>{class bt extends ae{get name(){return this._name}set name(ut){this._setNameInput(ut)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ut){const Et=this._stickyEnd;this._stickyEnd=(0,g.Ig)(ut),this._hasStickyChanged=Et!==this._stickyEnd}constructor(ut){super(),this._table=ut,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ut){ut&&(this._name=ut,this.cssClassFriendlyName=ut.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(ne,8))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","cdkColumnDef",""]],contentQueries:function(Et,qt,pi){if(1&Et&&(e.Suo(pi,pe,5),e.Suo(pi,ie,5),e.Suo(pi,de,5)),2&Et){let Si;e.iGM(Si=e.CRH())&&(qt.cell=Si.first),e.iGM(Si=e.CRH())&&(qt.headerCell=Si.first),e.iGM(Si=e.CRH())&&(qt.footerCell=Si.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:bt}]),e.qOj]})}return bt})();class i{constructor($e,ut){ut.nativeElement.classList.add(...$e._columnCssClassName)}}let o=(()=>{class bt extends i{constructor(ut,Et){super(ut,Et)}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(E),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]})}return bt})(),m=(()=>{class bt extends i{constructor(ut,Et){if(super(ut,Et),1===ut._table?._elementRef.nativeElement.nodeType){const qt=ut._table._elementRef.nativeElement.getAttribute("role");Et.nativeElement.setAttribute("role","grid"===qt||"treegrid"===qt?"gridcell":"cell")}}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(E),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[e.qOj]})}return bt})(),l=(()=>{class bt extends i{constructor(ut,Et){if(super(ut,Et),1===ut._table?._elementRef.nativeElement.nodeType){const qt=ut._table._elementRef.nativeElement.getAttribute("role");Et.nativeElement.setAttribute("role","grid"===qt||"treegrid"===qt?"gridcell":"cell")}}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(E),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]})}return bt})();class y{constructor(){this.tasks=[],this.endTasks=[]}}const L=new e.OlP("_COALESCED_STYLE_SCHEDULER");let O=(()=>{class bt{constructor(ut){this._ngZone=ut,this._currentSchedule=null,this._destroyed=new P.x}schedule(ut){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ut)}scheduleEnd(ut){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ut)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new y,this._getScheduleObservable().pipe((0,D.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ut=this._currentSchedule;this._currentSchedule=new y;for(const Et of ut.tasks)Et();for(const Et of ut.endTasks)Et()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,d.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,R.q)(1))}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:bt,factory:bt.\u0275fac})}return bt})(),n=(()=>{class bt{constructor(ut,Et){this.template=ut,this._differs=Et}ngOnChanges(ut){if(!this._columnsDiffer){const Et=ut.columns&&ut.columns.currentValue||[];this._columnsDiffer=this._differs.find(Et).create(),this._columnsDiffer.diff(Et)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ut){return this instanceof V?ut.headerCell.template:this instanceof Ye?ut.footerCell.template:ut.cell.template}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(e.Rgc),e.Y36(e.ZZ4))};static#t=this.\u0275dir=e.lG2({type:bt,features:[e.TTD]})}return bt})();class _ extends n{}const H=J(_);let V=(()=>{class bt extends H{constructor(ut,Et,qt){super(ut,Et),this._table=qt}ngOnChanges(ut){super.ngOnChanges(ut)}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ne,8))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]})}return bt})();class K extends n{}const se=J(K);let Ye=(()=>{class bt extends se{constructor(ut,Et,qt){super(ut,Et),this._table=qt}ngOnChanges(ut){super.ngOnChanges(ut)}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ne,8))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]})}return bt})(),Oe=(()=>{class bt extends n{constructor(ut,Et,qt){super(ut,Et),this._table=qt}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ne,8))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]})}return bt})(),Qe=(()=>{class bt{static#e=this.mostRecentCellOutlet=null;constructor(ut){this._viewContainer=ut,bt.mostRecentCellOutlet=this}ngOnDestroy(){bt.mostRecentCellOutlet===this&&(bt.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(e.s_b))};static#i=this.\u0275dir=e.lG2({type:bt,selectors:[["","cdkCellOutlet",""]]})}return bt})(),be=(()=>{class bt{static#e=this.\u0275fac=function(Et){return new(Et||bt)};static#t=this.\u0275cmp=e.Xpm({type:bt,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Et,qt){1&Et&&e.GkF(0,0)},dependencies:[Qe],encapsulation:2})}return bt})(),ue=(()=>{class bt{static#e=this.\u0275fac=function(Et){return new(Et||bt)};static#t=this.\u0275cmp=e.Xpm({type:bt,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Et,qt){1&Et&&e.GkF(0,0)},dependencies:[Qe],encapsulation:2})}return bt})(),xe=(()=>{class bt{static#e=this.\u0275fac=function(Et){return new(Et||bt)};static#t=this.\u0275cmp=e.Xpm({type:bt,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Et,qt){1&Et&&e.GkF(0,0)},dependencies:[Qe],encapsulation:2})}return bt})(),Pe=(()=>{class bt{constructor(ut){this.templateRef=ut,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["ng-template","cdkNoDataRow",""]]})}return bt})();const oe=["top","bottom","left","right"];class ze{constructor($e,ut,Et,qt,pi=!0,Si=!0,Fi){this._isNativeHtmlTable=$e,this._stickCellCss=ut,this.direction=Et,this._coalescedStyleScheduler=qt,this._isBrowser=pi,this._needsPositionStickyOnElement=Si,this._positionListener=Fi,this._cachedCellWidths=[],this._borderCellCss={top:`${ut}-border-elem-top`,bottom:`${ut}-border-elem-bottom`,left:`${ut}-border-elem-left`,right:`${ut}-border-elem-right`}}clearStickyPositioning($e,ut){const Et=[];for(const qt of $e)if(qt.nodeType===qt.ELEMENT_NODE){Et.push(qt);for(let pi=0;pi<qt.children.length;pi++)Et.push(qt.children[pi])}this._coalescedStyleScheduler.schedule(()=>{for(const qt of Et)this._removeStickyStyle(qt,ut)})}updateStickyColumns($e,ut,Et,qt=!0){if(!$e.length||!this._isBrowser||!ut.some(Qi=>Qi)&&!Et.some(Qi=>Qi))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const pi=$e[0],Si=pi.children.length,Fi=this._getCellWidths(pi,qt),Ri=this._getStickyStartColumnPositions(Fi,ut),Ui=this._getStickyEndColumnPositions(Fi,Et),nn=ut.lastIndexOf(!0),cn=Et.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Qi="rtl"===this.direction,$t=Qi?"right":"left",Hi=Qi?"left":"right";for(const Ee of $e)for(let We=0;We<Si;We++){const rt=Ee.children[We];ut[We]&&this._addStickyStyle(rt,$t,Ri[We],We===nn),Et[We]&&this._addStickyStyle(rt,Hi,Ui[We],We===cn)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===nn?[]:Fi.slice(0,nn+1).map((Ee,We)=>ut[We]?Ee:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===cn?[]:Fi.slice(cn).map((Ee,We)=>Et[We+cn]?Ee:null).reverse()}))})}stickRows($e,ut,Et){if(!this._isBrowser)return;const qt="bottom"===Et?$e.slice().reverse():$e,pi="bottom"===Et?ut.slice().reverse():ut,Si=[],Fi=[],Ri=[];for(let nn=0,cn=0;nn<qt.length;nn++){if(!pi[nn])continue;Si[nn]=cn;const Qi=qt[nn];Ri[nn]=this._isNativeHtmlTable?Array.from(Qi.children):[Qi];const $t=Qi.getBoundingClientRect().height;cn+=$t,Fi[nn]=$t}const Ui=pi.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let nn=0;nn<qt.length;nn++){if(!pi[nn])continue;const cn=Si[nn],Qi=nn===Ui;for(const $t of Ri[nn])this._addStickyStyle($t,Et,cn,Qi)}"top"===Et?this._positionListener?.stickyHeaderRowsUpdated({sizes:Fi,offsets:Si,elements:Ri}):this._positionListener?.stickyFooterRowsUpdated({sizes:Fi,offsets:Si,elements:Ri})})}updateStickyFooterContainer($e,ut){if(!this._isNativeHtmlTable)return;const Et=$e.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{ut.some(qt=>!qt)?this._removeStickyStyle(Et,["bottom"]):this._addStickyStyle(Et,"bottom",0,!1)})}_removeStickyStyle($e,ut){for(const qt of ut)$e.style[qt]="",$e.classList.remove(this._borderCellCss[qt]);oe.some(qt=>-1===ut.indexOf(qt)&&$e.style[qt])?$e.style.zIndex=this._getCalculatedZIndex($e):($e.style.zIndex="",this._needsPositionStickyOnElement&&($e.style.position=""),$e.classList.remove(this._stickCellCss))}_addStickyStyle($e,ut,Et,qt){$e.classList.add(this._stickCellCss),qt&&$e.classList.add(this._borderCellCss[ut]),$e.style[ut]=`${Et}px`,$e.style.zIndex=this._getCalculatedZIndex($e),this._needsPositionStickyOnElement&&($e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex($e){const ut={top:100,bottom:10,left:1,right:1};let Et=0;for(const qt of oe)$e.style[qt]&&(Et+=ut[qt]);return Et?`${Et}`:""}_getCellWidths($e,ut=!0){if(!ut&&this._cachedCellWidths.length)return this._cachedCellWidths;const Et=[],qt=$e.children;for(let pi=0;pi<qt.length;pi++)Et.push(qt[pi].getBoundingClientRect().width);return this._cachedCellWidths=Et,Et}_getStickyStartColumnPositions($e,ut){const Et=[];let qt=0;for(let pi=0;pi<$e.length;pi++)ut[pi]&&(Et[pi]=qt,qt+=$e[pi]);return Et}_getStickyEndColumnPositions($e,ut){const Et=[];let qt=0;for(let pi=$e.length;pi>0;pi--)ut[pi]&&(Et[pi]=qt,qt+=$e[pi]);return Et}}const at=new e.OlP("CDK_SPL");let De=(()=>{class bt{constructor(ut,Et){this.viewContainer=ut,this.elementRef=Et}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","rowOutlet",""]]})}return bt})(),xt=(()=>{class bt{constructor(ut,Et){this.viewContainer=ut,this.elementRef=Et}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","headerRowOutlet",""]]})}return bt})(),ct=(()=>{class bt{constructor(ut,Et){this.viewContainer=ut,this.elementRef=Et}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","footerRowOutlet",""]]})}return bt})(),et=(()=>{class bt{constructor(ut,Et){this.viewContainer=ut,this.elementRef=Et}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","noDataRowOutlet",""]]})}return bt})(),ot=(()=>{class bt{get trackBy(){return this._trackByFn}set trackBy(ut){this._trackByFn=ut}get dataSource(){return this._dataSource}set dataSource(ut){this._dataSource!==ut&&this._switchDataSource(ut)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ut){this._multiTemplateDataRows=(0,g.Ig)(ut),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ut){this._fixedLayout=(0,g.Ig)(ut),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(ut,Et,qt,pi,Si,Fi,Ri,Ui,nn,cn,Qi,$t){this._differs=ut,this._changeDetectorRef=Et,this._elementRef=qt,this._dir=Si,this._platform=Ri,this._viewRepeater=Ui,this._coalescedStyleScheduler=nn,this._viewportRuler=cn,this._stickyPositioningListener=Qi,this._ngZone=$t,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 e.vpe,this.viewChange=new S.X({start:0,end:Number.MAX_VALUE}),pi||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Fi,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((ut,Et)=>this.trackBy?this.trackBy(Et.dataIndex,Et.data):Et),this._viewportRuler.change().pipe((0,D.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Et=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Et,this._forceRecalculateCellWidths=Et,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(ut=>{ut.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,T.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const ut=this._dataDiffer.diff(this._renderRows);if(!ut)return this._updateNoDataRow(),void this.contentChanged.next();const Et=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ut,Et,(qt,pi,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(),ut.forEachIdentityChange(qt=>{Et.get(qt.currentIndex).context.$implicit=qt.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,R.q)(1),(0,D.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(ut){this._customColumnDefs.add(ut)}removeColumnDef(ut){this._customColumnDefs.delete(ut)}addRowDef(ut){this._customRowDefs.add(ut)}removeRowDef(ut){this._customRowDefs.delete(ut)}addHeaderRowDef(ut){this._customHeaderRowDefs.add(ut),this._headerRowDefChanged=!0}removeHeaderRowDef(ut){this._customHeaderRowDefs.delete(ut),this._headerRowDefChanged=!0}addFooterRowDef(ut){this._customFooterRowDefs.add(ut),this._footerRowDefChanged=!0}removeFooterRowDef(ut){this._customFooterRowDefs.delete(ut),this._footerRowDefChanged=!0}setNoDataRow(ut){this._customNoDataRow=ut}updateStickyHeaderRowStyles(){const ut=this._getRenderedRows(this._headerRowOutlet),qt=this._elementRef.nativeElement.querySelector("thead");qt&&(qt.style.display=ut.length?"":"none");const pi=this._headerRowDefs.map(Si=>Si.sticky);this._stickyStyler.clearStickyPositioning(ut,["top"]),this._stickyStyler.stickRows(ut,pi,"top"),this._headerRowDefs.forEach(Si=>Si.resetStickyChanged())}updateStickyFooterRowStyles(){const ut=this._getRenderedRows(this._footerRowOutlet),qt=this._elementRef.nativeElement.querySelector("tfoot");qt&&(qt.style.display=ut.length?"":"none");const pi=this._footerRowDefs.map(Si=>Si.sticky);this._stickyStyler.clearStickyPositioning(ut,["bottom"]),this._stickyStyler.stickRows(ut,pi,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,pi),this._footerRowDefs.forEach(Si=>Si.resetStickyChanged())}updateStickyColumnStyles(){const ut=this._getRenderedRows(this._headerRowOutlet),Et=this._getRenderedRows(this._rowOutlet),qt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ut,...Et,...qt],["left","right"]),this._stickyColumnStylesNeedReset=!1),ut.forEach((pi,Si)=>{this._addStickyColumnStyles([pi],this._headerRowDefs[Si])}),this._rowDefs.forEach(pi=>{const Si=[];for(let Fi=0;Fi<Et.length;Fi++)this._renderRows[Fi].rowDef===pi&&Si.push(Et[Fi]);this._addStickyColumnStyles(Si,pi)}),qt.forEach((pi,Si)=>{this._addStickyColumnStyles([pi],this._footerRowDefs[Si])}),Array.from(this._columnDefsByName.values()).forEach(pi=>pi.resetStickyChanged())}_getAllRenderRows(){const ut=[],Et=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let qt=0;qt<this._data.length;qt++){let pi=this._data[qt];const Si=this._getRenderRowsForData(pi,qt,Et.get(pi));this._cachedRenderRowsMap.has(pi)||this._cachedRenderRowsMap.set(pi,new WeakMap);for(let Fi=0;Fi<Si.length;Fi++){let Ri=Si[Fi];const Ui=this._cachedRenderRowsMap.get(Ri.data);Ui.has(Ri.rowDef)?Ui.get(Ri.rowDef).push(Ri):Ui.set(Ri.rowDef,[Ri]),ut.push(Ri)}}return ut}_getRenderRowsForData(ut,Et,qt){return this._getRowDefs(ut,Et).map(Si=>{const Fi=qt&&qt.has(Si)?qt.get(Si):[];if(Fi.length){const Ri=Fi.shift();return Ri.dataIndex=Et,Ri}return{data:ut,rowDef:Si,dataIndex:Et}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Je(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Et=>{this._columnDefsByName.has(Et.name),this._columnDefsByName.set(Et.name,Et)})}_cacheRowDefs(){this._headerRowDefs=Je(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Je(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Je(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ut=this._rowDefs.filter(Et=>!Et.when);this._defaultRowDef=ut[0]}_renderUpdatedColumns(){const ut=(Si,Fi)=>Si||!!Fi.getColumnsDiff(),Et=this._rowDefs.reduce(ut,!1);Et&&this._forceRenderDataRows();const qt=this._headerRowDefs.reduce(ut,!1);qt&&this._forceRenderHeaderRows();const pi=this._footerRowDefs.reduce(ut,!1);return pi&&this._forceRenderFooterRows(),Et||qt||pi}_switchDataSource(ut){this._data=[],(0,T.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ut||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=ut}_observeRenderChanges(){if(!this.dataSource)return;let ut;(0,T.Z9)(this.dataSource)?ut=this.dataSource.connect(this):(0,M.b)(this.dataSource)?ut=this.dataSource:Array.isArray(this.dataSource)&&(ut=(0,I.of)(this.dataSource)),this._renderChangeSubscription=ut.pipe((0,D.R)(this._onDestroy)).subscribe(Et=>{this._data=Et||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ut,Et)=>this._renderRow(this._headerRowOutlet,ut,Et)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ut,Et)=>this._renderRow(this._footerRowOutlet,ut,Et)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ut,Et){const qt=Array.from(Et.columns||[]).map(Fi=>this._columnDefsByName.get(Fi)),pi=qt.map(Fi=>Fi.sticky),Si=qt.map(Fi=>Fi.stickyEnd);this._stickyStyler.updateStickyColumns(ut,pi,Si,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ut){const Et=[];for(let qt=0;qt<ut.viewContainer.length;qt++){const pi=ut.viewContainer.get(qt);Et.push(pi.rootNodes[0])}return Et}_getRowDefs(ut,Et){if(1==this._rowDefs.length)return[this._rowDefs[0]];let qt=[];if(this.multiTemplateDataRows)qt=this._rowDefs.filter(pi=>!pi.when||pi.when(Et,ut));else{let pi=this._rowDefs.find(Si=>Si.when&&Si.when(Et,ut))||this._defaultRowDef;pi&&qt.push(pi)}return qt}_getEmbeddedViewArgs(ut,Et){return{templateRef:ut.rowDef.template,context:{$implicit:ut.data},index:Et}}_renderRow(ut,Et,qt,pi={}){const Si=ut.viewContainer.createEmbeddedView(Et.template,pi,qt);return this._renderCellTemplateForItem(Et,pi),Si}_renderCellTemplateForItem(ut,Et){for(let qt of this._getCellTemplates(ut))Qe.mostRecentCellOutlet&&Qe.mostRecentCellOutlet._viewContainer.createEmbeddedView(qt,Et);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ut=this._rowOutlet.viewContainer;for(let Et=0,qt=ut.length;Et<qt;Et++){const Si=ut.get(Et).context;Si.count=qt,Si.first=0===Et,Si.last=Et===qt-1,Si.even=Et%2==0,Si.odd=!Si.even,this.multiTemplateDataRows?(Si.dataIndex=this._renderRows[Et].dataIndex,Si.renderIndex=Et):Si.index=this._renderRows[Et].dataIndex}}_getCellTemplates(ut){return ut&&ut.columns?Array.from(ut.columns,Et=>{const qt=this._columnDefsByName.get(Et);return ut.extractCellTemplate(qt)}):[]}_applyNativeTableSections(){const ut=this._document.createDocumentFragment(),Et=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const qt of Et){const pi=this._document.createElement(qt.tag);pi.setAttribute("role","rowgroup");for(const Si of qt.outlets)pi.appendChild(Si.elementRef.nativeElement);ut.appendChild(pi)}this._elementRef.nativeElement.appendChild(ut)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ut=(Et,qt)=>Et||qt.hasStickyChanged();this._headerRowDefs.reduce(ut,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ut,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ut,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new ze(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,I.of)()).pipe((0,D.R)(this._onDestroy)).subscribe(Et=>{this._stickyStyler.direction=Et,this.updateStickyColumnStyles()})}_getOwnDefs(ut){return ut.filter(Et=>!Et._table||Et._table===this)}_updateNoDataRow(){const ut=this._customNoDataRow||this._noDataRow;if(!ut)return;const Et=0===this._rowOutlet.viewContainer.length;if(Et===this._isShowingNoDataRow)return;const qt=this._noDataRowOutlet.viewContainer;if(Et){const pi=qt.createEmbeddedView(ut.templateRef),Si=pi.rootNodes[0];1===pi.rootNodes.length&&Si?.nodeType===this._document.ELEMENT_NODE&&(Si.setAttribute("role","row"),Si.classList.add(ut._contentClassName))}else qt.clear();this._isShowingNoDataRow=Et,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(Et){return new(Et||bt)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(t.Is,8),e.Y36(u.K0),e.Y36(c.t4),e.Y36(T.k),e.Y36(L),e.Y36(C.rL),e.Y36(at,12),e.Y36(e.R0b,8))};static#t=this.\u0275cmp=e.Xpm({type:bt,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(Et,qt,pi){if(1&Et&&(e.Suo(pi,Pe,5),e.Suo(pi,E,5),e.Suo(pi,Oe,5),e.Suo(pi,V,5),e.Suo(pi,Ye,5)),2&Et){let Si;e.iGM(Si=e.CRH())&&(qt._noDataRow=Si.first),e.iGM(Si=e.CRH())&&(qt._contentColumnDefs=Si),e.iGM(Si=e.CRH())&&(qt._contentRowDefs=Si),e.iGM(Si=e.CRH())&&(qt._contentHeaderRowDefs=Si),e.iGM(Si=e.CRH())&&(qt._contentFooterRowDefs=Si)}},viewQuery:function(Et,qt){if(1&Et&&(e.Gf(De,7),e.Gf(xt,7),e.Gf(ct,7),e.Gf(et,7)),2&Et){let pi;e.iGM(pi=e.CRH())&&(qt._rowOutlet=pi.first),e.iGM(pi=e.CRH())&&(qt._headerRowOutlet=pi.first),e.iGM(pi=e.CRH())&&(qt._footerRowOutlet=pi.first),e.iGM(pi=e.CRH())&&(qt._noDataRowOutlet=pi.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(Et,qt){2&Et&&e.ekj("cdk-table-fixed-layout",qt.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:ne,useExisting:bt},{provide:T.k,useClass:T.yy},{provide:L,useClass:O},{provide:at,useValue:null}])],ngContentSelectors:W,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Et,qt){1&Et&&(e.F$t(F),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[De,xt,ct,et],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return bt})();function Je(bt,$e){return bt.concat(Array.from($e))}let Nt=(()=>{class bt{static#e=this.\u0275fac=function(Et){return new(Et||bt)};static#t=this.\u0275mod=e.oAB({type:bt});static#i=this.\u0275inj=e.cJS({imports:[C.Cl]})}return bt})();var Ke=p(3680),yt=p(3019),kt=p(2572),Dt=p(7398);const Rt=[[["caption"]],[["colgroup"],["col"]]],pt=["caption","colgroup, col"];let Ze=(()=>{class bt extends ot{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}static#e=this.\u0275fac=function(){let ut;return function(qt){return(ut||(ut=e.n5z(bt)))(qt||bt)}}();static#t=this.\u0275cmp=e.Xpm({type:bt,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(Et,qt){2&Et&&e.ekj("mdc-table-fixed-layout",qt.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:ot,useExisting:bt},{provide:ne,useExisting:bt},{provide:L,useClass:O},{provide:T.k,useClass:T.yy},{provide:at,useValue:null}]),e.qOj],ngContentSelectors:pt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Et,qt){1&Et&&(e.F$t(Rt),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[De,xt,ct,et],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{--mat-table-row-item-outline-width:1px;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return bt})(),Mt=(()=>{class bt extends pe{static#e=this.\u0275fac=function(){let ut;return function(qt){return(ut||(ut=e.n5z(bt)))(qt||bt)}}();static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:pe,useExisting:bt}]),e.qOj]})}return bt})(),oi=(()=>{class bt extends ie{static#e=this.\u0275fac=function(){let ut;return function(qt){return(ut||(ut=e.n5z(bt)))(qt||bt)}}();static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:ie,useExisting:bt}]),e.qOj]})}return bt})(),Tt=(()=>{class bt extends de{static#e=this.\u0275fac=function(){let ut;return function(qt){return(ut||(ut=e.n5z(bt)))(qt||bt)}}();static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","matFooterCellDef",""]],features:[e._Bn([{provide:de,useExisting:bt}]),e.qOj]})}return bt})(),mt=(()=>{class bt extends E{get name(){return this._name}set name(ut){this._setNameInput(ut)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=function(){let ut;return function(qt){return(ut||(ut=e.n5z(bt)))(qt||bt)}}();static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:E,useExisting:bt},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:bt}]),e.qOj]})}return bt})(),he=(()=>{class bt extends o{static#e=this.\u0275fac=function(){let ut;return function(qt){return(ut||(ut=e.n5z(bt)))(qt||bt)}}();static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[e.qOj]})}return bt})(),ee=(()=>{class bt extends m{static#e=this.\u0275fac=function(){let ut;return function(qt){return(ut||(ut=e.n5z(bt)))(qt||bt)}}();static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[e.qOj]})}return bt})(),Ce=(()=>{class bt extends l{static#e=this.\u0275fac=function(){let ut;return function(qt){return(ut||(ut=e.n5z(bt)))(qt||bt)}}();static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[e.qOj]})}return bt})(),Lt=(()=>{class bt extends V{static#e=this.\u0275fac=function(){let ut;return function(qt){return(ut||(ut=e.n5z(bt)))(qt||bt)}}();static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:V,useExisting:bt}]),e.qOj]})}return bt})(),jt=(()=>{class bt extends Ye{static#e=this.\u0275fac=function(){let ut;return function(qt){return(ut||(ut=e.n5z(bt)))(qt||bt)}}();static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[e._Bn([{provide:Ye,useExisting:bt}]),e.qOj]})}return bt})(),Zt=(()=>{class bt extends Oe{static#e=this.\u0275fac=function(){let ut;return function(qt){return(ut||(ut=e.n5z(bt)))(qt||bt)}}();static#t=this.\u0275dir=e.lG2({type:bt,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:Oe,useExisting:bt}]),e.qOj]})}return bt})(),Kt=(()=>{class bt extends be{static#e=this.\u0275fac=function(){let ut;return function(qt){return(ut||(ut=e.n5z(bt)))(qt||bt)}}();static#t=this.\u0275cmp=e.Xpm({type:bt,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:be,useExisting:bt}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Et,qt){1&Et&&e.GkF(0,0)},dependencies:[Qe],encapsulation:2})}return bt})(),Xe=(()=>{class bt extends ue{static#e=this.\u0275fac=function(){let ut;return function(qt){return(ut||(ut=e.n5z(bt)))(qt||bt)}}();static#t=this.\u0275cmp=e.Xpm({type:bt,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[e._Bn([{provide:ue,useExisting:bt}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Et,qt){1&Et&&e.GkF(0,0)},dependencies:[Qe],encapsulation:2})}return bt})(),Bt=(()=>{class bt extends xe{static#e=this.\u0275fac=function(){let ut;return function(qt){return(ut||(ut=e.n5z(bt)))(qt||bt)}}();static#t=this.\u0275cmp=e.Xpm({type:bt,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[e._Bn([{provide:xe,useExisting:bt}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Et,qt){1&Et&&e.GkF(0,0)},dependencies:[Qe],encapsulation:2})}return bt})(),si=(()=>{class bt{static#e=this.\u0275fac=function(Et){return new(Et||bt)};static#t=this.\u0275mod=e.oAB({type:bt});static#i=this.\u0275inj=e.cJS({imports:[Ke.BQ,Nt,Ke.BQ]})}return bt})();class xi extends T.o2{get data(){return this._data.value}set data($e){$e=Array.isArray($e)?$e:[],this._data.next($e),this._renderChangesSubscription||this._filterData($e)}get filter(){return this._filter.value}set filter($e){this._filter.next($e),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort($e){this._sort=$e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator($e){this._paginator=$e,this._updateChangeSubscription()}constructor($e=[]){super(),this._renderData=new S.X([]),this._filter=new S.X(""),this._internalPageChanges=new P.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(ut,Et)=>{const qt=ut[Et];if((0,g.t6)(qt)){const pi=Number(qt);return pi<9007199254740991?pi:qt}return qt},this.sortData=(ut,Et)=>{const qt=Et.active,pi=Et.direction;return qt&&""!=pi?ut.sort((Si,Fi)=>{let Ri=this.sortingDataAccessor(Si,qt),Ui=this.sortingDataAccessor(Fi,qt);const nn=typeof Ri,cn=typeof Ui;nn!==cn&&("number"===nn&&(Ri+=""),"number"===cn&&(Ui+=""));let Qi=0;return null!=Ri&&null!=Ui?Ri>Ui?Qi=1:Ri<Ui&&(Qi=-1):null!=Ri?Qi=1:null!=Ui&&(Qi=-1),Qi*("asc"==pi?1:-1)}):ut},this.filterPredicate=(ut,Et)=>{const qt=Object.keys(ut).reduce((Si,Fi)=>Si+ut[Fi]+"\u25ec","").toLowerCase(),pi=Et.trim().toLowerCase();return-1!=qt.indexOf(pi)},this._data=new S.X($e),this._updateChangeSubscription()}_updateChangeSubscription(){const $e=this._sort?(0,yt.T)(this._sort.sortChange,this._sort.initialized):(0,I.of)(null),ut=this._paginator?(0,yt.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,I.of)(null),qt=(0,kt.a)([this._data,this._filter]).pipe((0,Dt.U)(([Fi])=>this._filterData(Fi))),pi=(0,kt.a)([qt,$e]).pipe((0,Dt.U)(([Fi])=>this._orderData(Fi))),Si=(0,kt.a)([pi,ut]).pipe((0,Dt.U)(([Fi])=>this._pageData(Fi)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Si.subscribe(Fi=>this._renderData.next(Fi))}_filterData($e){return this.filteredData=null==this.filter||""===this.filter?$e:$e.filter(ut=>this.filterPredicate(ut,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData($e){return this.sort?this.sortData($e.slice(),this.sort):$e}_pageData($e){if(!this.paginator)return $e;const ut=this.paginator.pageIndex*this.paginator.pageSize;return $e.slice(ut,ut+this.paginator.pageSize)}_updatePaginator($e){Promise.resolve().then(()=>{const ut=this.paginator;if(ut&&(ut.length=$e,ut.pageIndex>0)){const Et=Math.ceil(ut.length/ut.pageSize)-1||0,qt=Math.min(ut.pageIndex,Et);qt!==ut.pageIndex&&(ut.pageIndex=qt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class Ut extends xi{}},4104:(Ue,q,p)=>{"use strict";p.d(q,{BU:()=>Ce,Nh:()=>jt,Nj:()=>At,SP:()=>Ze,sW:()=>Lt,uD:()=>Le,uX:()=>Be});var e=p(6814),t=p(5879),g=p(3680),T=p(8484),c=p(7131),C=p(4300),u=p(9388),P=p(7394),d=p(8645),S=p(2438),M=p(2096),I=p(3019),D=p(6232),R=p(5592),F=p(9080),W=p(5619),Y=p(7921),Q=p(3997),J=p(9773),ne=p(8180),X=p(4664),pe=p(836),ie=p(2181),de=p(6825),te=p(2495),ae=p(5407),E=p(2831),i=p(6028);function o(Zt,Kt){}const m=function(Zt){return{animationDuration:Zt}},l=function(Zt,Kt){return{value:Zt,params:Kt}};function y(Zt,Kt){1&Zt&&t.Hsn(0)}const L=["*"],O=["tabListContainer"],b=["tabList"],n=["tabListInner"],_=["nextPaginator"],H=["previousPaginator"],V=["tabBodyWrapper"],K=["tabHeader"];function se(Zt,Kt){}function Ye(Zt,Kt){if(1&Zt&&t.YNc(0,se,0,0,"ng-template",14),2&Zt){const Xe=t.oxw().$implicit;t.Q6J("cdkPortalOutlet",Xe.templateLabel)}}function Oe(Zt,Kt){if(1&Zt&&t._uU(0),2&Zt){const Xe=t.oxw().$implicit;t.Oqu(Xe.textLabel)}}function Qe(Zt,Kt){if(1&Zt){const Xe=t.EpF();t.TgZ(0,"div",6,7),t.NdJ("click",function(){const qe=t.CHM(Xe),nt=qe.$implicit,Wt=qe.index,si=t.oxw(),li=t.MAs(1);return t.KtG(si._handleClick(nt,li,Wt))})("cdkFocusChange",function(qe){const Wt=t.CHM(Xe).index,si=t.oxw();return t.KtG(si._tabFocusChanged(qe,Wt))}),t._UZ(2,"span",8)(3,"div",9),t.TgZ(4,"span",10)(5,"span",11),t.YNc(6,Ye,1,1,"ng-template",12),t.YNc(7,Oe,1,1,"ng-template",null,13,t.W1O),t.qZA()()()}if(2&Zt){const Xe=Kt.$implicit,Bt=Kt.index,qe=t.MAs(1),nt=t.MAs(8),Wt=t.oxw();t.ekj("mdc-tab--active",Wt.selectedIndex===Bt),t.Q6J("id",Wt._getTabLabelId(Bt))("ngClass",Xe.labelClass)("disabled",Xe.disabled)("fitInkBarToContent",Wt.fitInkBarToContent),t.uIk("tabIndex",Wt._getTabIndex(Bt))("aria-posinset",Bt+1)("aria-setsize",Wt._tabs.length)("aria-controls",Wt._getTabContentId(Bt))("aria-selected",Wt.selectedIndex===Bt)("aria-label",Xe.ariaLabel||null)("aria-labelledby",!Xe.ariaLabel&&Xe.ariaLabelledby?Xe.ariaLabelledby:null),t.xp6(3),t.Q6J("matRippleTrigger",qe)("matRippleDisabled",Xe.disabled||Wt.disableRipple),t.xp6(3),t.Q6J("ngIf",Xe.templateLabel)("ngIfElse",nt)}}function be(Zt,Kt){if(1&Zt){const Xe=t.EpF();t.TgZ(0,"mat-tab-body",15),t.NdJ("_onCentered",function(){t.CHM(Xe);const qe=t.oxw();return t.KtG(qe._removeTabBodyWrapperHeight())})("_onCentering",function(qe){t.CHM(Xe);const nt=t.oxw();return t.KtG(nt._setTabBodyWrapperHeight(qe))}),t.qZA()}if(2&Zt){const Xe=Kt.$implicit,Bt=Kt.index,qe=t.oxw();t.ekj("mat-mdc-tab-body-active",qe.selectedIndex===Bt),t.Q6J("id",qe._getTabContentId(Bt))("ngClass",Xe.bodyClass)("content",Xe.content)("position",Xe.position)("origin",Xe.origin)("animationDuration",qe.animationDuration)("preserveContent",qe.preserveContent),t.uIk("tabindex",null!=qe.contentTabIndex&&qe.selectedIndex===Bt?qe.contentTabIndex:null)("aria-labelledby",qe._getTabLabelId(Bt))("aria-hidden",qe.selectedIndex!==Bt)}}const ue=["mat-tab-nav-bar",""],xe=["mat-tab-link",""],Pe={translateTab:(0,de.X$)("translateTab",[(0,de.SB)("center, void, left-origin-center, right-origin-center",(0,de.oB)({transform:"none"})),(0,de.SB)("left",(0,de.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,de.SB)("right",(0,de.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,de.eR)("* => left, * => right, left => center, right => center",(0,de.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,de.eR)("void => left-origin-center",[(0,de.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,de.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,de.eR)("void => right-origin-center",[(0,de.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,de.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let oe=(()=>{class Zt extends T.Pl{constructor(Xe,Bt,qe,nt){super(Xe,Bt,nt),this._host=qe,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(Xe=>{Xe&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36((0,t.Gpc)(()=>we)),t.Y36(e.K0))};static#t=this.\u0275dir=t.lG2({type:Zt,selectors:[["","matTabBodyHost",""]],features:[t.qOj]})}return Zt})(),ze=(()=>{class Zt{set position(Xe){this._positionIndex=Xe,this._computePositionAnimationState()}constructor(Xe,Bt,qe){this._elementRef=Xe,this._dir=Bt,this._dirChangeSubscription=P.w0.EMPTY,this._translateTabComplete=new d.x,this._onCentering=new t.vpe,this._beforeCentering=new t.vpe,this._afterLeavingCenter=new t.vpe,this._onCentered=new t.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,Bt&&(this._dirChangeSubscription=Bt.change.subscribe(nt=>{this._computePositionAnimationState(nt),qe.markForCheck()})),this._translateTabComplete.pipe((0,Q.x)((nt,Wt)=>nt.fromState===Wt.fromState&&nt.toState===Wt.toState)).subscribe(nt=>{this._isCenterPosition(nt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(nt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(Xe){const Bt=this._isCenterPosition(Xe.toState);this._beforeCentering.emit(Bt),Bt&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Xe){return"center"==Xe||"left-origin-center"==Xe||"right-origin-center"==Xe}_computePositionAnimationState(Xe=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Xe?"left":"right":this._positionIndex>0?"ltr"==Xe?"right":"left":"center"}_computePositionFromOrigin(Xe){const Bt=this._getLayoutDirection();return"ltr"==Bt&&Xe<=0||"rtl"==Bt&&Xe>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(t.SBq),t.Y36(u.Is,8),t.Y36(t.sBO))};static#t=this.\u0275dir=t.lG2({type:Zt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}})}return Zt})(),we=(()=>{class Zt extends ze{constructor(Xe,Bt,qe){super(Xe,Bt,qe)}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(t.SBq),t.Y36(u.Is,8),t.Y36(t.sBO))};static#t=this.\u0275cmp=t.Xpm({type:Zt,selectors:[["mat-tab-body"]],viewQuery:function(Bt,qe){if(1&Bt&&t.Gf(T.Pl,5),2&Bt){let nt;t.iGM(nt=t.CRH())&&(qe._portalHost=nt.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[t.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(Bt,qe){1&Bt&&(t.TgZ(0,"div",0,1),t.NdJ("@translateTab.start",function(Wt){return qe._onTranslateTabStarted(Wt)})("@translateTab.done",function(Wt){return qe._translateTabComplete.next(Wt)}),t.YNc(2,o,0,0,"ng-template",2),t.qZA()),2&Bt&&t.Q6J("@translateTab",t.WLB(3,l,qe._position,t.VKq(1,m,qe.animationDuration)))},dependencies:[oe],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:[Pe.translateTab]}})}return Zt})();const le=new t.OlP("MatTabContent");let ge=(()=>{class Zt{constructor(Xe){this.template=Xe}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(t.Rgc))};static#t=this.\u0275dir=t.lG2({type:Zt,selectors:[["","matTabContent",""]],features:[t._Bn([{provide:le,useExisting:Zt}])]})}return Zt})();const fe=new t.OlP("MatTabLabel"),Ge=new t.OlP("MAT_TAB");let Le=(()=>{class Zt extends T.ig{constructor(Xe,Bt,qe){super(Xe,Bt),this._closestTab=qe}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(Ge,8))};static#t=this.\u0275dir=t.lG2({type:Zt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[t._Bn([{provide:fe,useExisting:Zt}]),t.qOj]})}return Zt})();const Ne="mdc-tab-indicator--active",Ve="mdc-tab-indicator--no-transition";class at{constructor(Kt){this._items=Kt}hide(){this._items.forEach(Kt=>Kt.deactivateInkBar())}alignToElement(Kt){const Xe=this._items.find(qe=>qe.elementRef.nativeElement===Kt),Bt=this._currentItem;if(Xe!==Bt&&(Bt?.deactivateInkBar(),Xe)){const qe=Bt?.elementRef.nativeElement.getBoundingClientRect?.();Xe.activateInkBar(qe),this._currentItem=Xe}}}function ve(Zt){return class extends Zt{constructor(...Kt){super(...Kt),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Kt){const Xe=(0,te.Ig)(Kt);this._fitToContent!==Xe&&(this._fitToContent=Xe,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Kt){const Xe=this.elementRef.nativeElement;if(!Kt||!Xe.getBoundingClientRect||!this._inkBarContentElement)return void Xe.classList.add(Ne);const Bt=Xe.getBoundingClientRect(),qe=Kt.width/Bt.width,nt=Kt.left-Bt.left;Xe.classList.add(Ve),this._inkBarContentElement.style.setProperty("transform",`translateX(${nt}px) scaleX(${qe})`),Xe.getBoundingClientRect(),Xe.classList.remove(Ve),Xe.classList.add(Ne),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Ne)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const Kt=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=Kt.createElement("span"),this._inkBarContentElement=Kt.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{}),Ct=ve((()=>{class Zt extends ct{constructor(Xe){super(),this.elementRef=Xe}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:Zt,features:[t.qOj]})}return Zt})());let ke=(()=>{class Zt extends Ct{static#e=this.\u0275fac=function(){let Xe;return function(qe){return(Xe||(Xe=t.n5z(Zt)))(qe||Zt)}}();static#t=this.\u0275dir=t.lG2({type:Zt,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Bt,qe){2&Bt&&(t.uIk("aria-disabled",!!qe.disabled),t.ekj("mat-mdc-tab-disabled",qe.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[t.qOj]})}return Zt})();const ot=(0,g.Id)(class{}),Je=new t.OlP("MAT_TAB_GROUP");let re=(()=>{class Zt extends ot{get content(){return this._contentPortal}constructor(Xe,Bt){super(),this._viewContainerRef=Xe,this._closestTabGroup=Bt,this.textLabel="",this._contentPortal=null,this._stateChanges=new d.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(Xe){(Xe.hasOwnProperty("textLabel")||Xe.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new T.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Xe){Xe&&Xe._closestTab===this&&(this._templateLabel=Xe)}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(t.s_b),t.Y36(Je,8))};static#t=this.\u0275dir=t.lG2({type:Zt,viewQuery:function(Bt,qe){if(1&Bt&&t.Gf(t.Rgc,7),2&Bt){let nt;t.iGM(nt=t.CRH())&&(qe._implicitContent=nt.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[t.qOj,t.TTD]})}return Zt})(),Be=(()=>{class Zt extends re{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(Xe){this._setTemplateLabelInput(Xe)}static#e=this.\u0275fac=function(){let Xe;return function(qe){return(Xe||(Xe=t.n5z(Zt)))(qe||Zt)}}();static#t=this.\u0275cmp=t.Xpm({type:Zt,selectors:[["mat-tab"]],contentQueries:function(Bt,qe,nt){if(1&Bt&&(t.Suo(nt,ge,7,t.Rgc),t.Suo(nt,Le,5)),2&Bt){let Wt;t.iGM(Wt=t.CRH())&&(qe._explicitContent=Wt.first),t.iGM(Wt=t.CRH())&&(qe.templateLabel=Wt.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[t._Bn([{provide:Ge,useExisting:Zt}]),t.qOj],ngContentSelectors:L,decls:1,vars:0,template:function(Bt,qe){1&Bt&&(t.F$t(),t.YNc(0,y,1,0,"ng-template"))},encapsulation:2})}return Zt})();const Nt=(0,E.i$)({passive:!0});let kt=(()=>{class Zt{get disablePagination(){return this._disablePagination}set disablePagination(Xe){this._disablePagination=(0,te.Ig)(Xe)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Xe){Xe=(0,te.su)(Xe),this._selectedIndex!=Xe&&(this._selectedIndexChanged=!0,this._selectedIndex=Xe,this._keyManager&&this._keyManager.updateActiveItem(Xe))}constructor(Xe,Bt,qe,nt,Wt,si,li){this._elementRef=Xe,this._changeDetectorRef=Bt,this._viewportRuler=qe,this._dir=nt,this._ngZone=Wt,this._platform=si,this._animationMode=li,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new d.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new d.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new t.vpe,this.indexFocused=new t.vpe,Wt.runOutsideAngular(()=>{(0,S.R)(Xe.nativeElement,"mouseleave").pipe((0,J.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,S.R)(this._previousPaginator.nativeElement,"touchstart",Nt).pipe((0,J.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,S.R)(this._nextPaginator.nativeElement,"touchstart",Nt).pipe((0,J.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Xe=this._dir?this._dir.change:(0,M.of)("ltr"),Bt=this._viewportRuler.change(150),qe=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new C.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ne.q)(1)).subscribe(qe),(0,I.T)(Xe,Bt,this._items.changes,this._itemsResized()).pipe((0,J.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),qe()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(nt=>{this.indexFocused.emit(nt),this._setTabFocus(nt)})}_itemsResized(){return"function"!=typeof ResizeObserver?D.E:this._items.changes.pipe((0,Y.O)(this._items),(0,X.w)(Xe=>new R.y(Bt=>this._ngZone.runOutsideAngular(()=>{const qe=new ResizeObserver(nt=>Bt.next(nt));return Xe.forEach(nt=>qe.observe(nt.elementRef.nativeElement)),()=>{qe.disconnect()}}))),(0,pe.T)(1),(0,ie.h)(Xe=>Xe.some(Bt=>Bt.contentRect.width>0&&Bt.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(Xe){if(!(0,i.Vb)(Xe))switch(Xe.keyCode){case i.K5:case i.L_:if(this.focusIndex!==this.selectedIndex){const Bt=this._items.get(this.focusIndex);Bt&&!Bt.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Xe))}break;default:this._keyManager.onKeydown(Xe)}}_onContentChanges(){const Xe=this._elementRef.nativeElement.textContent;Xe!==this._currentTextContent&&(this._currentTextContent=Xe||"",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(Xe){!this._isValidIndex(Xe)||this.focusIndex===Xe||!this._keyManager||this._keyManager.setActiveItem(Xe)}_isValidIndex(Xe){return!this._items||!!this._items.toArray()[Xe]}_setTabFocus(Xe){if(this._showPaginationControls&&this._scrollToLabel(Xe),this._items&&this._items.length){this._items.toArray()[Xe].focus();const Bt=this._tabListContainer.nativeElement;Bt.scrollLeft="ltr"==this._getLayoutDirection()?0:Bt.scrollWidth-Bt.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Xe=this.scrollDistance,Bt="ltr"===this._getLayoutDirection()?-Xe:Xe;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Bt)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Xe){this._scrollTo(Xe)}_scrollHeader(Xe){return this._scrollTo(this._scrollDistance+("before"==Xe?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Xe){this._stopInterval(),this._scrollHeader(Xe)}_scrollToLabel(Xe){if(this.disablePagination)return;const Bt=this._items?this._items.toArray()[Xe]:null;if(!Bt)return;const qe=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:nt,offsetWidth:Wt}=Bt.elementRef.nativeElement;let si,li;"ltr"==this._getLayoutDirection()?(si=nt,li=si+Wt):(li=this._tabListInner.nativeElement.offsetWidth-nt,si=li-Wt);const xi=this.scrollDistance,Ut=this.scrollDistance+qe;si<xi?this.scrollDistance-=xi-si:li>Ut&&(this.scrollDistance+=Math.min(li-Ut,si-xi))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Xe=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Xe||(this.scrollDistance=0),Xe!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Xe}}_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 Xe=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Bt=Xe?Xe.elementRef.nativeElement:null;Bt?this._inkBar.alignToElement(Bt):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Xe,Bt){Bt&&null!=Bt.button&&0!==Bt.button||(this._stopInterval(),(0,F.H)(650,100).pipe((0,J.R)((0,I.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:qe,distance:nt}=this._scrollHeader(Xe);(0===nt||nt>=qe)&&this._stopInterval()}))}_scrollTo(Xe){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Bt=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Bt,Xe)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Bt,distance:this._scrollDistance}}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(ae.rL),t.Y36(u.Is,8),t.Y36(t.R0b),t.Y36(E.t4),t.Y36(t.QbO,8))};static#t=this.\u0275dir=t.lG2({type:Zt,inputs:{disablePagination:"disablePagination"}})}return Zt})(),Dt=(()=>{class Zt extends kt{get disableRipple(){return this._disableRipple}set disableRipple(Xe){this._disableRipple=(0,te.Ig)(Xe)}constructor(Xe,Bt,qe,nt,Wt,si,li){super(Xe,Bt,qe,nt,Wt,si,li),this._disableRipple=!1}_itemSelected(Xe){Xe.preventDefault()}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(ae.rL),t.Y36(u.Is,8),t.Y36(t.R0b),t.Y36(E.t4),t.Y36(t.QbO,8))};static#t=this.\u0275dir=t.lG2({type:Zt,inputs:{disableRipple:"disableRipple"},features:[t.qOj]})}return Zt})(),Rt=(()=>{class Zt extends Dt{constructor(Xe,Bt,qe,nt,Wt,si,li){super(Xe,Bt,qe,nt,Wt,si,li)}ngAfterContentInit(){this._inkBar=new at(this._items),super.ngAfterContentInit()}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(ae.rL),t.Y36(u.Is,8),t.Y36(t.R0b),t.Y36(E.t4),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:Zt,selectors:[["mat-tab-header"]],contentQueries:function(Bt,qe,nt){if(1&Bt&&t.Suo(nt,ke,4),2&Bt){let Wt;t.iGM(Wt=t.CRH())&&(qe._items=Wt)}},viewQuery:function(Bt,qe){if(1&Bt&&(t.Gf(O,7),t.Gf(b,7),t.Gf(n,7),t.Gf(_,5),t.Gf(H,5)),2&Bt){let nt;t.iGM(nt=t.CRH())&&(qe._tabListContainer=nt.first),t.iGM(nt=t.CRH())&&(qe._tabList=nt.first),t.iGM(nt=t.CRH())&&(qe._tabListInner=nt.first),t.iGM(nt=t.CRH())&&(qe._nextPaginator=nt.first),t.iGM(nt=t.CRH())&&(qe._previousPaginator=nt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(Bt,qe){2&Bt&&t.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:[t.qOj],ngContentSelectors:L,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(Bt,qe){1&Bt&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return qe._handlePaginatorClick("before")})("mousedown",function(Wt){return qe._handlePaginatorPress("before",Wt)})("touchend",function(){return qe._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(Wt){return qe._handleKeydown(Wt)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return qe._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA()()(),t.TgZ(10,"button",9,10),t.NdJ("mousedown",function(Wt){return qe._handlePaginatorPress("after",Wt)})("click",function(){return qe._handlePaginatorClick("after")})("touchend",function(){return qe._stopInterval()}),t._UZ(12,"div",2),t.qZA()),2&Bt&&(t.ekj("mat-mdc-tab-header-pagination-disabled",qe._disableScrollBefore),t.Q6J("matRippleDisabled",qe._disableScrollBefore||qe.disableRipple)("disabled",qe._disableScrollBefore||null),t.xp6(3),t.ekj("_mat-animation-noopable","NoopAnimations"===qe._animationMode),t.xp6(7),t.ekj("mat-mdc-tab-header-pagination-disabled",qe._disableScrollAfter),t.Q6J("matRippleDisabled",qe._disableScrollAfter||qe.disableRipple)("disabled",qe._disableScrollAfter||null))},dependencies:[g.wG,c.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return Zt})();const pt=new t.OlP("MAT_TABS_CONFIG");let vt=0;const Te=(0,g.pj)((0,g.Kr)(class{constructor(Zt){this._elementRef=Zt}}),"primary");let tt=(()=>{class Zt extends Te{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(Xe){this._dynamicHeight=(0,te.Ig)(Xe)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Xe){this._indexToSelect=(0,te.su)(Xe,null)}get animationDuration(){return this._animationDuration}set animationDuration(Xe){this._animationDuration=/^\d+$/.test(Xe+"")?Xe+"ms":Xe}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Xe){this._contentTabIndex=(0,te.su)(Xe,null)}get disablePagination(){return this._disablePagination}set disablePagination(Xe){this._disablePagination=(0,te.Ig)(Xe)}get preserveContent(){return this._preserveContent}set preserveContent(Xe){this._preserveContent=(0,te.Ig)(Xe)}get backgroundColor(){return this._backgroundColor}set backgroundColor(Xe){const Bt=this._elementRef.nativeElement.classList;Bt.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Xe&&Bt.add("mat-tabs-with-background",`mat-background-${Xe}`),this._backgroundColor=Xe}constructor(Xe,Bt,qe,nt){super(Xe),this._changeDetectorRef=Bt,this._animationMode=nt,this._tabs=new t.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=P.w0.EMPTY,this._tabLabelSubscription=P.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new t.vpe,this.focusChange=new t.vpe,this.animationDone=new t.vpe,this.selectedTabChange=new t.vpe(!0),this._groupId=vt++,this.animationDuration=qe&&qe.animationDuration?qe.animationDuration:"500ms",this.disablePagination=!(!qe||null==qe.disablePagination)&&qe.disablePagination,this.dynamicHeight=!(!qe||null==qe.dynamicHeight)&&qe.dynamicHeight,this.contentTabIndex=qe?.contentTabIndex??null,this.preserveContent=!!qe?.preserveContent}ngAfterContentChecked(){const Xe=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Xe){const Bt=null==this._selectedIndex;if(!Bt){this.selectedTabChange.emit(this._createChangeEvent(Xe));const qe=this._tabBodyWrapper.nativeElement;qe.style.minHeight=qe.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((qe,nt)=>qe.isActive=nt===Xe),Bt||(this.selectedIndexChange.emit(Xe),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Bt,qe)=>{Bt.position=qe-Xe,null!=this._selectedIndex&&0==Bt.position&&!Bt.origin&&(Bt.origin=Xe-this._selectedIndex)}),this._selectedIndex!==Xe&&(this._selectedIndex=Xe,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Xe=this._clampTabIndex(this._indexToSelect);if(Xe===this._selectedIndex){const Bt=this._tabs.toArray();let qe;for(let nt=0;nt<Bt.length;nt++)if(Bt[nt].isActive){this._indexToSelect=this._selectedIndex=nt,this._lastFocusedTabIndex=null,qe=Bt[nt];break}!qe&&Bt[Xe]&&Promise.resolve().then(()=>{Bt[Xe].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Xe))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,Y.O)(this._allTabs)).subscribe(Xe=>{this._tabs.reset(Xe.filter(Bt=>Bt._closestTabGroup===this||!Bt._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(Xe){const Bt=this._tabHeader;Bt&&(Bt.focusIndex=Xe)}_focusChanged(Xe){this._lastFocusedTabIndex=Xe,this.focusChange.emit(this._createChangeEvent(Xe))}_createChangeEvent(Xe){const Bt=new Mt;return Bt.index=Xe,this._tabs&&this._tabs.length&&(Bt.tab=this._tabs.toArray()[Xe]),Bt}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,I.T)(...this._tabs.map(Xe=>Xe._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Xe){return Math.min(this._tabs.length-1,Math.max(Xe||0,0))}_getTabLabelId(Xe){return`mat-tab-label-${this._groupId}-${Xe}`}_getTabContentId(Xe){return`mat-tab-content-${this._groupId}-${Xe}`}_setTabBodyWrapperHeight(Xe){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const Bt=this._tabBodyWrapper.nativeElement;Bt.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Bt.style.height=Xe+"px")}_removeTabBodyWrapperHeight(){const Xe=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Xe.clientHeight,Xe.style.height="",this.animationDone.emit()}_handleClick(Xe,Bt,qe){Bt.focusIndex=qe,Xe.disabled||(this.selectedIndex=qe)}_getTabIndex(Xe){return Xe===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Xe,Bt){Xe&&"mouse"!==Xe&&"touch"!==Xe&&(this._tabHeader.focusIndex=Bt)}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(pt,8),t.Y36(t.QbO,8))};static#t=this.\u0275dir=t.lG2({type:Zt,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:[t.qOj]})}return Zt})(),Ze=(()=>{class Zt extends tt{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(Xe){this._fitInkBarToContent=(0,te.Ig)(Xe),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(Xe){this._stretchTabs=(0,te.Ig)(Xe)}constructor(Xe,Bt,qe,nt){super(Xe,Bt,qe,nt),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!qe||null==qe.fitInkBarToContent)&&qe.fitInkBarToContent,this.stretchTabs=!qe||null==qe.stretchTabs||qe.stretchTabs}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(pt,8),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:Zt,selectors:[["mat-tab-group"]],contentQueries:function(Bt,qe,nt){if(1&Bt&&t.Suo(nt,Be,5),2&Bt){let Wt;t.iGM(Wt=t.CRH())&&(qe._allTabs=Wt)}},viewQuery:function(Bt,qe){if(1&Bt&&(t.Gf(V,5),t.Gf(K,5)),2&Bt){let nt;t.iGM(nt=t.CRH())&&(qe._tabBodyWrapper=nt.first),t.iGM(nt=t.CRH())&&(qe._tabHeader=nt.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(Bt,qe){2&Bt&&(t.Udp("--mat-tab-animation-duration",qe.animationDuration),t.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:[t._Bn([{provide:Je,useExisting:Zt}]),t.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","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(Bt,qe){1&Bt&&(t.TgZ(0,"mat-tab-header",0,1),t.NdJ("indexFocused",function(Wt){return qe._focusChanged(Wt)})("selectFocusedIndex",function(Wt){return qe.selectedIndex=Wt}),t.YNc(2,Qe,9,17,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.YNc(5,be,1,12,"mat-tab-body",5),t.qZA()),2&Bt&&(t.Q6J("selectedIndex",qe.selectedIndex||0)("disableRipple",qe.disableRipple)("disablePagination",qe.disablePagination),t.xp6(2),t.Q6J("ngForOf",qe._tabs),t.xp6(1),t.ekj("_mat-animation-noopable","NoopAnimations"===qe._animationMode),t.xp6(2),t.Q6J("ngForOf",qe._tabs))},dependencies:[e.mk,e.sg,e.O5,T.Pl,g.wG,C.kH,we,ke,Rt],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return Zt})();class Mt{}let oi=0,Tt=(()=>{class Zt extends kt{get backgroundColor(){return this._backgroundColor}set backgroundColor(Xe){const Bt=this._elementRef.nativeElement.classList;Bt.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Xe&&Bt.add("mat-tabs-with-background",`mat-background-${Xe}`),this._backgroundColor=Xe}get disableRipple(){return this._disableRipple}set disableRipple(Xe){this._disableRipple=(0,te.Ig)(Xe)}constructor(Xe,Bt,qe,nt,Wt,si,li){super(Xe,nt,Wt,Bt,qe,si,li),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,Y.O)(null),(0,J.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const Xe=this._items.toArray();for(let Bt=0;Bt<Xe.length;Bt++)if(Xe[Bt].active)return this.selectedIndex=Bt,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=Xe[Bt].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(t.SBq),t.Y36(u.Is,8),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(ae.rL),t.Y36(E.t4),t.Y36(t.QbO,8))};static#t=this.\u0275dir=t.lG2({type:Zt,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[t.qOj]})}return Zt})();const mt=(0,g.sb)((0,g.Kr)((0,g.Id)(class{}))),ee=ve((()=>{class Zt extends mt{get active(){return this._isActive}set active(Xe){const Bt=(0,te.Ig)(Xe);Bt!==this._isActive&&(this._isActive=Bt,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(Xe,Bt,qe,nt,Wt,si){super(),this._tabNavBar=Xe,this.elementRef=Bt,this._focusMonitor=Wt,this._isActive=!1,this.id="mat-tab-link-"+oi++,this.rippleConfig=qe||{},this.tabIndex=parseInt(nt)||0,"NoopAnimations"===si&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}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(Xe){(Xe.keyCode===i.L_||Xe.keyCode===i.K5)&&(this.disabled?Xe.preventDefault():this._tabNavBar.tabPanel&&this.elementRef.nativeElement.click())}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(Tt),t.Y36(t.SBq),t.Y36(g.Y2,8),t.$8M("tabindex"),t.Y36(C.tE),t.Y36(t.QbO,8))};static#t=this.\u0275dir=t.lG2({type:Zt,inputs:{active:"active",id:"id"},features:[t.qOj]})}return Zt})());let Ce=(()=>{class Zt extends Tt{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(Xe){this._fitInkBarToContent.next((0,te.Ig)(Xe)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(Xe){this._stretchTabs=(0,te.Ig)(Xe)}get animationDuration(){return this._animationDuration}set animationDuration(Xe){this._animationDuration=/^\d+$/.test(Xe+"")?Xe+"ms":Xe}constructor(Xe,Bt,qe,nt,Wt,si,li,xi){super(Xe,Bt,qe,nt,Wt,si,li),this._fitInkBarToContent=new W.X(!1),this._stretchTabs=!0,this.disablePagination=!(!xi||null==xi.disablePagination)&&xi.disablePagination,this.fitInkBarToContent=!(!xi||null==xi.fitInkBarToContent)&&xi.fitInkBarToContent,this.stretchTabs=!xi||null==xi.stretchTabs||xi.stretchTabs}ngAfterContentInit(){this._inkBar=new at(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(t.SBq),t.Y36(u.Is,8),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(ae.rL),t.Y36(E.t4),t.Y36(t.QbO,8),t.Y36(pt,8))};static#t=this.\u0275cmp=t.Xpm({type:Zt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(Bt,qe,nt){if(1&Bt&&t.Suo(nt,At,5),2&Bt){let Wt;t.iGM(Wt=t.CRH())&&(qe._items=Wt)}},viewQuery:function(Bt,qe){if(1&Bt&&(t.Gf(O,7),t.Gf(b,7),t.Gf(n,7),t.Gf(_,5),t.Gf(H,5)),2&Bt){let nt;t.iGM(nt=t.CRH())&&(qe._tabListContainer=nt.first),t.iGM(nt=t.CRH())&&(qe._tabList=nt.first),t.iGM(nt=t.CRH())&&(qe._tabListInner=nt.first),t.iGM(nt=t.CRH())&&(qe._nextPaginator=nt.first),t.iGM(nt=t.CRH())&&(qe._previousPaginator=nt.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(Bt,qe){2&Bt&&(t.uIk("role",qe._getRole()),t.Udp("--mat-tab-animation-duration",qe.animationDuration),t.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"],animationDuration:"animationDuration"},exportAs:["matTabNavBar","matTabNav"],features:[t.qOj],attrs:ue,ngContentSelectors:L,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(Bt,qe){1&Bt&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return qe._handlePaginatorClick("before")})("mousedown",function(Wt){return qe._handlePaginatorPress("before",Wt)})("touchend",function(){return qe._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(Wt){return qe._handleKeydown(Wt)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return qe._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA()()(),t.TgZ(10,"button",9,10),t.NdJ("mousedown",function(Wt){return qe._handlePaginatorPress("after",Wt)})("click",function(){return qe._handlePaginatorClick("after")})("touchend",function(){return qe._stopInterval()}),t._UZ(12,"div",2),t.qZA()),2&Bt&&(t.ekj("mat-mdc-tab-header-pagination-disabled",qe._disableScrollBefore),t.Q6J("matRippleDisabled",qe._disableScrollBefore||qe.disableRipple)("disabled",qe._disableScrollBefore||null),t.xp6(10),t.ekj("mat-mdc-tab-header-pagination-disabled",qe._disableScrollAfter),t.Q6J("matRippleDisabled",qe._disableScrollAfter||qe.disableRipple)("disabled",qe._disableScrollAfter||null))},dependencies:[g.wG,c.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{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;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return Zt})(),At=(()=>{class Zt extends ee{constructor(Xe,Bt,qe,nt,Wt,si){super(Xe,Bt,qe,nt,Wt,si),this._destroyed=new d.x,Xe._fitInkBarToContent.pipe((0,J.R)(this._destroyed)).subscribe(li=>{this.fitInkBarToContent=li})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)(t.Y36(Ce),t.Y36(t.SBq),t.Y36(g.Y2,8),t.$8M("tabindex"),t.Y36(C.tE),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:Zt,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(Bt,qe){1&Bt&&t.NdJ("focus",function(){return qe._handleFocus()})("keydown",function(Wt){return qe._handleKeydown(Wt)}),2&Bt&&(t.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()),t.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:[t.qOj],attrs:xe,ngContentSelectors:L,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(Bt,qe){1&Bt&&(t.F$t(),t._UZ(0,"span",0)(1,"div",1),t.TgZ(2,"span",2)(3,"span",3),t.Hsn(4),t.qZA()()),2&Bt&&(t.xp6(1),t.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);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return Zt})(),Lt=(()=>{class Zt{constructor(){this.id="mat-tab-nav-panel-"+oi++}static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)};static#t=this.\u0275cmp=t.Xpm({type:Zt,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(Bt,qe){2&Bt&&t.uIk("aria-labelledby",qe._activeTabId)("id",qe.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:L,decls:1,vars:0,template:function(Bt,qe){1&Bt&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0})}return Zt})(),jt=(()=>{class Zt{static#e=this.\u0275fac=function(Bt){return new(Bt||Zt)};static#t=this.\u0275mod=t.oAB({type:Zt});static#i=this.\u0275inj=t.cJS({imports:[e.ez,g.BQ,T.eL,g.si,c.Q8,C.rt,g.BQ]})}return Zt})()},1274:(Ue,q,p)=>{"use strict";p.d(q,{Ye:()=>d,g0:()=>M});var e=p(5879),t=p(3680),g=p(2831),T=p(6814);const c=["*",[["mat-toolbar-row"]]],C=["*","mat-toolbar-row"],u=(0,t.pj)(class{constructor(I){this._elementRef=I}});let P=(()=>{class I{static#e=this.\u0275fac=function(F){return new(F||I)};static#t=this.\u0275dir=e.lG2({type:I,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return I})(),d=(()=>{class I extends u{constructor(R,F,W){super(R),this._platform=F,this._document=W}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(F){return new(F||I)(e.Y36(e.SBq),e.Y36(g.t4),e.Y36(T.K0))};static#t=this.\u0275cmp=e.Xpm({type:I,selectors:[["mat-toolbar"]],contentQueries:function(F,W,Y){if(1&F&&e.Suo(Y,P,5),2&F){let Q;e.iGM(Q=e.CRH())&&(W._toolbarRows=Q)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(F,W){2&F&&e.ekj("mat-toolbar-multiple-rows",W._toolbarRows.length>0)("mat-toolbar-single-row",0===W._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[e.qOj],ngContentSelectors:C,decls:2,vars:0,template:function(F,W){1&F&&(e.F$t(c),e.Hsn(0),e.Hsn(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}return I})(),M=(()=>{class I{static#e=this.\u0275fac=function(F){return new(F||I)};static#t=this.\u0275mod=e.oAB({type:I});static#i=this.\u0275inj=e.cJS({imports:[t.BQ,t.BQ]})}return I})()},2596:(Ue,q,p)=>{"use strict";p.d(q,{AV:()=>_,gM:()=>L});var e=p(9773),t=p(8180),g=p(2495),T=p(6028),c=p(5879),C=p(6814),u=p(2831),P=p(4300),d=p(9388),S=p(3651),M=p(5407),I=p(8484),D=p(8645),F=(p(6825),p(3680));const W=["tooltip"],J=new c.OlP("mat-tooltip-scroll-strategy"),X={provide:J,deps:[S.aV],useFactory:function ne(H){return()=>H.scrollStrategies.reposition({scrollThrottle:20})}},ie=new c.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function pe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),te="tooltip-panel",ae=(0,u.i$)({passive:!0});let y=(()=>{class H{get position(){return this._position}set position(K){K!==this._position&&(this._position=K,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(K){this._positionAtOrigin=(0,g.Ig)(K),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(K){this._disabled=(0,g.Ig)(K),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(K){this._showDelay=(0,g.su)(K)}get hideDelay(){return this._hideDelay}set hideDelay(K){this._hideDelay=(0,g.su)(K),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(K){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=K?String(K).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(K){this._tooltipClass=K,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(K,se,Ye,Oe,Qe,be,ue,xe,Pe,oe,ze,we){this._overlay=K,this._elementRef=se,this._scrollDispatcher=Ye,this._viewContainerRef=Oe,this._ngZone=Qe,this._platform=be,this._ariaDescriber=ue,this._focusMonitor=xe,this._dir=oe,this._defaultOptions=ze,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new D.x,this._scrollStrategy=Pe,this._document=we,ze&&(this._showDelay=ze.showDelay,this._hideDelay=ze.hideDelay,ze.position&&(this.position=ze.position),ze.positionAtOrigin&&(this.positionAtOrigin=ze.positionAtOrigin),ze.touchGestures&&(this.touchGestures=ze.touchGestures)),oe.change.pipe((0,e.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,e.R)(this._destroyed)).subscribe(K=>{K?"keyboard"===K&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const K=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([se,Ye])=>{K.removeEventListener(se,Ye,ae)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(K,this.message,"tooltip"),this._focusMonitor.stopMonitoring(K)}show(K=this.showDelay,se){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Ye=this._createOverlay(se);this._detach(),this._portal=this._portal||new I.C5(this._tooltipComponent,this._viewContainerRef);const Oe=this._tooltipInstance=Ye.attach(this._portal).instance;Oe._triggerElement=this._elementRef.nativeElement,Oe._mouseLeaveHideDelay=this._hideDelay,Oe.afterHidden().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Oe.show(K)}hide(K=this.hideDelay){const se=this._tooltipInstance;se&&(se.isVisible()?se.hide(K):(se._cancelPendingAnimations(),this._detach()))}toggle(K){this._isTooltipVisible()?this.hide():this.show(void 0,K)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(K){if(this._overlayRef){const Oe=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!K)&&Oe._origin instanceof c.SBq)return this._overlayRef;this._detach()}const se=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Ye=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&K||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(se);return Ye.positionChanges.pipe((0,e.R)(this._destroyed)).subscribe(Oe=>{this._updateCurrentPositionClass(Oe.connectionPair),this._tooltipInstance&&Oe.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Ye,panelClass:`${this._cssClassPrefix}-${te}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,e.R)(this._destroyed)).subscribe(Oe=>{this._isTooltipVisible()&&Oe.keyCode===T.hY&&!(0,T.Vb)(Oe)&&(Oe.preventDefault(),Oe.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(K){const se=K.getConfig().positionStrategy,Ye=this._getOrigin(),Oe=this._getOverlayPosition();se.withPositions([this._addOffset({...Ye.main,...Oe.main}),this._addOffset({...Ye.fallback,...Oe.fallback})])}_addOffset(K){return K}_getOrigin(){const K=!this._dir||"ltr"==this._dir.value,se=this.position;let Ye;"above"==se||"below"==se?Ye={originX:"center",originY:"above"==se?"top":"bottom"}:"before"==se||"left"==se&&K||"right"==se&&!K?Ye={originX:"start",originY:"center"}:("after"==se||"right"==se&&K||"left"==se&&!K)&&(Ye={originX:"end",originY:"center"});const{x:Oe,y:Qe}=this._invertPosition(Ye.originX,Ye.originY);return{main:Ye,fallback:{originX:Oe,originY:Qe}}}_getOverlayPosition(){const K=!this._dir||"ltr"==this._dir.value,se=this.position;let Ye;"above"==se?Ye={overlayX:"center",overlayY:"bottom"}:"below"==se?Ye={overlayX:"center",overlayY:"top"}:"before"==se||"left"==se&&K||"right"==se&&!K?Ye={overlayX:"end",overlayY:"center"}:("after"==se||"right"==se&&K||"left"==se&&!K)&&(Ye={overlayX:"start",overlayY:"center"});const{x:Oe,y:Qe}=this._invertPosition(Ye.overlayX,Ye.overlayY);return{main:Ye,fallback:{overlayX:Oe,overlayY:Qe}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,t.q)(1),(0,e.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(K){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=K,this._tooltipInstance._markForCheck())}_invertPosition(K,se){return"above"===this.position||"below"===this.position?"top"===se?se="bottom":"bottom"===se&&(se="top"):"end"===K?K="start":"start"===K&&(K="end"),{x:K,y:se}}_updateCurrentPositionClass(K){const{overlayY:se,originX:Ye,originY:Oe}=K;let Qe;if(Qe="center"===se?this._dir&&"rtl"===this._dir.value?"end"===Ye?"left":"right":"start"===Ye?"left":"right":"bottom"===se&&"top"===Oe?"above":"below",Qe!==this._currentPosition){const be=this._overlayRef;if(be){const ue=`${this._cssClassPrefix}-${te}-`;be.removePanelClass(ue+this._currentPosition),be.addPanelClass(ue+Qe)}this._currentPosition=Qe}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",K=>{let se;this._setupPointerExitEventsIfNeeded(),void 0!==K.x&&void 0!==K.y&&(se=K),this.show(void 0,se)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",K=>{const se=K.targetTouches?.[0],Ye=se?{x:se.clientX,y:se.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,Ye),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const K=[];if(this._platformSupportsMouseEvents())K.push(["mouseleave",se=>{const Ye=se.relatedTarget;(!Ye||!this._overlayRef?.overlayElement.contains(Ye))&&this.hide()}],["wheel",se=>this._wheelListener(se)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const se=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};K.push(["touchend",se],["touchcancel",se])}this._addListeners(K),this._passiveListeners.push(...K)}_addListeners(K){K.forEach(([se,Ye])=>{this._elementRef.nativeElement.addEventListener(se,Ye,ae)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(K){if(this._isTooltipVisible()){const se=this._document.elementFromPoint(K.clientX,K.clientY),Ye=this._elementRef.nativeElement;se!==Ye&&!Ye.contains(se)&&this.hide()}}_disableNativeGesturesIfNecessary(){const K=this.touchGestures;if("off"!==K){const se=this._elementRef.nativeElement,Ye=se.style;("on"===K||"INPUT"!==se.nodeName&&"TEXTAREA"!==se.nodeName)&&(Ye.userSelect=Ye.msUserSelect=Ye.webkitUserSelect=Ye.MozUserSelect="none"),("on"===K||!se.draggable)&&(Ye.webkitUserDrag="none"),Ye.touchAction="none",Ye.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(se){c.$Z()};static#t=this.\u0275dir=c.lG2({type:H,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"]}})}return H})(),L=(()=>{class H extends y{constructor(K,se,Ye,Oe,Qe,be,ue,xe,Pe,oe,ze,we){super(K,se,Ye,Oe,Qe,be,ue,xe,Pe,oe,ze,we),this._tooltipComponent=b,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(K){const Ye=!this._dir||"ltr"==this._dir.value;return"top"===K.originY?K.offsetY=-8:"bottom"===K.originY?K.offsetY=8:"start"===K.originX?K.offsetX=Ye?-8:8:"end"===K.originX&&(K.offsetX=Ye?8:-8),K}static#e=this.\u0275fac=function(se){return new(se||H)(c.Y36(S.aV),c.Y36(c.SBq),c.Y36(M.mF),c.Y36(c.s_b),c.Y36(c.R0b),c.Y36(u.t4),c.Y36(P.$s),c.Y36(P.tE),c.Y36(J),c.Y36(d.Is,8),c.Y36(ie,8),c.Y36(C.K0))};static#t=this.\u0275dir=c.lG2({type:H,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(se,Ye){2&se&&c.ekj("mat-mdc-tooltip-disabled",Ye.disabled)},exportAs:["matTooltip"],features:[c.qOj]})}return H})(),O=(()=>{class H{constructor(K,se){this._changeDetectorRef=K,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new D.x,this._animationsDisabled="NoopAnimations"===se}show(K){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},K)}hide(K){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},K)}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:K}){(!K||!this._triggerElement.contains(K))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:K}){(K===this._showAnimation||K===this._hideAnimation)&&this._finalizeAnimation(K===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(K){K?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(K){const se=this._tooltip.nativeElement,Ye=this._showAnimation,Oe=this._hideAnimation;if(se.classList.remove(K?Oe:Ye),se.classList.add(K?Ye:Oe),this._isVisible=K,K&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Qe=getComputedStyle(se);("0s"===Qe.getPropertyValue("animation-duration")||"none"===Qe.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}K&&this._onShow(),this._animationsDisabled&&(se.classList.add("_mat-animation-noopable"),this._finalizeAnimation(K))}static#e=this.\u0275fac=function(se){return new(se||H)(c.Y36(c.sBO),c.Y36(c.QbO,8))};static#t=this.\u0275dir=c.lG2({type:H})}return H})(),b=(()=>{class H extends O{constructor(K,se,Ye){super(K,Ye),this._elementRef=se,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const K=this._elementRef.nativeElement.getBoundingClientRect();return K.height>24&&K.width>=200}static#e=this.\u0275fac=function(se){return new(se||H)(c.Y36(c.sBO),c.Y36(c.SBq),c.Y36(c.QbO,8))};static#t=this.\u0275cmp=c.Xpm({type:H,selectors:[["mat-tooltip-component"]],viewQuery:function(se,Ye){if(1&se&&c.Gf(W,7),2&se){let Oe;c.iGM(Oe=c.CRH())&&(Ye._tooltip=Oe.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(se,Ye){1&se&&c.NdJ("mouseleave",function(Qe){return Ye._handleMouseLeave(Qe)}),2&se&&c.Udp("zoom",Ye.isVisible()?1:null)},features:[c.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(se,Ye){1&se&&(c.TgZ(0,"div",0,1),c.NdJ("animationend",function(Qe){return Ye._handleAnimationEnd(Qe)}),c.TgZ(2,"div",2),c._uU(3),c.qZA()()),2&se&&(c.ekj("mdc-tooltip--multiline",Ye._isMultiline),c.Q6J("ngClass",Ye.tooltipClass),c.xp6(3),c.Oqu(Ye.message))},dependencies:[C.mk],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return H})(),_=(()=>{class H{static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275mod=c.oAB({type:H});static#i=this.\u0275inj=c.cJS({providers:[X],imports:[P.rt,C.ez,S.U8,F.BQ,F.BQ,M.ZD]})}return H})()},8445:(Ue,q,p)=>{"use strict";p.d(q,{Ar:()=>R,GZ:()=>I,WX:()=>X,dp:()=>Q,eu:()=>W,fQ:()=>M,gi:()=>F,uo:()=>S});var e=p(1894),t=p(5879),g=p(3680),T=p(2495),c=p(8337),C=p(5619),u=p(3019),P=p(7398);const d=(0,g.sb)((0,g.Id)(e.Hs));let S=(()=>{class pe extends d{constructor(de,te,ae){super(de,te),this.tabIndex=Number(ae)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(te){return new(te||pe)(t.Y36(t.SBq),t.Y36(e._0),t.$8M("tabindex"))};static#t=this.\u0275dir=t.lG2({type:pe,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[t._Bn([{provide:e.Hs,useExisting:pe}]),t.qOj]})}return pe})(),M=(()=>{class pe extends e.rO{static#e=this.\u0275fac=function(){let de;return function(ae){return(de||(de=t.n5z(pe)))(ae||pe)}}();static#t=this.\u0275dir=t.lG2({type:pe,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[t._Bn([{provide:e.rO,useExisting:pe}]),t.qOj]})}return pe})(),I=(()=>{class pe extends e.Xx{get disabled(){return this._disabled}set disabled(de){this._disabled=(0,T.Ig)(de)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(de){this._tabIndex=de??0}constructor(de,te,ae,E){super(de,te,ae),this._disabled=!1,this.tabIndex=Number(E)||0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(te){return new(te||pe)(t.Y36(t.SBq),t.Y36(e._0),t.Y36(t.ZZ4),t.$8M("tabindex"))};static#t=this.\u0275dir=t.lG2({type:pe,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[t._Bn([{provide:e.Xx,useExisting:pe},{provide:e.Hs,useExisting:pe},{provide:e.HI,useExisting:pe}]),t.qOj]})}return pe})(),R=(()=>{class pe{constructor(de,te){this.viewContainer=de,this._node=te}static#e=this.\u0275fac=function(te){return new(te||pe)(t.Y36(t.s_b),t.Y36(e.HI,8))};static#t=this.\u0275dir=t.lG2({type:pe,selectors:[["","matTreeNodeOutlet",""]],features:[t._Bn([{provide:e.cu,useExisting:pe}])]})}return pe})(),F=(()=>{class pe extends e._0{constructor(){super(...arguments),this._nodeOutlet=void 0}static#e=this.\u0275fac=function(){let de;return function(ae){return(de||(de=t.n5z(pe)))(ae||pe)}}();static#t=this.\u0275cmp=t.Xpm({type:pe,selectors:[["mat-tree"]],viewQuery:function(te,ae){if(1&te&&t.Gf(R,7),2&te){let E;t.iGM(E=t.CRH())&&(ae._nodeOutlet=E.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[t._Bn([{provide:e._0,useExisting:pe}]),t.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(te,ae){1&te&&t.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})}return pe})(),W=(()=>{class pe extends e.Ud{static#e=this.\u0275fac=function(){let de;return function(ae){return(de||(de=t.n5z(pe)))(ae||pe)}}();static#t=this.\u0275dir=t.lG2({type:pe,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[t._Bn([{provide:e.Ud,useExisting:pe}]),t.qOj]})}return pe})(),Q=(()=>{class pe{static#e=this.\u0275fac=function(te){return new(te||pe)};static#t=this.\u0275mod=t.oAB({type:pe});static#i=this.\u0275inj=t.cJS({imports:[e.nZ,g.BQ,g.BQ]})}return pe})();class X extends c.o2{constructor(){super(...arguments),this._data=new C.X([])}get data(){return this._data.value}set data(ie){this._data.next(ie)}connect(ie){return(0,u.T)(ie.viewChange,this._data).pipe((0,P.U)(()=>this.data))}disconnect(){}}},6593:(Ue,q,p)=>{"use strict";p.d(q,{Dx:()=>Le,H7:()=>yt,b2:()=>we,q6:()=>xe,se:()=>ae,t6:()=>Ke});var e=p(5879),t=p(6814);class g extends t.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class T extends g{static makeCurrent(){(0,t.HT)(new T)}onAndCancel(mt,he,ee){return mt.addEventListener(he,ee),()=>{mt.removeEventListener(he,ee)}}dispatchEvent(mt,he){mt.dispatchEvent(he)}remove(mt){mt.parentNode&&mt.parentNode.removeChild(mt)}createElement(mt,he){return(he=he||this.getDefaultDocument()).createElement(mt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(mt){return mt.nodeType===Node.ELEMENT_NODE}isShadowRoot(mt){return mt instanceof DocumentFragment}getGlobalEventTarget(mt,he){return"window"===he?window:"document"===he?mt:"body"===he?mt.body:null}getBaseHref(mt){const he=function C(){return c=c||document.querySelector("base"),c?c.getAttribute("href"):null}();return null==he?null:function P(Tt){u=u||document.createElement("a"),u.setAttribute("href",Tt);const mt=u.pathname;return"/"===mt.charAt(0)?mt:`/${mt}`}(he)}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}getCookie(mt){return(0,t.Mx)(document.cookie,mt)}}let u,c=null,S=(()=>{class Tt{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(ee){return new(ee||Tt)};static#t=this.\u0275prov=e.Yz7({token:Tt,factory:Tt.\u0275fac})}return Tt})();const M=new e.OlP("EventManagerPlugins");let I=(()=>{class Tt{constructor(he,ee){this._zone=ee,this._eventNameToPlugin=new Map,he.forEach(Ce=>{Ce.manager=this}),this._plugins=he.slice().reverse()}addEventListener(he,ee,Ce){return this._findPluginFor(ee).addEventListener(he,ee,Ce)}getZone(){return this._zone}_findPluginFor(he){let ee=this._eventNameToPlugin.get(he);if(ee)return ee;if(ee=this._plugins.find(At=>At.supports(he)),!ee)throw new e.vHH(5101,!1);return this._eventNameToPlugin.set(he,ee),ee}static#e=this.\u0275fac=function(ee){return new(ee||Tt)(e.LFG(M),e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:Tt,factory:Tt.\u0275fac})}return Tt})();class D{constructor(mt){this._doc=mt}}const R="ng-app-id";let F=(()=>{class Tt{constructor(he,ee,Ce,At={}){this.doc=he,this.appId=ee,this.nonce=Ce,this.platformId=At,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,t.PM)(At),this.resetHostNodes()}addStyles(he){for(const ee of he)1===this.changeUsageCount(ee,1)&&this.onStyleAdded(ee)}removeStyles(he){for(const ee of he)this.changeUsageCount(ee,-1)<=0&&this.onStyleRemoved(ee)}ngOnDestroy(){const he=this.styleNodesInDOM;he&&(he.forEach(ee=>ee.remove()),he.clear());for(const ee of this.getAllStyles())this.onStyleRemoved(ee);this.resetHostNodes()}addHost(he){this.hostNodes.add(he);for(const ee of this.getAllStyles())this.addStyleToHost(he,ee)}removeHost(he){this.hostNodes.delete(he)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(he){for(const ee of this.hostNodes)this.addStyleToHost(ee,he)}onStyleRemoved(he){const ee=this.styleRef;ee.get(he)?.elements?.forEach(Ce=>Ce.remove()),ee.delete(he)}collectServerRenderedStyles(){const he=this.doc.head?.querySelectorAll(`style[${R}="${this.appId}"]`);if(he?.length){const ee=new Map;return he.forEach(Ce=>{null!=Ce.textContent&&ee.set(Ce.textContent,Ce)}),ee}return null}changeUsageCount(he,ee){const Ce=this.styleRef;if(Ce.has(he)){const At=Ce.get(he);return At.usage+=ee,At.usage}return Ce.set(he,{usage:ee,elements:[]}),ee}getStyleElement(he,ee){const Ce=this.styleNodesInDOM,At=Ce?.get(ee);if(At?.parentNode===he)return Ce.delete(ee),At.removeAttribute(R),At;{const Lt=this.doc.createElement("style");return this.nonce&&Lt.setAttribute("nonce",this.nonce),Lt.textContent=ee,this.platformIsServer&&Lt.setAttribute(R,this.appId),Lt}}addStyleToHost(he,ee){const Ce=this.getStyleElement(he,ee);he.appendChild(Ce);const At=this.styleRef,Lt=At.get(ee)?.elements;Lt?Lt.push(Ce):At.set(ee,{elements:[Ce],usage:1})}resetHostNodes(){const he=this.hostNodes;he.clear(),he.add(this.doc.head)}static#e=this.\u0275fac=function(ee){return new(ee||Tt)(e.LFG(t.K0),e.LFG(e.AFp),e.LFG(e.Ojb,8),e.LFG(e.Lbi))};static#t=this.\u0275prov=e.Yz7({token:Tt,factory:Tt.\u0275fac})}return Tt})();const W={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Y=/%COMP%/g,Q="%COMP%",J=`_nghost-${Q}`,ne=`_ngcontent-${Q}`,pe=new e.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function te(Tt,mt){return mt.map(he=>he.replace(Y,Tt))}let ae=(()=>{class Tt{constructor(he,ee,Ce,At,Lt,jt,Zt,Kt=null){this.eventManager=he,this.sharedStylesHost=ee,this.appId=Ce,this.removeStylesOnCompDestroy=At,this.doc=Lt,this.platformId=jt,this.ngZone=Zt,this.nonce=Kt,this.rendererByCompId=new Map,this.platformIsServer=(0,t.PM)(jt),this.defaultRenderer=new E(he,Lt,Zt,this.platformIsServer)}createRenderer(he,ee){if(!he||!ee)return this.defaultRenderer;this.platformIsServer&&ee.encapsulation===e.ifc.ShadowDom&&(ee={...ee,encapsulation:e.ifc.Emulated});const Ce=this.getOrCreateRenderer(he,ee);return Ce instanceof L?Ce.applyToHost(he):Ce instanceof y&&Ce.applyStyles(),Ce}getOrCreateRenderer(he,ee){const Ce=this.rendererByCompId;let At=Ce.get(ee.id);if(!At){const Lt=this.doc,jt=this.ngZone,Zt=this.eventManager,Kt=this.sharedStylesHost,Xe=this.removeStylesOnCompDestroy,Bt=this.platformIsServer;switch(ee.encapsulation){case e.ifc.Emulated:At=new L(Zt,Kt,ee,this.appId,Xe,Lt,jt,Bt);break;case e.ifc.ShadowDom:return new l(Zt,Kt,he,ee,Lt,jt,this.nonce,Bt);default:At=new y(Zt,Kt,ee,Xe,Lt,jt,Bt)}Ce.set(ee.id,At)}return At}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(ee){return new(ee||Tt)(e.LFG(I),e.LFG(F),e.LFG(e.AFp),e.LFG(pe),e.LFG(t.K0),e.LFG(e.Lbi),e.LFG(e.R0b),e.LFG(e.Ojb))};static#t=this.\u0275prov=e.Yz7({token:Tt,factory:Tt.\u0275fac})}return Tt})();class E{constructor(mt,he,ee,Ce){this.eventManager=mt,this.doc=he,this.ngZone=ee,this.platformIsServer=Ce,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(mt,he){return he?this.doc.createElementNS(W[he]||he,mt):this.doc.createElement(mt)}createComment(mt){return this.doc.createComment(mt)}createText(mt){return this.doc.createTextNode(mt)}appendChild(mt,he){(m(mt)?mt.content:mt).appendChild(he)}insertBefore(mt,he,ee){mt&&(m(mt)?mt.content:mt).insertBefore(he,ee)}removeChild(mt,he){mt&&mt.removeChild(he)}selectRootElement(mt,he){let ee="string"==typeof mt?this.doc.querySelector(mt):mt;if(!ee)throw new e.vHH(-5104,!1);return he||(ee.textContent=""),ee}parentNode(mt){return mt.parentNode}nextSibling(mt){return mt.nextSibling}setAttribute(mt,he,ee,Ce){if(Ce){he=Ce+":"+he;const At=W[Ce];At?mt.setAttributeNS(At,he,ee):mt.setAttribute(he,ee)}else mt.setAttribute(he,ee)}removeAttribute(mt,he,ee){if(ee){const Ce=W[ee];Ce?mt.removeAttributeNS(Ce,he):mt.removeAttribute(`${ee}:${he}`)}else mt.removeAttribute(he)}addClass(mt,he){mt.classList.add(he)}removeClass(mt,he){mt.classList.remove(he)}setStyle(mt,he,ee,Ce){Ce&(e.JOm.DashCase|e.JOm.Important)?mt.style.setProperty(he,ee,Ce&e.JOm.Important?"important":""):mt.style[he]=ee}removeStyle(mt,he,ee){ee&e.JOm.DashCase?mt.style.removeProperty(he):mt.style[he]=""}setProperty(mt,he,ee){mt[he]=ee}setValue(mt,he){mt.nodeValue=he}listen(mt,he,ee){if("string"==typeof mt&&!(mt=(0,t.q)().getGlobalEventTarget(this.doc,mt)))throw new Error(`Unsupported event target ${mt} for event ${he}`);return this.eventManager.addEventListener(mt,he,this.decoratePreventDefault(ee))}decoratePreventDefault(mt){return he=>{if("__ngUnwrap__"===he)return mt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>mt(he)):mt(he))&&he.preventDefault()}}}function m(Tt){return"TEMPLATE"===Tt.tagName&&void 0!==Tt.content}class l extends E{constructor(mt,he,ee,Ce,At,Lt,jt,Zt){super(mt,At,Lt,Zt),this.sharedStylesHost=he,this.hostEl=ee,this.shadowRoot=ee.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Kt=te(Ce.id,Ce.styles);for(const Xe of Kt){const Bt=document.createElement("style");jt&&Bt.setAttribute("nonce",jt),Bt.textContent=Xe,this.shadowRoot.appendChild(Bt)}}nodeOrShadowRoot(mt){return mt===this.hostEl?this.shadowRoot:mt}appendChild(mt,he){return super.appendChild(this.nodeOrShadowRoot(mt),he)}insertBefore(mt,he,ee){return super.insertBefore(this.nodeOrShadowRoot(mt),he,ee)}removeChild(mt,he){return super.removeChild(this.nodeOrShadowRoot(mt),he)}parentNode(mt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(mt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class y extends E{constructor(mt,he,ee,Ce,At,Lt,jt,Zt){super(mt,At,Lt,jt),this.sharedStylesHost=he,this.removeStylesOnCompDestroy=Ce,this.styles=Zt?te(Zt,ee.styles):ee.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class L extends y{constructor(mt,he,ee,Ce,At,Lt,jt,Zt){const Kt=Ce+"-"+ee.id;super(mt,he,ee,At,Lt,jt,Zt,Kt),this.contentAttr=function ie(Tt){return ne.replace(Y,Tt)}(Kt),this.hostAttr=function de(Tt){return J.replace(Y,Tt)}(Kt)}applyToHost(mt){this.applyStyles(),this.setAttribute(mt,this.hostAttr,"")}createElement(mt,he){const ee=super.createElement(mt,he);return super.setAttribute(ee,this.contentAttr,""),ee}}let O=(()=>{class Tt extends D{constructor(he){super(he)}supports(he){return!0}addEventListener(he,ee,Ce){return he.addEventListener(ee,Ce,!1),()=>this.removeEventListener(he,ee,Ce)}removeEventListener(he,ee,Ce){return he.removeEventListener(ee,Ce)}static#e=this.\u0275fac=function(ee){return new(ee||Tt)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Tt,factory:Tt.\u0275fac})}return Tt})();const b=["alt","control","meta","shift"],n={"\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"},_={alt:Tt=>Tt.altKey,control:Tt=>Tt.ctrlKey,meta:Tt=>Tt.metaKey,shift:Tt=>Tt.shiftKey};let H=(()=>{class Tt extends D{constructor(he){super(he)}supports(he){return null!=Tt.parseEventName(he)}addEventListener(he,ee,Ce){const At=Tt.parseEventName(ee),Lt=Tt.eventCallback(At.fullKey,Ce,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,t.q)().onAndCancel(he,At.domEventName,Lt))}static parseEventName(he){const ee=he.toLowerCase().split("."),Ce=ee.shift();if(0===ee.length||"keydown"!==Ce&&"keyup"!==Ce)return null;const At=Tt._normalizeKey(ee.pop());let Lt="",jt=ee.indexOf("code");if(jt>-1&&(ee.splice(jt,1),Lt="code."),b.forEach(Kt=>{const Xe=ee.indexOf(Kt);Xe>-1&&(ee.splice(Xe,1),Lt+=Kt+".")}),Lt+=At,0!=ee.length||0===At.length)return null;const Zt={};return Zt.domEventName=Ce,Zt.fullKey=Lt,Zt}static matchEventFullKeyCode(he,ee){let Ce=n[he.key]||he.key,At="";return ee.indexOf("code.")>-1&&(Ce=he.code,At="code."),!(null==Ce||!Ce)&&(Ce=Ce.toLowerCase()," "===Ce?Ce="space":"."===Ce&&(Ce="dot"),b.forEach(Lt=>{Lt!==Ce&&(0,_[Lt])(he)&&(At+=Lt+".")}),At+=Ce,At===ee)}static eventCallback(he,ee,Ce){return At=>{Tt.matchEventFullKeyCode(At,he)&&Ce.runGuarded(()=>ee(At))}}static _normalizeKey(he){return"esc"===he?"escape":he}static#e=this.\u0275fac=function(ee){return new(ee||Tt)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Tt,factory:Tt.\u0275fac})}return Tt})();const xe=(0,e.eFA)(e._c5,"browser",[{provide:e.Lbi,useValue:t.bD},{provide:e.g9A,useValue:function Oe(){T.makeCurrent()},multi:!0},{provide:t.K0,useFactory:function be(){return(0,e.RDi)(document),document},deps:[]}]),Pe=new e.OlP(""),oe=[{provide:e.rWj,useClass:class d{addToWindow(mt){e.dqk.getAngularTestability=(ee,Ce=!0)=>{const At=mt.findTestabilityInTree(ee,Ce);if(null==At)throw new e.vHH(5103,!1);return At},e.dqk.getAllAngularTestabilities=()=>mt.getAllTestabilities(),e.dqk.getAllAngularRootElements=()=>mt.getAllRootElements(),e.dqk.frameworkStabilizers||(e.dqk.frameworkStabilizers=[]),e.dqk.frameworkStabilizers.push(ee=>{const Ce=e.dqk.getAllAngularTestabilities();let At=Ce.length,Lt=!1;const jt=function(Zt){Lt=Lt||Zt,At--,0==At&&ee(Lt)};Ce.forEach(Zt=>{Zt.whenStable(jt)})})}findTestabilityInTree(mt,he,ee){return null==he?null:mt.getTestability(he)??(ee?(0,t.q)().isShadowRoot(he)?this.findTestabilityInTree(mt,he.host,!0):this.findTestabilityInTree(mt,he.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 Qe(){return new e.qLn},deps:[]},{provide:M,useClass:O,multi:!0,deps:[t.K0,e.R0b,e.Lbi]},{provide:M,useClass:H,multi:!0,deps:[t.K0]},ae,F,I,{provide:e.FYo,useExisting:ae},{provide:t.JF,useClass:S,deps:[]},[]];let we=(()=>{class Tt{constructor(he){}static withServerTransition(he){return{ngModule:Tt,providers:[{provide:e.AFp,useValue:he.appId}]}}static#e=this.\u0275fac=function(ee){return new(ee||Tt)(e.LFG(Pe,12))};static#t=this.\u0275mod=e.oAB({type:Tt});static#i=this.\u0275inj=e.cJS({providers:[...ze,...oe],imports:[t.ez,e.hGG]})}return Tt})(),Le=(()=>{class Tt{constructor(he){this._doc=he}getTitle(){return this._doc.title}setTitle(he){this._doc.title=he||""}static#e=this.\u0275fac=function(ee){return new(ee||Tt)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Tt,factory:function(ee){let Ce=null;return Ce=ee?new ee:function Ge(){return new Le((0,e.LFG)(t.K0))}(),Ce},providedIn:"root"})}return Tt})();typeof window<"u"&&window;const ot={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},Je=new e.OlP("HammerGestureConfig"),re=new e.OlP("HammerLoader");let Be=(()=>{class Tt{constructor(){this.events=[],this.overrides={}}buildHammer(he){const ee=new Hammer(he,this.options);ee.get("pinch").set({enable:!0}),ee.get("rotate").set({enable:!0});for(const Ce in this.overrides)ee.get(Ce).set(this.overrides[Ce]);return ee}static#e=this.\u0275fac=function(ee){return new(ee||Tt)};static#t=this.\u0275prov=e.Yz7({token:Tt,factory:Tt.\u0275fac})}return Tt})(),Nt=(()=>{class Tt extends D{constructor(he,ee,Ce,At){super(he),this._config=ee,this.console=Ce,this.loader=At,this._loaderPromise=null}supports(he){return!(!ot.hasOwnProperty(he.toLowerCase())&&!this.isCustomEvent(he)||!window.Hammer&&!this.loader)}addEventListener(he,ee,Ce){const At=this.manager.getZone();if(ee=ee.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||At.runOutsideAngular(()=>this.loader());let Lt=!1,jt=()=>{Lt=!0};return At.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Lt||(jt=this.addEventListener(he,ee,Ce)):jt=()=>{}}).catch(()=>{jt=()=>{}})),()=>{jt()}}return At.runOutsideAngular(()=>{const Lt=this._config.buildHammer(he),jt=function(Zt){At.runGuarded(function(){Ce(Zt)})};return Lt.on(ee,jt),()=>{Lt.off(ee,jt),"function"==typeof Lt.destroy&&Lt.destroy()}})}isCustomEvent(he){return this._config.events.indexOf(he)>-1}static#e=this.\u0275fac=function(ee){return new(ee||Tt)(e.LFG(t.K0),e.LFG(Je),e.LFG(e.c2e),e.LFG(re,8))};static#t=this.\u0275prov=e.Yz7({token:Tt,factory:Tt.\u0275fac})}return Tt})(),Ke=(()=>{class Tt{static#e=this.\u0275fac=function(ee){return new(ee||Tt)};static#t=this.\u0275mod=e.oAB({type:Tt});static#i=this.\u0275inj=e.cJS({providers:[{provide:M,useClass:Nt,multi:!0,deps:[t.K0,Je,e.c2e,[new e.FiY,re]]},{provide:Je,useClass:Be,deps:[]}]})}return Tt})(),yt=(()=>{class Tt{static#e=this.\u0275fac=function(ee){return new(ee||Tt)};static#t=this.\u0275prov=e.Yz7({token:Tt,factory:function(ee){let Ce=null;return Ce=ee?new(ee||Tt):e.LFG(Dt),Ce},providedIn:"root"})}return Tt})(),Dt=(()=>{class Tt extends yt{constructor(he){super(),this._doc=he}sanitize(he,ee){if(null==ee)return null;switch(he){case e.q3G.NONE:return ee;case e.q3G.HTML:return(0,e.qzn)(ee,"HTML")?(0,e.z3N)(ee):(0,e.EiD)(this._doc,String(ee)).toString();case e.q3G.STYLE:return(0,e.qzn)(ee,"Style")?(0,e.z3N)(ee):ee;case e.q3G.SCRIPT:if((0,e.qzn)(ee,"Script"))return(0,e.z3N)(ee);throw new e.vHH(5200,!1);case e.q3G.URL:return(0,e.qzn)(ee,"URL")?(0,e.z3N)(ee):(0,e.mCW)(String(ee));case e.q3G.RESOURCE_URL:if((0,e.qzn)(ee,"ResourceURL"))return(0,e.z3N)(ee);throw new e.vHH(5201,!1);default:throw new e.vHH(5202,!1)}}bypassSecurityTrustHtml(he){return(0,e.JVY)(he)}bypassSecurityTrustStyle(he){return(0,e.L6k)(he)}bypassSecurityTrustScript(he){return(0,e.eBb)(he)}bypassSecurityTrustUrl(he){return(0,e.LAX)(he)}bypassSecurityTrustResourceUrl(he){return(0,e.pB0)(he)}static#e=this.\u0275fac=function(ee){return new(ee||Tt)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Tt,factory:function(ee){let Ce=null;return Ce=ee?new ee:function kt(Tt){return new Dt(Tt.get(t.K0))}(e.LFG(e.zs3)),Ce},providedIn:"root"})}return Tt})()},4190:(Ue,q,p)=>{"use strict";p.d(q,{gz:()=>br,gk:()=>Hi,m2:()=>$t,Q3:()=>We,OD:()=>Qi,Av:()=>En,F0:()=>Mn,rH:()=>Bn,Od:()=>na,Bz:()=>dr,lC:()=>vn});var e=p(5879),t=p(2664),g=p(9666),T=p(2096),c=p(5619),C=p(2572),u=p(6973),P=p(5211),d=p(4911),S=p(8407),M=p(8504),I=p(6232),D=p(3168),R=p(8645),F=p(7394),W=p(6814),Y=p(7398),Q=p(4664),J=p(8180),ne=p(7921),X=p(2181),pe=p(1631),ie=p(1374),de=p(6328),te=p(9397),ae=p(6306),E=p(6699),i=p(3572),o=p(9360),m=p(8251);function l(ye){return ye<=0?()=>I.E:(0,o.e)((Fe,me)=>{let He=[];Fe.subscribe((0,m.x)(me,ft=>{He.push(ft),ye<He.length&&He.shift()},()=>{for(const ft of He)me.next(ft);me.complete()},void 0,()=>{He=null}))})}var y=p(3026),L=p(2737),b=p(975),n=p(4716),_=p(6196),H=p(9773),V=p(7537),K=p(6593);const se="primary",Ye=Symbol("RouteTitle");class Oe{constructor(Fe){this.params=Fe||{}}has(Fe){return Object.prototype.hasOwnProperty.call(this.params,Fe)}get(Fe){if(this.has(Fe)){const me=this.params[Fe];return Array.isArray(me)?me[0]:me}return null}getAll(Fe){if(this.has(Fe)){const me=this.params[Fe];return Array.isArray(me)?me:[me]}return[]}get keys(){return Object.keys(this.params)}}function Qe(ye){return new Oe(ye)}function be(ye,Fe,me){const He=me.path.split("/");if(He.length>ye.length||"full"===me.pathMatch&&(Fe.hasChildren()||He.length<ye.length))return null;const ft={};for(let zt=0;zt<He.length;zt++){const ni=He[zt],bi=ye[zt];if(ni.startsWith(":"))ft[ni.substring(1)]=bi;else if(ni!==bi.path)return null}return{consumed:ye.slice(0,He.length),posParams:ft}}function xe(ye,Fe){const me=ye?Object.keys(ye):void 0,He=Fe?Object.keys(Fe):void 0;if(!me||!He||me.length!=He.length)return!1;let ft;for(let zt=0;zt<me.length;zt++)if(ft=me[zt],!Pe(ye[ft],Fe[ft]))return!1;return!0}function Pe(ye,Fe){if(Array.isArray(ye)&&Array.isArray(Fe)){if(ye.length!==Fe.length)return!1;const me=[...ye].sort(),He=[...Fe].sort();return me.every((ft,zt)=>He[zt]===ft)}return ye===Fe}function oe(ye){return ye.length>0?ye[ye.length-1]:null}function ze(ye){return(0,t.b)(ye)?ye:(0,e.QGY)(ye)?(0,g.D)(Promise.resolve(ye)):(0,T.of)(ye)}const we={exact:function Ge(ye,Fe,me){if(!et(ye.segments,Fe.segments)||!at(ye.segments,Fe.segments,me)||ye.numberOfChildren!==Fe.numberOfChildren)return!1;for(const He in Fe.children)if(!ye.children[He]||!Ge(ye.children[He],Fe.children[He],me))return!1;return!0},subset:Ne},le={exact:function fe(ye,Fe){return xe(ye,Fe)},subset:function Le(ye,Fe){return Object.keys(Fe).length<=Object.keys(ye).length&&Object.keys(Fe).every(me=>Pe(ye[me],Fe[me]))},ignored:()=>!0};function ge(ye,Fe,me){return we[me.paths](ye.root,Fe.root,me.matrixParams)&&le[me.queryParams](ye.queryParams,Fe.queryParams)&&!("exact"===me.fragment&&ye.fragment!==Fe.fragment)}function Ne(ye,Fe,me){return Ve(ye,Fe,Fe.segments,me)}function Ve(ye,Fe,me,He){if(ye.segments.length>me.length){const ft=ye.segments.slice(0,me.length);return!(!et(ft,me)||Fe.hasChildren()||!at(ft,me,He))}if(ye.segments.length===me.length){if(!et(ye.segments,me)||!at(ye.segments,me,He))return!1;for(const ft in Fe.children)if(!ye.children[ft]||!Ne(ye.children[ft],Fe.children[ft],He))return!1;return!0}{const ft=me.slice(0,ye.segments.length),zt=me.slice(ye.segments.length);return!!(et(ye.segments,ft)&&at(ye.segments,ft,He)&&ye.children[se])&&Ve(ye.children[se],Fe,zt,He)}}function at(ye,Fe,me){return Fe.every((He,ft)=>le[me](ye[ft].parameters,He.parameters))}class ve{constructor(Fe=new De([],{}),me={},He=null){this.root=Fe,this.queryParams=me,this.fragment=He}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Qe(this.queryParams)),this._queryParamMap}toString(){return Je.serialize(this)}}class De{constructor(Fe,me){this.segments=Fe,this.children=me,this.parent=null,Object.values(me).forEach(He=>He.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return re(this)}}class xt{constructor(Fe,me){this.path=Fe,this.parameters=me}get parameterMap(){return this._parameterMap||(this._parameterMap=Qe(this.parameters)),this._parameterMap}toString(){return pt(this)}}function et(ye,Fe){return ye.length===Fe.length&&ye.every((me,He)=>me.path===Fe[He].path)}let ke=(()=>{class ye{static#e=this.\u0275fac=function(He){return new(He||ye)};static#t=this.\u0275prov=e.Yz7({token:ye,factory:function(){return new ot},providedIn:"root"})}return ye})();class ot{parse(Fe){const me=new Ce(Fe);return new ve(me.parseRootSegment(),me.parseQueryParams(),me.parseFragment())}serialize(Fe){const me=`/${Be(Fe.root,!0)}`,He=function Te(ye){const Fe=Object.keys(ye).map(me=>{const He=ye[me];return Array.isArray(He)?He.map(ft=>`${Ke(me)}=${Ke(ft)}`).join("&"):`${Ke(me)}=${Ke(He)}`}).filter(me=>!!me);return Fe.length?`?${Fe.join("&")}`:""}(Fe.queryParams);return`${me}${He}${"string"==typeof Fe.fragment?`#${function yt(ye){return encodeURI(ye)}(Fe.fragment)}`:""}`}}const Je=new ot;function re(ye){return ye.segments.map(Fe=>pt(Fe)).join("/")}function Be(ye,Fe){if(!ye.hasChildren())return re(ye);if(Fe){const me=ye.children[se]?Be(ye.children[se],!1):"",He=[];return Object.entries(ye.children).forEach(([ft,zt])=>{ft!==se&&He.push(`${ft}:${Be(zt,!1)}`)}),He.length>0?`${me}(${He.join("//")})`:me}{const me=function Ct(ye,Fe){let me=[];return Object.entries(ye.children).forEach(([He,ft])=>{He===se&&(me=me.concat(Fe(ft,He)))}),Object.entries(ye.children).forEach(([He,ft])=>{He!==se&&(me=me.concat(Fe(ft,He)))}),me}(ye,(He,ft)=>ft===se?[Be(ye.children[se],!1)]:[`${ft}:${Be(He,!1)}`]);return 1===Object.keys(ye.children).length&&null!=ye.children[se]?`${re(ye)}/${me[0]}`:`${re(ye)}/(${me.join("//")})`}}function Nt(ye){return encodeURIComponent(ye).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ke(ye){return Nt(ye).replace(/%3B/gi,";")}function kt(ye){return Nt(ye).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Dt(ye){return decodeURIComponent(ye)}function Rt(ye){return Dt(ye.replace(/\+/g,"%20"))}function pt(ye){return`${kt(ye.path)}${function vt(ye){return Object.keys(ye).map(Fe=>`;${kt(Fe)}=${kt(ye[Fe])}`).join("")}(ye.parameters)}`}const tt=/^[^\/()?;#]+/;function Ze(ye){const Fe=ye.match(tt);return Fe?Fe[0]:""}const Mt=/^[^\/()?;=#]+/,Tt=/^[^=?&#]+/,he=/^[^&#]+/;class Ce{constructor(Fe){this.url=Fe,this.remaining=Fe}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new De([],{}):new De([],this.parseChildren())}parseQueryParams(){const Fe={};if(this.consumeOptional("?"))do{this.parseQueryParam(Fe)}while(this.consumeOptional("&"));return Fe}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Fe=[];for(this.peekStartsWith("(")||Fe.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Fe.push(this.parseSegment());let me={};this.peekStartsWith("/(")&&(this.capture("/"),me=this.parseParens(!0));let He={};return this.peekStartsWith("(")&&(He=this.parseParens(!1)),(Fe.length>0||Object.keys(me).length>0)&&(He[se]=new De(Fe,me)),He}parseSegment(){const Fe=Ze(this.remaining);if(""===Fe&&this.peekStartsWith(";"))throw new e.vHH(4009,!1);return this.capture(Fe),new xt(Dt(Fe),this.parseMatrixParams())}parseMatrixParams(){const Fe={};for(;this.consumeOptional(";");)this.parseParam(Fe);return Fe}parseParam(Fe){const me=function oi(ye){const Fe=ye.match(Mt);return Fe?Fe[0]:""}(this.remaining);if(!me)return;this.capture(me);let He="";if(this.consumeOptional("=")){const ft=Ze(this.remaining);ft&&(He=ft,this.capture(He))}Fe[Dt(me)]=Dt(He)}parseQueryParam(Fe){const me=function mt(ye){const Fe=ye.match(Tt);return Fe?Fe[0]:""}(this.remaining);if(!me)return;this.capture(me);let He="";if(this.consumeOptional("=")){const ni=function ee(ye){const Fe=ye.match(he);return Fe?Fe[0]:""}(this.remaining);ni&&(He=ni,this.capture(He))}const ft=Rt(me),zt=Rt(He);if(Fe.hasOwnProperty(ft)){let ni=Fe[ft];Array.isArray(ni)||(ni=[ni],Fe[ft]=ni),ni.push(zt)}else Fe[ft]=zt}parseParens(Fe){const me={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const He=Ze(this.remaining),ft=this.remaining[He.length];if("/"!==ft&&")"!==ft&&";"!==ft)throw new e.vHH(4010,!1);let zt;He.indexOf(":")>-1?(zt=He.slice(0,He.indexOf(":")),this.capture(zt),this.capture(":")):Fe&&(zt=se);const ni=this.parseChildren();me[zt]=1===Object.keys(ni).length?ni[se]:new De([],ni),this.consumeOptional("//")}return me}peekStartsWith(Fe){return this.remaining.startsWith(Fe)}consumeOptional(Fe){return!!this.peekStartsWith(Fe)&&(this.remaining=this.remaining.substring(Fe.length),!0)}capture(Fe){if(!this.consumeOptional(Fe))throw new e.vHH(4011,!1)}}function At(ye){return ye.segments.length>0?new De([],{[se]:ye}):ye}function Lt(ye){const Fe={};for(const He of Object.keys(ye.children)){const zt=Lt(ye.children[He]);if(He===se&&0===zt.segments.length&&zt.hasChildren())for(const[ni,bi]of Object.entries(zt.children))Fe[ni]=bi;else(zt.segments.length>0||zt.hasChildren())&&(Fe[He]=zt)}return function jt(ye){if(1===ye.numberOfChildren&&ye.children[se]){const Fe=ye.children[se];return new De(ye.segments.concat(Fe.segments),Fe.children)}return ye}(new De(ye.segments,Fe))}function Zt(ye){return ye instanceof ve}function Xe(ye){let Fe;const ft=At(function me(zt){const ni={};for(const _i of zt.children){const Zi=me(_i);ni[_i.outlet]=Zi}const bi=new De(zt.url,ni);return zt===ye&&(Fe=bi),bi}(ye.root));return Fe??ft}function Bt(ye,Fe,me,He){let ft=ye;for(;ft.parent;)ft=ft.parent;if(0===Fe.length)return Wt(ft,ft,ft,me,He);const zt=function xi(ye){if("string"==typeof ye[0]&&1===ye.length&&"/"===ye[0])return new li(!0,0,ye);let Fe=0,me=!1;const He=ye.reduce((ft,zt,ni)=>{if("object"==typeof zt&&null!=zt){if(zt.outlets){const bi={};return Object.entries(zt.outlets).forEach(([_i,Zi])=>{bi[_i]="string"==typeof Zi?Zi.split("/"):Zi}),[...ft,{outlets:bi}]}if(zt.segmentPath)return[...ft,zt.segmentPath]}return"string"!=typeof zt?[...ft,zt]:0===ni?(zt.split("/").forEach((bi,_i)=>{0==_i&&"."===bi||(0==_i&&""===bi?me=!0:".."===bi?Fe++:""!=bi&&ft.push(bi))}),ft):[...ft,zt]},[]);return new li(me,Fe,He)}(Fe);if(zt.toRoot())return Wt(ft,ft,new De([],{}),me,He);const ni=function bt(ye,Fe,me){if(ye.isAbsolute)return new Ut(Fe,!0,0);if(!me)return new Ut(Fe,!1,NaN);if(null===me.parent)return new Ut(me,!0,0);const He=qe(ye.commands[0])?0:1;return function $e(ye,Fe,me){let He=ye,ft=Fe,zt=me;for(;zt>ft;){if(zt-=ft,He=He.parent,!He)throw new e.vHH(4005,!1);ft=He.segments.length}return new Ut(He,!1,ft-zt)}(me,me.segments.length-1+He,ye.numberOfDoubleDots)}(zt,ft,ye),bi=ni.processChildren?qt(ni.segmentGroup,ni.index,zt.commands):Et(ni.segmentGroup,ni.index,zt.commands);return Wt(ft,ni.segmentGroup,bi,me,He)}function qe(ye){return"object"==typeof ye&&null!=ye&&!ye.outlets&&!ye.segmentPath}function nt(ye){return"object"==typeof ye&&null!=ye&&ye.outlets}function Wt(ye,Fe,me,He,ft){let ni,zt={};He&&Object.entries(He).forEach(([_i,Zi])=>{zt[_i]=Array.isArray(Zi)?Zi.map(bn=>`${bn}`):`${Zi}`}),ni=ye===Fe?me:si(ye,Fe,me);const bi=At(Lt(ni));return new ve(bi,zt,ft)}function si(ye,Fe,me){const He={};return Object.entries(ye.children).forEach(([ft,zt])=>{He[ft]=zt===Fe?me:si(zt,Fe,me)}),new De(ye.segments,He)}class li{constructor(Fe,me,He){if(this.isAbsolute=Fe,this.numberOfDoubleDots=me,this.commands=He,Fe&&He.length>0&&qe(He[0]))throw new e.vHH(4003,!1);const ft=He.find(nt);if(ft&&ft!==oe(He))throw new e.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ut{constructor(Fe,me,He){this.segmentGroup=Fe,this.processChildren=me,this.index=He}}function Et(ye,Fe,me){if(ye||(ye=new De([],{})),0===ye.segments.length&&ye.hasChildren())return qt(ye,Fe,me);const He=function pi(ye,Fe,me){let He=0,ft=Fe;const zt={match:!1,pathIndex:0,commandIndex:0};for(;ft<ye.segments.length;){if(He>=me.length)return zt;const ni=ye.segments[ft],bi=me[He];if(nt(bi))break;const _i=`${bi}`,Zi=He<me.length-1?me[He+1]:null;if(ft>0&&void 0===_i)break;if(_i&&Zi&&"object"==typeof Zi&&void 0===Zi.outlets){if(!Ui(_i,Zi,ni))return zt;He+=2}else{if(!Ui(_i,{},ni))return zt;He++}ft++}return{match:!0,pathIndex:ft,commandIndex:He}}(ye,Fe,me),ft=me.slice(He.commandIndex);if(He.match&&He.pathIndex<ye.segments.length){const zt=new De(ye.segments.slice(0,He.pathIndex),{});return zt.children[se]=new De(ye.segments.slice(He.pathIndex),ye.children),qt(zt,0,ft)}return He.match&&0===ft.length?new De(ye.segments,{}):He.match&&!ye.hasChildren()?Si(ye,Fe,me):He.match?qt(ye,0,ft):Si(ye,Fe,me)}function qt(ye,Fe,me){if(0===me.length)return new De(ye.segments,{});{const He=function ut(ye){return nt(ye[0])?ye[0].outlets:{[se]:ye}}(me),ft={};if(Object.keys(He).some(zt=>zt!==se)&&ye.children[se]&&1===ye.numberOfChildren&&0===ye.children[se].segments.length){const zt=qt(ye.children[se],Fe,me);return new De(ye.segments,zt.children)}return Object.entries(He).forEach(([zt,ni])=>{"string"==typeof ni&&(ni=[ni]),null!==ni&&(ft[zt]=Et(ye.children[zt],Fe,ni))}),Object.entries(ye.children).forEach(([zt,ni])=>{void 0===He[zt]&&(ft[zt]=ni)}),new De(ye.segments,ft)}}function Si(ye,Fe,me){const He=ye.segments.slice(0,Fe);let ft=0;for(;ft<me.length;){const zt=me[ft];if(nt(zt)){const _i=Fi(zt.outlets);return new De(He,_i)}if(0===ft&&qe(me[0])){He.push(new xt(ye.segments[Fe].path,Ri(me[0]))),ft++;continue}const ni=nt(zt)?zt.outlets[se]:`${zt}`,bi=ft<me.length-1?me[ft+1]:null;ni&&bi&&qe(bi)?(He.push(new xt(ni,Ri(bi))),ft+=2):(He.push(new xt(ni,{})),ft++)}return new De(He,{})}function Fi(ye){const Fe={};return Object.entries(ye).forEach(([me,He])=>{"string"==typeof He&&(He=[He]),null!==He&&(Fe[me]=Si(new De([],{}),0,He))}),Fe}function Ri(ye){const Fe={};return Object.entries(ye).forEach(([me,He])=>Fe[me]=`${He}`),Fe}function Ui(ye,Fe,me){return ye==me.path&&xe(Fe,me.parameters)}const nn="imperative";class cn{constructor(Fe,me){this.id=Fe,this.url=me}}class Qi extends cn{constructor(Fe,me,He="imperative",ft=null){super(Fe,me),this.type=0,this.navigationTrigger=He,this.restoredState=ft}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class $t extends cn{constructor(Fe,me,He){super(Fe,me),this.urlAfterRedirects=He,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Hi extends cn{constructor(Fe,me,He,ft){super(Fe,me),this.reason=He,this.code=ft,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ee extends cn{constructor(Fe,me,He,ft){super(Fe,me),this.reason=He,this.code=ft,this.type=16}}class We extends cn{constructor(Fe,me,He,ft){super(Fe,me),this.error=He,this.target=ft,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class rt extends cn{constructor(Fe,me,He,ft){super(Fe,me),this.urlAfterRedirects=He,this.state=ft,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class st extends cn{constructor(Fe,me,He,ft){super(Fe,me),this.urlAfterRedirects=He,this.state=ft,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Jt extends cn{constructor(Fe,me,He,ft,zt){super(Fe,me),this.urlAfterRedirects=He,this.state=ft,this.shouldActivate=zt,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ui extends cn{constructor(Fe,me,He,ft){super(Fe,me),this.urlAfterRedirects=He,this.state=ft,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class En extends cn{constructor(Fe,me,He,ft){super(Fe,me),this.urlAfterRedirects=He,this.state=ft,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hn{constructor(Fe){this.route=Fe,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ar{constructor(Fe){this.route=Fe,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class vr{constructor(Fe){this.snapshot=Fe,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class La{constructor(Fe){this.snapshot=Fe,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ur{constructor(Fe){this.snapshot=Fe,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ga{constructor(Fe){this.snapshot=Fe,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sa{constructor(Fe,me,He){this.routerEvent=Fe,this.position=me,this.anchor=He,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Li{}class Gt{constructor(Fe){this.url=Fe}}class gi{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new wi,this.attachRef=null}}let wi=(()=>{class ye{constructor(){this.contexts=new Map}onChildOutletCreated(me,He){const ft=this.getOrCreateContext(me);ft.outlet=He,this.contexts.set(me,ft)}onChildOutletDestroyed(me){const He=this.getContext(me);He&&(He.outlet=null,He.attachRef=null)}onOutletDeactivated(){const me=this.contexts;return this.contexts=new Map,me}onOutletReAttached(me){this.contexts=me}getOrCreateContext(me){let He=this.getContext(me);return He||(He=new gi,this.contexts.set(me,He)),He}getContext(me){return this.contexts.get(me)||null}static#e=this.\u0275fac=function(He){return new(He||ye)};static#t=this.\u0275prov=e.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();class Ni{constructor(Fe){this._root=Fe}get root(){return this._root.value}parent(Fe){const me=this.pathFromRoot(Fe);return me.length>1?me[me.length-2]:null}children(Fe){const me=Wi(Fe,this._root);return me?me.children.map(He=>He.value):[]}firstChild(Fe){const me=Wi(Fe,this._root);return me&&me.children.length>0?me.children[0].value:null}siblings(Fe){const me=Tn(Fe,this._root);return me.length<2?[]:me[me.length-2].children.map(ft=>ft.value).filter(ft=>ft!==Fe)}pathFromRoot(Fe){return Tn(Fe,this._root).map(me=>me.value)}}function Wi(ye,Fe){if(ye===Fe.value)return Fe;for(const me of Fe.children){const He=Wi(ye,me);if(He)return He}return null}function Tn(ye,Fe){if(ye===Fe.value)return[Fe];for(const me of Fe.children){const He=Tn(ye,me);if(He.length)return He.unshift(Fe),He}return[]}class Fn{constructor(Fe,me){this.value=Fe,this.children=me}toString(){return`TreeNode(${this.value})`}}function Yn(ye){const Fe={};return ye&&ye.children.forEach(me=>Fe[me.value.outlet]=me),Fe}class _n extends Ni{constructor(Fe,me){super(Fe),this.snapshot=me,Dr(this,Fe)}toString(){return this.snapshot.toString()}}function Cn(ye,Fe){const me=function Qn(ye,Fe){const ni=new Ja([],{},{},"",{},se,Fe,null,{});return new Gr("",new Fn(ni,[]))}(0,Fe),He=new c.X([new xt("",{})]),ft=new c.X({}),zt=new c.X({}),ni=new c.X({}),bi=new c.X(""),_i=new br(He,ft,ni,bi,zt,se,Fe,me.root);return _i.snapshot=me.root,new _n(new Fn(_i,[]),me)}class br{constructor(Fe,me,He,ft,zt,ni,bi,_i){this.urlSubject=Fe,this.paramsSubject=me,this.queryParamsSubject=He,this.fragmentSubject=ft,this.dataSubject=zt,this.outlet=ni,this.component=bi,this._futureSnapshot=_i,this.title=this.dataSubject?.pipe((0,Y.U)(Zi=>Zi[Ye]))??(0,T.of)(void 0),this.url=Fe,this.params=me,this.queryParams=He,this.fragment=ft,this.data=zt}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,Y.U)(Fe=>Qe(Fe)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Y.U)(Fe=>Qe(Fe)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Nr(ye,Fe="emptyOnly"){const me=ye.pathFromRoot;let He=0;if("always"!==Fe)for(He=me.length-1;He>=1;){const ft=me[He],zt=me[He-1];if(ft.routeConfig&&""===ft.routeConfig.path)He--;else{if(zt.component)break;He--}}return function qa(ye){return ye.reduce((Fe,me)=>({params:{...Fe.params,...me.params},data:{...Fe.data,...me.data},resolve:{...me.data,...Fe.resolve,...me.routeConfig?.data,...me._resolvedData}}),{params:{},data:{},resolve:{}})}(me.slice(He))}class Ja{get title(){return this.data?.[Ye]}constructor(Fe,me,He,ft,zt,ni,bi,_i,Zi){this.url=Fe,this.params=me,this.queryParams=He,this.fragment=ft,this.data=zt,this.outlet=ni,this.component=bi,this.routeConfig=_i,this._resolve=Zi}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Qe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Qe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(He=>He.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Gr extends Ni{constructor(Fe,me){super(me),this.url=Fe,Dr(this,me)}toString(){return Xa(this._root)}}function Dr(ye,Fe){Fe.value._routerState=ye,Fe.children.forEach(me=>Dr(ye,me))}function Xa(ye){const Fe=ye.children.length>0?` { ${ye.children.map(Xa).join(", ")} } `:"";return`${ye.value}${Fe}`}function tr(ye){if(ye.snapshot){const Fe=ye.snapshot,me=ye._futureSnapshot;ye.snapshot=me,xe(Fe.queryParams,me.queryParams)||ye.queryParamsSubject.next(me.queryParams),Fe.fragment!==me.fragment&&ye.fragmentSubject.next(me.fragment),xe(Fe.params,me.params)||ye.paramsSubject.next(me.params),function ue(ye,Fe){if(ye.length!==Fe.length)return!1;for(let me=0;me<ye.length;++me)if(!xe(ye[me],Fe[me]))return!1;return!0}(Fe.url,me.url)||ye.urlSubject.next(me.url),xe(Fe.data,me.data)||ye.dataSubject.next(me.data)}else ye.snapshot=ye._futureSnapshot,ye.dataSubject.next(ye._futureSnapshot.data)}function rn(ye,Fe){const me=xe(ye.params,Fe.params)&&function ct(ye,Fe){return et(ye,Fe)&&ye.every((me,He)=>xe(me.parameters,Fe[He].parameters))}(ye.url,Fe.url);return me&&!(!ye.parent!=!Fe.parent)&&(!ye.parent||rn(ye.parent,Fe.parent))}let vn=(()=>{class ye{constructor(){this.activated=null,this._activatedRoute=null,this.name=se,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.parentContexts=(0,e.f3M)(wi),this.location=(0,e.f3M)(e.s_b),this.changeDetector=(0,e.f3M)(e.sBO),this.environmentInjector=(0,e.f3M)(e.lqb),this.inputBinder=(0,e.f3M)(er,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(me){if(me.name){const{firstChange:He,previousValue:ft}=me.name;if(He)return;this.isTrackedInParentContexts(ft)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ft)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(me){return this.parentContexts.getContext(me)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const me=this.parentContexts.getContext(this.name);me?.route&&(me.attachRef?this.attach(me.attachRef,me.route):this.activateWith(me.route,me.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.vHH(4012,!1);this.location.detach();const me=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(me.instance),me}attach(me,He){this.activated=me,this._activatedRoute=He,this.location.insert(me.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(me.instance)}deactivate(){if(this.activated){const me=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(me)}}activateWith(me,He){if(this.isActivated)throw new e.vHH(4013,!1);this._activatedRoute=me;const ft=this.location,ni=me.snapshot.component,bi=this.parentContexts.getOrCreateContext(this.name).children,_i=new zn(me,bi,ft.injector);this.activated=ft.createComponent(ni,{index:ft.length,injector:_i,environmentInjector:He??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(He){return new(He||ye)};static#t=this.\u0275dir=e.lG2({type:ye,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.TTD]})}return ye})();class zn{constructor(Fe,me,He){this.route=Fe,this.childContexts=me,this.parent=He}get(Fe,me){return Fe===br?this.route:Fe===wi?this.childContexts:this.parent.get(Fe,me)}}const er=new e.OlP("");let Wa=(()=>{class ye{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(me){this.unsubscribeFromRouteData(me),this.subscribeToRouteData(me)}unsubscribeFromRouteData(me){this.outletDataSubscriptions.get(me)?.unsubscribe(),this.outletDataSubscriptions.delete(me)}subscribeToRouteData(me){const{activatedRoute:He}=me,ft=(0,C.a)([He.queryParams,He.params,He.data]).pipe((0,Q.w)(([zt,ni,bi],_i)=>(bi={...zt,...ni,...bi},0===_i?(0,T.of)(bi):Promise.resolve(bi)))).subscribe(zt=>{if(!me.isActivated||!me.activatedComponentRef||me.activatedRoute!==He||null===He.component)return void this.unsubscribeFromRouteData(me);const ni=(0,e.qFp)(He.component);if(ni)for(const{templateName:bi}of ni.inputs)me.activatedComponentRef.setInput(bi,zt[bi]);else this.unsubscribeFromRouteData(me)});this.outletDataSubscriptions.set(me,ft)}static#e=this.\u0275fac=function(He){return new(He||ye)};static#t=this.\u0275prov=e.Yz7({token:ye,factory:ye.\u0275fac})}return ye})();function _a(ye,Fe,me){if(me&&ye.shouldReuseRoute(Fe.value,me.value.snapshot)){const He=me.value;He._futureSnapshot=Fe.value;const ft=function or(ye,Fe,me){return Fe.children.map(He=>{for(const ft of me.children)if(ye.shouldReuseRoute(He.value,ft.value.snapshot))return _a(ye,He,ft);return _a(ye,He)})}(ye,Fe,me);return new Fn(He,ft)}{if(ye.shouldAttach(Fe.value)){const zt=ye.retrieve(Fe.value);if(null!==zt){const ni=zt.route;return ni.value._futureSnapshot=Fe.value,ni.children=Fe.children.map(bi=>_a(ye,bi)),ni}}const He=function Rr(ye){return new br(new c.X(ye.url),new c.X(ye.params),new c.X(ye.queryParams),new c.X(ye.fragment),new c.X(ye.data),ye.outlet,ye.component,ye)}(Fe.value),ft=Fe.children.map(zt=>_a(ye,zt));return new Fn(He,ft)}}const Sr="ngNavigationCancelingError";function yn(ye,Fe){const{redirectTo:me,navigationBehaviorOptions:He}=Zt(Fe)?{redirectTo:Fe,navigationBehaviorOptions:void 0}:Fe,ft=qr(!1,0,Fe);return ft.url=me,ft.navigationBehaviorOptions=He,ft}function qr(ye,Fe,me){const He=new Error("NavigationCancelingError: "+(ye||""));return He[Sr]=!0,He.cancellationCode=Fe,me&&(He.url=me),He}function Ia(ye){return ye&&ye[Sr]}let lr=(()=>{class ye{static#e=this.\u0275fac=function(He){return new(He||ye)};static#t=this.\u0275cmp=e.Xpm({type:ye,selectors:[["ng-component"]],standalone:!0,features:[e.jDz],decls:1,vars:0,template:function(He,ft){1&He&&e._UZ(0,"router-outlet")},dependencies:[vn],encapsulation:2})}return ye})();function Dn(ye){const Fe=ye.children&&ye.children.map(Dn),me=Fe?{...ye,children:Fe}:{...ye};return!me.component&&!me.loadComponent&&(Fe||me.loadChildren)&&me.outlet&&me.outlet!==se&&(me.component=lr),me}function Wr(ye){return ye.outlet||se}function Ra(ye){if(!ye)return null;if(ye.routeConfig?._injector)return ye.routeConfig._injector;for(let Fe=ye.parent;Fe;Fe=Fe.parent){const me=Fe.routeConfig;if(me?._loadedInjector)return me._loadedInjector;if(me?._injector)return me._injector}return null}class ya{constructor(Fe,me,He,ft,zt){this.routeReuseStrategy=Fe,this.futureState=me,this.currState=He,this.forwardEvent=ft,this.inputBindingEnabled=zt}activate(Fe){const me=this.futureState._root,He=this.currState?this.currState._root:null;this.deactivateChildRoutes(me,He,Fe),tr(this.futureState.root),this.activateChildRoutes(me,He,Fe)}deactivateChildRoutes(Fe,me,He){const ft=Yn(me);Fe.children.forEach(zt=>{const ni=zt.value.outlet;this.deactivateRoutes(zt,ft[ni],He),delete ft[ni]}),Object.values(ft).forEach(zt=>{this.deactivateRouteAndItsChildren(zt,He)})}deactivateRoutes(Fe,me,He){const ft=Fe.value,zt=me?me.value:null;if(ft===zt)if(ft.component){const ni=He.getContext(ft.outlet);ni&&this.deactivateChildRoutes(Fe,me,ni.children)}else this.deactivateChildRoutes(Fe,me,He);else zt&&this.deactivateRouteAndItsChildren(me,He)}deactivateRouteAndItsChildren(Fe,me){Fe.value.component&&this.routeReuseStrategy.shouldDetach(Fe.value.snapshot)?this.detachAndStoreRouteSubtree(Fe,me):this.deactivateRouteAndOutlet(Fe,me)}detachAndStoreRouteSubtree(Fe,me){const He=me.getContext(Fe.value.outlet),ft=He&&Fe.value.component?He.children:me,zt=Yn(Fe);for(const ni of Object.keys(zt))this.deactivateRouteAndItsChildren(zt[ni],ft);if(He&&He.outlet){const ni=He.outlet.detach(),bi=He.children.onOutletDeactivated();this.routeReuseStrategy.store(Fe.value.snapshot,{componentRef:ni,route:Fe,contexts:bi})}}deactivateRouteAndOutlet(Fe,me){const He=me.getContext(Fe.value.outlet),ft=He&&Fe.value.component?He.children:me,zt=Yn(Fe);for(const ni of Object.keys(zt))this.deactivateRouteAndItsChildren(zt[ni],ft);He&&(He.outlet&&(He.outlet.deactivate(),He.children.onOutletDeactivated()),He.attachRef=null,He.route=null)}activateChildRoutes(Fe,me,He){const ft=Yn(me);Fe.children.forEach(zt=>{this.activateRoutes(zt,ft[zt.value.outlet],He),this.forwardEvent(new ga(zt.value.snapshot))}),Fe.children.length&&this.forwardEvent(new La(Fe.value.snapshot))}activateRoutes(Fe,me,He){const ft=Fe.value,zt=me?me.value:null;if(tr(ft),ft===zt)if(ft.component){const ni=He.getOrCreateContext(ft.outlet);this.activateChildRoutes(Fe,me,ni.children)}else this.activateChildRoutes(Fe,me,He);else if(ft.component){const ni=He.getOrCreateContext(ft.outlet);if(this.routeReuseStrategy.shouldAttach(ft.snapshot)){const bi=this.routeReuseStrategy.retrieve(ft.snapshot);this.routeReuseStrategy.store(ft.snapshot,null),ni.children.onOutletReAttached(bi.contexts),ni.attachRef=bi.componentRef,ni.route=bi.route.value,ni.outlet&&ni.outlet.attach(bi.componentRef,bi.route.value),tr(bi.route.value),this.activateChildRoutes(Fe,null,ni.children)}else{const bi=Ra(ft.snapshot);ni.attachRef=null,ni.route=ft,ni.injector=bi,ni.outlet&&ni.outlet.activateWith(ft,ni.injector),this.activateChildRoutes(Fe,null,ni.children)}}else this.activateChildRoutes(Fe,null,He)}}class xa{constructor(Fe){this.path=Fe,this.route=this.path[this.path.length-1]}}class qn{constructor(Fe,me){this.component=Fe,this.route=me}}function es(ye,Fe,me){const He=ye._root;return ka(He,Fe?Fe._root:null,me,[He.value])}function ur(ye,Fe){const me=Symbol(),He=Fe.get(ye,me);return He===me?"function"!=typeof ye||(0,e.Z0I)(ye)?Fe.get(ye):ye:He}function ka(ye,Fe,me,He,ft={canDeactivateChecks:[],canActivateChecks:[]}){const zt=Yn(Fe);return ye.children.forEach(ni=>{(function It(ye,Fe,me,He,ft={canDeactivateChecks:[],canActivateChecks:[]}){const zt=ye.value,ni=Fe?Fe.value:null,bi=me?me.getContext(ye.value.outlet):null;if(ni&&zt.routeConfig===ni.routeConfig){const _i=function Ai(ye,Fe,me){if("function"==typeof me)return me(ye,Fe);switch(me){case"pathParamsChange":return!et(ye.url,Fe.url);case"pathParamsOrQueryParamsChange":return!et(ye.url,Fe.url)||!xe(ye.queryParams,Fe.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rn(ye,Fe)||!xe(ye.queryParams,Fe.queryParams);default:return!rn(ye,Fe)}}(ni,zt,zt.routeConfig.runGuardsAndResolvers);_i?ft.canActivateChecks.push(new xa(He)):(zt.data=ni.data,zt._resolvedData=ni._resolvedData),ka(ye,Fe,zt.component?bi?bi.children:null:me,He,ft),_i&&bi&&bi.outlet&&bi.outlet.isActivated&&ft.canDeactivateChecks.push(new qn(bi.outlet.component,ni))}else ni&&St(Fe,bi,ft),ft.canActivateChecks.push(new xa(He)),ka(ye,null,zt.component?bi?bi.children:null:me,He,ft)})(ni,zt[ni.value.outlet],me,He.concat([ni.value]),ft),delete zt[ni.value.outlet]}),Object.entries(zt).forEach(([ni,bi])=>St(bi,me.getContext(ni),ft)),ft}function St(ye,Fe,me){const He=Yn(ye),ft=ye.value;Object.entries(He).forEach(([zt,ni])=>{St(ni,ft.component?Fe?Fe.children.getContext(zt):null:Fe,me)}),me.canDeactivateChecks.push(new qn(ft.component&&Fe&&Fe.outlet&&Fe.outlet.isActivated?Fe.outlet.component:null,ft))}function ai(ye){return"function"==typeof ye}function Ft(ye){return ye instanceof u.K||"EmptyError"===ye?.name}const ri=Symbol("INITIAL_VALUE");function on(){return(0,Q.w)(ye=>(0,C.a)(ye.map(Fe=>Fe.pipe((0,J.q)(1),(0,ne.O)(ri)))).pipe((0,Y.U)(Fe=>{for(const me of Fe)if(!0!==me){if(me===ri)return ri;if(!1===me||me instanceof ve)return me}return!0}),(0,X.h)(Fe=>Fe!==ri),(0,J.q)(1)))}function zi(ye){return(0,S.z)((0,te.b)(Fe=>{if(Zt(Fe))throw yn(0,Fe)}),(0,Y.U)(Fe=>!0===Fe))}class Fa{constructor(Fe){this.segmentGroup=Fe||null}}class Bi{constructor(Fe){this.urlTree=Fe}}function po(ye){return(0,M._)(new Fa(ye))}function oo(ye){return(0,M._)(new Bi(ye))}class ta{constructor(Fe,me){this.urlSerializer=Fe,this.urlTree=me}noMatchError(Fe){return new e.vHH(4002,!1)}lineralizeSegments(Fe,me){let He=[],ft=me.root;for(;;){if(He=He.concat(ft.segments),0===ft.numberOfChildren)return(0,T.of)(He);if(ft.numberOfChildren>1||!ft.children[se])return(0,M._)(new e.vHH(4e3,!1));ft=ft.children[se]}}applyRedirectCommands(Fe,me,He){return this.applyRedirectCreateUrlTree(me,this.urlSerializer.parse(me),Fe,He)}applyRedirectCreateUrlTree(Fe,me,He,ft){const zt=this.createSegmentGroup(Fe,me.root,He,ft);return new ve(zt,this.createQueryParams(me.queryParams,this.urlTree.queryParams),me.fragment)}createQueryParams(Fe,me){const He={};return Object.entries(Fe).forEach(([ft,zt])=>{if("string"==typeof zt&&zt.startsWith(":")){const bi=zt.substring(1);He[ft]=me[bi]}else He[ft]=zt}),He}createSegmentGroup(Fe,me,He,ft){const zt=this.createSegments(Fe,me.segments,He,ft);let ni={};return Object.entries(me.children).forEach(([bi,_i])=>{ni[bi]=this.createSegmentGroup(Fe,_i,He,ft)}),new De(zt,ni)}createSegments(Fe,me,He,ft){return me.map(zt=>zt.path.startsWith(":")?this.findPosParam(Fe,zt,ft):this.findOrReturn(zt,He))}findPosParam(Fe,me,He){const ft=He[me.path.substring(1)];if(!ft)throw new e.vHH(4001,!1);return ft}findOrReturn(Fe,me){let He=0;for(const ft of me){if(ft.path===Fe.path)return me.splice(He),ft;He++}return Fe}}const za={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function is(ye,Fe,me,He,ft){const zt=ns(ye,Fe,me);return zt.matched?(He=function Hr(ye,Fe){return ye.providers&&!ye._injector&&(ye._injector=(0,e.MMx)(ye.providers,Fe,`Route: ${ye.path}`)),ye._injector??Fe}(Fe,He),function ko(ye,Fe,me,He){const ft=Fe.canMatch;if(!ft||0===ft.length)return(0,T.of)(!0);const zt=ft.map(ni=>{const bi=ur(ni,ye);return ze(function gt(ye){return ye&&ai(ye.canMatch)}(bi)?bi.canMatch(Fe,me):ye.runInContext(()=>bi(Fe,me)))});return(0,T.of)(zt).pipe(on(),zi())}(He,Fe,me).pipe((0,Y.U)(ni=>!0===ni?zt:{...za}))):(0,T.of)(zt)}function ns(ye,Fe,me){if(""===Fe.path)return"full"===Fe.pathMatch&&(ye.hasChildren()||me.length>0)?{...za}:{matched:!0,consumedSegments:[],remainingSegments:me,parameters:{},positionalParamSegments:{}};const ft=(Fe.matcher||be)(me,ye,Fe);if(!ft)return{...za};const zt={};Object.entries(ft.posParams??{}).forEach(([bi,_i])=>{zt[bi]=_i.path});const ni=ft.consumed.length>0?{...zt,...ft.consumed[ft.consumed.length-1].parameters}:zt;return{matched:!0,consumedSegments:ft.consumed,remainingSegments:me.slice(ft.consumed.length),parameters:ni,positionalParamSegments:ft.posParams??{}}}function Oo(ye,Fe,me,He){return me.length>0&&function eo(ye,Fe,me){return me.some(He=>Es(ye,Fe,He)&&Wr(He)!==se)}(ye,me,He)?{segmentGroup:new De(Fe,Ws(He,new De(me,ye.children))),slicedSegments:[]}:0===me.length&&function Va(ye,Fe,me){return me.some(He=>Es(ye,Fe,He))}(ye,me,He)?{segmentGroup:new De(ye.segments,Po(ye,0,me,He,ye.children)),slicedSegments:me}:{segmentGroup:new De(ye.segments,ye.children),slicedSegments:me}}function Po(ye,Fe,me,He,ft){const zt={};for(const ni of He)if(Es(ye,me,ni)&&!ft[Wr(ni)]){const bi=new De([],{});zt[Wr(ni)]=bi}return{...ft,...zt}}function Ws(ye,Fe){const me={};me[se]=Fe;for(const He of ye)if(""===He.path&&Wr(He)!==se){const ft=new De([],{});me[Wr(He)]=ft}return me}function Es(ye,Fe,me){return(!(ye.hasChildren()||Fe.length>0)||"full"!==me.pathMatch)&&""===me.path}class sn{constructor(Fe,me,He,ft,zt,ni,bi){this.injector=Fe,this.configLoader=me,this.rootComponentType=He,this.config=ft,this.urlTree=zt,this.paramsInheritanceStrategy=ni,this.urlSerializer=bi,this.allowRedirects=!0,this.applyRedirects=new ta(this.urlSerializer,this.urlTree)}noMatchError(Fe){return new e.vHH(4002,!1)}recognize(){const Fe=Oo(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,Fe,se).pipe((0,ae.K)(me=>{if(me instanceof Bi)return this.allowRedirects=!1,this.urlTree=me.urlTree,this.match(me.urlTree);throw me instanceof Fa?this.noMatchError(me):me}),(0,Y.U)(me=>{const He=new Ja([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},se,this.rootComponentType,null,{}),ft=new Fn(He,me),zt=new Gr("",ft),ni=function Kt(ye,Fe,me=null,He=null){return Bt(Xe(ye),Fe,me,He)}(He,[],this.urlTree.queryParams,this.urlTree.fragment);return ni.queryParams=this.urlTree.queryParams,zt.url=this.urlSerializer.serialize(ni),this.inheritParamsAndData(zt._root),{state:zt,tree:ni}}))}match(Fe){return this.processSegmentGroup(this.injector,this.config,Fe.root,se).pipe((0,ae.K)(He=>{throw He instanceof Fa?this.noMatchError(He):He}))}inheritParamsAndData(Fe){const me=Fe.value,He=Nr(me,this.paramsInheritanceStrategy);me.params=Object.freeze(He.params),me.data=Object.freeze(He.data),Fe.children.forEach(ft=>this.inheritParamsAndData(ft))}processSegmentGroup(Fe,me,He,ft){return 0===He.segments.length&&He.hasChildren()?this.processChildren(Fe,me,He):this.processSegment(Fe,me,He,He.segments,ft,!0)}processChildren(Fe,me,He){const ft=[];for(const zt of Object.keys(He.children))"primary"===zt?ft.unshift(zt):ft.push(zt);return(0,g.D)(ft).pipe((0,de.b)(zt=>{const ni=He.children[zt],bi=function ro(ye,Fe){const me=ye.filter(He=>Wr(He)===Fe);return me.push(...ye.filter(He=>Wr(He)!==Fe)),me}(me,zt);return this.processSegmentGroup(Fe,bi,ni,zt)}),(0,E.R)((zt,ni)=>(zt.push(...ni),zt)),(0,i.d)(null),function O(ye,Fe){const me=arguments.length>=2;return He=>He.pipe(ye?(0,X.h)((ft,zt)=>ye(ft,zt,He)):L.y,l(1),me?(0,i.d)(Fe):(0,y.T)(()=>new u.K))}(),(0,pe.z)(zt=>{if(null===zt)return po(He);const ni=ds(zt);return function Uo(ye){ye.sort((Fe,me)=>Fe.value.outlet===se?-1:me.value.outlet===se?1:Fe.value.outlet.localeCompare(me.value.outlet))}(ni),(0,T.of)(ni)}))}processSegment(Fe,me,He,ft,zt,ni){return(0,g.D)(me).pipe((0,de.b)(bi=>this.processSegmentAgainstRoute(bi._injector??Fe,me,bi,He,ft,zt,ni).pipe((0,ae.K)(_i=>{if(_i instanceof Fa)return(0,T.of)(null);throw _i}))),(0,ie.P)(bi=>!!bi),(0,ae.K)(bi=>{if(Ft(bi))return function Ts(ye,Fe,me){return 0===Fe.length&&!ye.children[me]}(He,ft,zt)?(0,T.of)([]):po(He);throw bi}))}processSegmentAgainstRoute(Fe,me,He,ft,zt,ni,bi){return function ia(ye,Fe,me,He){return!!(Wr(ye)===He||He!==se&&Es(Fe,me,ye))&&("**"===ye.path||ns(Fe,ye,me).matched)}(He,ft,zt,ni)?void 0===He.redirectTo?this.matchSegmentAgainstRoute(Fe,ft,He,zt,ni,bi):bi&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(Fe,ft,me,He,zt,ni):po(ft):po(ft)}expandSegmentAgainstRouteUsingRedirect(Fe,me,He,ft,zt,ni){return"**"===ft.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(Fe,He,ft,ni):this.expandRegularSegmentAgainstRouteUsingRedirect(Fe,me,He,ft,zt,ni)}expandWildCardWithParamsAgainstRouteUsingRedirect(Fe,me,He,ft){const zt=this.applyRedirects.applyRedirectCommands([],He.redirectTo,{});return He.redirectTo.startsWith("/")?oo(zt):this.applyRedirects.lineralizeSegments(He,zt).pipe((0,pe.z)(ni=>{const bi=new De(ni,{});return this.processSegment(Fe,me,bi,ni,ft,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(Fe,me,He,ft,zt,ni){const{matched:bi,consumedSegments:_i,remainingSegments:Zi,positionalParamSegments:bn}=ns(me,ft,zt);if(!bi)return po(me);const sr=this.applyRedirects.applyRedirectCommands(_i,ft.redirectTo,bn);return ft.redirectTo.startsWith("/")?oo(sr):this.applyRedirects.lineralizeSegments(ft,sr).pipe((0,pe.z)(wn=>this.processSegment(Fe,He,me,wn.concat(Zi),ni,!1)))}matchSegmentAgainstRoute(Fe,me,He,ft,zt,ni){let bi;if("**"===He.path){const _i=ft.length>0?oe(ft).parameters:{},Zi=new Ja(ft,_i,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,us(He),Wr(He),He.component??He._loadedComponent??null,He,fs(He));bi=(0,T.of)({snapshot:Zi,consumedSegments:[],remainingSegments:[]}),me.children={}}else bi=is(me,He,ft,Fe).pipe((0,Y.U)(({matched:_i,consumedSegments:Zi,remainingSegments:bn,parameters:sr})=>_i?{snapshot:new Ja(Zi,sr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,us(He),Wr(He),He.component??He._loadedComponent??null,He,fs(He)),consumedSegments:Zi,remainingSegments:bn}:null));return bi.pipe((0,Q.w)(_i=>null===_i?po(me):this.getChildConfig(Fe=He._injector??Fe,He,ft).pipe((0,Q.w)(({routes:Zi})=>{const bn=He._loadedInjector??Fe,{snapshot:sr,consumedSegments:wn,remainingSegments:uo}=_i,{segmentGroup:No,slicedSegments:qs}=Oo(me,wn,uo,Zi);if(0===qs.length&&No.hasChildren())return this.processChildren(bn,Zi,No).pipe((0,Y.U)(Ls=>null===Ls?null:[new Fn(sr,Ls)]));if(0===Zi.length&&0===qs.length)return(0,T.of)([new Fn(sr,[])]);const hl=Wr(He)===zt;return this.processSegment(bn,Zi,No,qs,hl?se:zt,!0).pipe((0,Y.U)(Ls=>[new Fn(sr,Ls)]))}))))}getChildConfig(Fe,me,He){return me.children?(0,T.of)({routes:me.children,injector:Fe}):me.loadChildren?void 0!==me._loadedRoutes?(0,T.of)({routes:me._loadedRoutes,injector:me._loadedInjector}):function Ha(ye,Fe,me,He){const ft=Fe.canLoad;if(void 0===ft||0===ft.length)return(0,T.of)(!0);const zt=ft.map(ni=>{const bi=ur(ni,ye);return ze(function en(ye){return ye&&ai(ye.canLoad)}(bi)?bi.canLoad(Fe,me):ye.runInContext(()=>bi(Fe,me)))});return(0,T.of)(zt).pipe(on(),zi())}(Fe,me,He).pipe((0,pe.z)(ft=>ft?this.configLoader.loadChildren(Fe,me).pipe((0,te.b)(zt=>{me._loadedRoutes=zt.routes,me._loadedInjector=zt.injector})):function Eo(ye){return(0,M._)(qr(!1,3))}())):(0,T.of)({routes:[],injector:Fe})}}function As(ye){const Fe=ye.value.routeConfig;return Fe&&""===Fe.path}function ds(ye){const Fe=[],me=new Set;for(const He of ye){if(!As(He)){Fe.push(He);continue}const ft=Fe.find(zt=>He.value.routeConfig===zt.value.routeConfig);void 0!==ft?(ft.children.push(...He.children),me.add(ft)):Fe.push(He)}for(const He of me){const ft=ds(He.children);Fe.push(new Fn(He.value,ft))}return Fe.filter(He=>!me.has(He))}function us(ye){return ye.data||{}}function fs(ye){return ye.resolve||{}}function nr(ye){return"string"==typeof ye.title||null===ye.title}function Ca(ye){return(0,Q.w)(Fe=>{const me=ye(Fe);return me?(0,g.D)(me).pipe((0,Y.U)(()=>Fe)):(0,T.of)(Fe)})}const so=new e.OlP("ROUTES");let Ys=(()=>{class ye{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.f3M)(e.Sil)}loadComponent(me){if(this.componentLoaders.get(me))return this.componentLoaders.get(me);if(me._loadedComponent)return(0,T.of)(me._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(me);const He=ze(me.loadComponent()).pipe((0,Y.U)(ce),(0,te.b)(zt=>{this.onLoadEndListener&&this.onLoadEndListener(me),me._loadedComponent=zt}),(0,n.x)(()=>{this.componentLoaders.delete(me)})),ft=new D.c(He,()=>new R.x).pipe((0,_.x)());return this.componentLoaders.set(me,ft),ft}loadChildren(me,He){if(this.childrenLoaders.get(He))return this.childrenLoaders.get(He);if(He._loadedRoutes)return(0,T.of)({routes:He._loadedRoutes,injector:He._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(He);const zt=function Se(ye,Fe,me,He){return ze(ye.loadChildren()).pipe((0,Y.U)(ce),(0,pe.z)(ft=>ft instanceof e.YKP||Array.isArray(ft)?(0,T.of)(ft):(0,g.D)(Fe.compileModuleAsync(ft))),(0,Y.U)(ft=>{He&&He(ye);let zt,ni,bi=!1;return Array.isArray(ft)?(ni=ft,!0):(zt=ft.create(me).injector,ni=zt.get(so,[],{optional:!0,self:!0}).flat()),{routes:ni.map(Dn),injector:zt}}))}(He,this.compiler,me,this.onLoadEndListener).pipe((0,n.x)(()=>{this.childrenLoaders.delete(He)})),ni=new D.c(zt,()=>new R.x).pipe((0,_.x)());return this.childrenLoaders.set(He,ni),ni}static#e=this.\u0275fac=function(He){return new(He||ye)};static#t=this.\u0275prov=e.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();function ce(ye){return function Ot(ye){return ye&&"object"==typeof ye&&"default"in ye}(ye)?ye.default:ye}let ht=(()=>{class ye{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new R.x,this.transitionAbortSubject=new R.x,this.configLoader=(0,e.f3M)(Ys),this.environmentInjector=(0,e.f3M)(e.lqb),this.urlSerializer=(0,e.f3M)(ke),this.rootContexts=(0,e.f3M)(wi),this.inputBindingEnabled=null!==(0,e.f3M)(er,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,T.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ft=>this.events.next(new Ar(ft)),this.configLoader.onLoadStartListener=ft=>this.events.next(new Hn(ft))}complete(){this.transitions?.complete()}handleNavigationRequest(me){const He=++this.navigationId;this.transitions?.next({...this.transitions.value,...me,id:He})}setupNavigations(me,He,ft){return this.transitions=new c.X({id:0,currentUrlTree:He,currentRawUrl:He,currentBrowserUrl:He,extractedUrl:me.urlHandlingStrategy.extract(He),urlAfterRedirects:me.urlHandlingStrategy.extract(He),rawUrl:He,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:nn,restoredState:null,currentSnapshot:ft.snapshot,targetSnapshot:null,currentRouterState:ft,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,X.h)(zt=>0!==zt.id),(0,Y.U)(zt=>({...zt,extractedUrl:me.urlHandlingStrategy.extract(zt.rawUrl)})),(0,Q.w)(zt=>{this.currentTransition=zt;let ni=!1,bi=!1;return(0,T.of)(zt).pipe((0,te.b)(_i=>{this.currentNavigation={id:_i.id,initialUrl:_i.rawUrl,extractedUrl:_i.extractedUrl,trigger:_i.source,extras:_i.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Q.w)(_i=>{const Zi=_i.currentBrowserUrl.toString(),bn=!me.navigated||_i.extractedUrl.toString()!==Zi||Zi!==_i.currentUrlTree.toString();if(!bn&&"reload"!==(_i.extras.onSameUrlNavigation??me.onSameUrlNavigation)){const wn="";return this.events.next(new Ee(_i.id,this.urlSerializer.serialize(_i.rawUrl),wn,0)),_i.resolve(null),I.E}if(me.urlHandlingStrategy.shouldProcessUrl(_i.rawUrl))return(0,T.of)(_i).pipe((0,Q.w)(wn=>{const uo=this.transitions?.getValue();return this.events.next(new Qi(wn.id,this.urlSerializer.serialize(wn.extractedUrl),wn.source,wn.restoredState)),uo!==this.transitions?.getValue()?I.E:Promise.resolve(wn)}),function cl(ye,Fe,me,He,ft,zt){return(0,pe.z)(ni=>function Bo(ye,Fe,me,He,ft,zt,ni="emptyOnly"){return new sn(ye,Fe,me,He,ft,ni,zt).recognize()}(ye,Fe,me,He,ni.extractedUrl,ft,zt).pipe((0,Y.U)(({state:bi,tree:_i})=>({...ni,targetSnapshot:bi,urlAfterRedirects:_i}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,me.config,this.urlSerializer,me.paramsInheritanceStrategy),(0,te.b)(wn=>{zt.targetSnapshot=wn.targetSnapshot,zt.urlAfterRedirects=wn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:wn.urlAfterRedirects};const uo=new rt(wn.id,this.urlSerializer.serialize(wn.extractedUrl),this.urlSerializer.serialize(wn.urlAfterRedirects),wn.targetSnapshot);this.events.next(uo)}));if(bn&&me.urlHandlingStrategy.shouldProcessUrl(_i.currentRawUrl)){const{id:wn,extractedUrl:uo,source:No,restoredState:qs,extras:hl}=_i,Ls=new Qi(wn,this.urlSerializer.serialize(uo),No,qs);this.events.next(Ls);const pc=Cn(0,this.rootComponentType).snapshot;return this.currentTransition=zt={..._i,targetSnapshot:pc,urlAfterRedirects:uo,extras:{...hl,skipLocationChange:!1,replaceUrl:!1}},(0,T.of)(zt)}{const wn="";return this.events.next(new Ee(_i.id,this.urlSerializer.serialize(_i.extractedUrl),wn,1)),_i.resolve(null),I.E}}),(0,te.b)(_i=>{const Zi=new st(_i.id,this.urlSerializer.serialize(_i.extractedUrl),this.urlSerializer.serialize(_i.urlAfterRedirects),_i.targetSnapshot);this.events.next(Zi)}),(0,Y.U)(_i=>(this.currentTransition=zt={..._i,guards:es(_i.targetSnapshot,_i.currentSnapshot,this.rootContexts)},zt)),function Vn(ye,Fe){return(0,pe.z)(me=>{const{targetSnapshot:He,currentSnapshot:ft,guards:{canActivateChecks:zt,canDeactivateChecks:ni}}=me;return 0===ni.length&&0===zt.length?(0,T.of)({...me,guardsResult:!0}):function ha(ye,Fe,me,He){return(0,g.D)(ye).pipe((0,pe.z)(ft=>function Ss(ye,Fe,me,He,ft){const zt=Fe&&Fe.routeConfig?Fe.routeConfig.canDeactivate:null;if(!zt||0===zt.length)return(0,T.of)(!0);const ni=zt.map(bi=>{const _i=Ra(Fe)??ft,Zi=ur(bi,_i);return ze(function Jr(ye){return ye&&ai(ye.canDeactivate)}(Zi)?Zi.canDeactivate(ye,Fe,me,He):_i.runInContext(()=>Zi(ye,Fe,me,He))).pipe((0,ie.P)())});return(0,T.of)(ni).pipe(on())}(ft.component,ft.route,me,Fe,He)),(0,ie.P)(ft=>!0!==ft,!0))}(ni,He,ft,ye).pipe((0,pe.z)(bi=>bi&&function Oi(ye){return"boolean"==typeof ye}(bi)?function Vo(ye,Fe,me,He){return(0,g.D)(Fe).pipe((0,de.b)(ft=>(0,P.z)(function Fl(ye,Fe){return null!==ye&&Fe&&Fe(new vr(ye)),(0,T.of)(!0)}(ft.route.parent,He),function ts(ye,Fe){return null!==ye&&Fe&&Fe(new Ur(ye)),(0,T.of)(!0)}(ft.route,He),function Zs(ye,Fe,me){const He=Fe[Fe.length-1],zt=Fe.slice(0,Fe.length-1).reverse().map(ni=>function Fr(ye){const Fe=ye.routeConfig?ye.routeConfig.canActivateChild:null;return Fe&&0!==Fe.length?{node:ye,guards:Fe}:null}(ni)).filter(ni=>null!==ni).map(ni=>(0,d.P)(()=>{const bi=ni.guards.map(_i=>{const Zi=Ra(ni.node)??me,bn=ur(_i,Zi);return ze(function Er(ye){return ye&&ai(ye.canActivateChild)}(bn)?bn.canActivateChild(He,ye):Zi.runInContext(()=>bn(He,ye))).pipe((0,ie.P)())});return(0,T.of)(bi).pipe(on())}));return(0,T.of)(zt).pipe(on())}(ye,ft.path,me),function Gs(ye,Fe,me){const He=Fe.routeConfig?Fe.routeConfig.canActivate:null;if(!He||0===He.length)return(0,T.of)(!0);const ft=He.map(zt=>(0,d.P)(()=>{const ni=Ra(Fe)??me,bi=ur(zt,ni);return ze(function gr(ye){return ye&&ai(ye.canActivate)}(bi)?bi.canActivate(Fe,ye):ni.runInContext(()=>bi(Fe,ye))).pipe((0,ie.P)())}));return(0,T.of)(ft).pipe(on())}(ye,ft.route,me))),(0,ie.P)(ft=>!0!==ft,!0))}(He,zt,ye,Fe):(0,T.of)(bi)),(0,Y.U)(bi=>({...me,guardsResult:bi})))})}(this.environmentInjector,_i=>this.events.next(_i)),(0,te.b)(_i=>{if(zt.guardsResult=_i.guardsResult,Zt(_i.guardsResult))throw yn(0,_i.guardsResult);const Zi=new Jt(_i.id,this.urlSerializer.serialize(_i.extractedUrl),this.urlSerializer.serialize(_i.urlAfterRedirects),_i.targetSnapshot,!!_i.guardsResult);this.events.next(Zi)}),(0,X.h)(_i=>!!_i.guardsResult||(this.cancelNavigationTransition(_i,"",3),!1)),Ca(_i=>{if(_i.guards.canActivateChecks.length)return(0,T.of)(_i).pipe((0,te.b)(Zi=>{const bn=new ui(Zi.id,this.urlSerializer.serialize(Zi.extractedUrl),this.urlSerializer.serialize(Zi.urlAfterRedirects),Zi.targetSnapshot);this.events.next(bn)}),(0,Q.w)(Zi=>{let bn=!1;return(0,T.of)(Zi).pipe(function ir(ye,Fe){return(0,pe.z)(me=>{const{targetSnapshot:He,guards:{canActivateChecks:ft}}=me;if(!ft.length)return(0,T.of)(me);let zt=0;return(0,g.D)(ft).pipe((0,de.b)(ni=>function qi(ye,Fe,me,He){const ft=ye.routeConfig,zt=ye._resolve;return void 0!==ft?.title&&!nr(ft)&&(zt[Ye]=ft.title),function Mr(ye,Fe,me,He){const ft=function Yr(ye){return[...Object.keys(ye),...Object.getOwnPropertySymbols(ye)]}(ye);if(0===ft.length)return(0,T.of)({});const zt={};return(0,g.D)(ft).pipe((0,pe.z)(ni=>function Yi(ye,Fe,me,He){const ft=Ra(Fe)??He,zt=ur(ye,ft);return ze(zt.resolve?zt.resolve(Fe,me):ft.runInContext(()=>zt(Fe,me)))}(ye[ni],Fe,me,He).pipe((0,ie.P)(),(0,te.b)(bi=>{zt[ni]=bi}))),l(1),(0,b.h)(zt),(0,ae.K)(ni=>Ft(ni)?I.E:(0,M._)(ni)))}(zt,ye,Fe,He).pipe((0,Y.U)(ni=>(ye._resolvedData=ni,ye.data=Nr(ye,me).resolve,ft&&nr(ft)&&(ye.data[Ye]=ft.title),null)))}(ni.route,He,ye,Fe)),(0,te.b)(()=>zt++),l(1),(0,pe.z)(ni=>zt===ft.length?(0,T.of)(me):I.E))})}(me.paramsInheritanceStrategy,this.environmentInjector),(0,te.b)({next:()=>bn=!0,complete:()=>{bn||this.cancelNavigationTransition(Zi,"",2)}}))}),(0,te.b)(Zi=>{const bn=new En(Zi.id,this.urlSerializer.serialize(Zi.extractedUrl),this.urlSerializer.serialize(Zi.urlAfterRedirects),Zi.targetSnapshot);this.events.next(bn)}))}),Ca(_i=>{const Zi=bn=>{const sr=[];bn.routeConfig?.loadComponent&&!bn.routeConfig._loadedComponent&&sr.push(this.configLoader.loadComponent(bn.routeConfig).pipe((0,te.b)(wn=>{bn.component=wn}),(0,Y.U)(()=>{})));for(const wn of bn.children)sr.push(...Zi(wn));return sr};return(0,C.a)(Zi(_i.targetSnapshot.root)).pipe((0,i.d)(),(0,J.q)(1))}),Ca(()=>this.afterPreactivation()),(0,Y.U)(_i=>{const Zi=function yr(ye,Fe,me){const He=_a(ye,Fe._root,me?me._root:void 0);return new _n(He,Fe)}(me.routeReuseStrategy,_i.targetSnapshot,_i.currentRouterState);return this.currentTransition=zt={..._i,targetRouterState:Zi},zt}),(0,te.b)(()=>{this.events.next(new Li)}),((ye,Fe,me,He)=>(0,Y.U)(ft=>(new ya(Fe,ft.targetRouterState,ft.currentRouterState,me,He).activate(ye),ft)))(this.rootContexts,me.routeReuseStrategy,_i=>this.events.next(_i),this.inputBindingEnabled),(0,J.q)(1),(0,te.b)({next:_i=>{ni=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new $t(_i.id,this.urlSerializer.serialize(_i.extractedUrl),this.urlSerializer.serialize(_i.urlAfterRedirects))),me.titleStrategy?.updateTitle(_i.targetRouterState.snapshot),_i.resolve(!0)},complete:()=>{ni=!0}}),(0,H.R)(this.transitionAbortSubject.pipe((0,te.b)(_i=>{throw _i}))),(0,n.x)(()=>{ni||bi||this.cancelNavigationTransition(zt,"",1),this.currentNavigation?.id===zt.id&&(this.currentNavigation=null)}),(0,ae.K)(_i=>{if(bi=!0,Ia(_i))this.events.next(new Hi(zt.id,this.urlSerializer.serialize(zt.extractedUrl),_i.message,_i.cancellationCode)),function Lr(ye){return Ia(ye)&&Zt(ye.url)}(_i)?this.events.next(new Gt(_i.url)):zt.resolve(!1);else{this.events.next(new We(zt.id,this.urlSerializer.serialize(zt.extractedUrl),_i,zt.targetSnapshot??void 0));try{zt.resolve(me.errorHandler(_i))}catch(Zi){zt.reject(Zi)}}return I.E}))}))}cancelNavigationTransition(me,He,ft){const zt=new Hi(me.id,this.urlSerializer.serialize(me.extractedUrl),He,ft);this.events.next(zt),me.resolve(!1)}static#e=this.\u0275fac=function(He){return new(He||ye)};static#t=this.\u0275prov=e.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();function ii(ye){return ye!==nn}let Me=(()=>{class ye{buildTitle(me){let He,ft=me.root;for(;void 0!==ft;)He=this.getResolvedTitleForRoute(ft)??He,ft=ft.children.find(zt=>zt.outlet===se);return He}getResolvedTitleForRoute(me){return me.data[Ye]}static#e=this.\u0275fac=function(He){return new(He||ye)};static#t=this.\u0275prov=e.Yz7({token:ye,factory:function(){return(0,e.f3M)(dt)},providedIn:"root"})}return ye})(),dt=(()=>{class ye extends Me{constructor(me){super(),this.title=me}updateTitle(me){const He=this.buildTitle(me);void 0!==He&&this.title.setTitle(He)}static#e=this.\u0275fac=function(He){return new(He||ye)(e.LFG(K.Dx))};static#t=this.\u0275prov=e.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),_t=(()=>{class ye{static#e=this.\u0275fac=function(He){return new(He||ye)};static#t=this.\u0275prov=e.Yz7({token:ye,factory:function(){return(0,e.f3M)(Xt)},providedIn:"root"})}return ye})();class Ht{shouldDetach(Fe){return!1}store(Fe,me){}shouldAttach(Fe){return!1}retrieve(Fe){return null}shouldReuseRoute(Fe,me){return Fe.routeConfig===me.routeConfig}}let Xt=(()=>{class ye extends Ht{static#e=this.\u0275fac=function(){let me;return function(ft){return(me||(me=e.n5z(ye)))(ft||ye)}}();static#t=this.\u0275prov=e.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();const ci=new e.OlP("",{providedIn:"root",factory:()=>({})});let di=(()=>{class ye{static#e=this.\u0275fac=function(He){return new(He||ye)};static#t=this.\u0275prov=e.Yz7({token:ye,factory:function(){return(0,e.f3M)(Ti)},providedIn:"root"})}return ye})(),Ti=(()=>{class ye{shouldProcessUrl(me){return!0}extract(me){return me}merge(me,He){return me}static#e=this.\u0275fac=function(He){return new(He||ye)};static#t=this.\u0275prov=e.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();var Ii=function(ye){return ye[ye.COMPLETE=0]="COMPLETE",ye[ye.FAILED=1]="FAILED",ye[ye.REDIRECTING=2]="REDIRECTING",ye}(Ii||{});function Ji(ye,Fe){ye.events.pipe((0,X.h)(me=>me instanceof $t||me instanceof Hi||me instanceof We||me instanceof Ee),(0,Y.U)(me=>me instanceof $t||me instanceof Ee?Ii.COMPLETE:me instanceof Hi&&(0===me.code||1===me.code)?Ii.REDIRECTING:Ii.FAILED),(0,X.h)(me=>me!==Ii.REDIRECTING),(0,J.q)(1)).subscribe(()=>{Fe()})}function Xi(ye){throw ye}function ln(ye,Fe,me){return Fe.parse("/")}const An={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Zn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Mn=(()=>{class ye{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,e.f3M)(e.c2e),this.isNgZoneEnabled=!1,this._events=new R.x,this.options=(0,e.f3M)(ci,{optional:!0})||{},this.pendingTasks=(0,e.f3M)(e.HDt),this.errorHandler=this.options.errorHandler||Xi,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ln,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,e.f3M)(di),this.routeReuseStrategy=(0,e.f3M)(_t),this.titleStrategy=(0,e.f3M)(Me),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=(0,e.f3M)(so,{optional:!0})?.flat()??[],this.navigationTransitions=(0,e.f3M)(ht),this.urlSerializer=(0,e.f3M)(ke),this.location=(0,e.f3M)(W.Ye),this.componentInputBindingEnabled=!!(0,e.f3M)(er,{optional:!0}),this.eventsSubscription=new F.w0,this.isNgZoneEnabled=(0,e.f3M)(e.R0b)instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ve,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Cn(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(me=>{this.lastSuccessfulId=me.id,this.currentPageId=this.browserPageId},me=>{this.console.warn(`Unhandled Navigation Error: ${me}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const me=this.navigationTransitions.events.subscribe(He=>{try{const{currentTransition:ft}=this.navigationTransitions;if(null===ft)return void(fr(He)&&this._events.next(He));if(He instanceof Qi)ii(ft.source)&&(this.browserUrlTree=ft.extractedUrl);else if(He instanceof Ee)this.rawUrlTree=ft.rawUrl;else if(He instanceof rt){if("eager"===this.urlUpdateStrategy){if(!ft.extras.skipLocationChange){const zt=this.urlHandlingStrategy.merge(ft.urlAfterRedirects,ft.rawUrl);this.setBrowserUrl(zt,ft)}this.browserUrlTree=ft.urlAfterRedirects}}else if(He instanceof Li)this.currentUrlTree=ft.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ft.urlAfterRedirects,ft.rawUrl),this.routerState=ft.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ft.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ft),this.browserUrlTree=ft.urlAfterRedirects);else if(He instanceof Hi)0!==He.code&&1!==He.code&&(this.navigated=!0),(3===He.code||2===He.code)&&this.restoreHistory(ft);else if(He instanceof Gt){const zt=this.urlHandlingStrategy.merge(He.url,ft.currentRawUrl),ni={skipLocationChange:ft.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ii(ft.source)};this.scheduleNavigation(zt,nn,null,ni,{resolve:ft.resolve,reject:ft.reject,promise:ft.promise})}He instanceof We&&this.restoreHistory(ft,!0),He instanceof $t&&(this.navigated=!0),fr(He)&&this._events.next(He)}catch(ft){this.navigationTransitions.transitionAbortSubject.next(ft)}});this.eventsSubscription.add(me)}resetRootComponentType(me){this.routerState.root.component=me,this.navigationTransitions.rootComponentType=me}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const me=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),nn,me)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(me=>{const He="popstate"===me.type?"popstate":"hashchange";"popstate"===He&&setTimeout(()=>{this.navigateToSyncWithBrowser(me.url,He,me.state)},0)}))}navigateToSyncWithBrowser(me,He,ft){const zt={replaceUrl:!0},ni=ft?.navigationId?ft:null;if(ft){const _i={...ft};delete _i.navigationId,delete _i.\u0275routerPageId,0!==Object.keys(_i).length&&(zt.state=_i)}const bi=this.parseUrl(me);this.scheduleNavigation(bi,He,ni,zt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(me){this.config=me.map(Dn),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,this.eventsSubscription.unsubscribe()}createUrlTree(me,He={}){const{relativeTo:ft,queryParams:zt,fragment:ni,queryParamsHandling:bi,preserveFragment:_i}=He,Zi=_i?this.currentUrlTree.fragment:ni;let sr,bn=null;switch(bi){case"merge":bn={...this.currentUrlTree.queryParams,...zt};break;case"preserve":bn=this.currentUrlTree.queryParams;break;default:bn=zt||null}null!==bn&&(bn=this.removeEmptyProps(bn));try{sr=Xe(ft?ft.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof me[0]||!me[0].startsWith("/"))&&(me=[]),sr=this.currentUrlTree.root}return Bt(sr,me,bn,Zi??null)}navigateByUrl(me,He={skipLocationChange:!1}){const ft=Zt(me)?me:this.parseUrl(me),zt=this.urlHandlingStrategy.merge(ft,this.rawUrlTree);return this.scheduleNavigation(zt,nn,null,He)}navigate(me,He={skipLocationChange:!1}){return function jr(ye){for(let Fe=0;Fe<ye.length;Fe++)if(null==ye[Fe])throw new e.vHH(4008,!1)}(me),this.navigateByUrl(this.createUrlTree(me,He),He)}serializeUrl(me){return this.urlSerializer.serialize(me)}parseUrl(me){let He;try{He=this.urlSerializer.parse(me)}catch(ft){He=this.malformedUriErrorHandler(ft,this.urlSerializer,me)}return He}isActive(me,He){let ft;if(ft=!0===He?{...An}:!1===He?{...Zn}:He,Zt(me))return ge(this.currentUrlTree,me,ft);const zt=this.parseUrl(me);return ge(this.currentUrlTree,zt,ft)}removeEmptyProps(me){return Object.keys(me).reduce((He,ft)=>{const zt=me[ft];return null!=zt&&(He[ft]=zt),He},{})}scheduleNavigation(me,He,ft,zt,ni){if(this.disposed)return Promise.resolve(!1);let bi,_i,Zi;ni?(bi=ni.resolve,_i=ni.reject,Zi=ni.promise):Zi=new Promise((sr,wn)=>{bi=sr,_i=wn});const bn=this.pendingTasks.add();return Ji(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(bn))}),this.navigationTransitions.handleNavigationRequest({source:He,restoredState:ft,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:me,extras:zt,resolve:bi,reject:_i,promise:Zi,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Zi.catch(sr=>Promise.reject(sr))}setBrowserUrl(me,He){const ft=this.urlSerializer.serialize(me);if(this.location.isCurrentPathEqualTo(ft)||He.extras.replaceUrl){const ni={...He.extras.state,...this.generateNgRouterState(He.id,this.browserPageId)};this.location.replaceState(ft,"",ni)}else{const zt={...He.extras.state,...this.generateNgRouterState(He.id,this.browserPageId+1)};this.location.go(ft,"",zt)}}restoreHistory(me,He=!1){if("computed"===this.canceledNavigationResolution){const zt=this.currentPageId-this.browserPageId;0!==zt?this.location.historyGo(zt):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===zt&&(this.resetState(me),this.browserUrlTree=me.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(He&&this.resetState(me),this.resetUrlToCurrentUrlTree())}resetState(me){this.routerState=me.currentRouterState,this.currentUrlTree=me.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,me.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(me,He){return"computed"===this.canceledNavigationResolution?{navigationId:me,\u0275routerPageId:He}:{navigationId:me}}static#e=this.\u0275fac=function(He){return new(He||ye)};static#t=this.\u0275prov=e.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();function fr(ye){return!(ye instanceof Li||ye instanceof Gt)}let Bn=(()=>{class ye{constructor(me,He,ft,zt,ni,bi){this.router=me,this.route=He,this.tabIndexAttribute=ft,this.renderer=zt,this.el=ni,this.locationStrategy=bi,this.href=null,this.commands=null,this.onChanges=new R.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const _i=ni.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===_i||"area"===_i,this.isAnchorElement?this.subscription=me.events.subscribe(Zi=>{Zi instanceof $t&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(me){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",me)}ngOnChanges(me){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(me){null!=me?(this.commands=Array.isArray(me)?me:[me],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(me,He,ft,zt,ni){return!!(null===this.urlTree||this.isAnchorElement&&(0!==me||He||ft||zt||ni||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const me=null===this.href?null:(0,e.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",me)}applyAttributeValue(me,He){const ft=this.renderer,zt=this.el.nativeElement;null!==He?ft.setAttribute(zt,me,He):ft.removeAttribute(zt,me)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(He){return new(He||ye)(e.Y36(Mn),e.Y36(br),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(W.S$))};static#t=this.\u0275dir=e.lG2({type:ye,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(He,ft){1&He&&e.NdJ("click",function(ni){return ft.onClick(ni.button,ni.ctrlKey,ni.shiftKey,ni.altKey,ni.metaKey)}),2&He&&e.uIk("target",ft.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",e.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",e.VuI],replaceUrl:["replaceUrl","replaceUrl",e.VuI],routerLink:"routerLink"},standalone:!0,features:[e.Xq5,e.TTD]})}return ye})(),na=(()=>{class ye{get isActive(){return this._isActive}constructor(me,He,ft,zt,ni){this.router=me,this.element=He,this.renderer=ft,this.cdr=zt,this.link=ni,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.vpe,this.routerEventsSubscription=me.events.subscribe(bi=>{bi instanceof $t&&this.update()})}ngAfterContentInit(){(0,T.of)(this.links.changes,(0,T.of)(null)).pipe((0,V.J)()).subscribe(me=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const me=[...this.links.toArray(),this.link].filter(He=>!!He).map(He=>He.onChanges);this.linkInputChangesSubscription=(0,g.D)(me).pipe((0,V.J)()).subscribe(He=>{this._isActive!==this.isLinkActive(this.router)(He)&&this.update()})}set routerLinkActive(me){const He=Array.isArray(me)?me:me.split(" ");this.classes=He.filter(ft=>!!ft)}ngOnChanges(me){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const me=this.hasActiveLinks();this._isActive!==me&&(this._isActive=me,this.cdr.markForCheck(),this.classes.forEach(He=>{me?this.renderer.addClass(this.element.nativeElement,He):this.renderer.removeClass(this.element.nativeElement,He)}),me&&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(me))})}isLinkActive(me){const He=function ua(ye){return!!ye.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ft=>!!ft.urlTree&&me.isActive(ft.urlTree,He)}hasActiveLinks(){const me=this.isLinkActive(this.router);return this.link&&me(this.link)||this.links.some(me)}static#e=this.\u0275fac=function(He){return new(He||ye)(e.Y36(Mn),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(Bn,8))};static#t=this.\u0275dir=e.lG2({type:ye,selectors:[["","routerLinkActive",""]],contentQueries:function(He,ft,zt){if(1&He&&e.Suo(zt,Bn,5),2&He){let ni;e.iGM(ni=e.CRH())&&(ft.links=ni)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.TTD]})}return ye})();class Ir{}let lo=(()=>{class ye{constructor(me,He,ft,zt,ni){this.router=me,this.injector=ft,this.preloadingStrategy=zt,this.loader=ni}setUpPreloading(){this.subscription=this.router.events.pipe((0,X.h)(me=>me instanceof $t),(0,de.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(me,He){const ft=[];for(const zt of He){zt.providers&&!zt._injector&&(zt._injector=(0,e.MMx)(zt.providers,me,`Route: ${zt.path}`));const ni=zt._injector??me,bi=zt._loadedInjector??ni;(zt.loadChildren&&!zt._loadedRoutes&&void 0===zt.canLoad||zt.loadComponent&&!zt._loadedComponent)&&ft.push(this.preloadConfig(ni,zt)),(zt.children||zt._loadedRoutes)&&ft.push(this.processRoutes(bi,zt.children??zt._loadedRoutes))}return(0,g.D)(ft).pipe((0,V.J)())}preloadConfig(me,He){return this.preloadingStrategy.preload(He,()=>{let ft;ft=He.loadChildren&&void 0===He.canLoad?this.loader.loadChildren(me,He):(0,T.of)(null);const zt=ft.pipe((0,pe.z)(ni=>null===ni?(0,T.of)(void 0):(He._loadedRoutes=ni.routes,He._loadedInjector=ni.injector,this.processRoutes(ni.injector??me,ni.routes))));if(He.loadComponent&&!He._loadedComponent){const ni=this.loader.loadComponent(He);return(0,g.D)([zt,ni]).pipe((0,V.J)())}return zt})}static#e=this.\u0275fac=function(He){return new(He||ye)(e.LFG(Mn),e.LFG(e.Sil),e.LFG(e.lqb),e.LFG(Ir),e.LFG(Ys))};static#t=this.\u0275prov=e.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();const wa=new e.OlP("");let go=(()=>{class ye{constructor(me,He,ft,zt,ni={}){this.urlSerializer=me,this.transitions=He,this.viewportScroller=ft,this.zone=zt,this.options=ni,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},ni.scrollPositionRestoration=ni.scrollPositionRestoration||"disabled",ni.anchorScrolling=ni.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(me=>{me instanceof Qi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=me.navigationTrigger,this.restoredId=me.restoredState?me.restoredState.navigationId:0):me instanceof $t?(this.lastId=me.id,this.scheduleScrollEvent(me,this.urlSerializer.parse(me.urlAfterRedirects).fragment)):me instanceof Ee&&0===me.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(me,this.urlSerializer.parse(me.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(me=>{me instanceof sa&&(me.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(me.position):me.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(me.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(me,He){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new sa(me,"popstate"===this.lastSource?this.store[this.restoredId]:null,He))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(He){e.$Z()};static#t=this.\u0275prov=e.Yz7({token:ye,factory:ye.\u0275fac})}return ye})();function Ba(ye,Fe){return{\u0275kind:ye,\u0275providers:Fe}}function ll(){const ye=(0,e.f3M)(e.zs3);return Fe=>{const me=ye.get(e.z2F);if(Fe!==me.components[0])return;const He=ye.get(Mn),ft=ye.get(Ic);1===ye.get(kn)&&He.initialNavigation(),ye.get(Zo,null,e.XFs.Optional)?.setUpPreloading(),ye.get(wa,null,e.XFs.Optional)?.init(),He.resetRootComponentType(me.componentTypes[0]),ft.closed||(ft.next(),ft.complete(),ft.unsubscribe())}}const Ic=new e.OlP("",{factory:()=>new R.x}),kn=new e.OlP("",{providedIn:"root",factory:()=>1}),Zo=new e.OlP("");function Zl(ye){return Ba(0,[{provide:Zo,useExisting:lo},{provide:Ir,useExisting:ye}])}const Ks=new e.OlP("ROUTER_FORROOT_GUARD"),f2=[W.Ye,{provide:ke,useClass:ot},Mn,wi,{provide:br,useFactory:function Vl(ye){return ye.routerState.root},deps:[Mn]},Ys,[]];function Vi(){return new e.PXZ("Router",Mn)}let dr=(()=>{class ye{constructor(me){}static forRoot(me,He){return{ngModule:ye,providers:[f2,[],{provide:so,multi:!0,useValue:me},{provide:Ks,useFactory:jl,deps:[[Mn,new e.FiY,new e.tp0]]},{provide:ci,useValue:He||{}},He?.useHash?{provide:W.S$,useClass:W.Do}:{provide:W.S$,useClass:W.b0},{provide:wa,useFactory:()=>{const ye=(0,e.f3M)(W.EM),Fe=(0,e.f3M)(e.R0b),me=(0,e.f3M)(ci),He=(0,e.f3M)(ht),ft=(0,e.f3M)(ke);return me.scrollOffset&&ye.setOffset(me.scrollOffset),new go(ft,He,ye,Fe,me)}},He?.preloadingStrategy?Zl(He.preloadingStrategy).\u0275providers:[],{provide:e.PXZ,multi:!0,useFactory:Vi},He?.initialNavigation?Qs(He):[],He?.bindToComponentInputs?Ba(8,[Wa,{provide:er,useExisting:Wa}]).\u0275providers:[],[{provide:_o,useFactory:ll},{provide:e.tb,multi:!0,useExisting:_o}]]}}static forChild(me){return{ngModule:ye,providers:[{provide:so,multi:!0,useValue:me}]}}static#e=this.\u0275fac=function(He){return new(He||ye)(e.LFG(Ks,8))};static#t=this.\u0275mod=e.oAB({type:ye});static#i=this.\u0275inj=e.cJS({})}return ye})();function jl(ye){return"guarded"}function Qs(ye){return["disabled"===ye.initialNavigation?Ba(3,[{provide:e.ip1,multi:!0,useFactory:()=>{const Fe=(0,e.f3M)(Mn);return()=>{Fe.setUpLocationChangeListener()}}},{provide:kn,useValue:2}]).\u0275providers:[],"enabledBlocking"===ye.initialNavigation?Ba(2,[{provide:kn,useValue:0},{provide:e.ip1,multi:!0,deps:[e.zs3],useFactory:Fe=>{const me=Fe.get(W.V_,Promise.resolve());return()=>me.then(()=>new Promise(He=>{const ft=Fe.get(Mn),zt=Fe.get(Ic);Ji(ft,()=>{He(!0)}),Fe.get(ht).afterPreactivation=()=>(He(!0),zt.closed?(0,T.of)(void 0):zt),ft.initialNavigation()}))}}]).\u0275providers:[]]}const _o=new e.OlP("")},5597:(Ue,q,p)=>{"use strict";p.d(q,{BN:()=>so,uH:()=>ii});var e=p(5879);function t(Me,dt){var _t=Object.keys(Me);if(Object.getOwnPropertySymbols){var Ht=Object.getOwnPropertySymbols(Me);dt&&(Ht=Ht.filter(function(Xt){return Object.getOwnPropertyDescriptor(Me,Xt).enumerable})),_t.push.apply(_t,Ht)}return _t}function g(Me){for(var dt=1;dt<arguments.length;dt++){var _t=null!=arguments[dt]?arguments[dt]:{};dt%2?t(Object(_t),!0).forEach(function(Ht){d(Me,Ht,_t[Ht])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(_t)):t(Object(_t)).forEach(function(Ht){Object.defineProperty(Me,Ht,Object.getOwnPropertyDescriptor(_t,Ht))})}return Me}function T(Me){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(dt){return typeof dt}:function(dt){return dt&&"function"==typeof Symbol&&dt.constructor===Symbol&&dt!==Symbol.prototype?"symbol":typeof dt})(Me)}function u(Me,dt){for(var _t=0;_t<dt.length;_t++){var Ht=dt[_t];Ht.enumerable=Ht.enumerable||!1,Ht.configurable=!0,"value"in Ht&&(Ht.writable=!0),Object.defineProperty(Me,Ht.key,Ht)}}function d(Me,dt,_t){return dt in Me?Object.defineProperty(Me,dt,{value:_t,enumerable:!0,configurable:!0,writable:!0}):Me[dt]=_t,Me}function I(Me,dt){return function F(Me){if(Array.isArray(Me))return Me}(Me)||function Y(Me,dt){var _t=null==Me?null:typeof Symbol<"u"&&Me[Symbol.iterator]||Me["@@iterator"];if(null!=_t){var di,Ti,Ht=[],Xt=!0,ci=!1;try{for(_t=_t.call(Me);!(Xt=(di=_t.next()).done)&&(Ht.push(di.value),!dt||Ht.length!==dt);Xt=!0);}catch(Ii){ci=!0,Ti=Ii}finally{try{!Xt&&null!=_t.return&&_t.return()}finally{if(ci)throw Ti}}return Ht}}(Me,dt)||Q(Me,dt)||function X(){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 D(Me){return function R(Me){if(Array.isArray(Me))return J(Me)}(Me)||function W(Me){if(typeof Symbol<"u"&&null!=Me[Symbol.iterator]||null!=Me["@@iterator"])return Array.from(Me)}(Me)||Q(Me)||function ne(){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(Me,dt){if(Me){if("string"==typeof Me)return J(Me,dt);var _t=Object.prototype.toString.call(Me).slice(8,-1);if("Object"===_t&&Me.constructor&&(_t=Me.constructor.name),"Map"===_t||"Set"===_t)return Array.from(Me);if("Arguments"===_t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_t))return J(Me,dt)}}function J(Me,dt){(null==dt||dt>Me.length)&&(dt=Me.length);for(var _t=0,Ht=new Array(dt);_t<dt;_t++)Ht[_t]=Me[_t];return Ht}var pe=function(){},ie={},de={},te=null,ae={mark:pe,measure:pe};try{typeof window<"u"&&(ie=window),typeof document<"u"&&(de=document),typeof MutationObserver<"u"&&(te=MutationObserver),typeof performance<"u"&&(ae=performance)}catch{}var _,H,V,K,se,i=(ie.navigator||{}).userAgent,o=void 0===i?"":i,m=ie,l=de,y=te,L=ae,b=!!l.documentElement&&!!l.head&&"function"==typeof l.addEventListener&&"function"==typeof l.createElement,n=~o.indexOf("MSIE")||~o.indexOf("Trident/"),Ye="___FONT_AWESOME___",Qe="fa",be="svg-inline--fa",ue="data-fa-i2svg",xe="data-fa-pseudo-element",Pe="data-fa-pseudo-element-pending",oe="data-prefix",ze="data-icon",we="fontawesome-i2svg",le="async",ge=["HTML","HEAD","STYLE","SCRIPT"],fe=function(){try{return!0}catch{return!1}}(),Ge="classic",Le="sharp",Ne=[Ge,Le];function Ve(Me){return new Proxy(Me,{get:function(_t,Ht){return Ht in _t?_t[Ht]:_t[Ge]}})}var at=Ve((d(_={},Ge,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),d(_,Le,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),_)),ve=Ve((d(H={},Ge,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),d(H,Le,{solid:"fass",regular:"fasr",light:"fasl"}),H)),De=Ve((d(V={},Ge,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),d(V,Le,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),V)),xt=Ve((d(K={},Ge,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),d(K,Le,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),K)),ct=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,et="fa-layers-text",Ct=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,ke=Ve((d(se={},Ge,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),d(se,Le,{900:"fass",400:"fasr",300:"fasl"}),se)),ot=[1,2,3,4,5,6,7,8,9,10],Je=ot.concat([11,12,13,14,15,16,17,18,19,20]),re=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Be={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Nt=new Set;Object.keys(ve[Ge]).map(Nt.add.bind(Nt)),Object.keys(ve[Le]).map(Nt.add.bind(Nt));var Ke=[].concat(Ne,D(Nt),["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",Be.GROUP,Be.SWAP_OPACITY,Be.PRIMARY,Be.SECONDARY]).concat(ot.map(function(Me){return"".concat(Me,"x")})).concat(Je.map(function(Me){return"w-".concat(Me)})),yt=m.FontAwesomeConfig||{};l&&"function"==typeof l.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(Me){var dt=I(Me,2),Ht=dt[1],Xt=function Dt(Me){return""===Me||"false"!==Me&&("true"===Me||Me)}(function kt(Me){var dt=l.querySelector("script["+Me+"]");if(dt)return dt.getAttribute(Me)}(dt[0]));null!=Xt&&(yt[Ht]=Xt)});var pt={styleDefault:"solid",familyDefault:"classic",cssPrefix:Qe,replacementClass:be,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};yt.familyPrefix&&(yt.cssPrefix=yt.familyPrefix);var vt=g(g({},pt),yt);vt.autoReplaceSvg||(vt.observeMutations=!1);var Te={};Object.keys(pt).forEach(function(Me){Object.defineProperty(Te,Me,{enumerable:!0,set:function(_t){vt[Me]=_t,tt.forEach(function(Ht){return Ht(Te)})},get:function(){return vt[Me]}})}),Object.defineProperty(Te,"familyPrefix",{enumerable:!0,set:function(dt){vt.cssPrefix=dt,tt.forEach(function(_t){return _t(Te)})},get:function(){return vt.cssPrefix}}),m.FontAwesomeConfig=Te;var tt=[],oi={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},mt="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function he(){for(var Me=12,dt="";Me-- >0;)dt+=mt[62*Math.random()|0];return dt}function ee(Me){for(var dt=[],_t=(Me||[]).length>>>0;_t--;)dt[_t]=Me[_t];return dt}function Ce(Me){return Me.classList?ee(Me.classList):(Me.getAttribute("class")||"").split(" ").filter(function(dt){return dt})}function At(Me){return"".concat(Me).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function jt(Me){return Object.keys(Me||{}).reduce(function(dt,_t){return dt+"".concat(_t,": ").concat(Me[_t].trim(),";")},"")}function Zt(Me){return Me.size!==oi.size||Me.x!==oi.x||Me.y!==oi.y||Me.rotate!==oi.rotate||Me.flipX||Me.flipY}var Bt=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function qe(){var Me=Qe,dt=be,_t=Te.cssPrefix,Ht=Te.replacementClass,Xt=Bt;if(_t!==Me||Ht!==dt){var ci=new RegExp("\\.".concat(Me,"\\-"),"g"),di=new RegExp("\\--".concat(Me,"\\-"),"g"),Ti=new RegExp("\\.".concat(dt),"g");Xt=Xt.replace(ci,".".concat(_t,"-")).replace(di,"--".concat(_t,"-")).replace(Ti,".".concat(Ht))}return Xt}var nt=!1;function Wt(){Te.autoAddCss&&!nt&&(function Tt(Me){if(Me&&b){var dt=l.createElement("style");dt.setAttribute("type","text/css"),dt.innerHTML=Me;for(var _t=l.head.childNodes,Ht=null,Xt=_t.length-1;Xt>-1;Xt--){var ci=_t[Xt],di=(ci.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(di)>-1&&(Ht=ci)}l.head.insertBefore(dt,Ht)}}(qe()),nt=!0)}var si={mixout:function(){return{dom:{css:qe,insertCss:Wt}}},hooks:function(){return{beforeDOMElementCreation:function(){Wt()},beforeI2svg:function(){Wt()}}}},li=m||{};li[Ye]||(li[Ye]={}),li[Ye].styles||(li[Ye].styles={}),li[Ye].hooks||(li[Ye].hooks={}),li[Ye].shims||(li[Ye].shims=[]);var xi=li[Ye],Ut=[],$e=!1;function Et(Me){var dt=Me.tag,_t=Me.attributes,Ht=void 0===_t?{}:_t,Xt=Me.children,ci=void 0===Xt?[]:Xt;return"string"==typeof Me?At(Me):"<".concat(dt," ").concat(function Lt(Me){return Object.keys(Me||{}).reduce(function(dt,_t){return dt+"".concat(_t,'="').concat(At(Me[_t]),'" ')},"").trim()}(Ht),">").concat(ci.map(Et).join(""),"</").concat(dt,">")}function qt(Me,dt,_t){if(Me&&Me[dt]&&Me[dt][_t])return{prefix:dt,iconName:_t,icon:Me[dt][_t]}}b&&(($e=(l.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(l.readyState))||l.addEventListener("DOMContentLoaded",function Me(){l.removeEventListener("DOMContentLoaded",Me),$e=1,Ut.map(function(dt){return dt()})}));var Si=function(dt,_t,Ht,Xt){var Ii,Ji,Xi,ci=Object.keys(dt),di=ci.length,Ti=void 0!==Xt?function(dt,_t){return function(Ht,Xt,ci,di){return dt.call(_t,Ht,Xt,ci,di)}}(_t,Xt):_t;for(void 0===Ht?(Ii=1,Xi=dt[ci[0]]):(Ii=0,Xi=Ht);Ii<di;Ii++)Xi=Ti(Xi,dt[Ji=ci[Ii]],Ji,dt);return Xi};function Ri(Me){var dt=function Fi(Me){for(var dt=[],_t=0,Ht=Me.length;_t<Ht;){var Xt=Me.charCodeAt(_t++);if(Xt>=55296&&Xt<=56319&&_t<Ht){var ci=Me.charCodeAt(_t++);56320==(64512&ci)?dt.push(((1023&Xt)<<10)+(1023&ci)+65536):(dt.push(Xt),_t--)}else dt.push(Xt)}return dt}(Me);return 1===dt.length?dt[0].toString(16):null}function nn(Me){return Object.keys(Me).reduce(function(dt,_t){var Ht=Me[_t];return Ht.icon?dt[Ht.iconName]=Ht.icon:dt[_t]=Ht,dt},{})}function cn(Me,dt){var Ht=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,Xt=void 0!==Ht&&Ht,ci=nn(dt);"function"!=typeof xi.hooks.addPack||Xt?xi.styles[Me]=g(g({},xi.styles[Me]||{}),ci):xi.hooks.addPack(Me,nn(dt)),"fas"===Me&&cn("fa",dt)}var $t,Hi,Ee,We=xi.styles,rt=xi.shims,st=(d($t={},Ge,Object.values(De[Ge])),d($t,Le,Object.values(De[Le])),$t),Jt=null,ui={},En={},Hn={},Ar={},vr={},La=(d(Hi={},Ge,Object.keys(at[Ge])),d(Hi,Le,Object.keys(at[Le])),Hi);var sa=function(){var dt=function(ci){return Si(We,function(di,Ti,Ii){return di[Ii]=Si(Ti,ci,{}),di},{})};ui=dt(function(Xt,ci,di){return ci[3]&&(Xt[ci[3]]=di),ci[2]&&ci[2].filter(function(Ii){return"number"==typeof Ii}).forEach(function(Ii){Xt[Ii.toString(16)]=di}),Xt}),En=dt(function(Xt,ci,di){return Xt[di]=di,ci[2]&&ci[2].filter(function(Ii){return"string"==typeof Ii}).forEach(function(Ii){Xt[Ii]=di}),Xt}),vr=dt(function(Xt,ci,di){var Ti=ci[2];return Xt[di]=di,Ti.forEach(function(Ii){Xt[Ii]=di}),Xt});var _t="far"in We||Te.autoFetchSvg,Ht=Si(rt,function(Xt,ci){var di=ci[0],Ti=ci[1],Ii=ci[2];return"far"===Ti&&!_t&&(Ti="fas"),"string"==typeof di&&(Xt.names[di]={prefix:Ti,iconName:Ii}),"number"==typeof di&&(Xt.unicodes[di.toString(16)]={prefix:Ti,iconName:Ii}),Xt},{names:{},unicodes:{}});Hn=Ht.names,Ar=Ht.unicodes,Jt=Tn(Te.styleDefault,{family:Te.familyDefault})};function Li(Me,dt){return(ui[Me]||{})[dt]}function yi(Me,dt){return(vr[Me]||{})[dt]}function gi(Me){return Hn[Me]||{prefix:null,iconName:null}}function Ni(){return Jt}(function Ze(Me){tt.push(Me)})(function(Me){Jt=Tn(Me.styleDefault,{family:Te.familyDefault})}),sa();var Wi=function(){return{prefix:null,iconName:null,rest:[]}};function Tn(Me){var _t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,Ht=void 0===_t?Ge:_t;return ve[Ht][Me]||ve[Ht][at[Ht][Me]]||(Me in xi.styles?Me:null)||null}var Fn=(d(Ee={},Ge,Object.keys(De[Ge])),d(Ee,Le,Object.keys(De[Le])),Ee);function Yn(Me){var dt,Ht=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,Xt=void 0!==Ht&&Ht,ci=(d(dt={},Ge,"".concat(Te.cssPrefix,"-").concat(Ge)),d(dt,Le,"".concat(Te.cssPrefix,"-").concat(Le)),dt),di=null,Ti=Ge;(Me.includes(ci[Ge])||Me.some(function(Ji){return Fn[Ge].includes(Ji)}))&&(Ti=Ge),(Me.includes(ci[Le])||Me.some(function(Ji){return Fn[Le].includes(Ji)}))&&(Ti=Le);var Ii=Me.reduce(function(Ji,Xi){var ln=function ga(Me,dt){var _t=dt.split("-"),Ht=_t[0],Xt=_t.slice(1).join("-");return Ht!==Me||""===Xt||function Ur(Me){return~Ke.indexOf(Me)}(Xt)?null:Xt}(Te.cssPrefix,Xi);if(We[Xi]?(Xi=st[Ti].includes(Xi)?xt[Ti][Xi]:Xi,di=Xi,Ji.prefix=Xi):La[Ti].indexOf(Xi)>-1?(di=Xi,Ji.prefix=Tn(Xi,{family:Ti})):ln?Ji.iconName=ln:Xi!==Te.replacementClass&&Xi!==ci[Ge]&&Xi!==ci[Le]&&Ji.rest.push(Xi),!Xt&&Ji.prefix&&Ji.iconName){var An="fa"===di?gi(Ji.iconName):{},Zn=yi(Ji.prefix,Ji.iconName);An.prefix&&(di=null),Ji.iconName=An.iconName||Zn||Ji.iconName,Ji.prefix=An.prefix||Ji.prefix,"far"===Ji.prefix&&!We.far&&We.fas&&!Te.autoFetchSvg&&(Ji.prefix="fas")}return Ji},Wi());return(Me.includes("fa-brands")||Me.includes("fab"))&&(Ii.prefix="fab"),(Me.includes("fa-duotone")||Me.includes("fad"))&&(Ii.prefix="fad"),!Ii.prefix&&Ti===Le&&(We.fass||Te.autoFetchSvg)&&(Ii.prefix="fass",Ii.iconName=yi(Ii.prefix,Ii.iconName)||Ii.iconName),("fa"===Ii.prefix||"fa"===di)&&(Ii.prefix=Ni()||"fas"),Ii}var _n=function(){function Me(){(function C(Me,dt){if(!(Me instanceof dt))throw new TypeError("Cannot call a class as a function")})(this,Me),this.definitions={}}return function P(Me,dt,_t){dt&&u(Me.prototype,dt),_t&&u(Me,_t),Object.defineProperty(Me,"prototype",{writable:!1})}(Me,[{key:"add",value:function(){for(var _t=this,Ht=arguments.length,Xt=new Array(Ht),ci=0;ci<Ht;ci++)Xt[ci]=arguments[ci];var di=Xt.reduce(this._pullDefinitions,{});Object.keys(di).forEach(function(Ti){_t.definitions[Ti]=g(g({},_t.definitions[Ti]||{}),di[Ti]),cn(Ti,di[Ti]);var Ii=De[Ge][Ti];Ii&&cn(Ii,di[Ti]),sa()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(_t,Ht){var Xt=Ht.prefix&&Ht.iconName&&Ht.icon?{0:Ht}:Ht;return Object.keys(Xt).map(function(ci){var di=Xt[ci],Ti=di.prefix,Ii=di.iconName,Ji=di.icon,Xi=Ji[2];_t[Ti]||(_t[Ti]={}),Xi.length>0&&Xi.forEach(function(ln){"string"==typeof ln&&(_t[Ti][ln]=Ji)}),_t[Ti][Ii]=Ji}),_t}}]),Me}(),Cn=[],Qn={},br={},Nr=Object.keys(br);function Ja(Me,dt){for(var _t=arguments.length,Ht=new Array(_t>2?_t-2:0),Xt=2;Xt<_t;Xt++)Ht[Xt-2]=arguments[Xt];return(Qn[Me]||[]).forEach(function(di){dt=di.apply(null,[dt].concat(Ht))}),dt}function Gr(Me){for(var dt=arguments.length,_t=new Array(dt>1?dt-1:0),Ht=1;Ht<dt;Ht++)_t[Ht-1]=arguments[Ht];(Qn[Me]||[]).forEach(function(ci){ci.apply(null,_t)})}function Dr(){var Me=arguments[0],dt=Array.prototype.slice.call(arguments,1);return br[Me]?br[Me].apply(null,dt):void 0}function Xa(Me){"fa"===Me.prefix&&(Me.prefix="fas");var dt=Me.iconName,_t=Me.prefix||Ni();if(dt)return dt=yi(_t,dt)||dt,qt(tr.definitions,_t,dt)||qt(xi.styles,_t,dt)}var tr=new _n,vn={i2svg:function(){var dt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return b?(Gr("beforeI2svg",dt),Dr("pseudoElements2svg",dt),Dr("i2svg",dt)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var dt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_t=dt.autoReplaceSvgRoot;!1===Te.autoReplaceSvg&&(Te.autoReplaceSvg=!0),Te.observeMutations=!0,function ut(Me){b&&($e?setTimeout(Me,0):Ut.push(Me))}(function(){Wa({autoReplaceSvgRoot:_t}),Gr("watch",dt)})}},er={noAuto:function(){Te.autoReplaceSvg=!1,Te.observeMutations=!1,Gr("noAuto")},config:Te,dom:vn,parse:{icon:function(dt){if(null===dt)return null;if("object"===T(dt)&&dt.prefix&&dt.iconName)return{prefix:dt.prefix,iconName:yi(dt.prefix,dt.iconName)||dt.iconName};if(Array.isArray(dt)&&2===dt.length){var _t=0===dt[1].indexOf("fa-")?dt[1].slice(3):dt[1],Ht=Tn(dt[0]);return{prefix:Ht,iconName:yi(Ht,_t)||_t}}if("string"==typeof dt&&(dt.indexOf("".concat(Te.cssPrefix,"-"))>-1||dt.match(ct))){var Xt=Yn(dt.split(" "),{skipLookups:!0});return{prefix:Xt.prefix||Ni(),iconName:yi(Xt.prefix,Xt.iconName)||Xt.iconName}}if("string"==typeof dt){var ci=Ni();return{prefix:ci,iconName:yi(ci,dt)||dt}}}},library:tr,findIconDefinition:Xa,toHtml:Et},Wa=function(){var _t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,Ht=void 0===_t?l:_t;(Object.keys(xi.styles).length>0||Te.autoFetchSvg)&&b&&Te.autoReplaceSvg&&er.dom.i2svg({node:Ht})};function yr(Me,dt){return Object.defineProperty(Me,"abstract",{get:dt}),Object.defineProperty(Me,"html",{get:function(){return Me.abstract.map(function(Ht){return Et(Ht)})}}),Object.defineProperty(Me,"node",{get:function(){if(b){var Ht=l.createElement("div");return Ht.innerHTML=Me.html,Ht.children}}}),Me}function Rr(Me){var dt=Me.icons,_t=dt.main,Ht=dt.mask,Xt=Me.prefix,ci=Me.iconName,di=Me.transform,Ti=Me.symbol,Ii=Me.title,Ji=Me.maskId,Xi=Me.titleId,ln=Me.extra,An=Me.watchable,Zn=void 0!==An&&An,Mn=Ht.found?Ht:_t,jr=Mn.width,fr=Mn.height,Bn="fak"===Xt,na=[Te.replacementClass,ci?"".concat(Te.cssPrefix,"-").concat(ci):""].filter(function(go){return-1===ln.classes.indexOf(go)}).filter(function(go){return""!==go||!!go}).concat(ln.classes).join(" "),ua={children:[],attributes:g(g({},ln.attributes),{},{"data-prefix":Xt,"data-icon":ci,class:na,role:ln.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(jr," ").concat(fr)})},Ir=Bn&&!~ln.classes.indexOf("fa-fw")?{width:"".concat(jr/fr*16*.0625,"em")}:{};Zn&&(ua.attributes[ue]=""),Ii&&(ua.children.push({tag:"title",attributes:{id:ua.attributes["aria-labelledby"]||"title-".concat(Xi||he())},children:[Ii]}),delete ua.attributes.title);var co=g(g({},ua),{},{prefix:Xt,iconName:ci,main:_t,mask:Ht,maskId:Ji,transform:di,symbol:Ti,styles:g(g({},Ir),ln.styles)}),Go=Ht.found&&_t.found?Dr("generateAbstractMask",co)||{children:[],attributes:{}}:Dr("generateAbstractIcon",co)||{children:[],attributes:{}},wa=Go.attributes;return co.children=Go.children,co.attributes=wa,Ti?function or(Me){var _t=Me.iconName,Ht=Me.children,Xt=Me.attributes,ci=Me.symbol,di=!0===ci?"".concat(Me.prefix,"-").concat(Te.cssPrefix,"-").concat(_t):ci;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:g(g({},Xt),{},{id:di}),children:Ht}]}]}(co):function _a(Me){var dt=Me.children,_t=Me.main,Ht=Me.mask,Xt=Me.attributes,ci=Me.styles,di=Me.transform;if(Zt(di)&&_t.found&&!Ht.found){var Ji={x:_t.width/_t.height/2,y:.5};Xt.style=jt(g(g({},ci),{},{"transform-origin":"".concat(Ji.x+di.x/16,"em ").concat(Ji.y+di.y/16,"em")}))}return[{tag:"svg",attributes:Xt,children:dt}]}(co)}function Sr(Me){var dt=Me.content,_t=Me.width,Ht=Me.height,Xt=Me.transform,ci=Me.title,di=Me.extra,Ti=Me.watchable,Ii=void 0!==Ti&&Ti,Ji=g(g(g({},di.attributes),ci?{title:ci}:{}),{},{class:di.classes.join(" ")});Ii&&(Ji[ue]="");var Xi=g({},di.styles);Zt(Xt)&&(Xi.transform=function Xe(Me){var dt=Me.transform,_t=Me.width,Xt=Me.height,ci=void 0===Xt?16:Xt,di=Me.startCentered,Ti=void 0!==di&&di,Ii="";return Ii+=Ti&&n?"translate(".concat(dt.x/16-(void 0===_t?16:_t)/2,"em, ").concat(dt.y/16-ci/2,"em) "):Ti?"translate(calc(-50% + ".concat(dt.x/16,"em), calc(-50% + ").concat(dt.y/16,"em)) "):"translate(".concat(dt.x/16,"em, ").concat(dt.y/16,"em) "),(Ii+="scale(".concat(dt.size/16*(dt.flipX?-1:1),", ").concat(dt.size/16*(dt.flipY?-1:1),") "))+"rotate(".concat(dt.rotate,"deg) ")}({transform:Xt,startCentered:!0,width:_t,height:Ht}),Xi["-webkit-transform"]=Xi.transform);var ln=jt(Xi);ln.length>0&&(Ji.style=ln);var An=[];return An.push({tag:"span",attributes:Ji,children:[dt]}),ci&&An.push({tag:"span",attributes:{class:"sr-only"},children:[ci]}),An}var qr=xi.styles;function Lr(Me){var dt=Me[0],_t=Me[1],ci=I(Me.slice(4),1)[0];return{found:!0,width:dt,height:_t,icon:Array.isArray(ci)?{tag:"g",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Be.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Be.SECONDARY),fill:"currentColor",d:ci[0]}},{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Be.PRIMARY),fill:"currentColor",d:ci[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:ci}}}}var Ia={found:!1,width:512,height:512};function Hr(Me,dt){var _t=dt;return"fa"===dt&&null!==Te.styleDefault&&(dt=Ni()),new Promise(function(Ht,Xt){if(Dr("missingIconAbstract"),"fa"===_t){var di=gi(Me)||{};Me=di.iconName||Me,dt=di.prefix||dt}if(Me&&dt&&qr[dt]&&qr[dt][Me])return Ht(Lr(qr[dt][Me]));(function lr(Me,dt){!fe&&!Te.showMissingIcons&&Me&&console.error('Icon with name "'.concat(Me,'" and prefix "').concat(dt,'" is missing.'))})(Me,dt),Ht(g(g({},Ia),{},{icon:Te.showMissingIcons&&Me&&Dr("missingIconAbstract")||{}}))})}var Ya=function(){},Zr=Te.measurePerformance&&L&&L.mark&&L.measure?L:{mark:Ya,measure:Ya},ca='FA "6.4.2"',va=function(dt){Zr.mark("".concat(ca," ").concat(dt," ends")),Zr.measure("".concat(ca," ").concat(dt),"".concat(ca," ").concat(dt," begins"),"".concat(ca," ").concat(dt," ends"))},la={begin:function(dt){return Zr.mark("".concat(ca," ").concat(dt," begins")),function(){return va(dt)}},end:va},ba=function(){};function xr(Me){return"string"==typeof(Me.getAttribute?Me.getAttribute(ue):null)}function Ra(Me){return l.createElementNS("http://www.w3.org/2000/svg",Me)}function da(Me){return l.createElement(Me)}function ao(Me){var _t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,Ht=void 0===_t?"svg"===Me.tag?Ra:da:_t;if("string"==typeof Me)return l.createTextNode(Me);var Xt=Ht(Me.tag);return Object.keys(Me.attributes||[]).forEach(function(di){Xt.setAttribute(di,Me.attributes[di])}),(Me.children||[]).forEach(function(di){Xt.appendChild(ao(di,{ceFn:Ht}))}),Xt}var xa={replace:function(dt){var _t=dt[0];if(_t.parentNode)if(dt[1].forEach(function(Xt){_t.parentNode.insertBefore(ao(Xt),_t)}),null===_t.getAttribute(ue)&&Te.keepOriginalSource){var Ht=l.createComment(function ya(Me){var dt=" ".concat(Me.outerHTML," ");return"".concat(dt,"Font Awesome fontawesome.com ")}(_t));_t.parentNode.replaceChild(Ht,_t)}else _t.remove()},nest:function(dt){var _t=dt[0],Ht=dt[1];if(~Ce(_t).indexOf(Te.replacementClass))return xa.replace(dt);var Xt=new RegExp("".concat(Te.cssPrefix,"-.*"));if(delete Ht[0].attributes.id,Ht[0].attributes.class){var ci=Ht[0].attributes.class.split(" ").reduce(function(Ti,Ii){return Ii===Te.replacementClass||Ii.match(Xt)?Ti.toSvg.push(Ii):Ti.toNode.push(Ii),Ti},{toNode:[],toSvg:[]});Ht[0].attributes.class=ci.toSvg.join(" "),0===ci.toNode.length?_t.removeAttribute("class"):_t.setAttribute("class",ci.toNode.join(" "))}var di=Ht.map(function(Ti){return Et(Ti)}).join("\n");_t.setAttribute(ue,""),_t.innerHTML=di}};function qn(Me){Me()}function es(Me,dt){var _t="function"==typeof dt?dt:ba;if(0===Me.length)_t();else{var Ht=qn;Te.mutateApproach===le&&(Ht=m.requestAnimationFrame||qn),Ht(function(){var Xt=function ro(){return!0===Te.autoReplaceSvg?xa.replace:xa[Te.autoReplaceSvg]||xa.replace}(),ci=la.begin("mutate");Me.map(Xt),ci(),_t()})}}var Fr=!1;function ur(){Fr=!0}function ka(){Fr=!1}var It=null;function Ai(Me){if(y&&Te.observeMutations){var dt=Me.treeCallback,_t=void 0===dt?ba:dt,Ht=Me.nodeCallback,Xt=void 0===Ht?ba:Ht,ci=Me.pseudoElementsCallback,di=void 0===ci?ba:ci,Ti=Me.observeMutationsRoot,Ii=void 0===Ti?l:Ti;It=new y(function(Ji){if(!Fr){var Xi=Ni();ee(Ji).forEach(function(ln){if("childList"===ln.type&&ln.addedNodes.length>0&&!xr(ln.addedNodes[0])&&(Te.searchPseudoElements&&di(ln.target),_t(ln.target)),"attributes"===ln.type&&ln.target.parentNode&&Te.searchPseudoElements&&di(ln.target.parentNode),"attributes"===ln.type&&xr(ln.target)&&~re.indexOf(ln.attributeName))if("class"===ln.attributeName&&function Dn(Me){var dt=Me.getAttribute?Me.getAttribute(oe):null,_t=Me.getAttribute?Me.getAttribute(ze):null;return dt&&_t}(ln.target)){var An=Yn(Ce(ln.target)),Mn=An.iconName;ln.target.setAttribute(oe,An.prefix||Xi),Mn&&ln.target.setAttribute(ze,Mn)}else(function Wr(Me){return Me&&Me.classList&&Me.classList.contains&&Me.classList.contains(Te.replacementClass)})(ln.target)&&Xt(ln.target)})}}),b&&It.observe(Ii,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Er(Me){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},_t=function Oi(Me){var dt=Me.getAttribute("data-prefix"),_t=Me.getAttribute("data-icon"),Ht=void 0!==Me.innerText?Me.innerText.trim():"",Xt=Yn(Ce(Me));return Xt.prefix||(Xt.prefix=Ni()),dt&&_t&&(Xt.prefix=dt,Xt.iconName=_t),Xt.iconName&&Xt.prefix||(Xt.prefix&&Ht.length>0&&(Xt.iconName=function Gt(Me,dt){return(En[Me]||{})[dt]}(Xt.prefix,Me.innerText)||Li(Xt.prefix,Ri(Me.innerText))),!Xt.iconName&&Te.autoFetchSvg&&Me.firstChild&&Me.firstChild.nodeType===Node.TEXT_NODE&&(Xt.iconName=Me.firstChild.data)),Xt}(Me),Ht=_t.iconName,Xt=_t.prefix,ci=_t.rest,di=function en(Me){var dt=ee(Me.attributes).reduce(function(Xt,ci){return"class"!==Xt.name&&"style"!==Xt.name&&(Xt[ci.name]=ci.value),Xt},{}),_t=Me.getAttribute("title"),Ht=Me.getAttribute("data-fa-title-id");return Te.autoA11y&&(_t?dt["aria-labelledby"]="".concat(Te.replacementClass,"-title-").concat(Ht||he()):(dt["aria-hidden"]="true",dt.focusable="false")),dt}(Me),Ti=Ja("parseNodeAttributes",{},Me),Ii=dt.styleParser?function ai(Me){var dt=Me.getAttribute("style"),_t=[];return dt&&(_t=dt.split(";").reduce(function(Ht,Xt){var ci=Xt.split(":"),di=ci[0],Ti=ci.slice(1);return di&&Ti.length>0&&(Ht[di]=Ti.join(":").trim()),Ht},{})),_t}(Me):[];return g({iconName:Ht,title:Me.getAttribute("title"),titleId:Me.getAttribute("data-fa-title-id"),prefix:Xt,transform:oi,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:ci,styles:Ii,attributes:di}},Ti)}var Jr=xi.styles;function gt(Me){var dt="nest"===Te.autoReplaceSvg?Er(Me,{styleParser:!1}):Er(Me);return~dt.extra.classes.indexOf(et)?Dr("generateLayersText",Me,dt):Dr("generateSvgReplacementMutation",Me,dt)}var wt=new Set;function je(Me){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!b)return Promise.resolve();var _t=l.documentElement.classList,Ht=function(ln){return _t.add("".concat(we,"-").concat(ln))},Xt=function(ln){return _t.remove("".concat(we,"-").concat(ln))},ci=Te.autoFetchSvg?wt:Ne.map(function(Xi){return"fa-".concat(Xi)}).concat(Object.keys(Jr));ci.includes("fa")||ci.push("fa");var di=[".".concat(et,":not([").concat(ue,"])")].concat(ci.map(function(Xi){return".".concat(Xi,":not([").concat(ue,"])")})).join(", ");if(0===di.length)return Promise.resolve();var Ti=[];try{Ti=ee(Me.querySelectorAll(di))}catch{}if(!(Ti.length>0))return Promise.resolve();Ht("pending"),Xt("complete");var Ii=la.begin("onTree"),Ji=Ti.reduce(function(Xi,ln){try{var An=gt(ln);An&&Xi.push(An)}catch(Zn){fe||"MissingIcon"===Zn.name&&console.error(Zn)}return Xi},[]);return new Promise(function(Xi,ln){Promise.all(Ji).then(function(An){es(An,function(){Ht("active"),Ht("complete"),Xt("pending"),"function"==typeof dt&&dt(),Ii(),Xi()})}).catch(function(An){Ii(),ln(An)})})}function Ft(Me){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;gt(Me).then(function(_t){_t&&es([_t],dt)})}Ne.map(function(Me){wt.add("fa-".concat(Me))}),Object.keys(at[Ge]).map(wt.add.bind(wt)),Object.keys(at[Le]).map(wt.add.bind(wt)),wt=D(wt);var on=function(dt){var _t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ht=_t.transform,Xt=void 0===Ht?oi:Ht,ci=_t.symbol,di=void 0!==ci&&ci,Ti=_t.mask,Ii=void 0===Ti?null:Ti,Ji=_t.maskId,Xi=void 0===Ji?null:Ji,ln=_t.title,An=void 0===ln?null:ln,Zn=_t.titleId,Mn=void 0===Zn?null:Zn,jr=_t.classes,fr=void 0===jr?[]:jr,Bn=_t.attributes,na=void 0===Bn?{}:Bn,ua=_t.styles,Ir=void 0===ua?{}:ua;if(dt){var co=dt.prefix,Go=dt.iconName,lo=dt.icon;return yr(g({type:"icon"},dt),function(){return Gr("beforeDOMElementCreation",{iconDefinition:dt,params:_t}),Te.autoA11y&&(An?na["aria-labelledby"]="".concat(Te.replacementClass,"-title-").concat(Mn||he()):(na["aria-hidden"]="true",na.focusable="false")),Rr({icons:{main:Lr(lo),mask:Ii?Lr(Ii.icon):{found:!1,width:null,height:null,icon:{}}},prefix:co,iconName:Go,transform:g(g({},oi),Xt),symbol:di,title:An,maskId:Xi,titleId:Mn,extra:{attributes:na,styles:Ir,classes:fr}})})}},Vn={mixout:function(){return{icon:(Me=on,function(dt){var _t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ht=(dt||{}).icon?dt:Xa(dt||{}),Xt=_t.mask;return Xt&&(Xt=(Xt||{}).icon?Xt:Xa(Xt||{})),Me(Ht,g(g({},_t),{},{mask:Xt}))})};var Me},hooks:function(){return{mutationObserverCallbacks:function(_t){return _t.treeCallback=je,_t.nodeCallback=Ft,_t}}},provides:function(dt){dt.i2svg=function(_t){var Ht=_t.node,ci=_t.callback;return je(void 0===Ht?l:Ht,void 0===ci?function(){}:ci)},dt.generateSvgReplacementMutation=function(_t,Ht){var Xt=Ht.iconName,ci=Ht.title,di=Ht.titleId,Ti=Ht.prefix,Ii=Ht.transform,Ji=Ht.symbol,Xi=Ht.mask,ln=Ht.maskId,An=Ht.extra;return new Promise(function(Zn,Mn){Promise.all([Hr(Xt,Ti),Xi.iconName?Hr(Xi.iconName,Xi.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(jr){var fr=I(jr,2);Zn([_t,Rr({icons:{main:fr[0],mask:fr[1]},prefix:Ti,iconName:Xt,transform:Ii,symbol:Ji,maskId:ln,title:ci,titleId:di,extra:An,watchable:!0})])}).catch(Mn)})},dt.generateAbstractIcon=function(_t){var Ji,Ht=_t.children,Xt=_t.attributes,ci=_t.main,di=_t.transform,Ii=jt(_t.styles);return Ii.length>0&&(Xt.style=Ii),Zt(di)&&(Ji=Dr("generateAbstractTransformGrouping",{main:ci,transform:di,containerWidth:ci.width,iconWidth:ci.width})),Ht.push(Ji||ci.icon),{children:Ht,attributes:Xt}}}},ha={mixout:function(){return{layer:function(_t){var Ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Xt=Ht.classes,ci=void 0===Xt?[]:Xt;return yr({type:"layer"},function(){Gr("beforeDOMElementCreation",{assembler:_t,params:Ht});var di=[];return _t(function(Ti){Array.isArray(Ti)?Ti.map(function(Ii){di=di.concat(Ii.abstract)}):di=di.concat(Ti.abstract)}),[{tag:"span",attributes:{class:["".concat(Te.cssPrefix,"-layers")].concat(D(ci)).join(" ")},children:di}]})}}}},Vo={mixout:function(){return{counter:function(_t){var Ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Xt=Ht.title,ci=void 0===Xt?null:Xt,di=Ht.classes,Ti=void 0===di?[]:di,Ii=Ht.attributes,Ji=void 0===Ii?{}:Ii,Xi=Ht.styles,ln=void 0===Xi?{}:Xi;return yr({type:"counter",content:_t},function(){return Gr("beforeDOMElementCreation",{content:_t,params:Ht}),function yn(Me){var dt=Me.content,_t=Me.title,Ht=Me.extra,Xt=g(g(g({},Ht.attributes),_t?{title:_t}:{}),{},{class:Ht.classes.join(" ")}),ci=jt(Ht.styles);ci.length>0&&(Xt.style=ci);var di=[];return di.push({tag:"span",attributes:Xt,children:[dt]}),_t&&di.push({tag:"span",attributes:{class:"sr-only"},children:[_t]}),di}({content:_t.toString(),title:ci,extra:{attributes:Ji,styles:ln,classes:["".concat(Te.cssPrefix,"-layers-counter")].concat(D(Ti))}})})}}}},ts={mixout:function(){return{text:function(_t){var Ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Xt=Ht.transform,ci=void 0===Xt?oi:Xt,di=Ht.title,Ti=void 0===di?null:di,Ii=Ht.classes,Ji=void 0===Ii?[]:Ii,Xi=Ht.attributes,ln=void 0===Xi?{}:Xi,An=Ht.styles,Zn=void 0===An?{}:An;return yr({type:"text",content:_t},function(){return Gr("beforeDOMElementCreation",{content:_t,params:Ht}),Sr({content:_t,transform:g(g({},oi),ci),title:Ti,extra:{attributes:ln,styles:Zn,classes:["".concat(Te.cssPrefix,"-layers-text")].concat(D(Ji))}})})}}},provides:function(dt){dt.generateLayersText=function(_t,Ht){var Xt=Ht.title,ci=Ht.transform,di=Ht.extra,Ti=null,Ii=null;if(n){var Ji=parseInt(getComputedStyle(_t).fontSize,10),Xi=_t.getBoundingClientRect();Ti=Xi.width/Ji,Ii=Xi.height/Ji}return Te.autoA11y&&!Xt&&(di.attributes["aria-hidden"]="true"),Promise.resolve([_t,Sr({content:_t.innerHTML,width:Ti,height:Ii,transform:ci,title:Xt,extra:di,watchable:!0})])}}},Fl=new RegExp('"',"ug"),Gs=[1105920,1112319];function Ss(Me,dt){var _t="".concat(Pe).concat(dt.replace(":","-"));return new Promise(function(Ht,Xt){if(null!==Me.getAttribute(_t))return Ht();var di=ee(Me.children).filter(function(lo){return lo.getAttribute(xe)===dt})[0],Ti=m.getComputedStyle(Me,dt),Ii=Ti.getPropertyValue("font-family").match(Ct),Ji=Ti.getPropertyValue("font-weight"),Xi=Ti.getPropertyValue("content");if(di&&!Ii)return Me.removeChild(di),Ht();if(Ii&&"none"!==Xi&&""!==Xi){var ln=Ti.getPropertyValue("content"),An=~["Sharp"].indexOf(Ii[2])?Le:Ge,Zn=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(Ii[2])?ve[An][Ii[2].toLowerCase()]:ke[An][Ji],Mn=function Zs(Me){var dt=Me.replace(Fl,""),_t=function Ui(Me,dt){var Xt,_t=Me.length,Ht=Me.charCodeAt(dt);return Ht>=55296&&Ht<=56319&&_t>dt+1&&(Xt=Me.charCodeAt(dt+1))>=56320&&Xt<=57343?1024*(Ht-55296)+Xt-56320+65536:Ht}(dt,0),Ht=_t>=Gs[0]&&_t<=Gs[1],Xt=2===dt.length&&dt[0]===dt[1];return{value:Ri(Xt?dt[0]:dt),isSecondary:Ht||Xt}}(ln),jr=Mn.value,fr=Mn.isSecondary,Bn=Ii[0].startsWith("FontAwesome"),na=Li(Zn,jr),ua=na;if(Bn){var Ir=function wi(Me){var dt=Ar[Me],_t=Li("fas",Me);return dt||(_t?{prefix:"fas",iconName:_t}:null)||{prefix:null,iconName:null}}(jr);Ir.iconName&&Ir.prefix&&(na=Ir.iconName,Zn=Ir.prefix)}if(!na||fr||di&&di.getAttribute(oe)===Zn&&di.getAttribute(ze)===ua)Ht();else{Me.setAttribute(_t,ua),di&&Me.removeChild(di);var co=function gr(){return{iconName:null,title:null,titleId:null,prefix:null,transform:oi,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),Go=co.extra;Go.attributes[xe]=dt,Hr(na,Zn).then(function(lo){var wa=Rr(g(g({},co),{},{icons:{main:lo,mask:Wi()},prefix:Zn,iconName:ua,extra:Go,watchable:!0})),go=l.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===dt?Me.insertBefore(go,Me.firstChild):Me.appendChild(go),go.outerHTML=wa.map(function(zl){return Et(zl)}).join("\n"),Me.removeAttribute(_t),Ht()}).catch(Xt)}}else Ht()})}function Ha(Me){return Promise.all([Ss(Me,"::before"),Ss(Me,"::after")])}function zi(Me){return!(Me.parentNode===document.head||~ge.indexOf(Me.tagName.toUpperCase())||Me.getAttribute(xe)||Me.parentNode&&"svg"===Me.parentNode.tagName)}function ko(Me){if(b)return new Promise(function(dt,_t){var Ht=ee(Me.querySelectorAll("*")).filter(zi).map(Ha),Xt=la.begin("searchPseudoElements");ur(),Promise.all(Ht).then(function(){Xt(),ka(),dt()}).catch(function(){Xt(),ka(),_t()})})}var Bi=!1,oo=function(dt){return dt.toLowerCase().split(" ").reduce(function(Ht,Xt){var ci=Xt.toLowerCase().split("-"),di=ci[0],Ti=ci.slice(1).join("-");if(di&&"h"===Ti)return Ht.flipX=!0,Ht;if(di&&"v"===Ti)return Ht.flipY=!0,Ht;if(Ti=parseFloat(Ti),isNaN(Ti))return Ht;switch(di){case"grow":Ht.size=Ht.size+Ti;break;case"shrink":Ht.size=Ht.size-Ti;break;case"left":Ht.x=Ht.x-Ti;break;case"right":Ht.x=Ht.x+Ti;break;case"up":Ht.y=Ht.y-Ti;break;case"down":Ht.y=Ht.y+Ti;break;case"rotate":Ht.rotate=Ht.rotate+Ti}return Ht},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Eo={x:0,y:0,width:"100%",height:"100%"};function ta(Me){return Me.attributes&&(Me.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(Me.attributes.fill="black"),Me}!function qa(Me,dt){var _t=dt.mixoutsTo;Cn=Me,Qn={},Object.keys(br).forEach(function(Ht){-1===Nr.indexOf(Ht)&&delete br[Ht]}),Cn.forEach(function(Ht){var Xt=Ht.mixout?Ht.mixout():{};if(Object.keys(Xt).forEach(function(di){"function"==typeof Xt[di]&&(_t[di]=Xt[di]),"object"===T(Xt[di])&&Object.keys(Xt[di]).forEach(function(Ti){_t[di]||(_t[di]={}),_t[di][Ti]=Xt[di][Ti]})}),Ht.hooks){var ci=Ht.hooks();Object.keys(ci).forEach(function(di){Qn[di]||(Qn[di]=[]),Qn[di].push(ci[di])})}Ht.provides&&Ht.provides(br)})}([si,Vn,ha,Vo,ts,{hooks:function(){return{mutationObserverCallbacks:function(_t){return _t.pseudoElementsCallback=ko,_t}}},provides:function(dt){dt.pseudoElements2svg=function(_t){var Ht=_t.node;Te.searchPseudoElements&&ko(void 0===Ht?l:Ht)}}},{mixout:function(){return{dom:{unwatch:function(){ur(),Bi=!0}}}},hooks:function(){return{bootstrap:function(){Ai(Ja("mutationObserverCallbacks",{}))},noAuto:function(){!function St(){It&&It.disconnect()}()},watch:function(_t){var Ht=_t.observeMutationsRoot;Bi?ka():Ai(Ja("mutationObserverCallbacks",{observeMutationsRoot:Ht}))}}}},{mixout:function(){return{parse:{transform:function(_t){return oo(_t)}}}},hooks:function(){return{parseNodeAttributes:function(_t,Ht){var Xt=Ht.getAttribute("data-fa-transform");return Xt&&(_t.transform=oo(Xt)),_t}}},provides:function(dt){dt.generateAbstractTransformGrouping=function(_t){var Ht=_t.main,Xt=_t.transform,di=_t.iconWidth,Ti={transform:"translate(".concat(_t.containerWidth/2," 256)")},Ii="translate(".concat(32*Xt.x,", ").concat(32*Xt.y,") "),Ji="scale(".concat(Xt.size/16*(Xt.flipX?-1:1),", ").concat(Xt.size/16*(Xt.flipY?-1:1),") "),Xi="rotate(".concat(Xt.rotate," 0 0)"),Zn={outer:Ti,inner:{transform:"".concat(Ii," ").concat(Ji," ").concat(Xi)},path:{transform:"translate(".concat(di/2*-1," -256)")}};return{tag:"g",attributes:g({},Zn.outer),children:[{tag:"g",attributes:g({},Zn.inner),children:[{tag:Ht.icon.tag,children:Ht.icon.children,attributes:g(g({},Ht.icon.attributes),Zn.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(_t,Ht){var Xt=Ht.getAttribute("data-fa-mask"),ci=Xt?Yn(Xt.split(" ").map(function(di){return di.trim()})):Wi();return ci.prefix||(ci.prefix=Ni()),_t.mask=ci,_t.maskId=Ht.getAttribute("data-fa-mask-id"),_t}}},provides:function(dt){dt.generateAbstractMask=function(_t){var Me,Ht=_t.children,Xt=_t.attributes,ci=_t.main,di=_t.mask,Ti=_t.maskId,Xi=ci.icon,An=di.icon,Zn=function Kt(Me){var dt=Me.transform,Ht=Me.iconWidth,Xt={transform:"translate(".concat(Me.containerWidth/2," 256)")},ci="translate(".concat(32*dt.x,", ").concat(32*dt.y,") "),di="scale(".concat(dt.size/16*(dt.flipX?-1:1),", ").concat(dt.size/16*(dt.flipY?-1:1),") "),Ti="rotate(".concat(dt.rotate," 0 0)");return{outer:Xt,inner:{transform:"".concat(ci," ").concat(di," ").concat(Ti)},path:{transform:"translate(".concat(Ht/2*-1," -256)")}}}({transform:_t.transform,containerWidth:di.width,iconWidth:ci.width}),Mn={tag:"rect",attributes:g(g({},Eo),{},{fill:"white"})},jr=Xi.children?{children:Xi.children.map(ta)}:{},fr={tag:"g",attributes:g({},Zn.inner),children:[ta(g({tag:Xi.tag,attributes:g(g({},Xi.attributes),Zn.path)},jr))]},Bn={tag:"g",attributes:g({},Zn.outer),children:[fr]},na="mask-".concat(Ti||he()),ua="clip-".concat(Ti||he()),Ir={tag:"mask",attributes:g(g({},Eo),{},{id:na,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Mn,Bn]},co={tag:"defs",children:[{tag:"clipPath",attributes:{id:ua},children:(Me=An,"g"===Me.tag?Me.children:[Me])},Ir]};return Ht.push(co,{tag:"rect",attributes:g({fill:"currentColor","clip-path":"url(#".concat(ua,")"),mask:"url(#".concat(na,")")},Eo)}),{children:Ht,attributes:Xt}}}},{provides:function(dt){var _t=!1;m.matchMedia&&(_t=m.matchMedia("(prefers-reduced-motion: reduce)").matches),dt.missingIconAbstract=function(){var Ht=[],Xt={fill:"currentColor"},ci={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Ht.push({tag:"path",attributes:g(g({},Xt),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var di=g(g({},ci),{},{attributeName:"opacity"}),Ti={tag:"circle",attributes:g(g({},Xt),{},{cx:"256",cy:"364",r:"28"}),children:[]};return _t||Ti.children.push({tag:"animate",attributes:g(g({},ci),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:g(g({},di),{},{values:"1;0;1;1;0;1;"})}),Ht.push(Ti),Ht.push({tag:"path",attributes:g(g({},Xt),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:_t?[]:[{tag:"animate",attributes:g(g({},di),{},{values:"1;0;0;0;0;1;"})}]}),_t||Ht.push({tag:"path",attributes:g(g({},Xt),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:g(g({},di),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:Ht}}}},{hooks:function(){return{parseNodeAttributes:function(_t,Ht){var Xt=Ht.getAttribute("data-fa-symbol");return _t.symbol=null!==Xt&&(""===Xt||Xt),_t}}}}],{mixoutsTo:er});var ia=er.parse,sn=er.icon,hs=p(6593);const us=["*"],ir=Me=>{const dt={[`fa-${Me.animation}`]:null!=Me.animation&&!Me.animation.startsWith("spin"),"fa-spin":"spin"===Me.animation||"spin-reverse"===Me.animation,"fa-spin-pulse":"spin-pulse"===Me.animation||"spin-pulse-reverse"===Me.animation,"fa-spin-reverse":"spin-reverse"===Me.animation||"spin-pulse-reverse"===Me.animation,"fa-pulse":"spin-pulse"===Me.animation||"spin-pulse-reverse"===Me.animation,"fa-fw":Me.fixedWidth,"fa-border":Me.border,"fa-inverse":Me.inverse,"fa-layers-counter":Me.counter,"fa-flip-horizontal":"horizontal"===Me.flip||"both"===Me.flip,"fa-flip-vertical":"vertical"===Me.flip||"both"===Me.flip,[`fa-${Me.size}`]:null!==Me.size,[`fa-rotate-${Me.rotate}`]:null!==Me.rotate,[`fa-pull-${Me.pull}`]:null!==Me.pull,[`fa-stack-${Me.stackItemSize}`]:null!=Me.stackItemSize};return Object.keys(dt).map(_t=>dt[_t]?_t:null).filter(_t=>_t)};let Yr=(()=>{class Me{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(Ht){return new(Ht||Me)};static#t=this.\u0275prov=e.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"})}return Me})(),Yi=(()=>{class Me{constructor(){this.definitions={}}addIcons(..._t){for(const Ht of _t){Ht.prefix in this.definitions||(this.definitions[Ht.prefix]={}),this.definitions[Ht.prefix][Ht.iconName]=Ht;for(const Xt of Ht.icon[2])"string"==typeof Xt&&(this.definitions[Ht.prefix][Xt]=Ht)}}addIconPacks(..._t){for(const Ht of _t){const Xt=Object.keys(Ht).map(ci=>Ht[ci]);this.addIcons(...Xt)}}getIconDefinition(_t,Ht){return _t in this.definitions&&Ht in this.definitions[_t]?this.definitions[_t][Ht]:null}static#e=this.\u0275fac=function(Ht){return new(Ht||Me)};static#t=this.\u0275prov=e.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"})}return Me})(),nr=(()=>{class Me{constructor(){this.stackItemSize="1x"}ngOnChanges(_t){if("size"in _t)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}static#e=this.\u0275fac=function(Ht){return new(Ht||Me)};static#t=this.\u0275dir=e.lG2({type:Me,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[e.TTD]})}return Me})(),Ca=(()=>{class Me{constructor(_t,Ht){this.renderer=_t,this.elementRef=Ht}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(_t){"size"in _t&&(null!=_t.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${_t.size.currentValue}`),null!=_t.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${_t.size.previousValue}`))}static#e=this.\u0275fac=function(Ht){return new(Ht||Me)(e.Y36(e.Qsj),e.Y36(e.SBq))};static#t=this.\u0275cmp=e.Xpm({type:Me,selectors:[["fa-stack"]],inputs:{size:"size"},features:[e.TTD],ngContentSelectors:us,decls:1,vars:0,template:function(Ht,Xt){1&Ht&&(e.F$t(),e.Hsn(0))},encapsulation:2})}return Me})(),so=(()=>{class Me{set spin(_t){this.animation=_t?"spin":void 0}set pulse(_t){this.animation=_t?"spin-pulse":void 0}constructor(_t,Ht,Xt,ci,di){this.sanitizer=_t,this.config=Ht,this.iconLibrary=Xt,this.stackItem=ci,this.classes=[],null!=di&&null==ci&&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(_t){if(null!=this.icon||null!=this.config.fallbackIcon){if(_t){const Xt=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=Xt){const ci=this.buildParams();this.renderIcon(Xt,ci)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(_t){const Ht=((Me,dt)=>(Me=>void 0!==Me.prefix&&void 0!==Me.iconName)(Me)?Me:"string"==typeof Me?{prefix:dt,iconName:Me}:{prefix:Me[0],iconName:Me[1]})(_t,this.config.defaultPrefix);return"icon"in Ht?Ht:this.iconLibrary.getIconDefinition(Ht.prefix,Ht.iconName)??((Me=>{throw new Error(`Could not find icon with iconName=${Me.iconName} and prefix=${Me.prefix} in the icon library.`)})(Ht),null)}buildParams(){const _t={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},Ht="string"==typeof this.transform?ia.transform(this.transform):this.transform;return{title:this.title,transform:Ht,classes:[...ir(_t),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(_t,Ht){const Xt=sn(_t,Ht);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(Xt.html.join("\n"))}static#e=this.\u0275fac=function(Ht){return new(Ht||Me)(e.Y36(hs.H7),e.Y36(Yr),e.Y36(Yi),e.Y36(nr,8),e.Y36(Ca,8))};static#t=this.\u0275cmp=e.Xpm({type:Me,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(Ht,Xt){2&Ht&&(e.Ikx("innerHTML",Xt.renderedIconHTML,e.oJD),e.uIk("title",Xt.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},features:[e.TTD],decls:0,vars:0,template:function(Ht,Xt){},encapsulation:2})}return Me})(),ii=(()=>{class Me{static#e=this.\u0275fac=function(Ht){return new(Ht||Me)};static#t=this.\u0275mod=e.oAB({type:Me});static#i=this.\u0275inj=e.cJS({})}return Me})()},590:(Ue,q,p)=>{"use strict";p.d(q,{Acd:()=>x2,Aq:()=>Zl,B$L:()=>Eo,BDt:()=>_p,CgH:()=>hm,CvI:()=>Y3,DL8:()=>uy,FJU:()=>n4,FVb:()=>Zo,FlN:()=>jg,FpQ:()=>rl,HLz:()=>A5,KOR:()=>rm,Krp:()=>Nf,Mdf:()=>tg,N2j:()=>yi,NBC:()=>s_,OS1:()=>Il,Psp:()=>M0,Pyt:()=>l5,Sbq:()=>Ke,SoD:()=>Lr,Ssp:()=>My,SuH:()=>lm,TmZ:()=>X5,USL:()=>Ib,Vei:()=>un,Vfw:()=>Fm,X5K:()=>Cu,XsY:()=>ln,aj4:()=>cf,b7W:()=>i8,byT:()=>An,co4:()=>e8,d63:()=>Vd,dLy:()=>Zp,dT$:()=>I6,eHv:()=>Cy,gNZ:()=>Di,hkK:()=>st,hnx:()=>Ny,kXW:()=>ip,kZ_:()=>$5,koM:()=>El,mh3:()=>K6,nNP:()=>zp,q7m:()=>O8,qO$:()=>Gb,r8p:()=>K0,sqG:()=>Og,vqe:()=>ty,wn1:()=>Bp,wyP:()=>E1,xf3:()=>Ns});var Ke={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"]},st={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM625 177L497 305c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L591 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},yi={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"]},Lr={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"]},Eo={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"]},ln={prefix:"fas",iconName:"paintbrush",icon:[576,512,[128396,"paint-brush"],"f1fc","M339.3 367.1c27.3-3.9 51.9-19.4 67.2-42.9L568.2 74.1c12.6-19.5 9.4-45.3-7.6-61.2S517.7-4.4 499.1 9.6L262.4 187.2c-24 18-38.2 46.1-38.4 76.1L339.3 367.1zm-19.6 25.4l-116-104.4C143.9 290.3 96 339.6 96 400c0 3.9 .2 7.8 .6 11.6C98.4 429.1 86.4 448 68.8 448H64c-17.7 0-32 14.3-32 32s14.3 32 32 32H208c61.9 0 112-50.1 112-112c0-2.5-.1-5-.2-7.5z"]},An={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"]},Zo={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]},Zl={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},x2={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"]},cf={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"]},Ns={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm48 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},El={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"]},E1={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"]},un={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"]},Vd={prefix:"fas",iconName:"arrows-turn-right",icon:[448,512,[],"e4c0","M297.4 9.4c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L338.7 160H128c-35.3 0-64 28.7-64 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V224C0 153.3 57.3 96 128 96H338.7L297.4 54.6c-12.5-12.5-12.5-32.8 0-45.3zm-96 256c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416H96c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96H242.7l-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z"]},Nf={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"]},M0={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M80 160c0-35.3 28.7-64 64-64h32c35.3 0 64 28.7 64 64v3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74V320c0 17.7 14.3 32 32 32s32-14.3 32-32v-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7V160c0-70.7-57.3-128-128-128H144C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},I6={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"]},Il={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"]},rm={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"]},lm={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"]},hm={prefix:"fas",iconName:"screwdriver-wrench",icon:[512,512,["tools"],"f7d9","M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM56 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},Cu={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64H80c-8.8 0-16-7.2-16-16s7.2-16 16-16H448c17.7 0 32-14.3 32-32s-14.3-32-32-32H64zM416 272a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},K6={prefix:"fas",iconName:"code-branch",icon:[448,512,[],"f126","M80 104a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm80-24c0 32.8-19.7 61-48 73.3v87.8c18.8-10.9 40.7-17.1 64-17.1h96c35.3 0 64-28.7 64-64v-6.7C307.7 141 288 112.8 288 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V160c0 70.7-57.3 128-128 128H176c-35.3 0-64 28.7-64 64v6.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V352 153.3C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM80 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},rl={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M512 96c0 50.2-59.1 125.1-84.6 155c-3.8 4.4-9.4 6.1-14.5 5H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c53 0 96 43 96 96s-43 96-96 96H139.6c8.7-9.9 19.3-22.6 30-36.8c6.3-8.4 12.8-17.6 19-27.2H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-53 0-96-43-96-96s43-96 96-96h39.8c-21-31.5-39.8-67.7-39.8-96c0-53 43-96 96-96s96 43 96 96zM117.1 489.1c-3.8 4.3-7.2 8.1-10.1 11.3l-1.8 2-.2-.2c-6 4.6-14.6 4-20-1.8C59.8 473 0 402.5 0 352c0-53 43-96 96-96s96 43 96 96c0 30-21.1 67-43.5 97.9c-10.7 14.7-21.7 28-30.8 38.5l-.6 .7zM128 352a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM416 128a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},tg={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},Di={prefix:"fas",iconName:"user-gear",icon:[640,512,["user-cog"],"f4fe","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304h91.4c11.8 0 23.4 1.2 34.5 3.3c-2.1 18.5 7.4 35.6 21.8 44.8c-16.6 10.6-26.7 31.6-20 53.3c4 12.9 9.4 25.5 16.4 37.6s15.2 23.1 24.4 33c15.7 16.9 39.6 18.4 57.2 8.7v.9c0 9.2 2.7 18.5 7.9 26.3H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM436 218.2c0-7 4.5-13.3 11.3-14.8c10.5-2.4 21.5-3.7 32.7-3.7s22.2 1.3 32.7 3.7c6.8 1.5 11.3 7.8 11.3 14.8v30.6c7.9 3.4 15.4 7.7 22.3 12.8l24.9-14.3c6.1-3.5 13.7-2.7 18.5 2.4c7.6 8.1 14.3 17.2 20.1 27.2s10.3 20.4 13.5 31c2.1 6.7-1.1 13.7-7.2 17.2l-25 14.4c.4 4 .7 8.1 .7 12.3s-.2 8.2-.7 12.3l25 14.4c6.1 3.5 9.2 10.5 7.2 17.2c-3.3 10.6-7.8 21-13.5 31s-12.5 19.1-20.1 27.2c-4.8 5.1-12.5 5.9-18.5 2.4l-24.9-14.3c-6.9 5.1-14.3 9.4-22.3 12.8l0 30.6c0 7-4.5 13.3-11.3 14.8c-10.5 2.4-21.5 3.7-32.7 3.7s-22.2-1.3-32.7-3.7c-6.8-1.5-11.3-7.8-11.3-14.8V454.8c-8-3.4-15.6-7.7-22.5-12.9l-24.7 14.3c-6.1 3.5-13.7 2.7-18.5-2.4c-7.6-8.1-14.3-17.2-20.1-27.2s-10.3-20.4-13.5-31c-2.1-6.7 1.1-13.7 7.2-17.2l24.8-14.3c-.4-4.1-.7-8.2-.7-12.4s.2-8.3 .7-12.4L343.8 325c-6.1-3.5-9.2-10.5-7.2-17.2c3.3-10.6 7.7-21 13.5-31s12.5-19.1 20.1-27.2c4.8-5.1 12.4-5.9 18.5-2.4l24.8 14.3c6.9-5.1 14.5-9.4 22.5-12.9V218.2zm92.1 133.5a48.1 48.1 0 1 0 -96.1 0 48.1 48.1 0 1 0 96.1 0z"]},Fm={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"]},Og={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},jg={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M96 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32V224v64V448c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32V384H64c-17.7 0-32-14.3-32-32V288c-17.7 0-32-14.3-32-32s14.3-32 32-32V160c0-17.7 14.3-32 32-32H96V64zm448 0v64h32c17.7 0 32 14.3 32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32v64c0 17.7-14.3 32-32 32H544v64c0 17.7-14.3 32-32 32H480c-17.7 0-32-14.3-32-32V288 224 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32zM416 224v64H224V224H416z"]},Y3={prefix:"fas",iconName:"money-bill-1",icon:[576,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm64 320H64V320c35.3 0 64 28.7 64 64zM64 192V128h64c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM176 256a112 112 0 1 1 224 0 112 112 0 1 1 -224 0zm76-48c0 9.7 6.9 17.7 16 19.6V276h-4c-11 0-20 9-20 20s9 20 20 20h24 24c11 0 20-9 20-20s-9-20-20-20h-4V208c0-11-9-20-20-20H272c-11 0-20 9-20 20z"]},e8=Y3,i8={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},ip={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"]},O8={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},_p={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"]},l5={prefix:"fas",iconName:"arrows-turn-to-dots",icon:[512,512,[],"e4c1","M249.4 25.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L269.3 96 416 96c53 0 96 43 96 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V192c0-17.7-14.3-32-32-32l-146.7 0 25.4 25.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-80-80c-12.5-12.5-12.5-32.8 0-45.3l80-80zm13.3 256l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416 96 416c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96l146.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0zM384 384a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM64 192A64 64 0 1 1 64 64a64 64 0 1 1 0 128z"]},n4={prefix:"fas",iconName:"user-lock",icon:[640,512,[],"f502","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H392.6c-5.4-9.4-8.6-20.3-8.6-32V352c0-2.1 .1-4.2 .3-6.3c-31-26-71-41.7-114.6-41.7H178.3zM528 240c17.7 0 32 14.3 32 32v48H496V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]},A5={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM256 416c35.3 0 64-28.7 64-64c0-17.4-6.9-33.1-18.1-44.6L366 161.7c5.3-12.1-.2-26.3-12.3-31.6s-26.3 .2-31.6 12.3L257.9 288c-.6 0-1.3 0-1.9 0c-35.3 0-64 28.7-64 64s28.7 64 64 64zM176 144a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM96 288a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm352-32a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},zp={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"]},Bp={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},Zp={prefix:"fas",iconName:"receipt",icon:[384,512,[129534],"f543","M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.3-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6s14 12.4 14 21.8V488c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6L304 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L192 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488V24C0 14.6 5.5 6.1 14 2.2zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96zM80 352c0 8.8 7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96z"]},X5={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"]},$5={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0H332.1c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128h80v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z"]},K0={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"]},s_={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},Ib={prefix:"fas",iconName:"percent",icon:[384,512,[62101,62785,"percentage"],"25","M374.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-320 320c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l320-320zM128 128A64 64 0 1 0 0 128a64 64 0 1 0 128 0zM384 384a64 64 0 1 0 -128 0 64 64 0 1 0 128 0z"]},Gb={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"]},ty={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"]},uy={prefix:"fas",iconName:"scale-balanced",icon:[640,512,[9878,"balance-scale"],"f24e","M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288H584.4L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320H199.3L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z"]},Cy={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},My={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"]},Ny={prefix:"fas",iconName:"user-clock",icon:[640,512,[],"f4fd","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304h91.4c20.6 0 40.4 3.5 58.8 9.9C323 331 320 349.1 320 368c0 59.5 29.5 112.1 74.8 144H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM352 368a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-80c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H512V304c0-8.8-7.2-16-16-16z"]}},5154:(Ue,q,p)=>{"use strict";p.d(q,{eX:()=>K,sQ:()=>Je,GW:()=>i,l4:()=>se});var e=p(3019),t=p(5592),g=p(8645),T=p(7538),c=p(6232),C=p(2096),u=p(8504),P=p(4674);class S{constructor(Dt,Rt,pt){this.kind=Dt,this.value=Rt,this.error=pt,this.hasValue="N"===Dt}observe(Dt){return M(this,Dt)}do(Dt,Rt,pt){const{kind:vt,value:Te,error:tt}=this;return"N"===vt?Dt?.(Te):"E"===vt?Rt?.(tt):pt?.()}accept(Dt,Rt,pt){var vt;return(0,P.m)(null===(vt=Dt)||void 0===vt?void 0:vt.next)?this.observe(Dt):this.do(Dt,Rt,pt)}toObservable(){const{kind:Dt,value:Rt,error:pt}=this,vt="N"===Dt?(0,C.of)(Rt):"E"===Dt?(0,u._)(()=>pt):"C"===Dt?c.E:0;if(!vt)throw new TypeError(`Unexpected notification kind ${Dt}`);return vt}static createNext(Dt){return new S("N",Dt)}static createError(Dt){return new S("E",void 0,Dt)}static createComplete(){return S.completeNotification}}function M(kt,Dt){var Rt,pt,vt;const{kind:Te,value:tt,error:Ze}=kt;if("string"!=typeof Te)throw new TypeError('Invalid notification, missing "kind"');"N"===Te?null===(Rt=Dt.next)||void 0===Rt||Rt.call(Dt,tt):"E"===Te?null===(pt=Dt.error)||void 0===pt||pt.call(Dt,Ze):null===(vt=Dt.complete)||void 0===vt||vt.call(Dt)}S.completeNotification=new S("C");var I=p(9360),D=p(8251),F=p(7398),W=p(6306),Y=p(2181),Q=p(4829);function J(kt,Dt,Rt,pt){return(0,I.e)((vt,Te)=>{let tt;Dt&&"function"!=typeof Dt?({duration:Rt,element:tt,connector:pt}=Dt):tt=Dt;const Ze=new Map,Mt=Ce=>{Ze.forEach(Ce),Ce(Te)},oi=Ce=>Mt(At=>At.error(Ce));let Tt=0,mt=!1;const he=new D.Q(Te,Ce=>{try{const At=kt(Ce);let Lt=Ze.get(At);if(!Lt){Ze.set(At,Lt=pt?pt():new g.x);const jt=function ee(Ce,At){const Lt=new t.y(jt=>{Tt++;const Zt=At.subscribe(jt);return()=>{Zt.unsubscribe(),0==--Tt&&mt&&he.unsubscribe()}});return Lt.key=Ce,Lt}(At,Lt);if(Te.next(jt),Rt){const Zt=(0,D.x)(Lt,()=>{Lt.complete(),Zt?.unsubscribe()},void 0,void 0,()=>Ze.delete(At));he.add((0,Q.Xf)(Rt(jt)).subscribe(Zt))}}Lt.next(tt?tt(Ce):Ce)}catch(At){oi(At)}},()=>Mt(Ce=>Ce.complete()),oi,()=>Ze.clear(),()=>(mt=!0,0===Tt));vt.subscribe(he)})}var ne=p(1631);function X(kt,Dt){return Dt?Rt=>Rt.pipe(X((pt,vt)=>(0,Q.Xf)(kt(pt,vt)).pipe((0,F.U)((Te,tt)=>Dt(pt,Te,vt,tt))))):(0,I.e)((Rt,pt)=>{let vt=0,Te=null,tt=!1;Rt.subscribe((0,D.x)(pt,Ze=>{Te||(Te=(0,D.x)(pt,void 0,()=>{Te=null,tt&&pt.complete()}),(0,Q.Xf)(kt(Ze,vt++)).subscribe(Te))},()=>{tt=!0,!Te&&pt.complete()}))})}var ie=p(8180),de=p(5879),te=p(4221);const ae={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},E="__@ngrx/effects_create__";function i(kt,Dt={}){const Rt=Dt.functional?kt:kt(),pt={...ae,...Dt};return Object.defineProperty(Rt,E,{value:pt}),Rt}function y(kt){return Object.getPrototypeOf(kt)}function O(kt){return"function"==typeof kt}function b(kt){return kt.filter(O)}function _(kt,Dt,Rt){const pt=y(kt),Te=pt&&"Object"!==pt.constructor.name?pt.constructor.name:null,tt=function l(kt){return function o(kt){return Object.getOwnPropertyNames(kt).filter(pt=>!(!kt[pt]||!kt[pt].hasOwnProperty(E))&&kt[pt][E].hasOwnProperty("dispatch")).map(pt=>({propertyName:pt,...kt[pt][E]}))}(kt)}(kt).map(({propertyName:Ze,dispatch:Mt,useEffectsErrorHandler:oi})=>{const Tt="function"==typeof kt[Ze]?kt[Ze]():kt[Ze],mt=oi?Rt(Tt,Dt):Tt;return!1===Mt?mt.pipe((0,T.l)()):mt.pipe(function R(){return(0,I.e)((kt,Dt)=>{kt.subscribe((0,D.x)(Dt,Rt=>{Dt.next(S.createNext(Rt))},()=>{Dt.next(S.createComplete()),Dt.complete()},Rt=>{Dt.next(S.createError(Rt)),Dt.complete()}))})}()).pipe((0,F.U)(ee=>({effect:kt[Ze],notification:ee,propertyName:Ze,sourceName:Te,sourceInstance:kt})))});return(0,e.T)(...tt)}function V(kt,Dt,Rt=10){return kt.pipe((0,W.K)(pt=>(Dt&&Dt.handleError(pt),Rt<=1?kt:V(kt,Dt,Rt-1))))}let K=(()=>{class kt extends t.y{constructor(Rt){super(),Rt&&(this.source=Rt)}lift(Rt){const pt=new kt;return pt.source=this,pt.operator=Rt,pt}static#e=this.\u0275fac=function(pt){return new(pt||kt)(de.LFG(te.Y$))};static#t=this.\u0275prov=de.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();function se(...kt){return(0,Y.h)(Dt=>kt.some(Rt=>"string"==typeof Rt?Rt===Dt.type:Rt.type===Dt.type))}const Ye=new de.OlP("@ngrx/effects Internal Root Guard"),Oe=new de.OlP("@ngrx/effects User Provided Effects"),Qe=new de.OlP("@ngrx/effects Internal Root Effects"),be=new de.OlP("@ngrx/effects Internal Root Effects Instances"),ue=new de.OlP("@ngrx/effects Internal Feature Effects"),xe=new de.OlP("@ngrx/effects Internal Feature Effects Instance Groups"),Pe=new de.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>V}),oe="@ngrx/effects/init";(0,te.PH)(oe);function ve(kt){return De(kt,"ngrxOnInitEffects")}function De(kt,Dt){return kt&&Dt in kt&&"function"==typeof kt[Dt]}let xt=(()=>{class kt extends g.x{constructor(Rt,pt){super(),this.errorHandler=Rt,this.effectsErrorHandler=pt}addEffects(Rt){this.next(Rt)}toActions(){return this.pipe(J(Rt=>function L(kt){return!!kt.constructor&&"Object"!==kt.constructor.name&&"Function"!==kt.constructor.name}(Rt)?y(Rt):Rt),(0,ne.z)(Rt=>Rt.pipe(J(ct))),(0,ne.z)(Rt=>{const pt=Rt.pipe(X(Te=>function et(kt,Dt){return Rt=>{const pt=_(Rt,kt,Dt);return function Ve(kt){return De(kt,"ngrxOnRunEffects")}(Rt)?Rt.ngrxOnRunEffects(pt):pt}}(this.errorHandler,this.effectsErrorHandler)(Te)),(0,F.U)(Te=>(function we(kt,Dt){if("N"===kt.notification.kind){const Rt=kt.notification.value;!function le(kt){return"function"!=typeof kt&&kt&&kt.type&&"string"==typeof kt.type}(Rt)&&Dt.handleError(new Error(`Effect ${function ge({propertyName:kt,sourceInstance:Dt,sourceName:Rt}){const pt="function"==typeof Dt[kt];return Rt?`"${Rt}.${String(kt)}${pt?"()":""}"`:`"${String(kt)}()"`}(kt)} dispatched an invalid action: ${function fe(kt){try{return JSON.stringify(kt)}catch{return kt}}(Rt)}`))}}(Te,this.errorHandler),Te.notification)),(0,Y.h)(Te=>"N"===Te.kind&&null!=Te.value),function pe(){return(0,I.e)((kt,Dt)=>{kt.subscribe((0,D.x)(Dt,Rt=>M(Rt,Dt)))})}()),vt=Rt.pipe((0,ie.q)(1),(0,Y.h)(ve),(0,F.U)(Te=>Te.ngrxOnInitEffects()));return(0,e.T)(pt,vt)}))}static#e=this.\u0275fac=function(pt){return new(pt||kt)(de.LFG(de.qLn),de.LFG(Pe))};static#t=this.\u0275prov=de.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();function ct(kt){return function Le(kt){return De(kt,"ngrxOnIdentifyEffects")}(kt)?kt.ngrxOnIdentifyEffects():""}let Ct=(()=>{class kt{get isStarted(){return!!this.effectsSubscription}constructor(Rt,pt){this.effectSources=Rt,this.store=pt,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static#e=this.\u0275fac=function(pt){return new(pt||kt)(de.LFG(xt),de.LFG(te.yh))};static#t=this.\u0275prov=de.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),ke=(()=>{class kt{constructor(Rt,pt,vt,Te,tt,Ze,Mt){this.sources=Rt,pt.start();for(const oi of Te)Rt.addEffects(oi);vt.dispatch({type:oe})}addEffects(Rt){this.sources.addEffects(Rt)}static#e=this.\u0275fac=function(pt){return new(pt||kt)(de.LFG(xt),de.LFG(Ct),de.LFG(te.yh),de.LFG(be),de.LFG(te.cr,8),de.LFG(te.CK,8),de.LFG(Ye,8))};static#t=this.\u0275mod=de.oAB({type:kt});static#i=this.\u0275inj=de.cJS({})}return kt})(),ot=(()=>{class kt{constructor(Rt,pt,vt,Te){const tt=pt.flat();for(const Ze of tt)Rt.addEffects(Ze)}static#e=this.\u0275fac=function(pt){return new(pt||kt)(de.LFG(ke),de.LFG(xe),de.LFG(te.cr,8),de.LFG(te.CK,8))};static#t=this.\u0275mod=de.oAB({type:kt});static#i=this.\u0275inj=de.cJS({})}return kt})(),Je=(()=>{class kt{static forFeature(...Rt){const pt=Rt.flat(),vt=b(pt);return{ngModule:ot,providers:[vt,{provide:ue,multi:!0,useValue:pt},{provide:Oe,multi:!0,useValue:[]},{provide:xe,multi:!0,useFactory:re,deps:[ue,Oe]}]}}static forRoot(...Rt){const pt=Rt.flat(),vt=b(pt);return{ngModule:ke,providers:[vt,{provide:Qe,useValue:[pt]},{provide:Ye,useFactory:Be},{provide:Oe,multi:!0,useValue:[]},{provide:be,useFactory:re,deps:[Qe,Oe]}]}}static#e=this.\u0275fac=function(pt){return new(pt||kt)};static#t=this.\u0275mod=de.oAB({type:kt});static#i=this.\u0275inj=de.cJS({})}return kt})();function re(kt,Dt){const Rt=[];for(const pt of kt)Rt.push(...pt);for(const pt of Dt)Rt.push(...pt);return Rt.map(pt=>function n(kt){return kt instanceof de.OlP||O(kt)}(pt)?(0,de.f3M)(pt):pt)}function Be(){const kt=(0,de.f3M)(Ct,{optional:!0,skipSelf:!0}),Dt=(0,de.f3M)(Qe,{self:!0});if((1!==Dt.length||0!==Dt[0].length)&&kt)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},7632:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{FT:()=>StoreDevtoolsModule});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5879),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(4221),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6232),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5592),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2096),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(3019),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(2381),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(7328),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3020),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2181),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7398),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(6328),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(5178),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(3620),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(6306),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(8180),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(9773),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(4664),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(836),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(3093),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(2460),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(6699),_angular_core_rxjs_interop__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1993);const PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING";class PerformAction{constructor(q,p){if(this.action=q,this.timestamp=p,this.type=PERFORM_ACTION,typeof q.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Refresh{constructor(){this.type=REFRESH}}class Reset{constructor(q){this.timestamp=q,this.type=RESET}}class Rollback{constructor(q){this.timestamp=q,this.type=ROLLBACK}}class Commit{constructor(q){this.timestamp=q,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(q){this.id=q,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(q,p,e=!0){this.start=q,this.end=p,this.active=e,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(q){this.index=q,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(q){this.actionId=q,this.type=JUMP_TO_ACTION}}class ImportState{constructor(q){this.nextLiftedState=q,this.type=IMPORT_STATE}}class LockChanges{constructor(q){this.status=q,this.type=LOCK_CHANGES}}class PauseRecording{constructor(q){this.status=q,this.type=PAUSE_RECORDING}}class StoreDevtoolsConfig{constructor(){this.maxAge=!1}}const STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Initial Config");function noMonitor(){return null}const DEFAULT_NAME="NgRx Store DevTools";function createConfig(Ue){const q={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectOutsideZone:!1},p="function"==typeof Ue?Ue():Ue,t=p.features||!!p.logOnly&&{pause:!0,export:!0,test:!0}||q.features;!0===t.import&&(t.import="custom");const g=Object.assign({},q,{features:t},p);if(g.maxAge&&g.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${g.maxAge}`);return g}function difference(Ue,q){return Ue.filter(p=>q.indexOf(p)<0)}function unliftState(Ue){const{computedStates:q,currentStateIndex:p}=Ue;if(p>=q.length){const{state:t}=q[q.length-1];return t}const{state:e}=q[p];return e}function unliftAction(Ue){return Ue.actionsById[Ue.nextActionId-1]}function liftAction(Ue){return new PerformAction(Ue,+Date.now())}function sanitizeActions(Ue,q){return Object.keys(q).reduce((p,e)=>{const t=Number(e);return p[t]=sanitizeAction(Ue,q[t],t),p},{})}function sanitizeAction(Ue,q,p){return{...q,action:Ue(q.action,p)}}function sanitizeStates(Ue,q){return q.map((p,e)=>({state:sanitizeState(Ue,p.state,e),error:p.error}))}function sanitizeState(Ue,q,p){return Ue(q,p)}function shouldFilterActions(Ue){return Ue.predicate||Ue.actionsSafelist||Ue.actionsBlocklist}function filterLiftedState(Ue,q,p,e){const t=[],g={},T=[];return Ue.stagedActionIds.forEach((c,C)=>{const u=Ue.actionsById[c];u&&(C&&isActionFiltered(Ue.computedStates[C],u,q,p,e)||(g[c]=u,t.push(c),T.push(Ue.computedStates[C])))}),{...Ue,stagedActionIds:t,actionsById:g,computedStates:T}}function isActionFiltered(Ue,q,p,e,t){const g=p&&!p(Ue,q.action),T=e&&!q.action.type.match(e.map(C=>escapeRegExp(C)).join("|")),c=t&&q.action.type.match(t.map(C=>escapeRegExp(C)).join("|"));return g||T||c}function escapeRegExp(Ue){return Ue.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function injectZoneConfig(Ue){return{ngZone:Ue?(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.f3M)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.R0b):null,connectOutsideZone:Ue}}let DevtoolsDispatcher=(()=>{class Ue extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{static#e=this.\u0275fac=function(){let p;return function(t){return(p||(p=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(Ue)))(t||Ue)}}();static#t=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:Ue,factory:Ue.\u0275fac})}return Ue})();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(Ue,q,p){this.config=q,this.dispatcher=p,this.zoneConfig=injectZoneConfig(this.config.connectOutsideZone),this.devtoolsExtension=Ue,this.createActionStreams()}notify(Ue,q){if(this.devtoolsExtension)if(Ue.type===PERFORM_ACTION){if(q.isLocked||q.isPaused)return;const p=unliftState(q);if(shouldFilterActions(this.config)&&isActionFiltered(p,Ue,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const e=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,p,q.currentStateIndex):p,t=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,Ue,q.nextActionId):Ue;this.sendToReduxDevtools(()=>this.extensionConnection.send(t,e))}else{const p={...q,stagedActionIds:q.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,q.actionsById):q.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,q.computedStates):q.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,p,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(Ue=>{const q=this.zoneConfig.connectOutsideZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=q,q.init(),q.subscribe(p=>Ue.next(p)),q.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const Ue=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),q=Ue.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(c=>c.type===ExtensionActionTypes.START)),p=Ue.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(c=>c.type===ExtensionActionTypes.STOP)),e=Ue.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(c=>c.type===ExtensionActionTypes.DISPATCH),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(c=>this.unwrapAction(c.payload)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(c=>c.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)(()=>c),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.K)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(c)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(c))),g=Ue.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(c=>c.type===ExtensionActionTypes.ACTION),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(c=>this.unwrapAction(c.payload))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(p)),T=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(p));this.start$=q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(p)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>g)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>T))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(Ue){const q={name:Ue.name,features:Ue.features,serialize:Ue.serialize,autoPause:Ue.autoPause??!1,trace:Ue.trace??!1,traceLimit:Ue.traceLimit??75};return!1!==Ue.maxAge&&(q.maxAge=Ue.maxAge),q}sendToReduxDevtools(Ue){try{Ue()}catch(q){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",q)}}static#_=this.\u0275fac=function Ue(q){return new(q||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher))};static#_2=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac})}return DevtoolsExtension})();const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(Ue,q,p,e,t){if(e)return{state:p,error:"Interrupted by an error up the chain"};let T,g=p;try{g=Ue(p,q)}catch(c){T=c.toString(),t.handleError(c)}return{state:g,error:T}}function recomputeStates(Ue,q,p,e,t,g,T,c,C){if(q>=Ue.length&&Ue.length===g.length)return Ue;const u=Ue.slice(0,q),P=g.length-(C?1:0);for(let d=q;d<P;d++){const S=g[d],M=t[S].action,I=u[d-1],D=I?I.state:e,R=I?I.error:void 0,W=T.indexOf(S)>-1?I:computeNextEntry(p,M,D,R,c);u.push(W)}return C&&u.push(Ue[Ue.length-1]),u}function liftInitialState(Ue,q){return{monitorState:q(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:Ue,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(Ue,q,p,e,t={}){return g=>(T,c)=>{let{monitorState:C,actionsById:u,nextActionId:P,stagedActionIds:d,skippedActionIds:S,committedState:M,currentStateIndex:I,computedStates:D,isLocked:R,isPaused:F}=T||q;function W(J){let ne=J,X=d.slice(1,ne+1);for(let pe=0;pe<X.length;pe++){if(D[pe+1].error){ne=pe,X=d.slice(1,ne+1);break}delete u[X[pe]]}S=S.filter(pe=>-1===X.indexOf(pe)),d=[0,...d.slice(ne+1)],M=D[ne].state,D=D.slice(ne),I=I>ne?I-ne:0}function Y(){u={0:liftAction(INIT_ACTION)},P=1,d=[0],S=[],M=D[I].state,I=0,D=[]}T||(u=Object.create(u));let Q=0;switch(c.type){case LOCK_CHANGES:R=c.status,Q=1/0;break;case PAUSE_RECORDING:F=c.status,F?(d=[...d,P],u[P]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),P++,Q=d.length-1,D=D.concat(D[D.length-1]),I===d.length-2&&I++,Q=1/0):Y();break;case RESET:u={0:liftAction(INIT_ACTION)},P=1,d=[0],S=[],M=Ue,I=0,D=[];break;case COMMIT:Y();break;case ROLLBACK:u={0:liftAction(INIT_ACTION)},P=1,d=[0],S=[],I=0,D=[];break;case TOGGLE_ACTION:{const{id:J}=c;S=-1===S.indexOf(J)?[J,...S]:S.filter(X=>X!==J),Q=d.indexOf(J);break}case SET_ACTIONS_ACTIVE:{const{start:J,end:ne,active:X}=c,pe=[];for(let ie=J;ie<ne;ie++)pe.push(ie);S=X?difference(S,pe):[...S,...pe],Q=d.indexOf(J);break}case JUMP_TO_STATE:I=c.index,Q=1/0;break;case JUMP_TO_ACTION:{const J=d.indexOf(c.actionId);-1!==J&&(I=J),Q=1/0;break}case SWEEP:d=difference(d,S),S=[],I=Math.min(I,d.length-1);break;case PERFORM_ACTION:{if(R)return T||q;if(F||T&&isActionFiltered(T.computedStates[I],c,t.predicate,t.actionsSafelist,t.actionsBlocklist)){const ne=D[D.length-1];D=[...D.slice(0,-1),computeNextEntry(g,c.action,ne.state,ne.error,p)],Q=1/0;break}t.maxAge&&d.length===t.maxAge&&W(1),I===d.length-1&&I++;const J=P++;u[J]=c,d=[...d,J],Q=d.length-1;break}case IMPORT_STATE:({monitorState:C,actionsById:u,nextActionId:P,stagedActionIds:d,skippedActionIds:S,committedState:M,currentStateIndex:I,computedStates:D,isLocked:R,isPaused:F}=c.nextLiftedState);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg:Q=0,t.maxAge&&d.length>t.maxAge&&(D=recomputeStates(D,Q,g,M,u,d,S,p,F),W(d.length-t.maxAge),Q=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(D.filter(ne=>ne.error).length>0)Q=0,t.maxAge&&d.length>t.maxAge&&(D=recomputeStates(D,Q,g,M,u,d,S,p,F),W(d.length-t.maxAge),Q=1/0);else{if(!F&&!R){I===d.length-1&&I++;const ne=P++;u[ne]=new PerformAction(c,+Date.now()),d=[...d,ne],Q=d.length-1,D=recomputeStates(D,Q,g,M,u,d,S,p,F)}D=D.map(ne=>({...ne,state:g(ne.state,RECOMPUTE_ACTION)})),I=d.length-1,t.maxAge&&d.length>t.maxAge&&W(d.length-t.maxAge),Q=1/0}break;default:Q=1/0}return D=recomputeStates(D,Q,g,M,u,d,S,p,F),C=e(C,c),{monitorState:C,actionsById:u,nextActionId:P,stagedActionIds:d,skippedActionIds:S,committedState:M,currentStateIndex:I,computedStates:D,isLocked:R,isPaused:F}}}let StoreDevtools=(()=>{class Ue{constructor(p,e,t,g,T,c,C,u){const P=liftInitialState(C,u.monitor),d=liftReducerWith(C,P,c,u.monitor,u),S=(0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)(e.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.T)(1)),g.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),p,g.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.Q)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),M=t.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(d)),I=injectZoneConfig(u.connectOutsideZone),D=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1);this.liftedStateSubscription=S.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(M),emitInZone(I),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:W},[Y,Q])=>{let J=Q(W,Y);return Y.type!==PERFORM_ACTION&&shouldFilterActions(u)&&(J=filterLiftedState(J,u.predicate,u.actionsSafelist,u.actionsBlocklist)),g.notify(Y,J),{state:J,action:Y}},{state:P,action:null})).subscribe(({state:W,action:Y})=>{D.next(W),Y.type===PERFORM_ACTION&&T.next(Y.action)}),this.extensionStartSubscription=g.start$.pipe(emitInZone(I)).subscribe(()=>{this.refresh()});const R=D.asObservable(),F=R.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));Object.defineProperty(F,"state",{value:(0,_angular_core_rxjs_interop__WEBPACK_IMPORTED_MODULE_22__.O4)(F,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=p,this.liftedState=R,this.state=F}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(p){this.dispatcher.next(p)}next(p){this.dispatcher.next(p)}error(p){}complete(){}performAction(p){this.dispatch(new PerformAction(p,+Date.now()))}refresh(){this.dispatch(new Refresh)}reset(){this.dispatch(new Reset(+Date.now()))}rollback(){this.dispatch(new Rollback(+Date.now()))}commit(){this.dispatch(new Commit(+Date.now()))}sweep(){this.dispatch(new Sweep)}toggleAction(p){this.dispatch(new ToggleAction(p))}jumpToAction(p){this.dispatch(new JumpToAction(p))}jumpToState(p){this.dispatch(new JumpToState(p))}importState(p){this.dispatch(new ImportState(p))}lockChanges(p){this.dispatch(new LockChanges(p))}pauseRecording(p){this.dispatch(new PauseRecording(p))}static#e=this.\u0275fac=function(e){return new(e||Ue)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.n$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsExtension),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.qLn),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y6),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG))};static#t=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:Ue,factory:Ue.\u0275fac})}return Ue})();function emitInZone({ngZone:Ue,connectOutsideZone:q}){return p=>q?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(e=>p.subscribe({next:t=>Ue.run(()=>e.next(t)),error:t=>Ue.run(()=>e.error(t)),complete:()=>Ue.run(()=>e.complete())})):p}const IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(Ue,q){return!!Ue||q.monitor!==noMonitor}function createReduxDevtoolsExtension(){const Ue="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[Ue]<"u"?window[Ue]:null}function provideStoreDevtools(Ue={}){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.MR2)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:Ue},{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(Ue){return Ue.state}let StoreDevtoolsModule=(()=>{class Ue{static instrument(p={}){return{ngModule:Ue,providers:[provideStoreDevtools(p)]}}static#e=this.\u0275fac=function(e){return new(e||Ue)};static#t=this.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:Ue});static#i=this.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({})}return Ue})()},4221:(Ue,q,p)=>{"use strict";p.d(q,{UO:()=>ae,qg:()=>te,Y6:()=>m,mK:()=>Ne,n$:()=>Le,Y$:()=>De,FR:()=>ct,yh:()=>ot,CK:()=>Ur,Aw:()=>ga,cr:()=>La,wb:()=>Ve,PH:()=>F,ZF:()=>Kt,Lq:()=>Li,P1:()=>Lt,on:()=>sa,Ky:()=>W});var e=p(5879),t=p(5619),g=p(5592),T=p(8645),c=p(2381),C=p(3093),u=p(2460),P=p(6699),d=p(7398),M=p(3997),I=p(1993);const D={};function F(Gt,yi){if(D[Gt]=(D[Gt]||0)+1,"function"==typeof yi)return Q(Gt,(...wi)=>({...yi(...wi),type:Gt}));switch(yi?yi._as:"empty"){case"empty":return Q(Gt,()=>({type:Gt}));case"props":return Q(Gt,wi=>({...wi,type:Gt}));default:throw new Error("Unexpected config.")}}function W(){return{_as:"props",_p:void 0}}function Q(Gt,yi){return Object.defineProperty(yi,"type",{value:Gt,writable:!1})}const te="@ngrx/store/init";let ae=(()=>{class Gt extends t.X{constructor(){super({type:te})}next(gi){if("function"==typeof gi)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof gi>"u")throw new TypeError("Actions must be objects");if(typeof gi.type>"u")throw new TypeError("Actions must have a type property");super.next(gi)}complete(){}ngOnDestroy(){super.complete()}static#e=this.\u0275fac=function(wi){return new(wi||Gt)};static#t=this.\u0275prov=e.Yz7({token:Gt,factory:Gt.\u0275fac})}return Gt})();const E=[ae],i=new e.OlP("@ngrx/store Internal Root Guard"),o=new e.OlP("@ngrx/store Internal Initial State"),m=new e.OlP("@ngrx/store Initial State"),l=new e.OlP("@ngrx/store Reducer Factory"),y=new e.OlP("@ngrx/store Internal Reducer Factory Provider"),L=new e.OlP("@ngrx/store Initial Reducers"),O=new e.OlP("@ngrx/store Internal Initial Reducers"),b=new e.OlP("@ngrx/store Store Features"),n=new e.OlP("@ngrx/store Internal Store Reducers"),_=new e.OlP("@ngrx/store Internal Feature Reducers"),H=new e.OlP("@ngrx/store Internal Feature Configs"),V=new e.OlP("@ngrx/store Internal Store Features"),K=new e.OlP("@ngrx/store Internal Feature Reducers Token"),se=new e.OlP("@ngrx/store Feature Reducers"),Ye=new e.OlP("@ngrx/store User Provided Meta Reducers"),Oe=new e.OlP("@ngrx/store Meta Reducers"),Qe=new e.OlP("@ngrx/store Internal Resolved Meta Reducers"),be=new e.OlP("@ngrx/store User Runtime Checks Config"),ue=new e.OlP("@ngrx/store Internal User Runtime Checks Config"),xe=new e.OlP("@ngrx/store Internal Runtime Checks"),Pe=new e.OlP("@ngrx/store Check if Action types are unique");function we(Gt,yi={}){const gi=Object.keys(Gt),wi={};for(let Wi=0;Wi<gi.length;Wi++){const Tn=gi[Wi];"function"==typeof Gt[Tn]&&(wi[Tn]=Gt[Tn])}const Ni=Object.keys(wi);return function(Tn,Fn){Tn=void 0===Tn?yi:Tn;let Yn=!1;const _n={};for(let Cn=0;Cn<Ni.length;Cn++){const Qn=Ni[Cn],Nr=Tn[Qn],qa=(0,wi[Qn])(Nr,Fn);_n[Qn]=qa,Yn=Yn||qa!==Nr}return Yn?_n:Tn}}function ge(...Gt){return function(yi){if(0===Gt.length)return yi;const gi=Gt[Gt.length-1];return Gt.slice(0,-1).reduceRight((Ni,Wi)=>Wi(Ni),gi(yi))}}function fe(Gt,yi){return Array.isArray(yi)&&yi.length>0&&(Gt=ge.apply(null,[...yi,Gt])),(gi,wi)=>{const Ni=Gt(gi);return(Wi,Tn)=>Ni(Wi=void 0===Wi?wi:Wi,Tn)}}new e.OlP("@ngrx/store Root Store Provider"),new e.OlP("@ngrx/store Feature State Provider");class Le extends g.y{}class Ne extends ae{}const Ve="@ngrx/store/update-reducers";let at=(()=>{class Gt extends t.X{get currentReducers(){return this.reducers}constructor(gi,wi,Ni,Wi){super(Wi(Ni,wi)),this.dispatcher=gi,this.initialState=wi,this.reducers=Ni,this.reducerFactory=Wi}addFeature(gi){this.addFeatures([gi])}addFeatures(gi){const wi=gi.reduce((Ni,{reducers:Wi,reducerFactory:Tn,metaReducers:Fn,initialState:Yn,key:_n})=>{const Cn="function"==typeof Wi?function Ge(Gt){const yi=Array.isArray(Gt)&&Gt.length>0?ge(...Gt):gi=>gi;return(gi,wi)=>(gi=yi(gi),(Ni,Wi)=>gi(Ni=void 0===Ni?wi:Ni,Wi))}(Fn)(Wi,Yn):fe(Tn,Fn)(Wi,Yn);return Ni[_n]=Cn,Ni},{});this.addReducers(wi)}removeFeature(gi){this.removeFeatures([gi])}removeFeatures(gi){this.removeReducers(gi.map(wi=>wi.key))}addReducer(gi,wi){this.addReducers({[gi]:wi})}addReducers(gi){this.reducers={...this.reducers,...gi},this.updateReducers(Object.keys(gi))}removeReducer(gi){this.removeReducers([gi])}removeReducers(gi){gi.forEach(wi=>{this.reducers=function le(Gt,yi){return Object.keys(Gt).filter(gi=>gi!==yi).reduce((gi,wi)=>Object.assign(gi,{[wi]:Gt[wi]}),{})}(this.reducers,wi)}),this.updateReducers(gi)}updateReducers(gi){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Ve,features:gi})}ngOnDestroy(){this.complete()}static#e=this.\u0275fac=function(wi){return new(wi||Gt)(e.LFG(Ne),e.LFG(m),e.LFG(L),e.LFG(l))};static#t=this.\u0275prov=e.Yz7({token:Gt,factory:Gt.\u0275fac})}return Gt})();const ve=[at,{provide:Le,useExisting:at},{provide:Ne,useExisting:ae}];let De=(()=>{class Gt extends T.x{ngOnDestroy(){this.complete()}static#e=this.\u0275fac=function(){let gi;return function(Ni){return(gi||(gi=e.n5z(Gt)))(Ni||Gt)}}();static#t=this.\u0275prov=e.Yz7({token:Gt,factory:Gt.\u0275fac})}return Gt})();const xt=[De];class ct extends g.y{}let et=(()=>{class Gt extends t.X{static#e=this.INIT=te;constructor(gi,wi,Ni,Wi){super(Wi);const _n=gi.pipe((0,C.Q)(c.N)).pipe((0,u.M)(wi)).pipe((0,P.R)(Ct,{state:Wi}));this.stateSubscription=_n.subscribe(({state:Cn,action:Qn})=>{this.next(Cn),Ni.next(Qn)}),this.state=(0,I.O4)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static#t=this.\u0275fac=function(wi){return new(wi||Gt)(e.LFG(ae),e.LFG(Le),e.LFG(De),e.LFG(m))};static#i=this.\u0275prov=e.Yz7({token:Gt,factory:Gt.\u0275fac})}return Gt})();function Ct(Gt={state:void 0},[yi,gi]){const{state:wi}=Gt;return{state:gi(wi,yi),action:yi}}const ke=[et,{provide:ct,useExisting:et}];let ot=(()=>{class Gt extends g.y{constructor(gi,wi,Ni){super(),this.actionsObserver=wi,this.reducerManager=Ni,this.source=gi,this.state=gi.state}select(gi,...wi){return re.call(null,gi,...wi)(this)}selectSignal(gi,wi){return(0,e.Flj)(()=>gi(this.state()),{equal:wi?.equal||((Ni,Wi)=>Ni===Wi)})}lift(gi){const wi=new Gt(this,this.actionsObserver,this.reducerManager);return wi.operator=gi,wi}dispatch(gi){this.actionsObserver.next(gi)}next(gi){this.actionsObserver.next(gi)}error(gi){this.actionsObserver.error(gi)}complete(){this.actionsObserver.complete()}addReducer(gi,wi){this.reducerManager.addReducer(gi,wi)}removeReducer(gi){this.reducerManager.removeReducer(gi)}static#e=this.\u0275fac=function(wi){return new(wi||Gt)(e.LFG(ct),e.LFG(ae),e.LFG(at))};static#t=this.\u0275prov=e.Yz7({token:Gt,factory:Gt.\u0275fac})}return Gt})();const Je=[ot];function re(Gt,yi,...gi){return function(Ni){let Wi;if("string"==typeof Gt){const Tn=[yi,...gi].filter(Boolean);Wi=Ni.pipe(function S(...Gt){const yi=Gt.length;if(0===yi)throw new Error("list of properties cannot be empty.");return(0,d.U)(gi=>{let wi=gi;for(let Ni=0;Ni<yi;Ni++){const Wi=wi?.[Gt[Ni]];if(!(typeof Wi<"u"))return;wi=Wi}return wi})}(Gt,...Tn))}else{if("function"!=typeof Gt)throw new TypeError(`Unexpected type '${typeof Gt}' in select operator, expected 'string' or 'function'`);Wi=Ni.pipe((0,d.U)(Tn=>Gt(Tn,yi)))}return Wi.pipe((0,M.x)())}}const Be="https://ngrx.io/guide/store/configuration/runtime-checks";function Nt(Gt){return void 0===Gt}function Ke(Gt){return null===Gt}function yt(Gt){return Array.isArray(Gt)}function pt(Gt){return"object"==typeof Gt&&null!==Gt}function tt(Gt){return"function"==typeof Gt}let oi=!1;function he(Gt,yi){return Gt===yi}function At(Gt,yi=he,gi=he){let Wi,wi=null,Ni=null;return{memoized:function _n(){if(void 0!==Wi)return Wi.result;if(!wi)return Ni=Gt.apply(null,arguments),wi=arguments,Ni;if(!function ee(Gt,yi,gi){for(let wi=0;wi<Gt.length;wi++)if(!gi(Gt[wi],yi[wi]))return!0;return!1}(arguments,wi,yi))return Ni;const Cn=Gt.apply(null,arguments);return wi=arguments,gi(Ni,Cn)?Ni:(Ni=Cn,Cn)},reset:function Tn(){wi=null,Ni=null},setResult:function Fn(Cn=void 0){Wi={result:Cn}},clearResult:function Yn(){Wi=void 0}}}function Lt(...Gt){return function Zt(Gt,yi={stateFn:jt}){return function(...gi){let wi=gi;if(Array.isArray(wi[0])){const[Cn,...Qn]=wi;wi=[...Cn,...Qn]}else 1===wi.length&&function Xe(Gt){return!!Gt&&"object"==typeof Gt&&Object.values(Gt).every(yi=>"function"==typeof yi)}(wi[0])&&(wi=function Bt(Gt){const yi=Object.values(Gt),gi=Object.keys(Gt);return[...yi,(...Ni)=>gi.reduce((Wi,Tn,Fn)=>({...Wi,[Tn]:Ni[Fn]}),{})]}(wi[0]));const Ni=wi.slice(0,wi.length-1),Wi=wi[wi.length-1],Tn=Ni.filter(Cn=>Cn.release&&"function"==typeof Cn.release),Fn=Gt(function(...Cn){return Wi.apply(null,Cn)}),Yn=At(function(Cn,Qn){return yi.stateFn.apply(null,[Cn,Ni,Qn,Fn])});return Object.assign(Yn.memoized,{release:function _n(){Yn.reset(),Fn.reset(),Tn.forEach(Cn=>Cn.release())},projector:Fn.memoized,setResult:Yn.setResult,clearResult:Yn.clearResult})}}(At)(...Gt)}function jt(Gt,yi,gi,wi){if(void 0===gi){const Wi=yi.map(Tn=>Tn(Gt));return wi.memoized.apply(null,Wi)}const Ni=yi.map(Wi=>Wi(Gt,gi));return wi.memoized.apply(null,[...Ni,gi])}function Kt(Gt){return Lt(yi=>{const gi=yi[Gt];return!function mt(){return oi}()&&(0,e.X6Q)()&&!(Gt in yi)&&console.warn(`@ngrx/store: The feature name "${Gt}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${Gt}', ...) or StoreModule.forFeature('${Gt}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),gi},yi=>yi)}function si(Gt){return Gt instanceof e.OlP?(0,e.f3M)(Gt):Gt}function li(Gt,yi){return yi.map((gi,wi)=>{if(Gt[wi]instanceof e.OlP){const Ni=(0,e.f3M)(Gt[wi]);return{key:gi.key,reducerFactory:Ni.reducerFactory?Ni.reducerFactory:we,metaReducers:Ni.metaReducers?Ni.metaReducers:[],initialState:Ni.initialState}}return gi})}function xi(Gt){return Gt.map(yi=>yi instanceof e.OlP?(0,e.f3M)(yi):yi)}function Ut(Gt){return"function"==typeof Gt?Gt():Gt}function bt(Gt,yi){return Gt.concat(yi)}function $e(){if((0,e.f3M)(ot,{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 Et(Gt){Object.freeze(Gt);const yi=tt(Gt);return Object.getOwnPropertyNames(Gt).forEach(gi=>{if(!gi.startsWith("\u0275")&&function Mt(Gt,yi){return Object.prototype.hasOwnProperty.call(Gt,yi)}(Gt,gi)&&(!yi||"caller"!==gi&&"callee"!==gi&&"arguments"!==gi)){const wi=Gt[gi];(pt(wi)||tt(wi))&&!Object.isFrozen(wi)&&Et(wi)}}),Gt}function pi(Gt,yi=[]){return(Nt(Gt)||Ke(Gt))&&0===yi.length?{path:["root"],value:Gt}:Object.keys(Gt).reduce((wi,Ni)=>{if(wi)return wi;const Wi=Gt[Ni];return function Ze(Gt){return tt(Gt)&&Gt.hasOwnProperty("\u0275cmp")}(Wi)?wi:!(Nt(Wi)||Ke(Wi)||function Rt(Gt){return"number"==typeof Gt}(Wi)||function Dt(Gt){return"boolean"==typeof Gt}(Wi)||function kt(Gt){return"string"==typeof Gt}(Wi)||yt(Wi))&&(function Te(Gt){if(!function vt(Gt){return pt(Gt)&&!yt(Gt)}(Gt))return!1;const yi=Object.getPrototypeOf(Gt);return yi===Object.prototype||null===yi}(Wi)?pi(Wi,[...yi,Ni]):{path:[...yi,Ni],value:Wi})},!1)}function Si(Gt,yi){if(!1===Gt)return;const gi=Gt.path.join("."),wi=new Error(`Detected unserializable ${yi} at "${gi}". ${Be}#strict${yi}serializability`);throw wi.value=Gt.value,wi.unserializablePath=gi,wi}function Ri(Gt){return(0,e.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...Gt}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Ui({strictActionSerializability:Gt,strictStateSerializability:yi}){return gi=>Gt||yi?function qt(Gt,yi){return function(gi,wi){yi.action(wi)&&Si(pi(wi),"action");const Ni=Gt(gi,wi);return yi.state()&&Si(pi(Ni),"state"),Ni}}(gi,{action:wi=>Gt&&!cn(wi),state:()=>yi}):gi}function nn({strictActionImmutability:Gt,strictStateImmutability:yi}){return gi=>Gt||yi?function ut(Gt,yi){return function(gi,wi){const Ni=yi.action(wi)?Et(wi):wi,Wi=Gt(gi,Ni);return yi.state()?Et(Wi):Wi}}(gi,{action:wi=>Gt&&!cn(wi),state:()=>yi}):gi}function cn(Gt){return Gt.type.startsWith("@ngrx")}function Qi({strictActionWithinNgZone:Gt}){return yi=>Gt?function Fi(Gt,yi){return function(gi,wi){if(yi.action(wi)&&!e.R0b.isInAngularZone())throw new Error(`Action '${wi.type}' running outside NgZone. ${Be}#strictactionwithinngzone`);return Gt(gi,wi)}}(yi,{action:gi=>Gt&&!cn(gi)}):yi}function $t(Gt){return[{provide:ue,useValue:Gt},{provide:be,useFactory:Ee,deps:[ue]},{provide:xe,deps:[be],useFactory:Ri},{provide:Oe,multi:!0,deps:[xe],useFactory:nn},{provide:Oe,multi:!0,deps:[xe],useFactory:Ui},{provide:Oe,multi:!0,deps:[xe],useFactory:Qi}]}function Hi(){return[{provide:Pe,multi:!0,deps:[xe],useFactory:We}]}function Ee(Gt){return Gt}function We(Gt){if(!Gt.strictActionTypeUniqueness)return;const yi=Object.entries(D).filter(([,gi])=>gi>1).map(([gi])=>gi);if(yi.length)throw new Error(`Action types are registered more than once, ${yi.map(gi=>`"${gi}"`).join(", ")}. ${Be}#strictactiontypeuniqueness`)}function st(Gt={},yi={}){return[{provide:i,useFactory:$e},{provide:o,useValue:yi.initialState},{provide:m,useFactory:Ut,deps:[o]},{provide:O,useValue:Gt},{provide:n,useExisting:Gt instanceof e.OlP?Gt:O},{provide:L,deps:[O,[new e.tBr(n)]],useFactory:si},{provide:Ye,useValue:yi.metaReducers?yi.metaReducers:[]},{provide:Qe,deps:[Oe,Ye],useFactory:bt},{provide:y,useValue:yi.reducerFactory?yi.reducerFactory:we},{provide:l,deps:[y,Qe],useFactory:fe},E,ve,xt,ke,Je,$t(yi.runtimeChecks),Hi()]}function vr(Gt,yi,gi={}){return[{provide:H,multi:!0,useValue:Gt instanceof Object?{}:gi},{provide:b,multi:!0,useValue:{key:Gt instanceof Object?Gt.name:Gt,reducerFactory:gi instanceof e.OlP||!gi.reducerFactory?we:gi.reducerFactory,metaReducers:gi instanceof e.OlP||!gi.metaReducers?[]:gi.metaReducers,initialState:gi instanceof e.OlP||!gi.initialState?void 0:gi.initialState}},{provide:V,deps:[H,b],useFactory:li},{provide:_,multi:!0,useValue:Gt instanceof Object?Gt.reducer:yi},{provide:K,multi:!0,useExisting:yi instanceof e.OlP?yi:_},{provide:se,multi:!0,deps:[_,[new e.tBr(K)]],useFactory:xi},Hi()]}let La=(()=>{class Gt{constructor(gi,wi,Ni,Wi,Tn,Fn){}static#e=this.\u0275fac=function(wi){return new(wi||Gt)(e.LFG(ae),e.LFG(Le),e.LFG(De),e.LFG(ot),e.LFG(i,8),e.LFG(Pe,8))};static#t=this.\u0275mod=e.oAB({type:Gt});static#i=this.\u0275inj=e.cJS({})}return Gt})(),Ur=(()=>{class Gt{constructor(gi,wi,Ni,Wi,Tn){this.features=gi,this.featureReducers=wi,this.reducerManager=Ni;const Fn=gi.map((Yn,_n)=>{const Qn=wi.shift()[_n];return{...Yn,reducers:Qn,initialState:Ut(Yn.initialState)}});Ni.addFeatures(Fn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static#e=this.\u0275fac=function(wi){return new(wi||Gt)(e.LFG(V),e.LFG(se),e.LFG(at),e.LFG(La),e.LFG(Pe,8))};static#t=this.\u0275mod=e.oAB({type:Gt});static#i=this.\u0275inj=e.cJS({})}return Gt})(),ga=(()=>{class Gt{static forRoot(gi,wi){return{ngModule:La,providers:[...st(gi,wi)]}}static forFeature(gi,wi,Ni={}){return{ngModule:Ur,providers:[...vr(gi,wi,Ni)]}}static#e=this.\u0275fac=function(wi){return new(wi||Gt)};static#t=this.\u0275mod=e.oAB({type:Gt});static#i=this.\u0275inj=e.cJS({})}return Gt})();function sa(...Gt){return{reducer:Gt.pop(),types:Gt.map(wi=>wi.type)}}function Li(Gt,...yi){const gi=new Map;for(const wi of yi)for(const Ni of wi.types){const Wi=gi.get(Ni);gi.set(Ni,Wi?(Fn,Yn)=>wi.reducer(Wi(Fn,Yn),Yn):wi.reducer)}return function(wi=Gt,Ni){const Wi=gi.get(Ni.type);return Wi?Wi(wi,Ni):wi}}},25:(Ue,q,p)=>{"use strict";p.d(q,{H5:()=>A3,K$:()=>Du,a4:()=>z3});var e=p(5879),t=p(6814),g=p(7582),T=p(8484),c=p(2438),C=p(3620),u=p(6825);function P(){}function d(f){return null==f?P:function(){return this.querySelector(f)}}function I(){return[]}function D(f){return null==f?I:function(){return this.querySelectorAll(f)}}function W(f){return function(){return this.matches(f)}}function Y(f){return function(A){return A.matches(f)}}var Q=Array.prototype.find;function ne(){return this.firstElementChild}var pe=Array.prototype.filter;function ie(){return Array.from(this.children)}function E(f){return new Array(f.length)}function o(f,A){this.ownerDocument=f.ownerDocument,this.namespaceURI=f.namespaceURI,this._next=null,this._parent=f,this.__data__=A}function l(f,A,s,x,B,j){for(var it,Ae=0,Qt=A.length,Yt=j.length;Ae<Yt;++Ae)(it=A[Ae])?(it.__data__=j[Ae],x[Ae]=it):s[Ae]=new o(f,j[Ae]);for(;Ae<Qt;++Ae)(it=A[Ae])&&(B[Ae]=it)}function y(f,A,s,x,B,j,Ae){var it,Qt,Di,Yt=new Map,hi=A.length,vi=j.length,Mi=new Array(hi);for(it=0;it<hi;++it)(Qt=A[it])&&(Mi[it]=Di=Ae.call(Qt,Qt.__data__,it,A)+"",Yt.has(Di)?B[it]=Qt:Yt.set(Di,Qt));for(it=0;it<vi;++it)Di=Ae.call(f,j[it],it,j)+"",(Qt=Yt.get(Di))?(x[it]=Qt,Qt.__data__=j[it],Yt.delete(Di)):s[it]=new o(f,j[it]);for(it=0;it<hi;++it)(Qt=A[it])&&Yt.get(Mi[it])===Qt&&(B[it]=Qt)}function L(f){return f.__data__}function b(f){return"object"==typeof f&&"length"in f?f:Array.from(f)}function se(f,A){return f<A?-1:f>A?1:f>=A?0:NaN}o.prototype={constructor:o,appendChild:function(f){return this._parent.insertBefore(f,this._next)},insertBefore:function(f,A){return this._parent.insertBefore(f,A)},querySelector:function(f){return this._parent.querySelector(f)},querySelectorAll:function(f){return this._parent.querySelectorAll(f)}};var Pe="http://www.w3.org/1999/xhtml";const oe={svg:"http://www.w3.org/2000/svg",xhtml:Pe,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ze(f){var A=f+="",s=A.indexOf(":");return s>=0&&"xmlns"!==(A=f.slice(0,s))&&(f=f.slice(s+1)),oe.hasOwnProperty(A)?{space:oe[A],local:f}:f}function we(f){return function(){this.removeAttribute(f)}}function le(f){return function(){this.removeAttributeNS(f.space,f.local)}}function ge(f,A){return function(){this.setAttribute(f,A)}}function fe(f,A){return function(){this.setAttributeNS(f.space,f.local,A)}}function Ge(f,A){return function(){var s=A.apply(this,arguments);null==s?this.removeAttribute(f):this.setAttribute(f,s)}}function Le(f,A){return function(){var s=A.apply(this,arguments);null==s?this.removeAttributeNS(f.space,f.local):this.setAttributeNS(f.space,f.local,s)}}function Ve(f){return f.ownerDocument&&f.ownerDocument.defaultView||f.document&&f||f.defaultView}function at(f){return function(){this.style.removeProperty(f)}}function ve(f,A,s){return function(){this.style.setProperty(f,A,s)}}function De(f,A,s){return function(){var x=A.apply(this,arguments);null==x?this.style.removeProperty(f):this.style.setProperty(f,x,s)}}function ct(f,A){return f.style.getPropertyValue(A)||Ve(f).getComputedStyle(f,null).getPropertyValue(A)}function et(f){return function(){delete this[f]}}function Ct(f,A){return function(){this[f]=A}}function ke(f,A){return function(){var s=A.apply(this,arguments);null==s?delete this[f]:this[f]=s}}function Je(f){return f.trim().split(/^|\s+/)}function re(f){return f.classList||new Be(f)}function Be(f){this._node=f,this._names=Je(f.getAttribute("class")||"")}function Nt(f,A){for(var s=re(f),x=-1,B=A.length;++x<B;)s.add(A[x])}function Ke(f,A){for(var s=re(f),x=-1,B=A.length;++x<B;)s.remove(A[x])}function yt(f){return function(){Nt(this,f)}}function kt(f){return function(){Ke(this,f)}}function Dt(f,A){return function(){(A.apply(this,arguments)?Nt:Ke)(this,f)}}function pt(){this.textContent=""}function vt(f){return function(){this.textContent=f}}function Te(f){return function(){var A=f.apply(this,arguments);this.textContent=A??""}}function Ze(){this.innerHTML=""}function Mt(f){return function(){this.innerHTML=f}}function oi(f){return function(){var A=f.apply(this,arguments);this.innerHTML=A??""}}function mt(){this.nextSibling&&this.parentNode.appendChild(this)}function ee(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function At(f){return function(){var A=this.ownerDocument,s=this.namespaceURI;return s===Pe&&A.documentElement.namespaceURI===Pe?A.createElement(f):A.createElementNS(s,f)}}function Lt(f){return function(){return this.ownerDocument.createElementNS(f.space,f.local)}}function jt(f){var A=ze(f);return(A.local?Lt:At)(A)}function Kt(){return null}function Bt(){var f=this.parentNode;f&&f.removeChild(this)}function nt(){var f=this.cloneNode(!1),A=this.parentNode;return A?A.insertBefore(f,this.nextSibling):f}function Wt(){var f=this.cloneNode(!0),A=this.parentNode;return A?A.insertBefore(f,this.nextSibling):f}function bt(f){return function(){var A=this.__on;if(A){for(var j,s=0,x=-1,B=A.length;s<B;++s)j=A[s],f.type&&j.type!==f.type||j.name!==f.name?A[++x]=j:this.removeEventListener(j.type,j.listener,j.options);++x?A.length=x:delete this.__on}}}function $e(f,A,s){return function(){var B,x=this.__on,j=function xi(f){return function(A){f.call(this,A,this.__data__)}}(A);if(x)for(var Ae=0,it=x.length;Ae<it;++Ae)if((B=x[Ae]).type===f.type&&B.name===f.name)return this.removeEventListener(B.type,B.listener,B.options),this.addEventListener(B.type,B.listener=j,B.options=s),void(B.value=A);this.addEventListener(f.type,j,s),B={type:f.type,name:f.name,value:A,listener:j,options:s},x?x.push(B):this.__on=[B]}}function Et(f,A,s){var x=Ve(f),B=x.CustomEvent;"function"==typeof B?B=new B(A,s):(B=x.document.createEvent("Event"),s?(B.initEvent(A,s.bubbles,s.cancelable),B.detail=s.detail):B.initEvent(A,!1,!1)),f.dispatchEvent(B)}function qt(f,A){return function(){return Et(this,f,A)}}function pi(f,A){return function(){return Et(this,f,A.apply(this,arguments))}}Be.prototype={add:function(f){this._names.indexOf(f)<0&&(this._names.push(f),this._node.setAttribute("class",this._names.join(" ")))},remove:function(f){var A=this._names.indexOf(f);A>=0&&(this._names.splice(A,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(f){return this._names.indexOf(f)>=0}};var Ri=[null];function Ui(f,A){this._groups=f,this._parents=A}function nn(){return new Ui([[document.documentElement]],Ri)}Ui.prototype=nn.prototype={constructor:Ui,select:function S(f){"function"!=typeof f&&(f=d(f));for(var A=this._groups,s=A.length,x=new Array(s),B=0;B<s;++B)for(var Qt,Yt,j=A[B],Ae=j.length,it=x[B]=new Array(Ae),hi=0;hi<Ae;++hi)(Qt=j[hi])&&(Yt=f.call(Qt,Qt.__data__,hi,j))&&("__data__"in Qt&&(Yt.__data__=Qt.__data__),it[hi]=Yt);return new Ui(x,this._parents)},selectAll:function F(f){f="function"==typeof f?function R(f){return function(){return function M(f){return null==f?[]:Array.isArray(f)?f:Array.from(f)}(f.apply(this,arguments))}}(f):D(f);for(var A=this._groups,s=A.length,x=[],B=[],j=0;j<s;++j)for(var Qt,Ae=A[j],it=Ae.length,Yt=0;Yt<it;++Yt)(Qt=Ae[Yt])&&(x.push(f.call(Qt,Qt.__data__,Yt,Ae)),B.push(Qt));return new Ui(x,B)},selectChild:function X(f){return this.select(null==f?ne:function J(f){return function(){return Q.call(this.children,f)}}("function"==typeof f?f:Y(f)))},selectChildren:function te(f){return this.selectAll(null==f?ie:function de(f){return function(){return pe.call(this.children,f)}}("function"==typeof f?f:Y(f)))},filter:function ae(f){"function"!=typeof f&&(f=W(f));for(var A=this._groups,s=A.length,x=new Array(s),B=0;B<s;++B)for(var Qt,j=A[B],Ae=j.length,it=x[B]=[],Yt=0;Yt<Ae;++Yt)(Qt=j[Yt])&&f.call(Qt,Qt.__data__,Yt,j)&&it.push(Qt);return new Ui(x,this._parents)},data:function O(f,A){if(!arguments.length)return Array.from(this,L);var s=A?y:l,x=this._parents,B=this._groups;"function"!=typeof f&&(f=function m(f){return function(){return f}}(f));for(var j=B.length,Ae=new Array(j),it=new Array(j),Qt=new Array(j),Yt=0;Yt<j;++Yt){var hi=x[Yt],vi=B[Yt],Mi=vi.length,Di=b(f.call(hi,hi&&hi.__data__,Yt,x)),tn=Di.length,gn=it[Yt]=new Array(tn),ki=Ae[Yt]=new Array(tn);s(hi,vi,gn,ki,Qt[Yt]=new Array(Mi),Di,A);for(var Kn,Wn,Nn=0,hn=0;Nn<tn;++Nn)if(Kn=gn[Nn]){for(Nn>=hn&&(hn=Nn+1);!(Wn=ki[hn])&&++hn<tn;);Kn._next=Wn||null}}return(Ae=new Ui(Ae,x))._enter=it,Ae._exit=Qt,Ae},enter:function i(){return new Ui(this._enter||this._groups.map(E),this._parents)},exit:function n(){return new Ui(this._exit||this._groups.map(E),this._parents)},join:function _(f,A,s){var x=this.enter(),B=this,j=this.exit();return"function"==typeof f?(x=f(x))&&(x=x.selection()):x=x.append(f+""),null!=A&&(B=A(B))&&(B=B.selection()),null==s?j.remove():s(j),x&&B?x.merge(B).order():B},merge:function H(f){for(var A=f.selection?f.selection():f,s=this._groups,x=A._groups,B=s.length,Ae=Math.min(B,x.length),it=new Array(B),Qt=0;Qt<Ae;++Qt)for(var Di,Yt=s[Qt],hi=x[Qt],vi=Yt.length,Mi=it[Qt]=new Array(vi),tn=0;tn<vi;++tn)(Di=Yt[tn]||hi[tn])&&(Mi[tn]=Di);for(;Qt<B;++Qt)it[Qt]=s[Qt];return new Ui(it,this._parents)},selection:function cn(){return this},order:function V(){for(var f=this._groups,A=-1,s=f.length;++A<s;)for(var Ae,x=f[A],B=x.length-1,j=x[B];--B>=0;)(Ae=x[B])&&(j&&4^Ae.compareDocumentPosition(j)&&j.parentNode.insertBefore(Ae,j),j=Ae);return this},sort:function K(f){function A(vi,Mi){return vi&&Mi?f(vi.__data__,Mi.__data__):!vi-!Mi}f||(f=se);for(var s=this._groups,x=s.length,B=new Array(x),j=0;j<x;++j){for(var Yt,Ae=s[j],it=Ae.length,Qt=B[j]=new Array(it),hi=0;hi<it;++hi)(Yt=Ae[hi])&&(Qt[hi]=Yt);Qt.sort(A)}return new Ui(B,this._parents).order()},call:function Ye(){var f=arguments[0];return arguments[0]=this,f.apply(null,arguments),this},nodes:function Oe(){return Array.from(this)},node:function Qe(){for(var f=this._groups,A=0,s=f.length;A<s;++A)for(var x=f[A],B=0,j=x.length;B<j;++B){var Ae=x[B];if(Ae)return Ae}return null},size:function be(){let f=0;for(const A of this)++f;return f},empty:function ue(){return!this.node()},each:function xe(f){for(var A=this._groups,s=0,x=A.length;s<x;++s)for(var it,B=A[s],j=0,Ae=B.length;j<Ae;++j)(it=B[j])&&f.call(it,it.__data__,j,B);return this},attr:function Ne(f,A){var s=ze(f);if(arguments.length<2){var x=this.node();return s.local?x.getAttributeNS(s.space,s.local):x.getAttribute(s)}return this.each((null==A?s.local?le:we:"function"==typeof A?s.local?Le:Ge:s.local?fe:ge)(s,A))},style:function xt(f,A,s){return arguments.length>1?this.each((null==A?at:"function"==typeof A?De:ve)(f,A,s??"")):ct(this.node(),f)},property:function ot(f,A){return arguments.length>1?this.each((null==A?et:"function"==typeof A?ke:Ct)(f,A)):this.node()[f]},classed:function Rt(f,A){var s=Je(f+"");if(arguments.length<2){for(var x=re(this.node()),B=-1,j=s.length;++B<j;)if(!x.contains(s[B]))return!1;return!0}return this.each(("function"==typeof A?Dt:A?yt:kt)(s,A))},text:function tt(f){return arguments.length?this.each(null==f?pt:("function"==typeof f?Te:vt)(f)):this.node().textContent},html:function Tt(f){return arguments.length?this.each(null==f?Ze:("function"==typeof f?oi:Mt)(f)):this.node().innerHTML},raise:function he(){return this.each(mt)},lower:function Ce(){return this.each(ee)},append:function Zt(f){var A="function"==typeof f?f:jt(f);return this.select(function(){return this.appendChild(A.apply(this,arguments))})},insert:function Xe(f,A){var s="function"==typeof f?f:jt(f),x=null==A?Kt:"function"==typeof A?A:d(A);return this.select(function(){return this.insertBefore(s.apply(this,arguments),x.apply(this,arguments)||null)})},remove:function qe(){return this.each(Bt)},clone:function si(f){return this.select(f?Wt:nt)},datum:function li(f){return arguments.length?this.property("__data__",f):this.node().__data__},on:function ut(f,A,s){var B,Ae,x=function Ut(f){return f.trim().split(/^|\s+/).map(function(A){var s="",x=A.indexOf(".");return x>=0&&(s=A.slice(x+1),A=A.slice(0,x)),{type:A,name:s}})}(f+""),j=x.length;if(!(arguments.length<2)){for(it=A?$e:bt,B=0;B<j;++B)this.each(it(x[B],A,s));return this}var it=this.node().__on;if(it)for(var hi,Qt=0,Yt=it.length;Qt<Yt;++Qt)for(B=0,hi=it[Qt];B<j;++B)if((Ae=x[B]).type===hi.type&&Ae.name===hi.name)return hi.value},dispatch:function Si(f,A){return this.each(("function"==typeof A?pi:qt)(f,A))},[Symbol.iterator]:function*Fi(){for(var f=this._groups,A=0,s=f.length;A<s;++A)for(var Ae,x=f[A],B=0,j=x.length;B<j;++B)(Ae=x[B])&&(yield Ae)}};const Qi=nn;var Hi={value:()=>{}};function Ee(){for(var x,f=0,A=arguments.length,s={};f<A;++f){if(!(x=arguments[f]+"")||x in s||/[\s.]/.test(x))throw new Error("illegal type: "+x);s[x]=[]}return new We(s)}function We(f){this._=f}function st(f,A){for(var B,s=0,x=f.length;s<x;++s)if((B=f[s]).name===A)return B.value}function Jt(f,A,s){for(var x=0,B=f.length;x<B;++x)if(f[x].name===A){f[x]=Hi,f=f.slice(0,x).concat(f.slice(x+1));break}return null!=s&&f.push({name:A,value:s}),f}We.prototype=Ee.prototype={constructor:We,on:function(f,A){var B,s=this._,x=function rt(f,A){return f.trim().split(/^|\s+/).map(function(s){var x="",B=s.indexOf(".");if(B>=0&&(x=s.slice(B+1),s=s.slice(0,B)),s&&!A.hasOwnProperty(s))throw new Error("unknown type: "+s);return{type:s,name:x}})}(f+"",s),j=-1,Ae=x.length;if(!(arguments.length<2)){if(null!=A&&"function"!=typeof A)throw new Error("invalid callback: "+A);for(;++j<Ae;)if(B=(f=x[j]).type)s[B]=Jt(s[B],f.name,A);else if(null==A)for(B in s)s[B]=Jt(s[B],f.name,null);return this}for(;++j<Ae;)if((B=(f=x[j]).type)&&(B=st(s[B],f.name)))return B},copy:function(){var f={},A=this._;for(var s in A)f[s]=A[s].slice();return new We(f)},call:function(f,A){if((B=arguments.length-2)>0)for(var B,j,s=new Array(B),x=0;x<B;++x)s[x]=arguments[x+2];if(!this._.hasOwnProperty(f))throw new Error("unknown type: "+f);for(x=0,B=(j=this._[f]).length;x<B;++x)j[x].value.apply(A,s)},apply:function(f,A,s){if(!this._.hasOwnProperty(f))throw new Error("unknown type: "+f);for(var x=this._[f],B=0,j=x.length;B<j;++B)x[B].value.apply(A,s)}};const ui=Ee;function ga(f,A,s){f.prototype=A.prototype=s,s.constructor=f}function sa(f,A){var s=Object.create(f.prototype);for(var x in A)s[x]=A[x];return s}function Li(){}var yi=1/.7,gi="\\s*([+-]?\\d+)\\s*",wi="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ni="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Wi=/^#([0-9a-f]{3,8})$/,Tn=new RegExp(`^rgb\\(${gi},${gi},${gi}\\)$`),Fn=new RegExp(`^rgb\\(${Ni},${Ni},${Ni}\\)$`),Yn=new RegExp(`^rgba\\(${gi},${gi},${gi},${wi}\\)$`),_n=new RegExp(`^rgba\\(${Ni},${Ni},${Ni},${wi}\\)$`),Cn=new RegExp(`^hsl\\(${wi},${Ni},${Ni}\\)$`),Qn=new RegExp(`^hsla\\(${wi},${Ni},${Ni},${wi}\\)$`),br={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 Nr(){return this.rgb().formatHex()}function Gr(){return this.rgb().formatRgb()}function Dr(f){var A,s;return f=(f+"").trim().toLowerCase(),(A=Wi.exec(f))?(s=A[1].length,A=parseInt(A[1],16),6===s?Xa(A):3===s?new zn(A>>8&15|A>>4&240,A>>4&15|240&A,(15&A)<<4|15&A,1):8===s?tr(A>>24&255,A>>16&255,A>>8&255,(255&A)/255):4===s?tr(A>>12&15|A>>8&240,A>>8&15|A>>4&240,A>>4&15|240&A,((15&A)<<4|15&A)/255):null):(A=Tn.exec(f))?new zn(A[1],A[2],A[3],1):(A=Fn.exec(f))?new zn(255*A[1]/100,255*A[2]/100,255*A[3]/100,1):(A=Yn.exec(f))?tr(A[1],A[2],A[3],A[4]):(A=_n.exec(f))?tr(255*A[1]/100,255*A[2]/100,255*A[3]/100,A[4]):(A=Cn.exec(f))?Sr(A[1],A[2]/100,A[3]/100,1):(A=Qn.exec(f))?Sr(A[1],A[2]/100,A[3]/100,A[4]):br.hasOwnProperty(f)?Xa(br[f]):"transparent"===f?new zn(NaN,NaN,NaN,0):null}function Xa(f){return new zn(f>>16&255,f>>8&255,255&f,1)}function tr(f,A,s,x){return x<=0&&(f=A=s=NaN),new zn(f,A,s,x)}function vn(f,A,s,x){return 1===arguments.length?function rn(f){return f instanceof Li||(f=Dr(f)),f?new zn((f=f.rgb()).r,f.g,f.b,f.opacity):new zn}(f):new zn(f,A,s,x??1)}function zn(f,A,s,x){this.r=+f,this.g=+A,this.b=+s,this.opacity=+x}function er(){return`#${Rr(this.r)}${Rr(this.g)}${Rr(this.b)}`}function yr(){const f=_a(this.opacity);return`${1===f?"rgb(":"rgba("}${or(this.r)}, ${or(this.g)}, ${or(this.b)}${1===f?")":`, ${f})`}`}function _a(f){return isNaN(f)?1:Math.max(0,Math.min(1,f))}function or(f){return Math.max(0,Math.min(255,Math.round(f)||0))}function Rr(f){return((f=or(f))<16?"0":"")+f.toString(16)}function Sr(f,A,s,x){return x<=0?f=A=s=NaN:s<=0||s>=1?f=A=NaN:A<=0&&(f=NaN),new Lr(f,A,s,x)}function yn(f){if(f instanceof Lr)return new Lr(f.h,f.s,f.l,f.opacity);if(f instanceof Li||(f=Dr(f)),!f)return new Lr;if(f instanceof Lr)return f;var A=(f=f.rgb()).r/255,s=f.g/255,x=f.b/255,B=Math.min(A,s,x),j=Math.max(A,s,x),Ae=NaN,it=j-B,Qt=(j+B)/2;return it?(Ae=A===j?(s-x)/it+6*(s<x):s===j?(x-A)/it+2:(A-s)/it+4,it/=Qt<.5?j+B:2-j-B,Ae*=60):it=Qt>0&&Qt<1?0:Ae,new Lr(Ae,it,Qt,f.opacity)}function Lr(f,A,s,x){this.h=+f,this.s=+A,this.l=+s,this.opacity=+x}function Ia(f){return(f=(f||0)%360)<0?f+360:f}function lr(f){return Math.max(0,Math.min(1,f||0))}function Hr(f,A,s){return 255*(f<60?A+(s-A)*f/60:f<180?s:f<240?A+(s-A)*(240-f)/60:A)}function Ya(f,A,s,x,B){var j=f*f,Ae=j*f;return((1-3*f+3*j-Ae)*A+(4-6*j+3*Ae)*s+(1+3*f+3*j-3*Ae)*x+Ae*B)/6}ga(Li,Dr,{copy(f){return Object.assign(new this.constructor,this,f)},displayable(){return this.rgb().displayable()},hex:Nr,formatHex:Nr,formatHex8:function qa(){return this.rgb().formatHex8()},formatHsl:function Ja(){return yn(this).formatHsl()},formatRgb:Gr,toString:Gr}),ga(zn,vn,sa(Li,{brighter(f){return f=null==f?yi:Math.pow(yi,f),new zn(this.r*f,this.g*f,this.b*f,this.opacity)},darker(f){return f=null==f?.7:Math.pow(.7,f),new zn(this.r*f,this.g*f,this.b*f,this.opacity)},rgb(){return this},clamp(){return new zn(or(this.r),or(this.g),or(this.b),_a(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:er,formatHex:er,formatHex8:function Wa(){return`#${Rr(this.r)}${Rr(this.g)}${Rr(this.b)}${Rr(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:yr,toString:yr})),ga(Lr,function qr(f,A,s,x){return 1===arguments.length?yn(f):new Lr(f,A,s,x??1)},sa(Li,{brighter(f){return f=null==f?yi:Math.pow(yi,f),new Lr(this.h,this.s,this.l*f,this.opacity)},darker(f){return f=null==f?.7:Math.pow(.7,f),new Lr(this.h,this.s,this.l*f,this.opacity)},rgb(){var f=this.h%360+360*(this.h<0),A=isNaN(f)||isNaN(this.s)?0:this.s,s=this.l,x=s+(s<.5?s:1-s)*A,B=2*s-x;return new zn(Hr(f>=240?f-240:f+120,B,x),Hr(f,B,x),Hr(f<120?f+240:f-120,B,x),this.opacity)},clamp(){return new Lr(Ia(this.h),lr(this.s),lr(this.l),_a(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const f=_a(this.opacity);return`${1===f?"hsl(":"hsla("}${Ia(this.h)}, ${100*lr(this.s)}%, ${100*lr(this.l)}%${1===f?")":`, ${f})`}`}}));const $a=f=>()=>f;function Dn(f,A){var s=A-f;return s?function va(f,A){return function(s){return f+s*A}}(f,s):$a(isNaN(f)?A:f)}const Wr=function f(A){var s=function xr(f){return 1==(f=+f)?Dn:function(A,s){return s-A?function la(f,A,s){return f=Math.pow(f,s),A=Math.pow(A,s)-f,s=1/s,function(x){return Math.pow(f+x*A,s)}}(A,s,f):$a(isNaN(A)?s:A)}}(A);function x(B,j){var Ae=s((B=vn(B)).r,(j=vn(j)).r),it=s(B.g,j.g),Qt=s(B.b,j.b),Yt=Dn(B.opacity,j.opacity);return function(hi){return B.r=Ae(hi),B.g=it(hi),B.b=Qt(hi),B.opacity=Yt(hi),B+""}}return x.gamma=f,x}(1);function ro(f){return function(A){var Ae,it,s=A.length,x=new Array(s),B=new Array(s),j=new Array(s);for(Ae=0;Ae<s;++Ae)it=vn(A[Ae]),x[Ae]=it.r||0,B[Ae]=it.g||0,j[Ae]=it.b||0;return x=f(x),B=f(B),j=f(j),it.opacity=1,function(Qt){return it.r=x(Qt),it.g=B(Qt),it.b=j(Qt),it+""}}}function ya(f,A){var Ae,s=A?A.length:0,x=f?Math.min(s,f.length):0,B=new Array(x),j=new Array(s);for(Ae=0;Ae<x;++Ae)B[Ae]=Oi(f[Ae],A[Ae]);for(;Ae<s;++Ae)j[Ae]=A[Ae];return function(it){for(Ae=0;Ae<x;++Ae)j[Ae]=B[Ae](it);return j}}function xa(f,A){var s=new Date;return f=+f,A=+A,function(x){return s.setTime(f*(1-x)+A*x),s}}function qn(f,A){return f=+f,A=+A,function(s){return f*(1-s)+A*s}}function es(f,A){var B,s={},x={};for(B in(null===f||"object"!=typeof f)&&(f={}),(null===A||"object"!=typeof A)&&(A={}),A)B in f?s[B]=Oi(f[B],A[B]):x[B]=A[B];return function(j){for(B in s)x[B]=s[B](j);return x}}ro(function Zr(f){var A=f.length-1;return function(s){var x=s<=0?s=0:s>=1?(s=1,A-1):Math.floor(s*A),B=f[x],j=f[x+1];return Ya((s-x/A)*A,x>0?f[x-1]:2*B-j,B,j,x<A-1?f[x+2]:2*j-B)}}),ro(function ca(f){var A=f.length;return function(s){var x=Math.floor(((s%=1)<0?++s:s)*A);return Ya((s-x/A)*A,f[(x+A-1)%A],f[x%A],f[(x+1)%A],f[(x+2)%A])}});var Fr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ur=new RegExp(Fr.source,"g");function Ai(f,A){var x,B,j,s=Fr.lastIndex=ur.lastIndex=0,Ae=-1,it=[],Qt=[];for(f+="",A+="";(x=Fr.exec(f))&&(B=ur.exec(A));)(j=B.index)>s&&(j=A.slice(s,j),it[Ae]?it[Ae]+=j:it[++Ae]=j),(x=x[0])===(B=B[0])?it[Ae]?it[Ae]+=B:it[++Ae]=B:(it[++Ae]=null,Qt.push({i:Ae,x:qn(x,B)})),s=ur.lastIndex;return s<A.length&&(j=A.slice(s),it[Ae]?it[Ae]+=j:it[++Ae]=j),it.length<2?Qt[0]?function It(f){return function(A){return f(A)+""}}(Qt[0].x):function ka(f){return function(){return f}}(A):(A=Qt.length,function(Yt){for(var vi,hi=0;hi<A;++hi)it[(vi=Qt[hi]).i]=vi.x(Yt);return it.join("")})}function St(f,A){A||(A=[]);var B,s=f?Math.min(A.length,f.length):0,x=A.slice();return function(j){for(B=0;B<s;++B)x[B]=f[B]*(1-j)+A[B]*j;return x}}function Oi(f,A){var x,s=typeof A;return null==A||"boolean"===s?$a(A):("number"===s?qn:"string"===s?(x=Dr(A))?(A=x,Wr):Ai:A instanceof Dr?Wr:A instanceof Date?xa:function ai(f){return ArrayBuffer.isView(f)&&!(f instanceof DataView)}(A)?St:Array.isArray(A)?ya:"function"!=typeof A.valueOf&&"function"!=typeof A.toString||isNaN(A)?es:qn)(f,A)}var je,Ft,Er=0,Jr=0,gt=0,wt=1e3,ri=0,on=0,Vn=0,ha="object"==typeof performance&&performance.now?performance:Date,Vo="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(f){setTimeout(f,17)};function ts(){return on||(Vo(Fl),on=ha.now()+Vn)}function Fl(){on=0}function Gs(){this._call=this._time=this._next=null}function Zs(f,A,s){var x=new Gs;return x.restart(f,A,s),x}function Ha(){on=(ri=ha.now())+Vn,Er=Jr=0;try{!function Ss(){ts(),++Er;for(var A,f=je;f;)(A=on-f._time)>=0&&f._call.call(void 0,A),f=f._next;--Er}()}finally{Er=0,function ko(){for(var f,s,A=je,x=1/0;A;)A._call?(x>A._time&&(x=A._time),f=A,A=A._next):(s=A._next,A._next=null,A=f?f._next=s:je=s);Ft=f,Fa(x)}(),on=0}}function zi(){var f=ha.now(),A=f-ri;A>wt&&(Vn-=A,ri=f)}function Fa(f){Er||(Jr&&(Jr=clearTimeout(Jr)),f-on>24?(f<1/0&&(Jr=setTimeout(Ha,f-ha.now()-Vn)),gt&&(gt=clearInterval(gt))):(gt||(ri=ha.now(),gt=setInterval(zi,wt)),Er=1,Vo(Ha)))}function Bi(f,A,s){var x=new Gs;return x.restart(B=>{x.stop(),f(B+A)},A=null==A?0:+A,s),x}Gs.prototype=Zs.prototype={constructor:Gs,restart:function(f,A,s){if("function"!=typeof f)throw new TypeError("callback is not a function");s=(null==s?ts():+s)+(null==A?0:+A),!this._next&&Ft!==this&&(Ft?Ft._next=this:je=this,Ft=this),this._call=f,this._time=s,Fa()},stop:function(){this._call&&(this._call=null,this._time=1/0,Fa())}};var po=ui("start","end","cancel","interrupt"),oo=[],Xr=0,za=3;function Po(f,A,s,x,B,j){var Ae=f.__transition;if(Ae){if(s in Ae)return}else f.__transition={};!function Es(f,A,s){var B,x=f.__transition;function Ae(Yt){var hi,vi,Mi,Di;if(1!==s.state)return Qt();for(hi in x)if((Di=x[hi]).name===s.name){if(Di.state===za)return Bi(Ae);4===Di.state?(Di.state=6,Di.timer.stop(),Di.on.call("interrupt",f,f.__data__,Di.index,Di.group),delete x[hi]):+hi<A&&(Di.state=6,Di.timer.stop(),Di.on.call("cancel",f,f.__data__,Di.index,Di.group),delete x[hi])}if(Bi(function(){s.state===za&&(s.state=4,s.timer.restart(it,s.delay,s.time),it(Yt))}),s.state=2,s.on.call("start",f,f.__data__,s.index,s.group),2===s.state){for(s.state=za,B=new Array(Mi=s.tween.length),hi=0,vi=-1;hi<Mi;++hi)(Di=s.tween[hi].value.call(f,f.__data__,s.index,s.group))&&(B[++vi]=Di);B.length=vi+1}}function it(Yt){for(var hi=Yt<s.duration?s.ease.call(null,Yt/s.duration):(s.timer.restart(Qt),s.state=5,1),vi=-1,Mi=B.length;++vi<Mi;)B[vi].call(f,hi);5===s.state&&(s.on.call("end",f,f.__data__,s.index,s.group),Qt())}function Qt(){for(var Yt in s.state=6,s.timer.stop(),delete x[A],x)return;delete f.__transition}x[A]=s,s.timer=Zs(function j(Yt){s.state=1,s.timer.restart(Ae,s.delay,s.time),s.delay<=Yt&&Ae(Yt-s.delay)},0,s.time)}(f,s,{name:A,index:x,group:B,on:po,tween:oo,time:j.time,delay:j.delay,duration:j.duration,ease:j.ease,timer:null,state:Xr})}function Ws(f,A){var s=Va(f,A);if(s.state>Xr)throw new Error("too late; already scheduled");return s}function eo(f,A){var s=Va(f,A);if(s.state>za)throw new Error("too late; already running");return s}function Va(f,A){var s=f.__transition;if(!s||!(s=s[A]))throw new Error("transition not found");return s}var As,Bo=180/Math.PI,sn={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Uo(f,A,s,x,B,j){var Ae,it,Qt;return(Ae=Math.sqrt(f*f+A*A))&&(f/=Ae,A/=Ae),(Qt=f*s+A*x)&&(s-=f*Qt,x-=A*Qt),(it=Math.sqrt(s*s+x*x))&&(s/=it,x/=it,Qt/=it),f*x<A*s&&(f=-f,A=-A,Qt=-Qt,Ae=-Ae),{translateX:B,translateY:j,rotate:Math.atan2(A,f)*Bo,skewX:Math.atan(Qt)*Bo,scaleX:Ae,scaleY:it}}function us(f,A,s,x){function B(Yt){return Yt.length?Yt.pop()+" ":""}return function(Yt,hi){var vi=[],Mi=[];return Yt=f(Yt),hi=f(hi),function j(Yt,hi,vi,Mi,Di,tn){if(Yt!==vi||hi!==Mi){var gn=Di.push("translate(",null,A,null,s);tn.push({i:gn-4,x:qn(Yt,vi)},{i:gn-2,x:qn(hi,Mi)})}else(vi||Mi)&&Di.push("translate("+vi+A+Mi+s)}(Yt.translateX,Yt.translateY,hi.translateX,hi.translateY,vi,Mi),function Ae(Yt,hi,vi,Mi){Yt!==hi?(Yt-hi>180?hi+=360:hi-Yt>180&&(Yt+=360),Mi.push({i:vi.push(B(vi)+"rotate(",null,x)-2,x:qn(Yt,hi)})):hi&&vi.push(B(vi)+"rotate("+hi+x)}(Yt.rotate,hi.rotate,vi,Mi),function it(Yt,hi,vi,Mi){Yt!==hi?Mi.push({i:vi.push(B(vi)+"skewX(",null,x)-2,x:qn(Yt,hi)}):hi&&vi.push(B(vi)+"skewX("+hi+x)}(Yt.skewX,hi.skewX,vi,Mi),function Qt(Yt,hi,vi,Mi,Di,tn){if(Yt!==vi||hi!==Mi){var gn=Di.push(B(Di)+"scale(",null,",",null,")");tn.push({i:gn-4,x:qn(Yt,vi)},{i:gn-2,x:qn(hi,Mi)})}else(1!==vi||1!==Mi)&&Di.push(B(Di)+"scale("+vi+","+Mi+")")}(Yt.scaleX,Yt.scaleY,hi.scaleX,hi.scaleY,vi,Mi),Yt=hi=null,function(Di){for(var ki,tn=-1,gn=Mi.length;++tn<gn;)vi[(ki=Mi[tn]).i]=ki.x(Di);return vi.join("")}}}var fs=us(function ds(f){const A=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(f+"");return A.isIdentity?sn:Uo(A.a,A.b,A.c,A.d,A.e,A.f)},"px, ","px)","deg)"),cl=us(function hs(f){return null!=f&&(As||(As=document.createElementNS("http://www.w3.org/2000/svg","g")),As.setAttribute("transform",f),f=As.transform.baseVal.consolidate())?Uo((f=f.matrix).a,f.b,f.c,f.d,f.e,f.f):sn},", ",")",")");function ir(f,A){var s,x;return function(){var B=eo(this,f),j=B.tween;if(j!==s)for(var Ae=0,it=(x=s=j).length;Ae<it;++Ae)if(x[Ae].name===A){(x=x.slice()).splice(Ae,1);break}B.tween=x}}function qi(f,A,s){var x,B;if("function"!=typeof s)throw new Error;return function(){var j=eo(this,f),Ae=j.tween;if(Ae!==x){B=(x=Ae).slice();for(var it={name:A,value:s},Qt=0,Yt=B.length;Qt<Yt;++Qt)if(B[Qt].name===A){B[Qt]=it;break}Qt===Yt&&B.push(it)}j.tween=B}}function Yr(f,A,s){var x=f._id;return f.each(function(){var B=eo(this,x);(B.value||(B.value={}))[A]=s.apply(this,arguments)}),function(B){return Va(B,x).value[A]}}function Yi(f,A){var s;return("number"==typeof A?qn:A instanceof Dr?Wr:(s=Dr(A))?(A=s,Wr):Ai)(f,A)}function nr(f){return function(){this.removeAttribute(f)}}function Ca(f){return function(){this.removeAttributeNS(f.space,f.local)}}function so(f,A,s){var x,j,B=s+"";return function(){var Ae=this.getAttribute(f);return Ae===B?null:Ae===x?j:j=A(x=Ae,s)}}function Ys(f,A,s){var x,j,B=s+"";return function(){var Ae=this.getAttributeNS(f.space,f.local);return Ae===B?null:Ae===x?j:j=A(x=Ae,s)}}function Se(f,A,s){var x,B,j;return function(){var Ae,Qt,it=s(this);return null==it?void this.removeAttribute(f):(Ae=this.getAttribute(f))===(Qt=it+"")?null:Ae===x&&Qt===B?j:(B=Qt,j=A(x=Ae,it))}}function Ot(f,A,s){var x,B,j;return function(){var Ae,Qt,it=s(this);return null==it?void this.removeAttributeNS(f.space,f.local):(Ae=this.getAttributeNS(f.space,f.local))===(Qt=it+"")?null:Ae===x&&Qt===B?j:(B=Qt,j=A(x=Ae,it))}}function Me(f,A){var s,x;function B(){var j=A.apply(this,arguments);return j!==x&&(s=(x=j)&&function ii(f,A){return function(s){this.setAttributeNS(f.space,f.local,A.call(this,s))}}(f,j)),s}return B._value=A,B}function dt(f,A){var s,x;function B(){var j=A.apply(this,arguments);return j!==x&&(s=(x=j)&&function ht(f,A){return function(s){this.setAttribute(f,A.call(this,s))}}(f,j)),s}return B._value=A,B}function Ht(f,A){return function(){Ws(this,f).delay=+A.apply(this,arguments)}}function Xt(f,A){return A=+A,function(){Ws(this,f).delay=A}}function di(f,A){return function(){eo(this,f).duration=+A.apply(this,arguments)}}function Ti(f,A){return A=+A,function(){eo(this,f).duration=A}}var Go=Qi.prototype.constructor;function go(f){return function(){this.style.removeProperty(f)}}var K1=0;function ho(f,A,s,x){this._groups=f,this._parents=A,this._name=s,this._id=x}function Wl(){return++K1}var ms=Qi.prototype;ho.prototype=function u2(f){return Qi().transition(f)}.prototype={constructor:ho,select:function Ir(f){var A=this._name,s=this._id;"function"!=typeof f&&(f=d(f));for(var x=this._groups,B=x.length,j=new Array(B),Ae=0;Ae<B;++Ae)for(var hi,vi,it=x[Ae],Qt=it.length,Yt=j[Ae]=new Array(Qt),Mi=0;Mi<Qt;++Mi)(hi=it[Mi])&&(vi=f.call(hi,hi.__data__,Mi,it))&&("__data__"in hi&&(vi.__data__=hi.__data__),Yt[Mi]=vi,Po(Yt[Mi],A,s,Mi,Yt,Va(hi,s)));return new ho(j,this._parents,A,s)},selectAll:function co(f){var A=this._name,s=this._id;"function"!=typeof f&&(f=D(f));for(var x=this._groups,B=x.length,j=[],Ae=[],it=0;it<B;++it)for(var hi,Qt=x[it],Yt=Qt.length,vi=0;vi<Yt;++vi)if(hi=Qt[vi]){for(var Di,Mi=f.call(hi,hi.__data__,vi,Qt),tn=Va(hi,s),gn=0,ki=Mi.length;gn<ki;++gn)(Di=Mi[gn])&&Po(Di,A,s,gn,Mi,tn);j.push(Mi),Ae.push(hi)}return new ho(j,Ae,A,s)},selectChild:ms.selectChild,selectChildren:ms.selectChildren,filter:function Zn(f){"function"!=typeof f&&(f=W(f));for(var A=this._groups,s=A.length,x=new Array(s),B=0;B<s;++B)for(var Qt,j=A[B],Ae=j.length,it=x[B]=[],Yt=0;Yt<Ae;++Yt)(Qt=j[Yt])&&f.call(Qt,Qt.__data__,Yt,j)&&it.push(Qt);return new ho(x,this._parents,this._name,this._id)},merge:function Mn(f){if(f._id!==this._id)throw new Error;for(var A=this._groups,s=f._groups,x=A.length,j=Math.min(x,s.length),Ae=new Array(x),it=0;it<j;++it)for(var Mi,Qt=A[it],Yt=s[it],hi=Qt.length,vi=Ae[it]=new Array(hi),Di=0;Di<hi;++Di)(Mi=Qt[Di]||Yt[Di])&&(vi[Di]=Mi);for(;it<x;++it)Ae[it]=A[it];return new ho(Ae,this._parents,this._name,this._id)},selection:function lo(){return new Go(this._groups,this._parents)},transition:function Zo(){for(var f=this._name,A=this._id,s=Wl(),x=this._groups,B=x.length,j=0;j<B;++j)for(var Qt,Ae=x[j],it=Ae.length,Yt=0;Yt<it;++Yt)if(Qt=Ae[Yt]){var hi=Va(Qt,A);Po(Qt,f,s,Yt,Ae,{time:hi.time+hi.delay+hi.duration,delay:0,duration:hi.duration,ease:hi.ease})}return new ho(x,this._parents,f,s)},call:ms.call,nodes:ms.nodes,node:ms.node,size:ms.size,empty:ms.empty,each:ms.each,on:function Bn(f,A){var s=this._id;return arguments.length<2?Va(this.node(),s).on.on(f):this.each(function fr(f,A,s){var x,B,j=function jr(f){return(f+"").trim().split(/^|\s+/).every(function(A){var s=A.indexOf(".");return s>=0&&(A=A.slice(0,s)),!A||"start"===A})}(A)?Ws:eo;return function(){var Ae=j(this,f),it=Ae.on;it!==x&&(B=(x=it).copy()).on(A,s),Ae.on=B}}(s,f,A))},attr:function ce(f,A){var s=ze(f),x="transform"===s?cl:Yi;return this.attrTween(f,"function"==typeof A?(s.local?Ot:Se)(s,x,Yr(this,"attr."+f,A)):null==A?(s.local?Ca:nr)(s):(s.local?Ys:so)(s,x,A))},attrTween:function _t(f,A){var s="attr."+f;if(arguments.length<2)return(s=this.tween(s))&&s._value;if(null==A)return this.tween(s,null);if("function"!=typeof A)throw new Error;var x=ze(f);return this.tween(s,(x.local?Me:dt)(x,A))},style:function Bl(f,A,s){var x="transform"==(f+="")?fs:Yi;return null==A?this.styleTween(f,function wa(f,A){var s,x,B;return function(){var j=ct(this,f),Ae=(this.style.removeProperty(f),ct(this,f));return j===Ae?null:j===s&&Ae===x?B:B=A(s=j,x=Ae)}}(f,x)).on("end.style."+f,go(f)):"function"==typeof A?this.styleTween(f,function Vl(f,A,s){var x,B,j;return function(){var Ae=ct(this,f),it=s(this),Qt=it+"";return null==it&&(this.style.removeProperty(f),Qt=it=ct(this,f)),Ae===Qt?null:Ae===x&&Qt===B?j:(B=Qt,j=A(x=Ae,it))}}(f,x,Yr(this,"style."+f,A))).each(function Ba(f,A){var s,x,B,it,j="style."+A,Ae="end."+j;return function(){var Qt=eo(this,f),Yt=Qt.on,hi=null==Qt.value[j]?it||(it=go(A)):void 0;(Yt!==s||B!==hi)&&(x=(s=Yt).copy()).on(Ae,B=hi),Qt.on=x}}(this._id,f)):this.styleTween(f,function zl(f,A,s){var x,j,B=s+"";return function(){var Ae=ct(this,f);return Ae===B?null:Ae===x?j:j=A(x=Ae,s)}}(f,x,A),s).on("end.style."+f,null)},styleTween:function Ul(f,A,s){var x="style."+(f+="");if(arguments.length<2)return(x=this.tween(x))&&x._value;if(null==A)return this.tween(x,null);if("function"!=typeof A)throw new Error;return this.tween(x,function j1(f,A,s){var x,B;function j(){var Ae=A.apply(this,arguments);return Ae!==B&&(x=(B=Ae)&&function d2(f,A,s){return function(x){this.style.setProperty(f,A.call(this,x),s)}}(f,Ae,s)),x}return j._value=A,j}(f,A,s??""))},text:function kn(f){return this.tween("text","function"==typeof f?function Ic(f){return function(){var A=f(this);this.textContent=A??""}}(Yr(this,"text",f)):function ll(f){return function(){this.textContent=f}}(null==f?"":f+""))},textTween:function js(f){var A="text";if(arguments.length<1)return(A=this.tween(A))&&A._value;if(null==f)return this.tween(A,null);if("function"!=typeof f)throw new Error;return this.tween(A,function h2(f){var A,s;function x(){var B=f.apply(this,arguments);return B!==s&&(A=(s=B)&&function Gl(f){return function(A){this.textContent=f.call(this,A)}}(B)),A}return x._value=f,x}(f))},remove:function ua(){return this.on("end.remove",function na(f){return function(){var A=this.parentNode;for(var s in this.__transition)if(+s!==f)return;A&&A.removeChild(this)}}(this._id))},tween:function Mr(f,A){var s=this._id;if(f+="",arguments.length<2){for(var Ae,x=Va(this.node(),s).tween,B=0,j=x.length;B<j;++B)if((Ae=x[B]).name===f)return Ae.value;return null}return this.each((null==A?ir:qi)(s,f,A))},delay:function ci(f){var A=this._id;return arguments.length?this.each(("function"==typeof f?Ht:Xt)(A,f)):Va(this.node(),A).delay},duration:function Ii(f){var A=this._id;return arguments.length?this.each(("function"==typeof f?di:Ti)(A,f)):Va(this.node(),A).duration},ease:function Xi(f){var A=this._id;return arguments.length?this.each(function Ji(f,A){if("function"!=typeof A)throw new Error;return function(){eo(this,f).ease=A}}(A,f)):Va(this.node(),A).ease},easeVarying:function An(f){if("function"!=typeof f)throw new Error;return this.each(function ln(f,A){return function(){var s=A.apply(this,arguments);if("function"!=typeof s)throw new Error;eo(this,f).ease=s}}(this._id,f))},end:function Zl(){var f,A,s=this,x=s._id,B=s.size();return new Promise(function(j,Ae){var it={value:Ae},Qt={value:function(){0==--B&&j()}};s.each(function(){var Yt=eo(this,x),hi=Yt.on;hi!==f&&((A=(f=hi).copy())._.cancel.push(it),A._.interrupt.push(it),A._.end.push(Qt)),Yt.on=A}),0===B&&j()})},[Symbol.iterator]:ms[Symbol.iterator]};var dr={time:null,delay:0,duration:250,ease:function Vi(f){return((f*=2)<=1?f*f*f:(f-=2)*f*f+2)/2}};function Yl(f,A){for(var s;!(s=f.__transition)||!(s=s[A]);)if(!(f=f.parentNode))throw new Error(`transition ${A} not found`);return s}Qi.prototype.interrupt=function Ts(f){return this.each(function(){!function ia(f,A){var x,B,Ae,s=f.__transition,j=!0;if(s){for(Ae in A=null==A?null:A+"",s)(x=s[Ae]).name===A?(B=x.state>2&&x.state<5,x.state=6,x.timer.stop(),x.on.call(B?"interrupt":"cancel",f,f.__data__,x.index,x.group),delete s[Ae]):j=!1;j&&delete f.__transition}}(this,f)})},Qi.prototype.transition=function dl(f){var A,s;f instanceof ho?(A=f._id,f=f._name):(A=Wl(),(s=dr).time=ts(),f=null==f?null:f+"");for(var x=this._groups,B=x.length,j=0;j<B;++j)for(var Qt,Ae=x[j],it=Ae.length,Yt=0;Yt<it;++Yt)(Qt=Ae[Yt])&&Po(Qt,f,A,Yt,Ae,s||Yl(Qt,A));return new ho(x,this._parents,f,A)};Math;function bn(f){return{type:f}}function Ua(f,A){return null==f||null==A?NaN:f<A?-1:f>A?1:f>=A?0:NaN}function Is(f,A){return null==f||null==A?NaN:A<f?-1:A>f?1:A>=f?0:NaN}function kr(f){let A,s,x;function B(it,Qt,Yt=0,hi=it.length){if(Yt<hi){if(0!==A(Qt,Qt))return hi;do{const vi=Yt+hi>>>1;s(it[vi],Qt)<0?Yt=vi+1:hi=vi}while(Yt<hi)}return Yt}return 2!==f.length?(A=Ua,s=(it,Qt)=>Ua(f(it),Qt),x=(it,Qt)=>f(it)-Qt):(A=f===Ua||f===Is?f:ul,s=f,x=f),{left:B,center:function Ae(it,Qt,Yt=0,hi=it.length){const vi=B(it,Qt,Yt,hi-1);return vi>Yt&&x(it[vi-1],Qt)>-x(it[vi],Qt)?vi-1:vi},right:function j(it,Qt,Yt=0,hi=it.length){if(Yt<hi){if(0!==A(Qt,Qt))return hi;do{const vi=Yt+hi>>>1;s(it[vi],Qt)<=0?Yt=vi+1:hi=vi}while(Yt<hi)}return Yt}}}function ul(){return 0}["w","e"].map(bn),["n","s"].map(bn),["n","w","e","s","nw","ne","sw","se"].map(bn);const m2=Math.sqrt(50),gc=Math.sqrt(10),q1=Math.sqrt(2);function Js(f,A,s){const x=(A-f)/Math.max(0,s),B=Math.floor(Math.log10(x)),j=x/Math.pow(10,B),Ae=j>=m2?10:j>=gc?5:j>=q1?2:1;let it,Qt,Yt;return B<0?(Yt=Math.pow(10,-B)/Ae,it=Math.round(f*Yt),Qt=Math.round(A*Yt),it/Yt<f&&++it,Qt/Yt>A&&--Qt,Yt=-Yt):(Yt=Math.pow(10,B)*Ae,it=Math.round(f/Yt),Qt=Math.round(A/Yt),it*Yt<f&&++it,Qt*Yt>A&&--Qt),Qt<it&&.5<=s&&s<2?Js(f,A,2*s):[it,Qt,Yt]}function Oc(f,A,s){return Js(f=+f,A=+A,s=+s)[2]}function ps(f,A,s){s=+s;const x=(A=+A)<(f=+f),B=x?Oc(A,f,s):Oc(f,A,s);return(x?-1:1)*(B<0?1/-B:B)}const ks=1e3,vo=6e4,Wo=60*vo,Yo=24*Wo,fl=7*Yo,Pc=30*Yo,Ql=365*Yo,X1=new Date,Xs=new Date;function ra(f,A,s,x){function B(j){return f(j=0===arguments.length?new Date:new Date(+j)),j}return B.floor=j=>(f(j=new Date(+j)),j),B.ceil=j=>(f(j=new Date(j-1)),A(j,1),f(j),j),B.round=j=>{const Ae=B(j),it=B.ceil(j);return j-Ae<it-j?Ae:it},B.offset=(j,Ae)=>(A(j=new Date(+j),null==Ae?1:Math.floor(Ae)),j),B.range=(j,Ae,it)=>{const Qt=[];if(j=B.ceil(j),it=null==it?1:Math.floor(it),!(j<Ae&&it>0))return Qt;let Yt;do{Qt.push(Yt=new Date(+j)),A(j,it),f(j)}while(Yt<j&&j<Ae);return Qt},B.filter=j=>ra(Ae=>{if(Ae>=Ae)for(;f(Ae),!j(Ae);)Ae.setTime(Ae-1)},(Ae,it)=>{if(Ae>=Ae)if(it<0)for(;++it<=0;)for(;A(Ae,-1),!j(Ae););else for(;--it>=0;)for(;A(Ae,1),!j(Ae););}),s&&(B.count=(j,Ae)=>(X1.setTime(+j),Xs.setTime(+Ae),f(X1),f(Xs),Math.floor(s(X1,Xs))),B.every=j=>(j=Math.floor(j),isFinite(j)&&j>0?j>1?B.filter(x?Ae=>x(Ae)%j==0:Ae=>B.count(0,Ae)%j==0):B:null)),B}const ql=ra(()=>{},(f,A)=>{f.setTime(+f+A)},(f,A)=>A-f);ql.every=f=>(f=Math.floor(f),isFinite(f)&&f>0?f>1?ra(A=>{A.setTime(Math.floor(A/f)*f)},(A,s)=>{A.setTime(+A+s*f)},(A,s)=>(s-A)/f):ql:null);const $s=ra(f=>{f.setTime(f-f.getMilliseconds())},(f,A)=>{f.setTime(+f+A*ks)},(f,A)=>(A-f)/ks,f=>f.getUTCSeconds()),$1=ra(f=>{f.setTime(f-f.getMilliseconds()-f.getSeconds()*ks)},(f,A)=>{f.setTime(+f+A*vo)},(f,A)=>(A-f)/vo,f=>f.getMinutes()),J0=ra(f=>{f.setUTCSeconds(0,0)},(f,A)=>{f.setTime(+f+A*vo)},(f,A)=>(A-f)/vo,f=>f.getUTCMinutes()),ml=ra(f=>{f.setTime(f-f.getMilliseconds()-f.getSeconds()*ks-f.getMinutes()*vo)},(f,A)=>{f.setTime(+f+A*Wo)},(f,A)=>(A-f)/Wo,f=>f.getHours()),p2=ra(f=>{f.setUTCMinutes(0,0,0)},(f,A)=>{f.setTime(+f+A*Wo)},(f,A)=>(A-f)/Wo,f=>f.getUTCHours()),pl=ra(f=>f.setHours(0,0,0,0),(f,A)=>f.setDate(f.getDate()+A),(f,A)=>(A-f-(A.getTimezoneOffset()-f.getTimezoneOffset())*vo)/Yo,f=>f.getDate()-1),td=(ra(f=>{f.setUTCHours(0,0,0,0)},(f,A)=>{f.setUTCDate(f.getUTCDate()+A)},(f,A)=>(A-f)/Yo,f=>f.getUTCDate()-1),ra(f=>{f.setUTCHours(0,0,0,0)},(f,A)=>{f.setUTCDate(f.getUTCDate()+A)},(f,A)=>(A-f)/Yo,f=>Math.floor(f/Yo)));function fo(f){return ra(A=>{A.setDate(A.getDate()-(A.getDay()+7-f)%7),A.setHours(0,0,0,0)},(A,s)=>{A.setDate(A.getDate()+7*s)},(A,s)=>(s-A-(s.getTimezoneOffset()-A.getTimezoneOffset())*vo)/fl)}const id=fo(0);function _c(f){return ra(A=>{A.setUTCDate(A.getUTCDate()-(A.getUTCDay()+7-f)%7),A.setUTCHours(0,0,0,0)},(A,s)=>{A.setUTCDate(A.getUTCDate()+7*s)},(A,s)=>(s-A)/fl)}fo(1),fo(2),fo(3),fo(4),fo(5),fo(6);const od=_c(0),t1=(_c(1),_c(2),_c(3),_c(4),_c(5),_c(6),ra(f=>{f.setDate(1),f.setHours(0,0,0,0)},(f,A)=>{f.setMonth(f.getMonth()+A)},(f,A)=>A.getMonth()-f.getMonth()+12*(A.getFullYear()-f.getFullYear()),f=>f.getMonth())),bc=ra(f=>{f.setUTCDate(1),f.setUTCHours(0,0,0,0)},(f,A)=>{f.setUTCMonth(f.getUTCMonth()+A)},(f,A)=>A.getUTCMonth()-f.getUTCMonth()+12*(A.getUTCFullYear()-f.getUTCFullYear()),f=>f.getUTCMonth()),n1=ra(f=>{f.setMonth(0,1),f.setHours(0,0,0,0)},(f,A)=>{f.setFullYear(f.getFullYear()+A)},(f,A)=>A.getFullYear()-f.getFullYear(),f=>f.getFullYear());n1.every=f=>isFinite(f=Math.floor(f))&&f>0?ra(A=>{A.setFullYear(Math.floor(A.getFullYear()/f)*f),A.setMonth(0,1),A.setHours(0,0,0,0)},(A,s)=>{A.setFullYear(A.getFullYear()+s*f)}):null;const sd=ra(f=>{f.setUTCMonth(0,1),f.setUTCHours(0,0,0,0)},(f,A)=>{f.setUTCFullYear(f.getUTCFullYear()+A)},(f,A)=>A.getUTCFullYear()-f.getUTCFullYear(),f=>f.getUTCFullYear());function nh(f,A,s,x,B,j){const Ae=[[$s,1,ks],[$s,5,5e3],[$s,15,15e3],[$s,30,3e4],[j,1,vo],[j,5,5*vo],[j,15,15*vo],[j,30,30*vo],[B,1,Wo],[B,3,3*Wo],[B,6,6*Wo],[B,12,12*Wo],[x,1,Yo],[x,2,2*Yo],[s,1,fl],[A,1,Pc],[A,3,3*Pc],[f,1,Ql]];function Qt(Yt,hi,vi){const Mi=Math.abs(hi-Yt)/vi,Di=kr(([,,ki])=>ki).right(Ae,Mi);if(Di===Ae.length)return f.every(ps(Yt/Ql,hi/Ql,vi));if(0===Di)return ql.every(Math.max(ps(Yt,hi,vi),1));const[tn,gn]=Ae[Mi/Ae[Di-1][2]<Ae[Di][2]/Mi?Di-1:Di];return tn.every(gn)}return[function it(Yt,hi,vi){const Mi=hi<Yt;Mi&&([Yt,hi]=[hi,Yt]);const Di=vi&&"function"==typeof vi.range?vi:Qt(Yt,hi,vi),tn=Di?Di.range(Yt,+hi+1):[];return Mi?tn.reverse():tn},Qt]}sd.every=f=>isFinite(f=Math.floor(f))&&f>0?ra(A=>{A.setUTCFullYear(Math.floor(A.getUTCFullYear()/f)*f),A.setUTCMonth(0,1),A.setUTCHours(0,0,0,0)},(A,s)=>{A.setUTCFullYear(A.getUTCFullYear()+s*f)}):null;const[v4,lf]=nh(sd,bc,od,td,p2,J0),[Fc,rh]=nh(n1,t1,id,pl,ml,$1);var r1=new Date,Sa=new Date;function Ps(f,A,s,x){function B(j){return f(j=0===arguments.length?new Date:new Date(+j)),j}return B.floor=function(j){return f(j=new Date(+j)),j},B.ceil=function(j){return f(j=new Date(j-1)),A(j,1),f(j),j},B.round=function(j){var Ae=B(j),it=B.ceil(j);return j-Ae<it-j?Ae:it},B.offset=function(j,Ae){return A(j=new Date(+j),null==Ae?1:Math.floor(Ae)),j},B.range=function(j,Ae,it){var Yt,Qt=[];if(j=B.ceil(j),it=null==it?1:Math.floor(it),!(j<Ae&&it>0))return Qt;do{Qt.push(Yt=new Date(+j)),A(j,it),f(j)}while(Yt<j&&j<Ae);return Qt},B.filter=function(j){return Ps(function(Ae){if(Ae>=Ae)for(;f(Ae),!j(Ae);)Ae.setTime(Ae-1)},function(Ae,it){if(Ae>=Ae)if(it<0)for(;++it<=0;)for(;A(Ae,-1),!j(Ae););else for(;--it>=0;)for(;A(Ae,1),!j(Ae););})},s&&(B.count=function(j,Ae){return r1.setTime(+j),Sa.setTime(+Ae),f(r1),f(Sa),Math.floor(s(r1,Sa))},B.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?B.filter(x?function(Ae){return x(Ae)%j==0}:function(Ae){return B.count(0,Ae)%j==0}):B:null}),B}const gs=864e5,o1=7*gs;function _s(f){return Ps(function(A){A.setUTCDate(A.getUTCDate()-(A.getUTCDay()+7-f)%7),A.setUTCHours(0,0,0,0)},function(A,s){A.setUTCDate(A.getUTCDate()+7*s)},function(A,s){return(s-A)/o1})}var ah=_s(0),vl=_s(1),tc=(_s(2),_s(3),_s(4));const bl=(_s(5),_s(6),Ps(function(f){f.setUTCHours(0,0,0,0)},function(f,A){f.setUTCDate(f.getUTCDate()+A)},function(f,A){return(A-f)/gs},function(f){return f.getUTCDate()-1}));function vs(f){return Ps(function(A){A.setDate(A.getDate()-(A.getDay()+7-f)%7),A.setHours(0,0,0,0)},function(A,s){A.setDate(A.getDate()+7*s)},function(A,s){return(s-A-6e4*(s.getTimezoneOffset()-A.getTimezoneOffset()))/o1})}var ld=vs(0),Cc=vs(1),Ns=(vs(2),vs(3),vs(4));const dh=(vs(5),vs(6),Ps(f=>f.setHours(0,0,0,0),(f,A)=>f.setDate(f.getDate()+A),(f,A)=>(A-f-6e4*(A.getTimezoneOffset()-f.getTimezoneOffset()))/gs,f=>f.getDate()-1));var dd=Ps(function(f){f.setMonth(0,1),f.setHours(0,0,0,0)},function(f,A){f.setFullYear(f.getFullYear()+A)},function(f,A){return A.getFullYear()-f.getFullYear()},function(f){return f.getFullYear()});dd.every=function(f){return isFinite(f=Math.floor(f))&&f>0?Ps(function(A){A.setFullYear(Math.floor(A.getFullYear()/f)*f),A.setMonth(0,1),A.setHours(0,0,0,0)},function(A,s){A.setFullYear(A.getFullYear()+s*f)}):null};const Bc=dd;var h1=Ps(function(f){f.setUTCMonth(0,1),f.setUTCHours(0,0,0,0)},function(f,A){f.setUTCFullYear(f.getUTCFullYear()+A)},function(f,A){return A.getUTCFullYear()-f.getUTCFullYear()},function(f){return f.getUTCFullYear()});h1.every=function(f){return isFinite(f=Math.floor(f))&&f>0?Ps(function(A){A.setUTCFullYear(Math.floor(A.getUTCFullYear()/f)*f),A.setUTCMonth(0,1),A.setUTCHours(0,0,0,0)},function(A,s){A.setUTCFullYear(A.getUTCFullYear()+s*f)}):null};const xl=h1;function A2(f){if(0<=f.y&&f.y<100){var A=new Date(-1,f.m,f.d,f.H,f.M,f.S,f.L);return A.setFullYear(f.y),A}return new Date(f.y,f.m,f.d,f.H,f.M,f.S,f.L)}function u1(f){if(0<=f.y&&f.y<100){var A=new Date(Date.UTC(-1,f.m,f.d,f.H,f.M,f.S,f.L));return A.setUTCFullYear(f.y),A}return new Date(Date.UTC(f.y,f.m,f.d,f.H,f.M,f.S,f.L))}function f1(f,A,s){return{y:f,m:A,d:s,H:0,M:0,S:0,L:0}}var L2={"-":"",_:" ",0:"0"},Ea=/^\s*\d+/,bf=/^%/,fh=/[\\^$*+?|[\]().{}]/g;function mr(f,A,s){var x=f<0?"-":"",B=(x?-f:f)+"",j=B.length;return x+(j<s?new Array(s-j+1).join(A)+B:B)}function yf(f){return f.replace(fh,"\\$&")}function Cl(f){return new RegExp("^(?:"+f.map(yf).join("|")+")","i")}function m1(f){return new Map(f.map((A,s)=>[A.toLowerCase(),s]))}function xf(f,A,s){var x=Ea.exec(A.slice(s,s+1));return x?(f.w=+x[0],s+x[0].length):-1}function mh(f,A,s){var x=Ea.exec(A.slice(s,s+1));return x?(f.u=+x[0],s+x[0].length):-1}function ph(f,A,s){var x=Ea.exec(A.slice(s,s+2));return x?(f.U=+x[0],s+x[0].length):-1}function p1(f,A,s){var x=Ea.exec(A.slice(s,s+2));return x?(f.V=+x[0],s+x[0].length):-1}function wl(f,A,s){var x=Ea.exec(A.slice(s,s+2));return x?(f.W=+x[0],s+x[0].length):-1}function ud(f,A,s){var x=Ea.exec(A.slice(s,s+4));return x?(f.y=+x[0],s+x[0].length):-1}function fd(f,A,s){var x=Ea.exec(A.slice(s,s+2));return x?(f.y=+x[0]+(+x[0]>68?1900:2e3),s+x[0].length):-1}function I2(f,A,s){var x=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(A.slice(s,s+6));return x?(f.Z=x[1]?0:-(x[2]+(x[3]||"00")),s+x[0].length):-1}function Ro(f,A,s){var x=Ea.exec(A.slice(s,s+1));return x?(f.q=3*x[0]-3,s+x[0].length):-1}function k2(f,A,s){var x=Ea.exec(A.slice(s,s+2));return x?(f.m=x[0]-1,s+x[0].length):-1}function g1(f,A,s){var x=Ea.exec(A.slice(s,s+2));return x?(f.d=+x[0],s+x[0].length):-1}function _1(f,A,s){var x=Ea.exec(A.slice(s,s+3));return x?(f.m=0,f.d=+x[0],s+x[0].length):-1}function Uc(f,A,s){var x=Ea.exec(A.slice(s,s+2));return x?(f.H=+x[0],s+x[0].length):-1}function v1(f,A,s){var x=Ea.exec(A.slice(s,s+2));return x?(f.M=+x[0],s+x[0].length):-1}function gh(f,A,s){var x=Ea.exec(A.slice(s,s+2));return x?(f.S=+x[0],s+x[0].length):-1}function _h(f,A,s){var x=Ea.exec(A.slice(s,s+3));return x?(f.L=+x[0],s+x[0].length):-1}function vh(f,A,s){var x=Ea.exec(A.slice(s,s+6));return x?(f.L=Math.floor(x[0]/1e3),s+x[0].length):-1}function O2(f,A,s){var x=bf.exec(A.slice(s,s+1));return x?s+x[0].length:-1}function b1(f,A,s){var x=Ea.exec(A.slice(s));return x?(f.Q=+x[0],s+x[0].length):-1}function bh(f,A,s){var x=Ea.exec(A.slice(s));return x?(f.s=+x[0],s+x[0].length):-1}function P2(f,A){return mr(f.getDate(),A,2)}function yh(f,A){return mr(f.getHours(),A,2)}function N2(f,A){return mr(f.getHours()%12||12,A,2)}function xh(f,A){return mr(1+dh.count(Bc(f),f),A,3)}function R2(f,A){return mr(f.getMilliseconds(),A,3)}function Ao(f,A){return R2(f,A)+"000"}function md(f,A){return mr(f.getMonth()+1,A,2)}function pd(f,A){return mr(f.getMinutes(),A,2)}function gd(f,A){return mr(f.getSeconds(),A,2)}function to(f){var A=f.getDay();return 0===A?7:A}function Ml(f,A){return mr(ld.count(Bc(f)-1,f),A,2)}function _d(f){var A=f.getDay();return A>=4||0===A?Ns(f):Ns.ceil(f)}function H2(f,A){return f=_d(f),mr(Ns.count(Bc(f),f)+(4===Bc(f).getDay()),A,2)}function F2(f){return f.getDay()}function z2(f,A){return mr(Cc.count(Bc(f)-1,f),A,2)}function vd(f,A){return mr(f.getFullYear()%100,A,2)}function V2(f,A){return mr((f=_d(f)).getFullYear()%100,A,2)}function Ch(f,A){return mr(f.getFullYear()%1e4,A,4)}function bd(f,A){var s=f.getDay();return mr((f=s>=4||0===s?Ns(f):Ns.ceil(f)).getFullYear()%1e4,A,4)}function wh(f){var A=f.getTimezoneOffset();return(A>0?"-":(A*=-1,"+"))+mr(A/60|0,"0",2)+mr(A%60,"0",2)}function B2(f,A){return mr(f.getUTCDate(),A,2)}function y1(f,A){return mr(f.getUTCHours(),A,2)}function yd(f,A){return mr(f.getUTCHours()%12||12,A,2)}function Mh(f,A){return mr(1+bl.count(xl(f),f),A,3)}function Gc(f,A){return mr(f.getUTCMilliseconds(),A,3)}function Sh(f,A){return Gc(f,A)+"000"}function Eh(f,A){return mr(f.getUTCMonth()+1,A,2)}function U2(f,A){return mr(f.getUTCMinutes(),A,2)}function G2(f,A){return mr(f.getUTCSeconds(),A,2)}function Th(f){var A=f.getUTCDay();return 0===A?7:A}function Zc(f,A){return mr(ah.count(xl(f)-1,f),A,2)}function x1(f){var A=f.getUTCDay();return A>=4||0===A?tc(f):tc.ceil(f)}function Z2(f,A){return f=x1(f),mr(tc.count(xl(f),f)+(4===xl(f).getUTCDay()),A,2)}function W2(f){return f.getUTCDay()}function Ta(f,A){return mr(vl.count(xl(f)-1,f),A,2)}function Y2(f,A){return mr(f.getUTCFullYear()%100,A,2)}function Ah(f,A){return mr((f=x1(f)).getUTCFullYear()%100,A,2)}function Dh(f,A){return mr(f.getUTCFullYear()%1e4,A,4)}function j2(f,A){var s=f.getUTCDay();return mr((f=s>=4||0===s?tc(f):tc.ceil(f)).getUTCFullYear()%1e4,A,4)}function Lh(){return"+0000"}function K2(){return"%"}function xd(f){return+f}function Sl(f){return Math.floor(+f/1e3)}function bs(f){return null===f?NaN:+f}!function io(f){(function D2(f){var A=f.dateTime,s=f.date,x=f.time,B=f.periods,j=f.days,Ae=f.shortDays,it=f.months,Qt=f.shortMonths,Yt=Cl(B),hi=m1(B),vi=Cl(j),Mi=m1(j),Di=Cl(Ae),tn=m1(Ae),gn=Cl(it),ki=m1(it),fn=Cl(Qt),Nn=m1(Qt),hn={a:function ma(mn){return Ae[mn.getDay()]},A:function $o(mn){return j[mn.getDay()]},b:function Tr(mn){return Qt[mn.getMonth()]},B:function no(mn){return it[mn.getMonth()]},c:null,d:P2,e:P2,f:Ao,g:V2,G:bd,H:yh,I:N2,j:xh,L:R2,m:md,M:pd,p:function Pa(mn){return B[+(mn.getHours()>=12)]},q:function Za(mn){return 1+~~(mn.getMonth()/3)},Q:xd,s:Sl,S:gd,u:to,U:Ml,V:H2,w:F2,W:z2,x:null,X:null,y:vd,Y:Ch,Z:wh,"%":K2},Kn={a:function Da(mn){return Ae[mn.getUTCDay()]},A:function al(mn){return j[mn.getUTCDay()]},b:function Z1(mn){return Qt[mn.getUTCMonth()]},B:function W1(mn){return it[mn.getUTCMonth()]},c:null,d:B2,e:B2,f:Sh,g:Ah,G:j2,H:y1,I:yd,j:Mh,L:Gc,m:Eh,M:U2,p:function Mo(mn){return B[+(mn.getUTCHours()>=12)]},q:function Rl(mn){return 1+~~(mn.getUTCMonth()/3)},Q:xd,s:Sl,S:G2,u:Th,U:Zc,V:Z2,w:W2,W:Ta,x:null,X:null,y:Y2,Y:Dh,Z:Lh,"%":K2},Wn={a:function oa(mn,$n,ar){var $i=Di.exec($n.slice(ar));return $i?(mn.w=tn.get($i[0].toLowerCase()),ar+$i[0].length):-1},A:function Rn(mn,$n,ar){var $i=vi.exec($n.slice(ar));return $i?(mn.w=Mi.get($i[0].toLowerCase()),ar+$i[0].length):-1},b:function Oa(mn,$n,ar){var $i=fn.exec($n.slice(ar));return $i?(mn.m=Nn.get($i[0].toLowerCase()),ar+$i[0].length):-1},B:function hr(mn,$n,ar){var $i=gn.exec($n.slice(ar));return $i?(mn.m=ki.get($i[0].toLowerCase()),ar+$i[0].length):-1},c:function Br(mn,$n,ar){return Or(mn,A,$n,ar)},d:g1,e:g1,f:vh,g:fd,G:ud,H:Uc,I:Uc,j:_1,L:_h,m:k2,M:v1,p:function Aa(mn,$n,ar){var $i=Yt.exec($n.slice(ar));return $i?(mn.p=hi.get($i[0].toLowerCase()),ar+$i[0].length):-1},q:Ro,Q:b1,s:bh,S:gh,u:mh,U:ph,V:p1,w:xf,W:wl,x:function cs(mn,$n,ar){return Or(mn,s,$n,ar)},X:function ea(mn,$n,ar){return Or(mn,x,$n,ar)},y:fd,Y:ud,Z:I2,"%":O2};function Sn(mn,$n){return function(ar){var Lo,jn,pa,$i=[],Na=-1,Pr=0,zo=mn.length;for(ar instanceof Date||(ar=new Date(+ar));++Na<zo;)37===mn.charCodeAt(Na)&&($i.push(mn.slice(Pr,Na)),null!=(jn=L2[Lo=mn.charAt(++Na)])?Lo=mn.charAt(++Na):jn="e"===Lo?" ":"0",(pa=$n[Lo])&&(Lo=pa(ar,jn)),$i.push(Lo),Pr=Na+1);return $i.push(mn.slice(Pr,Na)),$i.join("")}}function Vr(mn,$n){return function(ar){var Pr,zo,$i=f1(1900,void 0,1);if(Or($i,mn,ar+="",0)!=ar.length)return null;if("Q"in $i)return new Date($i.Q);if("s"in $i)return new Date(1e3*$i.s+("L"in $i?$i.L:0));if($n&&!("Z"in $i)&&($i.Z=0),"p"in $i&&($i.H=$i.H%12+12*$i.p),void 0===$i.m&&($i.m="q"in $i?$i.q:0),"V"in $i){if($i.V<1||$i.V>53)return null;"w"in $i||($i.w=1),"Z"in $i?(zo=(Pr=u1(f1($i.y,0,1))).getUTCDay(),Pr=zo>4||0===zo?vl.ceil(Pr):vl(Pr),Pr=bl.offset(Pr,7*($i.V-1)),$i.y=Pr.getUTCFullYear(),$i.m=Pr.getUTCMonth(),$i.d=Pr.getUTCDate()+($i.w+6)%7):(zo=(Pr=A2(f1($i.y,0,1))).getDay(),Pr=zo>4||0===zo?Cc.ceil(Pr):Cc(Pr),Pr=dh.offset(Pr,7*($i.V-1)),$i.y=Pr.getFullYear(),$i.m=Pr.getMonth(),$i.d=Pr.getDate()+($i.w+6)%7)}else("W"in $i||"U"in $i)&&("w"in $i||($i.w="u"in $i?$i.u%7:"W"in $i?1:0),zo="Z"in $i?u1(f1($i.y,0,1)).getUTCDay():A2(f1($i.y,0,1)).getDay(),$i.m=0,$i.d="W"in $i?($i.w+6)%7+7*$i.W-(zo+5)%7:$i.w+7*$i.U-(zo+6)%7);return"Z"in $i?($i.H+=$i.Z/100|0,$i.M+=$i.Z%100,u1($i)):A2($i)}}function Or(mn,$n,ar,$i){for(var Lo,jn,Na=0,Pr=$n.length,zo=ar.length;Na<Pr;){if($i>=zo)return-1;if(37===(Lo=$n.charCodeAt(Na++))){if(Lo=$n.charAt(Na++),!(jn=Wn[Lo in L2?$n.charAt(Na++):Lo])||($i=jn(mn,ar,$i))<0)return-1}else if(Lo!=ar.charCodeAt($i++))return-1}return $i}return hn.x=Sn(s,hn),hn.X=Sn(x,hn),hn.c=Sn(A,hn),Kn.x=Sn(s,Kn),Kn.X=Sn(x,Kn),Kn.c=Sn(A,Kn),{format:function(mn){var $n=Sn(mn+="",hn);return $n.toString=function(){return mn},$n},parse:function(mn){var $n=Vr(mn+="",!1);return $n.toString=function(){return mn},$n},utcFormat:function(mn){var $n=Sn(mn+="",Kn);return $n.toString=function(){return mn},$n},utcParse:function(mn){var $n=Vr(mn+="",!0);return $n.toString=function(){return mn},$n}}})(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 Ph=kr(Ua).right,Q2=(kr(bs),Ph);function Cd(f,A){return f=+f,A=+A,function(s){return Math.round(f*(1-s)+A*s)}}function J2(f){return+f}var S1=[0,1];function nc(f){return f}function Wc(f,A){return(A-=f=+f)?function(s){return(s-f)/A}:function q2(f){return function(){return f}}(isNaN(A)?NaN:.5)}function X2(f,A,s){var x=f[0],B=f[1],j=A[0],Ae=A[1];return B<x?(x=Wc(B,x),j=s(Ae,j)):(x=Wc(x,B),j=s(j,Ae)),function(it){return j(x(it))}}function E1(f,A,s){var x=Math.min(f.length,A.length)-1,B=new Array(x),j=new Array(x),Ae=-1;for(f[x]<f[0]&&(f=f.slice().reverse(),A=A.slice().reverse());++Ae<x;)B[Ae]=Wc(f[Ae],f[Ae+1]),j[Ae]=s(A[Ae],A[Ae+1]);return function(it){var Qt=Q2(f,it,1,x)-1;return j[Qt](B[Qt](it))}}function T1(){return function $2(){var x,B,j,it,Qt,Yt,f=S1,A=S1,s=Oi,Ae=nc;function hi(){var Mi=Math.min(f.length,A.length);return Ae!==nc&&(Ae=function Tl(f,A){var s;return f>A&&(s=f,f=A,A=s),function(x){return Math.max(f,Math.min(A,x))}}(f[0],f[Mi-1])),it=Mi>2?E1:X2,Qt=Yt=null,vi}function vi(Mi){return null==Mi||isNaN(Mi=+Mi)?j:(Qt||(Qt=it(f.map(x),A,s)))(x(Ae(Mi)))}return vi.invert=function(Mi){return Ae(B((Yt||(Yt=it(A,f.map(x),qn)))(Mi)))},vi.domain=function(Mi){return arguments.length?(f=Array.from(Mi,J2),hi()):f.slice()},vi.range=function(Mi){return arguments.length?(A=Array.from(Mi),hi()):A.slice()},vi.rangeRound=function(Mi){return A=Array.from(Mi),s=Cd,hi()},vi.clamp=function(Mi){return arguments.length?(Ae=!!Mi||nc,hi()):Ae!==nc},vi.interpolate=function(Mi){return arguments.length?(s=Mi,hi()):s},vi.unknown=function(Mi){return arguments.length?(j=Mi,vi):j},function(Mi,Di){return x=Mi,B=Di,hi()}}()(nc,nc)}function Rs(f,A){switch(arguments.length){case 0:break;case 1:this.range(f);break;default:this.range(A).domain(f)}return this}var rc,A1=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function wc(f){if(!(A=A1.exec(f)))throw new Error("invalid format: "+f);var A;return new Mc({fill:A[1],align:A[2],sign:A[3],symbol:A[4],zero:A[5],width:A[6],comma:A[7],precision:A[8]&&A[8].slice(1),trim:A[9],type:A[10]})}function Mc(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 D1(f,A){if((s=(f=A?f.toExponential(A-1):f.toExponential()).indexOf("e"))<0)return null;var s,x=f.slice(0,s);return[x.length>1?x[0]+x.slice(2):x,+f.slice(s+1)]}function Al(f){return(f=D1(Math.abs(f)))?f[1]:NaN}function I1(f,A){var s=D1(f,A);if(!s)return f+"";var x=s[0],B=s[1];return B<0?"0."+new Array(-B).join("0")+x:x.length>B+1?x.slice(0,B+1)+"."+x.slice(B+1):x+new Array(B-x.length+2).join("0")}wc.prototype=Mc.prototype,Mc.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 Md={"%":(f,A)=>(100*f).toFixed(A),b:f=>Math.round(f).toString(2),c:f=>f+"",d:function yo(f){return Math.abs(f=Math.round(f))>=1e21?f.toLocaleString("en").replace(/,/g,""):f.toString(10)},e:(f,A)=>f.toExponential(A),f:(f,A)=>f.toFixed(A),g:(f,A)=>f.toPrecision(A),o:f=>Math.round(f).toString(8),p:(f,A)=>I1(100*f,A),r:I1,s:function L1(f,A){var s=D1(f,A);if(!s)return f+"";var x=s[0],B=s[1],j=B-(rc=3*Math.max(-8,Math.min(8,Math.floor(B/3))))+1,Ae=x.length;return j===Ae?x:j>Ae?x+new Array(j-Ae+1).join("0"):j>0?x.slice(0,j)+"."+x.slice(j):"0."+new Array(1-j).join("0")+D1(f,Math.max(0,A+j-1))[0]},X:f=>Math.round(f).toString(16).toUpperCase(),x:f=>Math.round(f).toString(16)};function Sd(f){return f}var k1,Td,r0,Ed=Array.prototype.map,Hs=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function Uh(f){var A=f.domain;return f.ticks=function(s){var x=A();return function J1(f,A,s){if(!((s=+s)>0))return[];if((f=+f)==(A=+A))return[f];const x=A<f,[B,j,Ae]=x?Js(A,f,s):Js(f,A,s);if(!(j>=B))return[];const it=j-B+1,Qt=new Array(it);if(x)if(Ae<0)for(let Yt=0;Yt<it;++Yt)Qt[Yt]=(j-Yt)/-Ae;else for(let Yt=0;Yt<it;++Yt)Qt[Yt]=(j-Yt)*Ae;else if(Ae<0)for(let Yt=0;Yt<it;++Yt)Qt[Yt]=(B+Yt)/-Ae;else for(let Yt=0;Yt<it;++Yt)Qt[Yt]=(B+Yt)*Ae;return Qt}(x[0],x[x.length-1],s??10)},f.tickFormat=function(s,x){var B=A();return function Bh(f,A,s,x){var j,B=ps(f,A,s);switch((x=wc(x??",f")).type){case"s":var Ae=Math.max(Math.abs(f),Math.abs(A));return null==x.precision&&!isNaN(j=function ys(f,A){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Al(A)/3)))-Al(Math.abs(f)))}(B,Ae))&&(x.precision=j),r0(x,Ae);case"":case"e":case"g":case"p":case"r":null==x.precision&&!isNaN(j=function Fs(f,A){return f=Math.abs(f),A=Math.abs(A)-f,Math.max(0,Al(A)-Al(f))+1}(B,Math.max(Math.abs(f),Math.abs(A))))&&(x.precision=j-("e"===x.type));break;case"f":case"%":null==x.precision&&!isNaN(j=function Sc(f){return Math.max(0,-Al(Math.abs(f)))}(B))&&(x.precision=j-2*("%"===x.type))}return Td(x)}(B[0],B[B.length-1],s??10,x)},f.nice=function(s){null==s&&(s=10);var Qt,Yt,x=A(),B=0,j=x.length-1,Ae=x[B],it=x[j],hi=10;for(it<Ae&&(Yt=Ae,Ae=it,it=Yt,Yt=B,B=j,j=Yt);hi-- >0;){if((Yt=Oc(Ae,it,s))===Qt)return x[B]=Ae,x[j]=it,A(x);if(Yt>0)Ae=Math.floor(Ae/Yt)*Yt,it=Math.ceil(it/Yt)*Yt;else{if(!(Yt<0))break;Ae=Math.ceil(Ae*Yt)/Yt,it=Math.floor(it*Yt)/Yt}Qt=Yt}return f},f}function ac(){var f=T1();return f.copy=function(){return function Yc(f,A){return A.domain(f.domain()).range(f.range()).interpolate(f.interpolate()).clamp(f.clamp()).unknown(f.unknown())}(f,ac())},Rs.apply(f,arguments),Uh(f)}function a0(f,A,s){f=+f,A=+A,s=(B=arguments.length)<2?(A=f,f=0,1):B<3?1:+s;for(var x=-1,B=0|Math.max(0,Math.ceil((A-f)/s)),j=new Array(B);++x<B;)j[x]=f+x*s;return j}!function Vh(f){k1=function zh(f){var A=void 0===f.grouping||void 0===f.thousands?Sd:function Hh(f,A){return function(s,x){for(var B=s.length,j=[],Ae=0,it=f[0],Qt=0;B>0&&it>0&&(Qt+it+1>x&&(it=Math.max(1,x-Qt)),j.push(s.substring(B-=it,B+it)),!((Qt+=it+1)>x));)it=f[Ae=(Ae+1)%f.length];return j.reverse().join(A)}}(Ed.call(f.grouping,Number),f.thousands+""),s=void 0===f.currency?"":f.currency[0]+"",x=void 0===f.currency?"":f.currency[1]+"",B=void 0===f.decimal?".":f.decimal+"",j=void 0===f.numerals?Sd:function wd(f){return function(A){return A.replace(/[0-9]/g,function(s){return f[+s]})}}(Ed.call(f.numerals,String)),Ae=void 0===f.percent?"%":f.percent+"",it=void 0===f.minus?"\u2212":f.minus+"",Qt=void 0===f.nan?"NaN":f.nan+"";function Yt(vi){var Mi=(vi=wc(vi)).fill,Di=vi.align,tn=vi.sign,gn=vi.symbol,ki=vi.zero,fn=vi.width,Nn=vi.comma,hn=vi.precision,Kn=vi.trim,Wn=vi.type;"n"===Wn?(Nn=!0,Wn="g"):Md[Wn]||(void 0===hn&&(hn=12),Kn=!0,Wn="g"),(ki||"0"===Mi&&"="===Di)&&(ki=!0,Mi="0",Di="=");var Sn="$"===gn?s:"#"===gn&&/[boxX]/.test(Wn)?"0"+Wn.toLowerCase():"",Vr="$"===gn?x:/[%p]/.test(Wn)?Ae:"",Or=Md[Wn],Aa=/[defgprs%]/.test(Wn);function oa(Rn){var Br,cs,ea,Oa=Sn,hr=Vr;if("c"===Wn)hr=Or(Rn)+hr,Rn="";else{var ma=(Rn=+Rn)<0||1/Rn<0;if(Rn=isNaN(Rn)?Qt:Or(Math.abs(Rn),hn),Kn&&(Rn=function Fh(f){e:for(var B,A=f.length,s=1,x=-1;s<A;++s)switch(f[s]){case".":x=B=s;break;case"0":0===x&&(x=s),B=s;break;default:if(!+f[s])break e;x>0&&(x=0)}return x>0?f.slice(0,x)+f.slice(B+1):f}(Rn)),ma&&0==+Rn&&"+"!==tn&&(ma=!1),Oa=(ma?"("===tn?tn:it:"-"===tn||"("===tn?"":tn)+Oa,hr=("s"===Wn?Hs[8+rc/3]:"")+hr+(ma&&"("===tn?")":""),Aa)for(Br=-1,cs=Rn.length;++Br<cs;)if(48>(ea=Rn.charCodeAt(Br))||ea>57){hr=(46===ea?B+Rn.slice(Br+1):Rn.slice(Br))+hr,Rn=Rn.slice(0,Br);break}}Nn&&!ki&&(Rn=A(Rn,1/0));var $o=Oa.length+Rn.length+hr.length,Tr=$o<fn?new Array(fn-$o+1).join(Mi):"";switch(Nn&&ki&&(Rn=A(Tr+Rn,Tr.length?fn-hr.length:1/0),Tr=""),Di){case"<":Rn=Oa+Rn+hr+Tr;break;case"=":Rn=Oa+Tr+Rn+hr;break;case"^":Rn=Tr.slice(0,$o=Tr.length>>1)+Oa+Rn+hr+Tr.slice($o);break;default:Rn=Tr+Oa+Rn+hr}return j(Rn)}return hn=void 0===hn?6:/[gprs]/.test(Wn)?Math.max(1,Math.min(21,hn)):Math.max(0,Math.min(20,hn)),oa.toString=function(){return vi+""},oa}return{format:Yt,formatPrefix:function hi(vi,Mi){var Di=Yt(((vi=wc(vi)).type="f",vi)),tn=3*Math.max(-8,Math.min(8,Math.floor(Al(Mi)/3))),gn=Math.pow(10,-tn),ki=Hs[8+tn/3];return function(fn){return Di(gn*fn)+ki}}}}(f),Td=k1.format,r0=k1.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});class O1 extends Map{constructor(A,s=c0){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:s}}),null!=A)for(const[x,B]of A)this.set(x,B)}get(A){return super.get(jc(this,A))}has(A){return super.has(jc(this,A))}set(A,s){return super.set(function o0({_intern:f,_key:A},s){const x=A(s);return f.has(x)?f.get(x):(f.set(x,s),s)}(this,A),s)}delete(A){return super.delete(function s0({_intern:f,_key:A},s){const x=A(s);return f.has(x)&&(s=f.get(x),f.delete(x)),s}(this,A))}}function jc({_intern:f,_key:A},s){const x=A(s);return f.has(x)?f.get(x):s}function c0(f){return null!==f&&"object"==typeof f?f.valueOf():f}const Ad=Symbol("implicit");function Kc(){var f=new O1,A=[],s=[],x=Ad;function B(j){let Ae=f.get(j);if(void 0===Ae){if(x!==Ad)return x;f.set(j,Ae=A.push(j)-1)}return s[Ae%s.length]}return B.domain=function(j){if(!arguments.length)return A.slice();A=[],f=new O1;for(const Ae of j)f.has(Ae)||f.set(Ae,A.push(Ae)-1);return B},B.range=function(j){return arguments.length?(s=Array.from(j),B):s.slice()},B.unknown=function(j){return arguments.length?(x=j,B):x},B.copy=function(){return Kc(A,s).unknown(x)},Rs.apply(B,arguments),B}function xo(){var j,Ae,f=Kc().unknown(void 0),A=f.domain,s=f.range,x=0,B=1,it=!1,Qt=0,Yt=0,hi=.5;function vi(){var Mi=A().length,Di=B<x,tn=Di?B:x,gn=Di?x:B;j=(gn-tn)/Math.max(1,Mi-Qt+2*Yt),it&&(j=Math.floor(j)),tn+=(gn-tn-j*(Mi-Qt))*hi,Ae=j*(1-Qt),it&&(tn=Math.round(tn),Ae=Math.round(Ae));var ki=a0(Mi).map(function(fn){return tn+j*fn});return s(Di?ki.reverse():ki)}return delete f.unknown,f.domain=function(Mi){return arguments.length?(A(Mi),vi()):A()},f.range=function(Mi){return arguments.length?([x,B]=Mi,x=+x,B=+B,vi()):[x,B]},f.rangeRound=function(Mi){return[x,B]=Mi,x=+x,B=+B,it=!0,vi()},f.bandwidth=function(){return Ae},f.step=function(){return j},f.round=function(Mi){return arguments.length?(it=!!Mi,vi()):it},f.padding=function(Mi){return arguments.length?(Qt=Math.min(1,Yt=+Mi),vi()):Qt},f.paddingInner=function(Mi){return arguments.length?(Qt=Math.min(1,Mi),vi()):Qt},f.paddingOuter=function(Mi){return arguments.length?(Yt=+Mi,vi()):Yt},f.align=function(Mi){return arguments.length?(hi=Math.max(0,Math.min(1,Mi)),vi()):hi},f.copy=function(){return xo(A(),[x,B]).round(it).paddingInner(Qt).paddingOuter(Yt).align(hi)},Rs.apply(vi(),arguments)}function l0(f,A,s=bs){if((x=f.length)&&!isNaN(A=+A)){if(A<=0||x<2)return+s(f[0],0,f);if(A>=1)return+s(f[x-1],x-1,f);var x,B=(x-1)*A,j=Math.floor(B),Ae=+s(f[j],j,f);return Ae+(+s(f[j+1],j+1,f)-Ae)*(B-j)}}function Zh(){var x,f=[],A=[],s=[];function B(){var Ae=0,it=Math.max(1,A.length);for(s=new Array(it-1);++Ae<it;)s[Ae-1]=l0(f,Ae/it);return j}function j(Ae){return null==Ae||isNaN(Ae=+Ae)?x:A[Q2(s,Ae)]}return j.invertExtent=function(Ae){var it=A.indexOf(Ae);return it<0?[NaN,NaN]:[it>0?s[it-1]:f[0],it<s.length?s[it]:f[f.length-1]]},j.domain=function(Ae){if(!arguments.length)return f.slice();f=[];for(let it of Ae)null!=it&&!isNaN(it=+it)&&f.push(it);return f.sort(Ua),B()},j.range=function(Ae){return arguments.length?(A=Array.from(Ae),B()):A.slice()},j.unknown=function(Ae){return arguments.length?(x=Ae,j):x},j.quantiles=function(){return s.slice()},j.copy=function(){return Zh().domain(f).range(A).unknown(x)},Rs.apply(j,arguments)}var Mf=p(2178);const Ld=["caretElm"];function Id(f,A){}const Wh=function(f){return{model:f}};function Sf(f,A){if(1&f&&(e.TgZ(0,"span"),e.YNc(1,Id,0,0,"ng-template",5),e.qZA()),2&f){const s=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",s.template)("ngTemplateOutletContext",e.VKq(2,Wh,s.context))}}function d0(f,A){if(1&f&&e._UZ(0,"span",6),2&f){const s=e.oxw();e.Q6J("innerHTML",s.title,e.oJD)}}function Yh(f,A){if(1&f&&(e.TgZ(0,"header",4)(1,"span",5),e._uU(2),e.qZA()()),2&f){const s=e.oxw();e.xp6(2),e.Oqu(s.title)}}function kd(f,A){if(1&f){const s=e.EpF();e.TgZ(0,"li",6)(1,"ngx-charts-legend-entry",7),e.NdJ("select",function(B){e.CHM(s);const j=e.oxw();return e.KtG(j.labelClick.emit(B))})("activate",function(B){e.CHM(s);const j=e.oxw();return e.KtG(j.activate(B))})("deactivate",function(B){e.CHM(s);const j=e.oxw();return e.KtG(j.deactivate(B))}),e.qZA()()}if(2&f){const s=A.$implicit,x=e.oxw();e.xp6(1),e.Q6J("label",s.label)("formattedLabel",s.formattedLabel)("color",s.color)("isActive",x.isActive(s))}}function h0(f,A){if(1&f&&(e.O4$(),e.kcU(),e._UZ(0,"ngx-charts-scale-legend",4)),2&f){const s=e.oxw();e.Q6J("horizontal",s.legendOptions&&s.legendOptions.position===s.LegendPosition.Below)("valueRange",s.legendOptions.domain)("colors",s.legendOptions.colors)("height",s.view[1])("width",s.legendWidth)}}function u0(f,A){if(1&f){const s=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"ngx-charts-legend",5),e.NdJ("labelClick",function(B){e.CHM(s);const j=e.oxw();return e.KtG(j.legendLabelClick.emit(B))})("labelActivate",function(B){e.CHM(s);const j=e.oxw();return e.KtG(j.legendLabelActivate.emit(B))})("labelDeactivate",function(B){e.CHM(s);const j=e.oxw();return e.KtG(j.legendLabelDeactivate.emit(B))}),e.qZA()}if(2&f){const s=e.oxw();e.Q6J("horizontal",s.legendOptions&&s.legendOptions.position===s.LegendPosition.Below)("data",s.legendOptions.domain)("title",s.legendOptions.title)("colors",s.legendOptions.colors)("height",s.view[1])("width",s.legendWidth)("activeEntries",s.activeEntries)}}const Od=["*"],Dl=["ngx-charts-axis-label",""],qc=["ticksel"],P1=["ngx-charts-x-axis-ticks",""];function jh(f,A){1&f&&(e.O4$(),e.GkF(0))}function Ec(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"tspan",10),e._uU(1),e.qZA()),2&f){const s=A.$implicit;e.uIk("y",12*A.index),e.xp6(1),e.hij(" ",s," ")}}function Pd(f,A){if(1&f&&(e.O4$(),e.ynx(0),e.YNc(1,Ec,2,2,"tspan",9),e.BQk()),2&f){const s=A.ngIf;e.xp6(1),e.Q6J("ngForOf",s)}}function Kh(f,A){if(1&f&&(e.O4$(),e.YNc(0,Pd,2,1,"ng-container",4)),2&f){const s=e.oxw(2).$implicit,x=e.oxw();e.Q6J("ngIf",x.tickChunks(s))}}function Nd(f,A){if(1&f&&(e.O4$(),e._uU(0)),2&f){const s=e.oxw().ngIf,x=e.oxw(2);e.hij(" ",x.tickTrim(s)," ")}}function Rd(f,A){if(1&f&&(e.O4$(),e.ynx(0),e.TgZ(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",5),e.YNc(4,jh,1,0,"ng-container",6),e.qZA(),e.YNc(5,Kh,1,1,"ng-template",null,7,e.W1O),e.YNc(7,Nd,1,1,"ng-template",null,8,e.W1O),e.BQk()),2&f){const s=A.ngIf,x=e.MAs(6),B=e.MAs(8),j=e.oxw(2);e.xp6(2),e.Oqu(s),e.xp6(1),e.uIk("text-anchor",j.textAnchor)("transform",j.textTransform),e.xp6(1),e.Q6J("ngIf",j.isWrapTicksSupported)("ngIfThen",x)("ngIfElse",B)}}function Qh(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"g",3),e.YNc(1,Rd,9,6,"ng-container",4),e.qZA()),2&f){const s=A.$implicit,x=e.oxw();e.uIk("transform",x.tickTransform(s)),e.xp6(1),e.Q6J("ngIf",x.tickFormat(s))}}function f0(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"line",11),e.qZA()),2&f){const s=e.oxw(2);e.uIk("transform",s.gridLineTransform()),e.xp6(1),e.uIk("y1",-s.gridLineHeight)}}function Hd(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,f0,2,2,"g",4),e.qZA()),2&f){const s=A.$implicit,x=e.oxw();e.uIk("transform",x.tickTransform(s)),e.xp6(1),e.Q6J("ngIf",x.showGridLines)}}const qh=["ngx-charts-x-axis",""];function N(f,A){if(1&f){const s=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("dimensionsChanged",function(B){e.CHM(s);const j=e.oxw();return e.KtG(j.emitTicksHeight(B))}),e.qZA()}if(2&f){const s=e.oxw();e.Q6J("trimTicks",s.trimTicks)("rotateTicks",s.rotateTicks)("maxTickLength",s.maxTickLength)("tickFormatting",s.tickFormatting)("tickArguments",s.tickArguments)("tickStroke",s.tickStroke)("scale",s.xScale)("orient",s.xOrient)("showGridLines",s.showGridLines)("gridLineHeight",s.dims.height)("width",s.dims.width)("tickValues",s.ticks)("wrapTicks",s.wrapTicks)}}function z(f,A){if(1&f&&(e.O4$(),e._UZ(0,"g",3)),2&f){const s=e.oxw();e.Q6J("label",s.labelText)("offset",s.labelOffset)("orient",s.orientation.Bottom)("height",s.dims.height)("width",s.dims.width)}}const v=["ngx-charts-y-axis-ticks",""];function U(f,A){1&f&&(e.O4$(),e.GkF(0))}function Z(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"tspan",12),e._uU(1),e.qZA()),2&f){const s=A.$implicit,x=A.index,B=e.oxw(6);e.uIk("y",x*(8+B.tickSpacing)),e.xp6(1),e.hij(" ",s," ")}}function Re(f,A){if(1&f&&(e.O4$(),e.ynx(0),e.YNc(1,Z,2,2,"tspan",11),e.BQk()),2&f){const s=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",s)}}function Vt(f,A){if(1&f&&(e.O4$(),e.ynx(0),e.YNc(1,Re,2,1,"ng-container",10),e.BQk()),2&f){const s=A.ngIf;e.oxw(2);const x=e.MAs(8);e.xp6(1),e.Q6J("ngIf",s.length>1)("ngIfElse",x)}}function ei(f,A){if(1&f&&(e.O4$(),e.YNc(0,Vt,2,2,"ng-container",5)),2&f){const s=e.oxw(2).$implicit,x=e.oxw();e.Q6J("ngIf",x.tickChunks(s))}}function fi(f,A){if(1&f&&(e.O4$(),e._uU(0)),2&f){const s=e.oxw().ngIf,x=e.oxw(2);e.hij(" ",x.tickTrim(s)," ")}}function Ei(f,A){if(1&f&&(e.O4$(),e.ynx(0),e.TgZ(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",6),e.YNc(4,U,1,0,"ng-container",7),e.qZA(),e.YNc(5,ei,1,1,"ng-template",null,8,e.W1O),e.YNc(7,fi,1,1,"ng-template",null,9,e.W1O),e.BQk()),2&f){const s=A.ngIf,x=e.MAs(6),B=e.MAs(8),j=e.oxw(2);e.xp6(2),e.Oqu(s),e.xp6(1),e.Udp("font-size","12px"),e.uIk("dy",j.dy)("x",j.x1)("y",j.y1)("text-anchor",j.textAnchor),e.xp6(1),e.Q6J("ngIf",j.wrapTicks)("ngIfThen",x)("ngIfElse",B)}}function an(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"g",4),e.YNc(1,Ei,9,10,"ng-container",5),e.qZA()),2&f){const s=A.$implicit,x=e.oxw();e.uIk("transform",x.transform(s)),e.xp6(1),e.Q6J("ngIf",x.tickFormat(s))}}function ji(f,A){if(1&f&&(e.O4$(),e._UZ(0,"path",13)),2&f){const s=e.oxw();e.uIk("d",s.referenceAreaPath)("transform",s.gridLineTransform())}}function Un(f,A){if(1&f&&(e.O4$(),e._UZ(0,"line",15)),2&f){const s=e.oxw(3);e.uIk("x2",s.gridLineWidth)}}function On(f,A){if(1&f&&(e.O4$(),e._UZ(0,"line",15)),2&f){const s=e.oxw(3);e.uIk("x2",-s.gridLineWidth)}}function pn(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Un,1,1,"line",14),e.YNc(2,On,1,1,"line",14),e.qZA()),2&f){const s=e.oxw(2);e.uIk("transform",s.gridLineTransform()),e.xp6(1),e.Q6J("ngIf",s.orient===s.Orientation.Left),e.xp6(1),e.Q6J("ngIf",s.orient===s.Orientation.Right)}}function In(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,pn,3,3,"g",5),e.qZA()),2&f){const s=A.$implicit,x=e.oxw();e.uIk("transform",x.transform(s)),e.xp6(1),e.Q6J("ngIf",x.showGridLines)}}function Cr(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"g")(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",17),e._uU(4),e.qZA()()),2&f){const s=e.oxw(2).$implicit,x=e.oxw();e.xp6(2),e.Oqu(x.tickTrim(x.tickFormat(s.value))),e.xp6(1),e.uIk("dy",x.dy)("y",-6)("x",x.gridLineWidth)("text-anchor",x.textAnchor),e.xp6(1),e.hij(" ",s.name," ")}}function $r(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"line",16),e.YNc(2,Cr,5,6,"g",5),e.qZA()),2&f){const s=e.oxw().$implicit,x=e.oxw();e.uIk("transform",x.transform(s.value)),e.xp6(1),e.uIk("x2",x.gridLineWidth)("transform",x.gridLineTransform()),e.xp6(1),e.Q6J("ngIf",x.showRefLabels)}}function fa(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,$r,3,4,"g",5),e.qZA()),2&f){const s=e.oxw();e.xp6(1),e.Q6J("ngIf",s.showRefLines)}}const mo=["ngx-charts-y-axis",""];function aa(f,A){if(1&f){const s=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("dimensionsChanged",function(B){e.CHM(s);const j=e.oxw();return e.KtG(j.emitTicksWidth(B))}),e.qZA()}if(2&f){const s=e.oxw();e.Q6J("trimTicks",s.trimTicks)("maxTickLength",s.maxTickLength)("tickFormatting",s.tickFormatting)("tickArguments",s.tickArguments)("tickValues",s.ticks)("tickStroke",s.tickStroke)("scale",s.yScale)("orient",s.yOrient)("showGridLines",s.showGridLines)("gridLineWidth",s.dims.width)("referenceLines",s.referenceLines)("showRefLines",s.showRefLines)("showRefLabels",s.showRefLabels)("height",s.dims.height)("wrapTicks",s.wrapTicks)}}function Jc(f,A){if(1&f&&(e.O4$(),e._UZ(0,"g",3)),2&f){const s=e.oxw();e.Q6J("label",s.labelText)("offset",s.labelOffset)("orient",s.yOrient)("height",s.dims.height)("width",s.dims.width)}}const jo=["ngx-charts-svg-linear-gradient",""];function ja(f,A){if(1&f&&(e.O4$(),e._UZ(0,"stop")),2&f){const s=A.$implicit;e.Udp("stop-color",s.color)("stop-opacity",s.opacity),e.uIk("offset",s.offset+"%")}}const Fd=["ngx-charts-grid-panel",""],m0=["ngx-charts-grid-panel-series",""];function un(f,A){if(1&f&&(e.O4$(),e._UZ(0,"g",1)),2&f){const s=A.$implicit;e.ekj("grid-panel",!0)("odd","odd"===s.class)("even","even"===s.class),e.Q6J("height",s.height)("width",s.width)("x",s.x)("y",s.y)}}const Bd=["tooltipTemplate"],Xc=function(f,A){return[f,A]},Wd=".ngx-charts-outer{animation:chartFadeIn linear .6s}@keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}.ngx-charts{float:left;overflow:visible}.ngx-charts .circle,.ngx-charts .cell,.ngx-charts .bar,.ngx-charts .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",E4=["ngx-charts-bar",""];function kf(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"g",2),e.qZA()),2&f){const s=e.oxw();e.xp6(1),e.Q6J("orientation",s.orientation)("name",s.gradientId)("stops",s.gradientStops)}}const eu=["ngx-charts-bar-label",""],Rf=["ngx-charts-series-vertical",""];function Hf(f,A){if(1&f){const s=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(B){e.CHM(s);const j=e.oxw(2);return e.KtG(j.onClick(B))})("activate",function(B){e.CHM(s);const j=e.oxw(2);return e.KtG(j.activate.emit(B))})("deactivate",function(B){e.CHM(s);const j=e.oxw(2);return e.KtG(j.deactivate.emit(B))}),e.qZA()}if(2&f){const s=A.$implicit,x=e.oxw(2);e.Q6J("@animationState","active")("@.disabled",!x.animations)("width",s.width)("height",s.height)("x",s.x)("y",s.y)("fill",s.color)("stops",s.gradientStops)("data",s.data)("orientation",x.barOrientation.Vertical)("roundEdges",s.roundEdges)("gradient",x.gradient)("ariaLabel",s.ariaLabel)("isActive",x.isActive(s.data))("tooltipDisabled",x.tooltipDisabled)("tooltipPlacement",x.tooltipPlacement)("tooltipType",x.tooltipType)("tooltipTitle",x.tooltipTemplate?void 0:s.tooltipText)("tooltipTemplate",x.tooltipTemplate)("tooltipContext",s.data)("noBarWhenZero",x.noBarWhenZero)("animations",x.animations)}}function Ff(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Hf,1,22,"g",1),e.qZA()),2&f){const s=e.oxw();e.xp6(1),e.Q6J("ngForOf",s.bars)("ngForTrackBy",s.trackBy)}}function zf(f,A){if(1&f){const s=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(B){e.CHM(s);const j=e.oxw(2);return e.KtG(j.onClick(B))})("activate",function(B){e.CHM(s);const j=e.oxw(2);return e.KtG(j.activate.emit(B))})("deactivate",function(B){e.CHM(s);const j=e.oxw(2);return e.KtG(j.deactivate.emit(B))}),e.qZA()}if(2&f){const s=A.$implicit,x=e.oxw(2);e.Q6J("width",s.width)("height",s.height)("x",s.x)("y",s.y)("fill",s.color)("stops",s.gradientStops)("data",s.data)("orientation",x.barOrientation.Vertical)("roundEdges",s.roundEdges)("gradient",x.gradient)("ariaLabel",s.ariaLabel)("isActive",x.isActive(s.data))("tooltipDisabled",x.tooltipDisabled)("tooltipPlacement",x.tooltipPlacement)("tooltipType",x.tooltipType)("tooltipTitle",x.tooltipTemplate?void 0:s.tooltipText)("tooltipTemplate",x.tooltipTemplate)("tooltipContext",s.data)("noBarWhenZero",x.noBarWhenZero)("animations",x.animations)}}function P4(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,zf,1,20,"g",1),e.qZA()),2&f){const s=e.oxw();e.xp6(1),e.Q6J("ngForOf",s.bars)("ngForTrackBy",s.trackBy)}}function _6(f,A){if(1&f){const s=e.EpF();e.O4$(),e.TgZ(0,"g",4),e.NdJ("dimensionsChanged",function(B){const Ae=e.CHM(s).index,it=e.oxw(2);return e.KtG(it.dataLabelHeightChanged.emit({size:B,index:Ae}))}),e.qZA()}if(2&f){const s=A.$implicit,x=e.oxw(2);e.Q6J("barX",s.x)("barY",s.y)("barWidth",s.width)("barHeight",s.height)("value",s.total)("valueFormatting",x.dataLabelFormatting)("orientation",x.barOrientation.Vertical)}}function iu(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,_6,1,7,"g",3),e.qZA()),2&f){const s=e.oxw();e.xp6(1),e.Q6J("ngForOf",s.barsForDataLabels)("ngForTrackBy",s.trackDataLabelBy)}}function Vf(f,A){if(1&f){const s=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(B){e.CHM(s);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&f){const s=e.oxw();e.Q6J("xScale",s.xScale)("dims",s.dims)("showGridLines",s.showGridLines)("showLabel",s.showXAxisLabel)("labelText",s.xAxisLabel)("trimTicks",s.trimXAxisTicks)("rotateTicks",s.rotateXAxisTicks)("maxTickLength",s.maxXAxisTickLength)("tickFormatting",s.xAxisTickFormatting)("ticks",s.xAxisTicks)("xAxisOffset",s.dataLabelMaxHeight.negative)("wrapTicks",s.wrapTicks)}}function Vs(f,A){if(1&f){const s=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(s);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&f){const s=e.oxw();e.Q6J("yScale",s.yScale)("dims",s.dims)("showGridLines",s.showGridLines)("showLabel",s.showYAxisLabel)("labelText",s.yAxisLabel)("trimTicks",s.trimYAxisTicks)("maxTickLength",s.maxYAxisTickLength)("tickFormatting",s.yAxisTickFormatting)("ticks",s.yAxisTicks)("wrapTicks",s.wrapTicks)}}function Bf(f,A){if(1&f){const s=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(s);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&f){const s=e.oxw();e.Q6J("xScale",s.groupScale)("dims",s.dims)("showLabel",s.showXAxisLabel)("labelText",s.xAxisLabel)("trimTicks",s.trimXAxisTicks)("rotateTicks",s.rotateXAxisTicks)("maxTickLength",s.maxXAxisTickLength)("tickFormatting",s.xAxisTickFormatting)("ticks",s.xAxisTicks)("xAxisOffset",s.dataLabelMaxHeight.negative)("wrapTicks",s.wrapTicks)}}function v6(f,A){if(1&f){const s=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(s);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&f){const s=e.oxw();e.Q6J("yScale",s.valueScale)("dims",s.dims)("showGridLines",s.showGridLines)("showLabel",s.showYAxisLabel)("labelText",s.yAxisLabel)("trimTicks",s.trimYAxisTicks)("maxTickLength",s.maxYAxisTickLength)("tickFormatting",s.yAxisTickFormatting)("ticks",s.yAxisTicks)("wrapTicks",s.wrapTicks)}}function nu(f,A){if(1&f){const s=e.EpF();e.O4$(),e.TgZ(0,"g",9),e.NdJ("select",function(B){const Ae=e.CHM(s).$implicit,it=e.oxw(2);return e.KtG(it.onClick(B,Ae))})("activate",function(B){const Ae=e.CHM(s).$implicit,it=e.oxw(2);return e.KtG(it.onActivate(B,Ae))})("deactivate",function(B){const Ae=e.CHM(s).$implicit,it=e.oxw(2);return e.KtG(it.onDeactivate(B,Ae))})("dataLabelHeightChanged",function(B){const Ae=e.CHM(s).index,it=e.oxw(2);return e.KtG(it.onDataLabelMaxHeightChanged(B,Ae))}),e.qZA()}if(2&f){const s=A.$implicit,x=e.oxw(2);e.Q6J("@animationState","active")("activeEntries",x.activeEntries)("xScale",x.innerScale)("yScale",x.valueScale)("colors",x.colors)("series",s.series)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("seriesName",s.name)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero),e.uIk("transform",x.groupTransform(s))}}function $c(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,nu,1,17,"g",8),e.qZA()),2&f){const s=e.oxw();e.xp6(1),e.Q6J("ngForOf",s.results)("ngForTrackBy",s.trackBy)}}function jd(f,A){if(1&f){const s=e.EpF();e.O4$(),e.TgZ(0,"g",9),e.NdJ("select",function(B){const Ae=e.CHM(s).$implicit,it=e.oxw(2);return e.KtG(it.onClick(B,Ae))})("activate",function(B){const Ae=e.CHM(s).$implicit,it=e.oxw(2);return e.KtG(it.onActivate(B,Ae))})("deactivate",function(B){const Ae=e.CHM(s).$implicit,it=e.oxw(2);return e.KtG(it.onDeactivate(B,Ae))})("dataLabelHeightChanged",function(B){const Ae=e.CHM(s).index,it=e.oxw(2);return e.KtG(it.onDataLabelMaxHeightChanged(B,Ae))}),e.qZA()}if(2&f){const s=A.$implicit,x=e.oxw(2);e.Q6J("activeEntries",x.activeEntries)("xScale",x.innerScale)("yScale",x.valueScale)("colors",x.colors)("series",s.series)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("seriesName",s.name)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero),e.uIk("transform",x.groupTransform(s))}}function N4(f,A){if(1&f&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,jd,1,16,"g",8),e.qZA()),2&f){const s=e.oxw();e.xp6(1),e.Q6J("ngForOf",s.results)("ngForTrackBy",s.trackBy)}}function l3(f,A,s){s=s||{};let x,B,j,Ae=null,it=0;function Qt(){it=!1===s.leading?0:+new Date,Ae=null,j=f.apply(x,B)}return function(){const Yt=+new Date;!it&&!1===s.leading&&(it=Yt);const hi=A-(Yt-it);return x=this,B=arguments,hi<=0?(clearTimeout(Ae),Ae=null,it=Yt,j=f.apply(x,B)):!Ae&&!1!==s.trailing&&(Ae=setTimeout(Qt,hi)),j}}function Xd(f,A){return function(x,B,j){return{configurable:!0,enumerable:j.enumerable,get:function(){return Object.defineProperty(this,B,{configurable:!0,enumerable:j.enumerable,value:l3(j.value,f,A)}),this[B]}}}}var rr=function(f){return f.Top="top",f.Bottom="bottom",f.Left="left",f.Right="right",f.Center="center",f}(rr||{});function du(f,A,s){return s===rr.Top?f.top-7:s===rr.Bottom?f.top+f.height-A.height+7:s===rr.Center?f.top+f.height/2-A.height/2:void 0}function hu(f,A,s){return s===rr.Left?f.left-7:s===rr.Right?f.left+f.width-A.width+7:s===rr.Center?f.left+f.width/2-A.width/2:void 0}class Ho{static calculateVerticalAlignment(A,s,x){let B=du(A,s,x);return B+s.height>window.innerHeight&&(B=window.innerHeight-s.height),B}static calculateVerticalCaret(A,s,x,B){let j;B===rr.Top&&(j=A.height/2-x.height/2+7),B===rr.Bottom&&(j=s.height-A.height/2-x.height/2-7),B===rr.Center&&(j=s.height/2-x.height/2);const Ae=du(A,s,B);return Ae+s.height>window.innerHeight&&(j+=Ae+s.height-window.innerHeight),j}static calculateHorizontalAlignment(A,s,x){let B=hu(A,s,x);return B+s.width>window.innerWidth&&(B=window.innerWidth-s.width),B}static calculateHorizontalCaret(A,s,x,B){let j;B===rr.Left&&(j=A.width/2-x.width/2+7),B===rr.Right&&(j=s.width-A.width/2-x.width/2-7),B===rr.Center&&(j=s.width/2-x.width/2);const Ae=hu(A,s,B);return Ae+s.width>window.innerWidth&&(j+=Ae+s.width-window.innerWidth),j}static shouldFlip(A,s,x,B){let j=!1;return x===rr.Right&&A.left+A.width+s.width+B>window.innerWidth&&(j=!0),x===rr.Left&&A.left-s.width-B<0&&(j=!0),x===rr.Top&&A.top-s.height-B<0&&(j=!0),x===rr.Bottom&&A.top+A.height+s.height+B>window.innerHeight&&(j=!0),j}static positionCaret(A,s,x,B,j){let Ae=0,it=0;return A===rr.Right?(it=-7,Ae=Ho.calculateVerticalCaret(x,s,B,j)):A===rr.Left?(it=s.width,Ae=Ho.calculateVerticalCaret(x,s,B,j)):A===rr.Top?(Ae=s.height,it=Ho.calculateHorizontalCaret(x,s,B,j)):A===rr.Bottom&&(Ae=-7,it=Ho.calculateHorizontalCaret(x,s,B,j)),{top:Ae,left:it}}static positionContent(A,s,x,B,j){let Ae=0,it=0;return A===rr.Right?(it=x.left+x.width+B,Ae=Ho.calculateVerticalAlignment(x,s,j)):A===rr.Left?(it=x.left-s.width-B,Ae=Ho.calculateVerticalAlignment(x,s,j)):A===rr.Top?(Ae=x.top-s.height-B,it=Ho.calculateHorizontalAlignment(x,s,j)):A===rr.Bottom&&(Ae=x.top+x.height+B,it=Ho.calculateHorizontalAlignment(x,s,j)),{top:Ae,left:it}}static determinePlacement(A,s,x,B){if(Ho.shouldFlip(x,s,A,B)){if(A===rr.Right)return rr.Left;if(A===rr.Left)return rr.Right;if(A===rr.Top)return rr.Bottom;if(A===rr.Bottom)return rr.Top}return A}}let d3=(()=>{class f{constructor(s,x,B){this.element=s,this.renderer=x,this.platformId=B}get cssClasses(){let s="ngx-charts-tooltip-content";return s+=` position-${this.placement}`,s+=` type-${this.type}`,s+=` ${this.cssClass}`,s}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,t.NF)(this.platformId))return;const s=this.element.nativeElement,x=this.host.nativeElement.getBoundingClientRect();if(!x.height&&!x.width)return;const B=s.getBoundingClientRect();this.checkFlip(x,B),this.positionContent(s,x,B),this.showCaret&&this.positionCaret(x,B),setTimeout(()=>this.renderer.addClass(s,"animate"),1)}positionContent(s,x,B){const{top:j,left:Ae}=Ho.positionContent(this.placement,B,x,this.spacing,this.alignment);this.renderer.setStyle(s,"top",`${j}px`),this.renderer.setStyle(s,"left",`${Ae}px`)}positionCaret(s,x){const B=this.caretElm.nativeElement,j=B.getBoundingClientRect(),{top:Ae,left:it}=Ho.positionCaret(this.placement,x,s,j,this.alignment);this.renderer.setStyle(B,"top",`${Ae}px`),this.renderer.setStyle(B,"left",`${it}px`)}checkFlip(s,x){this.placement=Ho.determinePlacement(this.placement,x,s,this.spacing)}onWindowResize(){this.position()}}return f.\u0275fac=function(s){return new(s||f)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.Lbi))},f.\u0275cmp=e.Xpm({type:f,selectors:[["ngx-tooltip-content"]],viewQuery:function(s,x){if(1&s&&e.Gf(Ld,5),2&s){let B;e.iGM(B=e.CRH())&&(x.caretElm=B.first)}},hostVars:2,hostBindings:function(s,x){1&s&&e.NdJ("resize",function(){return x.onWindowResize()},!1,e.Jf7),2&s&&e.Tol(x.cssClasses)},inputs:{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(s,x){1&s&&(e.TgZ(0,"div"),e._UZ(1,"span",0,1),e.TgZ(3,"div",2),e.YNc(4,Sf,2,4,"span",3),e.YNc(5,d0,1,1,"span",4),e.qZA()()),2&s&&(e.xp6(1),e.Gre("tooltip-caret position-",x.placement,""),e.Q6J("hidden",!x.showCaret),e.xp6(3),e.Q6J("ngIf",!x.title),e.xp6(1),e.Q6J("ngIf",x.title))},dependencies:[t.O5,t.tP],styles:[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;border:1px solid #72809b;box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:rgba(0,0,0,.75);font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{transform:translate(10px)}.ngx-charts-tooltip-content.position-left{transform:translate(-10px)}.ngx-charts-tooltip-content.position-top{transform:translateY(-10px)}.ngx-charts-tooltip-content.position-bottom{transform:translateY(10px)}.ngx-charts-tooltip-content.animate{opacity:1;transition:opacity .3s,transform .3s;transform:translate(0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}\n"],encapsulation:2}),(0,g.gn)([Xd(100)],f.prototype,"onWindowResize",null),f})();class uu{constructor(A){this.injectionService=A,this.defaults={},this.components=new Map}getByType(A=this.type){return this.components.get(A)}create(A){return this.createByType(this.type,A)}createByType(A,s){s=this.assignDefaults(s);const x=this.injectComponent(A,s);return this.register(A,x),x}destroy(A){const s=this.components.get(A.componentType);if(s&&s.length){const x=s.indexOf(A);x>-1&&(s[x].destroy(),s.splice(x,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(A){const s=this.components.get(A);if(s&&s.length){let x=s.length-1;for(;x>=0;)this.destroy(s[x--])}}injectComponent(A,s){return this.injectionService.appendComponent(A,s)}assignDefaults(A){const s={...this.defaults.inputs},x={...this.defaults.outputs};return!A.inputs&&!A.outputs&&(A={inputs:A}),s&&(A.inputs={...s,...A.inputs}),x&&(A.outputs={...x,...A.outputs}),A}register(A,s){this.components.has(A)||this.components.set(A,[]),this.components.get(A).push(s)}}let h3=(()=>{class f{constructor(s,x,B){this.applicationRef=s,this.componentFactoryResolver=x,this.injector=B}static setGlobalRootViewContainer(s){f.globalRootViewContainer=s}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(s){this._container=s}getComponentRootNode(s){return function lc(f){return f.element}(s)?s.element.nativeElement:s.hostView&&s.hostView.rootNodes.length>0?s.hostView.rootNodes[0]:s.location.nativeElement}getRootViewContainerNode(s){return this.getComponentRootNode(s)}projectComponentBindings(s,x){if(x){if(void 0!==x.inputs){const B=Object.getOwnPropertyNames(x.inputs);for(const j of B)s.instance[j]=x.inputs[j]}if(void 0!==x.outputs){const B=Object.getOwnPropertyNames(x.outputs);for(const j of B)s.instance[j]=x.outputs[j]}}return s}appendComponent(s,x={},B){B||(B=this.getRootViewContainer());const j=this.getComponentRootNode(B),Ae=new T.u0(j,this.componentFactoryResolver,this.applicationRef,this.injector),it=new T.C5(s),Qt=Ae.attach(it);return this.projectComponentBindings(Qt,x),Qt}}return f.globalRootViewContainer=null,f.\u0275fac=function(s){return new(s||f)(e.LFG(e.z2F),e.LFG(e._Vd),e.LFG(e.zs3))},f.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac}),f})(),fu=(()=>{class f extends uu{constructor(s){super(s),this.type=d3}}return f.\u0275fac=function(s){return new(s||f)(e.LFG(h3))},f.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac}),f})();var dc=function(f){return f.Right="right",f.Below="below",f}(dc||{}),tl=function(f){return f.ScaleLegend="scaleLegend",f.Legend="legend",f}(tl||{}),Pn=function(f){return f.Time="time",f.Linear="linear",f.Ordinal="ordinal",f.Quantile="quantile",f}(Pn||{});let u3=(()=>{class f{constructor(){this.horizontal=!1}ngOnChanges(s){const x=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${x})`}gradientString(s,x){x.push(1);const B=[];return s.reverse().forEach((j,Ae)=>{B.push(`${j} ${Math.round(100*x[Ae])}%`)}),B.join(", ")}}return f.\u0275fac=function(s){return new(s||f)},f.\u0275cmp=e.Xpm({type:f,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},features:[e.TTD],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(s,x){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"span"),e._uU(3),e.qZA()(),e._UZ(4,"div",2),e.TgZ(5,"div",1)(6,"span"),e._uU(7),e.qZA()()()),2&s&&(e.Udp("height",x.horizontal?void 0:x.height,"px")("width",x.width,"px"),e.ekj("horizontal-legend",x.horizontal),e.xp6(3),e.Oqu(x.valueRange[1].toLocaleString()),e.xp6(1),e.Udp("background",x.gradient),e.xp6(3),e.Oqu(x.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{text-align:center;display:flex;flex-direction:column}.chart-legend .scale-legend-wrap{display:inline-block;flex:1;width:30px;border-radius:5px;margin:0 auto}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{width:auto;height:30px;margin:0 16px}\n"],encapsulation:2,changeDetection:0}),f})();function il(f){return f instanceof Date?f.toLocaleDateString():f.toLocaleString()}let mu=(()=>{class f{constructor(){this.isActive=!1,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.toggle=new e.vpe}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}return f.\u0275fac=function(s){return new(s||f)},f.\u0275cmp=e.Xpm({type:f,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(s,x){1&s&&e.NdJ("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(){return x.onMouseLeave()})},inputs:{color:"color",label:"label",formattedLabel:"formattedLabel",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(s,x){1&s&&(e.TgZ(0,"span",0),e.NdJ("click",function(){return x.select.emit(x.formattedLabel)}),e.TgZ(1,"span",1),e.NdJ("click",function(){return x.toggle.emit(x.formattedLabel)}),e.qZA(),e.TgZ(2,"span",2),e._uU(3),e.qZA()()),2&s&&(e.ekj("active",x.isActive),e.Q6J("title",x.formattedLabel),e.xp6(1),e.Udp("background-color",x.color),e.xp6(2),e.hij(" ",x.trimmedLabel," "))},encapsulation:2,changeDetection:0}),f})(),$d=(()=>{class f{constructor(s){this.cd=s,this.horizontal=!1,this.labelClick=new e.vpe,this.labelActivate=new e.vpe,this.labelDeactivate=new e.vpe,this.legendEntries=[]}ngOnChanges(s){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const s=[];for(const x of this.data){const B=il(x);-1===s.findIndex(Ae=>Ae.label===B)&&s.push({label:x,formattedLabel:B,color:this.colors.getColor(x)})}return s}isActive(s){return!!this.activeEntries&&void 0!==this.activeEntries.find(B=>s.label===B.name)}activate(s){this.labelActivate.emit(s)}deactivate(s){this.labelDeactivate.emit(s)}trackBy(s,x){return x.label}}return f.\u0275fac=function(s){return new(s||f)(e.Y36(e.sBO))},f.\u0275cmp=e.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:[e.TTD],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"label","formattedLabel","color","isActive","select","activate","deactivate"]],template:function(s,x){1&s&&(e.TgZ(0,"div"),e.YNc(1,Yh,3,1,"header",0),e.TgZ(2,"div",1)(3,"ul",2),e.YNc(4,kd,2,4,"li",3),e.qZA()()()),2&s&&(e.Udp("width",x.width,"px"),e.xp6(1),e.Q6J("ngIf",(null==x.title?null:x.title.length)>0),e.xp6(2),e.Udp("max-height",x.height-45,"px"),e.ekj("horizontal-legend",x.horizontal),e.xp6(1),e.Q6J("ngForOf",x.legendEntries)("ngForTrackBy",x.trackBy))},dependencies:[mu,t.O5,t.sg],styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{white-space:nowrap;overflow:hidden;margin-left:10px;margin-bottom:5px;font-size:14px;font-weight:700}.chart-legend ul,.chart-legend li{padding:0;margin:0;list-style:none}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{line-height:85%;list-style:none;text-align:left;float:left;width:100%;border-radius:3px;overflow-y:auto;overflow-x:hidden;white-space:nowrap;background:rgba(0,0,0,.05)}.chart-legend .legend-label{cursor:pointer;font-size:90%;margin:8px;color:#afb7c8}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{display:inline-block;height:15px;width:15px;margin-right:5px;color:#5b646b;border-radius:3px}.chart-legend .legend-label-text{display:inline-block;vertical-align:top;line-height:15px;font-size:12px;width:calc(100% - 20px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chart-legend .legend-title-text{vertical-align:bottom;display:inline-block;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}),f})(),f3=(()=>{class f{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new e.vpe,this.legendLabelActivate=new e.vpe,this.legendLabelDeactivate=new e.vpe,this.LegendPosition=dc,this.LegendType=tl}ngOnChanges(s){this.update()}update(){let s=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===dc.Right)&&(s=this.legendType===tl.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-s)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==dc.Right?this.chartWidth:Math.floor(this.view[0]*s/12)}getLegendType(){return this.legendOptions.scaleType===Pn.Linear?tl.ScaleLegend:tl.Legend}}return f.\u0275fac=function(s){return new(s||f)},f.\u0275cmp=e.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:[e._Bn([fu]),e.TTD],ngContentSelectors:Od,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(s,x){1&s&&(e.F$t(),e.TgZ(0,"div",0),e.O4$(),e.TgZ(1,"svg",1),e.Hsn(2),e.qZA(),e.YNc(3,h0,1,5,"ngx-charts-scale-legend",2),e.YNc(4,u0,1,7,"ngx-charts-legend",3),e.qZA()),2&s&&(e.Udp("width",x.view[0],"px")("height",x.view[1],"px"),e.xp6(1),e.uIk("width",x.chartWidth)("height",x.view[1]),e.xp6(2),e.Q6J("ngIf",x.showLegend&&x.legendType===x.LegendType.ScaleLegend),e.xp6(1),e.Q6J("ngIf",x.showLegend&&x.legendType===x.LegendType.Legend))},dependencies:[u3,$d,t.O5],encapsulation:2,changeDetection:0}),f})(),fm=(()=>{class f{constructor(s,x){this.element=s,this.zone=x,this.visible=new e.vpe,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const s=()=>{if(!this.element)return;const{offsetHeight:x,offsetWidth:B}=this.element.nativeElement;x&&B?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>s(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>s())})}}return f.\u0275fac=function(s){return new(s||f)(e.Y36(e.SBq),e.Y36(e.R0b))},f.\u0275dir=e.lG2({type:f,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),f})();function pu(f){return"[object Date]"===toString.call(f)}let gu=(()=>{class f{constructor(s,x,B,j){this.chartElement=s,this.zone=x,this.cd=B,this.platformId=j,this.scheme="cool",this.schemeType=Pn.Ordinal,this.animations=!0,this.select=new e.vpe}ngOnInit(){(0,t.PM)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new fm(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(s){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 s=this.getContainerDims();s&&(this.width=s.width,this.height=s.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 s,x;const B=this.chartElement.nativeElement;if((0,t.NF)(this.platformId)&&null!==B.parentNode){const j=B.parentNode.getBoundingClientRect();s=j.width,x=j.height}return s&&x?{width:s,height:x}:null}formatDates(){for(let s=0;s<this.results.length;s++){const x=this.results[s];if(x.label=x.name,pu(x.label)&&(x.label=x.label.toLocaleDateString()),x.series)for(let B=0;B<x.series.length;B++){const j=x.series[B];j.label=j.name,pu(j.label)&&(j.label=j.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){if(!(0,t.NF)(this.platformId))return;const x=(0,c.R)(window,"resize").pipe((0,C.b)(200)).subscribe(B=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=x}cloneData(s){const x=[];for(const B of s){const j={name:B.name};if(void 0!==B.value&&(j.value=B.value),void 0!==B.series){j.series=[];for(const Ae of B.series){const it=Object.assign({},Ae);j.series.push(it)}}void 0!==B.extra&&(j.extra=JSON.parse(JSON.stringify(B.extra))),x.push(j)}return x}}return f.\u0275fac=function(s){return new(s||f)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(e.Lbi))},f.\u0275cmp=e.Xpm({type:f,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},features:[e.TTD],decls:1,vars:0,template:function(s,x){1&s&&e._UZ(0,"div")},encapsulation:2}),f})();var wo=function(f){return f.Top="top",f.Bottom="bottom",f.Left="left",f.Right="right",f}(wo||{});let D0=(()=>{class f{constructor(s){this.textHeight=25,this.margin=5,this.element=s.nativeElement}ngOnChanges(s){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case wo.Top:case wo.Bottom:this.y=this.offset,this.x=this.width/2;break;case wo.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case wo.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return f.\u0275fac=function(s){return new(s||f)(e.Y36(e.SBq))},f.\u0275cmp=e.Xpm({type:f,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[e.TTD],attrs:Dl,decls:2,vars:6,template:function(s,x){1&s&&(e.O4$(),e.TgZ(0,"text"),e._uU(1),e.qZA()),2&s&&(e.uIk("stroke-width",x.strokeWidth)("x",x.x)("y",x.y)("text-anchor",x.textAnchor)("transform",x.transform),e.xp6(1),e.hij(" ",x.label," "))},encapsulation:2,changeDetection:0}),f})();function L0(f,A=16){return"string"!=typeof f?"number"==typeof f?f+"":"":(f=f.trim()).length<=A?f:`${f.slice(0,A)}...`}function R1(f,A){if(f.length>A){const s=[],x=Math.floor(f.length/A);for(let B=0;B<f.length;B++)B%x==0&&s.push(f[B]);f=s}return f}function _u(f,A,s){const x=(f||"").toString();let B=[];if(/\s/.test(x))B=x.split(/\s+/).reduce((j,Ae)=>{const it=(j.pop()||"")+" ";return it.length+Ae.length>A?[...j,it.trim(),Ae.trim()]:[...j,it+Ae]},[]);else{let j=0;for(;j<x.length;)B.push(x.substring(j,j+A)),j+=A}return B.length>s&&(B=B.splice(0,s),B[B.length-1]+="..."),B}var hc=function(f){return f.Start="start",f.Middle="middle",f.End="end",f}(hc||{});let vu=(()=>{class f{constructor(s){this.platformId=s,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.wrapTicks=!1,this.dimensionsChanged=new e.vpe,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=hc.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10,this.maxPossibleLengthForTickIfWrapped=16}get isWrapTicksSupported(){return this.wrapTicks&&this.scale.step}ngOnChanges(s){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.NF)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const s=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);s!==this.height&&(this.height=s,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const s=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:s.tickFormat?s.tickFormat.apply(s,this.tickArguments):function(B){return"Date"===B.constructor.name?B.toLocaleDateString():B.toLocaleString()};const x=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(B){return this.scale(B)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",x&&0!==x?(this.textTransform=`rotate(${x})`,this.textAnchor=hc.End,this.verticalSpacing=10):this.textAnchor=hc.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(s){let x=0;this.maxTicksLength=0;for(let vi=0;vi<s.length;vi++){const Mi=this.tickFormat(s[vi]).toString();let Di=Mi.length;this.trimTicks&&(Di=this.tickTrim(Mi).length),Di>this.maxTicksLength&&(this.maxTicksLength=Di)}const Ae=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let it=Ae;const Qt=Math.floor(this.width/s.length);for(;it>Qt&&x>-90;)x-=30,it=Math.cos(x*(Math.PI/180))*Ae;let Yt=14;if(this.isWrapTicksSupported){const vi=this.ticks.reduce((Di,tn)=>tn.length>Di.length?tn:Di,"");Yt=14*(this.tickChunks(vi).length||1),this.maxPossibleLengthForTickIfWrapped=this.getMaxPossibleLengthForTick(vi)}const hi=0!==x?Math.max(Math.abs(Math.sin(x*Math.PI/180))*this.maxTickLength*7,10):Yt;return this.approxHeight=Math.min(hi,200),x}getTicks(){let s;const x=this.getMaxTicks(20),B=this.getMaxTicks(100);return this.tickValues?s=this.tickValues:this.scale.ticks?s=this.scale.ticks.apply(this.scale,[B]):(s=this.scale.domain(),s=R1(s,x)),s}getMaxTicks(s){return Math.floor(this.width/s)}tickTransform(s){return"translate("+this.adjustedScale(s)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(s){return this.trimTicks?L0(s,this.maxTickLength):s}getMaxPossibleLengthForTick(s){if(this.scale.bandwidth){const B=Math.floor(this.scale.bandwidth()/7),j=s.slice(0,B);return Math.max(j.length,this.maxTickLength)}return this.maxTickLength}tickChunks(s){if(s.toString().length>this.maxTickLength&&this.scale.bandwidth){let B=this.rotateTicks?Math.floor(this.scale.step()/14):5;if(B<=1)return[this.tickTrim(s)];let j=Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength);return(0,t.NF)(this.platformId)||(j=Math.floor(Math.min(this.approxHeight/5,Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength)))),B=Math.min(B,5),_u(s,j,B<1?1:B)}return[this.tickTrim(s)]}}return f.\u0275fac=function(s){return new(s||f)(e.Y36(e.Lbi))},f.\u0275cmp=e.Xpm({type:f,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(s,x){if(1&s&&e.Gf(qc,5),2&s){let B;e.iGM(B=e.CRH())&&(x.ticksElement=B.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:P1,decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01","font-size","12px"],[4,"ngIf","ngIfThen","ngIfElse"],["tmplMultilineTick",""],["tmplSinglelineTick",""],["x","0",4,"ngFor","ngForOf"],["x","0"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(s,x){1&s&&(e.O4$(),e.TgZ(0,"g",null,0),e.YNc(2,Qh,2,2,"g",1),e.qZA(),e.YNc(3,Hd,2,2,"g",2)),2&s&&(e.xp6(2),e.Q6J("ngForOf",x.ticks),e.xp6(1),e.Q6J("ngForOf",x.ticks))},dependencies:[t.sg,t.O5],encapsulation:2,changeDetection:0}),f})(),m3=(()=>{class f{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=wo.Bottom,this.xAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new e.vpe,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5,this.orientation=wo}ngOnChanges(s){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:s}){const x=s+25+5;x!==this.labelOffset&&(this.labelOffset=x,setTimeout(()=>{this.dimensionsChanged.emit({height:s})},0))}}return f.\u0275fac=function(s){return new(s||f)},f.\u0275cmp=e.Xpm({type:f,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(s,x){if(1&s&&e.Gf(vu,5),2&s){let B;e.iGM(B=e.CRH())&&(x.ticksComponent=B.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",xAxisOffset:"xAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:qh,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","wrapTicks","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(s,x){1&s&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,N,1,13,"g",0),e.YNc(2,z,1,5,"g",1),e.qZA()),2&s&&(e.uIk("class",x.xAxisClassName)("transform",x.transform),e.xp6(1),e.Q6J("ngIf",x.xScale),e.xp6(1),e.Q6J("ngIf",x.showLabel))},dependencies:[vu,D0,t.O5],encapsulation:2,changeDetection:0}),f})();function nl(f,A,s,x,B,[j,Ae,it,Qt]){let Yt="";return Yt=`M${[f+B,A]}`,Yt+="h"+((s=0===(s=Math.floor(s))?1:s)-2*B),Yt+=Ae?`a${[B,B]} 0 0 1 ${[B,B]}`:`h${B}v${B}`,Yt+="v"+((x=0===(x=Math.floor(x))?1:x)-2*B),Yt+=Qt?`a${[B,B]} 0 0 1 ${[-B,B]}`:`v${B}h${-B}`,Yt+="h"+(2*B-s),Yt+=it?`a${[B,B]} 0 0 1 ${[-B,-B]}`:`h${-B}v${-B}`,Yt+="v"+(2*B-x),Yt+=j?`a${[B,B]} 0 0 1 ${[B,-B]}`:`v${-B}h${B}`,Yt+="z",Yt}let H1=(()=>{class f{constructor(s){this.platformId=s,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.wrapTicks=!1,this.dimensionsChanged=new e.vpe,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=hc.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=wo}ngOnChanges(s){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.NF)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const s=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);s!==this.width&&(this.width=s,this.dimensionsChanged.emit({width:s}),setTimeout(()=>this.updateDims()))}update(){const s=this.scale,x=this.orient===wo.Top||this.orient===wo.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:s.tickFormat?s.tickFormat.apply(s,this.tickArguments):function(B){return"Date"===B.constructor.name?B.toLocaleDateString():B.toLocaleString()},this.adjustedScale=s.bandwidth?B=>{const j=s(B)+.5*s.bandwidth();if(this.wrapTicks&&B.toString().length>this.maxTickLength){const Ae=this.tickChunks(B).length;if(1===Ae)return j;const Yt=.5*s.bandwidth()-8*Ae*.5;return s(B)+Yt}return j}:s,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case wo.Top:case wo.Bottom:this.transform=function(B){return"translate("+this.adjustedScale(B)+",0)"},this.textAnchor=hc.Middle,this.y2=this.innerTickSize*x,this.y1=this.tickSpacing*x,this.dy=x<0?"0em":".71em";break;case wo.Left:this.transform=function(B){return"translate(0,"+this.adjustedScale(B)+")"},this.textAnchor=hc.End,this.x2=this.innerTickSize*-x,this.x1=this.tickSpacing*-x,this.dy=".32em";break;case wo.Right:this.transform=function(B){return"translate(0,"+this.adjustedScale(B)+")"},this.textAnchor=hc.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(s=>s.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(s=>s.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=nl(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let s;const x=this.getMaxTicks(20),B=this.getMaxTicks(50);return this.tickValues?s=this.tickValues:this.scale.ticks?s=this.scale.ticks.apply(this.scale,[B]):(s=this.scale.domain(),s=R1(s,x)),s}getMaxTicks(s){return Math.floor(this.height/s)}tickTransform(s){return`translate(${this.adjustedScale(s)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(s){return this.trimTicks?L0(s,this.maxTickLength):s}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(B=>this.tickTrim(this.tickFormat(B)).length))}tickChunks(s){if(s.toString().length>this.maxTickLength&&this.scale.bandwidth){const x=this.maxTickLength,B=Math.floor(this.scale.bandwidth()/15);return B<=1?[this.tickTrim(s)]:_u(s,x,Math.min(B,5))}return[this.tickFormat(s)]}}return f.\u0275fac=function(s){return new(s||f)(e.Y36(e.Lbi))},f.\u0275cmp=e.Xpm({type:f,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(s,x){if(1&s&&e.Gf(qc,5),2&s){let B;e.iGM(B=e.CRH())&&(x.ticksElement=B.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:v,decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01"],[4,"ngIf","ngIfThen","ngIfElse"],["tmplMultilineTick",""],["tmplSinglelineTick",""],[4,"ngIf","ngIfElse"],["x","0",4,"ngFor","ngForOf"],["x","0"],[1,"reference-area"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(s,x){1&s&&(e.O4$(),e.TgZ(0,"g",null,0),e.YNc(2,an,2,2,"g",1),e.qZA(),e.YNc(3,ji,1,2,"path",2),e.YNc(4,In,2,2,"g",3),e.YNc(5,fa,2,1,"g",3)),2&s&&(e.xp6(2),e.Q6J("ngForOf",x.ticks),e.xp6(1),e.Q6J("ngIf",x.referenceLineLength>1&&x.refMax&&x.refMin&&x.showRefLines),e.xp6(1),e.Q6J("ngForOf",x.ticks),e.xp6(1),e.Q6J("ngForOf",x.referenceLines))},dependencies:[t.sg,t.O5],encapsulation:2,changeDetection:0}),f})(),bu=(()=>{class f{constructor(){this.showGridLines=!1,this.yOrient=wo.Left,this.yAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new e.vpe,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(s){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===wo.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:s}){s!==this.labelOffset&&this.yOrient===wo.Right?(this.labelOffset=s+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:s})},0)):s!==this.labelOffset&&(this.labelOffset=s,setTimeout(()=>{this.dimensionsChanged.emit({width:s})},0))}}return f.\u0275fac=function(s){return new(s||f)},f.\u0275cmp=e.Xpm({type:f,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(s,x){if(1&s&&e.Gf(H1,5),2&s){let B;e.iGM(B=e.CRH())&&(x.ticksComponent=B.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:mo,decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(s,x){1&s&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,aa,1,15,"g",0),e.YNc(2,Jc,1,5,"g",1),e.qZA()),2&s&&(e.uIk("class",x.yAxisClassName)("transform",x.transform),e.xp6(1),e.Q6J("ngIf",x.yScale),e.xp6(1),e.Q6J("ngIf",x.showLabel))},dependencies:[H1,D0,t.O5],encapsulation:2,changeDetection:0}),f})(),p3=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[[t.ez]]}),f})();var e2=function(f){return f.popover="popover",f.tooltip="tooltip",f}(e2||{}),Ol=function(f){return f[f.all="all"]="all",f[f.focus="focus"]="focus",f[f.mouseover="mouseover"]="mouseover",f}(Ol||{});let yu=(()=>{class f{constructor(s,x,B){this.tooltipService=s,this.viewContainerRef=x,this.renderer=B,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=rr.Top,this.tooltipAlignment=rr.Center,this.tooltipType=e2.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=Ol.all,this.tooltipImmediateExit=!1,this.show=new e.vpe,this.hide=new e.vpe}get listensForFocus(){return this.tooltipShowEvent===Ol.all||this.tooltipShowEvent===Ol.focus}get listensForHover(){return this.tooltipShowEvent===Ol.all||this.tooltipShowEvent===Ol.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(s){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(s))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(s){if(this.component||this.tooltipDisabled)return;const x=s?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const B=this.createBoundOptions();this.component=this.tooltipService.create(B),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},x)}addHideListeners(s){this.mouseEnterContentEvent=this.renderer.listen(s,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(s,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",x=>{s.contains(x.target)||this.hideTooltip()}))}hideTooltip(s=!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),s?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(s){return new(s||f)(e.Y36(fu),e.Y36(e.s_b),e.Y36(e.Qsj))},f.\u0275dir=e.lG2({type:f,selectors:[["","ngx-tooltip",""]],hostBindings:function(s,x){1&s&&e.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})(),xu=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({providers:[h3,fu],imports:[[t.ez]]}),f})();const g3={};function F1(){let f=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return f=`a${f}`,g3[f]?F1():(g3[f]=!0,f)}var Ga=function(f){return f.Vertical="vertical",f.Horizontal="horizontal",f}(Ga||{});let z1=(()=>{class f{constructor(){this.orientation=Ga.Vertical}ngOnChanges(s){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===Ga.Horizontal?this.x2="100%":this.orientation===Ga.Vertical&&(this.y1="100%")}}return f.\u0275fac=function(s){return new(s||f)},f.\u0275cmp=e.Xpm({type:f,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[e.TTD],attrs:jo,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(s,x){1&s&&(e.O4$(),e.TgZ(0,"linearGradient",0),e.YNc(1,ja,1,5,"stop",1),e.qZA()),2&s&&(e.Q6J("id",x.name),e.uIk("x1",x.x1)("y1",x.y1)("x2",x.x2)("y2",x.y2),e.xp6(1),e.Q6J("ngForOf",x.stops))},dependencies:[t.sg],encapsulation:2,changeDetection:0}),f})(),wu=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275cmp=e.Xpm({type:f,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:Fd,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(s,x){1&s&&(e.O4$(),e._UZ(0,"rect",0)),2&s&&e.uIk("height",x.height)("width",x.width)("x",x.x)("y",x.y)},encapsulation:2,changeDetection:0}),f})();var I0=function(f){return f.Odd="odd",f.Even="even",f}(I0||{});let C3,_3=(()=>{class f{ngOnChanges(s){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(s=>{let x,B,j,Ae,it,Qt=I0.Odd;if(this.orient===Ga.Vertical){const Yt=this.xScale(s.name);Number.parseInt((Yt/this.xScale.step()).toString(),10)%2==1&&(Qt=I0.Even),x=this.xScale.bandwidth()*this.xScale.paddingInner(),B=this.xScale.bandwidth()+x,j=this.dims.height,Ae=this.xScale(s.name)-x/2,it=0}else if(this.orient===Ga.Horizontal){const Yt=this.yScale(s.name);Number.parseInt((Yt/this.yScale.step()).toString(),10)%2==1&&(Qt=I0.Even),x=this.yScale.bandwidth()*this.yScale.paddingInner(),B=this.dims.width,j=this.yScale.bandwidth()+x,Ae=0,it=this.yScale(s.name)-x/2}return{name:s.name,class:Qt,height:j,width:B,x:Ae,y:it}})}}return f.\u0275fac=function(s){return new(s||f)},f.\u0275cmp=e.Xpm({type:f,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[e.TTD],attrs:m0,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(s,x){1&s&&e.YNc(0,un,1,10,"g",0),2&s&&e.Q6J("ngForOf",x.gridPanels)},dependencies:[wu,t.sg],encapsulation:2,changeDetection:0}),f})();typeof window<"u"?C3=window:typeof global<"u"&&(C3=global);let Xo=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[[t.ez,p3,xu],t.ez,p3,xu]}),f})();function w3({width:f,height:A,margins:s,showXAxis:x=!1,showYAxis:B=!1,xAxisHeight:j=0,yAxisWidth:Ae=0,showXLabel:it=!1,showYLabel:Qt=!1,showLegend:Yt=!1,legendType:hi=Pn.Ordinal,legendPosition:vi=dc.Right,columns:Mi=12}){let Di=s[3],tn=f,gn=A-s[0]-s[2];return Yt&&vi===dc.Right&&(Mi-=hi===Pn.Ordinal?2:1),tn=tn*Mi/12,tn=tn-s[1]-s[3],x&&(gn-=5,gn-=j,it&&(gn-=30)),B&&(tn-=5,tn-=Ae,Di+=Ae,Di+=10,Qt&&(tn-=30,Di+=30)),tn=Math.max(0,tn),gn=Math.max(0,gn),{width:Math.floor(tn),height:Math.floor(gn),xOffset:Math.floor(Di)}}const Bs=[{name:"vivid",selectable:!0,group:Pn.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:Pn.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:Pn.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:Pn.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:Pn.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:Pn.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:Pn.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:Pn.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:Pn.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:Pn.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:Pn.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:Pn.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:Pn.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:Pn.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:Pn.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class V1{constructor(A,s,x,B){"string"==typeof A&&(A=Bs.find(j=>j.name===A)),this.colorDomain=A.domain,this.scaleType=s,this.domain=x,this.customColors=B,this.scale=this.generateColorScheme(A,s,this.domain)}generateColorScheme(A,s,x){let B;switch("string"==typeof A&&(A=Bs.find(j=>j.name===A)),s){case Pn.Quantile:B=Zh().range(A.domain).domain(x);break;case Pn.Ordinal:B=Kc().range(A.domain).domain(x);break;case Pn.Linear:{const j=[...A.domain];1===j.length&&(j.push(j[0]),this.colorDomain=j);const Ae=a0(0,1,1/j.length);B=ac().range(j).domain(Ae)}}return B}getColor(A){if(null==A)throw new Error("Value can not be null");if(this.scaleType===Pn.Linear){const s=ac().domain(this.domain).range([0,1]);return this.scale(s(A))}{if("function"==typeof this.customColors)return this.customColors(A);const s=A.toString();let x;return this.customColors&&this.customColors.length>0&&(x=this.customColors.find(B=>B.name.toLowerCase()===s.toLowerCase())),x?x.value:this.scale(A)}}getLinearGradientStops(A,s){void 0===s&&(s=this.domain[0]);const x=ac().domain(this.domain).range([0,1]),B=xo().domain(this.colorDomain).range([0,1]),j=this.getColor(A),Ae=x(s),it=this.getColor(s),Qt=x(A);let Yt=1,hi=Ae;const vi=[];for(vi.push({color:it,offset:Ae,originalOffset:Ae,opacity:1});hi<Qt&&Yt<this.colorDomain.length;){const Mi=this.colorDomain[Yt],Di=B(Mi);if(Di<=Ae)Yt++;else{if(Di.toFixed(4)>=(Qt-B.bandwidth()).toFixed(4))break;vi.push({color:Mi,offset:Di,opacity:1}),hi=Di,Yt++}}if(vi[vi.length-1].offset<100&&vi.push({color:j,offset:Qt,opacity:1}),Qt===Ae)vi[0].offset=0,vi[1].offset=100;else if(100!==vi[vi.length-1].offset)for(const Mi of vi)Mi.offset=(Mi.offset-Ae)/(Qt-Ae)*100;return vi}}let U1=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[[Xo]]}),f})(),Nl=(()=>{class f{constructor(s){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.hasGradient=!1,this.hideBar=!1,this.element=s.nativeElement}ngOnChanges(s){s.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+F1().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 s=function $t(f){return"string"==typeof f?new Ui([[document.querySelector(f)]],[document.documentElement]):new Ui([[f]],Ri)}(this.element).select(".bar"),x=this.getPath();this.animations?s.transition().duration(500).attr("d",x):s.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,s=this.getRadius();return this.roundEdges?this.orientation===Ga.Vertical?(s=Math.min(this.height,s),x=nl(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===Ga.Horizontal&&(s=Math.min(this.width,s),x=nl(this.x,this.y,1,this.height,0,this.edges)):this.orientation===Ga.Vertical?x=nl(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===Ga.Horizontal&&(x=nl(this.x,this.y,1,this.height,0,this.edges)),x}getPath(){let x,s=this.getRadius();return this.roundEdges?this.orientation===Ga.Vertical?(s=Math.min(this.height,s),x=nl(this.x,this.y,this.width,this.height,s,this.edges)):this.orientation===Ga.Horizontal&&(s=Math.min(this.width,s),x=nl(this.x,this.y,this.width,this.height,s,this.edges)):x=nl(this.x,this.y,this.width,this.height,s,this.edges),x}getRadius(){let s=0;return this.roundEdges&&this.height>5&&this.width>5&&(s=Math.floor(Math.min(5,this.height/2,this.width/2))),s}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let s=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===Ga.Vertical?s=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===Ga.Horizontal&&(s=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),s}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===Ga.Vertical&&0===this.height||this.orientation===Ga.Horizontal&&0===this.width)}}return f.\u0275fac=function(s){return new(s||f)(e.Y36(e.SBq))},f.\u0275cmp=e.Xpm({type:f,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(s,x){1&s&&e.NdJ("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(){return x.onMouseLeave()})},inputs:{fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",orientation:"orientation",roundEdges:"roundEdges",gradient:"gradient",offset:"offset",isActive:"isActive",stops:"stops",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:E4,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(s,x){1&s&&(e.YNc(0,kf,2,3,"defs",0),e.O4$(),e.TgZ(1,"path",1),e.NdJ("click",function(){return x.select.emit(x.data)}),e.qZA()),2&s&&(e.Q6J("ngIf",x.hasGradient),e.xp6(1),e.ekj("active",x.isActive)("hidden",x.hideBar),e.uIk("d",x.path)("aria-label",x.ariaLabel)("fill",x.hasGradient?x.gradientFill:x.fill))},dependencies:[z1,t.O5],encapsulation:2,changeDetection:0}),f})();var ss=function(f){return f.Standard="standard",f.Normalized="normalized",f.Stacked="stacked",f}(ss||{}),Cs=function(f){return f.positive="positive",f.negative="negative",f}(Cs||{});let S3=(()=>{class f{constructor(s){this.dimensionsChanged=new e.vpe,this.horizontalPadding=2,this.verticalPadding=5,this.element=s.nativeElement}ngOnChanges(s){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):il(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(s){return new(s||f)(e.Y36(e.SBq))},f.\u0275cmp=e.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:[e.TTD],attrs:eu,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(s,x){1&s&&(e.O4$(),e.TgZ(0,"text",0),e._uU(1),e.qZA()),2&s&&(e.uIk("text-anchor",x.textAnchor)("transform",x.transform)("x",x.x)("y",x.y),e.xp6(1),e.hij(" ",x.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}),f})(),Au=(()=>{class f{constructor(s){this.platformId=s,this.type=ss.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.dataLabelHeightChanged=new e.vpe,this.barsForDataLabels=[],this.barOrientation=Ga,this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(s){this.update()}update(){let s;this.updateTooltipSettings(),this.series.length&&(s=this.xScale.bandwidth()),s=Math.round(s);const x=Math.max(this.yScale.domain()[0],0),B={[Cs.positive]:0,[Cs.negative]:0};let Ae,j=Cs.positive;this.type===ss.Normalized&&(Ae=this.series.map(it=>it.value).reduce((it,Qt)=>it+Qt,0)),this.bars=this.series.map((it,Qt)=>{let Yt=it.value;const hi=this.getLabel(it),vi=il(hi);j=Yt>0?Cs.positive:Cs.negative;const Di={value:Yt,label:hi,roundEdges:this.roundEdges,data:it,width:s,formattedLabel:vi,height:0,x:0,y:0};if(this.type===ss.Standard)Di.height=Math.abs(this.yScale(Yt)-this.yScale(x)),Di.x=this.xScale(hi),Di.y=this.yScale(Yt<0?0:Yt);else if(this.type===ss.Stacked){const gn=B[j],ki=gn+Yt;B[j]+=Yt,Di.height=this.yScale(gn)-this.yScale(ki),Di.x=0,Di.y=this.yScale(ki),Di.offset0=gn,Di.offset1=ki}else if(this.type===ss.Normalized){let gn=B[j],ki=gn+Yt;B[j]+=Yt,Ae>0?(gn=100*gn/Ae,ki=100*ki/Ae):(gn=0,ki=0),Di.height=this.yScale(gn)-this.yScale(ki),Di.x=0,Di.y=this.yScale(ki),Di.offset0=gn,Di.offset1=ki,Yt=(ki-gn).toFixed(2)+"%"}this.colors.scaleType===Pn.Ordinal?Di.color=this.colors.getColor(hi):this.type===ss.Standard?(Di.color=this.colors.getColor(Yt),Di.gradientStops=this.colors.getLinearGradientStops(Yt)):(Di.color=this.colors.getColor(Di.offset1),Di.gradientStops=this.colors.getLinearGradientStops(Di.offset1,Di.offset0));let tn=vi;return Di.ariaLabel=vi+" "+Yt.toLocaleString(),null!=this.seriesName&&(tn=`${this.seriesName} \u2022 ${vi}`,Di.data.series=this.seriesName,Di.ariaLabel=this.seriesName+" "+Di.ariaLabel),Di.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${function kl(f){return f.toLocaleString().replace(/[&'`"<>]/g,A=>({"&":"&amp;","'":"&#x27;","`":"&#x60;",'"':"&quot;","<":"&lt;",">":"&gt;"}[A]))}(tn)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(Yt):Yt.toLocaleString()}</span>\n `,Di}),this.updateDataLabels()}updateDataLabels(){if(this.type===ss.Stacked){this.barsForDataLabels=[];const s={};s.series=this.seriesName;const x=this.series.map(j=>j.value).reduce((j,Ae)=>Ae>0?j+Ae:j,0),B=this.series.map(j=>j.value).reduce((j,Ae)=>Ae<0?j+Ae:j,0);s.total=x+B,s.x=0,s.y=0,s.height=this.yScale(s.total>0?x:B),s.width=this.xScale.bandwidth(),this.barsForDataLabels.push(s)}else this.barsForDataLabels=this.series.map(s=>{const x={};return x.series=this.seriesName??s.label,x.total=s.value,x.x=this.xScale(s.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:rr.Top,this.tooltipType=this.tooltipDisabled?void 0:e2.tooltip}isActive(s){return!!this.activeEntries&&void 0!==this.activeEntries.find(B=>s.name===B.name&&s.value===B.value)}onClick(s){this.select.emit(s)}getLabel(s){return s.label?s.label:s.name}trackBy(s,x){return x.label}trackDataLabelBy(s,x){return s+"#"+x.series+"#"+x.total}}return f.\u0275fac=function(s){return new(s||f)(e.Y36(e.Lbi))},f.\u0275cmp=e.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:[e.TTD],attrs:Rf,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(s,x){1&s&&(e.YNc(0,Ff,2,2,"g",0),e.YNc(1,P4,2,2,"g",0),e.YNc(2,iu,2,2,"g",0)),2&s&&(e.Q6J("ngIf",!x.isSSR),e.xp6(1),e.Q6J("ngIf",x.isSSR),e.xp6(1),e.Q6J("ngIf",x.showDataLabel))},dependencies:[Nl,S3,t.O5,t.sg,yu],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1}),(0,u.jt)(500,(0,u.oB)({opacity:0}))])])]},changeDetection:0}),f})(),Du=(()=>{class f extends gu{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=dc.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0}}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=w3({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 s=this.xDomain.length/(this.dims.width/this.barPadding+1);return xo().range([0,this.dims.width]).paddingInner(s).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const s=ac().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?s.nice():s}getXDomain(){return this.results.map(s=>s.label)}getYDomain(){const s=this.results.map(j=>j.value);let x=this.yScaleMin?Math.min(this.yScaleMin,...s):Math.min(0,...s);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(x=Math.min(x,...this.yAxisTicks));let B=this.yScaleMax?Math.max(this.yScaleMax,...s):Math.max(0,...s);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(B=Math.max(B,...this.yAxisTicks)),[x,B]}onClick(s){this.select.emit(s)}setColors(){let s;s=this.schemeType===Pn.Ordinal?this.xDomain:this.yDomain,this.colors=new V1(this.scheme,this.schemeType,s,this.customColors)}getLegendOptions(){const s={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return s.scaleType===Pn.Ordinal?(s.domain=this.xDomain,s.colors=this.colors,s.title=this.legendTitle):(s.domain=this.yDomain,s.colors=this.colors.scale),s}updateYAxisWidth({width:s}){this.yAxisWidth=s,this.update()}updateXAxisHeight({height:s}){this.xAxisHeight=s,this.update()}onDataLabelMaxHeightChanged(s){s.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,s.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,s.size.height),s.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(s,x=!1){s=this.results.find(j=>x?j.label===s.name:j.name===s.name),!(this.activeEntries.findIndex(j=>j.name===s.name&&j.value===s.value&&j.series===s.series)>-1)&&(this.activeEntries=[s,...this.activeEntries],this.activate.emit({value:s,entries:this.activeEntries}))}onDeactivate(s,x=!1){s=this.results.find(j=>x?j.label===s.name:j.name===s.name);const B=this.activeEntries.findIndex(j=>j.name===s.name&&j.value===s.value&&j.series===s.series);this.activeEntries.splice(B,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:s,entries:this.activeEntries})}}return f.\u0275fac=function(){let A;return function(x){return(A||(A=e.n5z(f)))(x||f)}}(),f.\u0275cmp=e.Xpm({type:f,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(s,x,B){if(1&s&&e.Suo(B,Bd,5),2&s){let j;e.iGM(j=e.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",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:5,vars:25,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero","activate","deactivate","select","dataLabelHeightChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged"]],template:function(s,x){1&s&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(j){return x.onClick(j)})("legendLabelActivate",function(j){return x.onActivate(j,!0)})("legendLabelDeactivate",function(j){return x.onDeactivate(j,!0)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,Vf,1,12,"g",2),e.YNc(3,Vs,1,10,"g",3),e.TgZ(4,"g",4),e.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)}),e.qZA()()()),2&s&&(e.Q6J("view",e.WLB(22,Xc,x.width,x.height))("showLegend",x.legend)("legendOptions",x.legendOptions)("activeEntries",x.activeEntries)("animations",x.animations),e.xp6(1),e.uIk("transform",x.transform),e.xp6(1),e.Q6J("ngIf",x.xAxis),e.xp6(1),e.Q6J("ngIf",x.yAxis),e.xp6(1),e.Q6J("xScale",x.xScale)("yScale",x.yScale)("colors",x.colors)("series",x.results)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("activeEntries",x.activeEntries)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero))},dependencies:[f3,m3,bu,Au,t.O5],styles:[Wd],encapsulation:2,changeDetection:0}),f})(),A3=(()=>{class f extends gu{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=dc.Right,this.tooltipDisabled=!1,this.scaleType=Pn.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=Ga,this.trackBy=(s,x)=>x.name}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=w3({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(s,x){s.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,s.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,s.size.height),x===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const s=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return xo().rangeRound([0,this.dims.width]).paddingInner(s).paddingOuter(s/2).domain(this.groupDomain)}getInnerScale(){const s=this.groupScale.bandwidth(),x=this.innerDomain.length/(s/this.barPadding+1);return xo().rangeRound([0,s]).paddingInner(x).domain(this.innerDomain)}getValueScale(){const s=ac().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?s.nice():s}getGroupDomain(){const s=[];for(const x of this.results)s.includes(x.label)||s.push(x.label);return s}getInnerDomain(){const s=[];for(const x of this.results)for(const B of x.series)s.includes(B.label)||s.push(B.label);return s}getValueDomain(){const s=[];for(const j of this.results)for(const Ae of j.series)s.includes(Ae.value)||s.push(Ae.value);return[Math.min(0,...s),this.yScaleMax?Math.max(this.yScaleMax,...s):Math.max(0,...s)]}groupTransform(s){return`translate(${this.groupScale(s.label)}, 0)`}onClick(s,x){x&&(s.series=x.name),this.select.emit(s)}setColors(){let s;s=this.schemeType===Pn.Ordinal?this.innerDomain:this.valueDomain,this.colors=new V1(this.scheme,this.schemeType,s,this.customColors)}getLegendOptions(){const s={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return s.scaleType===Pn.Ordinal?(s.domain=this.innerDomain,s.colors=this.colors,s.title=this.legendTitle):(s.domain=this.valueDomain,s.colors=this.colors.scale),s}updateYAxisWidth({width:s}){this.yAxisWidth=s,this.update()}updateXAxisHeight({height:s}){this.xAxisHeight=s,this.update()}onActivate(s,x,B=!1){const j=Object.assign({},s);x&&(j.series=x.name);const Ae=this.results.map(it=>it.series).flat().filter(it=>B?it.label===j.name:it.name===j.name&&it.series===j.series);this.activeEntries=[...Ae],this.activate.emit({value:j,entries:this.activeEntries})}onDeactivate(s,x,B=!1){const j=Object.assign({},s);x&&(j.series=x.name),this.activeEntries=this.activeEntries.filter(Ae=>B?Ae.label!==j.name:!(Ae.name===j.name&&Ae.series===j.series)),this.deactivate.emit({value:j,entries:this.activeEntries})}}return f.\u0275fac=function(){let A;return function(x){return(A||(A=e.n5z(f)))(x||f)}}(),f.\u0275cmp=e.Xpm({type:f,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(s,x,B){if(1&s&&e.Suo(B,Bd,5),2&s){let j;e.iGM(j=e.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",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:7,vars:18,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-grid-panel-series","",3,"xScale","yScale","data","dims","orient"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged"]],template:function(s,x){1&s&&(e.TgZ(0,"ngx-charts-chart",0),e.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)}),e.O4$(),e.TgZ(1,"g",1),e._UZ(2,"g",2),e.YNc(3,Bf,1,11,"g",3),e.YNc(4,v6,1,10,"g",4),e.YNc(5,$c,2,2,"g",5),e.qZA(),e.YNc(6,N4,2,2,"g",5),e.qZA()),2&s&&(e.Q6J("view",e.WLB(15,Xc,x.width,x.height))("showLegend",x.legend)("legendOptions",x.legendOptions)("activeEntries",x.activeEntries)("animations",x.animations),e.xp6(1),e.uIk("transform",x.transform),e.xp6(1),e.Q6J("xScale",x.groupScale)("yScale",x.valueScale)("data",x.results)("dims",x.dims)("orient",x.barOrientation.Vertical),e.xp6(1),e.Q6J("ngIf",x.xAxis),e.xp6(1),e.Q6J("ngIf",x.yAxis),e.xp6(1),e.Q6J("ngIf",!x.isSSR),e.xp6(1),e.Q6J("ngIf",x.isSSR))},dependencies:[f3,_3,m3,bu,Au,t.O5,t.sg],styles:[Wd],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1,transform:"*"}),(0,u.jt)(500,(0,u.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}),f})(),xm=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[[Xo]]}),f})();Mf();let Cm=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[[Xo]]}),f})(),Lu=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[[Xo]]}),f})(),I3=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[[Xo]]}),f})(),G1=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[[Xo]]}),f})();Math;let H0=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[[Xo]]}),f})(),Em=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[[Xo,H0,G1]]}),f})(),F0=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[[Xo]]}),f})(),Ru=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[[Xo]]}),f})(),z0=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[[Xo,H0,xm]]}),f})(),z3=(()=>{class f{constructor(){!function zu(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[Xo,U1,xm,Cm,Lu,I3,G1,Em,F0,H0,Ru,z0]}),f})()},6828:(Ue,q,p)=>{"use strict";function e(I,D,R,F,W,Y,Q){try{var J=I[Y](Q),ne=J.value}catch(X){return void R(X)}J.done?D(ne):Promise.resolve(ne).then(F,W)}p.d(q,{uU:()=>S,OF:()=>M});var g=p(5879),T=p(6814),c=p(2839);function C(I,D){if(1&I&&g._UZ(0,"canvas",1),2&I){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 u=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;let P=(()=>{class I{static#e=this.DEFAULT_ERROR_CORRECTION_LEVEL="M";static#t=this.DEFAULT_CENTER_IMAGE_SIZE=40;constructor(R){this.viewContainerRef=R,this.errorCorrectionLevel=I.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var R=this;return function t(I){return function(){var D=this,R=arguments;return new Promise(function(F,W){var Y=I.apply(D,R);function Q(ne){e(Y,F,W,Q,J,"next",ne)}function J(ne){e(Y,F,W,Q,J,"throw",ne)}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 F=R.viewContainerRef.element.nativeElement;if(!F)return;const W=F.getContext("2d");W&&W.clearRect(0,0,W.canvas.width,W.canvas.height);const Y=R.errorCorrectionLevel??I.DEFAULT_ERROR_CORRECTION_LEVEL,Q=u.test(R.darkColor)?R.darkColor:void 0,J=u.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"),!J&&R.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield c.toCanvas(F,R.value,{version:R.version,errorCorrectionLevel:Y,width:R.width,margin:R.margin,color:{dark:Q,light:J}});const ne=R.centerImageSrc,X=d(R.centerImageWidth,I.DEFAULT_CENTER_IMAGE_SIZE),pe=d(R.centerImageHeight,I.DEFAULT_CENTER_IMAGE_SIZE);if(ne&&W){R.centerImage||(R.centerImage=new Image(X,pe));const ie=R.centerImage;ne!==R.centerImage.src&&(ie.src=ne),X!==R.centerImage.width&&(ie.width=X),pe!==R.centerImage.height&&(ie.height=pe);const de=()=>{W.drawImage(ie,F.width/2-X/2,F.height/2-pe/2,X,pe)};ie.onload=de,ie.complete&&de()}})()}static#i=this.\u0275fac=function(F){return new(F||I)(g.Y36(g.s_b))};static#n=this.\u0275dir=g.lG2({type:I,selectors:[["canvas","qrCode",""]],inputs:{value:["qrCode","value"],version:["qrCodeVersion","version"],errorCorrectionLevel:["qrCodeErrorCorrectionLevel","errorCorrectionLevel"],width:"width",height:"height",darkColor:"darkColor",lightColor:"lightColor",centerImageSrc:["qrCodeCenterImageSrc","centerImageSrc"],centerImageWidth:["qrCodeCenterImageWidth","centerImageWidth"],centerImageHeight:["qrCodeCenterImageHeight","centerImageHeight"],margin:["qrCodeMargin","margin"]},features:[g.TTD]})}return I})();function d(I,D){return void 0===I||""===I?D:"string"==typeof I?parseInt(I,10):I}let S=(()=>{class I{static#e=this.\u0275fac=function(F){return new(F||I)};static#t=this.\u0275cmp=g.Xpm({type:I,selectors:[["qr-code"]],inputs:{value:"value",size:"size",darkColor:"darkColor",lightColor:"lightColor",errorCorrectionLevel:"errorCorrectionLevel",centerImageSrc:"centerImageSrc",centerImageSize:"centerImageSize",margin:"margin"},decls:1,vars:1,consts:[[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","width","height","darkColor","lightColor",4,"ngIf"],[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","width","height","darkColor","lightColor"]],template:function(F,W){1&F&&g.YNc(0,C,1,10,"canvas",0),2&F&&g.Q6J("ngIf",W.value)},dependencies:[T.O5,P],encapsulation:2})}return I})(),M=(()=>{class I{static#e=this.\u0275fac=function(F){return new(F||I)};static#t=this.\u0275mod=g.oAB({type:I});static#i=this.\u0275inj=g.cJS({imports:[T.ez]})}return I})()},2159:(Ue,q,p)=>{"use strict";p.d(q,{op:()=>pt,Vv:()=>oi,$V:()=>Mt,Xd:()=>mt});var e=p(8645),t=p(2438),g=p(3019),T=p(9028),c=p(9773),C=p(3997),u=p(975),P=p(5879),d=p(6814);function S(he){return getComputedStyle(he)}function M(he,ee){for(var Ce in ee){var At=ee[Ce];"number"==typeof At&&(At+="px"),he.style[Ce]=At}return he}function I(he){var ee=document.createElement("div");return ee.className=he,ee}var D=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function R(he,ee){if(!D)throw new Error("No element matching method supported");return D.call(he,ee)}function F(he){he.remove?he.remove():he.parentNode&&he.parentNode.removeChild(he)}function W(he,ee){return Array.prototype.filter.call(he.children,function(Ce){return R(Ce,ee)})}var Y={main:"ps",rtl:"ps__rtl",element:{thumb:function(he){return"ps__thumb-"+he},rail:function(he){return"ps__rail-"+he},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(he){return"ps--active-"+he},scrolling:function(he){return"ps--scrolling-"+he}}},Q={x:null,y:null};function J(he,ee){var Ce=he.element.classList,At=Y.state.scrolling(ee);Ce.contains(At)?clearTimeout(Q[ee]):Ce.add(At)}function ne(he,ee){Q[ee]=setTimeout(function(){return he.isAlive&&he.element.classList.remove(Y.state.scrolling(ee))},he.settings.scrollingThreshold)}var pe=function(ee){this.element=ee,this.handlers={}},ie={isEmpty:{configurable:!0}};pe.prototype.bind=function(ee,Ce){typeof this.handlers[ee]>"u"&&(this.handlers[ee]=[]),this.handlers[ee].push(Ce),this.element.addEventListener(ee,Ce,!1)},pe.prototype.unbind=function(ee,Ce){var At=this;this.handlers[ee]=this.handlers[ee].filter(function(Lt){return!(!Ce||Lt===Ce)||(At.element.removeEventListener(ee,Lt,!1),!1)})},pe.prototype.unbindAll=function(){for(var ee in this.handlers)this.unbind(ee)},ie.isEmpty.get=function(){var he=this;return Object.keys(this.handlers).every(function(ee){return 0===he.handlers[ee].length})},Object.defineProperties(pe.prototype,ie);var de=function(){this.eventElements=[]};function te(he){if("function"==typeof window.CustomEvent)return new CustomEvent(he);var ee=document.createEvent("CustomEvent");return ee.initCustomEvent(he,!1,!1,void 0),ee}function ae(he,ee,Ce,At,Lt){var jt;if(void 0===At&&(At=!0),void 0===Lt&&(Lt=!1),"top"===ee)jt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==ee)throw new Error("A proper axis should be provided");jt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function E(he,ee,Ce,At,Lt){var jt=Ce[0],Zt=Ce[1],Kt=Ce[2],Xe=Ce[3],Bt=Ce[4],qe=Ce[5];void 0===At&&(At=!0),void 0===Lt&&(Lt=!1);var nt=he.element;he.reach[Xe]=null,nt[Kt]<1&&(he.reach[Xe]="start"),nt[Kt]>he[jt]-he[Zt]-1&&(he.reach[Xe]="end"),ee&&(nt.dispatchEvent(te("ps-scroll-"+Xe)),ee<0?nt.dispatchEvent(te("ps-scroll-"+Bt)):ee>0&&nt.dispatchEvent(te("ps-scroll-"+qe)),At&&function X(he,ee){J(he,ee),ne(he,ee)}(he,Xe)),he.reach[Xe]&&(ee||Lt)&&nt.dispatchEvent(te("ps-"+Xe+"-reach-"+he.reach[Xe]))}(he,Ce,jt,At,Lt)}function i(he){return parseInt(he,10)||0}de.prototype.eventElement=function(ee){var Ce=this.eventElements.filter(function(At){return At.element===ee})[0];return Ce||(Ce=new pe(ee),this.eventElements.push(Ce)),Ce},de.prototype.bind=function(ee,Ce,At){this.eventElement(ee).bind(Ce,At)},de.prototype.unbind=function(ee,Ce,At){var Lt=this.eventElement(ee);Lt.unbind(Ce,At),Lt.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(Lt),1)},de.prototype.unbindAll=function(){this.eventElements.forEach(function(ee){return ee.unbindAll()}),this.eventElements=[]},de.prototype.once=function(ee,Ce,At){var Lt=this.eventElement(ee),jt=function(Zt){Lt.unbind(Ce,jt),At(Zt)};Lt.bind(Ce,jt)};var l={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function y(he){var ee=he.element,Ce=Math.floor(ee.scrollTop),At=ee.getBoundingClientRect();he.containerWidth=Math.round(At.width),he.containerHeight=Math.round(At.height),he.contentWidth=ee.scrollWidth,he.contentHeight=ee.scrollHeight,ee.contains(he.scrollbarXRail)||(W(ee,Y.element.rail("x")).forEach(function(Lt){return F(Lt)}),ee.appendChild(he.scrollbarXRail)),ee.contains(he.scrollbarYRail)||(W(ee,Y.element.rail("y")).forEach(function(Lt){return F(Lt)}),ee.appendChild(he.scrollbarYRail)),!he.settings.suppressScrollX&&he.containerWidth+he.settings.scrollXMarginOffset<he.contentWidth?(he.scrollbarXActive=!0,he.railXWidth=he.containerWidth-he.railXMarginWidth,he.railXRatio=he.containerWidth/he.railXWidth,he.scrollbarXWidth=L(he,i(he.railXWidth*he.containerWidth/he.contentWidth)),he.scrollbarXLeft=i((he.negativeScrollAdjustment+ee.scrollLeft)*(he.railXWidth-he.scrollbarXWidth)/(he.contentWidth-he.containerWidth))):he.scrollbarXActive=!1,!he.settings.suppressScrollY&&he.containerHeight+he.settings.scrollYMarginOffset<he.contentHeight?(he.scrollbarYActive=!0,he.railYHeight=he.containerHeight-he.railYMarginHeight,he.railYRatio=he.containerHeight/he.railYHeight,he.scrollbarYHeight=L(he,i(he.railYHeight*he.containerHeight/he.contentHeight)),he.scrollbarYTop=i(Ce*(he.railYHeight-he.scrollbarYHeight)/(he.contentHeight-he.containerHeight))):he.scrollbarYActive=!1,he.scrollbarXLeft>=he.railXWidth-he.scrollbarXWidth&&(he.scrollbarXLeft=he.railXWidth-he.scrollbarXWidth),he.scrollbarYTop>=he.railYHeight-he.scrollbarYHeight&&(he.scrollbarYTop=he.railYHeight-he.scrollbarYHeight),function O(he,ee){var Ce={width:ee.railXWidth},At=Math.floor(he.scrollTop);Ce.left=ee.isRtl?ee.negativeScrollAdjustment+he.scrollLeft+ee.containerWidth-ee.contentWidth:he.scrollLeft,ee.isScrollbarXUsingBottom?Ce.bottom=ee.scrollbarXBottom-At:Ce.top=ee.scrollbarXTop+At,M(ee.scrollbarXRail,Ce);var Lt={top:At,height:ee.railYHeight};ee.isScrollbarYUsingRight?Lt.right=ee.isRtl?ee.contentWidth-(ee.negativeScrollAdjustment+he.scrollLeft)-ee.scrollbarYRight-ee.scrollbarYOuterWidth-9:ee.scrollbarYRight-he.scrollLeft:Lt.left=ee.isRtl?ee.negativeScrollAdjustment+he.scrollLeft+2*ee.containerWidth-ee.contentWidth-ee.scrollbarYLeft-ee.scrollbarYOuterWidth:ee.scrollbarYLeft+he.scrollLeft,M(ee.scrollbarYRail,Lt),M(ee.scrollbarX,{left:ee.scrollbarXLeft,width:ee.scrollbarXWidth-ee.railBorderXWidth}),M(ee.scrollbarY,{top:ee.scrollbarYTop,height:ee.scrollbarYHeight-ee.railBorderYWidth})}(ee,he),he.scrollbarXActive?ee.classList.add(Y.state.active("x")):(ee.classList.remove(Y.state.active("x")),he.scrollbarXWidth=0,he.scrollbarXLeft=0,ee.scrollLeft=!0===he.isRtl?he.contentWidth:0),he.scrollbarYActive?ee.classList.add(Y.state.active("y")):(ee.classList.remove(Y.state.active("y")),he.scrollbarYHeight=0,he.scrollbarYTop=0,ee.scrollTop=0)}function L(he,ee){return he.settings.minScrollbarLength&&(ee=Math.max(ee,he.settings.minScrollbarLength)),he.settings.maxScrollbarLength&&(ee=Math.min(ee,he.settings.maxScrollbarLength)),ee}function _(he,ee){var Ce=ee[0],At=ee[1],Lt=ee[2],jt=ee[3],Zt=ee[4],Kt=ee[5],Xe=ee[6],Bt=ee[7],qe=ee[8],nt=he.element,Wt=null,si=null,li=null;function xi($e){$e.touches&&$e.touches[0]&&($e[Lt]=$e.touches[0].pageY),nt[Xe]=Wt+li*($e[Lt]-si),J(he,Bt),y(he),$e.stopPropagation(),$e.type.startsWith("touch")&&$e.changedTouches.length>1&&$e.preventDefault()}function Ut(){ne(he,Bt),he[qe].classList.remove(Y.state.clicking),he.event.unbind(he.ownerDocument,"mousemove",xi)}function bt($e,ut){Wt=nt[Xe],ut&&$e.touches&&($e[Lt]=$e.touches[0].pageY),si=$e[Lt],li=(he[At]-he[Ce])/(he[jt]-he[Kt]),ut?he.event.bind(he.ownerDocument,"touchmove",xi):(he.event.bind(he.ownerDocument,"mousemove",xi),he.event.once(he.ownerDocument,"mouseup",Ut),$e.preventDefault()),he[qe].classList.add(Y.state.clicking),$e.stopPropagation()}he.event.bind(he[Zt],"mousedown",function($e){bt($e)}),he.event.bind(he[Zt],"touchstart",function($e){bt($e,!0)})}var Ye={"click-rail":function b(he){he.event.bind(he.scrollbarY,"mousedown",function(Ce){return Ce.stopPropagation()}),he.event.bind(he.scrollbarYRail,"mousedown",function(Ce){var At=Ce.pageY-window.pageYOffset-he.scrollbarYRail.getBoundingClientRect().top;he.element.scrollTop+=(At>he.scrollbarYTop?1:-1)*he.containerHeight,y(he),Ce.stopPropagation()}),he.event.bind(he.scrollbarX,"mousedown",function(Ce){return Ce.stopPropagation()}),he.event.bind(he.scrollbarXRail,"mousedown",function(Ce){var At=Ce.pageX-window.pageXOffset-he.scrollbarXRail.getBoundingClientRect().left;he.element.scrollLeft+=(At>he.scrollbarXLeft?1:-1)*he.containerWidth,y(he),Ce.stopPropagation()})},"drag-thumb":function n(he){_(he,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),_(he,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function H(he){var ee=he.element;he.event.bind(he.ownerDocument,"keydown",function(jt){if(!(jt.isDefaultPrevented&&jt.isDefaultPrevented()||jt.defaultPrevented)&&(R(ee,":hover")||R(he.scrollbarX,":focus")||R(he.scrollbarY,":focus"))){var Zt=document.activeElement?document.activeElement:he.ownerDocument.activeElement;if(Zt){if("IFRAME"===Zt.tagName)Zt=Zt.contentDocument.activeElement;else for(;Zt.shadowRoot;)Zt=Zt.shadowRoot.activeElement;if(function o(he){return R(he,"input,[contenteditable]")||R(he,"select,[contenteditable]")||R(he,"textarea,[contenteditable]")||R(he,"button,[contenteditable]")}(Zt))return}var Kt=0,Xe=0;switch(jt.which){case 37:Kt=jt.metaKey?-he.contentWidth:jt.altKey?-he.containerWidth:-30;break;case 38:Xe=jt.metaKey?he.contentHeight:jt.altKey?he.containerHeight:30;break;case 39:Kt=jt.metaKey?he.contentWidth:jt.altKey?he.containerWidth:30;break;case 40:Xe=jt.metaKey?-he.contentHeight:jt.altKey?-he.containerHeight:-30;break;case 32:Xe=jt.shiftKey?he.containerHeight:-he.containerHeight;break;case 33:Xe=he.containerHeight;break;case 34:Xe=-he.containerHeight;break;case 36:Xe=he.contentHeight;break;case 35:Xe=-he.contentHeight;break;default:return}he.settings.suppressScrollX&&0!==Kt||he.settings.suppressScrollY&&0!==Xe||(ee.scrollTop-=Xe,ee.scrollLeft+=Kt,y(he),function Lt(jt,Zt){var Kt=Math.floor(ee.scrollTop);if(0===jt){if(!he.scrollbarYActive)return!1;if(0===Kt&&Zt>0||Kt>=he.contentHeight-he.containerHeight&&Zt<0)return!he.settings.wheelPropagation}var Xe=ee.scrollLeft;if(0===Zt){if(!he.scrollbarXActive)return!1;if(0===Xe&&jt<0||Xe>=he.contentWidth-he.containerWidth&&jt>0)return!he.settings.wheelPropagation}return!0}(Kt,Xe)&&jt.preventDefault())}})},wheel:function V(he){var ee=he.element;function jt(Zt){var Kt=function At(Zt){var Kt=Zt.deltaX,Xe=-1*Zt.deltaY;return(typeof Kt>"u"||typeof Xe>"u")&&(Kt=-1*Zt.wheelDeltaX/6,Xe=Zt.wheelDeltaY/6),Zt.deltaMode&&1===Zt.deltaMode&&(Kt*=10,Xe*=10),Kt!=Kt&&Xe!=Xe&&(Kt=0,Xe=Zt.wheelDelta),Zt.shiftKey?[-Xe,-Kt]:[Kt,Xe]}(Zt),Xe=Kt[0],Bt=Kt[1];if(!function Lt(Zt,Kt,Xe){if(!l.isWebKit&&ee.querySelector("select:focus"))return!0;if(!ee.contains(Zt))return!1;for(var Bt=Zt;Bt&&Bt!==ee;){if(Bt.classList.contains(Y.element.consuming))return!0;var qe=S(Bt);if(Xe&&qe.overflowY.match(/(scroll|auto)/)){var nt=Bt.scrollHeight-Bt.clientHeight;if(nt>0&&(Bt.scrollTop>0&&Xe<0||Bt.scrollTop<nt&&Xe>0))return!0}if(Kt&&qe.overflowX.match(/(scroll|auto)/)){var Wt=Bt.scrollWidth-Bt.clientWidth;if(Wt>0&&(Bt.scrollLeft>0&&Kt<0||Bt.scrollLeft<Wt&&Kt>0))return!0}Bt=Bt.parentNode}return!1}(Zt.target,Xe,Bt)){var qe=!1;he.settings.useBothWheelAxes?he.scrollbarYActive&&!he.scrollbarXActive?(Bt?ee.scrollTop-=Bt*he.settings.wheelSpeed:ee.scrollTop+=Xe*he.settings.wheelSpeed,qe=!0):he.scrollbarXActive&&!he.scrollbarYActive&&(Xe?ee.scrollLeft+=Xe*he.settings.wheelSpeed:ee.scrollLeft-=Bt*he.settings.wheelSpeed,qe=!0):(ee.scrollTop-=Bt*he.settings.wheelSpeed,ee.scrollLeft+=Xe*he.settings.wheelSpeed),y(he),qe=qe||function Ce(Zt,Kt){var Xe=Math.floor(ee.scrollTop),Bt=0===ee.scrollTop,qe=Xe+ee.offsetHeight===ee.scrollHeight,nt=0===ee.scrollLeft,Wt=ee.scrollLeft+ee.offsetWidth===ee.scrollWidth;return!(Math.abs(Kt)>Math.abs(Zt)?Bt||qe:nt||Wt)||!he.settings.wheelPropagation}(Xe,Bt),qe&&!Zt.ctrlKey&&(Zt.stopPropagation(),Zt.preventDefault())}}typeof window.onwheel<"u"?he.event.bind(ee,"wheel",jt):typeof window.onmousewheel<"u"&&he.event.bind(ee,"mousewheel",jt)},touch:function K(he){if(l.supportsTouch||l.supportsIePointer){var ee=he.element,Lt={},jt=0,Zt={},Kt=null;l.supportsTouch?(he.event.bind(ee,"touchstart",qe),he.event.bind(ee,"touchmove",Wt),he.event.bind(ee,"touchend",si)):l.supportsIePointer&&(window.PointerEvent?(he.event.bind(ee,"pointerdown",qe),he.event.bind(ee,"pointermove",Wt),he.event.bind(ee,"pointerup",si)):window.MSPointerEvent&&(he.event.bind(ee,"MSPointerDown",qe),he.event.bind(ee,"MSPointerMove",Wt),he.event.bind(ee,"MSPointerUp",si)))}function At(li,xi){ee.scrollTop-=xi,ee.scrollLeft-=li,y(he)}function Xe(li){return li.targetTouches?li.targetTouches[0]:li}function Bt(li){return!(li.pointerType&&"pen"===li.pointerType&&0===li.buttons||!(li.targetTouches&&1===li.targetTouches.length||li.pointerType&&"mouse"!==li.pointerType&&li.pointerType!==li.MSPOINTER_TYPE_MOUSE))}function qe(li){if(Bt(li)){var xi=Xe(li);Lt.pageX=xi.pageX,Lt.pageY=xi.pageY,jt=(new Date).getTime(),null!==Kt&&clearInterval(Kt)}}function Wt(li){if(Bt(li)){var xi=Xe(li),Ut={pageX:xi.pageX,pageY:xi.pageY},bt=Ut.pageX-Lt.pageX,$e=Ut.pageY-Lt.pageY;if(function nt(li,xi,Ut){if(!ee.contains(li))return!1;for(var bt=li;bt&&bt!==ee;){if(bt.classList.contains(Y.element.consuming))return!0;var $e=S(bt);if(Ut&&$e.overflowY.match(/(scroll|auto)/)){var ut=bt.scrollHeight-bt.clientHeight;if(ut>0&&(bt.scrollTop>0&&Ut<0||bt.scrollTop<ut&&Ut>0))return!0}if(xi&&$e.overflowX.match(/(scroll|auto)/)){var Et=bt.scrollWidth-bt.clientWidth;if(Et>0&&(bt.scrollLeft>0&&xi<0||bt.scrollLeft<Et&&xi>0))return!0}bt=bt.parentNode}return!1}(li.target,bt,$e))return;At(bt,$e),Lt=Ut;var ut=(new Date).getTime(),Et=ut-jt;Et>0&&(Zt.x=bt/Et,Zt.y=$e/Et,jt=ut),function Ce(li,xi){var Ut=Math.floor(ee.scrollTop),bt=ee.scrollLeft,$e=Math.abs(li),ut=Math.abs(xi);if(ut>$e){if(xi<0&&Ut===he.contentHeight-he.containerHeight||xi>0&&0===Ut)return 0===window.scrollY&&xi>0&&l.isChrome}else if($e>ut&&(li<0&&bt===he.contentWidth-he.containerWidth||li>0&&0===bt))return!0;return!0}(bt,$e)&&li.preventDefault()}}function si(){he.settings.swipeEasing&&(clearInterval(Kt),Kt=setInterval(function(){he.isInitialized?clearInterval(Kt):Zt.x||Zt.y?Math.abs(Zt.x)<.01&&Math.abs(Zt.y)<.01?clearInterval(Kt):he.element?(At(30*Zt.x,30*Zt.y),Zt.x*=.8,Zt.y*=.8):clearInterval(Kt):clearInterval(Kt)},10))}}},Oe=function(ee,Ce){var At=this;if(void 0===Ce&&(Ce={}),"string"==typeof ee&&(ee=document.querySelector(ee)),!ee||!ee.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var Lt in this.element=ee,ee.classList.add(Y.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},Ce)this.settings[Lt]=Ce[Lt];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var qe,Bt,jt=function(){return ee.classList.add(Y.state.focus)},Zt=function(){return ee.classList.remove(Y.state.focus)};this.isRtl="rtl"===S(ee).direction,!0===this.isRtl&&ee.classList.add(Y.rtl),this.isNegativeScroll=(Bt=ee.scrollLeft,ee.scrollLeft=-1,qe=ee.scrollLeft<0,ee.scrollLeft=Bt,qe),this.negativeScrollAdjustment=this.isNegativeScroll?ee.scrollWidth-ee.clientWidth:0,this.event=new de,this.ownerDocument=ee.ownerDocument||document,this.scrollbarXRail=I(Y.element.rail("x")),ee.appendChild(this.scrollbarXRail),this.scrollbarX=I(Y.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",jt),this.event.bind(this.scrollbarX,"blur",Zt),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Kt=S(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Kt.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=i(Kt.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=i(Kt.borderLeftWidth)+i(Kt.borderRightWidth),M(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=i(Kt.marginLeft)+i(Kt.marginRight),M(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=I(Y.element.rail("y")),ee.appendChild(this.scrollbarYRail),this.scrollbarY=I(Y.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",jt),this.event.bind(this.scrollbarY,"blur",Zt),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var Xe=S(this.scrollbarYRail);this.scrollbarYRight=parseInt(Xe.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=i(Xe.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function m(he){var ee=S(he);return i(ee.width)+i(ee.paddingLeft)+i(ee.paddingRight)+i(ee.borderLeftWidth)+i(ee.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=i(Xe.borderTopWidth)+i(Xe.borderBottomWidth),M(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=i(Xe.marginTop)+i(Xe.marginBottom),M(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:ee.scrollLeft<=0?"start":ee.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:ee.scrollTop<=0?"start":ee.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Bt){return Ye[Bt](At)}),this.lastScrollTop=Math.floor(ee.scrollTop),this.lastScrollLeft=ee.scrollLeft,this.event.bind(this.element,"scroll",function(Bt){return At.onScroll(Bt)}),y(this)};Oe.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,M(this.scrollbarXRail,{display:"block"}),M(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=i(S(this.scrollbarXRail).marginLeft)+i(S(this.scrollbarXRail).marginRight),this.railYMarginHeight=i(S(this.scrollbarYRail).marginTop)+i(S(this.scrollbarYRail).marginBottom),M(this.scrollbarXRail,{display:"none"}),M(this.scrollbarYRail,{display:"none"}),y(this),ae(this,"top",0,!1,!0),ae(this,"left",0,!1,!0),M(this.scrollbarXRail,{display:""}),M(this.scrollbarYRail,{display:""}))},Oe.prototype.onScroll=function(ee){this.isAlive&&(y(this),ae(this,"top",this.element.scrollTop-this.lastScrollTop),ae(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Oe.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),F(this.scrollbarX),F(this.scrollbarY),F(this.scrollbarXRail),F(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Oe.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(ee){return!ee.match(/^ps([-_].+|)$/)}).join(" ")};const Qe=Oe;var be=function(){if(typeof Map<"u")return Map;function he(ee,Ce){var At=-1;return ee.some(function(Lt,jt){return Lt[0]===Ce&&(At=jt,!0)}),At}return function(){function ee(){this.__entries__=[]}return Object.defineProperty(ee.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),ee.prototype.get=function(Ce){var At=he(this.__entries__,Ce),Lt=this.__entries__[At];return Lt&&Lt[1]},ee.prototype.set=function(Ce,At){var Lt=he(this.__entries__,Ce);~Lt?this.__entries__[Lt][1]=At:this.__entries__.push([Ce,At])},ee.prototype.delete=function(Ce){var At=this.__entries__,Lt=he(At,Ce);~Lt&&At.splice(Lt,1)},ee.prototype.has=function(Ce){return!!~he(this.__entries__,Ce)},ee.prototype.clear=function(){this.__entries__.splice(0)},ee.prototype.forEach=function(Ce,At){void 0===At&&(At=null);for(var Lt=0,jt=this.__entries__;Lt<jt.length;Lt++){var Zt=jt[Lt];Ce.call(At,Zt[1],Zt[0])}},ee}()}(),ue=typeof window<"u"&&typeof document<"u"&&window.document===document,xe=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),Pe="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(xe):function(he){return setTimeout(function(){return he(Date.now())},1e3/60)},le=["top","right","bottom","left","width","height","size","weight"],ge=typeof MutationObserver<"u",fe=function(){function he(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function ze(he,ee){var Ce=!1,At=!1,Lt=0;function jt(){Ce&&(Ce=!1,he()),At&&Kt()}function Zt(){Pe(jt)}function Kt(){var Xe=Date.now();if(Ce){if(Xe-Lt<2)return;At=!0}else Ce=!0,At=!1,setTimeout(Zt,ee);Lt=Xe}return Kt}(this.refresh.bind(this),20)}return he.prototype.addObserver=function(ee){~this.observers_.indexOf(ee)||this.observers_.push(ee),this.connected_||this.connect_()},he.prototype.removeObserver=function(ee){var Ce=this.observers_,At=Ce.indexOf(ee);~At&&Ce.splice(At,1),!Ce.length&&this.connected_&&this.disconnect_()},he.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},he.prototype.updateObservers_=function(){var ee=this.observers_.filter(function(Ce){return Ce.gatherActive(),Ce.hasActive()});return ee.forEach(function(Ce){return Ce.broadcastActive()}),ee.length>0},he.prototype.connect_=function(){!ue||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ge?(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)},he.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)},he.prototype.onTransitionEnd_=function(ee){var Ce=ee.propertyName,At=void 0===Ce?"":Ce;le.some(function(jt){return!!~At.indexOf(jt)})&&this.refresh()},he.getInstance=function(){return this.instance_||(this.instance_=new he),this.instance_},he.instance_=null,he}(),Ge=function(he,ee){for(var Ce=0,At=Object.keys(ee);Ce<At.length;Ce++){var Lt=At[Ce];Object.defineProperty(he,Lt,{value:ee[Lt],enumerable:!1,writable:!1,configurable:!0})}return he},Le=function(he){return he&&he.ownerDocument&&he.ownerDocument.defaultView||xe},Ne=ot(0,0,0,0);function Ve(he){return parseFloat(he)||0}function at(he){for(var ee=[],Ce=1;Ce<arguments.length;Ce++)ee[Ce-1]=arguments[Ce];return ee.reduce(function(At,Lt){return At+Ve(he["border-"+Lt+"-width"])},0)}var ct=typeof SVGGraphicsElement<"u"?function(he){return he instanceof Le(he).SVGGraphicsElement}:function(he){return he instanceof Le(he).SVGElement&&"function"==typeof he.getBBox};function Ct(he){return ue?ct(he)?function De(he){var ee=he.getBBox();return ot(0,0,ee.width,ee.height)}(he):function xt(he){var ee=he.clientWidth,Ce=he.clientHeight;if(!ee&&!Ce)return Ne;var At=Le(he).getComputedStyle(he),Lt=function ve(he){for(var Ce={},At=0,Lt=["top","right","bottom","left"];At<Lt.length;At++){var jt=Lt[At];Ce[jt]=Ve(he["padding-"+jt])}return Ce}(At),jt=Lt.left+Lt.right,Zt=Lt.top+Lt.bottom,Kt=Ve(At.width),Xe=Ve(At.height);if("border-box"===At.boxSizing&&(Math.round(Kt+jt)!==ee&&(Kt-=at(At,"left","right")+jt),Math.round(Xe+Zt)!==Ce&&(Xe-=at(At,"top","bottom")+Zt)),!function et(he){return he===Le(he).document.documentElement}(he)){var Bt=Math.round(Kt+jt)-ee,qe=Math.round(Xe+Zt)-Ce;1!==Math.abs(Bt)&&(Kt-=Bt),1!==Math.abs(qe)&&(Xe-=qe)}return ot(Lt.left,Lt.top,Kt,Xe)}(he):Ne}function ot(he,ee,Ce,At){return{x:he,y:ee,width:Ce,height:At}}var Je=function(){function he(ee){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ot(0,0,0,0),this.target=ee}return he.prototype.isActive=function(){var ee=Ct(this.target);return this.contentRect_=ee,ee.width!==this.broadcastWidth||ee.height!==this.broadcastHeight},he.prototype.broadcastRect=function(){var ee=this.contentRect_;return this.broadcastWidth=ee.width,this.broadcastHeight=ee.height,ee},he}(),re=function he(ee,Ce){var At=function ke(he){var ee=he.x,Ce=he.y,At=he.width,Lt=he.height,jt=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,Zt=Object.create(jt.prototype);return Ge(Zt,{x:ee,y:Ce,width:At,height:Lt,top:Ce,right:ee+At,bottom:Lt+Ce,left:ee}),Zt}(Ce);Ge(this,{target:ee,contentRect:At})},Be=function(){function he(ee,Ce,At){if(this.activeObservations_=[],this.observations_=new be,"function"!=typeof ee)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=ee,this.controller_=Ce,this.callbackCtx_=At}return he.prototype.observe=function(ee){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(ee instanceof Le(ee).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ce=this.observations_;Ce.has(ee)||(Ce.set(ee,new Je(ee)),this.controller_.addObserver(this),this.controller_.refresh())}},he.prototype.unobserve=function(ee){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(ee instanceof Le(ee).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ce=this.observations_;Ce.has(ee)&&(Ce.delete(ee),Ce.size||this.controller_.removeObserver(this))}},he.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},he.prototype.gatherActive=function(){var ee=this;this.clearActive(),this.observations_.forEach(function(Ce){Ce.isActive()&&ee.activeObservations_.push(Ce)})},he.prototype.broadcastActive=function(){if(this.hasActive()){var ee=this.callbackCtx_,Ce=this.activeObservations_.map(function(At){return new re(At.target,At.broadcastRect())});this.callback_.call(ee,Ce,ee),this.clearActive()}},he.prototype.clearActive=function(){this.activeObservations_.splice(0)},he.prototype.hasActive=function(){return this.activeObservations_.length>0},he}(),Nt=typeof WeakMap<"u"?new WeakMap:new be,Ke=function he(ee){if(!(this instanceof he))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Ce=fe.getInstance(),At=new Be(ee,Ce,this);Nt.set(this,At)};["observe","unobserve","disconnect"].forEach(function(he){Ke.prototype[he]=function(){var ee;return(ee=Nt.get(this))[he].apply(ee,arguments)}});const kt=typeof xe.ResizeObserver<"u"?xe.ResizeObserver:Ke;function Dt(he,ee){if(1&he&&(P.TgZ(0,"div",3),P._UZ(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),P.qZA()),2&he){const Ce=P.oxw();P.ekj("ps-at-top",Ce.states.top)("ps-at-left",Ce.states.left)("ps-at-right",Ce.states.right)("ps-at-bottom",Ce.states.bottom),P.xp6(1),P.ekj("ps-indicator-show",Ce.indicatorY&&Ce.interaction),P.xp6(1),P.ekj("ps-indicator-show",Ce.indicatorX&&Ce.interaction),P.xp6(1),P.ekj("ps-indicator-show",Ce.indicatorX&&Ce.interaction),P.xp6(1),P.ekj("ps-indicator-show",Ce.indicatorY&&Ce.interaction)}}const Rt=["*"],pt=new P.OlP("PERFECT_SCROLLBAR_CONFIG");class vt{constructor(ee,Ce,At,Lt){this.x=ee,this.y=Ce,this.w=At,this.h=Lt}}class Te{constructor(ee,Ce){this.x=ee,this.y=Ce}}const tt=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Ze{constructor(ee={}){this.assign(ee)}assign(ee={}){for(const Ce in ee)this[Ce]=ee[Ce]}}let Mt=(()=>{class he{constructor(Ce,At,Lt,jt,Zt){this.zone=Ce,this.differs=At,this.elementRef=Lt,this.platformId=jt,this.defaults=Zt,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new e.x,this.disabled=!1,this.psScrollY=new P.vpe,this.psScrollX=new P.vpe,this.psScrollUp=new P.vpe,this.psScrollDown=new P.vpe,this.psScrollLeft=new P.vpe,this.psScrollRight=new P.vpe,this.psYReachEnd=new P.vpe,this.psYReachStart=new P.vpe,this.psXReachEnd=new P.vpe,this.psXReachStart=new P.vpe}ngOnInit(){if(!this.disabled&&(0,d.NF)(this.platformId)){const Ce=new Ze(this.defaults);Ce.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new Qe(this.elementRef.nativeElement,Ce)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new kt(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{tt.forEach(At=>{const Lt=At.replace(/([A-Z])/g,jt=>`-${jt.toLowerCase()}`);(0,t.R)(this.elementRef.nativeElement,Lt).pipe((0,T.e)(20),(0,c.R)(this.ngDestroy)).subscribe(jt=>{this[At].emit(jt)})})})}}ngOnDestroy(){(0,d.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&typeof window<"u"&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,d.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(Ce){Ce.disabled&&!Ce.disabled.isFirstChange()&&(0,d.NF)(this.platformId)&&Ce.disabled.currentValue!==Ce.disabled.previousValue&&(!0===Ce.disabled.currentValue?this.ngOnDestroy():!1===Ce.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(Ce="scroll"){return new vt(this.elementRef.nativeElement[Ce+"Left"],this.elementRef.nativeElement[Ce+"Top"],this.elementRef.nativeElement[Ce+"Width"],this.elementRef.nativeElement[Ce+"Height"])}position(Ce=!1){return!Ce&&this.instance?new Te(this.instance.reach.x||0,this.instance.reach.y||0):new Te(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(Ce="any"){const At=this.elementRef.nativeElement;return"any"===Ce?At.classList.contains("ps--active-x")||At.classList.contains("ps--active-y"):"both"===Ce?At.classList.contains("ps--active-x")&&At.classList.contains("ps--active-y"):At.classList.contains("ps--active-"+Ce)}scrollTo(Ce,At,Lt){this.disabled||(null==At&&null==Lt?this.animateScrolling("scrollTop",Ce,Lt):(null!=Ce&&this.animateScrolling("scrollLeft",Ce,Lt),null!=At&&this.animateScrolling("scrollTop",At,Lt)))}scrollToX(Ce,At){this.animateScrolling("scrollLeft",Ce,At)}scrollToY(Ce,At){this.animateScrolling("scrollTop",Ce,At)}scrollToTop(Ce,At){this.animateScrolling("scrollTop",Ce||0,At)}scrollToLeft(Ce,At){this.animateScrolling("scrollLeft",Ce||0,At)}scrollToRight(Ce,At){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(Ce||0),At)}scrollToBottom(Ce,At){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(Ce||0),At)}scrollToElement(Ce,At,Lt){if("string"==typeof Ce&&(Ce=this.elementRef.nativeElement.querySelector(Ce)),Ce){const jt=Ce.getBoundingClientRect(),Zt=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",jt.left-Zt.left+this.elementRef.nativeElement.scrollLeft+(At||0),Lt),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",jt.top-Zt.top+this.elementRef.nativeElement.scrollTop+(At||0),Lt)}}animateScrolling(Ce,At,Lt){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!Lt||typeof window>"u")this.elementRef.nativeElement[Ce]=At;else if(At!==this.elementRef.nativeElement[Ce]){let jt=0,Zt=0,Kt=performance.now(),Xe=this.elementRef.nativeElement[Ce];const Bt=(Xe-At)/2,qe=nt=>{Zt+=Math.PI/(Lt/(nt-Kt)),jt=Math.round(At+Bt+Bt*Math.cos(Zt)),this.elementRef.nativeElement[Ce]===Xe&&(Zt>=Math.PI?this.animateScrolling(Ce,At,0):(this.elementRef.nativeElement[Ce]=jt,Xe=this.elementRef.nativeElement[Ce],Kt=nt,this.animation=window.requestAnimationFrame(qe)))};window.requestAnimationFrame(qe)}}}return he.\u0275fac=function(Ce){return new(Ce||he)(P.Y36(P.R0b),P.Y36(P.aQg),P.Y36(P.SBq),P.Y36(P.Lbi),P.Y36(pt,8))},he.\u0275dir=P.lG2({type:he,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]}),he})(),oi=(()=>{class he{constructor(Ce,At,Lt){this.zone=Ce,this.cdRef=At,this.platformId=Lt,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new e.x,this.stateUpdate=new e.x,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new P.vpe,this.psScrollX=new P.vpe,this.psScrollUp=new P.vpe,this.psScrollDown=new P.vpe,this.psScrollLeft=new P.vpe,this.psScrollRight=new P.vpe,this.psYReachEnd=new P.vpe,this.psYReachStart=new P.vpe,this.psXReachEnd=new P.vpe,this.psXReachStart=new P.vpe}ngOnInit(){(0,d.NF)(this.platformId)&&(this.stateUpdate.pipe((0,c.R)(this.ngDestroy),(0,C.x)((Ce,At)=>Ce===At&&!this.stateTimeout)).subscribe(Ce=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===Ce||"y"===Ce?(this.interaction=!1,"x"===Ce?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===Ce&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===Ce||"right"===Ce?(this.states.left=!1,this.states.right=!1,this.states[Ce]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===Ce||"bottom"===Ce)&&(this.states.top=!1,this.states.bottom=!1,this.states[Ce]=!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 Ce=this.directiveRef.elementRef.nativeElement;(0,t.R)(Ce,"wheel").pipe((0,c.R)(this.ngDestroy)).subscribe(At=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(At,At.deltaX,At.deltaY)}),(0,t.R)(Ce,"touchmove").pipe((0,c.R)(this.ngDestroy)).subscribe(At=>{if(!this.disabled&&this.autoPropagation){const Lt=At.touches[0].clientX,jt=At.touches[0].clientY;this.checkPropagation(At,Lt-this.scrollPositionX,jt-this.scrollPositionY),this.scrollPositionX=Lt,this.scrollPositionY=jt}}),(0,g.T)((0,t.R)(Ce,"ps-scroll-x").pipe((0,u.h)("x")),(0,t.R)(Ce,"ps-scroll-y").pipe((0,u.h)("y")),(0,t.R)(Ce,"ps-x-reach-end").pipe((0,u.h)("right")),(0,t.R)(Ce,"ps-y-reach-end").pipe((0,u.h)("bottom")),(0,t.R)(Ce,"ps-x-reach-start").pipe((0,u.h)("left")),(0,t.R)(Ce,"ps-y-reach-start").pipe((0,u.h)("top"))).pipe((0,c.R)(this.ngDestroy)).subscribe(At=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(At)})}}),window.setTimeout(()=>{tt.forEach(Ce=>{this.directiveRef&&(this.directiveRef[Ce]=this[Ce])})},0))}ngOnDestroy(){(0,d.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,d.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const Ce=this.directiveRef.elementRef.nativeElement;this.usePropagationX=Ce.classList.contains("ps--active-x"),this.usePropagationY=Ce.classList.contains("ps--active-y")}}checkPropagation(Ce,At,Lt){this.interaction=!0;const jt=At<0?-1:1,Zt=Lt<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==jt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==Zt))&&(Ce.preventDefault(),Ce.stopPropagation()),At&&(this.scrollDirectionX=jt),Lt&&(this.scrollDirectionY=Zt),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return he.\u0275fac=function(Ce){return new(Ce||he)(P.Y36(P.R0b),P.Y36(P.sBO),P.Y36(P.Lbi))},he.\u0275cmp=P.Xpm({type:he,selectors:[["perfect-scrollbar"]],viewQuery:function(Ce,At){if(1&Ce&&P.Gf(Mt,7),2&Ce){let Lt;P.iGM(Lt=P.CRH())&&(At.directiveRef=Lt.first)}},hostVars:4,hostBindings:function(Ce,At){2&Ce&&P.ekj("ps-show-limits",At.autoPropagation)("ps-show-active",At.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:Rt,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(Ce,At){1&Ce&&(P.F$t(),P.TgZ(0,"div",0)(1,"div",1),P.Hsn(2),P.qZA(),P.YNc(3,Dt,5,16,"div",2),P.qZA()),2&Ce&&(P.ekj("ps",At.usePSClass),P.Q6J("perfectScrollbar",At.config)("disabled",At.disabled),P.xp6(3),P.Q6J("ngIf",At.scrollIndicators))},dependencies:[Mt,d.O5],styles:["perfect-scrollbar{position:relative;display:block;overflow:hidden;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:flex;flex-direction:column;height:auto;min-width:0;min-height:0}perfect-scrollbar[fxflex]>.ps{flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:0;-webkit-box-flex:1}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{display:flex;flex:1 1 auto;flex-direction:inherit;align-items:inherit;align-content:inherit;justify-content:inherit;width:100%;height:100%;-webkit-box-align:inherit;-webkit-box-flex:1;-webkit-box-pack:inherit}perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important}perfect-scrollbar>.ps{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden;pointer-events:none}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{position:absolute;opacity:0;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{left:0;min-width:100%;min-height:24px}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{top:0;min-width:24px;min-height:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{top:0!important;right:0!important;left:auto!important;width:10px;cursor:default;transition:width .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{top:auto!important;bottom:0!important;left:0!important;height:10px;cursor:default;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y,perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x{opacity:.9;background-color:#eee}perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y,perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{opacity:1;background:linear-gradient(to bottom,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{opacity:1;background:linear-gradient(to top,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{opacity:1;background:linear-gradient(to right,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{opacity:1;background:linear-gradient(to left,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:linear-gradient(to bottom,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:linear-gradient(to top,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:linear-gradient(to right,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:linear-gradient(to left,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show{opacity:1}\n",".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0px;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y,.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y{opacity:.6}.ps .ps__rail-x:hover,.ps .ps__rail-y:hover,.ps .ps__rail-x:focus,.ps .ps__rail-y:focus,.ps .ps__rail-x.ps--clicking,.ps .ps__rail-y.ps--clicking{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x:hover>.ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x.ps--clicking .ps__thumb-x{background-color:#999;height:11px}.ps__rail-y:hover>.ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y.ps--clicking .ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style: none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ps{overflow:auto!important}}\n"],encapsulation:2}),he})(),mt=(()=>{class he{}return he.\u0275fac=function(Ce){return new(Ce||he)},he.\u0275mod=P.oAB({type:he}),he.\u0275inj=P.cJS({imports:[[d.ez],d.ez]}),he})()},7582:(Ue,q,p)=>{"use strict";function c(n,_,H,V){var Ye,K=arguments.length,se=K<3?_:null===V?V=Object.getOwnPropertyDescriptor(_,H):V;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)se=Reflect.decorate(n,_,H,V);else for(var Oe=n.length-1;Oe>=0;Oe--)(Ye=n[Oe])&&(se=(K<3?Ye(se):K>3?Ye(_,H,se):Ye(_,H))||se);return K>3&&se&&Object.defineProperty(_,H,se),se}function I(n,_,H,V){return new(H||(H=Promise))(function(se,Ye){function Oe(ue){try{be(V.next(ue))}catch(xe){Ye(xe)}}function Qe(ue){try{be(V.throw(ue))}catch(xe){Ye(xe)}}function be(ue){ue.done?se(ue.value):function K(se){return se instanceof H?se:new H(function(Ye){Ye(se)})}(ue.value).then(Oe,Qe)}be((V=V.apply(n,_||[])).next())})}function X(n){return this instanceof X?(this.v=n,this):new X(n)}function pe(n,_,H){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var K,V=H.apply(n,_||[]),se=[];return K={},Ye("next"),Ye("throw"),Ye("return"),K[Symbol.asyncIterator]=function(){return this},K;function Ye(Pe){V[Pe]&&(K[Pe]=function(oe){return new Promise(function(ze,we){se.push([Pe,oe,ze,we])>1||Oe(Pe,oe)})})}function Oe(Pe,oe){try{!function Qe(Pe){Pe.value instanceof X?Promise.resolve(Pe.value.v).then(be,ue):xe(se[0][2],Pe)}(V[Pe](oe))}catch(ze){xe(se[0][3],ze)}}function be(Pe){Oe("next",Pe)}function ue(Pe){Oe("throw",Pe)}function xe(Pe,oe){Pe(oe),se.shift(),se.length&&Oe(se[0][0],se[0][1])}}function de(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var H,_=n[Symbol.asyncIterator];return _?_.call(n):(n=function W(n){var _="function"==typeof Symbol&&Symbol.iterator,H=_&&n[_],V=0;if(H)return H.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&V>=n.length&&(n=void 0),{value:n&&n[V++],done:!n}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),H={},V("next"),V("throw"),V("return"),H[Symbol.asyncIterator]=function(){return this},H);function V(se){H[se]=n[se]&&function(Ye){return new Promise(function(Oe,Qe){!function K(se,Ye,Oe,Qe){Promise.resolve(Qe).then(function(be){se({value:be,done:Oe})},Ye)}(Oe,Qe,(Ye=n[se](Ye)).done,Ye.value)})}}}p.d(q,{FC:()=>pe,KL:()=>de,gn:()=>c,mG:()=>I,qq:()=>X}),"function"==typeof SuppressedError&&SuppressedError},4946:Ue=>{"use strict";Ue.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:Ue=>{"use strict";Ue.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:Ue=>{"use strict";Ue.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:Ue=>{"use strict";Ue.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:Ue=>{"use strict";Ue.exports={i8:"6.5.4"}},2562:Ue=>{"use strict";Ue.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"}')}},Ue=>{Ue(Ue.s=9941)}]);